Barcode generation system based on Hash function

A barcode generation and barcode technology, which is applied in data processing applications, record carriers used by machines, and commerce. It can solve the problems of EAN-13 code forgery and piracy, improve logistics management efficiency, save costs, and have low application environment requirements. Effect

Inactive Publication Date: 2015-09-23
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Barcode technology is an important means to achieve logistics management, but EAN-13 codes are easily forged and pirated

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
  • Barcode generation system based on Hash function
  • Barcode generation system based on Hash function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to facilitate reading by ordinary barcode readers, the barcode generation system based on the Hash function also uses EAN-13 codes, but defines the meaning of each code bit by itself, adopting the method of 6+6+1. The first 6 digits of the barcode, CT6, indicate the production time and batch number of the product.

[0030] CT6=(CT>>13)

[0031] Among them, CT is the current computer clock, which is a 32-bit long integer; t>>i means that t is shifted right by i-bit. That is to say, the batch number CT6 of the first 6 digits of the barcode intercepts the high 19 bits of the current computer clock CT and converts it into a 6-digit decimal number.

[0032] The middle 6 digits of the barcode are the authentication code AC generated by the Hash function.

[0033] AC=MSB 19 [Hash(CT||Ki)]

[0034] Among them, Ki is the password set by the manufacturer for the product, more than 8 characters; || means cascade operation; MSB i (h) means to intercept the first i-bit...

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

A barcode is a coding system used for individual identification in a coding and decoding field. An EAN (International Article Numbering Association)-13 code can be easily counterfeited. A barcode generation system based on a Hash function realizes anti-counterfeiting authentication through a Hash function. The system also adopts the EAN-13 code, defines content represented by each code bit in a self-actuated way, and adopts a 6+6+1 way. The first six bits of batch numbers CT6 of the barcode are obtained through a way that the high 19bit of a current computer clock (CT) is intercepted and is converted into six bits of decimal numbers; and the middle six bits of authentication codes (AC) of the barcode are obtained through a way that front 19bit output by a Hash function is intercepted and is converted into the six bits of decimal numbers, i.e. AC=MSB (Most Significant Bit)19[Hash(CT||Ki)], wherein Ki is a password set for a commodity by a manufacturer and contains more than eight characters, || means cascade operation, (h) in the MSB(h) means that the front i-bit of h is intercepted, and a generation way of the last bit of check code of the barcode is identical with the generation way of the common EAN-13 code. The system also can be used in a common code reader, can improve the management efficiency of the commodity by the manufacturer, saves cost, realizes the anti-counterfeiting authentication of the commodity, is mainly used for generating the barcode required for the commodity, and realizes the logistics management, the market monitoring and the statistical decision of the commodity.

Description

technical field [0001] The barcode generation system based on the Hash function is a barcode generation technology in the field of encoding and coding (G09C), which is mainly used to generate the barcodes required by commodities, and realize the logistics management, market monitoring and statistical decision-making of commodities. Background technique [0002] Barcode is currently widely used in the coding system of individual identification, divided into one-dimensional code and two-dimensional code, each has its advantages and disadvantages. [0003] (1) The data capacity of the two-dimensional code is larger, but due to the larger data volume, the machine requirements for information storage become higher; [0004] (2) One-dimensional codes are easier to identify than two-dimensional codes; [0005] (3) The traditional uniform identification of commodities is currently identified by one-dimensional codes, while most of the identity verification identifications that have...

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): G06Q30/00G06K19/06
Inventor 黄玉划刘震黄凡帆刘宁钟曾庆喜
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
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