Unlock instant, AI-driven research and patent intelligence for your innovation.

Permission detection method and apparatus, electronic device and readable storage medium

A detection method and permission technology, which is applied in the field of communication, can solve the problems of no provision, the inability to detect permission by the application program, and the narrow application range of the permission detection method, and achieve the effect of expanding the scope of application

Active Publication Date: 2018-11-13
KINGSOFT
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some mobile terminal systems do not provide APIs for detecting permissions. For example, EMUI, a Huawei mobile phone system developed based on systems before Android 6.0, does not provide APIs that can detect permissions, making it impossible for applications to detect whether they have obtained the corresponding permissions.
It can be seen that the existing permission detection method needs to call the API provided by the system, resulting in a narrow scope of application of the permission detection method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Permission detection method and apparatus, electronic device and readable storage medium
  • Permission detection method and apparatus, electronic device and readable storage medium
  • Permission detection method and apparatus, electronic device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] The application of the present invention provides a permission detection method, device, electronic equipment and computer-readable storage medium. The above method can generally be applied to any application program (which can be called a target application program) in a smart terminal (which can be called a target terminal), and the target terminal can be a device such as a smart phone or a tablet computer. The target application program can obtain th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a permission detection method and apparatus, an electronic device and a readable storage medium. The system permission management service of a target terminalcan be obtained, an identifier of a target application program and a code of a target permission are sent to the system permission management service, so that the system permission management servicegenerates detection response data according to the identifier of the target application program and the code of the target permission, and when the detection response data sent by the system permission management service is received, a permission state of the target application program on the target permission is determined according to a preset corresponding relationship between the detection response data and the permission state. Based on the above processing, the permission detection can be implemented without calling the API of the detection permission, and the permission detection methodcan be applied to a mobile operating system of the API that does not provide the detection permission, thereby expanding the application range of the permission detection method.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a permission detection method, device, electronic equipment and computer-readable storage medium. Background technique [0002] With the rapid development of mobile terminals, the functions of the application programs in the mobile terminals are becoming more and more abundant. However, when an application program calls a certain function, it needs to first check whether the corresponding permission is obtained. The permissions corresponding to the functions may include permissions related to user privacy, for example, camera, photo album, location and microphone permissions. Specifically, if the WeChat application needs to call the camera function, it first needs to detect whether it has obtained the permission to use the camera; if the WeChat application needs to call the photo album function, it first needs to detect whether it has obtained the permission to ac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/60
CPCG06F21/604G06F2221/2141
Inventor 李树涛
Owner KINGSOFT