CN108205619A - A kind of multi-user management method based on android system and its device - Google Patents
A kind of multi-user management method based on android system and its device Download PDFInfo
- Publication number
- CN108205619A CN108205619A CN201810050778.1A CN201810050778A CN108205619A CN 108205619 A CN108205619 A CN 108205619A CN 201810050778 A CN201810050778 A CN 201810050778A CN 108205619 A CN108205619 A CN 108205619A
- Authority
- CN
- China
- Prior art keywords
- user
- application
- window
- child window
- data field
- 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.)
- Granted
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 based on android system and device, operation has the first application associated with the first User ID in the first child window of Android system terminal, and operation has the second application associated with second user ID in the second child window of Android system terminal;Described method includes following steps:Receive the second transmitted operation instruction of application that user runs into the second child window;Determine that in data field corresponding with the second markup information 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 corresponding with second user ID for representing the second child window.Described device realizes the multi-user management of Android system terminal using the method, and permissible user accesses the data field corresponding to two or more User ID simultaneously.
Description
Technical field
The present invention relates to the information interacting methods and its device under the communications field more particularly to a kind of split screen state.
Background technology
With the arrival in the universal and mobile Internet epoch for the intelligent terminal for being mounted with Android (Android) system,
Mobile phone terminal and tablet 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, large screen, high-resolution, the PCization terminal of powerful processing capacity and storage capacity increasingly become the happiness of more crowds
Love, this respect is using large-screen mobile phone and tablet computer as representative.
For the hardware configuration level of current mobile phone, processing capacity 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 permission is set to each group, for example, information is divided into the specific information for being related to safety and privacy etc. and
General information;After being classified to information, user can usually wish to access to one of grouping information
When, the data access of other groupings 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 safety by user
With the specific information of privacy, then would be possible to use Android simultaneously when user is applied simultaneously using Taobao and Alipay is applied
The general information of system terminal and the specific information for being related to safety and privacy.
Invention content
In view of this, the present invention provides a kind of multi-user management method based on android system and its device, can allow for
User is in Android system terminal simultaneously using the information of the different groups limited with permission.
Based on above-mentioned purpose, multi-user management method based on android system provided by the invention, in Android system terminal
Operation has the first application associated with the first User ID in first child window, and is transported in the second child window of Android system terminal
Row has the second application associated with second user ID;Described method includes following steps:
Receive the second transmitted operation instruction of application that user runs into the second child window;
It is determined according to the operation instruction with being set in advance in window management service Window Manager Service
The corresponding data field of the second markup information put is data field to be visited;
Access the data field to be visited;
Second markup information is corresponding with second user ID for representing the second child window.
Optionally, it before receiving the second transmitted operation instruction of application that user runs into the second child window, also wraps
It includes:
It receives second in the second child window that user sends and applies enabled instruction;
According to described second using enabled instruction, start second application in the second child window;
Second markup information is marked in window management service Window Manager Service.
Optionally, second application is started using Intent modes are intended to.
Optionally, it before starting the second application in the second child window, further includes:
The corresponding system file of effective User ID is subjected to carry;
According to the User ID logon information received, second user ID is logged in corresponding second child window;
Obtain application packet name associated with second user ID and icon resource;
In the corresponding list of application of second child window generation second user ID.
Optionally, the effective User ID is corresponding file system mounted for storage/emulator/ID/
Sdcard0 and storage/emulator/ID/sdcard1.
Optionally, it before receiving the application enabled instruction of second in the second child window that user sends, further includes:
At least two child windows for including first window and the second child window are mapped to corresponding virtual unit
On;
Virtual generation administrative mechanism corresponding with each child window;
The virtual unit maintenance is at least one to provide execution ring for the foreground task run on the virtual unit
The virtual unit environment in border.
Optionally, it after starting second application in the second child window, further includes:
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 the first application associated with the first User ID in child window, and runs and have in the second child window of Android system terminal
The second application associated with second user ID;Described device includes:
Operation instruction receiving module:Transmitted operation is applied for receiving user runs into the second child window second
Instruction;
Data field determining module to be visited:For being determined according to the operation instruction with servicing Window in window management
The corresponding data field of pre-set second markup information is data field to be visited in Manager Service;
Access modules:For accessing the data field to be visited;
Second markup information is corresponding with second user ID for representing the second child window.
Optionally, described device further includes:
Enabled instruction receiving module:Second in the second child window for receiving user's transmission applies enabled instruction;
Application launch module:For, using enabled instruction, starting described second in the second child window according to described second
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 further includes:
Carry module:For the corresponding system file of effective User ID to be carried out carry;
User's log-in module:For according to the User ID logon information that receives, the is logged in corresponding second child window
Two User ID;
Application message acquisition module:For obtaining application packet name associated with second user ID and icon resource;
List of application generation module:For in the corresponding list of application of second child window generation second user ID.
Optionally, the corresponding system file carry of the effective User ID is storage/emulator/ID/
Sdcard0 and storage/emulator/ID/sdcard1.
Optionally, described device further includes:
Mapping block:It is right with it that at least two child windows for that will include the first child window and the second child window are mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each child window;
The virtual unit maintenance is at least one to provide execution ring for the foreground task run on the virtual unit
The virtual unit environment in border.
Optionally, described device further 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 allow to log in the first User ID and second user respectively in the first child window of Android system terminal and the second child window
ID;And the first child window operation have it is associated with the first User ID first application, the second child window operation have the second use
Family ID it is associated second application in the case of, when receive user thereto the operation of a child window application send behaviour
It indicates, can determine the operation instruction data field to be accessed according to markup information pre-set in being serviced in window management;
When another operation instruction that the application for receiving user's operation of another child window thereto is sent, according in window management
Pre-set markup information determines another operation instruction data field to be accessed in service, realizes a user
The data field of at least two User ID is operated simultaneously, user is met during Android system is actually used while makes
With the demand of the corresponding information of multiple User ID.
Description of the drawings
Fig. 1 is the multi-user management method flow diagram based on android system of the embodiment of the present invention;
Fig. 2 represents that the second application that the reception user of an embodiment of the present invention runs into the second child window is transmitted
Before operation instruction step, performed step flow diagram;
Before the step of Fig. 3 starts the second application for an embodiment of the present invention in the second child window, performed step
Rapid flow diagram;
Fig. 4 is that an embodiment of the present invention applies enabled instruction in second in the second child window for receiving user's transmission
The step of before, performed step flow diagram;
Fig. 5 A-5B are the interface schematic diagram that the first child window of the embodiment of the present invention and the second child window 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.
Specific embodiment
In order to provide effective implementation, an embodiment of the present invention provides following embodiments, attached below in conjunction with specification
Figure illustrates the embodiment of the present invention.
First, the present invention provides a kind of multi-user management method based on android system, which is characterized in that in the first sub- window
Mouthful in operation have it is associated with the first User ID first application, and in the second child window operation have it is related to second user ID
Second application of connection;Described method includes following steps:
Receive the second transmitted operation instruction of application that user runs into the second child window;
It is determined according to the operation instruction with being set in advance in window management service Window Manager Service
The corresponding data field of the second markup information put is data field to be visited;
Access the data field to be visited;
Second markup information is corresponding with second user ID for representing the second child window.
From the above it can be seen that multi-user management method based on android system provided by the invention, respectively
In one child window and the second child window operation have it is associated with the first User ID first application and it is associated with second user ID
The second application, user can access the corresponding data fields of at least two different user ID simultaneously in Android system terminal, right
The data field for belonging to different user ID is called and operates, while convenience in user's actual use Android system terminal procedures
Use the demand of multiple User ID data.In addition, the data field corresponding to different user ID is according to pre-set markup information
It distinguishes, between data field independently of each other, during so as to log in some User ID, is only capable of the child window pair logged in the User ID
Corresponding data field accesses, and two User ID is avoided to access same data field simultaneously and lead to exception.
In an embodiment of the present invention, being run in the first child window of Android system terminal has and the first User ID
Associated first application, and operation has associated with second user ID second in the second child window 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 second transmitted operation instruction of application that user runs into the second child window.
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 operations instruction such as read operation instruction;It can also include fileinfo change operation instruction, short message editing operation refers to
Show, other information inputs the instruction of the data write operations such as operation instruction.
Step 102:According to the operation instruction determine in window management service (Window Manager
Service the corresponding data field of pre-set second markup information is data field to be visited in).
Second markup information is corresponding with second user ID for representing the second child window.
Described second applies after the startup of the second child window, and the second child window is labeled in window management service,
Setting illustrates second child window the second markup information associated with second user ID.It should to described second according to user
Operation instruction, you can determine with serviced in window management in the corresponding data field of pre-set second markup information be
Data field to be visited.
Step 103:Access the data field to be visited.
Specifically, can application management service (Activity Manager be notified according to second markup information
Service), the data field of the second application access second user ID subordinates is enabled.
In step 103, the data field to be visited is accessed, the operation indicated by the operation instruction is performed, including number
According to reading, data write-in etc..
In some embodiments of the invention, the second transmitted behaviour of application that user runs into the second child window is received
Before indicating, step as shown in Figure 2 is further included:
Step 201:It receives second in the second child window that user sends and applies enabled instruction.
Step 202:According to described second using enabled instruction, start second application in the second child window.
Step 203:Second markup information is marked in window management service.
In some embodiments, second application is started using (Intent) mode of intention.
In some embodiments, first application is also started using intended fashion.
In some embodiments, principle shown in Fig. 2 can also be used and start the first application.
In some embodiments, it with reference to Fig. 3, before starting the second application in the second child window, further includes:
Step 301:The corresponding system file of effective User ID is subjected to carry.
Step 302:According to the User ID logon information received, second user ID is logged in corresponding second child window.
The User ID logon information, can be Authority Verification information input by user, and the Authority Verification information is further
Can be password or the unlocking pattern.
Step 303:Obtain application packet name associated with second user ID and icon resource.
The application packet name is included in the application package name installed under second user ID, and the icon resource includes and institute
It states using the corresponding icon resource of packet name.Acquired application packet name and icon resource is used for follow-up startup application and display.
Step 304:In the corresponding list of application of second child window generation second user ID.
The list of application is used to show in the second child window and use.
In some embodiments, after step 301, the first use can also be logged according to the principle described in step 302-304
Family ID.
In some embodiments, the effective User ID is corresponding file system mounted for 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 respectively refer to storage/emulator/X/sdcard0 and storage/
Emulator/X/sdcard1, wherein X can be arbitrary integers.
Specifically, can be storage/ by the first User ID or the file system mounted of second user ID or other User ID
Emulator/0/sdcard0 and storage/emulator/0/sdcard1.When Adding User ID, by newly-increased User ID
It is storage/ by the file system of subsequently newly-increased each User ID successively carry according to newly-increased sequencing
Emulator/1/sdcard0 and storage/emulator/1/sdcard1, storage/emulator/2/sdcard0 and
Storage/emulator/2/sdcard1 ... and so on, often increase 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 a User ID, can only access the file system for belonging to the User ID
File resource under carry path, all User ID are shared with a memory space, but are logically detached, each
The file system mapping path of User ID is independent, and corresponding data field is logically without coupling, after each logging in
User ID monopolizes a system resource and administrative mechanism, will not be produced because of multiple User ID 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 User ID
Area improves safety and the privacy of user data in this way.Can mutually it switch between multiple User ID.
In some embodiments, it with reference to Fig. 4, receives second in the second child window that user sends and applies enabled instruction
Before, it further includes:
Step 401:An at least child window is mapped on corresponding virtual unit;
Step 402:Virtual generation administrative mechanism corresponding with each child window;
The virtual unit maintenance is at least one to provide execution ring for the foreground task run on the virtual unit
The virtual unit environment in border.
Interface is presented in first child window and the second child window of Fig. 5 A and Fig. 5 B shows two kinds of embodiments of the present invention.
In some embodiments, the administrative mechanism includes the administrative mechanism of application layer and application framework layer.
In some embodiments, specifically, the administrative mechanism of the application framework layer includes 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).
It in some 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 User ID logon information received, second user ID is logged in corresponding second child window.
Step 602:Obtain application packet name associated with second user ID and icon resource;
Step 603:In the corresponding list of application of second child window generation second user ID.
Step 604:Receive user's transmission second applies enabled instruction.
Step 605:Start second application in the second child window.
Step 606:Second markup information is marked in window management service Window Manager Service.
Step 607:According to the User ID logon information received, the first User ID is logged in corresponding first child window.
Step 608:Obtain application packet name associated with the first User ID and icon resource.
Step 609:The corresponding list of application of the first User ID is generated in first child window.
Step 610:Receive user's transmission first applies enabled instruction.
Step 611:Start first application in the first child window.
Step 612:First markup information is marked in window management service Window Manager Service.
Step 613:Receive the second transmitted operation instruction of application that user runs into the second child window.
Step 614:It is determined according to the operation instruction with servicing Window Manager Service in window management
In the corresponding data field of pre-set second markup information be data field to be visited;
Step 615:Access the data field to be visited.
From the above it can be seen that multi-user management method based on android system provided by the invention, in Android system
System the first child window of terminal and the second child window log in the first User ID and second user ID respectively, and are run in the first child window
The first application associated with the first User ID has associated second applications of second user ID in the operation of the second child window;When
Receive user thereto the operation of a child window 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 child window thereto
Another operation instruction that capable application is sent, foundation pre-set markup information in window management service determine described another
One operation instruction data field to be accessed realizes a user while the data field of at least two User ID is grasped
Make, meet user during Android system is actually used while using the demand of the corresponding information of multiple User ID.
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 the first application associated with the first User ID in first child window of tall and erect system terminal, and in Android system terminal
Operation has the second application associated with second user ID in second child window;Described device structure as shown in fig. 7, comprises:
Operation instruction receiving module:Transmitted operation is applied for receiving user runs into the second child window second
Instruction.
Data field determining module to be visited:For according to the operation instruction determine with serviced in window management in advance
The corresponding data field of the second markup information of setting is data field to be visited.
Access modules:For accessing the data field to be visited.
Second markup information is corresponding with second user ID for representing the second child window.
From the above it can be seen that multi-user management device based on android system provided by the invention, in the first son
Operation has the first application associated with the first User ID and associated with second user ID the in window and the second child window
In the case of two applications, user is allowed to access the corresponding data of at least two different user ID simultaneously in Android system terminal
Area is called and operates to the data field for belonging to different user ID, and user is facilitated to actually use in Android system terminal procedures
While using multiple User ID data demand.In addition, described device by the data field corresponding to different user ID according to pre-
The markup information first set distinguishes, and between data field independently of each other, during so as to log in some User ID, is only capable of in the user
The child window that ID is logged in accesses to corresponding data field, and two User ID is avoided to access same data field simultaneously and cause
It is abnormal.
In some embodiments, described device further includes:
Enabled instruction receiving module:Second in the second child window for receiving user's transmission applies enabled instruction;
Application launch module:For, using enabled instruction, starting described second in the second child window according to described second
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 first application of the startup in the first child window that user sends
Instruction.The application launch module can also be used to start institute in the first child window using enabled instruction according to described first
State the second application.The labeling module can also be used in window management service mark second markup information.
In some embodiments, second application is started using intended fashion.
In some embodiments, first application is also started using intended fashion.
In some embodiments, described device further includes:
Carry module:For the corresponding system file of effective User ID to be carried out carry;
User's log-in module:For according to the User ID logon information that receives, the is logged in corresponding second child window
Two User ID;
Application message acquisition module:For obtaining application packet name associated with second user ID and icon resource;
List of application generation module:For in the corresponding list of application of second child window generation second user ID.
User's log-in module can be additionally used according to the User ID logon information received, in corresponding first child window
Log in the first User ID.The application message acquisition module can also be used to obtaining associated with the first User ID application packet name and
Icon resource.The list of application generation module can also be used to generate the corresponding application of the first User ID in first child window
List.
In some embodiments, the corresponding system file carry of the effective User ID is storage/emulator/
ID/sdcard0 and storage/emulator/ID/sdcard1.
In some embodiments, described device further includes:
Mapping block:It is right with it that at least two child windows for that will include the first child window and the second child window are mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each child window;
The virtual unit maintenance is at least one to provide execution ring for the foreground task run on the virtual unit
The virtual unit environment in border.
In some embodiments, described device further 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
Period.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 such as lower structure:
Carry module:For the corresponding system file of effective User ID to be carried out carry.
Mapping block:It is right with it that at least two child windows for that will include the first child window and the second child window are mapped to
On the virtual unit answered;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each child window.
User's log-in module:For according to the User ID logon information that receives, the is logged in corresponding second child window
Two User ID and the User ID logon information received for basis, the first User ID is logged in corresponding first child window.
Application message acquisition module:For obtain associated with second user ID application packet name and icon resource and
For obtaining application packet name associated with the first User ID and icon resource.
List of application generation module:For generating the corresponding list of application of second user ID in second child window, with
And for generating the corresponding list of application of the first User ID in first child window.
Enabled instruction receiving module:For receiving the second of user's transmission using enabled instruction and for receiving user
First sent applies enabled instruction.
Application launch module:It is applied and in the first child window for starting described second in the second child window
It is middle to start first application.
Labeling module:For marking second markup information and in window management in being serviced in window management
First markup information is marked in service.
Operation instruction receiving module:Transmitted operation is applied for receiving user runs into the second child window second
Instruction.It is transmitted that the operation instruction receiving module can be additionally used in the first application that reception user runs into the first child window
Operation instruction.
Data field determining module to be visited:For according to the operation instruction determine with serviced in window management in advance
The corresponding data field of the second markup information of setting is data field to be visited.The data field determining module to be visited also can be used
In after corresponding operation instruction is received, determining the corresponding number of pre-set first markup information in window management services
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 multi-user management device based on android system provided by the invention, allows user
In the first child window of Android system terminal and the second child window the first User ID and second user ID are logged in respectively, and in the first son
Window operation the first application associated with the first User ID, has second user ID associated second in the operation of the second child window
Using;When the operation instruction that the application for receiving user's operation of a child window thereto is sent, the device is according in window
Pre-set markup information determines the operation instruction data field to be accessed in management service;It is another thereto when receiving user
Another operation instruction that the application of the operation of one child window 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 a User ID is operated, and is met user during Android system is actually used while is used multiple User ID
The demand of corresponding information.
It should be appreciated that the described multiple embodiments of this specification are merely to illustrate and explain the present invention, it is not used to limit
The fixed present invention.And in the absence of conflict, the feature in the embodiment and embodiment in the application can be combined with each other.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (18)
1. a kind of multi-user management method based on android system, which is characterized in that in the first child window of Android system terminal
Operation has the first application associated with the first User ID, and operation has and the second use in the second child window of Android system terminal
Associated second applications of family ID;Described method includes following steps:
The Android system terminal is received to be received for the first operation instruction of the first application and/or the Android system terminal
For the second operation instruction of the second application;
The Android system terminal determines pre-set first mark in window management services according to first operation instruction
It is the first data field to be visited, and access first data field and/or the Android system to note the corresponding data field of information
Terminal determines the corresponding data of pre-set second markup information in window management services according to second operation instruction
Area is the second data field to be visited, and accesses second data field, wherein, first data field and second data
Area is independent from each other.
2. according to the method described in claim 1, it is characterized in that, the Android system terminal receives for the first application
Before one operation instruction, further include:
First in the first child window is received using enabled instruction;
According to described first using enabled instruction, start first application in the first child window;
First markup information is marked in window management service Window Manager Service;
Before the Android system terminal receives the second operation instruction for the second application, further include:
Second in the second child window is received using enabled instruction;
According to described second using enabled instruction, start second application in the second child window;
Second markup information is marked in window management service Window Manager Service.
3. according to the method described in claim 2, it is characterized in that, first application is started using Intent modes are intended to;
Second application is started using Intent modes are intended to.
4. according to the method described in claim 2, it is characterized in that, before starting the first application in the first child window, also wrap
It includes:
The corresponding system file of effective User ID is subjected to carry;
According to the User ID logon information received, the first User ID is logged in corresponding first child window;
Obtain application packet name associated with the first User ID and icon resource;
The corresponding list of application of the first User ID is generated in first child window;
Before starting the second application in the second child window, further include:
The corresponding system file of effective User ID is subjected to carry;
According to the User ID logon information received, second user ID is logged in corresponding second child window;
Obtain application packet name associated with second user ID and icon resource;
In the corresponding list of application of second child window generation second user ID.
5. according to the method described in claim 4, it is characterized in that, the effective User ID is corresponding file system mounted is
Storage/emulator/ID/sdcard0 and storage/emulator/ID/sdcard1.
6. according to the method described in claim 4, it is characterized in that, the Android system terminal receives for the second application
Before two operation instructions, further include:
At least two child windows for including first window and the second child window are mapped on corresponding virtual unit;
Virtual generation administrative mechanism corresponding with each child window;
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 described in claim 6, it is characterized in that, after starting first application in the first child window, go back
Including:
Activity Managerr Service are serviced by corresponding application management and safeguard the first life cycle applied, and
The window message queue of the first application of Window Managerr Service independences management and control is serviced by corresponding window management;
After starting second application in the second child window, further include:
Activity Managerr Service are serviced by corresponding application management and safeguard the second life cycle applied, and
The window message queue of the second application of Window Managerr Service independences management and control is serviced by corresponding window management.
8. method according to any one of claim 1 to 7, which is characterized in that
First markup information is corresponding with the first User ID for representing the first child window;
Second markup information is corresponding with second user ID for representing the second child window.
9. method according to any one of claim 1 to 7, which is characterized in that first application and described second should
With being provided with different access rights.
10. a kind of multi-user management device based on android system, which is characterized in that in the first child window of Android system terminal
Operation has the first application associated with the first User ID, and operation has and the second use in the second child window of Android system terminal
Associated second applications of family ID;Described device includes:
Operation instruction receiving module:For the Android system terminal receive for first application the first operation instruction and/or
The Android system terminal receives the second operation instruction for the second application;
Data field determining module to be visited:It is determined for the Android system terminal according to first operation instruction in window pipe
The corresponding data field of pre-set first markup information is the first data field to be visited, and access described first in reason service
Data field and/or the Android system terminal determine to pre-set in window management service according to second operation instruction
The corresponding data field of the second markup information for the second data field to be visited, and access second data field, wherein, it is described
First data field and second data field are independent from each other.
11. device according to claim 10, which is characterized in that further include:
Enabled instruction receiving module:For receive first in the first child window of user's transmission using enabled instruction and/or
Second in the second child window applies enabled instruction;
Application launch module:For using enabled instruction, starting first application in the first child window according to described first,
And/or start second application in the second child window using enabled instruction according to described second;
Labeling module:For marking first markup information in window management service Window Manager Service,
And/or second markup information.
12. according to the devices described in claim 11, which is characterized in that first application is opened using Intent modes are intended to
It is dynamic;Second application is started using Intent modes are intended to.
13. according to the devices described in claim 11, which is characterized in that further include:
Carry module:For the corresponding system file of effective User ID to be carried out carry;
User's log-in module:For according to the User ID logon information received, the first use to be logged in corresponding first child window
Family ID and/or log in second user ID in corresponding second child window;
Application message acquisition module:For obtaining associated with the first User ID application packet name and icon resource and/or with the
The associated application packet name of two User ID and icon resource;
List of application generation module:For first child window generate the corresponding list of application of the first User ID and/or
Second child window generates the corresponding list of application of second user ID.
14. device according to claim 13, which is characterized in that the corresponding system file carry of the effective User ID
For storage/emulator/ID/sdcard0 and storage/emulator/ID/sdcard1.
15. device according to claim 13, which is characterized in that further include:
Mapping block:At least two child windows for that will include the first child window and the second child window are mapped to corresponding
On virtual unit;
Administrative mechanism virtual module:For virtually generating administrative mechanism corresponding with each child window;
The virtual unit maintenance is at least one to provide performing environment for the foreground task run on the virtual unit
Virtual unit environment.
16. device according to claim 15, which is characterized in that further include:
Life cycle maintenance module:It is safeguarded for servicing Activity Managerr Service by corresponding application management
First application and/or the life cycle of the second application;
Window message queue management and control module:It is only for servicing Window Managerr Service by corresponding window management
Standpipe control first is applied and/or the window message queue of the second application.
17. the device according to any one of claim 10 to 16, which is characterized in that
First markup information is corresponding with the first User ID for representing the first child window;
Second markup information is corresponding with second user ID for representing the second child window.
18. the device according to any one of claim 10 to 16, which is characterized in that
First application and the described second application are provided with different access rights.
Priority Applications (1)
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 |
Applications Claiming Priority (2)
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 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410223349.1A Division CN104091102B (en) | 2014-05-23 | 2014-05-23 | A kind of multi-user management method and its device based on Android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108205619A true CN108205619A (en) | 2018-06-26 |
CN108205619B CN108205619B (en) | 2022-01-28 |
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 After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
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 |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN108205619B (en) |
WO (1) | WO2015176359A1 (en) |
Families Citing this family (6)
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 |
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 (6)
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 |
US20130007869A1 (en) * | 2011-06-29 | 2013-01-03 | Renjit Tom Thomas | Method and system for automatic recovery from lost security token on embedded device |
CN103118197A (en) * | 2013-02-05 | 2013-05-22 | 广东欧珀移动通信有限公司 | Touch screen mobile terminal and short message display method thereof |
CN103561159A (en) * | 2013-10-09 | 2014-02-05 | 广东明创软件科技有限公司 | Sub-screen display method of mobile phone e-mails |
CN103593623A (en) * | 2013-11-15 | 2014-02-19 | 深圳市中兴移动通信有限公司 | Sub-screen display method and device |
CN103605524A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Method and device for running programs on mobile terminal in split-screen manner |
Family Cites Families (6)
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 |
CN102841804B (en) * | 2012-06-27 | 2014-12-10 | 北京三星通信技术研究有限公司 | Method and device for processing multiple foreground tasks on screen |
CN103412713A (en) * | 2013-06-28 | 2013-11-27 | 北京君正集成电路股份有限公司 | Management method of intelligent device for having control over a plurality of windows simultaneously |
-
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 (6)
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 |
US20130007869A1 (en) * | 2011-06-29 | 2013-01-03 | Renjit Tom Thomas | Method and system for automatic recovery from lost security token on embedded device |
CN103118197A (en) * | 2013-02-05 | 2013-05-22 | 广东欧珀移动通信有限公司 | Touch screen mobile terminal and short message display method thereof |
CN103561159A (en) * | 2013-10-09 | 2014-02-05 | 广东明创软件科技有限公司 | Sub-screen display method of mobile phone e-mails |
CN103593623A (en) * | 2013-11-15 | 2014-02-19 | 深圳市中兴移动通信有限公司 | Sub-screen display method and device |
CN103605524A (en) * | 2013-11-26 | 2014-02-26 | 广东欧珀移动通信有限公司 | Method and device for running programs on mobile terminal in split-screen manner |
Also Published As
Publication number | Publication date |
---|---|
WO2015176359A1 (en) | 2015-11-26 |
CN104091102A (en) | 2014-10-08 |
CN108205619B (en) | 2022-01-28 |
CN104091102B (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9898601B2 (en) | Allocation of shared system resources | |
US20200142570A1 (en) | Bound Based Contextual Zoom | |
US10459772B2 (en) | System, method and computer program product for capturing touch events for a virtual mobile device platform | |
US20210227043A1 (en) | System, method and computer program product for capturing touch events for a virtual mobile device platform | |
CN104091102B (en) | A kind of multi-user management method and its device based on Android system | |
CN104982005B (en) | Implement the computing device and method of the franchise cryptographic services in virtualized environment | |
US9380456B1 (en) | System, method and computer program product for dynamically switching operating systems in a virtual mobile device platform | |
CN106575243A (en) | Hypervisor-hosted virtual machine forensics | |
US9674171B2 (en) | System, method and computer program product for providing notifications from a virtual device to a disconnected physical device | |
US20160149921A1 (en) | Trusted peripheral device for a host in a shared electronic environment | |
EP2857967A1 (en) | User interface management method and system | |
US11596008B2 (en) | System, method and computer program product for secure Bluetooth cryptography in a virtual mobile device platform | |
Haris et al. | Evolution of android operating system: a review | |
CN106462713B (en) | The interface display method and terminal of terminal | |
EP4187419A1 (en) | Security architecture system, security management method, and computing device | |
US20230110080A1 (en) | Identity misconfiguration detection for role-based access control | |
WO2019184631A1 (en) | Information processing method and apparatus, computer-readable storage medium, and terminal | |
US10176008B2 (en) | Loading and running virtual working environments in a mobile device management system | |
US10516699B2 (en) | Electronic device and method for suggesting response manual in occurrence of denial | |
US11586721B1 (en) | Secure remote access of computing resources | |
Ding et al. | A framework of cloud-based virtual phones for secure intelligent information management | |
EP3811251A1 (en) | Account management using account activity usage restrictions | |
CN108287647A (en) | A kind of application operation method and device | |
CN110474864A (en) | A kind of method and electronic equipment registered, log in mobile applications | |
US10733005B1 (en) | Providing access to mobile applications by heterogeneous devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |