CN106126275A - Control method and device for application program data in mobile terminal and mobile terminal - Google Patents
Control method and device for application program data in mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN106126275A CN106126275A CN201610431677.XA CN201610431677A CN106126275A CN 106126275 A CN106126275 A CN 106126275A CN 201610431677 A CN201610431677 A CN 201610431677A CN 106126275 A CN106126275 A CN 106126275A
- Authority
- CN
- China
- Prior art keywords
- application program
- use data
- mobile terminal
- file destination
- storage card
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for controlling application program data in a mobile terminal and the mobile terminal. The method comprises the following steps: when detecting that an application program in the mobile terminal is started for the first time, creating a corresponding target file under an appointed path of a memory card in the mobile terminal; acquiring the use data of the application program in the use process of the application program, and storing the use data of the application program into a target file; when detecting that the application program is reinstalled, acquiring the use data of the application program from a target file under a specified path in the memory card; and restoring the acquired use data of the application program to the application program. The method can ensure that the user can completely reserve and recover some important information and use habits of the application program into the application program, avoid causing unnecessary trouble and loss to the user and improve the use experience of the user.
Description
Technical field
The present invention relates to mobile terminal manufacturing technology field, particularly relate to the control of application data in a kind of mobile terminal
Method processed, device and mobile terminal.
Background technology
Along with fast development and the raising of people's living standard demand of mobile terminal technology, mobile terminal is the most gradually
Become indispensable communication and converter tools in people's life.People can install respectively in the terminal according to the demand of oneself
Plant the application program of various kinds, when user is during using these application programs, the use data of this application program can be produced.
But, when unloading this application program when the memory headroom of mobile terminal is not enough or changes the reasons such as application version, should
It is deleted as well as the unloading of application program by the use data of program, so can cause at this application program again device
Time user can lose before use the information of this application program and custom etc., it is unnecessary to cause to the user of this application program
Trouble and loss.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose the control method of application data in a kind of mobile terminal.
The method is so that user all retains for some important informations, the use habit of this application program and returns to this application
In program, it is to avoid cause unnecessary trouble and loss to user, improve the experience of user.
Second object of the present invention is to propose the control device of application data in a kind of mobile terminal.
Third object of the present invention is to propose a kind of mobile terminal.
Fourth object of the present invention is to propose another kind of mobile terminal.
For reaching above-mentioned purpose, the control method of application data in the mobile terminal of first aspect present invention embodiment,
Including: when the application program detected in mobile terminal is started first, the specified path of storage card in described mobile terminal
The lower file destination creating correspondence;During described application program is used, obtain the use data of described application program,
And the use data of described application program are stored to described file destination;When detecting that described application program is reinstalled as quickly as possible
Time, the described file destination under specified path obtains from described storage card the use data of described application program;To obtain
To the use data of described application program recover in described application program.
The control method of application data in the mobile terminal of the embodiment of the present invention, the application in detection mobile terminal
When program is started first, under the specified path of storage card, create the file destination of correspondence in the terminal, and in application journey
During sequence is used, obtain the use data of application program, and the use data of this application program are stored to target literary composition
In part, when detecting that application program is reinstalled as quickly as possible, the file destination under specified path obtains from storage card application journey
The use data of sequence, and the use data of the application program got are recovered to application program.I.e. by by application program
Use data store in mobile terminal under the specified path of storage card, and when this application program is reinstalled as quickly as possible, will deposit
Under the specified path of card storage, the use data of storage return in this application program so that user is for some of this application program
Important information, use habit all retain and return in this application program, it is to avoid to user cause unnecessary trouble and
Loss, improves the experience of user.
According to one embodiment of present invention, the mesh of correspondence is created under the specified path of described storage card in the terminal
Mark file, including: obtain the identification information of described application program, and store in described mobile terminal according to described identification information
The file destination corresponding with described identification information is created under the specified path of card.
According to one embodiment of present invention, described described file destination from described storage card under specified path obtains
Take the use data of described application program, including: according to the identification information of the described application program being reinstalled as quickly as possible, it is judged that described
Whether storage card exists under specified path the file destination of correspondence;If described storage card exists under specified path correspondence
File destination, then generate information, and described information be supplied to user, and wherein, described information is used for indicating
Whether user recovers the use data of described application program;Instruct when receiving the described user confirmation for described information
Time, from the file destination of described correspondence, read the use data of described application program.
According to one embodiment of present invention, described identification information is general unique identifier UUID, described in described acquisition
The identification information of application program, including: generate described application journey according to Institute of Electrical and Electric Engineers IEEE machine identifier
The UUID of sequence.
According to one embodiment of present invention, after the use data of the described application program of described acquisition, described method
Also include: according to described UUID, the use data transmission of described application program to server and is preserved;Institute is detected described
Stating application program when being reinstalled as quickly as possible, described method also includes: if there is not correspondence in described storage card under specified path
File destination, then obtain the use data of described application program from described server according to described UUID.
According to one embodiment of present invention, described use data include that user uses institute during described application program
The historical behavior data produced and preference information.
For reaching above-mentioned purpose, the control device of application data in the mobile terminal of second aspect present invention embodiment,
Including: creation module, when the application program in detecting mobile terminal is started first, store in described mobile terminal
The file destination of correspondence is created under the specified path of card;First acquisition module, for the process used at described application program
In, obtain the use data of described application program;Memory module, for storing the use data of described application program to described
In file destination;Second acquisition module, for when detecting that described application program is reinstalled as quickly as possible, from described storage card middle finger
Determine the described file destination under path obtains the use data of described application program;Recover module, for the institute that will get
The use data stating application program are recovered to described application program.
The control device of application data in the mobile terminal of the embodiment of the present invention, can be moved in detection by creation module
When application program is started first in dynamic terminal, under the specified path of storage card, create the target literary composition of correspondence in the terminal
Part, the first acquisition module, during application program is used, obtains the use data of application program, and memory module will application
The use data of program store to file destination, and the second acquisition module is when detecting that application program is reinstalled as quickly as possible, from depositing
Card storage obtains in the file destination under specified path the use data of application program, recovers the application program that module will get
Use data recover in application program.I.e. by the use data of application program are stored storage card in mobile terminal
Under specified path, and when this application program is reinstalled as quickly as possible, the use data of storage under the specified path of storage card are recovered
In this application program so that user all retains for some important informations, the use habit of this application program and returns to
In this application program, it is to avoid cause unnecessary trouble and loss to user, improve the experience of user.
According to one embodiment of present invention, described creation module includes: the first acquiring unit, is used for obtaining described application
The identification information of program;Creating unit, for according to described identification information specified path of storage card in described mobile terminal
The file destination that lower establishment is corresponding with described identification information.
According to one embodiment of present invention, described second acquisition module includes: judging unit, for being weighed according to described
The identification information of newly installed application program, it is judged that whether there is the file destination of correspondence in described storage card under specified path;
Signal generating unit, during for there is the file destination of correspondence in described storage card under specified path, generation information, wherein,
Described information is for indicating whether user recovers the use data of described application program;There is provided unit, for carrying described
Show that information is supplied to user;Second acquisition unit, for receiving the described user confirmation instruction for described information
Time, from the file destination of described correspondence, read the use data of described application program.
According to one embodiment of present invention, described identification information is general unique identifier UUID, and described first obtains
Unit specifically for: according to Institute of Electrical and Electric Engineers IEEE machine identifier generate described application program UUID.
According to one embodiment of present invention, described device also includes: sending module, at described first acquisition module
After obtaining the use data of described application program, according to described UUID, the use data of described application program are sent to service
Device also preserves;Wherein, described second acquisition module is additionally operable to not exist under specified path the target of correspondence in described storage card
During file, from described server, obtain the use data of described application program according to described UUID.
According to one embodiment of present invention, described use data include that user uses institute during described application program
The historical behavior data produced and preference information.
For reaching above-mentioned purpose, the mobile terminal of third aspect present invention embodiment, including: second aspect present invention embodiment
Mobile terminal in the control device of application data.
The mobile terminal of the embodiment of the present invention, can apply in detection mobile terminal by controlling the creation module in device
When program is started first, creating the file destination of correspondence in the terminal under the specified path of storage card, first obtains mould
Block, during application program is used, obtains the use data of application program, and memory module is by the use number of application program
According to storing to file destination, the second acquisition module when detecting that application program is reinstalled as quickly as possible, specified circuit from storage card
File destination under footpath obtains the use data of application program, recovers module by extensive for the use data of the application program got
Answer to application program.I.e. by the use data of application program are stored in mobile terminal under the specified path of storage card,
And when this application program is reinstalled as quickly as possible, the use data of storage under the specified path of storage card are returned to this application program
In so that user all retains for some important informations, the use habit of this application program and returns in this application program,
Avoid causing unnecessary trouble and loss to user, improve the experience of user.
For reaching above-mentioned purpose, the mobile terminal of fourth aspect present invention embodiment, including: housing, processor, memorizer,
Circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described
Memorizer is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described mobile terminal;
Described memorizer is used for storing executable program code;Described processor is by reading the performed journey of storage in described memorizer
Sequence code runs the program corresponding with described executable program code, for performing following steps: when detection mobile terminal
In application program when being started first, described mobile terminal creates under the specified path of storage card the target literary composition of correspondence
Part;During described application program is used, obtain the use data of described application program, and by described application program
Data are used to store to described file destination;When detecting that described application program is reinstalled as quickly as possible, from described storage card
Described file destination under specified path obtains the use data of described application program;By the described application program that gets
Data are used to recover to described application program.
The mobile terminal of the embodiment of the present invention, when the application program detected in mobile terminal is started first, is moving
Terminal creates under the specified path of storage card the file destination of correspondence, and during application program is used, obtaining should
By the use data of program, and the use data of this application program are stored to file destination, when application program quilt being detected
When reinstalling, the file destination under specified path obtains from storage card the use data of application program, and will get
The use data of application program recover in application program.I.e. by the use data of application program are stored mobile terminal
Under the specified path of middle storage card, and when this application program is reinstalled as quickly as possible, by making of storing under the specified path of storage card
Return in this application program by data so that user all protects for some important informations, the use habit of this application program
Stay and return in this application program, it is to avoid causing unnecessary trouble and loss to user, improving the use body of user
Test.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially with easy to understand, wherein,
Fig. 1 is the flow chart of the control method of application data in mobile terminal according to an embodiment of the invention;
Fig. 2 is the flow process of the control method of application data in the mobile terminal according to one specific embodiment of the present invention
Figure;
Fig. 3 is the structural frames controlling device of application data in mobile terminal according to an embodiment of the invention
Figure;
Fig. 4 is the structure controlling device of application data in the mobile terminal according to one specific embodiment of the present invention
Block diagram;
Fig. 5 is the knot controlling device of application data in the mobile terminal according to another specific embodiment of the present invention
Structure block diagram;
Fig. 6 is the knot controlling device of application data in the mobile terminal according to another specific embodiment of the present invention
Structure block diagram.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish
Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the control method of application data, dress in mobile terminal according to embodiments of the present invention are described
Put and mobile terminal.
Fig. 1 is the flow chart of the control method of application data in mobile terminal according to an embodiment of the invention.
It should be noted that in an embodiment of the present invention, this mobile terminal can be mobile phone, panel computer, personal digital assistant etc.
There is the application program of various operating system.Such as, this operating system can be that Android Android operation system, IOS operate system
System or Windows Phone operating system etc..
As it is shown in figure 1, the control method of application data may include that in this mobile terminal
S110, when the application program detected in mobile terminal is started first, the appointment of storage card in the terminal
The file destination of correspondence is created under path.
Specifically, can detect whether that inputting the startup for the application program in mobile terminal operates, as when using in real time
When certain application program in mobile terminal is clicked at family, can detect that this user have input the startup for this application program and grasps
Make, now can determine whether whether this startup operation is to start first, the most then can the finger of storage card (i.e. SD card) in the terminal
Determining to create under path the file destination of correspondence, if judging, this startup operates not as starting first, then directly open according to startup operation
This application program dynamic.
For example, in one embodiment of the invention, create under the specified path of storage card in the terminal right
The process that implements of the file destination answered can be as follows: can first obtain the identification information of application program, and according to this identification information
The file destination corresponding with this identification information is created under the specified path of storage card.Wherein, in an embodiment of the present invention, should
Identification information can be general unique identifier (the Universally Unique of the title of this application program, application program
Identifier, referred to as UUID) etc..
Specifically, in an embodiment of the present invention, as the general unique identifier UUID that identification information is application program
Time, the process that implements of the identification information obtaining application program can be as follows: can be according to Institute of Electrical and Electric Engineers
(Institute of Electrical and Electronics Engineers, referred to as IEEE) machine identifier generates
The UUID of application program.
It is appreciated that general unique identifier UUID refers to the numeral generated on a machine, it is ensured that to same
The most aerial all machines are all unique.Wherein, Ethernet card can be used when generating this general unique identifier UUID
Address (such as MAC (Media Access Control, the media interviews control) address of mobile terminal), nsec, chip
ID code and other numerals many etc..
S120, during application program is used, obtains the use data of application program, and making application program
Store to file destination by data.
Wherein, in an embodiment of the present invention, these use data may include but be not limited to user and use the mistake of application program
Produced historical behavior data and preference information etc. in journey.For example, with application program for browser client application journey
As a example by sequence, these use data can include that user uses bookmark (i.e. collection) content created in this browser client, goes through
Records of the Historian record (as historical search word record, historical search result click on record, historical viewings record etc.);With application program for game
As a example by class application program, these use data can include user name that user generated when using this application program or account name, close
Code and user use the game level information etc. that this application program is recorded.
Specifically, during user uses this application program, can user in real use this application program time
Produced use data, and these use data are stored in the file destination that this application program is corresponding.
S130, when detecting that application program is reinstalled as quickly as possible, obtains in the file destination under specified path from storage card
Take the use data of application program.
It is appreciated that when user is after using a period of time to this application program, this application program is unloaded, reduces version
After basis or upgraded version, this application program can be unloaded by mobile terminal, and deletes the use corresponding to this application program
Information.Be further appreciated that when application program is unloaded will not by the information deletion in the storage card of mobile terminal, so this
Bright by data being used to be stored in the storage card of mobile terminal, in order to can be by this application when this application program is reinstalled as quickly as possible
The use data of program are supplied to user.It is to say, when detecting that this application program is reinstalled as quickly as possible, i.e. user again should
When application program is installed in mobile terminal, the file destination under specified path can obtain from storage card this application program
Use data.
Such as, the process that implements that whether detection application program is reinstalled as quickly as possible can be as follows: when this application journey being detected
When sequence is mounted and is activated, the general unique identifier UUID of this application program can be generated, and judge the UUID being currently generated
It was recorded the most in the terminal, the most then can determine that this application program was reinstalled as quickly as possible, if it is not, then can determine that this should
Install first by program.
Specifically, in an embodiment of the present invention, above-mentioned file destination from storage card under specified path obtains
The process that implements of the use data of application program can be as follows: can be first according to the mark letter of the application program being reinstalled as quickly as possible
Breath, it is judged that whether storage card exists under specified path correspondence file destination, if storage card exists under specified path right
The file destination answered, then generate information, and the information that will be prompted to is supplied to user, and wherein, information is used for indicating user
Whether recover the use data of application program, then, when receiving user's confirmation for information and instructing, from correspondence
File destination reads the use data of application program.
More specifically, when the identification information judgment storage card according to the application program being reinstalled as quickly as possible is deposited under specified path
When corresponding file destination, information can be generated, and this information is supplied to user with the form of dialog box, to carry
Show user's " this application program exists use data, if recover this use data ".User can choose whether according to oneself demand
Recover this use data, when receiving user's confirmation for this information and instructing, it is believed that this user needs to recover to be somebody's turn to do
Use data, now can read this use data from this file destination.
The use data of the application program got are recovered to application program by S140.
It is to say, after the use data getting this application program, these use data got can be recovered
Corresponding module in this application program, as being written in module corresponding with these use data in this application program.
The control method of application data in the mobile terminal of the embodiment of the present invention, the application in detection mobile terminal
When program is started first, under the specified path of storage card, create the file destination of correspondence in the terminal, and in application journey
During sequence is used, obtain the use data of application program, and the use data of this application program are stored to target literary composition
In part, when detecting that application program is reinstalled as quickly as possible, the file destination under specified path obtains from storage card application journey
The use data of sequence, and the use data of the application program got are recovered to application program.I.e. by by application program
Use data store in mobile terminal under the specified path of storage card, and when this application program is reinstalled as quickly as possible, will deposit
Under the specified path of card storage, the use data of storage return in this application program so that user is for some of this application program
Important information, use habit all retain and return in this application program, it is to avoid to user cause unnecessary trouble and
Loss, improves the experience of user.
Fig. 2 is the flow process of the control method of application data in the mobile terminal according to one specific embodiment of the present invention
Figure.
In order to as much as possible by complete the preserving of use data of application program, enable to allow the user can be by
Data are used to return in application program, in an embodiment of the present invention, during also can using application program user
Produced use data are saved in server so that there is not the use of this application program under the specified path of storage card
During data, these use data can be obtained from server.Specifically, as in figure 2 it is shown, application data in this mobile terminal
Control method may include that
S210, when the application program detected in mobile terminal is started first, the appointment of storage card in the terminal
The file destination of correspondence is created under path.
For example, in one embodiment of the invention, create under the specified path of storage card in the terminal right
The process that implements of the file destination answered can be as follows: can first obtain the identification information of application program, and according to this identification information
The file destination corresponding with this identification information is created under the specified path of storage card.Wherein, in an embodiment of the present invention, should
Identification information can be the general unique identifier UUID etc. of the title of this application program, application program.
Specifically, in an embodiment of the present invention, as the general unique identifier UUID that identification information is application program
Time, the process that implements of the identification information obtaining application program can be as follows: can be according to Institute of Electrical and Electric Engineers IEEE
Machine identifier generates the UUID of application program.
S220, during application program is used, obtains the use data of application program.
Wherein, in an embodiment of the present invention, these use data may include but be not limited to user and use the mistake of application program
Produced historical behavior data and preference information etc. in journey.
The use data of application program are stored to file destination by S230, and according to UUID by the use of application program
Data send to server and preserve.
Wherein, in an embodiment of the present invention, this UUID can be according to Institute of Electrical and Electric Engineers IEEE machine recognition
Code and generate.
It is to say, in getting application program using process after produced use data, by this use
Data store while preserving in the file destination that in storage card, this application program is corresponding, also can be according to this application program
UUID the use data of this application program are sent to server, server preserves corresponding the making of this UUID with UUID for dimension
Use data.
S240, when detecting that application program is reinstalled as quickly as possible, according to the identification information of the application program being reinstalled as quickly as possible,
Judge whether storage card exists under specified path the file destination of correspondence.
S250, if there is the file destination of correspondence in storage card under specified path, then generates information, and will be prompted to
Information is supplied to user, and wherein, information is for indicating whether user recovers the use data of application program.
S260, when receiving user's confirmation for information and instructing, reads application from corresponding file destination
The use data of program.
, if there is not the file destination of correspondence in storage card under specified path, then according to UUID from server in S270
Obtain the use data of this application program.
The use data of the application program got are recovered to application program by S280.
The control method of application data in the mobile terminal of the embodiment of the present invention, can will use application program user
Data are used to be saved in server produced by during to there is not this application journey under the specified path of storage card
During the use data of sequence, these use data can be obtained from server, such that it is able to as much as possible by the use of application program
Complete the preserving of data, enables to allow user can return in application program by using data, promotes user's
Experience.
Corresponding with the control method of application data in the mobile terminal that above-mentioned several embodiments provide, the present invention's
A kind of embodiment also provides for the control device of application data in a kind of mobile terminal, the shifting provided due to the embodiment of the present invention
In dynamic terminal, application data controls device and application data in the mobile terminal of above-mentioned several embodiments offer
Control method is corresponding, and therefore in aforementioned mobile terminal, the embodiment of the control method of application data is also applied for this
In the mobile terminal that embodiment provides, the control device of application data, is not described in detail in the present embodiment.Fig. 3 is root
According to the structured flowchart controlling device of application data in the mobile terminal of one embodiment of the invention.As it is shown on figure 3, this shifting
In dynamic terminal, the control device of application data may include that creation module the 100, first acquisition module 200, memory module
300, the second acquisition module 400 and recovery module 500.
Specifically, creation module 100 can be used for, when the application program detected in mobile terminal is started first, moving
Terminal creates under the specified path of storage card the file destination of correspondence.Specifically, in first embodiment of the invention, as
Shown in Fig. 4, this creation module 100 may include that the first acquiring unit 110 and creating unit 120.Wherein, the first acquiring unit
110 can be used for obtaining the identification information of application program.Creating unit 120 can be used for storing in the terminal according to identification information
The file destination corresponding with identification information is created under the specified path of card.
Wherein, in one embodiment of the invention, when this identification information is general unique identifier UUID, this first obtains
The process that implements taking the identification information that unit 110 obtains application program can be as follows: can assist according to Electrical and Electronic engineer
Meeting IEEE machine identifier generates the UUID of application program.
First acquisition module 200 can be used for during application program is used, and obtains the use data of application program.
Memory module 300 can be used for storing to file destination the use data of application program.
Second acquisition module 400 can be used for when detecting that application program is reinstalled as quickly as possible, specified path from storage card
Under file destination in obtain the use data of application program.
Specifically, in one embodiment of the invention, as it is shown in figure 5, this second acquisition module 400 comprises the steps that and sentences
Disconnected unit 410, signal generating unit 420, offer unit 430 and second acquisition unit 440.
Wherein, it is judged that unit 410 can be used for the identification information according to the application program being reinstalled as quickly as possible, it is judged that in storage card
The file destination of correspondence whether is there is under specified path.It is right that signal generating unit 420 can be used for existing under specified path in storage card
During the file destination answered, generating information, wherein, information is for indicating whether user recovers the use number of application program
According to.There is provided unit 430 to can be used for will be prompted to information and be supplied to user.Second acquisition unit 440 can be used for receiving user's pin
When the confirmation of information is instructed, from corresponding file destination, read the use data of application program.
Recover module 500 to can be used for recovering to application program the use data of the application program got.
In order to as much as possible by complete the preserving of use data of application program, enable to allow the user can be by
Data are used to return in application program, further, in one embodiment of the invention, as shown in Figure 6, this control device
May also include that sending module 600.Wherein, sending module 600 can be used for obtaining making of application program at the first acquisition module 200
After data, according to UUID, the use data transmission of application program to server and is preserved.
Wherein, in an embodiment of the present invention, the second acquisition module 400 can be additionally used in storage card under specified path not
When there is corresponding file destination, from server, obtain the use data of application program according to UUID.
The control device of application data in the mobile terminal of the embodiment of the present invention, can be moved in detection by creation module
When application program is started first in dynamic terminal, under the specified path of storage card, create the target literary composition of correspondence in the terminal
Part, the first acquisition module, during application program is used, obtains the use data of application program, and memory module will application
The use data of program store to file destination, and the second acquisition module is when detecting that application program is reinstalled as quickly as possible, from depositing
Card storage obtains in the file destination under specified path the use data of application program, recovers the application program that module will get
Use data recover in application program.I.e. by the use data of application program are stored storage card in mobile terminal
Under specified path, and when this application program is reinstalled as quickly as possible, the use data of storage under the specified path of storage card are recovered
In this application program so that user all retains for some important informations, the use habit of this application program and returns to
In this application program, it is to avoid cause unnecessary trouble and loss to user, improve the experience of user.
In order to realize above-described embodiment, the invention allows for a kind of mobile terminal, real including any of the above-described of the present invention
Execute the control device of application data in the mobile terminal described in example.
The mobile terminal of the embodiment of the present invention, can apply in detection mobile terminal by controlling the creation module in device
When program is started first, creating the file destination of correspondence in the terminal under the specified path of storage card, first obtains mould
Block, during application program is used, obtains the use data of application program, and memory module is by the use number of application program
According to storing to file destination, the second acquisition module when detecting that application program is reinstalled as quickly as possible, specified circuit from storage card
File destination under footpath obtains the use data of application program, recovers module by extensive for the use data of the application program got
Answer to application program.I.e. by the use data of application program are stored in mobile terminal under the specified path of storage card,
And when this application program is reinstalled as quickly as possible, the use data of storage under the specified path of storage card are returned to this application program
In so that user all retains for some important informations, the use habit of this application program and returns in this application program,
Avoid causing unnecessary trouble and loss to user, improve the experience of user.
In order to realize above-described embodiment, the invention allows for another kind of mobile terminal, including: housing, processor, storage
Device, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and
Described memorizer is arranged on described circuit board;Described power circuit, is used for each circuit for described mobile terminal or device
Power supply;Described memorizer is used for storing executable program code;Described processor can by store in the described memorizer of reading
Perform program code and run the program corresponding with described executable program code, for performing following steps:
S110 ', when the application program detected in mobile terminal is started first, the appointment of storage card in the terminal
The file destination of correspondence is created under path.
S120 ', during application program is used, obtains the use data of application program, and by application program
Data are used to store to file destination.
S130 ', when detecting that application program is reinstalled as quickly as possible, obtains in the file destination under specified path from storage card
Take the use data of application program.
The use data of the application program got are recovered to application program by S140 '.
The mobile terminal of the embodiment of the present invention, when the application program detected in mobile terminal is started first, is moving
Terminal creates under the specified path of storage card the file destination of correspondence, and during application program is used, obtaining should
By the use data of program, and the use data of this application program are stored to file destination, when application program quilt being detected
When reinstalling, the file destination under specified path obtains from storage card the use data of application program, and will get
The use data of application program recover in application program.I.e. by the use data of application program are stored mobile terminal
Under the specified path of middle storage card, and when this application program is reinstalled as quickly as possible, by making of storing under the specified path of storage card
Return in this application program by data so that user all protects for some important informations, the use habit of this application program
Stay and return in this application program, it is to avoid causing unnecessary trouble and loss to user, improving the use body of user
Test.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not
It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the
One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office
One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel
Close and combination.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage
Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould
Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as
When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention
System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention
Type.
Claims (10)
1. the control method of application data in a mobile terminal, it is characterised in that comprise the following steps:
When the application program detected in mobile terminal is started first, in described mobile terminal under the specified path of storage card
Create corresponding file destination;
During described application program is used, obtain the use data of described application program, and by described application program
Use data store to described file destination;
When detecting that described application program is reinstalled as quickly as possible, from described storage card in the described file destination under specified path
Obtain the use data of described application program;
The use data of the described application program got are recovered to described application program.
2. the method for claim 1, it is characterised in that create under the specified path of described storage card in the terminal
Corresponding file destination, including:
Obtain the identification information of described application program, and according to the appointment of storage card in described mobile terminal of described identification information
The file destination corresponding with described identification information is created under path.
3. method as claimed in claim 2, it is characterised in that described described target from described storage card under specified path
File obtains the use data of described application program, including:
Identification information according to the described application program being reinstalled as quickly as possible, it is judged that whether exist under specified path in described storage card
Corresponding file destination;
If described storage card exists under specified path the file destination of correspondence, then generate information, and by described prompting
Information is supplied to user, and wherein, described information is for indicating whether user recovers the use data of described application program;
When receiving the described user confirmation for described information and instructing, from the file destination of described correspondence, read institute
State the use data of application program.
4. method as claimed in claim 2, it is characterised in that described identification information is general unique identifier UUID, described
Obtain the identification information of described application program, including:
The UUID of described application program is generated according to Institute of Electrical and Electric Engineers IEEE machine identifier.
5. method as claimed in claim 4, it is characterised in that after the use data of the described application program of described acquisition,
Described method also includes:
According to described UUID, the use data transmission of described application program to server and is preserved;
Described detect that described application program is reinstalled as quickly as possible time, described method also includes:
If described storage card not existing the file destination of correspondence, then according to described UUID from described server under specified path
The use data of the described application program of middle acquisition.
6. the method as according to any one of claim 1 to 5, it is characterised in that wherein, described use data include that user makes
By historical behavior data produced during described application program and preference information.
7. the control device of application data in a mobile terminal, it is characterised in that including:
Creation module, when the application program in detecting mobile terminal is started first, stores in described mobile terminal
The file destination of correspondence is created under the specified path of card;
First acquisition module, for during described application program is used, obtains the use data of described application program;
Memory module, for storing the use data of described application program to described file destination;
Second acquisition module, is used for when detecting that described application program is reinstalled as quickly as possible, specified path from described storage card
Under described file destination in obtain the use data of described application program;
Recovering module, the use data of the described application program for getting are recovered to described application program.
8. device as claimed in claim 7, it is characterised in that described creation module includes:
First acquiring unit, for obtaining the identification information of described application program;
Creating unit, for creating with described under the specified path of storage card in described mobile terminal according to described identification information
The file destination that identification information is corresponding.
9. a mobile terminal, it is characterised in that including: apply in the mobile terminal as according to any one of claim 7 to 8
The control device of routine data.
10. a mobile terminal, it is characterised in that including: housing, processor, memorizer, circuit board and power circuit, wherein,
Described circuit board is placed in the interior volume that described housing surrounds, described processor and described memorizer and is arranged on described circuit board
On;Described power circuit, powers for each circuit or the device for described mobile terminal;Described memorizer is used for storing can be held
Line program code;Described processor is run by the executable program code of storage in the described memorizer of reading and holds with described
The program that line program code is corresponding, for performing following steps:
When the application program detected in mobile terminal is started first, in described mobile terminal under the specified path of storage card
Create corresponding file destination;
During described application program is used, obtain the use data of described application program, and by described application program
Use data store to described file destination;
When detecting that described application program is reinstalled as quickly as possible, from described storage card in the described file destination under specified path
Obtain the use data of described application program;
The use data of the described application program got are recovered to described application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610431677.XA CN106126275A (en) | 2016-06-16 | 2016-06-16 | Control method and device for application program data in mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610431677.XA CN106126275A (en) | 2016-06-16 | 2016-06-16 | Control method and device for application program data in mobile terminal and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106126275A true CN106126275A (en) | 2016-11-16 |
Family
ID=57469778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610431677.XA Pending CN106126275A (en) | 2016-06-16 | 2016-06-16 | Control method and device for application program data in mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126275A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107817980A (en) * | 2017-10-31 | 2018-03-20 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer-readable storage medium |
CN111221985A (en) * | 2019-11-14 | 2020-06-02 | 网易(杭州)网络有限公司 | Data processing method and device based on operating system |
CN112306411A (en) * | 2020-10-29 | 2021-02-02 | 西安万像电子科技有限公司 | Data storage method and device, nonvolatile storage medium and processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN104123199A (en) * | 2014-07-03 | 2014-10-29 | 可牛网络技术(北京)有限公司 | Method and device for recovering application program and mobile terminal |
CN105320578A (en) * | 2015-11-09 | 2016-02-10 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for backing up and recovering APP |
-
2016
- 2016-06-16 CN CN201610431677.XA patent/CN106126275A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN104123199A (en) * | 2014-07-03 | 2014-10-29 | 可牛网络技术(北京)有限公司 | Method and device for recovering application program and mobile terminal |
CN105320578A (en) * | 2015-11-09 | 2016-02-10 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for backing up and recovering APP |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107817980A (en) * | 2017-10-31 | 2018-03-20 | 努比亚技术有限公司 | A kind of data processing method, terminal and computer-readable storage medium |
CN111221985A (en) * | 2019-11-14 | 2020-06-02 | 网易(杭州)网络有限公司 | Data processing method and device based on operating system |
CN111221985B (en) * | 2019-11-14 | 2024-04-12 | 网易(杭州)网络有限公司 | Data processing method and device based on operating system |
CN112306411A (en) * | 2020-10-29 | 2021-02-02 | 西安万像电子科技有限公司 | Data storage method and device, nonvolatile storage medium and processor |
CN112306411B (en) * | 2020-10-29 | 2023-08-25 | 西安万像电子科技有限公司 | Data storage method and device, nonvolatile storage medium and processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126274A (en) | Control method and device for application program data in mobile terminal and mobile terminal | |
CN107870798A (en) | The page layout processing method and terminal of application program | |
US8276078B2 (en) | Image display apparatus and image display method | |
CN103440304A (en) | Method and device for storing picture | |
CN106776078A (en) | Clipboard content processing method and device and terminal equipment | |
CN109491708A (en) | Document structure tree method, system, equipment and medium | |
CN106227494A (en) | A kind of application operating method and terminal | |
CN106126275A (en) | Control method and device for application program data in mobile terminal and mobile terminal | |
CN107957837A (en) | Shortcut generation method, device and the terminal device of Web page application program | |
CN104731446A (en) | Hint-based spot healing techniques | |
CN110659197B (en) | Application test case generation method and device and software test system | |
CN106681698A (en) | Dynamic list generating method and device | |
CN103109264A (en) | Creating a configuration file template | |
US20090187892A1 (en) | Apparatus and program for test case generation | |
CN108733797A (en) | Document handling method and relevant apparatus | |
CN109582882A (en) | Search result shows method, apparatus and electronic equipment | |
CN106231197A (en) | Video shooting control method and device and electronic equipment | |
CN104375814A (en) | Generation method and device of an interface document | |
CN107291486A (en) | The installation method and device of a kind of operating system | |
CN105956172B (en) | The storage method and device of log information | |
CN109558187A (en) | A kind of user interface rendering method and device | |
CN103294578B (en) | Method for obtaining instruction of triggering function | |
CN110188327B (en) | Method and device for removing spoken language of text | |
CN113590564B (en) | Data storage method, device, electronic equipment and storage medium | |
CN110704592B (en) | Statement analysis processing method and device, computer equipment and storage medium |
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: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |