Summary of the invention
The embodiment of the present invention provides a kind of data managing method and terminal unit, it is achieved that application data is shared among different users。
The embodiment of the present invention provides a kind of data managing method, including:
Determine the first administration authority of the current first user of terminal unit;
If the application data that described first administration authority includes at least one the second user to described terminal unit is managed, the application data of at least one the second user described is operated。
The embodiment of the present invention also provides for a kind of terminal unit, including:
Authority determines unit, for determining the first administration authority of the current first user of terminal unit;
Operating unit, if determining that the first administration authority that unit is determined includes the application data of at least one the second user to described terminal unit and is managed for described authority, is operated the application data of at least one the second user described。
Visible, in the method for the present embodiment, the terminal unit with multi-user's function can according to the first administration authority of the current first user determined, the application data of at least one the second user of terminal unit is operated, so make it possible to achieve the application data sharing each user among different users, bring a lot of convenience for user, there is very strong practicality。And terminal unit is that the administration authority according to each user carrys out managing application data in the present embodiment, rather than the application data of arbitrarily other user is managed, does not result in the abuse of application data between each user。
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " " the 4th " etc. (if existence) are for distinguishing similar object, without being used for describing specific order or precedence。Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to embodiments of the invention described herein such as can with except here diagram or describe those except order implement。In addition, term " includes " and " having " and their any deformation, it is intended to cover comprising not exclusively, such as, contain series of steps or the process of unit, method, system, product or equipment be not necessarily limited to those steps or the unit clearly listed, but can include clearly not listing or for intrinsic other step of these processes, method, product or equipment or unit。
The embodiment of the present invention provides a kind of data managing method, mainly is applied to have in the terminal unit (such as smart mobile phone) of multi-user's function, and the method for the present embodiment is the method performed by this terminal unit, and flow chart is as it is shown in figure 1, include:
Step 101, determine the first administration authority of the current first user of terminal unit, here the first administration authority refers to when the system that terminal unit uses the user profile of first user to run terminal unit, the authority information of the application data of which user in multiple users of this terminal unit that terminal unit can manage。
It is appreciated that, the terminal unit of the present embodiment supports multi-user's function, such user can sign in in the system of terminal unit respectively through different user profile, if terminal unit adopts some user profile to run the system of terminal unit, this user profile correspondence user is called the first user that terminal unit is current。User can pass through the system that terminal unit is currently running, initiates the management process of the application data to each user, and such terminal unit can realize this management process by step 101 and 102。
Step 102, if the application data that the first administration authority includes at least one the second user to terminal unit is managed, is operated the application data of at least one the second user。When wherein the application data of wherein some the second user being operated, it is possible to delete the data of at least one application of this second user;And/or, replicate the data of at least one application of this second user。Further, it is also possible in the data space of at least one application of this second user, increase the data of at least one application of first user or other the second user。
Such as, terminal unit has two users, i.e. user A and user B, wherein user A is primary user, the all corresponding application program C of user A and user B, when the system that terminal unit uses the user profile of user A to run terminal unit, this terminal unit can manage the data of the application program C of user B, such as can replicate the data of the application program C of user B, and it is stored in the data space of application program C of user A, the data of the application program C of user B can also be deleted, the data of the application program C of user A can also be stored in the data space of application program C of user B。
So, if for same game application, application data corresponding for user A is for playing the outpost of the tax office 30, and application data corresponding to user B is only play to the outpost of the tax office 15, by the data management in the present embodiment, the application data that user A just can play the outpost of the tax office 30 is stored in the data space of this application program of user B, and such user B just can continue play under this game on the basis at the outpost of the tax office 30。
It should be noted that, if this first user is primary user, then terminal unit can manage the application data of all users of this terminal unit, other user the second administration authority that namely at least one second user is corresponding can also be specified, here the second administration authority refers to when the system that terminal unit uses the user profile of a certain second user to run terminal unit, the authority information of the application data of which user in multiple users of this terminal unit that terminal unit can manage。
Visible, in the method for the present embodiment, the terminal unit with multi-user's function can according to the first administration authority of the current first user determined, the application data of at least one the second user of terminal unit is operated, so make it possible to achieve the application data sharing each user among different users, bring a lot of convenience for user, there is very strong practicality。And terminal unit is that the administration authority according to each user carrys out managing application data in the present embodiment, rather than the application data of arbitrarily other user is managed, does not result in the abuse of application data between each user。
The embodiment of the present invention also provides for a kind of terminal unit, and this terminal unit has multi-user's function, and its structural representation is as in figure 2 it is shown, specifically may include that
Authority determines unit 10, for determining the first administration authority of the current first user of terminal unit, here the first administration authority refers to when the system that terminal unit uses the user profile of first user to run terminal unit, the authority information of the application data of which user in multiple users of this terminal unit that terminal unit can manage。
Operating unit 11, if determining that the first administration authority that unit 10 is determined includes the application data of at least one the second user to described terminal unit and is managed for described authority, is operated the application data of at least one the second user described。
This operating unit 11 is when being operated the application data of some the second user, specifically for deleting the data in the data space of at least one application of one the second user;And/or, replicate the data of at least one application of one the second user。And operating unit 11 can be also used for increasing the data of at least one application described in described first user in the data space of at least one application of one the second user。
Further, as shown in phantom in Figure 2, terminal unit can also include designating unit 12, if being primary user for described first user, specify the second administration authority that at least one second user described is corresponding, here the second administration authority refers to when the system that terminal unit uses the user profile of a certain second user to run terminal unit, the authority information of the application data of which user in multiple users of this terminal unit that terminal unit can manage。
Visible, in the terminal unit of the present embodiment, operating unit 11 can determine the first administration authority of current first user that unit 10 determines according to authority, the application data of at least one the second user of terminal unit is operated, so make it possible to achieve the application data sharing each user among different users, bring a lot of convenience for user, there is very strong practicality。And terminal unit is that the administration authority according to each user carrys out managing application data in the present embodiment, rather than the application data of arbitrarily other user is managed, does not result in the abuse of application data between each user。
The embodiment of the present invention also provides for a kind of data management system, its structural representation is as shown in Figure 3, this data management system can produce relatively larger difference because of configuration or performance difference, one or more central processing units (centralprocessingunits can be included, CPU) 20 (such as, one or more processors) and memorizer 21, the storage medium 22 (such as one or more mass memory units) of one or more storage application programs 221 or data 222。Wherein, memorizer 21 and storage medium 22 can be of short duration storage or persistently store。The program being stored in storage medium 22 can include one or more modules (diagram does not mark), and each module can include a series of command operatings in data management system。Further, central processing unit 20 could be arranged to communicate with storage medium 22, performs a series of command operatings in storage medium 22 in data management system。
Data management system can also include one or more power supplys 23, one or more wired or wireless network interfaces 24, one or more input/output interfaces 25, and/or, one or more operating systems 223, for instance WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM etc.。
The step performed by terminal unit described in said method embodiment can based on the structure of the data management system shown in this Fig. 3。
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can be by the hardware that program carrys out instruction relevant and completes, this program can be stored in a computer-readable recording medium, and storage medium may include that read only memory (ROM), random access memory ram), disk or CD etc.。
The data managing method and the terminal unit that above the embodiment of the present invention are provided are described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention。