CN106650402B - Authority configuring method, device and the mobile terminal of application program - Google Patents
Authority configuring method, device and the mobile terminal of application program Download PDFInfo
- Publication number
- CN106650402B CN106650402B CN201610885296.9A CN201610885296A CN106650402B CN 106650402 B CN106650402 B CN 106650402B CN 201610885296 A CN201610885296 A CN 201610885296A CN 106650402 B CN106650402 B CN 106650402B
- Authority
- CN
- China
- Prior art keywords
- application
- anything
- attending
- permission
- target application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of authority configuring method of application program, device and mobile terminals.This method comprises: judge permission to be configured target application whether be main application application of attending to anything else;If it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application;When the main application there are attending to anything else other than the target application in application, according to the configuration permission of the application of attending to anything else, the permission of the target application is configured.The present invention is when the main application is applied there is also attending to anything else other than target application, then according to the configuration permission of the application of attending to anything else other than target application, the permission of the target application is configured, from without inquiring user again, the setting for reducing user improves the convenience of authority configuration.
Description
Technical field
The present embodiments relate to terminal technology more particularly to a kind of authority configuring methods of application program, device and shifting
Dynamic terminal.
Background technique
Mobile terminal is the most frequently used most important electronic equipment of user.In the operating system platform of mobile terminal, user
Various social category application programs, instant messaging class application program etc. can be installed according to their own needs.User is in work and life
Multiple account numbers are often needed to use in work and log in the same application program, and existing operating system can only in a user's space
An identical application program is opened, an account number is logged in and needs to exit former account number, Cai Nengdeng when user uses different account numbers
Record other account number.Although can be by installing same application in two user's spaces, to realize while log in two not
Same account, but when user opens simultaneously two same applications, user is firstly the need of the switching for carrying out user's space.
In the authority configuration of application program, the various permissions of application program (such as: read storage catalogue permission,
Read and write short message permission, open camera permission etc.), two parts can be divided into, a part of insensitive permission is installed in application program
When, system directly allows application program to obtain permission;A part is than more sensitive dangerous permission, such as read-write short message permission, meeting
When user uses application program, prompt the user whether that application program is allowed to obtain permission.
System in different user's spaces, the authority configuration to the same application program be it is independent and isolated, one is answered
It is directly obtained in each user's space after mounting with the substantially insensitive permission that program obtains, and part is compared
Sensitive dangerous permission, be it is independent, i.e., when user uses the application program of a user's space, user is mentioned
Show, when user uses the application program of another user's space, it is also necessary to prompt user.Therefore, in the prior art
It needs user to be repeatedly configured the authority configuration of same application domain, causes inconvenience to user.
Summary of the invention
In view of this, the embodiment of the present invention provides the authority configuring method, device and mobile terminal of a kind of application program, with
The setting for reducing user, improves the convenience of authority configuration.
In a first aspect, the embodiment of the invention provides a kind of authority configuring methods of application program, which comprises
Judge permission to be configured target application whether be main application application of attending to anything else;
If it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application;
When the main application there are attending to anything else other than the target application in application, according to the configuration of the application of attending to anything else weigh
Limit, configures the permission of the target application.
Second aspect, the embodiment of the invention also provides a kind of authority configuration device of application program, described device includes:
Judgment module, for judge permission to be configured target application whether be main application application of attending to anything else;
Determining module, if for target application being the application of attending to anything else of main application, it is determined that the main application whether there is
Application of attending to anything else other than the target application;
First permission configuration module, for there are attending to anything else other than the target application in application, root when the main application
According to the configuration permission of the application of attending to anything else, the permission of the target application is configured.
The third aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal is integrated with the present invention and appoints
The authority configuration device of application program described in one embodiment.
The technical solution of the embodiment of the present invention, the target application by permission to be configured are the applications of attending to anything else of main application, and
The main application is there is also attending to anything else other than target application in application, then being weighed according to the configuration of the application of attending to anything else other than target application
Limit, configures the permission of the target application, from the setting for without inquiring user again, reducing user, improves power
Limit the convenience of configuration.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the authority configuring method of application program provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the authority configuring method of another application program provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the authority configuring method of another application program provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the authority configuration device of application program provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
In description, only some but not all contents related to the present invention are shown in the drawings.
Fig. 1 is a kind of flow chart of the authority configuring method of application program provided in an embodiment of the present invention, and the present embodiment can
Suitable for open more application main application include at least two attend to anything else and apply when can be according to the configuration permission of an application of attending to anything else
The case where attending to anything else other using authority configuration is carried out, this method can be executed by the authority configuration device of application program, should
Device can be realized that the device can be only fitted to the mobile terminals such as mobile phone or tablet computer by the mode of software and/or hardware
In.This method specifically comprises the following steps:
Step 110, judge permission to be configured target application whether be main application application of attending to anything else.
Wherein, target application can be the main application more opened in application, be also possible to application of attending to anything else.Open application is fingering more
The application journey that row application opens more and (application program is divided into two or more, so as to log in different accounts)
Sequence.
Target application be installed or use process in, it may be necessary to configure permission.It is installed in target application
Afterwards, it is preferable that directly authorize the insensitive permission in the target application to the target application, sensitive permission (is related to user's letter
The permission of breath, such as read contact person) configuration can according to the authority configuring method of application program provided in this embodiment come
It is configured.
When target application needs to configure permission, first determine whether the target application is to open application more, works as target application
It is to open in application, judging whether the target application is the corresponding application of attending to anything else of main application more opened in application more.
Wherein, the main application and the application of attending to anything else are the applications more opened in set of applications.Open the reality of set of applications more
Existing mode can there are many kinds of, the present embodiment is not specifically limited.For example, the application of different editions can be installed respectively, it will be a kind of
Version is as main application, using other versions as application of attending to anything else, wherein the installation kit (APK) of application can be modified by decompiling
File, then modified APK file is installed to realize the same money application of installation different editions;For another example, it can be used by application simulation
The third party of family space and Dynamic loading technique opens assistant's software to realize more;For another example, it can be realized by modification system mechanism.
Preferably, in the present embodiment to open set of applications based on multi-user's mechanism to realize, wherein multi-user's mechanism is specific more
It may include multi-user's mechanism that the operating system in intelligent terminal is supported, such as multi-user's mechanism of Android (Android) system
And multi-user's mechanism etc. of mobile phone window (Windows Phone, WP) operating system.
Step 120, if it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application.
Attend to anything else when the target application of the permission to be configured is that main application is corresponding in application, further determining the master
Using with the presence or absence of the application of attending to anything else other than the target application.When the target application of the permission to be configured is not point of main application
Body is in application, then the target application is to open either one individually application of main application of application more, then according to the prior art pair
The permission of the target application is configured.
Step 130, when the main application there are attending to anything else other than the target application in application, according to the application of attending to anything else
Permission is configured, the permission of the target application is configured.
When the main application is answered there are attending to anything else other than target application in application, obtaining attending to anything else other than the target application
Configuration permission matches the permission of the target application according to the configuration permission of the application of attending to anything else other than target application
It sets.To can also directly configure to sensitive permission, without being presented to the user again, the convenient of authority configuration is improved
Property.
When there are the applications of attending to anything else other than at least two target applications for the main application, and the configuration power for application of each attending to anything else
When limiting different, in order to protect the information of user not to be leaked, then forbid permission to target application according in different configuration permissions
Permission configured, and identical configuration permission can directly be allocated to target application.
The technical solution of the present embodiment, the target application by permission to be configured are the applications of attending to anything else of main application, and described
Main application there is also attending to anything else other than target application in application, then according to the configuration permission of the application of attending to anything else other than target application,
The permission of the target application is configured, from the setting for without inquiring user again, reducing user, permission is improved and matches
The convenience set.
Based on the above technical solution, judge permission to be configured target application whether be main application application of attending to anything else
It preferably includes:
According to the user's space of target application mark and application identities, judge whether the target application is main application
Application of attending to anything else.
It, will due to generally main application being installed in primary user space when carrying out an application program using opening more
The application more opened is attended to anything else using being installed to from main using in different user's spaces, but is applied and main application is due to attending to anything else
Identical application program can pass through in the case where the application identities for application of attending to anything else and the application identities of main application are identical situation
The user's space of target application identifies and application identities, come judge the target application whether be main application application of attending to anything else, can
To improve the accuracy of judgement.
Fig. 2 is the flow chart of the authority configuring method of another application program provided in an embodiment of the present invention, the present embodiment
It is optimized on the basis of the above embodiments, mainly increases main application and be not present to answer attending to anything else other than the target application
The disposition of used time.This method specifically comprises the following steps:
Step 210, judge permission to be configured target application whether be main application application of attending to anything else.
Wherein, the main application and the application of attending to anything else are that open in set of applications is applied more.Set of applications is opened based on more more
User's mechanism is realized, including main application and corresponding with main application all applications of attending to anything else.
Specifically, opening set of applications based on multi-user's mechanism to realize may include following content: main application is installed on master more
Under user's space, attend to anything else using being installed under user's space, comprising for being operated to attending to anything else to apply in primary user space
Access port.
In one embodiment, multi-user's realization mechanism of the application includes following logic:
1. multi-user management
A) system default has a primary user space, primary user space can create other multiple new user's spaces (from
User's space), and can delete and manage them;
B) using can be collectively referred to as such as ordinary user (non-master user) and Guest User from user from the user of user's space;
C) default primary user space id (identity, Identification) is 0, and other space id that Add User are from 10
Start, increases one by one;
When d) switching user's space, a series of changing interfaces such as desktop can be reloaded;
E) whether primary user space can limit other users being capable of the permissions such as making and receiving calls and transmitting-receiving short message.
It for multi-user management, can be managed by primary user space to from user's space, including from user's space
Creation, deletion and priority assignation etc., ID is arranged since primary user space, increases newly from user's space ID laminated structure, each to use
When switching between the space of family, a series of interfaces such as desktop of corresponding user's space are reloaded.
2. multi-user pacifies loading, unloading application
A) application of default installation will be installed all user's spaces created, on other user's space desktops all
It can be seen that application icon;
B) application installed in primary user space by file management will not be installed to other user's spaces, in other use
Invisible application icon on the desktop of family space;
C) system may specify userid (user's space mark) when pacifying loading, unloading application, and specified application is installed to some
Designated user space, or the application is unloaded in some designated user space.All user's spaces can also all be installed with application, or
Unloading application.
D) it has unloaded in user's space A using B, it is still existing using B for other user's spaces, on desktop all
It can be seen that application icon can be used normally on other user's spaces using B.
Loading, unloading application is pacified for multi-user, the application of default installation will be installed all user's space (packets created
Include primary user space and from user's space), and application icon is generated on each user's space desktop;And lead under primary user space
The application for crossing file management installation, is mounted only under primary user space, generates application icon in primary user space desktop, does not install
To under user's space;Installation/unloading of application can also specify user's space based on user, and user is used by specified
Family space identification, primary user space and from user's space specify application installation/be discharged in some user's space, Mou Xieyong
It is carried out under family space or all user's spaces;Being discharged under each user's space for same application independently carries out, empty to a certain user
Between under application unloaded, do not influence the use of the application under other users space.
3. user data management
A) the corresponding various system data storages of user's space, example user's id catalogue relevant to system data: are housed
Such as: database is arranged in desktop widget (component) list, and default application starts strategy etc..
B) user's id catalogue relevant to application packet data: the application packet catalogue of the corresponding installation of user's space is housed, such as
Fruit application operating produces data, then also deposits in this catalogue using data.
C) system SD card (Secure Digital Memory Card, safe digital card) catalogue: user is in each user
The SD card catalogue seen in space be all it is different, can only see the SD card catalogue in active user space.
For user data management, under multi-user's realization mechanism, under each user's space system data and apply dependency number
According to being deposited under different data storage paths respectively, e.g., various system datas deposit in specified first under certain user's space
Data are stored under path, and these application-dependent datas of application data generated using packet catalogue and application operating installed are stored
It is stored under path in the second specified data;Data storage is mutually indepedent under each user's space, user in each user's space only
The storing data that can check active user space, such as the SD card catalogue in active user space.
In one embodiment, the process opening set of applications more being realized based on multi-user's mechanism can be described as follows:
Assuming that the default user space of intelligent terminal is main user's space, user is under primary user space by from using quotient
Shop downloading is deposited from modes such as other sources copies by installation kit (package, APK) the file such as ABC.apk of application ABC
Enter in intelligent terminal, after system installs ABC.apk under primary user space, primary user space desktop can generate a main application
The icon of ABC.When detected under primary user space for it is main using ABC attend to anything else request to create when, from user's space (if
There is currently no that from user's space, then can create one from user's space, which is the case where user can not discover
Lower completion, without user setting account and password) under installation ABC.apk obtain application of attending to anything else, in order to it is main application and divide
Body application is distinguish, and can be attended to anything else for what is newly installed using one mark (being assumed to be *) of addition, application of attending to anything else can be designated as
ABC*.After ABC* is installed successfully, it may specify and the notice (the also addition mark * in the notice) of " installing successfully " is sent to master
User's space after the desktop reception to the notice under primary user space, generates the icon with mark *, with main application
The icon of ABC distinguishes, which can be used as to the access port applied and operated of attending to anything else in primary user space, when the icon
After being clicked, system starts specified ABC* under user's space, and associated process corresponding with ABC* is also from user's space
Lower operation, and the human-computer interaction interface of ABC* (abbreviation interface) is shown under primary user space, the interface of ABC* can also at this time
As the access port operated in primary user space to application of attending to anything else.
For application of attending to anything else, the existence form of the access port in primary user space can be it is diversified,
The present embodiment is not specifically limited, for example, it may be the desktop icons comprising application identities, the application identities will be will currently divide
Body is applied to come with main application and other application divisions of attending to anything else;It can also be the application identities being additional on main application icon;
It include the icon of application identities existing for can also be in the form of floating window;It can also be the item for being present in the positions such as notice center
Mesh.
The operation to main application can be achieved in mobile terminal user in primary user space, while can also be in primary user space
It is operated by access port to attending to anything else to apply accordingly.It is understood that the same main application can correspond to it is multiple attend to anything else answer
With each attending to anything else to apply is installed in a different slave user's space, and making respectively to attend to anything else to apply is separately operable in different
From user's space, it does not interfere with each other in the process of running.
It realizes that opening application is advantageous in that more based on multi-user's mechanism, is opened for assistant's software compared to third party more,
It avoids third party software advertisement and steals the generation of the behaviors such as privacy of user data, safety is higher;It is answered compared to master
With with attend to anything else using running on for the scheme under same user's space, reduce difference under same user's space attend to anything else application or
Process interference between main application, and avoid the generation of afunction phenomenon brought by complicated running environment.
Illustratively, userid and application identities Uid can be identified by user's space in the present embodiment to distinguish main application
With application of attending to anything else.Step 220, if it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application.
Step 230, when the main application there are attending to anything else other than the target application in application, according to the application of attending to anything else
Permission is configured, the permission of the target application is configured.
Step 240, when there is no attending to anything else in application, showing that the target is answered other than the target application for the main application
Authority information.
When the main application is there is no the application of attending to anything else other than target application, i.e., the described main application only exists target application one
A to attend to anything else in application, being then displayed on the screen the authority information of target application, can be shown in the form of permissions list need to match
The permission set, so that permission of the user to the target application is configured.
Step 250, user is received to the configuration information of the authority information of the target application.
Permission, refusal and three kinds of configuration informations of prompt can be provided in each rights option of target application to select for user
It selects, user need to only select corresponding configuration information that the authority configuration carried out to target application can be completed.
Step 260, according to the configuration information, the permission of the target application is configured.
According to the configuration information that user selects, the permission of the target application is configured, if user is on a claim option
Selection allows, then authorizes the target application rights option corresponding permission, when the rights option is to read contact person, then allows
Target application reads the contact information in address list.
The technical solution of the present embodiment, on the basis of example 1, only when there is no other than target application for main application
Attend to anything else in application, the application of ability displaying target authority information, and according to the configuration information of user to the permission of target application into
Row configuration, in main application there are attending to anything else other than target application in application, user need not be inquired, to reduce user setting
Number improves the convenience of authority configuration.
Fig. 3 is the flow chart of the authority configuring method of another application program provided in an embodiment of the present invention, the present embodiment
It is optimized on the basis of the above embodiments, it will be " when there are the applications of attending to anything else other than the target application for the main application
When, according to the configuration permission of the application of attending to anything else, the permission of the target application is configured " it advanced optimizes as " when described
Main application is there are attending to anything else other than the target application in application, obtaining the privileges configuration information of the application of attending to anything else;According to this point
The privileges configuration information of body application, configures the permission of the target application ".This method specifically comprises the following steps:
Step 310, judge permission to be configured target application whether be main application application of attending to anything else.
Step 320, if it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application.
Step 330, when the main application there are attending to anything else other than the target application in application, obtaining the application of attending to anything else
Privileges configuration information.
When the main application there are attending to anything else other than the target application in application, in rights management list obtain this point
The privileges configuration information of body application.Wherein, it is saved in rights management list and opens the main application of application and the power for application of respectively attending to anything else more
Limit configuration information, main application with respectively attend to anything else using can be identified according to the user's space at place, application identities and process identification (PID) into
Row is distinguished.
Step 340, according to the privileges configuration information of the application of attending to anything else, the permission of the target application is configured.
Specifically may be used according to the privileges configuration information of the application of attending to anything else other than target application to configure the permission of target application
With according to the configuration information of the rights option of the application of attending to anything else, to configure the corresponding rights option of target application.
Optionally, according to the privileges configuration information of the application of attending to anything else, the permission for configuring the target application includes:
According to the rights option of the target application, the permission letter of the rights option is obtained in privileges configuration information
Breath;
According to the authority information, the identical permission of rights option of the target application is authorized.
Each rights option needed to configure for obtaining the target application is being attended to anything else according to each rights option
The rights option is searched in the privileges configuration information of application, and obtains the corresponding authority information of the rights option, according to the permission
Information authorizes the identical permission of the rights option of target application, so that authority configuration is more in line with the wish of user.For example,
Rights option is short message reading, is believed in the privileges configuration information for application of attending to anything else for the permission of this rights option of short message reading
For breath to forbid, then the permission configured for the rights option of target application is also to forbid, that is, forbids target application short message reading.
The technical solution of the present embodiment, on the basis of the above embodiments, by the main application there are target application with
Outer attends to anything else in application, obtaining the privileges configuration information of the application of attending to anything else, and configure target application according to the privileges configuration information
Permission, the authority configuration of target application can be made to be more in line with the wish of user, and reduce the number of user setting,
Improve the convenience of authority configuration.
Fig. 4 is a kind of structural schematic diagram of the authority configuration device of application program provided in an embodiment of the present invention, such as Fig. 4 institute
Show, the authority configuration device of application program described in the present embodiment includes: judgment module 410, determining module 420 and the first permission
Configuration module 430.
Wherein, judgment module 410, for judge permission to be configured target application whether be main application application of attending to anything else;
Determining module 420, if for target application being the application of attending to anything else of main application, it is determined that whether the main application deposits
Application of attending to anything else other than the target application;
First permission configuration module 430, for when the main application there are attending to anything else other than the target application in application,
According to the configuration permission of the application of attending to anything else, the permission of the target application is configured.
Optionally, further includes:
Authority information display module, for when the main application there is no attending to anything else other than the target application in application,
Show the authority information of the target application;
Configuration information receiving module, for receiving user to the configuration information of the authority information of the target application;
Second permission configuration module, for being configured to the permission of the target application according to the configuration information.
Optionally, first permission configuration module includes:
Configuration information acquiring unit, for working as the main application there are attending to anything else other than the target application in application, obtaining
Take the privileges configuration information of the application of attending to anything else;
Authority configuration unit configures the permission of the target application for the privileges configuration information according to the application of attending to anything else.
Optionally, the authority configuration unit is specifically used for:
According to the rights option of the target application, the permission letter of the rights option is obtained in privileges configuration information
Breath;
According to the authority information, the identical permission of rights option of the target application is authorized.
Optionally, the judgment module is specifically used for:
According to the user's space of target application mark and application identities, judge whether the target application is main application
Application of attending to anything else.
The power of application program provided by any embodiment of the invention can be performed in the authority configuration device of above-mentioned application program
Configuration method is limited, has the corresponding functional module of execution method and beneficial effect.The not technology of detailed description in the present embodiment
Details, reference can be made to the authority configuring method for the application program that any embodiment of that present invention provides.
The embodiment of the invention also provides a kind of mobile terminal, which may include that any embodiment of that present invention mentions
The authority configuration device of the application program of confession.Fig. 5 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention, such as
Shown in Fig. 5, the mobile terminal may include: memory 501, central processing unit (Central Processing Unit, below
Abbreviation CPU) 502, Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, voicefrequency circuit 506, loudspeaker
511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devicess 510 with
And outside port 504, these components are communicated by one or more communication bus or signal wire 507.
It should be understood that illustrating the example that mobile terminal 500 is only mobile terminal, and mobile terminal 500
It can have than shown in the drawings more or less component, can combine two or more components, or can be with
It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated
It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the mobile terminal of the authority configuration provided in this embodiment for application program is described in detail below, should
Mobile terminal takes the mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can
It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory,
Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503
Reservoir 501.
I/O subsystem 509, the I/O subsystem 509 can be by the input/output peripherals in equipment, such as touch screen 502
(being equivalent to the screen in above-described embodiment) and other input/control devicess 510, are connected to Peripheral Interface 503.I/O subsystem
509 may include display controller 5091 and one or more input controllers for controlling other input/control devicess 510
5092.Wherein, one or more input controllers 5092 from other input/control devicess 510 receive electric signal or to other
Input/control devices 510 sends electric signal, other input/control devicess 510 may include physical button (push button, rocker arm
Button etc.), dial, slide switch, control stick, click idler wheel.It is worth noting that input controller 5092 can with it is following
Any one connection: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 512, the touch screen 512 are the input interface and output interface between user terminal and user, can
It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 5091 in I/O subsystem 509 receives electric signal from touch screen 512 or sends out to touch screen 512
Electric signals.Touch screen 512 detects the contact on touch screen, and the contact that display controller 5091 will test is converted to and is shown
The interaction of user interface object on touch screen 512, i.e. realization human-computer interaction, the user interface being shown on touch screen 512
Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light
Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 505 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 505 receives and sends RF letter
Number, RF signal is also referred to as electromagnetic signal, and RF circuit 505 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 505 may include for executing
The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one
A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506 is mainly used for receiving audio data from Peripheral Interface 503, which is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511 is reduced to sound for mobile phone to be passed through RF circuit 505 from the received voice signal of wireless network
And the sound is played to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface are powered
And power management.
The executable following operation of CPU502 provided in an embodiment of the present invention:
Judge permission to be configured target application whether be main application application of attending to anything else;
If it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application;
When the main application there are attending to anything else other than the target application in application, according to the configuration of the application of attending to anything else weigh
Limit, configures the permission of the target application.
Method provided by any embodiment of the invention can be performed in above-mentioned mobile terminal, has the corresponding function of execution method
Module and beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (11)
1. a kind of authority configuring method of application program, which is characterized in that the described method includes:
Judge permission to be configured target application whether be main application application of attending to anything else;
If it is, determining the main application with the presence or absence of the application of attending to anything else other than the target application;
When the main application there are attending to anything else other than the target application in application, according to the configuration permission of the application of attending to anything else, it is right
The permission of the target application is configured, and the main application is installed on primary user space, it is described attend to anything else using be installed on from
Family space, comprising for attending to anything else to described using the access port operated in the primary user space.
2. the method according to claim 1, wherein further include:
When attending to anything else other than the target application is not present in the main application in application, showing the permission letter of the target application
Breath;
User is received to the configuration information of the authority information of the target application;
According to the configuration information, the permission of the target application is configured.
3. the method according to claim 1, wherein when there are points other than the target application for the main application
In application, according to the configuration permission of the application of attending to anything else, carry out configuration to the permission of the target application includes: body
When the main application there are attending to anything else other than the target application in application, obtain the application of attending to anything else authority configuration letter
Breath;
According to the privileges configuration information of the application of attending to anything else, the permission of the target application is configured.
4. according to the method described in claim 3, it is characterized in that, configuring institute according to the privileges configuration information of the application of attending to anything else
The permission for stating target application includes:
According to the rights option of the target application, the authority information of the rights option is obtained in privileges configuration information;
According to the authority information, the identical permission of rights option of the target application is authorized.
5. method according to claim 1 to 4, which is characterized in that judge permission to be configured target application whether be
Main application is attended to anything else using including:
According to the user's space of target application mark and application identities, judge whether the target application is dividing for main application
Body application.
6. a kind of authority configuration device of application program, which is characterized in that described device includes:
Judgment module, for judge permission to be configured target application whether be main application application of attending to anything else;
Determining module, if for target application being the application of attending to anything else of main application, it is determined that the main application is with the presence or absence of described
Application of attending to anything else other than target application;
First permission configuration module, for working as the main application there are attending to anything else other than the target application in application, according to this
Attend to anything else the configuration permission of application, the permission of the target application is configured, the main application is installed on primary user space, institute
It states application of attending to anything else to be installed on from user's space, comprising connecing for operate the application of attending to anything else in the primary user space
Entrance.
7. device according to claim 6, which is characterized in that further include:
Authority information display module, for there is no attending to anything else in application, showing other than the target application when the main application
The authority information of the target application;
Configuration information receiving module, for receiving user to the configuration information of the authority information of the target application;
Second permission configuration module, for being configured to the permission of the target application according to the configuration information.
8. device according to claim 6, which is characterized in that first permission configuration module includes:
Configuration information acquiring unit, for being somebody's turn to do there are attending to anything else other than the target application in application, obtaining when the main application
Attend to anything else the privileges configuration information of application;
Authority configuration unit configures the permission of the target application for the privileges configuration information according to the application of attending to anything else.
9. device according to claim 8, which is characterized in that the authority configuration unit is specifically used for:
According to the rights option of the target application, the authority information of the rights option is obtained in privileges configuration information;
According to the authority information, the identical permission of rights option of the target application is authorized.
10. according to any device of claim 6-9, which is characterized in that the judgment module is specifically used for:
According to the user's space of target application mark and application identities, judge whether the target application is dividing for main application
Body application.
11. a kind of mobile terminal, which is characterized in that the mobile terminal is integrated with the application as described in claim 6-10 is any
The authority configuration device of program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885296.9A CN106650402B (en) | 2016-10-10 | 2016-10-10 | Authority configuring method, device and the mobile terminal of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885296.9A CN106650402B (en) | 2016-10-10 | 2016-10-10 | Authority configuring method, device and the mobile terminal of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106650402A CN106650402A (en) | 2017-05-10 |
CN106650402B true CN106650402B (en) | 2019-07-12 |
Family
ID=58854983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610885296.9A Active CN106650402B (en) | 2016-10-10 | 2016-10-10 | Authority configuring method, device and the mobile terminal of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106650402B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109194639B (en) * | 2018-08-24 | 2021-10-08 | 北京小米移动软件有限公司 | Message receiving and processing method, device, terminal and readable storage medium |
CN114327177A (en) * | 2021-11-15 | 2022-04-12 | 读书郎教育科技有限公司 | Child watch-based multi-icon application control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103510A (en) * | 2011-02-10 | 2011-06-22 | 惠州Tcl移动通信有限公司 | Installation method of JAVA application program and terminal device |
CN104199734A (en) * | 2014-09-12 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | Android smart terminal based application multi-run management method and system |
CN104516783A (en) * | 2013-09-27 | 2015-04-15 | 华为终端有限公司 | Authority control method and device |
CN105843668A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Derived process staying-resident method, derived program generating method and corresponding device |
CN105955782A (en) * | 2016-05-09 | 2016-09-21 | 北京奇虎科技有限公司 | Application program running control method and device |
-
2016
- 2016-10-10 CN CN201610885296.9A patent/CN106650402B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103510A (en) * | 2011-02-10 | 2011-06-22 | 惠州Tcl移动通信有限公司 | Installation method of JAVA application program and terminal device |
CN104516783A (en) * | 2013-09-27 | 2015-04-15 | 华为终端有限公司 | Authority control method and device |
CN104199734A (en) * | 2014-09-12 | 2014-12-10 | 上海斐讯数据通信技术有限公司 | Android smart terminal based application multi-run management method and system |
CN105843668A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Derived process staying-resident method, derived program generating method and corresponding device |
CN105955782A (en) * | 2016-05-09 | 2016-09-21 | 北京奇虎科技有限公司 | Application program running control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106650402A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445647B (en) | Open the data manipulation method, device and mobile terminal of application more | |
CN106484478B (en) | A kind of method, device and mobile terminal creating application of attending to anything else | |
CN106484479B (en) | A kind of management method, device and intelligent terminal for opening application more | |
CN106484547A (en) | A kind of management method, device and terminal for opening application more | |
CN106657589A (en) | Message alert method and message alert device for multi-open applications, and mobile terminal | |
CN106357921A (en) | Application data sharing method, application data sharing device and mobile terminal | |
CN106650324A (en) | Application program authority management method and device and mobile terminal | |
CN106445671B (en) | A kind of management method of application program, device and terminal | |
CN106485136A (en) | The authority configuring method of application program, device and mobile terminal | |
CN106484262A (en) | A kind of generation method of application of attending to anything else, device and terminal | |
CN107026933A (en) | A kind of information management method, device and intelligent terminal for opening application more | |
CN106445612A (en) | Method and device for starting application and mobile terminal | |
CN106373017B (en) | A kind of application message processing method, device and mobile terminal | |
CN106445706B (en) | Open the data transmission method, device and mobile terminal of application more | |
CN106648736A (en) | Application control method and device and mobile terminal | |
CN106648737A (en) | Application control method and device, and mobile terminal | |
CN106502732B (en) | Application closing method and device and intelligent terminal | |
CN106484419A (en) | Information searching method, device and mobile terminal in a kind of application program | |
CN106650402B (en) | Authority configuring method, device and the mobile terminal of application program | |
CN106650403B (en) | A kind of right management method, device and intelligent terminal for opening application more | |
CN106445670B (en) | A kind of data managing method, device and mobile terminal for opening application more | |
CN106648962B (en) | A kind of management method, device and intelligent terminal for opening application more | |
CN106488020B (en) | A kind of operation management method, device and intelligent terminal for opening application more | |
CN106648738A (en) | Copy application management method and device, and terminal | |
CN106648908A (en) | Control method, device of application progress and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |