国际商品编码

EAN-13條碼範例

国际商品编码(英語:International Article Number),即欧洲商品编码European Article Number,EAN),原来只是欧洲范围内商品代碼,而现在已是全球范围内产品交易的商品代码。为了适应读码器辨认的需要,这些代码又做成大家熟知的条形码

另外,日本於1978年在EAN的基礎上開發出日本商品條碼(Japanese Article Number,JAN)。

代码组成及其意义

【EAN有8位数字和13位数字之分】
13位的组成是这样的:
  • 国家代码(前3位)[1]
  • 生产商代码(后4位)

国家代码和生产商代码由EAN各国总部具体发放和管理

  • 货品代码(再5位)

这5位代码由厂商自行设定

  • 计算机校验码(最后1位)

8位的EAN是专门为小商品设置的代码,所以其组成部分和13位EAN是不同的。

8位的组成是这样的:
  • 国家代码(前3位)
  • 生产商代码(后2位)

国家代码和生产商代码由EAN各国总部具体发放和管理

  • 货品代码(再2位)

这2位代码由厂商自行设定

  • 计算机校验码(最后1位)

會員國列表

國家代碼只能代表包裝該項商品的廠商所在國家(地区),並無法表示出原始生產地。未在下表出現的數字,乃是針對未來使用而保留。

EAN的背景

早年

美国依據1970年IBM乔治·劳雷尔所開發12位数字的通用产品代码(Universal Product Code,縮寫「UPC」),在1973年制定为标准,後來重新改劃為「UPC-A」[2][3][4]。一年之后,为了和美国能协调一致欧洲也指定了一套类似的货品代码体系。1977年建立了欧洲货品协会European Article Association,其组织成员覆盖了全球98个国家。为了综合美国和欧洲的产品代码,设在美国的“均匀码理事会”(Uniform Code Council, UCC)把现今使用的EAN称为EAN·UCC。

更名

1981年,EAN已發展為國際性組織,改名為國際商品編碼協會。

現在

2005年EAN正式更名為GS1(Global Standard One)。 2005年1月1日起北美洲实行EAN-13的货品代码。

EAN-13 代码

在条形码中的应用

一位数字由两条明线和两条暗线来定义。

四条线段以最细的一条为标准,分别有一倍、两倍、三倍、四倍四种粗细。

同时一位数字的四条线段加起来的粗度正好是标准线段(最细线段)的七倍。

编碼的组成

EAN-13條碼分3類:L、G、R
L碼
G碼
R碼
已隱藏部分未翻譯内容,歡迎參與翻譯

要编码一个13位数字,需要先把这些数字分为3部分:第一个数字,开始6个数字和后6个数字。开始的6个数字有两种编码模式,even模式(标识为G)和odd模式(标识为L)。第一个数字不会直接用G或L模式编码,但决定了开始6数字是用G模式还是L模式。后6个数字都会用RRRRRR模式来编码。 To encode the 13-digit EAN-13 number, the digits are split into 3 groups; the first digit, the first group of 6 and the last group of 6. The first group of 6 is encoded using a pattern whereby each digit has two possible encodings, one of which has even parity (denoted with letter G) and one of which has odd parity (denoted with letter L). The first digit is not represented directly by a pattern of bars and spaces, but is encoded indirectly, by selecting a pattern of choices between these two encodings for the first group of 6 digits, according to the table below. All digits in the last group of 6 digits are encoded using a single pattern RRRRRR, the one also used for UPC.

比如第一个数字为0,那么前6个数字全部使用LLLLLL模式来编码。UPC条码可以理解为一个0开头的EAN13条码。 If the first digit is zero, all digits in the first group of 6 are encoded using the pattern LLLLLL used for UPC, therefore, a UPC barcode is also an EAN-13 barcode with the first digit set to zero.

Structure of EAN-13
First digit First group of 6 digits Last group of 6 digits
0 LLLLLL RRRRRR
1 LLGLGG RRRRRR
2 LLGGLG RRRRRR
3 LLGGGL RRRRRR
4 LGLLGG RRRRRR
5 LGGLLG RRRRRR
6 LGGGLL RRRRRR
7 LGLGLG RRRRRR
8 LGLGGL RRRRRR
9 LGGLGL RRRRRR

This encoding guarantees that the first group always starts with an L-code, which has odd parity, and that the second group always starts with an R-code, which has even parity. Thus, it does not matter whether the barcode is scanned from the left or from the right, as the scanning software can use this parity to identify the start and end of the code.

EAN-8 barcodes encode all digits directly, using this scheme:

Structure of EAN-8
First group of 4 digits Last group of 4 digits
LLLL RRRR
Encoding of the digits
Digit L-code G-code R-code
0 0001101 0100111 1110010
1 0011001 0110011 1100110
2 0010011 0011011 1101100
3 0111101 0100001 1000010
4 0100011 0011101 1011100
5 0110001 0111001 1001110
6 0101111 0000101 1010000
7 0111011 0010001 1000100
8 0110111 0001001 1001000
9 0001011 0010111 1110100

Note: Entries in the R-column are bitwise complements (logical operator: negation) of the respective entries in the L-column. Entries in the G-column are the entries in the R-column in reverse bit order. See pictures of all codes against a colored background.

A run of one or more black areas is known as a "bar", and a run of one or more white areas is known as a "space". As can be seen in the table, each digit's encoding comprises two bars and two spaces, and the maximum width of a bar or space is four areas.

校驗碼的計算方法

  1. 例子:假設某國際商品條碼的前 12 位是:490-8569-21968
  2. 計算加權和:
  3. 校驗碼即為加權和除以 10 的餘數

所以,範例的校驗碼是 9,完整的國際商品條碼為 490-8569-21968-9

外部連結

參考來源

註釋
  1. ^ 979-0特意留空,給予國際標準音樂出版物編碼(ISMN)使用。
引用
  1. ^ Prefix List, GS1, [2017-01-03], (原始内容存档于2014-12-28) .
  2. ^ Alumni Hall of Fame Members. University of Maryland Alumni Association. The University of Maryland. 2005 [2009-06-10]. (原始内容存档于2007-06-23). After graduating from Maryland in 1951, George Laurer joined IBM as a junior engineer and worked up the ranks to senior engineer. In 1969, he returned to the technical side of engineering and was later assigned the monumental task of designing a code and symbol for product identification for the Uniform Grocery Product Code Council. His solution — the Universal Product Code — radically changed the retail world. Since then, he has enhanced the code by adding a 13th digit. Laurer retired from IBM in 1987. He holds some 25 patents and is a member of the university’s A. James Clark School of Engineering Hall of Fame. 
  3. ^ 商品條碼發起人Alan Haberman與世長辭. Unwire.hk. 2011年6月17日 (2011-06-17) [2017-01-03]. (原始内容存档于2017-01-04). 
  4. ^ MARGALIT FOX. 现代条形码发明者伍德兰去世. 纽约时报中文网. 2012年12月17日 (2012-12-17) [2017-01-03]. (原始内容存档于2017-01-04).  ([//web.archive.org/web/20170104000906/http://cn.nytimes.com/obits/20121217/c17woodland-obit/zh-hant/ 页面存档备份,存于互联网档案馆) (页面存档备份,存于互联网档案馆) (页面存档备份,存于互联网档案馆) (页面存档备份,存于互联网档案馆(繁體中文)] (页面存档备份,存于互联网档案馆

Read other articles:

  提示:此条目页的主题不是中華人民共和國最高領導人。 中华人民共和国 中华人民共和国政府与政治系列条目 执政党 中国共产党 党章、党旗党徽 主要负责人、领导核心 领导集体、民主集中制 意识形态、组织 以习近平同志为核心的党中央 两个维护、两个确立 全国代表大会 (二十大) 中央委员会 (二十届) 总书记:习近平 中央政治局 常务委员会 中央书记处 中…

Ця стаття потребує додаткових посилань на джерела для поліпшення її перевірності. Будь ласка, допоможіть удосконалити цю статтю, додавши посилання на надійні (авторитетні) джерела. Зверніться на сторінку обговорення за поясненнями та допоможіть виправити недоліки. Матер…

穆罕默德·达乌德汗سردار محمد داود خان‎ 阿富汗共和國第1任總統任期1973年7月17日—1978年4月28日前任穆罕默德·查希爾·沙阿(阿富汗國王)继任穆罕默德·塔拉基(阿富汗民主共和國革命委員會主席團主席) 阿富汗王國首相任期1953年9月7日—1963年3月10日君主穆罕默德·查希爾·沙阿 个人资料出生(1909-07-18)1909年7月18日 阿富汗王國喀布尔逝世1978年4月28日(197…

John Mayer John Clayton Mayer lahir 16 Oktober 1977 di Bridgeport, Connecticut. Ia adalah seorang penyanyi berkebangsaan Amerika[1]. Dia belajar di Berklee College sebelum pindah ke Atlanta, Georgia sejak tahun 1998. Ayahnya, Richard Mayer adalah seorang kepala sekolah menengah dan ibunya, Margaret adalah seorang guru bahasa Inggris sekolah menengah. Ia dibesarkan di dekat Fairfield dan merupakan anak tengah. John Mayer akan menyambangi negara-negara di Asia untuk rangkaian John Mayer Wo…

本條目存在以下問題,請協助改善本條目或在討論頁針對議題發表看法。 此條目需要編修,以確保文法、用詞、语气、格式、標點等使用恰当。 (2013年8月6日)請按照校對指引,幫助编辑這個條目。(幫助、討論) 此條目剧情、虛構用語或人物介紹过长过细,需清理无关故事主轴的细节、用語和角色介紹。 (2020年10月6日)劇情、用語和人物介紹都只是用於了解故事主軸,輔助讀…

Car race 2014 Liqui MolyBathurst 12 Hour Previous 2013 Next 2015 Layout of the Mount Panorama Circuit The race winning Ferrari 458 Italia GT3 of John Bowe, Peter Edwards, Craig Lowndes and Mika Salo. The 2014 Liqui Moly Bathurst 12 Hour was an endurance race for a variety of GT and touring car classes, including: GT3 cars, GT4 cars and Group 3E Series Production Cars.[1] The event, which was staged at the Mount Panorama Circuit, near Bathurst, in New South Wales, Australia on 9 February …

  لمعانٍ أخرى، طالع فرانكفورت (توضيح). فرانكفورت    علم شعار الاسم الرسمي (بالألمانية: Frankfurt am Main)‏    الإحداثيات 50°06′38″N 8°40′56″E / 50.110555555556°N 8.6822222222222°E / 50.110555555556; 8.6822222222222   [1] تاريخ التأسيس القرن 1  تقسيم إداري  البلد ألمانيا (3 أكتوبر 19…

Professor EmeritusSimon RogersonNationalityBritishAwardsIFIP Working Group 9.2 Namur Award (1999), ACM SIGCAS Making a Difference Award (2005)Academic backgroundInfluencesAndrew Sereda, Christine Fidler, Terrell Ward Bynum, Donald GotterbarnAcademic workDisciplineComputer Science, Information Systems, Applied PhilosophyMain interestsComputer and Information Ethics, Information Systems, Professionalism, Information Integrity, Interdisciplinary ApproachesNotable worksETHICOMP conference series and…

Network of loose international relations centered on China China (yellow) and its tributaries (orange), 1820 A mural from the Qianling Mausoleum in Shaanxi, 706. Foreign ambassadors are being received at court. The bald man in the middle is from the West and the man to his right is from Silla. The tributary system of China (simplified Chinese: 中华朝贡体系; traditional Chinese: 中華朝貢體系; pinyin: Zhōnghuá cháogòng tǐxì), or Cefeng system (simplified Chinese: …

اللغة اللوية   النسب لغات هندية أوروبية لغات هندية أوروبيةلغات أناضوليةLuwic (en) اللوية تعديل مصدري - تعديل   مناطق انتشار اللغة اللوية بأواسط الأناضول وشمال غرب سوريا. اللغة اللوية أو اللغة اللوفية لغة اللوفيون هي لغة منقرضة حاليا تبع مجموعة اللغات الأناضولية من عائلة ال…

  لمعانٍ أخرى، طالع مقاطعة ميرسير (توضيح). هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (مارس 2016) مقاطعة ميرسير     الإحداثيات 41…

Musical theories of Hugo Riemann For the mathematical conjecture, see Riemann hypothesis. Illustration of Riemann's dualist system: minor as upside down major. Half-steps are indicated by slur marks, other notes are separated by whole steps. The descending melodic minor scale shown has the same order of half steps and whole steps as the ascending major scale. Riemannian theory, in general, refers to the musical theories of German theorist Hugo Riemann (1849–1919). His theoretical writings cove…

Defunct American record label Volcano EntertainmentParent companyIndependent (1996-1998)Zomba Recording Corporation (1998-2003)Q Prime (1998-2000)BMG (2003-2004)Sony BMG Music Entertainment (2004-2008)Sony Music Entertainment (2008-present)Founded1996FounderKevin CzingerStatusDormantDistributor(s)Sony Music(In the US)RCA Records(Outside the US)Legacy Recordings(Reissues)Country of originUnited StatesLocationLos Angeles, New York City Volcano Entertainment (sometimes referred to as Volcano Record…

Shopping mall in Tennessee, United StatesOpry MillsEntrance in 2022LocationNashville, Tennessee, United StatesCoordinates36°12′11″N 86°41′34″W / 36.20306°N 86.69278°W / 36.20306; -86.69278Opening dateMay 12, 2000[1] DeveloperMills CorporationOwnerSimon Property GroupNo. of stores and services178No. of anchor tenants14 (13 open, 1 vacant)Total retail floor area1,168,641 square feet (108,570 m2)No. of floors1Websiteoprymills.com Opry Mills is a supe…

Para otros usos de este término, véase Prosperidad (desambiguación). Para el barrio madrileño, véase Prosperidad (barrio). Prosperidad Municipio Palacio municipal Bandera ProsperidadLocalización de Prosperidad en Filipinas Coordenadas 8°36′21″N 125°54′55″E / 8.6057, 125.9153Entidad Municipio • País  Filipinas • Región Caraga • Provincia Agusan del SurSuperficie   • Total 505,15 km² Altitud   • Media 277 m s…

7th SFFCC Awards December 15, 2008 Best Picture: Milk The 7th San Francisco Film Critics Circle Awards, honoring the best in film for 2008, were given on 15 December 2008. Winners Gus Van Sant, Best Director winner Sean Penn, Best Actor co-winner Mickey Rourke, Best Actor co-winner Sally Hawkins, Best Actress winner Heath Ledger, Best Supporting Actor winner Marisa Tomei, Best Supporting Actress winner Best Picture: Milk Best Director: Gus Van Sant – Milk Best Original Screenplay: Milk – Dus…

Altavilla Silentina Altavilla Silentina adalah sebuah kota dan Comune terletak di provinsi Salerno, Campania, sekitar 100 km selatan Naples, Italia. Altavilla Silentina tersebar pada dua punggung bukit. Hal ini terlindung di sisi timur laut oleh Pegunungan Alburni dan di Barat melihat dataran dari Sungai Sele dan Laut Tyrrhenian . Panorama termasuk pulau Capri, pegunungan dari Amalfi Coast dan Teluk Salerno di bagian utara. lbsKomune di Provinsi Salerno, CampaniaAcerno • Agropoli • Alba…

This article is about the former French department. For the city known as Gênes in French, see Genoa. Département de Gênesdepartment of the First French Empire1805–1815 FlagAdministrative map of the Italian portion of the French Empire.CapitalGenoaArea • Coordinates44°24′N 8°55′E / 44.400°N 8.917°E / 44.400; 8.917  • 1812[1]2,376 km2 (917 sq mi)Population • 1812[1] 400,056 History •…

Georges SéférisGeorges Séféris en 1963FonctionAmbassadeurBiographieNaissance 13 mars 1900Smyrne, Empire ottomanDécès 20 septembre 1971 (à 71 ans)Athènes, GrèceSépulture Premier cimetière d'AthènesNom de naissance Γιώργος ΣεφέρηςGiorgos SeferiadisNom officiel Γιώργος ΣεφέρηςPseudonyme Γιώργος ΣεφέρηςNationalité grecqueDomicile Pangráti (1962-1971)Formation Université Paris-I-Panthéon-SorbonneActivité Poète, DiplomatePère Stélio S…

6th South African Armoured DivisionStemma della divisione Descrizione generaleAttivafebbraio 1943 - marzo 1946 Nazione Sudafrica Rhodesia Meridionale ServizioSouth African Army TipoDivisione corazzata Battaglie/guerreSeconda guerra mondiale: Campagna d'Italia ComandantiDegni di notaEvered Poole fonti citate nel corpo del testo Voci su unità militari presenti su Wikipedia La 6th South African Armoured Division fu una divisione corazzata del South African Army, creata nel febbraio 1943 per p…