CN106648459B - A kind of data managing method of application, device and mobile terminal - Google Patents
A kind of data managing method of application, device and mobile terminal Download PDFInfo
- Publication number
- CN106648459B CN106648459B CN201610887141.9A CN201610887141A CN106648459B CN 106648459 B CN106648459 B CN 106648459B CN 201610887141 A CN201610887141 A CN 201610887141A CN 106648459 B CN106648459 B CN 106648459B
- Authority
- CN
- China
- Prior art keywords
- application
- user
- data
- under
- main
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000013500 data storage Methods 0.000 claims abstract description 78
- 238000012217 deletion Methods 0.000 claims description 13
- 230000037430 deletion Effects 0.000 claims description 13
- 238000013523 data management Methods 0.000 description 23
- 238000007726 management method Methods 0.000 description 13
- 230000007246 mechanism Effects 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000009434 installation Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- 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/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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/0635—Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of data managing method of application, device and mobile terminals.Open set of applications the described method includes: obtaining, wherein the set of applications of opening include the main application of attending to anything else applied with the main application more more;Receive user under the primary user of present terminal to it is main application and/or the main application application of attending to anything else data manipulation instruction;Respective operations are carried out to the data under corresponding data storage path according to the data manipulation instruction;Wherein, the main application is mounted under the primary user, the first data storage path under corresponding primary user;It is described to attend to anything else using being mounted under user, correspond to the second data storage path under user.Technical solution provided in an embodiment of the present invention, the data of main application and application of attending to anything else in the prior art are avoided to store to caused using the unstable of data under the same user, the data and administrative skill for optimizing existing application, improve the stability using data.
Description
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a data management method and device for an application and a mobile terminal.
Background
With the development of terminal technology, the types and forms of applications on mobile terminals are increasing, and many applications become an indispensable part of people's life, work and entertainment, so that better experience is brought to users. The various demands of the user on the application are increasing, for example, multiple identical applications are started on the same mobile terminal, specifically, for example, two wechat applications are started on the mobile terminal to log in two wechat account numbers.
In the prior art, two versions of wechat applications are created under one user of a mobile terminal to realize the operation of two wechat in the mobile terminal, specifically, two wechat icons are created on a desktop to enable the user to log in two wechat account numbers, and data of the two wechat applications are stored under a user path, which may cause mutual influence on the operation of the data of the two wechat applications and cause instability of application data.
Disclosure of Invention
The embodiment of the invention provides an application control method, an application control device and a mobile terminal, which aim to optimize the existing application data management technology and improve the stability of application data.
In a first aspect, an embodiment of the present invention provides an application data management method, including:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
receiving a data operation instruction of a user to the main application and/or the self-body application under a main user of a current terminal;
performing corresponding operation on the data under the corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
In a second aspect, an embodiment of the present invention provides an apparatus for managing data of an application, including:
the system comprises a multi-open application set acquisition module, a multi-open application set acquisition module and a multi-open application set acquisition module, wherein the multi-open application set comprises a main application and a body-divided application of the main application;
the data operation instruction receiving module is used for receiving a data operation instruction of a user to the main application and/or the body-divided application under a main user of the current terminal;
the data operation module is used for carrying out corresponding operation on the data under the corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
In a third aspect, an embodiment of the present invention provides a mobile terminal incorporating the apparatus as provided in the second aspect.
According to the embodiment of the invention, the first data storage path under the master user is established for the master application installed under the master user, the second data storage path under the slave user is established for the body-divided application installed under the slave user, and when the data operation instruction of the master application and/or the body-divided application of the master application under the master user of the current terminal is received, the corresponding operation is carried out on the data under the corresponding data storage path according to the data operation instruction, so that the instability of the application data caused by the fact that the data of the master application and the body-divided application are stored in the same user in the prior art is avoided, the data and management technology of the prior application is optimized, and the stability of the application data is improved.
Drawings
Fig. 1 is a flowchart of a data management method for an application according to an embodiment of the present invention;
FIG. 2 is a flowchart of another data management method for an application according to an embodiment of the present invention;
FIG. 3 is a flowchart of another data management method for an application according to an embodiment of the present invention;
FIG. 4 is a flowchart of a data management method for another application according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data management apparatus for an application according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a data management method for an application according to an embodiment of the present invention, where the method of this embodiment may be performed by a data management apparatus for an application, the apparatus may be implemented by hardware and/or software, and the apparatus may be disposed inside a mobile terminal as a part of the mobile terminal.
As shown in fig. 1, the data management method for an application provided in this embodiment specifically includes the following steps:
step 101, acquiring a multi-open application set.
Wherein the multi-open application set comprises a main application and a split application of the main application.
Optionally, when the user establishes the body-separated application for a certain application in the terminal, the original application is called a main application, and the established body-separated application is called a body-separated application of the main application. Multiple split applications can be generated from one master application, with different split applications of the same master application being sibling applications. The terminal described in this embodiment includes, but is not limited to, a mobile phone, a watch, a tablet computer, and a smart television.
The multi-open application set comprises a main application and at least one body-separated application of the main application. Illustratively, after the first of the divided applications a1 of the master application a is established, the master application a and the divided application a1 form a multi-open application set. After a second body-separated application a2 of the main application is established according to the main application a or the body-separated application a1, the main application a, the body-separated application a1 and the body-separated application a2 form a multi-open application set, wherein the body-separated application a1 and the body-separated application a2 are sibling applications.
Preferably, the multiple application sets in this embodiment are implemented based on a multi-user mechanism, where the multi-user mechanism may specifically include a multi-user mechanism supported by an operating system in the mobile terminal, such as a multi-user mechanism of an Android (Android) system and a multi-user mechanism of a Windows (WP) operating system of a mobile Phone.
The multi-open application set is realized based on a multi-user mechanism and comprises a main application and all the split applications corresponding to the main application.
Specifically, the implementation of the multiple open application set based on the multi-user mechanism may include the following: the main application is installed under a main user, the body-separated application is installed under a slave user, and the main user comprises an access port for operating the body-separated application.
In one embodiment, the multi-user implementation mechanism of the present application includes the following logic:
1. multi-user management
a) The system defaults to have a master user, and the master user can create other new users (slave users) and delete and manage the new users;
b) common users (non-master users) and guest users, which may be collectively referred to as slave users;
c) the default master user id (identity Identification) is 0, and other newly added user ids are increased one by one from 10;
d) when the user is switched, a series of interface switching such as desktop reloading and the like can be realized;
e) the master user can limit the authorities of other users whether to be capable of making and receiving calls, short messages and the like.
For multi-user management, the slave users can be managed through the master user, the slave users comprise creation, deletion, authority setting and the like of the slave users, ID setting starts from the master user, the IDs of the new slave users are added in sequence and overlapped, and a series of interfaces such as desktops of the corresponding users are reloaded when the users are switched.
2. Multi-user installation, uninstallation applications
a) The default installed application can be installed to all created users, and application icons can be seen on desktops of other users;
b) the application installed in the master user is managed through the file, the application cannot be installed to other users, and the application icons cannot be seen on desktops of other users;
c) the system can specify userid (user identity) when installing and uninstalling the application, specify the application to be installed to a specified user, or uninstall the application at a specified user. Applications may also be installed for all users, or uninstalled.
d) When the user A unloads the application B, the application B still exists for other users, the application icon can be seen on the desktop, and the application B can be normally used on other users.
For multi-user installation and uninstallation of applications, the default installed applications are installed to all the created users (including a master user and a slave user), and application icons are generated on desktops of the users; the application installed through file management under the master user is only installed under the master user, and an application icon is generated on the desktop of the master user and is not installed under the slave user; the application installation/uninstallation can also be based on the user's specification of the user, and the user specifies the application installation/uninstallation in the master user and the slave user by specifying the user identity under a certain user, some users or all users; the same application is unloaded independently under each user, and the application of a certain user is unloaded without influencing the use of the application of other users.
3. User data management
a) User id directory related to system data: various system data stores corresponding to the users are stored, such as: desktop widget lists, setup databases, default application start policies, and the like.
b) User id directory related to application package data: and storing the application package catalog correspondingly installed by the user, and if the application operation generates data, storing the application data in the catalog.
c) System SD Card (Secure Digital Memory Card) catalog: it is not the same that each subscriber sees its sdcard directory, but only its sdcard directory.
For user data management, under a multi-user implementation mechanism, system data and application related data under each user are respectively stored under different data storage paths, for example, various system data under a certain user are stored under a specified first data storage path, and application related data such as an installed application package directory and application data generated by application operation are stored under a specified second data storage path; the data storage of each user is independent, and each user can only view own stored data, such as an own sdcard directory.
4. User rights management
a) After installation, the application applies various permissions (e.g.: read and store the catalogue authority, read and write the message authority, open the camera authority, etc.), will be divided into two parts, one part is insensitive to the authority, while employing and installing, the system allows the application to obtain the authority directly; some sensitive dangerous authorities, such as read-write short message authorities, prompt the user whether the application is allowed to obtain the authority or not when the application is used.
b) The system is independent and isolated for the authority of the same application at different users, the basic insensitive authority obtained by one application is directly obtained in each user after installation, and the partial sensitive dangerous authority is independent. For example: when the user 0 opens the WeChat, if the permission of reading and writing the short message is obtained, the system prompts whether the user allows the WeChat or not when the user 10 is switched to, and the user 0 does not need to be reminded because the WeChat obtains the permission. The same applies to other users.
For user authority management, when a certain user installs an application, an insensitive authority can directly obtain permission, and the sensitive authority needs to be obtained by permission of the user; under different users, the permission configurations of the same application are independent and isolated, and when the users switch, the sensitive permission of the application used for the first time needs to prompt the users whether to be entitled.
The mobile terminal user can realize the operation of the main application in the main user and can also operate the corresponding personal application in the main user through the access port. It can be understood that the same master application may correspond to a plurality of separate applications, and each separate application is installed in a different slave user, so that each separate application is respectively operated in different slave users, and does not interfere with each other in the operation process.
Compared with a third-party multi-open helper software, the method has the advantages that the third-party software is prevented from pushing advertisements and stealing user privacy data, and the security is higher; compared with the scheme that the main application and the split application are operated under the same user, the method reduces the process interference between different split applications or main applications under the same user, and avoids the function loss phenomenon caused by a complex operation environment.
And 102, receiving a data operation instruction of a user to a main application and/or an individual application in the multi-open application set under a main user of the current terminal.
The data operation instruction of the user to the main application and/or the body-separated application of the main application under the main user of the current terminal may specifically be: and the user operates the data of the main application icon and/or the body-divided application icon under the main user of the current terminal, or operates the data of the main application man-machine interaction interface and/or the body-divided application man-machine interaction interface.
Wherein the operation comprises saving, modifying or deleting.
And 103, performing corresponding operation on the data under the corresponding data storage path according to the data operation instruction. The main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
Illustratively, when a first divided-body application is created at the terminal, the system may create a new user through the multi-user service usermanagervice, assign a user identification userId of u10 to the new user, and create a second data storage path data/user/u10 under the current new user, and assuming that the application is trusted, the system may create the second data storage path data/user/u10/weixin for the divided body to store operation data of the divided-body application during running.
According to the data management method for the application, the first data storage path under the master user is established for the master application installed under the master user, the second data storage path under the slave user is established for the sub-body application installed under the slave user, and when a data operation instruction of the user for the master application and/or the sub-body application of the master application under the master user of the current terminal is received, corresponding operation is performed on data under the corresponding data storage path according to the data operation instruction, so that instability of application data caused by the fact that data of the master application and the sub-body application are stored under the same user in the prior art is avoided, the data and management technology of the prior application are optimized, and the stability of the application data is improved.
In addition, according to the technical scheme provided by the embodiment of the invention, the data of the main application and/or the personal application are operated and managed under the main user, users do not need to be switched, and the data under different user space data storage paths can be freely accessed when different accounts are logged under the main user (an account under the main application or an account under the personal application).
On the basis of the technical scheme, the method further comprises the following steps: and generating an access port of the body-splitting application under the main user so as to receive the operation of the body-splitting application performed by the user through the access port under the main user.
Further, the generating an access port of the personal application under the master user includes: and generating an access port of the body-divided application in a mode of a floating window, a popup frame, a task manager, an application list, a sharing link and a notification center under the main user or a newly-built body-divided application icon.
On the basis of the technical scheme, the method further comprises the following steps: and when detecting that the data of the main application changes, synchronously changing the related data of the separate application.
On the basis of the above embodiment, the method may further include: when a deletion instruction of the main application is detected, deleting all data in the first data storage path and the second data storage path; and when a deletion instruction of the self-body-separating application is detected, deleting all data in the second data storage path.
Fig. 2 is a flowchart of another data management method for an application according to an embodiment of the present invention. The present embodiment is optimized based on the above embodiments. In the present embodiment, "acquire multiple open application sets" is optimized.
Correspondingly, as shown in fig. 2, the method provided by the embodiment includes the following steps:
step 201, installing a master application in a multi-open application set under a master user of a current terminal and creating a first data storage path under the master user, and simultaneously installing a self-body application in the multi-open application set under a slave user and creating a second data storage path under the slave user. Wherein the multi-open application set comprises a main application and a split application of the main application.
Specifically, assuming that a default user of the mobile terminal is a master user, the user stores an installation package (APK) file abc.apk of application ABC in the mobile terminal by downloading from an application store or copying from other sources under the master user, and after the system installs abc.apk under the master user, the master user desktop generates an icon of the master application abc.apk, and at the same time, installs abc.apk under the slave user (if no slave user exists currently, a slave user can be created, and the creation process is completed in a situation that the user cannot perceive and does not need to set an account and a password by the user) existing in the current terminal to obtain a split application, and in order to distinguish the master application from the split application, an identifier (assumed to be *) can be added to the newly installed split application, the split application can be marked as ABC *, when the ABC * is successfully installed, a notification of "installation success" (identifier * is also added to the master user), and after the desktop under the master user receives the notification, an icon 56 is generated, and the abc.a process corresponding slave user is clicked to the slave user, and the abc.5929 is also designated as a slave user.
In addition, the separate application can be respectively installed under one slave user or a plurality of slave users of the current terminal according to requirements.
Step 202, receiving a data operation instruction of a user to the main application and/or the self-service application under a main user of a current terminal.
And 203, performing corresponding operation on the data in the corresponding data storage path according to the data operation instruction.
According to the method provided by the embodiment, the main application is installed under the main user of the current terminal, the first data storage path under the main user is created, the sub-application of the main application is installed under the sub-user, the second data storage path under the sub-user is created, and when the data operation instruction of the main application and/or the sub-application of the main application under the main user of the current terminal is received, the data under the corresponding data storage path is correspondingly operated according to the data operation instruction, so that the instability of the application data caused by the fact that the data of the main application and the sub-application are stored under the same user in the prior art is avoided, the data and management technology of the existing application is optimized, and the stability of the application data is improved.
Fig. 3 is a flowchart of a data management method for another application according to an embodiment of the present invention. The embodiment performs optimization based on the above embodiment, and performs optimization on "acquiring multiple open application sets".
Correspondingly, as shown in fig. 3, the method for controlling an application provided in this embodiment includes the following steps:
step 301, installing a master application in a multi-open application set under a master user of a current terminal and creating a first data storage path under the master user, and installing the self-owned application under the slave user and creating a second data storage path under the slave user when a creation instruction of the self-owned application in the multi-open application set is detected under the master user.
For example, when an avatar application creation instruction generated by pressing and dragging the home application icon by the user is detected under the host user, the avatar application is obtained by installing abc.apk under the user, and further, an avatar application icon with an identifier * is created on the desktop of the host user, which is different from the home application icon.
Step 302, receiving a data operation instruction of a user to the main application and/or the self-service application under a main user of a current terminal.
And 303, performing corresponding operation on the data in the corresponding data storage path according to the data operation instruction.
According to the method provided by the embodiment, the main application is installed under the main user of the current terminal, the first data storage path under the main user is created, when the creation instruction of the sub-application of the main application is detected under the main user, the sub-application is installed under the sub-user, the second data storage path under the sub-user is created, when the data operation instruction of the main application and/or the sub-application of the main application under the main user of the current terminal is received, the corresponding operation is performed on the data under the corresponding data storage path according to the data operation instruction, the instability of the application data caused by the fact that the data of the main application and the sub-application are stored to the same user in the prior art is avoided, the data and management technology of the existing application are optimized, and the stability of the application data is improved.
On the basis of the above technical solution, the step 301 may specifically include: when a creation instruction of a self-body application in the multi-open application set is detected by the master user, determining whether a slave user which does not install the self-body application exists in a current terminal; if the self-body-divided application exists, the self-body-divided application is installed under the slave user which does not install the self-body-divided application; and if the application does not exist, establishing a new slave user, and installing the self-body-splitting application under the new slave user.
Fig. 4 is a flowchart of a data management method for an application according to an embodiment of the present invention. In this embodiment, the optimization is performed based on the above embodiment, and in this embodiment, "perform corresponding operation on data in a corresponding data storage path according to the data operation instruction" is optimized as follows: performing corresponding operation on the data in the first data storage path according to a data operation instruction of a user to a main application under a main user; and/or performing corresponding operation on the data in the second data storage path according to a data operation instruction applied to the self by the user under the main user.
Correspondingly, as shown in fig. 4, the method provided by the embodiment includes the following steps:
step 401, acquiring a multi-open application set.
Wherein the multi-open application set comprises a main application and a split application of the main application.
Step 402, receiving a data operation instruction of a user to a main application and/or an individual application in a multi-open application set under a main user of a current terminal.
Step 403, performing corresponding operation on the data in the first data storage path according to a data operation instruction of a user on a master application under a master user; and/or performing corresponding operation on the data in the second data storage path according to a data operation instruction applied to the self by the user under the main user. The main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
According to the embodiment, the operation of storing, deleting or modifying the data of the self-service application by the cross-user is realized, the terminal can manage the self-service application data under the master user without switching the user, and the management of the application data is more convenient and visual.
Fig. 5 is a block diagram of a data management apparatus for an application according to an embodiment of the present invention, which may be implemented by software and/or hardware and is generally integrated in a mobile terminal. As shown in fig. 5, the apparatus includes a multiple-open application set acquisition module 51, a data operation instruction receiving module 52, and a data operation module 53.
A multiple open application set obtaining module 51, configured to obtain a multiple open application set, where the multiple open application set includes a main application and an individual application of the main application;
the data operation instruction receiving module 52 is configured to receive a data operation instruction of a user to a main application and/or an individual application of the main application under a main user of a current terminal;
the data operation module 53 is configured to perform corresponding operation on data in a corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
According to the technical scheme provided by the embodiment, the first data storage path under the master user is established for the master application installed under the master user, the second data storage path under the slave user is established for the sub-user installed under the slave user, and when the data operation instruction of the master application and/or the sub-user of the master application under the master user of the current terminal is received, the data under the corresponding data storage path is correspondingly operated according to the data operation instruction, so that the instability of the application data caused by the fact that the data of the master application and the data of the sub-user are stored in the same user in the prior art is avoided, the data and management technology of the prior application is optimized, and the stability of the application data is improved.
On the basis of the foregoing embodiment, the multiple-open application set acquisition module is specifically configured to:
installing a main application in a multi-open application set under a main user of a current terminal, and simultaneously installing a split application in the multi-open application set under a slave user; or,
the method comprises the steps of installing a main application in a multi-open application set under a main user of a current terminal, and installing a body-divided application under a slave user when a creation instruction of the body-divided application in the multi-open application set is detected under the main user.
On the basis of the above embodiment, when the multi-open application set acquisition module detects a creation instruction of a separate application in the multi-open application set under the master user, specifically, installing the separate application under the slave user is:
when a creation instruction of a self-body application in the multi-open application set is detected by the master user, determining whether a slave user which does not install the self-body application exists in a current terminal;
if the self-body-divided application exists, the self-body-divided application is installed under the slave user which does not install the self-body-divided application;
and if the application does not exist, establishing a new slave user, and installing the self-body-splitting application under the new slave user.
On the basis of the above embodiment, the data operation module is specifically configured to:
performing corresponding operation on the data under the first data storage path according to a data operation instruction of a user on the main application under the main user; and/or the presence of a gas in the gas,
and performing corresponding operation on the data in the second data storage path according to a data operation instruction of the user for the self-service application under the main user.
On the basis of the above embodiments, the operation includes saving, modifying, or deleting.
On the basis of the above embodiment, the method further includes:
and the data synchronization module is used for synchronously changing the related data of the self-body-splitting application when detecting that the data of the main application changes.
On the basis of the above embodiment, the system further includes an application deletion module, where the application deletion module is specifically configured to:
when a deletion instruction of the main application is detected, deleting all data in the first data storage path and the second data storage path;
and when a deletion instruction of the self-body-separating application is detected, deleting all data in the second data storage path.
The data management device of the application provided by the embodiment of the invention can execute the data management method of the application provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
The embodiment also provides a mobile terminal, and the mobile terminal can comprise the data management device of the application provided by the embodiment of the invention. Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 6, the mobile terminal may include: memory 601, a Central Processing Unit (CPU) 602, peripheral interfaces 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, a power management chip 608, an input/output (I/O) subsystem 609, a touch screen 612, other input/control devices 610, and an external port 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated mobile terminal 600 is merely one example of a mobile terminal and that the mobile terminal 600 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a mobile terminal for managing application data provided in this embodiment, where the mobile terminal is a smart phone as an example.
A memory 601, the memory 601 being accessible by the CPU602, the peripheral interface 603, and the like, the memory 601 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU502 and the memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 612, which touch screen 612 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 605 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 605 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 605 into sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface 603.
The CPU602 provided in the embodiment of the present invention can perform the following operations:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
receiving a data operation instruction of a user to the main application and/or the self-body application under a main user of a current terminal;
performing corresponding operation on the data under the corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under the slave user and corresponds to the second data storage path under the slave user.
The mobile terminal can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the above embodiments, reference may be made to the data management method of the application provided in the embodiments of the present invention.
The foregoing is considered as illustrative of the preferred embodiments of the invention and technical principles employed. The present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in more detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the claims.
Claims (15)
1. A method for managing data of an application, comprising:
acquiring a multi-open application set, wherein the multi-open application set comprises a main application and a body-separated application of the main application;
receiving a data operation instruction of a user to the main application and/or the self-body application under a main user of a current terminal;
performing corresponding operation on the data under the corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under a slave user and corresponds to a second data storage path under the slave user;
the master user comprises an access port for operating the split application.
2. The method of claim 1, wherein obtaining the set of applications comprises:
installing a main application in a multi-open application set under a main user of a current terminal, and simultaneously installing a split application in the multi-open application set under a slave user; or,
the method comprises the steps of installing a main application in a multi-open application set under a main user of a current terminal, and installing a body-divided application under a slave user when a creation instruction of the body-divided application in the multi-open application set is detected under the main user.
3. The method according to claim 2, wherein, when a creation instruction of an avatar application in the multi-open application set is detected under the master user, installing the avatar application under the slave user comprises:
when a creation instruction of a self-body application in the multi-open application set is detected by the master user, determining whether a slave user which does not install the self-body application exists in a current terminal;
if the self-body-divided application exists, the self-body-divided application is installed under the slave user which does not install the self-body-divided application;
and if the application does not exist, establishing a new slave user, and installing the self-body-splitting application under the new slave user.
4. The method according to claim 1, wherein the performing the corresponding operation on the data in the corresponding data storage path according to the data operation instruction comprises:
performing corresponding operation on the data under the first data storage path according to a data operation instruction of a user on the main application under the main user; and/or the presence of a gas in the gas,
and performing corresponding operation on the data in the second data storage path according to a data operation instruction of the user for the self-service application under the main user.
5. The method of any of claims 1-4, wherein the operation comprises saving, modifying, or deleting.
6. The method of claim 1, further comprising:
and when detecting that the data of the main application changes, synchronously changing the related data of the separate application.
7. The method of claim 1, further comprising:
when a deletion instruction of the main application is detected, deleting all data in the first data storage path and the second data storage path;
and when a deletion instruction of the self-body-separating application is detected, deleting all data in the second data storage path.
8. An apparatus for managing data of an application, comprising:
the system comprises a multi-open application set acquisition module, a multi-open application set acquisition module and a multi-open application set acquisition module, wherein the multi-open application set comprises a main application and a body-divided application of the main application;
the data operation instruction receiving module is used for receiving a data operation instruction of a user to the main application and/or the body-divided application under a main user of the current terminal;
the data operation module is used for carrying out corresponding operation on the data under the corresponding data storage path according to the data operation instruction;
the main application is installed under the main user and corresponds to a first data storage path under the main user; the self-body-separating application is installed under a slave user and corresponds to a second data storage path under the slave user;
the master user comprises an access port for operating the split application.
9. The apparatus of claim 8, wherein the multiple open application set obtaining module is specifically configured to:
installing a main application in a multi-open application set under a main user of a current terminal, and simultaneously installing a split application in the multi-open application set under a slave user; or,
the method comprises the steps of installing a main application in a multi-open application set under a main user of a current terminal, and installing a body-divided application under a slave user when a creation instruction of the body-divided application in the multi-open application set is detected under the main user.
10. The apparatus according to claim 9, wherein when the multi-open application set obtaining module detects, under the master user, a creation instruction of an avatar application in the multi-open application set, the installing the avatar application under the slave user specifically includes:
when a creation instruction of a self-body application in the multi-open application set is detected by the master user, determining whether a slave user which does not install the self-body application exists in a current terminal;
if the self-body-divided application exists, the self-body-divided application is installed under the slave user which does not install the self-body-divided application;
and if the application does not exist, establishing a new slave user, and installing the self-body-splitting application under the new slave user.
11. The apparatus of claim 8, wherein the data manipulation module is specifically configured to:
performing corresponding operation on the data under the first data storage path according to a data operation instruction of a user on the main application under the main user; and/or the presence of a gas in the gas,
and performing corresponding operation on the data in the second data storage path according to a data operation instruction of the user for the self-service application under the main user.
12. The apparatus according to any of claims 8-11, wherein the operation comprises saving, modifying or deleting.
13. The apparatus of claim 8, further comprising:
and the data synchronization module is used for synchronously changing the related data of the self-body-splitting application when detecting that the data of the main application changes.
14. The apparatus of claim 8, further comprising an application deletion module, the application deletion module being specifically configured to:
when a deletion instruction of the main application is detected, deleting all data in the first data storage path and the second data storage path;
and when a deletion instruction of the self-body-separating application is detected, deleting all data in the second data storage path.
15. A mobile terminal characterized in that it integrates the apparatus according to any of claims 8-14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887141.9A CN106648459B (en) | 2016-10-10 | 2016-10-10 | A kind of data managing method of application, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887141.9A CN106648459B (en) | 2016-10-10 | 2016-10-10 | A kind of data managing method of application, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648459A CN106648459A (en) | 2017-05-10 |
CN106648459B true CN106648459B (en) | 2019-09-24 |
Family
ID=58855228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610887141.9A Active CN106648459B (en) | 2016-10-10 | 2016-10-10 | A kind of data managing method of application, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648459B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197273B (en) * | 2018-01-08 | 2022-04-22 | 青岛海信移动通信技术股份有限公司 | Method and device for multi-user data synchronization |
CN108241515B (en) * | 2018-01-10 | 2021-06-29 | 青岛海信移动通信技术股份有限公司 | Application shortcut establishing method and terminal |
CN111124569B (en) * | 2019-12-05 | 2023-07-25 | 维沃移动通信有限公司 | Application sharing method, electronic device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760032A (en) * | 2012-03-19 | 2012-10-31 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104573541A (en) * | 2013-10-22 | 2015-04-29 | 中兴通讯股份有限公司 | Terminal, and method and device for processing multiple users of terminal |
CN105468405A (en) * | 2015-11-18 | 2016-04-06 | 深圳市创想天空科技股份有限公司 | Installation processing method and device of application program |
-
2016
- 2016-10-10 CN CN201610887141.9A patent/CN106648459B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102760032A (en) * | 2012-03-19 | 2012-10-31 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104573541A (en) * | 2013-10-22 | 2015-04-29 | 中兴通讯股份有限公司 | Terminal, and method and device for processing multiple users of terminal |
CN105468405A (en) * | 2015-11-18 | 2016-04-06 | 深圳市创想天空科技股份有限公司 | Installation processing method and device of application program |
Also Published As
Publication number | Publication date |
---|---|
CN106648459A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106357921B (en) | A kind of data sharing method of application, device and mobile terminal | |
CN106484547B (en) | Multi-open application management method and device and terminal | |
CN107026933B (en) | Multi-open application message management method and device and intelligent terminal | |
CN106648736B (en) | A kind of control method of application, device and mobile terminal | |
CN106445612B (en) | Method and device for opening application and mobile terminal | |
CN106484538B (en) | Memory control method and device of terminal equipment and terminal equipment | |
CN106648737B (en) | A kind of control method of application, device and mobile terminal | |
CN106445647B (en) | Open the data manipulation method, device and mobile terminal of application more | |
CN106484478B (en) | A kind of method, device and mobile terminal creating application of attending to anything else | |
CN106502732B (en) | Application closing method and device and intelligent terminal | |
CN106648459B (en) | A kind of data managing method of application, device and mobile terminal | |
CN106357667B (en) | Account management method and device for split application in multi-open application and intelligent terminal | |
CN106484514B (en) | Multi-open application operation management method and device and intelligent terminal | |
CN106445706B (en) | Open the data transmission method, device and mobile terminal of application more | |
CN106648738B (en) | Method, device and terminal for managing personal applications | |
CN106383672B (en) | A kind of data-erasure method, device and mobile terminal for opening application more | |
CN106648298B (en) | Application control method and device and mobile terminal | |
CN106648962B (en) | A kind of management method, device and intelligent terminal for opening application more | |
CN106484419A (en) | Information searching method, device and mobile terminal in a kind of application program | |
CN106484482B (en) | Method and device for managing split application in multi-open application and intelligent terminal | |
CN106650403B (en) | A kind of right management method, device and intelligent terminal for opening application more | |
WO2018161955A1 (en) | Method and device for controlling broadcast recipient, and mobile terminal | |
CN106502730B (en) | Multi-open application association management method and device and terminal | |
CN106445670B (en) | A kind of data managing method, device and mobile terminal for opening application more | |
CN106485111B (en) | Method, device and terminal for hiding self-service application |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |