Patent attributes
Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for managing user authorizations for blockchain-based services. One of the methods includes: at a service platform, receiving, from a computing device associated with a user, an encryption key and data for storage on a blockchain, wherein the data includes public data and private data, and the encryption key encrypts the private data; storing the encryption key and an identifier (ID) of the data in a cache storage dedicated to storing smart contract data for executing a smart contract; and invoking an application programming interface (API) to enable a blockchain node to initiate a consensus algorithm to record the data and the ID of the data on a blockchain.