Changes between Version 12 and Version 13 of TITAN
- Timestamp:
- Oct 22, 2010, 11:35:49 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TITAN
v12 v13 7 7 [[PageOutline(2-3,Table of Contents,inline)]] 8 8 == Introduction == 9 Titan is a framework for the distributed execution of context recognition algorithms within Body Area Network (BANs). The framework‘s central component is running on a PC or mobile phone. It organizes and controls the execution of service graphs which are distributed on the mobile phone, body worn devices, and smart objects in the environment of its user. A service graph describes what resources (sensors, processing units, and actuators) are needed to achi ve a specific context/activity recognition goal (similar to the SENSEI TaskPlan).9 Titan is a framework for the distributed execution of context recognition algorithms within Body Area Network (BANs). The framework‘s central component is running on a PC or mobile phone. It organizes and controls the execution of service graphs which are distributed on the mobile phone, body worn devices, and smart objects in the environment of its user. A service graph describes what resources (sensors, processing units, and actuators) are needed to achieve a specific context/activity recognition goal (similar to the SENSEI TaskPlan). 10 10 11 11 The Titan framework integrates SENSEI’s resource-oriented approach to distributed processing within the sensor islands themselves. Similar to the Execution Manager (EM), Titan is coordinating the execution of a service graph, monitors the executed session and adapts distributed processing in the network topology by reconfiguring sensor nodes within subseconds. Extending the concepts of the Execution Manager to the sensor islands enables to execute and monitor a service graph more locally. The support of local service operation enforces the stability of the execution in case of failure or disconnection (Locality). … … 16 16 [[Image(titan_arch.png, 40%, center)]] 17 17 18 Every sensor node in the Titan framework provides certain ser cives(e.g. sensor, actuator, or processing resource). Titan is scanning the network and registering the services of the available nodes in the Titan Service Directory. All context/activity recognition tasks are defined by a service grpah in the Titan Service Graph Directory. Titan can start such a recognition task, by mapping the service graph to the available services found in the Titan Services Directory.18 Every sensor node in the Titan framework provides certain services (e.g. sensor, actuator, or processing resource). Titan is scanning the network and registering the services of the available nodes in the Titan Service Directory. All context/activity recognition tasks are defined by a service graph in the Titan Service Graph Directory. Titan can start such a recognition task, by mapping the service graph to the available services found in the Titan Services Directory. 19 19 20 20 The Titan framework is integrated as a REP to the SENSEI system. It registers to the SENSEI system as a Resource through the Resource Publish Interface (RPI). A Resource User (RU) can access Titan through the Resource Access Interface (RAI). Depending on the executed service graph, the Resource User receives data from the Titan Framework. … … 35 35 The Java ME PersonalProfile code for the Titan Network Manager is located in the TITAN_Mobile directory (Eclipse project). The Titan Network Manager can be started by the ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) method. 36 36 37 Currently the Java ME version cannot be directly accessed as a Titan REP. Workaround: Set-up a Titan Network Manager on a PC and connect the Java ME version as a "Titan Node Pool" (see bel low: "Titan Nodes").37 Currently the Java ME version cannot be directly accessed as a Titan REP. Workaround: Set-up a Titan Network Manager on a PC and connect the Java ME version as a "Titan Node Pool" (see below: "Titan Nodes"). 38 38 39 39 === Titan Node Pool 40 A Titan Node Pool hosts a number of Titan Nodes (see below) and is connected to the Titan Ne wtork Manager through a TCP/IP connection. A Titan Node pool is addressed by a subnet-ID (e.g. ID=1, ID=0 is reserved for the Titan Network Manager), whereas Titan Nodes are adressed by the pool's subnet-ID and thier local ID (e.g. a Titan Node in the subnet 2 and with local ID 100 has a global adress 2100).40 A Titan Node Pool hosts a number of Titan Nodes (see below) and is connected to the Titan Network Manager through a TCP/IP connection. A Titan Node pool is addressed by a subnet-ID (e.g. ID=1, ID=0 is reserved for the Titan Network Manager), whereas Titan Nodes are addressed by the pool's subnet-ID and thier local ID (e.g. a Titan Node in the subnet 2 and with local ID 100 has a global address 2100). 41 41 42 42 ==== Set-Up a Framework with Titan Node Pool … … 46 46 - in Java ME: start the application by the ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) method. In the GUI start the router with the corresponding sub-net ID. 47 47 48 2. Titan Network Manager: put the hostname of the Titan Node Pool in the ''TitanNodePool_HostNames'' located in the method ech.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) and start the Network Manager.48 2. Titan Network Manager: put the hostname of the Titan Node Pool in the ''TitanNodePool_HostNames'' located in the method ch.ethz.ee.ife.sensei.titanmanager.titan.mobile.TitanMobile::main(String[] args) and start the Network Manager. 49 49 50 50 === Installing the Nodes 51 51 52 52 ==== Titan Nodes 53 Titan Nodes are virtual nodes running on a Java SE VM or Java ME PersonalProfile VM. Similar to the TelosB Sensor nodes, they provide services (e.g. sensors, actuators, or processing resources) for the SENSEI framework. Titan Nodes are hosted by the "Titan Network Manager" or by a "Titan Node Pool". The number of created nodes can be set before starting the Network Manager/Node Pool (see parameter ''m_node_nr'' in the cor esponging main method).The nodes will get ID 100,101,...53 Titan Nodes are virtual nodes running on a Java SE VM or Java ME PersonalProfile VM. Similar to the TelosB Sensor nodes, they provide services (e.g. sensors, actuators, or processing resources) for the SENSEI framework. Titan Nodes are hosted by the "Titan Network Manager" or by a "Titan Node Pool". The number of created nodes can be set before starting the Network Manager/Node Pool (see parameter ''m_node_nr'' in the corresponding main method).The nodes will get ID 100,101,... 54 54 55 55 ==== TelosB Sensor Nodes … … 82 82 where ''<ID>'' is in this case ''0'', and '''<COMPORT>''' the CommPort of the pluged-in device (use ''motelist''). 83 83 84 Repeat ethe last step to install TITAN on the other nodes. Increase the ID number for every additional node (IDs must be unique!).84 Repeat the last step to install TITAN on the other nodes. Increase the ID number for every additional node (IDs must be unique!). 85 85 To run the Titan Network Manager with TelosB support: 86 86 - Connect the Titan Communication Node to the machine, on which the TITAN Network Manager should run. … … 93 93 ==== Bluetooth Sensors 94 94 95 Bluetooth Sensors using the RFCOMM protocol to send the sensory data can be connected to the Titan framework. Use the ''BTSensor'' service provided by a Titan Node to get the data of a bluetooth sensor into the framework.95 Bluetooth Sensors using the RFCOMM protocol to send their sensory data can be connected to the Titan framework. Use the ''BTSensor'' service provided by a Titan Node to get the data of a bluetooth sensor into the framework. 96 96 97 97 … … 100 100 To test the framework you can use the ResourceUser-Client GUI located in the TitanDesktop Eclipse-Project: ch.ethz.ee.ife.sensei.titanresourceuser.TitanResourceUserMain. Start the TitanREP on a PC or mobile device as described above and run the RU-Client GUI. 101 101 102 - Browse the TitanREP: Use the RU-Client to browse the TitanREP. All avai able service graphs (acting as SENSEI Resources) can be shown.102 - Browse the TitanREP: Use the RU-Client to browse the TitanREP. All available service graphs (acting as SENSEI Resources) can be shown. 103 103 - Edit service graphs: A RU can edit/add/delete service graphs from the TitanREP. 104 104 - Start/Stop a service graph: A service graph can be started and stopped by a RU. RU's can subscribe to a running service graph to be notified of the results. Currently TITAN supports no parallel execution of service graphs.