11.08.2015 Views

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>EPC</strong>URIurn:epc:id:gsrn:CompanyPrefixAssetReference141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447<strong>GS1</strong>ElementString(8004)CompanyPrefixFigure 12.Correspondence between GIAI <strong>EPC</strong> URI and <strong>GS1</strong> Element StringFormally, the correspondence is defined as follows. Let the <strong>EPC</strong> URI and the <strong>GS1</strong>element string be written as follows:<strong>EPC</strong> URI: urn:epc:id:giai:d 1 d 2 …d L .s 1 s 2 …s K<strong>GS1</strong> Element String: (8004)d 1 d 2 …d L s 1 s 2 …s KTo find the <strong>GS1</strong> element string corresponding to a GIAI <strong>EPC</strong> URI:1. Number the characters of the two components of the <strong>EPC</strong> as shown above. Each s icorresponds to either a single character or to a percent-escape triplet consisting of a %character followed by two hexadecimal digit characters.2. Arrange the resulting digits and characters as shown for the <strong>GS1</strong> Element String. Ifany s i in the <strong>EPC</strong> URI is a percent-escape triplet %xx, in the <strong>GS1</strong> Element Stringreplace the triplet with the corresponding character according to Table 47 (AppendixA). (For a given percent-escape triplet %xx, find the row of Table 47 that containsxx in the “Hex Value” column; the “Graphic Symbol” column then gives thecorresponding character to use in the <strong>GS1</strong> Element String.)To find the <strong>EPC</strong> URI corresponding to a <strong>GS1</strong> element string that includes a GIAI(AI 8004):1. Number the digits and characters of the <strong>GS1</strong> element string as shown above.2. Determine the number of digits L in the <strong>GS1</strong> Company Prefix. This may be done, forexample, by reference to an external table of company prefixes.3. Arrange the digits as shown for the <strong>EPC</strong> URI. For each serial number character s i ,replace it with the corresponding value in the “URI Form” column of Table 47(Appendix A) – either the character itself or a percent-escape triplet if s i is not alegal URI character.<strong>EPC</strong> URI: urn:epc:id:giai:0614141.32a%2Fb<strong>GS1</strong> element string: (8004) 0614141 32a/bAssetReferenceSpaces have been added to the <strong>GS1</strong> element string for clarity, but they are never encoded.In this example, the slash (/) character in the serial number must be represented as anescape triplet in the <strong>EPC</strong> URI.Copyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 48 of 218

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!