210 likes | 408 Views
EPC Network Middleware. 內容. ALE - LogicAlloy install ALE Service File Type Notification. EPC Network - 整合 EPCIS - Middleware. FossTrk. RIFIDI. AP. LogicAlloy. EPCIS. Reader. ALE. Query Client. 127.0.0.1:8080. 127.0.0.1:8090. ALR9800. EPC Capture I/F. Reader I/F. EPC Query I/F.
E N D
內容 • ALE - LogicAlloy • install ALE Service • File Type Notification
EPC Network - 整合 EPCIS - Middleware FossTrk RIFIDI AP. LogicAlloy EPCIS Reader ALE Query Client 127.0.0.1:8080 127.0.0.1:8090 ALR9800 EPC Capture I/F Reader I/F EPC Query I/F 96 bit raw data SGTIN SSCC urn:epc:id:sgtin:0614141.000024.400
EPC Network – LogicAlloy Middleware EPCIS Capture App TCP File 127.0.0.1 :9000 ECReport Subscribe Subscribe ECSpec ECReport ALE Middleware - LogicAlloy Logical Reader RIFIDI emulator Alien 9800 127.0.0.1 Port 20000 C1Gen2 Tags SGTIN x 5 SSCC x 1
設定 ALE Middleware • Logical Reader : 對應到一個以上的 Physical Reader (EPC Reader) • ECSpec : Event Cycle Spec, 設定 LR, Ecboundry (repeat /duration / stable time) • EC Report : Report Set (Add, Current, Deletion) , Filtering , Group Rule • Subscribe : EC Report Notification channel
EPC ALE Specification • The Application Level Event (ALE) Specification, Version 1.0 , September 15, 2005 • The Application Level Events (ALE) Specification, Version 1.1 ,February 27, 2008
ALE 指令與參數 • Logical Reader • ECSpec • ECBoundry • ECReport • Subscribe
Install LogicAlloy • http://www.logicalloy.com/index.cfm • install LogicAlloy • 控制台->系統管理 ->服務 -> 啟動 • 管理介面http://localhost:8080/admin/password.do • Server - Reader - EC SPEC • Logical Reader -> EPC Device (Physical Reader)
Server Setting 註: ALE Server 使用 Localhost: 8080 port 會和 EPCIS 衝突, 需先把 Web Server Port 改成 8090, 重新關閉啟動.
Files Subscribe Filter : urn:epc:pat:sscc-96:*.*.* ALE 服務 -> 停止 -> 啟動 觀察 RIFIDI & ecreports/report.xml
ecreports/report.xml - <urn:ECReports specName="DEMO-EC" date="2008-08-06T23:16:56.296+0800" ALEID="ALE1" totalMilliseconds="5015" terminationCondition="DURATION" xmlns:urn="urn:epcglobal:ale:xsd:1"> - <reports> - <report reportName="DEMO-Report"> - <group> - <groupList> - <member date="2008-08-06T23:10:32.000+0800" logicalReader="DEMO" antennaPort="0"> <epc>urn:epc:id:sgtin:847581.5546839.66372802381</epc> <rawHex>urn:epc:raw:96.x301B3BB75528D5CF7420974D</rawHex> </member> </groupList> </group> </report> </reports> </urn:ECReports>
不過濾 SSCC - <urn:ECReports specName="DEMO-EC" date="2008-08-06T23:21:45.203+0800" ALEID="ALE1" totalMilliseconds="5188" terminationCondition="DURATION" xmlns:urn="urn:epcglobal:ale:xsd:1"> - <reports> - <report reportName="DEMO-Report"> - <group> - <groupList> - <member date="2008-08-06T23:10:38.000+0800" logicalReader="DEMO" antennaPort="0"> <epc>urn:epc:id:sscc:90937221467.601757</epc> <rawHex>urn:epc:raw:96.x3106A588FC2B692E9D000000</rawHex> </member> - <member date="2008-08-06T23:10:32.000+0800" logicalReader="DEMO" antennaPort="0"> <epc>urn:epc:id:sgtin:847581.5546839.66372802381</epc> <rawHex>urn:epc:raw:96.x301B3BB75528D5CF7420974D</rawHex> </member> </groupList> </group> </report> </reports> </urn:ECReports>
設定 DEMO 環境(1) • Open RifidiEmulator.exe • Add a new Reader • Reader Type: AlienALR9800 • Name: myReader • Number of antennas: 2 • IP Address: 127.0.0.1:20000 • Heartbeat Address: 255.255.255.255:3899
設定 DEMO 環境(2) • Log into logicAlloy • Click READERS -> Logical Readers • Disable the default Logical Reader by going into edit • Click New • Name: RifidiGroup • Persist Time: 5000 • Status: Enabled
設定 DEMO 環境(3) • Click READERS -> EPC Devices • Alien 9-Series -> New • Name: MyRifidi1 • Logical Reader: RifidiGroup • Status: Enabled • IP: 127.0.0.1 • Port: 20000 • Username: Alien • Password: password
設定 DEMO 環境(4) • Click EC SPECS -> Specs • New • Cycle Name: demo • Include Spec in Reports: Yes • Logical Reader: RifidiGroup • Stable Set: 0 • Repeat After: 3000 • Duration: 5000 • Spec Name: spec • Report Set: Additions • Report Only on Change: Yes • Include EPC: Yes • Filters: urn:epc:pat:sscc-96:*.*.* • Save