Map sharing method and system, computer equipment and storage medium

By using blockchain network to share maps in local environment map construction, the problem of repeated map construction for different map construction parties is solved, and efficient resource utilization and map data security are achieved.

CN119892331APending Publication Date: 2025-04-25GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311340277.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In local environment mapping construction, different mapping parties repeatedly build the same area, resulting in wasting computing resources and mapping construction time.

Method used

The map sharing method is realized through the blockchain network, digital fingerprints and digital signatures are generated, encryption is performed, and map data is shared with other nodes through a consensus verification mechanism.

Benefits of technology

Reduces repeated calculations and resource waste among different map constructors, ensuring the integrity, authenticity and confidentiality of map data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892331A_ABST
    Figure CN119892331A_ABST
Patent Text Reader

Abstract

The invention relates to a map sharing method and system, computer equipment and a storage medium, and the method comprises the steps: generating a digital fingerprint according to a regional map when the regional map needs to be shared to other nodes of a block chain network, and generating a digital signature according to a preset signature private key and the digital fingerprint, encrypting the regional map according to a preset encryption private key to obtain encrypted map data; generating a map publishing request according to the node identity information, the digital signature, the digital fingerprint and the encrypted map data, and sending the map publishing request to other nodes for consensus verification; obtaining a verification result of consensus verification of other nodes on the map publishing request; and if the consensus verification is passed, connecting the node identity information, the digital fingerprint and the encrypted map data as a new block to the chain tail of the block chain structure. According to the invention, repeated calculation and resource waste of the regional map by different mapping parties can be reduced, and the integrity, authenticity and confidentiality of map data are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of resource sharing technology, and in particular to a map sharing method and system, computer equipment, and storage medium. Background Art

[0002] Local environment mapping refers to the use of sensors and algorithms to create a map of a specific area or scene. This technology is often used in applications such as indoor navigation, robot navigation, and virtual reality. By establishing accurate local maps, it can help robots or users better perceive and understand the surrounding environment, thereby achieving more precise navigation and positioning.

[0003] The map builders of local environment mapping can be robots, autonomous driving systems, indoor navigation equipment or professional teams, depending on the application scenario and requirements. Currently, the map builders of local environment mapping usually continuously update the local map during its movement. When it arrives at a new area, it needs to build a map. In other words, there are cases where different map builders repeatedly build maps for the same area, resulting in a waste of computing resources and mapping time. Summary of the invention

[0004] The purpose of this application is to propose a map sharing method and system, a computer-readable storage medium, and a computer device, so as to share local area maps constructed by different map builders with each other, thereby reducing the waste of computing resources and map construction time.

[0005] To achieve the above purpose, an embodiment of the present application provides a map sharing method, the method comprising: When a newly created regional map needs to be shared with other nodes of the blockchain network, a digital fingerprint is generated according to the regional map, a digital signature is generated according to a preset signature private key and the digital fingerprint, and the regional map is encrypted according to a preset encryption private key to obtain encrypted map data; Generate a map publishing request based on the node identity information and the digital signature, digital fingerprint and encrypted map data, and send the map publishing request to other nodes for consensus verification; Obtain the verification results of the consensus verification of the map publishing request by other nodes; if the consensus verification passes, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

[0006] The present application also provides a shared map system, the system comprising: An information processing module, used for generating a digital fingerprint according to a newly created regional map when it is necessary to share the newly created regional map with other nodes of the blockchain network, generating a digital signature according to a preset signature private key and the digital fingerprint, and encrypting the regional map according to a preset encryption private key to obtain encrypted map data; A map publishing request module, used to generate a map publishing request according to the node identity information and the digital signature, digital fingerprint and encrypted map data, and send the map publishing request to other nodes for consensus verification; The verification result acquisition module is used to obtain the verification results of the consensus verification of the map publishing request by other nodes; if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

[0007] An embodiment of the present application also provides a computer device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the map sharing method as described above is implemented when the processor executes the computer program.

[0008] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the map sharing method as described above is implemented.

[0009] The map sharing method and system, computer device, and computer-readable storage medium provided in the embodiments of the present application have the following beneficial effects: The embodiments of the present application are implemented based on a blockchain network. The blockchain network includes multiple nodes, each of which can execute the above-mentioned map sharing method or include the system, computer device, and computer-readable storage medium. Each map owner or user can join the blockchain network as a node, and multiple nodes share the local area maps they own / create with each other through blockchain technology. Through this map sharing method, different map builders can share their own local area maps with other map builders, reducing repeated calculations and resource waste, while ensuring the integrity, authenticity and confidentiality of the map data.

[0010] Other features and advantages of the embodiments of the present application will be described in the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0012] Figure 1 The present invention is a flowchart of a map sharing method in one embodiment of the present application.

[0013] Figure 2 A schematic diagram of a blockchain network in one embodiment of the present application.

[0014] Figure 3 This is a structural diagram of a map sharing system in one embodiment of the present application. DETAILED DESCRIPTION

[0015] The detailed description of the accompanying drawings is intended as an illustration of the currently preferred embodiment of the present application, and is not intended to represent the only form in which the present application can be implemented. It should be understood that the same or equivalent functions can be accomplished by different embodiments intended to be included in the spirit and scope of the present application.

[0016] See also Figure 1 An embodiment of the present application provides a method for sharing a map, the method comprising the following steps: Step S11, when a newly created regional map needs to be shared with other nodes of the blockchain network, a digital fingerprint is generated based on the regional map, a digital signature is generated based on a preset signature private key and the digital fingerprint, and the regional map is encrypted based on a preset encryption private key to obtain encrypted map data.

[0017] Specifically, the method of this embodiment is implemented based on a blockchain network, and the blockchain network includes multiple nodes, each of which can execute the map sharing method of this embodiment. For example, in an application scenario, each node can be a robot terminal with a local environment mapping function. Local environment mapping usually uses sensors such as laser radar, cameras, and depth sensors to obtain environmental data, and then uses, for example, SLAM (Simultaneous Localization and Mapping) algorithms to combine sensor data with the location information of the robot terminal to generate a map. Different robot terminals share the local area maps they create to the blockchain network, and only the robot terminals of the blockchain network can obtain the local area map.

[0018] Among them, the blockchain's smart contract protocol refers to an automated, tamper-proof contract executed on a blockchain network. It uses the smart contract function in blockchain technology to express the contract rules in the form of code and is verified and executed through nodes in the blockchain network. In this embodiment, a user registration smart contract protocol for registering nodes is set, and the user registration smart contract protocol includes: when a user (for example, a robot terminal) registers as a node of a blockchain network, it is necessary to generate a signature key pair (ssk, spk) and an encryption key pair (esk, epk), the signature key pair includes a signature private key ssk and a signature public key spk, and the encryption key pair includes an encryption private key esk and an encryption public key epk. The user generates an identity registration request according to the signature key pair (ssk, spk) and the encryption key pair (esk, epk), and sends it to all nodes of the blockchain network through the blockchain communication protocol to request identity registration. All nodes perform consensus verification on the identity registration request according to a preset consensus verification algorithm. After all nodes perform consensus verification on the identity registration request according to the preset consensus algorithm, the user's signature public key spk (for subsequent decryption of the user's digital signature) and encryption public key epk (for subsequent decryption of the user's encrypted data) are bound, a blockchain certificate is generated for the user, and the chain is recorded, and then the certificate is issued to the user, and the blockchain node registration is successful.

[0019] Among them, the consensus algorithm of the blockchain is to solve the problem of reaching consensus among multiple nodes in a distributed network. This embodiment is not limited to a certain consensus algorithm. Common blockchain consensus algorithms include Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof of Stake (DPoS), etc.

[0020] In this embodiment, the digital fingerprint of the map is used to uniquely identify the map, for example, a hash value, that is, a unique identifier generated by applying a hash algorithm to map data as input, and a hash algorithm is an algorithm that converts data of any length into a fixed-length output; the digital fingerprint of the map is used to verify the integrity and consistency of the map. Further, the digital fingerprint can be encrypted using the signature private key ssk to obtain a digital signature.

[0021] Step S12, generating a map publishing request based on the node identity information and the digital signature, digital fingerprint and encrypted map data, and sending the map publishing request to other nodes for consensus verification.

[0022] Specifically, the node identity information refers to the identity information of the node that initiates the request, such as the node address, node ID and other information. The communication between nodes in the blockchain network will carry the identity information of the initiating node. According to the identity information, it can be determined which node initiated the request, and then the signature public key of the node can be obtained for signature verification; the method of digital signature verification is, for example: obtain the signature public key corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed digital fingerprint, generate a hash value, use the signature public key to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid and the data is sent by a legitimate node in the blockchain, and the verification passes; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0023] As a simple example, if most nodes (e.g. 4 / 5 nodes) pass the digital signature verification of the map publishing request, it means that the consensus verification is passed and the map is successfully published. Only transactions that pass the consensus will be added to the blockchain. The advantages of consensus verification include enhanced data security and credibility, decentralized architecture, anti-attack and scalability, thus providing a more reliable and effective mechanism for the blockchain network. Consensus verification can avoid malicious operations and attacks on the system by individual malicious nodes.

[0024] Step S13, obtaining the verification results of the consensus verification of the map publishing request by other nodes; wherein, if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

[0025] Based on the description of the above embodiments, it can be known that in the method of this embodiment, when a certain node needs to share a newly created regional map with other nodes in the blockchain network, the certain node generates a digital fingerprint based on the regional map to uniquely identify the map; then uses a preset signature private key to encrypt the digital fingerprint to generate a digital signature; uses a preset encryption private key to encrypt the regional map to generate encrypted map data to protect the confidentiality of the map data. Then, the certain node generates a corresponding map publishing request based on its own node identity information and the digital signature, digital fingerprint and encrypted map data, and sends the map publishing request to other nodes for consensus verification. Consensus verification is a mechanism in the blockchain network that is used to ensure that the nodes reach a consistent state. If the consensus verification passes, that is, other nodes recognize the legitimacy, validity and authenticity of the map, then the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; such as Figure 2 As shown, each node in the blockchain network maintains an identical blockchain structure, that is, each node downloads and stores a complete copy of the blockchain to maintain consistency with other nodes in the network. In other words, as time goes on, all nodes will connect the node identity information, digital fingerprints, and encrypted map data as new blocks to the end of the blockchain structure.

[0026] In summary, in this embodiment, each map owner or user can join the blockchain network as a node, and multiple nodes share the local area maps they own / create with each other through blockchain technology. Through this map sharing method, different map builders can share their own local area maps with other map builders, reducing repeated calculations and resource waste, while ensuring the integrity, authenticity and confidentiality of map data.

[0027] In some embodiments, the method further comprises the following steps: Step S21, when it is necessary to read a regional map from the blockchain structure, obtain the digital fingerprint of the regional map, and generate a digital signature based on the digital fingerprint and a preset signature private key.

[0028] Specifically, since the digital fingerprint of the regional map has been broadcast to each node when the map is published, each legitimate node can obtain the digital fingerprint of each shared map, and the digital fingerprint represents the identity of the map, that is, the target map to be read can be found based on the digital fingerprint; when initiating a read request, it is necessary to first generate a digital signature for the digital fingerprint based on the signature private key for consensus verification by other nodes.

[0029] Step S22: Generate a map reading request based on the node identity information and the digital fingerprint and digital signature, and send the map reading request to other nodes for consensus verification.

[0030] Specifically, after other nodes receive the map reading request, they can determine which node initiated the request based on the node identity information in the map reading request, and then obtain the signature public key of the node for signature verification; the method of digital signature verification is, for example: obtain the signature public key corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed digital fingerprint, generate a hash value, use the signature public key to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid and the data is sent by a legitimate node in the blockchain, and the verification passes; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0031] As a simple example, if most nodes (for example, 4 / 5 of the nodes) pass the digital signature verification of the map read request, it means that the consensus verification is passed and the map read is authorized.

[0032] Step S23, obtaining the verification result of the consensus verification performed by other nodes on the map reading request; wherein, if the consensus verification passes, an authorization certificate is obtained.

[0033] Specifically, in this embodiment, when the map reading request consensus verification is passed, the initiating node will receive an authorization certificate returned by other nodes, and one of the nodes can be selected according to a preset scheduling algorithm to return the authorization certificate to the initiating node.

[0034] Step S24, reading the encrypted map data of the area from the blockchain structure according to the authorization certificate and the digital fingerprint, and decrypting the encrypted map data according to a preset encryption public key to obtain the map of the area.

[0035] Specifically, in this embodiment, according to the authorization certificate and the digital fingerprint, Figure 3The corresponding block (including encrypted map data) is read from the blockchain structure in the , and then the encrypted map data is decrypted according to the preset encryption public key to obtain the map data. At the same time, this reading operation will be added to the end of the blockchain structure as a new block. It should be understood that the blockchain is a distributed ledger, and each node can participate in verifying and confirming the validity of the block. If the data in the block is stored in plain text, malicious nodes can tamper with or forge data, destroying the security and reliability of the blockchain. By encrypting the map data, the tamper-proofness of the map data can be improved, making the authenticity and credibility of the map data higher.

[0036] In some embodiments, the method further comprises the following steps: Step S31, when a regional map needs to be updated, the map update information and digital fingerprint of the regional map are obtained, and a digital signature is generated according to a preset signature private key and the digital fingerprint, and the map update information is encrypted according to a preset encryption private key to obtain encrypted map update data.

[0037] Specifically, since the digital fingerprint of the regional map has been broadcast to each node when the map is released, each legitimate node can obtain the digital fingerprint of each shared map. The digital fingerprint represents the identity of the map. The original data and update information of the regional map belong to the same regional map, so the digital fingerprint is consistent. When initiating a map update request, the digital fingerprint must first be encrypted according to the signature private key to generate a digital signature for consensus verification by other nodes.

[0038] Step S32: Generate a map update request based on the node identity information and the digital signature, digital fingerprint and encrypted map update data, and send the map update request to other nodes for consensus verification.

[0039] Specifically, after other nodes receive the map update request, they can determine which node initiated the request based on the node identity information in the map update request, and then obtain the signature public key of the node for signature verification; the method of digital signature verification is, for example: obtain the signature public key corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed digital fingerprint, generate a hash value, use the signature public key to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid and the data is sent by a legitimate node in the blockchain, and the verification passes; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0040] As a simple example, if most nodes (for example, 4 / 5 of the nodes) pass the digital signature verification of the map read request, it means that the consensus verification is passed and the map update is successful.

[0041] Step S33, obtaining the verification results of the consensus verification of the map update request by other nodes; wherein, if the consensus verification passes, the node identity information, digital fingerprint and encrypted map update data are connected to the end of the blockchain structure as a new block.

[0042] It should be understood that blockchain is a distributed ledger, and each node can participate in verifying and confirming the validity of the block. If the data in the block is stored in plain text, malicious nodes can tamper with or forge the data, undermining the security and reliability of the blockchain. By encrypting the map update data, the tamper-proof nature of the map update data can be improved, making the map update data more authentic and credible.

[0043] In some embodiments, the method further comprises the following steps: Step S41, when it is necessary to set a sharing strategy for a regional map, obtain the map sharing strategy and the digital fingerprint of the regional map, generate a digital signature based on a preset signature private key and the digital fingerprint, and encrypt the map sharing strategy based on a preset encryption private key to obtain an encrypted map sharing strategy.

[0044] Specifically, since the digital fingerprint of the regional map has been broadcast to each node when the map is published, each legitimate node can obtain the digital fingerprint of each shared map, and the digital fingerprint represents the identity of the map, that is, the target map to be read can be found according to the digital fingerprint; when initiating a sharing policy release request, it is necessary to first encrypt the digital fingerprint according to the preset signature private key to generate a digital signature for consensus verification by other nodes. Step S42, generate a sharing policy release request according to the node identity information and the digital fingerprint, digital signature and encrypted map sharing policy, and send the sharing policy release request to other nodes for consensus verification.

[0045] Specifically, after other nodes receive the shared policy release request, they can determine which node initiated the request based on the node identity information in the shared policy release request, and then obtain the signature public key of the node for signature verification; the method of digital signature verification is, for example: obtain the signature public key corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed digital fingerprint, generate a hash value, use the signature public key to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid, the data is sent by a legitimate node in the blockchain, the verification is successful, and the shared policy is successfully released; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0046] As a simple example, if most nodes (for example, 4 / 5 nodes) pass the digital signature verification of the map read request, it means that the consensus verification is passed and the sharing policy is released successfully.

[0047] Step S43, obtaining the verification results of the consensus verification of the sharing strategy release request by other nodes; wherein, if the consensus verification passes, the node identity information, digital fingerprint and encrypted map sharing strategy are connected to the end of the blockchain structure as a new block.

[0048] The map sharing strategy is used by each node to perform consensus verification on the map reading request.

[0049] Specifically, the map sharing strategy contains some preset rules and conditions to guide nodes to judge the validity and legality of read requests during the consensus verification process. Through consensus verification, the accuracy and authorized permissions of map read requests are ensured.

[0050] It should be understood that blockchain is a distributed ledger, and each node can participate in verifying and confirming the validity of the block. If the data in the block is stored in plain text, malicious nodes can tamper with or forge the data, undermining the security and reliability of the blockchain. By encrypting the map sharing strategy, the tamper-proof nature of the shared strategy data can be improved, making the shared strategy data more authentic and credible.

[0051] In some embodiments, the method further comprises the following steps: Step S51, when the encryption public key needs to be updated, the updated encryption public key is obtained, and a digital signature is generated according to the preset signature private key and the updated encryption public key.

[0052] Specifically, generally speaking, the encryption public key and the encryption private key are one-to-one corresponding, and the encryption private key will also be updated when the encryption public key is updated; the updated encryption public key needs to be sent to other nodes for binding, so the digital signature is generated according to the signature private key and the updated encryption public key in the step; specifically, a corresponding hash value is generated according to the updated encryption public key, and then the hash value is encrypted using the signature private key to obtain a digital signature.

[0053] Step S52, generating an encrypted public key update request according to the node identity information, the digital signature and the updated encrypted public key, and sending the encrypted public key update request to other nodes for consensus verification; Specifically, after other nodes receive the encrypted public key update request, they can determine which node initiated the request based on the node identity information in the encrypted public key update request, and then obtain the signature public key of the node for signature verification; the method of digital signature verification is, for example: obtain the signature public key corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed encrypted public key, generate a hash value, use the signature public key to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid, the data is sent by a legitimate node in the blockchain, and the verification passes; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0054] As a simple example, if most nodes (for example, 4 / 5 of the nodes) pass the digital signature verification of the map read request, it means that the consensus verification is passed and the encrypted public key is updated successfully.

[0055] Step S53, obtaining the verification result of the consensus verification of the encrypted public key update request by other nodes; wherein, if the consensus verification passes, the encrypted public key is updated successfully, and the node identity information and the updated encrypted public key are connected to the end of the blockchain structure as a new block.

[0056] In some embodiments, the method further comprises the following steps: Step S61, when the signature public key needs to be updated, the updated signature public key is obtained, and a digital signature is generated according to the preset signature private key and the updated signature public key.

[0057] Specifically, generally speaking, the signature public key and the signature private key are one-to-one corresponding, and the signature private key will also be updated when the signature public key is updated; the updated signature public key needs to be sent to other nodes for binding, so the digital signature is generated according to the updated signature private key and the updated signature public key in the step; specifically, a corresponding hash value is generated according to the updated signature public key, and then the hash value is signed with the updated signature private key to obtain a digital signature.

[0058] Step S62, generating a signature public key update request based on the node identity information, the digital signature and the updated signature public key, and sending the signature public key update request to other nodes for consensus verification.

[0059] Specifically, after other nodes receive the signature public key update request, they can determine which node initiated the request based on the node identity information in the signature public key update request, and then obtain the signature public key of the node before the update for signature verification; the method of digital signature verification is, for example: obtain the signature public key before the update corresponding to the node identity information (each node has broadcast the signature public key to other nodes when registering), perform hash calculation on the signed encrypted public key to generate a hash value, use the signature public key before the update to decrypt the digital signature to obtain the signature verification information, and compare the signature verification information with the generated hash value. If the two match, it means that the signature is valid and the data is sent by a legitimate node in the blockchain, and the verification passes; if they do not match, it means that the signature is invalid or the data is not sent by a legitimate node in the blockchain, and the verification fails.

[0060] As a simple example, if most nodes (for example, 4 / 5 nodes) pass the digital signature verification of the map read request, it means that the consensus verification is passed and the signature public key is updated successfully.

[0061] Step S63, obtaining the verification result of the consensus verification of the signature public key update request by other nodes; wherein, if the consensus verification passes, the signature public key is updated successfully, and the node identity information and the updated signature public key are connected to the end of the blockchain structure as a new block.

[0062] Based on the description of the above embodiment method, it can be seen that the embodiment method of the present application has the following advantages: (1) Establish a map sharing node based on the blockchain, use data fingerprint, digital signature and other technologies to form a unique identity for virtual assets, realize the instantiation of data resources, and then record it in the blockchain distributed ledger together with the identity of the resource owner (node ​​identity information), so as to realize the public confirmation of the rights and interests of the resources.

[0063] (2) Based on map sharing nodes, maps of various resource owners are updated and shared through networks such as blockchain and 5G.

[0064] (3) Conduct security management of users based on blockchain, ensure that users’ usage records are tamper-proof and traceable, and notarize the processes of data submission, authorization, application, sharing, and confirmation, providing a basis for subsequent extended applications (such as accountability investigations, etc.).

[0065] (4) Multiple parties participate in bookkeeping, and the ledger cannot be changed. Resource providers participate in the recording and confirmation of transactions, which not only reduces the trust in the platform, but also shares the platform's data management responsibility.

[0066] In order to better implement the map sharing method of the above embodiment, another embodiment of the present application provides a map sharing system. Figure 3 , the system comprising: An information processing module, used for generating a digital fingerprint according to a newly created regional map when it is necessary to share the newly created regional map with other nodes of the blockchain network, generating a digital signature according to a preset signature private key and the digital fingerprint, and encrypting the regional map according to a preset encryption private key to obtain encrypted map data; A map publishing request module, used to generate a map publishing request according to the node identity information and the digital signature, digital fingerprint and encrypted map data, and send the map publishing request to other nodes for consensus verification; The verification result acquisition module is used to obtain the verification results of the consensus verification of the map publishing request by other nodes; if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

[0067] In some embodiments, the system further comprises a map reading request module and a reading module; The information processing module is further used to obtain a digital fingerprint of a regional map when it is necessary to read a regional map from the blockchain structure, and generate a digital signature according to the digital fingerprint and a preset signature private key; The map reading request module is used to generate a map reading request according to the node identity information and the digital fingerprint and digital signature, and send the map reading request to other nodes for consensus verification; The verification result acquisition module is further used to obtain the verification result of consensus verification performed by other nodes on the map reading request; wherein, if the consensus verification passes, an authorization certificate is obtained; The reading module is used to read the encrypted map data of the area from the blockchain structure according to the authorization certificate and the digital fingerprint, and decrypt the encrypted map data according to a preset encryption public key to obtain the map of the area.

[0068] In some embodiments, the system further includes a map update request module; The information processing module is further used to obtain the map update information and digital fingerprint of a regional map when it is necessary to update the regional map, generate a digital signature according to a preset signature private key and the digital fingerprint, and encrypt the map update information according to a preset encryption private key to obtain encrypted map update data; The map update request module is used to generate a map update request according to the node identity information and the digital signature, digital fingerprint and encrypted map update data, and send the map update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the map update request by other nodes; if the consensus verification passes, the node identity information, digital fingerprint and encrypted map update data are connected to the end of the blockchain structure as a new block.

[0069] In some embodiments, the system further comprises an encryption public key update request module; The information processing module is further used to obtain the map sharing strategy and the digital fingerprint of the regional map when it is necessary to set the sharing strategy of a regional map, generate a digital signature according to a preset signature private key and the digital fingerprint, and encrypt the map sharing strategy according to a preset encryption private key to obtain an encrypted map sharing strategy; The encrypted public key update request module is used to generate an encrypted public key update request according to the node identity information and the digital fingerprint, digital signature and encrypted map sharing strategy, and send the encrypted public key update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the encrypted public key update request by other nodes; wherein, if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map sharing strategy are connected to the end of the blockchain structure as a new block; The map sharing strategy is used by each node to perform consensus verification on the map reading request.

[0070] In some embodiments, the system further comprises an encryption public key update module; The information processing module is further used to obtain the updated encryption public key when the encryption public key needs to be updated, and generate a digital signature according to the preset signature private key and the updated encryption public key; The encryption public key update module is used to generate an encryption public key update request according to the node identity information, the digital signature and the updated encryption public key, and send the encryption public key update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the encrypted public key update request by other nodes; if the consensus verification passes, the encrypted public key is updated successfully, and the node identity information and the updated encrypted public key are connected to the end of the blockchain structure as a new block.

[0071] In some embodiments, the system further comprises a signature public key update module; The information processing module is further used to obtain an updated signature public key when the signature public key needs to be updated, and to generate a digital signature according to a preset signature private key and the updated signature public key; The signature public key update module is used to generate a signature public key update request according to the node identity information, the digital signature and the updated signature public key, and send the signature public key update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the signature public key update request by other nodes; if the consensus verification passes, the signature public key is updated successfully, and the node identity information and the updated signature public key are connected to the end of the blockchain structure as a new block.

[0072] Each module in the above-mentioned shared map system can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0073] It should be noted that the shared map system of this embodiment corresponds to the map sharing method of the above-mentioned embodiment. Therefore, the parts of the shared map system of the above-mentioned embodiment that are not described in detail can be obtained by referring to the contents of the map sharing method of the above-mentioned embodiment. That is, the specific steps recorded in the map sharing method of the above-mentioned embodiment can be understood as the functions that can be achieved by the shared map system of the above-mentioned embodiment, so they will not be repeated here.

[0074] Another embodiment of the present application provides a computer device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the map sharing method as described in the above embodiment when executing the computer program.

[0075] Among them, the computer device may also include a bus connecting different components (including memory and processor). The memory may include a computer-readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory. The memory may also include at least one program product, which has a set (e.g., at least one) of program modules, which are configured to perform the functions of each embodiment of the present application. The computer device may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.), and may also communicate with one or more devices that enable a user to interact with the computer device, and / or communicate with any device (e.g., a network card) that enables the computer device to communicate with one or more other computing devices, such communication may be performed through an input / output (I / O) interface, and the computer device may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter.

[0076] Another embodiment of the present application further proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the map sharing method as described in the above embodiment is implemented.

[0077] Specifically, the computer-readable storage medium may include: any entity or recording medium that can carry the computer program instructions, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0078] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for sharing a map, characterized in that: The method comprises: When a newly created regional map needs to be shared with other nodes of the blockchain network, a digital fingerprint is generated according to the regional map, a digital signature is generated according to a preset signature private key and the digital fingerprint, and the regional map is encrypted according to a preset encryption private key to obtain encrypted map data; Generate a map publishing request based on the node identity information and the digital signature, digital fingerprint and encrypted map data, and send the map publishing request to other nodes for consensus verification; Obtain the verification results of the consensus verification of the map publishing request by other nodes; if the consensus verification passes, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

2. The method according to claim 1, characterized in that The method further comprises: When a regional map needs to be read from the blockchain structure, a digital fingerprint of the regional map is obtained, and a digital signature is generated according to the digital fingerprint and a preset signature private key; Generate a map reading request based on the node identity information and the digital fingerprint and digital signature, and send the map reading request to other nodes for consensus verification; Obtaining the verification result of consensus verification of the map reading request by other nodes; wherein, if the consensus verification passes, obtaining an authorization certificate; The encrypted map data of the area is read from the blockchain structure according to the authorization certificate and the digital fingerprint, and the encrypted map data is decrypted according to a preset encryption public key to obtain a map of the area.

3. The method according to claim 1, characterized in that The method further comprises: When a regional map needs to be updated, map update information and digital fingerprint of the regional map are obtained, and a digital signature is generated according to a preset signature private key and the digital fingerprint, and the map update information is encrypted according to a preset encryption private key to obtain encrypted map update data; Generate a map update request based on the node identity information and the digital signature, digital fingerprint and encrypted map update data, and send the map update request to other nodes for consensus verification; Obtain the verification results of the consensus verification of the map update request by other nodes; wherein, if the consensus verification passes, the node identity information, digital fingerprint and encrypted map update data are connected to the end of the blockchain structure as a new block.

4. The method according to claim 1, characterized in that: The method further comprises: When it is necessary to set a sharing strategy for a regional map, the map sharing strategy and the digital fingerprint of the regional map are obtained, a digital signature is generated according to a preset signature private key and the digital fingerprint, and the map sharing strategy is encrypted according to a preset encryption private key to obtain an encrypted map sharing strategy; Generate a sharing policy publishing request based on the node identity information and the digital fingerprint, digital signature and encrypted map sharing policy, and send the sharing policy publishing request to other nodes for consensus verification; Obtain the verification results of consensus verification of the sharing strategy release request by other nodes; wherein, if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map sharing strategy are connected to the end of the blockchain structure as a new block; The map sharing strategy is used by each node to perform consensus verification on the map reading request.

5. The method according to claim 1, characterized in that The method further comprises: When the encryption public key needs to be updated, the updated encryption public key is obtained, and a digital signature is generated according to the preset signature private key and the updated encryption public key; Generate an encrypted public key update request based on the node identity information, the digital signature, and the updated encrypted public key, and send the encrypted public key update request to other nodes for consensus verification; Obtain the verification results of the consensus verification of the encrypted public key update request by other nodes; wherein, if the consensus verification passes, the encrypted public key is updated successfully, and the node identity information and the updated encrypted public key are connected to the end of the blockchain structure as a new block.

6. The method according to claim 1, characterized in that The method further comprises: When the signature public key needs to be updated, the updated signature public key is obtained, and a digital signature is generated according to the preset signature private key and the updated signature public key; Generate a signature public key update request based on the node identity information, the digital signature, and the updated signature public key, and send the signature public key update request to other nodes for consensus verification; Obtain the verification results of the consensus verification of the signature public key update request by other nodes; if the consensus verification passes, the signature public key is updated successfully, and the node identity information and the updated signature public key are connected to the end of the blockchain structure as a new block.

7. A shared map system, characterized in that: The system comprises: An information processing module, used for generating a digital fingerprint according to a newly created regional map when it is necessary to share the newly created regional map with other nodes of the blockchain network, generating a digital signature according to a preset signature private key and the digital fingerprint, and encrypting the regional map according to a preset encryption private key to obtain encrypted map data; A map publishing request module, used to generate a map publishing request according to the node identity information and the digital signature, digital fingerprint and encrypted map data, and send the map publishing request to other nodes for consensus verification; The verification result acquisition module is used to obtain the verification results of the consensus verification of the map publishing request by other nodes; if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map data are connected to the end of the blockchain structure as a new block; each node of the blockchain network maintains an identical blockchain structure.

8. The system according to claim 7, characterized in that The system also includes a map reading request module and a reading module; The information processing module is further used to obtain a digital fingerprint of a regional map when it is necessary to read a regional map from the blockchain structure, and generate a digital signature according to the digital fingerprint and a preset signature private key; The map reading request module is used to generate a map reading request according to the node identity information and the digital fingerprint and digital signature, and send the map reading request to other nodes for consensus verification; The verification result acquisition module is further used to obtain the verification result of consensus verification performed by other nodes on the map reading request; wherein, if the consensus verification passes, an authorization certificate is obtained; The reading module is used to read the encrypted map data of the area from the blockchain structure according to the authorization certificate and the digital fingerprint, and decrypt the encrypted map data according to a preset encryption public key to obtain the map of the area.

9. The system according to claim 7, characterized in that The system also includes a map update request module; The information processing module is further used to obtain the map update information and digital fingerprint of a regional map when it is necessary to update the regional map, generate a digital signature according to a preset signature private key and the digital fingerprint, and encrypt the map update information according to a preset encryption private key to obtain encrypted map update data; The map update request module is used to generate a map update request according to the node identity information and the digital signature, digital fingerprint and encrypted map update data, and send the map update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the map update request by other nodes; if the consensus verification passes, the node identity information, digital fingerprint and encrypted map update data are connected to the end of the blockchain structure as a new block.

10. The system according to claim 7, characterized in that The system also includes a shared policy publishing request module; The information processing module is further used to obtain the map sharing strategy and the digital fingerprint of the regional map when it is necessary to set the sharing strategy of a regional map, generate a digital signature according to a preset signature private key and the digital fingerprint, and encrypt the map sharing strategy according to a preset encryption private key to obtain an encrypted map sharing strategy; The sharing strategy publishing request module is used to generate a sharing strategy publishing request according to the node identity information and the digital fingerprint, digital signature and encrypted map sharing strategy, and send the sharing strategy publishing request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the sharing strategy release request by other nodes; wherein, if the consensus verification is passed, the node identity information, digital fingerprint and encrypted map sharing strategy are connected to the end of the blockchain structure as a new block; The map sharing strategy is used by each node to perform consensus verification on the map reading request.

11. The system according to claim 7, characterized in that The system also includes an encryption public key update module; The information processing module is further used to obtain the updated encryption public key when the encryption public key needs to be updated, and generate a digital signature according to the preset signature private key and the updated encryption public key; The encryption public key update module is used to generate an encryption public key update request according to the node identity information, the digital signature and the updated encryption public key, and send the encryption public key update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the encrypted public key update request by other nodes; if the consensus verification passes, the encrypted public key is updated successfully, and the node identity information and the updated encrypted public key are connected to the end of the blockchain structure as a new block.

12. The system according to claim 7, characterized in that The system also includes a signature public key update module; The information processing module is further used to obtain an updated signature public key when the signature public key needs to be updated, and to generate a digital signature according to a preset signature private key and the updated signature public key; The signature public key update module is used to generate a signature public key update request according to the node identity information, the digital signature and the updated signature public key, and send the signature public key update request to other nodes for consensus verification; The verification result acquisition module is also used to obtain the verification results of consensus verification of the signature public key update request by other nodes; if the consensus verification passes, the signature public key is updated successfully, and the node identity information and the updated signature public key are connected to the end of the blockchain structure as a new block.

13. A computer device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for sharing a map as claimed in any one of claims 1 to 6 when executing the computer program.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for sharing a map according to any one of claims 1 to 6 is implemented.