CN108196899A - A kind of method and device of the establishment of multi-user - Google Patents

A kind of method and device of the establishment of multi-user Download PDF

Info

Publication number
CN108196899A
CN108196899A CN201711285048.1A CN201711285048A CN108196899A CN 108196899 A CN108196899 A CN 108196899A CN 201711285048 A CN201711285048 A CN 201711285048A CN 108196899 A CN108196899 A CN 108196899A
Authority
CN
China
Prior art keywords
user
anything
attends
data
data directory
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
Application number
CN201711285048.1A
Other languages
Chinese (zh)
Other versions
CN108196899B (en
Inventor
孙哲
綦开东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201711285048.1A priority Critical patent/CN108196899B/en
Publication of CN108196899A publication Critical patent/CN108196899A/en
Application granted granted Critical
Publication of CN108196899B publication Critical patent/CN108196899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and device of the establishment of multi-user, this method includes:According to the first instruction received, establishment is attended to anything else user, obtain the UserID for the user that attends to anything else, the user that attends to anything else is Adding User other than primary user under multi-user's frame, the user that attends to anything else is one or more, primary user is default user under multi-user's frame, first instruction is used to indicate the quantity for creating the user that attends to anything else, according to the UserID for the user that attends to anything else, by the data directory of the data directory carry of primary user to the user that attends to anything else, the file attended to anything else in the more evolution cases of multi-user's frame using the user's space that can not access primary user can effectively be solved, ontology application can not access the problem of file of the user's space for the user that attends to anything else.

Description

A kind of method and device of the establishment of multi-user
Technical field
The present invention relates to field of terminal technology, are specifically related to a kind of method and device of the establishment of multi-user.
Background technology
In real life, people often gather around that there are two even more than two wechats, QQ etc. using account, and wechat, QQ Etc. application programs do not support to open in itself more.Therefore each third-party institution and mobile phone terminal manufacturer respectively develop oneself Support wechat, the applications such as QQ the framework technologies opened more.Various schemes have pros and cons, the bigger scheme of one of which advantage It is the more evolution cases of application realized based on the primary multi-user's frame of Google.The advantages of this scheme, has very much:As theoretically supported nothing The more application of limit carry out it is unlimited opening, the compatible Google's primary code frame of perfection, scheme realize change on system less, influence It is small, compatible Google's multi-user's function of perfection etc..
But multi-user technology core concept is to realize the separation of data space and the program space, to reach The purpose of secret protection.Its realization method is then the management thought of the user's space based on similar Linux, and each user has category In the unique exclusive space of oneself, therefore the file that can not be also accessed under the space and space of other users. On the basis of this, some users that attend to anything else actually in addition are created using open, in the user's space of these users that attend to anything else more In the application program more opened of " clone " a needs.Space where the application (application of namely attending to anything else) of this clone is in fact It is another user's space different from the user's space of primary user.Attend to anything else the user's space of user and the user's space of primary user It is independent, application of attending to anything else can not know or the file using any user's space for belonging to primary user.Equally, ontology application It can not know or the file of user's space using the user that attends to anything else.
Invention content
The embodiment of the present invention provides a kind of method and device of the establishment of multi-user, to solve the more evolutions of multi-user's frame Application of attending to anything else in case can not access the file of the user's space of primary user, and ontology application can not access the user's space for the user that attends to anything else File the problem of.
The embodiment of the present invention provides a kind of method of the establishment of multi-user, which is characterized in that including:
According to the first instruction received, the user that attends to anything else, the User Identity (User for the user that attends to anything else described in acquisition are created Identifier, UserID);For Adding User other than primary user under multi-user's frame, the user that attends to anything else is the user that attends to anything else It is one or more;The primary user is default user under multi-user's frame;First instruction is used to indicate establishment and attends to anything else user Quantity.
According to the UserID of the user that attends to anything else, by the data directory carry of the primary user to the number of the user that attends to anything else According to catalogue.
Optionally, it is described to create the user that attends to anything else, it further includes:
Attend to anything else described in establishment UserID, user's space and the data directory of user;
Attend to anything else described in foundation the correspondence of the UserID of user and the data directory of the user that attends to anything else.
Optionally, it is described after the data directory for the user that attends to anything else described in establishment, it further includes:
The data directory of the user that attends to anything else is mapped as user's space file system (Filesystem in Userspace, FUSE) management directories of user data.
Optionally, the data directory carry by the primary user to the user that attends to anything else data directory, including:
According to the UserID of the user that attends to anything else, the data directory of the user that attends to anything else is determined;
The data directory of primary user is mounted on the data directory of the user that attends to anything else.
Optionally, the UserID in the user that attends to anything else described in the basis, by the data directory carry of the primary user To the data directory of the user that attends to anything else, further include:
Attend to anything else described in acquisition user first application data to be visited;
In data directory corresponding user's space of the data to be visited of first application for the primary user is determined Data when, according to the carry relationship of the data directory of the user that attends to anything else and the data directory of the primary user, access institute State the data in the user's space of primary user.
Correspondingly, the embodiment of the present invention additionally provides a kind of device of the establishment of multi-user, including:
Creation module, for according to the first instruction received, creating the user that attends to anything else, attending to anything else user's described in acquisition UserID;For the user that attends to anything else for Adding User other than primary user under multi-user's frame, the user that attends to anything else is one or more;Institute Primary user is stated as default user under multi-user's frame;First instruction is used to indicate the quantity for creating the user that attends to anything else;
Carry module, for the UserID for the user that attends to anything else according to, by the data directory carry of the primary user to institute State the data directory for the user that attends to anything else.
Optionally, the creation module is specifically additionally operable to:
Attend to anything else described in establishment UserID, user's space and the data directory of user;
Attend to anything else described in foundation the correspondence of the UserID of user and the data directory of the user that attends to anything else.
Optionally, the creation module is specifically additionally operable to:
The data directory of the user that attends to anything else is mapped as to the directories of user data of FUSE management.
Optionally, the carry module is specifically additionally operable to:
According to the UserID of the user that attends to anything else, the data directory of the user that attends to anything else is determined;
By the data directory carry of the primary user to the data directory of the user that attends to anything else.
Optionally, described device further includes acquisition module and access modules:
The acquisition module, for obtaining the data to be visited of the first application of the user that attends to anything else;
The access modules, for being the data directory of the primary user in the data to be visited for determining first application During data in corresponding user's space, according to the data directory of the user that attends to anything else and the data directory of the primary user Carry relationship accesses the data in the user's space of the primary user.
Present example shows, according to the first instruction received, to create the user that attends to anything else, acquisition attends to anything else user's UserID, the user that attends to anything else are Adding User other than primary user under multi-user's frame, and the user that attends to anything else is one or more, primary user For default user under multi-user's frame, the first instruction is used to indicate the quantity for creating the user that attends to anything else, according to attending to anything else user's UserID by the data directory carry of primary user to the data directory of the user that attends to anything else, can effectively solve multi-user's frame Application of attending to anything else in more evolution cases can not access the file of the user's space of primary user, and ontology application can not access the use for the user that attends to anything else The problem of file in family space.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow diagram of the method for the establishment of a kind of multi-user provided in the embodiment of the present invention;
Fig. 2 be in the embodiment of the present invention a kind of establishment for providing attend to anything else user's space method flow diagram;
Fig. 3 is a kind of memory storage status diagram provided in the embodiment of the present invention;
Fig. 4 is another memory storage status diagram provided in the embodiment of the present invention;
Fig. 5 is the schematic device of the establishment of a kind of multi-user provided in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention is the file access methods for opening application scheme under multi-user's frame in terminal device more.It is multi-purpose Under the frame of family, there are one the user's spaces of primary user for acquiescence, can create and Add User in the user's space of primary user, these are new It is exactly the user that attends to anything else to add family.The user's space of primary user and the user's space for the user that attends to anything else are mutually isolated, primary user without Method accesses the user's space for the user that attends to anything else, and equally, the user's space for the user that attends to anything else can not also access the user's space of primary user.It is main Application program in the user's space of user is known as ontology application, can be installed to the certain applications of the user's space of primary user Attend to anything else the user's space of user, the application of these operations in the user's space for attending to anything else user is known as application of attending to anything else.Primary The user's space operation ontology application at family, runs application of attending to anything else in the user's space for the user that attends to anything else, thereby realizes same Terminal device runs multiple identical applications simultaneously, realizes that application opens function more.Such as it is opened simultaneously in same terminal device Open multiple QQ or wechat.
In embodiments of the present invention, terminal device can refer to the equipment for providing a user voice and/or data connectivity (device), including wireless terminal or catv terminal.Wireless terminal can be have wireless connecting function portable equipment or Other processing equipments of radio modem are connected to, the shifting to communicate through wireless access network with one or more core nets Dynamic terminal.For example, wireless terminal can be mobile phone (or being " honeycomb " phone) and the computer with mobile terminal.Again Such as, wireless terminal can also be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device.For another example, Wireless terminal can be that (English is movement station:Mobile station), (English is access point:Access point) or use (English is family equipment:User equipment, abbreviation UE) a part.
Based on foregoing description, Fig. 1 illustratively shows a kind of side of the establishment of multi-user provided in an embodiment of the present invention The flow of method, the flow can be by being performed by a kind of device of establishment of multi-user, which can be terminal device, It can be located in terminal device.
As shown in Figure 1, idiographic flow is as follows,
Step 101, according to the first instruction received, the user that attends to anything else, the user for the user that attends to anything else described in acquisition are created UserID。
In embodiments of the present invention, the user that attends to anything else is Adding User other than primary user under multi-user's frame, use of attending to anything else Family is one or more, and primary user is default user under multi-user's frame, and the first instruction is used to indicate the number for creating the user that attends to anything else Amount.
Specifically, create this attend to anything else user when, can be attended to anything else user according to the first instruction received, establishment UserID, user's space and data directory;Attend to anything else described in foundation the UserID of user and the data directory of the user that attends to anything else Correspondence.The data directory of the user that attends to anything else is mapped as to the directories of user data of FUSE management.
For example, it is indicated according to the first instruction received, determines number of users of attending to anything else to be created, establishment is attended to anything else User and the UserID for obtaining the user that attends to anything else.It is exactly to create independent and isolated user storage space to be used to deposit to create the user that attends to anything else Store up the data for application of attending to anything else.Fig. 2 illustratively shows the establishment process for user's space of attending to anything else.Step S201 creates use of attending to anything else Family.Step S202 creates the data directory for the user that attends to anything else.It is assumed that the first instruction instruction only creates the user that attends to anything else, for area Point primary user and the user that attends to anything else, primary user and the user that attends to anything else have different UserID under multi-user's frame.For example, in data/ Acquiescence is there are one entitled 0 catalogue under media, this catalogue is the data directory of primary user, the data directory of the primary user Representative is exactly the user's space of primary user.0 is exactly the User Identity of primary user, i.e. UserID is 0.When establishment is attended to anything else When the user's space of user and the user that attends to anything else, terminal device can be that the newly-built user that attends to anything else establishes identity mark according to system convention Know, for example create a user that attends to anything else " 881 ", is i.e. UserID is 881.In terminal device, the storage and name of file are that have Specific rule, that is to say, that UserID and attend to anything else that there are correspondences for directories of user data.Attend to anything else in the present embodiment User UserID is " 881 ", then according to terminal device rule, creates entitled 881 catalogue under data/media accordingly Data/media/881, as the data directory for the user that attends to anything else, representated by space be exactly the user's space of user of attending to anything else, should User's space is used to store user data of attending to anything else, that is to say, that UserID 881, corresponding data directory are exactly data/ media/881.Use of attending to anything else representated by the user's space and data/media/881 of primary user representated by data/media/0 The user's space at family is independently of each other and the space of isolation, the ontology application in the user's space of primary user can not access use of attending to anything else The memory space data/media/881 at family equally, attends to anything else using the primary user that can not also access representated by data/media/0 User's space.
Step S203, the data directory for the user that attends to anything else are mapped as the catalogue of FUSE management.Mapping is will be non-in terminal device Root file association is to root file system to achieve the purpose that be accessed.In the data directory data/ for creating the user that attends to anything else After media/881, it is also necessary to by the catalogue be mapped as FUSE management /storage/emulate/881.Similarly, if created Two users that attend to anything else, for example, " 881 ", " 882 ", the data directory of the corresponding user that attends to anything else can be data/media/ 881、data/media/882.Correspondingly, its be mapped as FUSE management /storage/emulate/881 ,/storage/ emulate/882。
Step S204 terminates.After mapping, the user's space process for creating the user that attends to anything else terminates, the use of the user that attends to anything else Family space could be accessed by system.As Fig. 3 illustratively shows the terminal device Data subregions for the user that attends to anything else under normal conditions Situation, it can be seen that the primary user region different with attending to anything else user in Data subregions and being two is each mapped to two completely Different data directories.
The needs applications opened, such as QQ, wechat, microblogging can be installed more in the user's space of the user that attends to anything else of establishment, In order to be distinguished with ontology application, these, which attend to anything else to apply, can be renamed for example, QQ trumpets 1, wechat 1, microblogging trumpet a etc.. In this way, the user's space for the user that attends to anything else and the user's space of primary user can run ontology application and application of attending to anything else simultaneously.But Since the design of multi-user's frame is the purpose for secret protection, subject user space cannot be accessed so attending to anything else and applying File.That is " QQ trumpets 1 " can not access the file in data/media/0, and main body application can not also access data/ File in media/881.
Step 102, according to the UserID of the user that attends to anything else, the data directory carry of the primary user is attended to anything else to described The data directory of user.
Specifically, when by the data directory of the data directory carry of the primary user to the user that attends to anything else, Ke Yigen According to the UserID values of the user that attends to anything else, the data directory of the user that attends to anything else is determined;The data directory of the primary user is hung It is downloaded on the data directory of the user that attends to anything else.
In terminal device, the alternative document except root file system cannot be accessed directly, it is necessary to by being mounted to Catalogue on root file system, which is realized, to be accessed.In the embodiment of the present invention, by the way that the data directory of primary user is mounted to use of attending to anything else The data directory at family can realize that the user's space for the user that attends to anything else and the user's space of primary user share one piece of storage region, ontology Using the file in the user's space that can access primary user, correspondingly, the user that main application can also access the user that attends to anything else is empty Between in file, asking for file in the user's space of primary user can not be accessed more by opening application so as to solving multi-user's frame Topic.
For example, the UserID and its and number of users for the user that attends to anything else can be obtained after user by being attended to anything else by step 101 establishment According to the correspondence of catalogue.By taking the user 881 that attends to anything else of above-mentioned establishment as an example, the mark of user's space is UserID=881. According to UserID and the correspondence of data directory, the data directory of the user that attends to anything else can be determined as/data/media/881, Main user data catalogue is mounted to by mount bind commands and is attended to anything else in directories of user data.Specifically, pass through calling Mount-o bind/data/media/0/data/media/881 orders carry out carry.The semanteme of the order is, by primary user Data directory data/media/0 be mounted on the data directory data/media/881 for the user that attends to anything else.As shown in figure 4, it completes After carry service, the content in the data directory for the user that attends to anything else has reformed into the content under main user data catalogue, that is to say, that Data/media/0 and data/media/881 has reformed into same storage region, although the mapping by FUSE file system With foring two file system after management, but its internal data is still identical, and side's file changes, the opposing party File can also change.In this way, application of attending to anything else can access the space of ontology application, ontology application can also access application of attending to anything else Space.
Preferably, after above-mentioned steps 102, the application disposed in the user that attends to anything else can access the user's space of primary user Data, specifically, obtain described in attend to anything else user first application data to be visited;Determine it is described first application wait visit When asking the data in the corresponding user's space of data directory that data are the primary user, according to the data mesh of the user that attends to anything else Record and the carry relationship of the data directory of the primary user, access the data in the user's space of the primary user.
Determine that the first of the application of attending to anything else applies data to be visited, if data to be visited are the numbers in primary user According to when, according to the carry relationship of the data directory for the user that attends to anything else and the data directory of primary user, the user of primary user can be accessed Space.First application for attend to anything else using any one of application, such as " the QQ trumpets 1 " opened in application will use in mobile phone more Photo, due to after carry, the user's space of the user's space of primary user and the user that attends to anything else are same area in memory Domain, then the photo in mobile phone photo album can be directly accessed in " QQ trumpets 1 ".Which achieves primary user user's space and point The data interchange function of the user's space of body user.
Above-described embodiment shows, according to the first instruction received, to create the user that attends to anything else, acquisition attends to anything else user's UserID, the user that attends to anything else are Adding User other than primary user under multi-user's frame, and the user that attends to anything else is one or more, primary user For default user under multi-user's frame, the first instruction is used to indicate the quantity for creating the user that attends to anything else, according to attending to anything else user's UserID by the data directory carry of primary user to the data directory of the user that attends to anything else, can effectively solve multi-user's frame Application of attending to anything else in more evolution cases can not access the file of the user's space of primary user, and ontology application can not access the use for the user that attends to anything else The problem of file in family space.
Based on identical technical concept, Fig. 5 illustratively shows the wound of multi-user provided in an embodiment of the present invention a kind of The device for the method built, the device can perform the method for the establishment of multi-user, which can be terminal device, can also position In in terminal device.
As shown in figure 5, the device specifically includes:
Creation module 501 according to the first instruction received, creates the user that attends to anything else, attends to anything else user's described in acquisition UserID;For the user that attends to anything else for Adding User other than primary user under multi-user's frame, the user that attends to anything else is one or more;Institute Primary user is stated as default user under multi-user's frame;First instruction is used to indicate the quantity for creating the user that attends to anything else.
Preferably, the creation module 501 is specifically additionally operable to:
Attend to anything else described in establishment UserID, user's space and the data directory of user;
Attend to anything else described in foundation the correspondence of the UserID of user and the data directory of the user that attends to anything else.
Preferably, the creation module 501 is specifically additionally operable to:
The data directory of the user that attends to anything else is mapped as to the directories of user data of FUSE management.
Carry module 502, for the UserID for the user that attends to anything else according to being used for basis, by the data mesh of the primary user Carry is recorded to the data directory of the user that attends to anything else.
Preferably, the carry module 502 is specifically additionally operable to:
According to the UserID of the user that attends to anything else, the data directory of the user that attends to anything else is determined;Using bind command, by master The data directory of user is mounted on the data directory of the user that attends to anything else.
Preferably, described device, further includes acquisition module and access modules:
The acquisition module, for obtaining the data to be visited of the first application of the user that attends to anything else;
The access modules, for being the data directory of the primary user in the data to be visited for determining first application During data in corresponding user's space, according to the carry relationship of the attend to anything else user and the primary user, access described primary Data in the user's space at family.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
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 (10)

1. a kind of creation method of multi-user, which is characterized in that including:
According to the first instruction received, the user that attends to anything else, the User Identity UserID for the user that attends to anything else described in acquisition are created;Institute The user that attends to anything else is stated as Adding User other than primary user under multi-user's frame, the user that attends to anything else is one or more;The primary user For default user under multi-user's frame;First instruction is used to indicate the quantity for creating the user that attends to anything else;
According to the UserID of the user that attends to anything else, by the data directory carry of the primary user to the data mesh of the user that attends to anything else Record.
2. the method as described in claim 1, which is characterized in that it is described to create the user that attends to anything else, including:
Attend to anything else described in establishment UserID, user's space and the data directory of user;
Attend to anything else described in foundation the correspondence of the UserID of user and the data directory of the user that attends to anything else.
3. method as claimed in claim 2, which is characterized in that after the data directory for the user that attends to anything else described in the establishment, It further includes:
The data directory of the user that attends to anything else is mapped as to the directories of user data of the file system FUSE management of user's space.
4. the method as described in claim 1, which is characterized in that the UserID for the user that attends to anything else described in the basis, by the master The data directory carry of user to the user that attends to anything else data directory, including:
According to the UserID of the user that attends to anything else, the data directory of the user that attends to anything else is determined;
The data directory of the primary user is mounted on the data directory of the user that attends to anything else.
5. such as Claims 1-4 any one of them method, which is characterized in that attending to anything else user's described in the basis UserID after the data directory of the data directory carry of the primary user to the user that attends to anything else, is further included:
Attend to anything else described in acquisition user first application data to be visited;
Number in data directory corresponding user's space of the data to be visited of first application for the primary user is determined According to when, according to the carry relationship of the data directory of the user that attends to anything else and the data directory of the primary user, access described primary Data in the user's space at family.
6. a kind of device of the establishment of multi-user, which is characterized in that including:
Creation module, for according to the first instruction received, creating the user that attends to anything else, the user identity for the user that attends to anything else described in acquisition Identify UserID;For the user that attends to anything else for Adding User other than primary user under multi-user's frame, the user that attends to anything else is one or more It is a;The primary user is default user under multi-user's frame;First instruction is used to indicate the quantity for creating the user that attends to anything else;
Carry module, for the UserID for the user that attends to anything else according to, by the data directory carry of the primary user to described point The data directory of body user.
7. device as claimed in claim 6, which is characterized in that the creation module is specifically used for:
Attend to anything else described in establishment UserID, user's space and the data directory of user;
Attend to anything else described in foundation the correspondence of the UserID of user and the data directory of the user that attends to anything else.
8. device as claimed in claim 7, which is characterized in that the creation module is additionally operable to:
After the data directory for the user that attends to anything else described in the establishment, the data directory of the user that attends to anything else is mapped as FUSE pipes The directories of user data of reason.
9. device as claimed in claim 6, which is characterized in that the carry module is specifically used for:
According to the UserID of the user that attends to anything else, the data directory of the user that attends to anything else is determined;
The data directory of the primary user is mounted on the data directory of the user that attends to anything else.
10. such as claim 6 to 9 any one of them device, which is characterized in that described device further includes:Acquisition module and visit Ask module;
The acquisition module, for obtaining the data to be visited of the first application of the user that attends to anything else;
The access modules, for being corresponded in the data to be visited for determining first application for the data directory of the primary user User's space in data when, according to the carry of the data directory of the user that attends to anything else and the data directory of the primary user Relationship accesses the data in the user's space of the primary user.
CN201711285048.1A 2017-12-07 2017-12-07 Method and device for creating multiple users Active CN108196899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711285048.1A CN108196899B (en) 2017-12-07 2017-12-07 Method and device for creating multiple users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711285048.1A CN108196899B (en) 2017-12-07 2017-12-07 Method and device for creating multiple users

Publications (2)

Publication Number Publication Date
CN108196899A true CN108196899A (en) 2018-06-22
CN108196899B CN108196899B (en) 2021-04-13

Family

ID=62574032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711285048.1A Active CN108196899B (en) 2017-12-07 2017-12-07 Method and device for creating multiple users

Country Status (1)

Country Link
CN (1) CN108196899B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276177A (en) * 2019-05-24 2019-09-24 华为技术有限公司 The login method and electronic equipment of intelligent terminal
CN111159734A (en) * 2019-12-20 2020-05-15 青岛海信移动通信技术股份有限公司 Communication terminal and multi-application data inter-access processing method
CN112464208A (en) * 2020-11-25 2021-03-09 努比亚技术有限公司 File access method, mobile terminal and computer readable storage medium
CN112837661A (en) * 2021-01-29 2021-05-25 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN113938890A (en) * 2021-09-15 2022-01-14 青岛海信移动通信技术股份有限公司 Data sharing method and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN104091102A (en) * 2014-05-23 2014-10-08 中兴通讯股份有限公司 Android system based multi-user management method and device
CN104573541A (en) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 Terminal, and method and device for processing multiple users of terminal
CN106227588A (en) * 2016-07-21 2016-12-14 北京奇虎科技有限公司 The creation method of a kind of multi-instance object, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN104573541A (en) * 2013-10-22 2015-04-29 中兴通讯股份有限公司 Terminal, and method and device for processing multiple users of terminal
CN104091102A (en) * 2014-05-23 2014-10-08 中兴通讯股份有限公司 Android system based multi-user management method and device
CN106227588A (en) * 2016-07-21 2016-12-14 北京奇虎科技有限公司 The creation method of a kind of multi-instance object, device and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276177A (en) * 2019-05-24 2019-09-24 华为技术有限公司 The login method and electronic equipment of intelligent terminal
CN111159734A (en) * 2019-12-20 2020-05-15 青岛海信移动通信技术股份有限公司 Communication terminal and multi-application data inter-access processing method
CN112464208A (en) * 2020-11-25 2021-03-09 努比亚技术有限公司 File access method, mobile terminal and computer readable storage medium
CN112464208B (en) * 2020-11-25 2023-05-12 深圳市纬旭信息科技服务有限公司 File access method, mobile terminal and computer readable storage medium
CN112837661A (en) * 2021-01-29 2021-05-25 北京小米移动软件有限公司 Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN113938890A (en) * 2021-09-15 2022-01-14 青岛海信移动通信技术股份有限公司 Data sharing method and terminal equipment
CN113938890B (en) * 2021-09-15 2024-04-30 青岛海信移动通信技术有限公司 Data sharing method and terminal equipment

Also Published As

Publication number Publication date
CN108196899B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN108196899A (en) A kind of method and device of the establishment of multi-user
US10387132B2 (en) Cloud-based application resource files
KR101583356B1 (en) Method of using cloud storages through home gateway and home gateway used therein
CN106970978A (en) Data sharing method and device
WO2013173109A2 (en) Locally backed cloud-based storage
CN103617209B (en) A kind of file management method and device of mobile terminal
CN105740469B (en) Storage server and metadata access method
CN106538042A (en) Subscriber identification module management method and electronic device supporting the same
CN106484544B (en) Method and device for virtualizing Internet of things equipment
CN102413233B (en) Contact information expansion processing method and device of mobile terminal
CN101802808A (en) Accessing device-hosted services from scripting and other programming environments
CN108228770A (en) A kind of method and device of application file source inquiry
CN108268609A (en) A kind of foundation of file path, access method and device
CN104503747A (en) Database storage structure of APP (Application) production platform
CN106547486A (en) A kind of data migration method and device
JP2014509804A (en) Method and system for managing contact information in a universal plug and play home network environment
CN106502648A (en) Application shows the method and terminal of language-specific
CN106484501A (en) A kind of application operation method and device
CN106527979B (en) Data migration method and device
CN104753938B (en) A kind of information processing method and electronic equipment
CN103945572A (en) Method for processing new business and business server
CN108197273B (en) Method and device for multi-user data synchronization
CN104767769B (en) Shared agency and its object store and access method
CN107783822A (en) A kind of method for managing resource and device
CN104243572B (en) A kind of data transmission method and device based on carry-on WiFi network

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
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder