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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

903<br />

904<br />

905<br />

906<br />

907<br />

908<br />

909<br />

910<br />

911<br />

912<br />

913<br />

914<br />

915<br />

916<br />

917<br />

918<br />

919<br />

920<br />

921<br />

922<br />

923<br />

924<br />

925<br />

926<br />

927<br />

928<br />

included in the<br />

range<br />

overlap<br />

<strong>The</strong> relationship of the ECGroupSpec to the group operator introduced in Section 5 is<br />

defined as follows. Formally, a group operator G is specified by a list of pattern URIs:<br />

G = (Pat_1, Pat_2, ..., Pat_N)<br />

Let each pattern be written as a series of fields:<br />

Pat_i = urn:epc:pat:type_i:field_i_1.field_i_2.field_i_3...<br />

where each field_i_j is either X, *, Number, or [Lo-Hi].<br />

<strong>The</strong>n the definition of G(epc) is as follows. Let epc be written like this:<br />

urn:epc:tag:type_epc:field_epc_1.field_epc_2.field_epc_3...<br />

<strong>The</strong> epc is said to match Pat_i if<br />

• type_epc = type_i; and<br />

• For each field k, one of the following is true:<br />

• field_i_k = X<br />

• field_i_k = *<br />

• field_i_k is a number, equal to field_epc_k<br />

• field_i_k is a range [Lo-Hi], and Lo ≤ field_epc_k ≤ Hi<br />

Because of the disjointedness constraint specified above, the epc is guaranteed to match<br />

at most one of the patterns in G.<br />

G(epc) is then defined as follows:<br />

• If epc matches Pat_i for some i, then<br />

G(epc) = urn:epc:pat:type_epc:field_g_1.field_g_2.field_g_3...<br />

where for each k, field_g_k = *, if field_i_k = *; or field_g_k =<br />

field_epc_j, otherwise<br />

• If epc does not match Pat_i for any i, then G(epc) = the default group.<br />

8.2.10 ECReportOutputSpec<br />

ECReportOutputSpec specifies how the final set of EPCs is to be reported.<br />

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

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

Saved successfully!

Ooh no, something went wrong!