CN107656706A - A kind of data processing method, terminal and computer-readable storage medium - Google Patents
A kind of data processing method, terminal and computer-readable storage medium Download PDFInfo
- Publication number
- CN107656706A CN107656706A CN201711034738.XA CN201711034738A CN107656706A CN 107656706 A CN107656706 A CN 107656706A CN 201711034738 A CN201711034738 A CN 201711034738A CN 107656706 A CN107656706 A CN 107656706A
- Authority
- CN
- China
- Prior art keywords
- data
- intended application
- terminal
- space
- selection instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0632—Configuration or reconfiguration of storage systems by initialisation or re-initialisation of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
Abstract
The embodiment of the invention discloses a kind of data processing method, including:Selection instruction is received, intended application information is carried in selection instruction;Selection instruction is responded, target data corresponding with intended application information in Backup Data subregion, obtains the first data;By the first data storage in the first space of system partitioning;Initialization directive is received, initialization directive is responded, is initialized, deletes the target data in data partition;When initialisation is completed, the first data are read from the first space, the data recovery of intended application is realized based on the first data, intended application is to be applied corresponding to intended application information.The embodiment of the present invention further simultaneously discloses a kind of terminal and computer-readable storage medium.A kind of data processing method provided in an embodiment of the present invention can retain important data in factory reset, improve the intelligent of terminal.
Description
Technical field
The present invention relates to the Data cache technology in electronic application field, more particularly to a kind of data processing method, terminal
And computer-readable storage medium.
Background technology
With the continuous development of scientific technology, electronic technology has also obtained development at full speed, and the species of electronic product is also got over
Come more, people have also enjoyed the various facilities that development in science and technology is brought.And should with what is installed on electronic product, such as terminal
Increase, the application of terminal storage and application data are also more and more.
At present, terminal can cause terminal interim card, insufficient space etc. using caused user data cache during application etc.
Situation, the method that factory reset is provided in such terminal, come the caching that clears data.However, after factory reset eventually
Although the spatial cache in end can cache more data, possible many important data have been deleted, made
Into in subsequent terminal during data processing information shortage.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention it is expected to provide a kind of data processing method, terminal and computer
Storage medium, important data can be retained in factory reset, improve the intelligent of terminal.
The technical proposal of the invention is realized in this way:
The embodiments of the invention provide a kind of data processing method, including:
Selection instruction is received, intended application information is carried in the selection instruction;
Respond the selection instruction, target data corresponding with the intended application information in Backup Data subregion, obtain
First data;
By first data storage in the first space of system partitioning;
Initialization directive is received, the initialization directive is responded, is initialized, deleted described in the data partition
Target data;
When initialisation is completed, first data are read from first space, are realized based on first data
The data recovery of intended application, the intended application are to be applied corresponding to the intended application information.
In such scheme, the response selection instruction, in Backup Data subregion with the intended application information pair
The target data answered, the first data are obtained, including:
The selection instruction is responded, detects the type of the intended application information;
When the type of the intended application information, which characterizes, retains installation kit, mesh corresponding to the intended application information is searched
Mark the storage address of application installation package;
If the storage address characterizes and is stored in the data partition, the intended application installation kit is backed up, obtains institute
State the first data.
In such scheme, the response selection instruction is described after the type for detecting the intended application information
Method also includes:
When the type of the intended application information, which characterizes, retains application data, the mesh is searched from the data partition
Mark intended application data corresponding to application message;
The intended application data are backed up, obtain first data.
It is described that first data are read from first space in such scheme, it is real based on first data
The data recovery of existing intended application, including:
First data are read from first space, according to first data, are pacified in the data partition
The intended application is filled, realizes the recovery of the installation data of the intended application.
It is described that first data are read from first space in such scheme, it is real based on first data
The data recovery of existing intended application, including:
First data are read from first space, according to first data, the institute in the data partition
State corresponding to intended application storage region and preserve first data, realize the intended application intended application data it is extensive
It is multiple.
In such scheme, the response selection instruction, in Backup Data subregion with the intended application information pair
The target data answered, after obtaining the first data, and it is described by first data storage in the first space of system partitioning
Before, methods described also includes:
First space is established in the system partitioning.
It is described that first data are read from first space in such scheme, it is real based on first data
After the data recovery of existing intended application, methods described also includes:
Discharge first space.
The embodiments of the invention provide a kind of terminal, including:Processor, storage medium, receiver and communication bus, institute
State receiver and the storage medium and pass through the communication bus and the processor connection communication;
The receiver, for receiving selection instruction, intended application information is carried in the selection instruction;
The processor, for calling the data processing relative program of the storage medium storage, and perform following steps:
Respond the selection instruction, target data corresponding with the intended application information in Backup Data subregion, obtain the first data;
By first data storage in the first space of system partitioning;
The receiver, it is additionally operable to receive initialization directive,
The processor, it is additionally operable to respond the initialization directive, is initialized, deletes the institute in the data partition
State target data;When initialisation is completed, first data are read from first space, it is real based on first data
The data recovery of existing intended application, the intended application are to be applied corresponding to the intended application information.
In above-mentioned terminal, the processor, it is additionally operable to respond the selection instruction, detects the intended application information
Type;When the type of the intended application information, which characterizes, retains installation kit, target corresponding to the intended application information is searched
The storage address of application installation package, if the storage address, which characterizes, is stored in the data partition, back up the intended application
Installation kit, obtain first data;And the response selection instruction, detect the intended application information type it
Afterwards, when the type of the intended application information, which characterizes, retains application data, the target is searched from the data partition should
The intended application data corresponding to information, the intended application data are backed up, obtain first data.
In above-mentioned terminal, the processor, specifically for reading first data from first space, according to
First data, install the intended application in the data partition, realize the intended application installation data it is extensive
It is multiple.
In above-mentioned terminal, the processor, also particularly useful for reading first data, root from first space
According to first data, the storage region corresponding to intended application described in the data partition preserves first data, real
The recovery of the intended application data of the existing intended application.
In above-mentioned terminal, the processor is additionally operable to the response selection instruction, in Backup Data subregion with institute
Target data corresponding to stating intended application information, after obtaining the first data, and it is described by first data storage in system
Before in first space of subregion, first space is established in the system partitioning.
In above-mentioned terminal, the processor, it is additionally operable to described read first data, base from first space
After first data realize the data recovery of intended application, first space is discharged.
The embodiments of the invention provide a kind of computer-readable storage medium, computer executable instructions are stored thereon with, the meter
Calculation machine executable instruction realizes the method and step described in above-mentioned data processing method when being executed by processor.
The embodiments of the invention provide a kind of data processing method, terminal and computer-readable storage medium, receives selection instruction,
Intended application information is carried in selection instruction;Selection instruction is responded, it is corresponding with intended application information in Backup Data subregion
Target data, obtain the first data;By the first data storage in the first space of system partitioning;Initialization directive is received, is rung
Initialization directive is answered, is initialized, deletes the target data in data partition;When initialisation is completed, from the first space
The first data are read, the data recovery of intended application is realized based on the first data, intended application is corresponding to intended application information
Using.Using above-mentioned technic relization scheme, because before (i.e. factory reset) is initialized, terminal can be referred to by selection
Order backups to the target data in data partition in system partitioning, so when terminal initialization, although being initialized
Data in data partition, but target data but remains in system partitioning, is so being initialized based on target data
Into can quickly realize the important numbers such as the first data (target data of backup) when (after the completion of factory reset)
According to recovery, so as to improve the intelligent of terminal.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of optional mobile terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart one of data processing method provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram that a kind of specific function provided in an embodiment of the present invention sets interface;
Fig. 5 is a kind of interface schematic diagram of list of application provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram for starting factory reset function provided in an embodiment of the present invention;
Fig. 7 is a kind of flowchart 2 of data processing method provided in an embodiment of the present invention;
Fig. 8 is a kind of flow chart 3 of data processing method provided in an embodiment of the present invention;
Fig. 9 is a kind of flow chart four of data processing method provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal in the embodiment of the present invention can be electronic equipment with shooting or shoot function etc., the embodiment of the present invention
It is not restricted.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware configuration signal for a kind of optional mobile terminal of each embodiment of the realization present invention
Figure, the mobile terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, Wi-Fi module 102, audio are defeated
Go out unit 103, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, connect
The parts such as mouth unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that in Fig. 1
The mobile terminal structure shown does not form the restriction to mobile terminal, and mobile terminal can include more more or less than illustrating
Part, either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Wi-Fi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch by Wi-Fi module 102
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1
Wi-Fi module 102 is shown, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can basis
Need to omit in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or Wi-Fi module 102 it is receiving or
It is sound that the voice data that person stores in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit
103 can also provide performed to mobile terminal 100 the related audio output of specific function (for example, call signal reception sound,
Message sink sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Terminal in the embodiment of the present invention can be mobile terminal, then, it is exemplary, based on above-mentioned mobile terminal hardware
Structure and communications network system, each embodiment of the inventive method can be proposed.Following terminals can utilize mobile terminal
To replace.
Embodiment one
The embodiments of the invention provide a kind of data processing method, as shown in figure 3, this method can include:
S101, selection instruction is received, intended application information is carried in selection instruction;
Data processing method provided in an embodiment of the present invention can be applied (to be passed through in user by terminal progress application function
Client is realized) in the scene realized, data processing object that the embodiment of the present invention is directed to can be the application installed in terminal
Or some client etc., the present invention do not limit the particular type of application or client.
Optionally, in embodiments of the present invention, the application installed in terminal can include:Possesses the application of amusement function
(such as Video Applications, audio play application, game application, ocr software, chat application and live application), and for example possesses service work(
The application (such as digital map navigation application, purchasing by group application, camera application) of energy, the embodiment of the present invention is not restricted.
In embodiments of the present invention, the application being provided with terminal in many applications, and user's using terminal can produce
Raw many application datas.Terminal in the embodiment of the present invention can have data reservation function, can thus set needs
The data of reservation, the use for subsequent applications function provide facility.
It should be noted that the data reservation function in the embodiment of the present invention, can retain work(by the data set
Can button realize.Illustrated so that terminal is mobile phone as an example, user realizes specific on the specific function setting interface of terminal
During function, the data reservation function button set on mobile phone can be started, the data reservation function being achieved in that is switched on
, just carried out according to data processing method provided in an embodiment of the present invention.
Exemplary, as shown in figure 4, user can set interface to carry out data by specific function in the embodiment of the present invention
The opening and closing of reservation function, when user clicks on "ON" button, just characterize the data reservation function for opening terminal;Work as user
When clicking on "Off" button, with regard to characterizing the data reservation function closed a terminal.Terminal can be by detecting above-mentioned data reservation function
The key assignments of button either state, to determine whether data reservation function is opened, so that it is determined that carrying out the method for data processing.
In embodiments of the present invention, in the case where starting data reservation function, the terminal receives user and existed terminal
Selection operation in the terminal, generates selection instruction, and the target that user chooses when the terminal realizes selection operation
Just carry using corresponding intended application information and suffered in selection instruction.
It should be noted that in embodiments of the present invention, what the intended application in terminal selected on the terminal for user
The object (i.e. destination object) of retention data is needed, and intended application information can be target installation kit corresponding to intended application,
Can also be that the embodiment of the present invention does not limit the intended application using data (i.e. intended application data) etc. corresponding to intended application
The particular content of information, as long as the intended application information is related data corresponding to intended application.
So, when user is realizing selection operation in terminal, the terminal can prompt user to be intended to be answered
Retained with the data of installation kit, the data for being also intended to carry out application data retain, and are then further carried out destination object
Selection, that is, it is intended application to select which application.
Exemplary, when the enterprising row data of mobile phone 1 retain and set, user can first select to want reservation user
The type of data, it is application installation package or application data, then as shown in figure 5, mobile phone 1 reresents user to pacifying on mobile phone 1
Selected in the list of application 1 of dress, it is intended application that user, which chooses the application A in list of application 1, obtains intended application A
Corresponding intended application information, is carried in selection instruction.
S102, response selection instruction, target data corresponding with intended application information in Backup Data subregion, obtain first
Data;
Terminal is after selection instruction is received, due to carrying intended application information in the selection instruction, intended application letter
The data for ceasing which type for characterizing intended application are that user wishes to retain, therefore, the above-mentioned selection instruction of the terminal response,
Target data corresponding with intended application information in Backup Data subregion is gone, so as to the target data backed up, i.e., first
Data.
In embodiments of the present invention, terminal can be the electronic equipment of Android (Android) system, exist in the terminal
Two important subregions, system partitioning (System Partion) and data partition (Data Partion), deposit in system partitioning
The data of storage are the data such as the related installation kit for the application that system carries, for example, system is carried using system being present in terminal
Under the application catalogue of subregion, the third-party application of user oneself installation, which is stored under data subregions, to be applied under catalogue.And it is all should
All exist below data subregion data catalogues with caused data.
Wherein, system partitioning is the term commonly used in Windows operating system, generally refers to be used to start Windows
Subregion, under the root of the usual subregion, the startup file (such as boot.ini, ntldr) comprising operating system, system point
Area preserves the subregion (being also boot partition) of various guiding files.
It should be noted that in embodiments of the present invention, terminal, can be with when the selection operation of selection instruction is carried out
For being installed in terminal all using being selected, when user chooses intended application, the terminal can obtain mesh
Mark application is identified to characterize selected intended application, and then obtains intended application information corresponding to the intended application, specifically
The implementation embodiment of the present invention be not restricted.
In embodiments of the present invention, target data can be at least one of target installation kit and intended application data,
Can also be that other kinds of related data, the specific embodiment of the present invention corresponding to intended application are not restricted.
S103, by the first data storage in the first space of system partitioning;
Terminal target data corresponding with intended application information in data partition has been backed up, i.e. after the first data, by
The first data for needing to be backed up in terminal are got in the now terminal, based on terminal in the embodiment of the present invention
System partitioning characteristic, i.e., terminal is when initialization, not data in the system partitioning of initialization terminal, therefore, should
Terminal is by the first data storage in the first space of its own system subregion.
It should be noted that in embodiments of the present invention, terminal, can be in system point when the first data are got
A new file i.e. the first space is established or hewed out in area, and first space is provided in an embodiment of the present invention for storing
The first data got in data processing method.Terminal can also before the first data are got, in advance establish or
Open the first space, specific first space is established the opportunity embodiment of the present invention and can not be restricted.
In embodiments of the present invention, the storage region that the first space can be present in system partitioning in the form of file
In.Here, when the first space, terminal can use corresponding to intended application the first data storage corresponding to intended application
Intended application mark carries out the name of file, and the concrete implementation mode embodiment of the present invention is not restricted.
It should be noted that can be one because the number of intended application is uncertain in embodiments of the present invention
It is individual, or multiple, therefore, the first space in the system partitioning of terminal is to store the first number corresponding to these intended applications
According to, therefore, it can be stored with first space with multiple files of intended application mark name, and the first space can be with
Establish temporarily, when need not be stored, the storage region in the first space can be discharged, flexibly realize data
Storage, the concrete implementation mode embodiment of the present invention are not restricted.
S104, initialization directive is received, respond initialization directive, initialized, delete the number of targets in data partition
According to;
Terminal in the first space of first data storage in system partitioning, will just illustrate that the target that user wants to preserve should
Had backed up with corresponding first data and suffered in system partitioning, like this, because current Android mechanism progress is extensive
During multiple Default Value, all data that can clear data under subregion, now either system carry or user oneself installation
All applications caused by data can all be deleted, therefore, can be with before the process initialized in the embodiment of the present invention
Realize the backup to the first data in system partitioning.Then, during terminal realizes initialization, although deleting data
Target data in subregion, but the system partitioning that the target data has had been saved in terminal as the first data suffers.
In embodiments of the present invention, produced when initialization directive can be the factory reset set in triggering terminal
, or other implementations, the embodiment of the present invention are not restricted.So, terminal receive triggering recovery dispatch from the factory
When the initialization directive of setting, the terminal response initialization directive proceeds by the initialization process of data, deletes end
All data that data partition in end preserves, also including the target data in data partition.
Need what is illustrated, in embodiments of the present invention, user can pass through recovering in the setting interface of triggering terminal
Factory sets function to realize initialization directive.
Exemplary, as shown in fig. 6, user clicks on factory reset button on the setting interface of mobile phone 1 (terminal),
Into factory reset interface, functional switch is provided with the factory reset interface, user can be by recovering to dispatch from the factory
Set interface to carry out the opening and closing of data recovery Default Value function, when user clicks on "ON" button, just characterize triggering
The factory reset function on of terminal, generates initialization directive;When user clicks on "Off" button, just characterize and close eventually
The factory reset function at end.
It should be noted that in embodiments of the present invention, the factory reset function of terminal is that acquiescence is in closing shape
State, only it can just start when user triggers manually, and after startup once, automatically into closed mode, Zhi Daoyong
Startup is triggered next time in family.
In embodiments of the present invention, can be to be realized by the switching on and shutting down of terminal when terminal is initialized,
That is terminal is when factory reset is started, when factory reset function on, terminal closedown is carried out just
Beginning process, when initialization is completed, triggering terminal start.
S105, when initialisation is completed, the first data are read from the first space, intended application is realized based on the first data
Data recovery, intended application be intended application information corresponding to apply.
Terminal receives initialization directive, responds initialization directive, is initialized, and deletes the number of targets in data partition
According to until when deleting all data in data partition, completing the process of initialization.When initialisation is completed, eventually
End all deletes the data in data partition, and at this moment, the terminal can read what is backed up before from the first space
First data, the data recovery of intended application is realized based on the first data, and intended application is to be applied corresponding to intended application information.
It is understood that because before (i.e. factory reset) is initialized, terminal can be incited somebody to action by selection instruction
Target data in data partition is backuped in system partitioning, so when terminal initialization, although being initialized data
Data in subregion, but target data but remains in system partitioning, it is so (extensive in initialization completion based on target data
Appear again after factory is provided with) when can quickly realize the extensive of the important data such as the first data (target data of backup)
It is multiple, so as to improve the intelligent of terminal.
Further, as shown in fig. 7, after S102, and before S103, a kind of data provided in an embodiment of the present invention
Processing method can also include:S106.In addition, after S105, a kind of data processing method provided in an embodiment of the present invention is also
It can include:S107.It is as follows:
S106, the first space is established in system partitioning.
Terminal is in response selection instruction, target data corresponding with intended application information in Backup Data subregion, obtains the
After one data, and before terminal is by the first data backup in the first space, the terminal is needed in the system partitioning of itself
In establish first space, that is to say, that terminal needs the target data for backup to open up one before the first data are backed up
New memory space.
In embodiments of the present invention, the associated description in above-mentioned first space is consistent with the description of embodiment above.
S107, the first space of release.
After the first data that terminal is backed up in using system partitioning carry out data recovery to intended application, due to first
Data are used or for recovering the application function of intended application, and the first data can does not have to be stored in first
Space suffers, and therefore, the terminal can be in first data during the first data are used rear deletion system subregion, and discharge and be somebody's turn to do
First space.
It should be noted that due to the first data backup be exactly in order to initialization when be not deleted, for
Data recovery is carried out to intended application when initialization is completed, therefore, after the data of intended application are resumed, the terminal is
Can no longer preserves first data in system subregion, and can discharges the first space so after the first data are deleted
, the reasonable utilization to memory space is realized, improves the utilization rate of resource.
Embodiment two
Under same inventive concept based on embodiment one, the embodiments of the invention provide a kind of data processing method, such as Fig. 8
Shown, this method can include:
S201, selection instruction is received, intended application information is carried in selection instruction;
Realized in the embodiment of the present invention process of " receiving selection instruction, carry intended application information in selection instruction " with
The process description for realizing S101 in embodiment one is consistent, and here is omitted.
S202, response selection instruction, detect the type of intended application information;
S203, when intended application information type characterize retain installation kit when, search intended application information corresponding to target
The storage address of application installation package;
If S204, storage address characterize and be stored in data partition, backup target application installation package, the first data are obtained.
Terminal is after selection instruction is received, due to carrying intended application information in the selection instruction, intended application letter
The data for ceasing which type for characterizing intended application are that user wishes to retain, therefore, the above-mentioned selection instruction of the terminal response,
Target data corresponding with intended application information in Backup Data subregion is gone, so as to the target data backed up, i.e., first
Data.
In embodiments of the present invention, due to the intended application in terminal be user select on the terminal need encumbrance
According to object (i.e. destination object), and intended application information can be target installation kit corresponding to intended application, or mesh
Using data (i.e. intended application data) corresponding to mark application, therefore, different for the type of intended application information, terminal obtains
The mode of the target data of intended application information also can be different.Here using intended application information as target installation kit, i.e., target should
Illustrated exemplified by characterizing reservation installation kit with the type of information.
Specifically, when terminal response selection instruction, the terminal can need first to detect the type of intended application information,
It is the installation kit of intended application or using data to judge data that now user wants to retain, when the class of intended application information
When what type characterized the desired reservation of user is installation kit, in embodiments of the present invention, because the application installed in terminal can be
What system carried can also be third-party application, and system is carried to apply and is mounted in system partitioning, and third-party application is then
In data partition, the data only in data partition are deleted when initialization, therefore, in the embodiment of the present invention
In, terminal only needs to realize the backup for the installation kit for the installation kit in data partition think reservation.Like this, when
When the type of intended application information characterizes reservation installation kit, terminal requires to look up intended application corresponding to intended application information and installed
The storage address of bag, the storage address of intended application installation kit, which can characterize, to be stored in data partition, can also characterize storage
In system partitioning, when storage address, which characterizes, is stored in data partition, it is third-party application to illustrate intended application, and the terminal needs
Backup target application installation package is wanted, so as to obtain the first data, the first data here install bag data for intended application.
In embodiments of the present invention, the representation of storage address can be the form of catalogue, for example, system carries application
Installation kit can be stored under the app catalogues of system partitioning, the installation kit of third-party application can be stored in data partition
Under app catalogues.
Further, terminal find intended application installation kit storage address be characterized as being stored in system partitioning when
Wait, the terminal is the not related data in deletion system subregion when being initialized, and therefore, the terminal now can be with
The process that can directly be initialized is not handled target data.
S205, by the first data storage in the first space of system partitioning;
Process and the implementation " by the first data storage in the first space of system partitioning " are realized in the embodiment of the present invention
The process description for realizing S103 in example one is consistent, and here is omitted.
S206, initialization directive is received, respond initialization directive, initialized, delete the number of targets in data partition
According to;
Realized in the embodiment of the present invention and " receive initialization directive, respond initialization directive, initialized, delete data
The process of target data in subregion " is consistent with the process description for realizing S104 in embodiment one, and here is omitted.
S207, when initialisation is completed, reads the first data, according to the first data, in data partition from the first space
Middle installation targets application, realizes the recovery of the installation data of intended application, and intended application is to be applied corresponding to intended application information.
Terminal receives initialization directive, responds initialization directive, is initialized, and deletes the number of targets in data partition
According to until when deleting all data in data partition, completing the process of initialization.When initialisation is completed, eventually
End all deletes the data in data partition, and at this moment, the terminal can read what is backed up before from the first space
First data, the data recovery of intended application is realized based on the first data, and intended application is to be applied corresponding to intended application information.
Here the first data are intended application installation kit, and therefore, when initialisation is completed, terminal can be from the first space
The first data of middle reading, first data are exactly intended application installation kit, and so, the terminal can is installed according to intended application
Bag is mounted directly intended application, it is achieved thereby that the recovery of the installation data of intended application, saves the set-up time, improves
The installation effectiveness of intended application.
It is understood that because before (i.e. factory reset) is initialized, terminal can be incited somebody to action by selection instruction
Target data in data partition is backuped in system partitioning, so when terminal initialization, although being initialized data
Data in subregion, but target data but remains in system partitioning, it is so (extensive in initialization completion based on target data
Appear again after factory is provided with) when can quickly realize the extensive of the important data such as the first data (target data of backup)
It is multiple, so as to improve the intelligent of terminal.
Further, under the same inventive concept based on embodiment one, the embodiment of the present invention is additionally provided at a kind of data
Reason method, as shown in figure 9, this method can include:
S301, selection instruction is received, intended application information is carried in selection instruction;
Realized in the embodiment of the present invention process of " receiving selection instruction, carry intended application information in selection instruction " with
The process description for realizing S101 in embodiment one is consistent, and here is omitted.
S302, response selection instruction, detect the type of intended application information;
S303, when intended application information type characterize retain application data when, intended application is searched from data partition
Intended application data corresponding to information;
S304, intended application data are backed up, obtain the first data.
Terminal is after selection instruction is received, due to carrying intended application information in the selection instruction, intended application letter
The data for ceasing which type for characterizing intended application are that user wishes to retain, therefore, the above-mentioned selection instruction of the terminal response,
Target data corresponding with intended application information in Backup Data subregion is gone, so as to the target data backed up, i.e., first
Data.
In embodiments of the present invention, due to the intended application in terminal be user select on the terminal need encumbrance
According to object (i.e. destination object), and intended application information can be target installation kit corresponding to intended application, or mesh
Using data (i.e. intended application data) corresponding to mark application, therefore, different for the type of intended application information, terminal obtains
The mode of the target data of intended application information also can be different.Here using intended application information as target installation kit, i.e., target should
Illustrated exemplified by characterizing application data with the type of information.
Specifically, when terminal response selection instruction, the terminal can need first to detect the type of intended application information,
Judge that the data that now user wants to retain are the installation kit of intended application or use data (i.e. target data), work as target
When what the type list requisition family of application message was wanted to retain is application data, in embodiments of the present invention, due to being installed in terminal
Application can be that system carries can also be third-party application, and system is carried using being stored in system partitioning, and
Third-party application is then mounted in data partition, but whether system is carried using or third-party application is caused to be applied
Data are all stored in data partition, and the data only in data partition are deleted when initialization, therefore,
In embodiments of the present invention, terminal only need realize the intended application data in data partition are retained if, it is necessary to right
Intended application data backup is in system partitioning.Like this, when the type of intended application information characterizes application data, terminal
Need to search intended application data corresponding to intended application information from data partition, and intended application data backed up,
The first data are obtained, so as to obtain the first data, the first data here are intended application data.
In embodiments of the present invention, the representation of storage address can be the form of catalogue, for example, system carries application
Installation kit can be stored under the app catalogues of system partitioning, the installation kit of third-party application can be stored in data partition
Under app catalogues, but the application in terminal is that application data is all stored under the catalogue of data partition using data.
S305, by the first data storage in the first space of system partitioning;
Process and the implementation " by the first data storage in the first space of system partitioning " are realized in the embodiment of the present invention
The process description for realizing S103 in example one is consistent, and here is omitted.
S306, initialization directive is received, respond initialization directive, initialized, delete the number of targets in data partition
According to;
Realized in the embodiment of the present invention and " receive initialization directive, respond initialization directive, initialized, delete data
The process of target data in subregion " is consistent with the process description for realizing S104 in embodiment one, and here is omitted.
S307, when initialisation is completed, reads the first data, according to the first data, in data partition from the first space
Storage region corresponding to middle intended application preserves the first data, realizes the recovery of the intended application data of intended application, and target should
With to be applied corresponding to intended application information.
Terminal receives initialization directive, responds initialization directive, is initialized, and deletes the number of targets in data partition
According to until when deleting all data in data partition, completing the process of initialization.When initialisation is completed, eventually
End all deletes the data in data partition, and at this moment, the terminal can read what is backed up before from the first space
First data, the data recovery of intended application is realized based on the first data, and intended application is to be applied corresponding to intended application information.
Here the first data are intended application data, and therefore, when initialisation is completed, terminal can be from the first space
The first data are read, first data are exactly intended application data, and so, the terminal can directly protects intended application data
The region of data is used in the presence of the respective stored of corresponding intended application, so when completion is initialized, terminal is opening
When moving-target is applied, it is possible to achieve the recovery of the intended application data of intended application, save the typical number of intended application
According to input time, have recorded using data, improve the data acquisition efficiency of intended application.
It should be noted that in embodiments of the present invention, terminal can be with simultaneous selection to target installation kit and intended application
The recovery of data, so when completion is initialized, terminal can actively realizes that the installation of intended application and target should
With the recovery of data, have intelligent.
Exemplary, it is assumed that social networking application is third-party application, and user carries out factory reset on mobile phone 1 (terminal)
Before, the reservation to the social networking application and its using data is have selected, therefore, factory reset is completed (i.e. just in mobile phone 1
Beginningization) when, the installation kit of the social networking application backed up before, and the society are found in the active of mobile phone 1 from system partitioning
Application data (such as log-on message etc.) is handed over, and the social networking application, Yi Ji are mounted directly according to the installation kit of the social networking application
After the social networking application starts, directly logged in using log-on message, realize the installation of social networking application and using data
Recover.
It should be noted that in embodiments of the present invention, intended application data are that user uses number caused by intended application
According to, for example, log-on message, using conventional setting, friend information etc., the embodiment of the present invention is not restricted.
It is understood that because before (i.e. factory reset) is initialized, terminal can be incited somebody to action by selection instruction
Target data in data partition is backuped in system partitioning, so when terminal initialization, although being initialized data
Data in subregion, but target data but remains in system partitioning, it is so (extensive in initialization completion based on target data
Appear again after factory is provided with) when can quickly realize the extensive of the important data such as the first data (target data of backup)
It is multiple, so as to improve the intelligent of terminal.
Embodiment three
Same inventive concept based on embodiment one and embodiment two, as shown in Figure 10, the embodiments of the invention provide one
Kind terminal 1, including:Processor 10, storage medium 11, receiver 12 and communication bus 13, the receiver 12 and described are deposited
Storage media 11 passes through the communication bus 13 and the connection communication of processor 10;
The receiver 12, for receiving selection instruction, intended application information is carried in the selection instruction;
The processor 10, for the data processing relative program for calling the storage medium 11 to store, and perform as follows
Step:Respond the selection instruction, target data corresponding with the intended application information in Backup Data subregion, obtain first
Data;By first data storage in the first space of system partitioning;
The receiver 12, it is additionally operable to receive initialization directive,
The processor 10, it is additionally operable to respond the initialization directive, is initialized, deleted in the data partition
The target data;When initialisation is completed, first data are read from first space, based on first data
The data recovery of intended application is realized, the intended application is to be applied corresponding to the intended application information.
Optionally, the processor 10, it is additionally operable to respond the selection instruction, detects the class of the intended application information
Type;When the type of the intended application information, which characterizes, retains installation kit, searching target corresponding to the intended application information should
With the storage address of installation kit, if the storage address, which characterizes, is stored in the data partition, the intended application peace is backed up
Dress bag, obtains first data;And the response selection instruction, detect the intended application information type it
Afterwards, when the type of the intended application information, which characterizes, retains application data, the target is searched from the data partition should
The intended application data corresponding to information, the intended application data are backed up, obtain first data.
Optionally, the processor 10, specifically for reading first data from first space, according to described
First data, the intended application is installed in the data partition, realizes the recovery of the installation data of the intended application.
Optionally, the processor 10, also particularly useful for first data are read from first space, according to institute
The first data are stated, storage region corresponding to intended application preserves first data described in the data partition, realizes institute
State the recovery of the intended application data of intended application.
Optionally, the processor 10, is additionally operable to the response selection instruction, in Backup Data subregion with the mesh
Mark application message corresponding to target data, after obtaining the first data, and it is described by first data storage in system partitioning
The first space in before, first space is established in the system partitioning.
Optionally, the processor 10, be additionally operable to it is described first data are read from first space, based on institute
After stating the data recovery that the first data realize intended application, first space is discharged.
It should be noted that in embodiments of the present invention, processor 10 can be consistent with the processor 110 in Fig. 1, and storage is situated between
Matter 11 can be consistent with the memory 109 in Fig. 1, and receiver 12 can be corresponding with the user input unit 107 in Fig. 1.
In actual applications, above-mentioned storage medium 11 can be volatile memory (volatile memory), such as
Random access memory (Random-Access Memory, RAM);Or nonvolatile memory (non-volatile
Memory), such as read-only storage (Read-Only Memory, ROM), flash memory (flash memory), hard disk
(Hard Disk Drive, HDD) or solid state hard disc (Solid-State Drive, SSD);Or the memory of mentioned kind
Combination, and provide instruction and data to processor.
Above-mentioned processor can be application-specific IC (Application Specific Integrated
Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device
(Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), central processing unit
At least one of (Central Processing Unit, CPU), controller, microcontroller, microprocessor.It is appreciated that
Ground, for different equipment, for realizing that the electronic device of above-mentioned processor function can also be other, the embodiment of the present invention is not
Make specific limit.
It is understood that because before (i.e. factory reset) is initialized, terminal can be incited somebody to action by selection instruction
Target data in data partition is backuped in system partitioning, so when terminal initialization, although being initialized data
Data in subregion, but target data but remains in system partitioning, it is so (extensive in initialization completion based on target data
Appear again after factory is provided with) when can quickly realize the extensive of the important data such as the first data (target data of backup)
It is multiple, so as to improve the intelligent of terminal.
The embodiments of the invention provide a kind of computer-readable storage medium, computer executable instructions are stored thereon with, the meter
Calculation machine executable instruction realizes above-described embodiment one and the method and step described in embodiment two when being executed by processor.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the shape of the embodiment in terms of the present invention can use hardware embodiment, software implementation or combination software and hardware
Formula.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more to use storage
The form for the computer program product that medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.).
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
- A kind of 1. data processing method, it is characterised in that including:Selection instruction is received, intended application information is carried in the selection instruction;Respond the selection instruction, target data corresponding with the intended application information in Backup Data subregion, obtain first Data;By first data storage in the first space of system partitioning;Initialization directive is received, the initialization directive is responded, is initialized, delete the target in the data partition Data;When initialisation is completed, first data are read from first space, target is realized based on first data The data recovery of application, the intended application are to be applied corresponding to the intended application information.
- 2. according to the method for claim 1, it is characterised in that the response selection instruction, in Backup Data subregion Target data corresponding with the intended application information, obtains the first data, including:The selection instruction is responded, detects the type of the intended application information;When the type of the intended application information, which characterizes, retains installation kit, searching target corresponding to the intended application information should With the storage address of installation kit;If the storage address characterizes and is stored in the data partition, the intended application installation kit is backed up, obtains described the One data.
- 3. according to the method for claim 2, it is characterised in that the response selection instruction, detecting the target should After the type of information, methods described also includes:When the type of the intended application information, which characterizes, retains application data, the target is searched from the data partition should The intended application data corresponding to information;The intended application data are backed up, obtain first data.
- 4. according to the method for claim 2, it is characterised in that described that first number is read from first space According to, the data recovery of intended application is realized based on first data, including:First data are read from first space, according to first data, institute is installed in the data partition Intended application is stated, realizes the recovery of the installation data of the intended application.
- 5. according to the method for claim 3, it is characterised in that described that first number is read from first space According to, the data recovery of intended application is realized based on first data, including:First data are read from first space, according to first data, the mesh described in the data partition Storage region corresponding to mark application preserves first data, realizes the recovery of the intended application data of the intended application.
- 6. according to the method for claim 1, it is characterised in that the response selection instruction, in Backup Data subregion Target data corresponding with the intended application information, after obtaining the first data, and described first data storage is existed Before in first space of system partitioning, methods described also includes:First space is established in the system partitioning.
- 7. according to the method for claim 1, it is characterised in that described that first number is read from first space According to after realizing the data recovery of intended application based on first data, methods described also includes:Discharge first space.
- A kind of 8. terminal, it is characterised in that including:Processor, storage medium, receiver and communication bus, the receiver Pass through the communication bus and the processor connection communication with the storage medium;The receiver, for receiving selection instruction, intended application information is carried in the selection instruction;The processor, for calling the data processing relative program of the storage medium storage, and perform following steps:Response The selection instruction, target data corresponding with the intended application information in Backup Data subregion, obtains the first data;By institute The first data storage is stated in the first space of system partitioning;The receiver, it is additionally operable to receive initialization directive,The processor, it is additionally operable to respond the initialization directive, is initialized, deletes the mesh in the data partition Mark data;When initialisation is completed, first data are read from first space, mesh is realized based on first data The data recovery of application is marked, the intended application is to be applied corresponding to the intended application information.
- 9. terminal according to claim 8, it is characterised in thatThe processor, it is additionally operable to respond the selection instruction, detects the type of the intended application information;When the target should When characterizing reservation installation kit with the type of information, the storage of intended application installation kit corresponding to the intended application information is searched Location, if the storage address, which characterizes, is stored in the data partition, the intended application installation kit is backed up, obtains described first Data;And the response selection instruction, after the type for detecting the intended application information, when the intended application is believed When the type of breath characterizes reservation application data, intended application corresponding to the intended application information is searched from the data partition Data, the intended application data are backed up, obtain first data.
- 10. a kind of computer-readable storage medium, it is characterised in that be stored thereon with computer executable instructions, the computer can be held The method and step described in claim any one of 1-7 is realized in row instruction when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711034738.XA CN107656706A (en) | 2017-10-30 | 2017-10-30 | A kind of data processing method, terminal and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711034738.XA CN107656706A (en) | 2017-10-30 | 2017-10-30 | A kind of data processing method, terminal and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107656706A true CN107656706A (en) | 2018-02-02 |
Family
ID=61095628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711034738.XA Pending CN107656706A (en) | 2017-10-30 | 2017-10-30 | A kind of data processing method, terminal and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107656706A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669810A (en) * | 2018-10-18 | 2019-04-23 | 西安中兴新软件有限责任公司 | Information storage, storage card restoration methods and device, electronic equipment and storage medium |
CN111373379A (en) * | 2018-07-20 | 2020-07-03 | 华为技术有限公司 | Data backup method and terminal |
CN113495806A (en) * | 2020-03-20 | 2021-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Method, device, storage medium and terminal for recovering user data |
CN114896219A (en) * | 2022-07-15 | 2022-08-12 | 深圳市沃特沃德信息有限公司 | Method and device for storing resource data, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662798A (en) * | 2012-04-12 | 2012-09-12 | 青岛海信移动通信技术股份有限公司 | Data recovery method and terminal for Android system |
CN102902607A (en) * | 2012-11-01 | 2013-01-30 | 山东大学 | Data backup and recovery method for Android thin client |
CN103235703A (en) * | 2013-04-11 | 2013-08-07 | 东莞宇龙通信科技有限公司 | Method and device for storing preset resource |
CN103995719A (en) * | 2014-05-16 | 2014-08-20 | 深圳市中兴移动通信有限公司 | System reset method and device and electronic equipment |
CN104932955A (en) * | 2015-05-29 | 2015-09-23 | 深圳市创维电器科技有限公司 | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal |
CN105843710A (en) * | 2016-04-08 | 2016-08-10 | 努比亚技术有限公司 | Data backup and recovery device and method |
CN105912420A (en) * | 2016-04-01 | 2016-08-31 | 乐视控股(北京)有限公司 | Data backup method and device |
CN106095615A (en) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | Application data restoration method and device |
-
2017
- 2017-10-30 CN CN201711034738.XA patent/CN107656706A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662798A (en) * | 2012-04-12 | 2012-09-12 | 青岛海信移动通信技术股份有限公司 | Data recovery method and terminal for Android system |
CN102902607A (en) * | 2012-11-01 | 2013-01-30 | 山东大学 | Data backup and recovery method for Android thin client |
CN103235703A (en) * | 2013-04-11 | 2013-08-07 | 东莞宇龙通信科技有限公司 | Method and device for storing preset resource |
CN103995719A (en) * | 2014-05-16 | 2014-08-20 | 深圳市中兴移动通信有限公司 | System reset method and device and electronic equipment |
CN104932955A (en) * | 2015-05-29 | 2015-09-23 | 深圳市创维电器科技有限公司 | Method for backing up data during factory setting restoring of mobile terminal, and mobile terminal |
CN105912420A (en) * | 2016-04-01 | 2016-08-31 | 乐视控股(北京)有限公司 | Data backup method and device |
CN105843710A (en) * | 2016-04-08 | 2016-08-10 | 努比亚技术有限公司 | Data backup and recovery device and method |
CN106095615A (en) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | Application data restoration method and device |
Non-Patent Citations (1)
Title |
---|
传奇1994: "Android设备恢复出厂设置的文件备份与恢复", 《HTTPS://BLOG.CSDN.NET/QQ_15954345/ARTICLE/DETAILS/77848995》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111373379A (en) * | 2018-07-20 | 2020-07-03 | 华为技术有限公司 | Data backup method and terminal |
CN109669810A (en) * | 2018-10-18 | 2019-04-23 | 西安中兴新软件有限责任公司 | Information storage, storage card restoration methods and device, electronic equipment and storage medium |
CN109669810B (en) * | 2018-10-18 | 2023-07-14 | 西安中兴新软件有限责任公司 | Information storage method, information storage card recovery method, information storage device, information storage card recovery device, electronic equipment and storage medium |
CN113495806A (en) * | 2020-03-20 | 2021-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Method, device, storage medium and terminal for recovering user data |
CN114896219A (en) * | 2022-07-15 | 2022-08-12 | 深圳市沃特沃德信息有限公司 | Method and device for storing resource data, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107729133A (en) | A kind of method, terminal and computer-readable recording medium for running application program | |
CN108234295A (en) | Display control method, terminal and the computer readable storage medium of group's functionality controls | |
CN107656706A (en) | A kind of data processing method, terminal and computer-readable storage medium | |
CN107566752A (en) | A kind of image pickup method, terminal and computer-readable storage medium | |
CN109725866A (en) | Application interface display methods, terminal and computer readable storage medium | |
CN107566980A (en) | The localization method and mobile terminal of a kind of mobile terminal | |
CN110134301A (en) | A kind of application function operating method, terminal and computer readable storage medium | |
CN109947248A (en) | Vibration control method, mobile terminal and computer readable storage medium | |
CN107632768A (en) | Button application method, terminal and computer-readable recording medium | |
CN109697008A (en) | A kind of content share method, terminal and computer readable storage medium | |
CN108241752A (en) | Photo display methods, mobile terminal and computer readable storage medium | |
CN107273433A (en) | A kind of file scanning method, equipment and computer-readable recording medium | |
CN108985047A (en) | A kind of unlocking method, terminal, wearable device and computer readable storage medium | |
CN107967056A (en) | Control method, terminal and the computer-readable recording medium of flexible screen | |
CN107682540A (en) | Image processing method, terminal and computer-readable recording medium | |
CN107589887A (en) | One kind applies startup method and terminal | |
CN107766523A (en) | A kind of file management method, mobile terminal and computer-readable recording medium | |
CN107256239A (en) | A kind of method and device of recommended candidate word | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN108062241A (en) | A kind of switching method of display interface, terminal and storage medium | |
CN107817980A (en) | A kind of data processing method, terminal and computer-readable storage medium | |
CN107846725A (en) | A kind of processing method of notification message, terminal and storage medium | |
CN107193379A (en) | Application program launching method, terminal and computer-readable recording medium | |
CN109408187A (en) | Head portrait setting method, device, mobile terminal and readable storage medium storing program for executing | |
CN107360376A (en) | A kind of image pickup method and terminal |
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: 20180202 |