A blockchain-based commodity anti-counterfeiting detection method and system

By collecting and integrating multiple feature points of product images and anti-counterfeiting codes, and using blockchain technology for verification and management, the problem of low detection accuracy in existing technologies has been solved, achieving higher precision and accuracy in product anti-counterfeiting detection.

CN117788013BActive Publication Date: 2026-11-06LINGSHU TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311811935.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2026-11-06
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

Existing anti-counterfeiting detection methods suffer from low detection accuracy, leading to inaccurate results.

Method used

By collecting multiple feature points of product images and anti-counterfeiting codes, and performing verification and fusion calculations based on blockchain technology, a first fused anti-counterfeiting code is generated. Based on the feature anti-counterfeiting detection results and the fused anti-counterfeiting detection results, an additional electronic anti-counterfeiting code is generated and stored on the blockchain for anti-counterfeiting detection information management.

Benefits of technology

It improves the precision and accuracy of anti-counterfeiting detection for goods and enhances the reliability of anti-counterfeiting detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117788013B_ABST
    Figure CN117788013B_ABST
Patent Text Reader

Abstract

The present disclosure provides a kind of based on blockchain commodity anti-counterfeiting detection method and system, it is related to anti-counterfeiting identification technology, method includes: the image of commodity and the multiple feature points of commodity anti-counterfeiting code are collected;Verification is carried out, and the multiple feature points corresponding multiple feature validity is output, and feature anti-counterfeiting detection result is acquired;Multiple feature points are fused and operated, and first fusion anti-counterfeiting code is acquired;Based on first fusion anti-counterfeiting code, verification is carried out, and fusion anti-counterfeiting detection result is acquired;According to feature anti-counterfeiting detection result, fusion anti-counterfeiting detection result is judged, and commodity anti-counterfeiting detection result is acquired, if anti-counterfeiting detection does not pass, alarm information is sent to commodity anti-counterfeiting code general control system, additional electronic anti-counterfeiting code is generated to carry out anti-counterfeiting detection information management.Can solve the technical problem that the existing commodity anti-counterfeiting detection method exists and the low precision of detection leads to inaccurate anti-counterfeiting detection result, can improve the precision of commodity anti-counterfeiting detection, to improve the accuracy of anti-counterfeiting detection result obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to anti-counterfeiting identification technology, and more specifically, to a blockchain-based method and system for detecting counterfeit goods. Background Technology

[0002] With economic development, shopping malls have become increasingly diverse in their selection of goods. Driven by profit, many unscrupulous merchants have begun to counterfeit genuine products, resulting in a proliferation of counterfeit and substandard goods that have caused significant harm to consumers and brands. Therefore, effective anti-counterfeiting testing of goods has become crucial.

[0003] Traditional anti-counterfeiting detection methods typically only identify and detect anti-counterfeiting codes. This method is relatively simple, and because anti-counterfeiting code counterfeiting techniques are becoming increasingly sophisticated, the accuracy of anti-counterfeiting detection results is low and cannot meet normal anti-counterfeiting detection needs.

[0004] The shortcomings of existing anti-counterfeiting detection methods are that the low detection accuracy leads to inaccurate anti-counterfeiting detection results. Summary of the Invention

[0005] Therefore, in order to solve the above-mentioned technical problems, the technical solutions adopted in the embodiments of this disclosure are as follows:

[0006] A blockchain-based product anti-counterfeiting detection method includes the following steps: collecting multiple feature points of a product image and a product anti-counterfeiting code; verifying based on the multiple feature points, outputting the validity of multiple features corresponding to the multiple feature points, and obtaining feature anti-counterfeiting detection results; obtaining a fusion instruction, performing a fusion operation on the multiple feature points according to the fusion instruction, and obtaining a first fused anti-counterfeiting code; verifying based on the first fused anti-counterfeiting code, outputting multiple fusion validitys of the first fused anti-counterfeiting code, and obtaining fused anti-counterfeiting detection results; judging based on the feature anti-counterfeiting detection results and the fused anti-counterfeiting detection results, obtaining a product anti-counterfeiting detection result; if the anti-counterfeiting detection fails, sending an alarm message of the product image to the product anti-counterfeiting code central control system, generating an additional electronic anti-counterfeiting code, and storing the alarm message and the additional electronic anti-counterfeiting code on the blockchain; and managing anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code.

[0007] A blockchain-based anti-counterfeiting detection system for goods includes: a product feature point acquisition module, used to acquire multiple feature points of a product image and an anti-counterfeiting code; a feature anti-counterfeiting detection result acquisition module, used to verify based on the multiple feature points, output the validity of multiple features corresponding to the multiple feature points, and acquire a feature anti-counterfeiting detection result; a first fused anti-counterfeiting code acquisition module, used to acquire a fusion instruction, perform a fusion operation on the multiple feature points according to the fusion instruction, and acquire a first fused anti-counterfeiting code; and a fused anti-counterfeiting detection result acquisition module, used to acquire the fused anti-counterfeiting detection result... The module is used to verify based on the first fused anti-counterfeiting code, output multiple fusion validitys of the first fused anti-counterfeiting code, and obtain the fused anti-counterfeiting detection result; the additional electronic anti-counterfeiting code generation module is used to judge based on the feature anti-counterfeiting detection result and the fused anti-counterfeiting detection result, obtain the product anti-counterfeiting detection result, and if the anti-counterfeiting detection fails, send alarm information of the product image to the product anti-counterfeiting code central control system, generate an additional electronic anti-counterfeiting code, and store the alarm information and the additional electronic anti-counterfeiting code on the blockchain; the anti-counterfeiting detection information management module is used to manage anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code.

[0008] An electronic device includes a memory and a processor, the memory storing a computer program which is executed by the processor of the steps in the first aspect.

[0009] A computer-readable storage medium storing a computer program, the computer program being executed by a processor of the steps in the first aspect.

[0010] Due to the adoption of the above-mentioned technical methods, the technical advancements achieved by this disclosure compared to the prior art are as follows:

[0011] This method addresses the technical problem of low detection accuracy leading to inaccurate anti-counterfeiting results in existing anti-counterfeiting detection methods. It involves collecting multiple feature points from a product image and its anti-counterfeiting code; verifying these feature points and outputting the validity of multiple features corresponding to each feature point to obtain a feature-based anti-counterfeiting detection result; obtaining a fusion instruction and performing a fusion operation on the multiple feature points according to the fusion instruction to obtain a first fused anti-counterfeiting code; verifying the first fused anti-counterfeiting code and outputting multiple fusion validitys of the first fused anti-counterfeiting code to obtain a fused anti-counterfeiting detection result; judging based on the feature-based anti-counterfeiting detection result and the fused anti-counterfeiting detection result to obtain a product anti-counterfeiting detection result; if the anti-counterfeiting detection fails, sending an alarm message about the product image to the product anti-counterfeiting code central control system, generating an additional electronic anti-counterfeiting code, and storing the alarm message and the additional electronic anti-counterfeiting code on the blockchain; and managing anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code. This improves the accuracy of product anti-counterfeiting detection, thereby increasing the accuracy of the obtained anti-counterfeiting detection results. Attached Figure Description

[0012] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0013] Figure 1 This application provides a flowchart illustrating a blockchain-based anti-counterfeiting detection method for goods.

[0014] Figure 2 This application provides a schematic diagram of a blockchain-based anti-counterfeiting detection method for goods, which verifies based on multiple feature points.

[0015] Figure 3 This application provides a schematic diagram of the structure of a blockchain-based anti-counterfeiting detection system for goods;

[0016] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0017] Explanation of reference numerals in the attached diagram: 01. Product feature point acquisition module; 02. Feature anti-counterfeiting detection result acquisition module; 03. First fusion anti-counterfeiting code acquisition module; 04. Fusion anti-counterfeiting detection result acquisition module; 05. Additional electronic anti-counterfeiting code generation module; 06. Anti-counterfeiting detection information management module; 300. Electronic device; 301. Memory; 302. Processor; 303. Communication interface; 304. Bus architecture. Detailed Implementation

[0018] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0019] Based on the above description, such as Figure 1 As shown, this disclosure provides a blockchain-based anti-counterfeiting detection method for goods, including:

[0020] In this application embodiment, the method provided is used to combine blockchain technology to perform anti-counterfeiting detection on goods, thereby improving the accuracy of anti-counterfeiting detection and achieving the goal of improving the accuracy of anti-counterfeiting detection. The method is specifically implemented in a blockchain-based anti-counterfeiting detection system.

[0021] Collect multiple feature points from product images and anti-counterfeiting codes;

[0022] In this embodiment, firstly, images of the product and its anti-counterfeiting code are acquired using an image sensor to obtain product images and anti-counterfeiting code images. The image sensor is a high-precision image acquisition device, such as a CCD image sensor. Then, features are acquired from the product images and anti-counterfeiting code images according to preset feature acquisition rules, obtaining multiple feature points for both. Obtaining these multiple feature points provides data support for the next step of product anti-counterfeiting verification.

[0023] Based on the multiple feature points, the validity of multiple features corresponding to the multiple feature points is output, and the feature anti-counterfeiting detection result is obtained.

[0024] In this embodiment of the application, the validity of the plurality of feature points is verified, and the validity of the plurality of features corresponding to the plurality of feature points is output. The validity of the plurality of features is judged, and the feature anti-counterfeiting detection result is obtained based on the judgment result.

[0025] like Figure 2 As shown, in one embodiment, the method further includes:

[0026] The plurality of feature points are obtained, including anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features;

[0027] Based on the anti-counterfeiting code features, the anti-counterfeiting code label background features, and the anti-counterfeiting code label field features, the validity of the first feature, the validity of the second feature, and the validity of the third feature are obtained.

[0028] The validity of the first feature, the validity of the second feature, and the validity of the third feature are verified respectively. When the validity of the first feature, the validity of the second feature, and the validity of the third feature are all verified, the fusion instruction is obtained.

[0029] In this embodiment, firstly, the plurality of feature points are acquired, wherein the plurality of feature points include anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features. The anti-counterfeiting code features refer to the regional features of the anti-counterfeiting code, including features such as the anti-counterfeiting code position coordinates and anti-counterfeiting code size. The anti-counterfeiting code label background features refer to the printing background features of the anti-counterfeiting code label, including the background color, background aging degree, and background texture of the anti-counterfeiting code label. By recognizing the label background features, counterfeit anti-counterfeiting codes can be verified and identified. The anti-counterfeiting code label field features refer to the text features on the anti-counterfeiting code, including features such as text content, text size, and font.

[0030] An anti-counterfeiting code feature recognition expert system is constructed. This system is based on databases and machine learning, storing a large amount of knowledge and experience related to anti-counterfeiting detection. After supervised training, it can simulate the reasoning and judgment methods of human anti-counterfeiting detection experts. Then, the anti-counterfeiting code feature recognition expert system sequentially identifies the validity of the anti-counterfeiting code features, the anti-counterfeiting code label background features, and the anti-counterfeiting code label field features, obtaining the first feature validity of the anti-counterfeiting code features, the second feature validity of the anti-counterfeiting code label background features, and the third feature validity of the anti-counterfeiting code label field features.

[0031] A preset validity threshold is obtained. This preset validity threshold can be set by those skilled in the art based on actual detection accuracy requirements, wherein the higher the detection accuracy requirement, the larger the preset validity threshold. Then, the validity of the first feature, the second feature, and the third feature are judged according to the preset validity threshold. When the feature validity is greater than the preset validity threshold, the verification is passed. When the validity of the first feature, the second feature, and the third feature are all verified to be passed, a fusion command is obtained.

[0032] If the validity of any one of the first feature, the second feature, or the third feature fails to be verified, the anti-counterfeiting detection will fail.

[0033] In this embodiment of the application, if the verification of the validity of any one of the first feature, the second feature, and the third feature fails, the anti-counterfeiting detection will fail.

[0034] Obtain a fusion instruction, perform a fusion operation on the multiple feature points according to the fusion instruction, and obtain a first fused anti-counterfeiting code;

[0035] In this embodiment of the application, a feature fusion instruction is obtained, which is used to fuse multiple feature points in pairs, and to perform fusion operation on the multiple feature points according to the feature fusion instruction to obtain a first fused anti-counterfeiting code.

[0036] In one embodiment, the method further includes:

[0037] According to the fusion instruction, the multiple feature points are fused to obtain the fusion validity of anti-counterfeiting code-label background, the fusion validity of anti-counterfeiting code-label field, and the fusion validity of label background-label field;

[0038] When the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, and the fusion validity of the label background-label field are all verified, the anti-counterfeiting detection is passed;

[0039] If any one of the following fusion features fails the verification: the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, or the fusion validity of the label background-label field, the anti-counterfeiting detection fails.

[0040] In this embodiment of the application, firstly, according to the fusion instruction, the multiple feature points are fused. That is, after each individual feature is verified, any two feature points among the multiple feature points are fused in pairs. The feature fusion result is then validated by the anti-counterfeiting code feature recognition expert system to obtain the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, and the fusion validity of the label background-label field.

[0041] A preset fusion validity threshold is obtained, and the method for setting the preset fusion validity threshold is the same as that described above. Then, the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, and the fusion validity of the label background-label field are judged according to the preset validity threshold. When the fusion validity is greater than the preset fusion validity threshold, the verification passes; when the fusion validity is less than or equal to the preset fusion validity threshold, the verification fails.

[0042] The product anti-counterfeiting detection passes when all three fusion validitys—the anti-counterfeiting code-label background fusion validity, the anti-counterfeiting code-label field fusion validity, and the label background-label field fusion validity—are verified. Conversely, the product anti-counterfeiting detection fails when any one of these fusion features fails verification. For example, if the font and background features meet the requirements for genuine products when analyzed individually, but the fusion result does not meet the requirements after combining them, the verification fails.

[0043] By performing fusion operations on multiple feature points and setting anti-counterfeiting detection results based on the effectiveness of feature fusion, the precision of anti-counterfeiting detection can be improved, thereby enhancing its accuracy.

[0044] Based on the first fused anti-counterfeiting code, the verification is performed, and multiple fusion validitys of the first fused anti-counterfeiting code are output to obtain the fused anti-counterfeiting detection result;

[0045] In this embodiment of the application, the validity of the first fused anti-counterfeiting code is verified, and multiple fused validitys of the first fused anti-counterfeiting code are output. When all of the multiple fused validitys pass the verification, the anti-counterfeiting verification of the product passes; when any one of the multiple fused validitys fails the verification, the anti-counterfeiting verification of the product fails.

[0046] Based on the feature anti-counterfeiting detection results and the fusion anti-counterfeiting detection results, a judgment is made to obtain the product anti-counterfeiting detection results. If the anti-counterfeiting detection fails, an alarm message of the product image is sent to the product anti-counterfeiting code central control system, an additional electronic anti-counterfeiting code is generated, and the alarm message and the additional electronic anti-counterfeiting code are stored on the blockchain.

[0047] In this embodiment, firstly, weights are assigned to the feature-based anti-counterfeiting detection results and the fused anti-counterfeiting detection results. The greater the influence of any indicator on the product anti-counterfeiting detection result, the greater its corresponding weight. This weighting can be achieved using the existing coefficient of variation method, a commonly used weighting method by those skilled in the art, which will not be elaborated upon here. The weight percentages of the feature-based anti-counterfeiting detection results and the fused anti-counterfeiting detection results are then calculated based on these weight percentages, and the weighted calculation result is used as the product anti-counterfeiting detection result.

[0048] A preset anti-counterfeiting detection threshold is obtained, which can be set by those skilled in the art according to actual needs. The anti-counterfeiting detection result is then judged based on the preset threshold. If the result is greater than the preset threshold, the anti-counterfeiting detection passes; if it is less than or equal to the threshold, the detection fails. When the detection fails, the anti-counterfeiting code control system sends an alarm message to the product image and generates an additional electronic anti-counterfeiting code based on the product image's basic information. Finally, the alarm message and the additional electronic anti-counterfeiting code are stored on the blockchain. Blockchain storage refers to the process of storing data or information on the blockchain.

[0049] Anti-counterfeiting detection information is managed based on the additional electronic anti-counterfeiting code.

[0050] In this embodiment, the anti-counterfeiting detection information of the product is finally managed based on the additional electronic anti-counterfeiting code. This method solves the technical problem of inaccurate anti-counterfeiting detection results due to low detection accuracy in existing methods, thereby improving the accuracy of anti-counterfeiting detection and ultimately enhancing the overall accuracy of the results.

[0051] In one embodiment, the method further includes:

[0052] When a product receives an alarm message from the product image, it retrieves the product display information item according to the product image information management system.

[0053] The product display information items are divided according to the validity of the information items to obtain a first group of information items and a second group of information items. The validity of the second group of information items is greater than that of the first group of information items, and the number of items in the second group of information items is not empty.

[0054] The second set of information items is verified and managed by setting an additional electronic anti-counterfeiting code.

[0055] In this embodiment, firstly, when the anti-counterfeiting code control system receives the alarm information of the product image, it obtains the product display information items of the product based on the information management system of the product image. The product display information items can be set by those skilled in the art based on the actual situation, including information such as product name, product type, ingredient list, shelf life, production date, and production site.

[0056] The validity of each product display information item is evaluated sequentially. The greater the identification value of an information item, the higher its validity. Multiple product information item validitys are obtained. Then, the product display information items are divided according to their validity. First, a division threshold is set. Product information items with validity values ​​greater than the threshold are added to a second group. Product information items with validity values ​​less than or equal to the threshold are added to a first group, resulting in a first group and a second group. The validity of the second group is greater than that of the first group, and the second group contains no empty items. An additional electronic anti-counterfeiting code is used to verify and manage the second group. By dividing the product display information items according to their validity, the amount of data for information item identification can be reduced, improving the detection efficiency while ensuring the accuracy of the identification results.

[0057] In one embodiment, the method further includes:

[0058] Obtain the results of a first-time anti-counterfeiting inspection and a second-time anti-counterfeiting inspection. The first-time anti-counterfeiting inspection result is the result obtained based on the anti-counterfeiting code image of the product. When the first-time anti-counterfeiting inspection result is that the anti-counterfeiting inspection is passed, collect the first set of information items and the additional electronic anti-counterfeiting code corresponding to the product.

[0059] In this embodiment of the application, firstly, a first anti-counterfeiting detection result and a second anti-counterfeiting detection result are obtained, wherein the first anti-counterfeiting detection result is the detection result obtained based on the anti-counterfeiting code image of the product; when the first anti-counterfeiting detection result is that the anti-counterfeiting detection is passed, the first set of information items and the additional electronic anti-counterfeiting code corresponding to the product are collected.

[0060] In one embodiment, the method further includes:

[0061] Obtain the attribute setting parameters of the additional electronic anti-counterfeiting code, including layer, barcode height, barcode type, and barcode orientation;

[0062] Based on the attribute setting parameters of the additional electronic anti-counterfeiting code, the additional electronic anti-counterfeiting code is obtained through the barcode generation system, and the additional electronic anti-counterfeiting code and the product anti-counterfeiting code are managed for one-to-one traceability.

[0063] In this embodiment, firstly, attribute setting parameters for the additional electronic anti-counterfeiting code are obtained, including layer, barcode height, barcode type, and barcode orientation. Then, the attribute setting parameters of the additional electronic anti-counterfeiting code are input into the barcode generation system, which outputs the additional electronic anti-counterfeiting code and performs one-to-one traceability management between the additional electronic anti-counterfeiting code and the product anti-counterfeiting code.

[0064] In one embodiment, the method further includes:

[0065] Obtain the features of the electronic anti-counterfeiting code, the background features of the electronic anti-counterfeiting code label, and the field features of the electronic anti-counterfeiting code label;

[0066] The electronic anti-counterfeiting code features, electronic anti-counterfeiting code label background features, and electronic anti-counterfeiting code label field features are fused together to generate fused feature information.

[0067] Based on the fused feature information, a product coding data source is established, and the product coding data source is called through the barcode generation system to encode the product and obtain an additional electronic anti-counterfeiting code.

[0068] In this embodiment, firstly, the features of the electronic anti-counterfeiting code, the background features of the electronic anti-counterfeiting code label, and the field features of the electronic anti-counterfeiting code label are obtained. Then, the features of the electronic anti-counterfeiting code, the background features of the electronic anti-counterfeiting code label, and the field features of the electronic anti-counterfeiting code label are fused to obtain fused feature information. A product coding data source is then established based on the fused feature information. The product coding data source is set by constructing product coding rules to obtain the product coding data source. Finally, the product coding data source is called through a barcode generation system to perform encoding, resulting in an additional electronic anti-counterfeiting code.

[0069] A secondary anti-counterfeiting verification is performed based on the additional electronic anti-counterfeiting code to obtain a secondary anti-counterfeiting detection result. If the secondary anti-counterfeiting detection result is that the anti-counterfeiting detection is passed, the second set of information items corresponding to the product is obtained.

[0070] In this embodiment, the product undergoes secondary anti-counterfeiting verification based on the additional electronic anti-counterfeiting code to obtain a secondary anti-counterfeiting detection result. If the secondary anti-counterfeiting detection result indicates that the anti-counterfeiting detection has passed, then the second set of information items corresponding to the product is obtained.

[0071] In one embodiment, such as Figure 3 The diagram illustrates a blockchain-based anti-counterfeiting detection system for goods, comprising: a goods feature point acquisition module 01, a feature anti-counterfeiting detection result acquisition module 02, a first fused anti-counterfeiting code acquisition module 03, a fused anti-counterfeiting detection result acquisition module 04, an additional electronic anti-counterfeiting code generation module 05, and an anti-counterfeiting detection information management module 06. Wherein:

[0072] Product feature point acquisition module 01, which is used to acquire multiple feature points of product images and product anti-counterfeiting codes;

[0073] The feature anti-counterfeiting detection result acquisition module 02 is used to verify based on the multiple feature points, output the validity of multiple features corresponding to the multiple feature points, and acquire the feature anti-counterfeiting detection result.

[0074] First fusion anti-counterfeiting code acquisition module 03, the first fusion anti-counterfeiting code acquisition module 03 is used to acquire fusion instructions, perform fusion calculation on the multiple feature points according to the fusion instructions, and acquire the first fusion anti-counterfeiting code;

[0075] The integrated anti-counterfeiting detection result acquisition module 04 is used to verify based on the first integrated anti-counterfeiting code, output multiple integrated validitys of the first integrated anti-counterfeiting code, and acquire integrated anti-counterfeiting detection results.

[0076] An additional electronic anti-counterfeiting code generation module 05 is used to judge based on the feature anti-counterfeiting detection result and the fusion anti-counterfeiting detection result, obtain the anti-counterfeiting detection result of the product, and if the anti-counterfeiting detection fails, send the alarm information of the product image to the product anti-counterfeiting code central control system, generate an additional electronic anti-counterfeiting code, and store the alarm information and the additional electronic anti-counterfeiting code on the blockchain.

[0077] Anti-counterfeiting detection information management module 06 is used to manage anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code.

[0078] In one embodiment, the system further includes:

[0079] A feature point acquisition module is used to acquire the plurality of feature points, including anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features;

[0080] The feature validity acquisition module is used to acquire a first feature validity, a second feature validity, and a third feature validity based on the anti-counterfeiting code features, the anti-counterfeiting code label background features, and the anti-counterfeiting code label field features.

[0081] The fusion instruction acquisition module is used to verify the validity of the first feature, the second feature, and the third feature respectively. When the validity of the first feature, the second feature, and the third feature are all verified, the fusion instruction is acquired.

[0082] The verification failure module is used to prevent anti-counterfeiting detection from failing when any one of the first feature validity, the second feature validity, and the third feature validity fails verification.

[0083] In one embodiment, the system further includes:

[0084] The fusion calculation module is used to perform fusion calculation on the multiple feature points according to the fusion instruction to obtain the fusion validity of anti-counterfeiting code-label background, the fusion validity of anti-counterfeiting code-label field, and the fusion validity of label background-label field.

[0085] The verification module is used to verify the effectiveness of the fusion of the anti-counterfeiting code and label background, the effectiveness of the fusion of the anti-counterfeiting code and label field, and the effectiveness of the fusion of the label background and label field. The anti-counterfeiting detection is then passed.

[0086] The verification failure module is used to ensure that the anti-counterfeiting detection fails when any one of the following fusion features fails to verify the validity of the anti-counterfeiting code-label background fusion, the anti-counterfeiting code-label field fusion, or the label background-label field fusion.

[0087] In one embodiment, the system further includes:

[0088] The product display information item acquisition module is used to acquire product display information items according to the product image information management system after the product receives alarm information from the product image.

[0089] The information item division module is used to divide the product display information items according to the validity of the information items to obtain a first group of information items and a second group of information items, wherein the validity of the second group of information items is greater than that of the first group of information items, and the number of items in the second group of information items is not empty;

[0090] The verification management module is used to verify and manage the second group of information items by setting an additional electronic anti-counterfeiting code.

[0091] In one embodiment, the system further includes:

[0092] An additional electronic anti-counterfeiting code acquisition module is used to acquire the results of a primary anti-counterfeiting inspection and a secondary anti-counterfeiting inspection. The primary anti-counterfeiting inspection result is the result obtained based on the anti-counterfeiting code image. When the primary anti-counterfeiting inspection result is that the anti-counterfeiting inspection has passed, the module acquires the first set of information items and the additional electronic anti-counterfeiting code corresponding to the product.

[0093] The second group of information items acquisition module is used to perform secondary anti-counterfeiting verification based on the additional electronic anti-counterfeiting code to obtain the secondary anti-counterfeiting detection result of the product. If the secondary anti-counterfeiting detection result is that the anti-counterfeiting detection is passed, the second group of information items corresponding to the product is acquired.

[0094] In one embodiment, the system further includes:

[0095] The attribute setting parameter acquisition module is used to acquire the attribute setting parameters of the attached electronic anti-counterfeiting code. The attribute setting parameters include layer, barcode height, barcode type, and barcode orientation.

[0096] An additional electronic anti-counterfeiting code obtaining module is used to obtain an additional electronic anti-counterfeiting code through a barcode generation system by setting parameters according to the attributes of the additional electronic anti-counterfeiting code, and to perform one-to-one traceability management between the additional electronic anti-counterfeiting code and the product anti-counterfeiting code.

[0097] In one embodiment, the system further includes:

[0098] The information acquisition module is used to acquire the features of the electronic anti-counterfeiting code, the background features of the electronic anti-counterfeiting code label, and the field features of the electronic anti-counterfeiting code label.

[0099] A fusion feature information generation module is used to fuse the electronic anti-counterfeiting code features, the electronic anti-counterfeiting code label background features, and the electronic anti-counterfeiting code label field features to generate fusion feature information.

[0100] An additional electronic anti-counterfeiting code obtaining module is used to establish a commodity code data source based on the fused feature information, and to encode the commodity code data source through a barcode generation system to obtain an additional electronic anti-counterfeiting code.

[0101] In summary, compared with the prior art, the embodiments of this disclosure have the following technical effects:

[0102] (1) It can solve the technical problem that the existing anti-counterfeiting detection methods have low detection accuracy, resulting in inaccurate anti-counterfeiting detection results. The above method can improve the accuracy of anti-counterfeiting detection, thereby improving the accuracy of the anti-counterfeiting detection results.

[0103] (2) By performing fusion calculations on multiple feature points and setting anti-counterfeiting detection results based on the effectiveness judgment of feature fusion, the level of refinement of anti-counterfeiting detection can be improved, thereby improving the accuracy of anti-counterfeiting detection.

[0104] The embodiments described above are merely illustrative of several implementations of this disclosure and should not be construed as limiting the scope of the invention. Therefore, those skilled in the art can make various types of substitutions, modifications, and alterations without departing from the scope of the concept as defined by the appended claims, and all such substitutions, modifications, and alterations fall within the protection scope of this disclosure.

[0105] Example 3

[0106] Based on the same inventive concept as the blockchain-based anti-counterfeiting detection method in the foregoing embodiments, such as Figure 4 As shown, this application also provides an electronic device 300, which includes a memory 301 and a processor 302. The memory 301 stores a computer program, and when the calculator program is executed by the processor 302, it implements the steps of a method of the embodiment.

[0107] The electronic device 300 includes a processor 302, a communication interface 303, and a memory 301. Optionally, the electronic device 300 may also include a bus architecture 304. The communication interface 303, processor 302, and memory 301 can be interconnected via the bus architecture 304; the bus architecture 304 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus architecture 304 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0108] Processor 302 may be a CPU, microprocessor, ASIC, or one or more integrated circuits used to control the execution of programs according to the present application.

[0109] Communication interface 303 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), wired access network, etc.

[0110] Memory 301 can be ROM or other types of static storage devices capable of storing static information and instructions, RAM or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact discread-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. Memory can exist independently and be connected to the processor via bus architecture 304. Memory can also be integrated with the processor.

[0111] The memory 301 stores computer execution instructions for implementing the scheme of this application, and the processor 302 controls the execution. The processor 302 executes the computer execution instructions stored in the memory 301 to implement the steps of the method in the above embodiment one of this application.

[0112] The present application has been described in detail through the above embodiments. Without departing from the concept of the present application, it should be understood that various forms of processes shown above can be used to rearrange, add or delete steps, but the present application is not limited to the above embodiments.

Claims

1. A cryptographic-based method for detecting counterfeit goods, characterized in that, The method includes: Collect multiple feature points from product images and anti-counterfeiting codes; Based on the multiple feature points, the validity of multiple features corresponding to the multiple feature points is output, and the feature anti-counterfeiting detection result is obtained. Obtain a fusion instruction, perform a fusion operation on the multiple feature points according to the fusion instruction, and obtain a first fused anti-counterfeiting code; Based on the first fused anti-counterfeiting code, the verification is performed, and multiple fusion validitys of the first fused anti-counterfeiting code are output to obtain the fused anti-counterfeiting detection result; Based on the feature anti-counterfeiting detection results and the fusion anti-counterfeiting detection results, a judgment is made to obtain the product anti-counterfeiting detection result. If the anti-counterfeiting detection fails, an alarm message of the product image is sent to the product anti-counterfeiting code central control system, and an additional electronic anti-counterfeiting code is generated. Anti-counterfeiting detection information is managed based on the additional electronic anti-counterfeiting code; The method further includes verifying based on the multiple feature points and outputting the validity of multiple features corresponding to the multiple feature points, and the method also includes: The plurality of feature points are obtained, including anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features; Based on the anti-counterfeiting code features, the anti-counterfeiting code label background features, and the anti-counterfeiting code label field features, the validity of the first feature, the validity of the second feature, and the validity of the third feature are obtained. The validity of the first feature, the validity of the second feature, and the validity of the third feature are verified respectively. When the validity of the first feature, the validity of the second feature, and the validity of the third feature are all verified, the fusion instruction is obtained. If the validity of any one of the first feature, the second feature, and the third feature fails to be verified, the anti-counterfeiting detection fails. After obtaining the fusion instruction, the method further includes: According to the fusion instruction, the multiple feature points are fused to obtain the fusion validity of anti-counterfeiting code-label background, the fusion validity of anti-counterfeiting code-label field, and the fusion validity of label background-label field; When the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, and the fusion validity of the label background-label field are all verified, the anti-counterfeiting detection is passed; If any one of the following fusion features fails the verification: the fusion validity of the anti-counterfeiting code-label background, the fusion validity of the anti-counterfeiting code-label field, or the fusion validity of the label background-label field, the anti-counterfeiting detection fails.

2. The method as described in claim 1, characterized in that, The method for managing anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code further includes: When a product receives an alarm message from the product image, it retrieves the product display information item according to the product image information management system. The product display information items are divided according to the validity of the information items to obtain a first group of information items and a second group of information items. The validity of the second group of information items is greater than that of the first group of information items, and the number of items in the second group of information items is not empty. The second set of information items is verified and managed by setting an additional electronic anti-counterfeiting code.

3. The method as described in claim 2, characterized in that, The method further includes verifying and managing the second set of information items by setting an additional electronic anti-counterfeiting code: Obtain the results of a first-time anti-counterfeiting inspection and a second-time anti-counterfeiting inspection. The first-time anti-counterfeiting inspection result is the result obtained based on the anti-counterfeiting code image of the product. When the first-time anti-counterfeiting inspection result is that the anti-counterfeiting inspection is passed, collect the first set of information items and the additional electronic anti-counterfeiting code corresponding to the product. A secondary anti-counterfeiting verification is performed based on the additional electronic anti-counterfeiting code to obtain a secondary anti-counterfeiting detection result. If the secondary anti-counterfeiting detection result is that the anti-counterfeiting detection is passed, the second set of information items corresponding to the product is obtained.

4. The method as described in claim 3, characterized in that, The method further includes: Obtain the attribute setting parameters of the additional electronic anti-counterfeiting code, including layer, barcode height, barcode type, and barcode orientation; Based on the attribute setting parameters of the additional electronic anti-counterfeiting code, the additional electronic anti-counterfeiting code is obtained through the barcode generation system, and the additional electronic anti-counterfeiting code and the product anti-counterfeiting code are managed for one-to-one traceability.

5. The method as described in claim 4, characterized in that, The method further includes: Obtain anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features; The anti-counterfeiting code features, anti-counterfeiting code label background features, and anti-counterfeiting code label field features are fused together to generate fused feature information; Based on the fused feature information, a product coding data source is established, and the product coding data source is called through the barcode generation system to encode the product and obtain an additional electronic anti-counterfeiting code.

6. A cryptography-based anti-counterfeiting detection system for goods, characterized in that, The system is used to perform the steps of any one of the cryptography-based anti-counterfeiting detection methods for goods as described in claims 1-5, wherein the system comprises: A product feature point acquisition module, which is used to acquire multiple feature points of product images and anti-counterfeiting codes; The feature anti-counterfeiting detection result acquisition module is used to verify based on the multiple feature points, output the validity of multiple features corresponding to the multiple feature points, and acquire the feature anti-counterfeiting detection result. The first fusion anti-counterfeiting code acquisition module is used to acquire a fusion instruction, perform a fusion operation on the multiple feature points according to the fusion instruction, and acquire the first fusion anti-counterfeiting code. The integrated anti-counterfeiting detection result acquisition module is used to verify based on the first integrated anti-counterfeiting code, output multiple integrated validitys of the first integrated anti-counterfeiting code, and acquire integrated anti-counterfeiting detection results. An additional electronic anti-counterfeiting code generation module is used to judge based on the feature anti-counterfeiting detection result and the fusion anti-counterfeiting detection result, obtain the product anti-counterfeiting detection result, and if the anti-counterfeiting detection fails, send the alarm information of the product image to the product anti-counterfeiting code central control system and generate an additional electronic anti-counterfeiting code. The anti-counterfeiting detection information management module is used to manage anti-counterfeiting detection information based on the additional electronic anti-counterfeiting code.

7. An electronic device, characterized in that, The electronic device includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, implements the steps of any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of any one of claims 1-5.

Citation Information

Patent Citations

  • Product anti-counterfeiting method via secondary verification

    CN105719148A

  • Trademark anti-counterfeiting method based on cryptography

    CN116503234A

  • Commodity anti-counterfeiting Internet of Things traceability identification system based on block chain data

    CN116629903A