52 | | * Common Interfaces |
53 | | 1. RPI |
54 | | 1. RLI |
55 | | 1. RAI |
56 | | 1. SQI |
57 | | |
58 | | * Section on other advanced interfaces |
| 54 | * '''Resource Publication Interface (RPI)''' - This interface is provided by a Resource Directory in order for REPs to register, update or remove so-called [wiki:RpResDescription Resource Descriptions]. This publication and maintenance procedure is automatically handled by the Java REP and Gateway implementations. |
| 55 | |
| 56 | * '''[wiki:RuRai Resource Access Interface (RAI)]''' - There is no single resource access interface in the SENSEI architecture, instead each resource description published by a REP includes information about the interface(s) available to access it, for example the URL and interface description. In order for Resource Users to easily access resources, a set of well-known resource interfaces have been defined for sensor, parameter, actuator and code-update resource types. |
| 57 | |
| 58 | * '''[wiki:RuRli Resource Lookup Interface (RLI)]''' - This interface is used by Resource Users and other components (e.g. the SQR) to find Resource Descriptions based on resource ID or other information contained in the Resource Description. |
| 59 | |
| 60 | * '''[wiki:RuSqr Semantic Query Interface (SQI)]''' - This interface is used by Resource Users to query for resources or entities of interest. Instead of using low-level information in resource descriptions as with the RLI, this interface accepts high-level declarative queries. After performing query analysis, one or more resource descriptions are returned. |
| 61 | |
62 | | * How does the testbed work? |
| 65 | So how does the SENSEI system work in practice? The easiest way to find out is try it for yourself. First a System Provider is needed. There are two options: either the [wiki:SpUsingTestbed Pan-European testbed] can be used or you can host your own system. By default Resource Provider components like the Java REP and Gateways are configured to use the Pan-European testbed. Deploying your own system is also not too difficult, all the needed components including the Management GUI and included in a [wiki:SpVirtualMachine virtual machine image]. |
| 66 | |
| 67 | Next some resources need to be connected to the system. The Resource User guide includes several different implementaions of resource end points. The easiest way to get started is to use the [wiki:RpRepDeployment Java REP], which creates dummy resources on a standard PC. The Java REP can then be extended with your own resources. If suitable sensor node hardware is available, then the [wiki:NativeGateway Native Gateway] can be used on a PC to interconnect sensor nodes running either [wiki:node-tinyos TinyOS] or [wiki:node-contiki Contiki]. In addition a [wiki:ZigbeeGateway ZigBee Gateway] is provided. |
| 68 | |
| 69 | So how to use the resources now available in the SENSEI system? The easiest way to start is with a simple web browser. Most resources return their value upon an HTTP GET, so entering the URL or the resource in your browser will display the value. The [wiki:RuManagementGui Management GUI] is a more complete way to access resources, along with configuring the SENSEI system. Finally, as resources have simple REST HTTP interfaces, it is straightforward to create your own Resource User that looks up resources using e.g. the RLI interface and then accesses them with their RAI interface. |