03.01.2014 Views

The Application Level Events (ALE) Specification, Version 1.0 - GS1

The Application Level Events (ALE) Specification, Version 1.0 - GS1

The Application Level Events (ALE) Specification, Version 1.0 - GS1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

800<br />

801<br />

802<br />

803<br />

804<br />

805<br />

806<br />

807<br />

808<br />

809<br />

810<br />

811<br />

812<br />

813<br />

814<br />

815<br />

816<br />

817<br />

818<br />

819<br />

820<br />

821<br />

822<br />

823<br />

824<br />

825<br />

826<br />

827<br />

828<br />

829<br />

830<br />

831<br />

832<br />

833<br />

834<br />

8.2.6 ECReportSetSpec<br />

ECReportSetSpec is an enumerated type denoting what set of EPCs is to be<br />

considered for filtering and output: all EPCs read in the current event cycle, additions<br />

from the previous event cycle, or deletions from the previous event cycle.<br />

<br />

CURRENT<br />

ADDITIONS<br />

DELETIONS<br />

8.2.7 ECFilterSpec<br />

An ECFilterSpec specifies what EPCs are to be included in the final report.<br />

includePatterns : List // List of EPC patterns<br />

excludePatterns : List // List of EPC patterns<br />

<br />

---<br />

<strong>The</strong> ECFilterSpec implements a flexible filtering scheme based on two pattern lists.<br />

Each list contains zero or more EPC patterns. Each EPC pattern denotes a single EPC, a<br />

range of EPCs, or some other set of EPCs. (Patterns are described in detail below in<br />

Section 8.2.8.) An EPC is included in the final report if (a) the EPC does not match any<br />

pattern in the excludePatterns list, and (b) the EPC does match at least one pattern<br />

in the includePatterns list. <strong>The</strong> (b) test is omitted if the includePatterns list<br />

is empty.<br />

This can be expressed using the notation of Section 4 as follows, where R is the set of<br />

EPCs to be reported from a given event cycle, prior to filtering:<br />

F(R) = { epc | epc ∈ R<br />

& (epc ∈ I 1 | … | epc i∈ I n )<br />

& epc ∉ E 1 & … & epc ∉ E n }<br />

where I i denotes the set of EPCs matched by the ith pattern in the includePatterns<br />

list, and E i denotes the set of EPCs matched by the ith pattern in the<br />

excludePatterns list.<br />

8.2.8 EPC Patterns (non-normative)<br />

EPC Patterns are used to specify filters within an ECFilterSpec. <strong>The</strong> normative<br />

specification of EPC Patterns may be found in the EPCglobal Tag Data <strong>Specification</strong><br />

<strong>Version</strong> 1.1 [TDS1.1]. <strong>The</strong> remainder of this section provides a non-normative summary<br />

of some of the features of that specification, to aid the reader who has not read the<br />

EPCglobal Tag Data <strong>Specification</strong> in understanding the filtering aspects of the <strong>ALE</strong> API.<br />

Copyright © 2005, 2004 EPCglobal Inc, All Rights Reserved. Page 27 of 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!