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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

23032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343Validity Test: The input character string must satisfy the following: It must match the grammar for GS3A3Component as specified in Section 5. For each portion of the string that matches the Escape production of the grammarspecified in Section 5 (that is, a 3-character sequence consisting of a % characterfollowed by two hexadecimal digits), the two hexadecimal characters following the %character must map to one of the 82 allowed characters specified in Table 47(Appendix A). The number of characters must be less than b/7, where b is the value specified in the“Coding Segment Bit Count” row of the coding table.If any of the above tests fails, the encoding of the URI fails.Output: Consider the input to be a string of zero or more characters s 1 s 2 …s N , where eachcharacter s i is either a single character or a 3-character sequence matching the Escapeproduction of the grammar (that is, a 3-character sequence consisting of a % characterfollowed by two hexadecimal digits). Translate each character to a 7-bit string. For asingle character, the corresponding 7-bit string is specified in Table 47 (Appendix A).For an Escape sequence, the 7-bit string is the value of the two hexadecimal charactersconsidered as a 7-bit integer. Concatenating those 7-bit strings in the ordercorresponding to the input, then pad with zero bits as necessary to total b bits, where b isthe value specified in the “Coding Segment Bit Count” row of the coding table. (Thenumber of padding bits will be b – 7N.) The resulting b-bit string is the output.14.3.3 “Partition Table” Encoding MethodThe Partition Table encoding method is used for a segment that appears in the URI as apair of variable-length numeric fields separated by a dot (“.”) character, and in thebinary encoding as a 3-bit “partition” field followed by two variable length binaryintegers. The number of characters in the two URI fields always totals to a constantnumber of characters, and the number of bits in the binary encoding likewise totals to aconstant number of bits.The Partition Table encoding method makes use of a “partition table.” The specificpartition table to use is specified in the coding table for a given <strong>EPC</strong> scheme.Input: The input to the encoding method is the URI portion indicated in the “URIportion” row of the encoding table. This consists of two strings of digits separated by adot (“.”) character. For the purpose of this encoding procedure, the digit strings to theleft and right of the dot are denoted C and D, respectively.Validity Test: The input must satisfy the following: C must match the grammar for PaddedNumericComponent as specified inSection 5. D must match the grammar for PaddedNumericComponentOrEmpty asspecified in Section 5. The number of digits in C must match one of the values specified in the “<strong>GS1</strong>Company Prefix Digits (L)” column of the partition table. The corresponding row iscalled the “matching partition table row” in the remainder of the encoding procedure.Copyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 84 of 218

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

Saved successfully!

Ooh no, something went wrong!