Two-dimensional code anti-counterfeiting method and device based on identification information, and storage medium

A technology of identification information and two-dimensional code, applied in the field of device, storage medium, and two-dimensional code anti-counterfeiting method based on identification information, can solve the problems of complicated operation, unsatisfactory, high cost, and achieve cost reduction, good integrity, and application Scene Unlimited Effects

Pending Publication Date: 2022-04-12
深圳市祯源科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of the mobile Internet, two-dimensional code technology is used in many application scenarios. At present, two-dimensional code technology has been applied to commodity anti-counterfeiting and traceability. The existing technology usually adopts the following technical solutions to meet the needs of commodity anti-counterfeiting and traceability: 1. An encrypted string is encoded in the QR code, and a cover-up verification code is printed next to the QR code. When customers perform product anti-counterfeiting and traceability operations, they must first purchase the product and then erase the cover layer to obtain the verification code. Scan the two-dimensional code with a smartphone. The two-dimensional code decrypts the encrypted string, and compares the verification code and the encrypted string to realize the anti-counterfeiting and traceability of the product. This technical solution cannot meet the needs of customers to verify the authenticity before purchasing, and the application scenarios are subject to many restrictions; Encode an identification ID in the code, print a random characteristic pattern next to the two-dimensional code as a verification map, and store the verification map in the system at the same time. When performing product anti-counterfeiting and traceability operations, use a smartphone to scan the two-dimensional code to identify the corresponding product. System archive verification map, take photos of random characteristic patterns to obtain verification maps, and compare system archive verification maps with verification maps to realize product anti-counterfeiting and traceability. This technical solution requires special printing processes and materials to make verification maps and store them in the system at the same time Massive corresponding archive verification diagrams, high cost and cumbersome operation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Two-dimensional code anti-counterfeiting method and device based on identification information, and storage medium
  • Two-dimensional code anti-counterfeiting method and device based on identification information, and storage medium
  • Two-dimensional code anti-counterfeiting method and device based on identification information, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] figure 1 It shows the flow chart of the two-dimensional code anti-counterfeiting method based on the identification information of the present invention, and the two-dimensional code anti-counterfeiting method based on the identification information includes the following steps:

[0049] S1. The standard two-dimensional code encoding tool generates a standard two-dimensional code image according to the product identification ID and the URL address of the anti-counterfeiting system.

[0050] First start the standard two-dimensional code coding tool, set the product identification ID to be generated, the URL address of the anti-counterfeiting system, and generate a standard two-dimensional code image.

[0051] S2. An anti-counterfeit watermark image generation algorithm generates an anti-counterfeit watermark image according to the anti-counterfeit identification information.

[0052] The anti-counterfeiting watermark image generation algorithm obtains the size of the st...

Embodiment 2

[0074] The difference between this embodiment and Embodiment 1 is: in step S2, the grayscale image is divided into N blocks, N>=2, preferably N=8, and image watermarking technology is used to embed commodity identification ID in each block Associated anti-counterfeiting identification information.

[0075] In step S31, the anti-counterfeiting watermark image is reversibly and losslessly transformed into N blocks of areas, and converted into a safe anti-counterfeiting watermark image, and a volatile feature is added to each area to set the anti-copying security level and improve the anti-counterfeiting two-dimensional Anti-copying of coded images.

[0076] On the basis of Embodiment 1, this embodiment adds volatile features, improves the overall anti-copying performance of the anti-counterfeiting two-dimensional code, and sets the anti-copying security level, which can be set according to actual needs.

Embodiment 3

[0078] In this embodiment, on the basis of embodiment 2, the calculation of the degree of loss of volatile characteristics is added to improve the anti-copying property, and the anti-copying security level can be set in this way, and the substantial differences from embodiment 2 are as follows: figure 2 As shown: step S5 is changed accordingly, and the changed step S5 is recorded as step S5'. In step S5', on the basis of step S5, set the permissible threshold of volatile feature loss degree, and use the anti-counterfeiting watermark recognition algorithm to calculate the volatile feature loss degree of the security anti-counterfeiting watermark image, for example: the security anti-counterfeiting watermark image has N blocks of regions , calculate that there are m existing volatile features, and the loss degree of volatile features is equal to (N-m) / N. In step S5', the judgment of the degree of loss of volatile characteristics is also added, that is, when the anti-counterfeit...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a two-dimensional code anti-counterfeiting method and device based on identification information, and a storage medium, and belongs to the technical field of anti-counterfeiting technology and image processing, and the two-dimensional code anti-counterfeiting method comprises the steps: generating a standard two-dimensional code image according to a commodity identification ID and an anti-counterfeiting system URL address; generating an anti-counterfeiting watermark image according to the anti-counterfeiting mark information; overlapping and fusing the anti-counterfeiting watermark image in a blank area of the standard two-dimensional code image to generate an anti-counterfeiting two-dimensional code image; the anti-counterfeiting system receives an identification request sent by a user scanning the anti-counterfeiting two-dimensional code image and the anti-counterfeiting two-dimensional code image, and performs restoration processing on the anti-counterfeiting two-dimensional code image to obtain a safe anti-counterfeiting watermark image; analyzing the security anti-counterfeiting watermark image to obtain anti-counterfeiting mark information, and comparing the anti-counterfeiting mark information with data in an anti-counterfeiting system for verification; according to the method, the standard two-dimensional code image and the safe anti-counterfeiting watermark image are superposed and fused to generate the anti-counterfeiting two-dimensional code image, the standard two-dimensional code image and the safe anti-counterfeiting watermark image are combined into a whole, the appearance is consistent with that of a standard two-dimensional code, and better integrity is achieved.

Description

technical field [0001] The present invention relates to the fields of anti-counterfeiting technology and image processing technology, in particular to a two-dimensional code anti-counterfeiting method, device and storage medium based on identification information. Background technique [0002] With the development of the mobile Internet, two-dimensional code technology is used in many application scenarios. At present, two-dimensional code technology has been applied to commodity anti-counterfeiting and traceability. The existing technology usually adopts the following technical solutions to meet the needs of commodity anti-counterfeiting and traceability: 1. An encrypted string is encoded in the QR code, and a cover-up verification code is printed next to the QR code. When customers perform product anti-counterfeiting and traceability operations, they must first purchase the product and then erase the cover layer to obtain the verification code. Scan the two-dimensional code...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K19/06G06T1/00
Inventor 黄楚雄
Owner 深圳市祯源科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products