A traditional database-like interface has been proposed to make application programming in sensor network accessible to scientists and researchers in various fields who could benefit from large-scale and fine-grained sensing that sensor networks make possible. TinyDB developed at Intel Berkeley is a system that provides such an interface.
In this project, we have been exploring issues in the interaction between a sensornet database system and data-centric routing protocols. Specifically, we have prototyped TinyDBD (TinyDB on Diffusion) that has the same front-end as TinyDB. However, queries are injected into the network running directed diffusion using INTEREST messages. Replies to queries are routed to the querying node using DATA messages. At each node, the query processor is implemented as a filter. Our implementation of TinyDBD does not include any networking code and relies completely on Directed Diffusion to properly route queries and replies.