CN104834574B - A kind of method and device solving system partitioning damage - Google Patents

A kind of method and device solving system partitioning damage Download PDF

Info

Publication number
CN104834574B
CN104834574B CN201510214631.8A CN201510214631A CN104834574B CN 104834574 B CN104834574 B CN 104834574B CN 201510214631 A CN201510214631 A CN 201510214631A CN 104834574 B CN104834574 B CN 104834574B
Authority
CN
China
Prior art keywords
subregion
intelligent terminal
damage
booting
backup
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.)
Active
Application number
CN201510214631.8A
Other languages
Chinese (zh)
Other versions
CN104834574A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510214631.8A priority Critical patent/CN104834574B/en
Publication of CN104834574A publication Critical patent/CN104834574A/en
Application granted granted Critical
Publication of CN104834574B publication Critical patent/CN104834574B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of method and devices of solution system partitioning damage, it is related to field of computer technology, to in the case where system partitioning damages, terminal need not reprocess, the normal operation of intelligent terminal is directly maintained using system backup subregion, maintenance cycle is substantially reduced, is improved the user experience.This method is applied to intelligent terminal, includes the system backup subregion that backup has unspoiled SYSTEM subregion in intelligent terminal;This method comprises: determining whether booting reason is the damage of SYSTEM subregion in intelligent terminal starting up;In booting the reason is that in the case that SYSTEM subregion damages, it is switched on and is run according to system backup subregion.

Description

A kind of method and device solving system partitioning damage
Technical field
The present invention relates to field of computer technology more particularly to it is a kind of solve SYSTEM (system) subregion damage method and Device.
Background technique
With intelligentized development, it is equipped with intelligent terminal (smart phone, tablet computer, learning machine, the sound of operating system Video player etc.) mainstream in the market is also increasingly becomed, wherein the Android of the open source code based on Linux (Android) operating system, it is significant open as most commonly used operating system on intelligent terminal with it.
It puts goods on the market however as a large amount of intelligent terminal, because can not normal use and the intelligent terminal that needs to reprocess Quantity greatly increases.In various failures, because intelligent terminal operation irregularity caused by SYSTEM subregion damages accounts for very Large scale.The vital document that intelligent terminal realizes basic function is mainly stored in SYSTEM subregion, such as realizes text input File, file, platform Runtime Library, the file for realizing bottom application, file needed for booting, shutdown needed for building system framework Required file etc., so SYSTEM subregion once damages intelligent terminal and may be unable to run.The original for causing SYSTEM subregion to damage Because there are many kinds of, such as file failure, supply voltage are unstable, user is accidentally deleted or modified.What maintenance personal solved the above problems Usual mode is to update the SYSTEM subregion damaged in intelligent terminal with correct SYSTEM partitioned file.
During solving the damage of above-mentioned SYSTEM subregion, inventor's discovery at least exists in the prior art asks as follows Topic: using intelligent terminal when something goes wrong in user, and whether user not can determine that because the damage of SYSTEM subregion causes first Intelligent terminal it is abnormal, secondly user knows be to be damaged due to SYSTEM subregion caused by intelligent terminal exception in the case where, Since the file in SYSTEM subregion is not released publicly, so user can not obtain the file of correct SYSTEM subregion, so Only intelligent terminal is handed over to specialized maintenance personnel and is reprocessed, but maintenance cycle is very long for users, seriously affects The usage experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of solution system SYSTEM subregion damage, by intelligent end Backup has the system backup subregion of unspoiled SYSTEM subregion in end, so that in the case where the damage of SYSTEM subregion, intelligence Terminal need not reprocess, and the normal operation of intelligent terminal is directly maintained using system backup subregion, maintenance cycle is substantially reduced, mentions High user experience.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, being applied to intelligence the embodiment of the invention provides a kind of method of solution system SYSTEM subregion damage Can terminal, include the system backup subregion that backup has unspoiled SYSTEM subregion in intelligent terminal;This method comprises: in intelligence When terminal starting up, determine whether booting reason is the damage of SYSTEM subregion;In booting the reason is that SYSTEM subregion damaged In the case of, it is switched on and is run according to system backup subregion.
Second aspect, the embodiment of the invention provides a kind of intelligent terminal, in intelligent terminal include backup have it is unspoiled The system backup subregion of SYSTEM subregion;Intelligent terminal comprises determining that unit, for determining in intelligent terminal starting up Whether booting reason is the damage of SYSTEM subregion;Processing unit, for booting the reason is that SYSTEM subregion damage in the case where, It is switched on and is run according to system backup subregion.
The embodiment of the invention provides a kind of method and devices of solution SYSTEM subregion damage, whether determine booting reason For the damage of SYSTEM subregion;In booting the reason is that in the case that SYSTEM subregion damages, include according to what is stored in intelligent terminal The system backup subregion of all information in SYSTEM subregion, which is switched on, to be run.In this way, intelligent terminal can voluntarily judge SYSTEM Whether subregion damages, and in the case where the damage of SYSTEM subregion, intelligent terminal can use system backup partitioned file to repair The SYSTEM subregion of damage can also be maintained directly to be switched on and be operated normally using system backup subregion, so in SYSTEM In the case that subregion damages, without handing over the after-sales service personnel maintenance to profession to be just able to solve SYSTEM subregion intelligent terminal Caused intelligent terminal operation is not normal, substantially reduces maintenance cycle, improves the user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of distance schematic diagram of method for solving the damage of SYSTEM subregion provided in an embodiment of the present invention;
Fig. 2 is the distance schematic diagram of another method for solving the damage of SYSTEM subregion provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram for the method whether determining SYSTEM subregion damages provided in an embodiment of the present invention;
Fig. 4 is the process signal for the method whether another determining SYSTEM subregion provided in an embodiment of the present invention damages Figure;
Fig. 5 is a kind of functional schematic of intelligent terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It should be noted that all embodiments of the invention are all applied to be equipped with the intelligent terminal of operating system, and intelligence Can there are SYSTEM subregion and system backup subregion in terminal.The text for realizing intelligent terminal basic function is stored in SYSTEM subregion Part, for example, file, platform Runtime Library, the text for realizing bottom application needed for realizing the file of text input, building system framework File needed for part, booting, file needed for shutdown etc..In the case where SYSTEM subregion lacks or occurs badly damaged, intelligence Terminal can not normal use after will be unable to normal boot-strap or booting.System backup subregion includes in unspoiled SYSTEM subregion All information, so SYSTEM subregion damage can not normal boot-strap or booting after can not normal use in the case where, can To maintain the operation of intelligent terminal using system backup subregion.
The embodiment of the invention provides a kind of methods of solution SYSTEM subregion damage.As shown in Figure 1, this method comprises:
101, in intelligent terminal starting up, determine whether booting reason is the damage of SYSTEM subregion.
It should be noted that booting detection is a basic function of intelligent terminal.Booting detection in the prior art can To detect the booting reason of current intelligent terminal, for example, by power button booting, alarm clock booting, instant power-down booting, detect USB (Universal Serial Bus, universal serial bus) booting etc..The present invention is in prior art basis, in booting reason In addition SYSTEM subregion damages this option.
It should be noted that step 102 is executed the reason is that in the case that SYSTEM subregion damages in determining booting, otherwise, According to specific booting reason, intelligent terminal is executed according to starting procedure in the prior art.
Specifically, being executed bootstrap (bootloader), during executing bootstrap after intelligent terminal powers on Detection booting reason, and determine that booting reason is the damage of SYSTEM subregion.
102, in booting the reason is that being switched on and being run according to system backup subregion in the case that SYSTEM subregion damages.
Specifically, according at least following three kinds of implementations of system backup subregion booting.
The first, the SYSTEM subregion of damage is updated according to system backup subregion;It is opened using updated SYSTEM subregion Machine operation.
Specifically, booting the reason is that SYSTEM subregion damage in the case where, by the file in system backup subregion according to The storage organization of file copies in SYSTEM subregion in SYSTEM subregion, then intelligent to update the SYSTEM subregion of damage Terminal is switched on using updated SYSTEM subregion and carries out conventional operation.
This mode is advantageous in that: if SYSTEM is damaged again, still can use the update of system backup subregion The SYSTEM subregion of damage completes the reparation of SYSTEM subregion, maintains the normal operation of intelligent terminal.
It second, is directly switched on using system backup subregion.
Specifically, in booting the reason is that intelligent terminal is read SYSTEM subregion in the case that SYSTEM subregion damages Path change is the store path of system backup subregion, so that intelligent terminal gives up SYSTEM subregion, directly utilizes system backup Subregion is switched on and carries out conventional operation.But in this case, in system backup subregion each file storage organization file With must be identical as the storage organization of file in SYSTEM subregion, the format of simultaneity factor backup subregion and the lattice of SYSTEM subregion Formula is identical, cannot be the format of compressed file.
If this mode is limited in that system backup subregion damages, then intelligent terminal cannot be transported normally Row.
The third, is switched on according to the system backup subregion of compressed file format.
It should be noted that the memory space of occupancy is larger since the file stored in SYSTEM is more, and it is corresponding, it deposits The occupied memory space of system backup subregion for containing all information in SYSTEM subregion is also larger.It is standby in order to reduce system Part occupied memory space of subregion will can store again in an intelligent terminal after the compression of compressed system backup subregion.
Illustratively, mobile phone has 8G memory, and wherein 2G is used for storage system partitions of file, corresponding, system backup subregion 2G is needed to be stored, then the available memory space of user only has 4G (account for memory space 50%).If script is needed The memory space system backup compressing file for occupying 2G is to only take up 1.2G compressed file format, then the available storage of user Space is increased to 4.8G (account for memory space 60%).
Specifically, booting the reason is that SYSTEM subregion damage in the case where, decompression system backup subregion, and with decompress after System backup subregion replacement damage SYSTEM subregion, then intelligent terminal using updated SYSTEM subregion booting go forward side by side The conventional operation of row.
The embodiment of the invention provides it is a kind of solution SYSTEM subregion damage method, determine booting reason whether be The damage of SYSTEM subregion;In booting the reason is that in the case that SYSTEM subregion damages, include according to what is stored in intelligent terminal The system backup subregion of all information in SYSTEM subregion, which is switched on, to be run.In this way, intelligent terminal can voluntarily judge SYSTEM Whether subregion damages, and in the case where the damage of SYSTEM subregion, intelligent terminal can use system backup partitioned file to repair The SYSTEM subregion of damage can also be maintained directly to be switched on and be operated normally using system backup subregion, so in SYSTEM In the case that subregion damages, without handing over the after-sales service personnel maintenance to profession to be just able to solve SYSTEM subregion intelligent terminal Caused intelligent terminal operation is not normal, substantially reduces maintenance cycle, improves the user experience.
The embodiment of the invention provides a kind of methods of solution SYSTEM system partitioning damage, as shown in Fig. 2, this method packet It includes:
201, system backup subregion is obtained.
It should be noted that intelligent terminal needs to obtain system backup subregion, so just before the damage of SYSTEM subregion The normal operation of intelligent terminal can be maintained using system backup subregion in the case where SYSTEM subregion is damaged.Intelligent terminal The specific opportunity for obtaining system backup subregion only needs before SYSTEM subregion damages, the specific can be that at intelligent end Before bringing out factory, it is also possible to when intelligent terminal is switched on for the first time, when can also be the version of intelligent terminal upgrading operation system, The present invention is without limitation.
Specifically, the method that intelligent terminal obtains system backup subregion includes at least following three kinds:
The first, obtains upgrade file;Intelligent terminal is upgraded according to upgrade file.
It wherein, include all information of system backup subregion in upgrade file.
Specifically, when making upgrade file, the addition of all information needed for system backup subregion is being risen by developer In grade file, upgrade file is then uploaded to server, intelligent terminal downloads the upgrade file from server, then according to liter Grade file updates operating system, according to the information for the system backup subregion for including in upgrade file in intelligent terminal in renewal process Middle generation system backup subregion.
It should be noted that such method for obtaining system backup subregion can be during user uses intelligent terminal Any time triggering.
Second, system backup subregion is generated according to SYSTEM subregion.
Specifically, when intelligent terminal is to be switched on for the first time, or when user triggers intelligent terminal backup SYSTEM, intelligence Energy terminal divides new subregion according to the size of the shared memory space of SYSTEM subregion, and copies SYSTEM subregion to new point Qu Zhong generates system backup subregion
The third, in production of intelligent terminal, by system backup partitioned storage into intelligent terminal.
Specifically, developer is operating during generating operating system according to the associated documents of SYSTEM subregion The related content of add-on system backup subregion in system, produces the version of final operating system, then utilizes upgrading work Have by the operating system update into intelligent terminal, so that intelligent terminal generates system backup subregion.
202, determine whether SYSTEM subregion damages.
It should be noted that if there is problem, then intelligent terminal detects this automatically and asks during using intelligent terminal Whether the appearance of topic is because SYSTEM subregion damages.
It is specifically included specifically, determining whether SYSTEM subregion damages:
Determine following three conditions: carry SYSTEM subregion, normal boot-strap, whole glue files are correct in SYSTEM subregion Whether all meet;Have at least one ungratified situation in three conditions, determines that SYSTEM subregion damages;In three items In the case that part all meets, determine that SYSTEM subregion does not damage.
Wherein, glue file is immovable file always in SYSTEM subregion.The file and intelligence having in SYSTEM subregion Can the real-time parameter that obtains of terminal it is related, can be changed before and after booting, and since some files storing to SYSTEM subregion, Always it will not change.Glue file herein just refers to the file that will not change in SYSTEM subregion.Determine SYSTEM points Whole glue files are correctly specifically as follows in area: the check value of each glue file are previously stored in intelligent terminal, to every One glue file, intelligent terminal calculate the check value of the glue file, and determine that calculated check value is somebody's turn to do with pre-stored Whether the corresponding check value of file is consistent, if the two is consistent, it is determined that the glue file is correct;If the two is inconsistent, it is determined that The glue file mistake.
It should be noted that the relationship between above three condition is:
If carry SYSTEM subregion cannot be succeeded, it cannot successfully be switched on and at least one in SYSTEM subregion fixes text Part mistake;If success carry SYSTEM subregion, cannot determine whether successfully to be switched on, can not determine in SYSTEM subregion Whether whole glue files are correct;
If cannot successfully be switched on, at least one glue file mistake in SYSTEM subregion, but not can determine that SYSTEM The whether successful carry of subregion;If being successfully switched on, not can determine that whether whole glue files are correct in SYSTEM subregion, but at Function carry SYSTEM subregion;
If at least one glue file mistake of SYSTEM subregion, cannot determine whether can carry SYSTEM subregion, Can not determine whether being capable of normal boot-strap;It, can be carry SYSTEM points if whole glue files are correct in SYSTEM subregion Area and being capable of normal boot-strap.
It should be noted that the detailed process for determining whether SYSTEM subregion damages can be as shown in Figure 3, it is determined whether at Function carry SYSTEM subregion;If carry fails, it is determined that the damage of SYSTEM subregion;If carry success, it is determined whether Neng Gouzheng Normally opened machine;If being unable to normal boot-strap, it is determined that the damage of SYSTEM subregion;If energy normal boot-strap, it is determined that complete in SYSTEM subregion Whether portion's glue file is correct;If there are at least one glue file mistakes in SYSTEM subregion, it is determined that SYSTEM subregion damage It is bad;If whole glue files are correct in SYSTEM subregion, it is determined that SYSTEM subregion does not damage.
Specifically, determining whether intelligent terminal can be carry SYSTEM points normal before entering normal starting procedure Area;In start process, it is determined whether being capable of normal boot-strap;After power-up, in intelligent terminal operational process, SYSTEM is determined Whether whole glue files are correct in subregion.
It should be noted that at least one glue file mistake is just able to demonstrate that SYSTEM subregion due to SYSTEM subregion Damage, so determining that the detailed process whether SYSTEM subregion damages can also be as shown in figure 4, only determine complete in SYSTEM subregion Whether portion's glue file is correct, if there are at least one glue file mistakes in SYSTEM subregion, it is determined that SYSTEM subregion damage It is bad;If whole glue files are correct in SYSTEM subregion, it is determined that SYSTEM subregion does not damage.
Specifically, determining whether whole glue files are correct in SYSTEM subregion before entering normal starting procedure.
203, in the case where SYSTEM subregion damages, the damage of SYSTEM subregion is set by booting reason, and restart intelligence It can terminal.
It should be noted that intelligent terminal has already powered on and starts to start when determining the damage of SYSTEM subregion, that is, It says and has begun using SYSTEM subregion, so cannot directly replace SYSTEM points of damage using system backup subregion at this time Area maintains intelligent terminal operation, can only set booting reason to the damage of SYSTEM subregion, then restart intelligent terminal, with So that intelligent terminal is capable of determining that SYSTEM subregion damages when booting next time, and according to new starting procedure, it is standby according to system Part subregion booting operation.
204, determine whether booting reason is the damage of SYSTEM subregion.
Specifically, can refer to step 101, details are not described herein.
205, in booting the reason is that being switched on and being run according to system backup subregion in the case that SYSTEM subregion damages.
Specifically, can refer to step 102, details are not described herein.
The embodiment of the invention provides a kind of methods of solution SYSTEM system partitioning damage, obtain system backup subregion; Determine whether SYSTEM subregion damages;In the case where the damage of SYSTEM subregion, SYSTEM subregion damage is set by booting reason It goes bad and restarts intelligent terminal;Determine whether booting reason is the damage of SYSTEM subregion;In booting the reason is that SYSTEM subregion In the case where damage, it is switched on according to the system backup subregion comprising all information in SYSTEM subregion stored in intelligent terminal Operation.In this way, intelligent terminal can voluntarily judge whether SYSTEM subregion damages, and in the case where the damage of SYSTEM subregion, intelligence Energy terminal can use system backup partitioned file to repair the SYSTEM subregion of damage, can also directly utilize system backup point Area come maintain be switched on and operate normally, so SYSTEM subregion damage in the case where, without by intelligent terminal hand over to profession After-sales service personnel maintenance be just able to solve intelligent terminal caused by SYSTEM subregion operation it is not normal, substantially reduce maintenance week Phase improves the user experience.
As shown in figure 5, the embodiment of the invention provides a kind of functional schematics of intelligent terminal.Include in the intelligent terminal Backup has the system backup subregion of unspoiled SYSTEM subregion.Refering to what is shown in Fig. 5, intelligent terminal comprises determining that 501 He of unit Processing unit 502.
Determination unit 501, in intelligent terminal starting up, determining whether booting reason is SYSTEM subregion damage It is bad;
Processing unit 502, for, the reason is that in the case that SYSTEM subregion damages, being opened according to system backup subregion in booting Machine operation.
Processing unit 502 is specifically used in booting the reason is that being divided in the case that SYSTEM subregion damages according to system backup Area updates the SYSTEM subregion of damage, and uses the booting operation of updated SYSTEM subregion.
Further, determination unit 501 are also used to determine whether SYSTEM subregion damages;
Determination unit 501 is specifically used for determining following three conditions: carry SYSTEM subregion, normal boot-strap, SYSTEM point Whether whole glue files correctly all meet in area;Glue file is immovable file always in SYSTEM subregion;Three Have at least one ungratified situation in a condition, determines that SYSTEM subregion damages;The case where three conditions all meet Under, determine that SYSTEM subregion does not damage.
Processing unit 502, is also used in the case where SYSTEM subregion damages, and sets SYSTEM subregion for booting reason Damage, and restart intelligent terminal.
Further, processing unit 502 are also used to obtain upgrade file, and are carried out according to upgrade file to intelligent terminal Upgrading, so that intelligent terminal generates system backup subregion;It wherein, include whole letters of system backup subregion in upgrade file Breath;
Alternatively, processing unit 502, is also used to generate system backup subregion according to SYSTEM subregion.
Optionally, system backup subregion is stored in intelligent terminal with the format of compressed file.
The embodiment of the invention provides a kind of intelligent terminal, determine whether booting reason is the damage of SYSTEM subregion;It is opening In the case that machine is the reason is that SYSTEM subregion damages, according to being stored in intelligent terminal comprising all information in SYSTEM subregion System backup subregion be switched on operation.In this way, intelligent terminal can voluntarily judge whether SYSTEM subregion damages, at SYSTEM points In the case that area damages, intelligent terminal can use system backup partitioned file to repair the SYSTEM subregion of damage, can also be with It directly maintains to be switched on using system backup subregion and operate normally, so in the case where SYSTEM subregion damages, not having to will Intelligent terminal hand over to profession after-sales service personnel maintenance be just able to solve intelligent terminal caused by SYSTEM subregion operation it is not normal, Maintenance cycle is substantially reduced, is improved the user experience.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The 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.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the portion of each embodiment the method for the present invention Step by step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read) Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. are various can store The medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (6)

1. a kind of method of solution system SYSTEM subregion damage, which is characterized in that be applied to intelligent terminal, the intelligent terminal In include that backup has the system backup subregion of unspoiled SYSTEM subregion;The described method includes:
Option is damaged plus the SYSTEM subregion in the booting reason of the intelligent terminal;
In the primary booting operational process before the intelligent terminal starting up, determine whether the SYSTEM subregion damages It is bad;In the case where SYSTEM subregion damage, the SYSTEM subregion is set by the booting reason and is damaged, and is restarted The intelligent terminal;
Whether the determination SYSTEM subregion damages following three conditions that comprise determining that: SYSTEM subregion described in carry, just Whether whole glue files correctly all meet in normally opened machine, the SYSTEM subregion;The glue file is the SYSTEM Always immovable file in subregion;Under having at least one ungratified situation in three conditions, described in determination The damage of SYSTEM subregion;In the case where three conditions all meet, determine that the SYSTEM subregion does not damage;
In the intelligent terminal starting up, determine whether booting reason is the damage of SYSTEM subregion;
In the booting the reason is that in the case that the SYSTEM subregion damages, it is switched on and is run according to the system backup subregion.
2. the method according to claim 1, wherein described be switched on described the reason is that the SYSTEM subregion damages In the case where bad, include: according to system backup subregion booting
In the booting the reason is that in the case that the SYSTEM subregion damages, damage is updated according to the system backup subregion SYSTEM subregion;
It is switched on and is run using updated SYSTEM subregion.
3. the method according to claim 1, wherein before the intelligent terminal starting up, further includes:
Obtain upgrade file;It include all information of the system backup subregion in the upgrade file;
The intelligent terminal is upgraded according to the upgrade file, so that the intelligent terminal generates the system backup Subregion;
Alternatively,
The system backup subregion is generated according to the unspoiled SYSTEM subregion.
4. the method according to claim 1, wherein the system backup subregion is stored with the format of compressed file In the intelligent terminal.
5. a kind of intelligent terminal, which is characterized in that be including what backup had unspoiled SYSTEM subregion in the intelligent terminal System backup subregion;The intelligent terminal includes:
Determination unit, for determining whether the SYSTEM subregion damages;In the intelligent terminal starting up, booting is determined Whether reason is the damage of SYSTEM subregion;Option is damaged plus the SYSTEM subregion in the booting reason;
Processing unit, for setting the SYSTEM for the booting reason in the case where SYSTEM subregion damage Subregion damage, and restart the intelligent terminal;In the booting the reason is that in the case that the SYSTEM subregion damages, according to institute State the booting operation of system backup subregion;
The determination unit, is specifically used for determining following three conditions: SYSTEM subregion, normal boot-strap described in carry, described Whether whole glue files correctly all meet in SYSTEM subregion;The glue file be in the SYSTEM subregion always not The file of change;Under having at least one ungratified situation in three conditions, the SYSTEM subregion damage is determined;? In the case that three conditions all meet, determine that the SYSTEM subregion does not damage.
6. intelligent terminal according to claim 5, which is characterized in that
The processing unit, be specifically used for it is described booting the reason is that the SYSTEM subregion damage in the case where, according to described System backup subregion updates the SYSTEM subregion of damage, and uses the booting operation of updated SYSTEM subregion.
CN201510214631.8A 2015-04-29 2015-04-29 A kind of method and device solving system partitioning damage Active CN104834574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214631.8A CN104834574B (en) 2015-04-29 2015-04-29 A kind of method and device solving system partitioning damage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214631.8A CN104834574B (en) 2015-04-29 2015-04-29 A kind of method and device solving system partitioning damage

Publications (2)

Publication Number Publication Date
CN104834574A CN104834574A (en) 2015-08-12
CN104834574B true CN104834574B (en) 2019-01-29

Family

ID=53812482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214631.8A Active CN104834574B (en) 2015-04-29 2015-04-29 A kind of method and device solving system partitioning damage

Country Status (1)

Country Link
CN (1) CN104834574B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095623A (en) * 2016-06-27 2016-11-09 乐视控股(北京)有限公司 Terminal control method and device
CN106201787A (en) * 2016-07-25 2016-12-07 乐视控股(北京)有限公司 Terminal control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460210A (en) * 2001-04-25 2003-12-03 成津C&C株式会社 Apparatus and method for protecting failure of computer operating system
US20040255106A1 (en) * 2003-06-10 2004-12-16 Rothman Michael A. Recovery of operating system configuration data by firmware of computer system
CN103677947A (en) * 2014-01-03 2014-03-26 深圳英飞拓科技股份有限公司 Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
CN103678030A (en) * 2012-09-04 2014-03-26 杭州海康威视数字技术股份有限公司 Multi-system equipment start system and method thereof
CN103760950A (en) * 2014-01-09 2014-04-30 北京奇虎科技有限公司 Wireless routing equipment management method and device
CN104166561A (en) * 2014-07-25 2014-11-26 深圳市江波龙电子有限公司 Electronic device system start method and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1460210A (en) * 2001-04-25 2003-12-03 成津C&C株式会社 Apparatus and method for protecting failure of computer operating system
US20040255106A1 (en) * 2003-06-10 2004-12-16 Rothman Michael A. Recovery of operating system configuration data by firmware of computer system
CN103678030A (en) * 2012-09-04 2014-03-26 杭州海康威视数字技术股份有限公司 Multi-system equipment start system and method thereof
CN103677947A (en) * 2014-01-03 2014-03-26 深圳英飞拓科技股份有限公司 Equipment dual-system protection method and equipment dual-system upgrading method on basis of linux
CN103760950A (en) * 2014-01-09 2014-04-30 北京奇虎科技有限公司 Wireless routing equipment management method and device
CN104166561A (en) * 2014-07-25 2014-11-26 深圳市江波龙电子有限公司 Electronic device system start method and electronic device

Also Published As

Publication number Publication date
CN104834574A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
US10114655B2 (en) Rapid start up method for electronic equipment
JP5623593B2 (en) Rack and method for simultaneously updating a basic input / output system
CN102722394B (en) Start upgrading method of embedded equipment
CN106155915B (en) Data storage processing method and device
CN104918114B (en) A kind of operating system update method and device
CN105607972B (en) A kind of method and device repaired extremely
CN103488498A (en) Computer booting method and computer
CN102023908A (en) Method and device for backing up boot program
CN103473067A (en) Embedded Linux partitioning and data recovery method, embedded Linux partitioning and data recovery system and system development method
CN101308470A (en) Computer system for initiative restoration, backup and update of BIOS
CN103136019A (en) Method and device used for uploading configuration information
CN111309354A (en) OTA (over the air) upgrading method and device of networking equipment
WO2021103745A1 (en) Method for protectively desiging boot program
US10387257B1 (en) Systems and methods for reliable redundant management controller firmware update
CN110673867A (en) CPLD online upgrading method, device and system
CN111045712A (en) Single system upgrading method and system with backup function
CN104834574B (en) A kind of method and device solving system partitioning damage
CN109002305A (en) A kind of update method and its system of device program
CN104142838A (en) Method and equipment for starting up mobile communication terminal
CN103995717A (en) Method for upgrading software in embedded device
CN102043634A (en) Embedded system and embedded software upgrading method
CN1991681B (en) System for avoiding pushing power switch to interrupt BIOS updating and method thereof
US10671406B2 (en) Server for automatically determining whether to enable remote control function and method for automatically enabling remote control function
CN104461659A (en) High-reliability computer starting method
CN102043640A (en) Flash system and program updating method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant