GS1 Standards for Product Identification & Traceability
Standard GS1 per l'Identificazione e la Tracciabilità dei Prodotti
GS1 standards enable the unique, interoperable identification of products, logistic units and assets across the entire supply chain. This guide covers the key standards used in RFID and retail IoT systems.
Gli standard GS1 consentono l'identificazione univoca e interoperabile di prodotti, unità logistiche e asset lungo l'intera supply chain. Questa guida copre gli standard chiave usati nei sistemi RFID e IoT retail.
01IntroductionIntroduzione
GS1 standards enable the unique, interoperable identification of products, logistic units and assets across the entire supply chain. The key standards used in RFID and retail IoT systems include GTIN, SGTIN-96, EPC and Digital Link.
Gli standard GS1 consentono l'identificazione univoca e interoperabile di prodotti, unità logistiche e asset lungo l'intera supply chain. Gli standard chiave utilizzati nei sistemi RFID e IoT retail includono GTIN, SGTIN-96, EPC e Digital Link.
02GTIN Global Trade Item Number
Definition: the GTIN is the globally unique identifier of a trade item, assigned according to GS1 rules.
Definizione: il GTIN è l'identificatore univoco globale di un articolo commerciale, assegnato secondo le regole GS1.
Format: it can be represented in several numeric formats — GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN) and GTIN-14. In Europe the GTIN-13 (also known as EAN or EAN-13) is normally used; in the United States the GTIN-12 (or UPC) is more common.
Formato: può essere rappresentato in diversi formati numerici — GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN) e GTIN-14. In Europa si utilizza normalmente il GTIN-13 (noto anche come EAN o EAN-13); negli Stati Uniti è più comune il GTIN-12 (o UPC).
Structure
Struttura
8051135163223. The bars encode the 13 digits; the last one is the check digit.8051135163223. Le barre codificano le 13 cifre; l'ultima è la cifra di controllo.Field length and range (GTIN-13)
Lunghezza e range dei campi (GTIN-13)
- The GTIN-13 always has 13 digits in total.
- The Company Prefix can range from 7 to 10 digits, assigned by GS1: the shorter it is, the higher the prefix value (leaving more room for the Item Reference).
- The Item Reference takes the remaining digits, following the formula:
13 − 1 (Check Digit) − Company Prefix length. - The Check Digit is always 1 digit, computed with a (weighted) modulo-10 algorithm.
- Il GTIN-13 ha sempre 13 cifre totali.
- Il Company Prefix può variare da 7 a 10 cifre, assegnato da GS1: più è corto, maggiore è il valore del prefisso (lascia più spazio all'Item Reference).
- L'Item Reference occupa le cifre rimanenti, secondo la formula:
13 − 1 (Check Digit) − lunghezza Company Prefix. - Il Check Digit è sempre 1 cifra, calcolata tramite algoritmo modulo 10 (pesato).
Use
Uso
- Product identification in barcodes (EAN/UPC)
- Basis for generating EPC and Digital Link
- Identificazione del prodotto nei codici a barre (EAN/UPC)
- Base per la generazione di EPC e Digital Link
03SGTIN-96 Serialized GTIN
Definition: the SGTIN-96 is the extension of the GTIN for uniquely identifying every single instance of a product. Used in UHF RFID.
Definizione: l'SGTIN-96 è l'estensione del GTIN per l'identificazione univoca di ogni singolo esemplare di prodotto. Utilizzato in RFID UHF.
EPC global format: 96 bits divided into the following fields.
Formato EPC global: 96 bit suddivisi nei campi seguenti.
| FieldCampo | Bit | DescriptionDescrizione |
|---|---|---|
| Header | 8 | Fixed value indicating the code type (SGTIN-96)Valore fisso che indica il tipo di codice (SGTIN-96) |
| Filter | 3 | Fixed value indicating the destination (e.g. 1 = POS)Valore fisso che indica la destinazione (es. 1 = POS) |
| Partition | 3 | Defines the field lengths (usually constant)Definisce la lunghezza dei campi (di solito costante) |
| Company Prefix | 20–40 | Company identifierIdentificativo aziendale |
| Item Reference | 4–24 | Item identifierIdentificativo articolo |
| Serial Number | 38 | Unique identifier of the itemIdentificatore univoco dell'item |
urn:epc:id:sgtin tells us that: urn → unique name; epc → follows the Electronic Product Code standard; id → it is an identifier (not an event or a type); sgtin → Serialized Global Trade Item Number scheme.Una URN (Uniform Resource Name) è un identificatore standardizzato che nomina in modo univoco una risorsa — come un prodotto o un tag RFID — senza indicarne la posizione fisica o l'indirizzo web. Leggendo la parte iniziale urn:epc:id:sgtin capiamo che: urn → nome univoco; epc → segue lo standard Electronic Product Code; id → è un identificativo (non un evento o un tipo); sgtin → schema Serialized Global Trade Item Number.
Possible Filter Values
Possibili valori del Filter Value
| Type | Filter Value | Binary |
|---|---|---|
| All Others | 0 | 000 |
| Point of Sale (POS) Trade Item | 1 | 001 |
| Full Case for Transport | 2 | 010 |
| Reserved | 3 | 011 |
| Inner Pack Trade Item Grouping | 4 | 100 |
| Reserved | 5 | 101 |
| Unit Load | 6 | 110 |
| Unit inside Trade Item / component | 7 | 111 |
Possible Partition Values
Possibili valori del Partition Value
The sum of Company Prefix and Item Reference always occupies 44 bits in total. The split between the two is defined by the Partition value.
La somma di Company Prefix e Item Reference occupa sempre 44 bit totali. La ripartizione tra i due è definita dal valore Partition.
| Partition (P) | Company Prefix — Bit (M) | Digits (L) | Item Reference — Bit (N) | Digits |
|---|---|---|---|---|
| 0 | 40 | 12 | 4 | 1 |
| 1 | 37 | 11 | 7 | 2 |
| 2 | 34 | 10 | 10 | 3 |
| 3 | 30 | 9 | 14 | 4 |
| 4 | 27 | 8 | 17 | 5 |
| 5 | 24 | 7 | 20 | 6 |
| 6 | 20 | 6 | 24 | 7 |
04EPC Electronic Product Code
Logical definition: the EPC can be understood in two ways:
- as a logical definition — a universal, digital representation (URN) of a physical object's identifier, uniquely linking an RFID tag to a specific product;
- as the physical memory of the RFID tag — the memory bank called EPC memory (Bank 01) where the product code can be written or read.
Definizione logica: l'EPC può essere inteso in due accezioni:
- come definizione logica, cioè una rappresentazione universale e digitale (URN) dell'identificatore di un oggetto fisico, che associa in modo univoco un tag RFID a un prodotto specifico;
- come memoria fisica del tag RFID, ovvero il banco di memoria denominato EPC memory (Bank 01) in cui si può scrivere o leggere il codice del prodotto.
Technical specifications: the EPC memory stores the bits that represent the identifier, generally in the SGTIN-96 format (96 bits). In fashion it is the most widely used standard: the tag's EPC memory is populated with the SGTIN-96 code of the individual item.
Specifiche tecniche: nella memoria EPC vengono registrati i bit che rappresentano l'identificatore, generalmente secondo il formato SGTIN-96 (96 bit). In ambito moda è lo standard più utilizzato: l'EPC memory del tag viene popolata con il codice SGTIN-96 del singolo articolo.
Role
Ruolo
- Basis for RFID communication (tag read/write)
- Bridge between the physical world (RFID tag) and the information world (database or API)
- Base per la comunicazione RFID (lettura/scrittura tag)
- Ponte tra mondo fisico (tag RFID) e mondo informativo (database o API)
Practical encoding / decoding example
Esempio pratico di codifica / decodifica
Goal: obtain a hexadecimal EPC (24 characters) starting from a GTIN-13 and a serial number.
Obiettivo: ottenere un EPC in formato esadecimale (24 caratteri) a partire da GTIN-13 e seriale.
| ParameterParametro | ValueValore |
|---|---|
| GTIN-13 | 8051135163223 → 08051135163223 (padded to 14)(padding a 14) |
| SerialSeriale | 123456789012 |
| Company Prefix lengthLunghezza Company Prefix | 7 characters7 caratteri |
| Memory sizeDimensione memoria | 96 bits96 bit |
| Filter Value | 1 (POS) |
Each hexadecimal character represents 4 bits: a 96-bit EPC memory therefore contains 24 hexadecimal characters.
Ogni carattere esadecimale rappresenta 4 bit: una memoria EPC da 96 bit contiene quindi 24 caratteri esadecimali.
96-bit binary structure
Struttura binaria a 96 bit
3035EB66FC0FF09CBE991A14): the 96 bits split across the six fields, coloured by field.3035EB66FC0FF09CBE991A14): i 96 bit ripartiti nei sei campi, colorati per campo.05GS1 Digital Link
Definition: the Digital Link turns GS1 identifiers (GTIN, SGTIN, SSCC) into web-readable URLs, connecting the physical identifier directly to digital resources. It is used to generate QR codes, program the (NDEF) memory of NFC tags and similar applications.
Definizione: il Digital Link trasforma gli identificatori GS1 (GTIN, SGTIN, SSCC) in URL leggibili dal web, collegando direttamente l'identificativo fisico a risorse digitali. Si usa per generare QR Code, programmare la memoria (NDEF) di tag NFC o applicazioni similari.
Base format
Formato base
/01/= GTIN (must be 14 characters: a leading "0" is added in front of the GTIN-13)/21/= Serial number (must be 12 characters)
/01/= GTIN (deve essere di 14 caratteri: davanti al GTIN-13 va aggiunto uno "0")/21/= Numero seriale (deve essere di 12 caratteri)
Use
Uso
- Direct connection to product information, authentication, DPP, manuals or after-sales services
- Compatible with QR codes and NFC
- Connessione diretta a informazioni di prodotto, autenticazione, DPP, manuali o servizi post-vendita
- Compatibile con QR code e NFC
Possible Application Identifiers
Possibili valori degli Application Identifier
| AI | InformationInformazione |
|---|---|
| 00 | SSCC |
| 01 | GTIN of the trade itemGTIN dell'unità commerciale |
| 02 | GTIN of the trade items contained in the logistic unitGTIN delle unità commerciali contenute nell'unità logistica |
| 10 | Production batch/lotLotto di produzione |
| 15 | Best before dateData di consumo preferibile |
| 17 | Expiry dateData di scadenza |
| 21 | Serial numberNumero seriale |
| 310x | Net weight in kg (variable-weight units only)Peso netto in kg (solo per unità a peso variabile) |
| 37 | Number of trade items contained in the logistic unitNumero di unità commerciali contenute nell'unità logistica |
These are the standard GS1 Digital Link identifiers. Technically it is possible to extend them with proprietary information.
Questi sono gli identificativi standard GS1 Digital Link. Tecnicamente è possibile estendere con informazioni proprietarie.
06Relationships between the standardsRelazioni tra gli standard
The four standards form a chain: from identifying the trade item to making it accessible on the web.
I quattro standard formano una catena: dall'identificazione del prodotto commerciale fino alla sua accessibilità sul web.