版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
《EPC數(shù)據(jù)轉(zhuǎn)換》教學(xué)設(shè)計(jì)
物流信息系米志強(qiáng)2011.8.9一、教學(xué)課題引入
二、EPC碼介紹三、EPC資料結(jié)構(gòu)四、EPC碼標(biāo)準(zhǔn)規(guī)格文件主要內(nèi)容五、EPC與EAN條碼的轉(zhuǎn)換EAN/UCC-14指示碼代表意義指示碼當(dāng)EAN-13的號(hào)碼,需以EAN-14來印制條碼符號(hào)時(shí),則在前面補(bǔ)“0”,以編成14位數(shù)的EAN-14的號(hào)碼“0”有時(shí)也代表綜合包裝的商品0表示相同產(chǎn)品,但包裝數(shù)量不同之規(guī)格化包裝1~8數(shù)量變動(dòng)之非規(guī)格化包裝,可結(jié)合EAN-128的AI(30)來表示其實(shí)際數(shù)量9一、教學(xué)課題引入
商品編號(hào)的包裝層級(jí)4710001000010EAN/UCC-1314710001000017EAN/UCC-1424710001000014EAN/UCC-14?單瓶裝 ?箱-內(nèi)裝20瓶?棧版-內(nèi)裝40箱一、教學(xué)課題引入
EPC碼介紹EPC產(chǎn)品電子碼EPC(ElectronicProductCode)AnidentifierUniquenumberAkeytounlocknetworkinformation二、EPC碼介紹ElectronicProductCode(EPC碼)是物件的身分證號(hào)碼一連串結(jié)構(gòu)化編號(hào)用以識(shí)別貨物、位置、服務(wù)、資產(chǎn)等有形無形的物體
EPC標(biāo)簽除儲(chǔ)存識(shí)別碼之外,級(jí)別較高之標(biāo)簽可儲(chǔ)存使用者所定義的資料
EPC編碼具全球唯一、包容及延展性,除編立新號(hào)碼外,亦可涵蓋既存的編碼方案二、EPC碼介紹EPC--------Flexibility(靈活性)Currentlysupportsthefollowing:GTIN(GlobalTradeItemNumber) GIAI(GlobalIndividualAssetIdentifier)SSCC(SerializedShippingContainerCode) GRAI(GlobalReusableAssetIdentifier)GLN(GlobalLocationNumber) US/DoD-CAGENDC(NationalDrugCode)Futuresupportforothers,suchasVIN(VehicleIdentificationNumber)二、EPC碼介紹TheRole(角色)
ofEPCsALE二、EPC碼介紹ElectronicProductCodeElectronicProductCode………inaTag二、EPC碼介紹RFIDTags物件唯一性編碼:EPC
HeaderFilterandPartitionValueDomainIdentifierEPCorEPCIdentifiere.g.SGTIN,SGLN,SSCCStandardEPCTagEncodingGTINSSCCGLNGRAIGIAIDOD二、EPC碼介紹EPC資料結(jié)構(gòu)EPC資料結(jié)構(gòu)GeneralIdentifier(GID-96位元)2.68億個(gè)公司1千6百萬個(gè)物件680億個(gè)單一品項(xiàng)EPCEncoding-HeaderAVariablelength
(可變長度)2bitsor8bits(2位或8位)00isinvalid(無效)Header---標(biāo)頭HeaderValue(二進(jìn)位)HeaderValue(十六進(jìn)位)編碼長度編碼類型001011112F96bitsDoD-96001100003096bitsSGTIN-96001100013196bitsSSCC-96001100103296bitsSGLN-96001100113396bitsGRAI-96001101003496bitsGIAI-96001101013596bitsGID-960011011036198bitsSGTIN-1980011011137170bitsGRAI-1700011100038202bitsGIAI-2020011100139195bitsSGLN-195TheRepresentation(表現(xiàn))
ofEPCurn:epc:id:sgtin:0037000.112345.400sgtin:Header8bits00110000FilterValue3bits0115Partition3bits1010037000CompanyPrefix20-40bits0000100101011110111111234ItemReference24-4bits11010001100010010111111400SerialNumber38bits000000000000000000000000000000110010000urn:epc:id:sgtin:0037000.112345.400001100000111010000100101011110111111010001100010010111111000000000000000000000000000000110010000??EPC碼標(biāo)準(zhǔn)規(guī)格文件EPCTagDataStandardsVersion1.27Thisversion1.27onlyappliestotagtypesincommonuseatthetimeofitspublicationanditdoes“not”providespecificguidanceforusingUHFClass1Gen2.ReleasedonMay10,2005Owner:TagDataStandardWorkingGroupForClass0&Class1TagsSupporttheGS1BarcodesystemandDODidentitytypesEPCTDSVersion1.3.1ReleasedonMarch8,2006Owner:TagDataStandardWorkingGroupForClass-1Generation-2Tags&UHFRFIDProtocolSupporttheGS1systemandDODidentitytypesIdentityConcept(同一內(nèi)容)純標(biāo)識(shí)層編碼層物理實(shí)現(xiàn)層IdentityConceptEPC與EAN條碼的轉(zhuǎn)換GTINvs.SGTINIndicatorDigitCheckDigitSerialNumberItemReferenceSerialNumberCompanyPrefixIndicatorDigitItemReferenceCompanyPrefixSGTINBit-LevelEncodingGTINplusSerialNumberIdentityStructureSGTIN-9600110000GID-96FilterValue用以快速篩選并預(yù)選基本的物流型態(tài)Partition
為指示公司前置碼與位址號(hào)碼分隔點(diǎn),分隔值大小對(duì)應(yīng)到公司前置碼和位址關(guān)聯(lián)號(hào)的長度SGTIN-198HeaderFilter
ValuePartitionCompanyPrefixItemReferenceSerialSGTIN-1988bits3bits3bits20-40bits24-4bits140bits00110110999,999–999,999,999,999(十進(jìn)位容量)9,999,999-9(十進(jìn)位容量)Upto20AlphanumericcharactersSSCCSSCC-96HeaderFilter
ValuePartitionCompanyPrefixSerialReferenceUnallocatedSSCC-968bits3bits3bits20-40bits38-18bits24bits00110001999,999–999,999,999,999(十進(jìn)位容量)99,999,999,999–99,999(十進(jìn)位容量)NotUsedSGLNSGLN-96HeaderFilter
ValuePartitionCompanyPrefixLocationReferenceExtensionComponentSGLN-968bits3bits3bits20-40bits21-1bits41bits00110000999,999–999,999,999,999(十進(jìn)位容量)999,999–0(十進(jìn)位容量)999,999,999,999(十進(jìn)位容量)(該欄位未使用時(shí)必須設(shè)定為0)SGLN-195HeaderFilter
ValuePartitionCompanyPrefixLocationReferenceExtensionComponentSGLN-1958bits3bits3bits20-40bits21-1bits140bits00111001999,999–999,999,999,999999,999–0Upto20AlphanumericCharacters(假如該欄位不使用,其值必須設(shè)為0110000,后面再接133個(gè)2進(jìn)位的0)GRAIGRAI-96HeaderFilter
ValuePartitionCompanyPrefixAssetTypeSerialNumberGRAI-968bits3bits3bits20-40bits24-4bits38bits00110011999,999–999,999,999,999(十進(jìn)位容量)99,999–0(十進(jìn)位容量)274,877,906,943(十進(jìn)位容量)GRAI-170HeaderFilter
ValuePartitionCompanyPrefixAssetTypeSerialNumberGRAI-1708bits3bits3bits20-40bits24-4bits112bits00110111999,999–999,999,999,999(十進(jìn)位容量)99,999–0(十進(jìn)位容量)Upto16alphanumericcharactersGIAIGIAI-96HeaderFilter
ValuePartitionCompanyPrefixIndividulalAssetReferenceGIAI-968bits3bits3bits20-40bits62-42bits00110100999,999–999,999,999,9994,611686,018,427,387,903–4,398,046,511,103GIAI-202HeaderFilter
ValuePartitionCompanyPrefixIndividulalAssetReferenceGIAI-2028bits3bits3bits20-40bits168-162bits00111000999,999–999,999,999,999Upto24alphanumericcharactersDOD-96HeaderFilterValueGovernmentManagedIdentifierSerialNumberDoD-9684483600101111(Binaryvalue)(ConsultproperUSDept.defensedocumentfordetails)EncodedwithsuppliersCAGEcodeintruncatedASCIIformat(ConsultproperUSDept.Defensedocumentfordetails)68,719,476,735(Max.decimalvalue)EPCglobalStandardsOverviewEPCglobalSubscriberEPCglobalSubscriberEPCPhysicalObjectExchangeStandardsEPCInfrastructureStandardsEPCData
ExchangeStandardsEPCglobalCoreServicesandothersharedservicesExchangeofphysicalobjectswithEPCsPeer-to-peerexchangeofdataaboutEPCsSharedServiceInteractionsEPCglobalStandardsOverviewEPCglobalSubscriberEPCglobalSubscriberEPCPhysicalObjectExchangeStandardsEPCInfrastructureStandardsEPCData
ExchangeStandardsEPCglobalCoreServicesandothersharedservicesExchangeofphysicalobjectswithEPCsPeer-to-peerexchangeofdataaboutEPCsSharedServiceInteractionsEPCTagDataStandardRFIDProtocolsClass0Class1UHFClass1Gen2TagDataStandards
ConsistentGlobalIdentification
AnExampleofHowGTINIntegrationCouldWorkWiththeEPCEAN-1301234567890128312345678901200000001234561234567890128CompanyPrefixItemReferenceCheckDigit)IllustrativeExample(EAN-13):1234567890128RemoveCheckDigitHeaderEPCManagerNumberObjectClassNumberSerialNumberGTINEPC:1
234567
890128
>EPCFormats(EPC數(shù)據(jù)格式)Binary–on-tagrepresentation001100000111010000100101011110111111010001100010010111111000000000000000000000000000000000000010TagURI–insoftwarewhenalltaginfoneedstoberepresented
urn:epc:tag:sgtin-96.3.0614141.100743.2PureIdentityURI–justtheEPC
urn:epc:id:sgtin:0614141.100743.2TagDataStandardsIdentityTypeTagEncodingsRelatedEAN.UCCCodeGIDGID-96SGTINSGTIN-64
SGTIN-96GTIN(withaddedserial#)SSCCSSCC-64
SSCC-96SSCCSGLNSGLN-64
SGLN-96GLN(withadditionalserial#)GRAIGRAI-64
GRAI-96GRAIGIAIGIAI-64
GIAI-96GIAISGTIN-96SchemeHeaderFilterValuePartitionCompanyPrefixItemReferenceSerialSGTIN-968bits3bits3bits20-40bits24-4bits38bits00110000(actualvalue)8(decimalcapacity)8(decimalcapacity)999.999–999.999.999.999(decimalcapacity)9.999.999-9(decimalcapacity)274,877,906,943(decimalcapacity)SGTINFilterValue(濾值)TypeBinaryValueAllothers000RetailConsumerTradeItem001StandardTradeItemGrouping010SingleShipping/ConsumerTradeItem011Reserved100Reserved101Reserved110Reserved111SGTINPartitionPartitionValueCompanyPrefixItemReferenceandIndicatorDigitbitsdigitsbitsdigits04012411371172234101033309144427817552472066206247SSCC-96SchemeHeaderFilterValuePartitionCompanyPrefixSerialReferenceUnallocatedSSCC-968bits3bits3bits20-40bits38-18bits24bits00110001(actualvalue)8(decimalcapacity)8(decimalcapacity)999.999–999.999.999.999(decimalcapacity)99.999.999.999–99.999(decimalcapacity)[Notused]PartitionValueCompanyPrefixSerialReferencebitsdigitsbitsdigits040121851371121623410247330928842783195247341062063811SSCCPartitionSGLN-96SchemeHeaderFilterValuePartitionCompanyPrefixLocationReferenceSerialNumberSGLN-968bits3bits3bits20-40bits21-1bits41bits00110010(actualvalue)8(decimalcapacity)8(decimalcapacity)999.999–999.999.999.999(decimalcapacity)999,999-0(decimalcapacity)2.199.023.255.551(decimalcapacity)GRAI-96SchemeHeaderFilterValuePartitionCompanyPrefixAssetTypeSerialGRAI-968bits3bits3bits20-40bits24-4bits38bits00110011(actualvalue)8(decimalcapacity)8(decimalcapacity)999.999–999.999.999.999(decimalcapacity)9.999.999-9(decimalcapacity)274,877,906,943(decimalcapacity)GIAI-96SchemeHeaderFilterValuePartitionCompanyPrefixIndividualAssetReferenceGIAI-968bits3bits3bits20-40bits62-42bits00110100(actualvalue)8(decimalcapacity)8(decimalcapacity)999.999–999.999.999.999(decimalcapacity)4,6111,686,018,427,387,903–4,398,046,511,103(decimalcapacity)HowGen2worksTagpopulationSelectedpopulationSingletagidentifiedTagisread/writtento/killedStep1.ReaderRFsettings:CountryAggressivenessReaderdensityReaderisnowready2.Readerselectstags3.Readerdoes
anticollision4.ReaderaccessestagrepeatFundamentalGen2OperationsOperationFunctionDataFlowInventorySingulatetagsandreceivetheirEPCsReadertonetworkReadReadtagmemoryBidirectionalWriteWritetagmemoryBidirectionalLockPermalock,lock,orunlocktagmemoryBidirectionalKillRenderatagpermanentlyinoperativeBidirectional
TAGData轉(zhuǎn)換標(biāo)準(zhǔn)不同階段CODE的儲(chǔ)存格式EPCISCaptureProgram
ALEMiddlewareReaderQueryClient96bitrawdataPureidentityurn:epc:id:sgtin:000100.0000024.16
User
TIDEPCReserved52C63000
07800190000060000000010307800190000060000000010EPCTagURI:urn:epc:tag:sgtin-96:3.000100.0000024.16①②③④⑤TagDataTranslationProcess指定TagDataTranslationProcess往外的表示供應(yīng)參數(shù)TagDataTranslationProcess遺留編碼遺留編碼ONSEncode/DecodeEx1.HEXRAW轉(zhuǎn)URITAG307800190000060000000010第一步:看Header決定DataType,
30->00110000->表示為SGTIN-96第二步:依SGTIN格式,Partitionvalue決定companyprefix和itemrference
長度
Hex->Binary307800190000060000000010解成Binary(二進(jìn)制)307800190000060011000001111000000000000001100100000000000000000000011000000000100000000000000000000000000000000000010000Header部份內(nèi)容HeadValue(Binary)TagLength(bits)EPCencodingScheme0011000096SGTIN-960011000196SSCC-960011001096GLN-960011001196GRAI-960011010196GID-9600110110…0011111196{10reservedforfuture96-bitscheme}00000000….{reservedforfutureheaderlongerthan8bits}SGTIN-96FilterValue&PartitionValuePartition307800190000060000000010解成Binary307800190000060011000001111000000000000001100100000000000000000000011000000000100000000000000000000000000000000000010000HeaderFilterPartitionCompanyprefix(20bits)Itemreference(24bits)Serialnumber(38bits)取出binary計(jì)算Decimalvalue換成10進(jìn)位Companyprefix
00000000000001100100=22+25+26=4+32+64=100Itemreference
0000000000
0000
0000011000=23+24=8+16=24Serialnumber
0000000000
0000
0000
0000
0000
000000010000=16換成URI
SGTIN-96的URI有兩種格式,在Middlewale
和EPCIS不同urn:epc:tag:sgtin-96:3:100:24:16(ALEMiddleware)urn:epc:id:sgtin:100:24:16(EPCIS)省去第一段filtervalue,只用來查詢用程式驗(yàn)證307800190000060000000010HEXRAW轉(zhuǎn)URITAG350000064000018000000020Hex->Binary350000064000018000000020350000064000010011010100000000000000000000011001000000000000000000000180000000201000000000000000000000000000000000100000GID-96Hex->Binary350000064000018000000020350000064000010011010100000000000000000000011001000000000000000000000180000000201000000000000000000000000000000000100000Header(8bits)Generalmanager(28bits)Objectclass(24bits)Serialnumber(36bits)取出binary計(jì)算Decimalvalue換成10進(jìn)位Generalmanager(28bits)
00000000
0000
0000
000001100100=22+25+26=4+32+64=100Objectclass(24bits)00000000
0000
000000011000=23+24=8+16=24Serialnumber(36bits)00000000
0000
0000
0000
0000
000000100000=25=32HEXRAW轉(zhuǎn)URITAG350000064000018000000020urn:epc:tag:gid-96:100:24:32(middleware)urn:epc:id:gid:100:24:32(EPCIS)用程式驗(yàn)證350000064000018000000020使用FosstrakTDTEngingEPC如何編碼ConsistentGlobalIdentification
AnexampleofhowGTINIntegrationcouldworkwiththeEPCglobalEAN-1301234567890128312345678901200000001234561234567890128CompanyPrefixItemReferenceCheckDigit)IllustrativeExample(EAN-13):1234567890128RemoveCheckDigitHeaderEPCManagerNumberObjectClassNumberSerialNumberGTINEPC:1
234567
890128
>TestEPCManagerNumberIndicatorDigitObjectClassSerialNumber(自行編碼)EAN-14IndicatorDigitCompanyPrefixItemReferenceCheckDigit00614141007349?EAN-14v.s.EPC0614141000734200000TestEAN-13v.s.EPCEPCManagerNumberObjectClassItemReferenceEAN-13CompanyPrefixItemReferenceCheckDigit47159640116499?4715964011649123456(自行編碼)TestEAN-8v.s.EPCEPCManagerNumberObjectClassItemReferenceEAN-8CountryCodeItemReferenceCheckDigit47112353?由縮短碼回溯原廠商,得其代碼4710716331235123456(自行編碼)將EPC碼寫入標(biāo)簽-----eg.SGTIN-96查詢Header(3)選擇FilterValue(6)決定PartitionValue(5)
管理人號(hào)碼EPCManagerNumber(7701234)ItemReference(156789)
加上SerialNumber(525467)10進(jìn)位呈現(xiàn):依順將前五項(xiàng)組合一起
換算成標(biāo)簽上的2進(jìn)位呈現(xiàn)設(shè)定標(biāo)簽內(nèi)容后,再藉由Reader將EPC碼寫入標(biāo)簽SGTIN-96:7701234156789525467GTINIntegrationExample117701234567897GTIN300110000Header6101Filter5100Partition7701234011101011000001011110010EPCManager15678900100110010001110101ObjectClass5254670000000000000000010000000010010011011SerialNumberIndicatorDigitCompanyPrefixItemReference7701234156789525467SGTINPureIdentityEncodingGTINIntegrationExample200110000101100011101011000001011110010001001100100011101010000000000000000010000000010010011011PhysicalRepresentation供應(yīng)鏈中的EPC編碼應(yīng)用品項(xiàng)EPC碼商品裝箱后的EPC碼物流單位的EPC碼---托盤物流單位的EPC碼--托盤+商品裝箱運(yùn)送車的EPC編碼Gen2資料規(guī)格補(bǔ)充TDS1.27v.s.TDS1.3.11.容量不同---Gen2標(biāo)簽在屬于使用者記憶容量部分較大:在規(guī)格書中,Gen1標(biāo)簽資料屬于使用者使用的部份,只有64位元和96位元兩種規(guī)格,尤其64位元漸漸淡出使用市場(chǎng),成為被淘汰的規(guī)格。而在Gen2資料標(biāo)簽有其容量擴(kuò)充的設(shè)計(jì),容量范圍自96位元到202位元之間的變化。從資料標(biāo)簽結(jié)構(gòu)看來,Gen2的規(guī)格增加在識(shí)別單一品項(xiàng)的容量擴(kuò)大,以SGTIN和SGLN而言,各有140個(gè)位元支援;GIAI的部份,個(gè)別資產(chǎn)關(guān)聯(lián)號(hào)的容量可達(dá)168位元。目前市場(chǎng)上流通的Gen2標(biāo)簽在容量上有些許的差別,雖說96位元是最低的限制,標(biāo)簽制造商也有提供高達(dá)256位元容量的Gen2標(biāo)簽。
TDS1.27v.s.TDS1.3.1TDS版本編碼系統(tǒng)位元數(shù)64961701951982021.1(0級(jí)和1級(jí)標(biāo)簽)SGTIN▲▲SSCC▲▲SGLN▲▲GRAI▲▲GIAI▲▲DOD▲▲1.3(1級(jí)標(biāo)簽)SGTIN▲▲SSCC▲SGLN▲▲GRAI▲▲GIAI▲▲DOD▲TDS1.27v.s.TDS1.3.12.安全性---Gen2標(biāo)簽安全性超越Gen1標(biāo)簽
Gen2標(biāo)簽因?yàn)閮?nèi)含32-bitkillpassword,比起Gen1僅有8-bitkillpassword的設(shè)計(jì),Gen2更具安全性。假設(shè)商品不再流通或是遭遇消費(fèi)者隱私權(quán)等問題,該標(biāo)簽必須停止使用,這時(shí)Gen2標(biāo)簽隨時(shí)可發(fā)揮效用。簡單說來,Gen2標(biāo)簽內(nèi)容的設(shè)計(jì)提供更嚴(yán)格的密碼設(shè)置和刪除的功能,保障供應(yīng)鏈中不同節(jié)點(diǎn)對(duì)標(biāo)簽的運(yùn)作需求。TDS1.27v.s.TDS1.3Gen2Gen1ReadertoTagDataRateMax128kbps70kbpsTagtoReaderDataRateMax640kbps140kbpsTagDataverification16bitsCRC(Bothreadandwrite)16bits(Onlyread)Security32-bitlockandkillpassword8-bitkillpasswordMemoryUpto512bitsitemIDUpto96bitsItemIDMultiplereaderoperationFrequencyHoppingListen-beforetalkDenseReaderModesSessions–MultiplereaderstalktoonetagFrequencyHoppingListen-beforetalkTDS1.27v.s.TDS1.3.13.Gen2容量擴(kuò)增:Comprisesof4memorybanks---Reserved:containskillandaccesspasswordsEPC:containsdatausedforidentifyingtheobjecttowhichthetagisorwillbeattachedTID:containsdatathatcanbeusedbyreadertoidentifythetag’scapabilityUser:containsuser-specificdata.EPCMemoryBankContentsEPCMemoryBankContentsCRC-1616bitsErrorcheckcodeAuto-calculatedbytheTagEPCMemoryBank內(nèi)容Protocol-Control(PC)----16bitsLength(5bits):EPCMemory使用情形ReservedforFutureUse(RFU)(2bits):設(shè)定為0NumberingSystemIdentifier(NSI)(9bits): 1.Togglebit(1bit):設(shè)定0為指向EPC;設(shè)定1則為指向ISO Application FamilyIdentifier 2.ReservedAFI(8bits):受到Togglebit影響EPCMemoryBank內(nèi)容EPC:取決于Togglebits“0”:其編碼如規(guī)格書所定義“1”:代表非EPC編碼EPCMemoryBank內(nèi)容Zerofill:IfthereisanyadditionalmemorybeyondEPCTagEncodingrequiredtomeetthe16bitwordboundariesspecifiedinGen2Spec,itisfilledwith“0”EPCEncoding&Decoding編碼舉例:GTIN轉(zhuǎn)成SGTIN-96SGTINBit-levelCoding001100000001010000000100100000010001001111010100011110101SGTINGTINplusSerialNumberIdentityStructure00737965100210011000000737962510021000562IndicatordigitCompanyPrefixItemReferenceCheckdigitSerialnumberHeaderFilterValuePartitionCompanyPrefixItemReferenceSerialNumber資訊系統(tǒng)中的EPC碼呈現(xiàn)URIRepresentationEPCURI編碼供RFID標(biāo)簽以及系統(tǒng)軟體使用本標(biāo)準(zhǔn)中定義四類URI(UniformResourceIdentifier):1.URIFormsforPureIdentifier,識(shí)別特定實(shí)體物件獨(dú)立標(biāo)簽編碼2.URIFormsforRelatedDataTypes,用在編碼方案相關(guān)軟體程式以便將資料寫入標(biāo)簽3.URIthatrepresentpattern,orsetsofEPCs
用來呈現(xiàn)軟體如何過濾標(biāo)簽資料4.表現(xiàn)原始標(biāo)簽資料之URI,僅使用于「錯(cuò)誤」報(bào)告純身分URI語法URIFormsforPureIdentifier,識(shí)別特定實(shí)體物件獨(dú)立標(biāo)簽編碼語法:urn:epc:id:gid:GeneralManageNumber.ObjectClass.SerialNumber1.urn:epc:id:sgtin:CompanyPrefix.ItemReference.SerialNumber
GTIN-14:80652642000311urn:epc:id:sgtin:0652642.800031.400
2.urn:epc:id:sscc:CompanyPrefix.SerialNumber
SSCC:006526421234567896urn:epc:id:sscc:0652642.0123456789 3.urn:epc:id:sgln:CompanyPrefix.LocationReference.SerialNumber
GLN:0652642123458urn:epc:id:sgln:0652642.12345.400 URIFormsforRelatedDataTypes舉例目的:用在編碼方案相關(guān)軟體程式urn:epc:tag:EncName:EncodingSpecificFieldAserializedGTIN64-bitsencoding:urn:epc:tag:sgtin-64:3.0652642.800031.400“3”是濾值DoDIdentifier: Urn:epc:tag:tagType:filter.CAgECodeOrDODAAC.seri
alNumberURI表示無效標(biāo)簽?zāi)康模罕憩F(xiàn)原始標(biāo)簽資料之URI,僅使用于「錯(cuò)誤」報(bào)告urn:epc:raw:BitLength.Value舉例二進(jìn)位元串:0000000000000000010010001101011011111010101110111111011101111URI:urn:epc:raw:64.x00001234DEADBEEFURIsforPatterns舉例說明URIthatrepresentpattern,orsetsofEPCs
用來呈現(xiàn)軟體如何過濾標(biāo)簽資料目的:某些程式在某些情境為了過濾一串EPC名單須因而提供patternURIform:urn:epc:pat:sgtin-64:3.0652642.﹝1024-2047﹞條件說明:濾值:3公司前置碼:0652642品項(xiàng):1024≦Itemnumber≦2047EPCglobalNetwork里的URIEPC-URI和其他EPC展現(xiàn)之轉(zhuǎn)換1.位元層級(jí)的EPC譯碼轉(zhuǎn)換為EPC-URI(以SGTIN為例)*由位元層級(jí)的EPC譯碼得到CompanyPrefixp1p2…pL、ItemReferencei1i2…i(13-L)以及序號(hào)S*連接下列形成EPC-URI:Urn:epc:id:sgtin:.CompanyPrefixp1p2…pL.ItemReferencei1i2…i(13-L).SEPC-URI和其他EPC展現(xiàn)之轉(zhuǎn)換2.位元層級(jí)的EPC譯碼轉(zhuǎn)換為EPCTagURI(以SSCC為例)*由位元層級(jí)的EPC譯碼得到CompanyPrefixp1p2…pL、SerialReferencei1i2…s(17-L)以及篩選值F*連接下列形成EPCTagURI:
Urn:epc:tag:(SSCC-64/SSCC-96):篩選值F.CompanyPrefixp1p2…pL.SerialReferencei1i2…s(17-L)EPC-URI和其他EPC展現(xiàn)之轉(zhuǎn)換3.URI轉(zhuǎn)換為位元層級(jí)的EPC(以GIAI為例)*URI以如下格式呈現(xiàn):Urn:epc:tag:encName:f1f2…fF.p1p2…pL.s1s2…ss*將f1f2…fF轉(zhuǎn)成十進(jìn)位整數(shù)F*還原成位元層級(jí)EPC:p1p2…pL.s1s2…ss為EAN.UCCGIAI,L為EAN.UCC公司前置碼的長度,F(xiàn)為篩選值(須注意,假若輸入長度大于范圍限制,或是程序有誤,請(qǐng)停止轉(zhuǎn)換,該URI無法轉(zhuǎn)譯入EPC標(biāo)簽)EPC碼與供應(yīng)鏈應(yīng)用EPC碼與供應(yīng)鏈應(yīng)用善用GID-96條碼系統(tǒng)或是DOD系統(tǒng)轉(zhuǎn)成EPC碼:
GTIN(全球交易品項(xiàng)碼):EAN-13、EAN-14SSCC(運(yùn)輸容器序號(hào))GLN(全球位址碼)GRAI(全球可回收資產(chǎn)識(shí)別碼)GIAI(全球個(gè)別資產(chǎn)識(shí)別碼)BeefSupplyChain–EPC與條碼并用urn:epc.id:sgtin:0614141.000025.serial#?10=02004032123511&93=20……………………Cutters/ColdStorage……….MeatCutsGS1-128EPCTagMeataggregatedintoTotewithEPCTag…….urn:epc.id:grai:662161.000026.0urn:epc.id:sgtin:0662161.0000260.serial#.?10=002422543&93=11.….…MeatProcessors………MeatPackagesEPCTagGS1-128MeatPackagesaggregatedintoTotewithEPCTagurn:epc.id:grai:772161.000055.0urn:epc.id:sgtin:0772161.000012.serial#.?10=003522643&93=35……RetailerConsumerPackagesUCC-12…......urn:epc.id:sgtin:049545.000001.0UniformDataFormats…………......AnimalSlaughterhouseCarcassGS1-128…………EPCglobal----GettingStarted!!Don’tactlikeaOSTRICH!!JoinasaEnd-User……….EPCManager’sNumberJoinasaSolutionProvidePartner……….Participateintheon-goingdevelopmentoftheEPCNetworkstandards
GTIN1233465712354HeaderCompanyPrefixTradeItemReferenceEPCManagerNumberTradeItemReference0000000123456SerialNumberGTIN1234657123546EPC8GTIN
vs.EPCTheEPCcanonlybeinterpretedincombinationwiththecorrespondingdatabaseSUPPLYCHAIN:1.PACKAGINGPLANTObjectEvent:EventTimeEpcListEPC:urn:epc:id:sgtin:0614141.107340.1
Action:ADDObjectEvent:EventTimeEpcListEPC:urn:epc:id:sscc:0614141.0000000001Action:ADDAggregationEvent:EventTimeParentID:urn:epc:id:sscc:0614141.0000000001-ChildEPCs:EPC:urn:epc:id:sgtin:0614141.
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 護(hù)理記錄與交接管理制度
- 《散步》知識(shí)講義
- 人教版可能性課件
- 2024年浙江客運(yùn)從業(yè)資格證下載什么軟件練題
- 算法設(shè)計(jì)與分析 課件 5.8-動(dòng)態(tài)規(guī)劃應(yīng)用-編輯距離問題
- 2024年山西客運(yùn)資格證應(yīng)用能力試題答案解析
- 2024年承德考客運(yùn)從業(yè)資格證考試題目
- 2024年鞍山客運(yùn)資格證題庫及答案
- 2024年長沙客運(yùn)證考試
- 2024年烏魯木齊客運(yùn)資格專業(yè)能力考試試題
- 如何搞定你的客戶-
- 八年級(jí)物理上冊(cè)說課稿:第二章2.1物質(zhì)的三態(tài) 溫度的測(cè)量
- 湖北省鄂東南省級(jí)示范高中教育教學(xué)改革聯(lián)盟2023-2024學(xué)年高一上學(xué)期期中聯(lián)考政治試題
- 全護(hù)筒跟進(jìn)旋挖施工方案
- 海水淡化處理方案
- 福建省廈門市翔安區(qū)2023-2024學(xué)年九年級(jí)上學(xué)期期中英語試題
- 學(xué)生對(duì)學(xué)校滿意度評(píng)價(jià)表
- 化工項(xiàng)目國民經(jīng)濟(jì)分析 化工項(xiàng)目技術(shù)經(jīng)濟(jì)
- 計(jì)算與人工智能概論智慧樹知到課后章節(jié)答案2023年下湖南大學(xué)
- 小學(xué)一年級(jí)下冊(cè)數(shù)學(xué)期末考試質(zhì)量分析及試卷分析
- 原材料情況說明范本
評(píng)論
0/150
提交評(píng)論