Aztec码

编码了内容“This is an example Aztec symbol for Wikipedia.”

Aztec码(英語:Aztec Code)也称阿兹特克码,是一种由Andrew Longacre, Jr.英语Andrew Longacre, Jr.和Robert Hussey于1995年发明的二维条码[1]该种条码1997年由AIM公司英语Association for Automatic Identification and Mobility公布。尽管Aztec码已获专利,但该专利已进入公有领域[2]Aztec码也被发布为ISO/IEC 24778:2008标准。Aztec码的名称源自中心图案与阿兹特克金字塔英语Aztec Pyramids的相似性。因为不需要边缘留白(静区),Aztec码可能比其他矩阵条码使用更少的空间。

结构

该种符号构筑在方形网格上,其中心有一个“牛眼”图案用以定位该码。数据围绕该牛眼图案做同心方形环状编码。中心的“牛眼”为9×9或13×13像素,并在周围的一行像素编码基本编码参数,产生一个11×11或15×15的核心(core)。而数据以层(layers)添加,每个层包含2环像素,总像素形成15×15、19×19、23×23等。

核心的边角存在方向标记,以支持图案被旋转或镜像时读取代码。解码从有三个像素的边角开始,然后顺时针到两个像素、一个像素、零个像素的边角。在中心的核心编码载有尺寸信息,所以不需要其他一些条码所需要的空白“静区”来标记代码边缘。

  • The core of the compact Aztec code (red ascending diagonal hatching), showing the central bulls-eye, the four orientation marks (blue diagonal cross-hatching), and space for 28 bits (7 bits per side) of coding information (green horizontal hatching). The first ring of data begins outside that (grey descending diagonal hatching).
    The core of the compact Aztec code (red ascending diagonal hatching), showing the central bulls-eye, the four orientation marks (blue diagonal cross-hatching), and space for 28 bits (7 bits per side) of coding information (green horizontal hatching). The first ring of data begins outside that (grey descending diagonal hatching).
  • The core of the full Aztec code. 40 bits are available between the orientation marks for encoding parameters.
    The core of the full Aztec code. 40 bits are available between the orientation marks for encoding parameters.
  • Message data is placed in a spiral pattern around the core. The mode message begins "01011100", indicating 01₂+1 = 2 layers, and 011100₂+1 = 29 data codewords (of 6 bits each).
    Message data is placed in a spiral pattern around the core. The mode message begins "01011100", indicating 01₂+1 = 2 layers, and 011100₂+1 = 29 data codewords (of 6 bits each).

编码

编码过程含如下步骤:

  1. 将源消息转换为字符串位元
  2. 计算必要的符号大小和模式消息,用以决定Reed–Solomon码字大小
  3. 对消息位元补足英语Bit-stuffing为Reed–Solomon码字
  4. 消息填充到码字边界
  5. 追加检查码字
  6. 围绕核心以螺旋形式排列完整信息

位元字符串与其他形式间的所有转换都根据大端(重要位优先)约定执行。

字符集

所有8位元的值都可编码,另加上两个转义代码。

默认情况下,0–127的码遵循ANSI X3.4 (ASCII)解释,128–255遵循ISO 8859-1: Latin Alphabet No. 1解释。这对应ECI 000003。

模式消息

模式消息在消息中编码了层数(层数L 编码为整数L−1)和数据码字(codewords)数量(码字D编码为整数D−1)。剩余的码字用作检查码字。

位元补足

填充

检查码字

排布消息

使用

德国铁路的网上票据,使用了Aztec条码。

运输

阿兹特克码被广泛用于交通票务。

航空业(IATABCBP标准)已选择阿兹特克码用于电子登机牌。数家航空公司会向乘客的手机发送阿兹特克码作为登机牌。这通常与乘客手机上的移动应用(包括Apple Wallet)集成。

Aztec码也被用于铁路行业,包括歐洲之星德国铁路DSB捷克铁路Slovak Railways英语Železničná spoločnosť Slovensko意大利铁路荷蘭鐵路PKP Intercity英语PKP Intercity芬蘭鐵路維珍鐵路維亞鐵路瑞士聯邦鐵路比利时国家铁路法国国家铁路等公司用此支持线上销售门票,由客户打印或在手机屏幕上展示,由工作人员持手持扫描仪或通过旋转门扫描仪验证票证。

政府

波兰的汽车登记文件中载有加密的摘要信息,该信息采用Aztec码编码。汽车保险公司可根据文件的数码照片自动填写相关信息,以加快保险理赔流程。

商业

加拿大许多票据在使用这项技术,包括EastLink (company)英语EastLink (company)蕭氏通訊Bell Aliant英语Bell Aliant等。

参考资料

  1. ^ US 5591956,Longacre, Jr., Andrew & Robert Hussey,「Two Dimensional Data Encoding Structure and Symbology for use with Optical Readers」,发表于May 15, 1995,发行于January 7, 1997 
  2. ^ Official Gazette. United States Patent Office. June 17, 1997 [2020-09-25]. (原始内容存档于2017-02-22). Hereby dedicates to the public the entire term of said patent.  Click "images" then "correction" to see dedication to the public domain.

外部链接

一維條碼
  • AEI英语Automatic equipment identification
  • Code 39
  • Code 93英语Code 93
  • Code 128
  • Codabar英语Codabar
  • 欧洲商品编码
  • GS1 DataBar英语GS1 DataBar
  • ITF-14英语ITF-14
  • Interleaved 2 of 5英语Interleaved 2 of 5
  • MSI碼英语MSI Barcode
  • Patch Code英语Patch Code
  • Pharmacode英语Pharmacode
  • Plessey碼英语Plessey Code
  • Telepen英语Telepen
  • UPC
QR碼MaxiCode英语MaxiCode
UPC-A
郵政條碼
  • CPC二進制條碼英语CPC Binary Barcode
  • 面對識別標誌英语Facing Identification Mark
  • PostBar英语PostBar
  • POSTNET
  • RM4SCC
  • 智能郵件條碼英语Intelligent Mail barcode
  • 郵政阿爾法數字編碼技術英语Postal Alpha Numeric Encoding Technique
二維條碼
堆疊
矩陣
極坐標條碼
  • MaxiCode英语MaxiCode
  • ShotCode
其他
技術問題
其他數據標籤
  • RFID
  • Bokode英语Bokode
相關主題
  • 供應鏈管理
  • 超鏈接對象英语Object hyperlinking
  • 矩陣
  • 手機標記英语Mobile tagging
  • CueCat英语CueCat
ISO標準
列表
国际标准化组织的标准列表英语List of International Organization for Standardization standards
国际标准化组织拉丁化方案列表
国际电工委员会标准列表英语List of IEC standards
1–9999
  • 1
  • 2
  • 3英语ISO 3
  • 4
  • 5
  • 6
  • 7英语ISO 7
  • 9
  • 16
  • 31
    • -0英语ISO 31-0
    • -1英语ISO 31-1
    • -2英语ISO 31-2
    • -3英语ISO 31-3
    • -4英语ISO 31-4
    • -5英语ISO 31-5
    • -6英语ISO 31-6
    • -7英语ISO 31-7
    • -8英语ISO 31-8
    • -9英语ISO 31-9
    • -10英语ISO 31-10
    • -11英语ISO 31-11
    • -12英语ISO 31-12
    • -13英语ISO 31-13
  • 128
  • 216
  • 217英语ISO 217
  • 226英语ISO 226
  • 228英语British standard pipe thread
  • 233
  • 259
  • 269
  • 302英语Kappa number
  • 306英语Vicat softening point
  • 428英语ISO 428
  • 518
  • 519
  • 639
  • 646
  • 690
  • 732
  • 764英语Antimagnetic watch
  • 843
  • 898英语ISO 898
  • 965英语ISO 965
  • 1000
  • 1004英语Magnetic ink character recognition
  • 1007
  • 1073-1英语OCR-A font
  • 1413英语ISO 1413
  • 1538
  • 1745英语ISO 1745
  • 1989
  • 2014英语ISO 2014
  • 2015英语ISO 2015
  • 2022
  • 2047英语ISO 2047
  • 2108
  • 2145
  • 2146英语ISO 2146
  • 2240
  • 2281英语Water Resistant mark
  • 2709英语ISO 2709
  • 2711英语ISO 2711
  • 2788英语ISO 2788
  • 2852英语ISO 2852
  • 3029英语126 film
  • 3103
  • 3166
  • 3297
  • 3307英语ISO 3307
  • 3602
  • 3758
  • 3864英语ISO 3864
  • 3901
  • 3977英语ISO 3977
  • 4031英语ISO 4031
  • 4157英语ISO 4157
  • 4217
  • 4909英语ISO/IEC 4909
  • 5218
  • 5428英语ISO 5428
  • 5775英语ISO 5775
  • 5776英语ISO 5776
  • 5800
  • 5807
  • 5964英语ISO 5964
  • 6166
  • 6344英语ISO 6344
  • 6346英语ISO 6346
  • 6385英语ISO 6385
  • 6425英语Water Resistant mark
  • 6429英语ANSI escape code
  • 6438
  • 6523英语ISO 6523
  • 6709
  • 7001
  • 7002英语ISO 7002
  • 7064英语ISO 7064
  • 7098
  • 7185
  • 7200英语ISO 7200
  • 7498
  • 7637
  • 7736英语ISO 7736
  • 7810
  • 7811英语ISO/IEC 7811
  • 7812
  • 7813英语ISO/IEC 7813
  • 7816
  • 8000
  • 8178英语ISO 8178
  • 8217
  • 8571英语FTAM
  • 8583英语ISO 8583
  • 8601
  • 8632
  • 8652英语ISO/IEC 8652
  • 8691英语ISO 8691
  • 8807英语Language Of Temporal Ordering Specification
  • 8820-5英语ISO/IEC 8820-5
  • 8859
  • 8879
  • 9000/9001
  • 9075
  • 9126
  • 9293
  • 9241英语ISO 9241
  • 9362
  • 9407
  • 9506英语Manufacturing Message Specification
  • 9529英语ISO 9529
  • 9564英语ISO 9564
  • 9594
  • 9660
  • 9897英语ISO 9897
  • 9899
  • 9945
  • 9984
  • 9985
  • 9995
10000–19999
  • 10005英语ISO 10005
  • 10006英语ISO 10006
  • 10007英语ISO 10007
  • 10116英语ISO/IEC 10116
  • 10118-3英语Whirlpool (cryptography)
  • 10160英语ISO 10160
  • 10161英语ISO 10161
  • 10165英语Guidelines for the Definition of Managed Objects
  • 10179英语Document Style Semantics and Specification Language
  • 10206
  • 10218英语ISO 10218
  • 10303
    • -11英语EXPRESS (data modeling language)
    • -21
    • -22英语ISO 10303-22
    • -28英语ISO 10303-28
    • -238英语STEP-NC
  • 10383英语ISO 10383
  • 10487英语ISO 10487
  • 10585
  • 10589
  • 10646
  • 10664
  • 10746英语RM-ODP
  • 10861英语Multibus
  • 10957
  • 10962英语ISO 10962
  • 10967英语ISO/IEC 10967
  • 11073英语ISO/IEEE 11073
  • 11170英语ISO 11170
  • 11179英语ISO/IEC 11179
  • 11404英语ISO/IEC 11404
  • 11544
  • 11783英语ISO 11783
  • 11784英语ISO 11784 & 11785
  • 11785英语ISO 11784 & 11785
  • 11801
  • 11898
  • 11940 (-2英语ISO 11940-2)
  • 11941英语ISO/TR 11941
  • 11941 (TR)英语ISO/TR 11941
  • 11992英语ISO 11992
  • 12006英语ISO 12006
  • 12182英语ISO/IEC TR 12182
  • 12207英语ISO/IEC 12207
  • 12234-2英语Tag Image File Format / Electronic Photography
  • 13211
  • 13216英语Isofix
  • 13250
  • 13399英语ISO 13399
  • 13406-2英语ISO 13406-2
  • 13450英语110 film
  • 13485英语ISO 13485
  • 13490英语ISO 13490
  • 13567英语ISO 13567
  • 13568英语Z notation
  • 13584英语ISO 13584
  • 13616
  • 14000
  • 14031
  • 14224英语ISO 14224
  • 14289英语PDF/UA
  • 14396
  • 14443
  • 14496
    • -2英语MPEG-4 Part 2
    • -3英语MPEG-4 Part 3
    • -6英语Delivery Multimedia Integration Framework
    • -10
    • -11英语MPEG-4 Part 11
    • -12英语MPEG-4 Part 12
    • -14
    • -17
    • -20
  • 14644英语ISO 14644
  • 14649英语STEP-NC
  • 14651英语ISO 14651
  • 14698英语ISO 14698
  • 14750英语ISO 14750
  • 14764
  • 14882
  • 14971英语ISO 14971
  • 15022英语ISO 15022
  • 15189英语ISO 15189
  • 15288英语ISO/IEC 15288
  • 15291英语Ada Semantic Interface Specification
  • 15292英语ISO 15292
  • 15398英语ISO 15398
  • 15408
  • 15444
    • -3英语Motion JPEG 2000
  • 15445
  • 15438
  • 15504
  • 15511
  • 15686英语ISO 15686
  • 15693英语ISO/IEC 15693
  • 15706
    • -2英语ISO 15706-2
  • 15707
  • 15897英语ISO 15897
  • 15919
  • 15924
  • 15926英语ISO 15926
  • 15926 WIP英语ISO 15926 WIP
  • 15930英语PDF/X
  • 16023英语MaxiCode
  • 16262
  • 16612-2英语PDF/VT
  • 16750
  • 16949 (TS)
  • 17024英语ISO/IEC 17024
  • 17025英语ISO/IEC 17025
  • 17100英语ISO 17100:2015
  • 17203
  • 17369英语SDMX
  • 17442英语Legal Entity Identifier
  • 17799
  • 18000英语ISO/IEC 18000
  • 18004
  • 18014英语ISO/IEC 18014
  • 18245英语ISO 18245
  • 18629英语Process Specification Language
  • 18916英语Photographic Activity Test
  • 19005
  • 19011英语ISO 19011
  • 19092 (-1英语ISO 19092-1
  • -2)英语ISO 19092-2
  • 19114英语ISO 19114
  • 19115英语ISO 19115
  • 19125英语Simple feature access
  • 19136
  • 19439英语ISO 19439
  • 19500
  • 19501
  • 19502
  • 19503英语XML Metadata Interchange
  • 19505
  • 19506英语Knowledge Discovery Metamodel
  • 19507英语Object Constraint Language
  • 19508
  • 19509英语XML Metadata Interchange
  • 19510
  • 19600:2014英语ISO 19600:2014
  • 19752英语ISO/IEC 19752
  • 19757英语RELAX NG
  • 19770英语ISO/IEC 19770
  • 19775-1
  • 19794-5英语ISO/IEC 19794-5
  • 19831英语Cloud Infrastructure Management Interface
20000+
  • 20000
  • 20022英语ISO 20022
  • 20121英语ISO 20121
  • 20400英语ISO 20400
  • 21000
  • 21047英语International Standard Text Code
  • 21500英语ISO 21500
  • 21827:2002英语ISO/IEC 21827
  • 22000
  • 22301
  • 23270
  • 23271
  • 23360
  • 24517英语PDF/E
  • 24613
  • 24617英语ISO-TimeML
  • 24707英语Common Logic
  • 24778
  • 25178英语ISO 25178
  • 25964英语ISO 25964
  • 26000英语ISO 26000
  • 26262
  • 26300
  • 26324
  • 27000 series
  • 27000英语ISO/IEC 27000
  • 27001
  • 27002
  • 27006英语ISO/IEC 27006
  • 27729
  • 28000英语ISO/PAS 28000
  • 29110英语ISO 29110
  • 29148英语Requirements engineering
  • 29199-2
  • 29500
  • 30170
  • 31000英语ISO 31000
  • 32000
  • 38500英语ISO/IEC 38500
  • 40500
  • 42010英语ISO/IEC 42010
  • 45001
  • 55000英语ISO 55000
  • 80000
    • -1英语ISO 80000-1
    • -2
    • -3英语ISO 80000-3
  • 参见:
  • 分类 ISO标准
  • 所有前缀有“ISO”的页面