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

Authorization information acquisition method, device and electronic equipment

A technology for authorizing information and electronic equipment, applied in the computer field, can solve problems such as communication failures, achieve high security, improve efficiency, and reduce coupling relationships

Active Publication Date: 2019-09-10
南方电网互联网服务有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there are many defects in the method of inter-process communication through AIDL. When AIDL changes, both applications need to change and upgrade the aidl file at the same time.
will result in a tight coupling between two independent applications
Once one party upgrades and the other party does not upgrade the aidl file, it will lead to abnormal situations such as communication failure.

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
  • Authorization information acquisition method, device and electronic equipment
  • Authorization information acquisition method, device and electronic equipment
  • Authorization information acquisition method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0024] Please refer to figure 2 , figure 2A flow chart of a method for obtaining authorization information provided by a preferred embodiment of the present invention is shown. The method for obtaining authorization information includes the following steps:

[0025] Step S201, acquiring the description information corresponding to each of the application programs.

[0026] In this embodiment, the description information corresponds to the application program, so that the corresponding application program can be easily found through the description information. The description information may be the information describing the function of the application program, for example, the description information of the application program that will be retrieved as a browser; it may also be the application program package name. In this embodiment, the package name of each application program is used as the description information of the corresponding application program, and the pack...

no. 2 example

[0046] Please refer to Figure 4 , Figure 4 A schematic diagram of an authorization information acquisition device 200 provided in a preferred embodiment of the present invention. The device 200 for obtaining authorization information includes a first obtaining module 201 , a starting module 202 , a generating module 203 , a feedback module 204 , an analyzing module 205 , a second obtaining module 206 and an adding module 207 .

[0047] The first obtaining module 201 is used for the first application to obtain the description information corresponding to the second application in response to a user operation.

[0048] In the embodiment of the present invention, step S101 may be executed by the first obtaining module 201 .

[0049] The startup module 202 is used for the first application program to call the preset first protocol in the electronic device 100 according to the description information, and implicitly open the predefined startup page in the second application pro...

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

An authorization information obtaining method and apparatus, an electronic device, and a readable storage medium provided in the present application. The method comprises: a first application invokes, according to description information, a first protocol preset in the electronic device to implicitly open a start page predefined in a second application; when the second application obtains an authorization code before being closed, generate authorization feedback data according to the authorization code; and after the second application is closed, feed the authorization feedback data back to the first application by means of a second protocol, thereby enabling the first application to obtain authorization information of the second application. The function of allowing the second application to send the feedback data to the first application after the second application is started by the first protocol is skillfully applied, so that a coupling relationship between the applications is reduced, and the efficiency of communication between the applications is effectively improved. Furthermore, the first protocol is a system-level protocol with higher security.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an authorization information acquisition method, device and electronic equipment. Background technique [0002] To achieve interaction between different applications, usually authorized login is the first step. Whereas authorized login is essentially a communication between two applications. The method for communicating between two application programs is usually implemented by adopting Android Interface Definition Language (AIDL). [0003] However, there are many defects in the method of inter-process communication through AIDL. When AIDL changes, both application programs need to change and upgrade the aidl file at the same time. It will lead to a tight coupling relationship between two independent applications. Once one party upgrades and the other party does not upgrade the aidl file, abnormal situations such as communication failure will occur. Contents of the...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/12G06F21/52
Inventor 张磊张文明陈少杰
Owner 南方电网互联网服务有限公司