Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method, system and equipment for generating anti-counterfeiting code from product number and storage medium

An anti-counterfeiting code and product number technology, applied in data processing applications, instruments, calculations, etc., can solve problems such as low algorithm efficiency and insufficient encryption strength, and achieve high encryption strength, uniqueness and unforgeability.

Pending Publication Date: 2022-08-05
SHANDONG TAIBAO PREVENTING COUNTERFEIT
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there are endless encryption generation algorithms for anti-counterfeiting codes, but most encryption generation algorithms have the problems of insufficient encryption strength and low algorithm efficiency.

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
  • Method, system and equipment for generating anti-counterfeiting code from product number and storage medium
  • Method, system and equipment for generating anti-counterfeiting code from product number and storage medium
  • Method, system and equipment for generating anti-counterfeiting code from product number and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0113] Step S1: Follow Figure 5 The reservation rule shown generates the product unique number 00001, according to Figure 5 The shown predetermined length range takes the product sequence number 00000001, and then proceeds to step S2.

[0114] Step S2: Convert the product number 00001 into a hexadecimal product number array Pu{0,0,0,0,1}, and replace the product sequence number 00000001 with a hexadecimal product number array Su{0,0,0,0 ,0,0,0,1}, and according to the predetermined plaintext M1{

[0115] 0xf6,0xF1,0xf6,0xa6,

[0116] 0x09,0xf6,0xB3,0xC9,

[0117] 0xd2,0x09,0xae,0xCA,

[0118] 0x83, 0x34, 0xAF, 0x9E

[0119] }, plaintext M2{

[0120] 0x88,0x5a,0x30,0x8d,

[0121] 0x32,0x43,0xf6,0xa8,

[0122] 0x31,0x31,0x98,0xa2,

[0123] 0xe0, 0x37, 0x07, 0x34

[0124] }, key K{

[0125] 0xF1,0x34,0xa6,0x09,

[0126] 0xab,0x7E,0xF1,0xAB,

[0127] 0xd2,0x09,0xae,0xCA,

[0128] 0xC9, 0xf6, 0xcf, 0x7E

[0129] } Perform the AES encryption algorithm operation in tur...

Embodiment 2

[0158] Step S1: Follow Image 6 The reservation rule shown generates the product unique number 01, according to Image 6 The shown predetermined length range takes the product sequence number 0000001, and then proceeds to step S2.

[0159] Step S2: Convert the product number 01 into a hexadecimal product number array Pu{0,1}, and replace the product sequence number 0000001 with a hexadecimal product number array Su{0,0,0,0,0,0,1 }, and according to the predetermined plaintext M1{

[0160] 0xf6,0xF1,0xf6,0xa6,

[0161] 0x09,0xf6,0xB3,0xC9,

[0162] 0xd2,0x09,0xae,0xCA,

[0163] 0x83, 0x34, 0xAF, 0x9E

[0164] }, plaintext M2{

[0165] 0x88,0x5a,0x30,0x8d,

[0166] 0x32,0x43,0xf6,0xa8,

[0167] 0x31,0x31,0x98,0xa2,

[0168] 0xe0, 0x37, 0x07, 0x34

[0169] }, key K{

[0170] 0xF1,0x34,0xa6,0x09,

[0171] 0xab,0x7E,0xF1,0xAB,

[0172] 0xd2,0x09,0xae,0xCA,

[0173] 0xC9, 0xf6, 0xcf, 0x7E

[0174] } Perform the AES encryption algorithm operation in turn to obtain the ...

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 method, system and device for generating an anti-counterfeiting code through a product number and a storage medium, and belongs to the technical field of anti-counterfeiting code generation methods. The method comprises the following steps: S1, generating a unique number P for a product number according to a preset rule, and obtaining a value N for a product sequence number in a preset length range; s2, AES encryption operation is carried out on the product number P and the product sequence number N, and an authentication code is obtained after a modulo algorithm is carried out; s3, combining the product number, the product sequence number and the authentication code into a plain code; s4, performing full-code conversion on the plain code to obtain an anti-counterfeiting code array; step S5, converting the anti-counterfeiting code array into an anti-counterfeiting code; the system comprises a character string generation module, an authentication code generation module, a plain code generation module, an anti-counterfeiting code array generation module and an anti-counterfeiting code generation module. The device comprises a memory and a processor; a computer program is stored on the readable storage medium, and the steps of the method are implemented when the computer program is executed; the encryption strength is high, and cracking is not easy.

Description

technical field [0001] The invention relates to a method, system, device and storage medium for generating anti-counterfeiting codes from product numbers, and belongs to the technical field of anti-counterfeiting codes. Background technique [0002] The problem of product counterfeiting has been around for a long time. Many companies have made great efforts in preventing and cracking down on counterfeiting, and have achieved certain results. However, counterfeiting and shoddy products are still repeatedly banned. In order to regulate the market order and prevent counterfeit and shoddy goods from impacting product prices, destroying product image, destroying product reputation, and destroying the product market, most manufacturers will print anti-counterfeiting codes on their products. [0003] At present, encryption generation algorithms for anti-counterfeiting codes emerge in an endless stream, but most encryption generation algorithms have the problems of insufficient encr...

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): G06F21/73G06F21/60G06Q30/00
CPCG06F21/73G06F21/602G06Q30/018
Inventor 巩杰宋立涛武永宾程祥峰王立江巩龙贤徐立宣巩慧贤
Owner SHANDONG TAIBAO PREVENTING COUNTERFEIT
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
Eureka Blog
Learn More
PatSnap group products