Method and device for reestablishing user database on block chain, equipment and medium
A blockchain and database technology, applied in the blockchain field, can solve the problem of inability to retrieve indexes and data keys.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It shows a flow chart of the method for rebuilding the user database on the blockchain in this embodiment. The user database reconstruction method on the block chain can be applied to the application system based on the block chain technology, and is used to re-establish the user's application database when the user loses the index and data key on the block chain. Such as figure 1 As shown, the user database reconstruction method on the block chain includes the following steps:
[0026] S10: Read all data entries on the blockchain, each data entry is stored in the form of a key-value pair, each data entry is obtained after being encrypted with a preset encryption algorithm, and the index of each data entry includes a user ID .
[0027] Blockchain is a new application mode of computer technology such as distributed data storage, consensus mechanism and encryption algorithm. This embodiment is implemented based on a blockchain system. The blockchain mentioned...
Embodiment 2
[0075] Figure 4 A functional block diagram of a device for rebuilding a user database on a blockchain corresponding to the method for rebuilding a user database on a blockchain in Embodiment 1 is shown. Such as Figure 4 As shown, the user database rebuilding device on the block chain includes a reading module 10 , a decryption module 20 , a saving module 30 and a rebuilding module 40 . Among them, the implementation functions of the reading module 10, the decryption module 20, the saving module 30 and the reconstruction module 40 correspond to the steps corresponding to the user database reconstruction method on the block chain in Embodiment 1. In order to avoid redundant description, this embodiment is different. a detailed description.
[0076] The reading module 10 is used to read all data entries on the block chain. Each data entry is stored in the form of a key-value pair. Each data entry is obtained after being encrypted by using a preset encryption algorithm. Each d...
Embodiment 3
[0090] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for rebuilding the user database on the blockchain in Embodiment 1 is implemented. In order to avoid repetition, here No longer. Alternatively, when the computer program is executed by the processor, the functions of the modules / units in the device for rebuilding the user database on the blockchain in Embodiment 2 are implemented. In order to avoid repetition, details are not repeated here.
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