SPQFSPQFInnovation Partner
ResourcesRisorse
GS1 StandardsStandard GS1
|
Technical guide · RFID & TraceabilityGuida tecnica · RFID & Tracciabilità

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.

AuthorAutore Marco Furli

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.

SPQF 8051135163223 RFID
Every garment carries a physical identifier — an EAN-13 barcode and an RFID tag — that makes its GTIN and serial number readable.
Ogni capo porta un identificativo fisico — barcode EAN-13 e tag RFID — che rende leggibile il suo GTIN e numero seriale.

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

GS1 Company PrefixPrefisso Aziendale GS1
8032089
7 digits (in this example)7 cifre (nell'esempio)
Item ReferenceRiferimento articolo
000001
6 digits (in this example)6 cifre (nell'esempio)
Check DigitCifra di controllo
7
1 digit1 cifra
GTIN-13 · EAN-13 barcodeGTIN-13 · Codice a barre EAN-13
8 051135 163223
Example — EAN-13 representation of GTIN 8051135163223. The bars encode the 13 digits; the last one is the check digit.
Esempio — rappresentazione EAN-13 del GTIN 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.

FieldCampoBitDescriptionDescrizione
Header8Fixed value indicating the code type (SGTIN-96)Valore fisso che indica il tipo di codice (SGTIN-96)
Filter3Fixed value indicating the destination (e.g. 1 = POS)Valore fisso che indica la destinazione (es. 1 = POS)
Partition3Defines the field lengths (usually constant)Definisce la lunghezza dei campi (di solito costante)
Company Prefix20–40Company identifierIdentificativo aziendale
Item Reference4–24Item identifierIdentificativo articolo
Serial Number38Unique identifier of the itemIdentificatore univoco dell'item
URN exampleEsempio URNurn:epc:id:sgtin:8032089.000001.123456789012
What is a URNChe cos'è una URN
A URN (Uniform Resource Name) is a standardised identifier that uniquely names a resource — such as a product or an RFID tag — without indicating its physical location or web address. Reading the initial part 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

TypeFilter ValueBinary
All Others0000
Point of Sale (POS) Trade Item1001
Full Case for Transport2010
Reserved3011
Inner Pack Trade Item Grouping4100
Reserved5101
Unit Load6110
Unit inside Trade Item / component7111

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
0401241
1371172
23410103
3309144
4278175
5247206
6206247

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)
Note on the hexadecimal representationNota sulla rappresentazione esadecimale
Because the Filter, Partition, Company Prefix and Item Reference fields do not have lengths that are multiples of 4 bits, they cannot be expressed directly in a continuous hexadecimal format. The hexadecimal EPC therefore represents the overall 96-bit binary sequence, without a direct field-by-field correspondence.Poiché i campi Filter, Partition, Company Prefix e Item Reference non hanno lunghezze multiple di 4 bit, la loro rappresentazione non è direttamente esprimibile in formato esadecimale continuo. L'EPC in esadecimale rappresenta quindi la sequenza binaria complessiva a 96 bit, senza una corrispondenza diretta campo per campo.

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.

ParameterParametroValueValore
GTIN-138051135163223 → 08051135163223 (padded to 14)(padding a 14)
SerialSeriale123456789012
Company Prefix lengthLunghezza Company Prefix7 characters7 caratteri
Memory sizeDimensione memoria96 bits96 bit
Filter Value1 (POS)
URNurn:epc:tag:sgtin-96:1.8051135.016322.123456789012
EPC (Hexadecimal)EPC (Esadecimale)3035EB66FC0FF09CBE991A14
EPC (Binary)EPC (Binario)001100000011010111101011011001101111110000001111111100001001110010111110100110010001101000010100

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

001100000011010111101011011001101111110000001111111100001001110010111110100110010001101000010100
Header 8 bit Filter 3 bit Partition 3 bit Company Prefix 24 bit Item Reference 20 bit Serial Number 38 bit
Binary structure of the example SGTIN-96 EPC (3035EB66FC0FF09CBE991A14): the 96 bits split across the six fields, coloured by field.
Struttura binaria dell'EPC SGTIN-96 dell'esempio (3035EB66FC0FF09CBE991A14): i 96 bit ripartiti nei sei campi, colorati per campo.

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.

Base identificationIdentificazione base
GTIN-13
Identifies the trade itemIdentifica il prodotto commerciale
8051135163223
Unique identificationIdentificazione univoca
SGTIN-96 (URN)
Identifies each individual itemIdentifica ogni singolo item
urn:epc:tag:sgtin-96:1.8051135.016322.123456789012
Electronic identificationIdentificazione elettronica
EPC
Encodes the SGTIN in RFID formatCodifica SGTIN in formato RFID
3035EB66FC0FF09CBE991A14
Web identificationIdentificazione web
Digital Link
Makes the identifier accessible via URLRende l'identificativo accessibile via URL
https://dpp-brand.it/01/08051135163223/21/123456789012