WO2015058548A1 - Method and device for processing a plurality of users of terminal, terminal and storage medium - Google Patents

Method and device for processing a plurality of users of terminal, terminal and storage medium Download PDF

Info

Publication number
WO2015058548A1
WO2015058548A1 PCT/CN2014/081041 CN2014081041W WO2015058548A1 WO 2015058548 A1 WO2015058548 A1 WO 2015058548A1 CN 2014081041 W CN2014081041 W CN 2014081041W WO 2015058548 A1 WO2015058548 A1 WO 2015058548A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
terminal
processing
users
independent
Prior art date
Application number
PCT/CN2014/081041
Other languages
French (fr)
Chinese (zh)
Inventor
何小新
吴怀琴
张丽
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015058548A1 publication Critical patent/WO2015058548A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Definitions

  • Terminal multi-user processing method device and terminal, storage medium
  • the present invention relates to the field of communications, and in particular to a terminal multi-user processing method, apparatus, terminal, and storage medium. Background technique
  • the embodiment of the invention provides a terminal multi-user processing method, device, terminal, and storage medium, so as to solve at least the problem in the related art that the user is truly distinguished and the data resource is effectively isolated and shielded.
  • a method for processing a terminal multi-user is provided, where the method includes:
  • Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
  • the method further comprises: creating an access key for the allocated independent storage spaces.
  • the multi-user processing is performed according to the allocated independent storage spaces, including: creating independent data storage paths for users corresponding to the respective storage spaces;
  • the operation processing of each user is performed according to the created separate data storage paths.
  • the operation processing of each user is performed according to the created independent data storage paths, including:
  • the current data operation path of the terminal is switched to the data storage path of the user corresponding to the unlock input.
  • the operation processing of each user is performed according to the created independent data storage paths, including:
  • the operation processing of each user is performed according to the created independent data storage paths, including:
  • a terminal multi-user processing apparatus includes an allocation module and a processing module, where:
  • the allocation module is configured to allocate different storage spaces for different users of the terminal; the processing module is configured to perform multi-user processing according to the allocated independent storage spaces.
  • the apparatus further comprises a creation module configured to create an access key for the respective independent storage spaces allocated.
  • the processing module includes a creating unit and a processing unit, where:
  • the creating unit is configured to create separate data storage paths for users corresponding to the storage spaces that are independent of each other;
  • the processing unit is configured to perform operation processing of each user according to the created independent data storage paths.
  • the processing unit includes a first receiving subunit and a switching subunit, where: the first receiving subunit is configured to receive an unlocking input when the terminal is in a lock screen state;
  • the switching subunit is configured to switch the current data operation path of the terminal to the data storage of the user corresponding to the unlock input if the unlock input matches one of the users stored by the terminal path.
  • the processing unit includes a second receiving subunit and a dividing subunit, where: the second receiving subunit is configured to receive a new user request from a user; the dividing subunit is configured according to the The new user requests to divide the space for the new user from the remaining space of the storage space allocated by the current user.
  • the processing unit includes a third receiving subunit and a releasing subunit, where: the third receiving subunit is configured to receive a delete user request from a user; the release subunit is configured to be deleted according to the The user requests to release the storage of the corresponding user. Space.
  • a terminal comprising the above apparatus.
  • a terminal comprising a memory and a processor coupled to the memory; wherein:
  • the memory is for storing executable instructions that, when executed, cause the processor to:
  • Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
  • a readable storage medium wherein the readable storage medium stores executable instructions, and the executable instructions are used to execute the terminal multi-user processing method.
  • the terminal multi-user processing method, device, terminal, and storage medium provided by the embodiments of the present invention allocate different independent storage spaces for different users of the terminal; perform multi-user processing according to the allocated independent storage spaces, and solve
  • the problem of distinguishing users in the true sense and the effective isolation and shielding of data resources can not be realized, thereby achieving the fundamental allocation of independent storage space for users, and no space access is allowed between them, and data is guaranteed.
  • FIG. 1 is a flowchart of a method for processing a terminal multi-user according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a terminal multi-user processing apparatus according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing a preferred structure of a terminal multi-user processing apparatus according to an embodiment of the present invention
  • 4 is a block diagram 1 of a preferred structure of a processing module 24 in a terminal multi-user processing apparatus according to an embodiment of the present invention
  • FIG. 5 is a block diagram 1 showing a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention
  • FIG. 6 is a block diagram 2 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention
  • FIG. 7 is a block diagram 3 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of allocating storage space of each user in a multi-user state during a startup process of a mobile phone according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of creating a user according to an embodiment of the present invention.
  • FIG. 11 is a flow chart of switching between users according to an embodiment of the present invention.
  • Figure 12 is a flow diagram of removing a user in accordance with an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a terminal multi-user processing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • Step S102 Allocating different independent storage spaces for different users of the terminal;
  • Step S104 Perform multi-user processing according to the allocated independent storage spaces.
  • the method further includes: creating an access key for the allocated independent storage spaces, so that the user cannot share the data resources of other users. That is, users cannot access each other, making the space completely independent, ensuring data security, and truly realizing a multi-user system.
  • multiple processing methods can be used. For example, the following simple processing methods can be used: Create independent data storage for users corresponding to their respective independent storage spaces. Path; The operation processing of each user is performed according to the respective independent data storage paths created. The operation processing of each user according to the created independent data storage path may also include multiple aspects. For example, the following processing may be performed: receiving the unlock input when the terminal is in the lock screen state; When one of the users stored by the terminal matches, the current data operation path of the terminal is switched to the data storage path of the user corresponding to the unlock input.
  • performing operation processing of each user according to the created independent data storage path includes: receiving a new user request from the user; according to the newly added user requesting the storage space allocated from the current user Space is added to the remaining space in the remaining space.
  • the following process 3 may be further included: receiving a delete user request from the user; releasing the storage space of the corresponding user according to the request of the delete user.
  • a terminal multi-user processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware Implementation is also possible and conceived.
  • FIG. 2 is a structural block diagram of a terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes an allocation module 22 and a processing module 24, wherein:
  • the distribution module 22 is configured to allocate different storage spaces for different users of the terminal; the processing module 24 is connected to the distribution module 22, and configured to perform multi-user processing according to the allocated independent storage spaces.
  • FIG. 3 is a block diagram showing a preferred structure of a terminal multi-user processing apparatus according to an embodiment of the present invention.
  • the apparatus includes a creation module 32 in addition to all the modules shown in FIG. 2, and the creation module 32 is connected to the above-mentioned allocation.
  • Module 22 and processing module 24 are configured to create an access key for each of the assigned separate storage spaces.
  • the processing module 24 includes a creating unit 42 and a processing unit 44, where:
  • the creating unit 42 is configured to create separate data storage paths for users corresponding to the respective independent storage spaces;
  • the processing unit 44 connected to the above-mentioned creating unit 42, is configured to perform operation processing of each user according to the created independent data storage paths.
  • FIG. 5 is a block diagram of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention.
  • the processing unit 44 includes a first receiving sub-unit 52 and a switching sub-unit 54. , among them:
  • the first receiving subunit 52 is configured to receive an unlock input when the terminal is in a lock screen state
  • the switching subunit 54 is connected to the first receiving subunit 52, and configured to switch the current data operation path of the terminal to the data of the user corresponding to the unlocking input, if the unlocking input matches one of the users stored by the terminal.
  • Storage path. 6 is a block diagram 2 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the processing unit 44 includes a second receiving sub-unit 62 and a dividing sub-unit 64. , among them:
  • the second receiving subunit 62 is configured to receive a new user request from the user
  • the dividing subunit 64 is connected to the second receiving subunit 62, and configured to allocate space for the newly added user from the remaining space of the storage space allocated by the current user according to the newly added user request.
  • FIG. 7 is a block diagram 3 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention.
  • the processing unit 44 includes a third receiving sub-unit 72 and a releasing sub-unit 74. , among them:
  • the third receiving subunit 72 is configured to receive a delete user request from the user
  • the release subunit 74 is connected to the third receiving subunit 72, and is configured to release the storage space of the corresponding user according to the deletion user request.
  • FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the terminal 80 includes the terminal multi-user processing device 82 provided by the foregoing embodiment.
  • a terminal for example, a mobile phone
  • a terminal multi-user processing method is provided in this embodiment, in which a memory mount and storage are involved.
  • Techniques such as space division also involve technologies such as lock screen, unlocking, and package management.
  • Different users will be allocated different storage spaces.
  • Each user has its own application, and the users will be completely invisible. Their respective data peers are unobservable, thus achieving the effect of confidentiality of data information, and is applicable to various user groups.
  • a series of operation modes such as user creation, switching, and deletion are also provided to facilitate use between different users.
  • a multi-user system which allocates respective storage spaces to each user on the file storage, and gives these The storage space is allocated different access rights. Users cannot access the data of other users. Each user will have its own set of file system structure, thus fundamentally eliminating data leakage. It is a true multi-user system. This system can really solve the privacy problem of user data.
  • the system can be based on the development environment of the Android system, and when the mobile phone is powered on, the memory of the mobile phone is classified and mounted. If the user is in a multi-user state, each user is allocated a corresponding storage space from the memory. Create their own mount points, define the corresponding environment variables, and do the processing of unshared attributes between processes.
  • the user is provided with a corresponding menu for creating a user, and is provided to the corresponding UI, so that the user can set the corresponding parameters of the newly created user and the manner of unlocking the lock screen, and save all the new users.
  • the user is provided to delete the interaction of a user, but the function of deleting the user is limited to the system user deleting the ordinary user, and the ordinary user cannot delete the user, and the ordinary user has no permission to delete the system permission.
  • the function of deleting the user is limited to the system user deleting the ordinary user, and the ordinary user cannot delete the user, and the ordinary user has no permission to delete the system permission.
  • the installation package will be managed, each user will have its own data storage directory, and for each user, the system will maintain its installed software state in some form, the state will be somehow Save it and have a corresponding backup.
  • FIG. 9 is a flowchart of allocating storage space of each user in a multi-user state during a mobile phone startup process according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps: Step S902: determining whether it is a multi-user State, if the determination is yes, proceed to step S904, otherwise proceed to step S908;
  • Step S904 creating a mount point, that is, if Currently, it is a multi-user state, then the system allocates the storage space of each user.
  • a mount point path is created.
  • the mount point path includes the path where the sdcard is actually to be mounted and the directory where each user mounts the sdcard. And then define the corresponding environment variables, which can be configured in the system startup configuration file;
  • Step S906 performing an inter-process non-shared attribute setting (unshared ( )) on the mount point, the attribute is owned by Linux, and Android also has the attribute setting. Setting this property can make the mount points created by each user not shared, only visible to themselves, so that users can not access the file system of other users.
  • Each user has its own set of independent file system, through the file manager and other mobile phones.
  • the application can only see the files in the user's own storage path. The files of other users cannot be seen. For example, only the photos taken by user A can be seen in user A, and only the user status of user B is entered. You can see the photos taken by User B.
  • the applications installed by each user cannot be shared. For example, User A installs a third-party mobile phone application. After entering User B, it is not possible in the mobile phone. If you see the application, if user B wants to use the application, the application can be used normally only after the user's user status is installed.
  • the storage path is used to hide the user's file system.
  • Step S908 Load the application corresponding to the user, and enter the corresponding lock screen interface, that is, after the storage path is created, the application corresponding to the user is loaded, and the lock screen interface unique to the user is entered.
  • FIG. 10 is a flowchart of creating a user according to an embodiment of the present invention, as shown in FIG. The process includes:
  • Step S1002 detecting whether the caller has the required authority, that is, before creating a new user, it is necessary to check whether there is a required permission, and only the user with the system authority can create a new user to proceed to step S1004, and if there is no permission, return;
  • Step S1004 checking whether the multi-user environment reaches the limit of the number of users, that is, if there is permission to create a new user, and then checking whether the current number of users has reached the maximum number, if it has been reached, then return, otherwise proceeds to step S1006;
  • Step S1006 Create a related directory for the new user, that is, if the current number of users has not reached the maximum, add a new user, and create a user directory for the new user;
  • Step S1008 serializing the user list, that is, modifying the user list, the list is used to maintain all user information, such as a user name, a user ID, and the like;
  • Step S1010 Establish a corresponding data directory, parameter setting, etc. for the user, that is, create a data storage directory for the user, and perform basic parameter setting of the newly created user, including an unlocking manner, and the unlocking mode is saved in the corresponding data structure;
  • Step S1012 setting an unlock pattern
  • step S1014 it is determined whether the unlock pattern is repeated, that is, after the unlock pattern is set, a traversal comparison is performed. If the unlock pattern of the newly created user conflicts with the unlock pattern of the previous user, the user is prompted to reset, until no more conflicts, otherwise End the process;
  • Step S1016 ending the process.
  • FIG. 11 is a flowchart of switching between users according to an embodiment of the present invention. As shown in FIG. 11, the process includes:
  • Step S1102 Acquire a corresponding user according to the unlock pattern input by the user, that is, if you want to switch the user, directly press the POWER button to lock the screen, and then input the unlock pattern of the user who wants to switch, and the mobile phone searches according to the unlock pattern.
  • the corresponding user if the input unlock pattern does not match any user, prompt the user to re-enter;
  • Step S1104 Obtain the switching target user information, and set the current user as the target user, that is, obtain the data information of the target user;
  • Step S1108 The state of the switching target user is a "starting" state
  • Step S1110 Switch the activity stack of the target user to the current user.
  • Step S1112 storing directory switching, security setting switching, etc., opening the lock screen interface of the target user, that is, performing operation such as storage directory switching, security setting switching, and displaying the lock screen interface of the target user, and thus, the user information has been updated, the target The user has also switched to the foreground.
  • FIG. 12 is a flowchart of removing a user according to an embodiment of the present invention. As shown in FIG. 12, the process includes:
  • step S1202 it is detected whether the caller has the required permission, that is, before removing a user, it is necessary to check whether there is a required permission, and only the user with the system authority can remove the user, and proceeds to step S1204, and if there is no permission, returns;
  • step S1204 if there is permission, the user id is added to the user list to be removed, and the user status is set to "to be removed", and the user is cleared when the system is started next time;
  • Step S1206 stopping the user, killing the user process
  • Step S1208 deleting the configuration file and the data file of the user
  • Step S1210 Update the user list file.
  • an embodiment of the present invention provides a terminal, where the terminal includes a memory and a processor connected to the memory;
  • the memory is for storing executable instructions that, when executed, cause the processor to:
  • Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
  • the allocation module, the processing module and the processing module in the terminal multi-user processing device provided by the embodiment of the present invention
  • the creation module, and the creation unit and the processing unit included in the processing module, and the sub-units included in the processing unit can be implemented by a processor in the terminal; of course, it can also be implemented by a specific logic circuit;
  • the processor can be a central processor
  • CPU Central Processing Unit
  • MPU Microprocessor
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the terminal multi-user processing method described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product.
  • the computer software product is stored in a storage medium and includes a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is implemented to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program code.
  • ROM read only memory
  • magnetic disk or an optical disk and the like, which can store program code.
  • the embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores executable instructions, where the executable instructions are used to perform terminal multi-user processing provided by the embodiments of the present invention. method.
  • different users of the terminal are allocated independent storage spaces; and the multi-user processing is performed according to the allocated independent storage spaces; thus, the technical solutions provided by the embodiments of the present invention are used to solve the related art. It is not possible to differentiate users in the true sense. As well as the problem of effective isolation and shielding of data resources, the user can be allocated independent storage space fundamentally, and no space can be accessed from each other, which ensures the security of data resources and realizes the effect of a true multi-user system.

Abstract

Provided are a method and device for processing a plurality of users of a terminal, a terminal and a storage medium. The method comprises: allocating a respectively independent storage space to different users of a terminal; and according to the allocated respectively independent storage spaces, conducting multi-user processing.

Description

终端多用户处理方法、 装置及终端、 存储介质 技术领域  Terminal multi-user processing method, device and terminal, storage medium
本发明涉及通信领域, 具体而言, 涉及一种终端多用户处理方法、 装 置及终端、 存储介质。 背景技术  The present invention relates to the field of communications, and in particular to a terminal multi-user processing method, apparatus, terminal, and storage medium. Background technique
随着移动通信的迅猛发展, 通讯工具也是如雨后春笋般蜂拥而至, 现 在几乎是人手一部手机, 伴随着安卓(Android )智能手机大量的涌入市场, 随之而来的纷乱繁杂的各种智能机应用也出现了, 然而并不是所有的应用 对每个人都合适, 举个例子, 现在经常能看到小朋友拿着父母的手机玩游 戏、 看电影, 小朋友长时间看手机屏幕对眼睛的伤害是很大的, 为了避免 这种情况, 父母想尽各种办法例如把手机藏起来、 到家就关机、 不对手机 充电等方法, 但这些并不能从根本上解决问题; 再比如朋友想借用一下你 的手机, 而手机上恰恰有该好友不可以看到的私密信息, 这时候借还是不 借呢, 这是一个比较尴尬的问题。 在相关技术中, 在同一系统中通过分别 设置相应的权限来区分不同的用户, 但是系统中的数据资源还是能够相互 共享, 并不能实现真正意义上的有效屏蔽。  With the rapid development of mobile communications, communication tools have sprung up, and now almost a mobile phone, accompanied by a large number of Android smartphones flooding into the market, followed by a variety of confusing Smartphone applications have also emerged, but not all applications are suitable for everyone. For example, it is now common to see children playing games on their parents' phones, watching movies, and children watching the phone screen for a long time. In order to avoid this situation, parents want to do all kinds of methods such as hiding the phone, shutting down when they get home, not charging the phone, etc., but these can not solve the problem fundamentally; for example, friends want to borrow you The mobile phone, and the mobile phone has exactly the private information that the friend can't see. At this time, it is still not a problem to borrow. This is a rather embarrassing problem. In the related art, different users are distinguished by setting corresponding rights in the same system, but the data resources in the system can still be shared with each other, and the effective shielding in the true sense cannot be achieved.
因此, 在相关技术中, 并不能实现真正意义上的区分用户, 以及数据 资源有效隔离屏蔽。 发明内容  Therefore, in the related art, it is not possible to achieve a true distinction between users and effective isolation and shielding of data resources. Summary of the invention
本发明实施例提供了一种终端多用户处理方法、 装置及终端、 存储介 质, 以至少解决在相关技术中, 并不能实现真正意义上的区分用户, 以及 数据资源有效隔离屏蔽的问题。 根据本发明实施例的第一方面, 提供了一种终端多用户处理方法, 所 述方法包括: The embodiment of the invention provides a terminal multi-user processing method, device, terminal, and storage medium, so as to solve at least the problem in the related art that the user is truly distinguished and the data resource is effectively isolated and shielded. According to a first aspect of the embodiments of the present invention, a method for processing a terminal multi-user is provided, where the method includes:
为终端不同的用户分配各自独立的存储空间;  Allocating separate storage spaces for different users of the terminal;
依据分配的各自独立的所述存储空间进行多用户处理。  Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
优选地, 在为所述终端不同的用户分配各自独立的所述存储空间之后, 所述方法还包括: 为分配的各自独立的所述存储空间创建访问密钥。  Preferably, after allocating the independent storage spaces to different users of the terminal, the method further comprises: creating an access key for the allocated independent storage spaces.
优选地, 依据分配的各自独立的所述存储空间进行多用户处理, 包括: 为各自独立的所述存储空间所对应的用户创建各自独立的数据存储路 径;  Preferably, the multi-user processing is performed according to the allocated independent storage spaces, including: creating independent data storage paths for users corresponding to the respective storage spaces;
依据创建的各自独立的所述数据存储路径进行各个用户的操作处理。 优选地, 依据创建的各自独立的所述数据存储路径进行各个用户的操 作处理, 包括:  The operation processing of each user is performed according to the created separate data storage paths. Preferably, the operation processing of each user is performed according to the created independent data storage paths, including:
在所述终端处于锁屏状态的情况下, 接收解锁输入;  Receiving an unlock input when the terminal is in a lock screen state;
在所述解锁输入与所述终端所存储的其中一个用户匹配的情况下, 将 所述终端当前的数据操作路径切换至与所述解锁输入对应的用户的数据存 储路径。  In a case where the unlock input matches one of the users stored by the terminal, the current data operation path of the terminal is switched to the data storage path of the user corresponding to the unlock input.
优选地, 依据创建的各自独立的所述数据存储路径进行各个用户的操 作处理, 包括:  Preferably, the operation processing of each user is performed according to the created independent data storage paths, including:
接收来自用户的新增用户请求;  Receive new user requests from users;
依据所述新增用户请求从当前用户所分配的存储空间的剩余空间中为 所述新增用户划分空间。  And dividing the space for the newly added user from the remaining space of the storage space allocated by the current user according to the newly added user request.
优选地, 依据创建的各自独立的所述数据存储路径进行各个用户的操 作处理, 包括:  Preferably, the operation processing of each user is performed according to the created independent data storage paths, including:
接收来自用户的删除用户请求;  Receiving a delete user request from a user;
依据所述删除用户请求释放对应用户的存储空间。 根据本发明实施例的第二方面, 提供了一种终端多用户处理装置, 所 述装置包括分配模块和处理模块, 其中: The storage space of the corresponding user is released according to the deletion user request. According to a second aspect of the embodiments of the present invention, a terminal multi-user processing apparatus is provided, where the apparatus includes an allocation module and a processing module, where:
所述分配模块, 配置为为终端不同的用户分配各自独立的存储空间; 所述处理模块, 配置为依据分配的各自独立的所述存储空间进行多用 户处理。  The allocation module is configured to allocate different storage spaces for different users of the terminal; the processing module is configured to perform multi-user processing according to the allocated independent storage spaces.
优选地, 该装置还包括创建模块, 配置为为分配的各自独立的所述存 储空间创建访问密钥。  Preferably, the apparatus further comprises a creation module configured to create an access key for the respective independent storage spaces allocated.
优选地, 所述处理模块包括创建单元和处理单元, 其中:  Preferably, the processing module includes a creating unit and a processing unit, where:
所述创建单元, 配置为为各自独立的所述存储空间所对应的用户创建 各自独立的数据存储路径;  The creating unit is configured to create separate data storage paths for users corresponding to the storage spaces that are independent of each other;
所述处理单元, 配置为依据创建的各自独立的所述数据存储路径进行 各个用户的操作处理。  The processing unit is configured to perform operation processing of each user according to the created independent data storage paths.
优选地, 所述处理单元包括第一接收子单元和切换子单元, 其中: 所述第一接收子单元, 配置为在所述终端处于锁屏状态的情况下, 接 收解锁输入;  Preferably, the processing unit includes a first receiving subunit and a switching subunit, where: the first receiving subunit is configured to receive an unlocking input when the terminal is in a lock screen state;
所述切换子单元, 配置为在所述解锁输入与所述终端所存储的其中一 个用户匹配的情况下, 将所述终端当前的数据操作路径切换至与所述解锁 输入对应的用户的数据存储路径。  The switching subunit is configured to switch the current data operation path of the terminal to the data storage of the user corresponding to the unlock input if the unlock input matches one of the users stored by the terminal path.
优选地, 所述处理单元包括第二接收子单元和划分子单元, 其中: 所述第二接收子单元, 配置为接收来自用户的新增用户请求; 所述划分子单元, 配置为依据所述新增用户请求从当前用户所分配的 存储空间的剩余空间中为所述新增用户划分空间。  Preferably, the processing unit includes a second receiving subunit and a dividing subunit, where: the second receiving subunit is configured to receive a new user request from a user; the dividing subunit is configured according to the The new user requests to divide the space for the new user from the remaining space of the storage space allocated by the current user.
优选地, 所述处理单元包括第三接收子单元和释放子单元, 其中: 所述第三接收子单元, 配置为接收来自用户的删除用户请求; 所述释放子单元, 配置为依据所述删除用户请求释放对应用户的存储 空间。 Preferably, the processing unit includes a third receiving subunit and a releasing subunit, where: the third receiving subunit is configured to receive a delete user request from a user; the release subunit is configured to be deleted according to the The user requests to release the storage of the corresponding user. Space.
根据本发明实施例的第三方面, 提供了一种终端, 该终端包括上述的 装置。  According to a third aspect of the embodiments of the present invention, there is provided a terminal comprising the above apparatus.
根据本发明实施例的第四方面, 提供了一种终端, 所述终端包括存 储器和与所述存储器连接的处理器; 其中:  According to a fourth aspect of the embodiments of the present invention, there is provided a terminal, the terminal comprising a memory and a processor coupled to the memory; wherein:
所述存储器用于存储可执行指令, 当所述可执行指令被执行时, 使所 述处理器:  The memory is for storing executable instructions that, when executed, cause the processor to:
为终端不同的用户分配各自独立的存储空间;  Allocating separate storage spaces for different users of the terminal;
依据分配的各自独立的所述存储空间进行多用户处理。  Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
根据本发明实施例的第五方面, 提供了一种可读存储介质, 所述可 读存储介质中存储有可执行指令, 所述可执行指令用于执行上述的终端 多用户处理方法。  According to a fifth aspect of the embodiments of the present invention, there is provided a readable storage medium, wherein the readable storage medium stores executable instructions, and the executable instructions are used to execute the terminal multi-user processing method.
通过本发明实施例提供的终端多用户处理方法、 装置及终端、 存储介 质, 釆用为终端不同的用户分配各自独立的存储空间; 依据分配的各自独 立的所述存储空间进行多用户处理, 解决了相关技术中, 并不能实现真正 意义上的区分用户, 以及数据资源有效隔离屏蔽的问题, 进而达到了从根 本上为用户分配独立的存储空间, 相互之间不能进行空间的访问, 保证了 数据资源的安全以及实现了真正的多用户系统的效果。 附图说明  The terminal multi-user processing method, device, terminal, and storage medium provided by the embodiments of the present invention allocate different independent storage spaces for different users of the terminal; perform multi-user processing according to the allocated independent storage spaces, and solve In the related art, the problem of distinguishing users in the true sense and the effective isolation and shielding of data resources can not be realized, thereby achieving the fundamental allocation of independent storage space for users, and no space access is allowed between them, and data is guaranteed. The security of the resources and the effect of a true multi-user system. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的不当限定。 在附图中:  The drawings described herein are intended to provide a further understanding of the present invention, and are intended to be a part of the present invention, and the description of the present invention is not intended to limit the invention. In the drawing:
图 1是根据本发明实施例的终端多用户处理方法的流程图;  1 is a flowchart of a method for processing a terminal multi-user according to an embodiment of the present invention;
图 2是根据本发明实施例的终端多用户处理装置的结构框图; 图 3是根据本发明实施例的终端多用户处理装置的优选结构框图; 图 4是根据本发明实施例的终端多用户处理装置中处理模块 24的优选 结构框图一; 2 is a structural block diagram of a terminal multi-user processing apparatus according to an embodiment of the present invention; FIG. 3 is a block diagram showing a preferred structure of a terminal multi-user processing apparatus according to an embodiment of the present invention; 4 is a block diagram 1 of a preferred structure of a processing module 24 in a terminal multi-user processing apparatus according to an embodiment of the present invention;
图 5是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图一;  FIG. 5 is a block diagram 1 showing a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention;
图 6是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图二;  6 is a block diagram 2 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention;
图 7是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图三;  FIG. 7 is a block diagram 3 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention;
图 8是根据本发明实施例的终端的结构框图;  FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention; FIG.
图 9是根据本发明实施例的手机启动过程中对多用户状态下的各个用 户的存储空间进行分配的流程图;  FIG. 9 is a flowchart of allocating storage space of each user in a multi-user state during a startup process of a mobile phone according to an embodiment of the present invention; FIG.
图 10是根据本发明实施例的创建一个用户时的流程图;  FIG. 10 is a flowchart of creating a user according to an embodiment of the present invention; FIG.
图 11是根据本发明实施例的用户之间的切换流程图;  11 is a flow chart of switching between users according to an embodiment of the present invention;
图 12是根据本发明实施例的移除一个用户的流程图。 具体实施方式  Figure 12 is a flow diagram of removing a user in accordance with an embodiment of the present invention. detailed description
下文中将参考附图并结合实施例来详细说明本发明的技术方案。 需要 说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以 相互组合。  Hereinafter, the technical solution of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种终端多用户处理方法, 图 1 是根据本发明实 施例的终端多用户处理方法的流程图, 如图 1所示, 该方法包括:  In this embodiment, a terminal multi-user processing method is provided. FIG. 1 is a flowchart of a terminal multi-user processing method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
步骤 S102, 为终端不同的用户分配各自独立的存储空间;  Step S102: Allocating different independent storage spaces for different users of the terminal;
步骤 S104, 依据分配的各自独立的存储空间进行多用户处理。  Step S104: Perform multi-user processing according to the allocated independent storage spaces.
通过上述步骤, 釆用为终端不同的用户分配各自独立的存储空间; 依 据分配的各自独立的存储空间进行多用户处理, 相对于相关技术中仅为多 用户系统相应的进入权限, 并不能从根本上对用户进行区别, 解决了相关 技术中, 并不能实现真正意义上的区分用户, 以及数据资源有效隔离屏蔽 的问题, 进而达到了从根本上为用户分配独立的存储空间, 相互之间不能 进行空间的访问, 保证了数据资源的安全以及实现了真正的多用户系统的 效果。 Through the above steps, different users are allocated different storage spaces for the terminals; multi-user processing is performed according to the allocated independent storage spaces, and the corresponding access rights of the multi-user system are not fundamentally related to the related art. Differentiate users and solve related problems In the technology, the problem of distinguishing users in the true sense and the effective isolation and shielding of data resources can not be realized, and thus the independent storage space is allocated to the users, and the space cannot be accessed from each other, and the data resources are guaranteed. Security and the effect of a true multi-user system.
在本发明的一种实施例中, 在为终端不同的用户分配各自独立的存储 空间之后, 还包括: 为分配的各自独立的存储空间创建访问密钥, 使得用 户并不能共享其它用户的数据资源, 即用户之间不能相互访问, 使得空间 完全独立, 保证了数据的安全, 真正实现了多用户系统。  In an embodiment of the present invention, after allocating separate storage spaces for different users of the terminal, the method further includes: creating an access key for the allocated independent storage spaces, so that the user cannot share the data resources of other users. That is, users cannot access each other, making the space completely independent, ensuring data security, and truly realizing a multi-user system.
依据分配的各自独立的存储空间进行多用户处理时, 可以釆用多种处 理方式, 例如, 可以釆用以下较为简便的处理方式: 为各自独立的存储空 间所对应的用户创建各自独立的数据存储路径; 依据创建的各自独立的数 据存储路径进行各个用户的操作处理。 其中, 依据创建的各自独立的数据 存储路径进行各个用户的操作处理也可以包括多个方面, 比如, 可以进行 以下处理一: 在终端处于锁屏状态的情况下, 接收解锁输入; 在解锁输入 与终端所存储的其中一个用户匹配的情况下, 将终端当前的数据操作路径 切换至与解锁输入对应的用户的数据存储路径。 又比如, 还可以进行以下 处理二: 依据创建的各自独立的数据存储路径进行各个用户的操作处理包 括: 接收来自用户的新增用户请求; 依据新增用户请求从当前用户所分配 的存储空间的剩余空间中为新增用户划分空间。 还比如, 还可以包括以下 处理三: 接收来自用户的删除用户请求; 依据删除用户请求释放对应用户 的存储空间。  When multi-user processing is performed according to the allocated independent storage space, multiple processing methods can be used. For example, the following simple processing methods can be used: Create independent data storage for users corresponding to their respective independent storage spaces. Path; The operation processing of each user is performed according to the respective independent data storage paths created. The operation processing of each user according to the created independent data storage path may also include multiple aspects. For example, the following processing may be performed: receiving the unlock input when the terminal is in the lock screen state; When one of the users stored by the terminal matches, the current data operation path of the terminal is switched to the data storage path of the user corresponding to the unlock input. For another example, the following processing can also be performed: performing operation processing of each user according to the created independent data storage path includes: receiving a new user request from the user; according to the newly added user requesting the storage space allocated from the current user Space is added to the remaining space in the remaining space. For example, the following process 3 may be further included: receiving a delete user request from the user; releasing the storage space of the corresponding user according to the request of the delete user.
在本实施例中还提供了一种终端多用户处理装置, 该装置用于实现上 述实施例及优选实施方式, 已经进行过说明的不再赘述。 如以下所使用的, 术语 "模块" 可以实现预定功能的软件和 /或硬件的组合。 尽管以下实施例 所描述的装置较佳地以软件来实现, 但是硬件, 或者软件和硬件的组合的 实现也是可能并被构想的。 In this embodiment, a terminal multi-user processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used hereinafter, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware Implementation is also possible and conceived.
图 2是根据本发明实施例的终端多用户处理装置的结构框图, 如图 2 所示, 该装置包括分配模块 22和处理模块 24, 其中:  2 is a structural block diagram of a terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes an allocation module 22 and a processing module 24, wherein:
分配模块 22, 配置为为终端不同的用户分配各自独立的存储空间; 处理模块 24, 连接至上述分配模块 22, 配置为依据分配的各自独立的 存储空间进行多用户处理。  The distribution module 22 is configured to allocate different storage spaces for different users of the terminal; the processing module 24 is connected to the distribution module 22, and configured to perform multi-user processing according to the allocated independent storage spaces.
图 3是根据本发明实施例的终端多用户处理装置的优选结构框图, 如 图 3所示, 该装置除包括图 2所示的所有模块外还包括创建模块 32, 创建 模块 32连接至上述分配模块 22和处理模块 24, 配置为为分配的各自独立 的存储空间创建访问密钥。  3 is a block diagram showing a preferred structure of a terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a creation module 32 in addition to all the modules shown in FIG. 2, and the creation module 32 is connected to the above-mentioned allocation. Module 22 and processing module 24 are configured to create an access key for each of the assigned separate storage spaces.
图 4是根据本发明实施例的终端多用户处理装置中处理模块 24的优选 结构框图一, 如图 4所示, 该处理模块 24包括创建单元 42和处理单元 44, 其中:  4 is a block diagram of a preferred structure of the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the processing module 24 includes a creating unit 42 and a processing unit 44, where:
创建单元 42, 配置为为各自独立的存储空间所对应的用户创建各自独 立的数据存储路径;  The creating unit 42 is configured to create separate data storage paths for users corresponding to the respective independent storage spaces;
处理单元 44, 连接至上述创建单元 42, 配置为依据创建的各自独立的 数据存储路径进行各个用户的操作处理。  The processing unit 44, connected to the above-mentioned creating unit 42, is configured to perform operation processing of each user according to the created independent data storage paths.
图 5是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图一, 如图 5所示, 该处理单元 44包括第一接收子 单元 52和切换子单元 54, 其中:  FIG. 5 is a block diagram of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the processing unit 44 includes a first receiving sub-unit 52 and a switching sub-unit 54. , among them:
第一接收子单元 52, 配置为在终端处于锁屏状态的情况下, 接收解锁 输入;  The first receiving subunit 52 is configured to receive an unlock input when the terminal is in a lock screen state;
切换子单元 54, 连接至上述第一接收子单元 52, 配置为在解锁输入与 终端所存储的其中一个用户匹配的情况下, 将终端当前的数据操作路径切 换至与解锁输入对应的用户的数据存储路径。 图 6是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图二, 如图 6所示, 该处理单元 44包括第二接收子 单元 62和划分子单元 64, 其中: The switching subunit 54 is connected to the first receiving subunit 52, and configured to switch the current data operation path of the terminal to the data of the user corresponding to the unlocking input, if the unlocking input matches one of the users stored by the terminal. Storage path. 6 is a block diagram 2 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the processing unit 44 includes a second receiving sub-unit 62 and a dividing sub-unit 64. , among them:
第二接收子单元 62, 配置为接收来自用户的新增用户请求;  The second receiving subunit 62 is configured to receive a new user request from the user;
划分子单元 64, 连接至上述第二接收子单元 62, 配置为依据新增用户 请求从当前用户所分配的存储空间的剩余空间中为新增用户划分空间。  The dividing subunit 64 is connected to the second receiving subunit 62, and configured to allocate space for the newly added user from the remaining space of the storage space allocated by the current user according to the newly added user request.
图 7是根据本发明实施例的终端多用户处理装置中处理模块 24中处理 单元 44的优选结构框图三, 如图 7所示, 该处理单元 44包括第三接收子 单元 72和释放子单元 74, 其中:  FIG. 7 is a block diagram 3 of a preferred structure of the processing unit 44 in the processing module 24 in the terminal multi-user processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the processing unit 44 includes a third receiving sub-unit 72 and a releasing sub-unit 74. , among them:
第三接收子单元 72, 配置为接收来自用户的删除用户请求;  The third receiving subunit 72 is configured to receive a delete user request from the user;
释放子单元 74, 连接至上述第三接收子单元 72, 配置为依据删除用户 请求释放对应用户的存储空间。  The release subunit 74 is connected to the third receiving subunit 72, and is configured to release the storage space of the corresponding user according to the deletion user request.
图 8是根据本发明实施例的终端的结构框图, 如图 8所示, 该终端 80 包括上述实施例提供的终端多用户处理装置 82。  FIG. 8 is a structural block diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 8, the terminal 80 includes the terminal multi-user processing device 82 provided by the foregoing embodiment.
面向不同用户群, 终端 (例如, 手机)应该呈现出不同的交互, 基于 这样的需求, 在本实施例中提供了一种终端多用户处理方法, 在该方法中, 涉及到存储器挂载、 存储空间划分等技术, 还涉及到锁屏、 解锁、 安装包 管理等技术, 将给不同的用户分配不同的存储空间, 每个用户都有自己各 自的应用程序, 用户之间将是完全不可见的, 他们各自的数据对方都是无 法查看的, 从而达到数据信息保密的效果, 适用于各种用户群。 在本实施 例中还提供了相应的用户创建、 切换、 删除等一系列操作方式, 以方便在 不同用户之间的使用。 重要的是, 不同于其他通过参数属性来判断不同用 户的方式, 给各个用户开辟了存储空间, 其他用户用任何方式都是没有权 限访问的, 而相关技术中其他诸如通过参数属性区分用户的方式, 只要通 过 adb命令进入到手机的文件系统, 还是可以访问到其他用户的数据的, 不是真正的多用户系统, 数据从本质上是共享的, 而在上述实施例中, 通 过给各个用户不同的文件系统权限, 从根本上保护了数据安全。 For a different user group, a terminal (for example, a mobile phone) should present different interactions. Based on such requirements, a terminal multi-user processing method is provided in this embodiment, in which a memory mount and storage are involved. Techniques such as space division also involve technologies such as lock screen, unlocking, and package management. Different users will be allocated different storage spaces. Each user has its own application, and the users will be completely invisible. Their respective data peers are unobservable, thus achieving the effect of confidentiality of data information, and is applicable to various user groups. In this embodiment, a series of operation modes such as user creation, switching, and deletion are also provided to facilitate use between different users. What's important is that unlike other ways of judging different users through parameter attributes, each user is opened up storage space, and other users have no access in any way, and other methods in the related art, such as distinguishing users by parameter attributes. As long as you access the file system of the mobile phone through the adb command, you can still access the data of other users. Rather than being a true multi-user system, data is essentially shared, and in the above embodiments, data security is fundamentally protected by giving each user different file system permissions.
为解决手机数据的面向各用户群以及保护数据的私密, 在本实施例中, 还提供了一种多用户的系统, 该系统在文件存储上给各个用户分配了各自 的存储空间, 并且给这些存储空间分配了不同的访问权限, 用户之间无法 访问其他用户的数据, 各用户之间会拥有自己的一套文件系统结构, 从而 从根本上杜绝了数据的泄密, 是真正的多用户系统, 这个系统才能真正解 决用户数据的私密问题。  In order to solve the privacy of the mobile phone data for each user group and to protect the data, in the embodiment, a multi-user system is also provided, which allocates respective storage spaces to each user on the file storage, and gives these The storage space is allocated different access rights. Users cannot access the data of other users. Each user will have its own set of file system structure, thus fundamentally eliminating data leakage. It is a true multi-user system. This system can really solve the privacy problem of user data.
其中, 该系统可以基于 Android系统的开发环境, 在手机开机的时候, 会对手机的存储器进行分类挂载, 如果是多用户状态下, 会从存储器中给 每个用户分配好相应的存储空间并创建各自的挂载点, 定义相应的环境变 量, 做好进程间的不共享属性处理。  The system can be based on the development environment of the Android system, and when the mobile phone is powered on, the memory of the mobile phone is classified and mounted. If the user is in a multi-user state, each user is allocated a corresponding storage space from the memory. Create their own mount points, define the corresponding environment variables, and do the processing of unshared attributes between processes.
基于 Android系统开发环境, 为用户提供创建用户的相应菜单,并提供 给相应的 UI, 以方便用户对新建用户的相应参数的设置以及锁屏解锁的方 式的设置, 同时会保存下新建用户的所有信息以及为新建用户创建数据存 储空间。  Based on the Android system development environment, the user is provided with a corresponding menu for creating a user, and is provided to the corresponding UI, so that the user can set the corresponding parameters of the newly created user and the manner of unlocking the lock screen, and save all the new users. Information and create a data storage space for new users.
基于 Android系统开发环境,提供给用户方便的用户切换交互,使用不 用的解锁图案来匹配不同的用户, 随时都可以快速的进行用户之间的切换。  Based on the Android system development environment, users are provided with convenient user switching interactions, and different unlocking patterns are used to match different users, so that users can be quickly switched at any time.
基于 Android系统开发环境,提供给用户删除某用户的交互,但是删除 用户功能仅限于系统用户删除普通用户, 而普通用户之间是不可以进行用 户删除的, 同时, 普通用户更没有权限删除系统权限的用户。  Based on the Android system development environment, the user is provided to delete the interaction of a user, but the function of deleting the user is limited to the system user deleting the ordinary user, and the ordinary user cannot delete the user, and the ordinary user has no permission to delete the system permission. User.
基于 Android系统开发环境,会对安装包进行管理,每个用户都会自己 的数据存储目录, 而且对于每个用户, 系统都会以某种形式来维护其安装 的软件状态, 该状态会以某种方式进行保存, 并且有相应的备份。  Based on the Android system development environment, the installation package will be managed, each user will have its own data storage directory, and for each user, the system will maintain its installed software state in some form, the state will be somehow Save it and have a corresponding backup.
下面结合附图对本发明实施例进行说明。 图 9是根据本发明实施例的手机启动过程中对多用户状态下的各个用 户的存储空间进行分配的流程图, 如图 9所示, 该流程包括如下步骤: 步骤 S902, 判断是否为多用户状态, 在判断为是的情况下, 进入步骤 S904, 否则进入步骤 S908; The embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 9 is a flowchart of allocating storage space of each user in a multi-user state during a mobile phone startup process according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps: Step S902: determining whether it is a multi-user State, if the determination is yes, proceed to step S904, otherwise proceed to step S908;
具体地, 手机启动过程中会判断当前是否是多用户状态, 该状态可以 在一个配置文件中进行配置, 该配置文件中还会指定支持的最大用户数; 步骤 S904, 创建挂载点, 即如果当前是多用户状态, 那么系统会对各 用户的存储空间进行分配, 首先会创建挂载点路径, 挂载点路径中包括了 实际要挂载 sdcard的路径以及每个用户自己挂载 sdcard的目录, 然后定义 相应的环境变量, 这部分配置可以在系统启动配置文件中进行配置;  Specifically, during the startup process of the mobile phone, it is determined whether the current state is a multi-user state, and the state may be configured in a configuration file, and the maximum number of supported users is also specified in the configuration file; Step S904, creating a mount point, that is, if Currently, it is a multi-user state, then the system allocates the storage space of each user. First, a mount point path is created. The mount point path includes the path where the sdcard is actually to be mounted and the directory where each user mounts the sdcard. And then define the corresponding environment variables, which can be configured in the system startup configuration file;
步骤 S906, 对挂载点进行进程间不共享属性设置 (unshared ( ) ), 该 属性为 Linux所有, Android同样拥有这个属性设置。 设置该属性可以使各 用户创建的挂载点不共享, 只有自己可见, 这样用户之间就无法访问其他 用户的文件系统, 各用户都拥有自己一套独立的文件系统, 通过文件管理 器等手机应用程序也只能看到各用户自己存储路径下的文件, 其他用户的 文件无法看到, 比如, 在用户甲中只能看到用户甲拍摄的照片, 而进入用 户乙的用户状态后也只能看到用户乙所拍摄的照片; 在安装手机应用时, 各用户安装的应用程序也是无法共享的, 比如用户甲安装了某一个第三方 手机应用, 在进入用户乙后, 在手机中也是无法看到该应用的, 如果用户 乙想使用该应用, 只有在用户乙的用户状态下也安装一次该应用才可以正 常使用该应用, 通过存储路径的区分从而从根本上将用户的文件系统进行 隐藏;  Step S906, performing an inter-process non-shared attribute setting (unshared ( )) on the mount point, the attribute is owned by Linux, and Android also has the attribute setting. Setting this property can make the mount points created by each user not shared, only visible to themselves, so that users can not access the file system of other users. Each user has its own set of independent file system, through the file manager and other mobile phones. The application can only see the files in the user's own storage path. The files of other users cannot be seen. For example, only the photos taken by user A can be seen in user A, and only the user status of user B is entered. You can see the photos taken by User B. When you install the mobile app, the applications installed by each user cannot be shared. For example, User A installs a third-party mobile phone application. After entering User B, it is not possible in the mobile phone. If you see the application, if user B wants to use the application, the application can be used normally only after the user's user status is installed. The storage path is used to hide the user's file system. ;
步骤 S908: 加载用户对应的应用, 并进入相应的锁屏界面, 即在创建 完存储路径后再加载用户对应的应用, 并进入该用户独有的锁屏界面。  Step S908: Load the application corresponding to the user, and enter the corresponding lock screen interface, that is, after the storage path is created, the application corresponding to the user is loaded, and the lock screen interface unique to the user is entered.
图 10是根据本发明实施例的创建一个用户时的流程图, 如图 10所示, 该流程包括: FIG. 10 is a flowchart of creating a user according to an embodiment of the present invention, as shown in FIG. The process includes:
步骤 S1002 , 检测调用者是否具有所需权限, 即创建新用户前, 必须检 查有没有所需要的权限, 只有系统权限的用户才能创建新用户进入步骤 S1004, 如果没有权限则返回;  Step S1002, detecting whether the caller has the required authority, that is, before creating a new user, it is necessary to check whether there is a required permission, and only the user with the system authority can create a new user to proceed to step S1004, and if there is no permission, return;
步骤 S1004 ,检查多用户环境是否到达用户数量限制, 即检测如果有创 建新用户的权限, 再检查当前用户个数是否已经达到最大数量, 如果已经 达到, 则返回, 否则进入步骤 S1006;  Step S1004, checking whether the multi-user environment reaches the limit of the number of users, that is, if there is permission to create a new user, and then checking whether the current number of users has reached the maximum number, if it has been reached, then return, otherwise proceeds to step S1006;
步骤 S1006 , 为新用户创建相关目录, 即如果当前用户数量未曾达到最 大, 则新增一个用户, 并且为该新用户创建用户目录;  Step S1006: Create a related directory for the new user, that is, if the current number of users has not reached the maximum, add a new user, and create a user directory for the new user;
步骤 S1008 , 序列化用户列表, 即修改用户列表, 该列表用来维护所有 的用户信息, 诸如用户名称、 用户 ID等;  Step S1008, serializing the user list, that is, modifying the user list, the list is used to maintain all user information, such as a user name, a user ID, and the like;
步骤 S1010 , 为用户建立相应的数据目录, 参数设置等, 即为用户创建 数据存储目录, 并进行新建用户的各基本参数设置, 包括解锁方式, 该解 锁方式会保存在相应的数据结构中;  Step S1010: Establish a corresponding data directory, parameter setting, etc. for the user, that is, create a data storage directory for the user, and perform basic parameter setting of the newly created user, including an unlocking manner, and the unlocking mode is saved in the corresponding data structure;
步骤 S1012 , 设置解锁图案;  Step S1012, setting an unlock pattern;
步骤 S1014 , 判断解锁图案是否重复, 即在设置完解锁图案后, 会进行 一个遍历比较, 如果发现新建用户的解锁图案与之前用户的解锁图案冲突, 则提示用户重新设置, 直到不再冲突, 否则结束流程;  In step S1014, it is determined whether the unlock pattern is repeated, that is, after the unlock pattern is set, a traversal comparison is performed. If the unlock pattern of the newly created user conflicts with the unlock pattern of the previous user, the user is prompted to reset, until no more conflicts, otherwise End the process;
步骤 S1016 , 结束流程。  Step S1016, ending the process.
图 11是根据本发明实施例的用户之间的切换流程图, 如图 11所示, 该流程包括:  FIG. 11 is a flowchart of switching between users according to an embodiment of the present invention. As shown in FIG. 11, the process includes:
步骤 S1102, 根据用户输入的解锁图案获取对应的用户, 即, 如果想切 换用户, 则直接按电源 (POWER )键锁屏, 然后输入想切换的用户的解锁 图案, 手机会根据该解锁图案查找到对应的用户, 如果输入的解锁图案不 与任何用户匹配, 则提示用户重新输入; 步骤 S1104, 获取切换目标用户信息, 并设定当前用户为目标用户, 即 获取目标用户的数据信息; Step S1102: Acquire a corresponding user according to the unlock pattern input by the user, that is, if you want to switch the user, directly press the POWER button to lock the screen, and then input the unlock pattern of the user who wants to switch, and the mobile phone searches according to the unlock pattern. The corresponding user, if the input unlock pattern does not match any user, prompt the user to re-enter; Step S1104: Obtain the switching target user information, and set the current user as the target user, that is, obtain the data information of the target user;
步骤 S1106, 设定当前用户为目标用户, 并且锁定屏幕;  Step S1106, setting the current user as the target user, and locking the screen;
步骤 S1108, 切换目标用户的状态为 "启动" 状态;  Step S1108: The state of the switching target user is a "starting" state;
步骤 S1110, 切换目标用户的 Activity堆栈至当前用户;  Step S1110: Switch the activity stack of the target user to the current user.
步骤 S1112, 存储目录切换、 安全设置切换等, 打开目标用户的锁屏界 面, 即进行存储目录切换、 安全设置切换等操作, 并显示目标用户的锁屏 界面, 至此, 用户信息已更新完毕, 目标用户也已切换到前台。  Step S1112, storing directory switching, security setting switching, etc., opening the lock screen interface of the target user, that is, performing operation such as storage directory switching, security setting switching, and displaying the lock screen interface of the target user, and thus, the user information has been updated, the target The user has also switched to the foreground.
图 12是根据本发明实施例的移除一个用户的流程图, 如图 12所示, 该流程包括:  FIG. 12 is a flowchart of removing a user according to an embodiment of the present invention. As shown in FIG. 12, the process includes:
步骤 S1202, 检测调用者是否具有所需权限, 即移除一个用户前, 必须 检查有没有所需要的权限, 只有系统权限的用户才能移除用户, 进入步骤 S1204, 如果没有权限则返回;  In step S1202, it is detected whether the caller has the required permission, that is, before removing a user, it is necessary to check whether there is a required permission, and only the user with the system authority can remove the user, and proceeds to step S1204, and if there is no permission, returns;
步骤 S1204, 如果有权限, 则将用户 id加入待移除用户列表, 将用户 状态设为 "待移除", 在下次系统启动时会清除此用户;  In step S1204, if there is permission, the user id is added to the user list to be removed, and the user status is set to "to be removed", and the user is cleared when the system is started next time;
步骤 S1206, 停止该用户, 杀死该用户进程;  Step S1206, stopping the user, killing the user process;
步骤 S1208, 删除该用户的配置文件和数据文件;  Step S1208, deleting the configuration file and the data file of the user;
步骤 S1210, 更新用户列表文件。  Step S1210: Update the user list file.
基于上述实施例提供的终端多用户处理方法, 本发明实施例提供一 种终端, 所述终端包括存储器和与所述存储器连接的处理器; 其中:  Based on the terminal multi-user processing method provided by the foregoing embodiment, an embodiment of the present invention provides a terminal, where the terminal includes a memory and a processor connected to the memory;
所述存储器用于存储可执行指令, 当所述可执行指令被执行时, 使所 述处理器:  The memory is for storing executable instructions that, when executed, cause the processor to:
为终端不同的用户分配各自独立的存储空间;  Allocating separate storage spaces for different users of the terminal;
依据分配的各自独立的所述存储空间进行多用户处理。  Multi-user processing is performed in accordance with the respective independent storage spaces allocated.
本发明实施例提供的终端多用户处理装置中的分配模块、 处理模块和 创建模块, 以及处理模块所包括的创建单元和处理单元, 以及处理单元所 包括的各子单元, 都可以通过终端中的处理器来实现; 当然也可通过具体 的逻辑电路实现; 在具体实施例的过程中, 处理器可以为中央处理器The allocation module, the processing module and the processing module in the terminal multi-user processing device provided by the embodiment of the present invention The creation module, and the creation unit and the processing unit included in the processing module, and the sub-units included in the processing unit can be implemented by a processor in the terminal; of course, it can also be implemented by a specific logic circuit; In the process, the processor can be a central processor
( CPU )、 微处理器 (MPU )、 数字信号处理器 (DSP )或现场可编程门阵 列 (FPGA )等。 (CPU), Microprocessor (MPU), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
本发明实施例中, 如果以软件功能模块的形式实现上述的终端多用户 处理方法, 并作为独立的产品销售或使用时, 也可以存储在一个可读取存 储介质中。 基于这样的理解, 本发明实施例的技术方案本质上或者说对现 有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产 品存储在一个存储介质中, 包括若干指令用以使得一台计算机设备(可以 是个人计算机、 服务器、 或者网络设备等)执行本发明各个实施例所述方 法的全部或部分。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 ( ROM, Read Only Memory ),磁碟或者光盘等各种可以存储程序代码的介 质。 这样, 本发明实施例不限制于任何特定的硬件和软件结合。  In the embodiment of the present invention, if the terminal multi-user processing method described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is implemented to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program code. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地, 本发明实施例再提供一种可读存储介质, 所述可读存储介质 中存储有可执行指令, 所述可执行指令用于执行上述本发明各实施例所提 供的终端多用户处理方法。  Correspondingly, the embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores executable instructions, where the executable instructions are used to perform terminal multi-user processing provided by the embodiments of the present invention. method.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。 工业实用性  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention. Industrial applicability
本发明实施例中, 为终端不同的用户分配各自独立的存储空间; 依据 分配的各自独立的存储空间进行多用户处理; 如此, 釆用本发明实施例提 供的技术方案, 解决了相关技术中, 并不能实现真正意义上的区分用户, 以及数据资源有效隔离屏蔽的问题, 进而达到了从根本上为用户分配独立 的存储空间, 相互之间不能进行空间的访问, 保证了数据资源的安全以及 实现了真正的多用户系统的效果。 In the embodiment of the present invention, different users of the terminal are allocated independent storage spaces; and the multi-user processing is performed according to the allocated independent storage spaces; thus, the technical solutions provided by the embodiments of the present invention are used to solve the related art. It is not possible to differentiate users in the true sense. As well as the problem of effective isolation and shielding of data resources, the user can be allocated independent storage space fundamentally, and no space can be accessed from each other, which ensures the security of data resources and realizes the effect of a true multi-user system.

Claims

权利要求书 claims
1、 一种终端多用户处理方法, 所述方法包括: 1. A terminal multi-user processing method, the method includes:
为终端不同的用户分配各自独立的存储空间; Allocate independent storage space to different terminal users;
依据分配的各自独立的所述存储空间进行多用户处理。 Multi-user processing is performed according to the allocated respective independent storage spaces.
2、 根据权利要求 1所述的方法, 其中, 在为所述终端不同的用户分 配各自独立的所述存储空间之后, 所述方法还包括: 2. The method according to claim 1, wherein after allocating independent storage spaces to different users of the terminal, the method further includes:
为分配的各自独立的所述存储空间创建访问密钥。 Access keys are created for each of the allocated separate storage spaces.
3、 根据权利要求 1或 2所述的方法, 其中, 依据分配的各自独立的 所述存储空间进行多用户处理, 包括: 3. The method according to claim 1 or 2, wherein multi-user processing is performed based on the allocated independent storage spaces, including:
为各自独立的所述存储空间所对应的用户创建各自独立的数据存储 路径; Create independent data storage paths for users corresponding to the independent storage spaces;
依据创建的各自独立的所述数据存储路径进行各个用户的操作处 理。 The operations of each user are processed according to the created independent data storage paths.
4、 根据权利要求 3所述的方法, 其中, 依据创建的各自独立的所述 数据存储路径进行各个用户的操作处理, 包括: 4. The method according to claim 3, wherein each user's operation processing is performed based on the created independent data storage paths, including:
在所述终端处于锁屏状态的情况下, 接收解锁输入; When the terminal is in a locked screen state, receive an unlock input;
在所述解锁输入与所述终端所存储的其中一个用户匹配的情况下, 将所述终端当前的数据操作路径切换至与所述解锁输入对应的用户的数 据存储路径。 When the unlocking input matches one of the users stored in the terminal, the current data operation path of the terminal is switched to the data storage path of the user corresponding to the unlocking input.
5、 根据权利要求 3所述的方法, 其中, 依据创建的各自独立的所述 数据存储路径进行各个用户的操作处理, 包括: 5. The method according to claim 3, wherein each user's operation processing is performed based on the created independent data storage paths, including:
接收来自用户的新增用户请求; Receive new user requests from users;
依据所述新增用户请求从当前用户所分配的存储空间的剩余空间中 为所述新增用户划分空间。 According to the new user request, space is divided for the new user from the remaining space of the storage space allocated by the current user.
6、 根据权利要求 3所述的方法, 其中, 依据创建的各自独立的所述 数据存储路径进行各个用户的操作处理包括: 6. The method according to claim 3, wherein, according to each of the independently created The data storage path for each user's operation processing includes:
接收来自用户的删除用户请求; Receive user deletion requests from users;
依据所述删除用户请求释放对应用户的存储空间。 The storage space corresponding to the user is released according to the deletion user request.
7、 一种终端多用户处理装置, 所述装置包括分配模块和处理模块, 其中: 7. A terminal multi-user processing device, the device includes a distribution module and a processing module, wherein:
所述分配模块, 配置为为终端不同的用户分配各自独立的存储空间; 所述处理模块, 配置为依据分配的各自独立的所述存储空间进行多 用户处理。 The allocation module is configured to allocate independent storage spaces to different users of the terminal; the processing module is configured to perform multi-user processing based on the allocated independent storage spaces.
8、 根据权利要求 7所述的装置, 其中, 该装置还包括创建模块, 配 置为为分配的各自独立的所述存储空间创建访问密钥。 8. The device according to claim 7, wherein the device further includes a creation module configured to create access keys for the allocated independent storage spaces.
9、 根据权利要求 7或 8所述的装置, 其中, 所述处理模块包括创建 单元和处理单元, 其中: 9. The device according to claim 7 or 8, wherein the processing module includes a creation unit and a processing unit, wherein:
所述创建单元, 配置为为各自独立的所述存储空间所对应的用户创 建各自独立的数据存储路径; The creation unit is configured to create independent data storage paths for users corresponding to the independent storage spaces;
所述处理单元, 配置为依据创建的各自独立的所述数据存储路径进 行各个用户的操作处理。 The processing unit is configured to perform operation processing for each user based on the created independent data storage paths.
10、 根据权利要求 9 所述的装置, 其中, 所述处理单元包括第一接 收子单元和切换子单元, 其中: 10. The device according to claim 9, wherein the processing unit includes a first receiving subunit and a switching subunit, wherein:
所述第一接收子单元, 配置为在所述终端处于锁屏状态的情况下, 接收解锁输入; The first receiving subunit is configured to receive an unlocking input when the terminal is in a screen lock state;
所述切换子单元, 配置为在所述解锁输入与所述终端所存储的其中 一个用户匹配的情况下, 将所述终端当前的数据操作路径切换至与所述 解锁输入对应的用户的数据存储路径。 The switching subunit is configured to switch the current data operation path of the terminal to the data storage of the user corresponding to the unlocking input when the unlocking input matches one of the users stored in the terminal. path.
11、 根据权利要求 9 所述的装置, 其中, 所述处理单元包括第二接 收子单元和划分子单元, 其中: 所述第二接收子单元, 配置为接收来自用户的新增用户请求; 所述划分子单元, 配置为依据所述新增用户请求从当前用户所分配 的存储空间的剩余空间中为所述新增用户划分空间。 11. The device according to claim 9, wherein the processing unit includes a second receiving subunit and a dividing subunit, wherein: The second receiving subunit is configured to receive a new user request from the user; the dividing subunit is configured to provide the new user request from the remaining space of the storage space allocated by the current user based on the new user request. Add users to divide the space.
12、 根据权利要求 9 所述的装置, 其中, 所述处理单元包括第三接 收子单元和释放子单元, 其中: 12. The device according to claim 9, wherein the processing unit includes a third receiving subunit and a releasing subunit, wherein:
所述第三接收子单元, 配置为接收来自用户的删除用户请求; 所述释放子单元, 配置为依据所述删除用户请求释放对应用户的存 储空间。 The third receiving subunit is configured to receive a user deletion request from the user; the release subunit is configured to release the storage space corresponding to the user based on the user deletion request.
13、一种终端,所述终端包括权利要求 7至 12中任一项所述的装置。 13. A terminal comprising the device according to any one of claims 7 to 12.
14、 一种终端, 所述终端包括存储器和与所述存储器连接的处理器; 其中: 14. A terminal, the terminal includes a memory and a processor connected to the memory; wherein:
所述存储器用于存储可执行指令, 当所述可执行指令被执行时, 使所 述处理器: The memory is used to store executable instructions. When the executable instructions are executed, the processor:
为终端不同的用户分配各自独立的存储空间; Allocate independent storage space to different terminal users;
依据分配的各自独立的所述存储空间进行多用户处理。 Multi-user processing is performed according to the allocated respective independent storage spaces.
15、 一种可读存储介质, 所述可读存储介质中存储有可执行指令, 所述可执行指令用于执行权利要求 1至 6任一项所述的终端多用户处理 方法。 15. A readable storage medium, in which executable instructions are stored, and the executable instructions are used to execute the terminal multi-user processing method described in any one of claims 1 to 6.
PCT/CN2014/081041 2013-10-22 2014-06-27 Method and device for processing a plurality of users of terminal, terminal and storage medium WO2015058548A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310498841.5A CN104573541A (en) 2013-10-22 2013-10-22 Terminal, and method and device for processing multiple users of terminal
CN201310498841.5 2013-10-22

Publications (1)

Publication Number Publication Date
WO2015058548A1 true WO2015058548A1 (en) 2015-04-30

Family

ID=52992209

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081041 WO2015058548A1 (en) 2013-10-22 2014-06-27 Method and device for processing a plurality of users of terminal, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN104573541A (en)
WO (1) WO2015058548A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383672A (en) * 2016-10-10 2017-02-08 广东欧珀移动通信有限公司 Multi-open application data deletion method and apparatus, and mobile terminal
US20180165442A1 (en) * 2015-05-28 2018-06-14 Oneplus Technology (Shenzhen) Co., Ltd. Multiuser login method, device and storage medium
CN113448873A (en) * 2021-07-22 2021-09-28 湖北亿咖通科技有限公司 Software testing method, device, storage medium and program product
CN113835857A (en) * 2021-09-18 2021-12-24 青岛海信移动通信技术股份有限公司 External storage device mounting method, device, equipment and medium

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201223A (en) * 2016-08-15 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of notification message display packing and device
CN106657567A (en) * 2016-09-09 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Multi-user access method, multi-user access device and terminal
CN106648736B (en) * 2016-10-10 2019-09-24 Oppo广东移动通信有限公司 A kind of control method of application, device and mobile terminal
CN106648459B (en) * 2016-10-10 2019-09-24 Oppo广东移动通信有限公司 A kind of data managing method of application, device and mobile terminal
CN108228383B (en) * 2016-12-15 2021-01-15 中国移动通信有限公司研究院 Data processing method and device for multi-user system
CN106778355A (en) * 2017-01-19 2017-05-31 深圳市云点科技有限公司 The isolation access method and device of data
CN106603576A (en) * 2017-02-07 2017-04-26 上海与德信息技术有限公司 Multi-account management method and device for terminal
CN107257508B (en) * 2017-08-17 2019-01-29 北京达佳互联信息技术有限公司 A kind of storage method of video data, device and intelligent glasses
CN110072234A (en) * 2017-10-31 2019-07-30 西安中兴新软件有限责任公司 Control the method and device of Wireless Fidelity connection
CN108196899B (en) * 2017-12-07 2021-04-13 青岛海信移动通信技术股份有限公司 Method and device for creating multiple users
CN112016062A (en) * 2019-05-28 2020-12-01 成都鼎桥通信技术有限公司 Method for creating workspace on android device and android device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833383A (en) * 2012-07-20 2012-12-19 上海华勤通讯技术有限公司 Multi-user management method of electronic equipment
CN102932535A (en) * 2012-10-18 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal shared by multiple users and using method for mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002111845A (en) * 2000-09-27 2002-04-12 Nec Corp Common portable telephone and method of sharing portable telephone
CN101207864A (en) * 2006-12-20 2008-06-25 中兴通讯股份有限公司 Method for implementing multi-user management and information hiding in mobile phone
CN101499039B (en) * 2008-01-31 2011-04-20 精品科技股份有限公司 Information storage apparatus for sharing individual information of user and its sharing method
CN102200948A (en) * 2010-03-23 2011-09-28 北京爱国者信息技术有限公司 Multi-partition memory device and access method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833383A (en) * 2012-07-20 2012-12-19 上海华勤通讯技术有限公司 Multi-user management method of electronic equipment
CN102932535A (en) * 2012-10-18 2013-02-13 广东欧珀移动通信有限公司 Mobile terminal shared by multiple users and using method for mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180165442A1 (en) * 2015-05-28 2018-06-14 Oneplus Technology (Shenzhen) Co., Ltd. Multiuser login method, device and storage medium
CN106383672A (en) * 2016-10-10 2017-02-08 广东欧珀移动通信有限公司 Multi-open application data deletion method and apparatus, and mobile terminal
CN113448873A (en) * 2021-07-22 2021-09-28 湖北亿咖通科技有限公司 Software testing method, device, storage medium and program product
CN113835857A (en) * 2021-09-18 2021-12-24 青岛海信移动通信技术股份有限公司 External storage device mounting method, device, equipment and medium
CN113835857B (en) * 2021-09-18 2024-04-02 青岛海信移动通信技术有限公司 Mounting method, device, equipment and medium of external storage equipment

Also Published As

Publication number Publication date
CN104573541A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
WO2015058548A1 (en) Method and device for processing a plurality of users of terminal, terminal and storage medium
US9049013B2 (en) Trusted security zone containers for the protection and confidentiality of trusted service manager data
KR101794184B1 (en) Application authentication policy for a plurality of computing devices
CN109922106B (en) Cloud mobile phone system realized based on Docker container
EP3089494B1 (en) Trusted execution environment initialization method and mobile terminal
US9086937B2 (en) Cloud-based application resource files
CN103955638A (en) Method and device for privacy protection
CN108628658A (en) A kind of licence managing method and device of container
CN106991321B (en) Method and device for running application program in multi-container system without trace
WO2013075412A1 (en) Security control method and device for mobile terminal
JP2016530582A (en) Locking mobile devices by context
WO2014190875A1 (en) System function call method, apparatus and terminal
US20210182440A1 (en) System for preventing access to sensitive information and related techniques
CN103778379B (en) Application in management equipment performs and data access
CN115374481A (en) Data desensitization processing method and device, storage medium and electronic equipment
US20140041053A1 (en) Data block access control
CN107305608A (en) The management method and device of terminal device
CN106648962B (en) A kind of management method, device and intelligent terminal for opening application more
CN109076126A (en) Permission update method and terminal device
US20230098536A1 (en) Dynamic security challenge authentication
CN115186269A (en) Vulnerability mining method and device, storage medium and electronic equipment
US10616242B2 (en) Forward and backward NIAP migration of certificate stores
CN113496039A (en) Authority management method and terminal
EP3091469B1 (en) Data card application method and data card
US9612885B1 (en) System and method for providing a transient and removable inflection point

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14856594

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14856594

Country of ref document: EP

Kind code of ref document: A1