CN110189143B - Block chain-based marketing label authenticity verification method and system - Google Patents

Block chain-based marketing label authenticity verification method and system Download PDF

Info

Publication number
CN110189143B
CN110189143B CN201910344350.2A CN201910344350A CN110189143B CN 110189143 B CN110189143 B CN 110189143B CN 201910344350 A CN201910344350 A CN 201910344350A CN 110189143 B CN110189143 B CN 110189143B
Authority
CN
China
Prior art keywords
marketing
label
authenticity
block chain
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910344350.2A
Other languages
Chinese (zh)
Other versions
CN110189143A (en
Inventor
代炜琦
代春凯
金海�
邹德清
包庆华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Shenzhen Huazhong University of Science and Technology Research Institute
Original Assignee
Huazhong University of Science and Technology
Shenzhen Huazhong University of Science and Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology, Shenzhen Huazhong University of Science and Technology Research Institute filed Critical Huazhong University of Science and Technology
Priority to CN201910344350.2A priority Critical patent/CN110189143B/en
Publication of CN110189143A publication Critical patent/CN110189143A/en
Application granted granted Critical
Publication of CN110189143B publication Critical patent/CN110189143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a marketing label authenticity verification method and system based on a block chain, and belongs to the field of block chains. The method comprises the following steps: the seller node sends the marketing label to other nodes in the block chain network; the other nodes acquire all the clients transacted with the seller and all the clients contained in the received marketing note, and record the clients as a set A and a set B; and judging whether the set A contains the set B, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain. The authenticity of the node selling the label is judged by judging whether the node selling the label has traded with a customer contained in the sold desensitization sharing marketing label; by decrypting the desensitization shared marketing label in the trusted environment, data leakage in the verification process is avoided; by writing the authenticity information of the desensitized shared marketing tag into the smart contract, the written data is made publicly transparent and non-tamperable.

Description

Block chain-based marketing label authenticity verification method and system
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a marketing label authenticity verification method and system based on a block chain.
Background
Electronic commerce (Electronic Business) has been developed vigorously and has become an indispensable large trading market for modern Business. Meanwhile, with the continuous development of the internet technology, electronic commerce evolves extremely rich business states, and social e-commerce, rural e-commerce, cross-border e-commerce and the like emerge in disputes, so that the development of the industry is accelerated. In electronic commerce, marketing label occupies very important position, marketing label is customer feature or the abstract of hobby, and electronic commerce platform or trade company can more accurately fix a position own user through marketing label to carry out accurate marketing according to marketing label, and then reduce advertisement cost, human cost. Due to the characteristics of pertinence, practicability and the like of the marketing label, the electronic commerce platform or the merchant begins to share the marketing label to expand the user group, and the value of products and services is better realized through the mode.
However, the marketing tag sharing in the electronic commerce has a problem that, first, a buyer cannot confirm whether a marketing tag sold by a seller is real before purchasing the marketing tag; secondly, most of the traditional marketing tag data transaction process depends on a centralized third party, and even under the condition that the third party can verify the authenticity of the tag, the marketing tag data can be leaked in the verification process; finally, the centralized third party stores the result of the shared tag authenticity verification on top of the centralized system, with the possibility of suffering a single point of failure or being tampered with maliciously.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to solve the technical problems that the authenticity of the marketing label cannot be confirmed before the marketing label is purchased and data leakage and tampering possibly exist in the verification process in the prior art.
In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a method for verifying authenticity of a marketing tag based on a blockchain, where the method includes the following steps:
s1, a seller node sends a marketing label to other nodes in a block chain network;
s2, other nodes acquire all clients transacted with the seller and all clients contained in the received marketing labels, and respectively record the clients as a set A and a set B;
and S3, judging whether the set A contains the set B, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
In a second aspect, an embodiment of the present invention provides a method for verifying authenticity of a marketing tag based on a blockchain, where the method includes the following steps:
s0. the seller node encrypts the marketing label;
s1, a seller node sends an encrypted marketing label to other nodes in a block chain network, and directly sends a corresponding key to a trusted environment passing through a trusted environment authentication node;
s2, acquiring all clients transacted with the seller outside a trusted environment through a node authenticated by the trusted environment, marking as a set A, and reading the set A into the trusted environment; decrypting the encrypted marketing label in the trusted environment, and acquiring all clients contained in the decrypted marketing label, and recording as a set B;
and S3, judging whether the set A contains the set B in the trusted environment, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
Specifically, the trusted environment authentication is realized by means of signature.
In particular, the trusted environment is an execution environment created by SGX technology.
Specifically, the seller node desensitizes the shared marketing label before sending the marketing label, and obtains a desensitized shared marketing label.
Specifically, the storing the verification result in the block chain includes the following steps:
(1) the seller node constructs a special transaction, the special transaction is used for calling an intelligent contract to record the authenticity of the sold shared marketing label, and the outlet node adds authenticity information of the marketing label to the special transaction;
(2) and the block outlet node in the block chain network executes the special transaction, packs the transaction into a block and sends the block into other nodes for consensus.
Specifically, in the consensus process, other nodes locally acquire self-verification tag authenticity results from the nodes, then the results are compared with tag authenticity information contained in the special transactions in the block, if the results are consistent, the other nodes acknowledge that the special transactions executed by the block nodes are valid, and if the results are not valid, the special transactions executed by the block nodes are invalid.
In a third aspect, an embodiment of the present invention provides a block chain-based marketing tag authenticity verification system, where the system employs the above block chain-based marketing tag authenticity verification method.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the block chain-based marketing tag authenticity verification method described above.
Generally, compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:
(1) the invention judges the authenticity of the label by judging whether the node for selling the label transacts with the client contained in the desensitized shared marketing label, if the node for selling the label transacts with the client contained in the desensitized shared marketing label for selling, the desensitized shared marketing label for selling is not forged, otherwise, the desensitized shared marketing label for selling is forged, thereby solving the problem that a buyer can not confirm whether the marketing label for selling by a seller is real before purchasing the desensitized shared marketing label.
(2) According to the invention, the desensitization shared marketing label is decrypted in a trusted environment, and whether the label is real or not is judged, so that data leakage in the process of judging the authenticity of the label is avoided, and the problem of marketing label data leakage caused in the process of verifying the authenticity of the label by a third party is solved.
(3) The authenticity of the desensitization shared marketing label is verified through each node in the block chain network, the authenticity information of the desensitization shared marketing label is written into an intelligent contract, and due to the transparency and the non-tampering property of the block chain, the written data is public and transparent and can not be tampered, so that the problem that the authenticity verification result of the shared label is stored on a centralized system and suffers from single-point failure or is maliciously tampered is solved.
Drawings
Fig. 1 is a flowchart of a method for verifying authenticity of a marketing tag based on a blockchain according to an embodiment of the present invention;
fig. 2 is a flowchart of another block chain-based marketing tag authenticity verification method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, a block chain-based marketing tag authenticity verification method includes the following steps:
s1, a seller node sends a marketing label to other nodes in a block chain network;
s2, other nodes acquire all clients transacted with the seller and all clients contained in the received marketing labels, and respectively record the clients as a set A and a set B;
and S3, judging whether the set A contains the set B, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
And S1, the seller node sends the marketing label to other nodes in the block chain network.
Each node in the blockchain network verifies the authenticity of the desensitized shared marketing tag.
And S2, acquiring all the clients transacted with the seller and all the clients contained in the received marketing labels by other nodes, and respectively recording the clients as a set A and a set B.
And other nodes acquire a customer blockchain address set A transacted with the selling label node according to the blockchain address of the selling label node.
And S3, judging whether the set A contains the set B, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
If set B is a subset of set A, then the shared marketing label is authentic, otherwise the shared marketing label is counterfeit.
To avoid the inclusion of personal privacy in the marketing tags, the present invention employs shared marketing tag desensitization. Specifically, the seller node desensitizes the shared marketing label before sending the marketing label, and obtains a desensitized shared marketing label.
In order to avoid the possible problem of marketing label data leakage in the verification process, the invention adopts marketing label encryption and trusted environment authentication. As shown in fig. 2, a block chain-based marketing tag authenticity verification method includes the following steps:
s0. the seller node encrypts the marketing label;
s1, a seller node sends an encrypted marketing label to other nodes in a block chain network, and directly sends a corresponding key to a trusted environment passing through a trusted environment authentication node;
s2, acquiring all clients transacted with the seller outside a trusted environment through a node authenticated by the trusted environment, marking as a set A, and reading the set A into the trusted environment; decrypting the encrypted marketing label in the trusted environment, and acquiring all clients contained in the decrypted marketing label, and recording as a set B;
and S3, judging whether the set A contains the set B in the trusted environment, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
Step S0. the seller node encrypts the marketing label.
The marketing label encryption algorithm can be a symmetric encryption algorithm such as a 3DES algorithm and an AES algorithm, and can also be an asymmetric encryption algorithm such as RSA and Elliptic Curve Cryptography (ECC).
The unique identification of the marketing label is generated using, for example, a SHA-2 hash encryption algorithm, a SHA-3 hash encryption algorithm, a RIPEMD-160 hash encryption algorithm, or the like.
And S1, the seller node sends the encrypted marketing label to other nodes in the block chain network and directly sends the corresponding key to a trusted environment passing through the trusted environment authentication node.
The trusted context may be an execution context created by sgx (software Guard extensions) or the like, and the trusted context is created before an operation is performed in the trusted context, and is revoked after the operation is completed in the trusted context. The trusted environment authentication is realized by means of signature.
S2, acquiring all clients transacted with the seller outside a trusted environment through a node authenticated by the trusted environment, marking as a set A, and reading the set A into the trusted environment; and decrypting the encrypted marketing label in the trusted environment, and acquiring all the clients contained in the decrypted marketing label, which is marked as a set B.
The other nodes need to read the encrypted desensitized shared marketing tag into the trusted environment before decrypting the encrypted desensitized shared marketing tag in the trusted environment.
And S3, judging whether the set A contains the set B in the trusted environment, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
The trusted environment outputs the verification result and a client blockchain address set B contained in the sold tag, and stores the client blockchain address set B, the unique identifier and the desensitization shared marketing tag ciphertext together with the blockchain address of the sold tag node in the local environment.
The information content of the shared tag stored locally is shown in table 1:
Figure BDA0002041804790000061
TABLE 1
To protect against single point of failure or malicious tampering, the present invention deploys an intelligent contract in the blockchain that is responsible for recording the authenticity of desensitized shared marketing tags uploaded by shared tag sellers to the blockchain network, and is applicable to both methods. The step of storing the verification result in the block chain comprises the following steps:
(1) and the seller nodes construct a special transaction, the special transaction is used for calling an intelligent contract to record the authenticity of the sold shared marketing label, and the outlet nodes add authenticity information of the marketing label to the special transaction.
The special transaction contains a unique identification. Before the node in the blockchain network executes the special transaction, the authenticity of the desensitization shared marketing label and a customer blockchain address set contained in the sold desensitization shared marketing label are locally acquired according to the unique identifier and the blockchain address of the node initiating the special transaction, and the information is added into the special transaction.
Specifically, the contents stored in the smart contract a are shown in table 2:
Figure BDA0002041804790000071
TABLE 2
(2) And the block outlet node in the block chain network executes the special transaction, packs the transaction into a block and sends the block into other nodes for consensus.
In the consensus process, other nodes can locally acquire self-verification label authenticity results from the nodes, then the results are compared with label authenticity information contained in the special transactions in the block, if the results are consistent, the other nodes acknowledge that the special transactions executed by the block nodes are valid, and if the results are invalid, the special transactions executed by the block nodes are invalid.
Specifically, when other nodes perform a consensus transaction, the authenticity of the desensitization shared marketing label and the client blockchain address set included in the sold desensitization shared marketing label are locally acquired according to the unique identifier and the blockchain address of the node initiating the special transaction. And if the locally stored information is consistent with the information stored in the special transaction, the special transaction processed by the block node is admitted, otherwise, the special transaction processed by the block node is refused to be admitted.
In the conventional transaction consensus process, if one wants to verify one conventional transaction (denoted as transaction a) in the block, it needs to go to the block chain to find the related information of both parties in transaction a. Unlike the consensus process of handling traditional transactions, the present invention seeks to find authenticity information in a particular transaction outside of the blockchain when verifying authenticity information in a particular transaction (since the authenticity information in a particular transaction is not linked but stored outside of the blockchain before other nodes verify the particular transaction).
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A marketing label authenticity verification method based on a block chain is characterized by comprising the following steps:
s1, a seller node sends a marketing label to other nodes in a block chain network;
s2, other nodes acquire all clients transacted with the seller and all clients contained in the received marketing labels, and respectively record the clients as a set A and a set B;
and S3, judging whether the set A contains the set B, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
2. A marketing label authenticity verification method based on a block chain is characterized by comprising the following steps:
s0. the seller node encrypts the marketing label;
s1, a seller node sends an encrypted marketing label to other nodes in a block chain network, and directly sends a corresponding key to a trusted environment passing through a trusted environment authentication node;
s2, acquiring all clients transacted with the seller outside a trusted environment through a node authenticated by the trusted environment, marking as a set A, and reading the set A into the trusted environment; decrypting the encrypted marketing label in the trusted environment, and acquiring all clients contained in the decrypted marketing label, and recording as a set B;
and S3, judging whether the set A contains the set B in the trusted environment, if so, verifying the marketing label to be real, otherwise, verifying the marketing label to be fake, and storing the verification result in the block chain.
3. The method of verifying authenticity of a blockchain-based marketing tag of claim 2, wherein the trusted context authentication is performed by means of a signature.
4. The method of verifying authenticity of a blockchain-based marketing tag of claim 2, wherein the trusted context is an execution context created by SGX technology.
5. The method for verifying authenticity of a marketing tag based on a blockchain according to claim 1 or 2, wherein the seller node desensitizes the shared marketing tag before sending the marketing tag, and obtains a desensitized shared marketing tag.
6. The method of verifying authenticity of a marketing tag based on a blockchain according to claim 1 or 2, wherein the step of depositing the verification result in the blockchain comprises the steps of:
(1) the seller node constructs a special transaction, the special transaction is used for calling an intelligent contract to record the authenticity of the sold shared marketing label, and the outlet node adds authenticity information of the marketing label to the special transaction;
(2) and the block outlet node in the block chain network executes the special transaction, packs the transaction into a block and sends the block into other nodes for consensus.
7. The method of claim 6, wherein during the consensus process, other nodes obtain their own result of verifying the authenticity of the tag locally from the node, and then compare the result with the tag authenticity information included in the special transaction in the block, and if the result is consistent, the other nodes recognize that the special transaction executed by the block node is valid, otherwise, the result is invalid.
8. A block chain-based marketing tag authenticity verification system, characterized in that the system employs the block chain-based marketing tag authenticity verification method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the block chain-based marketing tag authenticity verification method according to any one of claims 1 to 7.
CN201910344350.2A 2019-04-26 2019-04-26 Block chain-based marketing label authenticity verification method and system Active CN110189143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910344350.2A CN110189143B (en) 2019-04-26 2019-04-26 Block chain-based marketing label authenticity verification method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910344350.2A CN110189143B (en) 2019-04-26 2019-04-26 Block chain-based marketing label authenticity verification method and system

Publications (2)

Publication Number Publication Date
CN110189143A CN110189143A (en) 2019-08-30
CN110189143B true CN110189143B (en) 2021-12-17

Family

ID=67715157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910344350.2A Active CN110189143B (en) 2019-04-26 2019-04-26 Block chain-based marketing label authenticity verification method and system

Country Status (1)

Country Link
CN (1) CN110189143B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688678B (en) * 2019-09-27 2021-07-30 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment applied to block chain
CN110580413B (en) * 2019-11-08 2020-03-24 支付宝(杭州)信息技术有限公司 Private data query method and device based on down-link authorization

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9858569B2 (en) * 2014-03-21 2018-01-02 Ramanan Navaratnam Systems and methods in support of authentication of an item
CN106779737B (en) * 2016-11-30 2021-06-11 电子科技大学 Product traceability verification method based on block chain technology
CN108809652B (en) * 2018-05-21 2021-07-23 安徽航天信息有限公司 Block chain encrypted account book based on secret sharing
CN108898021B (en) * 2018-06-04 2021-06-01 北京奇虎科技有限公司 Threat information processing method, system and computing device based on block chain
CN109063169A (en) * 2018-08-17 2018-12-21 福建省农村信用社联合社 A kind of customer data management system based on block chain
CN109242551A (en) * 2018-08-22 2019-01-18 泰康保险集团股份有限公司 Sales lead management method, device, medium and electronic equipment based on block chain
CN109377274A (en) * 2018-10-12 2019-02-22 中国科学院重庆绿色智能技术研究院 A method of the business consumer based on block chain mutually drains
CN109472602B (en) * 2018-11-23 2021-05-11 全链通有限公司 Transaction verification method, node and block chain system
CN109615474B (en) * 2018-12-11 2022-04-22 南京大学 Block chain-based method for constructing competition intelligence sharing platform of small and medium enterprises
CN109660358B (en) * 2019-01-08 2022-04-08 余炀 Data circulation method based on block chain and safe execution environment

Also Published As

Publication number Publication date
CN110189143A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CA3057385C (en) Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
US11307775B2 (en) Distributed storage of custom clearance data
CN108650077B (en) Block chain based information transmission method, terminal, equipment and readable storage medium
CN111989707B (en) Managing user rights for blockchain-based customs clearance services
CN109905360B (en) Data verification method and terminal equipment
US11356270B2 (en) Blockchain-based smart contract pools
JP2016512675A (en) Secure trading system and method
US11372695B2 (en) Blockchain-based import custom clearance data processing
CN111770199B (en) Information sharing method, device and equipment
US11418511B2 (en) User management of blockchain-based custom clearance service platform
US11449911B2 (en) Blockchain-based document registration for custom clearance
CN111460457A (en) Real estate property registration supervision method, device, electronic equipment and storage medium
CN109858904A (en) Data processing method and device based on block chain
CN110189143B (en) Block chain-based marketing label authenticity verification method and system
CN113409144B (en) Blockchain data transaction method with privacy protection function
CN114565393A (en) Whole industry chain product traceability authentication method and system based on block chain technology
Bouzid et al. The Technology Behind NFTs
CN115601053A (en) Back-to-back origin place certification safety credible protection method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant