Two-dimensional code generation method and system and document anti-counterfeiting method and system

A two-dimensional code and document technology, applied in the field of anti-counterfeiting, can solve the problems of complicated operation and high cost, and achieve the effect of direct verification, simple application operation and enhanced vulnerability.

Pending Publication Date: 2021-03-26
TIANGU INFORMATION SCI TECH HANGZHOU
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This technology improves on existing methods used during printing processes such as barcodes or holograms. It reduces errors caused when generating codes from an incorrect position. By combining different types of coding sequences into one form, it becomes more difficult if there are multiple copies being made simultaneously. Additionally, this method allows users to easily modify certain aspects of the encoded image based upon their preferences rather than directly controlling any changes needed. Overall, these improvements make printed documents less prone to damage even after they have been duplicated over many years.

Problems solved by technology

Technically speaking, current methods involve adding special symbols onto documents like barcodes to make them harder to counterfeit without having access thereto. Anti-falsification techniques are expensive due to their complexity and require specific hardware devices.

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 generation method and system and document anti-counterfeiting method and system
  • Two-dimensional code generation method and system and document anti-counterfeiting method and system
  • Two-dimensional code generation method and system and document anti-counterfeiting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Embodiment 1, a method for generating a two-dimensional code, such as figure 1 shown, including the following steps:

[0062] S100. Obtain information to be stored, and obtain a matching two-dimensional code template based on the information to be stored;

[0063] Take the QR code as an example, it has 40 versions, different versions correspond to different capacities and sizes, from 21x21 (version 1) to 177x177 (version 40), and each version symbol has 4 more modules on each side than the previous version.

[0064] Selecting a suitable version based on the information to be stored belongs to the prior art, and the two-dimensional code template is the two-dimensional code template corresponding to the version, which will not be described in detail in this embodiment.

[0065] S200. Generate first encoded data corresponding to the two-dimensional code template based on the information to be stored, where the first encoded data includes a data code sequence and an error cor

Embodiment 2

[0090] Embodiment 2, a method for generating a two-dimensional code, making the size of the generated two-dimensional code consistent with the target size, which further improves step S100 in embodiment 1. In this embodiment, step S100 obtains the information to be stored, The specific implementation steps of obtaining a matching two-dimensional code template based on the information to be stored are as follows:

[0091] S110. Obtain the information to be stored and the preset target size;

[0092] S120. Acquire initial configuration information based on the information to be stored;

[0093] S130. Obtain a template size corresponding to the initial configuration information, where the initial configuration information includes a version number and an error correction level;

[0094] Select the appropriate version based on the information to be stored, and obtain the initial version number. The size of the QR code corresponding to each version is different. The size of the QR co

Embodiment 3

[0109] Embodiment 3: Add a color value modification step in step S400 of embodiment 1, and the rest are the same as embodiment 1. Step S400 is based on the specific steps of generating a corresponding two-dimensional code on the two-dimensional code template based on the data code sequence and the interference sequence as follows:

[0110] S410. Based on the data code sequence and the interference sequence, generate a corresponding color value verification two-dimensional code on the two-dimensional code template according to the preset RGBA data;

[0111] That is, according to the method described in steps S411 to S414 in Embodiment 1, according to the preset RGBA data (such as 211, 211, 211), color the colored block corresponding to the first codeword in the data code sequence and the interference sequence, and obtain the corresponding color value calibration. Check the QR code.

[0112] Further, the RGBA data includes a first RGBA value and a second RGBA value. Based on the f

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 discloses a two-dimensional code generation method and system and a document anti-counterfeiting method and system, and the method comprises the following steps: obtaining to-be-stored information, and obtaining a matched two-dimensional code template based on the to-be-stored information; generating first coded data corresponding to the two-dimensional code template based on the to-be-stored information, wherein the first coded data comprises a data code sequence and an error correction code sequence; performing interference processing on the error correction code sequence to obtain a corresponding interference sequence, and the interference sequence comprises a true error correction code and a false error correction code; and generating a corresponding two-dimensional codeon the two-dimensional code template based on the data code sequence and the interference sequence, wherein the two-dimensional code comprises a completely colored first pixel block and a partially colored second pixel block. According to the invention, by interfering the error correction code sequence and combining the design of the second pixel block, the generated two-dimensional code has certain vulnerability, pixels are easier to lose in the copying process, and unreadable copying is realized.

Description

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

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
Owner TIANGU INFORMATION SCI TECH HANGZHOU
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