Product traceability system based on block chain
Through blockchain technology, product data can be collected and analyzed, accurate traceability of dealer sales behavior is achieved, and the problems of inefficient and inability to lock out abnormal sales behavior in the existing technology are solved, and the accuracy and efficiency of the traceability system are improved.
Patent Information
- Application Number
- CN202410948890.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology cannot effectively record the sales behavior of dealers, resulting in the inability to accurately lock in the abnormal sales behavior of dealers when tracing the product. It relies on manual market research and sales data analysis, which is inefficient and cannot accurately judge the sales point of intercepting goods.
Design a blockchain-based product traceability system, including data collection module, traceability management module and report feedback module, collect production data, supply chain transportation data and dealer information, analyze inventory and sales data, and judge intercept sales or Counterfeit and shoddy products, and traceability and feedback are carried out through the user side.
It improves the accuracy and efficiency of traceability, can quickly lock in illegal dealers, avoid counterfeit and inferior products entering the market, save manpower and time, and ensure brand credibility.
Smart Images

Figure CN118917859A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of product traceability, and in particular to a product traceability system based on blockchain. Background Art
[0002] In recent years, with the continuous improvement of people's consumption level, the demand for cosmetics has increased, resulting in some unscrupulous vendors using counterfeit and shoddy products to sell as genuine products, causing consumers' trust in the products to decline and seriously damaging the interests of manufacturers.
[0003] At present, in order to protect consumers' legitimate rights and interests and consumers' trust in brands, cosmetics manufacturers mostly use traditional anti-counterfeiting labels, QR codes, production codes and other information to verify the authenticity of products, trace products, and sell products through authorized dealers. However, the existing technology mainly relies on manufacturers to enter the production information of products into the system, which can easily lead to product information tampering, repeated use of traceability codes, and the use of copied traceability codes to package counterfeit and inferior products as genuine products. The existing technology cannot effectively record the sales behavior of dealers, resulting in the inability to accurately lock the abnormal sales behavior of dealers during product traceability. Moreover, since the existing technology mainly determines whether a product has been misappropriated through manual market research, sales data analysis and other means, it not only wastes a lot of manpower and time, but also cannot accurately determine the sales point where misappropriated goods have occurred, resulting in low product traceability efficiency. Therefore, it is very necessary to design a blockchain-based product traceability system that improves accuracy, traceability efficiency and practicality. Summary of the invention
[0004] The purpose of the present invention is to provide a product traceability system based on blockchain to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a product traceability system based on blockchain, comprising a data collection module, a traceability management module and a reporting feedback module, wherein the data collection module is used to collect product production data and supply chain transportation data, enter the comprehensive information of the distributor into the system, and collect the visual image of the product, the traceability management module is used to monitor the product production process, supply chain transportation process and distributor sales process, enter the product production data, supply chain transportation data and distributor comprehensive information into the traceability code, analyze the distributor inventory and distributor sales data, and determine whether the distributor has engaged in cross-selling or selling counterfeit and shoddy products according to the analysis results, the reporting feedback module is used to trace each link of the product through the user end and feedback the tracing results, and the data collection module, the traceability management module and the reporting feedback module are interconnected in a network;
[0006] The traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is connected to the product traceability module through a network;
[0007] The product monitoring module further includes a product registration submodule, a supply chain management submodule and a sales monitoring submodule. The product registration submodule is used to construct a traceability code for the product and enter the product production data into the traceability code. The supply chain management submodule is used to enter the supply chain transportation data of the product at each link in the supply chain transportation process into the traceability code. The sales monitoring submodule is used to analyze the visual images of the goods sold by the dealer, determine the authenticity of the goods based on the analysis results, and record the distribution data of the dealer.
[0008] The product traceability module further includes an inventory detection submodule and a channel-channel cross-selling detection submodule. The inventory detection submodule is used to analyze the product inventory data of the distributor, and determine whether the distributor has abnormal sales behavior based on the analysis results, including abnormal stockpiling and sales through informal channels. The channel-channel cross-selling detection submodule is used to analyze the traceability code information of the products sold by the distributor, and determine whether the distributor has channel-channel cross-selling behavior based on the analysis results, and trace the source of the channel-channel cross-selling.
[0009] According to the above technical solution, the data collection module includes a data collection module, a dealer comprehensive information entry module and a sensor module. The data collection module is used to collect product production data and supply chain transportation data, the dealer comprehensive information entry module is used to enter the dealer's comprehensive information into the system, and the sensor module is used to collect visual images of products.
[0010] According to the above technical solution, the traceability management module includes a product monitoring module and a product traceability module. The product monitoring module is used to generate a traceability code, record the product's production data and supply chain transportation data in the traceability code, detect the authenticity of the products sold by the distributor, and record the distributor's distribution data.
[0011] According to the above technical solution, the traceability management module also includes a product traceability module, which is used to detect the dealer's inventory, analyze the dealer's product warehousing data and sales data, determine whether the dealer has abnormal sales behavior based on the analysis results, analyze the sales area information of the dealer's products, and trace the source of the goods based on the analysis results.
[0012] According to the above technical solution, the reporting feedback module includes a user tracing module and a feedback module. The user tracing module is used for users to query product traceability information and process user traceability requests. The feedback module is used for users to report abnormalities in product information traceability.
[0013] According to the above technical solution, the operation method of the product traceability system mainly includes the following steps:
[0014] Step S1: The production data and supply chain transportation data of the product are collected through the data collection module, the comprehensive information of the dealer is entered into the system through the dealer comprehensive information entry module, and the visual image of the product is collected through the sensor module. The information and data are stored in the blockchain;
[0015] Step S2: After data collection is completed, the system starts the product monitoring module, records the product production data and supply chain transportation data, analyzes the product information sold by the dealer, determines the authenticity of the product based on the analysis results, and records the dealer's distribution data;
[0016] Step S3: During the product sales process, the system starts the product traceability module and begins to analyze the dealer's commodity inventory and product sales data. Based on the analysis results, it is determined whether the dealer has abnormal sales behavior and the abnormal sales behavior is traced.
[0017] Step S4: After the user purchases the product, the comprehensive information of the product is queried through the user tracing module, and abnormal information of the product is fed back.
[0018] According to the above technical solution, step S2 further includes the following steps:
[0019] Step S21: Obtain the production data of the product, identify the product code, the system generates a unique special code according to the product code, retrieves the corresponding product production data in the database according to the product code, and enters the product production data into the special traceability code;
[0020] Step S22: Acquire supply chain transportation data, retrieve supply chain orders, identify supply product batch codes, retrieve the corresponding dedicated traceability code in the database according to the batch code, identify the target distributor information of the supply chain, and enter the sales record of the target distributor into the dedicated traceability code;
[0021] Step S23: When the dealer sells the target product, obtain the visual image of the product for sale, identify the characteristic nodes of the target product, and compare them with the database. When the similarity of the characteristic nodes of the target product is greater than the threshold, identify the dedicated traceability code of the target product, and use a dedicated reading device to read the information in the dedicated traceability code. If the information can be read, mark the target product as the first product, otherwise mark the target product as the second product. When the similarity of the characteristic nodes of the target product is less than the threshold, the system continues to detect.
[0022] According to the above technical solution, step S23 further includes the following steps:
[0023] Step S231: obtaining the first product and dealer information, identifying the traceability code of the first product, entering the dealer information into the traceability code of the first product, obtaining the second product, identifying the traceability code of the second product, and comparing the traceability code of the second product with the corresponding dedicated traceability code in the database. If the similarity is greater than a threshold, the traceability code is entered into the system and marked as a counterfeit code. Otherwise, the traceability code is entered into the system and marked as a scratched code.
[0024] Step S232: When the first distributor identifies that the target product traceability code is a counterfeit code, the order code of the target product is identified, the first distributor information is retrieved, and the product order record between the first distributor and the second distributor upstream in the supply chain is retrieved according to the first distributor information. According to the first distributor information, the corresponding decryption key in the database is retrieved, and the order record is decrypted using the decryption key, and the order codes of all products in the order are identified. The order code of the target product is compared. If the order codes are the same, the second distributor is marked as a violating distributor. Otherwise, the system continues to detect the product order record between the second distributor and the third distributor.
[0025] Step S233: Obtain the traceability code information read by the dealer, identify the user ID and dealer sales information in the traceability code, if there is a user ID, mark the product as a counterfeit and prohibit sales, and send a product recall notification to the user based on the user ID. If there is dealer sales information, mark the product as a counterfeit and mark the dealer as an illegal dealer.
[0026] According to the above technical solution, step S3 further includes the following steps:
[0027] Step S31: When the dealer identifies that the product's traceability code is a scratch code, the dealer identifies the product's incoming and outgoing data, calculates the difference between the incoming quantity and the outgoing quantity, constructs an inventory change curve based on the difference, identifies the inventory curve change characteristics, and if the inventory change curve is an upward characteristic, marks the dealer as a suspected dealer, otherwise the system continues to detect;
[0028] Step S32: Obtain the inventory data and sales data of the suspected dealer, identify the product entry time and exit time, calculate the difference between the entry time and the exit time, and when the difference is greater than the threshold, mark the dealer as a violating dealer; when the difference is less than the threshold, identify the inventory quantity; if the inventory quantity is greater than the maximum threshold, mark the dealer as a violating dealer; otherwise, the system continues to detect;
[0029] Step S33: When a dealer sells a product, the dealer location is obtained, the information in the traceability code is read, the sales area of the product is identified, and a search is performed within the sales area of the product based on the dealer location. If the dealer location information exists within the sales area of the product, the system continues to check, otherwise the system marks the dealer as engaging in cross-selling, reads the product traceability code, identifies the sales mark of each dealer, retrieves the dealer's location based on the sales mark of each dealer, retrieves the dealer mark that meets the range based on the sales range of the product, identifies the timestamp of the dealer mark, sorts the dealer's position in descending order based on the timestamp, anchors the first-rank dealer mark, retrieves the corresponding dealer based on the dealer mark, and marks the dealer as an illegal dealer.
[0030] According to the above technical solution, step S4 further includes the following steps:
[0031] Step S41: When the user scans the dedicated traceability code, the user's ID is obtained, the user's ID is entered into the system, and is bound to the dedicated traceability code;
[0032] Step S42: When the user scans the dedicated traceability code, the information in the dedicated traceability code is read. When the code is a counterfeit code, the purchase record of the user in the system is identified. If there is a purchase record, the system continues to detect. Otherwise, the user is guided to upload the offline purchase record into the system through the feedback module, retrieve the record of the user purchasing the product, guide the user to authorize the decryption key, use the decryption key to decrypt the purchase record, identify the dealer in the purchase record, and mark the dealer as an illegal dealer. When the dedicated traceability code is read, the dealer mark in the dedicated traceability code is identified. If the dealer sales mark does not exist in the dedicated traceability code, the product is marked as a counterfeit product, all dealer marks in the traceability code of the product are identified, the timestamp of the dealer mark is identified, the dealer with the latest time is locked, and marked as an illegal dealer. When an illegal dealer is identified, the system issues an alarm to notify the manufacturer administrator to review, and feeds back the traceability result to the user end through the feedback module.
[0033] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention can monitor the authenticity of the products sold by the dealers by identifying whether the products being sold are the target products when the dealers sell them, and further attempt to read the data in the dedicated traceability code, thereby preventing the dealers from selling counterfeit and shoddy products, and thus ensuring the brand credibility of the products; by identifying the traceability code of the products sold by the dealers, it can prevent the dealers from selling shoddy products, and by conducting layer-by-layer reviews based on the product circulation order records between dealers, it can quickly and accurately lock in the illegal dealers, greatly improving the accuracy of system traceability; by detecting whether there is a user ID and dealer sales information in the traceability code, it can prevent the dealers from copying the traceability code, selling the shoddy products through regular channels, and selling the genuine products through illegal channels, thereby quickly discovering the dealers. Abnormal sales behavior can prevent a large number of counterfeit and inferior products from entering the market, greatly improving the efficiency of the system. By analyzing the changes in the dealer's product inventory, it can accurately determine whether the dealer has abnormal behavior intentions, thereby avoiding the occurrence of dealer inventory, greatly improving the accuracy and practicality of the system. By identifying the dealer's location information in the traceability code and locking the dealer corresponding to the last sales behavior that meets the sales scope, it can accurately and quickly lock the dealer with illegal behavior, thereby greatly improving the accuracy and efficiency of the system. When the traceability code cannot be read on the user side, the user's purchase record is retrieved to identify the dealer, and the product circulation orders between dealers are reviewed layer by layer, so that the dealer with illegal behavior can be accurately locked, saving a lot of manpower and time. The memory cloth improves the accuracy and efficiency of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0035] Figure 1 It is a schematic diagram of the system module composition of the present invention. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.
[0037] See also Figure 1The present invention provides a technical solution: a product traceability system based on blockchain, including a data collection module, a traceability management module and a reporting feedback module, characterized in that: the data collection module is used to collect product production data and supply chain transportation data, enter the comprehensive information of the dealer into the system, and collect the visual image of the product; the traceability management module is used to monitor the production process of the product, the supply chain transportation process and the sales process of the dealer, enter the product production data, the supply chain transportation data and the comprehensive information of the dealer into the traceability code, analyze the dealer inventory and the dealer sales data, and judge whether the dealer has cross-selling or selling counterfeit and shoddy products according to the analysis results; the reporting feedback module is used to trace each link of the product through the user end and feedback the traceability results; the data collection module, the traceability management module and the reporting feedback module are interconnected;
[0038] The traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is connected to the product traceability module through a network;
[0039] The alleged product monitoring module further includes a product registration submodule, a supply chain management submodule, and a sales monitoring submodule. The product registration submodule is used to construct a traceability code for the product and enter the product production data into the traceability code. The supply chain management submodule is used to enter the supply chain transportation data of the product at each link in the supply chain transportation process into the traceability code. The sales monitoring submodule is used to analyze the visual images of the goods sold by the dealer, determine the authenticity of the goods based on the analysis results, and record the dealer's distribution data.
[0040] The product traceability module further includes an inventory detection submodule and a channel-channel detection submodule. The inventory detection submodule is used to analyze the product inventory data of the distributor, and determine whether the distributor has abnormal sales behavior based on the analysis results, including abnormal hoarding and sales through informal channels. The channel-channel detection submodule is used to analyze the traceability code information of the products sold by the distributor, and determine whether the distributor has channel-channel behavior based on the analysis results, and trace the source of the channel-channel.
[0041] The data collection module includes a data acquisition module, a dealer comprehensive information entry module and a sensor module. The data acquisition module is used to collect product production data and supply chain transportation data. The dealer comprehensive information entry module is used to enter the dealer's comprehensive information into the system. The sensor module is used to collect visual images of products.
[0042] The traceability management module includes a product monitoring module and a product traceability module. The product monitoring module is used to generate a traceability code, record the product's production data and supply chain transportation data in the traceability code, detect the authenticity of the products sold by the dealer, and record the dealer's distribution data.
[0043] The traceability management module also includes a product traceability module, which is used to detect the dealer's inventory, analyze the dealer's product warehousing data and sales data, determine whether the dealer has abnormal sales behavior based on the analysis results, analyze the sales area information of the dealer's products, and trace the source of the goods based on the analysis results.
[0044] The reporting and feedback module includes a user tracing module and a feedback module. The user tracing module is used for users to query product traceability information and process user traceability requests. The feedback module is used for users to report abnormalities in product information traceability.
[0045] The operation method of the product traceability system mainly includes the following steps:
[0046] Step S1: The production data and supply chain transportation data of the product are collected through the data collection module, the comprehensive information of the dealer is entered into the system through the dealer comprehensive information entry module, and the visual image of the product is collected through the sensor module. The information and data are stored in the blockchain;
[0047] Step S2: After data collection is completed, the system starts the product monitoring module, records the product production data and supply chain transportation data, analyzes the product information sold by the dealer, determines the authenticity of the product based on the analysis results, and records the dealer's distribution data;
[0048] Step S3: During the product sales process, the system starts the product traceability module and begins to analyze the dealer's commodity inventory and product sales data. Based on the analysis results, it is determined whether the dealer has abnormal sales behavior and the abnormal sales behavior is traced.
[0049] Step S4: After the user purchases the product, the comprehensive information of the product is queried through the user tracing module, and abnormal information of the product is fed back.
[0050] Step S2 further comprises the following steps:
[0051] Step S21: Obtain the production data of the product, identify the product code, the system generates a unique special code according to the product code, retrieves the corresponding product production data in the database according to the product code, and enters the product production data into the special traceability code;
[0052] Step S22: Acquire supply chain transportation data, retrieve supply chain orders, identify supply product batch codes, retrieve the corresponding dedicated traceability code in the database according to the batch code, identify the target distributor information of the supply chain, and enter the sales record of the target distributor into the dedicated traceability code;
[0053] Step S23: When the dealer sells the target product, a visual image of the product for sale is obtained, the feature nodes of the target product are identified, and the database is compared. When the similarity of the feature nodes of the target product is greater than a threshold, the dedicated traceability code of the target product is identified, and the information in the dedicated traceability code is read using a dedicated reading device. If the information can be read, the target product is marked as the first product, otherwise the target product is marked as the second product. When the similarity of the feature nodes of the target product is less than the threshold, the system continues to detect. By identifying whether the product being sold is the target product when the dealer sells it, and further attempting to read the data in the dedicated traceability code, the authenticity of the products sold by the dealer can be monitored to prevent the dealer from selling counterfeit and shoddy products, thereby ensuring the brand credibility of the product.
[0054] Step S23 further includes the following steps:
[0055] Step S231: obtaining the first product and dealer information, identifying the traceability code of the first product, entering the dealer information into the traceability code of the first product, obtaining the second product, identifying the traceability code of the second product, and comparing the traceability code of the second product with the corresponding dedicated traceability code in the database. If the similarity is greater than a threshold, the traceability code is entered into the system and marked as a counterfeit code. Otherwise, the traceability code is entered into the system and marked as a scratched code.
[0056] Step S232: When the first distributor identifies that the target product traceability code is a counterfeit code, the order code of the target product is identified, the first distributor information is retrieved, and the product order record between the first distributor and the second distributor upstream of the supply chain is retrieved according to the first distributor information. According to the first distributor information, the corresponding decryption key in the database is retrieved, and the order record is decrypted using the decryption key, and the order code of all products in the order is identified. The order code of the target product is compared. If the order codes are the same, the second distributor is marked as a violating distributor. Otherwise, the system continues to detect the product order record between the second distributor and the third distributor. By identifying the traceability code of the product sold by the distributor, the distributor can be prevented from selling counterfeit products. In addition, according to the product circulation order records between the distributors, layer-by-layer review is performed, and the violating distributor can be quickly and accurately locked, which greatly improves the accuracy of system traceability.
[0057] Step S233: Obtain the traceability code information read by the dealer, identify the user ID and dealer sales information in the traceability code, if the user ID exists, mark the product as a counterfeit and prohibit selling, and send a product recall notification to the user based on the user ID. If the dealer sales information exists, mark the product as a counterfeit and mark the dealer as an illegal dealer. By detecting whether the user ID and dealer sales information exist in the traceability code, it can prevent dealers from copying the traceability code, selling counterfeit products through regular channels, and selling genuine products through illegal channels, so as to quickly discover the abnormal sales behavior of dealers, avoid a large number of counterfeit products from entering the market, and greatly improve the efficiency of the system.
[0058] Step S3 further includes the following steps:
[0059] Step S31: When the dealer identifies that the product's traceability code is a scratch code, the dealer identifies the product's incoming and outgoing data, calculates the difference between the incoming quantity and the outgoing quantity, constructs an inventory change curve based on the difference, identifies the inventory curve change characteristics, and if the inventory change curve is an upward characteristic, marks the dealer as a suspected dealer, otherwise the system continues to detect;
[0060] Step S32: Obtain the inventory data and sales data of the suspected dealer, identify the product entry time and exit time, calculate the difference between the entry time and the exit time, and when the difference is greater than the threshold, mark the dealer as an illegal dealer. When the difference is less than the threshold, identify the inventory quantity. If the inventory quantity is greater than the maximum threshold, it means that the dealer has hoarding behavior and the intention of cross-selling, and the dealer is marked as an illegal dealer. Otherwise, the system continues to detect. By analyzing the changes in the dealer's product inventory, it can accurately determine whether the dealer has abnormal behavior intentions, thereby avoiding the occurrence of dealer inventory, greatly improving the accuracy and practicality of the system;
[0061] Step S33: When the dealer sells the product, the dealer location is obtained, the information in the traceability code is read, the sales area of the product is identified, and a search is performed within the sales area of the product based on the dealer location. If the dealer location information exists within the sales area of the product, the system continues to check, otherwise it means that the dealer has engaged in channel trading sales, and the system marks the dealer as having engaged in channel trading sales, reads the product traceability code, identifies the sales mark of each dealer, retrieves the dealer's location based on the sales mark of each dealer, retrieves the dealer mark that meets the range based on the sales range of the product, identifies the timestamp of the dealer mark, sorts the dealer's position in descending order based on the timestamp, anchors the first-rank dealer mark, retrieves the corresponding dealer based on the dealer mark, and marks the dealer as an illegal dealer. By identifying the dealer location information in the traceability code, the dealer corresponding to the last sales behavior that meets the sales range is locked, and the dealer with illegal behavior can be accurately and quickly locked, thereby greatly improving the accuracy and efficiency of the system.
[0062] Step S4 further comprises the following steps:
[0063] Step S41: When the user scans the dedicated traceability code, the user's ID is obtained, the user's ID is entered into the system, and is bound to the dedicated traceability code;
[0064] Step S42: When the user scans the dedicated traceability code, the information in the dedicated traceability code is read. When the code is a counterfeit code, the purchase record of the user in the system is identified. If there is a purchase record, the system continues to detect. Otherwise, the user is guided to upload the offline purchase record into the system through the feedback module, retrieve the record of the user purchasing the product, guide the user to authorize the decryption key, use the decryption key to decrypt the purchase record, identify the dealer in the purchase record, and mark the dealer as an illegal dealer. When the dedicated traceability code is read, the dealer mark in the dedicated traceability code is identified. If the dealer sales mark does not exist in the dedicated traceability code, , then the product is marked as counterfeit, all dealer marks in the product traceability code are identified, the timestamp of the dealer mark is identified, the dealer with the latest time is locked, and marked as the illegal dealer. When the illegal dealer is identified, the system sends an alarm to notify the manufacturer administrator to review, and feeds back the traceability result to the user end through the feedback module. When the user end cannot read the traceability code, the user's purchase record is retrieved, the dealer is identified, and the product circulation orders between dealers are reviewed layer by layer, so that the dealer who has violated the rules can be accurately locked, saving a lot of manpower and time. The memory cloth improves the accuracy and efficiency of the system.
[0065] It should be noted that, in this article, the dedicated traceability code and the traceability code refer to the same thing, and relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0066] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A product traceability system based on blockchain, including a data collection module, a traceability management module and a reporting feedback module, characterized in that: The data collection module is used to collect product production data and supply chain transportation data, enter the comprehensive information of dealers into the system, and collect visual images of products. The traceability management module is used to monitor the production process of products, the supply chain transportation process and the sales process of dealers, enter the product production data, supply chain transportation data and comprehensive information of dealers into the traceability code, analyze the dealer inventory and dealer sales data, and determine whether the dealer has engaged in cross-selling or selling counterfeit and shoddy products based on the analysis results. The reporting feedback module is used to trace the various links of the product through the user end and feedback the tracing results. The data collection module, the traceability management module and the reporting feedback module are interconnected through a network; The traceability management module includes a product monitoring module and a product traceability module, and the product monitoring module is connected to the product traceability module through a network; The product monitoring module further includes a product registration submodule, a supply chain management submodule and a sales monitoring submodule. The product registration submodule is used to construct a traceability code for the product and enter the product production data into the traceability code. The supply chain management submodule is used to enter the supply chain transportation data of the product at each link in the supply chain transportation process into the traceability code. The sales monitoring submodule is used to analyze the visual images of the goods sold by the dealer, determine the authenticity of the goods based on the analysis results, and record the distribution data of the dealer. The product traceability module further includes an inventory detection submodule and a channel-channel cross-selling detection submodule. The inventory detection submodule is used to analyze the product inventory data of the distributor, and determine whether the distributor has abnormal sales behavior based on the analysis results, including abnormal stockpiling and sales through informal channels. The channel-channel cross-selling detection submodule is used to analyze the traceability code information of the products sold by the distributor, and determine whether the distributor has channel-channel cross-selling behavior based on the analysis results, and trace the source of the channel-channel cross-selling.
2. According to claim 1, a blockchain-based product traceability system is characterized by: The data collection module includes a data collection module, a dealer comprehensive information entry module and a sensor module. The data collection module is used to collect product production data and supply chain transportation data, the dealer comprehensive information entry module is used to enter the dealer's comprehensive information into the system, and the sensor module is used to collect visual images of products.
3. A blockchain-based product traceability system according to claim 2, characterized in that: The traceability management module includes a product monitoring module and a product traceability module. The product monitoring module is used to generate a traceability code, record the product's production data and supply chain transportation data in the traceability code, detect the authenticity of the products sold by the dealer, and record the dealer's distribution data.
4. A blockchain-based product traceability system according to claim 3, characterized in that: The traceability management module also includes a product traceability module, which is used to detect the dealer's inventory, analyze the dealer's product warehousing data and sales data, determine whether the dealer has abnormal sales behavior based on the analysis results, analyze the sales area information of the dealer's products, and trace the source of the products based on the analysis results.
5. A blockchain-based product traceability system according to claim 4, characterized in that: The reporting and feedback module includes a user tracing module and a feedback module. The user tracing module is used for users to query product traceability information and process user traceability requests. The feedback module is used for users to report abnormalities in product information traceability.
6. A blockchain-based product traceability system according to claim 5, characterized in that: The operation method of the product traceability system mainly includes the following steps: Step S1: The production data and supply chain transportation data of the product are collected through the data collection module, the comprehensive information of the dealer is entered into the system through the dealer comprehensive information entry module, and the visual image of the product is collected through the sensor module. The information and data are stored in the blockchain; Step S2: After data collection is completed, the system starts the product monitoring module, records the product production data and supply chain transportation data, analyzes the product information sold by the dealer, determines the authenticity of the product based on the analysis results, and records the dealer's distribution data; Step S3: During the product sales process, the system starts the product traceability module and begins to analyze the dealer's commodity inventory and product sales data. Based on the analysis results, it is determined whether the dealer has abnormal sales behavior and the abnormal sales behavior is traced. Step S4: After the user purchases the product, the comprehensive information of the product is queried through the user tracing module, and abnormal information of the product is fed back.
7. A blockchain-based product traceability system according to claim 6, characterized in that: The step S2 further comprises the following steps: Step S21: Obtain the production data of the product, identify the product code, the system generates a unique special code according to the product code, retrieves the corresponding product production data in the database according to the product code, and enters the product production data into the special traceability code; Step S22: Acquire supply chain transportation data, retrieve supply chain orders, identify supply product batch codes, retrieve the corresponding dedicated traceability code in the database according to the batch code, identify the target distributor information of the supply chain, and enter the sales record of the target distributor into the dedicated traceability code; Step S23: When the dealer sells the target product, obtain the visual image of the product for sale, identify the characteristic nodes of the target product, and compare them with the database. When the similarity of the characteristic nodes of the target product is greater than the threshold, identify the dedicated traceability code of the target product, and use a dedicated reading device to read the information in the dedicated traceability code. If the information can be read, mark the target product as the first product, otherwise mark the target product as the second product. When the similarity of the characteristic nodes of the target product is less than the threshold, the system continues to detect.
8. The blockchain-based product traceability system according to claim 7, characterized in that: The step S23 further comprises the following steps: Step S231: obtaining the first product and dealer information, identifying the traceability code of the first product, entering the dealer information into the traceability code of the first product, obtaining the second product, identifying the traceability code of the second product, and comparing the traceability code of the second product with the corresponding dedicated traceability code in the database. If the similarity is greater than a threshold, the traceability code is entered into the system and marked as a counterfeit code. Otherwise, the traceability code is entered into the system and marked as a scratched code. Step S232: When the first distributor identifies that the target product traceability code is a counterfeit code, the order code of the target product is identified, the first distributor information is retrieved, and the product order record between the first distributor and the second distributor upstream in the supply chain is retrieved according to the first distributor information. According to the first distributor information, the corresponding decryption key in the database is retrieved, and the order record is decrypted using the decryption key, and the order codes of all products in the order are identified. The order code of the target product is compared. If the order codes are the same, the second distributor is marked as a violating distributor. Otherwise, the system continues to detect the product order record between the second distributor and the third distributor. Step S233: Obtain the traceability code information read by the dealer, identify the user ID and dealer sales information in the traceability code, if there is a user ID, mark the product as a counterfeit and prohibit sales, and send a product recall notification to the user based on the user ID. If there is dealer sales information, mark the product as a counterfeit and mark the dealer as an illegal dealer.
9. A blockchain-based product traceability system according to claim 8, characterized in that: The step S3 further comprises the following steps: Step S31: When the dealer identifies that the product's traceability code is a scratch code, the dealer identifies the product's incoming and outgoing data, calculates the difference between the incoming quantity and the outgoing quantity, constructs an inventory change curve based on the difference, identifies the inventory curve change characteristics, and if the inventory change curve is an upward characteristic, marks the dealer as a suspected dealer, otherwise the system continues to detect; Step S32: Obtain the inventory data and sales data of the suspected dealer, identify the product entry time and exit time, calculate the difference between the entry time and the exit time, and when the difference is greater than the threshold, mark the dealer as a violating dealer; when the difference is less than the threshold, identify the inventory quantity; if the inventory quantity is greater than the maximum threshold, mark the dealer as a violating dealer; otherwise, the system continues to detect; Step S33: When a dealer sells a product, the dealer location is obtained, the information in the traceability code is read, the sales area of the product is identified, and a search is performed within the sales area of the product based on the dealer location. If the dealer location information exists within the sales area of the product, the system continues to check, otherwise the system marks the dealer as engaging in cross-selling, reads the product traceability code, identifies the sales mark of each dealer, retrieves the dealer's location based on the sales mark of each dealer, retrieves the dealer mark that meets the range based on the sales range of the product, identifies the timestamp of the dealer mark, sorts the dealer's position in descending order based on the timestamp, anchors the first-rank dealer mark, retrieves the corresponding dealer based on the dealer mark, and marks the dealer as an illegal dealer.
10. A blockchain-based product traceability system according to claim 9, characterized in that: The step S4 further comprises the following steps: Step S41: When the user scans the dedicated traceability code, the user's ID is obtained, the user's ID is entered into the system, and is bound to the dedicated traceability code; Step S42: When the user scans the dedicated traceability code, the information in the dedicated traceability code is read. When the code is a counterfeit code, the purchase record of the user in the system is identified. If there is a purchase record, the system continues to detect. Otherwise, the user is guided to upload the offline purchase record into the system, retrieve the record of the user purchasing the product, guide the user to authorize the decryption key, use the decryption key to decrypt the purchase record, identify the dealer in the purchase record, and mark the dealer as an illegal dealer. When the dedicated traceability code is read, the dealer mark in the dedicated traceability code is identified. If the dealer sales mark does not exist in the dedicated traceability code, the product is marked as a counterfeit product, all dealer marks in the traceability code of the product are identified, the timestamp of the dealer mark is identified, the dealer with the latest time is locked, and marked as an illegal dealer. When an illegal dealer is identified, the system issues an alarm to notify the manufacturer administrator to review, and feeds back the traceability result to the user end through the feedback module.
Citation Information
Patent Citations
Supply-chain-through account-keeping type commodity anti-counterfeit tracing method
CN106203919A
A two-dimensional code tracing method and system based on a block chain
CN109583917A
Product traceability anti-counterfeiting and anti-channel conflict method based on block chain
CN114971654A
Tobacco anti-channel conflict traceability system and method
CN116629900A
Cited By
Whole-course tracing method and system for daily necessity information
CN120146876A
