A method, device and medium for managing map navigation based on a blockchain
By managing map navigation through blockchain, the issues of real-time updates and security of map navigation systems are resolved, enabling user-participatory data maintenance and rapid recovery capabilities, and reducing maintenance costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
- Filing Date
- 2019-12-27
- Publication Date
- 2026-06-19
AI Technical Summary
Existing map navigation systems cannot achieve accurate real-time updates and are vulnerable to attacks that could lead to data loss and system failure.
Map navigation is managed using blockchain technology. After receiving and verifying user route information, it is stored in the blockchain. By leveraging the sharing and security of the blockchain, data deduplication and attack prevention are achieved.
It enables real-time updates and integrity of the map navigation system, allows users to participate in maintenance, reduces maintenance costs, and improves system security.
Smart Images

Figure CN111078800B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, and in particular to a method, device and medium for managing map navigation based on blockchain. Background Technology
[0002] Currently, there are many different map navigation software in major app stores, and most people choose map navigation to select routes when traveling. However, many map navigation cannot be updated in real time with high accuracy or fully cover every corner, which still causes people to take detours. If some maps are attacked, it may lead to the paralysis of the entire system and serious losses such as data loss. Summary of the Invention
[0003] This specification provides a method, device, and medium for managing map navigation based on blockchain, which addresses the following technical problems in the prior art:
[0004] Map navigation cannot provide highly accurate real-time updates.
[0005] The embodiments in this specification adopt the following technical solutions:
[0006] A first aspect of this invention provides a method for managing map navigation based on blockchain, comprising:
[0007] Receive path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0008] After verifying the path information, it is stored in the blockchain;
[0009] The system receives a request from a second user and sends the path information to the second user based on the request information, wherein the request information includes the starting point and the destination.
[0010] In one example, receiving the path information sent by the first user includes:
[0011] Receive the path information sent by the first user, and verify the path information using a Merkle tree.
[0012] In one example, receiving the path information sent by the first user includes:
[0013] The system receives multiple path information messages sent by the first user, and each path information message has the same start and end point.
[0014] Identify duplicate path information and remove duplicates from the duplicate path information.
[0015] In one example, the step of verifying the path information and storing it in the blockchain includes:
[0016] The path information is written into the blockchain and marked to distinguish it from the first information, which is path navigation information automatically generated by the smart contract based on the map.
[0017] In one example, it also includes:
[0018] Determine whether the path information conflicts with the first information. If there is a conflict, send the path information to the second user.
[0019] In one example, receiving request information sent by a second user and sending the path information to the second user based on the request information includes:
[0020] Based on the road congestion situation corresponding to each of the path information, the path information with the lowest road congestion is sent to the second user.
[0021] In one example, it also includes:
[0022] After the path information is stored in the blockchain, a first user associated with the path information is identified, and a reward is sent to the first user associated with the path information.
[0023] In one example, the nodes of the blockchain include: a map navigation service provider.
[0024] A second aspect of this invention provides a device for managing map navigation based on blockchain, comprising:
[0025] At least one processor; and,
[0026] A memory communicatively connected to the at least one processor; wherein,
[0027] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0028] Receive path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0029] After verifying the path information, it is stored in the blockchain;
[0030] The system receives a request from a second user and sends the path information to the second user based on the request information, wherein the request information includes the starting point and the destination.
[0031] A third aspect of this invention provides a non-volatile computer storage medium for managing map navigation based on blockchain, storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0032] Receive path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0033] After verifying the path information, it is stored in the blockchain;
[0034] The system receives a request from a second user and sends the path information to the second user based on the request information, wherein the request information includes the starting point and the destination.
[0035] The above-described at least one technical solution used in the embodiments of this specification can achieve the following beneficial effects:
[0036] Blockchain-based map navigation management leverages the sharing nature of blockchain to make the entire map navigation system accessible to the public, allowing users to maintain locations and routes themselves. Blockchain technology is used to deduplicate and verify user-uploaded data, effectively maintaining a complete map navigation system while enabling user participation. Furthermore, the security features of blockchain effectively prevent various forms of attacks, and even if a node is compromised, it can be quickly restored, reducing maintenance costs. Attached Figure Description
[0037] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0038] Figure 1 This is a schematic diagram of the method flow provided in the embodiments of this specification;
[0039] Figure 2 This is a schematic diagram of the device framework provided for an embodiment of this specification. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0041] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0042] The embodiments of this application provide a method and corresponding scheme for managing map navigation based on blockchain. Managing map navigation based on blockchain can make the entire map navigation system available to the public by leveraging the sharing nature of blockchain, allowing users to maintain locations and routes themselves. Blockchain technology is used to determine the deduplication and verification of user-uploaded data, which can effectively maintain a complete map navigation system and allow users to participate in it. Furthermore, by utilizing the security performance of blockchain, it can effectively prevent various forms of attacks. Even if a node is compromised, it can be quickly restored, reducing maintenance costs.
[0043] Figure 1 This is a schematic diagram of a method flow provided in an embodiment of this specification. As shown in the figure, the method includes:
[0044] S101 receives path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0045] S102 After verifying the path information, it is stored in the blockchain;
[0046] S103 receives a request message sent by a second user, and sends the path information to the second user according to the request message, wherein the request message includes the starting point and the ending point.
[0047] Blockchain is a chain-like data structure that links data blocks sequentially in chronological order, and is a distributed ledger that is cryptographically guaranteed to be immutable and unforgeable. Although the underlying technology of blockchain has been developing for many years, it has not yet been effectively applied in specific scenarios.
[0048] According to a specific embodiment of the present invention, a smart contract for managing map navigation is set on the blockchain. A smart contract is an automated script deployed on the blockchain, and because it is set on the blockchain, it has the characteristics of being public and transparent. Users can pre-set rules through the smart contract to write data to the blockchain and obtain data browsing permissions, thus largely avoiding the disclosure of private information. Of course, smart contracts are not the only implementation method in this application; they are set according to different blockchain platforms, such as Ethereum and Hyperledger.
[0049] According to a specific embodiment of the present invention, in step S101, receiving the path information sent by the first user includes: receiving the path information sent by the first user and verifying the path information using a Merkle tree. It should be noted that this application does not impose any particular limitation on the method of verifying the path information; it can be implemented using a Merkle tree or other methods, such as the UTXO (Unspent Transaction Output) transaction mode to effectively verify whether the data uploaded by the user is genuine.
[0050] In other embodiments of the present invention, receiving the path information sent by the first user may further involve: receiving multiple path information messages sent by the first user, wherein each path information message has the same start and end point; identifying duplicate path information messages; and deduplicating the duplicate path information messages. Specifically, duplicate path information messages are deduplicated using the InterPlanetary File System (IPFS) in the blockchain.
[0051] According to a specific embodiment of the present invention, step S102, storing the verified path information in the blockchain, includes: writing the path information into the blockchain and marking it to distinguish it from first information, where the first information is path navigation information automatically generated by the smart contract based on a map. In practical applications, due to road construction or other circumstances, the path navigation information generated by the smart contract may be temporarily unusable for a period of time, but the path navigation information generated by the smart contract is superior to the path information provided by the user. By marking the path information submitted by the user, the smart contract records the marked information. For example, after a period of time, when the road construction is completed and traffic resumes, the path information is hidden.
[0052] In some preferred embodiments of the present invention, artificial intelligence technology can also be used to determine whether the path information submitted by the user conflicts with the first information. Generally speaking, if it is due to factors such as road construction, the path information submitted by the user will not conflict with the first information. If the artificial intelligence detects a conflict between the two, it can send the path information to the second user.
[0053] According to a specific embodiment of the present invention, an artificial intelligence neural network model can be stored in the blockchain. However, a typical neural network model is large in size, so it can also be stored off-chain.
[0054] Blockchain and off-chain storage have a symbiotic relationship. For certain data, high-value and critical data resides on the blockchain, while low-value and bulky data resides on off-chain storage. Both are linked using a unique identifier. Off-chain storage can store plaintext data or encrypted data. Off-chain encrypted storage involves encrypting the data before storing it on the blockchain, while the key is managed by the blockchain. To decrypt the stored data, authorization must be requested from the blockchain. After obtaining authorization, the decryption key can be obtained, allowing the decryption of the data in the off-chain encrypted storage. It is understood that other data involved in the embodiments of this application can also be stored in off-chain storage; this application does not impose any special restrictions on this.
[0055] According to a specific embodiment of the present invention, in step S103, receiving the request information sent by the second user and sending the route information to the second user according to the request information includes: sending the route information with the lowest road congestion according to the road congestion situation corresponding to each route information. A communication interface can be established between the blockchain and the urban traffic management system, enabling the blockchain to obtain the city's road congestion situation and then select a suitable navigation based on the actual needs of the second user.
[0056] According to a specific embodiment of the present invention, in order to enhance user motivation, a reward system can be established based on blockchain, and each reward is recorded in the blockchain. Specifically, after the path information is stored in the blockchain, a first user associated with the path information is identified, and a reward is sent to the associated first user.
[0057] It is understood that this application does not impose any special restrictions on the first user and the second user. The first user can not only provide path information, but also obtain path information. Similarly, the second user can also provide path information. The first and second are merely provided to facilitate the description of the embodiments of this application.
[0058] According to specific embodiments of the present invention, the settings of blockchain nodes are not particularly limited and can be either map navigation service providers or traffic management departments.
[0059] Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.
[0060] Figure 2 This is a schematic diagram of the device framework provided in the embodiments of this specification. The device, which manages map navigation based on blockchain, includes:
[0061] At least one processor; and,
[0062] A memory communicatively connected to the at least one processor; wherein,
[0063] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0064] Receive path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0065] After verifying the path information, it is stored in the blockchain;
[0066] The system receives a request from a second user and sends the path information to the second user based on the request information, wherein the request information includes the starting point and the destination.
[0067] Some embodiments of this application provide corresponding to Figure 1 A non-volatile computer storage medium for managing map navigation based on blockchain, storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0068] Receive path information sent by the first user, wherein the path information is path navigation information from the starting point to the destination;
[0069] After verifying the path information, it is stored in the blockchain;
[0070] The system receives a request from a second user and sends the path information to the second user based on the request information, wherein the request information includes the starting point and the destination.
[0071] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.
[0072] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0073] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0074] This invention relates to methods, apparatus (systems), and computer programs produced according to embodiments of the invention.
[0075] The flowcharts and / or block diagrams are used to describe the product. It should be understood that each block in the flowcharts and / or block diagrams, and combinations of 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, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the product in the flowcharts and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0076] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0077] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0078] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0079] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0080] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0081] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0082] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for managing map navigation based on a blockchain, characterized in that, include: Receiving path information sent by a first user, wherein the path information is path navigation information from the starting point to the destination, includes: receiving the path information sent by the first user and verifying the path information using a Merkle tree; The system receives multiple path information messages sent by the first user, and each path information message has the same start and end point. Identify duplicate path information and remove duplicates from the duplicate path information; After verifying the path information, it is stored in the blockchain, including: The path information is written into the blockchain and marked to distinguish it from the first information, which is path navigation information automatically generated by the smart contract based on the map; the nodes of the blockchain include: map navigation service providers; Receiving a request from a second user, and sending the path information to the second user based on the request, including: Based on the road congestion situation corresponding to each path information, the path information with the lowest road congestion situation is sent to the second user, and the request information includes the starting point and the destination. Determine whether the path information conflicts with the first information; if a conflict exists, send the path information to the second user. After the path information is stored in the blockchain, the first user associated with the path information is identified, and a reward is sent to the first user associated with the path information. A communication interface is established between the blockchain and the city's traffic management system, enabling the blockchain to obtain information on urban road congestion; navigation is then selected based on the actual needs of a second user.
2. An apparatus for managing map navigation based on a blockchain, the apparatus comprising: include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed, enable the at least one processor to perform the blockchain-based map navigation management method as described in claim 1.
3. A non-volatile computer storage medium for managing map navigation based on blockchain, storing computer-executable instructions, characterized in that, The computer-executable instructions are capable of executing the blockchain-based map navigation method as described in claim 1.