CN106485136A - The authority configuring method of application program, device and mobile terminal - Google Patents
The authority configuring method of application program, device and mobile terminal Download PDFInfo
- Publication number
- CN106485136A CN106485136A CN201610885812.8A CN201610885812A CN106485136A CN 106485136 A CN106485136 A CN 106485136A CN 201610885812 A CN201610885812 A CN 201610885812A CN 106485136 A CN106485136 A CN 106485136A
- Authority
- CN
- China
- Prior art keywords
- application
- authority
- intended application
- user
- intended
- 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.)
- Pending
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of authority configuring method of application program, device and mobile terminal.The method includes:When installation targets application is detected, judge whether the intended application is the main application that opens in set of applications more;If the intended application is the main application that opens in set of applications more, it is determined that the application type of the intended application;According to the application type, obtain the intended application the application program of the mounted application type in the user space authority information;According to the authority information, the authority of the intended application is configured.The present invention reduces the setting of 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 method of application program, device and shifting
Dynamic terminal.
Background technology
Mobile terminal is the most frequently used most important electronic equipment of user.In the operating system platform of mobile terminal, user
Can according to oneself need various social activity class application programs, instant messaging class application program etc. are installed.User is in work and life
It is frequently necessary in work using multiple account numbers while same application program is logged in, in order to meet the needs of user, one can be passed through
To realize, application is double to open double methods (such as decompiling application or third party couple open application software etc.) for opening application a bit, same so as to realize
Two different accounts of Shi Denglu.
In the authority configuration of application program, the various authorities of application program are (for example:Reading storage catalogue authority,
Read and write note authority, open camera authority etc.), two parts can be divided into, a part of insensitive authority, in application program installation
When, system directly allows application program to obtain authority;A part for example reads and writes note authority, meeting than more sensitive danger authority
When user is using application program, prompt the user whether to allow application program to obtain authority.Therefore, each application program is being installed
When, it is required for user is pointed out, is configured by user, cause the user inconvenience.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of authority configuring method of application program, device and mobile terminal, with
Reduce the setting of user, improve the convenience of authority configuration.
In a first aspect, embodiments providing a kind of method of the authority configuration of application program, methods described includes:
When installation targets application is detected, judge whether the intended application is the main application that opens in set of applications more;
If the intended application is the main application that opens in set of applications more, it is determined that the application class of the intended application
Type;
According to the application type, obtain the intended application the mounted application type in the user space
The authority information of application program;
According to the authority information, the authority of the intended application is configured.
Second aspect, the embodiment of the present invention additionally provide a kind of authority configuration device of application program, and described device includes:
Main application judge module, for when installation targets application is detected, judging whether the intended application is open more
Main application in set of applications;
Application type determining module, if be the main application that opens in set of applications for the intended application more, it is determined that
The application type of the intended application;
Permission acquisition module, for according to the application type, obtaining the intended application institute in the user space
The authority information of the application program of the mounted application type;
Permission configuration module, for according to the authority information, configuring the authority of the intended application.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, and the terminal is integrated with the arbitrary reality of the present invention
Apply the authority configuration device of the application program described in example.
The technical scheme of the embodiment of the present invention, the application type for opening application by basis obtain authority information more, according to power
Limit information opens the authorities of application more to configure, and reduces the setting of user, improves the convenience of authority configuration.
Description of 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;
Fig. 2 is the flow chart of the authority configuring method of another kind application program provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the authority configuring method of another kind application program provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the authority configuration device of application program provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation 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 that states is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content is illustrate only in description, accompanying drawing.
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
It is applied to situation about the authority of intended application being configured according to the application type of intended application, the method can be by application journey
The authority configuration of sequence executing, can be realized by the mode of software and/or hardware, and the device can be only fitted to mobile phone by the device
Or in the mobile terminal such as panel computer.The method specifically includes following steps:
S110, when installation targets application is detected, judge that whether the intended application is the master opened in set of applications more
Application.
Wherein, open more application refer to be applied more open (will an application program be divided into two or more, so as to can
To log in different accounts) application program.When installation targets application is detected, can first determine whether that whether the intended application is
Open application more, when intended application be open application when, can judge according to the mark of intended application that whether the intended application is
Open the main application in set of applications more.
The implementation for opening set of applications can have many kinds more, and the present embodiment is not specifically limited.For example, can pacify respectively
The application of dress different editions, using a kind of version as main application, using other versions as application of attending to anything else, wherein, can be compiled by anti-
Installation kit (APK) file of modification application is translated, then the same money for amended APK file being installed to realize installing different editions should
With;And for example, can be realized by opening assistant's software the third party of application simulation user's space and Dynamic loading technique more;For another example,
Can be realized by changing system mechanism.
Preferably, open set of applications in the present embodiment to realize based on multi-user's mechanism, wherein multi-user's mechanism is concrete more
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 of mobile phone window (Windows Phone, WP) operating system etc..
If the S120 intended application is the main application that opens in set of applications more, it is determined that the intended application should
Use type.
Wherein, when the intended application is to open the main application in set of applications more, can be according to the installation kit of intended application
Determine the application type of the intended application.The application type of the intended application includes chat application, Video Applications or shopping
Application etc..Exemplarily, the intended application is wechat, and the application type that can determine that wechat according to installation kit is chat application.
If the intended application is the application of attending to anything else that opens in set of applications more, the corresponding master of the intended application is obtained
The authority of application, the authority of intended application according to the authority configuration of main application.
S130, according to the application type, obtain the intended application mounted application in the user space
The authority information of the application program of type.
Wherein, the authority of application program has many kinds, for example:Read storage catalogue authority, read-write note authority, open phase
Machine authority etc..According to determine the intended application application type, search in its user's space being located with the application
Type identical application program, obtains the authority information of the application program.Exemplarily, the intended application is wechat, and mesh
Mark application is to open the main application in set of applications more, determines its application type for chat application, it is assumed that the user that wechat is located is empty
Between in mounted application type have QQ for the application program of chat application, then can obtain the authority information of QQ.
Preferably, according to the application type, the acquisition intended application institute is mounted described in the user space
Before the authority information of the application program of application type, also include:
Identified according to the user's space of the intended application, determine the user's space that the intended application is located.
Wherein, due to the user's space that different user's space mark correspondences is different, can be using user's space mark come really
The user's space that the application that sets the goal is located.
S140, according to the authority information, configure the authority of the intended application.
According to the intended application for getting the mounted application type in the user space application program
Authority information, the authority to the intended application configures, i.e. same application type configuration identical authority.Exemplary
Ground, the intended application are wechat, determine that its application type, for chat application, is searched and installed in the user's space that wechat is located
Application type for chat application application program, it is assumed that qualified application program includes QQ, according to the corresponding authority of QQ
Information, the corresponding authority of configuration wechat.
The technical scheme of the present embodiment, by when intended application is to open the main application in set of applications more, obtaining and mesh
The corresponding authority information of the application type identical application program that applies is marked, and the power of intended application is configured according to the authority information
Limit, it is achieved that the application program to same application type configures identical authority, reduces the setting of user, improves authority and join
The convenience that puts.
Fig. 2 is the flow chart of the authority configuring method of another kind application program provided in an embodiment of the present invention, the present embodiment
It is optimized on the basis of above-described embodiment, after the authority for configuring the intended application, increased should to the target
Attend to anything else application authority configuration, specifically include following steps:
S210, when installation targets application is detected, judge that whether the intended application is the master opened in set of applications more
Application.
Wherein, open set of applications to realize based on multi-user's mechanism more, apply and corresponding with main application all including main
Attend to anything else application.
Specifically, open set of applications to realize may include following content based on multi-user's mechanism more:Main application is installed on master
Under user's space, application of attending to anything else is installed on under user's space, comprising for operating to application of attending to anything else 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), it is possible to delete and manage them;
B) using the user from user's space, such as domestic consumer (non-master user) and Guest User, can be collectively referred to as from user;
C) acquiescence primary user space id (identity, Identification) is 0, and other space id that Add User are from 10
Start, increase one by one;
When d) switching user's space, a series of changing interface such as desktop can be reloaded;
E) primary user space can limit whether other users can take the authority such as phone and transmitting-receiving note.
For multi-user management, can be by primary user space to being managed from user's space, including from user's space
Establishment, deletion and priority assignation etc., ID arranges from the beginning of primary user space, increases newly from user's space ID laminated structure, each uses
When switching between the space of family, a series of interfaces such as desktop of corresponding user's space are reloaded.
2. multi-user's peace loading, unloading application
A) application of default installation, can be installed to all user's spaces for having created, on other user's space desktops all
It can be seen that application icon;
B) application that is installed by file management in primary user space, 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 loading, unloading application is pacified, it is intended that application is installed to certain
Specified user's space, or the application is unloaded in certain specified user's space.All user's spaces can also all be installed with application, or
Unloading application.
D) application B has been unloaded in user's space A, for other user's spaces, apply B still to exist, on desktop all
It can be seen that application icon, on other user's spaces, application B normally can be used.
Loading, unloading application is pacified for multi-user, the application of default installation can be installed to all user's space (bags for having 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 of file management installation is crossed, is mounted only under primary user space, desktop generates application icon in primary user space, does not install
Arrive under user's space;Installation/the unloading of application can be also specified to user's space based on user, and user is used by specifying
Family space identification, specifies the installation of application/be discharged in certain user's space, Mou Xieyong in primary user space and from user's space
Carry out under family space or all user's spaces;Being discharged under each user's space for same application is independently carried out, empty to a certain user
Between under application unloaded, do not affect the use of the application under other users space.
3. user data management
A) related to system data user's id catalogue:House the corresponding various system data storages of user's space, example
Such as:Desktop widget (component) list, arranges database, and default application starts strategy etc..
B) related to application packet data user's id catalogue:House user's space and the application bag catalogue that installs is corresponded to, such as
Fruit application operating generates data, then application data also deposits in this catalogue.
C) system SD card (Secure Digital Memory Card, safe digital card) catalogue:User is in each user
The SD card catalogue that sees in space is all different, can only see the SD card catalogue in active user space.
For user data management, under multi-user's realization mechanism, system data and application dependency number under each user's space
According to being deposited under different data storage paths respectively, e.g., under certain user's space, various system datas deposit in first for specifying
Under data storage path, and these application-dependent data of application data that bag catalogue and application operating are produced of applying that installs are deposited
Under specified the second data storage path;Under each user's space, data storage is separate, user in each user's space only
The data storage in active user space, such as the SD card catalogue in active user space can be checked.
In one embodiment, open the process that set of applications realized based on multi-user's mechanism can be described as follows more:
Assume user's space based on the default user space of intelligent terminal, user passes through from application business under primary user space
Shop is downloaded or is deposited, from modes such as other source copies, installation kit (package, APK) the file such as ABC.apk for applying 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 detect under primary user space for main application ABC attend to anything else request to create when, from user's space (if
There is currently no from user's space, then one can be created from user's space, the establishment process is situation about cannot discover in user
Under complete, without user setup account and password) under ABC.apk be installed obtain application of attending to anything else, in order to main application and divide
Body application is distinguish between, and can add a mark (being assumed to be *) for the new application of attending to anything else that installs, and application of attending to anything else can be designated as
ABC*.After ABC* installs success, may specify and the notice (also adding mark * in the notice) of " installing successfully " is sent to master
User's space, after the desktop reception under primary user space to the notice, generate one with mark * icon, with main application
The icon of ABC makes a distinction, and the icon can be as access port application of attending to anything else operated in primary user space, when the icon
After clicked, specified ABC* is being started under user's space by system, and associated process corresponding with ABC* is also from user's space
Lower operation, and the human-computer interaction interface (abbreviation interface) of ABC* is shown under primary user space, now the interface of ABC* also may be used
As access port application of attending to anything else operated in primary user space.
For application of attending to anything else, the existence form of its access port in primary user space can be diversified,
The present embodiment is not specifically limited, for example, it may be the desktop icons comprising application identities, the application identities will be in order to currently dividing
Body application is come with main application and other application divisions of attending to anything else;Can also be the application identities being additional on main application icon;
Can also be the icon comprising application identities existed with floating window form;Can also be the item for being present in the positions such as notice center
Mesh.
Mobile phone users can achieve the operation to main application in primary user space, while can also be in primary user space
Application of attending to anything else accordingly is operated by access port.It is understood that same main application can correspond to multiple attend to anything else should
With, each application of attending to anything else all be installed in one different from user's space, the application that makes respectively to attend to anything else is separately operable in different
From user's space, it does not interfere with each other in running.
Application being opened realize based on multi-user's mechanism to be advantageous in that more, for opening assistant's software compared to third party more,
Avoid third party software advertisement and the generation of the behaviors such as privacy of user data is stolen, security is higher;Compare and answer with main
For the scheme for all running under same user's space with application of attending to anything else, 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 that complicated running environment brought.
Exemplary, userid and application identities Uid can be identified by user's space to distinguish main application in the present embodiment
With application of attending to anything else.
If the S220 intended application is the main application that opens in set of applications more, it is determined that the intended application should
Use type.
S230, according to the application type, obtain the intended application mounted application in the user space
The authority information of the application program of type.
S240, according to the authority information, configure the authority of the intended application.
S250, detect install the intended application attend to anything else application when, according to the authority of the intended application after configuration
Attend to anything else described in configuration the authority of application.
Wherein, when detect be mounted with intended application corresponding attend to anything else application when, according to main application authority configuration to point
The authority of body application is configured, and exemplarily, the corresponding acquisition positional information priority assignation of wechat is permission, then wechat pair
The wechat that answers attend to anything else application acquisition positional information authority be also arranged accordingly to allow.Achieved to attending to anything else in this way
The authority configuration of application is more convenient.
The technical scheme of the present embodiment, when intended application is main application, by identical with the application type of intended application
The corresponding authority information of application program, the authority to intended application configures, according still further to main application authority configuration to point
The authority of body application is configured, it is achieved that is quickly and conveniently configured the authorities for opening application more, is reduced the setting of user.
Fig. 3 is the flow chart of the authority configuring method of another kind application program provided in an embodiment of the present invention, the present embodiment
It is optimized on the basis of embodiment illustrated in fig. 1, to " according to the authority information, configuring the authority of the intended application "
Optimized further, specifically included following steps:
S310, when installation targets application is detected, judge that whether the intended application is the master opened in set of applications more
Application.
If the S320 intended application is the main application that opens in set of applications more, it is determined that the intended application should
Use type.
S330, according to the application type, obtain the intended application mounted application in the user space
The authority information of the application program of type.
Preferably, according to the application type, the acquisition intended application institute is mounted described in the user space
Before the authority information of the application program of application type, also include:
Identified according to the user's space of the intended application, determine the user's space that the intended application is located.
S340, the rights option of the acquisition intended application.
Wherein, the rights option of the intended application includes intended application various authorities to be applied, for example, can be
Read contact person, short message reading, open camera etc..The installation kit of intended application can be obtained, according to the installation kit of intended application
Determine the rights option of the intended application.
S350, according to the rights option, obtain the corresponding permission grant of the rights option in the authority information
Information.
Wherein, the corresponding permission grant information of rights option refers to authority configuration situation of the user to the rights option, bag
Include permission, refusal or prompting etc..In the intended application institute mounted application type in the user space for having obtained
Application program authority information in, obtain the corresponding permission grant information of the rights option.Exemplarily, the target should
With for wechat, determining its application type for chat application, it is assumed that in the user's space that wechat is located, mounted application type is
The application program of chat application has QQ, and the rights option of the wechat for getting includes to read contact person, then in the corresponding authority of QQ
Permission grant information, i.e. the authority configuration situation for reading contact person is obtained in information.
S360, according to the permission grant information, configure the corresponding authority of rights option of the intended application.
According to each rights option of the intended application, the choosing of identical authority is searched in the permission grant information
, corresponding for rights option privileges configuration information is allocated to the corresponding identical rights option of the intended application.Example
Property, the intended application is wechat, determines its application type for chat application, it is assumed that pacify in the user's space that wechat is located
The application type of dress has QQ for the application program of chat application, and the rights option of wechat can be short including reading contact person, reading
Believe, camera etc. is opened, then the rights option identical rights option with wechat is searched in the permission grant information of QQ, including reading
Take contact person, short message reading, camera etc. is opened, such as reading QQ contact person, short message reading, opening the rights option such as camera and divide
Not corresponding privileges configuration information, is allocated to the corresponding rights option of wechat.
Optionally, according to the permission grant information, the corresponding authority of rights option for configuring the intended application includes:
When the permission grant information is for allowing, the corresponding authority of rights option of the intended application is configured for awarding
Power;
When the permission grant information is for refusal, the corresponding authority of rights option of the intended application is configured for prohibiting
Only;
When the permission grant information is for prompting, the corresponding authority of rights option of the intended application is configured for carrying
Show.
The technical scheme of the present embodiment, on the basis of embodiment illustrated in fig. 1, by intended application and with its application type phase
The rights option of same application program is corresponded, it is achieved that the application program to same application type configures identical authority,
The setting of user is reduced, improves the convenience of authority configuration.
Fig. 4 is a kind of structural representation of the authority configuration device of application program provided in an embodiment of the present invention, as Fig. 4 institute
Show, the authority configuration device of the application program described in the present embodiment includes:
Main application judge module 410, for when installation targets application is detected, judging whether the intended application is many
Open the main application in set of applications;
Application type determining module 420, if being the main application that opens in set of applications for the intended application, really more
The application type of the fixed intended application;
Permission acquisition module 430, for according to the application type, obtaining intended application place user's space
In the mounted application type application program authority information;
Permission configuration module 440, for according to the authority information, configuring the authority of the intended application.
Optionally, also include:
Application configuration of attending to anything else module, for, after the authority for configuring the intended application, installing the mesh detecting
Mark application attend to anything else application when, the authority of application of attending to anything else according to the authority configuration of the intended application after configuration.
Optionally, the permission configuration module 440 includes:
Rights option acquiring unit, for obtaining the rights option of the intended application;
Authorization message acquiring unit, for according to the rights option, obtaining authority choosing in the authority information
The corresponding permission grant information of item;
Authority configuration unit, for according to the permission grant information, the rights option for configuring the intended application is corresponded to
Authority.
Optionally, the authority configuration unit includes:
Authorization configuration subelement, for when the permission grant information is for allowing, configuring the authority of the intended application
The corresponding authority of option is for authorizing;
Forbid configuring subelement, for when the permission grant information is for refusal, configuring the authority of the intended application
The corresponding authority of option is for forbidding;
Prompting configuration subelement, for when the permission grant information is for prompting, configuring the authority of the intended application
The corresponding authority of option is prompting.
Optionally, also include:User's space determining module, before the permission acquisition module, according to described
The user's space mark of intended application, determines the user's space that the intended application is located.
The authority configuration device of above-mentioned application program can perform the power of the application program provided by any embodiment of the present invention
Limit collocation method, possesses the corresponding functional module of execution method and beneficial effect.The not technology of detailed description in the present embodiment
Details, can be found in the authority configuring method of the application program of any embodiment of the present invention offer.
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal can be carried including any embodiment of the present invention
For application program authority configuration device.Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention, such as
Shown in Fig. 5, the mobile terminal can 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
511st, power management chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/control devicess 510 with
And outside port 504, these parts are communicated by one or more communication bus or holding wire 507.
It should be understood that diagram mobile terminal 500 is only an example of mobile terminal, and mobile terminal 500
Can have than the more or less part shown by figure, two or more parts can be combined, or permissible
Configure with different parts.Various parts shown by figure can include one or more signal transacting and/or special
Integrated circuit is realized in the combination of interior hardware, software or hardware and software.
Below with regard to the present embodiment offer for being described in detail to the mobile terminal of the authority configuration of application program,
By taking mobile phone as an example, the mobile terminal is specifically included the mobile terminal:
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can
With include high-speed random access memory, can also include nonvolatile memory, for example one or more disk memory,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and deposit 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 on equipment, such as touch-screen 502
(equivalent to the screen in above-described embodiment) and other input/control devicess 510, are connected to Peripheral Interface 503.I/O subsystem
509 can include display controller 5091 and the one or more input controllers for controlling other input/control devicess 510
5092.Wherein, one or more input controllers 5092 receive electric signal or to other from other input/control devicess 510
Input/control devices 510 sends electric signal, and other input/control devicess 510 can include physical button (pressing button, rocking arm
Button etc.), dial, slide switch, control stick, click on roller.What deserves to be explained is, input controller 5092 can with following
Any one connection:The instruction equipment of keyboard, infrared port, USB interface and such as mouse.
Touch-screen 512, the touch-screen 512 is the input interface between user terminal and user and output interface, can
Depending on output display to user, visual output can include figure, text, icon, video etc..
Display controller 5091 in I/O subsystem 509 receives electric signal or to touch-screen 512 from touch-screen 512
Electric signals.Touch-screen 512 detects the contact on touch-screen, and the contact for detecting is converted to and display by display controller 5091
The interaction of the user interface object on touch-screen 512, that is, realize man-machine interaction, shows the user interface on touch-screen 512
Object can be the icon of running game, be networked to icon of corresponding network etc..What deserves to be explained is, equipment can also include light
Mouse, light mouse are the touch sensitive surface for not showing visual output, or the extension of the touch sensitive surface formed by touch-screen.
RF circuit 505, is mainly used in setting up the communication of mobile phone and 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 with communication network and other equipment by the electromagnetic signal.RF circuit 505 can be included for executing
The known circuit of these functions, its include but is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, is mainly used in receiving voice data from Peripheral Interface 503, the voice data is converted to telecommunications
Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving mobile phone by RF circuit 505 from wireless network, is reduced to sound
And the sound is played to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem 509 and Peripheral Interface are supplied
Electricity and power management.
The executable following operation of CPU502 provided in an embodiment of the present invention:
When installation targets application is detected, judge whether the intended application is the main application that opens in set of applications more;
If the intended application is the main application that opens in set of applications more, it is determined that the application class of the intended application
Type;
According to the application type, obtain the intended application the mounted application type in the user space
The authority information of application program;
According to the authority information, the authority of the intended application is configured.
Above-mentioned mobile terminal can perform the method provided by any embodiment of the present invention, possess the corresponding function of execution method
Module and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (11)
1. a kind of authority configuring method of application program, it is characterised in that methods described includes:
When installation targets application is detected, judge whether the intended application is the main application that opens in set of applications more;
If the intended application is the main application that opens in set of applications more, it is determined that the application type of the intended application;
According to the application type, obtain the intended application the mounted application type in the user space application
The authority information of program;
According to the authority information, the authority of the intended application is configured.
2. method according to claim 1, it is characterised in that after the authority for configuring the intended application, also include:
Detect install the intended application attend to anything else application when, according to the authority configuration of the intended application after configuration point
The authority of body application.
3. method according to claim 1 and 2, it is characterised in that according to the authority information, configures the intended application
Authority include:
Obtain the rights option of the intended application;
According to the rights option, the corresponding permission grant information of the rights option is obtained in the authority information;
According to the permission grant information, the corresponding authority of rights option of the intended application is configured.
4. method according to claim 3, it is characterised in that according to the permission grant information, configuring the target should
The corresponding authority of rights option includes:
When the permission grant information is for allowing, the corresponding authority of rights option of the intended application is configured for authorizing;
When the permission grant information is for refusal, the corresponding authority of rights option of the intended application is configured for forbidding;
When the permission grant information is for prompting, the corresponding authority of rights option for configuring the intended application is prompting.
5. method according to claim 1 and 2, it is characterised in that should the target according to the application type, is obtained
With in the user space before the authority information of the application program of the mounted application type, also include:
Identified according to the user's space of the intended application, determine the user's space that the intended application is located.
6. the authority configuration device of a kind of application program, it is characterised in that described device includes:
Main application judge module, for when installation targets application is detected, judging whether the intended application is to open application more
Main application in set;
Application type determining module, if be the main application that opens in set of applications for the intended application, it is determined that described more
The application type of intended application;
Permission acquisition module, pacifies in the user space for according to the application type, obtaining the intended application
The authority information of the application program of the application type of dress;
Permission configuration module, for according to the authority information, configuring the authority of the intended application.
7. device according to claim 6, it is characterised in that also include:
Application configuration of attending to anything else module, for after the authority that the permission configuration module configures the intended application, in detection
To install the intended application attend to anything else application when, the power of application of attending to anything else according to the authority configuration of the intended application after configuration
Limit.
8. the device according to claim 6 or 7, it is characterised in that the permission configuration module includes:
Rights option acquiring unit, for obtaining the rights option of the intended application;
Authorization message acquiring unit, for according to the rights option, obtaining the rights option pair in the authority information
The permission grant information that answers;
Authority configuration unit, the corresponding power of the rights option for according to the permission grant information, configuring the intended application
Limit.
9. device according to claim 8, it is characterised in that the authority configuration unit includes:
Authorization configuration subelement, for when the permission grant information is for allowing, configuring the rights option of the intended application
Corresponding authority is for authorizing;
Forbid configuring subelement, for when the permission grant information is for refusal, configuring the rights option of the intended application
Corresponding authority is for forbidding;
Prompting configuration subelement, for when the permission grant information is for prompting, configuring the rights option of the intended application
Corresponding authority is prompting.
10. the device according to claim 6 or 7, it is characterised in that also include:
User's space determining module, for the permission acquisition module according to the application type, obtaining the target should
With in the user space before the authority information of the application program of the mounted application type, according to the intended application
User's space mark, determine the intended application be located user's space.
11. a kind of mobile terminals, it is characterised in that the mobile terminal is integrated with the application as described in claim 6-10 is arbitrary
The authority configuration device of program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885812.8A CN106485136A (en) | 2016-10-10 | 2016-10-10 | The authority configuring method of application program, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610885812.8A CN106485136A (en) | 2016-10-10 | 2016-10-10 | The authority configuring method of application program, device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106485136A true CN106485136A (en) | 2017-03-08 |
Family
ID=58269566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610885812.8A Pending CN106485136A (en) | 2016-10-10 | 2016-10-10 | The authority configuring method of application program, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106485136A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107368735A (en) * | 2017-07-24 | 2017-11-21 | 广东欧珀移动通信有限公司 | One kind applies installation method, mobile terminal and computer-readable recording medium |
CN109325364A (en) * | 2018-09-28 | 2019-02-12 | 联想(北京)有限公司 | A kind of authority configuring method and electronic equipment |
CN111695151A (en) * | 2020-05-21 | 2020-09-22 | 维沃移动通信有限公司 | Application permission setting method and device, electronic equipment and readable storage medium |
CN112597476A (en) * | 2020-12-25 | 2021-04-02 | 努比亚技术有限公司 | Application authority management method, device, terminal and storage medium |
CN114731366A (en) * | 2019-11-07 | 2022-07-08 | 休曼斯公司 (弗利普菲特) | Camera activation and deactivation of mobile applications based on physical object location |
CN115017473A (en) * | 2021-09-06 | 2022-09-06 | 荣耀终端有限公司 | Authorization method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084325A1 (en) * | 2001-11-01 | 2003-05-01 | International Business Machines Corporation | Method and apparatus for implementing permission based access control through permission type inheritance |
CN102103510A (en) * | 2011-02-10 | 2011-06-22 | 惠州Tcl移动通信有限公司 | Installation method of JAVA application program and terminal device |
CN104036182A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Information processing method, prompting method, server and electronic device |
CN104516783A (en) * | 2013-09-27 | 2015-04-15 | 华为终端有限公司 | Authority control method and device |
CN105512545A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Access authority management method and device |
-
2016
- 2016-10-10 CN CN201610885812.8A patent/CN106485136A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030084325A1 (en) * | 2001-11-01 | 2003-05-01 | International Business Machines Corporation | Method and apparatus for implementing permission based access control through permission type inheritance |
CN102103510A (en) * | 2011-02-10 | 2011-06-22 | 惠州Tcl移动通信有限公司 | Installation method of JAVA application program and terminal device |
CN104036182A (en) * | 2013-03-04 | 2014-09-10 | 联想(北京)有限公司 | Information processing method, prompting method, server and electronic device |
CN104516783A (en) * | 2013-09-27 | 2015-04-15 | 华为终端有限公司 | Authority control method and device |
CN105512545A (en) * | 2015-12-03 | 2016-04-20 | 小米科技有限责任公司 | Access authority management method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107368735A (en) * | 2017-07-24 | 2017-11-21 | 广东欧珀移动通信有限公司 | One kind applies installation method, mobile terminal and computer-readable recording medium |
CN107368735B (en) * | 2017-07-24 | 2020-03-20 | Oppo广东移动通信有限公司 | Application installation method, mobile terminal and computer readable storage medium |
CN109325364A (en) * | 2018-09-28 | 2019-02-12 | 联想(北京)有限公司 | A kind of authority configuring method and electronic equipment |
CN114731366A (en) * | 2019-11-07 | 2022-07-08 | 休曼斯公司 (弗利普菲特) | Camera activation and deactivation of mobile applications based on physical object location |
CN114731366B (en) * | 2019-11-07 | 2024-01-23 | 休曼斯公司(弗利普菲特) | Method and system for selectively activating access to a camera by an application |
CN111695151A (en) * | 2020-05-21 | 2020-09-22 | 维沃移动通信有限公司 | Application permission setting method and device, electronic equipment and readable storage medium |
CN112597476A (en) * | 2020-12-25 | 2021-04-02 | 努比亚技术有限公司 | Application authority management method, device, terminal and storage medium |
CN115017473A (en) * | 2021-09-06 | 2022-09-06 | 荣耀终端有限公司 | Authorization method and electronic equipment |
CN115017473B (en) * | 2021-09-06 | 2023-10-20 | 荣耀终端有限公司 | Authorization method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106357921B (en) | A kind of data sharing method of application, device and mobile terminal | |
CN106484478B (en) | A kind of method, device and mobile terminal creating application of attending to anything else | |
CN106485136A (en) | The authority configuring method of application program, device and mobile terminal | |
CN106445647B (en) | Open the data manipulation method, device and mobile terminal of application more | |
CN106484547A (en) | A kind of management method, device and terminal for opening application more | |
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 | |
CN107026933A (en) | A kind of information management method, device and intelligent terminal for opening application more | |
CN106484479A (en) | A kind of management method, device and intelligent terminal for opening application more | |
CN106648737B (en) | A kind of control method of application, device and mobile terminal | |
CN106487789A (en) | A kind of method of the password of modification application account, device and mobile terminal | |
CN106484538A (en) | A kind of internal memory control method of terminal device, device and terminal device | |
CN106648736A (en) | Application control method and device and mobile terminal | |
CN106373017A (en) | Application message processing method, application message processing device and mobile terminal | |
CN106445706B (en) | Open the data transmission method, device and mobile terminal of application more | |
CN106484419A (en) | Information searching method, device and mobile terminal in a kind of application program | |
CN106502732A (en) | A kind of method for closing of application program, device and intelligent terminal | |
CN106484517A (en) | A kind of changing method, device and intelligent terminal for opening application more | |
CN106484514A (en) | A kind of operation management method, device and intelligent terminal for opening application more | |
CN106650403B (en) | A kind of right management method, device and intelligent terminal for opening application more | |
CN106383672B (en) | A kind of data-erasure method, device and mobile terminal for opening application more | |
CN106445670B (en) | A kind of data managing method, device and mobile 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 | |
CN106650402B (en) | Authority configuring method, device and the mobile terminal of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170308 |