Authorization processing method and apparatus, device and storage medium

A processing method and processing device technology, applied in the blockchain field, can solve problems such as inaccurate authorization records, and achieve the effect of improving accuracy

Active Publication Date: 2018-11-30
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the authorization record in the existing authorization agreement is unilaterally stored in the authorization server, if the authorization server unilaterally modifies the authorization rules or the authorization server data is lost, the authorization record will be inaccurate

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 processing method and apparatus, device and storage medium
  • Authorization processing method and apparatus, device and storage medium
  • Authorization processing method and apparatus, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] figure 1 It is a flow chart of an authorization processing method provided by Embodiment 1 of the present invention. This embodiment is based on the OAuth authorization protocol and applies blockchain technology to authorization scenarios to solve the problem that existing authorization records are only authorized by authorization. Unilateral endorsement by the server leads to issues such as the accuracy of authorization records and low credibility. The applicable blockchain can be a public chain or a consortium chain. The whole set of authorization processing methods is usually executed by the cooperation of third-party application nodes, authorization service nodes and other nodes in the blockchain system in the blockchain system, and each node independently participates in the operation of the blockchain system. Among them, the third-party application node is configured with a third-party application client and a blockchain application client. A third-party applicat...

Embodiment 2

[0060] figure 2 It is a flowchart of an authorization processing method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of Embodiment 1 above. see figure 2 , the method specifically includes:

[0061] S210. Generate an authorization record according to the authorization relationship of the resource owner to the third-party application.

[0062] S220. Send the authorization record to the block generation node in the blockchain system, so that the block generation node stores the authorization record in the blockchain system.

[0063] S230, receiving the block address stored in the block chain in the authorization record returned by the block generation node.

[0064] S240. Receive an authorization verification request sent by a supervisory node in the blockchain system, wherein the authorization verification request includes an authorization relationship to be verified.

[0065] Among them, the supervisory node refers t...

Embodiment 3

[0074] image 3 It is a flow chart of an authorization processing method provided by Embodiment 3 of the present invention. The entire authorization processing method is usually executed by the cooperation of third-party application nodes, authorization service nodes and other nodes in the blockchain system. The solution of the embodiment of the present invention is applied to a third-party application node in the blockchain system. The method can be executed by the authorization processing device provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and can be integrated In the computing device that hosts the nodes of the blockchain system. see image 3 , the method specifically includes:

[0075] S310, receiving the block address stored in the blockchain of the authorization record of the local third-party application node sent by the authorized service node in the blockchain system.

[0076] S320. Gene...

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 discloses an authorization processing method and apparatus, a device and a storage medium. The method is executed by a node in a blockchain system, and the method comprises the following steps: generating an authorization record according to an authorization relationship of a resource owner with a third party application; sending the authorization record to a blockgeneration node in the blockchain system, so that the block generation node stores the authorization record in a blockchain; and receiving a block address of the authorization record stored in the blockchain and returned by the block generation node. In the technical scheme of the embodiment of the invention, since the authorization record is stored in the blockchain, and both an authorization service node and the third party application node have the block address of the authorization record stored in the blockchain, and can both obtain the authorization record from the blockchain, thus improving the accuracy of the authorization record and making the authorization record be credible.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of block chain, and in particular to an authorization processing method, device, equipment and storage medium. Background technique [0002] In some Internet application scenarios, third-party applications that provide content services to users through an open platform (such as the developer of the Xiongzhanghao platform or the official account of the WeChat platform) need to call the account of the resource owner (that is, an ordinary user) in the platform information, the third-party application must be authorized by the resource owner. [0003] The authorization process based on the existing OAuth (Open Authorization) protocol is as follows: the third-party application sends an authorization request to the resource owner through the authorization server, and the resource owner sends the authorization result of the third-party application to the authorization server. The authoriz...

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 Applications(China)
IPC IPC(8): H04L9/06H04L9/08H04L9/32
CPCH04L9/0643H04L9/0861H04L9/0866H04L9/3213H04L9/3236H04L9/3247
Inventor 郑伟德潘晓雷吕恩茂邢宝平
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products