第8章EPC與物聯(lián)網(wǎng)技術(shù)之EPC數(shù)據(jù)轉(zhuǎn)換_第1頁
第8章EPC與物聯(lián)網(wǎng)技術(shù)之EPC數(shù)據(jù)轉(zhuǎn)換_第2頁
第8章EPC與物聯(lián)網(wǎng)技術(shù)之EPC數(shù)據(jù)轉(zhuǎn)換_第3頁
第8章EPC與物聯(lián)網(wǎng)技術(shù)之EPC數(shù)據(jù)轉(zhuǎn)換_第4頁
第8章EPC與物聯(lián)網(wǎng)技術(shù)之EPC數(shù)據(jù)轉(zhuǎn)換_第5頁
已閱讀5頁,還剩119頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

《EPC數(shù)據(jù)轉(zhuǎn)換》教學設(shè)計

物流信息系米志強2011.8.9一、教學課題引入

二、EPC碼介紹三、EPC資料結(jié)構(gòu)四、EPC碼標準規(guī)格文件主要內(nèi)容五、EPC與EAN條碼的轉(zhuǎn)換EAN/UCC-14指示碼代表意義指示碼當EAN-13的號碼,需以EAN-14來印制條碼符號時,則在前面補“0”,以編成14位數(shù)的EAN-14的號碼“0”有時也代表綜合包裝的商品0表示相同產(chǎn)品,但包裝數(shù)量不同之規(guī)格化包裝1~8數(shù)量變動之非規(guī)格化包裝,可結(jié)合EAN-128的AI(30)來表示其實際數(shù)量9一、教學課題引入

商品編號的包裝層級4710001000010EAN/UCC-1314710001000017EAN/UCC-1424710001000014EAN/UCC-14?單瓶裝 ?箱-內(nèi)裝20瓶?棧版-內(nèi)裝40箱一、教學課題引入

EPC碼介紹EPC產(chǎn)品電子碼EPC(ElectronicProductCode)AnidentifierUniquenumberAkeytounlocknetworkinformation二、EPC碼介紹ElectronicProductCode(EPC碼)是物件的身分證號碼一連串結(jié)構(gòu)化編號用以識別貨物、位置、服務、資產(chǎn)等有形無形的物體

EPC標簽除儲存識別碼之外,級別較高之標簽可儲存使用者所定義的資料

EPC編碼具全球唯一、包容及延展性,除編立新號碼外,亦可涵蓋既存的編碼方案二、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億個公司1千6百萬個物件680億個單一品項EPCEncoding-HeaderAVariablelength

(可變長度)2bitsor8bits(2位或8位)00isinvalid(無效)Header---標頭HeaderValue(二進位)HeaderValue(十六進位)編碼長度編碼類型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碼標準規(guī)格文件EPCTagDataStandardsVersion1.27Thisversion1.27onlyappliestotagtypesincommonuseatthetimeofitspublicationanditdoes“not”providespecificguidanceforusingUHFClass1Gen2.ReleasedonMay10,2005Owner:TagDataStandardWorkingGroupForClass0&Class1TagsSupporttheGS1BarcodesystemandDODidentitytypesEPCTDSVersion1.3.1ReleasedonMarch8,2006Owner:TagDataStandardWorkingGroupForClass-1Generation-2Tags&UHFRFIDProtocolSupporttheGS1systemandDODidentitytypesIdentityConcept(同一內(nèi)容)純標識層編碼層物理實現(xiàn)層IdentityConceptEPC與EAN條碼的轉(zhuǎn)換GTINvs.SGTINIndicatorDigitCheckDigitSerialNumberItemReferenceSerialNumberCompanyPrefixIndicatorDigitItemReferenceCompanyPrefixSGTINBit-LevelEncodingGTINplusSerialNumberIdentityStructureSGTIN-9600110000GID-96FilterValue用以快速篩選并預選基本的物流型態(tài)Partition

為指示公司前置碼與位址號碼分隔點,分隔值大小對應到公司前置碼和位址關(guān)聯(lián)號的長度SGTIN-198HeaderFilter

ValuePartitionCompanyPrefixItemReferenceSerialSGTIN-1988bits3bits3bits20-40bits24-4bits140bits00110110999,999–999,999,999,999(十進位容量)9,999,999-9(十進位容量)Upto20AlphanumericcharactersSSCCSSCC-96HeaderFilter

ValuePartitionCompanyPrefixSerialReferenceUnallocatedSSCC-968bits3bits3bits20-40bits38-18bits24bits00110001999,999–999,999,999,999(十進位容量)99,999,999,999–99,999(十進位容量)NotUsedSGLNSGLN-96HeaderFilter

ValuePartitionCompanyPrefixLocationReferenceExtensionComponentSGLN-968bits3bits3bits20-40bits21-1bits41bits00110000999,999–999,999,999,999(十進位容量)999,999–0(十進位容量)999,999,999,999(十進位容量)(該欄位未使用時必須設(shè)定為0)SGLN-195HeaderFilter

ValuePartitionCompanyPrefixLocationReferenceExtensionComponentSGLN-1958bits3bits3bits20-40bits21-1bits140bits00111001999,999–999,999,999,999999,999–0Upto20AlphanumericCharacters(假如該欄位不使用,其值必須設(shè)為0110000,后面再接133個2進位的0)GRAIGRAI-96HeaderFilter

ValuePartitionCompanyPrefixAssetTypeSerialNumberGRAI-968bits3bits3bits20-40bits24-4bits38bits00110011999,999–999,999,999,999(十進位容量)99,999–0(十進位容量)274,877,906,943(十進位容量)GRAI-170HeaderFilter

ValuePartitionCompanyPrefixAssetTypeSerialNumberGRAI-1708bits3bits3bits20-40bits24-4bits112bits00110111999,999–999,999,999,999(十進位容量)99,999–0(十進位容量)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)換標準不同階段CODE的儲存格式EPCISCaptureProgram

ALEMiddlewareReaderQueryClient96bitrawdataPureidentityurn:epc:id:sgtin:000100.0000024.16

User

TIDEPCReserved52C63000

07800190000060000000010307800190000060000000010EPCTagURI:urn:epc:tag:sgtin-96:3.000100.0000024.16①②③④⑤TagDataTranslationProcess指定TagDataTranslationProcess往外的表示供應參數(shù)TagDataTranslationProcess遺留編碼遺留編碼ONSEncode/DecodeEx1.HEXRAW轉(zhuǎn)URITAG307800190000060000000010第一步:看Header決定DataType,

30->00110000->表示為SGTIN-96第二步:依SGTIN格式,Partitionvalue決定companyprefix和itemrference

長度

Hex->Binary307800190000060000000010解成Binary(二進制)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計算Decimalvalue換成10進位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,只用來查詢用程式驗證307800190000060000000010HEXRAW轉(zhuǎn)URITAG350000064000018000000020Hex->Binary350000064000018000000020350000064000010011010100000000000000000000011001000000000000000000000180000000201000000000000000000000000000000000100000GID-96Hex->Binary350000064000018000000020350000064000010011010100000000000000000000011001000000000000000000000180000000201000000000000000000000000000000000100000Header(8bits)Generalmanager(28bits)Objectclass(24bits)Serialnumber(36bits)取出binary計算Decimalvalue換成10進位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)用程式驗證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碼寫入標簽-----eg.SGTIN-96查詢Header(3)選擇FilterValue(6)決定PartitionValue(5)

管理人號碼EPCManagerNumber(7701234)ItemReference(156789)

加上SerialNumber(525467)10進位呈現(xiàn):依順將前五項組合一起

換算成標簽上的2進位呈現(xiàn)設(shè)定標簽內(nèi)容后,再藉由Reader將EPC碼寫入標簽SGTIN-96:7701234156789525467GTINIntegrationExample117701234567897GTIN300110000Header6101Filter5100Partition7701234011101011000001011110010EPCManager15678900100110010001110101ObjectClass5254670000000000000000010000000010010011011SerialNumberIndicatorDigitCompanyPrefixItemReference7701234156789525467SGTINPureIdentityEncodingGTINIntegrationExample200110000101100011101011000001011110010001001100100011101010000000000000000010000000010010011011PhysicalRepresentation供應鏈中的EPC編碼應用品項EPC碼商品裝箱后的EPC碼物流單位的EPC碼---托盤物流單位的EPC碼--托盤+商品裝箱運送車的EPC編碼Gen2資料規(guī)格補充TDS1.27v.s.TDS1.3.11.容量不同---Gen2標簽在屬于使用者記憶容量部分較大:在規(guī)格書中,Gen1標簽資料屬于使用者使用的部份,只有64位元和96位元兩種規(guī)格,尤其64位元漸漸淡出使用市場,成為被淘汰的規(guī)格。而在Gen2資料標簽有其容量擴充的設(shè)計,容量范圍自96位元到202位元之間的變化。從資料標簽結(jié)構(gòu)看來,Gen2的規(guī)格增加在識別單一品項的容量擴大,以SGTIN和SGLN而言,各有140個位元支援;GIAI的部份,個別資產(chǎn)關(guān)聯(lián)號的容量可達168位元。目前市場上流通的Gen2標簽在容量上有些許的差別,雖說96位元是最低的限制,標簽制造商也有提供高達256位元容量的Gen2標簽。

TDS1.27v.s.TDS1.3.1TDS版本編碼系統(tǒng)位元數(shù)64961701951982021.1(0級和1級標簽)SGTIN▲▲SSCC▲▲SGLN▲▲GRAI▲▲GIAI▲▲DOD▲▲1.3(1級標簽)SGTIN▲▲SSCC▲SGLN▲▲GRAI▲▲GIAI▲▲DOD▲TDS1.27v.s.TDS1.3.12.安全性---Gen2標簽安全性超越Gen1標簽

Gen2標簽因為內(nèi)含32-bitkillpassword,比起Gen1僅有8-bitkillpassword的設(shè)計,Gen2更具安全性。假設(shè)商品不再流通或是遭遇消費者隱私權(quán)等問題,該標簽必須停止使用,這時Gen2標簽隨時可發(fā)揮效用。簡單說來,Gen2標簽內(nèi)容的設(shè)計提供更嚴格的密碼設(shè)置和刪除的功能,保障供應鏈中不同節(jié)點對標簽的運作需求。TDS1.27v.s.TDS1.3Gen2Gen1ReadertoTagDataRateMax128kbps70kbpsTagtoReaderDataRateMax640kbps140kbpsTagDataverification16bitsCRC(Bothreadandwrite)16bits(Onlyread)Security32-bitlockandkillpassword8-bitkillpasswordMemoryUpto512bitsitemIDUpto96bitsItemIDMultiplereaderoperationFrequencyHoppingListen-beforetalkDenseReaderModesSessions–MultiplereaderstalktoonetagFrequencyHoppingListen-beforetalkTDS1.27v.s.TDS1.3.13.Gen2容量擴增: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標簽以及系統(tǒng)軟體使用本標準中定義四類URI(UniformResourceIdentifier):1.URIFormsforPureIdentifier,識別特定實體物件獨立標簽編碼2.URIFormsforRelatedDataTypes,用在編碼方案相關(guān)軟體程式以便將資料寫入標簽3.URIthatrepresentpattern,orsetsofEPCs

用來呈現(xiàn)軟體如何過濾標簽資料4.表現(xiàn)原始標簽資料之URI,僅使用于「錯誤」報告純身分URI語法URIFormsforPureIdentifier,識別特定實體物件獨立標簽編碼語法: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表示無效標簽目的:表現(xiàn)原始標簽資料之URI,僅使用于「錯誤」報告urn:epc:raw:BitLength.Value舉例二進位元串:0000000000000000010010001101011011111010101110111111011101111URI:urn:epc:raw:64.x00001234DEADBEEFURIsforPatterns舉例說明URIthatrepresentpattern,orsetsofEPCs

用來呈現(xiàn)軟體如何過濾標簽資料目的:某些程式在某些情境為了過濾一串EPC名單須因而提供patternURIform:urn:epc:pat:sgtin-64:3.0652642.﹝1024-2047﹞條件說明:濾值:3公司前置碼:0652642品項:1024≦Itemnumber≦2047EPCglobalNetwork里的URIEPC-URI和其他EPC展現(xiàn)之轉(zhuǎn)換1.位元層級的EPC譯碼轉(zhuǎn)換為EPC-URI(以SGTIN為例)*由位元層級的EPC譯碼得到CompanyPrefixp1p2…pL、ItemReferencei1i2…i(13-L)以及序號S*連接下列形成EPC-URI:Urn:epc:id:sgtin:.CompanyPrefixp1p2…pL.ItemReferencei1i2…i(13-L).SEPC-URI和其他EPC展現(xiàn)之轉(zhuǎn)換2.位元層級的EPC譯碼轉(zhuǎn)換為EPCTagURI(以SSCC為例)*由位元層級的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)換為位元層級的EPC(以GIAI為例)*URI以如下格式呈現(xiàn):Urn:epc:tag:encName:f1f2…fF.p1p2…pL.s1s2…ss*將f1f2…fF轉(zhuǎn)成十進位整數(shù)F*還原成位元層級EPC:p1p2…pL.s1s2…ss為EAN.UCCGIAI,L為EAN.UCC公司前置碼的長度,F(xiàn)為篩選值(須注意,假若輸入長度大于范圍限制,或是程序有誤,請停止轉(zhuǎn)換,該URI無法轉(zhuǎn)譯入EPC標簽)EPC碼與供應鏈應用EPC碼與供應鏈應用善用GID-96條碼系統(tǒng)或是DOD系統(tǒng)轉(zhuǎn)成EPC碼:

GTIN(全球交易品項碼):EAN-13、EAN-14SSCC(運輸容器序號)GLN(全球位址碼)GRAI(全球可回收資產(chǎn)識別碼)GIAI(全球個別資產(chǎn)識別碼)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等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論