CN104298618B - The command handling method and device of a kind of intelligent terminal - Google Patents
The command handling method and device of a kind of intelligent terminal Download PDFInfo
- Publication number
- CN104298618B CN104298618B CN201410458767.9A CN201410458767A CN104298618B CN 104298618 B CN104298618 B CN 104298618B CN 201410458767 A CN201410458767 A CN 201410458767A CN 104298618 B CN104298618 B CN 104298618B
- Authority
- CN
- China
- Prior art keywords
- order
- command
- intelligent terminal
- cache
- subregions
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000008569 process Effects 0.000 claims abstract description 20
- 238000000151 deposition Methods 0.000 claims abstract description 19
- 238000011084 recovery Methods 0.000 claims description 64
- 230000002159 abnormal effect Effects 0.000 claims description 23
- 230000008439 repair process Effects 0.000 claims description 22
- 230000006870 function Effects 0.000 abstract description 19
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 230000009897 systematic effect Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Retry When Errors Occur (AREA)
Abstract
The embodiment of the invention discloses a kind of command handling method of intelligent terminal and device.This method includes:Detect to after the caching cache subregions writing commands failure of intelligent terminal, the order is write in the memory space in intelligent terminal outside cache subregions;Read from the memory space for depositing the order and handle the order, to realize the function of the order instruction.When the embodiment of the present invention solves the cache subregion exceptions of intelligent terminal, writing commands fail, and can not realize the technical problem of the corresponding functions such as system reset, system upgrade.So that flow can continue, corresponding function is achieved, and ensure that intelligent terminal normal work.Further, in the process of implementation, cache subregions can also be repaired so that cache subregions are able to normal work.
Description
Technical field
The present invention relates to the command handling method and device of intelligent terminal technical field, more particularly to a kind of intelligent terminal.
Background technology
The major function of caching (cache) subregion has:First, caching during as system reset.Second, downloaded as aerial
The caching of technology (Over the Air Technology, OTA) upgrading.In addition some applications also can be using cache subregions as one
The storage region of individual temporary file.
If some core applications of intelligent terminal, such as (settings) is set, occurred abnormal;Or because in intelligent terminal
Pre-installed applications are more to cause the speed of service slow, often without response.Now, will intelligence by carrying out system reset to intelligent terminal
Terminal returns to factory state, and it can be made to carry out normal work.The process of system reset is:Write first to cache subregions
System reset command, intelligent terminal is then set to enter (recovery) system of reset.Recovery systems carry on startup
Cache subregions, resolution system reset command, perform the operation of format data.After performing format data, reboot into
The operating system of intelligent terminal.
Situations such as if serious problems occurs in intelligent terminal, or the system version of intelligent terminal needs renewal, then need
Carry out OTA upgradings.OTA upgrade functions refer to the upgrading of intelligent terminal system, and its process is similar with system reset.First from
Network download system AKU, then to cache subregion writing system upgrade commands, intelligent terminal is set to enter recovery systems
System.Recovery systems carry cache subregions on startup, resolution system upgrade command, cache are unziped to by system upgrade bag
Subregion, execution system updating operation.After execution system updating operation, the operating system of intelligent terminal is rebooted into.
As shown in figure 1, in the prior art, a kind of intelligent terminal system resets or the flow of system upgrade:
Step 110:The application layer of operating system is resetted toward writing system in cache subregions or system upgrade order.
It is by the file path that system reset or system upgrade order write in step 110:
/cache/recovery/command。
Step 120:The application layer of operating system, which is called, restarts (reboot) instruction, is passed to recovery parameters,
Recovery parameters reboot into recovery systems for instruction.
Even if step 120 terminal reboots into boot-loader (bootloader) stage.At this stage, by incoming
Recovery parameters, which start, resets kernel (recovery kernel).
Step 130:Into recovery systems, service (recovery service) carry cache subregions, parsing are resetted
Order in cache subregions.
Step 140:If determining that the order is reset command according to analysis result, recovery service are formatted
Data subregions and cache subregions;If determining that the order is upgrade command according to analysis result, recovery service are solved
Press system upgrade bag, upgrade-system.
Wherein, the command parameter of reset command is clears data (wipe_data), be used to refer to format data subregions and
Cache subregions.The command parameter of upgrade command is renewal (update), is used to refer to carry out upgrade-system.
Wherein, before system upgrade bag is step 110, downloaded from network side.
Step 150:Recovery service call reboot instructions, are passed to operating system parameter, operating system ginseng
Number is used to refer to reboot into operating system, and intelligent terminal system reboots into operating system.
Above-mentioned flow explains by taking system reset or upgrading as an example to the function of cache subregions.Will in other application
When cache subregions are as ephemeral data memory block, it is also desirable to which order is write into cache subregions.
But if cache file system appearance is abnormal, the file under cache subregions will be unable to access, toward cache subregions
Writing commands will fail, and realize that the flow of corresponding function terminates, cause the operation of system reset, system upgrade or other application
It will fail, and influence intelligent terminal normal work.
The content of the invention
The purpose of the embodiment of the present invention is to provide the command handling method and device of a kind of intelligent terminal, for solving
During cache subregion exceptions, writing commands fail, and can not realize the technical problem of the corresponding functions such as system reset, system upgrade.
The purpose of the embodiment of the present invention is achieved through the following technical solutions:
A kind of command handling method of intelligent terminal, including:
Detect to after the caching cache subregions writing commands failure of intelligent terminal, the order is write into intelligent terminal
In memory space outside middle cache subregions;
Read from the memory space for depositing the order and handle the order, to realize the work(of the order instruction
Energy.
It is preferred that the order is handled, including:
Perform the order.
It is preferred that the order is handled, including:
According to the order, newer command is generated, command parameter in the order is carried in the newer command and for referring to
Show and repair the abnormal command parameter of cache subregions;
Perform the newer command.
It is preferred that read from the memory space for depositing the order and perform the order, including:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order;
If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade,
Start recovery systems;
The order is performed in recovery systems, to complete system reset or system upgrade.
It is preferred that read from the memory space for depositing the order and handle the order, including:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order;
If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade,
Start recovery systems, and generate newer command, command parameter in the order is carried in the newer command and for indicating
Repair the abnormal command parameter of cache subregions;
The newer command is performed in recovery systems, to complete system reset or system upgrade, and repairs cache
Subregion is abnormal.
A kind of command processing device of intelligent terminal, including:
Order writing unit, for detecting to after the cache subregions writing commands failure of intelligent terminal, by the order
Write in the memory space in intelligent terminal outside cache subregions;
Command process unit, for being read from the memory space for depositing the order and handling the order, to realize
The function of the order instruction.
It is preferred that when handling the order, the command process unit is specifically used for:
Perform the order.
It is preferred that when handling the order, the command process unit is specifically used for:
Newer command is generated according to the order, command parameter in the order is carried in the newer command and for indicating
Repair the abnormal command parameter of cache subregions;
Perform the newer command.
It is preferred that the command process unit is specifically used for:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order;
According to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade, start
Recovery systems;
The order is performed in recovery systems, to complete system reset or system upgrade.
It is preferred that the command process unit is specifically used for:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order;
If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade,
Start recovery systems, and generate newer command, command parameter in the order is carried in the newer command and for indicating
Repair the abnormal command parameter of cache subregions;
The newer command is performed in recovery systems, to complete system reset or system upgrade, and repairs cache
Subregion is abnormal.
The embodiment of the present invention has the beneficial effect that:
It is not to terminate flow, but will need to write after detecting that the cache subregions writing commands to intelligent terminal fail
Enter the memory space outside cache subregions in the order write-in intelligent terminal of cache subregions.So that flow can continue into
OK, corresponding function is achieved, and ensure that intelligent terminal normal work.By taking system reset or system upgrade as an example, system
Reset or system upgrade order write-in cache subregions failure after, the memory space that is written into outside cache subregions is entering
Enter to read concurrency processing system from corresponding memory space after recovery systems and reset or system upgrade order, be so as to realize
System resets or system upgrade.Further, in the process of implementation, cache subregions can also be repaired so that cache
Subregion is able to normal work.
Brief description of the drawings
Fig. 1 is resetted for a kind of intelligent terminal system in the prior art or the flow chart of system upgrade;
Fig. 2 is a kind of flow chart of the command handling method of intelligent terminal provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the first implementation provided in an embodiment of the present invention for reading and handling order;
Fig. 4 is intelligent mobile phone system reset or the flow of system upgrade of a kind of Android system provided in an embodiment of the present invention
Figure;
Fig. 5 is the flow chart of second of implementation provided in an embodiment of the present invention for reading and handling order;
Fig. 6 is intelligent mobile phone system reset or the stream of system upgrade of another Android system provided in an embodiment of the present invention
Cheng Tu;
Fig. 7 is a kind of schematic diagram of the command processing device of intelligent terminal provided in an embodiment of the present invention.
Embodiment
The command handling method and device of a kind of intelligent terminal provided by the invention are entered with reference to the accompanying drawings and examples
Row is described in more detail.
The embodiments of the invention provide a kind of command handling method of intelligent terminal, as shown in Fig. 2 specific handling process is such as
Under:
Step 210:Detect to after the cache subregions writing commands failure of intelligent terminal, the order is write into intelligence eventually
In memory space in end outside cache subregions.
Step 220:Read from the memory space for depositing the order and handle the order, to realize the work(of order instruction
Energy.
It is not to terminate stream after detecting that the cache subregions writing commands to intelligent terminal fail in the embodiment of the present invention
Journey, but the order for writing cache subregions will be needed to write the memory space in intelligent terminal outside cache subregions.So that
Obtaining flow can continue, and corresponding function is achieved, and ensure that intelligent terminal normal work.With system reset or it is
Exemplified by system upgrading, after system reset or system upgrade order write-in cache subregion failures, it is written into outside cache subregions
Memory space, enter recovery systems after from corresponding memory space read concurrency processing system reset or system upgrade
Order, so as to realize system reset or system upgrade.
In above-mentioned steps 220, handling the method for the order has a variety of, and the embodiment of the present invention lists wherein several:
First, the order is performed, to realize the function of order instruction.
Second, according to the order, newer command is generated, command parameter in the order is carried in the newer command and for indicating
Repair the abnormal command parameter of cache subregions;The newer command is performed, to realize the function of order instruction, and repairs cache
Subregion.Order originally is the order of system reset, system upgrade or other third-party applications, does not include being used to refer in the order
Show and repair the abnormal command parameter of cache subregions.
The embodiment of the present invention, from deposit the order memory space in read and handle the order mode have it is a variety of.Example
Such as, the first implementation based on above-mentioned processing order, accordingly, a kind of implementation of step 220 is as shown in figure 3, tool
Body flow is as follows:
Step 310:The order is read from the memory space for depositing the order, and obtains the command parameter of the order;
Step 320:If according to the command parameter of the order, determine that the order is used to indicate system reset or system liter
Level, start recovery systems;
Step 330:The order is performed in recovery systems, to complete system reset or system upgrade.
It is right using the first implementation of step 220 by taking the smart mobile phone using Android (Android) system as an example
The smart mobile phone carries out the embodiment of system reset or system upgrade as shown in figure 4, idiographic flow is as follows:
Step 410:The application layer of operating system receives the operational order of the reset of user's execution system or system upgrade.
Step 420:The application layer of operating system is resetted toward writing system in cache subregions or system upgrade order.
It is by the file path that system reset or system upgrade order write in step 420:
/cache/recovery/command。
If writing system reset command, the order can be the order of format data.
Step 430:If order write-in failure, the application layer throw exception of operating system.
Step 440:The application layer of operating system captures the exception, if user's execution is system reset operation, operation
Systematic difference layer calls reboot instructions, is passed to recovery parameters, while system reset command is write into internal memory, the order
The command parameter of middle carrying is wipe_data;If what user performed is system upgrade operation, the application layer of operating system is called
Reboot is instructed, and is passed to recovery parameters, while system upgrade order is write into internal memory, the command parameter carried in the order
For update.
Wherein, by the user's execution system reset received or the operational order of system upgrade, know that user performs
Be system reset operation or system upgrade operation.
Wherein, the step 210 that step 430~step 440 corresponds in Fig. 2.
It should be pointed out that except the order is written into internal memory, multimedia storage card (Multi can also be written to
Media Card, MMC), safe digital card (Secure Digital Memory Card, SD) etc. memory space;Except throwing
Go out exception, and catch the exception, can also detect that writing the order to the cache subregions of intelligent terminal loses by other means
Lose.
Step 450:After the kernel (kernel) of operating system receives reboot instructions, system reboot enters
The bootloader stages.
Step 460:The kernel of operating system parses incoming recovery parameters in the bootloader stages, starts
recovery kernel。
Step 470:After recovery kernel start completions, start recovery service, recovery
The command parameter of orders of the service in write-in internal memory, performs respective operations.If system reset command, then
Recovery service format data subregions and cache subregions;If system upgrade order, then recovery
Service decompression system AKUs, realize system upgrade.
Wherein, the step 220 that step 450~step 470 corresponds in Fig. 2.
Step 480:After the completion of system reset or system upgrade, recovery service call reboot instructions, are passed to
Operating system parameter.
Step 490:Mobile phone reboots into bootloader, and the kernel of operating system is according to incoming operating system parameter
Identify it is normal boot-strap pattern, and then Android starts.
Based on second of implementation of above-mentioned processing order, accordingly, another implementation such as Fig. 5 of step 220
Shown, idiographic flow is as follows:
Step 510:The order is read from the memory space for depositing the order, and obtains the command parameter of the order.
Step 520:If according to the command parameter of the order, determine that the order is used to indicate system reset or system liter
Level, start recovery systems, and generate newer command, the command parameter in the order is carried in the newer command and for indicating to repair
The abnormal command parameter of multiple cache subregions.Order originally is the order of system reset, system upgrade, is not included in the order
For indicating to repair the abnormal command parameter of cache subregions.
Step 530:The newer command is performed in recovery systems, to complete system reset or system upgrade, and is repaiied
Multiple cache subregions are abnormal.
Wherein, the abnormal method of reparation cache subregions has a variety of.For example, format the cache subregions.
By repairing cache subregions, cache subregion normal works are ensure that.
By taking the smart mobile phone using android system as an example, using second of implementation of step 220, to the intelligence
Mobile phone carries out the embodiment of system reset or system upgrade as shown in fig. 6, idiographic flow is as follows:
Step 610:The application layer of operating system receives the operational order of the reset of user's execution system or system upgrade.
Step 620:The application layer of operating system is resetted toward writing system in cache subregions or system upgrade order.
It is by the file path that system reset or system upgrade order write in step 620:
/cache/recovery/command。
If writing system reset command, the order can be the order of format data.
Step 630:If order write-in failure, the application layer throw exception of operating system.
Step 640:The application layer of operating system captures the exception, if user's execution is system reset operation, operation
Systematic difference layer calls reboot instructions, is passed to recovery parameters, while system reset command is write into internal memory, the order
The command parameter of middle carrying is wipe_data, and command parameter A is called in the present embodiment;What if user performed is system liter
Level operation, the application layer of operating system call reboot instructions, are passed to recovery parameters, while system upgrade order is write
Internal memory, the command parameter carried in the order are update, and command parameter B is called in the present embodiment.
Wherein, the step 210 that step 630~step 640 corresponds in Fig. 2.
It should be pointed out that except the order is written into internal memory, SD, MMC etc. memory space can also be written to;Remove
Throw exception, and catch the exception, it can also by other means detect to the cache subregions of intelligent terminal and write the order
Failure.
Step 650:After the kernel of operating system receives reboot instructions, system reboot enters bootloader ranks
Section.
Step 660:The kernel of operating system parses incoming recovery parameters in the bootloader stages, if
Command parameter A or B, start recovery kernel;The order in write-in internal memory generates newer command, the new life simultaneously
Order carries the command parameter in the order, and for indicating to repair the abnormal command parameter of cache subregions.I.e. according to the order
Command parameter A or B, one group of new corresponding command parameter A ' or B ' is generated in kernel.
Step 670:After recovery kernel start completions, start recovery service, recovery
New command parameters of the service in the newer command, perform respective operations.If new command parameter A ', then recovery
Service formats data subregions and cache subregions, realizes system reset;If new command parameter B ', then recovery
Service formats cache subregions, and then decompression system AKU first, realizes system upgrade.
Wherein, the step 220 that step 650~step 670 corresponds in Fig. 2.
Cache subregions are formatted in step 670, for repairing cache subregions.
Step 680:After the completion of system reset or system upgrade, recovery service call reboot instructions, are passed to
Operating system parameter.
Step 690:Mobile phone reboots into bootloader, and the kernel of operating system is according to incoming operating system parameter
Identify it is normal boot-strap pattern, and then Android starts.
The embodiment of the present invention also provides a kind of command processing device of intelligent terminal, is write as shown in fig. 7, specifically including order
Enter unit 701 and command process unit 702.
Order writing unit 701, for detecting to after the cache subregions writing commands failure of intelligent terminal, this is ordered
In memory space in order write-in intelligent terminal outside cache subregions.
Command process unit 702, for being read from the memory space for depositing the order and handling the order, to realize
The function of order instruction.
In the embodiment of the present invention, after detection unit, which detects, to fail to the cache subregions writing commands of intelligent terminal, no
It is to terminate flow, but by order writing unit the order for writing cache subregions will be needed to write in intelligent terminal cache points
Memory space outside area.By the order of command process cell processing, so that flow can continue, corresponding work(
It can be achieved, ensure that intelligent terminal normal work.By taking system reset or system upgrade as an example, system reset or system
After upgrade command write-in cache subregions failure, the memory space that is written into outside cache subregions is entering recovery systems
Concurrency processing system reset or system upgrade order are read from corresponding memory space after system, so as to realize system reset or be
System upgrading.
It is preferred that when handling the order, the command process unit 702 is specifically used for:
The order is performed, realizes the function of order instruction.
It is preferred that when handling the order, the command process unit 702 is specifically used for:
Newer command is generated according to the order, the command parameter in the order is carried in the newer command and for indicating to repair
The abnormal command parameter of cache subregions.Order originally is the order of system reset, system upgrade or other third-party applications,
Do not include being used to indicate to repair the abnormal command parameter of cache subregions in the order.
The newer command is performed, realizes the function of order instruction, and repairs cache subregions.
It is preferred that the command process unit 702 is specifically used for:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order.
If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade,
Start recovery systems.
The order is performed in recovery systems, to complete system reset or system upgrade.
It is preferred that the command process unit 702 is specifically used for:
The order is read from the memory space for depositing the order, and obtains the command parameter of the order.
If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade,
Start recovery systems, and generate newer command, command parameter in the order is carried in the newer command and for indicating
Repair the abnormal command parameter of cache subregions.Order originally is the order of system reset or system upgrade, in the order not
Including for indicating to repair the abnormal command parameter of cache subregions.
The newer command is performed in recovery systems, to complete system reset or system upgrade, and repairs cache points
Area is abnormal.
It can be, but not limited to be realized by formatting cache subregions extremely it is preferred that repairing cache subregions.
It is preferred that in any of the above-described embodiment, be used for into the order memory space can with but be not limited only to internal memory, MMC,
SD etc..
In technical scheme provided in an embodiment of the present invention, intelligent terminal can with but be not limited only to include smart mobile phone, palm
Computer, tablet personal computer, intelligent television etc..
In addition, technical scheme provided in an embodiment of the present invention can with but be applicable not only to Android operation system.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (4)
- A kind of 1. command handling method of intelligent terminal, it is characterised in that including:Detect to after the caching cache subregions writing commands failure of intelligent terminal, the order is write in intelligent terminal In memory space outside cache subregions;The order is read from the memory space for depositing the order, and obtains the command parameter of the order;If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade, start Recovery systems, and newer command is generated, the command parameter in the order is carried in the newer command and for indicating to repair The abnormal command parameter of cache subregions;The newer command is performed in recovery systems, to complete system reset or system upgrade, and repairs cache subregions It is abnormal.
- 2. according to the method for claim 1, it is characterised in that the order is write into cache in intelligent terminal described After in memory space outside subregion, methods described also includes:The order is read from the memory space for depositing the order, and obtains the command parameter of the order;If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade, start Reset recovery systems;The order is performed in recovery systems, to complete system reset or system upgrade.
- A kind of 3. command processing device of intelligent terminal, it is characterised in that including:Order writing unit, for detecting to after the caching cache subregions writing commands failure of intelligent terminal, by the order Write in the memory space in intelligent terminal outside cache subregions;Command process unit, for reading the order from the memory space for depositing the order, and obtain the order Command parameter;If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade, Start recovery systems, and generate newer command, command parameter in the order is carried in the newer command and for indicating Repair the abnormal command parameter of cache subregions;The newer command is performed in recovery systems, with complete system reset or System upgrade, and repair cache subregions exception.
- 4. device according to claim 3, it is characterised in that the command process unit is additionally operable to:The order is read from the memory space for depositing the order, and obtains the command parameter of the order;If according to the command parameter of the order, determine that described order is used to indicate system reset or system upgrade, start Recovery systems;The order is performed in recovery systems, to complete system reset or system upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410458767.9A CN104298618B (en) | 2014-09-10 | 2014-09-10 | The command handling method and device of a kind of intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410458767.9A CN104298618B (en) | 2014-09-10 | 2014-09-10 | The command handling method and device of a kind of intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104298618A CN104298618A (en) | 2015-01-21 |
CN104298618B true CN104298618B (en) | 2018-03-13 |
Family
ID=52318351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410458767.9A Active CN104298618B (en) | 2014-09-10 | 2014-09-10 | The command handling method and device of a kind of intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104298618B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809055B (en) * | 2016-02-26 | 2019-03-22 | 深圳天珑无线科技有限公司 | Access control method, device and relevant device |
CN107818026A (en) * | 2016-09-14 | 2018-03-20 | 中兴通讯股份有限公司 | A kind of method and apparatus of cache partitions reconstruct |
CN106445719A (en) * | 2016-09-26 | 2017-02-22 | 青岛海信移动通信技术股份有限公司 | Recovery-mode Recovery instruction reading and writing method and device |
CN112565896B (en) * | 2019-09-10 | 2023-09-19 | 深圳Tcl数字技术有限公司 | System repairing method, terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7865775B2 (en) * | 2008-03-27 | 2011-01-04 | Intel Corporation | Remote firmware recovery |
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
CN103514065A (en) * | 2012-06-29 | 2014-01-15 | 国基电子(上海)有限公司 | Electronic device with automatic detection and recovery function and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090090801A (en) * | 2008-02-22 | 2009-08-26 | 삼성전자주식회사 | Method and apparatus for updating firmware in portable terminal |
-
2014
- 2014-09-10 CN CN201410458767.9A patent/CN104298618B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7865775B2 (en) * | 2008-03-27 | 2011-01-04 | Intel Corporation | Remote firmware recovery |
CN103514065A (en) * | 2012-06-29 | 2014-01-15 | 国基电子(上海)有限公司 | Electronic device with automatic detection and recovery function and method |
CN102802083A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Set top box updating method based on Android system and set top box |
Also Published As
Publication number | Publication date |
---|---|
CN104298618A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5665188B2 (en) | System for inspecting information processing equipment to which software update is applied | |
CN104298618B (en) | The command handling method and device of a kind of intelligent terminal | |
CN111221800B (en) | Database migration method and device, electronic equipment and storage medium | |
CN110879742B (en) | Method, device and storage medium for asynchronously creating internal snapshot by virtual machine | |
CN102650947A (en) | Continuous increment over-the-air upgrade method of Android handheld equipment | |
CN108388496A (en) | A kind of collection method of system log | |
US20110066897A1 (en) | Methods and apparatuses for determining permanent memory growth | |
CN103677870A (en) | System upgrading method and system upgraded by means of method | |
CN112083971B (en) | Component processing method, device and storage medium | |
CN103577201A (en) | Embedded dual system updating method and system | |
CN105656970A (en) | RAID (Redundant Array of Independent Disk) card configuring method and system and relevant device | |
CN104461621A (en) | Attribute information updating method and device | |
US10387124B2 (en) | System and method for creating domain specific language | |
CN106445719A (en) | Recovery-mode Recovery instruction reading and writing method and device | |
CN110134598B (en) | Batch processing method, device and system | |
CN106484779B (en) | File operation method and device | |
WO2017219872A1 (en) | Set top box upgrading and channel changing methods and systems | |
CN107391283A (en) | A kind of message treatment method and device | |
CN105279013A (en) | Method and device for program issuance based on volume production | |
CN114968753A (en) | Equipment upgrading test method, medium, electronic equipment and test system | |
CN108279937B (en) | Parameter calling method and device, storage medium and electronic equipment | |
CN116594657A (en) | OTA upgrading method and device, vehicle and storage medium | |
CN115687146A (en) | BIOS (basic input output System) test method and device, computer equipment and storage medium | |
CN105786597A (en) | Method and device for realizing task switching in uCOS-III operation system | |
CN114816772A (en) | Debugging method, debugging system and computing device for application running based on compatible layer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Country or region after: China Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |