CN105607970A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105607970A
CN105607970A CN201510965379.4A CN201510965379A CN105607970A CN 105607970 A CN105607970 A CN 105607970A CN 201510965379 A CN201510965379 A CN 201510965379A CN 105607970 A CN105607970 A CN 105607970A
Authority
CN
China
Prior art keywords
application
file
recorded information
information
event
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
CN201510965379.4A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510965379.4A priority Critical patent/CN105607970A/en
Publication of CN105607970A publication Critical patent/CN105607970A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an information processing method which is used for solving the technical problem that the information processing capability of the electronic equipment is limited. The method comprises the following steps: monitoring a system variation event of the electronic equipment; determining the attribute of the system variation event; on the basis of the attribute, recording information corresponding to the system variation event, and generating record information; and storing the record information in a preset storage area, wherein the record information is used to be called when the electronic equipment executes a preset system recovery operation. The invention also discloses corresponding electronic equipment.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to field of computer technology, particularly a kind of information processing method and electronic equipment.
Background technology
Along with scientific and technical development, electronic technology has also obtained development at full speed, the kind of electronic productClass and function are also more and more, and people have also enjoyed the various facilities that development in science and technology brings. People nowCan enjoy the comfortable life bringing along with development in science and technology by various types of electronic equipments. Such as, mobile phone,The electronic equipments such as PC (PC), PAD (panel computer) have become in people life one can notOr scarce part.
At present, user used after electronic equipment a period of time, and the performance of electronic equipment may decline to some extent,Or occur the problems such as the software compatibility, user conventionally can return to Default Value electronic equipment and separateCertainly. But, application or storage that factory reset will cause user to install in the time using electronic equipmentData deleted from the system of electronic equipment, therefore, after factory reset, if will reduce electricityThe state of subset before factory reset, the necessary manual installation of user, renewal or unloading application.But such mode is consuming time longer, and efficiency is lower, the step that needs user to carry out is comparatively loaded down with trivial details, and is also difficult toReturn to electronic equipment state before completely.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving electronic equipment extensiveExisting above-mentioned technical problem when complex system state.
First aspect, provides a kind of information processing method, comprising:
The system variation event of monitoring electronic equipment;
Determine the attribute of described system variation event;
Based on described attribute, record information corresponding to described system variation event, generate recorded information;
Described recorded information is stored in to predetermined storage area;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
Optionally, described method also comprises:
Determine corresponding application and/or the file of described system variation event;
Based on the attribute of described system variation event, described application and/or file are processed.
Optionally, the described attribute based on described system variation event, to described application and/or file placeReason, comprising:
If system variation event is first kind event described in described attribute characterization, obtain described application and/Or the backup of file;
By described back-up storage in described predetermined storage area.
Optionally, described method further comprises:
In presetting database, add described recorded information corresponding to described first kind event; Wherein, described inPresetting database is stored in described predetermined storage area, and described recorded information at least comprises described application and/or literary compositionThe status information of part, the state that described status information characterizes described application and/or file is the first state.
Optionally, the described attribute based on described system variation event, to described application and/or file placeReason, comprising:
If system variation event is Second Type event described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe second state.
Optionally, described method further comprises:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
Obtain the backup of the described application afterwards of described system variation event and/or file;
According to described store path, by described back-up storage in described predetermined storage area.
Optionally, the described attribute based on described system variation event, to described application and/or file placeReason, comprising:
If system variation event is the 3rd types of events described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe third state.
Optionally, described method further comprises:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
According to described store path, the backup of described application and/or file is deleted from described predetermined storage areaRemove.
Optionally, described method further comprises:
Receiving system is recovered instruction, and described instruction recovers for carry out predetermined system for described electronic equipmentOperation;
In response to described system recovery command, obtain the described preset data of described predetermined storage area storageStorehouse;
Read the described recorded information of storing in described presetting database;
Obtain the described status information in described recorded information;
Based on described status information, application corresponding described recorded information and/or file are returned to described stateThe state that information characterizes. , a kind of information processing method is provided, comprising:
Second aspect, provides a kind of electronic equipment, comprising:
Processor, for carrying out described instruction:
Detect the system variation event of described electronic equipment;
Determine the attribute of described system variation event;
Based on described attribute, record information corresponding to described system variation event, generate recorded information;
Described recorded information is stored in to predetermined storage area;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
Optionally, described processor also for:
Determine corresponding application and/or the file of described system variation event;
Based on the attribute of described system variation event, described application and/or file are processed.
Optionally, described processor is used for:
If system variation event is first kind event described in described attribute characterization, obtain described application and/Or the backup of file;
By described back-up storage in described predetermined storage area.
Optionally, described processor also for:
In presetting database, add described recorded information corresponding to described first kind event; Wherein, described inPresetting database is stored in described predetermined storage area, and described recorded information at least comprises described application and/or literary compositionThe status information of part, the state that described status information characterizes described application and/or file is the first state.
Optionally, described processor is used for:
If system variation event is Second Type event described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe second state.
Optionally, described processor also for:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
Obtain the backup of the described application afterwards of described system variation event and/or file;
According to described store path, by described back-up storage in described predetermined storage area.
Optionally, described processor is used for:
If system variation event is the 3rd types of events described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe third state.
Optionally, described processor also for:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
According to described store path, the backup of described application and/or file is deleted from described predetermined storage areaRemove.
Optionally, described processor also for:
Receiving system is recovered instruction, and described instruction recovers for carry out predetermined system for described electronic equipmentOperation;
In response to described system recovery command, obtain the described preset data of described predetermined storage area storageStorehouse;
Read the described recorded information of storing in described presetting database;
Obtain the described status information in described recorded information;
Based on described status information, application corresponding described recorded information and/or file are returned to described stateThe state that information characterizes.
The third aspect, provides a kind of electronic equipment, comprising:
Monitoring modular, for monitoring the system variation event of described electronic equipment;
The first determination module, for determining the attribute of described system variation event;
Generation module, for based on described attribute, records information corresponding to described system variation event, generatesRecorded information;
The first memory module, for being stored in predetermined storage area by described recorded information;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
In the application, can monitor the system variation event of electronic equipment, and the genus of definite system variation eventProperty, the then attribute based on system variation event, information corresponding to register system variation event, generates recordInformation, like this, when electronic equipment is in the time carrying out predetermined system recovery operation, can call the record of storageInformation, thus can automatically restore to the state that recorded information records, and electronic equipment automatically performs these mistakesJourney, participates in without user, alleviates user's burden, and is automatically performed by equipment, and efficiency is higher, also canEnough electronic equipment states before that returns to comparatively exactly.
Brief description of the drawings
Fig. 1 is the flow chart of information processing method in the embodiment of the present invention;
Fig. 2 is the structural representation of electronic equipment in the embodiment of the present invention;
Fig. 3 is the structured flowchart of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the present inventionAccompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, obviously,Described embodiment is the present invention's part embodiment, instead of whole embodiment. In the present inventionEmbodiment, those of ordinary skill in the art do not make under creative work prerequisite, obtain all itsHis embodiment, belongs to the scope of protection of the invention.
Optionally, electronic equipment can be the different electronic equipment of PC, PAD, mobile phone etc., the present inventionEmbodiment is not restricted this.
In addition, term "and/or" herein, is only a kind of incidence relation of describing affiliated partner, representsCan have three kinds of relations, for example, A and/or B, can represent: individualism A exists A simultaneouslyAnd B, these three kinds of situations of individualism B. In addition, character "/" is herein if no special instructions, generalRepresent that forward-backward correlation is to liking a kind of relation of "or".
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Refer to Fig. 1, the embodiment of the present invention provides a kind of information processing method, and the method can be applied to electricitySubset, the flow process of the method is described below.
Step 101: the system variation event of monitoring electronic equipment;
Step 102: the attribute of determining system variation event;
Step 103: based on attribute, information corresponding to register system variation event, generates recorded information;
Step 104: recorded information is stored in to predetermined storage area;
Wherein, recorded information is for called in the time that electronic equipment is carried out predetermined system recovery operation.
System variation event can be the event of electronic equipment being carried out to the variation on software arbitrarily, for example,System variation event can be installation, upgrade or unload the event of an application, or can be also to installThe event of operating system, or can be also refresh BIOS (BasicInput/OutputSystem, basicInput-output system) event, or can also be storage or the event of deleted file, etc. As long asThe event of electronic equipment being done to the variation on software can be the system variation event in the embodiment of the present invention.
Or system variation event can be also the thing of electronic equipment being carried out to the variation on hardware arbitrarilyPart, such as system variation event can be the event of adding or deleting a hardware, etc., the invention processExample is not restricted.
Electronic equipment can monitoring system the generation of variation event, for example can monitor in real time, or also canBeing periodically to detect, such as, every monitoring in 1 second once, etc., the embodiment of the present invention is for monitoringThe mode of system variation event is not construed as limiting.
After monitoring system variation event, can determine the attribute of system variation event, system variation thingIt is which kind of system variation event that the attribute of part can be indicated what monitor actually, and system variation event forBe what application and/or file. For example, the attribute of system variation event can indication mechanism variation event beThe event of the first application is installed.
Based on the attribute of system variation event, can register system change information corresponding to event, generate recordInformation. For example, the event that the attribute indication mechanism variation event of system variation event is installing operating system,The name information that recorded information corresponding to this system variation event can comprise this operating system is so (such as micro-Soft), the type of the current version information (such as Widows8.1) of this operating system, this system variation event(such as install) and deposit this operating system store path (such as D: XXX) at least one,Certainly in recorded information, can also comprise other possible information of this system variation event.
Optionally, predetermined storage area can be the safety zone in electronic equipment, such as can be user notThe region that can arbitrarily access, thus can avoid affecting because of user's maloperation the accuracy of recorded information.Or predetermined storage area can be also the region in high in the clouds, etc. For predetermined storage area specifically whichIndividual region, the embodiment of the present invention is not construed as limiting this.
Optionally, described method also comprises:
Determine corresponding application and/or the file of system variation event;
Based on the attribute of system variation event, application and/or file are processed.
Optionally, some systems variation event may only need to determine that corresponding application be that what application just can be given birth toBecome recorded information, such as, system variation event is unloading application 1, can determine so system variation eventCorresponding being applied as applies 1. Or some systems variation event only need determine that corresponding file just can give birth toBecome recorded information, such as, system variation event, for newly to have stored file 1 in electronic equipment, so canDetermine that file corresponding to system variation event is file 1. Or some system variation events may both needDetermine that corresponding application also needs to determine that corresponding file could generate recorded information, such as, system variation thingPart, for application 2 is installed, can be determined that so system changes corresponding being applied as of event and applies 2, and determineThe installation kit of application 2 is corresponding file, etc., the embodiment of the present invention is not construed as limiting this.
The attribute that can change event based on system is processed application and/or file, and the mode of processing mayCan be according to the difference of the attribute of system variation event and difference, below several possible processing modes are saidBright.
1, be the processing mode of first kind event for system variation event.
If attribute characterization system variation event is first kind event, obtain the backup of application and/or file,By back-up storage in predetermined storage area.
First kind event can be the backup of application and/or file need to be stored, so that in the time recoveringThe event that can directly call, which kind of event is the embodiment of the present invention be specially for the event of the first kind is not doneLimit.
For example, first kind event can comprise the event that application is installed, such as user pacifies in electronic equipmentFill application 1, can obtain so the installation kit of application 1, and installation kit is stored in to predetermined storage area(such as the safety zone of electronic equipment this locality). Like this, system can be changed to backup corresponding to event depositsStorage is got up, and can directly use to facilitate in the time recovering, and has strengthened electronic equipment storage data and has recovered numberAccording to ability.
Optionally, in the time that system variation event is first kind event, can in presetting database, addThe recorded information that one types of events is corresponding, wherein, presetting database is stored in predetermined storage area, record letterBreath at least comprises the status information of application and/or file, and status information characterizes the state of application and/or fileIt is the first state.
Presetting database can be to be used for specially the storage area of put information, such as can be user notThe safety zone that can arbitrarily conduct interviews, is specifically positioned at which region of electronic equipment for presetting database,Can in the time that electronic equipment dispatches from the factory, set, or also can be set voluntarily by user, and can also after settingModify as required, the embodiment of the present invention is not construed as limiting this.
For first kind event, can in presetting database, increase corresponding recorded information, recordIn information, can record and be used to indicate the system variation corresponding application of event and/or file after variationThe information of state, such as the state after variation is called to the first state.
For example, first kind event can comprise the event that application is installed, and user has installed in electronic equipmentAn application, such as game 1, the recorded information that generates so and be recorded in presetting database can characterizeThe state of game 1 after installing. Such as, the recorded information of game 1 can comprise the title letter of game 1The state that breath is version 3 .0, game 1 for the version information of World of Warcraft, game 1 is mounted stateThe store path of the installation kit of (or the class record that system is changed to event is " installation "), game 1 isD:/XXXX, etc. The store path region pointed here can be the installation kit of storage game 1Safety zone, therefore, it is mounted state that recorded information can characterize game 1 current state, andRecord 1 the relevant information of playing.
By above mode, can come to characterize comparatively exactly application and/or file by recorded informationState, so that user need not manual operation just can reduce comparatively exactly and answer according to recorded information in the time of reductionWith and/or the state of file, better user experience, the storage data of electronic equipment and recover the ability of dataStronger.
2, be the processing mode of Second Type event for system variation event.
If attribute characterization system variation event is Second Type event, according to the parameter letter of application and/or fileBreath is initiated search operation, in response to search operation, searches the note of mating with parameter information in presetting databaseRecord information, wherein, presetting database is stored in predetermined storage area, if find the recorded information of coupling,Upgrade application that recorded information comprises and/or the status information of file; Wherein, the status information after renewalThe state that characterizes application and/or file is the second state.
Second Type event can be the variation event that existing application and/or file in electronic equipment are carried out,For Second Type event, also may need to store corresponding application and/or file, the embodiment of the present invention forWhich kind of event is Second Type event be specially is not construed as limiting.
For example, Second Type event comprises the event of upgrading application, and an application has been installed in electronic equipment,Such as being game 2, the version of the game 2 of installation is such as being version 1.0, and user 2 upgrades to playingOperation, by game 2 edition upgrading to version 2 .0, so in the time that user initiates this system variation event,Can in electronic equipment, search before whether existing the game note of 2 o'clock is installed according to game 2 name informationRecord information. If the recorded information before having found, can directly carry out recorded information before soUpgrade, such as can by the version information recording in recorded information before by version 1.0 be updated to version 2 .0,And be that the state that upgraded (or is by the class record that system changes event by game 2 state recording" renewal "), it is the state having upgraded that the recorded information after renewal can be indicated the state of game 2.
The application of just installing while dispatching from the factory for electronic equipment, may not have the corresponding record letter of storage in advanceBreath, so, operates (such as liter if user has carried out the dispatch from the factory renewal of the application that carries for electronic equipmentLevel operation), so can newly-generated recorded information, and store. For example, electronic equipment is in the time dispatching from the factoryBrowser 1 has been installed, and user has carried out updating operation to browser 1, such as being upgraded by version 2 .0Arrive version 3 .0, but do not find the recorded information of browser 1 correspondence, so can be newly-generated oneRecorded information, can comprise that such as recorded information name information (such as being browser 1), the application of application worked asBefore version information (such as for version 3 .0), apply current state (such as the state for having upgraded),And the store path of upgrade installation package (such as being D:/XXXXX), and recorded information is stored in predeterminedStorage area.
By above mode, can back up Second Type event comparatively exactly, so that at electronicsWhen reducing, equipment need not manual operation just application and/or file can be reverted to nearest state, electronicsThe ability of the storage data of equipment and recovery data is stronger.
Optionally, for Second Type event, may also there is the backup that needs storage, so can baseIn the recorded information finding, determine that application before system variation event and/or file are in predetermined storage areaStore path, the backup of obtaining the application afterwards of system variation event and/or file, according to store path, by standbyPart is stored in predetermined storage area.
For example, Second Type event comprises the event of upgrading application, and an application has been installed in electronic equipment,Such as being perpetual calendar, user is upgraded to version 2 .0 by the version of the perpetual calendar of installation from version 1.0, so canTo obtain installation kit corresponding to redaction, and be stored in predetermined storage area, the predetermined storage area here canTo be the store path region pointed of the installation kit that records in recorded information, due to this predetermined storage areaMay also store the installation kit of version 1.0, the installation kit of version 1.0 directly can be deleted so, withSave space, or also can retain the installation kit of version 1.0, or can also export selection information,When user selects to delete, then the installation kit of version 1.0 is deleted, etc., the embodiment of the present invention pairThis is not construed as limiting. By such mode, user, in the time reducing, can directly incite somebody to action according to recorded informationApplication and/or file revert to up-to-date state, and the ability of electronic equipment storage data and recovery dataBy force.
3, be the processing mode of the 3rd types of events for system variation event.
If attribute characterization system variation event is the 3rd types of events, according to the parameter letter of application and/or fileBreath is initiated search operation, in response to search operation, searches the note of mating with parameter information in presetting databaseRecord information, wherein, presetting database is stored in predetermined storage area, if find the recorded information of coupling,Upgrade application that recorded information comprises and/or the status information of file; Wherein, the status information after renewalThe state that characterizes application and/or file is the third state.
The 3rd types of events can be also that the system that in electronic equipment, existing application and/or file carry out is becomeMoving event, but also may not need to store corresponding application and/or file, the present invention for the 3rd types of eventsWhich kind of event embodiment is specially for the 3rd types of events is not construed as limiting.
For example, the 3rd types of events comprises the event of unloading application, should such as certain has been installed in electronic equipmentWith, such as being calculator application, user has unloaded calculator application from electronic equipment, so userWhile initiating this system variation event, can in electronic equipment, search coupling according to the name information of applicationRecorded information, the recorded information of coupling generates may install before or upgrade calculator application time, ifFind the recorded information of coupling, can directly upgrade the information in recorded information so, such as,The state of the calculator application recording in original recorded information is mounted state, can be updated to soUnloaded state, shows that calculator application is unloaded. Like this, can record comparatively exactly shouldWith and/or the state of file, to again manually delete the data of having deleted without user in the time recovering, alsoFormer effect is more accurate, better user experience, and the data-handling capacity of electronic equipment is stronger.
Optionally, for the 3rd types of events, recorded information that can be based on finding, determines system variationApplication and/or file be at the store path of predetermined storage area before event, according to store path, will apply with/ or the backup of file delete from predetermined storage area.
For example, the 3rd types of events comprises the event of unloading application, and an application has been installed in electronic equipment,Such as being calculator application, user has unloaded calculator application from electronic equipment, can think that user is notWant this to apply, thus the installation kit of this application correspondence also just need not be retained again, therefore, can be according to noteStore path in record information, finds installation kit corresponding to calculator application, and installation kit is deleted. Like this,Can, in accurate recording system variation event, delete unnecessary file, save electronic equipmentMemory space.
Optionally, in the time that needs reduce to electronic equipment, can receive for carrying out for electronic equipmentThe system recovery command of predetermined system recovery operation, in response to system recovery command, obtains predetermined memory areaThe presetting database of territory storage, reads the recorded information of storing in presetting database, obtains in recorded informationStatus information, based on status information, returns to status information institute by application corresponding recorded information and/or fileThe state characterizing.
Optionally, recorded information can be used for application and/or file to revert to the shape generating when recorded informationState, user, in the time that needs reduce, can carry out system recovery operation, and electronic equipment just can be according to record letterBreath recovers the state of application and/or file successively. And for dissimilar system variation event, the side of reductionFormula may be different.
For first kind event, for example, first kind event comprises the event that application is installed, and recovers soMode can be: directly according to the store path in recorded information, obtain corresponding installation kit, and installThis installation kit.
For Second Type event, for example, Second Type event comprises the event of upgrading application, such as, needRecover the state of radio application, can first search the current radio that whether is provided with of electronic equipment shouldWith, if radio application is not installed current, so can be directly according to the store path in recorded information,Obtain the installation kit of radio application, and this installation kit is installed. Or, be provided with if electronic equipment is currentRadio application, can further compare so the version of current installation and version that recorded information records and beNo identical, if current version is identical with the version of record, or higher than the version of record, Ke YibaoStay current radio application constant, if the version of current installation lower than record version, so can rootAccording to the store path in recorded information, obtain the up-to-date installation kit of radio application, and this installation kit is installed.
For the 3rd types of events, for example, the 3rd types of events comprises the event of unloading application, such as, noteRecord information shows that browser 1 has been unloaded by user, can check so electronic equipment current whether be provided with clearLook at device 1, if do not had, keep current state, if had, unload browser 1.
By above mode, can recover accurately electricity to application and/or file according to recorded informationThe data disaster tolerance ability of subset is stronger, and in recovery process without user's manual operation, saved recovery shapeThe time of state, also improve the efficiency of recovering data.
Refer to Fig. 2, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, this electricitySubset can comprise:
Memory 201, for storing instruction;
Processor 202, the instruction of storing for execute store 201:
The system variation event of detected electrons equipment;
Determine the attribute of system variation event;
Based on attribute, information corresponding to register system variation event, generates recorded information;
Recorded information is stored in to predetermined storage area;
Wherein, recorded information is for called in the time that electronic equipment is carried out predetermined system recovery operation.
Optionally, processor 202 also for:
Determine corresponding application and/or the file of system variation event;
Based on the attribute of system variation event, application and/or file are processed.
Optionally, processor 202 for:
If attribute characterization system variation event is first kind event, obtain the backup of application and/or file;
By back-up storage in predetermined storage area.
Optionally, processor 202 also for:
In presetting database, add recorded information corresponding to first kind event; Wherein, preset data stockStorage is in predetermined storage area, and recorded information at least comprises the status information of application and/or file, status information tableThe state of levying application and/or file is the first state.
Optionally, processor 202 for:
If attribute characterization system variation event is Second Type event, according to the parameter letter of application and/or fileBreath is initiated search operation;
In response to search operation, in presetting database, search the recorded information of mating with parameter information, wherein,Presetting database is stored in predetermined storage area;
If find the recorded information of coupling, upgrade application that recorded information comprises and/or the state of fileInformation; Wherein, the state of the application of the sign of the status information after renewal and/or file is the second state.
Optionally, processor 202 also for:
Based on the recorded information finding, determine that the application before of system variation event and/or file are in predetermined storageThe store path in region;
Obtain the backup of the application afterwards of system variation event and/or file;
According to store path, by back-up storage in predetermined storage area.
Optionally, processor 202 for:
If attribute characterization system variation event is the 3rd types of events, according to the parameter letter of application and/or fileBreath is initiated search operation;
In response to search operation, in presetting database, search the recorded information of mating with parameter information, wherein,Presetting database is stored in predetermined storage area;
If find the recorded information of coupling, upgrade application that recorded information comprises and/or the state of fileInformation; Wherein, the state of the application of the sign of the status information after renewal and/or file is the third state.
Optionally, processor 202 also for:
Based on the recorded information finding, determine that the application before of system variation event and/or file are in predetermined storageThe store path in region;
According to store path, the backup of application and/or file is deleted from predetermined storage area.
Optionally, processor 202 also for:
Receiving system is recovered instruction, and instruction is for carrying out predetermined system recovery operation for electronic equipment;
In response to system recovery command, obtain the presetting database of predetermined storage area storage;
Read the recorded information of storing in presetting database;
Obtain the status information in recorded information;
Based on status information, application corresponding recorded information and/or file are returned to status information characterizesState.
Refer to Fig. 3, based on same inventive concept, the embodiment of the present invention provides another kind of electronic equipment, shouldElectronic equipment can comprise:
Monitoring modular 301, for monitoring the system variation event of electronic equipment;
The first determination module 302, for determining the attribute of system variation event;
Generation module 303, for based on attribute, information corresponding to register system variation event, generates recordInformation;
The first memory module 304, for being stored in predetermined storage area by recorded information;
Wherein, recorded information is for called in the time that electronic equipment is carried out predetermined system recovery operation.
Optionally, electronic equipment also comprises:
The second determination module, for determining corresponding application and/or the file of system variation event;
Processing module, for the attribute based on system variation event, processes application and/or file.
Optionally, processing module is used for:
If attribute characterization system variation event is first kind event, obtain the backup of application and/or file;
By back-up storage in predetermined storage area.
Optionally, electronic equipment also comprises:
Add module, for add recorded information corresponding to first kind event in presetting database; Wherein,Presetting database is stored in predetermined storage area, and recorded information at least comprises the state letter of application and/or fileBreath, the state that status information characterizes application and/or file is the first state.
Optionally, processing module is used for:
If attribute characterization system variation event is Second Type event, according to the parameter letter of application and/or fileBreath is initiated search operation;
In response to search operation, in presetting database, search the recorded information of mating with parameter information, wherein,Presetting database is stored in predetermined storage area;
If find the recorded information of coupling, upgrade application that recorded information comprises and/or the state of fileInformation; Wherein, the state of the application of the sign of the status information after renewal and/or file is the second state.
Optionally, electronic equipment also comprises:
The 3rd determination module, for the recorded information based on finding, determines the application before of system variation eventAnd/or file is at the store path of predetermined storage area;
The first acquisition module, for obtaining the backup of the application afterwards of system variation event and/or file;
The second memory module, for according to store path, by back-up storage in predetermined storage area.
Optionally, processing module is used for:
If attribute characterization system variation event is the 3rd types of events, according to the parameter letter of application and/or fileBreath is initiated search operation;
In response to search operation, in presetting database, search the recorded information of mating with parameter information, wherein,Presetting database is stored in predetermined storage area;
If find the recorded information of coupling, upgrade application that recorded information comprises and/or the state of fileInformation; Wherein, the state of the application of the sign of the status information after renewal and/or file is the third state.
Optionally, electronic equipment also comprises:
The 4th determination module, for the recorded information based on finding, determines the application before of system variation eventAnd/or file is at the store path of predetermined storage area;
Removing module, for according to store path, deletes the backup of application and/or file from predetermined storage areaRemove.
Optionally, electronic equipment also comprises:
Receiver module, recovers instruction for receiving system, and what instruction was scheduled to for the execution for electronic equipment isSystem recovery operation;
The second acquisition module, in response to system recovery command, obtains the default of predetermined storage area storageDatabase;
Read module, the recorded information of storing for reading presetting database;
The 3rd acquisition module, for obtaining the status information of recorded information;
Recover module, for based on status information, application corresponding recorded information and/or file are returned to shapeThe state that state information characterizes.
In the embodiment of the present invention, can monitor the system variation event of electronic equipment, and definite system variation thingThe attribute of part, the then attribute based on system variation event, information corresponding to register system variation event, rawBecome recorded information, like this, when electronic equipment is in the time carrying out predetermined system recovery operation, can call storageRecorded information, thereby can automatically restore to the state that recorded information records, electronic equipment automatically performsThese processes, participate in without user, alleviate user's burden, and are automatically performed by equipment, and efficiency is higher,Also can return to comparatively exactly electronic equipment state before.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, canTo realize by another way. For example, device embodiment described above is only schematically, exampleAs, the division of described module or unit, is only that a kind of logic function is divided, and can have another when actual realizationOuter dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, orSome features can be ignored, or do not carry out. Another point, shown or discussed coupling each other or straightConnecing coupling or communicate to connect can be by some interfaces, INDIRECT COUPLING or the communication connection of device or unit,Can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, asThe parts that unit shows can be or can not be also physical locations, can be positioned at a place, orAlso can be distributed on multiple NEs. Can select according to the actual needs wherein some or all ofThe object of the present embodiment scheme is realized in unit.
In addition, the each functional unit in each embodiment of the application can be integrated in a processing unit,Also can be that the independent physics of unit exists, also can be integrated in a unit in two or more unitIn. Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt SFU software functional unitForm realizes.
If described integrated unit is realized and as production marketing independently using the form of SFU software functional unitOr use time, can be stored in a computer read/write memory medium. Based on such understanding, this ShenThe part that technical scheme please contributes to prior art in essence in other words or this technical scheme completePortion or part can embody with the form of software product, and this computer software product is stored in a storageIn medium, comprise some instructions in order to make a computer equipment (can be personal computer, server,Or the network equipment etc.) or processor (processor) carry out the complete of method described in the application each embodimentPortion or part steps. And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (Read-OnlyMemory, read-only storage), RAM (RandomAccessMemory, random access memory),The various media that can be program code stored such as magnetic disc or CD.
Specifically, computer program instructions corresponding to a kind of information processing method in the embodiment of the present invention canTo be stored in CD, hard disk, on the storage mediums such as USB flash disk, when in storage medium and a kind of information processingWhen computer program instructions corresponding to method read or be performed by an electronic equipment, comprise the steps:
The system variation event of monitoring electronic equipment;
Determine the attribute of described system variation event;
Based on described attribute, record information corresponding to described system variation event, generate recorded information;
Described recorded information is stored in to predetermined storage area;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
Optionally, in described storage medium, also store other computer instruction, this other computerInstruction being performed in process, comprising:
Determine corresponding application and/or the file of described system variation event;
Based on the attribute of described system variation event, described application and/or file are processed.
Optionally, in described storage medium, store and step: based on the attribute of described system variation event,Described application and/or file are processed, and corresponding computer instruction being performed in process, comprising:
If system variation event is first kind event described in described attribute characterization, obtain described application and/Or the backup of file;
By described back-up storage in described predetermined storage area.
Optionally, in described storage medium, also store other computer instruction, this other computerInstruction being performed in process, comprising:
In presetting database, add described recorded information corresponding to described first kind event; Wherein, described inPresetting database is stored in described predetermined storage area, and described recorded information at least comprises described application and/or literary compositionThe status information of part, the state that described status information characterizes described application and/or file is the first state.
Optionally, in described storage medium, store and step: based on the attribute of described system variation event,Described application and/or file are processed, and corresponding computer instruction being performed in process, comprising:
If system variation event is Second Type event described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe second state.
Optionally, in described storage medium, also store other computer instruction, this other computerInstruction being performed in process, comprising:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
Obtain the backup of the described application afterwards of described system variation event and/or file;
According to described store path, by described back-up storage in described predetermined storage area.
Optionally, in described storage medium, store and step: based on the attribute of described system variation event,Described application and/or file are processed, and corresponding computer instruction being performed in process, comprising:
If system variation event is the 3rd types of events described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe third state.
Optionally, in described storage medium, also store other computer instruction, this other computerInstruction being performed in process, comprising:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
According to described store path, the backup of described application and/or file is deleted from described predetermined storage areaRemove.
Optionally, in described storage medium, also store other computer instruction, this other computerInstruction being performed in process, comprising:
Receiving system is recovered instruction, and described instruction recovers for carry out predetermined system for described electronic equipmentOperation;
In response to described system recovery command, obtain the described preset data of described predetermined storage area storageStorehouse;
Read the described recorded information of storing in described presetting database;
Obtain the described status information in described recorded information;
Based on described status information, application corresponding described recorded information and/or file are returned to described stateThe state that information characterizes.
The above, above embodiment is only in order to technical scheme of the present invention is described in detail, but withThe explanation of upper embodiment is just understood method of the present invention and core concept thereof for helping, and it is right to should not be construed asRestriction of the present invention. In the technical scope that those skilled in the art disclose in the present invention, can think easilyThe variation of arriving or replacement, within all should being encompassed in protection scope of the present invention.

Claims (19)

1. an information processing method, comprising:
The system variation event of monitoring electronic equipment;
Determine the attribute of described system variation event;
Based on described attribute, record information corresponding to described system variation event, generate recorded information;
Described recorded information is stored in to predetermined storage area;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
2. the method for claim 1, is characterized in that, described method also comprises:
Determine corresponding application and/or the file of described system variation event;
Based on the attribute of described system variation event, described application and/or file are processed.
3. method as claimed in claim 2, is characterized in that, described based on described system variation eventAttribute, described application and/or file are processed, comprising:
If system variation event is first kind event described in described attribute characterization, obtain described application and/Or the backup of file;
By described back-up storage in described predetermined storage area.
4. method as claimed in claim 3, is characterized in that, described method further comprises:
In presetting database, add described recorded information corresponding to described first kind event; Wherein, described inPresetting database is stored in described predetermined storage area, and described recorded information at least comprises described application and/or literary compositionThe status information of part, the state that described status information characterizes described application and/or file is the first state.
5. method as claimed in claim 2, is characterized in that, described based on described system variation eventAttribute, described application and/or file are processed, comprising:
If system variation event is Second Type event described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe second state.
6. method as claimed in claim 5, is characterized in that, described method further comprises:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
Obtain the backup of the described application afterwards of described system variation event and/or file;
According to described store path, by described back-up storage in described predetermined storage area.
7. method as claimed in claim 2, is characterized in that, described based on described system variation eventAttribute, described application and/or file are processed, comprising:
If system variation event is the 3rd types of events described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe third state.
8. method as claimed in claim 7, is characterized in that, described method further comprises:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
According to described store path, the backup of described application and/or file is deleted from described predetermined storage areaRemove.
9. the method as described in claim 3-8 any one, is characterized in that, described method is further wrappedDraw together:
Receiving system is recovered instruction, and described instruction recovers for carry out predetermined system for described electronic equipmentOperation;
In response to described system recovery command, obtain the described preset data of described predetermined storage area storageStorehouse;
Read the described recorded information of storing in described presetting database;
Obtain the described status information in described recorded information;
Based on described status information, application corresponding described recorded information and/or file are returned to described stateThe state that information characterizes.
10. an electronic equipment, comprising:
Memory, for storing instruction;
Processor, for carrying out described instruction:
Detect the system variation event of described electronic equipment;
Determine the attribute of described system variation event;
Based on described attribute, record information corresponding to described system variation event, generate recorded information;
Described recorded information is stored in to predetermined storage area;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
11. electronic equipments as claimed in claim 10, is characterized in that, described processor also for:
Determine corresponding application and/or the file of described system variation event;
Based on the attribute of described system variation event, described application and/or file are processed.
12. electronic equipments as claimed in claim 11, is characterized in that, described processor is used for:
If system variation event is first kind event described in described attribute characterization, obtain described application and/Or the backup of file;
By described back-up storage in described predetermined storage area.
13. electronic equipments as claimed in claim 12, is characterized in that, described processor also for:
In presetting database, add described recorded information corresponding to described first kind event; Wherein, described inPresetting database is stored in described predetermined storage area, and described recorded information at least comprises described application and/or literary compositionThe status information of part, the state that described status information characterizes described application and/or file is the first state.
14. electronic equipments as claimed in claim 11, is characterized in that, described processor is used for:
If system variation event is Second Type event described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe second state.
15. electronic equipments as claimed in claim 14, is characterized in that, described processor also for:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
Obtain the backup of the described application afterwards of described system variation event and/or file;
According to described store path, by described back-up storage in described predetermined storage area.
16. electronic equipments as claimed in claim 11, is characterized in that, described processor is used for:
If system variation event is the 3rd types of events described in described attribute characterization, according to described application and/Or the parameter information of file is initiated search operation;
In response to described search operation, in presetting database, search the record letter mating with described parameter informationBreath, wherein, described presetting database is stored in described predetermined storage area;
If find the recorded information of coupling, upgrade described application and/or literary composition that described recorded information comprisesThe status information of part; Wherein, the described status information after renewal characterizes the state of described application and/or file and isThe third state.
17. electronic equipments as claimed in claim 16, is characterized in that, described processor also for:
Based on the described recorded information finding, determine described system variation event described application and/or literary composition beforePart is at the store path of described predetermined storage area;
According to described store path, the backup of described application and/or file is deleted from described predetermined storage areaRemove.
18. electronic equipments as described in as arbitrary in claim 12-17, is characterized in that, described processor alsoBe used for:
Receiving system is recovered instruction, and described instruction recovers for carry out predetermined system for described electronic equipmentOperation;
In response to described system recovery command, obtain the described preset data of described predetermined storage area storageStorehouse;
Read the described recorded information of storing in described presetting database;
Obtain the described status information in described recorded information;
Based on described status information, application corresponding described recorded information and/or file are returned to described stateThe state that information characterizes.
19. 1 kinds of electronic equipments, comprising:
Monitoring modular, for monitoring the system variation event of described electronic equipment;
The first determination module, for determining the attribute of described system variation event;
Generation module, for based on described attribute, records information corresponding to described system variation event, generatesRecorded information;
The first memory module, for being stored in predetermined storage area by described recorded information;
Wherein, described recorded information for being adjusted in the time that described electronic equipment is carried out predetermined system recovery operationWith.
CN201510965379.4A 2015-12-21 2015-12-21 Information processing method and electronic equipment Pending CN105607970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510965379.4A CN105607970A (en) 2015-12-21 2015-12-21 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510965379.4A CN105607970A (en) 2015-12-21 2015-12-21 Information processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN105607970A true CN105607970A (en) 2016-05-25

Family

ID=55987923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510965379.4A Pending CN105607970A (en) 2015-12-21 2015-12-21 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105607970A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391309A (en) * 2017-07-28 2017-11-24 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its recovery are dispatched from the factory pre-configured processing method and storage medium
CN107729186A (en) * 2017-10-27 2018-02-23 无锡祥生医疗科技股份有限公司 The Data Recapture Unit and method of ultrasonic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920788A (en) * 2006-09-18 2007-02-28 毛国红 Recovery method for computer system or data
CN101611375A (en) * 2007-02-15 2009-12-23 微软公司 Computer system events interface
CN105068788A (en) * 2015-07-01 2015-11-18 浙江宇视科技有限公司 User work scene fast recovery method and device in video monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920788A (en) * 2006-09-18 2007-02-28 毛国红 Recovery method for computer system or data
CN101611375A (en) * 2007-02-15 2009-12-23 微软公司 Computer system events interface
CN105068788A (en) * 2015-07-01 2015-11-18 浙江宇视科技有限公司 User work scene fast recovery method and device in video monitoring system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391309A (en) * 2017-07-28 2017-11-24 Tcl移动通信科技(宁波)有限公司 Mobile terminal and its recovery are dispatched from the factory pre-configured processing method and storage medium
CN107391309B (en) * 2017-07-28 2022-06-10 Tcl移动通信科技(宁波)有限公司 Mobile terminal, factory-restoration pre-configuration processing method thereof and storage medium
CN107729186A (en) * 2017-10-27 2018-02-23 无锡祥生医疗科技股份有限公司 The Data Recapture Unit and method of ultrasonic device

Similar Documents

Publication Publication Date Title
US8065204B2 (en) System and method for software integration and factory deployment
CN100419697C (en) Corrective actions for servers with shared resources
CN102057358B (en) Systems and methods for tracking changes to a volume
CN101167058B (en) Apparatus, method and system for restoring files
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN104021031A (en) Application program management system and method
CN104216796A (en) Data backup and recovery method and electronic device
CN104699408A (en) Operation method and device of touch screen and touch device
CN100419764C (en) Hierarchical storage management apparatus, method, and program
CN110908880A (en) Embedded point code injection method, event reporting method and related equipment thereof
CN105607970A (en) Information processing method and electronic equipment
CN103810296A (en) Information management method, information management device and electronic equipment
CN102368232B (en) Method and device for generating installation configuration list
CN102426570A (en) Method and equipment for demonstrating influencing factors in statistical chart
CN104572339A (en) Data backup restoring system and method based on distributed file system
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system
CN107133072A (en) One kind operation performs method and apparatus
CN109376073B (en) Test environment memory and recovery method
CN104424109A (en) Information processing method and electronic equipment
US20080033949A1 (en) Electronic apparatus and method therefor
CN101685417A (en) System and method for backing up data
CN111564165B (en) Data storage method, device, equipment and storage medium
CN100454249C (en) Method for setting operating system with additional drive program and structure
CN101470616B (en) Pre-installation method and method for forming image pre-installation system
JP4978020B2 (en) Update log backup method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication