Introduction of IoT(2): barcode & IC cards

一维与二维条码技术详解及应用
本文介绍了条码技术的起源及其在自动识别中的作用,详细讲解了一维码(如UPC, EAN-13)和二维码(如PDF-417, DataMatrix, QRcode)的结构、特点和解码原理。一维码主要用于零售商品标识,而二维码则能存储大量信息并具备高容错率。此外,还对比了IC卡与传统磁卡的区别,探讨了IC卡的安全性和类型。

条码技术是在计算机应用发展过程中,为消除数据录入的“瓶颈”问题而产生的,可以说是最早的自动识别技术。

1D Barcode

A barcode is an optical machine-readable representation of data.
Every barcode begins with a special start character and ends with a special stop character. ( Some may have checksum character).

不同图像的区分

UPC: 6+6

UPC: Universal Product Code is a barcode symbology, that is widely used in North America, etc, for tracking trade items in stores.
Most common form: UPC-A, 12个数字

UPC-A: 1+5+5+1

Used for marking products which are sold at retail in the USA.
**Identifies the manufacturer and specific product **.

UPC-E 1+6+1

A variation of the UPC-A symbol.
Smaller, for labeling small items.
Compression works by squeezing extra zeros out of the barcode and then automatically re-inserting them at the scanner.

Codabar: 12

Libraries, blood banks…… information processing applications.

EAN-13: 1+6+6

European Article Number, used world-wide for marking retail goods.
First 2 or 3: country code
followed 9 or 10 data digits
a single digit checksum.

一维码译码原理

激光扫描仪发出光线,光线经过条或空的反射后返回阅读器,通过光电转换器转换成电信号,进行译码。

2D Code

The advantages of 2D code over barcode

  • Encode a lot of information in a small space.
  • Barcode: 20 to 25 characters.
  • 2D code: 100 to 2000 characters.

PDF-417

the shape of the symbol can be adjusted (to some extent) (by setting the width and allowing the height to grow with the data grow.)
看起来像是条码包裹着二维码,理论上没有长度限制

Data Matrix

四个角没有方块的二维码

QR code

Quick response code.

  • Fast readability.
  • Large storage capacity.
  • Detected as a 2-dimensional digital image.
  • The processor locates the 3 distinctive squares at the corners of the image, and normalizes image size, orientation and angle of viewing, with the aid of a smaller square near the fourth corner.
  • 还可以加密
  • 污损50%仍然可以读取完整信息。

条码的应用范围:“可视”、“清晰”

可视:阅读器与条码之间没有遮挡

清晰:条码图形没有遮挡、折叠或破损

IC Card

Difference between IC Cards and magnetic cards

Traditional magnetic cards: use magnetic tape to store information.
IC Card: uses a powerful, large capacity embedded IC chip to store a large amount of information.
It can preform mathematical calculations.
It’s difficult to counterfeit and decrypt, making them a much more secure choice.

Types of IC Cards

  • whether contain microprocessor: storage cards, CPU cards.
  • whether need to contact with the reader: Contact smart cards, contactless smart cards.

Contact Cards

gold plated contact pads. These pads provide electrical connectivity when inserted into a reader. Cards do not contain batteries and power is supplied by the card reader.

Contactless Cards

communicate with reader through RF induction technology. and it is powered by the reader.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

灰海宽松

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值