Codeofchina.com is in charge of this English translation. In case of any doubt about the English translation, the Chinese original shall be considered authoritative.
This standard is developed in accordance with the rules given in GB/T 1.1-2009.
This standard was proposed by the GS1 China.
This standard is under the jurisdiction of National Technical Committee on Logistics Information Management of Standardization Administration of China (TC 267).
Two dimensional code for commodity
1 Scope
This standard specifies the data structure, information service and symbol printing quality requirements and other technical requirements of the two dimensional code for commodity.
This standard is applicable to the management, application and service of the two dimensional code for commodity.
2 Normative references
The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition (including any amendments) applies.
GB/T 1988 Information technology—7-bit Coded character set for information interchange
GB 12904 Bar code for commodity—Retail commodity numbering and bar code marking
GB/T 12905-2000 Bar coding terminology
GB/T 14257 Bar code for commodity—Bar code symbol placement guidelines
GB/T 16986-2009 Bar code for commodity—Application identifier
GB/T 18284 QR code
GB/T 21049 Chinese-sensible code
GB/T 23704 Information technology—Automatic identification and data capture techniques—Bar code print quality test specification—Two-dimensional symbols
ISO/IEC 16022 Information technology—Automatic identification and data capture (AIDC) techniques—Data Matrix bar code symbology specification
RFC 1738 Uniform Resource Locators(URL)
RFC 3986 Uniform Resource Identifier (URL): Generic Syntax
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
two dimensional code
two dimensional bar code
bar code symbol that represents information in both two dimensional direction
[GB/T 12905-2000, Definition 2.54]
3.2
application identifier; AI
character that identifies the meaning and format of data, which shall consist of 2 to 4 digits
[GB/T 16986-2009, Definition 3.1]
3.3
two dimensional code for commodity
two dimensional code used to identify commodity and its characteristic attributes, commodity-related websites and other information
4 Symbols, codes and abbreviations
For the purpose of this document, the following symbols, codes and abbreviations apply.
FNC1 Function 1
GS1 Globe Standard 1
GTIN Global Trade Item Number
OWS Object Web Service
URI Uniform Resource Identifier
URL Uniform Resource Locater
5 Data structure of two dimensional code for commodity
5.1 Data structure type
The data structure of the two dimensional code for commodity is classified into encoded data structure, unified national website data structure and vendor-defined website data structure. See 5.2 for the encoded data structure; 5.3 for the unified national website data structure; 5.4 for the vendor-defined website data structure.
5.2 Encoded data structure
5.2.1 Composition of encoded data structure
The encoded data structure shall consist of one or more element strings taken from Table 1 in sequence. Each element string shall consist of a GS1 application identifier (AI) and a GS1 application identifier (AI) data field. The GS1 application identifier and GS1 application identifier data fields for the extended data item are taken from Table A.1 in Annex A. Among them, the GTIN element string is required, and others are optional. See C.1 and C.2 of Annex C for examples of the two dimensional code for commodity of encoded data structures.
Table 1 Element string of two dimensional code for commodity
Name of element string GS1 application identifier (AI) Format of GS1 application identifier (AI) data field Optional/required
Global trade item number (GTIN) 01 N14 a Required
Batch or lot number 10 X..20 b Optional
Serial number 21 X..20 Optional
Expiration date (YYMMDD) 17 N6 Optional
Extended data item c AI (see Table A.1) Format of corresponding AI data field Optional
Extended packaging URL 8200 Follow the provisions of RFC1738 protocol on URL Optional
a N: numeric character, N14: 14 numeric characters, with fixed length.
b X: Any character in Table B.1 in Annex B, X..20: maximum of 20 arbitrary characters in Table B.1, with variable length.
c Extended data items: users can select 1 to 3 element strings from Table A.1 to represent other extended information of products.
5.2.2 Global trade item number (GTIN) element string
The GTIN element string shall consist of the GS1 application identifier "01" and its corresponding data field of the application identifier, which shall appear as the first element string. The GTIN data field shall consist of 14-digit codes, including packaging indicator, vendor identification code, item code and check code, see reference [1] in Bibliography. See GB 12904 for the allocation and calculation of vendor identification code, item code and check code.
5.2.3 Batch or lot number element string
The batch or lot number element string shall consist of the GS1 application identifier "10" and the batch or lot number data field for commodity. The batch or lot number data field is a vendor-defined alphanumeric string, with variable length, up to 20 bytes, including all the characters in Table B.1.
5.2.4 Serial number element string
The serial number element string shall consist of the GS1 application identifier "21" and the serial number data field for commodity. The serial number data field is a vendor-defined alphanumeric string, with variable length, up to 20 bytes, including all the characters in Table B.1.
Foreword i
1 Scope
2 Normative references
3 Terms and definitions
4 Symbols, codes and abbreviations
5 Data structure of two dimensional code for commodity
6 Information service of two dimensional code for commodity
7 Symbol of two dimensional code for commodity
8 Symbol quality requirements of two dimensional code for commodity
Annex A (Normative) Element string and parse query table of the two dimensional code for commodity
Annex B (Informative) Encoded character set of GS1 application identifier data field
Annex C (Informative) Examples of the two dimensional code for commodity
Annex D (Normative) Information service of the two dimensional code for commodity
Annex E (Normative) Symbol position of the two dimensional code for commodity
Annex F (Informative) Graphic position in the two dimensional code for commodity
Bibliography
Codeofchina.com is in charge of this English translation. In case of any doubt about the English translation, the Chinese original shall be considered authoritative.
This standard is developed in accordance with the rules given in GB/T 1.1-2009.
This standard was proposed by the GS1 China.
This standard is under the jurisdiction of National Technical Committee on Logistics Information Management of Standardization Administration of China (TC 267).
Two dimensional code for commodity
1 Scope
This standard specifies the data structure, information service and symbol printing quality requirements and other technical requirements of the two dimensional code for commodity.
This standard is applicable to the management, application and service of the two dimensional code for commodity.
2 Normative references
The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition (including any amendments) applies.
GB/T 1988 Information technology—7-bit Coded character set for information interchange
GB 12904 Bar code for commodity—Retail commodity numbering and bar code marking
GB/T 12905-2000 Bar coding terminology
GB/T 14257 Bar code for commodity—Bar code symbol placement guidelines
GB/T 16986-2009 Bar code for commodity—Application identifier
GB/T 18284 QR code
GB/T 21049 Chinese-sensible code
GB/T 23704 Information technology—Automatic identification and data capture techniques—Bar code print quality test specification—Two-dimensional symbols
ISO/IEC 16022 Information technology—Automatic identification and data capture (AIDC) techniques—Data Matrix bar code symbology specification
RFC 1738 Uniform Resource Locators(URL)
RFC 3986 Uniform Resource Identifier (URL): Generic Syntax
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
3.1
two dimensional code
two dimensional bar code
bar code symbol that represents information in both two dimensional direction
[GB/T 12905-2000, Definition 2.54]
3.2
application identifier; AI
character that identifies the meaning and format of data, which shall consist of 2 to 4 digits
[GB/T 16986-2009, Definition 3.1]
3.3
two dimensional code for commodity
two dimensional code used to identify commodity and its characteristic attributes, commodity-related websites and other information
4 Symbols, codes and abbreviations
For the purpose of this document, the following symbols, codes and abbreviations apply.
FNC1 Function 1
GS1 Globe Standard 1
GTIN Global Trade Item Number
OWS Object Web Service
URI Uniform Resource Identifier
URL Uniform Resource Locater
5 Data structure of two dimensional code for commodity
5.1 Data structure type
The data structure of the two dimensional code for commodity is classified into encoded data structure, unified national website data structure and vendor-defined website data structure. See 5.2 for the encoded data structure; 5.3 for the unified national website data structure; 5.4 for the vendor-defined website data structure.
5.2 Encoded data structure
5.2.1 Composition of encoded data structure
The encoded data structure shall consist of one or more element strings taken from Table 1 in sequence. Each element string shall consist of a GS1 application identifier (AI) and a GS1 application identifier (AI) data field. The GS1 application identifier and GS1 application identifier data fields for the extended data item are taken from Table A.1 in Annex A. Among them, the GTIN element string is required, and others are optional. See C.1 and C.2 of Annex C for examples of the two dimensional code for commodity of encoded data structures.
Table 1 Element string of two dimensional code for commodity
Name of element string GS1 application identifier (AI) Format of GS1 application identifier (AI) data field Optional/required
Global trade item number (GTIN) 01 N14 a Required
Batch or lot number 10 X..20 b Optional
Serial number 21 X..20 Optional
Expiration date (YYMMDD) 17 N6 Optional
Extended data item c AI (see Table A.1) Format of corresponding AI data field Optional
Extended packaging URL 8200 Follow the provisions of RFC1738 protocol on URL Optional
a N: numeric character, N14: 14 numeric characters, with fixed length.
b X: Any character in Table B.1 in Annex B, X..20: maximum of 20 arbitrary characters in Table B.1, with variable length.
c Extended data items: users can select 1 to 3 element strings from Table A.1 to represent other extended information of products.
5.2.2 Global trade item number (GTIN) element string
The GTIN element string shall consist of the GS1 application identifier "01" and its corresponding data field of the application identifier, which shall appear as the first element string. The GTIN data field shall consist of 14-digit codes, including packaging indicator, vendor identification code, item code and check code, see reference [1] in Bibliography. See GB 12904 for the allocation and calculation of vendor identification code, item code and check code.
5.2.3 Batch or lot number element string
The batch or lot number element string shall consist of the GS1 application identifier "10" and the batch or lot number data field for commodity. The batch or lot number data field is a vendor-defined alphanumeric string, with variable length, up to 20 bytes, including all the characters in Table B.1.
5.2.4 Serial number element string
The serial number element string shall consist of the GS1 application identifier "21" and the serial number data field for commodity. The serial number data field is a vendor-defined alphanumeric string, with variable length, up to 20 bytes, including all the characters in Table B.1.
Contents of GB/T 33993-2017
Foreword i
1 Scope
2 Normative references
3 Terms and definitions
4 Symbols, codes and abbreviations
5 Data structure of two dimensional code for commodity
6 Information service of two dimensional code for commodity
7 Symbol of two dimensional code for commodity
8 Symbol quality requirements of two dimensional code for commodity
Annex A (Normative) Element string and parse query table of the two dimensional code for commodity
Annex B (Informative) Encoded character set of GS1 application identifier data field
Annex C (Informative) Examples of the two dimensional code for commodity
Annex D (Normative) Information service of the two dimensional code for commodity
Annex E (Normative) Symbol position of the two dimensional code for commodity
Annex F (Informative) Graphic position in the two dimensional code for commodity
Bibliography