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.

262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265914.4.4 “Unpadded Partition Table” Decoding MethodThe Unpadded Partition Table decoding method is used for a segment that appears in theURI as a pair of variable-length numeric fields separated by a dot (“.”) character, and inthe binary encoding as a 3-bit “partition” field followed by two variable length binaryintegers. The number of characters in the two URI fields is always less than or equal to aknown limit, and the number of bits in the binary encoding is always a constant numberof bits.The Unpadded Partition Table decoding method makes use of a “partition table.” Thespecific partition table to use is specified in the coding table for a given <strong>EPC</strong> scheme.Input: The input to the decoding method is the bit string identified in the “bit position”row of the coding table. Logically, this bit string is divided into three substrings,consisting of a 3-bit “partition” value, followed by two substrings of variable length.Validity Test: The input must satisfy the following: The three most significant bits of the input bit string, considered as a binary integer,must match one of the values specified in the “partition value” column of the partitiontable. The corresponding row is called the “matching partition table row” in theremainder of the decoding procedure. Extract the M next most significant bits of the input bit string following the threepartition bits, where M is the value specified in the “Compay Prefix Bits” column ofthe matching partition table row. Consider these M bits to be an unsigned binaryinteger, C. The value of C must be less than 10 L , where L is the value specified in the“<strong>GS1</strong> Company Prefix Digits (L)” column of the matching partition table row. There are N bits remaining in the input bit string, where N is the value specified in the“Other Field Bits” column of the matching partition table row. Consider these N bitsto be an unsigned binary integer, D. The value of D must be less than 10 K , where K isthe value specified in the “Other Field Max Digits (K)” column of the matchingpartition table row.Output: Construct the output character string by concatenating the following threecomponents: The value C converted to a decimal numeral, padding on the left with zero (“0”)characters to make L digits in total. A dot (“.”) character. The value D converted to a decimal numeral, with no leading zeros (except that ifD = 0 it is converted to a single zero digit).14.4.5 “String Partition Table” Decoding MethodThe String Partition Table decoding method is used for a segment that appears in the URIas a variable-length numeric field and a variable-length string field separated by a dot(“.”) character, and in the binary encoding as a 3-bit “partition” field followed by avariable length binary integer and a variable length binary-encoded character string. Thenumber of characters in the two URI fields is always less than or equal to a known limitCopyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 92 of 218

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

Saved successfully!

Ooh no, something went wrong!