CN106020943A - Application program dual-opening method and device - Google Patents

Application program dual-opening method and device Download PDF

Info

Publication number
CN106020943A
CN106020943A CN201610290470.5A CN201610290470A CN106020943A CN 106020943 A CN106020943 A CN 106020943A CN 201610290470 A CN201610290470 A CN 201610290470A CN 106020943 A CN106020943 A CN 106020943A
Authority
CN
China
Prior art keywords
application program
account
double
original
sub
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
CN201610290470.5A
Other languages
Chinese (zh)
Other versions
CN106020943B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610290470.5A priority Critical patent/CN106020943B/en
Publication of CN106020943A publication Critical patent/CN106020943A/en
Application granted granted Critical
Publication of CN106020943B publication Critical patent/CN106020943B/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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application program dual-opening method and device, and belongs to the field of electronic devices. The application program dual-opening method includes: installing a designated original application program in a system through a primary account, allocating a first resource catalog to the original application program, and setting the operation authorization for the first resource catalog through an identification of the original application program and the primary account; and installing a dual-opening application program identical to the original application program in the system through a secondary account, allocating a second resource catalog to the dual-opening application program, and setting the operation authorization for the second resource catalog through an identification of the dual-opening application program and the secondary account, wherein the original application program and the dual-opening application program are permitted to open at the same time, and the identification of the original application program and the identification of the dual-opening application program are identical. The application program dual-opening method and device can solve the problem that user data has potential risks in the relevant technologies, and can improve the security of the user data.

Description

The double open method of application program and device
Technical field
It relates to electronic device field, particularly to the double open method of a kind of application program and device.
Background technology
Common intelligence system all gives tacit consent at least two process not supporting simultaneously to open same application program, Namely do not support the double opening function of application program.
But in actual application, user often needs certain application program carries out double opening, and ratio is if desired for simultaneously Log in two accounts of same application program, to obtain the service involved by two accounts respectively.In order to enable Enough realizing the double of application program in above-mentioned intelligence system to open, common a kind of scheme is to install void in systems Plan machine, utilizes this virtual machine set up applications.Owing to virtual machine holds as an installation independent of system Device, can with independently installed application program, such that it is able in use system simultaneously install original application program, And the double of virtual machine installation open application program, it is achieved the double opening function of this application program.
But during owing to installing virtual machine in intelligence system, it is virtual with this that intelligence system is that this virtual machine is assigned with The Resource TOC that machine application is corresponding, these application programs that virtual machine is installed all have the behaviour to this Resource TOC Make authority, so that these application programs have the authority accessing mutually user data, cause user data There is potential safety hazard.
Summary of the invention
The disclosure provides the double open method of a kind of application program and device.Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that the double open method of a kind of application program, is applied to electricity In subset, the system support of described electronic equipment arranges main account and sub-account, and described method includes: profit The original application program specified is installed in systems with main account, distributes first resource for this original application program Catalogue, utilizes the mark of this original application program and main account to arrange operating right for first resource catalogue, The relevant information needed when the original application program that this first resource catalogue is installed for storing main account is run; Utilize sub-account to install in systems and identical with original application program double open application program, open application for this pair Program distribution Secondary resource catalogue, utilizes this pair to open the mark of application program and sub-account is Secondary resource mesh Record arranges operating right, this Secondary resource catalogue for store that sub-account installs double open application program run time The relevant information needed;Wherein, original application program and double open application program and be allowed to open simultaneously is original The mark of application program is identical with the mark pair opening application program.Owing to opening application program be individually assigned with for double Secondary resource catalogue, and to utilize double marks opening application program and sub-account be that this Secondary resource catalogue is arranged Operating right, say, that only have this pair to open application program and have the authority to Secondary resource catalogue, so that The process data and the double process data opening application program that obtain original application program are isolated, and therefore solve In correlation technique there is the problem of potential safety hazard in user data, has reached to improve the effect of secure user data Really.
Optionally, described method also includes: after group account is opened, and the process in this sub-account loads space In, only allow the application program opening the installation of this sub-account to need the system process called.By only allowing out Opening the system process that the application program needs of this sub-account installation call, the process relieving sub-account loads sky Open the uncorrelated system process of application program with double system resource is taken between.
Optionally, described method also includes: when successful registration main account in system, set for this main account Put first data space relevant to this main account;When the sub-account of successful registration in system, for this The second data space that sub-account setup is relevant to sub-account;Control this pair to open application program and deposited by needs The resource of the specified type of storage stores to the public directory of the first data space, controls this pair and opens application The resource needing the non-designated type of storage is stored to the second data space by program;Answer when this pair opens When needing, by program, the resource accessing specified type, control this pair and open application program from the first data space Public directory in be read out.Open application program will need the money of specified type of storage owing to controlling this pair Source stores to the public directory of the first data space, and allows this pair to open application program to need access to refer to Be read out from the public directory of the first data space when determining the resource of type, it is achieved that main account with Between sub-account, specified type resource is shared.
Optionally, described method also includes: successfully installing after this pair open application program, to electronic equipment Desktop sends broadcast, and this broadcast comprises double mark opening application program;Wide to this at desktop reception After broadcasting message, it is determined that whether there is the desktop shortcut icon of the original application program possessing mark on desktop;? When there is the desktop shortcut icon of the original application program possessing this mark on desktop, open application program for this pair Generate and carry markd desktop shortcut icon, markd for this band desktop shortcut icon is shown on the table. Due to successfully install double open application program after, generate and carry markd desktop shortcut icon on the table Show so that user can distinguish original application program by labelling and open application program with double.
Optionally, described method also includes: receive the journey carrying designated identification that third party application sends Sequence call request;Display selects prompting frame, and this selection prompting frame possesses this designated identification for pathfinder selection Original application program or possess the double of this designated identification and open application program.By display reminding frame so that user Select one call from original application program and double application program of opening, improve the motility called.
Optionally, the desktop shortcut icon selecting prompting frame to include possessing original application program opens application journey with double The desktop shortcut icon of sequence.
Optionally, described method also includes: when utilizing this selection prompting frame Selection and call original application program, Calling the original process involved by this original application program, this original process uses the number in first resource catalogue According to;When utilizing this selection prompting frame Selection and call pair to open application program, call this pair and open involved by application program And double drive journey into, this pair is driven journey into and uses the data in Secondary resource catalogue;Achieve the choosing according to user Select, call the effect selecting corresponding application program with user.
Second aspect according to disclosure embodiment, it is provided that the double opening device of a kind of application program, is applied to electricity In subset, the system support of this electronic equipment arranges main account and sub-account, and described device includes: first Module is set, is configured to, with described main account and the original application program specified is installed in the system, Distribute first resource catalogue for described original application program, utilize mark and the institute of described original application program Stating main account is that described first resource catalogue arranges operating right, and described first resource catalogue is used for storing described The relevant information needed when the described original application program that main account is installed is run;Second arranges module, is joined It is set to utilize described sub-account to install in the system and identical with described original application program double opens application journey Sequence, double opens application assigned Secondary resource catalogue for described, utilize described double mark opening application program with And described sub-account is that described Secondary resource catalogue arranges operating right, described Secondary resource catalogue is used for storing The described pair of relevant information needed when opening application program operation that described sub-account is installed;Wherein, described original Application program and described double open application program and be allowed to open simultaneously, the mark of described original application program and institute State pair mark opening application program identical.
Optionally, described device also includes: allow module, after being configured as the unlatching of described sub-account, The process of described sub-account loads in space, only allows the application program opening the installation of described sub-account to need to adjust System process.
Optionally, described device also includes: the 3rd arranges module, is configured as success on the system When registering described main account, first data space relevant to described main account is set for described main account; 4th arranges module, is configured as on the system described in successful registration during sub-account, for described sub-account Family arranges second data space relevant to described sub-account;First control module, is configured to control The resource needing the specified type of storage is stored to described first data space by described double application program of opening Public directory under, control described double open application program the resource needing the non-designated type of storage is stored to In described second data space;Second control module, is configured as described pair and opens application program needs When accessing the resource of described specified type, control described pair and open application program from described first data space Described public directory in be read out.
Optionally, described device also includes: broadcast module, is configured to described double open application successfully installing After program, sending broadcast to the desktop of described electronic equipment, described broadcast comprises described double opening should By the mark of program;Determination module, be configured to described desktop reception to described broadcast module send wide After broadcasting message, it is determined that the desktop that whether there is the original application program possessing described mark on described desktop is quick Icon;First display module, is configured to the result described determination module judges and possesses as existing on desktop During the desktop shortcut icon of the original application program of described mark, generate with mark for described double application programs of opening The desktop shortcut icon of note, shows markd for described band desktop shortcut icon on described desktop.
Optionally, described device also includes: receiver module, is configured to receive third party application and sends Carry designated identification routine call request;Second display module, is display configured to select prompting frame, Described selection prompting frame possesses what the routine call request that described receiver module receives was carried for pathfinder selection The original application program of designated identification or possess the finger that the routine call that described receiver module receives asks to carry The double of calibration knowledge open application program.
Optionally, described selection prompting frame includes desktop shortcut icon and the institute possessing described original application program State double desktop shortcut icon opening application program.
Optionally, described device also includes: the first calling module, is configured as utilizing described second display Described in the selection prompting frame Selection and call that module shows during original application program, call described original application program Involved original process, described original process uses the data in described first resource catalogue;Second calls Module, double described in the selection prompting frame Selection and call being configured as utilizing described second display module to show opens During application program, calling described double double journeys that drive into opened involved by application program, described double journeys that drive into use institute State the data in Secondary resource catalogue.
The third aspect according to disclosure embodiment, it is provided that the double opening device of a kind of application program, is applied to electricity In subset, the system support of described electronic equipment arranges main account and sub-account, and described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
Utilize described main account that the original application program specified is installed in the system, for described original application Program distribution first resource catalogue, it is described for utilizing the mark of described original application program and described main account First resource catalogue arranges operating right, and described first resource catalogue is for storing the institute that described main account is installed State the relevant information needed when original application program is run;
Utilize described sub-account to install in the system and identical with described original application program double open application journey Sequence, double opens application assigned Secondary resource catalogue for described, utilize described double mark opening application program with And described sub-account is that described Secondary resource catalogue arranges operating right, described Secondary resource catalogue is used for storing The described pair of relevant information needed when opening application program operation that described sub-account is installed,
Wherein, described original application program and described double open application program and be allowed to open simultaneously is described original The mark of application program is identical with the mark that described pair is opened application program.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not Limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure Embodiment, and in description together for explaining the principle of the disclosure.
Fig. 1 is the flow chart according to the double open method of a kind of application program shown in an exemplary embodiment;
Fig. 2 A is the flow chart according to the double open method of a kind of application program shown in another exemplary embodiment;
Fig. 2 B is according to showing on a kind of desktop shown in an exemplary embodiment that the markd desktop of band is fast schemed Indicate and be intended to;
Fig. 2 C is by public data area between main account and sub-account according to the one shown in an exemplary embodiment The flow chart of method of data sharing;
Fig. 2 D is to be mounted with certain application program pair according in a kind of system shown in an exemplary embodiment simultaneously The original application program answered and double when opening application program, third party application calls the method for this application program Flow chart;
Fig. 2 E is according to a kind of schematic diagram showing selection prompting frame shown in an exemplary embodiment;
Fig. 2 F is the schematic diagram selecting prompting frame according to the another kind of display shown in an exemplary embodiment;
Fig. 3 is the block diagram according to the double opening device of a kind of application program shown in an exemplary embodiment;
Fig. 4 is the block diagram according to the double opening device of a kind of application program shown in another exemplary embodiment;
Fig. 5 is the block diagram according to a kind of device for double unlatching application programs shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
In the intelligence system of intelligent electronic device, such as Android 5.0, it is achieved that the support to many accounts. In the intelligence system supporting many accounts, it is allowed to multiple accounts of login system, and user simultaneously can utilize Different accounts is respectively mounted application program, and intelligence system is that every kind of account is configured with independent installation application Space required during program, opens therefore to realize the double of application program, it is possible to use system supported two Individual account is respectively mounted identical application program.Generally, needs can be specified to carry out by user double The application program opened, such as, it is double that user can specify needs to carry out from the application program market that system provides The application program opened.System after getting the needs that user specifies and carry out the application program of double unlatching, profit By different accounts, this application program is installed in systems.When a certain application program is carried out double by needs Offer when putting, this application program utilizing main account to be installed is referred to as original application program, sub-account will be utilized This application program that family is installed is the most double opens application program.
Fig. 1 is the flow chart according to the double open method of a kind of application program shown in an exemplary embodiment, should The double open method of application program is applied in electronic equipment, the system support of this electronic equipment arrange main account and Sub-account, the double open method of this application program can include following several step.
In a step 101, utilize main account that the original application program specified is installed in systems, original for this Application assigned first resource catalogue, utilizing the mark of this original application program and main account is the first money Source directory arranges operating right, and this first resource catalogue is for storing this original application program that main account is installed The relevant information needed during operation.
Utilize main account that the original application program specified is installed in systems, for this original application program distribution the One Resource TOC, this first resource catalogue is for storing the relevant information needed when original application program is run.
In order to ensure the data safety of first resource catalogue, utilize mark and the main account of original application program Arranging operating right for first resource catalogue, the data in this first resource catalogue only allow this main account to open The application call with this mark.It should be noted that generally for same application program, one This application program can only be installed once by individual account.
It is to say, only original application program has the operating right to first resource catalogue, said here Operating right include: read the storage data in first resource catalogue, count in first resource catalogue According to storage and data in first resource catalogue are carried out deletion etc..
In a step 102, utilize sub-account to install in systems and identical with original application program double open application Program, opens application assigned Secondary resource catalogue for this pair, utilize this pair open application program mark and Sub-account is that Secondary resource catalogue arranges operating right, and this Secondary resource catalogue is for storing what sub-account was installed This pair opens the relevant information needed when application program runs.
Utilize sub-account to install in systems and identical with original application program double open application program.For example, Utilize main account that original program A is installed in systems, then obtain the installation directory of original program A, utilize son Account virtual installation in systems is double opens application A.
Opening application assigned Secondary resource catalogue for this pair, this Secondary resource catalogue is used for storing this pair and opens The relevant information needed when application program runs.
Owing to original application program is with double to open application program be identical application program, original application program is with double The mark opening application program is identical, therefore to ensure the data safety of Secondary resource catalogue, utilizes double opening to answer Mark and sub-account setup by program are that Secondary resource catalogue arranges operating right, this Secondary resource catalogue In data only allow the application call with this mark that this sub-account opens.
It is to say, only have this pair to open application program have the operating right to Secondary resource catalogue, here institute The operating right said includes: reads the storage data in first resource catalogue, carry out in first resource catalogue Data store and data in first resource catalogue are carried out deletion etc..
Wherein, original application program and double open application program and be allowed to open simultaneously, the unlatching bag said here Include running background and front stage operation, then original application program and double open application program and be allowed to open at least simultaneously Including following several situations: original application program and double application program of opening are simultaneously at running background;Or, former Beginning application program and double application program of opening are simultaneously at front stage operation, namely all show in same user interface; Or, original application program is at front stage operation, and double application programs of opening are at running background;Or, double open application Program is at running background, and original application program is at front stage operation.
Optionally, electronic equipment after getting the needs that user specifies and carry out installing the application program of double unlatching, The original application program the most successfully installing correspondence in detecting system opens application program with double.If in system This original application program of unsuccessful installation and this pair open application program, perform step 101 and step 102.If being System is the most successfully installed this original application program, but this pair is not installed and opens application program, the most directly perform step 102.If system is the most successfully installed and double opened application program, but does not installs this original application program, the most only perform step Rapid 101, utilize main account to install in systems and open the original application program that application program is identical, for this pair with double Open application assigned Secondary resource catalogue, utilize this pair to open the mark of application program and sub-account is second Resource TOC arranges operating right, and this pair that this Secondary resource catalogue is installed for storing sub-account opens application journey The relevant information needed during sort run.
Additionally, the present embodiment only relates to a main account and a sub-account, and can arrange in actual applications One main account and many sub-accounts, it is possible to use different sub-accounts is respectively mounted and original application program phase Same application program, this is repeated no more by the present embodiment, but also in the protection domain of the disclosure.
In sum, the double open method of the application program provided in disclosure embodiment, by utilizing main account Original application program is installed in systems, utilizes sub-account to install in systems and double open application program, open for double Application program arranges the independent Secondary resource catalogue corresponding with sub-account, the application journey installed under different accounts Sequence is allowed to open simultaneously.Owing to being individually assigned with Secondary resource catalogue for double application programs of opening, and utilize double Mark and the sub-account of opening application program are that this Secondary resource catalogue arranges operating right, say, that only This pair opens application program and has the authority to Secondary resource catalogue, so that the process number of original application program Isolated according to double process data opening application program;Solve user data in correlation technique and there is peace The problem of full hidden danger, has reached to improve the effect of secure user data.
Fig. 2 A is the flow chart according to the double open method of a kind of application program shown in another exemplary embodiment, The double open method of this application program is applied in electronic equipment, and the system support of this electronic equipment arranges main account With sub-account, the double open method of this application program can include following several step.
In step 201, utilize main account that the original application program specified is installed in systems, original for this Application assigned first resource catalogue, utilizing the mark of this original application program and main account is the first money Source directory arranges operating right, and this first resource catalogue is for storing this original application program that main account is installed The relevant information needed during operation.
In step 202., utilize sub-account to install in systems and identical with original application program double open application Program, opens application assigned Secondary resource catalogue for this pair, utilize this pair open application program mark and Sub-account is that Secondary resource catalogue arranges operating right, and this Secondary resource catalogue is for storing what sub-account was installed This pair opens the relevant information needed when application program runs.
Step 201 refers to the specific descriptions in step 101 and step 102 to the specific descriptions of step 202, Here is omitted.
In step 203, successfully installing after this pair open application program, sending to the desktop of electronic equipment wide Broadcasting message, this broadcast comprises double mark opening application program, after desktop reception to this broadcast, Judge whether to exist on desktop the desktop shortcut icon of the original application program possessing mark.
For example, original application program A and double open application A be designated a, should successfully installing Double open application A after, to desktop send carry mark a broadcast message.Desktop reception is to carrying mark a Broadcast after, it is determined that the desktop that whether there is the original application program possessing this mark a on desktop is quick Icon.In general, as long as system utilizes main account to install original application program A being designated a, all Can judge on desktop, to there is the desktop shortcut icon possessing the original application program being designated a.
In step 204, there is the desktop shortcut icon of the original application program possessing this mark on the table Time, open application program for this pair and generate the markd desktop shortcut icon of band, by fast for markd for this band desktop Prompt icon shows on the table.
Here labelling is that double desktop opening application program is fast schemed for pointing out this desktop shortcut icon of user Mark.For example, Fig. 2 B is according to showing on a kind of desktop shown in an exemplary embodiment that band is markd Desktop shortcut icon schematic diagram, as shown in Figure 2 B, desktop exists original application program A possessing this mark Desktop shortcut icon 21, open application program for this pair and generate with the desktop shortcut icon 23 of labelling 22, Showing on the table by this with the desktop shortcut icon 23 of labelling 22, desktop shortcut icon 23 should for double opening With the desktop shortcut icon of program A.
Optionally, the desktop shortcut icon of double desktop shortcut icons opening application program and original application program is also Can show in " nearest task " screen, " installing recently " position such as interface and informing.
In sum, the double open method of the application program provided in disclosure embodiment, by utilizing main account Original application program is installed in systems, utilizes sub-account to install in systems and double open application program, open for double Application program arranges the independent Secondary resource catalogue corresponding with sub-account, the application journey installed under different accounts Sequence is allowed to open simultaneously.Owing to being individually assigned with Secondary resource catalogue for double application programs of opening, and utilize double Mark and the sub-account of opening application program are that this Secondary resource catalogue arranges operating right, say, that only This pair opens application program and has the authority to Secondary resource catalogue, so that the process number of original application program Isolated according to double process data opening application program;Solve user data in correlation technique and there is peace The problem of full hidden danger, has reached to improve the effect of secure user data.
Optionally, by successfully installing after this pair open application program, broadcast is sent to the desktop of electronic equipment Message, this broadcast comprises double mark opening application program;After desktop reception to this broadcast, sentence Determine whether to exist on desktop the desktop shortcut icon of the original application program possessing mark;There is tool on the table During for the desktop shortcut icon of the original application program of this mark, open application program for this pair and generate with labelling Desktop shortcut icon, markd for this band desktop shortcut icon is shown on the table.Owing to successfully pacifying After application program opened by dress pair, generate and carry markd desktop shortcut icon and show on the table, make Obtain user and can open application program by labelling differentiation original application program with double.
Optionally, after group account is opened, the process in this sub-account loads in space, only allows to open and is somebody's turn to do The application program that sub-account is installed needs the system process called, and the process relieving sub-account loads in space With double application program uncorrelated system processs of opening, system resource is taken.
Under multi-user system, the application data store between main account and sub-account is entirely isolated, this limit The data sharing of SD card public data area between main account and sub-account, such as picture resource, audio frequency money are made Sharing of source, video resource etc. data.Optionally, by public data area between main account and sub-account Data sharing can be realized by the most several sub-steps, and Fig. 2 C is according to an exemplary enforcement Exemplify is a kind of by the flow chart of the method for the data sharing of public data area between main account and sub-account.
In step 205a, when successful registration main account in system, arrange and this main account for this main account The first data space that family is relevant.
When successful registration main account in system, arrange relevant to this main account in SD card for this main account The first data space.
First data space generally comprises the first storage subspace for storing specified type resource, with And for storing the second storage subspace of the non-designated resource type that main account relates to, the most data cached etc..
The resource of the specified type said here is typically set by developer, it is intended that the resource of type can be Picture resource, video resource, voice resource etc..This is not made concrete restriction by the present embodiment, can basis It is actually needed and determines.
In step 205b, when the sub-account of successful registration in system, for this sub-account setup and this sub-account The second data space that family is relevant.
When the sub-account of successful registration in system, arrange relevant to sub-account in SD card for this sub-account Second data space.
Second data space generally comprises the 3rd storage subspace for storing specified type resource, with And for storing the 4th storage subspace of the non-designated resource type that main system relates to, the most data cached etc..
In general, the first data space and the second data space are two independent memory spaces.
In step 205c, control this pair open application program the resource of specified type needing storage is stored to Under the public directory of the first data space, control this pair and open the non-designated class that application program will need to store The resource of type stores to the second data space.
Here the public directory said is the index list of above-mentioned first storage subspace.
So that sub-account and main account share the resource of specified type, should under sub-account in the present embodiment Need when the second data space stores the resource of specified type by program, can control to apply under sub-account Program the resource of specified type is stored under the public directory to the first data space (namely store to First storage subspace);Corresponding, when under group account, application program needs the resource reading specified type, Control application program under sub-account to the money reading specified type under the public directory in the first data space Source.
When under group account, application program needs the resource storing non-designated type, then control to apply under sub-account The resource of non-designated type needing storage is stored to the second data space by program, namely store to The 4th above-mentioned storage subspace.
It can thus be appreciated that, although system can be that sub-account setup the 3rd stores subspace, but in order to ensure main account With the resource that sub-account can share specified type, not storing data in the 3rd storage subspace, first deposits Storage subspace then stores and utilizes the specified type that under sub-account, under application program and main account, application program obtains Data.
Optionally, in actual applications, it is also possible to the second data space is not carried out above-mentioned 3rd storage Subspace and the division of the 4th storage subspace, in this case, the second data space is only used for storage The resource of the non-designated type that application program relates under sub-account.
In step 205d, when this pair opens the resource that application program needs access specified type, control this pair Open application program to be read out from the public directory of the first data space.
Open application program and the resource of specified type needing storage is stored to the first data by controlling this pair and deposit Under the public directory in storage space, and this pair is allowed to open when application program needs the resource accessing specified type from the The public directory of one data space is read out, it is achieved that to specifying class between main account and sub-account Sharing of type resource.
Optionally, third party application needs to call certain application program, is mounted with this application in system simultaneously Original application program corresponding to program and double when opening application program, can be by several sub-steps as shown in Figure 2 D Rapid realization, Fig. 2 D is to be mounted with certain application program according in a kind of system shown in an exemplary embodiment simultaneously Corresponding original application program and double when opening application program, third party application calls the side of this application program Method flow chart.
In step 206a, receive the routine call request carrying designated identification that third party application sends.
Receive the routine call request carrying designated identification that third party application sends, according to this program The mark that call request carries determines that third party application is pleaded the application program called.If should in system Application program corresponding to mark includes the original application program possessing this mark and possesses the double of this mark and open application Program, then perform step 206b.
For example, third party application is certain application program of doing shopping, and after user confirms to pay, this is purchased Thing application program sends the routine call request carrying payment application B mark.Receive this routine call Request, if be mounted with in system simultaneously, original payment program B opens payment program B with double, then perform step 206b.
In step 206b, display selects prompting frame, and this selection prompting frame possesses this appointment mark for pathfinder selection The original application program known or possess the double of this designated identification and open application program.
Optionally, this selection prompting frame includes that the desktop shortcut icon possessing original application program opens application with double The desktop shortcut icon of program.
For example, Fig. 2 E is according to a kind of signal showing selection prompting frame shown in an exemplary embodiment Figure, as shown in Figure 2 E, display reminding frame 24 on the interactive interface of third party application, this selection is pointed out Frame 24 includes the desktop shortcut icon 25 of original application program and double desktop shortcut icon 26 opening application program.
Optionally, this selection prompting frame includes the text prompt corresponding with original application program and opens application with double The text prompt of program.
For example, Fig. 2 F is to select showing of prompting frame according to the another kind of display shown in an exemplary embodiment Being intended to, as shown in Figure 2 F, display reminding frame 27 on the interactive interface of third party application, this display carries Show that frame 27 includes the text prompt 28 corresponding with original application program and with double to open application program corresponding Text prompt 29.
In step 206c, when utilizing this selection prompting frame Selection and call original application program, call this original Original process involved by application program, this original process uses the data in first resource catalogue.
In step 206d, when utilizing this selection prompting frame Selection and call pair to open application program, call this pair and open Double involved by application program drive journey into, and this pair is driven journey into and use the data in Secondary resource catalogue.
The routine call carrying designated identification sent by receiving third party application is asked, display choosing Select prompting frame so that user can select one call from original application program and double application program of opening, Improve the motility called.When utilizing this selection prompting frame Selection and call original application program, call this Original process involved by original application program, this original process uses the data in first resource catalogue;When When utilizing that this selection prompting frame Selection and call is double opens application program, that calls that this pair open involved by application program is double Driving journey into, this pair is driven journey into and uses the data in Secondary resource catalogue;Achieve the selection according to user, adjust By the effect selecting corresponding application program with user.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.For the disclosure The details not disclosed in device embodiment, refer to method of disclosure embodiment.
Fig. 3 is the block diagram according to the double opening device of a kind of application program shown in an exemplary embodiment, should Being applied in electronic equipment with the double opening device of program, the system support of this electronic equipment arranges main account and son Account.The double opening device of this application program may include that first arranges module 310 and second and arrange module 320.
First arranges module 310, is configured to, with main account and installs the original application journey specified in systems Sequence, distributes first resource catalogue for this original application program, utilizes mark and the master of this original application program Account is that first resource catalogue arranges operating right, and this first resource catalogue is for storing being somebody's turn to do of main account installation The relevant information needed when original application program is run.
Second arranges module 320, is configured to, with sub-account and installs identical with original application program in systems Double open application program, open application assigned Secondary resource catalogue for this pair, utilize this pair to open application program Mark and sub-account be that Secondary resource catalogue arranges operating right, this Secondary resource catalogue is used for storing son This pair that account is installed opens the relevant information needed when application program runs.
Wherein, original application program and double open application program and be allowed to open simultaneously, the mark of original application program The mark known and pair open application program is identical.
In sum, the double opening device of the application program provided in disclosure embodiment, by utilizing main account Original application program is installed in systems, utilizes sub-account to install in systems and double open application program, open for double Application program arranges the independent Secondary resource catalogue corresponding with sub-account, the application journey installed under different accounts Sequence is allowed to open simultaneously.Owing to being individually assigned with Secondary resource catalogue for double application programs of opening, and utilize double Mark and the sub-account of opening application program are that this Secondary resource catalogue arranges operating right, say, that only This pair opens application program and has the authority to Secondary resource catalogue, so that the process number of original application program Isolated according to double process data opening application program;Solve user data in correlation technique and there is peace The problem of full hidden danger, has reached to improve the effect of secure user data.
Fig. 4 is the block diagram according to the double opening device of a kind of application program shown in another exemplary embodiment, should The double opening device of application program is applied in electronic equipment, the system support of this electronic equipment arrange main account and Sub-account.The double opening device of this application program may include that first arranges module 401 and second and arrange module 402。
First arranges module 401, is configured to, with main account and installs the original application journey specified in systems Sequence, distributes first resource catalogue for this original application program, utilizes mark and the master of this original application program Account is that first resource catalogue arranges operating right, and this first resource catalogue is for storing being somebody's turn to do of main account installation The relevant information needed when original application program is run.
Utilize main account that the original application program specified is installed in systems, for this original application program distribution the One Resource TOC, this first resource catalogue is for storing the relevant information needed when original application program is run.
In order to ensure the data safety of first resource catalogue, utilize mark and the main account of original application program Arranging operating right for first resource catalogue, the data in this first resource catalogue only allow this main account to open The application call with this mark.It should be noted that generally for same application program, one This application program can only be installed once by individual account.
It is to say, only original application program has the operating right to first resource catalogue, said here Operating right include: read the storage data in first resource catalogue, count in first resource catalogue According to storage and data in first resource catalogue are carried out deletion etc..
Second arranges module 402, is configured to, with sub-account and installs identical with original application program in systems Double open application program, open application assigned Secondary resource catalogue for this pair, utilize this pair to open application program Mark and sub-account be that Secondary resource catalogue arranges operating right, this Secondary resource catalogue is used for storing son This pair that account is installed opens the relevant information needed when application program runs.
Utilize sub-account to install in systems and identical with original application program double open application program.For example, Utilize main account that original program A is installed in systems, then obtain the installation directory of original program A, utilize son Account virtual installation in systems is double opens application A.
Opening application assigned Secondary resource catalogue for this pair, this Secondary resource catalogue is used for storing this pair and opens The relevant information needed when application program runs.
Owing to original application program is with double to open application program be identical application program, original application program is with double The mark opening application program is identical, therefore to ensure the data safety of Secondary resource catalogue, utilizes double opening to answer Mark and sub-account setup by program are that Secondary resource catalogue arranges operating right, this Secondary resource catalogue In data only allow the application call with this mark that this sub-account opens.
It is to say, only have this pair to open application program have the operating right to Secondary resource catalogue, here institute The operating right said includes: reads the storage data in first resource catalogue, carry out in first resource catalogue Data store and data in first resource catalogue are carried out deletion etc..
Wherein, original application program and double open application program and be allowed to open simultaneously, the unlatching bag said here Include running background and front stage operation, then original application program and double open application program and be allowed to open at least simultaneously Including following several situations: original application program and double application program of opening are simultaneously at running background;Or, former Beginning application program and double application program of opening are simultaneously at front stage operation, namely all show in same user interface; Or, original application program is at front stage operation, and double application programs of opening are at running background;Or, double open application Program is at running background, and original application program is at front stage operation.
Optionally, electronic equipment after getting the needs that user specifies and carry out installing the application program of double unlatching, The original application program the most successfully installing correspondence in detecting system opens application program with double.If in system This original application program of unsuccessful installation and this pair open application program, perform step 101 and step 102.If being System is the most successfully installed this original application program, but this pair is not installed and opens application program, the most directly perform step 102.If system is the most successfully installed and double opened application program, but does not installs this original application program, the most only perform step Rapid 101, utilize main account to install in systems and open the original application program that application program is identical, for this pair with double Open application assigned Secondary resource catalogue, utilize this pair to open the mark of application program and sub-account is second Resource TOC arranges operating right, and this pair that this Secondary resource catalogue is installed for storing sub-account opens application journey The relevant information needed during sort run.
Additionally, the present embodiment only relates to a main account and a sub-account, and can arrange in actual applications One main account and many sub-accounts, it is possible to use different sub-accounts is respectively mounted and original application program phase Same application program, this is repeated no more by the present embodiment, but also in the protection domain of the disclosure.
Optionally, the double opening device of this application program, also include:
Allowing module 403, after being configured to the unlatching of group account, the process in this sub-account loads in space, The application program opening the installation of this sub-account is only allowed to need the system process called.
After group account is opened, the process in this sub-account loads in space, only allows to open this sub-account peace The application program of dress needs the system process called.By only allowing to open the application program of this sub-account installation Need the system process called, relieve in the process loading space of sub-account and open application program onrelevant with double System process system resource is taken.
Optionally, the double opening device of this application program, also include:
3rd arranges module 404, when being configured as successful registration main account in system, arranges for main account First data space relevant to this main account.
When successful registration main account in system, arrange relevant to this main account in SD card for this main account The first data space.
First data space generally comprises the first storage subspace for storing specified type resource, with And for storing the second storage subspace of the non-designated resource type that main account relates to, the most data cached etc..
The resource of the specified type said here is typically set by developer, it is intended that the resource of type can be Picture resource, video resource, voice resource etc..This is not made concrete restriction by the present embodiment, can basis It is actually needed and determines.
4th arranges module 405, when being configured as the sub-account of successful registration in system, for sub-account setup Second data space relevant to this sub-account.
When the sub-account of successful registration in system, arrange relevant to sub-account in SD card for this sub-account Second data space.
Second data space generally comprises the 3rd storage subspace for storing specified type resource, with And for storing the 4th storage subspace of the non-designated resource type that main system relates to, the most data cached etc..
In general, the first data space and the second data space are two independent memory spaces.
First control module 406, being configured to control double application program of opening will need the money of the specified type of storage Source stores to the public directory of the first data space, control this pair open application program will need storage The resource of non-designated type stores to the second data space.
Here the public directory said is the index list of above-mentioned first storage subspace.
So that sub-account and main account share the resource of specified type, should under sub-account in the present embodiment Need when the second data space stores the resource of specified type by program, can control to apply under sub-account Program the resource of specified type is stored under the public directory to the first data space (namely store to First storage subspace);Corresponding, when under group account, application program needs the resource reading specified type, Control application program under sub-account to the money reading specified type under the public directory in the first data space Source.
When under group account, application program needs the resource storing non-designated type, then control to apply under sub-account The resource of non-designated type needing storage is stored to the second data space by program, namely store to The 4th above-mentioned storage subspace.
It can thus be appreciated that, although system can be that sub-account setup the 3rd stores subspace, but in order to ensure main account With the resource that sub-account can share specified type, not storing data in the 3rd storage subspace, first deposits Storage subspace then stores and utilizes the specified type that under sub-account, under application program and main account, application program obtains Data.
Optionally, in actual applications, it is also possible to the second data space is not carried out above-mentioned 3rd storage Subspace and the division of the 4th storage subspace, in this case, the second data space is only used for storage The resource of the non-designated type that application program relates under sub-account.
Second control module 407, is configured as double application program of opening when needing the resource accessing specified type, Control this pair to open application program and be read out from the public directory of the first data space.
Optionally, the double opening device of this application program, also include:
Broadcast module 408, be configured to successfully install double open application program after, send out to the desktop of electronic equipment Sending broadcast, this broadcast comprises double mark opening application program.
Determination module 409, is configured to, after the broadcast that desktop reception to broadcast module 408 sends, sentence Determine whether to exist on desktop the desktop shortcut icon of the original application program possessing this mark.
First display module 410, is configured to the result determination module 409 judges and possesses as existing on desktop During the desktop shortcut icon of original application program of mark, generate carry markd desktop for double application programs of opening Shortcut icon, shows markd for this band desktop shortcut icon on the table.
Here labelling is that double desktop opening application program is fast schemed for pointing out this desktop shortcut icon of user Mark.
Optionally, the desktop shortcut icon of double desktop shortcut icons opening application program and original application program is also Can show in " nearest task " screen, " installing recently " position such as interface and informing.
Optionally, the double opening device of this application program, also include:
Receiver module 411, is configured to receive the program carrying designated identification that third party application sends Call request.
Receive the routine call request carrying designated identification that third party application sends, according to this program The mark that call request carries determines that third party application is pleaded the application program called.If should in system Application program corresponding to mark includes the original application program possessing this mark and possesses the double of this mark and open application Program, then perform step 206b.
Second display module 412, is display configured to select prompting frame, and this selection prompting frame is used for pathfinder selection Possess original application program or the tool of the designated identification that the routine call request that receiver module 411 receives is carried The double of designated identification that the routine call request that standby receiver module 411 receives is carried open application program.
Optionally, this selection prompting frame includes the text prompt corresponding with original application program and opens application with double The text prompt of program.
Optionally, this selection prompting frame includes that the desktop shortcut icon possessing original application program opens application with double The desktop shortcut icon of program.
Optionally, the double opening device of this application program, also include:
First calling module 413, is configured as utilizing the selection prompting frame choosing of the second display module 412 display Select when calling original application program, call the original process involved by this original application program, this original process Use the data in first resource catalogue.
Second calling module 414, is configured as utilizing the selection prompting frame choosing of the second display module 412 display Selecting and call double when opening application program, that calls that this pair open involved by application program double drives journey into, and this pair drives journey into Use the data in Secondary resource catalogue.
In sum, the smart machine provided in disclosure embodiment controls device, by utilizing main account to exist System is installed original application program, utilizes sub-account to install in systems and double open application program, should for double opening By program, the independent Secondary resource catalogue corresponding with sub-account, the application program installed under different accounts are set It is allowed to open simultaneously.Owing to being individually assigned with Secondary resource catalogue for double application programs of opening, and utilize double opening The mark of application program and sub-account are that this Secondary resource catalogue arranges operating right, say, that only should Double application programs of opening have the authority to Secondary resource catalogue, so that the process data of original application program Isolated with double process data opening application program;Solve user data in correlation technique and there is safety The problem of hidden danger, has reached to improve the effect of secure user data.
Optionally, by successfully installing after this pair open application program, broadcast is sent to the desktop of electronic equipment Message, this broadcast comprises double mark opening application program;After desktop reception to this broadcast, sentence Determine whether to exist on desktop the desktop shortcut icon of the original application program possessing mark;There is tool on the table During for the desktop shortcut icon of the original application program of this mark, open application program for this pair and generate with labelling Desktop shortcut icon, markd for this band desktop shortcut icon is shown on the table.Owing to successfully pacifying After application program opened by dress pair, generate and carry markd desktop shortcut icon and show on the table, make Obtain user and can open application program by labelling differentiation original application program with double.
Optionally, after group account is opened, the process in this sub-account loads in space, only allows to open and is somebody's turn to do The application program that sub-account is installed needs the system process called, and the process relieving sub-account loads in space With double application program uncorrelated system processs of opening, system resource is taken.
Optionally, open application program and the resource of specified type needing storage is stored to the by controlling this pair Under the public directory of one data space, and allow this pair open application program need access specified type money It is read out from the public directory of the first data space during source, it is achieved that between main account and sub-account Specified type resource is shared.
Optionally, the routine call carrying designated identification sent by receiving third party application is asked, Display selects prompting frame so that user can select one carry out from original application program and double application program of opening Call, improve the motility called.
Optionally, when utilizing this selection prompting frame Selection and call original application program, this original application is called Original process involved by program, this original process uses the data in first resource catalogue;When utilizing this choosing When selecting that prompting frame Selection and call is double opens application program, that calls that this pair open involved by application program double drives journey into, This pair is driven journey into and uses the data in Secondary resource catalogue;Achieve the selection according to user, call and user Select the effect of corresponding application program.
The disclosure one exemplary embodiment provides the double opening device of a kind of application program, it is possible to realize the disclosure The double open method of the application program provided, is applied in electronic equipment, and the system support of described electronic equipment sets Putting main account and sub-account, the double opening device of this application program includes: processor, being used for storing processor can Perform the memorizer of instruction;
Wherein, processor is configured to:
Utilize main account that the original application program specified is installed in systems, for this original application program distribution the One Resource TOC, utilizes the mark of this original application program and main account to arrange operation for first resource catalogue Authority, the phase needed when this original application program that this first resource catalogue is installed for storing main account is run Pass information;
Utilize sub-account to install in systems and identical with original application program double open application program, open for this pair Application assigned Secondary resource catalogue, utilizes this pair to open the mark of application program and sub-account is the second money Source directory arranges operating right, and this pair that this Secondary resource catalogue is installed for storing sub-account opens application program The relevant information needed during operation;
Wherein, original application program and double open application program and be allowed to open simultaneously, the mark of original application program The mark known and pair open application program is identical.
Fig. 5 is the block diagram according to a kind of device for double unlatching application programs shown in an exemplary embodiment, This device is applied in electronic equipment, and the system support of described electronic equipment arranges main account and sub-account, should Electronic equipment can be mobile terminal, tablet device, armarium, body-building equipment and personal digital assistant Etc..
With reference to Fig. 5, device 500 can include following one or more assembly: processes assembly 502, memorizer 504, power supply module 506, multimedia groupware 508, audio-frequency assembly 510, the interface of input/output (I/O) 512, sensor cluster 514, and communications component 516.
Process assembly 502 and generally control the integrated operation of device 500, such as with display, call, number The operation being associated according to communication, camera operation and record operation.Process assembly 502 and can include one or many Individual processor 520 performs instruction, to complete all or part of step of above-mentioned method.Additionally, process Assembly 502 can include one or more module, it is simple to process between assembly 502 and other assemblies is mutual. Such as, process assembly 502 and can include multi-media module, to facilitate multimedia groupware 508 and to process assembly Mutual between 502.
Memorizer 504 is configured to store various types of data to support the operation at device 500.These The example of data includes any application program for operating on device 500 or the instruction of method, contact person Data, telephone book data, message, picture, video etc..Memorizer 504 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, Disk or CD.
The various assemblies that power supply module 506 is device 500 provide electric power.Power supply module 506 can include electricity Management system, one or more power supplys, and other generate, manage and distribute electric power phase with for device 500 The assembly of association.
The screen of one output interface of offer that multimedia groupware 508 is included between described device 500 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).As Really screen includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes that one or more touch sensor is with the gesture on sensing touch, slip and touch panel. Described touch sensor can not only sense touch or the border of sliding action, but also detects and described touch Or slide relevant persistent period and pressure.In certain embodiments, multimedia groupware 508 includes one Individual front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, such as screening-mode or video During pattern, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition take the photograph As head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom energy Power.
Audio-frequency assembly 510 is configured to output and/or input audio signal.Such as, audio-frequency assembly 510 includes One mike (MIC), when device 500 is in operator scheme, such as call model, logging mode and voice During recognition mode, mike is configured to receive external audio signal.The audio signal received can be entered One step is stored in memorizer 504 or sends via communications component 516.In certain embodiments, audio-frequency assembly 510 also include a speaker, are used for exporting audio signal.
I/O interface 512 provides interface, above-mentioned peripheral interface for processing between assembly 502 and peripheral interface module Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound Amount button, start button and locking press button.
Sensor cluster 514 includes one or more sensor, for providing various aspects for device 500 State estimation.Such as, what sensor cluster 514 can detect device 500 opens/closed mode, assembly Relative localization, the most described assembly is display and the keypad of device 500, and sensor cluster 514 is also Device 500 or the position change of 500 1 assemblies of device, user and depositing that device 500 contacts can be detected Or do not exist, device 500 orientation or acceleration/deceleration and the variations in temperature of device 500.Sensor cluster 514 Proximity transducer can be included, be configured to when there is no any physical contact depositing of object near detection ?.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, is used for Imaging applications uses.In certain embodiments, this sensor cluster 514 can also include that acceleration passes Sensor, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 516 is configured to facilitate the logical of wired or wireless mode between device 500 and other equipment Letter.Device 500 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or they Combination.In one exemplary embodiment, communications component 516 receives wide from outside via broadcast channel The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, described communication set Part 516 also includes near-field communication (NFC) module, to promote junction service.Such as, can in NFC module Based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) skill Art, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, it is used for performing the double open method of above-mentioned application program.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided Matter, such as, include the memorizer 504 of instruction, and above-mentioned instruction can be performed by the processor 520 of device 500 with complete Become the double open method of above-mentioned application program.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by device 500 Processor perform time so that device 500 is able to carry out shown in Fig. 1, Fig. 2 A, Fig. 2 C and Fig. 2 D Step.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to these public affairs Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.

Claims (15)

1. the double open method of application program, it is characterised in that be applied in electronic equipment, described electronics The system support of equipment arranges main account and sub-account, and described method includes:
Utilize described main account that the original application program specified is installed in the system, for described original application Program distribution first resource catalogue, it is described for utilizing the mark of described original application program and described main account First resource catalogue arranges operating right, and described first resource catalogue is for storing the institute that described main account is installed State the relevant information needed when original application program is run;
Utilize described sub-account to install in the system and identical with described original application program double open application journey Sequence, double opens application assigned Secondary resource catalogue for described, utilize described double mark opening application program with And described sub-account is that described Secondary resource catalogue arranges operating right, described Secondary resource catalogue is used for storing The described pair of relevant information needed when opening application program operation that described sub-account is installed;
Wherein, described original application program and described double open application program and be allowed to open simultaneously is described original The mark of application program is identical with the mark that described pair is opened application program.
Method the most according to claim 1, it is characterised in that described method also includes:
After described sub-account is opened, the process in described sub-account loads in space, only allows unlatching described The application program that sub-account is installed needs the system process called.
Method the most according to claim 1, it is characterised in that described method also includes:
When main account described in successful registration on the system, arrange and described main account for described main account The first relevant data space;
When sub-account described in successful registration on the system, for described sub-account setup and described sub-account The second relevant data space;
Control described double application program of opening to store the resource needing the specified type of storage to described first data Under the public directory of memory space, controlling described double application program of opening will need the money of the non-designated type of storage Source stores to described second data space;
When described double open application program need the resource accessing described specified type time, control described double to open application Program is read out from the described public directory of described first data space.
Method the most according to claim 1, it is characterised in that described method also includes:
Successfully install described double open application program after, send broadcast to the desktop of described electronic equipment, Described broadcast comprises described double mark opening application program;
After described desktop reception to described broadcast, it is determined that whether exist on described desktop and possess described mark The desktop shortcut icon of the original application program known;
When described desktop exists the desktop shortcut icon of the original application program possessing described mark, for institute State double application program of opening and generate the markd desktop shortcut icon of band, markd for described band desktop is fast schemed Mark display is on described desktop.
5. according to described method arbitrary in Claims 1-4, it is characterised in that described method also includes:
Receive the routine call request carrying designated identification that third party application sends;
Display selects prompting frame, and described selection prompting frame possesses the original of described designated identification for pathfinder selection Application program or possess the double of described designated identification and open application program.
Method the most according to claim 5, it is characterised in that described selection prompting frame includes possessing institute State the desktop shortcut icon of original application program and described double desktop shortcut icon opening application program.
Method the most according to claim 5, it is characterised in that described method also includes:
When utilizing original application program described in described selection prompting frame Selection and call, call described original application Original process involved by program, described original process uses the data in described first resource catalogue;
When utilize described in described selection prompting frame Selection and call double open application program time, call and described double open application Double journeys that drive into involved by program, described double journeys that drive into use the data in described Secondary resource catalogue.
8. the double opening device of application program, it is characterised in that be applied in electronic equipment, described electronics The system support of equipment arranges main account and sub-account, and described device includes:
First arranges module, be configured to, with described main account install in the system specify original should By program, distribute first resource catalogue for described original application program, utilize the mark of described original application program Knowing and described main account is that described first resource catalogue arranges operating right, described first resource catalogue is used for The relevant information needed when storing the described original application program operation of described main account installation;
Second arranges module, be configured to, with described sub-account install in the system with described original should Open application program with identical double of program, double open application assigned Secondary resource catalogue for described, utilize institute State double marks opening application program and described sub-account is that described Secondary resource catalogue arranges operating right, institute State the described pair of phase needed when opening application program operation that Secondary resource catalogue is installed for storing described sub-account Pass information;
Wherein, described original application program and described double open application program and be allowed to open simultaneously is described original The mark of application program is identical with the mark that described pair is opened application program.
Device the most according to claim 8, it is characterised in that described device also includes:
Allowing module, after being configured as the unlatching of described sub-account, the process in described sub-account loads space In, only allow the application program opening the installation of described sub-account to need the system process called.
Device the most according to claim 8, it is characterised in that described device also includes:
3rd arranges module, is configured as on the system described in successful registration during main account, for described Main account arranges first data space relevant to described main account;
4th arranges module, is configured as on the system described in successful registration during sub-account, for described The second data space that sub-account setup is relevant to described sub-account;
First control module, being configured to control described double application program of opening will need the specified type of storage Resource stores to the public directory of described first data space, control described double open application program need to The resource of non-designated type to be stored stores to described second data space;
Second control module, is configured as described double opening application program and needing to access the money of described specified type During source, control described double to open application program and carry out from the described public directory of described first data space Read.
11. devices according to claim 8, it is characterised in that described device also includes:
Broadcast module, be configured to successfully install described double open application program after, to described electronic equipment Desktop sends broadcast, and described broadcast comprises described double mark opening application program;
Determination module, is configured to after the broadcast that described desktop reception to described broadcast module sends, Judge whether to exist on described desktop the desktop shortcut icon of the original application program possessing described mark;
First display module, is configured to the result described determination module judges and possesses institute for existing on desktop During the desktop shortcut icon of the original application program stating mark, generate with labelling for described double application programs of opening Desktop shortcut icon, markd for described band desktop shortcut icon is shown on described desktop.
12. according to Claim 8 to described device arbitrary in 11, it is characterised in that described device also wraps Include:
Receiver module, is configured to receive the program tune carrying designated identification that third party application sends With request;
Second display module, is display configured to select prompting frame, and described selection prompting frame is used for pathfinder selection Possess original application program or the tool of the designated identification that the routine call request that described receiver module receives is carried The double of designated identification that the routine call request that standby described receiver module receives is carried open application program.
13. devices according to claim 12, it is characterised in that described selection prompting frame includes possessing The desktop shortcut icon of described original application program and described double desktop shortcut icon opening application program.
14. devices according to claim 12, it is characterised in that described device also includes:
First calling module, the selection prompting frame being configured as utilizing described second display module to show selects When calling described original application program, call the original process involved by described original application program, described former Beginning process uses the data in described first resource catalogue;
Second calling module, the selection prompting frame being configured as utilizing described second display module to show selects Call described double when opening application program, call described double double journeys that drive into opened involved by application program, described double Drive journey into and use the data in described Secondary resource catalogue.
15. 1 kinds of double opening devices of application program, it is characterised in that be applied in electronic equipment, described electricity The system support of subset arranges main account and sub-account, and described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is configured to:
Utilize described main account that the original application program specified is installed in the system, for described original application Program distribution first resource catalogue, it is described for utilizing the mark of described original application program and described main account First resource catalogue arranges operating right, and described first resource catalogue is for storing the institute that described main account is installed State the relevant information needed when original application program is run;
Utilize described sub-account to install in the system and identical with described original application program double open application journey Sequence, double opens application assigned Secondary resource catalogue for described, utilize described double mark opening application program with And described sub-account is that described Secondary resource catalogue arranges operating right, described Secondary resource catalogue is used for storing The described pair of relevant information needed when opening application program operation that described sub-account is installed;
Wherein, described original application program and described double open application program and be allowed to open simultaneously is described original The mark of application program is identical with the mark that described pair is opened application program.
CN201610290470.5A 2016-05-04 2016-05-04 Application program double-opening method and device Active CN106020943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610290470.5A CN106020943B (en) 2016-05-04 2016-05-04 Application program double-opening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610290470.5A CN106020943B (en) 2016-05-04 2016-05-04 Application program double-opening method and device

Publications (2)

Publication Number Publication Date
CN106020943A true CN106020943A (en) 2016-10-12
CN106020943B CN106020943B (en) 2020-06-19

Family

ID=57081674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610290470.5A Active CN106020943B (en) 2016-05-04 2016-05-04 Application program double-opening method and device

Country Status (1)

Country Link
CN (1) CN106020943B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331178A (en) * 2016-10-28 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Information sharing method and mobile terminal
CN106503157A (en) * 2016-10-24 2017-03-15 宇龙计算机通信科技(深圳)有限公司 One kind opens application system and its data shared access method, system
CN106528141A (en) * 2016-10-28 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Task sweep-out method and system
CN106708604A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Android application asynchronous call mechanism handling method and device
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
CN106933455A (en) * 2017-03-31 2017-07-07 联想(北京)有限公司 The processing method and processing unit of application icon
CN106933634A (en) * 2017-03-09 2017-07-07 北京奇虎科技有限公司 The installation method of Android application, device and electronic equipment
CN107357643A (en) * 2017-06-30 2017-11-17 北京小米移动软件有限公司 Application call method, apparatus and computer-readable recording medium
CN107766099A (en) * 2017-09-27 2018-03-06 北京小米移动软件有限公司 Using double extractions of root and device
CN109491725A (en) * 2018-11-12 2019-03-19 火烈鸟网络(广州)股份有限公司 Application program can interact more extractions of root and system, storage medium, electronic equipment
CN109923544A (en) * 2016-11-08 2019-06-21 华为技术有限公司 Method for authenticating and electronic equipment
CN110650129A (en) * 2017-09-20 2020-01-03 青岛海信移动通信技术股份有限公司 Account login method and device and computer readable storage medium
CN111193694A (en) * 2019-07-05 2020-05-22 腾讯科技(深圳)有限公司 Application authorization management method, terminal and medium based on dual-system operating environment
CN112468647A (en) * 2020-11-23 2021-03-09 深圳传音控股股份有限公司 Control method of mobile terminal, mobile terminal and storage medium
WO2022105359A1 (en) * 2020-11-23 2022-05-27 深圳传音控股股份有限公司 Mobile terminal control method, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231116A (en) * 2011-07-04 2011-11-02 成都市华为赛门铁克科技有限公司 Application program virtualization installing and loading method and device
US8756608B2 (en) * 2009-07-01 2014-06-17 International Business Machines Corporation Method and system for performance isolation in virtualized environments
CN104516763A (en) * 2015-01-23 2015-04-15 深圳市中兴移动通信有限公司 Starting method and device for application program
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
CN105468405A (en) * 2015-11-18 2016-04-06 深圳市创想天空科技股份有限公司 Installation processing method and device of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756608B2 (en) * 2009-07-01 2014-06-17 International Business Machines Corporation Method and system for performance isolation in virtualized environments
CN102231116A (en) * 2011-07-04 2011-11-02 成都市华为赛门铁克科技有限公司 Application program virtualization installing and loading method and device
CN104516763A (en) * 2015-01-23 2015-04-15 深圳市中兴移动通信有限公司 Starting method and device for application program
CN104866342A (en) * 2015-05-07 2015-08-26 北京数字天域科技有限责任公司 Method and device for simultaneously starting multiple same applications on intelligent terminal
CN105224322A (en) * 2015-09-25 2016-01-06 维沃移动通信有限公司 A kind of attend to anything else method and terminal of application program
CN105468405A (en) * 2015-11-18 2016-04-06 深圳市创想天空科技股份有限公司 Installation processing method and device of application program

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503157A (en) * 2016-10-24 2017-03-15 宇龙计算机通信科技(深圳)有限公司 One kind opens application system and its data shared access method, system
CN106503157B (en) * 2016-10-24 2020-05-19 宇龙计算机通信科技(深圳)有限公司 Multi-open application system and data sharing access method and system thereof
CN106528141B (en) * 2016-10-28 2019-06-11 宇龙计算机通信科技(深圳)有限公司 Task sweep-out method and system
CN106528141A (en) * 2016-10-28 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Task sweep-out method and system
CN106331178B (en) * 2016-10-28 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of information sharing method and mobile terminal
CN106331178A (en) * 2016-10-28 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Information sharing method and mobile terminal
US11860986B2 (en) 2016-11-08 2024-01-02 Huawei Technologies Co., Ltd. Authentication method and electronic device
US11409851B2 (en) 2016-11-08 2022-08-09 Huawei Technologies Co., Ltd. Authentication method and electronic device
CN109923544B (en) * 2016-11-08 2022-05-06 华为技术有限公司 Authentication method and electronic equipment
CN109923544A (en) * 2016-11-08 2019-06-21 华为技术有限公司 Method for authenticating and electronic equipment
CN106708604A (en) * 2016-12-29 2017-05-24 北京奇虎科技有限公司 Android application asynchronous call mechanism handling method and device
CN106708604B (en) * 2016-12-29 2020-02-11 北京奇虎科技有限公司 Processing method and device for asynchronous call mechanism of android application
CN106843868B (en) * 2017-01-13 2020-09-01 北京安云世纪科技有限公司 Multi-account login method and device and mobile terminal
CN106843868A (en) * 2017-01-13 2017-06-13 北京奇虎科技有限公司 Method, device and mobile terminal that a kind of many accounts are logged in
CN106933634A (en) * 2017-03-09 2017-07-07 北京奇虎科技有限公司 The installation method of Android application, device and electronic equipment
CN106933455A (en) * 2017-03-31 2017-07-07 联想(北京)有限公司 The processing method and processing unit of application icon
CN107357643B (en) * 2017-06-30 2021-01-29 北京小米移动软件有限公司 Application calling method and device and computer readable storage medium
CN107357643A (en) * 2017-06-30 2017-11-17 北京小米移动软件有限公司 Application call method, apparatus and computer-readable recording medium
CN110650129A (en) * 2017-09-20 2020-01-03 青岛海信移动通信技术股份有限公司 Account login method and device and computer readable storage medium
CN107766099B (en) * 2017-09-27 2022-01-25 北京小米移动软件有限公司 Application double-opening method and device
CN107766099A (en) * 2017-09-27 2018-03-06 北京小米移动软件有限公司 Using double extractions of root and device
CN109491725A (en) * 2018-11-12 2019-03-19 火烈鸟网络(广州)股份有限公司 Application program can interact more extractions of root and system, storage medium, electronic equipment
CN111193694A (en) * 2019-07-05 2020-05-22 腾讯科技(深圳)有限公司 Application authorization management method, terminal and medium based on dual-system operating environment
CN112468647A (en) * 2020-11-23 2021-03-09 深圳传音控股股份有限公司 Control method of mobile terminal, mobile terminal and storage medium
WO2022105359A1 (en) * 2020-11-23 2022-05-27 深圳传音控股股份有限公司 Mobile terminal control method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN106020943B (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN106020943A (en) Application program dual-opening method and device
CN106170808A (en) Pay changing method and device
CN106792640A (en) The communication means of virtual SIM card, mobile terminal and server
CN104601441B (en) For the authority control method and instant communication client of group chat
CN106104601A (en) Virtual card Activiation method and device
CN106203167B (en) Application rights management method and device
CN106598395A (en) Method and device for executing task
CN105912951A (en) Data migration method and device
CN105979501A (en) Resource allocation method and device
CN105975876A (en) File sharing method and device
CN106791087A (en) The storage method of information, device and equipment
CN106990903A (en) Display and the method and device of hide application program
CN107682538A (en) The display methods and device of application interface
CN106537288A (en) Application autostart control method and device
CN106372943A (en) Message processing method and device
CN106953969A (en) The screen control method and device of mobile terminal
CN106658467A (en) Virtual SIM card management method and device
CN104765646B (en) Component call method and device
CN107704294A (en) The method and apparatus for handling reservation event
CN106792636A (en) terminal control method and device
CN106201738A (en) System broadcasts call method and device
CN106529341A (en) Application program hiding method and apparatus
CN106789554A (en) The method and device of short message treatment
CN105955635A (en) Interface display method and device
CN106462696A (en) Authority controlling method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant