User communication method, device, terminal device and storage medium on blockchain
A communication method and technology of communication devices, which are applied in the fields of digital data information retrieval, special data processing applications, instruments, etc., can solve the problems of high construction difficulty and complex blockchain system, and achieve the goal of simplifying construction difficulty and reducing system complexity. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 It shows a flowchart of the user communication method on the block chain in this embodiment. The user communication method on the block chain can be applied to the application system based on the block chain technology, and is used for point-to-point communication between any two users on the block chain. Such as figure 1 As shown, the user communication method on the blockchain includes the following steps:
[0022] S10: User A writes the value Data1 and the key Kab corresponding to the value Data1 to the blockchain in the form of key-value pairs, key Kab = data prefix + user B's user address + user A's user address.
[0023] Among them, the key-value (key-value) is a data storage method, the value refers to the specific stored data, and the key is the index of the stored data. The value can be obtained directly by looking up its corresponding key. The key value reflects a corresponding relationship of data storage. The relationship pair composed of a key a...
Embodiment 2
[0055] Figure 4 It shows a functional block diagram of the user communication management device on the blockchain corresponding to the user communication method on the blockchain in Embodiment 1. Such as Figure 4 As shown, the user communication device on the block chain includes a key-value pair writing module 10 and a value obtaining module 20 . Among them, the implementation functions of the key-value pair writing module 10 and the value obtaining module 20 correspond to the corresponding steps of the user communication method on the block chain in Embodiment 1. To avoid redundant description, this embodiment does not describe them in detail.
[0056] The key-value pair writing module 10 is used for user A to write the value Data1 and the key Kab corresponding to the value Data1 to the block chain in the form of a key-value pair, key Kab=data prefix+user address of user B+user A’s user address.
[0057] The value acquisition module 20 is used for user B to obtain the v...
Embodiment 3
[0067] 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 user communication method on the blockchain in Embodiment 1 is implemented. In order to avoid repetition, it is not repeated here Let me repeat. Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the user communication device on the blockchain in Embodiment 2 are realized, and 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