WO2008034348A1 - Device and method for reading encrypted barcodes - Google Patents

Device and method for reading encrypted barcodes Download PDF

Info

Publication number
WO2008034348A1
WO2008034348A1 PCT/CN2007/002720 CN2007002720W WO2008034348A1 WO 2008034348 A1 WO2008034348 A1 WO 2008034348A1 CN 2007002720 W CN2007002720 W CN 2007002720W WO 2008034348 A1 WO2008034348 A1 WO 2008034348A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart card
reading
barcode
key
output
Prior art date
Application number
PCT/CN2007/002720
Other languages
French (fr)
Chinese (zh)
Inventor
Yali Sun
Rongsheng Liu
Wenchuan Chen
Tingli Chen
Original Assignee
Fujian Newland Auto-Id Tech. Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Newland Auto-Id Tech. Co., Ltd. filed Critical Fujian Newland Auto-Id Tech. Co., Ltd.
Publication of WO2008034348A1 publication Critical patent/WO2008034348A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Storage Device Security (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

A device and method for reading encrypted barcodes are disclosed. The device is composed of an imaging system, a decoding system and an output system. In addition, a mainboard of the barcode reading device is coupled to a Smart Card read-write system to which a Smart Card with a Cryptographic key is attached, which receives digital information output from the decoding system and transmits the processed information to the output system. The method includes a step of decryption in addition to steps of reading, decoding and output. A Cryptographic key of the digital information transmitted from the decoding system is compared to the Cryptographic key of the Smart Card and decrypted by the Smart Card read-write system of the barcode reading device, then transmitted to the output system, wherein the Smart Card is attached to the Smart Card read-write system. The invention aims to display barcode information read by the barcode reading device only when it is decrypted by the Smart Card through the Smart Card read-write system. The device is applicable to the barcode reading in need of secure encryption.

Description

说明书  Instruction manual
一种加密条码的 i只读装置及方法 技术领域 本发明涉及条码识读技术领域, 尤其涉及用于识读加密条码 的条码识读技术领域。  TECHNICAL FIELD The present invention relates to the field of bar code reading technology, and in particular to the field of bar code reading technology for reading encrypted bar codes.
背景技术 普通的条码识读器, 主要由成像系统, 解码系统, 输出系统 组成。 成像系统用于将条码信息扫描成像, 解码系统将成像系统得到的信 息进行解码, 与现有数据进行识别、 比对, 获取与之相对应的产品信息, 输出系统将生成的产品信息输出到显示终端。 由于使用者只要使用普通条 码识读器即可获知条码所包含的信息, 在识读含有保密信息的条码时, 如 对于含有支付使用信息的条码或者个人安全信息的条码进行识读应用时, 不利于条码信息的保密。 BACKGROUND OF THE INVENTION A conventional barcode reader is mainly composed of an imaging system, a decoding system, and an output system. The imaging system is used for scanning and imaging barcode information, and the decoding system decodes the information obtained by the imaging system, identifies and compares with the existing data, and obtains corresponding product information, and the output system outputs the generated product information to the display. terminal. Since the user can know the information contained in the barcode by using the ordinary barcode reader, when reading the barcode containing the confidential information, such as the barcode for the barcode containing the payment usage information or the personal security information, the application is not Conducive to the confidentiality of bar code information.
发明内容 本发明的目的是提供一种可以识读加密条码的条码识读装 置。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a bar code reading device that can read an encrypted bar code.
本发明的另一目的是提供一种可以识读加密条码的条码识读方法。 为实现上述目的, 本发明加密条码的识读装置主要包含成像系统、 解 码系统和输出系统, 另有一智能卡读写系统与条码识读装置的主板连接, 接收解码系统输出的数字信息, 并将处理后的信息传输给输出系统, 该智 能卡读写系统安装有写有密钥的智能卡。  Another object of the present invention is to provide a bar code reading method that can read an encrypted bar code. In order to achieve the above object, the apparatus for reading encrypted barcodes of the present invention mainly comprises an imaging system, a decoding system and an output system, and another smart card reading and writing system is connected with the main board of the barcode reading device, receives digital information output by the decoding system, and processes The subsequent information is transmitted to the output system, and the smart card read/write system is installed with a smart card with a key written therein.
本发明是利用普通条码识读装置, 设计安装一个智能卡读写装置, 使 条码识读装置识读到的条码信息, 必须经过智能卡解密后, 才能显示。 该 设备主要针对需要安全加密的条码识读应用。 本发明在信息传输上, 智能卡读写系统与条码识读装置的主板通过物 理连接传输信号, 完成信息的交互。 The invention utilizes a common barcode reading device to design and install a smart card reading and writing device, so that the barcode information read by the barcode reading device must be decrypted by the smart card before being displayed. The device is primarily intended for bar code reading applications that require secure encryption. In the information transmission, the smart card reading and writing system and the main board of the barcode reading device transmit signals through physical connection to complete the information interaction.
本发明可以用作 "对称加密"和 "非对称加密" 两种加密应用: 即 智能卡读写系统的智能卡密钥与被识读条码密钥相同(公钥方式),这是对 称加密应用; 也可以采用智能卡读写系统的智能卡密钥与被识读条码密钥 不同 (公钥和私钥), 这是非对称加密方式。  The invention can be used as two kinds of encryption applications of "symmetric encryption" and "asymmetric encryption": that is, the smart card key of the smart card reading and writing system is the same as the barcode key to be read (public key mode), which is a symmetric encryption application; The smart card key that can be used in the smart card reading and writing system is different from the learned barcode key (public key and private key), which is an asymmetric encryption method.
为实现本发明的另一目的, 本发明的加密条码的识读方法, 包括: 识读步骤, 通过条码识读装置的成像系统, 获取带有密文密钥的条码 图形, 并完成数字化, 传输给解码系统;  In order to achieve another object of the present invention, a method for reading an encrypted barcode according to the present invention includes: a reading step of acquiring a barcode pattern with a ciphertext key through an imaging system of a barcode reading device, and completing digitization and transmission To the decoding system;
解码步骤, 条码识读装置的解码系统对接收的数字信息进行解码, 得 到包含有密文密钥的数字信息;  a decoding step, the decoding system of the barcode reading device decodes the received digital information to obtain digital information including a ciphertext key;
输出步骤, 条码识读装置的输出系统将接收的识读后的信息, 输出到 输出端口;  In the output step, the output system of the barcode reading device outputs the received information after reading to the output port;
另有一解密步骤, 条码识读装置的智能卡读写系统将解码系统传输来 的数字信息所含有的密钥, 与智能卡读写系统的智能卡密钥进行比对, 在 符合解密要求的情况下, 智能卡读写系统将密文打开, 还原成条码原始信 息, 并传输给输出系统。  In another decryption step, the smart card reading and writing system of the barcode reading device compares the key contained in the digital information transmitted by the decoding system with the smart card key of the smart card reading and writing system, and in the case of meeting the decryption requirement, the smart card The read/write system opens the ciphertext, restores the original barcode information, and transmits it to the output system.
这样,含有密文密钥的条码必须通过解密步骤才能获得原始条码信息, 可有效地对条码信息进行保密。  In this way, the barcode containing the ciphertext key must pass the decryption step to obtain the original barcode information, and the barcode information can be effectively kept secret.
附图说明 以下结合附图对本发明作进一步的详述: BRIEF DESCRIPTION OF THE DRAWINGS The invention will be further described in detail below with reference to the accompanying drawings:
图 1是本发明的结构示意图;  Figure 1 is a schematic view of the structure of the present invention;
图 2是本发明的原理示意图。 具体实施方式 请参阅图 1所示, 本发明的加密条码的识读装置主要包 含成像系统、 解码系统、 智能卡读写系统 1和输出系统。 该智能卡读写系 统 1与条码识读装置的主板 2连接, 由条码识读装置主板 2向智能读写系 统 1提供电源 21 ; 该智能卡读写系统利用 TXT串口 22、 RXT串口 23保 持与主板 2连接, 保证条码识读器的解码部分与智能卡读写系统 1的信息 交互,接收解码系统输出的数字信息,并将处理后的信息传输给输出系统; 该智能卡读写系统安装有写有密钥的智能卡, 该密钥可以与被口、读条码密 钥相同(公钥方式),这是对称加密应用, 也可以采用智能卡读写系统的智 能卡密钥与被识读条码密钥不同 (公钥和私钥), 这是非对称加密方式。 Figure 2 is a schematic illustration of the principles of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1 , an apparatus for reading an encrypted barcode of the present invention mainly comprises an imaging system, a decoding system, a smart card reading and writing system 1 and an output system. The smart card reading and writing system 1 is connected to the main board 2 of the bar code reading device, and the main board 2 of the bar code reading device supplies power to the intelligent reading and writing system 1; the smart card reading and writing system uses the TXT serial port 22, the RXT serial port 23 to maintain the main board 2 Connecting, ensuring that the decoding part of the barcode reader interacts with the information of the smart card reading and writing system 1, receives the digital information output by the decoding system, and transmits the processed information to the output system; the smart card reading and writing system is installed with the written key The smart card, the key can be the same as the port and the bar code reading key (public key mode), which is a symmetric encryption application, or the smart card key of the smart card reading and writing system is different from the bar code key to be read (public key) And private key), which is asymmetric encryption.
本发明的加密条码的识读方法, 包括:  The method for reading an encrypted barcode according to the present invention includes:
识读步骤, 通过条码识读装置的成像系统, 获取带有密文密钥的条码 图形, 并完成数字化, 传输给解码系统;  The reading step, obtaining the barcode pattern with the ciphertext key through the imaging system of the barcode reading device, and digitizing and transmitting to the decoding system;
解码步骤, 条码识读装置的解码系统对接收的数字信息进亍解码, 得 到包含有密文密钥的数字信息;  a decoding step, the decoding system of the barcode reading device decodes the received digital information to obtain digital information including a ciphertext key;
解密步骤, 条码识读装置的智能卡读写系统将解码系统传输来的数字 信息所含有的密钥, 与智能卡读写系统的智能卡密钥进行比对, 在符合解 密要求的情况下, 智能卡读写系统将密文打幵, 还原成条码原始信息, 并 传输给输出系统, 在不符合解密要求的情况下, 智能卡读写系统将解码失 败的信息传输给输出系统;  In the decryption step, the smart card reading and writing system of the barcode reading device compares the key contained in the digital information transmitted by the decoding system with the smart card key of the smart card reading and writing system, and reads and writes the smart card in compliance with the decryption requirement. The system snips the ciphertext, restores the original information of the barcode, and transmits the original information to the output system. If the decryption request is not met, the smart card reading and writing system transmits the information of the decoding failure to the output system;
输出步骤, 条码识读装置的输出系统将接收的识读后的信息, 通过输 出端口传输给外部显示装置。  In the output step, the output system of the barcode reading device transmits the received read information to the external display device through the output port.
以一个带有密文密钥的二维码为例, 本发明的具体解码过程如图 2所 示如下: Taking a two-dimensional code with a ciphertext key as an example, the specific decoding process of the present invention is as shown in FIG. 2 Shown as follows:
1、 将已确定密文 (条码原始信息)、 密钥的条码, 通过编码软件, 生 成包含密文、 密钥的二维码图形 3;  1. The ciphertext (barcode original information) and the barcode of the key are determined, and the two-dimensional code pattern containing the ciphertext and the key is generated by the encoding software 3;
2、在智能卡中, 事先写入密钥,并将智能卡安装于该带有智能卡读写 器的条码¾¾卖装置中;  2. In the smart card, the key is written in advance, and the smart card is installed in the bar code 3⁄4⁄4 selling device with the smart card reader;
3、利用该带有智能卡读写器的条码识读装置,对带有密文、密钥的二 维码进行条码解码 4, 解出该二维码的信息是一组 16进制数字: "02 00 10 61 08 00 OA 95 BC E8 97 61 AA4C 55 C8 OD 5F FAA9 7B 27 ID ID 03 63", 该数字信息中, 包含了该二维码的密文和密钥;  3. Using the barcode reading device with the smart card reader, the barcode decoding is performed on the two-dimensional code with the ciphertext and the key, and the information of the two-dimensional code is a set of hexadecimal digits: 02 00 10 61 08 00 OA 95 BC E8 97 61 AA4C 55 C8 OD 5F FAA9 7B 27 ID ID 03 63", the digital information contains the ciphertext and key of the QR code;
4、条码识读装置的解码系统, 将这组包含密文密钥的数字信息, 传输 给条码识读装置中的智能卡读写装置中预置的智能卡;  4. The decoding system of the barcode reading device transmits the digital information including the ciphertext key to the smart card preset in the smart card reading and writing device in the barcode reading device;
5、 智能卡读写装置中预置的智能卡, 得到这组数字进行智能认证 5, 根据密钥及其解密算法,还原出该条码信息 6为, "ABCDEFGHabcdefgh", 并传给条码识读装置的输出端口。  5. The smart card preset in the smart card reading and writing device obtains the set of numbers for intelligent authentication. According to the key and its decryption algorithm, the bar code information 6 is restored as "ABCDEFGHabcdefgh" and transmitted to the output of the bar code reading device. port.

Claims

权利要求书 Claim
1、一种加密条码的识读装置, 其主要包含成像系统、解码系统和输出 系统, 其特征在于: 另有一智能卡读写系统与条码识读装置的主板连接, 接收解码系统输出的数字信息, 并将处理后的信息传输给输出系统, 该智 能卡读写系统安装有写有密钥的智能卡。  1. An apparatus for reading an encrypted barcode, comprising: an imaging system, a decoding system, and an output system, wherein: another smart card reading and writing system is connected to a motherboard of the barcode reading device, and receives digital information output by the decoding system. The processed information is transmitted to an output system, and the smart card read/write system is installed with a smart card with a key written therein.
2、如权利要求 1所述的一种加密条码的识读装置,其特征在于: 该智 能卡读写系统与条码识读装置的主板通过物理连接传输信号, 完成信息的 交互。  2. The apparatus for reading encrypted bar code according to claim 1, wherein: the smart card reading and writing system and the main board of the bar code reading device transmit signals through a physical connection to complete information interaction.
3、 如权利要求 1或 2所述的一种加密条码的识读装置, 其特征在于: 该智能卡读写系统的智能卡密钥与被识读条码密钥相同。  3. The apparatus for reading an encrypted barcode according to claim 1 or 2, wherein: the smart card key of the smart card reading and writing system is the same as the learned barcode key.
4、 如权利要求 1或 2所述的一种加密条码的识读装置, 其特征在于: 该智能卡读写系统的智能卡密钥与被识读条码密钥不同。  4. The apparatus for reading an encrypted barcode according to claim 1 or 2, wherein: the smart card key of the smart card reading and writing system is different from the learned barcode key.
5、 一种加密条码的识读方法, 包括:  5. A method for reading an encrypted barcode, comprising:
识读步骤, 通过条码识读装置的成像系统, 获取带有密文密钥的条码 图形, 并完成数字化, 传输给解码系统;  The reading step, obtaining the barcode pattern with the ciphertext key through the imaging system of the barcode reading device, and digitizing and transmitting to the decoding system;
解码步骤, 条码 i只读装置的解码系统对接收的数字信息进行解码, 得 到包含有密文密钥的数字信息;  Decoding step, the decoding system of the bar code i read-only device decodes the received digital information to obtain digital information including the ciphertext key;
输出步骤, 条码识读装置的输出系统将接收的识读后的信息, 输出到 输出端口;  In the output step, the output system of the barcode reading device outputs the received information after reading to the output port;
其特征在于: 另有一解密步骤, 条码识读装置的智能卡读写系统将解 码系统传输来的数字信息所含有的密钥, 与智能卡读写系统的智能卡密钥 进行比对, 在符合解密要求的情况下, 智能卡读写系统将密文打开, 还原 成条码原始信息, 并传输给输出系统; 在不符合解密要求的情况下, 智能 卡读写系统将解码失败的信息传输给输出系统。 The utility model is characterized in that: another decrypting step, the smart card reading and writing system of the barcode reading device compares the key contained in the digital information transmitted by the decoding system with the smart card key of the smart card reading and writing system, and meets the decryption requirement In the case, the smart card reading and writing system will open the ciphertext, restore The original information of the barcode is transmitted to the output system; the smart card reading and writing system transmits the information of the failed decoding to the output system if the decryption requirement is not met.
PCT/CN2007/002720 2006-09-15 2007-09-14 Device and method for reading encrypted barcodes WO2008034348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610096090.4 2006-09-15
CN2006100960904A CN101145179B (en) 2006-09-15 2006-09-15 Device and method for recognizing enciphered bar code

Publications (1)

Publication Number Publication Date
WO2008034348A1 true WO2008034348A1 (en) 2008-03-27

Family

ID=39200177

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/002720 WO2008034348A1 (en) 2006-09-15 2007-09-14 Device and method for reading encrypted barcodes

Country Status (2)

Country Link
CN (1) CN101145179B (en)
WO (1) WO2008034348A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5388158A (en) * 1992-11-20 1995-02-07 Pitney Bowes Inc. Secure document and method and apparatus for producing and authenticating same
US6202933B1 (en) * 1998-02-19 2001-03-20 Ernst & Young U.S. Llp Transaction card and methods and apparatus therefor
CN1519705A (en) * 2003-01-24 2004-08-11 黄庆祥 Bar code safety system for E-Mail and its method
CN1777101A (en) * 2005-11-22 2006-05-24 大连理工大学 Real-time identity authentication method based on mobile phone, bluetooth and two-dimensional barcode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2435789Y (en) * 2000-07-12 2001-06-20 张念录 Portable scanning decipher identification reader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5388158A (en) * 1992-11-20 1995-02-07 Pitney Bowes Inc. Secure document and method and apparatus for producing and authenticating same
US6202933B1 (en) * 1998-02-19 2001-03-20 Ernst & Young U.S. Llp Transaction card and methods and apparatus therefor
CN1519705A (en) * 2003-01-24 2004-08-11 黄庆祥 Bar code safety system for E-Mail and its method
CN1777101A (en) * 2005-11-22 2006-05-24 大连理工大学 Real-time identity authentication method based on mobile phone, bluetooth and two-dimensional barcode

Also Published As

Publication number Publication date
CN101145179A (en) 2008-03-19
CN101145179B (en) 2011-05-18

Similar Documents

Publication Publication Date Title
US6434561B1 (en) Method and system for accessing electronic resources via machine-readable data on intelligent documents
JP4693171B2 (en) Authentication system
CN1889419B (en) Method and apparatus for realizing encrypting
CN101719205B (en) Digital copyright management method and system
US7861015B2 (en) USB apparatus and control method therein
US20050182934A1 (en) Method and apparatus for providing secure communications between a computer and a smart card chip
KR101019354B1 (en) A method for realizing security storage and algorithm storage by means of semiconductor memory device
KR20050062031A (en) Wireless banking system and wireless banking method using mobile phone
CN104217327A (en) Financial IC (integrated circuit) card Internet terminal and trading method thereof
WO2010057423A1 (en) Encryption and decryption method and system for ic card and the reader device
US20160037347A1 (en) Method for granting a plurality of electronic communication devices access to a local area network
CN100547963C (en) Utilize the method and the device of USB secret key inputting/displaying/transmitting user information
CN1945591A (en) Encryting anti-fake technology for electronic label
CN101383701A (en) Digital content protection method ciphered by biological characteristic
JP2003018151A (en) External storage device and certification method conducted between the external storage device and the system device, certification system, computer device and system device
TW201349127A (en) Dynamic barcode verification system and its verification method
JP2007328663A (en) Image forming apparatus and control method thereof
CN101883357A (en) Method, device and system for mutual authentication between terminal and intelligent card
JPWO2004090804A1 (en) Two-dimensional barcode generation device, two-dimensional barcode decoding device, two-dimensional barcode generation method, two-dimensional barcode decoding method and program
CN103475623A (en) Dynamic barcode certification system and its certification method
WO2008034348A1 (en) Device and method for reading encrypted barcodes
JP2002099209A (en) Device, system, method, program, printed matter and recording medium relating to printed matter verification information addition and printed matter verification
JP4601498B2 (en) Authentication apparatus, authentication method, program for realizing the method, and recording medium storing the program
CN1889420B (en) Method for realizing encrypting
JP2010124355A (en) Digital watermark reading apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07816337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07816337

Country of ref document: EP

Kind code of ref document: A1