CN108093057A - Method and device for guiding permission to be opened - Google Patents

Method and device for guiding permission to be opened Download PDF

Info

Publication number
CN108093057A
CN108093057A CN201711424937.1A CN201711424937A CN108093057A CN 108093057 A CN108093057 A CN 108093057A CN 201711424937 A CN201711424937 A CN 201711424937A CN 108093057 A CN108093057 A CN 108093057A
Authority
CN
China
Prior art keywords
permission
terminal
authority information
guiding
information
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
Application number
CN201711424937.1A
Other languages
Chinese (zh)
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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201711424937.1A priority Critical patent/CN108093057A/en
Publication of CN108093057A publication Critical patent/CN108093057A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The invention provides a method and a device for opening a guide authority, which relate to the technical field of computers, wherein the method is applied to a terminal and comprises the following steps: when a preset permission starting triggering condition is reached, sending a request message to a server, wherein the request message carries a terminal identifier of the terminal, receiving permission information corresponding to the terminal identifier sent by the server, wherein the permission information comprises a permission path, and displaying a permission guidance interface according to the permission path. The invention can improve the synchronization efficiency of the whole network.

Description

A kind of method and device that permission is guided to open
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device that permission is guided to open.
Background technology
At present, the species of application program is more and more, and function is also stronger and stronger.Wherein, the part work(in application program Can usually require some permissions of terminal could realize, therefore, in the code of application program can all include to obtain permission Code, application program obtain the permission of terminal by running the code.It is opened for example, the permission of terminal can include camera Permission, the function of application program is scans the two-dimensional code function, and application program needs to obtain camera unlatching permission, to open terminal Camera obtain image in 2 D code, so as to fulfill the function of scanning the two-dimensional code.
In practice, technical staff is frequently necessary to modify to the authority information encapsulated in application program, for example, increase and decrease The authority information in authority information or update encapsulation in encapsulation.For example, technical staff has found that application program is not required to open hand This application of machine camera, by the code deletion of this permission under technical staff's need are online, then reintegrate permission and is encapsulated into application In program, market is published to;For another example, after cell phone system upgrades, change for system program, application program passes through short message Authority information after, it is impossible to access short message this application, technical staff need to descend the code of renewal authority online, and update weighs again afterwards New permission of integrating is published to market into application program.
When the code of the permission in application program needs modification, respectively to each application program under technical staff's need are online In the code of permission modify, reintegrate permission again after modification and be encapsulated into the application program and be published to market again, The Period Process is longer, and it is relatively low to reach the whole network synchronous efficiency.
The content of the invention
The embodiment of the present invention is designed to provide a kind of method and device that permission is guided to open, to improve the whole network synchronization Efficiency.Specific technical solution is as follows:
In a first aspect, providing a kind of method that permission is guided to open, the method is applied to terminal, the method bag It includes:
When reaching default permission unlatching trigger condition, request message is sent to server, is taken in the request message Terminal iidentification with the terminal;
The corresponding authority information of the terminal iidentification that server is sent is received, the authority information includes permission path;
Permission guiding interface is shown according to the permission path.
Optionally, it is described that permission guiding interface is shown according to the permission path, including:
According to pre-stored each corresponding display order of permission and the permission path, each permission pair is shown successively The permission guiding interface answered.
Optionally, the authority information further includes the official documents and correspondence information at each permission guiding interface, described according to the permission road Before footpath shows permission guiding interface, further include:
It is raw according to the official documents and correspondence information at each permission guiding interface and the layout information at pre-stored permission guiding interface Into each permission guiding interface.
Optionally, the authority information further includes the operation guiding information of each permission, and the method further includes:
According to the operation guiding information of each permission and the layout information of pre-stored guiding window, generation includes institute State the guiding window of operation guiding information;
The guiding window is shown on the upper strata at permission guiding interface.
Optionally, it is described to show the guiding window on the upper strata at permission guiding interface, including:
On the upper strata at the permission guiding interface guiding window is shown according to the first pre-set dimension;
When receiving the diminution instruction of the corresponding guiding window, reduced according to the second pre-set dimension and show the guiding Window, second pre-set dimension are less than first pre-set dimension.
Optionally, after the guiding window according to the diminution display of the second pre-set dimension, the method further includes:
When receiving the amplification instruction of the corresponding guiding window, the guiding is shown according to first pre-set dimension Window.
Optionally, the operation guiding information is the navigational figure that display effect is animation effect.
Second aspect, provides a kind of method that permission is guided to open, and the method is applied to server, the method bag It includes:
The request message that terminal is sent is received, the terminal iidentification of the terminal is carried in the request message;
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information, the authority information include permission path;
The authority information determined to terminal transmission.
Optionally, the mark for the permission do not opened is also carried in the request message, it is described according to pre-stored end The correspondence of end mark and authority information, determines the corresponding authority information of the terminal iidentification received, including:
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information;
In the authority information determined, the corresponding authority information of mark of the permission do not opened is determined.
Optionally, the authority information determined to terminal transmission, including:
When the number of the corresponding authority information of the terminal iidentification for determining to receive is multiple, multiple authority informations are carried out It integrates;
The authority information after integrating is sent to the terminal.
Optionally, the method further includes:
Authority information more new command is received, the mesh of target permission to be updated is carried in the authority information more new command Mark fresh information;
According to the target update information, the authority information of the target permission is updated.
Optionally, the authority information further includes the official documents and correspondence information at permission guiding interface and/or the operation guide letter of permission Breath.
The third aspect, provides a kind of device that permission is guided to open, and described device is applied to terminal, described device bag It includes:
Sending module, it is described for when reaching default permission unlatching trigger condition, request message to be sent to server The terminal iidentification of the terminal is carried in request message;
Receiving module, for receiving the corresponding authority information of the terminal iidentification of server transmission, the authority information Including permission path;
First display module, for showing permission guiding interface according to the permission path.
Optionally, first display module, is specifically used for:
According to pre-stored each corresponding display order of permission and the permission path, each permission pair is shown successively The permission guiding interface answered.
Optionally, the authority information further includes the official documents and correspondence information at each permission guiding interface, and described device further includes:
Generation module guides interface for the official documents and correspondence information according to each permission guiding interface and pre-stored permission Layout information, the generation each permission guiding interface.
Optionally, the authority information further includes the operation guiding information of each permission, and described device further includes:
Determining module, for the operation guiding information according to each permission and the layout letter of pre-stored guiding window Breath, generation include the guiding window of the operation guiding information;
Second display module, for showing the guiding window on the upper strata at permission guiding interface.
Optionally, second display module, is specifically used for:
On the upper strata at the permission guiding interface guiding window is shown according to the first pre-set dimension;
When receiving the diminution instruction of the corresponding guiding window, reduced according to the second pre-set dimension and show the guiding Window, second pre-set dimension are less than first pre-set dimension.
Optionally, described device further includes:
3rd display module, it is pre- according to described first for when receiving the amplification instruction of the corresponding guiding window If size shows the guiding window.
Optionally, the operation guiding information is the navigational figure that display effect is animation effect.
Fourth aspect, provides a kind of device that permission is guided to open, and described device is applied to server, described device bag It includes:
For receiving the request message of terminal transmission, the terminal is carried in the request message for first receiving module Terminal iidentification;
Determining module for the correspondence according to pre-stored terminal iidentification and authority information, determines what is received The corresponding authority information of terminal iidentification, the authority information include permission path;
Sending module, for the authority information determined to terminal transmission.
Optionally, the mark for the permission do not opened is also carried in the request message, the determining module is specific to use In:
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information;
In the authority information determined, the corresponding authority information of mark of the permission do not opened is determined.
Optionally, the sending module, is specifically used for:
When the number of the corresponding authority information of the terminal iidentification for determining to receive is multiple, multiple authority informations are carried out It integrates;
The authority information after integrating is sent to the terminal.
Optionally, described device further includes:
Second receiving module for receiving authority information more new command, is carried in the authority information more new command and needed The target update information of newer target permission;
Update module, for according to the target update information, being updated to the authority information of the target permission.
Optionally, the authority information further includes the official documents and correspondence information at permission guiding interface and/or the operation guide letter of permission Breath.
5th aspect, provides a kind of terminal, including processor and machine readable storage medium, the machine readable storage Media storage has the machine-executable instruction that can be performed by the processor, and the processor is by the machine-executable instruction Promote:Realize the method and step described in first aspect.
6th aspect, provides a kind of machine readable storage medium, is stored with machine-executable instruction, by processor tune During with performing, the machine-executable instruction promotes the processor:Realize the method and step described in first aspect.
7th aspect, provides a kind of server, described machine readable to deposit including processor and machine readable storage medium Storage media is stored with the machine-executable instruction that can be performed by the processor, and the processor can perform finger by the machine Order promotes:Realize the method and step described in second aspect.
Eighth aspect provides a kind of machine readable storage medium, is stored with machine-executable instruction, by processor tune During with performing, the machine-executable instruction promotes the processor:Realize the method and step described in second aspect.
In the embodiment of the present invention, all it is for authority information in presence server, also, server only need to be according to terminal mark Know and obtain authority information, that is, multiple application programs can be used in conjunction with the authority information stored in server, it is every without being directed to A application program writes authority information, in this way, when needing modification authority information, technical staff need to only change the power in server Limit information without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves complete Net synchronous efficiency.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of method that permission is guided to open provided in an embodiment of the present invention;
Fig. 2 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of interface display schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Fig. 8 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Fig. 9 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Figure 10 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Figure 11 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Figure 12 is a kind of structure diagram of device that permission is guided to open provided in an embodiment of the present invention;
Figure 13 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Figure 14 is a kind of structure diagram of server provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
An embodiment of the present invention provides a kind of methods that permission is guided to open, and this method can be common by terminal and server It realizes.As shown in Figure 1, this method may comprise steps of:
Step 101, when reaching default permission unlatching trigger condition, terminal to server sends request message.
Wherein, the terminal iidentification of terminal is carried in request message.
In force, can be equipped in terminal for the application program of management terminal permission, such as cheetah cleaning great master Or house keeper QQ etc..When reaching default permission unlatching trigger condition, terminal to server sends request message.Wherein, preset Permission open trigger condition can be it is diversified, for example, terminal can when detecting that user opens the application program, Request message is sent to server;Alternatively, terminal, which can also be detected periodically, whether there is what is do not opened in the application program Permission, if it is present sending request message to server;Alternatively, user, after terminal opens the application program, terminal can be shown Show the primary interface (can be described as rudimentary interface) of the application program, the permission to be opened can be shown in the rudimentary interface Identify (such as title or icon etc.), can also show permission open option (such as a key reparation or immediately repair etc.), when with When family is wanted to open permission, user can click on permission and open option (for example clicking on " a key reparation " option), and terminal can then connect Permission open command is received, then can send request message to server.As shown in Fig. 2, it is provided in an embodiment of the present invention The interface schematic diagram at rudimentary interface, wherein, the permission to be opened for garbage files clean permission, harassing and wrecking information intercepting permission and Using secret protection permission.
In addition, terminal can also detect the permission do not opened in the current application program, correspondingly, the request that terminal is sent The mark for the permission do not opened is also carried in message.
Step 102, the request message that server receiving terminal is sent.
In force, server can receive the request message of terminal transmission, and then the request message is parsed, is obtained Take terminal iidentification therein.In force, terminal iidentification can be the type information of terminal, for example, terminal iidentification, that is, model letter Breath can be oppo3.0, Huawei emui5.0 etc..
Step 103, server determines what is received according to pre-stored terminal iidentification and the correspondence of authority information The corresponding authority information of terminal iidentification.
Wherein, authority information can include permission path, and permission path can be for opening the road at permission guiding interface Footpath;In addition, the mark of permission can also be included in authority information.
In force, since the different corresponding authority informations of terminal is different, for example, the mobile phone of certain model is not configured with taking the photograph As head, then it can not use and open camera permission;The access interface of the system program of certain mobile phone not open SMS permission, then can not It is applicable in the permission for accessing SMS.For this purpose, the correspondence of terminal iidentification and authority information can be prestored in server, it should Correspondence can be configured by technical staff.Wherein, a terminal can be related to multiple permissions, correspondingly, a terminal mark The authority information of multiple permissions can be corresponded to by knowing.In addition, in the present solution, an authority information can be suitable for multiple ends simultaneously Application program in end namely different terminals can use identical authority information, so, by storing the terminal iidentification and power The correspondence of limit information, when needing modification authority information, server need to only carry out the authority information in the correspondence Modification, without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves the whole network Synchronous efficiency.
After server gets terminal iidentification, it can be closed according to pre-stored terminal iidentification and the corresponding of authority information System, determines the corresponding authority information of the terminal iidentification.
Optionally, in the case of the mark for the permission do not opened is also carried in request message, correspondingly, step 103 Processing procedure can be as follows:According to pre-stored terminal iidentification and the correspondence of authority information, the end received is determined End identifies corresponding authority information;In the authority information determined, the corresponding permission letter of mark for the permission do not opened is determined Breath.
In force, after server receives request message, which can be parsed, obtains end therein Then the mark of end mark and the permission do not opened can be closed according to pre-stored terminal iidentification and the corresponding of authority information System, determines the corresponding authority information of the terminal iidentification, and then in the authority information determined, determines the mark for the permission do not opened Know corresponding authority information.For example, the corresponding authority information of terminal iidentification is authority information, the authority information of B permissions of A permissions With the authority information of C permissions, the permission do not opened is identified as B, C, then server can obtain the authority information and C of B permissions The authority information of permission.
Step 104, the authority information that server is determined to terminal transmission.
In force, after server gets authority information, the authority information got can be sent to terminal, so that The terminal guides user to open corresponding permission according to the authority information.
Optionally, when the corresponding authority information of the terminal iidentification for determining to receive number for it is multiple when, server can be with Multiple authority informations are integrated, the authority information after integrating then is sent to terminal.
In force, after server gets authority information, if the number of authority information is multiple, server can With the authority information got respectively to terminal transmission, alternatively, server can also integrate the authority information got, A data packet is then packaged as, the data packet of encapsulation is sent to terminal, in this way, server can be once more to terminal transmission A authority information, without sending one by one, so as to improve the efficiency of sending permission information.
Optionally, authority information can also include the official documents and correspondence information at permission guiding interface and/or the operation guide letter of permission Breath.
Step 105, terminal receives the corresponding authority information of terminal iidentification that server is sent, and authority information includes permission road Footpath.
In force, terminal can receive the authority information of server transmission, and then authority information is parsed, and obtain Permission path therein.
Step 106, terminal shows permission guiding interface according to permission path.
In force, for any permission path got, server can obtain its correspondence by the permission path Permission guiding interface interface data, be then based on the interface data got show permission guiding interface.Permission guides boundary It face can be as shown in Figure 3, Figure 4.
Optionally, can be according to the concrete processing procedure at permission path display permission guiding interface:Terminal is according in advance The corresponding display order of each permission of storage and permission path show the corresponding permission guiding interface of each permission successively.
In force, different permissions can correspond to different permission guiding interfaces, and each power can be prestored in terminal Corresponding display order is limited, alternatively, the corresponding display order of each permission can also be carried by server in authority information, is sent To terminal.Terminal can obtain each permission successively according to the corresponding display order of pre-stored each permission and permission path Permission guides the interface data at interface, and shows permission guiding interface based on the interface data got.For example, permission is corresponding Display order is A, B, C, then after terminal gets the permission path of these three permissions, first according to the permission path of A permissions, obtains The interface data at the corresponding permission guiding interface of A permissions shows and shows the corresponding permission guiding circle of A permissions according to the interface data Face;User can then be operated in the permission guides interface, to open A permissions;Then, terminal is further according to the power of B permissions Path is limited, the interface data at the corresponding permission guiding interface of B permissions is obtained, shows and show that B permissions correspond to according to the interface data Permission guiding interface;User can then be operated in the permission guides interface, to open B permissions, and so on.
Optionally, authority information further includes the official documents and correspondence information at each permission guiding interface, correspondingly, terminal is according to permission road Before footpath shows permission guiding interface, the official documents and correspondence information at interface and pre-stored permission can also be guided to guide according to each permission The layout information at interface generates each permission guiding interface.
In force, in order to reduce the data volume of the application program, the official documents and correspondence information at interface can be guided to deposit each permission In the server, after server receives the request message of terminal transmission, each permission can be guided interface by server for storage Official documents and correspondence information is added in authority information, is then sent to terminal.After terminal receives authority information, can to authority information into Row parsing obtains the official documents and correspondence information at each permission guiding interface.The layout information at each permission guiding interface can also be obtained in terminal, The layout information can prestore in the terminal, then terminal can be directly from the local layout letter for reading each permission guiding interface Breath.Alternatively, the layout information at each permission guiding interface can also store in the server, then each permission is guided interface by server Layout information and official documents and correspondence information be added to authority information, be then sent to terminal.
After terminal gets each permission guiding layout information at interface and official documents and correspondence information, interface is guided for any permission, Terminal can guide the layout information at interface according to the permission, guide the official documents and correspondence information at interface is corresponding to be added to this permission In the frame at permission guiding interface, so as to generate permission guiding interface, subsequently to be shown.
Optionally, authority information further includes the operation guiding information of each permission, and terminal can draw according to the operation of each permission The layout information of information and pre-stored guiding window is led, generation includes the guiding window of operation guiding information, then weighing The upper strata display guiding window at limit guiding interface.
In force, in order to which user is preferably guided to open permission, terminal can be with display operation guidance information, so that user It is convenient to know the concrete operations for opening permission.Meanwhile the data volume of the application program is reduced, it can be by the operation guiding information It stores in server, terminal is sent to when user needs to open permission, then by server.Specific processing procedure can be with For:After server receives the request message of terminal transmission, the operation guiding information of permission can be added to power by server In limit information, terminal is then sent to.After terminal receives authority information, authority information can be parsed, obtain permission Operation guiding information.The layout information of guiding window can also be prestored in terminal, and then according to the layout information, it will be each The operation guiding information of permission is respectively added in the window frame of corresponding guiding window, is believed so as to generate comprising operation guide The guiding window of breath.It should be noted that the opening operation of different permissions can be identical or different, phase It answers, if identical, terminal can only generate a guiding window, if it is different, then terminal can be directed to different permissions, it is raw Into different guiding windows.
When terminal shows that the permission of certain permission guides interface, terminal can obtain the guiding window of the generated permission Mouthful, then the guiding window is shown on the upper strata at permission guiding interface.
Optionally, user can adjust the size of guiding window according to the needs of oneself, and specific processing procedure can be as Under:Terminal shows guiding window on the upper strata at permission guiding interface according to the first pre-set dimension;Guiding window is corresponded to when receiving Diminution instruction when, terminal reduces display guiding window according to the second pre-set dimension, and the second pre-set dimension is less than the first default ruler It is very little.
In force, terminal can guide the upper strata at interface to show guiding window according to the first pre-set dimension in permission, such as Shown in Fig. 3, which may be displayed on the intermediate region at permission guiding interface.User can watch the behaviour in guiding window Make guidance information, to know the operation for how carrying out opening permission.After user watches, the guiding window, example can be reduced Such as, user can click on other regions in addition to the guiding window in permission guiding interface;Alternatively, it is shown in guiding window Option is reduced, user can click on the diminution option;Alternatively, user can also double-click the guiding window.Terminal detects correspondence During the diminution instruction of the guiding window, display guiding window can be reduced according to the second pre-set dimension, for example, terminal can be according to the Two pre-set dimensions show the guiding window, as shown in Figure 4 in the lower left corner at permission guiding interface or the lower right corner.Wherein, second is pre- If size is less than the first pre-set dimension.
In this way, when user need not watch operation guiding information, guiding window can be reduced, this is avoided to block permission and is drawn Interface is led, to carry out opening the operation of permission.
Optionally, after user reduces guiding window, guiding window can also be amplified, correspondingly, the processing procedure of terminal can With as follows:When receiving the amplification instruction of corresponding guiding window, terminal shows guiding window according to the first pre-set dimension.
In force, after terminal reduces display guiding window according to the second pre-set dimension, if user needs to review behaviour Make guidance information, then can amplify the guiding window, for example, user can click on the guiding window;Alternatively, it is shown in guiding window Amplification option is shown with, user can click on the amplification option;Alternatively, user can also double-click the guiding window.Terminal detects During the amplification instruction of the corresponding guiding window, guiding window can be shown according to the first pre-set dimension, for example, terminal can be in permission The upper strata of the intermediate region at interface is guided, the guiding window is shown according to the first pre-set dimension.
In this way, if user forgets how to open permission, viewing operation guiding information can be repeated, so as to improve user's body It tests.
It should be noted that operation guiding information is the navigational figure that display effect can be animation effect.It so can be with The concrete operations of permission are opened in vivid displaying, so as to improve user experience.
In addition, after user's end operation, if a terminal detects that current also have the permission do not opened, then can show Secondary-confirmation interface, as shown in figure 5, be the schematic diagram at secondary-confirmation interface, the upper strata at secondary-confirmation interface can show it is secondary really Recognize window, the body prompt message that user is prompted to open permission is shown in secondary-confirmation window, do not opened so that user is prompted to open Permission.
In practice, the permission in terminal, which can be divided into, can determine whether permission and not can determine whether permission, wherein, it can determine whether that permission is Only it may determine that whether user opens a certain permission in the application;Not can determine whether permission is only in the application can not To judge whether user opens a certain permission.When, there are during different types of permission, interface display is different in terminal simultaneously , specifically there is situations below:
Situation 1, the manually opened permission of user, the permission in terminal is that can determine whether permission, and user carries out each permission Opening operation, then after the completion of user's operation, terminal can detect that whole permissions are opened, and then show high-level interface, advanced boundary It face can be as shown in Figure 6.
Situation 2:The manually opened permission of user, the permission in terminal is that can determine whether permission, and user only opens part power Limit, then after the completion of user's operation, terminal can detect the presence of non-permission and open, and then show rudimentary interface.
Situation 3:User's manually opened permission exists in terminal and not can determine whether permission and do not open not can determine whether permission, then After the completion of user's operation, terminal can show secondary-confirmation interface, if user, which confirms, opens whole permissions, show such as Fig. 6 institutes Otherwise the high-level interface shown, shows rudimentary interface.
Situation 4:The manually opened permission of user, the permission in terminal is that not can determine whether permission and do not open, then user After the completion of operation, terminal can show secondary-confirmation interface, if user, which confirms, opens whole permissions, show as shown in Figure 6 Otherwise high-level interface, shows rudimentary interface.
Situation 5:Manually opened, multiple permissions not can determine whether, has permission unlatching, has permission and do not open.
The manually opened permission of user, the permission in terminal is that not can determine whether permission, wherein there is the permission do not opened, then After the completion of user's operation, terminal can show secondary-confirmation interface, if user, which confirms, opens whole permissions, show such as Fig. 6 institutes Otherwise the high-level interface shown, shows rudimentary interface.
Optionally, technical staff can modify to the authority information in server, correspondingly, server is treated Journey can be as follows:Authority information more new command is received, the mesh of target permission to be updated is carried in authority information more new command Mark fresh information;According to target update information, the authority information of target permission is updated.
In force, when technical staff needs to modify to certain authority information, technical staff can be in management terminal Middle selection needs newer permission (i.e. target permission), and inputs updated authority information (i.e. target update information), manages Terminal can then obtain the mark of target permission and target update information, then generate authority information more new command, and permission is believed Breath more new command is sent to server.It, can be to the authority information more new command after server receives authority information more new command It is parsed, the mark of target permission and target update information is obtained, then according to the target update information, to target permission Authority information is updated.
In the embodiment of the present invention, all it is for authority information in presence server, also, server only need to be according to terminal mark Know and obtain authority information, that is, multiple application programs can be used in conjunction with the authority information stored in server, it is every without being directed to A application program writes authority information, in this way, when needing modification authority information, technical staff need to only change the power in server Limit information without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves complete Net synchronous efficiency.
Based on identical technical concept, as shown in fig. 7, the embodiment of the present invention additionally provides a kind of dress that permission is guided to open It puts, device is applied to terminal, and device includes:
Sending module 710, for when reaching default permission unlatching trigger condition, request message to be sent to server, The terminal iidentification of terminal is carried in request message;
Receiving module 720, for receiving the corresponding authority information of terminal iidentification of server transmission, authority information includes power Limit path;
First display module 730, for showing permission guiding interface according to permission path.
Optionally, the first display module 730, is specifically used for:
According to the corresponding display order of pre-stored each permission and permission path, the corresponding permission of each permission is shown successively Guide interface.
Optionally, as shown in figure 8, authority information further includes the official documents and correspondence information at each permission guiding interface, device further includes:
Generation module 740, for the official documents and correspondence information at interface and pre-stored permission to be guided to guide interface according to each permission Layout information, generate each permission guiding interface.
Optionally, as shown in figure 9, authority information further includes the operation guiding information of each permission, device further includes:
Determining module 750, for the operation guiding information according to each permission and the layout letter of pre-stored guiding window Breath, generation include the guiding window of operation guiding information;
Second display module 760, in the upper strata display guiding window at permission guiding interface.
Optionally, the second display module 760, is specifically used for:
On the upper strata at permission guiding interface guiding window is shown according to the first pre-set dimension;
When receiving the diminution instruction of corresponding guiding window, display guiding window is reduced according to the second pre-set dimension, the Two pre-set dimensions are less than the first pre-set dimension.
Optionally, as shown in Figure 10, device further includes:
3rd display module 770, for when receiving the amplification instruction of corresponding guiding window, according to the first pre-set dimension Display guiding window.
Optionally, operation guiding information is the navigational figure that display effect is animation effect.
In the embodiment of the present invention, all it is for authority information in presence server, also, server only need to be according to terminal mark Know and obtain authority information, that is, multiple application programs can be used in conjunction with the authority information stored in server, it is every without being directed to A application program writes authority information, in this way, when needing modification authority information, technical staff need to only change the power in server Limit information without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves complete Net synchronous efficiency.
Based on identical technical concept, as shown in figure 11, the embodiment of the present invention additionally provides what a kind of guiding permission was opened Device, device are applied to server, and device includes:
First receiving module 1110 for receiving the request message of terminal transmission, carries the end of terminal in request message End mark;
Determining module 1120 for the correspondence according to pre-stored terminal iidentification and authority information, determines to receive The corresponding authority information of terminal iidentification arrived, authority information include permission path;
Sending module 1130, for the authority information determined to terminal transmission.
Optionally, the mark for the permission do not opened is also carried in request message, determining module 1120 is specifically used for:
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information;
In the authority information determined, the corresponding authority information of mark for the permission do not opened is determined.
Optionally, sending module 1130 are specifically used for:
When the number of the corresponding authority information of the terminal iidentification for determining to receive is multiple, multiple authority informations are carried out It integrates;
The authority information after integrating is sent to terminal.
Optionally, as shown in figure 12, device further includes:
Second receiving module 1140 for receiving authority information more new command, is carried in authority information more new command and needed The target update information of newer target permission;
Update module 1150, for according to target update information, being updated to the authority information of target permission.
Optionally, authority information further includes the official documents and correspondence information at permission guiding interface and/or the operation guiding information of permission.
In the embodiment of the present invention, all it is for authority information in presence server, also, server only need to be according to terminal mark Know and obtain authority information, that is, multiple application programs can be used in conjunction with the authority information stored in server, it is every without being directed to A application program writes authority information, in this way, when needing modification authority information, technical staff need to only change the power in server Limit information without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves complete Net synchronous efficiency.
The embodiment of the present invention additionally provides a kind of terminal, as shown in figure 13, including processor 1301, communication interface 1302, Memory 1303 and communication bus 1304, wherein, processor 1301, communication interface 1302, memory 1303 passes through communication bus 1304 complete mutual communication,
Memory 1303, for storing computer program;
Processor 1301, during for performing the program stored on memory 1303, so that the terminal performs following steps, The step includes:
When reaching default permission unlatching trigger condition, request message is sent to server, is taken in the request message Terminal iidentification with the terminal;
The corresponding authority information of the terminal iidentification that server is sent is received, the authority information includes permission path;
Permission guiding interface is shown according to the permission path.
Optionally, it is described that permission guiding interface is shown according to the permission path, including:
According to pre-stored each corresponding display order of permission and the permission path, each permission pair is shown successively The permission guiding interface answered.
Optionally, the authority information further includes the official documents and correspondence information at each permission guiding interface, described according to the permission road Before footpath shows permission guiding interface, further include:
It is raw according to the official documents and correspondence information at each permission guiding interface and the layout information at pre-stored permission guiding interface Into each permission guiding interface.
Optionally, the authority information further includes the operation guiding information of each permission, and the method further includes:
According to the operation guiding information of each permission and the layout information of pre-stored guiding window, generation includes institute State the guiding window of operation guiding information;
The guiding window is shown on the upper strata at permission guiding interface.
Optionally, it is described to show the guiding window on the upper strata at permission guiding interface, including:
On the upper strata at the permission guiding interface guiding window is shown according to the first pre-set dimension;
When receiving the diminution instruction of the corresponding guiding window, reduced according to the second pre-set dimension and show the guiding Window, second pre-set dimension are less than first pre-set dimension.
Optionally, after the guiding window according to the diminution display of the second pre-set dimension, the method further includes:
When receiving the amplification instruction of the corresponding guiding window, the guiding is shown according to first pre-set dimension Window.
Optionally, the operation guiding information is the navigational figure that display effect is animation effect.
The embodiment of the present invention additionally provides a kind of server, as shown in figure 14, including processor 1401, communication interface 1402nd, memory 1403 and communication bus 1404, wherein, processor 1401, communication interface 1402, memory 1403 passes through communication Bus 1404 completes mutual communication,
Memory 1403, for storing computer program;
Processor 1401, during for performing the program stored on memory 1403, so that the server performs following step Suddenly, which includes:
The request message that terminal is sent is received, the terminal iidentification of the terminal is carried in the request message;
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information, the authority information include permission path;
The authority information determined to terminal transmission.
Optionally, the mark for the permission do not opened is also carried in the request message, it is described according to pre-stored end The correspondence of end mark and authority information, determines the corresponding authority information of the terminal iidentification received, including:
According to pre-stored terminal iidentification and the correspondence of authority information, determine that the terminal iidentification received is corresponding Authority information;
In the authority information determined, the corresponding authority information of mark of the permission do not opened is determined.
Optionally, the authority information determined to terminal transmission, including:
When the number of the corresponding authority information of the terminal iidentification for determining to receive is multiple, multiple authority informations are carried out It integrates;
The authority information after integrating is sent to the terminal.
Optionally, the method further includes:
Authority information more new command is received, the mesh of target permission to be updated is carried in the authority information more new command Mark fresh information;
According to the target update information, the authority information of the target permission is updated.
Optionally, the authority information further includes the official documents and correspondence information at permission guiding interface and/or the operation guide letter of permission Breath.
Machine readable storage medium can include RAM (Random Access Memory, random access memory), also may be used To include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.In addition, machine Device readable storage medium storing program for executing can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing, Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.
In the embodiment of the present invention, all it is for authority information in presence server, also, server only need to be according to terminal mark Know and obtain authority information, that is, multiple application programs can be used in conjunction with the authority information stored in server, it is every without being directed to A application program writes authority information, in this way, when needing modification authority information, technical staff need to only change the power in server Limit information without modifying respectively to the authority information in each application program, so as to shorten cycle duration, improves complete Net synchronous efficiency.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.It is real especially for device For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

  1. A kind of 1. method that permission is guided to open, which is characterized in that the method is applied to terminal, the described method includes:
    When reaching default permission unlatching trigger condition, request message is sent to server, is carried in the request message The terminal iidentification of the terminal;
    The corresponding authority information of the terminal iidentification that server is sent is received, the authority information includes permission path;
    Permission guiding interface is shown according to the permission path.
  2. 2. according to the method described in claim 1, it is characterized in that, described show permission guiding circle according to the permission path Face, including:
    According to pre-stored each corresponding display order of permission and the permission path, show that each permission is corresponding successively Permission guides interface.
  3. 3. according to the method described in claim 1, it is characterized in that, the authority information further includes the text at each permission guiding interface Case information, it is described according to the permission path show permission guiding interface before, further include:
    According to the official documents and correspondence information at each permission guiding interface and the layout information at pre-stored permission guiding interface, institute is generated State each permission guiding interface.
  4. A kind of 4. method that permission is guided to open, which is characterized in that the method is applied to server, the described method includes:
    The request message that terminal is sent is received, the terminal iidentification of the terminal is carried in the request message;
    According to pre-stored terminal iidentification and the correspondence of authority information, the corresponding permission of the terminal iidentification received is determined Information, the authority information include permission path;
    The authority information determined to terminal transmission.
  5. 5. a kind of device that permission is guided to open, which is characterized in that described device is applied to terminal, and described device includes:
    Sending module, for when reaching default permission unlatching trigger condition, request message, the request to be sent to server The terminal iidentification of the terminal is carried in message;
    Receiving module, for receiving the corresponding authority information of the terminal iidentification of server transmission, the authority information includes Permission path;
    First display module, for showing permission guiding interface according to the permission path.
  6. 6. a kind of device that permission is guided to open, which is characterized in that described device is applied to server, and described device includes:
    First receiving module for receiving the request message of terminal transmission, carries the end of the terminal in the request message End mark;
    Determining module for the correspondence according to pre-stored terminal iidentification and authority information, determines the terminal received Corresponding authority information is identified, the authority information includes permission path;
    Sending module, for the authority information determined to terminal transmission.
  7. 7. a kind of terminal, which is characterized in that including processor and machine readable storage medium, the machine readable storage medium is deposited The machine-executable instruction that can be performed by the processor is contained, the processor is promoted by the machine-executable instruction: Realize any method and steps of claim 1-3.
  8. 8. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, called and held by processor During row, the machine-executable instruction promotes the processor:Realize any method and steps of claim 1-3.
  9. 9. a kind of server, which is characterized in that including processor and machine readable storage medium, the machine readable storage medium The machine-executable instruction that can be performed by the processor is stored with, the processor is promoted by the machine-executable instruction Make:Realize the method and step described in claim 4.
  10. 10. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and During execution, the machine-executable instruction promotes the processor:Realize the method and step described in claim 4 one.
CN201711424937.1A 2017-12-25 2017-12-25 Method and device for guiding permission to be opened Pending CN108093057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711424937.1A CN108093057A (en) 2017-12-25 2017-12-25 Method and device for guiding permission to be opened

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711424937.1A CN108093057A (en) 2017-12-25 2017-12-25 Method and device for guiding permission to be opened

Publications (1)

Publication Number Publication Date
CN108093057A true CN108093057A (en) 2018-05-29

Family

ID=62179327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711424937.1A Pending CN108093057A (en) 2017-12-25 2017-12-25 Method and device for guiding permission to be opened

Country Status (1)

Country Link
CN (1) CN108093057A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857467A (en) * 2018-12-27 2019-06-07 深圳市梦域科技有限公司 A kind of terminal, user's bootstrap technique and device
CN111143866A (en) * 2019-12-27 2020-05-12 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN112069531A (en) * 2020-07-17 2020-12-11 北京百度网讯科技有限公司 Privacy data authorization method and platform, client and repair end
CN112667993A (en) * 2019-10-16 2021-04-16 腾讯科技(深圳)有限公司 Scheme evaluation method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080014912A1 (en) * 2003-05-15 2008-01-17 Osamu Otaka Cooperative Operation Method, Mobile Communication Terminal Thereof, Mail Transceiving Method, And Communication System
CN105701398A (en) * 2015-12-30 2016-06-22 北京金山安全软件有限公司 Method and device for opening auxiliary function permission and electronic equipment
CN106055968A (en) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 Permission setting method and device and electronic equipment
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment
CN106599680A (en) * 2016-12-22 2017-04-26 北京猎豹移动科技有限公司 Application program permission setting method and apparatus, and electronic equipment
CN107329659A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Permission setting method and device, electronic equipment and storage medium
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080014912A1 (en) * 2003-05-15 2008-01-17 Osamu Otaka Cooperative Operation Method, Mobile Communication Terminal Thereof, Mail Transceiving Method, And Communication System
CN105701398A (en) * 2015-12-30 2016-06-22 北京金山安全软件有限公司 Method and device for opening auxiliary function permission and electronic equipment
CN106055968A (en) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 Permission setting method and device and electronic equipment
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment
CN106599680A (en) * 2016-12-22 2017-04-26 北京猎豹移动科技有限公司 Application program permission setting method and apparatus, and electronic equipment
CN107329659A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Permission setting method and device, electronic equipment and storage medium
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857467A (en) * 2018-12-27 2019-06-07 深圳市梦域科技有限公司 A kind of terminal, user's bootstrap technique and device
CN112667993A (en) * 2019-10-16 2021-04-16 腾讯科技(深圳)有限公司 Scheme evaluation method, device and storage medium
CN112667993B (en) * 2019-10-16 2024-03-01 腾讯科技(深圳)有限公司 Scheme evaluation method, device and storage medium
CN111143866A (en) * 2019-12-27 2020-05-12 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN111143866B (en) * 2019-12-27 2022-02-15 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN112069531A (en) * 2020-07-17 2020-12-11 北京百度网讯科技有限公司 Privacy data authorization method and platform, client and repair end
CN112069531B (en) * 2020-07-17 2023-07-28 北京百度网讯科技有限公司 Authorization method and platform for private data, client and repair end

Similar Documents

Publication Publication Date Title
CN108093057A (en) Method and device for guiding permission to be opened
CN104965790B (en) Method for testing software and system based on crucial word drive
CN103616981B (en) application processing method, device and mobile terminal
CN110096496A (en) A kind of form validation method, relevant apparatus and equipment
CN111694660B (en) Cloud mobile phone data sending method, computer device and storage medium
CN103064782B (en) A kind of method and device for obtaining control
US9921817B2 (en) Application name modification method and device, and storage medium
CN102202297B (en) Method and device for encrypting mobile terminals
CN109947502B (en) Configuration method, device and equipment for express cabinet display interface and storage medium
CN105847325A (en) Method and device for debugging application client side
CN106844104B (en) A kind of terminal data processing method, device and mobile terminal
CN108038779A (en) Video face label identity checking method, device, equipment and readable storage medium storing program for executing
CN105653864A (en) Medical record information sharing method and device
CN104346024A (en) Method and device for selecting shortcuts
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN104484484B (en) Clear up the method and device of cache file
CN109032600A (en) Application interface update method, device, storage medium and electronic equipment
CN106372076A (en) Method and device for switching webpages in browsers
US20240126986A1 (en) Method and apparatus for processing document, device and medium
CN104866614A (en) Entry creating method and entry creating device
CN107734474A (en) The applied statistical method and system of bound phone number
CN106445479B (en) Information-pushing method and device
CN110187895A (en) Allocating operating system method, apparatus, equipment and computer readable storage medium
CN106874718A (en) privacy processing method, device and terminal
CN105808771A (en) Management method and device of group information

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529