CN107341074B - A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal - Google Patents

A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal Download PDF

Info

Publication number
CN107341074B
CN107341074B CN201710612728.3A CN201710612728A CN107341074B CN 107341074 B CN107341074 B CN 107341074B CN 201710612728 A CN201710612728 A CN 201710612728A CN 107341074 B CN107341074 B CN 107341074B
Authority
CN
China
Prior art keywords
information
upgrading
data
mentioned
target
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.)
Expired - Fee Related
Application number
CN201710612728.3A
Other languages
Chinese (zh)
Other versions
CN107341074A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710612728.3A priority Critical patent/CN107341074B/en
Publication of CN107341074A publication Critical patent/CN107341074A/en
Application granted granted Critical
Publication of CN107341074B publication Critical patent/CN107341074B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading

Abstract

The invention discloses a kind of abnormal restorative procedure of upgrading, upgrade abnormal prosthetic device, intelligent terminal and computer readable storage medium, wherein, the upgrading exception restorative procedure includes: to save the data before upgrading in primary partition table when receiving upgrade command, as partition information before upgrading;Before carrying out write operation to the primary partition table based on the upgrade command, the data for preparing that the primary partition table is written are obtained, information is written as target;When this completes the write operation that the primary partition table carries out, this data being written in the primary partition table is obtained, reads information as target;It detects the target write-in information and the target reads information with the presence or absence of difference;It is had differences if target write-in information and the target read information, the data in presently described primary partition table is replaced with into partition information before the upgrading.The safety of the data of partition table when the present invention program can protect intelligent terminal to upgrade.

Description

A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal
Technical field
The invention belongs to intelligent terminal technical field more particularly to a kind of abnormal restorative procedures of upgrading, the abnormal reparation of upgrading Device, intelligent terminal and computer readable storage medium.
Background technique
The intelligent terminal based on Lian Fake (Media Tek, MTK) platform on the market is using over the air When (Over the Air, OTA) is upgraded, it will usually carry out write operation to partition table, some flag bits are written.But into Row OTA upgrade during, it sometimes appear that partition table carry out write operation after, partition table be mistakenly written with it is some with The situation of machine number.In this case, intelligent terminal can cause because of could not previously be loaded into correct partition table in booting It cannot be started up, influence the normal work of intelligent terminal.
Summary of the invention
In view of this, the present invention provides a kind of abnormal restorative procedure of upgrading, upgrade abnormal prosthetic device, intelligent terminal and Computer readable storage medium, it is intended to solve the problems, such as that the partition table that intelligent terminal occurs when being upgraded is written extremely, protect Protect the safety of the data of partition table when intelligent terminal upgrading.
First aspect present invention provides a kind of abnormal restorative procedure of upgrading, and above-mentioned upgrading exception restorative procedure includes:
When receiving upgrade command, the data before upgrading in primary partition table are saved, as partition information before upgrading, In, partition information will not be changed in upgrading before the above-mentioned upgrading of preservation;
Before carrying out write operation to above-mentioned primary partition table based on above-mentioned upgrade command, obtains and prepare that above-mentioned main partition is written Information is written as target in the data of table;
When this completes the write operation that above-mentioned primary partition table carries out, obtains this and be written in above-mentioned primary partition table Data read information as target;
It detects above-mentioned target write-in information and above-mentioned target reads information with the presence or absence of difference;
It, will be in current above-mentioned primary partition table if above-mentioned target write-in information and above-mentioned target read information and have differences Data replace with partition information before above-mentioned upgrading.
Based on first aspect present invention, in the first possible implementation, above-mentioned upgrading exception restorative procedure is also wrapped It includes:
In intelligent terminal initial start-up, the data in above-mentioned primary partition table are saved, as raw partition information, wherein The above-mentioned raw partition information saved will not be changed in upgrading;
The above-mentioned above-mentioned target write-in information of detection and above-mentioned target read information and whether there is difference, later further include:
If above-mentioned target write-in information and above-mentioned target read information and difference are not present, detects and compare whether difference exceeds Rear institute is compared for above-mentioned raw partition information and above-mentioned target are read information in preset disparity range, above-mentioned comparison difference Obtain difference;
If above-mentioned comparison difference exceeds above-mentioned preset disparity range, the data in current above-mentioned primary partition table are replaced For partition information before above-mentioned upgrading.
The first possible implementation based on first aspect present invention, in the second possible implementation, on It states detection and compares whether difference exceeds above-mentioned preset disparity range, comprising:
Above-mentioned raw partition information is stored in first buffering area, above-mentioned target is read into information and is stored in second buffering area;
The data of each corresponding position of above-mentioned first buffering area and above-mentioned second buffering area are compared respectively with the presence or absence of poor It is different;
If all positions having differences are preset differential position, it is determined that above-mentioned comparison difference is pre- without departing from above-mentioned If disparity range;
If having the position having differences not is preset differential position, it is determined that above-mentioned comparison difference is beyond above-mentioned pre- If disparity range.
The first possible implementation or this hair based on first aspect present invention perhaps first aspect present invention The possible implementation of second of bright first aspect, it is in the third possible implementation, above-mentioned to divide current above-mentioned master Data in area's table replace with before above-mentioned upgrading after partition information, alternatively, if above-mentioned comparison difference is preset without departing from above-mentioned Disparity range, then above-mentioned upgrading exception restorative procedure further include:
Based on the data-triggered intelligent terminal starting in current above-mentioned primary partition table.
The first possible implementation or this hair based on first aspect present invention perhaps first aspect present invention The possible implementation of second of bright first aspect, in the fourth possible implementation, main point before above-mentioned preservation upgrading Data in area's table, comprising:
Obtain the data before upgrading in above-mentioned primary partition table;
Data before upgrading in above-mentioned primary partition table are saved into privately owned partition table, wherein in above-mentioned privately owned partition table Data upgrading when will not change.
Second aspect of the present invention provides a kind of abnormal prosthetic device of upgrading, and above-mentioned upgrading exception prosthetic device includes:
Partition information storage unit before upgrading, for when receiving upgrade command, saving before upgrading in primary partition table Data, as partition information before upgrading, wherein partition information will not be changed in upgrading before the above-mentioned upgrading of preservation;
Information acquisition unit is written in target, for carrying out write operation to above-mentioned primary partition table based on above-mentioned upgrade command Before, the data for preparing that above-mentioned primary partition table is written are obtained, information is written as target;
Target reads information acquisition unit, for obtaining when this completes the write operation that above-mentioned primary partition table carries out It takes this that the data in above-mentioned primary partition table are written, reads information as target;
Information is written for detecting the target that above-mentioned target write-in information acquisition unit is got in first Difference test unit And above-mentioned target reads the target that information acquisition unit is got and reads information with the presence or absence of difference;
Data repair unit, if detecting above-mentioned target write-in information and above-mentioned mesh for above-mentioned first Difference test unit Mark reads information and has differences, then partition information saves list before the data in current above-mentioned primary partition table being replaced with above-mentioned upgrading Partition information before the upgrading that member saves.
Based on second aspect of the present invention, in the first possible implementation, above-mentioned upgrading exception prosthetic device is also wrapped It includes:
Raw partition information holding unit, for saving the number in above-mentioned primary partition table in intelligent terminal initial start-up According to as raw partition information, wherein the above-mentioned raw partition information of preservation will not be changed in upgrading;
Second Difference test unit, if for above-mentioned first Difference test unit detect above-mentioned target write-in information and It states target and reads information there is no difference, then detect and compare whether difference exceeds preset disparity range, above-mentioned comparison difference is Raw partition information and above-mentioned target reading information acquisition unit that above-mentioned raw partition information holding unit saves are got Target read information be compared after gained difference;
Above-mentioned data repair unit, detect above-mentioned comparison difference beyond upper if being also used to above-mentioned second Difference test unit Preset disparity range is stated, then the data in current above-mentioned primary partition table are replaced with into partition information storage unit before above-mentioned upgrading Partition information before the upgrading of preservation.
The first possible implementation based on second aspect of the present invention, in the second possible implementation, on State the second Difference test unit, comprising:
Above-mentioned target is read and is believed for above-mentioned raw partition information to be stored in first buffering area by message buffer subelement Breath deposit second buffering area;
Information comparison subelement, for comparing each corresponding positions of above-mentioned first buffering area Yu above-mentioned second buffering area respectively The data set whether there is difference;
Testing result determines subelement, if being preset differential position for all positions having differences, it is determined that Above-mentioned comparison difference is without departing from above-mentioned preset disparity range, if having the position having differences not is preset difference position It sets, it is determined that above-mentioned comparison difference exceeds above-mentioned preset disparity range.
The first possible implementation or this hair based on second aspect of the present invention perhaps second aspect of the present invention The possible implementation of second of bright second aspect, in the third possible implementation, above-mentioned upgrading repair dress extremely It sets further include:
Terminal start unit, for the partition information before the data in current above-mentioned primary partition table to be replaced with to above-mentioned upgrading Later, alternatively, if above-mentioned comparison difference without departing from above-mentioned preset disparity range, based on the number in current above-mentioned primary partition table According to triggering intelligent terminal starting.
The first possible implementation or this hair based on second aspect of the present invention perhaps second aspect of the present invention The possible implementation of second of bright second aspect, in the fourth possible implementation, partition information before above-mentioned upgrading Storage unit includes:
Partition information obtains subelement before upgrading, for obtaining the data upgraded in preceding above-mentioned primary partition table;
Partition information is stored in subelement before upgrading, and saves for the data in above-mentioned primary partition table before upgrading to privately owned point In area's table, wherein the data in above-mentioned privately owned partition table will not be changed in upgrading.
Third aspect present invention provides a kind of intelligent terminal, including memory, and processor and storage are on a memory simultaneously The computer program that can be run on a processor, above-mentioned processor realized when executing above-mentioned computer program above-mentioned first aspect or The upgrading exception restorative procedure referred in any possible implementation of the above-mentioned first aspect of person.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program, above-mentioned computer program realize any of above-mentioned first aspect or above-mentioned first aspect when being executed by processor The upgrading exception restorative procedure referred in possible implementation.
Therefore scheme saves the number before upgrading in primary partition table when receiving upgrade command through the invention According to as partition information before upgrading, wherein partition information will not be changed in upgrading before the above-mentioned upgrading of preservation, in base Before above-mentioned upgrade command carries out write operation to above-mentioned primary partition table, the data for preparing that above-mentioned primary partition table is written are obtained, are made Information is written for target, and when this completes the write operation that above-mentioned primary partition table carries out, obtains this and above-mentioned master is written Data in partition table read information as target, then detect above-mentioned target write-in information and above-mentioned target reading information is It is no to have differences, it is had differences if above-mentioned target write-in information and above-mentioned target read information, it will current above-mentioned primary partition table In data replace with partition information before above-mentioned upgrading.The present invention program by upgrade before primary partition table to be written data and The data read after upgrading from primary partition table are compared and judge, can quickly know that the primary partition table of intelligent terminal is rising Data exception whether occurs during grade, and when data exception occurs, by being preparatory by the data convert in primary partition table The data of primary partition table when the intelligent terminal of preservation can operate normally realize the abnormal quick reparation of upgrading, protect subregion The safety of the data of table.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the abnormal restorative procedure one embodiment implementation process schematic diagram of upgrading provided by the invention;
Fig. 2 is another embodiment implementation process schematic diagram of the abnormal restorative procedure of upgrading provided by the invention;
Fig. 3 is the specific implementation flow schematic diagram provided by the invention for upgrading abnormal restorative procedure step S206;
Fig. 4 is the abnormal prosthetic device one embodiment structural schematic diagram of upgrading provided by the invention;
Fig. 5 is intelligent terminal one embodiment structural schematic diagram provided by the invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
A kind of abnormal restorative procedure of upgrading provided in an embodiment of the present invention is described below, referring to Fig. 1, of the invention Upgrading exception restorative procedure in embodiment includes:
In step s101, when receiving upgrade command, the data before upgrading in primary partition table are saved, before upgrading Partition information;
In embodiments of the present invention, the instruction for the upgrade command that the intelligent terminal based on MTK platform can be inputted in user Lower carry out updating operation;Alternatively, in step s101, above-mentioned upgrade command is also possible to the operating system period by intelligent terminal Property generate, for example, setting No.1 monthly detects whether to be able to carry out upgrading by the operating system of above-mentioned intelligent terminal automatically, And upgrade command is generated when being able to carry out upgrading and updating operation is carried out based on above-mentioned upgrade command;Or in step It in S101, can also be when intelligent terminal detects the upgrade file that currently exist for is upgraded, generate upgrade command And updating operation is carried out based on above-mentioned upgrade command, it is not construed as limiting herein.When receiving upgrade command, main point is saved before upgrading Data in area's table, as partition information before upgrading, wherein partition information will not occur in upgrading before the above-mentioned upgrading of preservation Change.Although intelligent terminal can automatically back up the data in primary partition table in backup partition table, upgraded When operation, primary partition table and backup partition table will do it read-write operation, i.e. data in backup partition table are being upgraded After operation, it is also possible to data exception occurs, even if primary partition table has carried out the restoring operation of data based on backup partition table, The data of correct partition table can not be obtained.Thus, in order to ensure partition information will not occur more in upgrading before above-mentioned upgrading Change, above-mentioned steps S101 can be with specific manifestation are as follows: when receiving upgrade command, obtain the number before upgrading in above-mentioned primary partition table According to;Data before upgrading in above-mentioned primary partition table are saved into privately owned partition table.Above-mentioned privately owned partition table is intelligent terminal The partition table of manufacturer's setting, can make intelligent terminal save the peculiar parameter of respective manufacturer, such as calibration parameter etc., usual feelings Under condition, the manufacturer of intelligent terminal is provided with protection mechanism to above-mentioned privately owned partition table so that intelligent terminal when being upgraded not Data in above-mentioned privately owned partition table can be modified.Alternatively, above-mentioned steps S101 can be with specific manifestation are as follows: receiving When upgrade command, the data before upgrading in above-mentioned primary partition table are obtained;Data before upgrading in above-mentioned primary partition table save to In cloud server.It is, of course, also possible to save partition information before above-mentioned upgrading by other means, it is not construed as limiting herein.
In step s 102, it before carrying out write operation to above-mentioned primary partition table based on above-mentioned upgrade command, obtains and prepares Information is written as target in the data that above-mentioned primary partition table is written;
In embodiments of the present invention, above-mentioned primary partition table is written in the upgrade command obtained in based on step S101 Before operation, the data for preparing that above-mentioned primary partition table is written are obtained, information is written as target.It all will necessarily be right due to upgrading every time Primary partition table carries out write operation, in order to determine that above-mentioned write operation is effectively, before carrying out above-mentioned write operation, can to obtain The data for preparing that above-mentioned primary partition table is written are taken, that is, obtain the data of this primary partition table to be written.Optionally, due to above-mentioned When primary partition table carries out write operation, the data of whole positions of above-mentioned primary partition table will not usually be rewritten, thus, this Place, which can be, only to be obtained in primary partition table, this practical data for preparing write-in and each practical data for preparing write-in are in main partition Corresponding position information in table, i.e., at this point, the mode for carrying out write operation to primary partition table is partial mulching;Alternatively, in step In S102, above-mentioned target write-in information can also cover whole positions of primary partition table, i.e., for whole positions of primary partition table Data, have the corresponding data for preparing write-in, for those the practical positions that should not be written over, the former data of the position It is equal with the corresponding data for preparing write-in.In the process, since each position of primary partition table can all carry out write operation, Corresponding position information of the data of practical preparation write-in in primary partition table is thus no longer required to look up at this time, but directly will be whole The data of a primary partition table replace with target write-in information, i.e., at this point, the mode for carrying out write operation to primary partition table is All coverings.It is, of course, also possible to be otherwise obtained in this upgrading prepare that the data of above-mentioned primary partition table are written, not make herein It limits.
In step s 103, it when this completes the write operation that above-mentioned primary partition table carries out, obtains in this write-in The data in primary partition table are stated, read information as target;
In embodiments of the present invention, when this completes the write operation that above-mentioned primary partition table carries out, according to this liter The mode for the write operation that grade carries out primary partition table, obtains this data being written in above-mentioned primary partition table, reads as target Access evidence.Optionally, if this write operation is partial mulching, when this write operation is completed, above-mentioned main partition is searched The position of write operation has actually been carried out in table, and has read the data of these positions, reads information as target;Alternatively, in step In rapid S103, if this write operation is all coverings, the data of all positions in above-mentioned primary partition table are completely read, are made Information is read for target.It is, of course, also possible to otherwise obtain this data that above-mentioned primary partition table is written, do not limit herein It is fixed.
In step S104, detects above-mentioned target write-in information and above-mentioned target reads information with the presence or absence of difference;
In step s105, it is had differences if above-mentioned target write-in information and above-mentioned target read information, on current It states the data in primary partition table and replaces with partition information before above-mentioned upgrading.
In embodiments of the present invention, the target write-in data and above-mentioned steps S103 that detection above-mentioned steps S102 is obtained obtain Target read data whether there is difference.If to write operation and the equal no exceptions of read operation that primary partition table carries out, Then above-mentioned target write-in information is inevitable equal with above-mentioned reading information.Thus here by detect above-mentioned target write-in information and on It states target and reads information with the presence or absence of difference to judge whether the data of the primary partition table after upgrading are abnormal.If above-mentioned target write-in Information and above-mentioned target read information and have differences, then show the write operation carry out to above-mentioned primary partition table and/or read behaviour In work, the case where there are maloperations.If being loaded at this time to primary partition table, it is likely that could not previously be loaded into correct primary partition table Data.In order to repair above-mentioned primary partition table abnormal conditions that may be present, the data in above-mentioned primary partition table are replaced with into liter Partition information before the above-mentioned upgrading that will not be changed during grade.If above-mentioned target write-in information and above-mentioned target read information There is no differences, then at this time can be based on the data-triggered intelligent terminal starting in current above-mentioned primary partition table.
Therefore through the embodiment of the present invention, after intelligent terminal is upgraded, to main partition to be written before upgrading The data read after the data and upgrading of table from primary partition table are compared and judge, can quickly know the master of intelligent terminal Whether partition table occurs data exception in escalation process, and when data exception occurs, by by the data in primary partition table The data for the primary partition table that the intelligent terminal pre-saved is reduced to when can operate normally are realized that upgrading is abnormal and are quickly repaired It is multiple, protect the safety of the data of partition table.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment two
On the basis of the above embodiment 1, below to the abnormal restorative procedure of another upgrading provided in an embodiment of the present invention into Row description, referring to Fig. 2, the upgrading exception restorative procedure in the embodiment of the present invention includes:
In step s 201, in intelligent terminal initial start-up, the data in above-mentioned primary partition table are saved, as original point Area's information;
In embodiments of the present invention, in intelligent terminal initial start-up, due to the data in above-mentioned intelligent terminal also not by User is changed, and intelligent terminal did not also carry out updating operation, and in other words, the data in intelligent terminal are still factory at this time When by intelligent terminal manufacturer be arranged initial data.It therefore, can be using above-mentioned raw partition information as subsequent survey master point The whether normal reference of data in area's table.It should be noted that the above-mentioned raw partition information of above-mentioned preservation is upgrading Shi Buhui is changed, and specifically, can refer to the description of above-mentioned steps S101, is adopted when partition information before above-mentioned upgrading with saving Similar mode saves above-mentioned raw partition information.
In step S202, when receiving upgrade command, the data before upgrading in primary partition table are saved, before upgrading Partition information;
In embodiments of the present invention, above-mentioned steps S202 is identical as above-mentioned steps S101, and for details, reference can be made to step S101's Associated description, details are not described herein.
In step S203, before carrying out write operation to above-mentioned primary partition table based on above-mentioned upgrade command, obtains and prepare Information is written as target in the data that above-mentioned primary partition table is written;
In embodiments of the present invention, above-mentioned steps S203 is identical as above-mentioned steps S102, and for details, reference can be made to step S102's Associated description, details are not described herein.
In step S204, when this completes the write operation that above-mentioned primary partition table carries out, obtain in this write-in The data in primary partition table are stated, read information as target;
In embodiments of the present invention, above-mentioned steps S204 is identical as above-mentioned steps S103, and for details, reference can be made to step S103's Associated description, details are not described herein.
In step S205, detects above-mentioned target write-in information and above-mentioned target reads information with the presence or absence of difference, if so, S207 is thened follow the steps, if it is not, thening follow the steps S206;
In embodiments of the present invention, the target write-in data and above-mentioned steps S204 that detection above-mentioned steps S203 is obtained obtain Target read data whether there is difference.If to write operation and the equal no exceptions of read operation that primary partition table carries out, Then above-mentioned target write-in information is inevitable equal with above-mentioned reading information.Thus detect that information is written in above-mentioned target here by working as Inevitable deposit with above-mentioned reading information can determine that exception has occurred in primary partition table in escalation process at once when abnormal.But it is practical On, even if above-mentioned target write-in information and above-mentioned target read data and difference are not present, above-mentioned primary partition table still has in the presence of abnormal A possibility that write-in, for example, this should not be repaired if the primary data in primary partition table are originally used for " 1 " in write-in Change, thus prepares that above-mentioned primary data are written also to be " 1 ", but since mistake has occurred when write-in, lead to above-mentioned first Data be written over for " 0 ", and when reading the data in above-mentioned primary partition table, and read error has occurred, causes to read The above-mentioned primary data arrived are " 1 ".At this point, the above-mentioned preparation got primary data are written with read first Although the data of position are without difference, in fact, being rewritten as the data of mistake in primary partition table.On occurring Situation is stated, can detect that it is further there is no carrying out when difference that above-mentioned target write-in information and above-mentioned target read information Ground detection, to ensure that the data in primary partition table are accurate.
In step S206, detection compares whether difference exceeds preset disparity range, if so, S207 is thened follow the steps, If it is not, thening follow the steps S208;
In embodiments of the present invention, above-mentioned comparison difference be above-mentioned raw partition information and above-mentioned target are read information into Gained difference after row compares.Since above-mentioned raw partition information is original data when intelligent terminal dispatches from the factory, in this progress After upgrading, the data of the primary partition table of above-mentioned intelligent terminal will necessarily be modified, in other words, above-mentioned raw partition letter Breath will necessarily read information with above-mentioned target and have differences.Therefore, in this step, it can detecte whether above-mentioned comparison difference surpasses Preset disparity range out confirms the data of the primary partition table in this escalation process if being more than preset disparity range It is likely that there are exception, if being less than preset disparity range, confirms that the data in primary partition table are correct.
In step S207, the data in current above-mentioned primary partition table are replaced with into partition information before above-mentioned upgrading;
In embodiments of the present invention, when detecting that above-mentioned comparison difference has been more than preset disparity range in step S206 When, then the data of confirmation primary partition table in this escalation process exist abnormal, if loading at this time to primary partition table, can go out The case where now could not previously be loaded into the data of correct primary partition table.It, will be current in order to repair the abnormal conditions of above-mentioned primary partition table Data in above-mentioned primary partition table replace with partition information before the above-mentioned upgrading that will not be changed in escalation process.
In step S208, based on the data-triggered intelligent terminal starting in current above-mentioned primary partition table.
In embodiments of the present invention, if being determined that information is written in above-mentioned target and above-mentioned target is read by step S205 Difference is not present in breath of winning the confidence, but also has been determined that above-mentioned raw partition information and above-mentioned target read information by step S206 Difference then can be confirmed that the data in above-mentioned primary partition table are correct in preset disparity range at this time.Alternatively, if The data in current above-mentioned primary partition table are replaced with partition information before above-mentioned upgrading by S207 through the above steps, then at this time may be used To confirm that the data in above-mentioned primary partition table are correct.So far, this updating operation or abnormal when upgrading have repaired operation It is fully completed, it can be based on the data-triggered intelligent terminal starting in current above-mentioned primary partition table.
Further, Fig. 3 shows the specific implementation flow of above-mentioned steps S206, and details are as follows:
In step S301, above-mentioned raw partition information is stored in first buffering area, above-mentioned target is read into information deposit Second buffering area;
In embodiments of the present invention, the first buffering of above-mentioned raw partition information deposit that step S201 can be got Area, the above-mentioned former target that step S204 is got read information deposit second buffering area, wait for comparing operation.
In step s 302, the number of each corresponding position of above-mentioned first buffering area and above-mentioned second buffering area is compared respectively According to the presence or absence of difference;
In step S303, if all positions having differences are preset differential position, it is determined that above-mentioned comparison is poor It is different without departing from above-mentioned preset disparity range;
In step s 304, if having the position having differences is not preset differential position, it is determined that above-mentioned comparison Difference exceeds above-mentioned preset disparity range.
In embodiments of the present invention, above-mentioned preset differential position is the primary partition table of intelligent terminal known to developer The position that difference can be generated in upgrading, that is to say, the data rewriting that above-mentioned preset differential position is occurred is grasped by upgrading Make the Normal variations controlled.Data by examining above-mentioned first buffering area and each corresponding position of above-mentioned second buffering area are It is no to have differences, it is available to all positions having differences.If all these positions having differences are preset difference Dystopy is set, it is determined that above-mentioned comparison difference is without departing from above-mentioned preset disparity range, i.e., conjunction of the above-mentioned comparison difference in upgrading It manages in range;Conversely, if in all positions having differences, once it is not default for having the position that more than one has differences Differential position, it is determined that above-mentioned comparison difference has exceeded preset disparity range, i.e., above-mentioned comparison difference has had exceeded upgrading When zone of reasonableness.
Therefore through the embodiment of the present invention, after intelligent terminal is upgraded, to main partition to be written before upgrading The data read after the data and upgrading of table from primary partition table are compared and judge, can preliminary screening go out upgrade when because The data exception situation that maloperation has occurred when the data of read/write primary partition table and generates, it is further, to be written before upgrading When the data read after the data and upgrading of primary partition table from primary partition table are completely the same, the embodiment of the present invention also passes through detection Whether the difference between data read after the primary partition table data and upgrading when intelligent terminal dispatches from the factory from primary partition table is closing It manages in range, it is determined whether exist because not having when Preliminary detection caused by maloperation has occurred in the data of read-write primary partition table The data exception situation detected can preferably protect partition table to the accuracy of data abnormality detection when improving upgrading Data safety.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment three
The embodiment of the present invention also provides a kind of abnormal prosthetic device of upgrading, as shown in figure 4, the upgrading in the embodiment of the present invention Exception handling device 400 includes:
Partition information storage unit 401 before upgrading, for when receiving upgrade command, saving before upgrading in primary partition table Data, as upgrade before partition information, wherein before the above-mentioned upgrading of preservation partition information upgrading when will not change;
Information acquisition unit 402 is written in target, for above-mentioned primary partition table to be written based on above-mentioned upgrade command Before operation, the data for preparing that above-mentioned primary partition table is written are obtained, information is written as target;
Target read information acquisition unit 403, for when this to above-mentioned primary partition table carry out write operation complete when, This data being written in above-mentioned primary partition table is obtained, reads information as target;
First Difference test unit 404 is write for detecting the target that above-mentioned target write-in information acquisition unit 402 is got Enter information and above-mentioned target reads the target that information acquisition unit 403 is got and reads information with the presence or absence of difference;
Data repair unit 405, if for above-mentioned first Difference test unit 404 detect above-mentioned target write-in information and Above-mentioned target reads information and has differences, then the data in current above-mentioned primary partition table is replaced with partition information before above-mentioned upgrading Partition information before the upgrading that storage unit saves.
Optionally, above-mentioned upgrading exception prosthetic device 400 further include:
Raw partition information holding unit, for saving the number in above-mentioned primary partition table in intelligent terminal initial start-up According to as raw partition information, wherein the above-mentioned raw partition information of preservation will not be changed in upgrading;
Second Difference test unit, if detecting above-mentioned target write-in information for above-mentioned first Difference test unit 404 And above-mentioned target reads information and difference is not present, then detects and compare whether difference exceeds preset disparity range, above-mentioned comparison is poor Different is to obtain raw partition information and above-mentioned target reading information acquisition unit that above-mentioned raw partition information holding unit saves The target got reads gained difference after information is compared;
Above-mentioned data repair unit, detect above-mentioned comparison difference beyond upper if being also used to above-mentioned second Difference test unit Preset disparity range is stated, then the data in current above-mentioned primary partition table are replaced with into partition information storage unit before above-mentioned upgrading Partition information before the upgrading of preservation.
Optionally, above-mentioned second Difference test unit, comprising:
Above-mentioned target is read and is believed for above-mentioned raw partition information to be stored in first buffering area by message buffer subelement Breath deposit second buffering area;
Information comparison subelement, for comparing each corresponding positions of above-mentioned first buffering area Yu above-mentioned second buffering area respectively The data set whether there is difference;
Testing result determines subelement, if being preset differential position for all positions having differences, it is determined that Above-mentioned comparison difference is without departing from above-mentioned preset disparity range, if having the position having differences not is preset difference position It sets, it is determined that above-mentioned comparison difference exceeds above-mentioned preset disparity range.
Optionally, partition information storage unit 401 includes: before above-mentioned upgrading
Partition information obtains subelement before upgrading, for obtaining the data upgraded in preceding above-mentioned primary partition table;
Partition information is stored in subelement before upgrading, and saves for the data in above-mentioned primary partition table before upgrading to privately owned point In area's table, wherein the data in above-mentioned privately owned partition table will not be changed in upgrading.
Optionally, above-mentioned upgrading exception prosthetic device 400 further include:
Terminal start unit, for the partition information before the data in current above-mentioned primary partition table to be replaced with to above-mentioned upgrading Later, alternatively, if above-mentioned comparison difference without departing from above-mentioned preset disparity range, based on the number in current above-mentioned primary partition table According to triggering intelligent terminal starting.
Therefore through the embodiment of the present invention, upgrade abnormal prosthetic device can after intelligent terminal is upgraded, The data read after the data and upgrading of primary partition table to be written before upgrading from primary partition table are compared and are judged, it can Preliminary screening goes out the data exception situation generated due to maloperation has occurred when the data of read/write primary partition table when upgrading, into one Step ground rises when the data read after the data and upgrading for upgrading preceding primary partition table to be written from primary partition table are completely the same The abnormal prosthetic device of grade can also detect the primary partition table data and upgrading when intelligent terminal factory by the second Difference test unit In the reasonable scope whether the difference between data read afterwards from primary partition table, determined whether there is with this because of main point of read-write The data exception situation not detected when Preliminary detection caused by maloperation has occurred in the data of area's table, improves upgrading When to the accuracy of data abnormality detection, can preferably protect the safety of the data of partition table.
Example IV
The embodiment of the present invention provides a kind of intelligent terminal, referring to Fig. 5, the intelligent terminal in the embodiment of the present invention includes: Memory 501, one or more processors 502 (one is only shown in Fig. 5) and is stored on memory 501 and can be in processor The computer program of upper operation.Wherein: memory 501 is deposited for storing software program and module, processor 502 by operation The software program and unit in memory 501 are stored up, it is above-mentioned pre- to obtain thereby executing various function application and data processing If the corresponding resource of event.Specifically, processor 502 is stored real in the above-mentioned computer program of memory 501 by operation Existing following steps:
When receiving upgrade command, the data before upgrading in primary partition table are saved, as partition information before upgrading, In, partition information will not be changed in upgrading before the above-mentioned upgrading of preservation;
Before carrying out write operation to above-mentioned primary partition table based on above-mentioned upgrade command, obtains and prepare that above-mentioned main partition is written Information is written as target in the data of table;
When this completes the write operation that above-mentioned primary partition table carries out, obtains this and be written in above-mentioned primary partition table Data read information as target;
It detects above-mentioned target write-in information and above-mentioned target reads information with the presence or absence of difference;
It, will be in current above-mentioned primary partition table if above-mentioned target write-in information and above-mentioned target read information and have differences Data replace with partition information before above-mentioned upgrading.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, processor 502 is stored in the above-mentioned computer program of memory 501 also by operation It performs the steps of
In intelligent terminal initial start-up, the data in above-mentioned primary partition table are saved, as raw partition information, wherein The above-mentioned raw partition information saved will not be changed in upgrading;
The above-mentioned above-mentioned target write-in information of detection and above-mentioned target read information and whether there is difference, later further include:
If above-mentioned target write-in information and above-mentioned target read information and difference are not present, detects and compare whether difference exceeds Rear institute is compared for above-mentioned raw partition information and above-mentioned target are read information in preset disparity range, above-mentioned comparison difference Obtain difference;
If above-mentioned comparison difference exceeds above-mentioned preset disparity range, the data in current above-mentioned primary partition table are replaced For partition information before above-mentioned upgrading.
It is above-mentioned in the third the possible embodiment provided based on above-mentioned second of possible embodiment Detection compares whether difference exceeds above-mentioned preset disparity range, comprising:
Above-mentioned raw partition information is stored in first buffering area, above-mentioned target is read into information and is stored in second buffering area;
The data of each corresponding position of above-mentioned first buffering area and above-mentioned second buffering area are compared respectively with the presence or absence of poor It is different;
If all positions having differences are preset differential position, it is determined that above-mentioned comparison difference is pre- without departing from above-mentioned If disparity range;
If having the position having differences not is preset differential position, it is determined that above-mentioned comparison difference is beyond above-mentioned pre- If disparity range.
Based on the first above-mentioned possible embodiment or based on above-mentioned second of possible embodiment It is above-mentioned by current above-mentioned master or in the 4th kind of possible embodiment provided based on the third possible embodiment Data in partition table replace with before above-mentioned upgrading after partition information, alternatively, if above-mentioned comparison difference is default without departing from above-mentioned Disparity range, processor 502 stores and also performed the steps of in the above-mentioned computer program of memory 501 by operation
Based on the data-triggered intelligent terminal starting in current above-mentioned primary partition table.
Based on the first above-mentioned possible embodiment or based on above-mentioned second of possible embodiment It is main before above-mentioned preservation upgrading or in the 5th kind of possible embodiment provided based on the third possible embodiment Data in partition table, comprising:
Obtain the data before upgrading in above-mentioned primary partition table;
Data before upgrading in above-mentioned primary partition table are saved into privately owned partition table, wherein in above-mentioned privately owned partition table Data upgrading when will not change.
Further, as shown in figure 5, above-mentioned intelligent terminal may also include that one or more input equipments 503 (only show in Fig. 5 One out) and one or more output equipments 504 (one is only shown in Fig. 4).Memory 501, processor 502, input equipment 503 and output equipment 504 connected by bus 505.
It should be appreciated that in embodiments of the present invention, alleged processor 502 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 503 may include keyboard, Trackpad, fingerprint adopt sensor (for acquire user finger print information and The directional information of fingerprint), microphone etc., output equipment 504 may include display, loudspeaker etc..
Memory 501 may include read-only memory and random access memory, and provide instruction sum number to processor 502 According to.Part or all of memory 501 can also include nonvolatile RAM.For example, memory 501 may be used also With the information of storage device type.
Therefore through the embodiment of the present invention, intelligent terminal is after being upgraded, and will be become owner of point to be written before upgrading The data read after the data and upgrading of area's table from primary partition table are compared and judge, can preliminary screening go out upgrade when because The data exception situation that maloperation has occurred when the data of read/write primary partition table and generates, it is further, to be written before upgrading When the data read after the data and upgrading of primary partition table from primary partition table are completely the same, moreover it is possible to when detecting intelligent terminal factory Primary partition table data and upgrading after difference between the data that are read from primary partition table whether in the reasonable scope, really with this The number not detected when Preliminary detection caused by maloperation has occurred in the fixed data with the presence or absence of because of read-write primary partition table According to abnormal conditions, to the accuracy of data abnormality detection when improving upgrading, the peace of the data of partition table can be preferably protected Entirely.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, above-mentioned computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, above-mentioned computer program includes computer program code, and above-mentioned computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry above-mentioned computer program code Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned computer The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as In certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunications letter Number.
Above above-described embodiment is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (8)

1. a kind of abnormal restorative procedure of upgrading, which is characterized in that the upgrading exception restorative procedure includes:
When receiving upgrade command, the data before upgrading in primary partition table are saved, as partition information before upgrading, wherein protect Partition information will not be changed in upgrading before the upgrading deposited;
Before carrying out write operation to the primary partition table based on the upgrade command, obtains and prepare that the primary partition table is written Information is written as target in data;
When this completes the write operation that the primary partition table carries out, this number being written in the primary partition table is obtained According to as target reading information;
It detects the target write-in information and the target reads information with the presence or absence of difference;
If the target write-in information and the target read information and have differences, by the data in presently described primary partition table Replace with partition information before the upgrading;
The abnormal restorative procedure of the upgrading further include:
In intelligent terminal initial start-up, the data in the primary partition table are saved, as raw partition information, wherein save The raw partition information upgrading when will not change;
The detection target write-in information and the target read information and whether there is difference, later further include:
If target write-in information and the target, which read information, is not present difference, detect compare difference whether exceed it is default Disparity range, the comparison difference is that the raw partition information and the target are read to gained after information is compared is poor It is different;
If the comparison difference exceeds the preset disparity range, the data in presently described primary partition table are replaced with into institute State the preceding partition information of upgrading.
2. as described in claim 1 upgrade abnormal restorative procedure, which is characterized in that the detection compares whether difference exceeds institute State preset disparity range, comprising:
The raw partition information is stored in first buffering area, the target is read into information and is stored in second buffering area;
The data of each corresponding position of the first buffering area and the second buffering area are compared respectively with the presence or absence of difference;
If all positions having differences are preset differential position, it is determined that the comparison difference is preset without departing from described Disparity range;
If having the position having differences not is preset differential position, it is determined that the comparison difference is beyond described preset Disparity range.
3. such as the abnormal restorative procedure of the described in any item upgradings of claim 1 to 2, which is characterized in that main before the preservation upgrading Data in partition table, comprising:
Obtain the data before upgrading in the primary partition table;
Data before upgrading in the primary partition table are saved into privately owned partition table, wherein the number in the privately owned partition table It will not be changed according in upgrading.
4. such as the abnormal restorative procedure of the described in any item upgradings of claim 1 to 2, which is characterized in that described by presently described master Data in partition table replace with before the upgrading after partition information, alternatively, if the comparison difference is default without departing from described Disparity range, then the abnormal restorative procedure of the upgrading further include:
Based on the data-triggered intelligent terminal starting in presently described primary partition table.
5. a kind of abnormal prosthetic device of upgrading, which is characterized in that the upgrading exception prosthetic device includes:
Partition information storage unit before upgrading, for saving the data before upgrading in primary partition table when receiving upgrade command, As partition information before upgrading, wherein partition information will not be changed in upgrading before the upgrading of preservation;
Information acquisition unit is written in target, is used for before carrying out write operation to the primary partition table based on the upgrade command, The data for preparing that the primary partition table is written are obtained, information is written as target;
Target reads information acquisition unit, for obtaining this when this completes the write operation that the primary partition table carries out Data in the secondary write-in primary partition table, read information as target;
First Difference test unit, for detecting the target write-in information and institute that the target write-in information acquisition unit is got It states the target that target reading information acquisition unit is got and reads information with the presence or absence of difference;
Data repair unit, if detecting that the target write-in information and the target are read for the first Difference test unit Breath of winning the confidence has differences, then partition information storage unit is protected before the data in presently described primary partition table being replaced with the upgrading Partition information before the upgrading deposited;
Raw partition information holding unit is made for saving the data in the primary partition table in intelligent terminal initial start-up For raw partition information, wherein the raw partition information of preservation will not be changed in upgrading;
Second Difference test unit, if detecting the target write-in information and the mesh for the first Difference test unit Mark reads information and difference is not present, then detects and compare whether difference exceeds preset disparity range, and the comparison difference is by institute The raw partition information and the target for stating the preservation of raw partition information holding unit read the mesh that information acquisition unit is got Mark reads gained difference after information is compared;
The data repair unit, detect the comparison difference beyond described pre- if being also used to the second Difference test unit If disparity range, then the data in presently described primary partition table are replaced with into partition information storage unit before the upgrading and saved Upgrading before partition information.
6. as claimed in claim 5 upgrade abnormal prosthetic device, which is characterized in that the second Difference test unit includes:
Message buffer subelement deposits target reading information for the raw partition information to be stored in first buffering area Enter second buffering area;
Information comparison subelement, for comparing the first buffering area and each corresponding position of the second buffering area respectively Data whether there is difference;
Testing result determines subelement, if being preset differential position for all positions having differences, it is determined that described Comparison difference is without departing from the preset disparity range, if having the position having differences not is preset differential position, Determine the comparison difference beyond the preset disparity range.
7. a kind of intelligent terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one the method.
8. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
CN201710612728.3A 2017-07-25 2017-07-25 A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal Expired - Fee Related CN107341074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710612728.3A CN107341074B (en) 2017-07-25 2017-07-25 A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710612728.3A CN107341074B (en) 2017-07-25 2017-07-25 A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal

Publications (2)

Publication Number Publication Date
CN107341074A CN107341074A (en) 2017-11-10
CN107341074B true CN107341074B (en) 2019-06-18

Family

ID=60216126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710612728.3A Expired - Fee Related CN107341074B (en) 2017-07-25 2017-07-25 A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal

Country Status (1)

Country Link
CN (1) CN107341074B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009039B (en) * 2017-12-01 2021-02-19 Oppo广东移动通信有限公司 Terminal information recording method, device, storage medium and electronic equipment
CN112738111A (en) * 2020-12-31 2021-04-30 西安航普电子有限责任公司 Automatic upgrading method for embedded terminal
WO2024000535A1 (en) * 2022-06-30 2024-01-04 北京小米移动软件有限公司 Partition table update method and apparatus, and electronic device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183525A (en) * 2015-10-09 2015-12-23 深圳市网心科技有限公司 Upgrading method of system software and electronic equipment for implementing upgrading method
CN105183659B (en) * 2015-10-16 2018-07-24 上海通创信息技术有限公司 Software systems abnormal behavior detection method based on multilevel mode prediction
CN106610840A (en) * 2015-10-22 2017-05-03 深圳市中兴微电子技术有限公司 FOTA (Firmware Over-The-Air) upgrade method and system
CN106201795A (en) * 2016-07-07 2016-12-07 浪潮电子信息产业股份有限公司 A kind of method of quick detection data storage link stability

Also Published As

Publication number Publication date
CN107341074A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN107341074B (en) A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal
CN104850427B (en) A kind of code upgrade method and device
CN106021014B (en) A kind of EMS memory management process and device
CN106648787A (en) Resource updating method and terminal
US10922071B2 (en) Centralized off-board flash memory for server devices
CN107943502A (en) A kind of upgrade method based on the detection of fine granularity system mode under linux system
CN108197476B (en) Vulnerability detection method and device for intelligent terminal equipment
CN110489259A (en) A kind of memory failure detection method and equipment
CN106303709A (en) A kind of Set Top Box and application program updating method, system
US9786373B2 (en) EEPROM backup method and device
CN110489347A (en) Method for edition management, device, equipment and readable storage medium storing program for executing based on GIT
CN108710549B (en) Method and device for ensuring stability of fingerprint data
CN108170456A (en) The firmware upgrade method and device of electronic equipment
CN109597728B (en) Control method and device of test equipment and computer readable storage medium
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN106528248B (en) Downloading method and system of mobile terminal based on software integrity
CN109446008A (en) A kind of failure cause detection method, failure cause detection device and terminal device
CN108647516A (en) A kind of defence loophole illegally puies forward power method and device
CN108958823A (en) The method for modifying basic input output system setting value
CN104216797B (en) Embedded system setting value initialization system, method and electronic installation
CN113220598A (en) System test method, apparatus, device, medium, and program product
CN105183530A (en) Module loading method and system based on K-UNIX core
CN105827413A (en) Electronic terminal, and system safety verification device and method thereof
CN111309598A (en) Test case execution environment recovery method, system, terminal and storage medium
CN111309358A (en) CPLD (Complex programmable logic device) firmware upgrading method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190618

CF01 Termination of patent right due to non-payment of annual fee