Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Permission application method, component and device and computer readable storage medium

A technology of permissions and components, applied in computer security devices, computing, instruments, etc., can solve problems such as cumbersome processes, too many redundant codes, and inability to dynamically apply for permissions, and achieve the effect of simplifying the process and reducing redundancy.

Pending Publication Date: 2021-04-13
CHINA UNIONPAY
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When developers write application codes, they find that the process of implementing the above-mentioned dynamic application permissions in the existing technology is cumbersome, there are too many redundant codes, and it is impossible to easily implement dynamic application permissions in any module

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 application method, component and device and computer readable storage medium
  • Permission application method, component and device and computer readable storage medium
  • Permission application method, component and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0038] In the description of the embodiments of the present application, it should be understood that terms such as "comprising" or "having" are intended to indicate the existence of the features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and do not It is intended to exclude the possibility of the existence of one or more other features, figures, steps, acts, parts, parts or comb...

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 invention provides a permission application method, component and device and a computer readable storage medium, and the method comprises the steps of receiving a permission application request of an external application, the permission application request comprising a permission name of a target permission; if the target permission is not authorized, creating a transparent permission application container according to a current stack top page (Activity) component; applying for the target permission from the Android system by using the permission application container, and receiving a permission application result from the Android system; and calling a corresponding callback function according to the permission application result to realize successful callback or failed callback of the target permission. By means of the method, the permission application process can be greatly simplified, and code redundancy is reduced.

Description

technical field [0001] The invention belongs to the field of rights application, and in particular relates to a rights application method, component, device and computer-readable storage medium. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] Various application programs can be installed in terminal devices such as mobile phones and tablet computers. In order to realize certain functions, the application program needs to have corresponding system permissions. For example, when an application program needs to implement the function of recommending friends in the address book to the user, it needs to have the permission to obtain the address book information. The Android system has added a dynamic permission mechanism after version 6.0, that is, when an application uses ...

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/62G06F21/53
CPCG06F21/6281G06F21/53
Inventor 郑文添魏猛
Owner CHINA UNIONPAY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products