3. Š Auto-ID Lab Korea / KAIST
Slide 3
EPCIS/CBV Introduction
⢠Goal of EPCIS
⢠is to enable disparate applications to create and share visibility event
data, both within and across enterprises.
Ultimately, this sharing is aimed at enabling users to gain a shared
view of physical or digital objects within a relevant business context
⢠Physical objects include trade items (products), logistic units, returnable
assets, fixed assets, physical documents, etc. .
⢠Digital objects include digital trade items (music downloads, electronic books,
etc.), digital documents (electronic coupons, etc.) etc. .
4. Š Auto-ID Lab Korea / KAIST
Slide 4
EPCIS/CBV Introduction
⢠The EPCIS standard defines:
⢠A data model for visibility event data
⢠Open, standardized interfaces to enable visibility event data to be
captured and queried using a defined set of service operations and
associated data standards
⢠A capture interface
⢠A query interface
⢠The CBV standard provides definitions of data values that
may be used to populate the data structures defined in the
EPCIS standard
5. Š Auto-ID Lab Korea / KAIST
Slide 5
EPCIS/CBV Introduction
⢠Example of EPCIS Visibility
Data
⢠EPCIS data can provide a
detailed record of any or all
of these steps.
⢠A unit of EPCIS data that
describes the completion of
one business step is called an
EPCIS event
⢠The information content of
this event is organized into
four dimensions
⢠What
⢠When
⢠Where
⢠Why
6. Š Auto-ID Lab Korea / KAIST
Slide 6
EPCIS/CBV Introduction
⢠EPCIS in business applications
⢠Anti-counterfeiting
⢠Chain of custody/ownership
⢠Couponing
⢠Customs clearance
⢠Recall
⢠Sales Promotion
⢠Traceability
⢠Business Process Optimization
⢠Exception Management
⢠Food Freshness
⢠Asset Management
⢠Inventory Management
⢠Process Documentation
7. Š Auto-ID Lab Korea / KAIST
Slide 7
EPCIS/CBV Introduction
⢠Anatomy of EPCIS events
The four dimension of EPCIS:
⢠When
⢠What
⢠Where
⢠why
CBV Vocabulary types:
⢠Standard
⢠User defined
8. Š Auto-ID Lab Korea / KAIST
Slide 8
EPCIS/CBV Introduction
⢠EPCIS Versions
⢠1.1 :- May 2014
⢠1.2 :- September 2016
⢠2.0 :- Expected to be published in 2020
⢠CBV Versions
⢠1.1 :- May 2014
⢠1.2 :- October 2017
⢠2.0 :- Expected to be published in 2020
10. Š Auto-ID Lab Korea / KAIST
Slide 10
Introduction â RFID & GS1 EPCglobal
⢠Radio Frequency IDentification (RFID)
⢠Identifiable and Traceable everyday-objects
⢠The Internet of Things (IoT)
⢠GS1 EPCglobal
⢠A complete suite of RFID standards
11. Š Auto-ID Lab Korea / KAIST
Slide 11
Introduction â EPCIS Standard
⢠EPC Information Service (EPCIS)
⢠to enable disparate applications to create and share visibility event data,
both within and across enterprises
⢠enabling users to gain a shared view of physical or digital objects within a
relevant business context
⢠Objects identified either at a class or instance level
⢠Physical Objects
⢠Products, logistic units, returnable assets, fixed assets, physical documents
⢠Digital Objects
⢠Digital trade items(music downloads, e-books), digital documents (e-coupons, etc.)
⢠The EPCIS standard applies to all situations in which visibility event data is to be
captured and shared
⢠No EPC, no RFID requirement
12. Š Auto-ID Lab Korea / KAIST
Slide 12
Introduction â EPCIS Standard
⢠EPC Information Service (EPCIS)
⢠GS1 Core Business Vocabulary (CBV) standard
⢠provides definitions of data values that may be used to populate the data
structures defined in the EPCIS standard
⢠critical to interoperability
⢠critical to provide for EPC Information Services (EPCIS) querying of data by
reducing the variation in how different businesses express common intent
ď§ Business Step
ď§ Business process
ď§ e.g. Loading, Packing, Shipping, Receiving
ď§ Disposition
ď§ Status of object
ď§ Available for sale, in Storage
ď§ Business Transaction
ď§ Transaction information
ď§ e.g. Purchase, Invoice
13. Š Auto-ID Lab Korea / KAIST
Slide 13
Introduction â EPCIS Standard
⢠EPC Information Service (EPCIS)
⢠Recent version: version 1.2, Sep. 2016
⢠A distributed repository, which can capture and share EPC-based
event/vocabulary accompanying 4W
(i.e. What, When, Where and Why)
14. Š Auto-ID Lab Korea / KAIST
Slide 14
Introduction â
EPCIS Standard
EPC Information Service (EPCIS)
- deals explicitly with historical data (in
addition to current data)
- deals not just with raw data captured
from data carriers such as bar codes
and RFID tags, but also in contexts
that imbue those observations with
meaning relative to the physical or
digital world and to specific steps in
operational or analytical business
processes
; EPCIS event may indicate
that a perishable trade item has
just crossed its expiration date
(generated by software)
15. Š Auto-ID Lab Korea / KAIST
Slide 15
Introduction
âShareâ Layer of GS1 Standards
RFID Reader
& Antenna
Barcode
Reader
ALE â Event Capturing
Everyday
Object
EPCIS â Visibility Event Data
TDS â Unification of GS1 Codes
Attaching
EPC Tag
Attaching
Bar Code
GSDN â Master Data
Vocabulary
(EPC, CBV)
Attributes
urn:epc:id:sgtin:1.1.1
urn:epc:id:sgln:1.1.1
Name = Black Coat
Manufacturer = RESL
âŚ
Address = 123 Elm st
City = Anytown
Postal = 12345
Transaction Events
Orders
Invoice
âŚ
EANCOM â Transactional Data
Capturing Interface
Query Interface
Business Apps.
16. Š Auto-ID Lab Korea / KAIST
Slide 16
Introduction
Interface & Role of EPCIS
16
EPCIS Capturing Application
EPCIS Capture Interface
EPCIS
Repository
EPCIS Query Interface
(Control and Callback)
Business App.
Fig. EPCIS and its scope
⢠EPCIS Capturing Application ( Role )
⢠Capturing Low-level architecture elements
⢠Providing information source to upper layer
⢠No redundancy & Filtering using some evaluation
⢠EPCIS Capture Interface ( Interface )
⢠Defining a means to transfer
from EPCIS Capturing Application
to EPCIS Repository or EPCIS Accessing App
⢠EPCIS Repository ( Role )
⢠Saving One or more event generated by EPCIS Capturing Apps
⢠Making EPC level event available by EPCIS Accessing Application
17. Š Auto-ID Lab Korea / KAIST
Slide 17
Introduction
Interface & Role of EPCIS
17
⢠EPCIS Query Interface : Control and Callback
( Interface )
⢠Defining a means for EPCIS Accessing Application
⢠Providing âBypass for real-time pushâ
from EPCIS Capturing Application
to EPCIS Accessing Application
⢠EPCIS Accessing Application ( Rule )
⢠Responsibility of Enterprises
⢠Managing Warehouse
⢠Managing Shipping
⢠And so on. EPCIS Capturing Application
EPCIS Capture Interface
EPCIS
Repository
EPCIS Query Interface
(Control and Callback)
Business App.
Fig. EPCIS and its scope
18. Š Auto-ID Lab Korea / KAIST
Slide 18
Introduction â
EPCIS Standard
⢠EPCIS in Relation to
Trading partners
⢠the flow of data between
trading partners,
emphasizing the parts of
the EPCIS standard
involved in the flow of
visibility event data
19. Š Auto-ID Lab Korea / KAIST
Slide 19
Introduction â
EPCIS Standard
⢠EPCIS Specification
Framework
20. Š Auto-ID Lab Korea / KAIST
Slide 20
Introduction â Abstract Data Model Layer
⢠EPCIS deals in two kinds of data: event
data and master data
⢠Event data arises in the course of carrying
out business processes, and is captured
through the EPCIS Capture Interface and
made available for query through the
EPCIS Query Interfaces
⢠Master data is additional data that
provides the necessary context for
interpreting the event data
21. Š Auto-ID Lab Korea / KAIST
Slide 21
Introduction â Abstract Data Model Layer
⢠Vocabulary Kinds
⢠to model physical, digital, and conceptual entities that exist in the real
world
⢠location names, object class names, business step names
⢠Standard vocabulary
⢠a set of Vocabulary Elements whose definition and meaning must be agreed to in advance by
trading partners who will exchange events using the vocabulary
⢠defined by organizations of multiple end users, such as GS1, industry consortia outside GS1,
private trading partner groups, and so on
⢠User vocabulary
⢠a set of Vocabulary Elements whose definition and meaning are under the control of a single
organization
22. Š Auto-ID Lab Korea / KAIST
Slide 22
Introduction â EPCIS Vocabulary
⢠Vocabulary (i.e. Master Data)
⢠Represent static information on EPC
⢠Core Business Vocabulary (CBV)
⢠supports base vocabularies for Supply Chain Management
⢠User Vocabulary
⢠defined by user
⢠Vocabularies
⢠Location: address, zip code, etc
⢠Business Semantic
⢠Business Step: activity within a business
process
⢠Disposition: business state of an object
⢠Business Transaction: purchase order
⢠Class-level item
[Examples of CBV]
23. Š Auto-ID Lab Korea / KAIST
Slide 23
Introduction â Abstract Data Model Layer
⢠Extension Mechanisms
⢠key feature of EPCIS is its ability to be extended by different organizations to adapt to
particular business situations
24. Š Auto-ID Lab Korea / KAIST
Slide 24
Introduction â Abstract Data Model Layer
⢠Extension Mechanisms
⢠key feature of EPCIS is its ability to be extended by different organizations to adapt to
particular business situations
25. Š Auto-ID Lab Korea / KAIST
Slide 25
Introduction â Abstract Data Model Layer
⢠Identifier Representation
⢠Event Type names, Event Field names, Vocabulary names, Vocabulary Elements, and Master Data
Attribute Names
⢠Because all of these namespaces are open to extension, this specification imposes some rules on
the construction of these names so that independent organizations may create extensions
without fear of name collision
⢠a Vocabulary Element is represented as Uniform Resource Identifier (URI) whose general
syntax is defined in [RFC2396]
⢠Hierarchical Vocabularies
⢠Some Vocabularies have a hierarchical
or multi-hierarchical structure
⢠Store #23 is the parent and the latter two
Store #23 Back Room and Store #23
Front Room are children
⢠Hierarchical relationships between vocabulary elements are represented through master data.
Specifically, a parent identifier carries, in addition to its master data attributes, a list of its
children identifiers.
26. Š Auto-ID Lab Korea / KAIST
Slide 26
Introduction â EPCIS Event
⢠EPCISEvent â Base event type
⢠See. 7.2. section
Object Event Aggregation Event Transaction Event Transformation Event
Receiving time at Capturing Application
Receiving time at EPCIS repository
TimeZone, offset from UTC
Extends
27. Š Auto-ID Lab Korea / KAIST
Slide 27
Introduction â EPCIS Event
⢠ObjectEvent
⢠Observation of object(s)
(Optional)
Instance level master data: e.g. expiration date
(Optional)
(Optional)
List of Observed objects
e.g. Created, Observed, Destroyed
c.f Red: new in EPCIS v1.1
28. Š Auto-ID Lab Korea / KAIST
Slide 28
Introduction â EPCIS Event
⢠AggregationEvent
⢠Association between containing/contained object(s)
Aggregation Event
(e.g. box, case, pallet)
e.g. Box, case, pallet
e.g. Trade items in box
e.g. child added, observed, or deleted from parents
(Optional)
29. Š Auto-ID Lab Korea / KAIST
Slide 29
Introduction â EPCIS Event
⢠Transaction Event
⢠(Dis)Association of object(s) to business transaction(s)
Transaction Event
(Optional)
e.g. Item (dis)associated to the BizTransaction
ď§ Business Step
ď§ Business process
ď§ e.g. Loading, Packing, Shipping, Receiving
ď§ Disposition
ď§ Status of object
ď§ Available for sale, in Storage
ď§ Business Transaction
ď§ Transaction information
ď§ e.g. Purchase, Invoice
30. Š Auto-ID Lab Korea / KAIST
Slide 30
Introduction â EPCIS Event
⢠Transformation Event
⢠Capture the relationship between the input (source) and the outputs
(product)
Input Outputs
(Optional)
c.f Red: new in EPCIS v1.1
COW ď Slides of Beef
33. Š Auto-ID Lab Korea / KAIST
Slide 33
EPCIS Service
Capture Interface
⢠Capture Interface
⢠Receiving EPCIS event from ALE
⢠Storing it into EPCIS distributed repository
33
RFID Reader
& Antenna
Barcode
Reader
ALE â Event Capturing
EPCIS â Visibility Event Data
Capturing Interface
Query Interface
Business Apps.
<<interface>>
CoreCaptureService
Capture(event : List<EPCISEvent> ) : void
<<extension point>>
Argument Type Description
Event List of EPCISEvent Event for Capturing
Event has All related information
( time, EPC , and so on ) except recordTime. RecordT
ime is saved by EPCIS repository or EPCIS Access Ap
plication
34. Š Auto-ID Lab Korea / KAIST
Slide 34
EPCIS Service
Query Interface
34
⢠Query Interface
⢠Receiving query from Business Apps.
⢠Returning corresponding data
⢠Two Types of Query
⢠On-demand query / Synchronous
⢠Request and Response way
⢠By EPCIS Query Control Interface
⢠Standing Query / Asynchronous
⢠By establishing a subscription for a periodic query
⢠By EPCIS Query Callback Interface
35. Š Auto-ID Lab Korea / KAIST
Slide 35
EPCIS Service
Query Interface
⢠Query Interface (Cont.)
⢠Query Control Interface
⢠Subscribe/Unsubscribe
⢠For Standing Query
⢠Result is transferred to destination descripted by Query Callback Interface
⢠Poll
⢠For On-demand Query
35
<<interface>>
EPCISQueryControlInterface
subscribe(queryName : String, params : QueryParams, dest : URI, controls : SubscriptionControls,
subscriptionID : String)
unsubscribe(subscriptionID : String)
poll(queryName : String, params : QueryParams) : QueryResults
âŚ
36. Š Auto-ID Lab Korea / KAIST
Slide 36
EPCIS Service
Query Interface
⢠Query Interface (Cont.)
⢠Query Callback Interface
⢠Procedure
⢠EPCIS executes subscribed query in a periodic manner or a triggered manner
⢠If success ď results go to designated URL
⢠Else ď error messages go to designated URL
36
<<interface>>
EPCISQueryCallbackInterface
callbackResults(resultData : QueryResults) : void
callbackQueryTooLargeException(e : QueryTooLargeException) : void
callbackImplementationException(e : ImplementationException) : void
37. Š Auto-ID Lab Korea / KAIST
Slide 37
Introduction â EPCIS Standard
⢠EPCIS Next (v1.2)
⢠Highlights
1. Error Declaration
2. Hierarchical Extension Field
38. Š Auto-ID Lab Korea / KAIST
Slide 38
Introduction â EPCIS Standard
⢠EPCIS Next (v1.2)
⢠Highlights
1. Error Declaration
⢠Enable to capture the revised event for the erroneous event
1. One object is omitted 2. Capture revised one 3. Capture to indicate erroneous event
added
39. Š Auto-ID Lab Korea / KAIST
Slide 39
Introduction â EPCIS Standard
⢠EPCIS Next (v1.2)
⢠Highlights
2. Hierarchical Extension Field
⢠Until v1.1, âflatâ extension field only permitted
⢠From v1.2, Extension field can have a hierarchy
⢠Extension field can be applied to
⢠Basic Extension
⢠ILMD extension
⢠Error declaration extension
40. Š Auto-ID Lab Korea / KAIST
Slide 40
Introduction â EPCIS Application 1
⢠How to capture the business events of beef cuts
⢠Based on GS1 Global Forum 2015 tutorial
How?
Guide three fundamental events
41. Š Auto-ID Lab Korea / KAIST
Slide 41
Introduction â EPCIS Application 1
⢠Capture your event 1
42. Š Auto-ID Lab Korea / KAIST
Slide 42
Introduction â EPCIS Application 1
⢠Standard XML format for Event 1
43. Š Auto-ID Lab Korea / KAIST
Slide 43
Introduction â EPCIS Application 1
⢠Capture your event 2
44. Š Auto-ID Lab Korea / KAIST
Slide 44
Introduction â EPCIS Application 1
⢠Standard XML format for Event 2
45. Š Auto-ID Lab Korea / KAIST
Slide 45
Introduction â EPCIS Application 1
⢠Capture your event 3
46. Š Auto-ID Lab Korea / KAIST
Slide 46
Introduction â EPCIS Application 1
⢠Standard XML format for Event 3
47. Š Auto-ID Lab Korea / KAIST
Slide 47
Introduction â EPCIS Application 1
⢠Visualize it via queries to Oliot EPCIS
48. Š Auto-ID Lab Korea / KAIST
Slide 48
Introduction â Oliot EPCIS
open source
⢠Oliot EPCIS
⢠Open source web service compatible with EPCIS
⢠How implemented
⢠Model Generation
⢠JAXB on standard XSD
⢠Service Binding
⢠SOAP based on standard WSDL
⢠Verification
⢠XSD verification
⢠Running Environment
⢠Java Web Service ( Java v1.8, Servlet v3.1 )
⢠Tomcat WAS ( v8.x )
⢠MongoDB ( v3.2 )
⢠Services
⢠Service Bindings: SOAP, REST
⢠Capture Service
⢠Event data / Master data
⢠Query Service
⢠Standard âSimpleEventQueryâ (See EPCIS 8.2.7 )
Backend
Repository
Event Data Master Data
Capture Service Listener
CaptureLayer
Application
QueryLayer
Poll Subscription
Scheduler
Schedule Destination
App
Query Service Receiver
Oliot-EPCIS
SOAP/HTTP
REST/HTTP
Object-Relational Mapper
(POJO ď Storage Unit)
JAXB Marshaller
(XMLď POJO)
Document Validator
Capture
Immediate Query
Standing Query
EPCIS DOC
ResultSOAP/HTTP
REST/HTTP
JAXB Unmarshaller (POJO ď XML)
Object-Relational Mapper
(Storage Unit ď POJO)
XML/JSON
49. Š Auto-ID Lab Korea / KAIST
Slide 49
Installation - Prerequisite
⢠Install Java 8
⢠Install Tomcat 8
⢠Install MongoDB 3.2
⢠Download âepcis.warâ from
⢠Root folder of https://github.com/JaewookByun/epcis
⢠Locate âepcis.warâ into [tomcat-folder]/webapps
⢠Visit http://oliot.org to access the latest information and tutorial.
50. Š Auto-ID Lab Korea / KAIST
Slide 50
Installation
⢠Run MongoDB
⢠Run Tomcat Server
⢠See it starts
⢠Access [ip:port]/epcis
51. Š Auto-ID Lab Korea / KAIST
Slide 51
Learn how to use
⢠Access EPCIS clients
http://143.xx.yy.zz:8080/epcis/
52. Š Auto-ID Lab Korea / KAIST
Slide 52
Learn how to use
Load existing examples
Insert your events here
Change URL
Capture and see the result
⢠Access EPCIS capture client
53. Š Auto-ID Lab Korea / KAIST
Slide 53
Learn how to use
Add the parameters with UI
See the result
Change base URL
⢠Access EPCIS query client
Add parameters
Click to query
54. Š Auto-ID Lab Korea / KAIST
Slide 54
Learn how to use
⢠Access EPCIS query client
⢠Example 1: eventType=ObjectEvent
1. Add ObjectEvent
2. See the param. Added
and Click Poll
3. See the result
55. Š Auto-ID Lab Korea / KAIST
Slide 55
Learn how to use
⢠Access EPCIS query client
⢠Example 2: eventType=ObjectEvent | AggregationEvent
56. Š Auto-ID Lab Korea / KAIST
Slide 56
Learn how to use
⢠Access EPCIS query client
⢠Example 3: GE_eventTime=1900-03-23T14:03:45.000Z
57. Š Auto-ID Lab Korea / KAIST
Slide 57
Learn how to use
⢠Access EPCIS query client
⢠Example 4: EQ_action=ADD
58. Š Auto-ID Lab Korea / KAIST
Slide 58
Learn how to use
⢠Access EPCIS query client
⢠Example 5: EQ_bizStep=urn:epcglobal:cbv:bizstep:receiving
59. Š Auto-ID Lab Korea / KAIST
Slide 59
Learn how to use
⢠Access EPCIS query client
⢠Example 6: EQ_disposition=urn:epcglobal:cbv:disp:in_progress
60. Š Auto-ID Lab Korea / KAIST
Slide 60
Learn how to use
⢠Access EPCIS query client
⢠Example 7: EQ_eventID=57df3d635d8a88785775ff83
61. Š Auto-ID Lab Korea / KAIST
Slide 61
Learn how to use
⢠Access EPCIS query client
⢠Example 8: orderBy=eventTime
Several events are ordered by
eventTime (DESC)
62. Š Auto-ID Lab Korea / KAIST
Slide 62
Learn how to use
⢠Access EPCIS query client
⢠Example 9: EXISTS_http://ns.example.com/epcis0%23a=true
namespace
63. Š Auto-ID Lab Korea / KAIST
Slide 63
Learn how to use
⢠Access EPCIS query client
⢠Example 10: EQ_http://ns.example.com/epcis0%23a=15^int (for extension field)
namespace Value, type
64. Š Auto-ID Lab Korea / KAIST
Slide 64
Programming Guide
⢠Oliot EPCIS is web service
⢠Previous slides just for the educational purpose
⢠Write a code in language independent way
⢠e.g. C++, Java, Javascript, Python and etc.
⢠Postman
⢠Good Tool for your testing
⢠Sending your HTTP call
⢠e.g. POST, GET
Now download native app.
⢠https://www.getpostman.com/downloads/
Method Description
GetStandardVersion Return the standard version of EPCIS
EventCapture Capture your EPCIS Document into your backend storage
VocabularyCapture
Capture your EPCIS Master Data Document into your backend
storage
GetQueryNames Return a list of all query names available
Poll
Return events/vocabularies stored in repository in interest
immediately
GetSubscriptionIDs
Return a list of all subscriptionIDs currently subscribed to the
specified named query
Subscribe
Register a subscriber for a previously defined query having
the specified name
Unsubscribe
Remove a previously registered subscription having the
specified subscriptionID
65. Š Auto-ID Lab Korea / KAIST
Slide 65
Programming Guide
⢠Postman Example (GetStandardVersion)
⢠Return the standard version of EPCIS
⢠Set URL
⢠Then, Send with GET
⢠See a version if succeed
66.
67. Š Auto-ID Lab Korea / KAIST
Slide 67
Programming Guide
⢠Postman Example (Event Capture)
⢠Make you capture your events
⢠Set URL
⢠Prepare EPCIS document
⢠Then, Send with POST
⢠See HTTP.OK (200) if succeed
69. Š Auto-ID Lab Korea / KAIST
Slide 69
Programming Guide
⢠Postman Example (Poll Event
Data)
⢠Provide you stored events under
conditions you made
⢠Set URL with Parameter
⢠Then, Send with GET
⢠See result if succeed
⢠For more query examples
⢠See [url:port]/epcis/rest-like-query-
examples.html
71. Š Auto-ID Lab Korea / KAIST
Slide 71
Programming Guide
⢠Postman Example (GetQueryNames)
⢠Return a list of all query names available
⢠Set URL
⢠Then, Send with GET
⢠See result if succeed
73. Š Auto-ID Lab Korea / KAIST
Slide 73
Programming Guide
⢠Postman Example (Vocabulary Capture)
⢠Make you capture your vocabularies
⢠Set URL
⢠Prepare EPCIS document
⢠Then, Send with POST
⢠See HTTP.OK (200) if succeed
74. Š Auto-ID Lab Korea / KAIST
Slide 74
Programming Guide
⢠Postman Example (Poll
Master Data)
⢠Provide you stored
vocabularies under
conditions you made
⢠Set URL with Parameter
⢠Then, Send with GET
⢠See result if succeed
⢠For more query examples
⢠See [url:port]/epcis/rest-like-master-
query-examples.html
75. Š Auto-ID Lab Korea / KAIST
Slide 75
Programming Guide
⢠Postman Example (Subscribe)
⢠Provide you âperiodicallyâ stored events
to âdesignated URLâ
under conditions you made
⢠Set URL with Parameter
⢠You can use âPollâ parameters
⢠Set additional Parameter
⢠e.g. dest: Your callback URL
⢠e.g. cronExpression:
⢠See Rationale
⢠See Cron Expression
⢠Then, Send with GET
⢠Receive periodic result in Callback URL
76. Š Auto-ID Lab Korea / KAIST
Slide 76
Programming Guide
⢠Postman Example (GetSubscriptionIDs)
⢠Returns a list of all subscriptionIDs currently
subscribed to the specified named query.
⢠Set URL
⢠Then, Send with GET
⢠See ID list if succeed
77. Š Auto-ID Lab Korea / KAIST
Slide 77
Programming Guide
⢠Postman Example (Unsubscribe)
⢠Set URL with Parameter
⢠Then, Send with GET
⢠Receive periodic result in Callback URL
80. Š Auto-ID Lab Korea / KAIST
Slide 80
⢠The goal of this standard is to specify various vocabulary elements and
their values for use in conjunction with the EPCIS standard [EPCIS1.2],
which defines mechanisms to exchange information both within and
across organization boundaries.
⢠The CBV provides definitions of data values that may be used to
populate the data structures defined in the EPCIS standard
⢠The vocabulary identifiers and definitions in this standard will ensure
that all parties who exchange EPCIS data using the Core Business
Vocabulary will have a common understanding of the semantic
meaning of that data.
⢠It defines vocabularies that are core to the EPCIS abstract data
model and are applicable to a broad set of business scenarios
common to many industries that have a desire or requirement to share
data.
Core Business Vocabulary
81. Š Auto-ID Lab Korea / KAIST
Slide 81
Vocabulary kinds
⢠Standard Variables
⢠A Standard Vocabulary is a set of Vocabulary Elements whose definition
and meaning must be agreed to in advance by trading partners who will
exchange events using the vocabulary.
⢠Standard Vocabulary elements tend to be defined by organisations of
multiple end users, such as GS1, industry consortia outside GS1, private
trading partner groups, and so on.
⢠User Variables
⢠A User Vocabulary is a set of Vocabulary Elements whose definition and
meaning are under the control of a single organisation.
⢠For example, the EPCIS standard defines a vocabulary called âbusiness
location,â whose elements are identifiers denoting such things as âAcme
Corp. Distribution Centre #3.â
82. Š Auto-ID Lab Korea / KAIST
Slide 82
⢠Standard Vocabularies
⢠Business step identifiers
⢠Disposition identifiers
⢠Business transaction types
⢠Source/Destination types
⢠Error reason identifiers
⢠User variables
⢠Objects
⢠Locations
⢠Business transactions
⢠Source/Destination identifiers
⢠Transformation identifiers
⢠Event identifiers
Vocabulary kinds
83. Š Auto-ID Lab Korea / KAIST
Slide 83
Use of Uniform Resource Identifiers (URIs)
84. Š Auto-ID Lab Korea / KAIST
Slide 84
Use of Uniform Resource Identifiers (URIs)
85. Š Auto-ID Lab Korea / KAIST
Slide 85
Standard Vocabularies
- Business steps
86. Š Auto-ID Lab Korea / KAIST
Slide 86
Standard Vocabularies
Business steps
87. Š Auto-ID Lab Korea / KAIST
Slide 87
Standard Vocabularies
Business steps - Element values
88. Š Auto-ID Lab Korea / KAIST
Slide 88
Standard Vocabularies
- Dispositions
89. Š Auto-ID Lab Korea / KAIST
Slide 89
Standard Vocabularies
Dispositions â Element Values
90. Š Auto-ID Lab Korea / KAIST
Slide 90
Standard Vocabularies
-Business Transaction Types
91. Š Auto-ID Lab Korea / KAIST
Slide 91
Standard Vocabularies
-Business Transaction Types
92. Š Auto-ID Lab Korea / KAIST
Slide 92
Standard Vocabularies
-Source/Destination types
93. Š Auto-ID Lab Korea / KAIST
Slide 93
Standard Vocabularies
-Source/Destination types
94. Š Auto-ID Lab Korea / KAIST
Slide 94
Standard Vocabularies
-Error reason identifiers
95. Š Auto-ID Lab Korea / KAIST
Slide 95
Standard Vocabularies
-Error reason identifiers
101. Š Auto-ID Lab Korea / KAIST
Slide 101
EPCIS/CBV 2.0
⢠EPCIS 2.0
⢠New Event Type
⢠Sensor Element Data
⢠JSON-LD
⢠REST Interface
⢠CBV 2.0
⢠New Vocabularies
102. Š Auto-ID Lab Korea / KAIST
Slide 102
EPCIS 2.0 - New Event Type
⢠AssociationEvent (subclass of EPCISEvent)
⢠capture associations where there is a strong physical relationship
between the containing and the contained objects such that they
will all occupy the same location at the same time, until such time
as they are disaggregated.
103. Š Auto-ID Lab Korea / KAIST
Slide 103
EPCIS 2.0 â New Event Type
AssociationEvent
113. Š Auto-ID Lab Korea / KAIST
Slide 113
EPCIS 2.0 â REST Binding
⢠Event filter control interface
⢠EPCIS query as URL query parameters
⢠https://example.com/events/all?filter=EQ_bizStep=urn:epcglobal:cbv:bizstep:shipping
⢠Query control interface
⢠Named queries Endpoint:
⢠GET /queries Returns a list of active queries.
⢠POST /queries. Creates a new named query.
⢠Execute named queries Endpoint:
⢠GET /queries/{queryName}/events.
⢠Returns a list of EPCIS events that match the query named in the path
⢠POST /queries/{queryName}/subscriptions
⢠Create a new query subscription. You must specify either a trigger parameter or schedule
parameter
https://github.com/evrythng/gs1-epcis-2.0/blob/master/openapi.yaml
114. Š Auto-ID Lab Korea / KAIST
Slide 114
CBV 2.0
Location and party master data attributes