Blockchain-based quality control system and control method

By using blockchain technology and smart contracts in the quality control system, the problem of human tampering with data in the existing system is solved, security and authenticity are improved, transparent computing logic and business rules are realized, and merchants and consumers are enhanced relationship of trust between them.

CN112070567BActive Publication Date: 2024-08-27HAIER DIGITAL TECHNOLOGY (QINGDAO) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910502582.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-11
Publication Date
2024-08-27
Estimated Expiration
2039-06-11

AI Technical Summary

Technical Problem

The existing quality control system has the risk of human tampering with data, resulting in low security and authenticity, lack of transparency, and affecting the trust relationship between merchants and consumers.

Method used

Using blockchain technology, by generating product smart contracts and user accounts, using private key signatures and public key verification to ensure that data cannot be tampered with, transparent operational logic and business rules are implemented, and smart contracts corresponding to product information are generated and synchronized to the block In the chain, quality rating and credit assessment are carried out based on this.

Benefits of technology

It improves the security and authenticity of the quality control system, ensures the non-tamperability and transparency of data, enhances the trust relationship between merchants and consumers, and makes product ratings and credit assessments more objective and fair through blockchain technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112070567B
    Figure CN112070567B
Patent Text Reader

Abstract

The present invention belongs to the field of blockchain technology, and aims to solve the problem that the existing quality control system has the risk of artificial tampering of data, which leads to very low security and authenticity of the quality control system. To this end, the present invention provides a blockchain-based quality control system and a control method thereof, the control method comprising: obtaining the product information input by the seller; generating a product smart contract corresponding to the product information and synchronizing it to the blockchain; obtaining the purchase information and / or evaluation information input by the buyer based on the rules of the product smart contract and synchronizing it to the blockchain; and rating the quality of the product according to the purchase information and / or evaluation information. The present invention adopts blockchain technology to make the data in the quality control system impossible to be tampered with, thereby improving the security and authenticity of the quality control system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of blockchain, and specifically provides a blockchain-based quality control system and a control method thereof. Background Art

[0002] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism and encryption algorithm. Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a string of data blocks generated by cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block.

[0003] In the prior art, taking merchants and consumers as an example, merchants provide goods and consumers purchase goods. In order to timely understand consumers' evaluation of goods and consumers want to understand the credit of merchants, many quality control systems have emerged. Traditional quality control systems use traditional centralized databases, which have the risk of human tampering with data, and the various rules in the system are not transparent and not public. Using this system will lead to merchants questioning consumers' evaluation of goods and consumers not trusting the credit of merchants, etc., making it impossible to form a good trust relationship between merchants and consumers.

[0004] Therefore, the art needs a blockchain-based quality control system and a control method thereof to solve the above problems. Summary of the invention

[0005] In order to solve the above-mentioned problems in the prior art, that is, to solve the risk of human tampering with data in the existing quality control system, thereby causing the problem that the security and authenticity of the quality control system are very low, the present invention provides a control method for a quality control system based on blockchain, and the control method includes: obtaining product information input by the seller; generating a product smart contract corresponding to the product information and synchronizing it to the blockchain; obtaining purchase information and / or evaluation information input by the buyer based on the rules of the product smart contract and synchronizing it to the blockchain; and performing quality rating on the product according to the purchase information and / or evaluation information.

[0006] In the preferred technical scheme of the above-mentioned control method, before the step of "obtaining the product information input by the seller", the control method also includes: obtaining the registration information input by the seller; generating the seller's blockchain account according to the registration information input by the seller and synchronizing it to the blockchain; generating the seller's private key and the seller's public key; sending the seller's private key, the seller's public key and the blockchain address to the seller; wherein the seller's private key corresponds to the seller's public key one by one.

[0007] In the preferred technical solution of the above control method, before the step of "obtaining the purchase information and / or evaluation information input by the purchaser based on the rules of the commodity smart contract and synchronizing it to the blockchain", the control method also includes: obtaining the registration information input by the purchaser; generating the purchaser's blockchain account according to the registration information input by the purchaser and synchronizing it to the blockchain; generating the purchaser's private key and the purchaser's public key; sending the purchaser's private key, the purchaser's public key and the blockchain address to the purchaser; wherein the purchaser's private key corresponds to the purchaser's public key one by one.

[0008] In the preferred technical scheme of the above-mentioned control method, the step of "obtaining the product information input by the seller" specifically includes: obtaining the transaction request for the product information input by the seller; using the seller's public key to authenticate the transaction request for the product information; obtaining the product information input by the seller only after the identity authentication is passed; wherein, the transaction request for the product information is a transaction request signed by the seller's private key.

[0009] In the preferred technical scheme of the above-mentioned control method, the step of "obtaining the purchase information and / or evaluation information input by the purchaser" specifically includes: obtaining the transaction request for the purchase information and / or evaluation information input by the purchaser; using the purchaser's public key to authenticate the transaction request for the purchase information and / or evaluation information; obtaining the purchase information and / or evaluation information input by the purchaser only after the identity authentication is passed; wherein, the transaction request for the purchase information and / or evaluation information is a transaction request signed by the purchaser's private key.

[0010] In the preferred technical solution of the above control method, the step of "generating the seller's blockchain account based on the registration information entered by the seller and synchronizing it to the blockchain" specifically includes: reviewing the registration information entered by the seller; generating the seller's blockchain account and synchronizing it to the blockchain only after the review is passed.

[0011] In the preferred technical solution of the above control method, the step of "generating the purchaser's blockchain account according to the registration information entered by the purchaser and synchronizing it to the blockchain" includes: reviewing the registration information entered by the purchaser; generating the purchaser's blockchain account and synchronizing it to the blockchain only after the review is passed.

[0012] In the preferred technical solution of the above control method, after the step of "rating the quality of the goods based on the purchase information and / or evaluation information", the control method also includes: evaluating the credit of the seller based on the quality rating results of the goods.

[0013] On the other hand, the present invention also provides a quality control system based on blockchain, which includes: a seller acquisition module, which can obtain product information input by the seller; a buyer acquisition module, which can obtain purchase information and / or evaluation information input by the buyer; a control module, which can generate a product smart contract corresponding to the product information, synchronize the product smart contract to the blockchain, and synchronize the purchase information and / or evaluation information to the blockchain; a quality evaluation module, which can perform quality rating on the product based on the purchase information and / or evaluation information.

[0014] In the preferred technical solution of the above-mentioned quality control system, the quality control system also includes: a credit assessment module, which can conduct credit assessment on the seller according to the quality rating results of the goods.

[0015] Those skilled in the art can understand that, in the preferred technical solution of the present invention, by adopting blockchain technology in the quality control system, the data in the quality control system cannot be tampered with, and the product ratings supported by such data are more authentic. In addition, both blockchain and product smart contracts are open, providing a more fair application environment, so that there is no black box operation in the various operation logics and business rules in the quality control system, thereby improving the security of the quality control system.

[0016] Furthermore, by signing with the seller's private key and then verifying with the seller's public key, each transaction of the seller can be traced back to the initiator of the seller, ensuring that the seller cannot forge the transaction.

[0017] Furthermore, by signing with the purchaser's private key and then verifying with the purchaser's public key, each transaction of the purchaser can be traced back to the purchaser's initiator, ensuring that the purchaser cannot forge transactions.

[0018] Furthermore, after rating the quality of the goods, the credit of the seller is assessed based on the quality of the goods. Such a credit assessment is more authentic, so that the seller can improve the quality of the goods in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a flow chart of a control method of a blockchain-based quality control system of the present invention;

[0020] Figure 2 It is a flowchart of an embodiment of a control method of a blockchain-based quality control system of the present invention. DETAILED DESCRIPTION

[0021] The preferred 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.

[0022] Based on the risk of human tampering with data in the existing quality control system pointed out in the background technology, which leads to very low security and authenticity of the quality control system, the present invention provides a blockchain-based quality control system and a control method thereof, aiming to use blockchain technology to make the data in the quality control system impossible to be tampered with, thereby improving the security and authenticity of the quality control system.

[0023] Specifically, the blockchain-based quality control system of the present invention includes: a seller acquisition module, which can obtain the product information input by the seller; a buyer acquisition module, which can obtain the purchase information and / or evaluation information input by the buyer; a control module, which can generate a product smart contract corresponding to the product information, synchronize the product smart contract to the blockchain, and synchronize the purchase information and / or evaluation information to the blockchain; a quality evaluation module, which can rate the quality of the product based on the purchase information and / or evaluation information. The seller acquisition module, the buyer acquisition module and the evaluation module all communicate with the control module, wherein the seller acquisition module and the buyer acquisition module can be physical modules, for example, the seller acquisition module is the seller's computer, mobile phone, etc. Similarly, the buyer acquisition module is the buyer's computer, mobile phone, etc. In this case, the seller acquisition module and the buyer acquisition module are preferably wirelessly connected to the control module. Of course, the seller acquisition module and the buyer acquisition module can also be virtual modules, that is, the seller acquisition module, the buyer acquisition module and the control module are all integrated into the computer or integrated into the control panel of the computer. In this case, the seller acquisition module and the buyer acquisition module are preferably connected to the control module through circuit communication. Similar to the above, the evaluation module can be a physical module or a virtual module. Figure 1 As shown, the control method of the present invention includes: obtaining the product information input by the seller; generating a product smart contract corresponding to the product information and synchronizing it to the blockchain; obtaining the purchase information and / or evaluation information input by the buyer based on the rules of the product smart contract and synchronizing it to the blockchain; and rating the quality of the product according to the purchase information and / or evaluation information. In practical applications, the seller can directly input all the product information, or input initialization parameters to list exclusive products (exclusive products come with corresponding product information), and generate a product smart contract corresponding to the product information. It should be noted that the product smart contract is bound to the seller's information, and can also describe the attributes and status of the product. It also has contract rules and defines functions of all circulation links (such as the buyer's first purchase, second purchase, recommended purchase, evaluation, etc.). The above circulation links are all stored in the block in the form of blockchain transactions, and all the contents in the smart contract are transparent and public.

[0024] It should be noted that the quality of a product may be rated only through purchase information, only through evaluation information, or both. In addition, it should be noted that those skilled in the art can flexibly set specific evaluation rules for the quality of goods in actual applications. Taking the example of rating the quality of goods only through purchase information, the purchase information includes first purchase, second purchase and recommended purchase, wherein the first purchase indicates that the purchaser has preliminarily recognized the product, and its weight can be A, the second purchase indicates that the purchaser has further recognized the product, and its weight can be B, and the recommended purchase indicates that the purchaser highly recognizes the product, and its weight can be C, wherein the weight values ​​of A, B, and C increase in sequence, and the quality score of the product is obtained by calculating the weight value and the basic score, for example, A=0.2, B=0.3, C=0.5, the basic score is 100 points, and the full score is (A+B+C)×100=100 points. Assuming that the user gave a score of 90 points for the first purchase, and gave a score of 100 points for the second purchase and recommended purchase, the final score given by the purchaser is calculated to be 98 points. When the buyer does not make a second purchase or recommend a purchase, the weight of A can be adjusted to 1, that is, the user gives a final score of 90 points. The above example solution can be implemented by setting the rules of the commodity smart contract. It can be seen that through the comprehensive evaluation of multiple buyers, the quality rating of the goods can be very objectively and fairly rated, and all transactions can be traced. It should be pointed out that the commodity smart contract is initially set (earlier than the sales direction enters the commodity information into the quality control system), and once set, it cannot be changed or tampered with.

[0025] Preferably, before the step of "obtaining the product information input by the seller", the control method of the present invention further includes: obtaining the registration information input by the seller; generating the seller's blockchain account according to the registration information input by the seller and synchronizing it to the blockchain; generating the seller's private key and the seller's public key; sending the seller's private key, the seller's public key and the blockchain address to the seller; wherein the seller's private key corresponds to the seller's public key one by one. The registration information may include the seller's sales qualification information, name information, address information and contact information, etc. Preferably, the step of "obtaining the product information input by the seller" specifically includes: obtaining the transaction request for the product information input by the seller; using the seller's public key to authenticate the transaction request for the product information; obtaining the product information input by the seller only after the identity authentication is passed; wherein the transaction request for the product information is a transaction request signed by the seller's private key. That is to say, each operation of the seller can be regarded as a transaction. When the seller publishes the goods as the initiator, the seller's private key needs to be used to sign the transaction request. The nodes in the blockchain use the seller's public key to authenticate the transaction. After the identity authentication is passed, the product information entered by the seller is obtained, so that the system can generate a product smart contract corresponding to the product information according to the product information entered by the seller, and synchronize the product smart contract to the blockchain. Preferably, the step of "generating the seller's blockchain account according to the registration information entered by the seller and synchronizing it to the blockchain" specifically includes: reviewing the registration information entered by the seller; generating the seller's blockchain account and synchronizing it to the blockchain only after the review is passed. In other words, when the seller registers, its qualifications need to be reviewed first, and the seller is allowed to register only after the review is passed.

[0026] Preferably, before the step of "obtaining the purchase information and / or evaluation information input by the purchaser based on the rules of the commodity smart contract and synchronizing it to the blockchain", the control method of the present invention further includes: obtaining the registration information input by the purchaser; generating the purchaser's blockchain account according to the registration information input by the purchaser and synchronizing it to the blockchain; generating the purchaser's private key and the purchaser's public key; sending the purchaser's private key, the purchaser's public key and the blockchain address to the purchaser; wherein the purchaser's private key corresponds to the purchaser's public key one by one. The registration information may include the purchaser's purchase qualification information, name information, address information and contact information, etc. Preferably, the step of "obtaining the purchase information and / or evaluation information input by the purchaser" specifically includes: obtaining the transaction request for the purchase information and / or evaluation information input by the purchaser; using the purchaser's public key to authenticate the transaction request for the purchase information and / or evaluation information; obtaining the purchase information and / or evaluation information input by the purchaser only after the identity authentication is passed; wherein the transaction request for the purchase information and / or evaluation information is a transaction request signed by the purchaser's private key. That is to say, each operation of the purchaser can be regarded as a transaction. When the purchaser purchases goods and / or evaluates the goods as the initiator, the purchaser's private key needs to be used to sign the transaction request. The nodes in the blockchain use the purchaser's public key to authenticate the transaction. In addition, the consensus algorithm can be used to verify the legitimacy of the transaction, and the validity of the transaction can be verified through the function logic in the commodity smart contract. After the verification is passed, the purchase information and / or evaluation information entered by the purchaser are obtained, so as to synchronize the purchase information and / or evaluation information entered by the purchaser to the blockchain, so that the system can rate the quality of the goods according to the purchase information and / or evaluation information. Preferably, the step of "generating the purchaser's blockchain account according to the registration information entered by the purchaser and synchronizing it to the blockchain" includes: reviewing the registration information entered by the purchaser; generating the purchaser's blockchain account and synchronizing it to the blockchain only after the review is passed. That is to say, when the purchaser registers, its qualifications need to be reviewed first, and the purchaser is allowed to register only after the review is passed.

[0027] In summary, the present invention can register the seller's goods as the seller's digital assets on the blockchain, so that the goods and the seller have a strong binding relationship. The buyer's first purchase, recommended purchase, second purchase and evaluation will be used as the digital asset rating corresponding to the product, and any rating behavior is recorded in the blockchain using the rules of smart contracts and the tamper-proof nature of the blockchain. The rating results can be traced through the blockchain. Based on the characteristics of the blockchain, information is open, transparent and cannot be tampered with. At the same time, any operation is signed by the private key of the blockchain user to prevent counterfeiting, achieve traceability of product quality, monitor product quality, eliminate any human operation, and make the data more authentic.

[0028] Preferably, the quality control system of the present invention also includes: a credit assessment module, which can assess the credit of the seller based on the quality rating results of the goods. The credit assessment module communicates with the aforementioned control module, and the credit assessment module can be a physical module or a virtual module. After the step of "quality rating the goods based on purchase information and / or evaluation information", the control method of the present invention also includes: assessing the credit of the seller based on the quality rating results of the goods. Through such a setting, the credit of the seller can be mapped to the quality rating results of its goods, which is convenient for the buyer to choose whether to purchase the seller's goods based on the credit status of the seller. In actual applications, all the goods of the seller can be comprehensively assessed, and then the credit of the seller can be assessed based on the comprehensive assessment results of all goods.

[0029] In the present invention, it should be noted that the seller and the buyer can be a supplier and a buyer, such as an impeller supplier and an impeller buyer, an automobile glass supplier and an automobile glass buyer. The seller and the buyer can also be a merchant and a consumer, such as a washing machine merchant and a washing machine consumer, an air conditioner merchant and an air conditioner consumer. In short, the present invention can be applied to quality control between any sellers and buyers. The following takes the seller and the buyer as a merchant and a consumer as an example to further illustrate a preferred implementation of the present invention.

[0030] like Figure 2 As shown, the merchant submits registration information to the system, the system reviews the registration information, creates the merchant's blockchain account after the review is passed, and then generates the merchant's public key and private key, and sends the merchant's public key, private key and blockchain address to the merchant. The consumer submits registration information to the system, the system reviews the registration information, creates the consumer's blockchain account after the review is passed, and then generates the consumer's public key and private key, and sends the consumer's public key, private key and blockchain address to the consumer. The merchant carries the private key to publish the product and generates a dedicated smart contract based on the product. The consumer carries the private key to purchase the product, evaluate the product and recommend the purchase of the product, and the consumer's behavior (i.e. the purchase of the product, evaluation of the product and recommendation of the purchase of the product) is recorded in the blockchain. Through such a setting, the asymmetric encryption technology of the blockchain can be used to sign the behavior and data of all users (including merchants and consumers) with the user's private key, and the signed data can be decrypted with the corresponding public key, proving the ownership of the data while also tracing the user's various operations.

[0031] 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 control method for a quality control system based on blockchain, characterized in that: The control method comprises: Obtain product information entered by the seller; Generate a commodity smart contract corresponding to the commodity information and synchronize it to the blockchain; Based on the rules of the commodity smart contract, the purchase information and / or evaluation information input by the purchaser is obtained and synchronized to the blockchain; Rating the quality of the product based on the purchase information and / or evaluation information; The step of "obtaining purchase information and / or evaluation information input by the purchaser" specifically includes: Obtaining a transaction request from the purchaser to input the purchase information and / or evaluation information; authenticating the transaction request for the purchase information and / or evaluation information using the purchaser's public key; The purchase information and / or evaluation information input by the purchaser is obtained only after identity verification is passed; Wherein, the transaction request for purchase information and / or evaluation information is a transaction request signed by the private key of the purchaser; The commodity smart contract is bound to the seller’s information, describes the commodity’s attributes and status, and has contract rules and defines functions of all circulation links; After the step of "rating the quality of the product according to the purchase information and / or evaluation information", the control method further includes: Conducting credit assessment on the seller based on the product quality rating results; The credit assessment of the seller according to the product quality rating result includes: Conduct a comprehensive assessment of all the goods of the seller, and assess the credit of the seller based on the comprehensive assessment results of all the goods.

2. The control method according to claim 1, characterized in that: Before the step of "obtaining product information input by the seller", the control method further includes: Get the registration information entered by the seller; Generate a seller's blockchain account according to the registration information input by the seller and synchronize it to the blockchain; Generate the seller's private key and the seller's public key; Sending the seller's private key, the seller's public key and the address of the blockchain to the seller; Among them, the private key of the seller corresponds one-to-one to the public key of the seller.

3. The control method according to claim 1, characterized in that: Before the step of "obtaining the purchase information and / or evaluation information input by the purchaser based on the rules of the commodity smart contract and synchronizing it to the blockchain", the control method further includes: Obtain the registration information entered by the purchaser; Generate a blockchain account of the purchaser according to the registration information input by the purchaser and synchronize it to the blockchain; Generate the purchaser's private key and the purchaser's public key; Sending the purchaser's private key, the purchaser's public key and the address of the blockchain to the purchaser; Among them, the private key of the purchaser corresponds one-to-one to the public key of the purchaser.

4. The control method according to claim 2, characterized in that: The steps of "obtaining product information input by the seller" specifically include: Obtaining a transaction request from the seller to input the product information; Using the seller's public key to authenticate the transaction request for the commodity information; The product information input by the seller is obtained only after the identity verification is passed; The transaction request for the commodity information is a transaction request signed by the seller's private key.

5. The control method according to claim 2, characterized in that: The step of "generating the seller's blockchain account according to the registration information input by the seller and synchronizing it to the blockchain" specifically includes: Reviewing the registration information input by the seller; The seller’s blockchain account will be generated and synchronized to the blockchain only after the review is passed.

6. The control method according to claim 3, characterized in that: The step of "generating the blockchain account of the purchaser according to the registration information input by the purchaser and synchronizing it to the blockchain" includes: Reviewing the registration information entered by the purchaser; The purchaser’s blockchain account is generated and synchronized to the blockchain only after the review is passed.

7. A quality control system based on blockchain, characterized in that: The quality control system includes: A seller acquisition module, which can acquire the product information input by the seller; A buyer acquisition module, which can acquire purchase information and / or evaluation information input by the buyer; A control module capable of generating a commodity smart contract corresponding to the commodity information, synchronizing the commodity smart contract to the blockchain, and synchronizing the purchase information and / or evaluation information to the blockchain; A quality evaluation module, which can rate the quality of the product based on the purchase information and / or evaluation information; The buyer acquisition module is specifically used for: Obtaining a transaction request from the purchaser to input the purchase information and / or evaluation information; authenticating the transaction request for the purchase information and / or evaluation information using the purchaser's public key; The purchase information and / or evaluation information input by the purchaser is obtained only after identity verification is passed; Wherein, the transaction request for purchase information and / or evaluation information is a transaction request signed by the private key of the purchaser; The commodity smart contract is bound to the seller’s information, describes the commodity’s attributes and status, and has contract rules and defines functions of all circulation links; A credit rating module, which can perform credit rating on the seller according to the product quality rating result; The credit assessment module is specifically used to conduct a comprehensive assessment of all commodities of the seller, and to assess the credit of the seller according to the comprehensive assessment result of all commodities.