A transaction method based on vector geographic data
By using the blockchain platform and smart contracts for watermark embedding and traceability in vector geographic data transactions, combined with the Douglas-Pook algorithm, the trust and traceability difficulties in multi-level transaction networks are solved, and the security and traceability of the watermark protocol are improved. Anti-attack capability ensures the reliability of copyright protection.
Patent Information
- Application Number
- CN202311071877.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing digital watermarking technology has trust issues and traceability difficulties in the multi-level transaction network of vector geographical data. It is difficult to effectively protect copyright and has poor ability to resist object attacks.
The blockchain platform is used for watermark generation and embedding, and smart contracts are used to achieve decentralized storage and rapid traceability of transaction information. The Douglas-Pook algorithm and relative coordinate system strategies are combined to embed and extract watermark information to ensure the robustness of the watermark. sex and immutability.
It realizes trusted transactions and traceability under a multi-level transaction network, improves the security and credibility of the watermark protocol, enhances the ability to resist object attacks, and ensures the copyright protection of vector geographic data.
Smart Images

Figure CN117972652B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of digital watermarking, and in particular provides a transaction method based on vector geographic data. Background Art
[0002] As an important achievement of national surveying and mapping infrastructure construction and geospatial science research, vector geographic data has been widely used in many fields such as smart cities, digital twins, and autonomous driving, and has played an important role in economic and social development. With the rapid development of Internet technology, the distribution, transmission, and transaction of vector geographic data have become more convenient and faster, but it is also very easy to cause data theft and illegal distribution and piracy. Therefore, it is necessary to study the effective protection of the copyright of vector geographic data.
[0003] Digital watermarking technology is an effective way to solve the problem of illegal piracy of geographic data. By hiding specific information in the data carrier and closely combining it with the carrier data, the copyright ownership can be determined and the infringement can be traced when piracy occurs. Over the years, robust watermarking algorithms for vector geographic data have achieved relatively fruitful results, and researchers have proposed a series of algorithms with excellent performance. However, in actual application, geographic data faces the problem of mutual trust in the process of transaction circulation. Malicious copyright holders can forge copyright information to frame honest buyers, and dishonest buyers can also deny their own infringement, which makes it difficult for digital watermarking technology to be directly used as a solution for copyright protection. Therefore, based on digital watermarking technology, using a secure and fair transaction protocol as a supplement to digital watermarking technology is the key to achieving copyright protection in the process of data trading.
[0004] At present, there have been many research results on digital watermarking protocols, but most of the solutions in the literature are designed based on the architecture of a trusted third party. Under this architecture, it is difficult for traditional third parties to provide sustainable and efficient services for the transaction distribution of massive data. At the same time, the strength of copyright protection depends on the credibility of the third party. A dishonest third party can collude with any party to the transaction to frame the other party. In addition, most existing digital watermarking protocols are only oriented to one-way point-to-point transaction scenarios, and rarely take into account the multi-level transactions of vector geographic data in the transaction process, making it difficult to ensure the complete traceability of data during multiple transaction flows.
[0005] The popular blockchain technology in recent years provides a feasible way to solve the above problems. Due to its decentralized, tamper-proof, traceable and programmable characteristics, it can establish a trust relationship between mutually untrusting transaction participants. It meets the needs of the digital watermarking protocol in the transaction process. Introducing blockchain technology into the digital watermarking protocol can eliminate the risks brought by the cumbersome process, high cost, information leakage and centralized storage of data in the existing watermarking protocol.
[0006] In summary, there have been many achievements in copyright protection of vector geographic data, but there is still a risk of collusion when the third party is untrustworthy and the complete traceability of vector geographic data in a multi-level distribution network has not been considered. For example, Xi Xu et al. mentioned an improved DFT and QR code vector map digital watermarking algorithm and Zhou Q, Ren N, and Zhu C mentioned a blind digital watermarking algorithm against projection transformation for vector geographic data, both of which have poor resistance to object attacks.
[0007] Therefore, the art needs a new transaction method solution based on vector geographic data to solve the above problems. Summary of the invention
[0008] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least partially solve the problem of satisfying the trusted transaction and traceability requirements of vector geographic data in a multi-level transaction network scenario.
[0009] The present invention discloses a transaction method based on vector geographic data, comprising:
[0010] Obtaining the buyer's transaction request, triggering a watermark generation and embedding sub-protocol based on the buyer's transaction request, the buyer generates unique private information based on the watermark generation and embedding sub-protocol, binding the private information with the data information to be purchased by the buyer, and authenticating it on the blockchain platform to obtain purchase information authentication;
[0011] Acquire the buyer's transaction information and the seller's transaction information, and obtain transaction information authentication based on the buyer's transaction information, the seller's transaction information, and the blockchain platform;
[0012] Based on the transaction information authentication returned by the seller, watermark information is obtained, and the watermark information is embedded in the vector geographic data to be traded to obtain the vector geographic data containing the watermark information;
[0013] Based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, the transaction key is obtained, the buyer encrypts the vector geographic data containing the watermark information based on the key, and the seller decrypts the vector geographic data containing the watermark information based on the key;
[0014] If the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-protocol and arbitration agreement will be triggered, based on which the identity of the infringer will be queried and / or all related transactions will be fully traced and / or the arbitrator will be assisted in conducting arbitration.
[0015] In a technical solution of the above-mentioned transaction method based on vector geographic data, obtaining the transaction information authentication based on the transaction information of the buyer, the transaction information of the seller, and the blockchain platform includes:
[0016] The transaction information of the buyer and the transaction information of the seller are respectively sent to the blockchain platform, and authenticated on the blockchain platform to obtain transaction information authentication.
[0017] In a technical solution of the above-mentioned transaction method based on vector geographic data, the watermark information is obtained based on the transaction information authentication returned by the seller, including:
[0018] The return address of the transaction information authentication returned by the seller is obtained, and the watermark information is embedded in the vector geographic data to be traded; the watermark information is obtained by encoding based on the return address of the transaction information authentication returned by the seller.
[0019] In a technical solution of the above-mentioned transaction method based on vector geographic data, based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, a transaction key is obtained, the buyer encrypts the vector geographic data containing watermark information based on the key, and the seller decrypts the vector geographic data containing watermark information based on the key, including:
[0020] A query is initiated to the blockchain platform based on the return address of the transaction information returned by the seller after successful authentication, and a random number generated by both parties to the transaction is obtained from the query result to generate a key. The vector geographic data containing watermark information is encrypted based on the key, and the encrypted content is sent to the buyer. A query is initiated to the blockchain based on the authentication address of the transaction information returned by the buyer after successful authentication, and the key is taken out from the query result. The vector geographic data containing watermark information is decrypted based on the key.
[0021] In a technical solution of the above-mentioned transaction method based on vector geographic data, if the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-and arbitration agreement is triggered. Based on the infringement tracking sub-and arbitration agreement, the work of querying the identity of the infringer and / or fully tracing the source of all related transactions and / or assisting the arbitrator in arbitration includes:
[0022] If the seller finds infringing data, the infringement tracking sub-and arbitration agreement is triggered. The seller extracts the digital watermark of the pirated data, parses the transaction authentication address from the extracted watermark information, and initiates a query to the blockchain platform to obtain the transaction authentication information. The seller then tracks the buyer's identity and holds him accountable by combining the seller's data transaction records.
[0023] If the original owner of the data finds infringing data, although there is no purchase information of the buyer in the data transaction record of the original owner of the data, the original owner of the data can recursively initiate a transaction query to the blockchain based on the queried authentication information, obtain all the previous related transactions of the current transaction, and use this to prove the source of the data;
[0024] If the buyer denied his infringement, the infringement tracking sub-and arbitration agreement would be triggered to initiate arbitration. The arbitrator would conduct arbitration by verifying the evidence submitted by the seller or the original owner of the data. Since the transaction information is authenticated on the blockchain, the buyer cannot deny the arbitration result.
[0025] In a technical solution of the above-mentioned transaction method based on vector geographic data, embedding the watermark information into the vector geographic data to be traded, and obtaining the vector geographic data containing the watermark information includes:
[0026] Construct a new Cartesian coordinate system based on vector geographic data;
[0027] Obtaining a coordinate set in the new Cartesian coordinate system;
[0028] Obtaining embedded data based on the coordinate values in the coordinate set and the watermark information;
[0029] The embedded data is processed to obtain vector geographic data containing watermark information.
[0030] In a technical solution of the above-mentioned transaction method based on vector geographic data, constructing a new Cartesian coordinate system based on the vector geographic data includes:
[0031] Based on vector geographic data, extract the point set constituting the vector geographic elements;
[0032] Simplifying the vector geographic elements based on the DP algorithm to obtain a set of feature points;
[0033] A minimum enclosing rectangle is constructed based on the feature point set, and a new Cartesian coordinate system is established based on the minimum enclosing rectangle constructed based on the feature point set.
[0034] In a technical solution of the above-mentioned transaction method based on vector geographic data, obtaining the coordinate set in the new Cartesian coordinate system includes:
[0035] All vertices in the point set of the vector element are converted into a coordinate set in a new Cartesian coordinate system.
[0036] In a technical solution of the above-mentioned transaction method based on vector geographic data, based on the coordinate values in the coordinate set and the watermark information, the embedded data is obtained, including:
[0037] Performing maximum and minimum value normalization processing on the coordinate values in the coordinate set;
[0038] A watermark bit index is established, and the watermark information is embedded into a coordinate set after the maximum and minimum values are normalized to obtain embedded data.
[0039] In a technical solution of the above-mentioned transaction method based on vector geographic data, processing the embedded data to obtain vector geographic data containing watermark information includes:
[0040] Based on the embedded data, inverse normalization processing is performed to obtain relative coordinates; the relative coordinates are converted into original coordinates and recombined into a coordinate set to obtain vector geographic data containing watermark information.
[0041] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects: the present invention introduces a blockchain platform to replace a trusted third party, constructs a watermark generation and embedding sub-protocol, an infringement tracking sub-protocol and an arbitration protocol based on blockchain authentication, and meets the trusted transaction and traceability requirements of vector geographic data in a multi-level transaction network scenario.
[0042] Furthermore, the traceable transaction record framework in the smart contract designed based on blockchain is used for transaction authentication services, realizing chain storage and fast query of related transaction information in the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:
[0044] Figure 1 is a flowchart of the main steps of a transaction method based on vector geographic data according to an embodiment of the present invention;
[0045] Figure 2 is a schematic diagram of the principle of rapid tracing of related transactions according to an embodiment of the present invention;
[0046] Figure 3 is a schematic diagram of a transaction chain logic structure according to an embodiment of the present invention;
[0047] Figure 4 is a schematic diagram of watermark generation and embedding sub-protocol interaction according to an embodiment of the present invention;
[0048] Figure 5 is a schematic diagram of the interaction between infringement tracking, infringement tracking sub-devices and arbitration protocols according to an embodiment of the present invention;
[0049] Figure 6 is a schematic diagram of a watermark information generation process according to an embodiment of the present invention;
[0050] Figure 7 is a simplified schematic diagram of a DP algorithm according to an embodiment of the present invention;
[0051] Figure 8 is a schematic diagram of constructing a new Cartesian coordinate system according to an embodiment of the present invention;
[0052] Fig. 9 is a schematic diagram of coordinate value conversion according to an embodiment of the present invention;
[0053] Fig.10 is a flow chart of a watermark extraction method according to an embodiment of the present invention;
[0054] Fig.11 is a schematic diagram of purchase information authentication according to an embodiment of the present invention;
[0055] Fig.12 is a schematic diagram of transaction information authentication according to an embodiment of the present invention;
[0056] Fig.13 is a flow chart of watermark information generation and embedding according to an embodiment of the present invention;
[0057] Fig.14 is a data transaction flow chart according to an embodiment of the present invention;
[0058] Fig.15 is a schematic diagram of experimental data according to an embodiment of the present invention;
[0059] Fig.16 is a schematic diagram of generating watermark information according to an embodiment of the present invention;
[0060] Fig.17 is a schematic diagram of a geometric attack according to an embodiment of the present invention;
[0061] Fig.18 is a schematic diagram of an object attack according to an embodiment of the present invention;
[0062] Fig.19 It is a robustness comparison experiment diagram according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0064] Here we first explain some terms involved in the present invention.
[0065] Buyer (B): The user who purchases data.
[0066] Seller (S): The owner of the data.
[0067] Digital Certificate Authority (CA): Registers and issues digital certificates to buyers and sellers involved in the transaction, which are used for identity authentication during the transaction process.
[0068] Blockchain platform (BlockChian, BC): A decentralized platform used to record and authenticate data transactions, with copyright certification and traceability features.
[0069] Arbitrator (Judger, J): A neutral party involved in copyright arbitration when a copyright dispute occurs.
[0070] Embodiment 1
[0071] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a transaction method based on vector geographic data according to an embodiment of the present invention. Figure 1 As shown, the transaction method based on vector geographic data in the embodiment of the present invention mainly includes:
[0072] Obtaining the buyer's transaction request, triggering a watermark generation and embedding sub-protocol based on the buyer's transaction request, the buyer generates unique private information based on the watermark generation and embedding sub-protocol, binding the private information with the data information to be purchased by the buyer, and authenticating it on the blockchain platform to obtain purchase information authentication;
[0073] Acquire the buyer's transaction information and the seller's transaction information, and obtain transaction information authentication based on the buyer's transaction information, the seller's transaction information, and the blockchain platform;
[0074] In this embodiment, the current transaction information is authenticated on the blockchain platform BC, and the watermark information embedded in the transaction data is used as the node address for transaction information authentication. The transaction authentication behavior is completed by both the buyer and the seller, and the information used to authenticate the transaction contains the buyer's private information. Since the blockchain platform has high credibility and the node content cannot be tampered with once it is on the chain, using the authentication result as the watermark information can prevent the seller from forging the watermark information and the buyer from denying the watermark information, thereby protecting the rights and interests of both parties to the transaction.
[0075] Based on the transaction information authentication returned by the seller, watermark information is obtained, and the watermark information is embedded in the vector geographic data to be traded to obtain the vector geographic data containing the watermark information;
[0076] Based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, the transaction key is obtained, the buyer encrypts the vector geographic data containing the watermark information based on the key, and the seller decrypts the vector geographic data containing the watermark information based on the key;
[0077] If the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-protocol and arbitration agreement will be triggered, based on which the identity of the infringer will be queried and / or all related transactions will be fully traced and / or the arbitrator will be assisted in conducting arbitration.
[0078] In this embodiment, since the blocks within the blockchain network are arranged in the order of block generation to form a blockchain, in traditional blockchain transaction authentication applications, the authentication information of related transactions is not connected to each other. When facing multi-level transaction scenarios of vector geographic data, the query of related transactions often needs to traverse the entire blockchain network for search, which consumes a lot of resources. Therefore, it is necessary to improve the blockchain structure so that it can quickly query related transactions and achieve rapid traceability. Figure 2 As shown, at the data logic layer, an attribute field of the hash address of the preceding transaction node is added to the node of the associated transaction to realize the link between physically non-adjacent nodes, thereby realizing the fast link of the associated transaction information in the application layer.
[0079] Take transaction 1→transaction 2→transaction 4 in the associated transaction as an example. Transaction 4 is the latest transaction and transaction 1 is the initial transaction. The logical structure of the transaction vouchers of the three transactions is as follows: Figure 3 As shown in the figure, the pre-transaction hash attributes of transaction 4 and transaction 2 record the node hash addresses of transaction 2 and transaction 1 respectively, and the pre-transaction hash attribute of transaction 1 is 0. When the corresponding smart contract queries a certain node information, it can quickly trace the source through the pre-transaction node address recorded in the transaction voucher. The purpose of designing the above block structure is to achieve rapid tracing of malicious data users' infringement by linking related transactions, and provide reliable evidence after the infringement occurs. Compared with traditional blockchain copyright protection applications, the computing efficiency is greatly improved without significantly modifying the underlying physical structure of the blockchain.
[0080] Furthermore, the error correction coding method (ErrorCorrectingCode) performs self-error correction coding on the digital watermark information before embedding it into the carrier data, so as to correctly decode the watermark information when the digital watermark extraction is incomplete. The encoding operation is defined as Encode(...) and the decoding operation is defined as Decode(...). The self-error correction coding and decoding for the message m can be expressed as:
[0081] m=Decode(Encode(m)) (3.2)
[0082] In this embodiment, the blockchain platform BC implements decentralized authentication and query services, and binds and authenticates transaction information and watermark information without relying on a trusted third party. Transaction information is stored in the blockchain node in a logical data structure formed by a transaction chain, which records the node address of the previous associated transaction, thereby realizing rapid tracing of transactions.
[0083] In one embodiment, obtaining transaction information authentication based on the transaction information of the buyer, the transaction information of the seller, and the blockchain platform includes:
[0084] The transaction information of the buyer and the transaction information of the seller are respectively sent to the blockchain platform, and authenticated on the blockchain platform to obtain transaction information authentication.
[0085] In one embodiment, based on the transaction information authentication returned by the seller, obtaining the watermark information includes:
[0086] The return address of the transaction information authentication returned by the seller is obtained, and the watermark information is embedded in the vector geographic data to be traded; the watermark information is obtained by encoding based on the return address of the transaction information authentication returned by the seller.
[0087] In this embodiment, Figure 6 As shown in the figure, the node address of the blockchain is used as the watermark information to embed the transaction data. The node address returned by the blockchain is a hash value in string format. QR code is one of the most widely used codes at present, with the characteristics of large storage capacity, small space occupation and strong error correction ability. QR code is used to encode the hash string as watermark information.
[0088] In one embodiment, based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, the transaction key is obtained, the buyer encrypts the vector geographic data containing watermark information based on the key, and the seller decrypts the vector geographic data containing watermark information based on the key, including:
[0089] A query is initiated to the blockchain platform based on the return address of the transaction information returned by the seller after successful authentication, and a random number generated by both parties to the transaction is obtained from the query result to generate a key. The vector geographic data containing watermark information is encrypted based on the key, and the encrypted content is sent to the buyer. A query is initiated to the blockchain based on the authentication address of the transaction information returned by the buyer after successful authentication, and the key is taken out from the query result. The vector geographic data containing watermark information is decrypted based on the key.
[0090] In this embodiment, the transaction data is encrypted to destroy its availability. Only when the transaction information is successfully authenticated on the blockchain platform BC can the buyer obtain the decryption key to restore the availability and ensure the security of the transaction data. At the same time, the blockchain platform BC runs the corresponding smart contract to generate a random number to generate an encryption key, preventing the seller from forging the encryption key and protecting the buyer's rights.
[0091] In one embodiment, if the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-and arbitration agreement is triggered. Based on the infringement tracking sub-and arbitration agreement, the work of querying the identity of the infringer and / or fully tracing all related transactions and / or assisting the arbitrator in arbitration includes:
[0092] If the seller finds infringing data, the infringement tracking sub-and arbitration agreement is triggered. The seller extracts the digital watermark of the pirated data, parses the transaction authentication address from the extracted watermark information, and initiates a query to the blockchain platform to obtain the transaction authentication information. The seller then tracks the buyer's identity and holds him accountable in combination with the seller's data transaction records. In this embodiment, after the seller finds suspected infringing data, he can independently call the digital watermark extraction algorithm to extract the watermark information in the data, and then initiate a query to the blockchain platform BC based on the watermark information, thereby revealing the identity of the infringer.
[0093] If the original owner of the data finds infringing data, although there is no purchase information of the buyer in the data transaction record of the original owner of the data, the original owner of the data can recursively initiate a transaction query to the blockchain based on the queried authentication information, obtain all the previous related transactions of the current transaction, and use this to prove the source of the data;
[0094] If the buyer who is held responsible denies his or her infringement, the infringement tracking sub-assembly and arbitration agreement will be triggered to initiate arbitration. The arbitrator will conduct arbitration by verifying the evidence submitted by the seller who is held responsible or the original owner of the data. Since the transaction information is authenticated on the blockchain, the buyer cannot deny the arbitration result.
[0095] In this embodiment, the arbitrator J is allowed to query the blockchain platform BC for authentication information based on the evidence submitted by the seller S. Since the watermark information is bound to the transaction information and recorded on the blockchain platform during the transaction, and due to its tamper-proof nature, the arbitrator J can directly determine the consistency between the submitted evidence and the query results, thereby arbitrating the dispute.
[0096] like Figure 5 The specific process after triggering the infringement tracking sub-agreement and arbitration agreement includes:
[0097] (1) When the seller S finds the suspected infringing data X', he calls the digital watermark extraction algorithm to extract the watermark information W', and then performs self-error correction decoding on the watermark information W' to extract the blockchain node address h'=Decode(W') storing the transaction authentication information, and then initiates a query to the blockchain BC based on h.
[0098] (2) The blockchain platform BC queries the node address h' provided by the seller S in the block network to obtain the transaction information authenticated on BC and the node address of the previous related transaction. S can use the above information to determine the infringement of the buyer B. In addition, S can also trace back all transactions through the transaction chain to achieve complete traceability of all related transactions of the data.
[0099] (3) If buyer B denies his infringement, seller S encapsulates the tracing results in the infringement tracing sub-protocol together with data X' into m3 = {X', W', h'} and submits it to arbitration party J as evidence.
[0100] (4) After receiving the evidence, the arbitration party J first runs the watermark detection algorithm to verify whether the watermark information extracted from X' is consistent with W' submitted by the seller S. If they are consistent, the next step of arbitration will be carried out. If they are inconsistent, it will be determined that B does not infringe.
[0101] (5) The arbitration party J performs self-correction decoding on the extracted watermark information W' to verify whether the decoding result is consistent with h' submitted by the seller S. If they are consistent, the next step of arbitration will be carried out. If they are inconsistent, it will be determined that B does not infringe.
[0102] (6) Arbitrator J initiates a query to the blockchain platform BC based on h', and obtains the transaction information of the current node in the transaction chain res = {ID S ,ID B ,ID X ,h,W S ,W B …}. Then the transaction information in the query result is judged to arbitrate the current dispute. Since the authentication information stored on the blockchain is jointly authenticated by the buyer and the seller, the buyer cannot deny the arbitration result.
[0103] In one embodiment, embedding the watermark information into the vector geographic data to be traded to obtain the vector geographic data containing the watermark information includes:
[0104] Construct a new Cartesian coordinate system based on vector geographic data;
[0105] Obtaining a coordinate set in the new Cartesian coordinate system;
[0106] Obtaining embedded data based on the coordinate values in the coordinate set and the watermark information;
[0107] The embedded data is processed to obtain vector geographic data containing watermark information.
[0108] In one embodiment, constructing a new Cartesian coordinate system based on vector geographic data includes:
[0109] Based on vector geographic data, extract the point set constituting the vector geographic elements;
[0110] Simplifying the vector geographic elements based on the DP algorithm to obtain a set of feature points;
[0111] A minimum enclosing rectangle is constructed based on the feature point set, and a new Cartesian coordinate system is established based on the minimum enclosing rectangle constructed based on the feature point set.
[0112] In this embodiment, before processing the vector geographic elements, the vertices in the elements can be reasonably simplified to reduce redundant data and reduce the complexity of subsequent calculations. At the same time, it can also resist compression attacks. This paper uses the Douglas-Peucker (DP) algorithm to extract feature points of vector elements to improve the stability of subsequent watermark embedding operations. Figure 7 The complex polyline shown in (a) is simplified using the DP algorithm to extract feature points. Figure 7 (b) Figure 7 (c) Figure 7 As shown in (d) in .
[0113] After using the DP algorithm to extract feature points from vector elements, a set of feature points is obtained. The minimum circumscribed rectangle of the point set is calculated by extracting the outermost convex hull of the feature point set. There are many methods to extract the outermost convex hull of a point set. This embodiment uses the Graham-Scan algorithm to calculate the convex hull, and then calculates the minimum circumscribed rectangle of the convex hull. After calculating the minimum circumscribed rectangle of the feature point set, it can be known that the lower left corner vertex p0 = (x0, y0) of the circumscribed rectangle. A Cartesian coordinate system is established with p0 as the origin, the long side l of the rectangle as the positive direction of the X-axis, and the short side as the positive direction of the Y-axis. The schematic diagram of the coordinate system construction is shown in the figure. Figure 8 shown.
[0114] In one embodiment, obtaining the coordinate set in the new Cartesian coordinate system includes:
[0115] All vertices in the point set of the vector element are converted into a coordinate set in a new Cartesian coordinate system.
[0116] In this embodiment, Fig. 9As shown, p0 is the origin of the new coordinate system, θ is the minimum angle θ required for the new coordinate system X axis to rotate to the old coordinate system X axis. If counterclockwise rotation is negative and clockwise rotation is positive, then θ∈[-90°,90°]. Each point p in the point set i =(x i ,y i ) is converted into relative coordinates p' i =(x' i ,y' i ) is:
[0117] x' i =(x i -x0)*cosθ+(y i -y0)*sinθ (3.8)
[0118] y' i =-(x i -x0)*sinθ+(y i -y0)*cosθ (3.9)
[0119] In one embodiment, based on the coordinate values in the coordinate set and the watermark information, obtaining the embedded data includes:
[0120] Performing maximum and minimum value normalization processing on the coordinate values in the coordinate set;
[0121] A watermark bit index is established, and the watermark information is embedded into a coordinate set after the maximum and minimum values are normalized to obtain embedded data.
[0122] In one embodiment, processing the embedded data to obtain vector geographic data containing watermark information includes:
[0123] Based on the embedded data, inverse normalization processing is performed to obtain relative coordinates; the relative coordinates are converted into original coordinates and recombined into a coordinate set to obtain vector geographic data containing watermark information.
[0124] The specific process of watermark embedding of vector geographic elements is as follows:
[0125] Step 1: Extract the point set that constitutes the vector geographic element record = {p1, p2, ..., p n}. Run the DP algorithm to simplify the vector geographic features and obtain a set of feature points. Construct the minimum enclosing rectangle based on the set of feature points and use it to establish a new Cartesian coordinate system.
[0126] Step 2: Record the point set that constitutes the vector geographic element as {p1, p2, ..., p n}Convert to the coordinate set record'={p'1,p'2,…,p' n}, and from the X-axis coordinate set X'={x'1,x'2,…,x' n} and the Y-axis coordinate set Y'={y'1,y'2,…,y' n}.
[0127] Step 3: Normalize the coordinate values in the coordinate value sets X' and Y' to their maximum and minimum values, and obtain X' = {x'1, x'2, ..., x' n} and Y'={y”1,y”2,…,y” n}:
[0128]
[0129] Among them, x' min 、x' max Respectively represent the minimum and maximum values in the coordinate set X', y' min ,y' max Respectively represent the minimum and maximum values in the coordinate set Y'.
[0130] Step 4: Create a watermark bit index index and embed the binary watermark information W = {w1, w2, ..., w n} is embedded in the k-th significant bit of X” and Y”:
[0131]
[0132] In the watermark embedding process, in order to ensure the correct extraction of watermark information, the embedding operation of the outer convex hull coordinate value and the maximum and minimum values of the normalized coordinates is skipped.
[0133] Step 5: Denormalize the embedded data:
[0134]
[0135] Step 6: Convert the relative coordinates after embedding the watermark into the original coordinates and reassemble them into a coordinate set to obtain the vector geographic features containing the watermark information.
[0136]
[0137] Watermark extraction methods such as Fig.10 As shown in the figure, firstly, the coordinate set of the vector element is extracted, then its minimum enclosing rectangle is calculated, and a Cartesian coordinate system is established based on the rectangle to convert the coordinate value into a relative coordinate. Then, the relative coordinate is normalized, and the watermark information is restored from the normalized result according to the effective bit value and the watermark bit index.
[0138] like Figure 4 The specific process after triggering the watermark generation and embedding sub-protocol includes: (1) The seller and the buyer each generate an asymmetric encryption public-private key pair, and then send the public key to the digital certificate authority CA for registration. The CA issues digital certificates Cert(S), Cert(B) and Cert(C) to them respectively. The buyer first initiates a transaction with the seller to purchase data X. Both parties send digital certificates to each other to verify their identities and transfer public keys.
[0139] (2) The buyer generates a unique private information W B , authenticate the information on the blockchain platform BC, BC runs the smart contract to store private information on the blockchain, and returns the authentication address h B ;
[0140] (3) Seller S generates a random number N S , encapsulate transaction information m1 = {h, ID S ,ID B ,ID X ,W S ,N S ,…} and generate a digital signature sign(m1) for it, where W S is the copyright information of S. At the same time, buyer B generates a random number N B , encapsulate transaction information m2 = {ID S ,ID B ,ID X ,W B ,h B ,N B ,…} and generate a digital signature sign(m2) for it, where W B is B’s private information;
[0141] (4) The buyer and seller send m1 and m2 to the blockchain platform BC respectively to request transaction information authentication. BC first verifies the correctness and integrity of the message with the signatures of m1 and m2, and then runs the smart contract to verify whether the transaction information from both parties is accurate. If the verification passes, the new node records all the information of this transaction {m1∪m2}, and then returns an authentication success message containing the authentication information node address h. Otherwise, a message of authentication failure is sent;
[0142] (5) After receiving the authentication success message, the seller verifies the authentication result according to the returned node address h. Then the received blockchain node address h is self-corrected and encoded to obtain the watermark information W = Encode (h). The watermark embedding algorithm is run to embed W into the transaction data to obtain A one-time key key for encrypting data is generated based on two random numbers, and then the key is used to encrypt the transaction data X to obtain En(X).
[0143] (6) The seller takes out the random number N from the authentication information S and N B , based on two random numbers, a one-time key is generated for encrypting data, and then the key is used to encrypt the transaction data containing the watermark get Then the ciphertext data containing watermark information and its digital signature Send to buyer.
[0144] (7) The buyer receives the authentication success message, verifies the authentication result based on the returned node address h and extracts the random number N S and N B , and the key for decrypting data is also generated based on random numbers. If the ciphertext data is delivered next, the integrity and correctness of the ciphertext data sent by the seller will be verified first, and then the key will be used to decrypt the data to obtain the transaction data with watermark.
[0145] Experiment and analysis
[0146] In order to realize the simulation experiment of the watermark protocol, the communication between the transaction participants of the proposed digital watermark protocol is realized based on the open source network security communication framework OpenSSL. The RSA asymmetric encryption algorithm and SHA-256 digest algorithm are used as the generation and verification scheme of message digest and digital signature; the AES symmetric encryption algorithm is used as the data communication encryption scheme; and the relevant smart contract business is developed based on the Ant Open Alliance Chain as the blockchain platform.
[0147] (1) Watermark information generation and embedding
[0148] After the buyer Bob makes a request to the seller Alice to purchase Suzhou water area data, the watermark generation and embedding sub-protocol is triggered. Bob generates random unique private information, binds it to the information of the purchased data, and authenticates it on the blockchain platform. The authentication result is as follows: Fig.11 shown.
[0149] The seller Alice encapsulates the seller's transaction information m S , the transaction information contains the authentication address of the previous transaction. The buyer Bob encapsulates the buyer's transaction information m B Both parties send m to the blockchain platform. S and m B The blockchain platform runs the verification and on-chain storage of smart contract execution information. The authentication result is as follows: Fig.12 shown.
[0150] The seller Alice will QR encode the returned transaction information authentication address as watermark information, run the digital watermark algorithm, and embed the watermark information into the transaction data. The flow chart of watermark information generation and embedding is as follows: Fig.13 shown.
[0151] (2) Data Trading
[0152] The seller Alice uses the transaction information authentication address returned by the successful authentication to initiate a query to the blockchain, extracts the random number generated by both parties to the transaction from the query result to generate an AES key, encrypts the vector geographic data containing watermark information, and sends the result to the buyer Bob.
[0153] The buyer Bob uses the transaction information authentication address returned by the successful authentication to initiate a query to the blockchain, extracts the random number generated by both parties from the query result to generate the AES key, decrypts the received transaction data ciphertext, and obtains the vector geographic data containing the watermark information. The data transaction flow chart is as follows: Fig.14 shown.
[0154] (3) Infringement Tracking and Arbitration
[0155] If Bob maliciously infringes on copyright and spreads pirated data on the Internet. If Alice discovers the infringing data, the infringement tracking sub-protocol is triggered. Alice extracts the digital watermark of the pirated data, parses the transaction authentication address from the extracted watermark information, and initiates a query to the blockchain platform to obtain the authentication information of the transaction. Then, she combines her own data transaction records to track Bob's identity and hold him accountable. If the original owner of the data, Someone, discovers the infringing data, although there is no purchase information of Bob in Someone's data transaction records, Someone can recursively initiate a transaction query to the blockchain based on the queried authentication information, obtain all the previous related transactions of the current transaction, and use this to prove the source of the data.
[0156] If the party being held accountable, Bob, denies his infringement, the arbitration sub-protocol will be triggered to initiate arbitration. The arbitrator will conduct arbitration by verifying the evidence submitted by the party holding accountable, Alice or Someone. Since the transaction information is authenticated on the blockchain, Bob cannot deny the arbitration result.
[0157] Based on this solution, the following problems are solved:
[0158] Infringement tracking problem: Malicious buyer B may try to forge a false identity to initiate a purchase request in order to deceive the seller and escape liability after committing an infringement. In this protocol, buyer B has only two possible ways to achieve this: 1. Forge his own digital certificate. Since the digital certificate authority CA is assumed to be trustworthy, the digital certificate forged by B will not be passed when the protocol is verified at the beginning. 2. Provide false identity information and forge authentication information when sending a transaction authentication request to the blockchain platform BC. However, BC will not only receive B's information, but also receive transaction authentication information from the seller S. The seller's transaction authentication information will contain identity information from B's digital certificate. BC will run the corresponding smart contract to verify the authentication information sent by both parties. Therefore, if B forges identity information, it will lead to inconsistent information verification, resulting in transaction authentication failure and termination of the transaction.
[0159] The consumer rights issue refers to the fact that a malicious seller S can use the identity of buyer B to construct a false transaction after obtaining the digital certificate of buyer B, and then forge infringing data to frame B. In fact, such behavior cannot succeed. During the execution of the agreement, the digital certificate is only used for identity confirmation at the beginning of the transaction and data security communication based on the public key cryptography system. During the transaction, buyer B will generate a piece of private information, sign it with a private key, and then authenticate the private information and signature on the blockchain. Seller S cannot actually forge and authenticate this private information on the blockchain without the buyer's private key.
[0160] The binding problem refers to the situation where the seller S has a real transaction with the buyer B. The malicious seller S uses the real watermark in the transaction, embeds it into other data, and forges the transaction to frame the innocent buyer. During the transaction, the buyer will generate unique private information and authenticate it on the blockchain platform in advance. The private information will only be bound to the current transaction. When authenticating the transaction information, the authentication content will include the authentication address of the buyer's private information, thereby achieving a one-to-one binding relationship between the transaction and the private information. Therefore, even if the malicious seller S embeds the existing real watermark into other data, the arbitrator will find that the carrier data is inconsistent with the transaction data during the arbitration stage, and thus determine that the seller is maliciously framing.
[0161] Collusion problem: Introducing a blockchain platform to replace a third party in assuming the role of transaction authentication. Blockchain has the characteristics of decentralization and the information on the chain cannot be tampered with. The smart contract automatically verifies the transaction information and stores it on the chain, and the content of the smart contract is open and transparent. Obviously, collusion problems can be prevented.
[0162] Piracy dispute: Malicious buyer B denies his infringement when he is held accountable for infringement. In this case, seller S will file an arbitration and submit the watermark information extracted from the infringing product and the block address storing the watermark authentication information to arbitrator J. Arbitrator J runs the arbitration sub-protocol to verify the evidence. Due to the openness, transparency and tamper-proof nature of blockchain evidence storage, and the transaction authentication information stored in the blockchain platform is jointly generated by both parties. Therefore, B cannot deny the evidence, and therefore cannot deny his infringement.
[0163] Watermark algorithm experiment
[0164] (1) Introduction of experimental data
[0165] Vector geographic data of two types of elements, line and surface, are used as experimental data. Fig.15 (a) and Fig.15 (b) in the figure shows the road data and water data of Suzhou City respectively. The detailed data are shown in Table 1.
[0166] Table 1 Experimental data information table
[0167]
[0168] (2) Introduction to watermark information
[0169] A string composed of 256-bit hash values is used to simulate the blockchain transaction information authentication address. The string is QR-encoded to generate a 45bit*45bit QR code as the watermark information. The encoding result is as follows: Fig.16 shown.
[0170] 1.1.1 Imperceptibility Experiment
[0171] The imperceptibility of a digital watermark refers to the degree to which the changes in the carrier data itself can be perceived after the watermark is embedded in the carrier data. The quantitative evaluation of the watermark imperceptibility is mainly based on the mean square error (MSE) and the maximum error (MaxError) to statistically evaluate the degree of change in the coordinates of the carrier data before and after the watermark is embedded. The smaller the MSE and the maximum error value, the smaller the data change before and after the watermark is embedded, and the better the imperceptibility of the watermark algorithm. The calculation results of the MSE value and the MaxError value before and after the digital watermark is embedded in the experimental data are shown in Table 2. It can be seen from Table 2 that the MSE value and the MaxError value before and after the watermark is embedded are small, indicating that the watermark algorithm has good imperceptibility.
[0172] Table 2 MSE and MaxError indicators before and after watermark embedding
[0173]
[0174]
[0175] Geometry attack experiment
[0176] The geometric attack experiment selects common geometric operations of vector geographic data: translation, scaling, and rotation. Different degrees of translation, rotation, and scaling experiments are designed to evaluate the watermark algorithm's resistance to geometric attacks. The normalized correlation coefficient (NC) is used as a robustness evaluation index. The closer the result value of the normalized correlation coefficient is to 1, the better the quality of the extracted watermark and the stronger the watermark robustness. Taking the water area data as an example, the geometric attack against it is shown as follows: Fig.17 shown.
[0177] (1) Translation attack
[0178] In this experiment, the original data is translated by 0.1°, 0.01° and 0.01° along the x or y axis, and the watermark information is extracted from the translated data. The experimental results are shown in Table 3.
[0179] Table 3. Experimental results of translation attack
[0180]
[0181] It can be seen from Table 3 that for any translation distance, the NC value of the extracted watermark is always 1.00. This is because the translation attack will not destroy the relative distance between the coordinates of the vector geographic data. Therefore, this method is completely resistant to translation attacks.
[0182] (2) Spin attack
[0183] In this experiment, the origin is used as the rotation center, and the original data is rotated clockwise at angles of 30°, 60°, 90°, 120°, and 210°. The experimental results are shown in Table 4.
[0184] Table 4 Rotation attack test results
[0185]
[0186]
[0187] As shown in Table 4, after the experimental data is rotated, the NC value of the extracted watermark is always 1.00. This is because the algorithm establishes a coordinate system based on the minimum enclosing rectangle of the vector feature point set, and the minimum enclosing rectangle has the property of rotation invariance. When the vector element rotates, its minimum enclosing rectangle will rotate along with it, and the Cartesian coordinate system established with the enclosing rectangle will also rotate accordingly. Therefore, the relative coordinate value of the vertex after transformation according to the Cartesian coordinate system will not change due to the rotation of the element. Therefore, the algorithm can completely resist rotation attacks.
[0188] (3) Scaling attack
[0189] In this experiment, the origin is used as the scaling point, and the original data is scaled proportionally with scaling ratios of 0.3, 0.8, 1.5, and 2.0. The experimental results are shown in Table 5.
[0190] Table 5. Results of geometric scaling attack experiments
[0191]
[0192] As shown in Table 5, for the geometric scaling transformation of the experimental data, the NC value of the extracted watermark is always 1.00. This is because the watermark information in the algorithm is finally embedded in the normalized relative coordinate value, and the normalization process can effectively resist the scaling attack. From the experiment, it can be seen that the algorithm is completely resistant to geometric scaling attacks.
[0193] Object attack experiment
[0194] The object attack experiment mainly uses the vector geographic elements that constitute the vector geographic data as the operation object, and attacks are carried out by changing the elements in the vector geographic data element set. For example, randomly adding or deleting a part of the vector elements. By adding additional vector geographic elements to the vector geographic data, it is equivalent to introducing noise into the entire vector element set, which will interfere with the process of extracting watermarks from other elements containing watermark information. Deleting the vector geographic elements containing watermark information means destroying the watermark information embedded in the data. Experiments of adding and deleting elements of different degrees are designed to evaluate the resistance of the watermark algorithm of this embodiment to object attacks. The normalized correlation coefficient is used as the robustness evaluation index. The object attack diagram is shown in the figure below. Fig.18 shown.
[0195] This experiment uses water area data as the experimental object, and randomly adds and deletes 20%, 40%, 60%, 80% and 90% of the vector geographic elements. The NC value between the extracted watermark and the original watermark after the attack is calculated to quantitatively evaluate the watermark quality. At the same time, the validity of the extracted watermark information is verified by scanning and parsing the QR code. The experimental results are shown in Table 6.
[0196] Table 6 Object attack experiment results
[0197]
[0198] From the experimental results in Table 6, it can be seen that the object attack transformation of the experimental data. When the proportion of added elements is between 20% and 90%, the data can extract watermark information higher than the empirical threshold of 0.75, and the extracted QR code can be decoded normally to obtain the authentication address of the transaction on the blockchain. When the proportion of deleted elements is between 20% and 90%, the data can still extract watermark information images higher than the empirical threshold of 0.75. However, when the deletion rate reaches 90%, although the NC value of the extracted watermark information reaches 0.82, the QR code is no longer available at this time and cannot be decoded normally to extract the final result. Since the watermark embedding operation is performed element by element, and each watermark bit is actually embedded redundantly. Therefore, when the deleted information or added noise is within a certain limit, the watermark can be correctly extracted.
[0199] Comparative experiment
[0200] In order to verify the robustness of the watermarking algorithm in this chapter, an improved DFT and QR code vector map digital watermarking algorithm is recorded as prior art 1, and a blind digital watermarking algorithm against projection transformation for vector geographic data is recorded as prior art 2. At the same time, the algorithms in prior art 1 and prior art 2 are selected as comparison algorithms for comparative experiments, respectively recorded as algorithm 1 and algorithm 2, and different strengths of rotation, geometric scaling, object addition, and object deletion attacks are respectively carried out. The comparative experiments are as follows: Fig.19 shown.
[0201] like Fig.19 As shown in (a) in the figure, the algorithm in this chapter and Algorithm 1 and Algorithm 2 choose different embedding domains with rotation invariance to embed the watermark. Therefore, the NC values of the three algorithms are maintained at around 1.00 under rotation attacks, which can completely resist rotation attacks.
[0202] like Fig.19 As shown in (b), the NC value of Algorithm 1 is around 0.5 at any scaling ratio, indicating that it is completely unable to resist geometric scaling attacks; the NC values of this method and Algorithm 2 are maintained at around 1.00 at different scaling ratios, which can resist geometric scaling attacks.
[0203] like Fig.19As shown in (c), first, Algorithm 1 cannot resist attacks caused by adding or deleting feature classes, while Algorithm 2 and the algorithm in this chapter are both able to resist attacks caused by adding or deleting features. As the number of added features increases, the watermark information extracted by the algorithms in this chapter and Algorithm 2 will be disturbed. When the increase ratio reaches 90%, the NC values of the two algorithms can still remain above the threshold of 0.75. As the number of deleted features increases, the NC values of the algorithms in this chapter and Algorithm 2 remain above the threshold. When the element deletion ratio reaches 90%, the NC value of Algorithm 2 drops below the threshold, while the NC value of this method remains above the threshold. Therefore, the anti-object attack capability of this method is better than that of Algorithm 1 and Algorithm 2.
[0204] In view of the low security, insufficient credibility and difficulty in tracing in multi-level transaction networks caused by the existing digital watermarking protocol relying on a trusted third party, this paper introduces blockchain into the digital watermarking protocol and designs a digital watermarking protocol combined with blockchain. The protocol stores transaction-related information on the blockchain, realizes transaction traceability in a multi-level transaction network, and improves the security and credibility of the watermarking protocol. On this basis, a robust watermarking algorithm for vector geographic data that meets the requirements of the watermarking protocol is proposed. The algorithm uses the Douglas-Peucker algorithm and the relative coordinate system strategy to ensure the robustness of the watermark. Experiments show that the watermarking algorithm has good robustness and the watermarking protocol can meet the requirements of secure and reliable transactions of vector geographic data.
[0205] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A transaction method based on vector geographic data, characterized in that: include: Obtaining the buyer's transaction request, triggering a watermark generation and embedding sub-protocol based on the buyer's transaction request, the buyer generates unique private information based on the watermark generation and embedding sub-protocol, binding the private information with the data information to be purchased by the buyer, and authenticating it on the blockchain platform to obtain purchase information authentication; Acquire the buyer's transaction information and the seller's transaction information, and obtain transaction information authentication based on the buyer's transaction information, the seller's transaction information, and the blockchain platform; Based on the transaction information authentication returned by the seller, watermark information is obtained, and the watermark information is embedded in the vector geographic data to be traded to obtain the vector geographic data containing the watermark information; Based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, the transaction key is obtained, the buyer encrypts the vector geographic data containing the watermark information based on the key, and the seller decrypts the vector geographic data containing the watermark information based on the key; If the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-sub ... If the seller and / or the original owner of the data discovers the infringing data, and / or the buyer denies his / her infringement, the infringement tracking sub-sub ... If the seller finds infringing data, the infringement tracking sub-and arbitration agreement is triggered. The seller extracts the digital watermark of the pirated data, parses the transaction authentication address from the extracted watermark information, and initiates a query to the blockchain platform to obtain the transaction authentication information. The seller then tracks the buyer's identity and holds him accountable by combining the seller's data transaction records. If the original owner of the data finds infringing data, although there is no purchase information of the buyer in the data transaction record of the original owner of the data, the original owner of the data can recursively initiate a transaction query to the blockchain based on the queried authentication information, obtain all the previous related transactions of the current transaction, and use this to prove the source of the data; If the buyer denied his infringement, the infringement tracking sub-and arbitration agreement would be triggered to initiate arbitration. The arbitrator would conduct arbitration by verifying the evidence submitted by the seller or the original owner of the data. Since the transaction information is authenticated on the blockchain, the buyer cannot deny the arbitration result. The watermark information is embedded in the vector geographic data to be traded, and the vector geographic data containing the watermark information is obtained, including: Acquire the vector geographic data for processing and construct a new Cartesian coordinate system; Obtaining a coordinate set in the new Cartesian coordinate system; Obtaining embedded data based on the coordinate values in the coordinate set and the watermark information; Processing the embedded data to obtain vector geographic data containing watermark information; Constructing a new Cartesian coordinate system based on vector geographic data includes: Based on vector geographic data, extract the point set constituting the vector geographic elements; Simplifying the vector geographic elements based on the Douglas-Peucker algorithm to obtain a set of feature points; Construct a minimum enclosing rectangle based on the feature point set, and establish a new Cartesian coordinate system based on the minimum enclosing rectangle constructed based on the feature point set; Obtaining a coordinate set in the new Cartesian coordinate system includes: Convert all vertices in the point set of the vector geographic element into a coordinate set in a new Cartesian coordinate system; Based on the coordinate values in the coordinate set and the watermark information, the embedded data includes: Performing maximum and minimum value normalization processing on the coordinate values in the coordinate set; Establishing a watermark bit index, embedding the watermark information into a coordinate set after the maximum and minimum values are normalized, and obtaining embedded data; The embedded data is processed to obtain vector geographic data containing watermark information, including: Based on the embedded data, inverse normalization processing is performed to obtain relative coordinates; the relative coordinates are converted into original coordinates and recombined into a coordinate set to obtain vector geographic data containing watermark information.
2. The method according to claim 1, characterized in that Based on the transaction information of the buyer, the transaction information of the seller, and the blockchain platform, obtaining transaction information authentication includes: The transaction information of the buyer and the transaction information of the seller are respectively sent to the blockchain platform, and authenticated on the blockchain platform to obtain transaction information authentication.
3. The method according to claim 1, characterized in that Based on the transaction information authentication returned by the seller, the watermark information obtained includes: The return address of the transaction information authentication returned by the seller is obtained, and the watermark information is embedded in the vector geographic data to be traded; the watermark information is obtained by encoding based on the return address of the transaction information authentication returned by the seller.
4. The method according to claim 1, characterized in that: Based on the return address of the transaction information returned by the seller after successful authentication and the blockchain platform, the transaction key is obtained, the buyer encrypts the vector geographic data containing watermark information based on the key, and the seller decrypts the vector geographic data containing watermark information based on the key, including: A query is initiated to the blockchain platform based on the return address of the transaction information returned by the seller after successful authentication, and a random number generated by both parties to the transaction is obtained from the query result to generate a key. The vector geographic data containing watermark information is encrypted based on the key, and the encrypted content is sent to the buyer. A query is initiated to the blockchain based on the authentication address of the transaction information returned by the buyer after successful authentication, and the key is taken out from the query result. The vector geographic data containing watermark information is decrypted based on the key.
Citation Information
Patent Citations
Zero-watermark generation method and system and copyright infringement comparison method and system
CN113129198A
Transaction method based on blockchain network, node, and medium
WO2021258907A1
