Visual display system and method of traceability products based on blockchain

Through the blockchain-based traceability product visual display system, the problem that consumers cannot observe the production environment of agricultural products is solved, and the credible display of traceability information is realized, which enhances the market's confidence in high-value-added agricultural products.

CN114819991BActive Publication Date: 2025-01-10SHANGHAI ZHENG YUAN COMPUTER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210439134.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-22
Publication Date
2025-01-10
Estimated Expiration
2042-04-22

AI Technical Summary

Technical Problem

Consumers cannot directly observe the production environment process of agricultural products, which makes it difficult to ensure the authenticity and credible display of information, which in turn affects the market's confidence in high-value-added agricultural products and economic development.

Method used

Adopt a blockchain-based traceability product visual display system, through indexing, query request reception module, query module and image generation module, use smart contracts to score production environment information data, and use product ratings, component chain address and The generated images are stored as NFTs to realize trusted traceability information display.

Benefits of technology

It has realized the credible and visual display of the agricultural product production environment process, enhanced the authenticity and credibility of traceability information, and increased consumers' confidence in green and organic agricultural products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114819991B_ABST
    Figure CN114819991B_ABST
Patent Text Reader

Abstract

The present invention discloses a visual display system and method for traceability products based on blockchain, wherein the system comprises: an index establishment module, which is used to establish an index and upload it to the chain, wherein the index uses K as the primary key and A, G, P and E as the value; wherein K is a unique identifier, G is a set of production environment information data of the product, E is a product score obtained according to G, P is a set of chain addresses of multiple components corresponding to G, A is an image X generated by multiple corresponding components obtained according to P, and X is saved as an on-chain address of NFT storage; a query request receiving module, which is used to receive a query request from a client, wherein the query request contains a primary key K; a query module, which is used to obtain A, G, P, E and X through the chain according to the primary key K contained in the query request, and send the A, G, P, E and X to the client. The present invention realizes a reliable and visual display of product traceability information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a blockchain-based traceability product visualization display system and method. Background Art

[0002] As people's living standards continue to improve, the concept of pursuing a healthier and greener diet has gradually gained popularity. Modern agriculture has gradually changed from the rough model of the past to a refined agricultural model. Foods labeled with organic vegetables, pure grain-fed beef, mutton and pork have become more popular. Since these labeled agricultural products are different from ordinary agricultural products in terms of production and breeding, their quality is also better. Consumers are very willing to pay for agricultural products that "match quality and price". However, as the terminal of the entire economic cycle, consumers cannot directly observe the entire production environment process of the purchased agricultural products. Some unscrupulous merchants often take advantage of this information blind spot to "pass inferior goods off as good ones" and "pass fake goods off as real ones" to make high profits. Counterfeiting methods are also emerging in an endless stream. "Fake labels" and "real labels and fake goods" have caused consumers to be skeptical of agricultural products such as "green", "organic" and "pure grain-fed", which has greatly hit the market's confidence in high-value-added agricultural products and destroyed the market order and the high-quality cycle of economic development.

[0003] Therefore, agricultural product information traceability plays an extremely important role in the development of modern agriculture. How to ensure the authenticity of traceability information and how to display traceability information credibly have become urgent issues to be resolved. Summary of the invention

[0004] The main purpose of the present invention is to provide a blockchain-based traceability product visualization display system and method to solve the problem of how to display traceability information in a credible manner.

[0005] According to one aspect of the present invention, a traceability product visualization display system based on blockchain is proposed, which includes:

[0006] An index establishment module is used to establish an index and upload it to the chain, wherein the index uses K as the primary key and A, G, P and E as values; wherein K is a unique identifier, G is a set of production environment information data for the product, E is a product rating obtained based on G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated by multiple components corresponding to P, and X is saved as an on-chain address of NFT storage; a query request receiving module is used to receive a query request from a client, wherein the query request contains the primary key K; a query module is used to obtain A, G, P, E and X through the chain according to the primary key K contained in the query request, and send A, G, P, E and X to the client.

[0007] The system further includes: an image generation module, which is used to send a request to the chain according to P to obtain corresponding multiple components, generate an image X according to the multiple components, and upload the image X to the chain.

[0008] Among them, the smart contract is provided with a rating logic for scoring the production environment information data set.

[0009] Among them, the on-chain address set P is the address set of multiple components in the component library stored on the chain.

[0010] According to another aspect of the present invention, a visual display method for traceability products based on blockchain is proposed, which includes: establishing an index and uploading it to the chain, wherein the index uses K as the primary key and A, G, P and E as values; wherein K is a unique identifier, G is a set of production environment information data of the product, E is a product score obtained according to G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated by the corresponding multiple components obtained according to P, and X is saved as an on-chain address of NFT storage; receiving a query request from a client, wherein the query request contains the primary key K; obtaining A, G, P, E and X through the chain according to the primary key K contained in the query request, and sending A, G, P, E and X to the client.

[0011] The method further includes: sending a request to the chain according to P to obtain a corresponding plurality of components, generating an image X according to the plurality of components, and uploading the image X to the chain.

[0012] Among them, the smart contract is provided with a rating logic for scoring the production environment information data set.

[0013] Among them, the on-chain address set P is the address set of multiple components in the component library stored on the chain.

[0014] According to the technical solution of the present invention, by indexing and chaining the product's production environment information data, product ratings, component on-chain address sets, and the on-chain addresses of the NFT storage of generated images with unique primary keys, a reliable and visual display of the product's entire production environment process and other traceability information is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0016] Figure 1 It is a structural block diagram of a traceability product visualization display system based on blockchain according to an embodiment of the present invention;

[0017] Figure 2 is a schematic diagram of a display page of traceability information displayed by a client according to an embodiment of the present invention;

[0018] Figure 3 It is a flowchart of a blockchain-based traceability product visualization method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0020] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0021] According to an embodiment of the present invention, a traceability product visualization display system based on blockchain is provided, which is applicable to the fields of breeding, animal husbandry, agriculture and animal husbandry. Figure 1 , the system at least comprises:

[0022] An index building module 10 is used to build an index and upload it to the chain, wherein the index uses K as the primary key and A, G, P and E as values; wherein K is a unique identifier, G is a set of production environment information data of the product, E is a product rating obtained according to G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated by multiple corresponding components obtained according to P, and X is saved as an on-chain address stored in an NFT (Non-Fungible Token) storage chain;

[0023] A query request receiving module 20, configured to receive a query request from a client, wherein the query request includes a primary key K;

[0024] The query module 30 is used to obtain A, G, P, E and X through the chain according to the primary key K contained in the query request, and send A, G, P, E and X to the client.

[0025] During the production process, the farm will collect the production environment information data required for traceability, upload the traceability product production environment information to the traceability chain through the information collection registration node, and bind it to the unique primary key K. In this step, the farm can keep up with the production process and store the generated data one by one on the chain, or store them all on the chain after production is completed. In this step, there may be a situation where the time-consuming logistics and transportation is also a traceability feature. In this case, the subsequent process will also be executed after the data is complete.

[0026] After receiving the data storage request and completing the storage, the primary key K of the traceability chain will check whether the data collection is completed. If completed, the event notification service will be triggered to send the primary key K and the production environment information data set G to the system's event listening service. After receiving the message, the system's listening service will call the corresponding smart contract with G as a parameter to obtain the product rating E and the component address set P found from the component library. It should be noted that smart contracts, also known as chaincodes or application codes, are programs deployed in the nodes of the blockchain network. The nodes execute the smart contracts called in the received transactions to update or query the key-value pairs of the state database. The smart contract mainly includes the rating logic for scoring the production environment information data set, and the association logic of the relationship between the characteristic information and the components.

[0027] After the system obtains the component address returned by the smart contract, it sends a request to the component chain and obtains the component. Then it calls the image generation function to combine the components into a complete image X. After the image generation is completed, it sends a request to the NFT storage chain, saves the generated image as an NFT, and returns the on-chain address A stored on the NFT storage chain.

[0028] After the system receives the on-chain address A returned by the NFT storage chain, it executes the index transaction and stores it on the component chain, where the index transaction uses K as the primary key and A, G, P, and E as values.

[0029] The user downloads and installs the smartphone traceability terminal (APP) or WeChat mini program, scans the QR code, and the APP or mini program sends a query request to the system, where the request parameters include the primary key K contained in the QR code.

[0030] After receiving the transaction request, the system initiates a query request to the component chain with K as the parameter, obtains A, G, P and E, and then obtains X stored on the NFT storage chain based on A. Among them, the product introduction is obtained through G, the rarity value is obtained through E, and the data corresponding to P is saved in the database for the next step. The obtained data is returned and displayed to the user as the scan code homepage. Figure 2 When a user clicks on a component, the system receives the request, finds the corresponding component image based on P, and then, based on the trait component association logic, reverses the corresponding trait in G and its value and trait rating, returns the obtained data, and displays it to the user as a component information page.

[0031] The traceability chain, component chain and NFT storage chain mentioned above are all blockchains. This application adopts different naming methods according to their different functions. The type of blockchain can be private blockchain or consortium blockchain.

[0032] Figure 3 is a flowchart of a visual display method for traceability products based on blockchain according to an embodiment of the present invention. Figure 3 As shown, the method comprises the following steps:

[0033] S302, create an index and upload it to the chain, where the index uses K as the primary key and A, G, P and E as the values; K is a unique identifier, G is a data set of the product's production environment information, E is a product rating obtained based on G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated by multiple components obtained based on P, and X is saved as an on-chain address for NFT storage;

[0034] S304, receiving a query request from a client, wherein the query request includes a primary key K;

[0035] S306, obtaining A, G, P, E and X through the chain according to the primary key K included in the query request, and sending A, G, P, E and X to the client.

[0036] The method further includes: sending a request to the chain according to P to obtain a corresponding plurality of components, generating an image X according to the plurality of components, and uploading the image X to the chain.

[0037] Among them, the smart contract is provided with a rating logic for scoring the production environment information data set.

[0038] Among them, the on-chain address set P is the address set of multiple components in the component library stored on the chain.

[0039] The operation steps of the method of the present invention correspond to the structural features of the system, and can be referenced to each other, and will not be described in detail again.

[0040] Although the present disclosure has been described in detail with reference to specific embodiments of the present disclosure, it will be understood by those skilled in the art that various changes and modifications may be made therein without departing from the spirit and scope of the embodiments. Therefore, the present disclosure is intended to cover modifications and variations of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present disclosure and their equivalents.

[0041] In addition, the features disclosed in the above description or claims or drawings, in their specific form or according to the mode for performing the disclosed functions or the method or process for obtaining the disclosed results, can be used to implement the present invention in their different forms alone or in any combination of these features. Specifically, one or more features of any one embodiment described herein can be combined with one or more features of any other embodiment described herein.

[0042] Protection may also be sought for any features disclosed in any one or more of the publications cited in conjunction with the present disclosure and / or incorporated by reference.

Claims

1. A visual display system for traceability products based on blockchain, characterized in that: include: The index establishment module is used to establish an index and upload it to the chain, where the index uses K as the primary key and A, G, P and E as the values; K is a unique identifier, G is a set of production environment information data for the product, E is a product rating obtained based on G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated by multiple components corresponding to P, and image X is saved as an on-chain address for NFT storage; the primary key K of the traceability chain receives a data storage request, triggering the event notification service to send the primary key K and the production environment information data set G to the system's event listening service. After receiving the message, the system's listening service calls the corresponding smart contract with G as a parameter to obtain the product rating E and the component address set P found from the component library; An image generation module, used to send a request to the chain according to P to obtain the corresponding multiple components, generate an image X according to the multiple components, and upload the image X to the chain; A query request receiving module, used to receive a query request from a client, wherein the query request contains a primary key K; The query module is used to obtain A, G, P, E and image X through the chain according to the primary key K contained in the query request, and send A, G, P, E and image X to the client.

2. The system according to claim 1, characterized in that The smart contract is provided with a rating logic for scoring the production environment information data set.

3. The system according to claim 1, characterized in that The on-chain address set P is a set of addresses of multiple components in the component library stored on the chain.

4. A visual display method for traceability products based on blockchain, characterized in that: include: Create an index and upload it to the chain, where the index uses K as the primary key and A, G, P, and E as the values; Where K is a unique identifier, G is a data set of the production environment information of the product, E is a product rating obtained based on G, P is a set of on-chain addresses of multiple components corresponding to G, A is an image X generated based on the corresponding multiple components obtained from P, and image X is saved as an on-chain address of NFT storage; the primary key K of the traceability chain receives a data storage request, triggers the event notification service to send the primary key K and the production environment information data set G to the system's event listening service, and after receiving the message, the system's listening service calls the corresponding smart contract with G as a parameter to obtain the product rating E and the component address set P found from the component library; sends a request to the chain based on P to obtain the corresponding multiple components, generates an image X based on the multiple components, and uploads the image X to the chain; Receiving a query request from a client, wherein the query request includes a primary key K; A, G, P, E and image X are obtained through the chain according to the primary key K included in the query request, and A, G, P, E and image X are sent to the client.

5. The method according to claim 4, characterized in that The smart contract is provided with a rating logic for scoring the production environment information data set.

6. The method according to claim 4, characterized in that The on-chain address set P is a set of addresses of multiple components in the component library stored on the chain.

Citation Information

Patent Citations

  • Aquatic product block chain traceability optimization system and method

    CN113506117A

  • Power core data traceability system based on block chain

    CN114078061A