CN106599680A - Application program permission setting method and apparatus, and electronic equipment - Google Patents

Application program permission setting method and apparatus, and electronic equipment Download PDF

Info

Publication number
CN106599680A
CN106599680A CN201611205347.5A CN201611205347A CN106599680A CN 106599680 A CN106599680 A CN 106599680A CN 201611205347 A CN201611205347 A CN 201611205347A CN 106599680 A CN106599680 A CN 106599680A
Authority
CN
China
Prior art keywords
application program
authority
suspended window
arrange
priority assignation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611205347.5A
Other languages
Chinese (zh)
Other versions
CN106599680B (en
Inventor
许佳林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cheetah Mobile Technology Co Ltd
Original Assignee
Beijing Cheetah Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Cheetah Mobile Technology Co Ltd filed Critical Beijing Cheetah Mobile Technology Co Ltd
Priority to CN201611205347.5A priority Critical patent/CN106599680B/en
Publication of CN106599680A publication Critical patent/CN106599680A/en
Application granted granted Critical
Publication of CN106599680B publication Critical patent/CN106599680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring 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

Abstract

Embodiments of the invention disclose an application program permission setting method and apparatus, and electronic equipment, relate to a permission setting technology, and can improve application program permission setting efficiency. The application program permission setting method comprises the steps of displaying a preset floating window to guide a user to set an auxiliary function permission of an application program after an application program permission setting request is received, wherein the application program permission setting request is automatically generated when permission needs to be set in an installation process of the application program; and after the auxiliary function permission of the application program is completely set, setting other permissions required by the application program in a simulation click manner. The application program permission setting method disclosed by the invention is applicable to application program permission setting through permission-guided animation and simulation click.

Description

A kind of method that application program authority is set, device and electronic equipment
Technical field
The present invention relates to priority assignation technology, more particularly to a kind of method that application program authority is set, device and electronics Equipment.
Background technology
With compunication and the development of Internet technology, increasing people possess can with wired internet, And/or, the electronic equipment of wireless Internet networking, such as panel computer, personal digital assistant, palm PC, intelligent sliding galvanic electricity Words etc..And as user is to the multifarious demand of business, install types of applications program in the electronic device (APP, Application it is) also more and more, for example, QQ, wechat, Word, Whatsapp, Facebook, Line etc..For maximum limit Degree ground ensures the privacy information of user, and types of applications program is required for arranging one or more System Privileges when installing, For example, for some positioning application program, need arrange System Privileges have collection user profile authority, user positioning authority, User profile Share Permissions etc., in application program installation process, after only user arranges corresponding authority, application program ability Corresponding function is realized normally.
But user's opens voluntarily permission configuration interface is needed when application program authority is set, and in permission configuration interface, Seriatim click on the authority for arranging that application program needs so that the complex operation of authority is set, the required time is longer, and authority sets Put less efficient.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method for arranging application program authority, device and electronic equipment, energy The enough setting efficiency for effectively lifting authority, to solve, in the existing method for arranging application program authority, to need user voluntarily to beat Open permission configuration interface, and seriatim click on corresponding authority is set caused by the complex operation of authority is set, required time compared with It is long, the less efficient problem of priority assignation.
In a first aspect, the embodiment of the present invention provides a kind of method for arranging application program authority, including:
After the request of application program priority assignation is received, it is described to guide user to arrange to show the suspended window for pre-setting The miscellaneous function authority of application program, the application program priority assignation request need to arrange in installation process for application program Automatically generate during authority;
After the completion of the miscellaneous function priority assignation of the application program, the application journey is set in the way of simulating click Other authorities that sequence needs.
It is with reference in a first aspect, in the first embodiment of first aspect, described to show the suspended window bag for pre-setting Include:
The play right guiding animation in the suspended window, the authority guiding flash demo arrange the application program The process of the miscellaneous function authority.
With reference to the first embodiment of first aspect, in second embodiment of first aspect, in the suspension In window, play right guiding animation includes:The suspended window is set, the authority guiding animation is drawn in the suspended window.
With reference in a first aspect, in the third embodiment of first aspect, methods described also includes:
Assistant service class and assistant service configuration file are created, assistant service is registered.
It is with reference in a first aspect, in the 4th kind of embodiment of first aspect, described that in the way of simulating and click on, institute is set Before stating other authorities of application program needs, including:
Judge whether to arrange the miscellaneous function authority of the application program, if it is, performing in the way of simulating click The step of arranging other authorities that the application program needs, otherwise performs and shows the suspended window for pre-setting to guide user to set The step of putting the miscellaneous function authority of the application program.
With reference in a first aspect, in the 5th kind of embodiment of first aspect, weighing in the miscellaneous function of the application program After limit is provided with, also include:Eliminate the suspended window.
It is with reference in a first aspect, in the 6th kind of embodiment of first aspect, described that in the way of simulating and click on, institute is set Other authorities of application program needs are stated, including:
Monitoring system event, when the event for priority assignation window occur is listened to, obtains in the priority assignation window The corresponding user interface node of other authorities that the application program needs, is simulated point according to the user interface node Hit.
It is with reference to the first embodiment of first aspect, in the 7th kind of embodiment of first aspect, described to show Include after the suspended window for pre-setting:
Monitor that user arranges miscellaneous function authority in authority guiding animation, arranged from the miscellaneous function automatically All permissions after authority, eliminate the suspended window;
Judge that current application program needs whether the authority for arranging is the miscellaneous function authority, if it is, performing with mould The step of mode that plan is clicked on arranges other authorities that the application program needs.
With reference in a first aspect, in the 8th kind of embodiment of first aspect, it is described show the suspended window for pre-setting after Including:
Show that the application program installs required authority in the suspended window;
Monitor that user is arranged after authority finishes in the suspended window, eliminate the suspended window.
With reference to the first embodiment or second embodiment of first aspect, first aspect, the of first aspect In nine kinds of embodiments, methods described also includes:
Also show that in the suspended window that the other application programs being associated with the application program are required respectively when installing Authority;
Obtain user and authority required when the other application programs are installed is chosen in the suspended window, building other should With the mapping relations of program and authorization privilege and store.
It is with reference to the 9th kind of embodiment of first aspect, in the tenth kind of embodiment of first aspect, described to receive To after the request of application program priority assignation, show the suspended window for pre-setting to guide user to arrange the auxiliary of the application program Before function privilege, described the method also includes:
The mapping relations with the presence or absence of the application program corresponding with the application program priority assignation request are inquired about, if No, perform the step for showing the suspended window for pre-setting to guide the miscellaneous function authority of user's setting application program Suddenly, if it has, the inquiry application program priority assignation asks the mapping relations of corresponding application program, obtain the mapping The authorization privilege of relationship map, performs the step of other authorities of the application program needs are arranged in the way of simulating click.
Second aspect, the embodiment of the present invention provide a kind of device for arranging application program authority, including:Suspended window shows mould Block and priority assignation module, wherein,
Suspended window display module, for, after the request of application program priority assignation is received, showing the suspension for pre-setting To guide user to arrange the miscellaneous function authority of the application program, the application program priority assignation request is application program to window Need to automatically generate when arranging authority in installation process;
Priority assignation module, for after the completion of the miscellaneous function priority assignation of the application program, to simulate click Mode arranges other authorities that the application program needs.
With reference to second aspect, in the first embodiment of second aspect, the suspended window display module includes:Request Receiving unit and display unit, wherein,
Request reception unit, for, after the request of application program priority assignation is received, notifying display unit;
Display unit, for the play right guiding animation in the suspended window, the authority guiding flash demo is arranged The process of the miscellaneous function authority of the application program.
It is with reference to the first embodiment of second aspect, in second embodiment of second aspect, described to show list The authority guiding animation is drawn in the suspended window specifically for arranging the suspended window by unit, and the authority guides animation The process of the miscellaneous function authority of application program described in demonstrate set.
With reference to second aspect, in the third embodiment of second aspect, described device also includes:
Creation module, for creating assistant service class and assistant service configuration file, registers assistant service.
With reference to second aspect, in the 4th kind of embodiment of second aspect, described device also includes:
Miscellaneous function authority judge module, for judging whether to arrange the miscellaneous function authority of the application program, such as Fruit is to notify that priority assignation module performs other authorities for arranging that in the way of simulating click the application program needs, otherwise Notify that suspended window display module is performed to show the suspended window for pre-setting to guide user to arrange the auxiliary work(of the application program Can authority.
With reference to second aspect, in the 5th kind of embodiment of second aspect, described device also includes:
Cancellation module, for, after the completion of the miscellaneous function priority assignation of the application program, eliminating the suspended window.
With reference to second aspect, in the 6th kind of embodiment of second aspect, the priority assignation module, specifically for After the completion of the miscellaneous function priority assignation of the application program, there is priority assignation window when listening in monitoring system event During event, the corresponding user interface node of other authorities that application program needs described in the priority assignation window, root are obtained It is simulated according to the user interface node and clicks on.
With reference to the 6th kind of embodiment of second aspect, in the 7th kind of embodiment of second aspect, the authority sets Putting module includes:Unit is clicked in monitoring means and simulation, wherein,
Monitoring means, for monitoring that user arranges miscellaneous function authority in authority guiding animation, are arranged automatically All permissions from after the miscellaneous function authority, eliminate the suspended window;
Unit is clicked in simulation, for judging that current application program needs whether the authority for arranging is the miscellaneous function power Limit, if it is, other authorities that the application program needs are arranged in the way of simulating and click on.
With reference to the 6th kind of embodiment of second aspect, in the 8th kind of embodiment of second aspect, the authority sets Putting module includes:Authority display unit and elimination unit, wherein,
Authority display unit, for showing that in the suspended window application program installs required authority;
Unit is eliminated, for monitoring that user is arranged after authority finishes in the suspended window, the elimination suspended window.
With reference to the 6th kind or the 7th kind or the 8th kind of embodiment of second aspect, in the 9th kind of embodiment party of second aspect In formula, described device also includes:
Affiliate application setup module, for showing other that be associated with the application program in the suspended window When application program is installed during authority required respectively, obtain user and the other application programs installation is chosen in the suspended window The authority of Shi Suoxu, builds the mapping relations of other application programs and authorization privilege and stores.
With reference to the 9th kind of embodiment of second aspect, in the tenth kind of embodiment of second aspect, the described device Also include:
Priority assignation enquiry module, should with the presence or absence of corresponding with the application program priority assignation request for inquiry With the mapping relations of program, if it did not, notifying that suspended window display module shows the suspended window for pre-setting to guide user to set The miscellaneous function authority of the application program is put, if it has, the inquiry application program priority assignation asks corresponding application The mapping relations of program, obtain the authorization privilege of the mapping relations mapping, notify priority assignation module to simulate the side of click Formula arranges other authorities that the application program needs.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes:Housing, processor, deposit Reservoir, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memorizer are arranged On circuit boards;Power circuit, powers for each circuit or device for above-mentioned electronic equipment;Memorizer is used to store and can hold Line program code;Processor is run and executable program code pair by reading the executable program code stored in memorizer The program answered, for performing following operation:
After the request of application program priority assignation is received, it is described to guide user to arrange to show the suspended window for pre-setting The miscellaneous function authority of application program, the application program priority assignation request need to arrange in installation process for application program Automatically generate during authority;
After the completion of the miscellaneous function priority assignation of the application program, the application journey is set in the way of simulating click Other authorities that sequence needs.
Fourth aspect, the embodiment of the present invention additionally provide a kind of storage medium, for storing application program, the application journey Sequence is used for the method for performing a kind of setting application program authority that the embodiment of the present invention is provided.
In terms of 5th, the embodiment of the present invention additionally provides a kind of application program, is provided for performing the embodiment of the present invention A kind of setting application program authority method.
A kind of method that application program authority is set provided in an embodiment of the present invention, device and electronic equipment, by connecing After receiving the request of application program priority assignation, show the suspended window for pre-setting to guide user to arrange the auxiliary of the application program Function privilege, the application program priority assignation request is helped to be given birth to when needing in installation process and authority is set for application program automatically Into;After the completion of the miscellaneous function priority assignation of the application program, the application program is arranged in the way of simulating click to be needed Other authorities wanted, can effectively lift the setting efficiency of authority, to solve in the existing method for arranging application program authority, User's opens voluntarily permission configuration interface is needed, and it is multiple that the operation of authority is arranged caused by seriatim clicking on setting corresponding authority Miscellaneous, the required time is longer, the less efficient problem of priority assignation.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram that embodiments of the invention one arrange application program authority;
Fig. 2 is the apparatus structure schematic diagram that embodiments of the invention two arrange application program authority;
Fig. 3 is the structural representation of electronic equipment one embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is the method flow schematic diagram that embodiments of the invention one arrange application program authority, as shown in figure 1, this reality The method for applying example can include:
Step 101, after the request of application program priority assignation is received, shows the suspended window for pre-setting to guide user The miscellaneous function authority of the application program is set, and the application program priority assignation request is application program in installation process Need to automatically generate when arranging authority;
In the present embodiment, in application program installation process, it may be necessary to which user arranges one or more authorities, the authority Allow application program to perform corresponding operation in running for user, for example, collect user profile, carry out user and determine Position, shared user profile etc..
In the present embodiment, used as an alternative embodiment, the method for the present embodiment also includes:Create assistant service class and auxiliary Service profiles, register assistant service.Specifically, newly-built class AccessibilityService classes are inherited, it is newly-built AccessibilityService configuration files, and the registration service in AndroidManifest.
In the present embodiment, as an alternative embodiment, show that the suspended window for pre-setting includes:The right of broadcasting in suspended window Limit guiding animation, the authority guiding flash demo arrange the process of the miscellaneous function authority of application program.
In the present embodiment, as an alternative embodiment, in suspended window, play right guiding animation includes:Arrange and suspend Window, draws authority guiding animation using code in suspended window.In the present embodiment, authority is drawn using code in suspended window and drawn Animation is led, rather than the authority completed using pre-production guides animation, can reduce the size of application program installation kit, mitigates The burden for uploading and downloading, lifts Consumer's Experience.Authority guiding animation can be write as with code, it is also possible to only using the figure of several k Piece, does not both increase the size of application program installation kit, again being capable of relatively effective lifting priority assignation efficiency.
In the present embodiment, used as an alternative embodiment, when application program is attached to need user to arrange authority, triggering adds The suspended window that load pre-sets, and after the miscellaneous function authority of application program is provided with, using simulation click technology, with mould Intend click on mode help user arrange application program needed for other authorities, without the need for user set up applications process In, seriatim click on and corresponding authority is set so that the time arranged needed for authority is short, lift priority assignation efficiency.
In the present embodiment, as an alternative embodiment, suspended window can be loaded onto the top position of application program installation interface Put.
Step 102, after the completion of the miscellaneous function priority assignation of the application program, arranges institute in the way of simulating click State other authorities of application program needs.
In the present embodiment, as an alternative embodiment, arrange that the application program needs in the way of simulating click its Before his authority, including:
Judge whether to arrange the miscellaneous function authority of the application program, if it is, performing in the way of simulating click The step of arranging other authorities that the application program needs, otherwise performs and shows the suspended window for pre-setting to guide user to set The step of putting the miscellaneous function authority of the application program.
Specifically, the settingValue character strings of miscellaneous function are obtained, whether is judged in settingValue character strings Including the bag name of the application program, if the miscellaneous function authority that arranges the application program is determined including if.
In the present embodiment, as an alternative embodiment, after the completion of the miscellaneous function priority assignation of the application program, also Including:Eliminate the suspended window.
It is in the present embodiment, as an alternative embodiment, described that in the way of simulating and click on, the application program needs are set Other authorities, including:
Monitoring system event, when the event for priority assignation window occur is listened to, obtains in the priority assignation window The corresponding user interface node of other authorities that the application program needs, is simulated point according to the user interface node Hit.
In the present embodiment, as an alternative embodiment, include after the suspended window for pre-setting is shown:
A11, monitors that user arranges miscellaneous function authority in authority guiding animation, is arranged from the auxiliary automatically All permissions after function privilege, eliminate the suspended window;
A12, judges that current application program needs whether the authority for arranging is the miscellaneous function authority, if it is, performing The step of other authorities that the application program needs are set in the way of simulating and click on.
In the present embodiment, as an alternative embodiment, authority guides animation to realize using written in code, so, by broadcasting Put and animation is guided with the authority write as by code, in the form of suspended window animation, how can be carried out with the guiding user of simple and clear Priority assignation.
In the present embodiment, user can guide the process of flash demo voluntarily to arrange in interface in system according to authority and arrange Miscellaneous function authority is put, it is also possible to arranges miscellaneous function authority in authority guiding animation, arranges the miscellaneous function in user and weigh After limit, it is possible to use miscellaneous function authority helps user's simulation to click on the several authorities needed for application program, i.e. user only needs to root After according to authority guiding cartoon setting miscellaneous function authority, user can be helped automatically to click on other power for arranging that application program needs Limit, i.e., help user to choose automatically authority by simulating click, clicks on the related claim of setting one by one without the need for user, had both improved power Limit arranges efficiency, enhances Consumer's Experience again.
In the present embodiment, as another alternative embodiment, in suspended window, it is also possible to arrange using word or picture category Guiding user in guiding interface arranges authority, but the method, and the cost that user receives information is slightly higher;Or, using the dynamic of video flowing Guiding interface is drawn, relative to the authority guiding animation write as with code, the animated steering interface of video flowing can increase application program Installation kit.
In the present embodiment, as yet another alternative embodiment, include after the suspended window for pre-setting is shown:
A21, shows that in the suspended window application program installs required authority;
A22, monitors that user is arranged after authority finishes in the suspended window, eliminates the suspended window.
In the present embodiment, as another alternative embodiment, can be associated with the application program with showing in suspended window Other application programs when installing respectively needed for authority, in order to user when such affiliate application is installed, without the need for again It is secondary to carry out priority assignation, required time is installed effectively to lower affiliate application, application program installation effectiveness is lifted.So, The method also includes:
Also show that in the suspended window that the other application programs being associated with the application program are required respectively when installing Authority;
Obtain user and authority required when the other application programs are installed is chosen in the suspended window, building other should With the mapping relations of program and authorization privilege and store.
It is in the present embodiment, as an alternative embodiment, described after the request of application program priority assignation is received, show pre- The suspended window for first arranging is so that, before guiding user to arrange the miscellaneous function authority of the application program, the method also includes:
The mapping relations with the presence or absence of the application program corresponding with the application program priority assignation request are inquired about, if No, perform the step for showing the suspended window for pre-setting to guide the miscellaneous function authority of user's setting application program Suddenly, if it has, the inquiry application program priority assignation asks the mapping relations of corresponding application program, obtain the mapping The authorization privilege of relationship map, performs the step of other authorities of the application program needs are arranged in the way of simulating click.
The method that the present embodiment arranges application program authority, after the request of application program priority assignation is received, shows pre- , to guide user to arrange the miscellaneous function authority of the application program, the application program priority assignation please for the suspended window for first arranging Ask and automatically generate when needing in installation process and authority is set for application program;Set in the miscellaneous function authority of the application program After the completion of putting, other authorities that the application program needs are set in the way of simulating click.So, clicked on using simulation automatic Multiple authorities of application program are set, so as to realize that the associated rights in application program installation process are arranged, without the need for user in peace During dress application program, seriatim click on and corresponding authority is set, be effectively simplified the operating procedure that authority is set so that set The time put needed for authority is short, priority assignation efficiency high.
Embodiment two
Fig. 2 is the apparatus structure schematic diagram that embodiments of the invention two arrange application program authority, as shown in Fig. 2 this reality The device for applying example can include:Suspended window display module 21 and priority assignation module 22, wherein,
Suspended window display module 21, for, after the request of application program priority assignation is received, it is outstanding that displaying pre-sets To guide user to arrange the miscellaneous function authority of the application program, the application program priority assignation request is to apply journey to floating window Sequence needs to automatically generate when arranging authority in installation process;
In the present embodiment, used as an alternative embodiment, the device of the present embodiment also includes:
Creation module (not shown), for creating assistant service class and assistant service configuration file, registration auxiliary clothes Business.Specifically, newly-built class AccessibilityService classes are inherited, newly-built AccessibilityService configurations text Part, and the registration service in AndroidManifest.
In the present embodiment, used as an alternative embodiment, suspended window display module 21 includes:Request reception unit and displaying Unit (not shown), wherein,
Request reception unit, for, after the request of application program priority assignation is received, notifying display unit;
Display unit, for the play right guiding animation in the suspended window, the authority guiding flash demo is arranged The process of the miscellaneous function authority of the application program.
In the present embodiment, as an alternative embodiment, the display unit specifically for arranging suspended window, in suspended window Authority guiding animation is drawn using code.In the present embodiment, authority guiding animation is drawn using code in suspended window, rather than The authority completed using pre-production guides animation, can reduce the size of application program installation kit, mitigates what is uploaded and download Burden, lifts Consumer's Experience.
In the present embodiment, as an alternative embodiment, suspended window can be loaded onto the top position of application program installation interface Put.
Priority assignation module 22, for after the completion of the miscellaneous function priority assignation of the application program, to simulate click Mode other authorities that the application program needs are set.
In the present embodiment, used as an alternative embodiment, described device also includes:
Miscellaneous function authority judge module (not shown), for judging whether to arrange the auxiliary of the application program Function privilege, if it is, notifying that priority assignation module 22 is performed arranges what the application program needed in the way of simulating click Other authorities, otherwise notify that the suspended window that the 21 execution displaying of suspended window display module pre-sets should described in user's setting to guide With the miscellaneous function authority of program.
Specifically, the settingValue character strings of miscellaneous function are obtained, whether is judged in settingValue character strings Including the bag name of the application program, if the miscellaneous function authority that arranges the application program is determined including if.
In the present embodiment, used as an alternative embodiment, described device also includes:
Cancellation module (not shown), for, after the completion of the miscellaneous function priority assignation of the application program, eliminating The suspended window.
In the present embodiment, used as an alternative embodiment, the priority assignation module 22 is specifically in the application program Miscellaneous function priority assignation after the completion of, monitoring system event, when the event for priority assignation window occur is listened to, obtain institute The corresponding user interface node of other authorities of the needs of application program described in priority assignation window is stated, according to the user interface Node is simulated to be clicked on.
In the present embodiment, used as an alternative embodiment, priority assignation module 22 includes:Monitoring means and simulation are clicked on single First (not shown), wherein,
In the present embodiment, as another alternative embodiment, in suspended window, it is also possible to arrange using word or picture category Guiding user in guiding interface arranges authority.
Monitoring means, for monitoring that user arranges miscellaneous function authority in authority guiding animation, are arranged automatically All permissions from after the miscellaneous function authority, eliminate the suspended window;
Unit is clicked in simulation, for judging that current application program needs whether the authority for arranging is the miscellaneous function power Limit, if it is, other authorities that the application program needs are arranged in the way of simulating and click on.
In the present embodiment, used as another alternative embodiment, priority assignation module 22 includes:Authority display unit and elimination Unit, wherein,
Authority display unit, for showing that in the suspended window application program installs required authority;
Unit is eliminated, for monitoring that user is arranged after authority finishes in the suspended window, the elimination suspended window.
In the present embodiment, as an alternative embodiment, the device also includes:
Affiliate application setup module (not shown), for showing in the suspended window and the application program When associated other application programs are installed respectively needed for authority when, obtain user chooses in the suspended window described in other Application program authority required when installing, builds the mapping relations of other application programs and authorization privilege and stores.
In the present embodiment, as yet another alternative embodiment, the device also includes:
Priority assignation enquiry module (not shown), for inquiry with the presence or absence of with the application program priority assignation please The mapping relations of corresponding application program are sought, if it did not, notifying that suspended window display module 21 shows the suspension for pre-setting Window is to guide user to arrange the miscellaneous function authority of the application program, if it has, the inquiry application program priority assignation please The mapping relations of corresponding application program are sought, the authorization privilege of the mapping relations mapping is obtained, is notified priority assignation module 22 arrange other authorities that the application program needs in the way of simulating click.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and which realizes principle and skill Art effect is similar to, and here is omitted.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or deposit between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence " including ... ", it is not excluded that Also there is other identical element in the process including the key element, method, article or equipment.
Each embodiment in this specification is described by the way of correlation, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.
For especially for device embodiment, as which is substantially similar to embodiment of the method, so the comparison of description is simple Single, related part is illustrated referring to the part of embodiment of the method.
Expression or here logic described otherwise above and/or step, for example, are considered use in flow charts In the order list of the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (as computer based system, the system including processor or other can hold from instruction The system of row system, device or equipment instruction fetch execute instruction) use, or with reference to these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass The dress that defeated program is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium is including following:With the electricity that one or more connect up Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program thereon or other are suitable Medium, because for example by carrying out optical scanning to paper or other media edlin, interpretation can then be entered or if necessary with which His suitable method is processed to electronically obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can be with storages in memory and by suitable instruction execution Software that system is performed or firmware are realizing.For example, if realized with hardware, with another embodiment, can use Any one of following technology well known in the art or their combination are realizing:With for logic work(is realized to data signal The discrete logic of the logic gates of energy, the special IC with suitable combinational logic gate circuit, programmable gate Array (PGA), field programmable gate array (FPGA) etc..
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes the dress described in aforementioned any embodiment Put.
Fig. 3 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve implemented shown in Fig. 1-2 of the present invention The flow process of example, as shown in figure 3, above-mentioned electronic equipment can include:Housing 31, processor 32, memorizer 33, circuit board 34 and electricity Source circuit 35, wherein, circuit board 34 is placed in the interior volume that housing 31 is surrounded, and processor 32 and memorizer 33 are arranged on circuit On plate 34;Power circuit 35, powers for each circuit or device for above-mentioned electronic equipment;Memorizer 33 is used to store and can hold Line program code;Processor 32 is run and executable program generation by reading the executable program code stored in memorizer 33 The corresponding program of code, for performing following operation:
After the request of application program priority assignation is received, it is described to guide user to arrange to show the suspended window for pre-setting The miscellaneous function authority of application program, the application program priority assignation request need to arrange in installation process for application program Automatically generate during authority;
After the completion of the miscellaneous function priority assignation of the application program, the application journey is set in the way of simulating click Other authorities that sequence needs.
Processor 32 to the concrete implementation procedure and processor 32 of above-mentioned steps by run executable program code come The step of further performing, may refer to the description of Fig. 1-2 illustrated embodiments of the present invention, will not be described here.
The electronic equipment is present in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, has calculating and processes work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio frequency, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server:The equipment of the service of calculating is provided, the composition of server includes that processor, hard disk, internal memory, system are total Line etc., server are similar with general computer architecture, but due to needing to provide highly reliable service, therefore processing energy The aspects such as power, stability, reliability, safety, extensibility, manageability require higher.
(5) other have the electronic equipment of data interaction function.
The embodiment of the present invention additionally provides a kind of storage medium, and for storing application program, the application program is used to hold A kind of method of setting application program authority that the row embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of application program, for performing a kind of setting that the embodiment of the present invention is provided The method of application program authority.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, it is to be divided into various units/modules with function to describe respectively to describe apparatus above.Certainly, exist Implement the function of each unit/module can be realized in same or multiple softwares and/or hardware during the present invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that this
Invention can add the mode of required general hardware platform to realize by software.Based on such understanding, the present invention Technical scheme part that substantially in other words prior art is contributed can be embodied in the form of software product, should Computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions use so that One computer equipment (can be personal computer, server, or network equipment etc.) perform each embodiment of the invention or Method described in some parts of person's embodiment.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, the change or replacement that can be readily occurred in all are answered It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. it is a kind of arrange application program authority method, it is characterised in that include:
After the request of application program priority assignation is received, show the suspended window for pre-setting to guide user to arrange the application The miscellaneous function authority of program, the application program priority assignation request need to arrange authority in installation process for application program When automatically generate;
After the completion of the miscellaneous function priority assignation of the application program, the application program is arranged in the way of simulating click to be needed Other authorities wanted.
2. it is according to claim 1 arrange application program authority method, it is characterised in that what the displaying pre-set Suspended window includes:
The play right guiding animation in the suspended window, the authority guiding flash demo arrange the described of the application program The process of miscellaneous function authority.
3. it is according to claim 2 arrange application program authority method, it is characterised in that in the suspended window play Authority guiding animation includes:The suspended window is set, the authority guiding animation is drawn in the suspended window.
4. it is according to claim 1 arrange application program authority method, it is characterised in that methods described also includes:
Assistant service class and assistant service configuration file are created, assistant service is registered.
5. it is according to claim 1 arrange application program authority method, it is characterised in that it is described with simulate click on side Before formula arranges other authorities that the application program needs, including:
Judge whether to arrange the miscellaneous function authority of the application program, if it is, perform arranging in the way of simulating click The step of other authorities that the application program needs, otherwise perform and show the suspended window for pre-setting to guide user to arrange institute The step of stating the miscellaneous function authority of application program.
6. it is a kind of arrange application program authority device, it is characterised in that include:Suspended window display module and priority assignation mould Block, wherein,
Suspended window display module, for after the request of application program priority assignation is received, show the suspended window that pre-sets with Guiding user arranges the miscellaneous function authority of the application program, and the application program priority assignation request is application program in peace Need to automatically generate when arranging authority during dress;
Priority assignation module, for after the completion of the miscellaneous function priority assignation of the application program, in the way of simulating click Other authorities that the application program needs are set.
7. it is according to claim 6 arrange application program authority device, it is characterised in that the suspended window display module Including:Request reception unit and display unit, wherein,
Request reception unit, for, after the request of application program priority assignation is received, notifying display unit;
Display unit, for the play right guiding animation in the suspended window, the authority guiding flash demo arranges described The process of the miscellaneous function authority of application program.
8. it is according to claim 7 arrange application program authority device, it is characterised in that the display unit is specifically used In the suspended window is arranged, the authority guiding animation is drawn in the suspended window, the authority guiding flash demo is arranged The process of the miscellaneous function authority of the application program.
9. it is according to claim 6 arrange application program authority device, it is characterised in that described device also includes:
Creation module, for creating assistant service class and assistant service configuration file, registers assistant service.
10. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Housing, processor, memorizer, circuit board and electricity Source circuit, wherein, circuit board is placed in the interior volume that housing is surrounded, and processor and memorizer are arranged on circuit boards;Power supply Circuit, powers for each circuit or device for above-mentioned electronic equipment;Memorizer is used to store executable program code;Process Device runs program corresponding with executable program code by reading the executable program code stored in memorizer, for holding Row is following to be operated:
After the request of application program priority assignation is received, show the suspended window for pre-setting to guide user to arrange the application The miscellaneous function authority of program, the application program priority assignation request need to arrange authority in installation process for application program When automatically generate;
After the completion of the miscellaneous function priority assignation of the application program, the application program is arranged in the way of simulating click to be needed Other authorities wanted.
CN201611205347.5A 2016-12-22 2016-12-22 Method and device for setting application program permission and electronic equipment Active CN106599680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611205347.5A CN106599680B (en) 2016-12-22 2016-12-22 Method and device for setting application program permission and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611205347.5A CN106599680B (en) 2016-12-22 2016-12-22 Method and device for setting application program permission and electronic equipment

Publications (2)

Publication Number Publication Date
CN106599680A true CN106599680A (en) 2017-04-26
CN106599680B CN106599680B (en) 2020-01-03

Family

ID=58603375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611205347.5A Active CN106599680B (en) 2016-12-22 2016-12-22 Method and device for setting application program permission and electronic equipment

Country Status (1)

Country Link
CN (1) CN106599680B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329659A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Permission setting method and device, electronic equipment and storage medium
CN108093057A (en) * 2017-12-25 2018-05-29 北京金山安全软件有限公司 Method and device for guiding permission to be opened
CN108108607A (en) * 2017-12-27 2018-06-01 深圳豪客互联网有限公司 A kind of application program locking function open method and device
CN109344634A (en) * 2018-09-28 2019-02-15 东软集团股份有限公司 Permission giving method, device, terminal and the computer readable storage medium of application
CN110457921A (en) * 2019-08-01 2019-11-15 维沃移动通信有限公司 Right management method and terminal device
WO2019228492A1 (en) * 2018-05-31 2019-12-05 上海连尚网络科技有限公司 Permission granting method, terminal device, and computer-readable medium
CN111459376A (en) * 2019-01-21 2020-07-28 北京沃东天骏信息技术有限公司 Product guiding method, device and equipment
CN113687902A (en) * 2021-08-30 2021-11-23 广州酷狗计算机科技有限公司 Resource display method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN102917117A (en) * 2012-09-11 2013-02-06 惠州Tcl移动通信有限公司 Operation method and operation system of mobile terminal
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN102917117A (en) * 2012-09-11 2013-02-06 惠州Tcl移动通信有限公司 Operation method and operation system of mobile terminal
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329659A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Permission setting method and device, electronic equipment and storage medium
CN107329659B (en) * 2017-06-30 2020-11-27 北京金山安全软件有限公司 Permission setting method and device, electronic equipment and storage medium
CN108093057A (en) * 2017-12-25 2018-05-29 北京金山安全软件有限公司 Method and device for guiding permission to be opened
CN108108607A (en) * 2017-12-27 2018-06-01 深圳豪客互联网有限公司 A kind of application program locking function open method and device
WO2019228492A1 (en) * 2018-05-31 2019-12-05 上海连尚网络科技有限公司 Permission granting method, terminal device, 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
CN111459376A (en) * 2019-01-21 2020-07-28 北京沃东天骏信息技术有限公司 Product guiding method, device and equipment
CN111459376B (en) * 2019-01-21 2022-04-12 北京沃东天骏信息技术有限公司 Product guiding method, device and equipment
CN110457921A (en) * 2019-08-01 2019-11-15 维沃移动通信有限公司 Right management method and terminal device
CN113687902A (en) * 2021-08-30 2021-11-23 广州酷狗计算机科技有限公司 Resource display method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106599680B (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN106599680A (en) Application program permission setting method and apparatus, and electronic equipment
CN106777184A (en) A kind of page loading method, device and electronic equipment
CN104516783B (en) Authority control method and device
CN103548320B (en) The dangerous safety applied on device performs
CN104008324B (en) Terminal and server and its control method for application security strategy
CN107222485A (en) A kind of authorization method and relevant device
CN106383786A (en) Interface pressure performance testing method and device and electronic equipment
CN104618415A (en) Method, device and system for creating credit account
CN106682028A (en) Method, device and system for obtaining web application
CN104395882A (en) Creation and context-aware presentation of customized emoticon item sets
CN107480518A (en) A kind of white list updating method and device
CN106126248A (en) Method and device for acquiring version information of operating system and electronic equipment
CN104618416A (en) Credit account establishing method, device and system
CN105912362A (en) Method and device for loading plug-in and electronic equipment
CN106908082A (en) Method, apparatus and system for the gyroscope in calibrating terminal
CN104268472B (en) Reduction is by the method and apparatus of third party's dynamic base Modification growth function address
CN104917796A (en) Credit account creating method, system and method
CN108920653A (en) A kind of page generation method, device, server and storage medium
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN106020885A (en) Application providing method and device and electronic equipment
CN104133765A (en) Test case sending method and test case server of network activities
CN106325936A (en) Rapid access method and rapid access system for application program
CN106843947A (en) The treating method and apparatus of aacode defect
CN111385661B (en) Method, device, terminal and storage medium for voice control of full screen playing
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment

Legal Events

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