Difference between revisions of "Observation production config"
From AMTech WikiDocs
(Some typographic cleanup. Still very hard to read) |
|||
Line 1: | Line 1: | ||
The goal of this configuration is to identify the observation types a Thing type produces behind a bridge. | The goal of this configuration is to identify the observation types a Thing type produces behind a bridge. | ||
− | * Types to configure as producers are the types of the bridge instances (things in the property | + | * Types to configure as producers are the types of the bridge instances (things in the property bridgeInstance). |
*Select observation type. It has to be an observation that the Thing type produces. | *Select observation type. It has to be an observation that the Thing type produces. | ||
**[[Sensor%27s_network#Topics|Topic]] | **[[Sensor%27s_network#Topics|Topic]] | ||
**[[Sensor%27s_network|Producer]] | **[[Sensor%27s_network|Producer]] | ||
**[[Sensor%27s_network#targetthings|targetthings]] | **[[Sensor%27s_network#targetthings|targetthings]] | ||
− | The Amtech M2M bridge | + | The Amtech M2M bridge uses this configuration to generate the observations it sends. |
− | ; | + | ;The follower must have a role with access polices to the [[Activities#Thing types|Thing type]] in order to get this information |
*Configuration details | *Configuration details | ||
**The configuration involved thing types and the observation types they produce. The following example shows where a thing type LLRPReader produces 2 observations type [[Sensor%27s_network#CRUD_observation|observationresourcecrud]] and graiEPC | **The configuration involved thing types and the observation types they produce. The following example shows where a thing type LLRPReader produces 2 observations type [[Sensor%27s_network#CRUD_observation|observationresourcecrud]] and graiEPC | ||
**[[File:Observacion-prod-bridge-llrp.png|850px|thumbnail|center|Select thing and observations type]] | **[[File:Observacion-prod-bridge-llrp.png|850px|thumbnail|center|Select thing and observations type]] | ||
**Configure observations' properties required to produce selected observations and enforce security including topic, targetthings, producer, guestusers, and guesttenants. (See [[Sensor's network#Observations and observation types|Observations and observation types]]). The following example illustrates an graiEPC observation type with: | **Configure observations' properties required to produce selected observations and enforce security including topic, targetthings, producer, guestusers, and guesttenants. (See [[Sensor's network#Observations and observation types|Observations and observation types]]). The following example illustrates an graiEPC observation type with: | ||
− | ***[[Sensor%27s_network#Topics|topic]] thingsInBoardroom/LLRPReader/#{smoothingResult}, placeholder #{smoothingResult} is used to group observations in child branches new or lost | + | ***[[Sensor%27s_network#Topics|topic]] - thingsInBoardroom/LLRPReader/#{smoothingResult}, placeholder #{smoothingResult} is used to group observations in child branches new or lost |
− | ***[[Sensor%27s_network|producer]] reunionMexicoEDN:llrpantenna#{antennaId}, placeholder #{antennaId} is used to group identify what antenna id produced the observation | + | ***[[Sensor%27s_network|producer]] - reunionMexicoEDN:llrpantenna#{antennaId}, placeholder #{antennaId} is used to group identify what antenna id produced the observation |
***[[File:observ-prod-bridge-topics.png|850px|thumbnail|center|topic, producer, guest tenant and guest user]] | ***[[File:observ-prod-bridge-topics.png|850px|thumbnail|center|topic, producer, guest tenant and guest user]] | ||
− | ***[[Sensor%27s_network#targetthings|targetthings]] resource id reunionMexicoEDN:llrpantenna#{antennaId}:#{serialNumber}, placeholders #{antennaId} and #{serialNumber} are used to antenna id and product serial number from graiEPC values to uniquely identify the target thing. | + | ***[[Sensor%27s_network#targetthings|targetthings]] - resource id reunionMexicoEDN:llrpantenna#{antennaId}:#{serialNumber}, placeholders #{antennaId} and #{serialNumber} are used to antenna id and product serial number from graiEPC values to uniquely identify the target thing. |
***[[File:observ-prod-bridge-targething.png|850px|thumbnail|center|targetthings]] | ***[[File:observ-prod-bridge-targething.png|850px|thumbnail|center|targetthings]] | ||
* [[Sensor%27s_network#Placeholders_substitution|Placeholders]] | * [[Sensor%27s_network#Placeholders_substitution|Placeholders]] | ||
**Allows to set identifiers that will be substituted by real values at different intelligence layers, the following example illustrates. | **Allows to set identifiers that will be substituted by real values at different intelligence layers, the following example illustrates. | ||
− | **guesttenants #{companyPrefix} | + | **guesttenants #{companyPrefix} - placeholder is used to set a guesttenants from graiEPC value companyPrefix allowing to control the access to observations and things from the intelligence in the edge. |
− | **topic thingsInBoardroom/LLRPReader/#{smoothingResult}/#{country} | + | **topic thingsInBoardroom/LLRPReader/#{smoothingResult}/#{country} - placeholder is used to group observations in child branches by countries. |
**[[File:observ-prod-placeholder.png|850px|thumbnail|center|placeholder]] | **[[File:observ-prod-placeholder.png|850px|thumbnail|center|placeholder]] | ||
* Relation with thing types observation production configuration (See [[Activities#Thing types|Thing types]]) | * Relation with thing types observation production configuration (See [[Activities#Thing types|Thing types]]) | ||
**Each thing type defines which observation types produces as part of the type semantic. The following example illustrates selecting observation type graiEPC produced by LLRPReader type. | **Each thing type defines which observation types produces as part of the type semantic. The following example illustrates selecting observation type graiEPC produced by LLRPReader type. | ||
**[[File:obser-prod-bridge-sel-observ.png|850px|thumbnail|center|Select observation type]] | **[[File:obser-prod-bridge-sel-observ.png|850px|thumbnail|center|Select observation type]] |
Revision as of 19:54, 11 October 2016
The goal of this configuration is to identify the observation types a Thing type produces behind a bridge.
- Types to configure as producers are the types of the bridge instances (things in the property bridgeInstance).
- Select observation type. It has to be an observation that the Thing type produces.
The Amtech M2M bridge uses this configuration to generate the observations it sends.
- The follower must have a role with access polices to the Thing type in order to get this information
- Configuration details
- The configuration involved thing types and the observation types they produce. The following example shows where a thing type LLRPReader produces 2 observations type observationresourcecrud and graiEPC
- Configure observations' properties required to produce selected observations and enforce security including topic, targetthings, producer, guestusers, and guesttenants. (See Observations and observation types). The following example illustrates an graiEPC observation type with:
- topic - thingsInBoardroom/LLRPReader/#{smoothingResult}, placeholder #{smoothingResult} is used to group observations in child branches new or lost
- producer - reunionMexicoEDN:llrpantenna#{antennaId}, placeholder #{antennaId} is used to group identify what antenna id produced the observation
- targetthings - resource id reunionMexicoEDN:llrpantenna#{antennaId}:#{serialNumber}, placeholders #{antennaId} and #{serialNumber} are used to antenna id and product serial number from graiEPC values to uniquely identify the target thing.
- Placeholders
- Allows to set identifiers that will be substituted by real values at different intelligence layers, the following example illustrates.
- guesttenants #{companyPrefix} - placeholder is used to set a guesttenants from graiEPC value companyPrefix allowing to control the access to observations and things from the intelligence in the edge.
- topic thingsInBoardroom/LLRPReader/#{smoothingResult}/#{country} - placeholder is used to group observations in child branches by countries.
- Relation with thing types observation production configuration (See Thing types)
- Each thing type defines which observation types produces as part of the type semantic. The following example illustrates selecting observation type graiEPC produced by LLRPReader type.