Product identification method and device, equipment, storage medium and program product

By identifying the random distribution characteristics of vacuum packaging particles in the transparent area of ​​the product packaging bag, the problem of low product identification reliability in the existing technology is solved, and higher authenticity identification accuracy is achieved.

CN118799583APending Publication Date: 2024-10-18CHINA MOBILE M2M +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311461761.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The reliability of product identification in the existing technology is low, and the graphic code is easily tampered with, resulting in inaccurate identification of authenticity.

Method used

The identification is carried out through the random distribution characteristics of the vacuum-packed particles in the transparent area of ​​the product packaging bag, and the random distribution characteristics of the factory photos and the taken photos are compared to determine the authenticity of the product.

Benefits of technology

It improves the reliability of product authenticity identification, reduces the chance of being tampered with, and enhances the accuracy of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799583A_ABST
    Figure CN118799583A_ABST
Patent Text Reader

Abstract

The invention discloses a product identification method and device, equipment, a storage medium and a program product. The method can be applied to first electronic equipment, product information of a first product is stored in the first electronic equipment, and the product information comprises a factory photo of the first product. The first product is a vacuumized packaging product of a first particulate matter, and a packaging bag of the first product has a transparent area; the method comprises the following steps: receiving a shot picture of a first product sent by second electronic equipment; performing picture processing on the shot picture of the first product to obtain a first random distribution feature of the particulate matters in the transparent area; according to the first random distribution feature and a second random distribution feature, the authenticity identification result of the first product is sent to the second electronic device, and the second random distribution feature is the random distribution feature of the particulate matter in the transparent area determined based on the factory photo of the first product. The reliability of product identification can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to a product identification method, device, equipment, storage medium and program product. Background Art

[0002] Currently, the market is flooded with counterfeit and shoddy goods, which has become a serious social problem. Therefore, it is urgent to provide a method for identifying the authenticity of products.

[0003] In the prior art, the authenticity of a product can be identified by a graphic code on a product packaging bag. However, the graphic code used for authenticity identification may also be tampered with, resulting in low reliability of product identification. Summary of the invention

[0004] The embodiments of the present application provide a product identification method, device, equipment, storage medium and program product, which can solve the problem of low reliability of product identification in the prior art.

[0005] In a first aspect, an embodiment of the present application provides a product identification method, which is applied to a first electronic device, wherein the first electronic device stores product information of a first product, wherein the product information includes a factory photo of the first product; the first product is a vacuum-packed product of a first particle, and a packaging bag of the first product has a transparent area; the method comprises:

[0006] Receiving a photograph of the first product sent by a second electronic device;

[0007] Performing image processing on the photograph of the first product to obtain a first random distribution feature of particles in the transparent area;

[0008] The authenticity identification result of the first product is sent to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is a random distribution feature of particles in the transparent area determined based on the factory photo of the first product.

[0009] In a second aspect, an embodiment of the present application provides a product identification method, which is applied to a product packaging system, including:

[0010] obtaining a first particle;

[0011] The first particulate matter is vacuum-packaged in a packaging bag having a transparent area to obtain a first product, wherein the random distribution feature of the particulate matter in the transparent area is a second random distribution feature;

[0012] The product information of the first product is sent to a first electronic device, wherein the product information includes a factory photo of the first product.

[0013] In a third aspect, an embodiment of the present application provides a product identification device, wherein the device stores product information of a first product, wherein the product information includes a factory photo of the first product; the first product is a vacuum-packed product of a first particle, and a transparent area exists in the packaging bag of the first product; the device comprises:

[0014] A receiving module, used for receiving the photograph of the first product sent by a second electronic device;

[0015] A first processing module, configured to process the photograph of the first product to obtain a first random distribution feature of particles in the transparent area;

[0016] The first sending module is used to send the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is the random distribution feature of the particles in the transparent area determined based on the factory photo of the first product.

[0017] In a fourth aspect, an embodiment of the present application provides a product identification device, including:

[0018] A first acquisition module, used for acquiring first particles;

[0019] A packaging module, used for vacuum packaging the first particulate matter through a packaging bag having a transparent area to obtain a first product, wherein the random distribution characteristic of the particulate matter in the transparent area is a second random distribution characteristic;

[0020] The third sending module is used to send product information of the first product to the first electronic device, wherein the product information includes a factory photo of the first product.

[0021] In a fifth aspect, an embodiment of the present application provides a product identification device, the device comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the product identification method as described in the first aspect or the second aspect is implemented.

[0022] In a sixth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the product identification method as described in the first aspect or the second aspect is implemented.

[0023] In a seventh aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the product identification method as described in the first aspect or the second aspect.

[0024] In the embodiment of the present application, after receiving the photograph of the first product, the image processing can be performed to obtain the first random distribution characteristics of the particles in the transparent area of ​​the packaging bag of the first product. After that, the authenticity identification result of the first product can be determined based on the first random distribution characteristics and the second random distribution characteristics of the particles in the transparent area determined based on the factory photo of the first product. It can be seen that the embodiment of the present application performs the authenticity identification of the product through the random distribution characteristics of the particles in the transparent area of ​​the packaging bag of the product. Since the distribution of the particles is random, the probability of tampering is small, thereby improving the reliability of the authenticity identification of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 is a system architecture diagram applicable to the embodiments of the present application;

[0027] Figure 2 This is one of the flow charts of the product identification method provided in the embodiment of the present application;

[0028] Figure 3 This is the second flowchart of the product identification method provided in the embodiment of the present application;

[0029] Figure 4 This is the third flowchart of the product identification method provided in the embodiment of the present application;

[0030] Figure 5 It is one of the structural diagrams of the product identification device provided in the embodiment of the present application;

[0031] Figure 6 This is the second structural diagram of the product identification device provided in the embodiment of the present application;

[0032] Figure 7 It is a structural diagram of a product identification device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0034] It should be noted that, in this article, 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", "comprise" 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. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0035] For ease of understanding, some contents involved in the embodiments of the present application are described below:

[0036] Figure 1 This is a system architecture that can be applied in the embodiments of the present application, such as Figure 1 As shown, the system architecture may include: a user terminal 10, a cloud service platform 20 and a product packaging system 30. The cloud service platform 20 may communicate with the user terminal 10 and the product packaging system 30 respectively.

[0037] The product packaging system 30 can be used to: vacuum-pack the particles using a packaging bag with a transparent area to obtain a product; take factory photos of the product; and send product information of the product to the cloud service platform 20, where the product information can at least include the factory photos of the product.

[0038] The cloud service platform 20 can be used to: store product information of each product; identify products, such as authenticity identification, shelf life identification, etc.

[0039] The user terminal 10 can be used to take photos of the products when product identification is required, and upload the taken photos of the products to the cloud service platform 20 for the cloud service platform 20 to identify the products.

[0040] The product identification method provided in the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.

[0041] See also Figure 2 , Figure 2 This is one of the flow charts of the product identification method provided in the embodiment of the present application. Figure 2 The product identification method shown can be applied to a first electronic device, that is, executed by the first electronic device. The first electronic device can be Figure 1 The cloud service platform 20 is described herein, but is not limited thereto.

[0042] The first electronic device stores product information of at least one product, and the at least one product includes a first product. The product information of the first product includes at least a factory photo of the first product. The first product is a vacuum-packed product of a first particle, and a transparent area exists in the packaging bag of the first product. Furthermore, the packaging bag of the first product may be a transparent packaging bag. The embodiments of the present application do not limit the specific form of the first particle. In some embodiments, the first particle may be a grain, such as wheat, beans, rice, feed, etc.; in other embodiments, the first particle may be jewelry, such as pearls, gold beans, etc.

[0043] like Figure 2 As shown, the product identification method may include the following steps:

[0044] Step 201: receiving a photograph of the first product sent by a second electronic device.

[0045] The second electronic device may be Figure 1 In a specific implementation, when the user needs to identify the authenticity of the first product, the user can use the second electronic device to take a photo of the first product to obtain a photo of the first product. Afterwards, the second electronic device sends the photo to the first electronic device to trigger the first electronic device to identify the first product.

[0046] Since the photograph of the first product is used to identify the first product, in order to improve the reliability of product identification, when the user photographs the first product, the second electronic device can prompt the user of the shooting angle and shooting range of the first product. For example, the shooting frame of the photograph of the first product taken by the user can be made consistent with the frame of the packaging bag of the first product through prompting. In this way, the compliance of the photograph of the first product can be improved, thereby improving the reliability of product identification.

[0047] Step 202: Process the photograph of the first product to obtain a first random distribution feature of particles in the transparent area.

[0048] After receiving the photograph of the first product, the second electronic device can start the recognition process of the first product. In specific implementation, the photograph of the first product can be processed using image recognition technology to obtain the random distribution characteristics of the particles in the transparent area of ​​the packaging bag of the first product obtained by the user, that is, the first random distribution characteristics.

[0049] The embodiments of the present application do not limit the specific implementation process of image processing. Any image processing technology that can realize distribution feature extraction can fall within the protection scope of the embodiments of the present application.

[0050] Step 203: Send the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is a random distribution feature of particles in the transparent area determined based on the factory photo of the first product.

[0051] The second random distribution feature can be understood as the random distribution feature of particles in the transparent area of ​​the packaging bag when the first product leaves the factory, and can be obtained by performing image processing on the factory photos of the first product.

[0052] The embodiment of the present application does not limit the time of obtaining the second random distribution feature. In some embodiments, the second random distribution feature can be obtained after obtaining the factory photo of the first product, that is, by performing image processing on the factory photo of the first product. In this embodiment, the second random distribution feature can be stored as the product information of the first product. In this way, the authenticity of the first product can be identified by directly calling the second random distribution feature, which can improve the authenticity identification rate.

[0053] In other embodiments, the second randomly distributed feature can be obtained by performing image processing on the factory photo of the first product after receiving the photo of the first product and initiating the identification process of the first product. In this way, it is possible to avoid obtaining the second randomly distributed feature when there is no need to authenticate the first product, thereby reducing the operational burden.

[0054] In the embodiments of the present application, taking into account the randomness of particle distribution during product packaging, the random distribution characteristics of particles in the transparent area of ​​the product packaging bag can be used as the unique fingerprint of the product. In this way, the authenticity of the product can be identified by using the random distribution characteristics, which can improve the reliability of authenticity identification.

[0055] In a specific implementation, after the first random distribution feature and the second random distribution feature are obtained, the first random distribution feature and the second random distribution feature can be used to determine the authenticity identification result of the first product obtained by the user.

[0056] In some embodiments, the similarity between the first random distribution feature and the second random distribution feature can be obtained, and based on the similarity, the authenticity identification result of the first product is determined. Specifically, when the similarity is greater than a first threshold, the authenticity identification result of the first product is determined to be: a real product; when the similarity is less than or equal to the first threshold, the authenticity identification result of the first product is determined to be: a counterfeit product. The first threshold can be set according to actual needs, such as 0.7, but is not limited thereto.

[0057] In other embodiments, the degree of match between the photographed photo of the first product and the factory photo can be determined based on the first random distribution feature and the second random distribution feature, and the authenticity identification result of the first product can be determined based on the degree of match. Specifically, when the degree of match is greater than the matching threshold, the authenticity identification result of the first product is determined to be: a real product; when the degree of match is less than or equal to the matching threshold, the authenticity identification result of the first product is determined to be: a counterfeit product. The matching threshold can be set according to actual needs, such as 0.8, but is not limited thereto.

[0058] The product identification method of this embodiment can process the image after receiving the photograph of the first product to obtain the first random distribution feature of the particles in the transparent area of ​​the packaging bag of the first product. Then, the authenticity identification result of the first product can be determined based on the first random distribution feature and the second random distribution feature of the particles in the transparent area determined based on the factory photo of the first product. It can be seen that the embodiment of the present application performs product authenticity identification through the random distribution feature of the particles in the transparent area of ​​the packaging bag of the product. Since the distribution of the particles is random, the probability of tampering is small, thereby improving the reliability of product authenticity identification.

[0059] The first product of the embodiment of the present application is described below.

[0060] In some embodiments, the first particulate matter can be vacuum-packaged in a packaging bag having a transparent area to obtain a first product.

[0061] In this embodiment, the first product may include only the first particles.

[0062] In other embodiments, the first product can be obtained by vacuum packaging the first proportion of the first dyed particles and the second proportion of the first undyed particles in a packaging bag having a transparent area.

[0063] In this embodiment, the first product includes a first ratio of dyed first particles and a second ratio of undyed first particles. The sum of the first ratio and the second ratio can be equal to 1, and the first ratio and the second ratio can be set according to actual needs, such as the first ratio can be 2%.

[0064] The dyed first particulate matter can be obtained by dyeing with a dye, and the color of the dyed first particulate matter is different from the color of the dyed first particulate matter. For example, when the first particulate matter is rice, the dye can be a red dye. The dye can be an edible dye, a water-soluble dye, or the like that does not affect other characteristics of the first particulate matter except the surface color.

[0065] In this embodiment, the random distribution characteristics of the particles can be the random distribution characteristics of the dyed first particles, that is, the random distribution characteristics of the dyed first particles in the transparent area of ​​the product packaging bag can be used as the unique fingerprint of the product. Since the color of the dyed first particles is different from that of the undyed first particles, the first electronic device can more accurately identify the random distribution characteristics of the dyed first particles, thereby improving the reliability of authenticity identification.

[0066] Furthermore, the color value of the first dyed particles may be related to the dyeing time, that is, the color value of the first dyed particles may change with time. Therefore, the shelf life of the product can be identified by the color value of the first dyed particles.

[0067] Optionally, the product information of the first product further includes: a target color value of the dyed first particle when the first particle expires;

[0068] After receiving the photograph of the first product sent by the second electronic device, the method further includes:

[0069] Performing image processing on the photograph of the first product to obtain a first color value of the first particles dyed in the transparent area;

[0070] The shelf life recognition result of the first product is sent to the second electronic device according to the first color value and the target color value.

[0071] The target color value can be obtained based on experiments.

[0072] In specific implementation, when the difference between the first color value and the target color value is less than or equal to the second preset value, the shelf life recognition result of the first product can be determined as: not expired, within the shelf life. When the difference between the first color value and the target color value is greater than the second preset value, the shelf life recognition result of the first product can be determined as: expired, outside the shelf life.

[0073] The second threshold value may be set based on demand, for example, the second threshold value may be 0, or 0.1, etc.

[0074] In this optional embodiment, the shelf life identification result of the first product can be achieved by obtaining the first color value of the first particles dyed in the transparent area in the photograph of the first product and comparing it with the target color value. In this way, the reliability of product shelf life identification can be improved.

[0075] In other embodiments, the first product can be obtained by vacuum packaging the first particles in a third ratio and the second particles in a fourth ratio in a packaging bag having a transparent area.

[0076] In this embodiment, the first product includes the first particles in a third ratio and the second particles in a fourth ratio. The sum of the third ratio and the fourth ratio may be equal to 1, and the third ratio and the fourth ratio may be set according to actual needs, such as the fourth ratio may be 2%.

[0077] The first product is mixed with a second particle, and the second particle has at least one different feature from the first particle, so that the first particle and the second particle can be distinguished, for example, the second particle and the first particle can have at least one different feature: color, shape, etc.

[0078] In this embodiment, the random distribution characteristics of the particles can be the random distribution characteristics of the second particles, that is, the random distribution characteristics of the second particles in the transparent area of ​​the product packaging bag can be used as the unique fingerprint of the product. Since the second particles have characteristics different from the first particles, the first electronic device can more accurately identify the random distribution characteristics of the second particles, thereby improving the reliability of authenticity identification.

[0079] The implementation of step 103 is described below.

[0080] In some embodiments, sending the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature may include:

[0081] Generating a first fingerprint character string corresponding to the first randomly distributed feature;

[0082] Generating a second fingerprint character string corresponding to the second random distribution feature;

[0083] The authenticity identification result of the first product is sent to the second electronic device according to the first fingerprint character string and the second fingerprint character string.

[0084] In specific implementation, the perceptual hash algorithm (pHash) can be used to generate a hash value of a randomly distributed feature, that is, a fingerprint string.

[0085] In some implementations, the authenticity identification result of the first product may be determined by calculating the Hamming distance between the first fingerprint string and the second fingerprint string.

[0086] The Hamming distance between the first fingerprint string and the second fingerprint string can represent the similarity between the factory photo and the taken photo of the first product. The smaller the Hamming distance between the first fingerprint string and the second fingerprint string, the greater the similarity between the two photos, and vice versa.

[0087] Therefore, in this embodiment, the authenticity identification result of the first product can be determined based on the comparison result of the Hamming distance and the distance threshold. Specifically, when the Hamming distance is less than or equal to the distance threshold, the authenticity identification result of the first product is determined to be: a real product; when the Hamming distance is greater than the distance threshold, the authenticity identification result of the first product is determined to be: a counterfeit product.

[0088] In other embodiments, a first degree of match between the photographed photo and the factory photo of the first product can be determined based on the first fingerprint character string and the second fingerprint character string; then, based on a comparison result of the first degree of match and a matching threshold, an authenticity identification result of the first product can be sent to the second electronic device; wherein, when the comparison result is that the first degree of match is greater than the matching threshold, the authenticity identification result is that the first product is a genuine product; and when the comparison result is that the first degree of match is less than or equal to the matching threshold, the authenticity identification result is that the first product is a counterfeit product.

[0089] In a specific implementation, the matching degree of the two photos may be determined by calculating the Hamming distance between the first fingerprint string and the second fingerprint string.

[0090] In some implementations, the correspondence between the Hamming distance and the matching degree may be preset. In this implementation, after the Hamming distance between the two fingerprint strings is calculated, the first matching degree may be determined by searching for the correspondence.

[0091] In some other implementations, the matching degree r between two photos can be calculated by formula (1):

[0092] r=(1-d / l)*100% (1)

[0093] Wherein, d is the Hamming distance between two fingerprint strings; l is the string length of the fingerprint string corresponding to the product photo.

[0094] After determining the first matching degree, the first matching degree can be compared with a matching threshold, and the authenticity identification result of the first product can be determined based on the comparison result. The matching threshold can be set according to actual needs, such as 80%, but is not limited thereto.

[0095] In the above manner, the authenticity identification result of the first product is determined by using the fingerprint character strings corresponding to the factory photo and the photographed photo of the first product, thereby improving the reliability of product authenticity identification.

[0096] Figure 3 This is the second flowchart of the product identification method provided in the embodiment of the present application. Figure 3 The product identification method shown can be applied to product packaging systems. Figure 3 As shown, the product identification method may include the following steps:

[0097] Step 301, obtaining first particles.

[0098] Step 302 , vacuum-packing the first particulate matter in a packaging bag having a transparent area to obtain a first product, wherein the random distribution characteristic of the particulate matter in the transparent area is a second random distribution characteristic.

[0099] Step 303: Send product information of the first product to a first electronic device, wherein the product information includes a factory photo of the first product.

[0100] In the product identification method of the embodiment of the present application, the random distribution characteristics of particles in the transparent area of ​​the packaging bag of the first product are the second random distribution characteristics. By sending the factory photo of the first product to the first electronic device, the first electronic device can obtain the second random distribution characteristics based on the factory photo. In this way, the second random distribution characteristics can be used to identify the first product, thereby improving the reliability of product identification.

[0101] In some embodiments, after obtaining the first granules, before vacuum packaging the first granules in a packaging bag having a transparent area to obtain the first product, the method further includes:

[0102] dyeing the first particles of a first proportion by a dye to obtain the first particles of a first proportion that are dyed, wherein the color value of the dyed first particles is related to the dyeing time;

[0103] The step of vacuum packaging the first granules in a packaging bag having a transparent area to obtain a first product comprises:

[0104] Vacuum-packing the first-proportion of the first dyed particles and the second-proportion of the first undyed particles in a packaging bag having a transparent area to obtain a first product;

[0105] The second random distribution feature is a random distribution feature of the first dyed particles; the product information also includes: a target color value of the first dyed particles when the first particles are expired.

[0106] In this embodiment, further, after the first product is obtained by vacuum packaging the first proportion of the first dyed particles and the second proportion of the first undyed particles in a packaging bag having a transparent area, the method may further include:

[0107] A target color value is printed on the packaging bag of the first product, where the target color value is the color value of the dyed first particulate matter when the first particulate matter is expired.

[0108] In this way, the user can judge whether the first product is expired by observing and comparing the color value of the first particles dyed in the transparent area and the target color value printed on the packaging bag. In this way, the ways of identifying the shelf life of the product can be enriched and the reliability of identifying the shelf life of the product can be further improved.

[0109] In some embodiments, after obtaining the first granules, before vacuum packaging the first granules in a packaging bag having a transparent area to obtain the first product, the method further includes:

[0110] Acquire a second particle, wherein the second particle has at least one different characteristic from the first particle;

[0111] The step of vacuum packaging the first granules in a packaging bag having a transparent area to obtain a first product comprises:

[0112] Vacuum-packing the first particles in a third ratio and the second particles in a fourth ratio in a packaging bag having a transparent area to obtain a first product;

[0113] The second random distribution characteristic is a random distribution characteristic of the second particles.

[0114] It should be noted that this embodiment is an embodiment of a product packaging system corresponding to the above method embodiment, and therefore, reference may be made to the relevant description in the above method embodiment, and the same beneficial effects can be achieved. To avoid repeated description, it will not be repeated here.

[0115] In addition, the second electronic device can also obtain the factory photos of the first product from the first electronic device. In this way, the user can observe and compare the factory photos of the first product and the first product actually seen, and identify the authenticity and / or shelf life of the first product. In this way, the product identification methods can be enriched and the reliability of product identification can be further improved.

[0116] It should be noted that the various optional implementation modes introduced in the embodiments of the present application can be implemented in combination with each other or separately if they do not conflict with each other, and the embodiments of the present application are not limited to this.

[0117] In addition, the product identification method of the embodiment of the present application can be implemented in combination with a graphic code. For ease of understanding, an example is provided below:

[0118] The specific steps of this example are as follows:

[0119] 1. The grain packaging system can dye a certain proportion (2%) of grain particles with edible dyes, and then pack them together with normal grains in transparent bags and evacuate them. After evacuation, the colored grain particles will be randomly distributed and fixed in position. Due to the randomness of the particle distribution, each bag has a unique random distribution feature.

[0120] 2. Each bag of grain is assigned a unique identifier. The grain packaging system prints a graphic code with a unique identifier on the grain bag, such as a QR code.

[0121] 3. The grain packaging system prints a color pattern of color contrast on the grain bag, wherein the color pattern of color contrast is the color value of the dye when the grain is expired, that is, the target color value. The shelf life of the dye can be greater than the shelf life of the grain.

[0122] 4. The grain packaging system takes photos of both sides of the bag directly above the packaging bag, uploads the photos to the food security cloud service platform, and saves the basic information of the bag of grain for query and analysis. The basic information may include associated graphic codes, color patterns of color contrast, and factory photos.

[0123] 5. After the grain packaging bags are completed, they are circulated in the market for sale.

[0124] 6. The user uses a scanning device (mobile phone) to scan the QR code on the grain packaging bag.

[0125] If there is no recognition result after scanning the code, or if the designated food safety cloud service platform query page is not redirected, the user can judge it as counterfeit food.

[0126] If you scan the QR code and are successfully redirected to the designated food security cloud service platform query page, the cloud platform can query product information based on the food packaging bag logo on the QR code.

[0127] If the product information is not obtained, a warning reminder of expiration or non-existence is returned.

[0128] If the basic information of the product is successfully obtained, it can be determined whether it is expired based on the color value of the dyed grain in the photo uploaded by the user and the color pattern of the color contrast.

[0129] If it is determined to be expired, a warning reminder will be returned, and a complaint and reporting link will be prompted.

[0130] 7. If it is not expired. In one way, users can view the archived pictures of the product packaging bags and compare them with the distribution of colored grain particles in the packaging bags. Users can judge the authenticity by themselves. In another way, users can take and upload pictures of the front and back of the products they want to buy as required, upload them to the food security cloud service platform, and the system will compare and analyze the pictures and give conclusion prompts.

[0131] 8. The end user can compare the color value printed on the packaging bag with the color value of the dyed grain to determine whether it is expired.

[0132] 9. The user determines that the food is not counterfeit and is within the shelf life, and purchases the product.

[0133] 10. The food security cloud service platform can preset a time period after a product expires, such as archiving product information after 6 months, no longer supporting user inquiries, and deleting image archive data to save storage space.

[0134] For easier understanding, see Figure 4 .

[0135] The core point of this example is the random distribution of grain grains in bags. Counterfeit goods cannot achieve the same distribution of all grains in the bags as the original goods. Counterfeiting is only a theoretical possibility, and the manufacturer's anti-counterfeiting cost is greatly reduced. To prevent the counterfeiter from hijacking the QR code, the domain name prompt can be printed on the packaging bag, or the user can directly follow the mini program to scan the code.

[0136] 5. You can use the image comparison algorithm to identify the product. The image comparison algorithm can be implemented using the perceptual hash algorithm (pHash). The function of this algorithm is to generate a fingerprint string for the image to be compared, and compare the Hamming distance of the fingerprint strings of different images. The smaller the value, the more similar the images are.

[0137] (1) When calculating the hash value, the image size can be adjusted to a preset value, such as 64*64. The larger the value, the more accurate the image comparison result, but the efficiency will be reduced;

[0138] (2) The percentage value is obtained by formula (1) to measure the image matching degree.

[0139] (3) The algorithm is simple to implement, but has high requirements for the pictures taken. Therefore, when users take pictures of products, the system can prompt users to shoot at a specific angle and limit the shooting frame ratio according to system requirements, so that the product bag frame is consistent with the shooting frame to improve accuracy. In the actual implementation process, other more appropriate image processing technologies and comparison algorithms can be used to reduce the difficulty of user use and improve calculation accuracy.

[0140] This solution can effectively ensure the sales safety of grains (wheat, beans, rice, feed, etc.) in granular bags. The possibility of successful counterfeiting is only theoretical. At the same time, the implementation difficulty is small and the cost is relatively controllable. It can also be applied to other food safety fields.

[0141] Based on the product identification method provided in the above embodiment, the present application also provides a specific implementation of a product identification device. Please refer to the following embodiment.

[0142] See also Figure 5 , the product identification device provided in the embodiment of the present application may include:

[0143] Receiving module 501, used for receiving the photograph of the first product sent by the second electronic device;

[0144] A first processing module 502 is used to process the photograph of the first product to obtain a first random distribution feature of particles in the transparent area;

[0145] The first sending module 503 is used to send the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is the random distribution feature of the particles in the transparent area determined based on the factory photo of the first product.

[0146] In some embodiments, the first product includes a first proportion of the first particles that are dyed, and a second proportion of the first particles that are not dyed; the random distribution characteristics of the particles are the random distribution characteristics of the first particles that are dyed;

[0147] or,

[0148] The first product includes the first particles in a third ratio and the second particles in a fourth ratio, the second particles having at least one different characteristic from the first particles; the random distribution characteristic of the particles is the random distribution characteristic of the second particles.

[0149] In some embodiments, the first sending module includes:

[0150] A first generating unit, configured to generate a first fingerprint character string corresponding to the first random distribution feature;

[0151] A second generating unit, used to generate a second fingerprint character string corresponding to the second random distribution feature;

[0152] The sending unit is used to send the authenticity identification result of the first product to the second electronic device according to the first fingerprint character string and the second fingerprint character string.

[0153] In some embodiments, when the first product includes a first proportion of the first dyed particles and a second proportion of the first undyed particles, the color value of the dyed first particles is related to the dyeing time; the product information of the first product further includes: a target color value of the dyed first particles when the first particles are expired;

[0154] Also includes:

[0155] A second processing module is used to process the photograph of the first product to obtain a first color value of the first particle dyed in the transparent area;

[0156] The second sending module is used to send the shelf life recognition result of the first product to the second electronic device according to the first color value and the target color value.

[0157] The product identification device provided in the embodiment of the present application can achieve Figure 2 The various processes implemented by the product identification device in the method embodiment will not be described again here to avoid repetition.

[0158] See also Figure 6 , the product identification device provided in the embodiment of the present application may include:

[0159] A first acquisition module 601 is used to acquire first particles;

[0160] A packaging module 602 is used to vacuum-pack the first particulate matter in a packaging bag having a transparent area to obtain a first product, wherein the random distribution feature of the particulate matter in the transparent area is a second random distribution feature;

[0161] The third sending module 603 is used to send the product information of the first product to the first electronic device, wherein the product information includes a factory photo of the first product.

[0162] In some embodiments, it also includes:

[0163] a dyeing module, used for dyeing the first particulate matter of a first proportion by a dye to obtain the first particulate matter of a first proportion that is dyed, wherein the color value of the dyed first particulate matter is related to the dyeing time;

[0164] The packaging module is used to:

[0165] Vacuum-packing the first-proportion of the first dyed particles and the second-proportion of the first undyed particles in a packaging bag having a transparent area to obtain a first product;

[0166] The second random distribution feature is a random distribution feature of the first dyed particles; the product information also includes: a target color value of the first dyed particles when the first particles are expired.

[0167] In some embodiments, it also includes:

[0168] The printing module is used to print a target color value on the packaging bag of the first product, where the target color value is the color value of the dyed first particle when the first particle is expired.

[0169] In some embodiments, it also includes:

[0170] A second acquisition module, used to acquire second particles, where the second particles have at least one different feature from the first particles;

[0171] The packaging module is used to:

[0172] Vacuum-packing the first particles in a third ratio and the second particles in a fourth ratio in a packaging bag having a transparent area to obtain a first product;

[0173] The second random distribution characteristic is a random distribution characteristic of the second particles.

[0174] The product identification device provided in the embodiment of the present application can achieve Figure 3 The various processes implemented by the product identification device in the method embodiment will not be described again here to avoid repetition.

[0175] Figure 7 A hardware structure diagram of product identification provided in an embodiment of the present application is shown.

[0176] The product identification device may include a processor 701 and a memory 702 storing computer program instructions.

[0177] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0178] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 702 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 702 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 702 is a non-volatile solid-state memory.

[0179] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0180] The processor 701 implements any one of the product identification methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .

[0181] In one example, the product identification device may further include a communication interface 707 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 707 are connected via a bus 710 and communicate with each other.

[0182] The communication interface 707 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0183] Bus 710 includes hardware, software or both, and the parts of product identification equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0184] In addition, in combination with the product identification method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the product identification methods in the above embodiment is implemented.

[0185] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0186] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0187] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0188] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0189] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A product identification method, characterized in that: Applied to a first electronic device, the first electronic device stores product information of a first product, the product information includes a factory photo of the first product; the first product is a vacuum-packed product of first particles, and the packaging bag of the first product has a transparent area; the method includes: Receiving a photograph of the first product sent by a second electronic device; Performing image processing on the photograph of the first product to obtain a first random distribution feature of particles in the transparent area; The authenticity identification result of the first product is sent to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is a random distribution feature of particles in the transparent area determined based on the factory photo of the first product.

2. The method according to claim 1, characterized in that The first product includes a first proportion of the first dyed particles and a second proportion of the first undyed particles; the random distribution characteristics of the particles are the random distribution characteristics of the first dyed particles; or, The first product includes the first particles in a third ratio and the second particles in a fourth ratio, the second particles having at least one different characteristic from the first particles; the random distribution characteristic of the particles is the random distribution characteristic of the second particles.

3. The method according to claim 1, characterized in that The sending the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature includes: Generating a first fingerprint character string corresponding to the first randomly distributed feature; Generating a second fingerprint character string corresponding to the second random distribution feature; The authenticity identification result of the first product is sent to the second electronic device according to the first fingerprint character string and the second fingerprint character string.

4. The method according to any one of claims 1 to 3, characterized in that In the case where the first product includes a first proportion of the first dyed particles and a second proportion of the first undyed particles, the color value of the dyed first particles is related to the dyeing time; The product information of the first product also includes: a target color value of the dyed first particle when the first particle expires; After receiving the photograph of the first product sent by the second electronic device, the method further includes: Performing image processing on the photograph of the first product to obtain a first color value of the first particles dyed in the transparent area; The shelf life recognition result of the first product is sent to the second electronic device according to the first color value and the target color value.

5. A product identification method, characterized in that: Applied to product packaging systems, including: obtaining a first particle; The first particulate matter is vacuum-packaged in a packaging bag having a transparent area to obtain a first product, wherein the random distribution feature of the particulate matter in the transparent area is a second random distribution feature; The product information of the first product is sent to a first electronic device, wherein the product information includes a factory photo of the first product.

6. The method according to claim 5, characterized in that After obtaining the first granules, vacuum packaging the first granules in a packaging bag having a transparent area, and before obtaining the first product, the method further includes: dyeing the first particles of a first proportion by a dye to obtain the first particles of a first proportion that are dyed, wherein the color value of the dyed first particles is related to the dyeing time; The step of vacuum packaging the first granules in a packaging bag having a transparent area to obtain a first product comprises: Vacuum-packing the first-proportion of the first dyed particles and the second-proportion of the first undyed particles in a packaging bag having a transparent area to obtain a first product; The second random distribution feature is a random distribution feature of the first dyed particles; the product information also includes: a target color value of the first dyed particles when the first particles are expired.

7. The method according to claim 6, characterized in that After the first product is obtained by vacuum packaging the first proportion of the first dyed particles and the second proportion of the first undyed particles in a packaging bag having a transparent area, the method further comprises: A target color value is printed on the packaging bag of the first product, where the target color value is the color value of the dyed first particulate matter when the first particulate matter is expired.

8. The method according to claim 5, characterized in that After obtaining the first granules, vacuum packaging the first granules in a packaging bag having a transparent area, and before obtaining the first product, the method further includes: Acquire a second particle, wherein the second particle has at least one different characteristic from the first particle; The step of vacuum packaging the first granules in a packaging bag having a transparent area to obtain a first product comprises: Vacuum-packing the first particles in a third ratio and the second particles in a fourth ratio in a packaging bag having a transparent area to obtain a first product; The second random distribution characteristic is a random distribution characteristic of the second particles.

9. A product identification device, characterized in that: The product identification device stores product information of a first product, wherein the product information includes a factory photo of the first product; the first product is a vacuum-packed product of first particles, and a transparent area exists in the packaging bag of the first product; the device includes: A receiving module, used for receiving the photograph of the first product sent by a second electronic device; A first processing module, configured to process the photograph of the first product to obtain a first random distribution feature of particles in the transparent area; The first sending module is used to send the authenticity identification result of the first product to the second electronic device according to the first random distribution feature and the second random distribution feature, wherein the second random distribution feature is the random distribution feature of the particles in the transparent area determined based on the factory photo of the first product.

10. A product identification device, characterized in that: include: A first acquisition module, used for acquiring first particles; A packaging module, used for vacuum packaging the first particulate matter through a packaging bag having a transparent area to obtain a first product, wherein the random distribution characteristic of the particulate matter in the transparent area is a second random distribution characteristic; The third sending module is used to send product information of the first product to the first electronic device, wherein the product information includes a factory photo of the first product.

11. A product identification device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the product identification method according to any one of claims 1 to 4 is implemented; or, the product identification method according to any one of claims 5 to 8 is implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the product identification method according to any one of claims 1 to 4 is implemented; or the product identification method according to any one of claims 5 to 8 is implemented.

13. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the product identification method as described in any one of claims 1 to 4; or, the product identification method as described in any one of claims 5 to 8.

Citation Information

Patent Citations

  • Production method for food packaging box providing convenience for distinguishing expiring

    CN108891740A

  • Article comprising fluorescently labeled particles and identification method thereof

    CN114450578A

  • Commodity Internet of Things anti-fake traceability system capable of taking natural characteristic pictures

    CN202795434U

  • Method and device for verifying product authenticity

    WO2021179157A1

  • Methods for authenticating goods using randomly distributed flecks and serialization codes

    WO2022271218A1