CN111695151A - Application permission setting method and device, electronic equipment and readable storage medium - Google Patents
Application permission setting method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111695151A CN111695151A CN202010437825.5A CN202010437825A CN111695151A CN 111695151 A CN111695151 A CN 111695151A CN 202010437825 A CN202010437825 A CN 202010437825A CN 111695151 A CN111695151 A CN 111695151A
- Authority
- CN
- China
- Prior art keywords
- application
- permission
- target application
- target
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/629—Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请公开了一种应用权限设置方法、装置、电子设备及可读存储介质,属于应用权限分配技术领域。所述方法包括:在接收到针对目标应用程序的第一输入的情况下,获取所述目标应用程序的应用类型;根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限;为所述目标应用程序设置所述目标应用权限。本申请可以提高权限设置效率,进行合理的权限控制,提高系统的安全性能。
The present application discloses an application authority setting method, device, electronic device and readable storage medium, which belong to the technical field of application authority allocation. The method includes: in the case of receiving the first input for the target application, acquiring the application type of the target application; The target application permission corresponding to the application type of the program; the target application permission is set for the target application. The application can improve the authority setting efficiency, perform reasonable authority control, and improve the security performance of the system.
Description
技术领域technical field
本申请属于应用权限分配技术领域,具体涉及一种应用权限设置方法、装置、电子设备及可读存储介质。The present application belongs to the technical field of application authority allocation, and in particular relates to a method, apparatus, electronic device and readable storage medium for setting application authority.
背景技术Background technique
随着互联网产业的发展,互联网应用市场的繁荣,手机中的应用程序也越来越多,用户可以从网络上下载及安装各式各样的应用程序以获取不同的服务。With the development of the Internet industry and the prosperity of the Internet application market, there are more and more applications in mobile phones, and users can download and install various applications from the Internet to obtain different services.
应用程序被安装到手机之后,当用户激活应用,会提示用户应用程序需要授权的系统功能权限,以便利用取得必要的数据或讯息,进而实现应用程序所要提供的功能或服务。随着应用类型和数量的增加,应用所需的权限也越来越多,包括电话权限、存储权限、摄像头权限、定位权限、联系人权限、麦克风权限、通知权限等等。After the application is installed on the mobile phone, when the user activates the application, it will prompt the user that the application needs to authorize the system function permission, so as to obtain the necessary data or information by using it, and then realize the function or service provided by the application. With the increase in the type and number of applications, more and more permissions are required for applications, including phone permissions, storage permissions, camera permissions, location permissions, contacts permissions, microphone permissions, notification permissions, and more.
目前,在用户激活应用程序时,系统权限的授权会以弹窗的形式一一弹出,需要用户进行多次授权选择,才可正常使用应用程序,权限分配效率较低,且应用程序也会请求一些并非其功能必须的权限,用户也会由于误点等原因而导致过度授权,从而不能合理的进行权限控制,存在安全隐患。At present, when the user activates the application, the authorization of the system permissions will pop up one by one in the form of a pop-up window. The user needs to make multiple authorization selections before the application can be used normally. The efficiency of permission allocation is low, and the application will also request Some permissions are not necessary for its functions, and users will also be over-authorized due to reasons such as wrong clicks, so that permissions cannot be reasonably controlled, and there are security risks.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种应用权限设置方法、装置、电子设备及可读存储介质,能够解决现有技术中需要用户进行多次授权选择,权限分配效率较低,且由于用户误点导致过度授权的问题。The purpose of the embodiments of the present application is to provide an application permission setting method, device, electronic device and readable storage medium, which can solve the problem that in the prior art, the user is required to perform multiple authorization selections, the permission allocation efficiency is low, and the error caused by the user The problem of over-authorization.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种应用权限设置方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for setting application permissions, the method comprising:
在接收到针对目标应用程序的第一输入的情况下,获取所述目标应用程序的应用类型;In the case of receiving the first input for the target application, obtain the application type of the target application;
根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限;Determine the target application permission corresponding to the application type of the target application according to the mapping relationship between the application type and the preset application permission;
为所述目标应用程序设置所述目标应用权限。The target application permission is set for the target application.
第二方面,本申请实施例提供了一种应用权限设置装置,该装置:In a second aspect, an embodiment of the present application provides an application permission setting device, the device:
目标类型获取模块,用于在接收到针对目标应用程序的第一输入的情况下,获取所述目标应用程序的应用类型;a target type acquisition module, configured to acquire the application type of the target application when the first input for the target application is received;
目标权限确定模块,用于根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限;a target permission determination module, configured to determine the target application permission corresponding to the application type of the target application according to the mapping relationship between the application type and the preset application permission;
目标权限设置模块,用于为所述目标应用程序设置所述目标应用权限。A target permission setting module, configured to set the target application permission for the target application.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的应用权限设置方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method for setting application rights according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的应用权限设置方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the application permission setting described in the first aspect is implemented steps of the method.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的应用权限设置方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The described application permission setting method.
在本申请实施例中,通过在接收到针对目标应用程序的第一输入的情况下,获取目标应用程序的应用类型,根据应用类型与预设应用权限之间的映射关系,确定与目标应用程序的应用类型对应的目标应用权限,为目标应用程序设置目标应用权限。本申请实施例通过预先为不同的应用类型设置一套预设应用权限,从而可以在该应用类型的应用程序激活时,自动为应用程序设置预设应用权限,从而无需用户进行多次授权选择,提高了权限设置效率,且避免了由于用户误点为应用程序过度授权的问题,能够进行合理的权限控制,提高了系统的安全性能。In the embodiment of the present application, the application type of the target application is obtained when the first input for the target application is received, and according to the mapping relationship between the application type and the preset application permission, the application type of the target application is determined. Set the target application permission for the target application. In the embodiment of the present application, a set of preset application permissions is set for different application types in advance, so that when the application of the application type is activated, the preset application permissions can be automatically set for the application, so that the user does not need to make multiple authorization selections. The efficiency of permission setting is improved, and the problem of excessive authorization for the application program due to the user's mistaken click is avoided, reasonable permission control can be performed, and the security performance of the system is improved.
附图说明Description of drawings
图1为本申请实施例提供的一种应用权限设置方法的步骤流程图;1 is a flowchart of steps of a method for setting application permissions provided by an embodiment of the present application;
图2为本申请实施例提供的一种开启权限快捷授权功能的示意图;2 is a schematic diagram of a quick authorization function for enabling authority provided by an embodiment of the present application;
图3为本申请实施例提供的一种权限详情展示界面的示意图;FIG. 3 is a schematic diagram of a permission details display interface provided by an embodiment of the present application;
图4为本申请实施例提供的一种单个应用打标签的示意图;4 is a schematic diagram of a single application labeling provided by an embodiment of the present application;
图5为本申请实施例提供的一种批量应用打标签的示意图;5 is a schematic diagram of batch application labeling provided by an embodiment of the present application;
图6为本申请实施例提供的一种权限管理页面的示意图;6 is a schematic diagram of a rights management page provided by an embodiment of the present application;
图7为本申请实施例提供的一种应用权限设置装置的结构示意图;FIG. 7 is a schematic structural diagram of an application permission setting device provided by an embodiment of the present application;
图8为本申请实施例提供的一种电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
图9为本申请实施例提供的另一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的权限分配方法进行详细地说明。The permission allocation method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参照图1,示出了本申请实施例提供的一种应用权限设置方法的步骤流程图,如图1所示,该应用权限设置方法具体可以包括如下步骤:Referring to FIG. 1, a flowchart of steps of an application permission setting method provided by an embodiment of the present application is shown. As shown in FIG. 1, the application permission setting method may specifically include the following steps:
步骤101:在接收到针对目标应用程序的第一输入的情况下,获取所述目标应用程序的应用类型。Step 101: In the case of receiving the first input for the target application, obtain the application type of the target application.
本申请实施例可以应用于根据应用类型自动为应用程序设置预设应用权限的场景中。The embodiments of the present application may be applied to scenarios in which preset application permissions are automatically set for applications according to application types.
在本实施例中,在需要按照本实施例提供的方式自动为激活的应用程序设置应用权限时,需要预先在电子设备内开启“应用程序快捷授权”的功能,如图2所示,在电子设备内预先设置有“应用程序快捷授权”的功能选项,用户可以通过点击“是”或“否”来选择是否为电子设备开启“应用程序快捷授权”的功能。In this embodiment, when it is necessary to automatically set application permissions for an activated application according to the method provided in this embodiment, the function of "application shortcut authorization" needs to be enabled in the electronic device in advance, as shown in FIG. 2 , in the electronic device The device is pre-configured with the function option of "Quick Authorization of Application", and the user can choose whether to enable the function of "Quick Authorization of Application" for the electronic device by clicking "Yes" or "No".
目标应用程序是指系统内安装的在激活时需要进行应用权限设置的应用程序。在本实施例中,目标应用程序可以为视频类应用程序,也可以为社交类应用程序,具体地,可以根据实际情况而定,本实施例对此不加以限制。A target application refers to an application installed in the system that requires application permission settings when activated. In this embodiment, the target application may be a video application or a social application. Specifically, it may be determined according to the actual situation, which is not limited in this embodiment.
第一输入是指用于激活目标应用的输入。在本实施例中,第一输入可以是在系统内安装目标应用之后,用户首次点击该目标应用而触发的输入操作。当然,第一输入也可以是在目标应用安装完成之后,自动触发的输入,具体地,可以根据实际情况而定,本实施例对此不加以限制。The first input refers to an input for activating the target application. In this embodiment, the first input may be an input operation triggered by the user clicking on the target application for the first time after the target application is installed in the system. Of course, the first input may also be an input that is automatically triggered after the target application is installed. Specifically, it may be determined according to the actual situation, which is not limited in this embodiment.
在本实施例中,应用类型可以是系统自获取的目标应用程序的类型,例如,目标应用程序为视频类应用程序时,则系统自动获取的目标应用程序的类型即为视频类等。应用类型也可以是用户预先为目标应用程序设置的标签类型,例如,用户可以预先为多个应用程序打上标签,通过用户打上的标签限定应用程序的类型。In this embodiment, the application type may be the type of the target application acquired by the system. For example, when the target application is a video application, the type of the target application automatically acquired by the system is a video. The application type may also be a label type pre-set by the user for the target application. For example, the user may pre-label multiple applications, and the type of the application is limited by the labels that the user labels.
在接收到针对目标应用程序的第一输入的情况下,可以获取目标应用程序的应用类型,进而,执行步骤102。In the case of receiving the first input for the target application, the application type of the target application may be acquired, and then
步骤102:根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限。Step 102: Determine a target application permission corresponding to the application type of the target application according to the mapping relationship between the application type and the preset application permission.
在本实施例中,可以预先保存不同应用类型与预设应用权限之间的映射关系,具体地,可以分为以下两种方式预先设置不同应用类型与预设应用权限之间的映射关系。In this embodiment, the mapping relationship between different application types and preset application permissions can be pre-stored. Specifically, the mapping relationship between different application types and preset application permissions can be preset in the following two ways.
1、系统自定义应用类型与预设应用权限之间的映射关系。1. The mapping relationship between system custom application types and preset application permissions.
对于设置应用类型与预设应用权限之间的映射关系的方式可以如下述步骤A1至步骤A2的描述。The manner of setting the mapping relationship between application types and preset application permissions may be as described in the following steps A1 to A2.
步骤A1:获取至少一种应用类型。Step A1: Acquire at least one application type.
在本申请实施例中,电子设备系统可以预先为不同的应用类型预先设置一套对应的预设应用权限,首先,可以根据用户常用的应用程序,或者目前已有的应用程序,获取至少一种应用类型(如视频类、社交类、地图类等),在至少一种应用类型中包含有上述提及的目标应用类型。In the embodiment of the present application, the electronic device system may preset a set of corresponding preset application permissions for different application types. Application types (such as video, social, map, etc.), at least one application type includes the target application type mentioned above.
在获取至少一种应用类型之后,执行步骤A2。After acquiring at least one application type, step A2 is performed.
步骤A2:设置所述至少一种应用类型与预设应用权限之间的映射关系。Step A2: Setting the mapping relationship between the at least one application type and the preset application authority.
在获取至少一种应用类型之后,可以设置至少一种应用类型与预设应用权限之间的映射关系,具体地,根据应用权限的基础必要性及授权后是否存在隐患,可以将应用权限划分为基础权限(如存储权限、网络使用权限等)和非基础权限(如定位权限、通讯录权限等)。基础权限可以默认为授权,本实施例对此不加以限制。对于非基础权限,可以根据不同应用类型的主要功能所需,将各应用类型与其必要的非基础权限做一一映射,映射结果即为各应用类型对应的预设应用权限。After acquiring at least one application type, a mapping relationship between at least one application type and preset application permissions can be set. Specifically, according to the basic necessity of application permissions and whether there are hidden dangers after authorization, application permissions can be divided into Basic permissions (such as storage permissions, network usage permissions, etc.) and non-basic permissions (such as location permissions, address book permissions, etc.). The basic authority may be authorized by default, which is not limited in this embodiment. For non-basic permissions, each application type and its necessary non-basic permissions can be mapped one by one according to the main functions of different application types, and the mapping result is the preset application permissions corresponding to each application type.
2、用户预先为应用打标签(每个标签对应于一种应用类型),设置不同应用标签对应的预设应用权限2. The user pre-labels the application (each label corresponds to an application type), and sets the preset application permissions corresponding to different application labels
对于设置不同应用标签对应的预设应用权限,可以采用如下步骤B1至步骤B2进行:For setting preset application permissions corresponding to different application labels, the following steps B1 to B2 can be used:
步骤B1:获取用户针对至少一个应用程序设置的应用类型。Step B1: Obtain the application type set by the user for at least one application program.
在本实施例中,用户可以针对至少一个应用程序设置其对应的应用类型。In this embodiment, the user can set its corresponding application type for at least one application.
首先,结合图4,对单个应用打标签的方式进行描述。如图4所示,在若选择“只为当前应用选择标签”,则进入单独打标流程,弹出浮层并展示可选的标签。此处默认勾选系统预设的关联标签,用户选择可重选或直接沿用系统关联标签,标签为单选。每种标签即对应于一种应用类型,如图4所示的“社交”、“地图”、“游戏”、“小说”等等。First, with reference to FIG. 4 , the way of labeling a single application is described. As shown in Figure 4, if you select "select labels only for the current application", you will enter the separate marking process, pop up the floating layer and display the optional labels. Here, the default system related labels are checked by default, and the user can choose to reselect or directly inherit the system related labels, and the labels are single-choice. Each tag corresponds to an application type, such as "social", "map", "game", "novel" and so on as shown in Figure 4.
其次,结合图5,对批量应用打标签的方式进行描述。如图5所示,若选择“选择更多应用”,则进入批量打标流程。用户可在手机界面上选择其认为的同标签应用,可多选N(N为大于等于2的正整数)个,并支持翻页选择非同屏的应用程序。选择完成后,点击右上角的“√完成选择”,进入打标签操作。Next, with reference to Fig. 5, the method of batch application labeling is described. As shown in Figure 5, if "Select more applications" is selected, the batch marking process will be entered. The user can select the same-label application on the mobile phone interface, and can select N multiple (N is a positive integer greater than or equal to 2), and supports turning pages to select applications that are not on the same screen. After the selection is complete, click "√ to complete the selection" in the upper right corner to enter the labeling operation.
可以理解地,上述示例仅是为了更好地理解本申请实施例的技术方案而列举的示例,不作为对本申请实施例的唯一限制。It can be understood that the above examples are only examples listed for better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the only limitations on the embodiments of the present application.
在获取用户针对至少一个应用程序设置的应用类型之后,执行步骤B2。After acquiring the application type set by the user for at least one application program, step B2 is performed.
步骤B2:设置所述应用类型与预设应用权限之间的映射关系。Step B2: Setting the mapping relationship between the application types and preset application permissions.
在本实施例中,针对用户设置的不同应用类型,可以为其设置一套对应的预设应用权限,具体地设置过程可以如上述步骤A2所描述的方式,即对于非基础权限,可以根据不同应用类型的主要功能所需,将各应用类型与其必要的非基础权限做一一映射,映射结果即为各应用类型对应的预设应用权限。In this embodiment, for different application types set by the user, a set of corresponding preset application permissions can be set for them. As required by the main functions of the application types, map each application type and its necessary non-basic permissions one by one, and the mapping result is the preset application permission corresponding to each application type.
可以理解地,上述两种具体实现方式均是预先设置一种应用类型与一套预设应用权限之间的映射关系,具体地实现方式可以根据业务需求而定,本实施例对此不加以限制。It is understandable that the above two specific implementation manners both pre-set a mapping relationship between an application type and a set of preset application permissions, and the specific implementation manner may be determined according to business requirements, which is not limited in this embodiment. .
在获取到目标应用对应的目标应用类型之后,可以根据应用类型与预设应用权限之间的映射关系,获取到目标应用类型对应的目标应用权限,例如,在系统内预先存储有两种映射关系:1、视频类应用与定位权限之间存在映射关系,2、社交类应用与通讯录权限之间存在映射关系,在确定目标应用的目标应用类型为视频类时,则目标应用类型对应的预设应用权限即为:定位权限。After the target application type corresponding to the target application is obtained, the target application permission corresponding to the target application type can be obtained according to the mapping relationship between the application type and the preset application permission. For example, two mapping relationships are pre-stored in the system : 1. There is a mapping relationship between video applications and positioning permissions. 2. There is a mapping relationship between social applications and address book permissions. When it is determined that the target application type of the target application is video, the preset corresponding to the target application type Let the application permission be: positioning permission.
可以理解地,一种应用类型可以对应于一种应用权限,也可以对应多种应用权限,具体地,可以根据实际情况而定,本实施例对此不加以限制。It can be understood that one application type may correspond to one application permission, or may correspond to multiple application permissions, and specifically, it may be determined according to the actual situation, which is not limited in this embodiment.
在根据应用类型与预设应用权限之间的映射关系,确定与目标应用程序的应用类型对应的目标应用权限之后,执行步骤103。Step 103 is performed after determining the target application authority corresponding to the application type of the target application according to the mapping relationship between the application type and the preset application authority.
步骤103:为所述目标应用程序设置所述目标应用权限。Step 103: Set the target application permission for the target application.
在获取到目标应用程序的应用类型对应的目标应用权限之后,可以为目标应用设置目标应用权限,即为目标应用进行授权。After acquiring the target application permission corresponding to the application type of the target application, the target application permission can be set for the target application, that is, authorizing the target application.
本实施例通过预先为不同的应用类型设置一套预设应用权限,从而可以在该应用类型的应用程序第一输入的情况下,自动为应用程序分配预设应用权限,从而无需用户进行多次授权选择,提高了权限分配效率。In this embodiment, by presetting a set of preset application permissions for different application types, the preset application permissions can be automatically assigned to the application when the application of the application type is first input, so that the user does not need to perform multiple Authorization selection improves the efficiency of authorization distribution.
在目标应用程序授权之后,可以在电子设备屏幕上显示权限详情界面,以提示用户为目标应用程序设置的应用权限,用户也可以对系统自动设置的应用权限进行调整,具体地,可以结合下述具体实现方式进行详细描述。After the target application is authorized, a permission details interface can be displayed on the screen of the electronic device to prompt the user for the application permission set for the target application. The user can also adjust the application permission automatically set by the system. Specifically, the following can be combined The specific implementation is described in detail.
在本申请的一种具体实现方式中,在上述步骤103之后,还可以包括如下步骤C1至步骤C3:In a specific implementation manner of the present application, after the
步骤C1:显示所述目标应用程序对应的权限设置界面;所述权限设置界面显示有所述预设应用权限。Step C1: Display a permission setting interface corresponding to the target application; the permission setting interface displays the preset application permission.
在本申请实施例中,权限设置界面是指用于提示用户为目标应用自动设置的预设应用权限的界面。In this embodiment of the present application, the permission setting interface refers to an interface for prompting the user to automatically set preset application permissions for the target application.
在为目标应用程序设置预设应用权限之后,可以提示用户已经为目标应用程序进行了快捷授权,并展示权限设置界面,如图3所示,可以在权限设置界面内显示“您已授权我们为您进行快捷权限管理已完成自动授权”,并显示为目标应用程序设置的应用权限,如“本次授权权限包括:存储权限、电话权限、网络使用权限”。After setting the preset application permission for the target application, the user can be prompted that the target application has been authorized quickly, and the permission setting interface is displayed, as shown in Figure 3, the permission setting interface can display "You have authorized us to You have completed automatic authorization for quick permission management”, and display the application permissions set for the target application, such as “This authorization includes: storage permission, phone permission, and network usage permission”.
在显示目标应用程序对应的权限设置界面之后,执行步骤C2。After the permission setting interface corresponding to the target application is displayed, step C2 is performed.
步骤C2:接收针对所述预设应用权限的编辑操作。Step C2: Receive an editing operation for the preset application permission.
编辑操作是指用户对预设应用权限执行的操作,如修改等操作。Editing operations refer to operations performed by users on preset application permissions, such as modifying operations.
当然,在权限分配界面内还可以显示未给目标应用程序设置的应用权限,如图3所示,未给目标应用程序设置的权限有“定位权限”、“通知权限”,用户可以针对预设应用权限进行编辑,即删除已为目标应用程序设置的权限,当然,也可以对目标应用程序未授权的应用权限进行相应添加,具体地,可以根据业务需求而定,本实施例对此不加以限制。Of course, application permissions that are not set for the target application can also be displayed in the permission assignment interface. As shown in Figure 3, the permissions that are not set for the target application include "Location Permission" and "Notification Permission". Editing application permissions means deleting the permissions that have been set for the target application. Of course, it is also possible to add corresponding application permissions that are not authorized by the target application. Specifically, it can be determined according to business requirements, and this embodiment does not apply this. limit.
在接收到针对预设应用权限的编辑操作之后,执行步骤C3。After receiving the editing operation for the preset application authority, step C3 is performed.
步骤C3:响应于所述编辑操作,对所述目标应用程序设置的预设应用权限进行调整。Step C3: In response to the editing operation, adjust the preset application authority set by the target application program.
在接收到针对预设应用权限的编辑操作之后,可以根据编辑操作,对目标应用程序设置的预设应用权限进行相应的调整,如删除掉某个已分配的应用权限,或再添加某个应用权限等等。After receiving the editing operation for the preset application permission, the preset application permission set by the target application can be adjusted accordingly according to the editing operation, such as deleting an assigned application permission or adding another application permissions, etc.
在本实施例中,还可以提示用户是否在后续激活应用时展示授权的权限分配界面的提示信息,如图3所示,在为目标应用程序设置预设应用权限之后,可以展示一个提示页面,在提示页面内显示“后续授权是否需要为您展示权限详情”的提示信息,并显示两个按钮“需要”和“不需要”,若用户选择了需提示,即点击了“需要”按钮,则后续每次激活应用程序,均展示授权详情(即展示权限分配界面),并支持快捷修改权限(勾选或去除勾选),完成并点击关闭后进入应用程序。若用户选择了不需提示,即点击了“不需要”按钮,则后续激活应用直接跳过授权流程,直接进入。In this embodiment, the user can also be prompted whether to display the prompt information of the authorized permission assignment interface when activating the application subsequently. As shown in FIG. 3 , after the preset application permission is set for the target application, a prompt page can be displayed, In the prompt page, the prompt message "Do you need to show you permission details for subsequent authorization" is displayed, and two buttons "Need" and "No need" are displayed. Each subsequent activation of the application will display the authorization details (that is, display the permission assignment interface), and support quick permission modification (check or remove the check), complete and click close to enter the application. If the user selects no prompt, that is, clicks the "No need" button, the subsequent activation of the application will skip the authorization process and enter directly.
当然,由于在先用户自定义了应用类型,且系统为应用类型定义了一套对应的预设应用权限,用户可以对应用类型对应的预设应用权限进行管理。具体地,可以结合下述具体实现方式进行详细描述。Of course, since the user has customized the application type and the system has defined a set of corresponding preset application permissions for the application type, the user can manage the preset application permissions corresponding to the application type. Specifically, detailed description may be made in conjunction with the following specific implementation manners.
在本申请的另一种具体实现方式中,在上述步骤103之后,还可以包括如下步骤D1至步骤D2:In another specific implementation manner of the present application, after the
步骤D1:接收针对所述应用类型的应用程序对应的权限编辑操作。Step D1: Receive a permission editing operation corresponding to an application of the application type.
在本实施例中,权限编辑操作是指针对目用类型的应用程序的权限进行编辑的操作。In this embodiment, the permission editing operation refers to the operation of editing the permission of the application program of the purpose type.
用户可以自定义修改应用类型的应用程序对应的应用权限,具体地,在用户需要对某个应用类型对应的预设应用权限进行调整时,可以通过设置中心进入“标签权限管理页”,点击每个标签,均可看到应用类型所对应的应用权限,如图6所示,用户可以通过“设置中心”进入到权限管理界面,在权限管理界面内可以显示多个应用类型,如图6中间一幅图所示,在用户需要对某个应用类型对应的预设应用权限进行管理时,如图6最右一幅图所示,在用户点击“社交”时,可以显示“社交”类对应的预设应用权限,如“存储权限”、“网络权限”、“电话权限”、“通讯录权限”、“相机权限”、“通知权限”。用户可以对该应用类型的预设应用权限进行调整,如删除某个预设应用权限,或者重新添加某个应用权限等等。The user can customize and modify the application permissions corresponding to the applications of the application type. Specifically, when the user needs to adjust the preset application permissions corresponding to an application type, he can enter the "Tag Permission Management Page" through the Settings Center, and click each button. Each tab, you can see the application permissions corresponding to the application type, as shown in Figure 6, the user can enter the permission management interface through the "Settings Center", and multiple application types can be displayed in the permission management interface, as shown in the middle of Figure 6 As shown in a picture, when the user needs to manage the preset application permissions corresponding to a certain application type, as shown in the rightmost picture in Figure 6, when the user clicks "Social", the corresponding "Social" category can be displayed. , such as "Storage Permission", "Network Permission", "Phone Permission", "Contacts Permission", "Camera Permission", "Notification Permission". The user can adjust the preset application permission of the application type, such as deleting a preset application permission, or re-adding a certain application permission, and so on.
在接收到针对应用类型的应用程序的权限调整操作之后,执行步骤D2。After receiving the permission adjustment operation for the application of the application type, step D2 is performed.
步骤D2:响应于所述权限编辑操作,对所述应用类型的应用程序设置的应用权限进行调整。Step D2: In response to the permission editing operation, adjust the application permission set by the application program of the application type.
在接收到针对应用类型的应用程序对应的权限编辑操作之后,可以根据权限编辑操作对该应用类型的应用程序设置的应用权限进行调整。After receiving the permission editing operation corresponding to the application of the application type, the application permission set by the application of the application type may be adjusted according to the permission editing operation.
在本实施例中,电子设备系统还可以记录为应用分配的权限,当再次接收到应用程序的第一输入的情况下,可以根据记录信息自动为该应用程序设置的应用权限,具体地,可以结合下述具体实现方式进行详细描述。In this embodiment, the electronic device system can also record the permissions assigned to the application, and when the first input of the application is received again, the application permissions can be automatically set for the application according to the record information. Detailed description will be given in conjunction with the following specific implementation manners.
在本申请的另一种具体实现方式中,在上述步骤103之后,还可以包括如下步骤E1至步骤E2:In another specific implementation manner of the present application, after the
步骤E1:记录所述目标应用程序对应的目标应用权限。Step E1: Record the target application permission corresponding to the target application.
在本实施例中,在为目标应用程序设置目标应用权限之后,可以记录为目标应用程序设置的目标应用权限,继而,执行步骤E2。In this embodiment, after the target application authority is set for the target application, the target application authority set for the target application may be recorded, and then step E2 is performed.
步骤E2:在再次接收到针对所述目标应用程序的第一输入的情况下,为所述目标应用程序设置所述目标应用权限。Step E2: In the case of receiving the first input for the target application again, set the target application permission for the target application.
当再次接收到针对目标应用程序的第一输入的情况下,即该目标应用程序被用户卸载了重新安装后,再次激活时所接收到的指令,可以根据记录的目标应用权限,自动为目标应用程序设置目标应用权限。When the first input for the target application is received again, that is, after the target application has been uninstalled and reinstalled by the user, the instruction received when it is activated again can automatically be the target application according to the recorded permissions of the target application. The program sets the target application permissions.
本申请实施例提供的应用权限设置方法,通过在接收到针对目标应用的第一输入的情况下,获取目标应用程序的应用类型,根据应用类型与预设应用权限之间的映射关系,确定与目标应用程序的应用类型对应的目标应用权限,为目标应用程序设置目标应用权限。本申请实施例通过预先为不同的应用类型设置一套预设应用权限,从而可以在该应用类型的应用程序激活时,自动为应用程序设置预设应用权限,从而无需用户进行多次授权选择,提高了权限设置效率,且避免了由于用户误点为应用程序过度授权的问题,能够进行合理的权限控制,提高了系统的安全性能。In the application permission setting method provided by the embodiment of the present application, the application type of the target application is obtained when the first input for the target application is received, and according to the mapping relationship between the application type and the preset application permission, the The target application permission corresponding to the application type of the target application, set the target application permission for the target application. In the embodiment of the present application, a set of preset application permissions is set for different application types in advance, so that when the application of the application type is activated, the preset application permissions can be automatically set for the application, so that the user does not need to make multiple authorization selections. The efficiency of permission setting is improved, and the problem of excessive authorization for the application program due to the user's mistaken click is avoided, reasonable permission control can be performed, and the security performance of the system is improved.
需要说明的是,本申请实施例提供的应用权限设置方法,执行主体可以为应用权限设置装置,或者该应用权限设置装置中的用于执行加载应用权限设置方法的控制模块。本申请实施例中以应用权限设置装置执行加载应用权限设置方法为例,说明本申请实施例提供的应用权限设置装置。It should be noted that, in the application permission setting method provided by the embodiment of the present application, the execution subject may be an application permission setting device, or a control module in the application permission setting device for executing the loading application permission setting method. In the embodiment of the present application, the application authority setting apparatus provided by the embodiment of the present application is described by taking the application authority setting apparatus executing the method for setting the authority for loading an application as an example.
参照图7,示出了本申请实施例提供的一种应用权限设置装置的结构示意图,如图7所示,该应用权限设置装置200具体可以包括如下模块:Referring to FIG. 7 , a schematic structural diagram of an application permission setting device provided by an embodiment of the present application is shown. As shown in FIG. 7 , the application permission setting device 200 may specifically include the following modules:
目标类型获取模块210,用于在接收到针对目标应用程序的第一输入的情况下,获取所述目标应用程序的应用类型;a target type obtaining module 210, configured to obtain the application type of the target application when the first input for the target application is received;
目标权限确定模块220,用于根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限;a target permission determination module 220, configured to determine the target application permission corresponding to the application type of the target application according to the mapping relationship between the application type and the preset application permission;
目标权限设置模块230,用于为所述目标应用程序设置所述目标应用权限。A target permission setting module 230, configured to set the target application permission for the target application.
可选地,应用权限设置装置200还包括:Optionally, the application permission setting apparatus 200 further includes:
权限界面显示模块,用于显示所述目标应用程序对应的权限设置界面;所述权限设置界面显示有所述预设应用权限;a permission interface display module, configured to display a permission setting interface corresponding to the target application; the permission setting interface displays the preset application permission;
编辑操作接收模块,用于接收针对所述预设应用权限的编辑操作;an editing operation receiving module, configured to receive an editing operation for the preset application authority;
第一权限调整模块,用于响应于所述编辑操作,对所述目标应用程序设置的预设应用权限进行调整。A first permission adjustment module, configured to adjust the preset application permission set by the target application program in response to the editing operation.
可选地,应用权限设置装置200还包括:Optionally, the application permission setting apparatus 200 further includes:
权限编辑操作接收模块,用于接收针对所述应用类型的应用程序对应的权限编辑操作;a permission editing operation receiving module, configured to receive a permission editing operation corresponding to an application of the application type;
第二权限调整模块,用于响应于所述权限编辑操作,对所述应用类型的应用程序设置的应用权限进行调整。A second permission adjustment module, configured to adjust the application permission set by the application program of the application type in response to the permission editing operation.
可选地,应用权限设置装置200还包括:Optionally, the application permission setting apparatus 200 further includes:
目标权限记录模块,用于记录所述目标应用程序对应的目标应用权限;a target permission recording module, used to record the target application permission corresponding to the target application;
目标应用权限分配模块,用于在再次接收到针对所述目标应用第一输入的情况下,为所述目标应用程序设置所述目标应用权限。A target application permission assignment module, configured to set the target application permission for the target application when the first input for the target application is received again.
本申请实施例中的应用权限设置装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The device for setting application authority in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. This application Examples are not specifically limited.
本申请实施例中的应用权限设置装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for setting application rights in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的应用权限设置装置能够实现图1的方法实施例中应用权限设置方法实现的各个过程,为避免重复,这里不再赘述。The application permission setting apparatus provided in the embodiment of the present application can implement each process implemented by the application permission setting method in the method embodiment of FIG. 1 , which is not repeated here to avoid repetition.
本申请实施例提供的应用权限设置装置,通过在接收到针对目标应用程序的第一输入的情况下,获取目标应用程序的应用类型,根据应用类型与预设应用权限之间的映射关系,确定目标应用程序的应用类型对应的目标应用权限,为目标应用程序设置目标应用权限。本申请实施例通过预先为不同的应用类型设置一套预设应用权限,从而可以在该应用类型的应用程序激活时,自动为应用程序设置预设应用权限,从而无需用户进行多次授权选择,提高了权限设置效率,且避免了由于用户误点为应用程序过度授权的问题,能够进行合理的权限控制,提高了系统的安全性能。The application permission setting device provided by the embodiment of the present application obtains the application type of the target application when the first input for the target application is received, and determines the application type according to the mapping relationship between the application type and the preset application permission. The target application permission corresponding to the application type of the target application, set the target application permission for the target application. In the embodiment of the present application, a set of preset application permissions is set for different application types in advance, so that when the application of the application type is activated, the preset application permissions can be automatically set for the application, so that the user does not need to make multiple authorization selections. The efficiency of permission setting is improved, and the problem of excessive authorization for the application program due to the user's mistaken click is avoided, reasonable permission control can be performed, and the security performance of the system is improved.
可选的,本申请实施例还提供一种电子设备,如图8所示,电子设备300包括处理器310,存储器309,存储在存储器309上并可在所述处理器310上运行的程序或指令,该程序或指令被处理器310执行时实现上述应用权限设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device. As shown in FIG. 8 , the
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请实施例的另一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of another electronic device implementing an embodiment of the present application.
该电子设备300包括但不限于:射频单元301、网络模块302、音频输出单元303、输入单元304、传感器305、显示单元306、用户输入单元307、接口单元308、存储器309、以及处理器310等部件。The
本领域技术人员可以理解,电子设备300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
应理解的是,本申请实施例中,输入单元304可以包括图形处理器(GraphicsProcessing Unit,GPU)3041和麦克风3042,图形处理器3041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元306可包括显示面板3061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板3061。用户输入单元307包括触控面板3071以及其他输入设备3072。触控面板3071,也称为触摸屏。触控面板3071可包括触摸检测装置和触摸控制器两个部分。其他输入设备3072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器309可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器310中。It should be understood that, in this embodiment of the present application, the
其中,处理器310,用于根据应用类型与预设应用权限之间的映射关系,确定与所述目标应用程序的应用类型对应的目标应用权限;为所述目标应用程序设置所述目标应用权限。The
本申请实施例通过在接收到针对目标应用程序的第一输入的情况下,获取目标应用程序的应用类型,根据应用类型与预设应用权限之间的映射关系,确定与目标应用程序的应用类型对应的目标应用权限,为目标应用程序设置目标应用权限。本申请实施例通过预先为不同的应用类型设置一套预设应用权限,从而可以在该应用类型的应用程序激活时,自动为应用程序设置预设应用权限,从而无需用户进行多次授权选择,提高了权限设置效率,且避免了由于用户误点为应用程序过度授权的问题,能够进行合理的权限控制,提高了系统的安全性能。In this embodiment of the present application, the application type of the target application is obtained when the first input for the target application is received, and the application type of the target application is determined according to the mapping relationship between the application type and the preset application permission. The corresponding target application permission, set the target application permission for the target application. In the embodiment of the present application, a set of preset application permissions is set for different application types in advance, so that when the application of the application type is activated, the preset application permissions can be automatically set for the application, so that the user does not need to make multiple authorization selections. The efficiency of permission setting is improved, and the problem of excessive authorization for the application program due to the user's mistaken click is avoided, reasonable permission control can be performed, and the security performance of the system is improved.
可选的,显示单元306,用于显示所述目标应用对应的权限分配界面;所述权限分配界面显示有所述预设应用权限;Optionally, the
处理器310,还用于接收针对所述预设应用权限的编辑操作;响应于所述编辑操作,对所述目标应用分配的预设应用权限进行调整。The
存储器309,用于存储所述目标应用程序对应的目标应用权限;
处理器310,还用于在再次接收到针对所述目标应用程序的第一输入的情况下,为所述目标应用程序设置所述目标应用权限。The
本申请实施例通过用户为应用程序批量设置应用类型,可以实现对预设应用权限的批量管理。In the embodiment of the present application, the batch management of the preset application permissions can be realized by the user setting the application types for the application programs in batches.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用权限设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing application permission setting method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述应用权限设置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the above embodiment of the application permission setting method and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010437825.5A CN111695151A (en) | 2020-05-21 | 2020-05-21 | Application permission setting method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010437825.5A CN111695151A (en) | 2020-05-21 | 2020-05-21 | Application permission setting method and device, electronic equipment and readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111695151A true CN111695151A (en) | 2020-09-22 |
Family
ID=72477205
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010437825.5A Pending CN111695151A (en) | 2020-05-21 | 2020-05-21 | Application permission setting method and device, electronic equipment and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111695151A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112468654A (en) * | 2020-12-13 | 2021-03-09 | 胡振刚 | Electronic equipment use restriction processing method and device |
| CN112597476A (en) * | 2020-12-25 | 2021-04-02 | 努比亚技术有限公司 | Application authority management method, device, terminal and storage medium |
| CN112765582A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信(杭州)有限公司 | Application program authority management method and device and electronic equipment |
| CN117251085A (en) * | 2023-11-20 | 2023-12-19 | 北京小米移动软件有限公司 | Positioning method and device of equipment application, electronic equipment and storage medium |
| WO2024022296A1 (en) * | 2022-07-29 | 2024-02-01 | 云鲸智能(深圳)有限公司 | Cleaning robot control method, cleaning robot, and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106156605A (en) * | 2016-06-14 | 2016-11-23 | 百度在线网络技术(北京)有限公司 | The processing method and processing device of application permission |
| CN106485136A (en) * | 2016-10-10 | 2017-03-08 | 广东欧珀移动通信有限公司 | Application permission configuration method, device and mobile terminal |
| CN108830101A (en) * | 2018-06-04 | 2018-11-16 | 北京奇虎科技有限公司 | Application permission configuration method and device based on tables of data |
-
2020
- 2020-05-21 CN CN202010437825.5A patent/CN111695151A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106156605A (en) * | 2016-06-14 | 2016-11-23 | 百度在线网络技术(北京)有限公司 | The processing method and processing device of application permission |
| CN106485136A (en) * | 2016-10-10 | 2017-03-08 | 广东欧珀移动通信有限公司 | Application permission configuration method, device and mobile terminal |
| CN108830101A (en) * | 2018-06-04 | 2018-11-16 | 北京奇虎科技有限公司 | Application permission configuration method and device based on tables of data |
Non-Patent Citations (1)
| Title |
|---|
| 张逸琴 等: "大学计算机应用基础信息化教程", 30 September 2018, 北京理工大学出版社, pages: 52 * |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112468654A (en) * | 2020-12-13 | 2021-03-09 | 胡振刚 | Electronic equipment use restriction processing method and device |
| CN112597476A (en) * | 2020-12-25 | 2021-04-02 | 努比亚技术有限公司 | Application authority management method, device, terminal and storage medium |
| CN112597476B (en) * | 2020-12-25 | 2024-06-04 | 努比亚技术有限公司 | Application authority management method, device, terminal and storage medium |
| CN112765582A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信(杭州)有限公司 | Application program authority management method and device and electronic equipment |
| CN112765582B (en) * | 2021-01-22 | 2024-05-03 | 维沃移动通信(杭州)有限公司 | Authority management method and device for application program and electronic equipment |
| WO2024022296A1 (en) * | 2022-07-29 | 2024-02-01 | 云鲸智能(深圳)有限公司 | Cleaning robot control method, cleaning robot, and storage medium |
| CN117251085A (en) * | 2023-11-20 | 2023-12-19 | 北京小米移动软件有限公司 | Positioning method and device of equipment application, electronic equipment and storage medium |
| CN117251085B (en) * | 2023-11-20 | 2024-03-19 | 北京小米移动软件有限公司 | Positioning method and device of equipment application, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111695151A (en) | Application permission setting method and device, electronic equipment and readable storage medium | |
| US20170235435A1 (en) | Electronic device and method of application data display therefor | |
| US11416112B2 (en) | Method and device for displaying an application interface | |
| CN107181858B (en) | Method and terminal for displaying notification message | |
| US10776683B2 (en) | Application processing method and apparatus for embedded universal integrated circuit card | |
| CN113867585B (en) | Interface display method, device, electronic device and storage medium | |
| CN111796734B (en) | Application program management method, management device, electronic device, and storage medium | |
| CN113792329B (en) | Permission optimization method and related equipment | |
| CN112104785A (en) | Information display method and device | |
| CN111694490A (en) | Setting method and device and electronic equipment | |
| CN112286615B (en) | Information display method and device for application program | |
| CN112016080B (en) | Application permission management method, device and electronic device | |
| CN111898159B (en) | Risk prompting method, risk prompting device, electronic equipment and readable storage medium | |
| WO2022143660A1 (en) | Icon display method and apparatus, and electronic device | |
| CN112100672B (en) | Application program unloading method and device | |
| CN111796746B (en) | Volume adjustment method, volume adjustment device and electronic equipment | |
| CN111857465B (en) | Application icon sorting method and device and electronic equipment | |
| CN111752398A (en) | Verification code input method, device, electronic device and readable storage medium | |
| US20160196030A1 (en) | Method and electronic device for displaying electronic document | |
| WO2023103901A1 (en) | Application management method and apparatus, and electronic device | |
| CN113420270B (en) | Application program login method and device | |
| CN114564707A (en) | Application authority management method and device and electronic equipment | |
| CN112163209B (en) | Application management method and device and electronic equipment | |
| WO2022247865A1 (en) | Display control method and apparatus, electronic device, and medium | |
| CN108490824A (en) | Intelligent electrical appliance control method, device and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200922 |
|
| RJ01 | Rejection of invention patent application after publication |