A method and system for managing address information based on blockchain technology

Through blockchain technology and an improved share authorization proof mechanism, combined with elliptic curve encryption algorithm, the high load, easy tampering and data inconsistency problems existing in centralized and distributed databases in address information management are solved, and efficient and secure address information management is achieved.

CN116668458BActive Publication Date: 2025-09-16WUHAN YITU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310629919.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2025-09-16
Estimated Expiration
2043-05-30

AI Technical Summary

Technical Problem

In existing address information management methods, centralized databases have problems such as high load and easy tampering due to data centralization, while distributed databases have problems such as data inconsistency and high deployment costs, making it difficult to ensure the authority and security of the data.

Method used

Blockchain technology is used to establish distributed nodes, and an improved share authorization proof mechanism and elliptic curve encryption algorithm are used. Through key node consensus and encryption processing, the security and consistency of address information are ensured, and an improved DPOS consensus mechanism is used to ensure the stability of nodes and the authority of data.

Benefits of technology

It improves data access efficiency, ensures data security and consistency, enhances the tamper-proofness and authority of address information, and simplifies the data management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116668458B_ABST
    Figure CN116668458B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for managing address information based on blockchain technology. During the blockchain platform construction phase, a blockchain address data management platform is established. Following the blockchain address data management platform mechanism, each client is deployed as a distributed node of the blockchain. The client registers, and the blockchain data management platform assigns a unique account to each node, along with a private key and a public key. During the data on-chain phase, the client sends a data request to the platform using a unique account. Based on the request sent by the user, the platform obtains the user's account, address information data, and timestamp information, encrypts the address information data, and transmits the encrypted data to each node. Each node endorses and confirms the address information data through a consensus mechanism, and each node stores the address information in the blockchain. This method fills a gap in research on the authority and standardization of address information. The method is simple, effective, highly accurate, and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management technology, and in particular to an address information management method and system based on blockchain technology. Background Art

[0002] Current standard address information in my country consists primarily of two components: address attributes such as the name, and the spatial location of the address. Address information management currently relies primarily on either centralized or distributed database management. A centralized database is a database that is stored, located, and maintained solely at a single node. Data in this type of database is modified and managed solely at that node. Therefore, this node serves as the core of data management, serving as the central node, with other nodes accessing the central node via an internet connection. This type of centralized database is primarily used by institutions or organizations. Because all data is stored on a single node, access and coordination are easier. Centralized databases, with all data stored on a single node, minimize data redundancy. Compared to other available database management systems, centralized databases are easier to maintain and deploy, and are more affordable. A distributed database consists of multiple interconnected database nodes distributed across different physical locations. Each node can manage data independently of other nodes, but data between nodes must be synchronized to maintain consistency. Communication between databases at different nodes is facilitated by computer networks. Because data is distributed across nodes in different physical locations, distributed databases can be easily expanded and scaled. Distributed databases can also be easily accessed from different nodes, and are more secure than centralized databases.

[0003] However, the existing address information management methods have at least the following technical problems:

[0004] Centralized database management results in higher data traffic and a heavier load on the central server. If the central server's data fails, the entire system may be unable to provide data services. Different nodes must communicate with the central server to obtain information, resulting in long user wait times and heavy server load. Centralized database access efficiency is low, and data management is complex to address issues such as concurrent access and data consistency. Because data and information are stored in a specific location, central server data is susceptible to tampering and difficult to trace. Distributed databases use multiple nodes to store data, resulting in high deployment costs and difficult maintenance due to their complexity. Because data in distributed databases is distributed across different physical locations and managed in shards, data redundancy checks are required to maintain data consistency, making it more expensive to provide users with a unified view. Furthermore, sharded data on a single node is susceptible to tampering, resulting in inconsistent and disjointed data and lower data security.

[0005] It can be seen from this that in the existing technology, the data of each management department is difficult to prevent tampering, the security is low, and it is difficult to ensure the authority of the address data. Summary of the Invention

[0006] The purpose of the present invention is to provide an address information management method based on blockchain technology to solve the related problems raised in the above background technology, including the problem that during the address storage and use process, each node has non-standard and inconsistent data, the problem that the data is easily tampered with and has low security, and the problem that the centralized or distributed data management query efficiency is low.

[0007] In order to solve the above technical problems, the technical solution of the present invention is:

[0008] The first aspect provides an address information management method based on blockchain technology, comprising:

[0009] S1: Establish a blockchain address data management platform, and use the blockchain address data management platform mechanism to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism uses the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block will be broadcast to other ordinary nodes;

[0010] S2: Receives registration requests from clients and assigns user accounts, public keys, private keys, and decryption authorization certificates to each client based on the registration requests.

[0011] S3: Receive an address information data request from a client, where the address information data includes a user account, address information data, and a timestamp. The client's identity is authenticated based on the user account in the address information data. The address information data is encrypted using the client's corresponding public key and then transmitted to other clients.

[0012] S4: Each client endorses and confirms the address information data through the improved share authorization proof mechanism and stores the address information data.

[0013] In one embodiment, in step S2, the blockchain address data management platform uses an elliptic curve algorithm when assigning public keys and private keys to each client. When generating a private key, a base point G is first selected, and then a 256-bit random number k is generated. The random number is the private key. Then, through elliptic random curve multiplication, a point K on the curve is obtained. K is the public key, K: k*G.

[0014] In one embodiment, the address information data request sent by the client in step S3 includes an address information data upload request and an address information data update request. When the request sent is an address information data upload request, the address information data included in the request is the address information data to be uploaded. When the request sent is an address information data update request, the address information data included in the request is the updated address information data, and the address information data includes address attribute information and address space location information.

[0015] In one embodiment, the method further includes: obtaining data credentials based on the user account and timestamp information in the address information data request for data query.

[0016] In one embodiment, step S3 encrypts the address information data using the public key corresponding to the client and transmits it to other clients, including:

[0017] Use the public key corresponding to the client to encrypt the address information data to obtain the ciphertext;

[0018] Perform hash operation on the address information data to obtain a summary;

[0019] The compressed file obtained by compressing the ciphertext and digest is transmitted to each client.

[0020] In one embodiment, before each client endorses and confirms the address information data using the improved share authorization proof mechanism, the method further includes each client decrypting the received address information data using the corresponding private key. The received address information data is a compressed file. The decryption process includes:

[0021] Decompress the received compressed file to obtain the ciphertext and summary of the address information data;

[0022] Decrypt the ciphertext of the address information data using the decryption authorization certificate and the private key to obtain the decrypted address information data;

[0023] Perform a hash operation on the decrypted address information data and compare the hash result with the digest. If the comparison results are consistent, it indicates that the verification is successful.

[0024] In one embodiment, step S4 includes:

[0025] Allocate different amounts of tokens to key nodes and ordinary nodes;

[0026] Key nodes are obtained through voting through an improved share authorization proof mechanism. Key nodes include node B and node C. Node B is the node that determines address attribute information, and node C is the node that determines address space location information. The remaining nodes are ordinary nodes.

[0027] Key nodes collect transaction information, including address information data that needs to be uploaded or updated;

[0028] Key nodes endorse and confirm the collected transaction information. After reaching consensus, they package the transaction information into blocks for on-chain storage and broadcast the blocks to other ordinary nodes.

[0029] Other ordinary nodes verify the received blocks and add them to the corresponding database.

[0030] Based on the same inventive concept, the second aspect of the present invention provides an address information management system based on blockchain technology, comprising:

[0031] The platform construction module is used to establish a blockchain address data management platform. The blockchain address data management platform mechanism is used to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism regards the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block is broadcast to other ordinary nodes.

[0032] The key distribution module is used to receive registration requests sent by the client and allocate a user account, public key, private key and decryption authorization certificate to each client based on the registration request;

[0033] A data request module is configured to receive an address information data request from a client, wherein the address information data includes a user account, address information data, and timestamp information, authenticate the identity of the client based on the user account in the address information data, and encrypt the address information data using the client's corresponding public key before transmitting it to other clients;

[0034] The data on-chain module is used by each client to endorse and confirm the address information data through an improved share authorization proof mechanism, and to store the address information data.

[0035] Based on the same inventive concept, the third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the method described in the first aspect when the program is executed.

[0036] Based on the same inventive concept, the fourth aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0037] Compared with the prior art, the advantages and beneficial technical effects of the present invention are as follows:

[0038] The present invention provides a blockchain-based address information management method. Leveraging the advantages of blockchain technology, such as high security, tamper resistance, and traceability, the platform builds a blockchain address data management platform. Using an improved share authorization certification mechanism, each client is deployed as a distributed node of the blockchain. Address attribute information and address space location information are determined by two specific departments (joint points), respectively, and other nodes can only use them. Address data information is stored on the blockchain, solving the following problems: During address storage and use, data on each node may be non-standard or inconsistent, data may be easily tampered with, and security may be low. Centralized or distributed data management and query efficiency may be low, thus filling a gap in research on the authority and standardization of address information. The method is simple, effective, highly accurate, and easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 This is a flowchart of the address information management method based on blockchain technology provided by an embodiment of the present invention;

[0041] Figure 2 This is a flowchart of uploading address information data to the chain in an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The purpose of the present invention is to provide an address information management method based on blockchain technology to solve the related problems raised in the above background technology, including the problem that during the address storage and use process, each node has non-standard and inconsistent data, the problem that the data is easily tampered with and has low security, and the problem that the centralized or distributed data management query efficiency is low.

[0043] In existing centralized database management, all data is stored in the central node. Other nodes need to access the central node to obtain data, which has a very low access efficiency. In the distributed storage of blockchain, each participating node has independent and complete data storage, which greatly improves the data access efficiency.

[0044] In existing distributed database management, data is sharded and stored in different nodes, which may lead to inconsistencies in the same data on different nodes. However, in the blockchain data management system, data upload, update, and deletion operations must all go through the blockchain. Each node has a copy of the blockchain, and the consistency of data on each node is guaranteed.

[0045] In existing database management, data is directly transmitted in plain text, which has low security during the transmission process. By combining blockchain and using elliptic curve encryption algorithm for double verification, data transmission between nodes is more secure.

[0046] In the existing address information database management, there is a lack of research on the authority of address information. In the blockchain, data can only be uploaded to the chain after consensus among key nodes, and the authority of address information is guaranteed.

[0047] In centralized database management, tampering with data on a central node can compromise the entire system. In distributed databases, malicious attacks on certain nodes can also tamper with data. However, in a blockchain system, because every node has a copy of the blockchain, tampering with data requires a simultaneous intrusion into all nodes, changing their data. This significantly improves the tamper-resistance of address information.

[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0049] Example 1

[0050] This invention provides an address information management method based on blockchain technology, see Figure 1 , the method comprising:

[0051] S1: Establish a blockchain address data management platform, and use the blockchain address data management platform mechanism to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism uses the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block will be broadcast to other ordinary nodes;

[0052] S2: Receives registration requests from clients and assigns user accounts, public keys, private keys, and decryption authorization certificates to each client based on the registration requests.

[0053] S3: Receive an address information data request from a client, where the address information data includes a user account, address information data, and a timestamp. The client's identity is authenticated based on the user account in the address information data. The address information data is encrypted using the client's corresponding public key and then transmitted to other clients.

[0054] S4: Each client endorses and confirms the address information data through the improved share authorization proof mechanism and stores the address information data.

[0055] First, the key technologies involved in the present invention are introduced.

[0056] Blockchain technology refers to a decentralized, third-party-free approach to collectively maintain a reliable database. It is the underlying technology behind digital currencies like Bitcoin and Ethereum. Simply put, blockchain technology is a system for public accounting. Transactions on a blockchain are confirmed through consensus among all nodes, and upon successful consensus, they are packaged and written into blocks. The blockchain maintains a public ledger that stores all transactions on the network. All systems have a database behind them, which can be thought of as a large ledger. Therefore, who maintains this ledger becomes crucial. This approach is what we call blockchain technology.

[0057] A hash operation, also known as a hash operation or digest algorithm, is the process of converting data of arbitrary length into an output value of fixed length using a hash function. Hash functions are typically designed to be highly efficient algorithms that can quickly map input data of arbitrary length to an output value of fixed length, and the output value remains constant regardless of changes in the input data length. The main characteristics of hash functions are uniqueness, ease of computation, and resistance to modification. For any input data, there is only one unique result corresponding to it; regardless of the length of the input data, the hash function can calculate the hash value in a relatively short time; and even for two data with minimal differences, the output results can be very different.

[0058] Elliptic Curve Cryptography (ECC) is an asymmetric encryption algorithm based on the mathematical theory of elliptic curves. Compared to RSA, ECC can use shorter keys while achieving comparable or higher security. RSA, also an asymmetric encryption algorithm, is widely used in public key cryptography and electronic commerce.

[0059] The consensus mechanism uses voting by specialized nodes to quickly verify and confirm transactions. If several nodes with unrelated interests can reach consensus on a transaction, we can assume the entire network has reached consensus. Consensus mechanisms use rules to bring nodes together to ensure data consistency and validity. Consistency means that the spatial data stored on the blockchain is identical across all nodes, while validity means that the transaction data sent by each node can be stored in the block and uploaded to the chain.

[0060] Delegated Proof of Stake (DPOS) is a new consensus mechanism designed to ensure network security. Similar to board voting, DPOS features a built-in, real-time shareholder voting system, acting as a continuous shareholder meeting where all shareholders vote on company decisions. The decentralization of blockchains built on DPOS relies on a certain number of representatives, rather than all users. In such a blockchain, all nodes vote to elect a certain number of node representatives, who act on behalf of all nodes to confirm blocks and maintain the smooth operation of the system. Furthermore, all nodes in the blockchain have the power to remove and appoint representatives at any time. If necessary, all nodes can vote to remove the current node representative and re-elect new representatives, achieving real-time democracy. The DPOS mechanism significantly reduces the number of nodes involved in validation and accounting, achieving consensus verification within seconds.

[0061] Distributed storage in blockchains means that each participating node has independent, complete data storage. Unlike traditional distributed storage, blockchain distributed storage is unique in two key ways: First, each blockchain node stores complete data in a block-chain structure. Traditional distributed storage typically divides data into multiple copies according to specific rules. Second, each blockchain node has independent and equal storage, meaning there is no central node. Consensus mechanisms ensure storage consistency, while traditional distributed storage typically synchronizes data from a central node to other backup nodes. Data nodes can be different physical machines or different instances in the cloud.

[0062] Currently, standard address information in my country consists primarily of two components: attribute information such as the address name, and the address's spatial location. Current address information management primarily utilizes centralized or distributed databases. However, data from various management departments is difficult to tamper-proof, resulting in low security and difficulty ensuring the authority of address data. Blockchain technology can enable distributed management of address information, overcoming the inherent block-based storage limitations of traditional distributed databases. This improves data authority, accuracy, and consistency, and facilitates the collaborative development, sharing, and utilization of address information by government departments, businesses, and individuals. Currently, there are no publicly published papers or patents in China on this topic.

[0063] The address information management method based on blockchain technology provided by the present invention mainly includes two stages, the blockchain platform construction stage (steps S1 and S2) and the data chain stage (S3 and S4).

[0064] The main differences and advantages of the address information management method based on blockchain technology provided by the present invention and the data storage or sharing method based on blockchain technology in the prior art include:

[0065] First, the data type is different. The data stored in existing technologies is logistics transaction information, primarily represented by running transactions and acting as ledger invoices. This application stores address information, which uses invoices to store static data and does not involve transactions or changes in the amount of money. Address information consists of two parts: spatial information and attribute information. Currently, there is no literature or technology that uses blockchain to store this type of data.

[0066] Second, the consensus mechanism used is different. This application adopts an improved DPOS consensus mechanism. The spatial information and attribute information in the address information data are determined by two specific departments (nodes) respectively. This ensures that the nodes that generate consensus each time are these two nodes, and the key nodes will not be replaced. In the DPOS consensus mechanism used in the existing technology, the nodes for consensus are changing.

[0067] Third, the functions and purposes achieved are different. The existing technology is to achieve real-time sharing of logistics data, and its main function is to obtain data information from the blockchain. This application is to store data on the chain, ensure the authority of the data on the chain, and manage the address information data.

[0068] In general, this application combines the actual situation of address information management, improves the DPOS consensus mechanism, and uses a highly secure, tamper-proof, and traceable blockchain to store address information data, thereby ensuring the authority of address information data.

[0069] In one embodiment, in step S2, the blockchain address data management platform uses an elliptic curve algorithm when assigning public keys and private keys to each client. When generating a private key, a base point G is first selected, and then a 256-bit random number k is generated. The random number is the private key. Then, through elliptic random curve multiplication, a point K on the curve is obtained. K is the public key, K: k*G.

[0070] In other implementations, the elliptic encryption algorithm may be replaced by the RSA encryption algorithm. Both are asymmetric encryption algorithms and can improve data security.

[0071] The principle of the RSA public-key cryptosystem is as follows: According to number theory, it is relatively easy to find two large prime numbers, but it is extremely difficult to factorize their product. Therefore, the product can be made public as the encryption key.

[0072] The specific description of the RSA algorithm is as follows:

[0073] (1) Arbitrarily select two different large prime numbers p and q, calculate the product n = p * q, and z = (p - 1)(q - 1);

[0074] (2) Arbitrarily select a large integer e, and use the integer e as the key (the selection of e is very easy. For example, all prime numbers greater than p and q can be used);

[0075] (3) Determine the solution key d, satisfying (d * e) mod z = 1, that is, d * e = k * z + 1, where k ≥ 1 is an arbitrary integer; Therefore, if e and z are known, it is very easy to calculate d;

[0076] (4) Make the integers n and e public and secretly store d;

[0077] (5) Encrypt the plaintext m (m < n is an integer) into the ciphertext c, and the encryption algorithm is

[0078] c = E(m) = m mod n

[0079] (6) Decrypt the ciphertext c into the plaintext m, and the decryption algorithm is

[0080] m = D(c) = c mod n

[0081] However, it is impossible to calculate d only based on n and e. Therefore, anyone can encrypt the plaintext, but only authorized users (who know d) can decrypt the ciphertext.

[0082] In one implementation, the address information data request in step S3 includes an address information data upload request and an address information data update request. When the sent request is an address information data upload request, the address information data included in the request is the address information data to be uploaded. When the sent request is an address information data update request, the address information data included in the request is the updated address information data. The address information data includes address attribute information and address space location information.

[0083] Specifically, when the blockchain address data management platform receives an address information request from a client, it obtains the user account, address information, and timestamp information. The platform uses the user account to determine the identity of the node initiating the request and the specific department. The address information is encrypted using a public key and transmitted to each node. The timestamp records the specific time the user requested the data, preserving the request data as proof.

[0084] In one embodiment, the method further includes: obtaining data credentials based on the user account and timestamp information in the address information data request for data query.

[0085] Through the establishment of the address information management platform, each client is a distributed node of the address information management platform. When the client needs to upload or update data, it sends an address information data request to the data management platform. The request sent contains address attribute information and spatial location information. When uploading information, the platform obtains the user's account, address information data and timestamp information according to the request sent by the user, authenticates the user's identity, and obtains credentials through the obtained timestamp information and user account information. The credentials cannot be tampered with, which facilitates subsequent data queries.

[0086] In one embodiment, step S3 encrypts the address information data using the public key corresponding to the client and transmits it to other clients, including:

[0087] Use the public key corresponding to the client to encrypt the address information data to obtain the ciphertext;

[0088] Perform hash operation on the address information data to obtain a summary;

[0089] The compressed file obtained by compressing the ciphertext and digest is transmitted to each client.

[0090] Specifically, the hash operation can use the SHA256 algorithm. For any length of input address information data, a 256-bit hash value will be obtained. The process can be summarized into five steps:

[0091] Step 1: padding the address information data to make its length a multiple of 512 bits;

[0092] Step 2: Divide the padded message into several 512-bit blocks;

[0093] Step 3: Initialize eight 32-bit registers A, B, C, D, E, F, G, and H. These registers are used to store different parts of the hash value.

[0094] Step 4: Process each 512-bit block. Process each 512-bit block and update the value in the register through multiple rounds of operations.

[0095] Step 5: Generate a hash value. After all blocks have been processed, concatenate the values ​​in the registers in a certain order to obtain the final 256-bit hash value.

[0096] In one embodiment, before each client endorses and confirms the address information data using the improved share authorization proof mechanism, the method further includes each client decrypting the received address information data using the corresponding private key. The received address information data is a compressed file. The decryption process includes:

[0097] Decompress the received compressed file to obtain the ciphertext and summary of the address information data;

[0098] Decrypt the ciphertext of the address information data using the decryption authorization certificate and the private key to obtain the decrypted address information data;

[0099] Perform a hash operation on the decrypted address information data and compare the hash result with the digest. If the comparison results are consistent, it indicates that the verification is successful.

[0100] In one embodiment, step S4 includes:

[0101] Allocate different amounts of tokens to key nodes and ordinary nodes;

[0102] Key nodes are obtained through voting through an improved share authorization proof mechanism. Key nodes include node B and node C. Node B is the node that determines address attribute information, and node C is the node that determines address space location information. The remaining nodes are ordinary nodes.

[0103] Key nodes collect transaction information, including address information data that needs to be uploaded or updated;

[0104] Key nodes endorse and confirm the collected transaction information. After reaching consensus, they package the transaction information into blocks for on-chain storage and broadcast the blocks to other ordinary nodes.

[0105] Other ordinary nodes verify the received blocks and add them to the corresponding database.

[0106] See Figure 2 , which is a flow chart of uploading address information data to the chain in the method provided in the embodiment of the present invention.

[0107] Specifically, through the improved share authorization proof mechanism, two proxy nodes, Node B and Node C, can be obtained through voting, which determine the address information space information and attribute information respectively. In this invention, the node that performs endorsement confirmation can only be the proxy node voted from the shareholder nodes by the DPOS algorithm, that is, the key node.

[0108] This paper uses blockchain technology to combine the advantages of centralized and distributed database management while addressing their respective shortcomings. Distributed storage in a blockchain allows each participating node to maintain independent, complete data storage, significantly improving data access efficiency. Data upload, update, and deletion operations all pass through the blockchain, and each node maintains a copy of the blockchain, ensuring data consistency across nodes. By integrating blockchain with elliptic curve cryptography for dual verification, data transmission between nodes is more secure. Data can only be uploaded to the blockchain after consensus among key nodes, ensuring the authority of address information. Because every node maintains a copy of the blockchain, unauthorized data tampering requires simultaneous intrusion into all nodes and the modification of their data, significantly enhancing the tamper-resistance of address information.

[0109] The method proposed in the present invention is introduced and explained below through a specific example:

[0110] The user logs in to the blockchain address data management platform through a unique account at node A, and the platform will assign public and private keys to the user.

[0111] After the user submits an address information data request at Node A, the blockchain data management platform obtains the user's account, address information data, and timestamp information based on the user's request. The address information data is then encrypted using Node A's public key, and a digest is generated. The two are then compressed and packaged, and then P2P-transmitted to all nodes in the blockchain network. After receiving the compressed data (compressed file), each node uses its private key to decrypt the ciphertext of the address information data in the compressed file to obtain the plaintext, i.e., the address information data. The data is then hashed and compared with the digest to verify the correctness of the data.

[0112] After receiving the data, each node will vote through the DPOS consensus mechanism to obtain the proxy node, namely the key nodes B and C. The algorithm cleverly arranges the node that determines the address information name and other attributes to be the B node, and the node that determines the address space location information to be the C node; the key node endorses the address information data. After the key nodes reach a consensus, they broadcast the block to each node, and each node stores the data on the chain, ensuring that the data of all nodes is determined by the two nodes B and C, and the authority of the address information is guaranteed.

[0113] If someone maliciously attacks any node, such as node E, and attempts to tamper with the data on the chain, since each node has a copy of the blockchain, changing the data on that node alone is impossible. Therefore, the person needs to submit a data change request to node E. Following the above steps, when the key node endorses the address information data, the request will be rejected, the process terminates, and the data cannot be uploaded to the chain. Unless the person controls all nodes simultaneously, data tampering is impossible, greatly improving the data's tamper-proofness.

[0114] In the embodiments of the present invention, the public and private keys of the elliptic curve encryption algorithm are used to ensure the security of data transmission; by improving the DPOS consensus mechanism, the key nodes that determine the address data attribute information and address data space information are ensured to remain unchanged, thereby ensuring the authority of the on-chain data; by combining address information with blockchain technology, the tamper-proof nature of address information is guaranteed.

[0115] The main technical key points and beneficial technical effects of the present invention include:

[0116] 1. For the first time, blockchain, a highly secure, tamper-proof, and traceable distributed technology, is used in address information, combining the advantages of traditional centralized and distributed databases.

[0117] 2. Improve the DPOS consensus mechanism algorithm, innovatively solving the problem of standard address information being determined by several key nodes during the on-chain process, thus ensuring the authority of address information.

[0118] 3. Combining blockchain technology and adopting elliptic curve encryption algorithm, the security of address information transmission is improved.

[0119] Example 2

[0120] Based on the same inventive concept, an embodiment of the present invention discloses an address information management system based on blockchain technology, comprising:

[0121] The platform construction module is used to establish a blockchain address data management platform. The blockchain address data management platform mechanism is used to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism regards the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block is broadcast to other ordinary nodes.

[0122] The key distribution module is used to receive registration requests sent by the client and allocate a user account, public key, private key and decryption authorization certificate to each client based on the registration request;

[0123] A data request module is configured to receive an address information data request from a client, wherein the address information data includes a user account, address information data, and timestamp information, authenticate the identity of the client based on the user account in the address information data, and encrypt the address information data using the client's corresponding public key before transmitting it to other clients;

[0124] The data on-chain module is used by each client to endorse and confirm the address information data through an improved share authorization proof mechanism, and to store the address information data.

[0125] Since the system described in Example 2 of the present invention is the system used to implement the address information management method based on blockchain technology in Example 1 of the present invention, those skilled in the art will be able to understand the specific structure and variations of this system based on the method described in Example 1 of the present invention, and therefore will not be described in detail here. All systems used in the method of Example 1 of the present invention fall within the scope of protection of the present invention.

[0126] Example 3

[0127] Based on the same inventive concept, the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed, the method described in the first embodiment is implemented.

[0128] Since the computer-readable storage medium described in Example 3 of the present invention is the computer-readable storage medium used to implement the address information management method based on blockchain technology in Example 1 of the present invention, those skilled in the art will be able to understand the specific structure and variations of the computer-readable storage medium based on the method described in Example 1 of the present invention, and therefore will not be described in detail here. All computer-readable storage media used in the method of Example 1 of the present invention fall within the scope of protection of the present invention.

[0129] Example 4

[0130] Based on the same inventive concept, the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method in the first embodiment is implemented.

[0131] Since the computer device described in Example 4 of the present invention is the computer device used to implement the address information management method based on blockchain technology in Example 1 of the present invention, those skilled in the art will be able to understand the specific structure and variations of the computer device based on the method described in Example 1 of the present invention, and therefore will not be described in detail here. All computer devices used in the method of Example 1 of the present invention fall within the scope of protection of the present invention.

[0132] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0133] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0134] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, the present invention is intended to include such changes and modifications to the embodiments of the present invention if they fall within the scope of the claims and their equivalents.

Claims

1. A method for address information management based on blockchain technology, characterized in that: include: S1: Establish a blockchain address data management platform, and use the blockchain address data management platform mechanism to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism uses the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block will be broadcast to other ordinary nodes; S2: Receives registration requests from clients and assigns user accounts, public keys, private keys, and decryption authorization certificates to each client based on the registration requests. S3: Receive an address information data request from a client, where the address information data includes a user account, address information data, and a timestamp. The client's identity is authenticated based on the user account in the address information data. The address information data is encrypted using the client's corresponding public key and then transmitted to other clients. S4: Each client endorses and confirms the address information data through the improved share authorization proof mechanism and stores the address information data.

2. The address information management method based on blockchain technology according to claim 1, characterized in that: In step S2, the blockchain address data management platform uses the elliptic curve algorithm to assign public keys and private keys to each client. When generating the private key, a base point G is first selected, and then a 256-bit random number k is generated. The random number is the private key. Then, through elliptic random curve multiplication, a point K on the curve is obtained. K is the public key, K: k*G.

3. The address information management method based on blockchain technology according to claim 1, characterized in that: The address information data request sent by the client in step S3 includes an address information data upload request and an address information data update request. When the request sent is an address information data upload request, the address information data included in the request is the address information data to be uploaded. When the request sent is an address information data update request, the address information data included in the request is the updated address information data. The address information data includes address attribute information and address space location information.

4. The address information management method based on blockchain technology according to claim 1, characterized in that: The method further includes: obtaining data credentials based on the user account and timestamp information in the address information data request for data query.

5. The address information management method based on blockchain technology according to claim 1, characterized in that: Step S3 uses the public key corresponding to the client to encrypt the address information data and transmits it to other clients, including: Use the public key corresponding to the client to encrypt the address information data to obtain the ciphertext; Perform hash operation on the address information data to obtain a summary; The compressed file obtained by compressing the ciphertext and digest is transmitted to each client.

6. The address information management method based on blockchain technology according to claim 5, characterized in that: Before each client endorses and confirms the address information data through the improved share authorization certification mechanism, the method further includes each client using the corresponding private key to decrypt the received address information data. The received address information data is a compressed file. The decryption process includes: Decompress the received compressed file to obtain the ciphertext and summary of the address information data; Decrypt the ciphertext of the address information data using the decryption authorization certificate and the private key to obtain the decrypted address information data; Perform a hash operation on the decrypted address information data and compare the hash result with the digest. If the comparison results are consistent, it indicates that the verification is successful.

7. The address information management method based on blockchain technology according to claim 1, characterized in that: Step S4 includes: Allocate different amounts of tokens to key nodes and ordinary nodes; Key nodes are obtained through voting through an improved share authorization proof mechanism. Key nodes include node B and node C. Node B is the node that determines address attribute information, and node C is the node that determines address space location information. The remaining nodes are ordinary nodes. Key nodes collect transaction information, including address information data that needs to be uploaded or updated; Key nodes endorse and confirm the collected transaction information. After reaching consensus, they package the transaction information into blocks for on-chain storage and broadcast the blocks to other ordinary nodes. Other ordinary nodes verify the received blocks and add them to the corresponding database.

8. An address information management system based on blockchain technology, characterized in that: include: The platform construction module is used to establish a blockchain address data management platform. The blockchain address data management platform mechanism is used to deploy each client as a distributed node of the blockchain. The blockchain address data management platform mechanism is an improved share authorization proof mechanism. This mechanism regards the node that determines the address attribute information as the B node, the node that determines the address space location information as the C node, and the remaining nodes as ordinary nodes. The B node and the C node are key nodes, which are used to endorse the address information data. After the key nodes reach a consensus, the block is broadcast to other ordinary nodes. The key distribution module is used to receive registration requests sent by the client and allocate a user account, public key, private key and decryption authorization certificate to each client based on the registration request; A data request module is configured to receive an address information data request from a client, wherein the address information data includes a user account, address information data, and timestamp information, authenticate the identity of the client based on the user account in the address information data, and encrypt the address information data using the client's corresponding public key before transmitting it to other clients; The data on-chain module is used by each client to endorse and confirm the address information data through an improved share authorization proof mechanism, and to store the address information data.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed, the method according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Data sharing method based on blockchain technology

    CN112765640A

  • Method for controlling consistency of non-relational data after reading and writing through random sequence

    CN113535746A