Function calling authentication and function calling method and device and authority information building method
A function and permission technology, applied in the computer field, can solve problems such as information security and adverse effects on operating performance, and achieve the effect of improving information security and operating performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] Such as figure 2As shown, the embodiment of this application provides a method for authenticating calls to JsBridge functions, which is applicable to Native SDK, including:
[0087] S101: Monitor the function call request sent by the APP; wherein, the function call request includes the information of the JsBridge function requested by the APP, and the function call request is used to call the JsBridge function corresponding to the information of the JsBridge function;
[0088] S102: Determine whether the above function call request is detected; if not detected, return to step S101 to continue monitoring; if detected, execute step S103;
[0089] S103: After monitoring the function call request, determine whether the APP has permission to call the JsBridge function corresponding to the information of the JsBridge function according to the function call request and the corresponding permission information of the APP; wherein, the permission information corresponding to th...
Embodiment 2
[0113] The embodiment of the present application also provides a method for calling the JsBridge function, including:
[0114] The APP sends a function call request; wherein, the function call request includes the information of the JsBridge function requested by the APP, and the function call request is used to call the JsBridge function corresponding to the information of the JsBridge function;
[0115] When the APP is allowed to call the JsBridge function according to the function call request and the permission information corresponding to the APP, the APP calls the JsBridge function corresponding to the information of the JsBridge function; wherein, the permission information corresponding to the APP stores the information of the JsBridge function authorized to be called by the APP .
[0116] This embodiment may be applicable to a request calling process when an APP (for example, H5APP and Hybrid APP) needs to call the JsBridge function during operation. This embodiment ...
Embodiment 3
[0118] The embodiment of the present application also provides a method for establishing authority information, see Figure 6 shown, including:
[0119] S201: After receiving the request for registering the APP, the authority information database generates APP domain name information and APP identifier information;
[0120] S202: Receive a request for applying for a JsBridge function authority; wherein, the request for applying for a JsBridge function authority includes information about the JsBridge function that is requested to be authorized to be called;
[0121] S203: Establish authority information corresponding to the APP domain name information and the APP identifier information, and store the information of the JsBridge function authorized by the APP in the authority information; where the authority information is used to monitor the function call request sent by the APP Finally, determine whether the APP has permission to call the JsBridge function corresponding to t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com