GB/T 40204-2021General rules of two dimensional barcodes for traceability (English PDF)
追溯二维码技术通则
This is a limited preview
Buy now to download the full PDF (34 pages)
Need quotation for your management?
Get a formal quotation for GB/T 40204-2021 in 30 minutes.
Issued by
SAMR; SAC
Level / Type
National · Recommended
Issue date
May 21, 2021
Implementation date
December 1, 2021
Scope
GB/T 40204-2021 is the English-translated version of 追溯二维码技术通则.
GB/T 40204-2021 sets the general rules for the two-dimensional barcodes that carry traceability information in traceability systems. It covers the basic requirements, including the identification objects: traceability participants, physical locations, transaction information and trade, logistics, shipment, asset and document traceability units.
It defines two data structures, a coded structure built from application identifier data strings and a URL structure, and explains how a scanning terminal parses the data or queries the service address.
It also sets out the symbologies to use, such as Han Xin Code, QR Code and Data Matrix, symbol size, placement and print quality grade. Annexes give the data string and parse table, the coded character set and worked examples. It was issued on 21 May 2021 and has applied since 1 December 2021.
Found what you need?
Document preview — GB/T 40204-2021
National Standard of the People's Republic of China
- ICS
- 35.040
- Classification
- L 71
Issued by: State Administration for Market Regulation; Standardization Administration of the PRC
Contents
- FOREWORD3
- 1 Scope4
- 2 Normative references4
- 3 Terms and definitions4
- 4 Basic requirements5
- 5 Data structure5
- 6 Information processing12
- 7 Symbols13
- 8 Symbol quality requirements13
- 9 Application14
- Appendix A (Normative) Unit data string of two dimensional barcodes for traceability and parse and query table15
- Appendix B (Normative) Coded character set of the application identifier data field21
- Appendix C (Informative) Application examples of two dimensional barcodes for traceability23
- References34
1 Scope
This document specifies the basic requirements, data structure, information processing, symbols and symbol quality requirements for two dimensional barcodes for traceability.
This document applies to the establishment, management and application of traceability systems using two-dimensional barcodes as information carriers.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the version corresponding to that date is applicable to this document; for undated references, the latest version (including all amendments) is applicable to this document.
GB/T 1988-1998, Information technology - 7-bit Coded character set for information interchange
GB/T 12905-2019, Bar code terminology
GB/T 16986-2018, Bar code for commodity - Application identifier
GB/T 23704, Two-dimensional bar code symbol print quality test
GB/T 33993-2017, Two dimensional code for commodity
GB/T 38155-2019, Important product traceability - Traceability terminology
3 Terms and definitions
Terms and definitions determined by GB/T 12905-2019, GB/T 16986-2018 and GB/T 38155-2019, as well as the following ones are applicable to this document.
3.1 Two dimensional barcodes for traceability
Two-dimensional barcodes that carry key traceability information.
3.2 Application identifier, AI
Characters that identify the meaning and format of data, consisting of 2 ~ 4 digits. [Source: GB/T 16986-2018, 3.1]
4 Basic requirements
4.1 General
The two dimensional barcodes for traceability shall be based on the identification object corresponding to the traceability system; an appropriate data structure shall be selected, to be in one-to-one correspondence with its traceability accuracy. A two dimensional barcode for traceability shall be given when the traceability unit is generated; the barcode shall accompany the entire life cycle of the traceability unit. The coding of the two dimensional barcodes for traceability shall adopt the international common coding technology; the identification of the two dimensional barcodes for traceability shall adopt the two-dimensional code symbology with international standards or national standards.
4.2 Identification objects
The identification objects of the two dimensional barcodes for traceability are traceability participants, traceability units, physical locations and transaction information. Among them, traceability units include trade traceability unit, logistics traceability unit, freight traceability unit, asset traceability unit and document traceability unit.
5 Data structure
5.1 General requirements
5.1.1 Data structure types
The data structure of the two dimensional barcodes for traceability is divided into coded data structure and URL data structure. Refer to 5.1.2 for coded data structure, and 5.1.3 for URL data structure.
5.1.2 Coded data structure
The coded data structure consists of one or more required unit data string(s) and optional unit data string(s) in sequence. Each unit data string consists of an application identifier (AI) and an application identifier data field. The application identifier shall comply with the provisions of GB/T 16986-2018; the meaning, format and unit data string name of the application identifier and its corresponding data coding shall comply with the provisions of Appendix A. The characters shall contain all the characters in Table 2 of GB/T 1988-1998, and shall comply with the provisions of Appendix B.
6 Information processing
6.1 Analysis of coded data structures
When the terminal scans and reads the two dimensional barcode for traceability of the traceability unit, the information carried by the two-dimensional code shall be analyzed.
For each unit data string contained in the two dimensional barcode for traceability of the traceability unit, according to the analyzed application identifier, look up table A.1 to obtain the name of the unit data string and the corresponding application identifier data field and transmit it to the local information management system or network information system for processing. The name of the unit data string and the corresponding application identifier data field shall be separated by ":", and the information of different unit data strings shall be displayed in separate lines. EXAMPLE:
The encoded information character string in the two dimensional barcode for traceability of a trade traceability unit is:
(01)06901234567892(10)A1000B0000(21)C51031902101083826 The encoded information format obtained after the terminal scans the two dimensional barcode for traceability of the trade traceability unit is:
Global Trade Item Number: 06901234567892 Batch or Lot Number: A1000B0000 Serial Number: C51031902101083826
Note: The brackets on both sides of the application identifier (such as "01", "10", "21", etc.) in the example of the encoded data structure are only for the convenience of distinguishing the application identifier; they are not part of the identifier, and shall not be stored in the two-dimensional code.
6.2 Information services for URL data structures
When the terminal scans the two dimensional barcode for traceability, according to the interface and parameter definition of the relevant traceability service, access the service address pointed to by the URI in the two dimensional barcode for traceability to obtain the relevant traceability service information.
7 Symbols
7.1 Symbology
The two-dimensional code symbology with international or national standards such as ISO Han Xin Code, QR Code or Data Matrix Code shall be used for two dimensional barcodes for traceability.
7.2 Size
The size of the two dimensional barcodes for traceability shall be comprehensively determined according to the coding content, error correction level, reading device and system, and the allowable space of the label. If necessary, it needs to be determined by relevant adaptive experiments. The minimum module size should not be less than 0.254 mm.
7.3 Location
The identification carrier of the two dimensional barcodes for traceability shall be pasted or etched on the traceability unit, or attached to the tray containing the traceability unit or the attached document, until the traceability unit is no longer required. The selection of the location of the two dimensional barcodes for traceability shall meet the following conditions:
-- The selection of the identification location shall ensure that the identification symbol is not deformed or defaced;
-- The selection of the identification location shall be easy to scan and easy to read.
8 Symbol quality requirements
8.1 Requirements for symbol quality grade
The symbol grade of the two-dimensional barcode for traceability shall not be lower than 1.5/××/660. […]
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 34 pages — is available in the English PDF.
Referenced standards
Normative references
- GB/T 1988-1998Information technology. 7-bit Coded character set for information interchange
- GB/T 12905-2019Bar code terminology
- GB/T 16986-2018Bar code for commodity -- Application identifier
- GB/T 23704Two-dimensional bar code symbol print quality test
- GB/T 33993-2017Two dimensional code for commodity
- GB/T 38155-2019Important product traceability—Traceability terminology
Similar standards
How to Download GB/T 40204-2021
- 1
Add to cart
Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.
- 2
Checkout
Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).
- 3
Instant delivery (0–9 sec)
Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.
- 4
Invoice included
A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GB/T 12905-2019 — Bar code terminology
GB/T 16986-2018 — Bar code for commodity -- Application identifier
GB/T 1988-1998 — Information technology. 7-bit Coded character set for information interchange
Secure payment via Stripe
Payments accepted
GB/T 40204-2021
$435.00