CN104091102B - A kind of multi-user management method and its device based on Android system - Google Patents
A kind of multi-user management method and its device based on Android system Download PDFInfo
- Publication number
- CN104091102B CN104091102B CN201410223349.1A CN201410223349A CN104091102B CN 104091102 B CN104091102 B CN 104091102B CN 201410223349 A CN201410223349 A CN 201410223349A CN 104091102 B CN104091102 B CN 104091102B
- Authority
- CN
- China
- Prior art keywords
- subwindow
- application
- user
- window
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
Abstract
The present invention provides a kind of multi-user management method and device based on Android system, operation has first application associated with the first ID in the subwindow of Android system terminal first, and operation has second application associated with second user ID in the subwindow of Android system terminal second;Methods described comprises the following steps:Receive the operation instruction transmitted by the second application that user runs into the second subwindow;Determine that in the corresponding data field of the second markup information with being pre-set in window management service Window Manager Service be data field to be visited according to the operation instruction;Access the data field to be visited;Second markup information is used to represent that the second subwindow is corresponding with second user ID.Described device realizes the multi-user management of Android system terminal using methods described, can allow user while access the data field corresponding to two or more IDs.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of multi-user management method and its device based on Android system.
Background technology
With the popularization for the intelligent terminal for being mounted with Android (Android) system, and the arrival in mobile Internet epoch,
Mobile phone terminal and tablet personal computer increasingly become personal information centre and recreation center.With regard to the development trend of Android intelligent terminal
From the point of view of, giant-screen, high-resolution, the PCization terminal of powerful disposal ability and storage capacity increasingly become the happiness of more crowds
Love, this respect is using large-screen mobile phone and tablet personal computer as representative.
For the hardware configuration level of current mobile phone, disposal ability and computing capability are equally matched with personal PC,
But the application management method that Android system provides, can not accomplishing multiple application programs, multiple tasks window is simultaneously in other words
Operation.In use, user is often desirable to the information block of Android system terminal, is made according to different group storages
With, and specific authority is set to each group, for example, information is divided into the specific information for being related to security and privacy etc. and
General information;After being classified to information, user can usually wish to conduct interviews to one of grouping information
When, the data access of other packets is limited by appropriate.However, in actual use, user is it is possible to same
When using different grouping information, such as:If the information of Android system terminal is divided into general information and is related to security by user
With the specific information of privacy, then would be possible to use Android simultaneously user is applied using Taobao and Alipay is applied simultaneously when
The general information of system terminal and the specific information for being related to security and privacy.
The content of the invention
In view of this, the present invention provides a kind of multi-user management method and its device based on Android system, can allow for
User is in Android system terminal simultaneously using the information of the different groups limited with authority.
Based on above-mentioned purpose, the multi-user management method provided by the invention based on Android system, in Android system terminal
Operation has first application associated with the first ID in first subwindow, and is transported in the subwindow of Android system terminal second
Row has second application associated with second user ID;Methods described comprises the following steps:
Receive the operation instruction transmitted by the second application that user runs into the second subwindow;
Determined according to the operation instruction with being set in advance in window management service Window Manager Service
Data field corresponding to the second markup information put is data field to be visited;
Access the data field to be visited;
Second markup information is used to represent that the second subwindow is corresponding with second user ID.
Optionally, before receiving the operation instruction transmitted by the second application that user runs into the second subwindow, also wrap
Include:
Receive second in the second subwindow that user sends and apply enabled instruction;
Enabled instruction is applied according to described second, starts second application in the second subwindow;
Second markup information is marked in window management service Window Manager Service.
Optionally, second application is started using Intent modes are intended to.
Optionally, before starting the second application in the second subwindow, in addition to:
System file corresponding to effective ID is subjected to carry;
According to the ID logon information received, second user ID is logged in corresponding second subwindow;
Obtain application bag name and the icon resource associated with second user ID;
In list of application corresponding to second subwindow generation second user ID.
Optionally, file system mounted corresponding to the effective ID is storage/emulator/ID/
Sdcard0 and storage/emulator/ID/sdcard1.
Optionally, before receiving the application enabled instruction of second in the second subwindow that user sends, in addition to:
At least two subwindows for including first window and the second subwindow are mapped to corresponding virtual unit
On;
Virtual generation administrative mechanism corresponding with each subwindow;
The virtual unit safeguards that at least one can be provided for the foreground task run on the virtual unit performs ring
The virtual unit environment in border.
Optionally, after starting second application in the second subwindow, in addition to:
Activity Managerr Service are serviced by corresponding application management and safeguard the second Life Cycle applied
Phase, and pass through the window message of corresponding window management service Window Managerr Service independences the second application of management and control
Queue.
Further, the present invention provides a kind of multi-user management device based on Android system, in Android system terminal first
Operation has associated with the first ID first to apply in subwindow, and runs and have in the subwindow of Android system terminal second
Second application associated with second user ID;Described device includes:
Operation instruction receiving module:The operation transmitted by the second application run for receiving user into the second subwindow
Instruction;
Data field determining module to be visited:For being determined according to the operation instruction with servicing Window in window management
Data field corresponding to the second markup information pre-set in Manager Service is data field to be visited;
Access modules:For accessing the data field to be visited;
Second markup information is used to represent that the second subwindow is corresponding with second user ID.
Optionally, described device also includes:
Enabled instruction receiving module:Second in the second subwindow for receiving user's transmission applies enabled instruction;
Application launch module:For applying enabled instruction according to described second, start described second in the second subwindow
Using;
Labeling module:For marking the second mark letter in window management service Window Manager Service
Breath.
Optionally, second application is started using Intent modes are intended to.
Optionally, described device also includes:
Carry module:For system file corresponding to effective ID to be carried out into carry;
User's log-in module:For according to the ID logon information that receives, the is logged in corresponding second subwindow
Two IDs;
Application message acquisition module:Associated with second user ID for acquisition applies bag name and icon resource;
List of application generation module:For in list of application corresponding to second subwindow generation second user ID.
Optionally, system file carry corresponding to the effective ID is storage/emulator/ID/
Sdcard0 and storage/emulator/ID/sdcard1.
Optionally, described device also includes:
Mapping block:It is right with it at least two subwindows comprising the first subwindow and the second subwindow to be mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each subwindow;
The virtual unit safeguards that at least one can be provided for the foreground task run on the virtual unit performs ring
The virtual unit environment in border.
Optionally, described device also includes:
Life cycle maintenance module:For servicing Activity Managerr Service by corresponding application management
Safeguard the life cycle of the second application;
Window message queue management and control module:For servicing Window Managerr by corresponding window management
The window message queue that Service independences management and control second is applied.
From the above it can be seen that the multi-user management side based on Android system that the present invention and embodiment are provided
Method and device, it is allowed to log in the first ID and second user respectively in the subwindow of Android system terminal first and the second subwindow
ID;And there is associated with the first ID the first application in the operation of the first subwindow, run in the second subwindow and have the second use
In the case of the second associated family ID application, as the behaviour that the application for receiving user's operation of a subwindow thereto is sent
Indicate, the operation instruction data field to be accessed can be determined according to the markup information pre-set in being serviced in window management;
When another operation instruction that the application for receiving user's operation of another subwindow thereto is sent, according in window management
The markup information pre-set in service determines another operation instruction data field to be accessed, and realizes a user
The data field of at least two IDs is operated simultaneously, user is met during Android system is actually used while makes
The demand of information corresponding to multiple IDs.
Brief description of the drawings
Fig. 1 is the multi-user management method schematic flow sheet based on Android system of the embodiment of the present invention;
Fig. 2 is represented transmitted by the second application that the reception user of an embodiment of the present invention runs into the second subwindow
Before operation instruction step, performed step schematic flow sheet;
Before Fig. 3 is the step of an embodiment of the present invention starts the second application in the second subwindow, performed step
Rapid schematic flow sheet;
Fig. 4 is that an embodiment of the present invention applies enabled instruction in second in the second subwindow for receiving user's transmission
The step of before, performed step schematic flow sheet;
Fig. 5 A-5B are the interface schematic diagram that the first subwindow of the embodiment of the present invention and the second subwindow are presented;
Fig. 6 represents the multi-user management method flow chart based on Android system of an embodiment of the present invention;
Fig. 7 is the multi-user management apparatus structure schematic diagram based on Android system of the embodiment of the present invention.
Embodiment
It is attached below in conjunction with specification the embodiments of the invention provide following examples in order to provide effective implementation
Figure illustrates to embodiments of the invention.
First, the present invention provides a kind of multi-user management method based on Android system, it is characterised in that in the first sub- window
Operation has associated with the first ID the first application in mouthful, and run in the second subwindow have it is related to second user ID
Second application of connection;Methods described comprises the following steps:
Receive the operation instruction transmitted by the second application that user runs into the second subwindow;
Determined according to the operation instruction with being set in advance in window management service Window Manager Service
Data field corresponding to the second markup information put is data field to be visited;
Access the data field to be visited;
Second markup information is used to represent that the second subwindow is corresponding with second user ID.
From the above it can be seen that the multi-user management method provided by the invention based on Android system, respectively
Operation has associated with the first ID first to apply and associated with second user ID in one subwindow and the second subwindow
Second application, user can in Android system terminal simultaneously access at least two different user ID corresponding to data field, it is right
The data field for belonging to different user ID is called and operated, while convenience in user's actual use Android system terminal procedures
Use the demand of multiple ID data.In addition, the data field corresponding to different user ID is according to the markup information pre-set
Make a distinction, between data field independently of each other, during so as to log in some ID, be only capable of the subwindow pair logged in the ID
Corresponding data field conducts interviews, and avoids two IDs while accesses same data field and cause exception.
In an embodiment of the present invention, being run in the first subwindow of Android system terminal has and the first ID
The first associated application, and operation has second associated with second user ID in the second subwindow of Android system terminal
Using;The multi-user management method based on Android system includes step as shown in Figure 1:
Step 101:Receive the operation instruction transmitted by the second application that user runs into the second subwindow.
The operation instruction can be the operation instruction that user is inputted by touch-screen or input through keyboard mechanism, more specifically
, the operation instruction can include the instruction of folder information read operation, the instruction of associated person information read operation, message registration
The data read operation instruction such as read operation instruction;Fileinfo change operation instruction can also be included, short message editing operation refers to
Show, other information input operation instruction etc. data write operation instruction.
Step 102:According to the operation instruction determine with window management service (Window Manager
Service data field corresponding to the second markup information pre-set in) is data field to be visited.
Second markup information is used to represent that the second subwindow is corresponding with second user ID.
Described second is applied after the startup of the second subwindow, and the second subwindow is labeled in window management service,
Setting illustrates second subwindow, second markup information associated with second user ID.Should to described second according to user
Operation instruction, you can it is determined that being in the corresponding data field of the second markup information with being pre-set in being serviced in window management
Data field to be visited.
Step 103:Access the data field to be visited.
Specifically, application management service (Activity Manager can be notified according to second markup information
Service), second application is made to access the data field of second user ID subordinates.
In step 103, the data field to be visited is accessed, performs the operation indicated by the operation instruction, including number
According to reading, data write-in etc..
In some embodiments of the invention, the behaviour transmitted by the second application that user runs into the second subwindow is received
Before indicating, in addition to step as shown in Figure 2:
Step 201:Receive second in the second subwindow that user sends and apply enabled instruction.
Step 202:Enabled instruction is applied according to described second, starts second application in the second subwindow.
Step 203:Second markup information is marked in window management service.
In certain embodiments, second application is started using (Intent) mode of intention.
In certain embodiments, first application is also started using intended fashion.
In certain embodiments, also the principle shown in Fig. 2 can be used to start the first application.
In certain embodiments, reference picture 3, before starting the second application in the second subwindow, in addition to:
Step 301:System file corresponding to effective ID is subjected to carry.
Step 302:According to the ID logon information received, second user ID is logged in corresponding second subwindow.
The ID logon information, can be the Authority Verification information of user's input, and the Authority Verification information is further
Can be password or the unlocking pattern.
Step 303:Obtain application bag name and the icon resource associated with second user ID.
The application bag name is included in the application package name installed under second user ID, and the icon resource includes and institute
State and apply icon resource corresponding to bag name.Acquired application bag name and icon resource uses for follow-up startup application and display.
Step 304:In list of application corresponding to second subwindow generation second user ID.
The list of application, which is used to show in the second subwindow, to be used.
In certain embodiments, after step 301, the first use can also be logged according to the principle described in step 302-304
Family ID.
In certain embodiments, file system mounted corresponding to the effective ID is storage/emulator/
ID/sdcard0 and storage/emulator/ID/sdcard1.
As a kind of specific embodiment, the storage/emulator/ID/sdcard0 of above-mentioned file system institute carry and
Storage/emulator/ID/sdcard1 can refer to storage/emulator/X/sdcard0 and storage/ respectively
Emulator/X/sdcard1, wherein X can be arbitrary integers.
Specifically, can be storage/ by the first ID or the file system mounted of second user ID or other IDs
Emulator/0/sdcard0 and storage/emulator/0/sdcard1.When Adding User ID, by newly-increased ID
According to newly-increased sequencing, by the file system of subsequently newly-increased each ID, carry is storage/ successively
Emulator/1/sdcard0 and storage/emulator/1/sdcard1, storage/emulator/2/sdcard0 and
Storage/emulator/2/sdcard1 ... by that analogy, often increases a user, storage/emulator/X/ newly
X numerical value in sdcard0 and storage/emulator/X/sdcard1 adds 1, by the difference in carry path, by different user
ID carries out logic distinguishing on store path, when logging in an ID, can only access the file system for belonging to the ID
File resource under carry path, all IDs are shared with a memory space, but are logically separated, each
The file system mapping path of ID is independent, and corresponding data field does not have coupling logically, after each logging in
ID monopolizes a system resource and administrative mechanism, will not be produced because of multiple IDs two are logged in simultaneously in Android system terminal
Production-goods source, which is seized, causes system exception.When accessing data field, corresponding data can be accessed when only logging in corresponding ID
Area, so improve the security and privacy of user data.Can mutually it switch between multiple IDs.
In certain embodiments, reference picture 4, receive second in the second subwindow that user sends and apply enabled instruction
Before, in addition to:
Step 401:An at least subwindow is mapped on corresponding virtual unit;
Step 402:Virtual generation administrative mechanism corresponding with each subwindow;
The virtual unit safeguards that at least one can be provided for the foreground task run on the virtual unit performs ring
The virtual unit environment in border.
Interface is presented in first subwindow and the second subwindow of Fig. 5 A and Fig. 5 B shows two kinds of embodiments of the present invention.
In certain embodiments, the administrative mechanism includes the administrative mechanism of application layer and application framework layer.
In certain embodiments, specifically, the administrative mechanism of the application framework layer comprises at least application program frame
The display management service (Display Managerr Service) of rack-layer, window management service, application management service, sensing clothes
Be engaged in (Sensor Service), input management service (Input Managerr Service), input method service (Input
Method Service), audio strategy (Audio Policy).
In certain embodiments, should by corresponding application management service second after second application starts
Life cycle, and the window message queue applied by the independent management and control second of corresponding window management service.
Similarly, after the first application starts, corresponding application management service and window management service the can also be passed through
The window message queue that the life cycle of one application and independent management and control first are applied.
In a kind of embodiment of the present invention, the multi-user management method based on Android system includes as shown in Figure 6
Step:
Step 601:According to the ID logon information received, second user ID is logged in corresponding second subwindow.
Step 602:Obtain application bag name and the icon resource associated with second user ID;
Step 603:In list of application corresponding to second subwindow generation second user ID.
Step 604:Receive user's transmission second applies enabled instruction.
Step 605:Start second application in the second subwindow.
Step 606:Second markup information is marked in window management service Window Manager Service.
Step 607:According to the ID logon information received, the first ID is logged in corresponding first subwindow.
Step 608:Obtain application bag name and the icon resource associated with the first ID.
Step 609:List of application corresponding to the first ID is generated in first subwindow.
Step 610:Receive user's transmission first applies enabled instruction.
Step 611:Start first application in the first subwindow.
Step 612:First markup information is marked in window management service Window Manager Service.
Step 613:Receive the operation instruction transmitted by the second application that user runs into the second subwindow.
Step 614:Determined according to the operation instruction with servicing Window Manager Service in window management
In data field corresponding to the second markup information for pre-setting be data field to be visited;
Step 615:Access the data field to be visited.
From the above it can be seen that the multi-user management method provided by the invention based on Android system, in Android system
The system subwindow of terminal first and the second subwindow log in the first ID and second user ID respectively, and are run in the first subwindow
First application associated with the first ID, there are the second associated applications of second user ID in the operation of the second subwindow;When
Receive user thereto the operation of a subwindow application send operation instruction, according to window management service in advance
The markup information of setting determines the operation instruction data field to be accessed;When the fortune for receiving user's another subwindow thereto
Another operation instruction that capable application is sent, determined according to the markup information pre-set in window management service described another
One operation instruction data field to be accessed, realize a user and the data field of at least two IDs is grasped simultaneously
Make, meet user during Android system is actually used while using the demand of information corresponding to multiple IDs.
Further, the present invention provides a kind of multi-user management device based on Android system, and structure is as shown in fig. 7, pacifying
Operation has first application associated with the first ID in first subwindow of tall and erect system terminal, and in Android system terminal
Operation has second application associated with second user ID in second subwindow;Described device structure as shown in fig. 7, comprises:
Operation instruction receiving module:The operation transmitted by the second application run for receiving user into the second subwindow
Instruction.
Data field determining module to be visited:For according to the operation instruction determine with serviced in window management in advance
Data field corresponding to the second markup information set is data field to be visited.
Access modules:For accessing the data field to be visited.
Second markup information is used to represent that the second subwindow is corresponding with second user ID.
From the above it can be seen that the multi-user management device provided by the invention based on Android system, in the first son
Operation has associated with the first ID first to apply and associated with second user ID the in window and the second subwindow
In the case of two applications simultaneously, it is allowed to which user accesses data corresponding at least two different user ID in Android system terminal
Area, the data field for belonging to different user ID is called and operated, facilitate user to actually use in Android system terminal procedures
While using multiple ID data demand.In addition, described device by the data field corresponding to different user ID according to pre-
The markup information first set makes a distinction, and between data field independently of each other, during so as to log in some ID, is only capable of in the user
The subwindow that ID is logged in conducts interviews to corresponding data field, avoids two IDs while accesses same data field and cause
It is abnormal.
In certain embodiments, described device also includes:
Enabled instruction receiving module:Second in the second subwindow for receiving user's transmission applies enabled instruction;
Application launch module:For applying enabled instruction according to described second, start described second in the second subwindow
Using;
Labeling module:For marking second markup information in being serviced in window management.
The enabled instruction receiving module can also be used to receive the application of startup first in the first subwindow that user sends
Instruction.The application launch module can also be used to apply enabled instruction according to described first, start institute in the first subwindow
State the second application.The labeling module can also be used in window management service mark second markup information.
In certain embodiments, second application is started using intended fashion.
In certain embodiments, first application is also started using intended fashion.
In certain embodiments, described device also includes:
Carry module:For system file corresponding to effective ID to be carried out into carry;
User's log-in module:For according to the ID logon information that receives, the is logged in corresponding second subwindow
Two IDs;
Application message acquisition module:Associated with second user ID for acquisition applies bag name and icon resource;
List of application generation module:For in list of application corresponding to second subwindow generation second user ID.
User's log-in module can be additionally used according to the ID logon information received, in corresponding first subwindow
Log in the first ID.The application message acquisition module can also be used to obtaining it is associated with the first ID apply bag name and
Icon resource.The list of application generation module can also be used to generate in first subwindow to be applied corresponding to the first ID
List.
In certain embodiments, system file carry corresponding to the effective ID is storage/emulator/
ID/sdcard0 and storage/emulator/ID/sdcard1.
In certain embodiments, described device also includes:
Mapping block:It is right with it at least two subwindows comprising the first subwindow and the second subwindow to be mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each subwindow;
The virtual unit safeguards that at least one can be provided for the foreground task run on the virtual unit performs ring
The virtual unit environment in border.
In certain embodiments, described device also includes:
Life cycle maintenance module:For the life cycle applied by corresponding application management service second;
Window message queue management and control module:For servicing Window Managerr by corresponding window management
The window message queue that Service independences management and control second is applied.
The life cycle maintenance module can be additionally used in the life applied by corresponding application management service first
Cycle.The window message queue management and control module can also be used to service what independent management and control first was applied by corresponding window management
Window message queue.
In an embodiment of the present invention, the multi-user management device based on Android system includes following structure:
Carry module:For system file corresponding to effective ID to be carried out into carry.
Mapping block:It is right with it at least two subwindows comprising the first subwindow and the second subwindow to be mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each subwindow.
User's log-in module:For according to the ID logon information that receives, the is logged in corresponding second subwindow
Two IDs, and for according to the ID logon information received, the first ID to be logged in corresponding first subwindow.
Application message acquisition module:For obtaining application bag name and the icon resource associated with second user ID, and
Associated with the first ID for acquisition applies bag name and icon resource.
List of application generation module:For generating list of application corresponding to second user ID in second subwindow, with
And for generating list of application corresponding to the first ID in first subwindow.
Enabled instruction receiving module:Second for receiving user's transmission applies enabled instruction, and for receiving user
First sent applies enabled instruction.
Application launch module:For starting second application in the second subwindow, and in the first subwindow
It is middle to start first application.
Labeling module:For marking second markup information in being serviced in window management, and in window management
First markup information is marked in service.
Operation instruction receiving module:The operation transmitted by the second application run for receiving user into the second subwindow
Instruction.The operation instruction receiving module can also be used to receive transmitted by the first application that user runs into the first subwindow
Operation instruction.
Data field determining module to be visited:For according to the operation instruction determine with serviced in window management in advance
Data field corresponding to the second markup information set is data field to be visited.The data field determining module to be visited also can use
In after corresponding operation instruction is received, it is determined that number corresponding to the first markup information pre-set in window management service
It is data field to be visited according to area.
Access modules:For accessing the data field to be visited.
Life cycle maintenance module:For the life cycle applied by corresponding application management service second;
Window message queue management and control module:For servicing the window of the independent application of management and control second by corresponding window management
Message queue.
From the above it can be seen that the multi-user management device provided by the invention based on Android system, it is allowed to user
The first ID and second user ID are logged in respectively in the subwindow of Android system terminal first and the second subwindow, and in the first son
Window runs first application associated with the first ID, has associated second of second user ID in the operation of the second subwindow
Using;When the operation instruction that the application for receiving user's operation of a subwindow thereto is sent, the device is according in window
The markup information pre-set in management service determines the operation instruction data field to be accessed;It is another thereto when receiving user
Another operation instruction that the application of the operation of one subwindow is sent, described device foundation are set in advance in window management service
The markup information put determines another operation instruction data field to be accessed, and realizes a user simultaneously at least two
The data field of individual ID is operated, and is met user during Android system is actually used while is used multiple IDs
The demand of corresponding information.
It should be appreciated that multiple embodiments described by this specification are merely to illustrate and explain the present invention, it is not used to limit
The fixed present invention.And in the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (14)
1. a kind of multi-user management method based on Android system, it is characterised in that in the subwindow of Android system terminal first
Operation has first application associated with the first ID, and operation has and the second use in the subwindow of Android system terminal second
The second associated family ID application;Methods described comprises the following steps:
Receive the operation instruction transmitted by the second application that user runs into the second subwindow;
Determined according to the operation instruction with pre-setting in window management service Window Manager Service
Data field corresponding to second markup information is data field to be visited;
Access the data field to be visited;
Second markup information is used to represent that the second subwindow is corresponding with second user ID;
First subwindow, the second subwindow are located at the different display interface subregions of the Android system terminal respectively.
2. according to the method for claim 1, it is characterised in that receive the second application that user runs into the second subwindow
Before transmitted operation instruction, in addition to:
Receive second in the second subwindow that user sends and apply enabled instruction;
Enabled instruction is applied according to described second, starts second application in the second subwindow;
Second markup information is marked in window management service Window Manager Service.
3. according to the method for claim 2, it is characterised in that second application is started using Intent modes are intended to.
4. according to the method for claim 2, it is characterised in that before starting the second application in the second subwindow, also wrap
Include:
System file corresponding to effective ID is subjected to carry;
According to the ID logon information received, second user ID is logged in corresponding second subwindow;
Obtain application bag name and the icon resource associated with second user ID;
In list of application corresponding to second subwindow generation second user ID.
5. according to the method for claim 4, it is characterised in that file system mounted corresponding to the effective ID to be
Storage/emulator/ID/sdcard0 and storage/emulator/ID/sdcard1.
6. according to the method for claim 4, it is characterised in that receive second in the second subwindow that user sends and answer
Before enabled instruction, in addition to:
At least two subwindows for including the first subwindow and the second subwindow are mapped on corresponding virtual unit;
Virtual generation administrative mechanism corresponding with each subwindow;
The virtual unit maintenance is at least one to provide performing environment for the foreground task run on the virtual unit
Virtual unit environment.
7. according to the method for claim 6, it is characterised in that after starting second application in the second subwindow, also
Including:
Activity Manager Service are serviced by corresponding application management and safeguard the life cycle of the second application, and are led to
Cross the window message queue of the second application of corresponding window management service Window Manager Service independences management and control.
8. a kind of multi-user management device based on Android system, it is characterised in that in the subwindow of Android system terminal first
Operation has first application associated with the first ID, and operation has and the second use in the subwindow of Android system terminal second
The second associated family ID application;Described device includes:
Operation instruction receiving module:The operation transmitted by the second application run for receiving user into the second subwindow refers to
Show;
Data field determining module to be visited:For being determined according to the operation instruction with servicing Window in window management
Data field corresponding to the second markup information pre-set in Manager Service is data field to be visited;
Access modules:For accessing the data field to be visited;
Second markup information is used to represent that the second subwindow is corresponding with second user ID;
First subwindow, the second subwindow are located at the different display interface subregions of the Android system terminal respectively.
9. device according to claim 8, it is characterised in that also include:
Enabled instruction receiving module:Second in the second subwindow for receiving user's transmission applies enabled instruction;
Application launch module:For applying enabled instruction according to described second, start second application in the second subwindow;
Labeling module:For marking second markup information in window management service Window Manager Service.
10. device according to claim 9, it is characterised in that second application is started using Intent modes are intended to.
11. device according to claim 9, it is characterised in that also include:
Carry module:For system file corresponding to effective ID to be carried out into carry;
User's log-in module:For according to the ID logon information received, the second use to be logged in corresponding second subwindow
Family ID;
Application message acquisition module:Associated with second user ID for acquisition applies bag name and icon resource;
List of application generation module:For in list of application corresponding to second subwindow generation second user ID.
12. device according to claim 11, it is characterised in that system file carry corresponding to the effective ID
For storage/emulator/ID/sdcard0 and storage/emulator/ID/sdcard1.
13. device according to claim 11, it is characterised in that also include:
Mapping block:It is corresponding at least two subwindows comprising the first subwindow and the second subwindow to be mapped to
On virtual unit;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each subwindow;
The virtual unit maintenance is at least one to provide performing environment for the foreground task run on the virtual unit
Virtual unit environment.
14. device according to claim 13, it is characterised in that also include:
Life cycle maintenance module:The is safeguarded for servicing Activity Manager Service by corresponding application management
The life cycle of two applications;
Window message queue management and control module:It is independent for servicing Window Manager Service by corresponding window management
The window message queue that management and control second is applied.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810050778.1A CN108205619B (en) | 2014-05-23 | 2014-05-23 | Multi-user management method and device based on android system |
CN201410223349.1A CN104091102B (en) | 2014-05-23 | 2014-05-23 | A kind of multi-user management method and its device based on Android system |
PCT/CN2014/081209 WO2015176359A1 (en) | 2014-05-23 | 2014-06-30 | Android system-based multiuser management method, device, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410223349.1A CN104091102B (en) | 2014-05-23 | 2014-05-23 | A kind of multi-user management method and its device based on Android system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810050778.1A Division CN108205619B (en) | 2014-05-23 | 2014-05-23 | Multi-user management method and device based on android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104091102A CN104091102A (en) | 2014-10-08 |
CN104091102B true CN104091102B (en) | 2018-02-06 |
Family
ID=51638818
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810050778.1A Active CN108205619B (en) | 2014-05-23 | 2014-05-23 | Multi-user management method and device based on android system |
CN201410223349.1A Active CN104091102B (en) | 2014-05-23 | 2014-05-23 | A kind of multi-user management method and its device based on Android system |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810050778.1A Active CN108205619B (en) | 2014-05-23 | 2014-05-23 | Multi-user management method and device based on android system |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN108205619B (en) |
WO (1) | WO2015176359A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317941A (en) * | 2014-10-31 | 2015-01-28 | 新华瑞德(北京)网络科技有限公司 | Resource injection method and device of applications |
CN106484501A (en) * | 2015-08-26 | 2017-03-08 | 北京奇虎科技有限公司 | A kind of application operation method and device |
CN106873961B (en) * | 2016-07-27 | 2021-09-28 | 创新先进技术有限公司 | Method and device for awakening APP through mobile browser |
CN108196899B (en) * | 2017-12-07 | 2021-04-13 | 青岛海信移动通信技术股份有限公司 | Method and device for creating multiple users |
CN113642010A (en) * | 2020-04-27 | 2021-11-12 | 青岛海信移动通信技术股份有限公司 | Method for acquiring data of extended storage device and mobile terminal |
CN113448873B (en) * | 2021-07-22 | 2022-12-20 | 亿咖通(湖北)技术有限公司 | Software testing method, device, storage medium and program product |
CN113835857B (en) * | 2021-09-18 | 2024-04-02 | 青岛海信移动通信技术有限公司 | Mounting method, device, equipment and medium of external storage equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499354A (en) * | 2002-11-11 | 2004-05-26 | �ձ�������ʽ���� | Multi-window displaying appts, and multi-window management method |
CN102841804A (en) * | 2012-06-27 | 2012-12-26 | 北京三星通信技术研究有限公司 | Method and device for processing multiple foreground tasks on screen |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4453738B2 (en) * | 2007-10-18 | 2010-04-21 | ソニー株式会社 | File transfer method, apparatus, and program |
CN101840378B (en) * | 2009-03-19 | 2011-11-02 | 成都市华为赛门铁克科技有限公司 | Method for accessing solid-state hard disc, control device and solid-state hard disc |
KR101651202B1 (en) * | 2009-12-21 | 2016-08-26 | 삼성전자주식회사 | Virtualization apparatus and method of operating thereof |
KR101832761B1 (en) * | 2011-05-26 | 2018-02-27 | 엘지전자 주식회사 | Display device, method for remotely controlling display device |
US8918853B2 (en) * | 2011-06-29 | 2014-12-23 | Sharp Laboratories Of America, Inc. | Method and system for automatic recovery from lost security token on embedded device |
CN103118197B (en) * | 2013-02-05 | 2014-11-12 | 广东欧珀移动通信有限公司 | Touch screen mobile terminal and short message display method thereof |
CN103412713A (en) * | 2013-06-28 | 2013-11-27 | 北京君正集成电路股份有限公司 | Management method of intelligent device for having control over a plurality of windows simultaneously |
CN103561159A (en) * | 2013-10-09 | 2014-02-05 | 广东明创软件科技有限公司 | Sub-screen display method of mobile phone e-mails |
CN103593623B (en) * | 2013-11-15 | 2018-05-22 | 努比亚技术有限公司 | Multi-screen display method and device |
CN103605524B (en) * | 2013-11-26 | 2017-10-31 | 广东欧珀移动通信有限公司 | A kind of method and device in mobile terminal split screen operation program |
-
2014
- 2014-05-23 CN CN201810050778.1A patent/CN108205619B/en active Active
- 2014-05-23 CN CN201410223349.1A patent/CN104091102B/en active Active
- 2014-06-30 WO PCT/CN2014/081209 patent/WO2015176359A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499354A (en) * | 2002-11-11 | 2004-05-26 | �ձ�������ʽ���� | Multi-window displaying appts, and multi-window management method |
CN102841804A (en) * | 2012-06-27 | 2012-12-26 | 北京三星通信技术研究有限公司 | Method and device for processing multiple foreground tasks on screen |
Also Published As
Publication number | Publication date |
---|---|
CN108205619B (en) | 2022-01-28 |
CN104091102A (en) | 2014-10-08 |
CN108205619A (en) | 2018-06-26 |
WO2015176359A1 (en) | 2015-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104091102B (en) | A kind of multi-user management method and its device based on Android system | |
US10506068B2 (en) | Cloud-based cross-device digital pen pairing | |
US9380523B1 (en) | System, method and computer program product for connecting roaming mobile devices to a virtual device platform | |
US20210227043A1 (en) | System, method and computer program product for capturing touch events for a virtual mobile device platform | |
US9055060B2 (en) | Cloud service system based on enhanced security function and method for supporting the same | |
US20160149921A1 (en) | Trusted peripheral device for a host in a shared electronic environment | |
US20170177420A1 (en) | System, method and computer program product for capturing touch events for a virtual mobile device platform | |
CN106575243A (en) | Hypervisor-hosted virtual machine forensics | |
US9667703B1 (en) | System, method and computer program product for generating remote views in a virtual mobile device platform | |
US10762542B2 (en) | Item transfer apparatus, system and method | |
US20210282196A1 (en) | System, method and computer program product for secure bluetooth cryptography in a virtual mobile device platform | |
CN109118160B (en) | Information sharing method, device, terminal equipment and medium | |
CN108475304B (en) | Method and device for associating application program and biological characteristics and mobile terminal | |
Haris et al. | Evolution of android operating system: a review | |
US10579411B2 (en) | Loading and running virtual working environments in a mobile device management system | |
US20160301530A1 (en) | Sensitive operation verification method, apparatus, and system | |
US20150310208A1 (en) | Controlling distribution and use of a developer application in a network environment | |
WO2019184631A1 (en) | Information processing method and apparatus, computer-readable storage medium, and terminal | |
CN107391999B (en) | Credential providers that package other credential providers | |
US20230110080A1 (en) | Identity misconfiguration detection for role-based access control | |
Ding et al. | A framework of cloud-based virtual phones for secure intelligent information management | |
CN108287647A (en) | A kind of application operation method and device | |
CN110474864A (en) | A kind of method and electronic equipment registered, log in mobile applications | |
CN111597564A (en) | Data access and permission configuration method, device, terminal and storage medium | |
EP4187420A1 (en) | Resource management method, computing device, computing equipment, and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |