CN106022091A - Authorization method and device of application program - Google Patents
Authorization method and device of application program Download PDFInfo
- Publication number
- CN106022091A CN106022091A CN201610312456.0A CN201610312456A CN106022091A CN 106022091 A CN106022091 A CN 106022091A CN 201610312456 A CN201610312456 A CN 201610312456A CN 106022091 A CN106022091 A CN 106022091A
- Authority
- CN
- China
- Prior art keywords
- application program
- authority
- electronic equipment
- application
- permission
- 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
-
- 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)
- Storage Device Security (AREA)
Abstract
The invention discloses an authorization method and device of an application program, and belongs to the technical field of electronics. The method comprises the following steps: electronic equipment acquires a preset list in which identifiers of N application programs with allowing configuration permissions; the permission required by the i-th application program in the N application programs with the allowing configuration permissions is determined; and the corresponding relation of the i-th application program and the permission required by the i-th application program is recorded in an allowing permission list, wherein the allowing permission list is used for indicating that the i-th application program has acquired the permission required by the i-th application program. Through the adoption of the method disclosed by the invention, the automatic authorization on the application program recorded in the preset list is implemented, the authorization process of the application program is free from the confirm operation of the user, the user operation in application program authorization is simplified, the problem that the user operation is complex in the application program authorization in the related technology is solved. And the method and the device are used for the authorization of the application program.
Description
Technical field
The present invention relates to electronic technology field, particularly to authorization method and the device of a kind of application program.
Background technology
The mandate of application program refers to that electronic equipment allows this application program to perform the action corresponding to certain authority
Process.The authority that electronic equipment can provide at present generally comprises reading contact person, short message reading, dials
Make a phone call, send note and start shooting first-class.Only it is granted by certain authority of application program when electronic equipment
After, this application program just can perform the action corresponding to this authority during running automatically.Such as,
If electronic equipment is when running certain chat application, user needs to carry out video by this chat application
Call, then only after electronic equipment is granted by the authority that this chat application starts photographic head, this chat
Application program just can automatically start photographic head and provide the user video calling service.
In correlation technique, the licensing process of application program generally comprises: when certain application program needs to perform certain
During action kind corresponding to authority, electronic equipment can perform request according to application program for this authority,
Display reminding option in display interface, this prompt options is used for prompting the user whether to determine authorizes this application journey
This authority of sequence, if user selects to determine mandate, then electronic equipment can be according to the instruction of user, it is allowed to should
The action corresponding to this authority is performed by Automatic Program.
Visible, in correlation technique, when application program often obtains an authority, it is required for the confirmation through user,
In the licensing process of this application program, the operation of user is complex.
Summary of the invention
In order to solve in correlation technique, the problem that when application program obtains authority, user operation is complicated, the present invention
Provide authorization method and the device of a kind of application program.Described technical scheme is as follows:
On the one hand, it is provided that the authorization method of a kind of application program, described method includes:
Electronic equipment obtains pre-set list, and in described pre-set list, record has N number of application allowing configuration authority
The mark of program, described N is the integer more than or equal to 1;
Determine the authority required for i-th application program in described N number of application program allowing configuration authority,
Described i is the integer more than or equal to 1 and less than or equal to N;
Corresponding relation record by the authority required for described i-th application program and described i-th application program
In allowing permissions list, it is described that described permission permissions list is used for indicating described i-th application program to obtain
Authority required for i-th application program.
Optionally, i-th application program institute in the described application program determining described N number of permission configuration authority
The authority needed, including:
Detect and whether described electronic equipment is provided with described i-th application program;
When described electronic equipment is provided with described i-th application program, according to described i-th application program
Configuration information, determine the authority required for described i-th application program.
Optionally, described by the authority required for described i-th application program and described i-th application program
Corresponding relation record after allowing in permissions list, described method also includes:
Obtain the first application program and perform request for target authority;
Perform request according to described, detect and whether described permission permissions list has recorded described first application journey
Sequence and the corresponding relation of described target authority;
When in described permission permissions list, record has described first application program pass corresponding with described target authority
When being, it is allowed to described first application program performs the action corresponding to described target authority.
Optionally, whether recorded in described detection described permission permissions list described first application program with
After the corresponding relation of described target authority, described method also includes:
When not recording in described permission permissions list, described first application program is corresponding with described target authority to close
When being, generating authorization requests information, whether described authorization requests information allows described first application for prompting
Program obtains described target authority;
Described authorization requests information is shown in the display interface of described electronic equipment.
Optionally, the described application program allowing configuration authority includes system application.
On the other hand, it is provided that the authorization device of a kind of application program, described device includes:
First acquiring unit, is used for obtaining pre-set list, and in described pre-set list, record has N number of permission to configure
The mark of the application program of authority, described N is the integer more than or equal to 1;
First determines unit, for determining i-th application in described N number of application program allowing configuration authority
Authority required for program, described i is the integer more than or equal to 1 and less than or equal to N;
Record unit, for the authority required for described i-th application program and described i-th application program
Corresponding relation record allowing in permissions list, described permission permissions list is used for indicating described i-th to apply
Program has obtained the authority required for described i-th application program.
Optionally, described first determines unit, is additionally operable to:
Detect and whether described electronic equipment is provided with described i-th application program;
When described electronic equipment is provided with described i-th application program, according to described i-th application program
Configuration information, determine the authority required for described i-th application program.
Optionally, described device also includes:
Second acquisition unit, performs request for obtaining the first application program for target authority;
Whether detector unit, for performing request according to described, detect in described permission permissions list and recorded
Described first application program and the corresponding relation of described target authority;
Second determines unit, is used for when in described permission permissions list, record has described first application program and institute
When stating the corresponding relation of target authority, it is allowed to described first application program performs corresponding to described target authority
Action.
Optionally, described device also includes:
Signal generating unit, for when not recording described first application program and described mesh in described permission permissions list
When marking the corresponding relation of authority, generating authorization requests information, whether described authorization requests information permits for prompting
Permitted described first application program and obtained described target authority;
Display unit, for showing described authorization requests information in the display interface of described electronic equipment.
Optionally, the described application program allowing configuration authority includes system application.
The technical scheme that the present invention provides has the benefit that
The invention provides authorization method and the device of a kind of application program, permissible by the method electronic equipment
According to the pre-set list prestored, required for application program each in this pre-set list and this application program
The corresponding relation record of authority allowing in grant column list, it is achieved thereby that record in pre-set list is answered
With the automatic authorization of program, the licensing process of this application program operates without the confirmation of user, simplifies application
The operation of user during program authorization.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the authorization method of a kind of application program that the embodiment of the present invention provides;
Fig. 2-1 is the flow chart of the authorization method of the another kind of application program that the embodiment of the present invention provides;
Fig. 2-2 is the schematic diagram of a kind of electronic equipment display authorization requests information that the embodiment of the present invention provides;
Fig. 3-1 is the structural representation of the authorization device of a kind of application program that the embodiment of the present invention provides;
Fig. 3-2 is the structural representation of the authorization device of the another kind of application program that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Fig. 1 is the flow chart of the authorization method of a kind of application program that the embodiment of the present invention provides, with reference to Fig. 1,
The method includes:
Step 101, electronic equipment obtain pre-set list, and in this pre-set list, record has N number of permission to configure power
The mark of the application program of limit, this N is the integer more than or equal to 1.
Step 102, determine in this N number of application program allowing configuration authority required for i-th application program
Authority, this i is the integer more than or equal to 1 and less than or equal to N.
Step 103, by the corresponding pass of the authority required for this i-th application program and this i-th application program
System's record is in allowing permissions list, and this permission permissions list is used for indicating this i-th application program to obtain this
Authority required for i-th application program.
In sum, embodiments provide the authorization method of a kind of application program, by the method electricity
Subset can be according to the pre-set list prestored, by application program each in this pre-set list and this application
The corresponding relation record of the authority required for program is allowing in grant column list, it is achieved thereby that to pre-set list
The automatic authorization of the application program of middle record, the licensing process of this application program operates without the confirmation of user,
The operation of user when simplifying application program mandate.
Fig. 2-1 is the flow chart of the authorization method of a kind of application program that the embodiment of the present invention provides, with reference to figure
2-1, the method includes:
Step 201, electronic equipment obtain pre-set list, and in this pre-set list, record has N number of permission to configure power
The mark of the application program of limit.Perform step 202.
Wherein, this N is the integer more than or equal to 1.In embodiments of the present invention, this pre-set list is electronics
In equipment pre-configured, electronic equipment can automatically in this pre-set list record mark corresponding to
Application program configures corresponding authority.Wherein, the application journey allowing configuration authority of record in this pre-set list
The mark of sequence can include the mark of mounted all system applications when electronic equipment dispatches from the factory, it is also possible to
The mark of mounted third party application when dispatching from the factory including electronic equipment, and some other electronic equipment
In do not install but the mark of the higher third party application of subscriber usage.Example, table 1 is the present invention
A kind of pre-set list that embodiment provides, have recorded 5 application journeys allowing configuration authority in this pre-set list
The mark of sequence: chat A, chat B, information C, shopping D and browser E, wherein chat A, information C
Can be the mark of mounted application program in electronic equipment with browser E, chat B and shopping D be permissible
Mark for third party application uninstalled in electronic equipment.
Table 1
Allow the mark of the application program of configuration authority |
Chat A |
Chat B |
Information C |
Shopping D |
Browser E |
In actual applications, in pre-set list, the mark of the application program of record can be application program installation kit
Bag name, electronic equipment can uniquely identify this application program by the bag name of this application program installation kit.
Step 202, detect whether this electronic equipment is provided with this N number of allow configuration authority application program
Middle i-th application program.
When this electronic equipment is provided with i-th application program in this N number of application program allowing configuration authority
Time, perform step 203;When this electronic equipment is not installed with this N number of application program allowing configuration authority
During middle i-th application program, terminate the Authorized operation to this i-th application program, and i+1 is applied
Program detects.
May in the application program of the N number of permission configuration authority corresponding to the mark of record in pre-set list
Including the uninstalled application program of electronic equipment, therefore, electronic equipment is configuring authority for this N number of permission
During application program mandate, can first judge whether the application program corresponding to each mark is arranged on this electronics and sets
In Bei.Example, it is assumed that the application program corresponding to the mark shown in table 1 is examined by electronic equipment one by one
After survey, it is judged that electronic equipment is provided with mark: chat application program corresponding to A, then can perform step
Rapid 203;If electronic equipment judges not install in this electronic equipment mark: chat application program corresponding to B,
Then electronic equipment can terminate the Authorized operation to this application program, and identifies the next one: information C institute is right
The application program answered detects.
In actual applications, if the operating system employed in electronic equipment is Android (Android) system,
Then electronic equipment can be by the PackageManagerService in android system in this electronic equipment
Whether being provided with i-th application program to detect, this PackageManagerService is Android system
System is used for the aggregation of all apk (Android installation kit) in management system.
Step 203, configuration information according to this i-th application program, needed for determining this i-th application program
The authority wanted.Perform step 204.
When this electronic equipment is provided with i-th application program in this N number of application program allowing configuration authority
Time, electronic equipment can determine this i-th application program institute according to the configuration information of this i-th application program
The authority needed.Wherein, the configuration information of each application program can record required for this application program
Authority.Example, it is assumed that in the configuration information of chat application program corresponding to A, this application of record
Authority required for program includes: read contact person, start photographic head and obtain geographical position, then electronics sets
For determining the authority required for this chat A application program according to this configuration information.
In actual applications, being applied to the application program of android system when mounted, it is installed can in file
To include AndroidManifest file, this AndroidManifest file can be stated this application program institute
The authority needed, electronic equipment can be by the PackageParser interface in PackageManagerService
The AndroidManifest file of application program is resolved, and determines the authority required for this application program.
Step 204, by the corresponding pass of the authority required for this i-th application program and this i-th application program
System's record is in allowing permissions list.Perform step 205.
In embodiments of the present invention, this permission permissions list be used for indicating this i-th application program obtained this
Authority required for i application program, i.e. closes corresponding with certain authority for certain application program when electronic equipment
After system's record is in this permission permissions list, just complete the operation that this application program is authorized this authority.Should
The licensing process of application program operates without the confirmation of user, simplifies the operation of user, improves application journey
The efficiency of sequence mandate.
Example, electronic equipment is to the application program corresponding to the mark of record in the pre-set list shown in table 1
After detecting, the permission permissions list stored can be as shown in table 2, and as known from Table 2, chat A should
The authority obtained by program may include that reading contact person, starts photographic head and obtain geographical position;Chat
The authority that it B application program has obtained may include that reading contact person and calls;Shopping D application journey
The authority that sequence has obtained may include that short message reading and obtains geographical position.
Table 2
Application program | Authority |
Chat A | Read contact person, start photographic head, acquisition geographical position |
Information C | Read contact person, call |
Shopping D | Short message reading, acquisition geographical position |
Step 205, obtain the first application program and perform request for target authority.Perform step 206.
In embodiments of the present invention, when action corresponding to the first application program needs performance objective authority,
Needing the operating system to electronic equipment to send the request that performs for this target authority, electronic equipment gets
After the execution request that this first application program sends, step 206 can be performed.Example, it is assumed that user needs
Carry out video calling by chat A application program, then this chat A application program can according to the instruction of user,
Send for target authority to the operating system of electronic equipment: start the request that performs of photographic head, electronic equipment
After getting this execution request, step 206 can be performed.
Step 206, ask according to this execution, detect and whether this permission permissions list has recorded this first application
Program and the corresponding relation of this target authority.
When in this permission permissions list, record has the corresponding relation of this first application program and this target authority,
Perform step 207;It is corresponding with this target authority when this permission permissions list does not records this first application program
During relation, perform step 208.
Electronic equipment can perform request according to what the first application program got sent, to allowing authority row
Table detects, and that is to say, it is judged that whether this first application program possesses corresponding to this target authority of execution
The authority of action.Example, it is assumed that electronic equipment gets chat A application program for target authority: open
That moves photographic head performs request, then the permission permissions list shown in table 2 can be detected by electronic equipment,
Owing in this table 2, record has this chat A application program and authority: start the corresponding relation of photographic head, then electricity
Subset can perform step 207;If execution that electronic equipment gets request for chat Z application program for
Target authority: start photographic head performs request, then owing to not recording this chat Z application program in this table 2
With this authority: start the corresponding relation of photographic head, then electronic equipment can perform step 208.
Step 207, this first application program is allowed to perform this action corresponding to target authority.
When in this permission permissions list, record has the corresponding relation of this first application program and this target authority,
Electronic equipment may determine that this target authority has been granted by this first application program, and therefore electronic equipment is permissible
This first application program is directly allowed to perform this action corresponding to target authority.Example, electronic equipment can
To allow chat A application program launching photographic head, in order to this chat A application program can be by photographic head
User provides the function of video calling.
Step 208, generation authorization requests information.Perform step 209.
When in this permission permissions list, record has the corresponding relation of this first application program and this target authority,
Electronic equipment may determine that this first application program does not also get this target authority, therefore can for this
One application program and this target permission build authorization requests information, whether this authorization requests information permits for prompting
Permitted this first application program and obtained this target authority.Example, owing to not recording chat Z application journey in table 2
Sequence and this authority: start the corresponding relation of photographic head, then the authorization requests information that electronic equipment generates can be:
Determine permission chat Z application program launching photographic head?
209, in the display interface of this electronic equipment, show this authorization requests information.
The authorization requests information generated can be shown in display interface by electronic equipment, in order to user can root
Determine whether to authorize this target authority this first application program according to this authorization requests information.Fig. 2-2 is the present invention
The schematic diagram of a kind of electronic equipment display authorization requests information that embodiment provides, as shown in Fig. 2-2, electronics sets
Standby display interface 200 shows authorization requests information 210 and " determines that permission chat Z application program launching is taken the photograph
As head?", this authorization requests information 210 can also include " determination " icon and " cancellation " icon,
When electronic equipment detects that user clicks on this operation " determining " icon, electronic equipment may determine that user
Allowing this chat Z application program launching photographic head, now electronic equipment can allow chat Z application program to open
Dynamic photographic head, and by this chat Z application program and authority: start the corresponding relation record of photographic head at table 2
In shown permission permissions list;If electronic equipment detects that user clicks on the operation of " cancellation " icon, then
May determine that user does not allow this chat Z application program launching photographic head, now electronic equipment can limit this
Chat Z application program launching photographic head.
In sum, embodiments provide the authorization method of a kind of application program, by the method electricity
Subset can be according to the pre-set list prestored, by application program each in this pre-set list and this application
The corresponding relation record of the authority required for program is allowing in grant column list, such as when in white list record have
During the mark of chat A application program, this electronic equipment can directly will chat A application program and this chat A
Authority required for application program: read contact person, start photographic head, acquisition geographical position record in permission
In permissions list, it is achieved thereby that to the automatic authorization of the application program of record, this application journey in pre-set list
The licensing process of sequence operates without the confirmation of user, the operation of user when simplifying application program mandate.
It should be noted that the priority of the step of the authorization method of the application program of embodiment of the present invention offer is suitable
Sequence can suitably adjust, and step can also increase and decrease the most accordingly.Any be familiar with this technology neck
The technical staff in territory in the technical scope that the invention discloses, the method that change can be readily occurred in, all should contain
Within protection scope of the present invention, therefore repeat no more.
Fig. 3-1 is the structural representation of the authorization device of a kind of application program that the embodiment of the present invention provides, reference
Fig. 3-1, this device includes:
First acquiring unit 301, is used for obtaining pre-set list, and in this pre-set list, record has N number of permission to join
Putting the mark of the application program of authority, this N is the integer more than or equal to 1.
First determines unit 302, for determining i-th application in this N number of application program allowing configuration authority
Authority required for program, this i is the integer more than or equal to 1 and less than or equal to N.
Record unit 303, for the authority required for this i-th application program and this i-th application program
Corresponding relation record allowing in permissions list, this permission permissions list is used for indicating this i-th application program
Obtain the authority required for this i-th application program.
In sum, embodiments providing the authorization device of a kind of application program, electronic equipment is permissible
The pre-set list prestored is obtained by the first acquiring unit, and by record unit by this pre-set list
The corresponding relation record of the authority required for each application program and this application program in allowing grant column list,
It is achieved thereby that to the automatic authorization of the application program of record, the licensing process of this application program in pre-set list
Confirmation without user operates, the operation of user when simplifying application program mandate.
Fig. 3-2 is the structural representation of the authorization device of a kind of application program that the embodiment of the present invention provides, reference
Fig. 3-2, this device includes:
First acquiring unit 301, is used for obtaining pre-set list, and in this pre-set list, record has N number of permission to join
Putting the mark of the application program of authority, this N is the integer more than or equal to 1.
First determines unit 302, for determining i-th application in this N number of application program allowing configuration authority
Authority required for program, this i is the integer more than or equal to 1 and less than or equal to N.
Record unit 303, for the authority required for this i-th application program and this i-th application program
Corresponding relation record allowing in permissions list, this permission permissions list is used for indicating this i-th application program
Obtain the authority required for this i-th application program.
Second acquisition unit 304, performs request for obtaining the first application program for target authority.
Detector unit 305, is used for detecting in this permission permissions list whether recorded this first application program and this
The corresponding relation of target authority.
Second determines unit 306, is used for when in this permission permissions list, record has this first application program and this mesh
When marking the corresponding relation of authority, it is allowed to this first application program performs this action corresponding to target authority.
Signal generating unit 307, for when not recording this first application program and this target power in this permission permissions list
During the corresponding relation of limit, generate authorization requests information, this authorization requests information for prompting whether allow this
One application program obtains this target authority.
Display unit 308, for showing this authorization requests information in the display interface of this electronic equipment.
Optionally, this first determines unit 302, is additionally operable to:
Detect and whether this electronic equipment is provided with this i-th application program;
When this electronic equipment is provided with this i-th application program, according to the configuration of this i-th application program
Information, determines the authority required for this i-th application program.
Optionally, the application program of this permission configuration authority includes system application.
In sum, embodiments providing the authorization device of a kind of application program, electronic equipment is permissible
The pre-set list prestored is obtained by the first acquiring unit, and by record unit by this pre-set list
The corresponding relation record of the authority required for each application program and this application program in allowing grant column list,
It is achieved thereby that to the automatic authorization of the application program of record, the licensing process of this application program in pre-set list
Confirmation without user operates, the operation of user when simplifying application program mandate.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description
Device and the specific works process of unit, be referred to the corresponding process in preceding method embodiment, at this
Repeat no more.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.
Claims (10)
1. the authorization method of an application program, it is characterised in that described method includes:
Electronic equipment obtains pre-set list, and in described pre-set list, record has N number of application allowing configuration authority
The mark of program, described N is the integer more than or equal to 1;
Determine the authority required for i-th application program in described N number of application program allowing configuration authority,
Described i is the integer more than or equal to 1 and less than or equal to N;
Corresponding relation record by the authority required for described i-th application program and described i-th application program
In allowing permissions list, it is described that described permission permissions list is used for indicating described i-th application program to obtain
Authority required for i-th application program.
Method the most according to claim 1, it is characterised in that described determine described N number of allow configuration
Authority required for i-th application program in the application program of authority, including:
Detect and whether described electronic equipment is provided with described i-th application program;
When described electronic equipment is provided with described i-th application program, according to described i-th application program
Configuration information, determine the authority required for described i-th application program.
Method the most according to claim 1, it is characterised in that described by described i-th application journey
After the corresponding relation record of the authority required for sequence and described i-th application program is in permission permissions list,
Described method also includes:
Obtain the first application program and perform request for target authority;
Perform request according to described, detect and whether described permission permissions list has recorded described first application journey
Sequence and the corresponding relation of described target authority;
When in described permission permissions list, record has described first application program pass corresponding with described target authority
When being, it is allowed to described first application program performs the action corresponding to described target authority.
Method the most according to claim 3, it is characterised in that arrange in described detection described permission authority
After whether table records the corresponding relation of described first application program and described target authority, described method
Also include:
When not recording in described permission permissions list, described first application program is corresponding with described target authority to close
When being, generating authorization requests information, whether described authorization requests information allows described first application for prompting
Program obtains described target authority;
Described authorization requests information is shown in the display interface of described electronic equipment.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that
The described application program allowing configuration authority includes system application.
6. the authorization device of an application program, it is characterised in that described device includes:
First acquiring unit, is used for obtaining pre-set list, and in described pre-set list, record has N number of permission to configure
The mark of the application program of authority, described N is the integer more than or equal to 1;
First determines unit, for determining i-th application in described N number of application program allowing configuration authority
Authority required for program, described i is the integer more than or equal to 1 and less than or equal to N;
Record unit, for the authority required for described i-th application program and described i-th application program
Corresponding relation record allowing in permissions list, described permission permissions list is used for indicating described i-th to apply
Program has obtained the authority required for described i-th application program.
Device the most according to claim 6, it is characterised in that described first determines unit, is additionally operable to:
Detect and whether described electronic equipment is provided with described i-th application program;
When described electronic equipment is provided with described i-th application program, according to described i-th application program
Configuration information, determine the authority required for described i-th application program.
Device the most according to claim 6, it is characterised in that described device also includes:
Second acquisition unit, performs request for obtaining the first application program for target authority;
Whether detector unit, for performing request according to described, detect in described permission permissions list and recorded
Described first application program and the corresponding relation of described target authority;
Second determines unit, is used for when in described permission permissions list, record has described first application program and institute
When stating the corresponding relation of target authority, it is allowed to described first application program performs corresponding to described target authority
Action.
Device the most according to claim 8, it is characterised in that described device also includes:
Signal generating unit, for when not recording described first application program and described mesh in described permission permissions list
When marking the corresponding relation of authority, generating authorization requests information, whether described authorization requests information permits for prompting
Permitted described first application program and obtained described target authority;
Display unit, for showing described authorization requests information in the display interface of described electronic equipment.
10. according to the arbitrary described device of claim 6 to 9, it is characterised in that
The described application program allowing configuration authority includes system application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610312456.0A CN106022091A (en) | 2016-05-11 | 2016-05-11 | Authorization method and device of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610312456.0A CN106022091A (en) | 2016-05-11 | 2016-05-11 | Authorization method and device of application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106022091A true CN106022091A (en) | 2016-10-12 |
Family
ID=57100076
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610312456.0A Pending CN106022091A (en) | 2016-05-11 | 2016-05-11 | Authorization method and device of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106022091A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106980792A (en) * | 2017-03-31 | 2017-07-25 | 联想(北京)有限公司 | A kind of control method of application permission, electronic equipment and server |
CN108647070A (en) * | 2018-04-18 | 2018-10-12 | Oppo广东移动通信有限公司 | Information prompting method, device, mobile terminal and computer-readable medium |
CN108710795A (en) * | 2018-04-18 | 2018-10-26 | Oppo广东移动通信有限公司 | Information cuing method, device, mobile terminal and storage medium |
CN108875353A (en) * | 2017-05-15 | 2018-11-23 | 中国移动通信有限公司研究院 | A kind of management method and device of the preset application of terminal |
CN109344634A (en) * | 2018-09-28 | 2019-02-15 | 东软集团股份有限公司 | Permission giving method, device, terminal and the computer readable storage medium of application |
WO2019080713A1 (en) * | 2017-10-26 | 2019-05-02 | Huawei Technologies Co., Ltd. | Method and apparatus for managing hardware resource access in an electronic device |
CN109740343A (en) * | 2018-12-29 | 2019-05-10 | 百度在线网络技术(北京)有限公司 | The authority control method and device of application |
CN109815680A (en) * | 2018-12-27 | 2019-05-28 | 歌尔股份有限公司 | Management method, device, terminal device and the storage medium of application permission |
CN110532764A (en) * | 2019-08-19 | 2019-12-03 | 维沃移动通信有限公司 | A kind of method, mobile terminal and the readable storage medium storing program for executing of permission processing |
CN111124224A (en) * | 2019-12-12 | 2020-05-08 | 维沃移动通信有限公司 | Application program control method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404727A (en) * | 2011-11-24 | 2012-04-04 | 中兴通讯股份有限公司 | Method and device for safety control of mobile terminal |
US20130055401A1 (en) * | 2011-08-24 | 2013-02-28 | Pantech Co., Ltd. | Terminal and method for providing risk of application using the same |
CN103617380A (en) * | 2013-11-28 | 2014-03-05 | 北京邮电大学 | Application program authority dynamic control method and system |
CN103761472A (en) * | 2014-02-21 | 2014-04-30 | 北京奇虎科技有限公司 | Application program accessing method and device based on intelligent terminal |
CN103761471A (en) * | 2014-02-21 | 2014-04-30 | 北京奇虎科技有限公司 | Application program installation method and device based on intelligent terminal |
CN103905651A (en) * | 2014-04-30 | 2014-07-02 | 北京邮电大学 | Method and system for application permission management in intelligent terminal |
-
2016
- 2016-05-11 CN CN201610312456.0A patent/CN106022091A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055401A1 (en) * | 2011-08-24 | 2013-02-28 | Pantech Co., Ltd. | Terminal and method for providing risk of application using the same |
CN102404727A (en) * | 2011-11-24 | 2012-04-04 | 中兴通讯股份有限公司 | Method and device for safety control of mobile terminal |
CN103617380A (en) * | 2013-11-28 | 2014-03-05 | 北京邮电大学 | Application program authority dynamic control method and system |
CN103761472A (en) * | 2014-02-21 | 2014-04-30 | 北京奇虎科技有限公司 | Application program accessing method and device based on intelligent terminal |
CN103761471A (en) * | 2014-02-21 | 2014-04-30 | 北京奇虎科技有限公司 | Application program installation method and device based on intelligent terminal |
CN103905651A (en) * | 2014-04-30 | 2014-07-02 | 北京邮电大学 | Method and system for application permission management in intelligent terminal |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106980792A (en) * | 2017-03-31 | 2017-07-25 | 联想(北京)有限公司 | A kind of control method of application permission, electronic equipment and server |
CN108875353A (en) * | 2017-05-15 | 2018-11-23 | 中国移动通信有限公司研究院 | A kind of management method and device of the preset application of terminal |
CN111247520A (en) * | 2017-10-26 | 2020-06-05 | 华为技术有限公司 | Method and apparatus for managing hardware resource access in an electronic device |
JP7020630B2 (en) | 2017-10-26 | 2022-02-16 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Methods and equipment for managing hardware resource access in electronic devices |
WO2019080713A1 (en) * | 2017-10-26 | 2019-05-02 | Huawei Technologies Co., Ltd. | Method and apparatus for managing hardware resource access in an electronic device |
US12056240B2 (en) | 2017-10-26 | 2024-08-06 | Futurewei Technologies, Inc. | Method and apparatus for managing hardware resource access in an electronic device |
CN111247520B (en) * | 2017-10-26 | 2022-08-19 | 华为技术有限公司 | Method and apparatus for managing hardware resource access in an electronic device |
US10853490B2 (en) | 2017-10-26 | 2020-12-01 | Futurewei Technologies, Inc. | Method and apparatus for managing hardware resource access in an electronic device |
JP2021500641A (en) * | 2017-10-26 | 2021-01-07 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Methods and equipment for managing hardware resource access in electronic devices |
CN108710795A (en) * | 2018-04-18 | 2018-10-26 | Oppo广东移动通信有限公司 | Information cuing method, device, mobile terminal and storage medium |
CN108647070B (en) * | 2018-04-18 | 2022-02-22 | Oppo广东移动通信有限公司 | Information reminding method and device, mobile terminal and computer readable medium |
CN108647070A (en) * | 2018-04-18 | 2018-10-12 | Oppo广东移动通信有限公司 | Information prompting method, device, mobile terminal and computer-readable medium |
CN109344634A (en) * | 2018-09-28 | 2019-02-15 | 东软集团股份有限公司 | Permission giving method, device, terminal and the computer readable storage medium of application |
CN109344634B (en) * | 2018-09-28 | 2021-04-13 | 东软集团股份有限公司 | Permission granting method and device for application, terminal and computer readable storage medium |
CN109815680A (en) * | 2018-12-27 | 2019-05-28 | 歌尔股份有限公司 | Management method, device, terminal device and the storage medium of application permission |
CN109815680B (en) * | 2018-12-27 | 2021-08-31 | 歌尔股份有限公司 | Application authority management method and device, terminal equipment and storage medium |
CN109740343A (en) * | 2018-12-29 | 2019-05-10 | 百度在线网络技术(北京)有限公司 | The authority control method and device of application |
CN110532764A (en) * | 2019-08-19 | 2019-12-03 | 维沃移动通信有限公司 | A kind of method, mobile terminal and the readable storage medium storing program for executing of permission processing |
CN111124224B (en) * | 2019-12-12 | 2021-08-10 | 维沃移动通信有限公司 | Application program control method and electronic equipment |
CN111124224A (en) * | 2019-12-12 | 2020-05-08 | 维沃移动通信有限公司 | Application program control method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106022091A (en) | Authorization method and device of application program | |
US11188870B1 (en) | Machine or group of machines for monitoring location of a vehicle or freight carried by a vehicle | |
CN109600306B (en) | Method, device and storage medium for creating session | |
US10667151B2 (en) | Coverage solution recommendation tool | |
CN104516783B (en) | Authority control method and device | |
US8800056B2 (en) | Guided implicit authentication | |
CN105491524B (en) | A kind of method and apparatus of determining target portable device location | |
EP3412612B1 (en) | Elevator system, user terminal and apparatus and method for managing the elevator system | |
US10764934B2 (en) | Method, apparatus for terminal device to access wireless network | |
CN106020943A (en) | Application program dual-opening method and device | |
CN109905398A (en) | Cell-phone number, which changes, ties up verification method, device, equipment and storage medium | |
CN110008690A (en) | Right management method, device, equipment and the medium of terminal applies | |
CN107070891B (en) | Service calling method and device | |
CN109325364A (en) | A kind of authority configuring method and electronic equipment | |
CN106815502A (en) | The method and apparatus for checking message | |
EP3113051A1 (en) | Method and apparatus for acquiring search results, computer program and recording medium | |
EP3407247A1 (en) | Method, device, storage medium and computer program for communication processing | |
CN103957514B (en) | Prompt the method and device of user | |
US9888379B2 (en) | Affiliation and disaffiliation of computing devices | |
US8875164B2 (en) | Information processing apparatus and method for controlling information processing apparatus | |
CN105574402A (en) | Control method and electronic equipment | |
CN108876309B (en) | Starting method and device of flow form, storage medium and electronic equipment | |
CN106453774A (en) | Method and apparatus for displaying contact information | |
CN108984417A (en) | Method for testing software, device, terminal and storage medium | |
CN109542644B (en) | Application programming interface calling method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161012 |
|
RJ01 | Rejection of invention patent application after publication |