GB/T 39852-2021 English PDF (GBT39852-2021)
GB/T 39852-2021 English PDF (GBT39852-2021)
Regular price
$3,380.00 USD
Regular price
Sale price
$3,380.00 USD
Unit price
/
per
Delivery: 3 seconds. Download true-PDF + Invoice.
Get QUOTATION in 1-minute: Click GB/T 39852-2021
Historical versions: GB/T 39852-2021
Preview True-PDF (Reload/Scroll if blank)
GB/T 39852-2021: Electronic product code -- Tag data translation
GB/T 39852-2021
GB
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 35.040
A 24
Electronic product code - Tag data translation
ISSUED ON: MARCH 09, 2021
IMPLEMENTED ON: OCTOBER 01, 2021
Issued by: State Administration for Market Regulation;
Standardization Administration of the PRC.
Table of Contents
Foreword ... 3
1 Scope ... 4
2 Normative references ... 4
3 Terms and definitions ... 4
4 Abbreviations and symbols ... 4
5 EPC system and tag data ... 5
5.1 EPC system ... 5
5.2 Tag data ... 8
6 Tag data translation ... 13
6.1 Overview of tag data translation ... 13
6.2 Translation process ... 14
7 TDT tab files ... 18
7.1 Overview of TDT tab files ... 18
7.2 Definition method and additional requirements of TDT tab files ... 19
7.3 Elements and attributes of TDT tab files ... 37
8 Tag data translation algorithms ... 43
8.1 Overview ... 43
8.2 Function algorithm and application program interface (API) ... 43
Bibliography ... 52
Electronic product code - Tag data translation
1 Scope
This Standard specifies the methods and requirements for the electronic
product code system and tag data, tag data translation, tag data translation tab
files, and tag data translation algorithms.
This Standard applies to tag data translation and processing in the process of
information exchange and transmission of electronic product code system.
2 Normative references
The following documents are indispensable for the application of this document.
For the dated references, only the editions with the dates indicated are
applicable to this document. For the undated references, the latest edition
(including all the amendments) are applicable to this document.
GB/T 12905 Bar code terminology
ISO/IEC 15962 Information technology - Radio frequency identification
(RFID) for item management - Data protocol: data encoding rules and logical
memory functions
ISO/IEC 19762 Information technology - Automatic identification and data
capture (AIDC) techniques - Harmonized vocabulary
GS1 EPC Tag Data Standard
GS1 General specifications
3 Terms and definitions
The terms and definitions defined in GB/T 12905 and ISO/IEC 19762 apply to
this document.
4 Abbreviations and symbols
The following abbreviations and symbols apply to this document.
ABNF: Augmented Backus-Naur Form
The identification and data capture layer realizes the automatic capture of
product identification information, which is composed of identification and
reader. The identification and data capture layer based on RFID technology is
composed of RFID tag and reader. Other technologies are not specified in this
Standard.
The RFID tag is an automatic identification carrier loaded with the electronic
product code (EPC). It is usually attached to the identified product. It is the
unique identification of the product's entire life cycle. It is composed of an
antenna and a chip. The EPC is stored in binary form in the RFID tag.
RFID reader is a device that reads or reads-writes the information stored in
RFID tag. The reader can be embedded with the LLRP, which can control the
reader to read the original tag data, and exchange information with the
information system through middleware.
5.1.3 EPC information system layer
The EPC information system layer provides data filtering and data sharing
services for the application layer; including the application level event (ALE)
interface that implements the filtering function; the data synchronization that
implements the data sharing service; the GS1 EANCOM and GS1 eCOM XML
standards; and the EPCIS standard that implements the product event
information service, etc.
Note 1: GS1 EANCOM is an electronic data exchange specification developed by GS1
and applied to the field of commercial circulation.
Note 2: GS1 eCOM XML is an electronic data exchange specification based on XML
language developed by GS1.
5.1.4 Application layer
The application layer refers to various applications, which are built by users for
keywords using other forms of EPC or GS1 product code according to their
needs.
5.1.5 EPC network service layer
The EPC network service layer provides network services for finding specific
applications and specific objects on the Internet, including object naming
service (ONS) and discovery service (Discovery), etc. Among them, object
naming service (ONS) is a network service mode that identifies and discovers
the entity object through a unique electronic product code.
5.2 Tag data
5.2.1 Tag data level
Tag data refers to data in various formats from RFID tag to object naming
service (ONS) in the EPC system, including seven formats:
- Binary format (BINARY);
- Tag encoding URI format (TAG_ENCODING);
- Pure identity URI format (PURE_IDENTITY);
- GS1 text data field format (LEGACY);
- GS1 application identifier string format (LEGACY_AI);
- GS1 data transmission string format (ELEMENT_STRING);
- ONS domain name format (ONS_HOSTNAME).
Among them, binary format, tag encoding URI format and pure identity URI
format are the three formats of RFID tag encoding. The GS1 text field, GS1
application identifier format and GS1 data transmission string format are the
formats for storing and transmitting GS1 data in the EPC system and user
application system. ONS domain name format is the format used for tag data
to initiate query and retrieval in the object naming service (ONS).
Figure 2 shows the seven tag data levels in the EPC system, as well as the
direction of the encoding process and the decoding process. The format level
of tag data decreases from top to bottom. The binary memory format of RFID
tags is the lowest level. The process of tag data translation from high-level
format to low-level format is called the encoding process of tag data translation
(the direction toward binary format). Conversely, the process of tag data
translation from low-level format to high-level format is called the decoding
process of tag data translation (the direction away from binary format).
Tag data translation respectively uses regular expression and augmented
Backus-Naur form (ABNF) to define translation rules for different levels of EPC
format. Regular expressions are mainly used to match input data and separate
different data fields (combinations of bits, numbers, letters) from it. The
augmented Backus-Naur form (ABNF) is mainly used to define the formatting
rules of the output data; that is, how to combine the output result of the tag data
translation process through the original data field, the derived data field, and
the constant value.
The regular expression adopts the regular expression grammar that conforms
to the Perl language; needs to support zero-length negative lookahead.
Note: The regular expressions in the TDT markup language are not just regular
expressions that conform to the XSD specification, because they do not support the
zero-length negative lookahead. The regular expression libraries of typical
programming languages, such as Perl, Java, C#, and .Net, generally support the
zero-length negative lookahead.
The grammar attribute defined in the ABNF format describes how to combine
the various fields obtained in the translation process and the related fixed
constant values to finally form the output data. In the grammar attribute, the
fixed value is wrapped in single quotes. There is no name of the representative
Get QUOTATION in 1-minute: Click GB/T 39852-2021
Historical versions: GB/T 39852-2021
Preview True-PDF (Reload/Scroll if blank)
GB/T 39852-2021: Electronic product code -- Tag data translation
GB/T 39852-2021
GB
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 35.040
A 24
Electronic product code - Tag data translation
ISSUED ON: MARCH 09, 2021
IMPLEMENTED ON: OCTOBER 01, 2021
Issued by: State Administration for Market Regulation;
Standardization Administration of the PRC.
Table of Contents
Foreword ... 3
1 Scope ... 4
2 Normative references ... 4
3 Terms and definitions ... 4
4 Abbreviations and symbols ... 4
5 EPC system and tag data ... 5
5.1 EPC system ... 5
5.2 Tag data ... 8
6 Tag data translation ... 13
6.1 Overview of tag data translation ... 13
6.2 Translation process ... 14
7 TDT tab files ... 18
7.1 Overview of TDT tab files ... 18
7.2 Definition method and additional requirements of TDT tab files ... 19
7.3 Elements and attributes of TDT tab files ... 37
8 Tag data translation algorithms ... 43
8.1 Overview ... 43
8.2 Function algorithm and application program interface (API) ... 43
Bibliography ... 52
Electronic product code - Tag data translation
1 Scope
This Standard specifies the methods and requirements for the electronic
product code system and tag data, tag data translation, tag data translation tab
files, and tag data translation algorithms.
This Standard applies to tag data translation and processing in the process of
information exchange and transmission of electronic product code system.
2 Normative references
The following documents are indispensable for the application of this document.
For the dated references, only the editions with the dates indicated are
applicable to this document. For the undated references, the latest edition
(including all the amendments) are applicable to this document.
GB/T 12905 Bar code terminology
ISO/IEC 15962 Information technology - Radio frequency identification
(RFID) for item management - Data protocol: data encoding rules and logical
memory functions
ISO/IEC 19762 Information technology - Automatic identification and data
capture (AIDC) techniques - Harmonized vocabulary
GS1 EPC Tag Data Standard
GS1 General specifications
3 Terms and definitions
The terms and definitions defined in GB/T 12905 and ISO/IEC 19762 apply to
this document.
4 Abbreviations and symbols
The following abbreviations and symbols apply to this document.
ABNF: Augmented Backus-Naur Form
The identification and data capture layer realizes the automatic capture of
product identification information, which is composed of identification and
reader. The identification and data capture layer based on RFID technology is
composed of RFID tag and reader. Other technologies are not specified in this
Standard.
The RFID tag is an automatic identification carrier loaded with the electronic
product code (EPC). It is usually attached to the identified product. It is the
unique identification of the product's entire life cycle. It is composed of an
antenna and a chip. The EPC is stored in binary form in the RFID tag.
RFID reader is a device that reads or reads-writes the information stored in
RFID tag. The reader can be embedded with the LLRP, which can control the
reader to read the original tag data, and exchange information with the
information system through middleware.
5.1.3 EPC information system layer
The EPC information system layer provides data filtering and data sharing
services for the application layer; including the application level event (ALE)
interface that implements the filtering function; the data synchronization that
implements the data sharing service; the GS1 EANCOM and GS1 eCOM XML
standards; and the EPCIS standard that implements the product event
information service, etc.
Note 1: GS1 EANCOM is an electronic data exchange specification developed by GS1
and applied to the field of commercial circulation.
Note 2: GS1 eCOM XML is an electronic data exchange specification based on XML
language developed by GS1.
5.1.4 Application layer
The application layer refers to various applications, which are built by users for
keywords using other forms of EPC or GS1 product code according to their
needs.
5.1.5 EPC network service layer
The EPC network service layer provides network services for finding specific
applications and specific objects on the Internet, including object naming
service (ONS) and discovery service (Discovery), etc. Among them, object
naming service (ONS) is a network service mode that identifies and discovers
the entity object through a unique electronic product code.
5.2 Tag data
5.2.1 Tag data level
Tag data refers to data in various formats from RFID tag to object naming
service (ONS) in the EPC system, including seven formats:
- Binary format (BINARY);
- Tag encoding URI format (TAG_ENCODING);
- Pure identity URI format (PURE_IDENTITY);
- GS1 text data field format (LEGACY);
- GS1 application identifier string format (LEGACY_AI);
- GS1 data transmission string format (ELEMENT_STRING);
- ONS domain name format (ONS_HOSTNAME).
Among them, binary format, tag encoding URI format and pure identity URI
format are the three formats of RFID tag encoding. The GS1 text field, GS1
application identifier format and GS1 data transmission string format are the
formats for storing and transmitting GS1 data in the EPC system and user
application system. ONS domain name format is the format used for tag data
to initiate query and retrieval in the object naming service (ONS).
Figure 2 shows the seven tag data levels in the EPC system, as well as the
direction of the encoding process and the decoding process. The format level
of tag data decreases from top to bottom. The binary memory format of RFID
tags is the lowest level. The process of tag data translation from high-level
format to low-level format is called the encoding process of tag data translation
(the direction toward binary format). Conversely, the process of tag data
translation from low-level format to high-level format is called the decoding
process of tag data translation (the direction away from binary format).
Tag data translation respectively uses regular expression and augmented
Backus-Naur form (ABNF) to define translation rules for different levels of EPC
format. Regular expressions are mainly used to match input data and separate
different data fields (combinations of bits, numbers, letters) from it. The
augmented Backus-Naur form (ABNF) is mainly used to define the formatting
rules of the output data; that is, how to combine the output result of the tag data
translation process through the original data field, the derived data field, and
the constant value.
The regular expression adopts the regular expression grammar that conforms
to the Perl language; needs to support zero-length negative lookahead.
Note: The regular expressions in the TDT markup language are not just regular
expressions that conform to the XSD specification, because they do not support the
zero-length negative lookahead. The regular expression libraries of typical
programming languages, such as Perl, Java, C#, and .Net, generally support the
zero-length negative lookahead.
The grammar attribute defined in the ABNF format describes how to combine
the various fields obtained in the translation process and the related fixed
constant values to finally form the output data. In the grammar attribute, the
fixed value is wrapped in single quotes. There is no name of the representative