CN106941672A - The method and device of application software abnormality processing - Google Patents

The method and device of application software abnormality processing Download PDF

Info

Publication number
CN106941672A
CN106941672A CN201710139084.0A CN201710139084A CN106941672A CN 106941672 A CN106941672 A CN 106941672A CN 201710139084 A CN201710139084 A CN 201710139084A CN 106941672 A CN106941672 A CN 106941672A
Authority
CN
China
Prior art keywords
software
intelligent terminal
installed applications
mark
normal use
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710139084.0A
Other languages
Chinese (zh)
Inventor
王旭
张锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201710139084.0A priority Critical patent/CN106941672A/en
Publication of CN106941672A publication Critical patent/CN106941672A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0742Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices
    • 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/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and device of application software abnormality processing, it is related to technical field of information processing, the problem of can not timely recovering when solving existing pre-installed applications software anomaly.The method of the present invention includes:After pre-installed applications software anomaly, prompting message is recovered according to system and sets system to recover to mark, the pre-installed applications software is the pre- application software being mounted in intelligent terminal system;The related data that mark obtains normal use software is recovered according to the system, the normal use software is with occurring the same software that abnormal pre-installed applications software is different editions;The related data of normal use software is write in intelligent terminal system in a covered manner, to replace the abnormal corresponding related data of pre-installed applications software.During the present invention is applied to software anomaly recovery.

Description

The method and device of application software abnormality processing
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of method and device of application software abnormality processing.
Background technology
At present, increasing intelligent terminal uses Android android system.Wherein intelligent terminal makes including specializing in enterprise Custom terminal and general consumer goods terminal.The intelligent terminal customized for enterprise, can be with when terminal is dispatched from the factory The mode of prepackage pre-installs the application for having gathered operating system and prepackage in the business software of enterprise, business software in intelligent terminal Software.In intelligent terminal during use, because the demand, meeting such as defect during the extension or processing of function are actually used There is the prompting for the application software for requiring intelligent terminal upgrade-system or upgrading prepackage, particular by over the air (Over-the-Air Technology, OTA) mode is upgraded.After the application software upgrade of prepackage, used in user During it is possible that OTA AKUs issue when there is nd more serious defect, this more serious defect User can be caused can not to be normally carried out vocational work during use.Due to being the application software of system prepackage, so nothing The pre-installed applications software that method there will be major defect by factory reset mode is deleted, and is returned to originally without defect Version, and if wait next time OTA AKUs issue when also need to long time, therefore, pre-installed applications after upgrading Software occurs after major defect, it is impossible to timely recover, and influence intelligent terminal carries out normal vocational work.
The content of the invention
In view of the above problems, the present invention provides a kind of method and device of application software abnormality processing, existing to solve Pre-installed applications software anomaly when the problem of can not timely recover.
In order to solve the above technical problems, in a first aspect, the invention provides a kind of processing side of application software abnormality processing Method, methods described includes:
After pre-installed applications software anomaly, prompting message is recovered according to system and sets system to recover to mark, the pre-installed applications Software is the pre- application software being mounted in intelligent terminal system;
The related data that mark obtains normal use software is recovered according to the system, the normal use software is and hair Raw abnormal pre-installed applications software is the same software of different editions;
The related data of normal use software is write in intelligent terminal system in a covered manner, it is abnormal pre- to replace Fill the corresponding related data of application software.
Second aspect, present invention also offers a kind of device of application software abnormality processing, described device includes:
Setting unit, after pre-installed applications software anomaly, recovers prompting message according to system and sets system to recover to mark, The pre-installed applications software is the pre- application software being mounted in intelligent terminal system;
Data capture unit, it is described for recovering the related data that mark obtains normal use software according to the system Normal use software is with occurring the same software that abnormal pre-installed applications software is different editions;
Writing unit, for the related data of normal use software to be write in intelligent terminal system in a covered manner, To replace the abnormal corresponding related data of pre-installed applications software.
The method and device of the application software abnormality processing provided by above-mentioned technical proposal, the present invention, can be in prepackage After application software exception, by the system of setting recover mark get normal version pre-installed applications software related data come The related data of abnormal pre-installed applications software is covered, is pre-installed equivalent to exception will be replaced with the pre-installed applications software of normal version The mode of application software realizes the abnormality processing of pre-installed applications software.This mode can be after pre-installed applications software anomaly in time Recovery intelligent terminal in normal business operation, it is not necessary to recover normal business operation after obtaining OTA AKUs.This The mode of the abnormality processing of pre-installed applications software is planted, on the premise of business normal operating is ensured, the extensive of business operation is improved Multiple efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the method for application software abnormality processing provided in an embodiment of the present invention;
Fig. 2 shows the flow chart of the method for another application software abnormality processing provided in an embodiment of the present invention;
Fig. 3 shows the flow chart of the method for another application software abnormality processing provided in an embodiment of the present invention;
Fig. 4 shows a kind of composition frame chart of the device of application software abnormality processing provided in an embodiment of the present invention;
Fig. 5 shows the composition frame chart of the device of another application software abnormality processing provided in an embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
The problem of to solve timely recover during existing pre-installed applications software anomaly, the embodiments of the invention provide A kind of method of application software abnormality processing, as shown in figure 1, this method includes:
101st, after pre-installed applications software anomaly, prompting message is recovered according to system and sets system to recover to mark.
Firstly the need of explanation, the pre-installed applications software in the present embodiment refers to pre- answering in intelligent terminal system With software, it is therefore desirable to realize the processing of pre-installed applications software anomaly by way of selecting to recover intelligent terminal system. After exception is occurring in the pre-installed applications software in intelligent terminal during use, user can be in intelligent terminal system In setting options in selection system recover option, user selection system recover option after generation system recover prompting message, because This intelligent terminal system can receive the prompting message of system recovery.System is set after the prompting message of system recovery is received System recovers mark.The mode of easy setting system recovery mark is in actual applications:Realized by flag, when with When family selection system recovers option, corresponding flag is set to 1, it is 0 when recovering option that system is not selected.Alternatively, it is also possible to Other existing modes that mark can be set are selected to be configured.
It is further to note that the specific execution for being configured system recovery mark is by the core in intelligent terminal system What heart program kernel was performed.
102nd, the related data that mark obtains normal use software is recovered according to system.
Recovered to mark according to system, it is determined that needing the principle of the recovery of system in the recovery of carry out system, the present embodiment not It is to be directed to specific defect in pre-installed applications software, carries out the modification of corresponding program, but should by the prepackage abnormal with generation With software abnormal pre-installed applications software is replaced for the normal use software of the different editions of same software.Accordingly, it would be desirable to obtain With occurring related data of the abnormal pre-installed applications software for the normal use software of the different editions of same software.It is wherein related Data are to ensure all data that normal use software can normally be run, and related data is stored in the data backup point of memory Qu Zhong.It should be noted that the normal use software of a version can be placed in memory, multiple versions can also be placed Normal use software, but selection when can only select one of those.If storing normally should for multiple versions in memory When using software, the identification information for exporting multiple versions can be allowed selective.In actual application, in order to save space resources Occupancy can place the normal use software of less version as far as possible.
103rd, the related data of normal use software is write in intelligent terminal system in a covered manner.
The related data of the normal use software got by step 102 is write respectively according to affiliated subregion corresponding Data area.It should be noted that intelligent terminal system generally divides multiple subregions, the different functions of different subregion correspondences and Effect, therefore the different data of correspondence, need to write according to subregion correspondence in write-in.In addition, the mode of covering is represented, do not protect Original data are stayed, data to be written replaces original data.
After the related data for writing normal use software, the abnormality processing of pre-installed applications software is finally realized.
The method for the application software abnormality processing that the present invention is provided, can be after pre-installed applications software anomaly, by setting System recover the related data of the pre-installed applications software that mark gets normal version and cover abnormal pre-installed applications software Related data, realize prepackage equivalent to the mode that abnormal pre-installed applications software will be replaced with the pre-installed applications software of normal version The abnormality processing of application software.This mode can timely recover normal in intelligent terminal after pre-installed applications software anomaly Business operation, it is not necessary to recover normal business operation after obtaining OTA AKUs.The exception of this pre-installed applications software The mode of reason, on the premise of business normal operating is ensured, improves the recovery efficiency of business operation.
For the supplement to the method shown in above-mentioned Fig. 1 or extension, the embodiment of the present invention additionally provides a kind of application software The method of abnormality processing, as shown in Fig. 2 this method includes:
201st, after pre-installed applications software anomaly, prompting message is recovered according to system and sets system to recover to mark.
The implementation of this step is identical with the implementation of step 101 in Fig. 1, and here is omitted.
202nd, system is recovered into mark storage in memory.
The system set in step 201 is recovered into mark to be stored in the memory of intelligent terminal system, so that intelligence is eventually When end system restarts, system can be got and recover mark.In addition, in order to ensure that system recovers the security of mark, needing System is recovered into the safety zone of mark storage in memory, prevents destroyed or loses.
203rd, the prompt message of intelligent terminal system is restarted in output, so that intelligent terminal system is activated again.
After intelligent terminal system is activated again, start to enter the exception of the pre-installed applications software in intelligent terminal system Row processing, can be directly disposed as restarting intelligent terminal system automatically after step 202 in theory.But in actual applications, such as Fruit is due to when reasons such as the not enough power supply of intelligent terminal etc. cause the process of abnormality processing to be interrupted, it may occur that systemic breakdown Phenomenon.Therefore in order to avoid it is above-mentioned the occurrence of, it is ensured that intelligent terminal carry out abnormality processing during have enough Electricity, so need to export prompting message before intelligent terminal system is restarted, and one electricity reference value of offer (is such as more than 20% electricity etc.) user is determined whether remaining electricity meets the electricity wanted needed for exception handling procedure, and selection is It is no to restart intelligent terminal system.When receive determine restart the determination message of intelligent terminal system after, execution restart intelligent terminal System.
204th, after intelligent terminal system is restarted, the system that obtained from memory is recovered to mark.
The method for obtaining system recovery mark in the present embodiment from memory is that addition is held in BootLoader programs Capable.After usual intelligent terminal system is restarted, what is be first carried out is BootLoader programs, and BootLoader programs are in intelligence Run before the kernel program kernel operations of terminal system, it can with initiating hardware equipment, set up memory headroom mapping Figure, so that the hardware environment of system is taken to a proper states, to be ready to just for final call operation system kernel True environment.
205th, the related data that mark obtains normal use software from the backup subregion of memory is recovered according to system.
Implementation in implementation Fig. 1 steps 102 of the specific related data for obtaining normal use software is identical, Here is omitted.It is further to note that backup sectoring function therein is by the All Files data in whole subregion Or other data are backuped in the file specified, so as in partition data by recovering when destroying.Therefore normal use software Related data is placed in backup subregion, it is necessary to obtain the related data of normal use software from the backup subregion of memory.
In addition, it should also be noted that, the normal use software for the version that is only stored with memory in the present embodiment, And the normal use software of the version is the initial version of pre-installed applications software.Since in actual application, generally initial version This test period is most long, and performance is also most stable of.
206th, the related data of normal use software is corresponded in a covered manner and is written to boot in intelligent terminal system Subregion and system subregions.
Boot subregions include including operating system in bootstrap and kernel kernel programs, system subregions The relative program of the user interface of (such as android system), and all application programs being pre-installed on intelligent terminal. In the present embodiment by the related data of the normal use software got according to affiliated subregion classification be written to boot subregions with And in system subregions.Complete normal use software and replace abnormal pre-installed applications software, realize the exception of pre-installed applications software Processing.After intelligent terminal system is restarted, it is possible to normal operation application software.
In addition, in order to occur to re-start system recovery according to system recovery mark after intelligent terminal system is restarted Situation, it would be desirable to by the related data of normal use software in a covered manner correspond to be written in intelligent terminal system After boot subregions and system subregions, system is recovered into mark and removed.It is specific remove system recover the mode of mark can be with For:If it is 1 to set system to recover corresponding flag during mark in memory, system will be set to recover to mark in memory When corresponding flag be revised as 0,0 expression without system recovery, can thus realize system recover mark removing. After the system of removing recovers mark, after intelligent terminal system restarting, what is got is the mark recovered without system, from And avoid re-starting system recovery, and directly normal operation application software.
In addition, when stored in memory be the pre-installed applications software of initial version when, user may have the higher version of acquisition The need for this pre-installed applications software, therefore after intelligent terminal system is restarted, if getting the prompting letter of application software upgrade Breath, then obtain the pre-installed applications of correspondence version number according to the version number included in the prompting message of application software upgrade to server Software, and the pre-installed applications software of the more highest version got is installed.It should be noted that the prepackage of different editions should With the different version number of software correspondence.
In order to carry out apparent explanation to the method for application software abnormality processing in above-mentioned Fig. 2, another application is provided The flow chart of the method for software anomaly processing, as shown in figure 3, wherein Android is the operating system in intelligent terminal system, Android, BootLoader, default application, memory belong to intelligent terminal system.After pre-installed applications software anomaly, use Family selection system is recovered, and then Android settings system recovers mark, and system is recovered into mark preservation in memory, when After intelligent terminal system is restarted, the system that obtained from memory is recovered to mark, and obtains normal use software (pre-installed applications software Initial version) related data, by the related data got be written in a covered manner corresponding boot subregions and System subregions, then recover system to restart intelligent terminal system after mark is removed.Restart after intelligent terminal system, to service Device inquires about the pre-installed applications software of more highest version, receives the version that server returns to the pre-installed applications software of all more highest versions Number, and output allows user to carry out the desired version number of selection, the version number then selected according to user starts download notice and carried out Download and install the pre-installed applications software of correspondence version number.
Further, as the realization to the various embodiments described above, another embodiment of the embodiment of the present invention additionally provides one The device of application software abnormality processing is planted, for realizing the method described in above-mentioned Fig. 1 and Fig. 2.As shown in figure 4, the device Including:Setting unit 31, data capture unit 32 and writing unit 33.
Setting unit 31, after pre-installed applications software anomaly, recovers prompting message according to system and sets system to recover to mark Note, pre-installed applications software is the pre- application software being mounted in intelligent terminal system;
Firstly the need of explanation, the pre-installed applications software in the present embodiment refers to pre- answering in intelligent terminal system With software, it is therefore desirable to realize the processing of pre-installed applications software anomaly by way of selecting to recover intelligent terminal system. After exception is occurring in the pre-installed applications software in intelligent terminal during use, user can be in intelligent terminal system In setting options in selection system recover option, user selection system recover option after generation system recover prompting message, because This intelligent terminal system can receive the prompting message of system recovery.System is set after the prompting message of system recovery is received System recovers mark.The mode of easy setting system recovery mark is in actual applications:Realized by flag, when with When family selection system recovers option, corresponding flag is set to 1, it is 0 when recovering option that system is not selected.Alternatively, it is also possible to Other existing modes that mark can be set are selected to be configured.
It is further to note that the specific execution for being configured system recovery mark is by the core in intelligent terminal system What heart program kernel was performed.
Data capture unit 32, for recovering the related data that mark obtains normal use software according to system, normally should It is with occurring the same software that abnormal pre-installed applications software is different editions with software;
Recovered to mark according to system, it is determined that needing the principle of the recovery of system in the recovery of carry out system, the present embodiment not It is to be directed to specific defect in pre-installed applications software, carries out the modification of corresponding program, but should by the prepackage abnormal with generation With software abnormal pre-installed applications software is replaced for the normal use software of the different editions of same software.Accordingly, it would be desirable to obtain With occurring related data of the abnormal pre-installed applications software for the normal use software of the different editions of same software.It is wherein related Data are to ensure all data that normal use software can normally be run, and related data is stored in the data backup point of memory Qu Zhong.It should be noted that the normal use software of a version can be placed in memory, multiple versions can also be placed Normal use software, but selection when can only select one of those.If storing normally should for multiple versions in memory When using software, the identification information for exporting multiple versions can be allowed selective.In actual application, in order to save space resources Occupancy can place the normal use software of less version as far as possible.
Writing unit 33, for the related data of normal use software to be write into intelligent terminal system in a covered manner In, to replace the abnormal corresponding related data of pre-installed applications software.
The related data of the normal use software got by data capture unit 32 is write respectively according to affiliated subregion To corresponding data area.It should be noted that intelligent terminal system generally divides multiple subregions, different subregion correspondences is different Function and effect, therefore different data of correspondence, need to write according to subregion correspondence in write-in.In addition, the mode of covering Represent, original data are not retained, and data to be written replaces original data.
After the related data for writing normal use software, the abnormality processing of pre-installed applications software is finally realized.
Data capture unit 32 is used for:
The related data that mark obtains normal use software from the backup subregion of memory is recovered according to system;
Backup sectoring function therein is that the All Files data or other data in whole subregion are backuped into what is specified In file, so as in partition data by recovering when destroying.Therefore the related data of normal use software is placed on backup subregion In, it is necessary to from the backup subregion of memory obtain normal use software related data.
Writing unit 33 is used for:
The related data of normal use software is corresponded in a covered manner and is written to boot subregions in intelligent terminal system And system subregions.
Boot subregions include including operating system in bootstrap and kernel kernel programs, system subregions The relative program of the user interface of (such as android system), and all application programs being pre-installed on intelligent terminal. In the present embodiment by the related data of the normal use software got according to affiliated subregion classification be written to boot subregions with And in system subregions.Complete normal use software and replace abnormal pre-installed applications software, realize the exception of pre-installed applications software Processing.After intelligent terminal system is restarted, it is possible to normal operation application software.
As shown in figure 5, device also includes:
Memory cell 34, for after prompting message setting system recovery mark is recovered according to system, system to be recovered Mark storage is in memory;
In order to ensure that system recovers the security of mark, it is necessary to which system is recovered into the place of safety of mark storage in memory Domain, prevents destroyed or loses.
Output unit 35, the prompt message of intelligent terminal system is restarted for exporting so that intelligent terminal system again by Start;
After intelligent terminal system is activated again, start to enter the exception of the pre-installed applications software in intelligent terminal system Row processing, can be directly disposed as restarting intelligent terminal system automatically in theory.But in actual applications, if due to intelligent end When reasons such as the not enough power supply at end etc. cause the process of abnormality processing to be interrupted, it may occur that the phenomenon of systemic breakdown.Therefore In order to avoid it is above-mentioned the occurrence of, it is ensured that intelligent terminal carry out abnormality processing during have enough electricity, so Restart and needed before intelligent terminal system output prompting message, and an electricity reference value (electricity such as more than 20% etc.) is provided User is determined whether remaining electricity meets the electricity wanted needed for exception handling procedure, and choose whether to restart intelligent terminal System.When receive determine restart the determination message of intelligent terminal system after, execution restart intelligent terminal system.
Acquiring unit 36 is marked, after restarting for intelligent terminal system, the system that obtained from memory is recovered to mark.
As shown in figure 5, device also includes:
Clearing cell 37, for the related data of normal use software to be write into intelligent terminal system in a covered manner In after, by system recover mark remove;
In addition, in order to occur to re-start system recovery according to system recovery mark after intelligent terminal system is restarted Situation, it would be desirable to by the related data of normal use software in a covered manner correspond to be written in intelligent terminal system After boot subregions and system subregions, system is recovered into mark and removed.It is specific remove system recover the mode of mark can be with For:If it is 1 to set system to recover corresponding flag during mark in memory, system will be set to recover to mark in memory When corresponding flag be revised as 0,0 expression without system recovery, can thus realize system recover mark removing. After the system of removing recovers mark, after intelligent terminal system restarting, what is got is the mark recovered without system, from And avoid re-starting system recovery, and directly normal operation application software.Output unit 35, is additionally operable to output and restarts intelligent end The prompt message of end system, so that intelligent terminal system is activated the application software of rear normal operation again.
As shown in figure 5, device also includes:
Version number's acquiring unit 38, for the initial version that normal use software is pre-installed applications software, in normal operation Application software after, obtain the prompt message of application software upgrade, the version of upgrading included in the prompt message of application software upgrade This number;
Download unit 39, the pre-installed applications software for downloading correspondence version number from server according to version number, different versions The corresponding different version number of this pre-installed applications software;
Installation unit 310, the pre-installed applications software for installing correspondence version number.
The device for the application software abnormality processing that the present invention is provided, can be after pre-installed applications software anomaly, by setting System recover the related data of the pre-installed applications software that mark gets normal version and cover abnormal pre-installed applications software Related data, realize prepackage equivalent to the mode that abnormal pre-installed applications software will be replaced with the pre-installed applications software of normal version The abnormality processing of application software.This mode can timely recover normal in intelligent terminal after pre-installed applications software anomaly Business operation, it is not necessary to recover normal business operation after obtaining OTA AKUs.The exception of this pre-installed applications software The mode of reason, on the premise of business normal operating is ensured, improves the recovery efficiency of business operation.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be to be used to distinguish each embodiment, and do not represent the quality of each embodiment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed One of meaning mode can be used in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice (such as application software is different to realize denomination of invention according to embodiments of the present invention for microprocessor or digital signal processor (DSP) The device often handled) in some or all parts some or all functions.The present invention is also implemented as being used to hold The some or all equipment or program of device of row method as described herein are (for example, computer program and computer Program product).It is such realize the present invention program can store on a computer-readable medium, or can have one or The form of the multiple signals of person.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or Person provides in any other form.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (10)

1. a kind of method of application software abnormality processing, it is characterised in that methods described includes:
After pre-installed applications software anomaly, prompting message is recovered according to system and sets system to recover to mark, the pre-installed applications software For the pre- application software being mounted in intelligent terminal system;
The related data that mark obtains normal use software is recovered according to the system, the normal use software is different with generation Normal pre-installed applications software is the same software of different editions;
The related data of normal use software is write in intelligent terminal system in a covered manner, should to replace abnormal prepackage With the corresponding related data of software.
2. according to the method described in claim 1, it is characterised in that described that mark acquisition normal use is recovered according to the system The related data of software includes:
The related data that mark obtains the normal use software from the backup subregion of memory is recovered according to the system;
The related data by normal use software is write in intelligent terminal system in a covered manner, including:
The related data of normal use software is corresponded in a covered manner be written in intelligent terminal system boot subregions and System subregions.
3. method according to claim 1 or 2, it is characterised in that set system extensive recovering prompting message according to system After multiple mark, methods described also includes:
System recovery mark is stored in the memory;
The prompt message of intelligent terminal system is restarted in output, so that intelligent terminal system is activated again;
After intelligent terminal system is restarted, the system is obtained from the memory and recovers mark.
4. method according to claim 3, it is characterised in that in the side by the related data of normal use software to cover After formula is write in intelligent terminal system, methods described also includes:
The system is recovered into mark to remove;
The prompt message of intelligent terminal system is restarted in output so that intelligent terminal system run after being activated again it is described normal Application software.
5. method according to claim 4, it is characterised in that the normal use software is initial for pre-installed applications software Version, after the application software of the normal operation, methods described also includes:
Obtain the version number that upgrading is included in the prompt message of application software upgrade, the prompt message of the application software upgrade;
The pre-installed applications software of correspondence version number, the pre-installed applications software of different editions are downloaded from server according to the version number The different version number of correspondence;
The pre-installed applications software of the correspondence version number is installed.
6. a kind of device of application software abnormality processing, it is characterised in that described device includes:
Setting unit, after pre-installed applications software anomaly, recovers prompting message according to system and sets system to recover to mark, described Pre-installed applications software is the pre- application software being mounted in intelligent terminal system;
Data capture unit is described normal for recovering the related data that mark obtains normal use software according to the system Application software is with occurring the same software that abnormal pre-installed applications software is different editions;
Writing unit, for the related data of normal use software to be write in intelligent terminal system in a covered manner, with for The normal corresponding related data of pre-installed applications software of transversion.
7. device according to claim 6, it is characterised in that the data capture unit is used for:
The related data that mark obtains the normal use software from the backup subregion of memory is recovered according to the system;
Said write unit is used for:
The related data of normal use software is corresponded in a covered manner be written in intelligent terminal system boot subregions and System subregions.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:
Memory cell, for after prompting message setting system recovery mark is recovered according to system, the system being recovered to mark Note is stored in the memory;
Output unit, the prompt message of intelligent terminal system is restarted for exporting, so that intelligent terminal system is activated again;
Acquiring unit is marked, after restarting for intelligent terminal system, the system is obtained from the memory and recovers mark.
9. device according to claim 8, it is characterised in that described device also includes:
Clearing cell, in the related data of normal use software to be write to intelligent terminal system in a covered manner it Afterwards, the system is recovered into mark to remove;
The output unit, is additionally operable to export the prompt message for restarting intelligent terminal system so that intelligent terminal system again by The normal application software is run after startup.
10. device according to claim 9, it is characterised in that described device also includes:
Version number's acquiring unit, for the initial version that the normal use software is pre-installed applications software, runs just described After normal application software, obtain in the prompt message of application software upgrade, the prompt message of the application software upgrade comprising liter The version number of level;
Download unit, the pre-installed applications software for downloading correspondence version number from server according to the version number, different editions The different version numbers of pre-installed applications software correspondence;
Installation unit, the pre-installed applications software for installing the correspondence version number.
CN201710139084.0A 2017-03-09 2017-03-09 The method and device of application software abnormality processing Pending CN106941672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710139084.0A CN106941672A (en) 2017-03-09 2017-03-09 The method and device of application software abnormality processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710139084.0A CN106941672A (en) 2017-03-09 2017-03-09 The method and device of application software abnormality processing

Publications (1)

Publication Number Publication Date
CN106941672A true CN106941672A (en) 2017-07-11

Family

ID=59469644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710139084.0A Pending CN106941672A (en) 2017-03-09 2017-03-09 The method and device of application software abnormality processing

Country Status (1)

Country Link
CN (1) CN106941672A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506636A (en) * 2017-08-17 2017-12-22 北京小米移动软件有限公司 The guard method of pre-installed applications program and device
CN108762843A (en) * 2018-05-29 2018-11-06 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the intelligent terminal of application program
CN109101253A (en) * 2018-07-19 2018-12-28 郑州云海信息技术有限公司 The management method and device of host in cloud computing system
CN110018918A (en) * 2018-01-10 2019-07-16 中兴通讯股份有限公司 Restorative procedure, device, mobile terminal and the storage medium of terminal abnormal
US11086663B2 (en) 2018-05-10 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Preloading application using active window stack
US11397590B2 (en) 2018-05-10 2022-07-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, storage medium, and terminal
US11442747B2 (en) 2018-05-10 2022-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal
US11467855B2 (en) 2018-06-05 2022-10-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
US11604660B2 (en) 2018-05-15 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for launching application, storage medium, and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222027A (en) * 2011-06-20 2011-10-19 中兴通讯股份有限公司 Method and device for restoring factory settings of terminal
CN102693139A (en) * 2011-03-25 2012-09-26 比亚迪股份有限公司 Method and system for wirelessly upgrading mobile phone software
CN102855174A (en) * 2011-06-28 2013-01-02 奇智软件(北京)有限公司 Automatic-recovery target program run control method and device in automated testing
CN103823700A (en) * 2014-02-28 2014-05-28 北京数码大方科技股份有限公司 Method and device for upgrading application software of client
CN103927239A (en) * 2014-03-28 2014-07-16 深圳市江波龙电子有限公司 Method and device for restoring system of terminal equipment
CN103942080A (en) * 2014-05-16 2014-07-23 四川九成信息技术有限公司 Electronic device information transmission method
CN105487980A (en) * 2015-12-04 2016-04-13 Tcl集团股份有限公司 Method and device for repairing running abnormity of application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693139A (en) * 2011-03-25 2012-09-26 比亚迪股份有限公司 Method and system for wirelessly upgrading mobile phone software
CN102222027A (en) * 2011-06-20 2011-10-19 中兴通讯股份有限公司 Method and device for restoring factory settings of terminal
CN102855174A (en) * 2011-06-28 2013-01-02 奇智软件(北京)有限公司 Automatic-recovery target program run control method and device in automated testing
CN103823700A (en) * 2014-02-28 2014-05-28 北京数码大方科技股份有限公司 Method and device for upgrading application software of client
CN103927239A (en) * 2014-03-28 2014-07-16 深圳市江波龙电子有限公司 Method and device for restoring system of terminal equipment
CN103942080A (en) * 2014-05-16 2014-07-23 四川九成信息技术有限公司 Electronic device information transmission method
CN105487980A (en) * 2015-12-04 2016-04-13 Tcl集团股份有限公司 Method and device for repairing running abnormity of application program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506636A (en) * 2017-08-17 2017-12-22 北京小米移动软件有限公司 The guard method of pre-installed applications program and device
CN110018918A (en) * 2018-01-10 2019-07-16 中兴通讯股份有限公司 Restorative procedure, device, mobile terminal and the storage medium of terminal abnormal
WO2019137280A1 (en) * 2018-01-10 2019-07-18 中兴通讯股份有限公司 Terminal anomaly repair method, apparatus, mobile terminal, and storage medium
US11086663B2 (en) 2018-05-10 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Preloading application using active window stack
US11397590B2 (en) 2018-05-10 2022-07-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, storage medium, and terminal
US11442747B2 (en) 2018-05-10 2022-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal
US11604660B2 (en) 2018-05-15 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for launching application, storage medium, and terminal
CN108762843A (en) * 2018-05-29 2018-11-06 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the intelligent terminal of application program
US11467855B2 (en) 2018-06-05 2022-10-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
CN109101253A (en) * 2018-07-19 2018-12-28 郑州云海信息技术有限公司 The management method and device of host in cloud computing system
CN109101253B (en) * 2018-07-19 2022-03-25 郑州云海信息技术有限公司 Management method and device for host in cloud computing system

Similar Documents

Publication Publication Date Title
CN106941672A (en) The method and device of application software abnormality processing
CN105867947B (en) Data processing method and device after preset application program updating
US8495619B2 (en) Method and system for pre-deployment conflict checking
US8489922B2 (en) Networked recovery system
CN106020861B (en) A kind of the FOTA upgrade method and system of smartwatch
US20140310698A1 (en) Apparatus and method for upgrading firmware of mobile terminal
CN105094913B (en) System, base band firmware and system application upgrade method and device
US20110041124A1 (en) Version Management System
CN108762833A (en) Application in Android system starts method and apparatus
US20070169114A1 (en) Application suite installer with automatic detection of content and configurable options
CN103019764B (en) The detection method of Andriod resource bag installability and system
CN106897093A (en) A kind of dispositions method and device of windows operating systems
CN104007992A (en) Methods and devices for program updating and starting
CN103793248A (en) Method and device for upgrading application program
CN104346206A (en) Method and system for recovering installation of unloaded software
CN110209420A (en) A kind of method and device updating bootstrap loader
CN104699503A (en) Method and device for replacing function execution logic in Android system
CN104503778A (en) Installation method and installation device for applications
CN104915239A (en) Method and device for carrying out multi-process startup by container
US8316361B2 (en) Method of enabling a user to update one or more low-level resources of a computer system in a user-friendly manner
CN106201584B (en) Version upgrading method and terminal device
CN103064767B (en) Drive backup, the method recovered and device
EP2648092B1 (en) Updating method and multi-domain embedded system
CN116775061A (en) Deployment method, device, equipment and storage medium of micro-service application
US20070079279A1 (en) Embedded device with software registry

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170711