370 likes | 379 Views
This paper presents LiveFile, a compact and interrogative system for data collection in wireless sensor networks. It discusses the motivations, functionalities, and deployment of LiveFile, highlighting its resource awareness and memory management capabilities.
E N D
International Workshop on Wireless Sensor Networks NOTERE 2007 LiveFile A compact and interrogative system for data collection Gil De Sousa1, Pr Kun-Mean Hou1,Hai-Ying Zhou3,Christophe de Vaulx1and Jean-Pierre Chanet2 June 4th, 2007 1LIMOS Laboratory UMR 6158 CNRS, Blaise Pascal University, France 2Cemagref, UR TSCF/UMR TETIS, France 3Harbin Institute of Technology, China
Introduction • Wireless Sensor Network (WSN) • Various applications • Monitoring applications • Resource awareness • Memory management • LiveFile system • Interrogative file system • LiveNode network • LiveNode wireless sensor • LIMOS operating system 2 International Workshop on Wireless Sensor Networks, NOTERE 2007
Plan I. Motivations II. LiveFile presentation and functionalities III. LiveFile deployment 3 International Workshop on Wireless Sensor Networks, NOTERE 2007
I. Motivations 4 International Workshop on Wireless Sensor Networks, NOTERE 2007
Wireless Sensor Networks • Examples of applications • Monitoring • “smart care, smart home” applications • Environmental monitoring • Mobile tracking • Fixed infrastructure substitution • Emergency rescue • Conference organisation 5 International Workshop on Wireless Sensor Networks, NOTERE 2007
Wireless sensors • Small electronic devices • Equipped with different communication protocols • WiFi (IEEE 802.11), Bluetooth and Zigbee (IEEE 802.15) • Limited available resources • Energy, memory and processing • Development of dedicated software • Operating system • Examples of wireless sensors • Mica and TmoteSky motes • LiveNodes 6 International Workshop on Wireless Sensor Networks, NOTERE 2007
Sink node Data transmission Wireless sensor Data collection Observed environment Monitoring applications 7 International Workshop on Wireless Sensor Networks, NOTERE 2007
Sink node Data transmission Wireless sensor Data collection Observed environment Monitoring applications Compromise between transmission and storage 7 International Workshop on Wireless Sensor Networks, NOTERE 2007
Data storage • Increase of the available memory • ATMEL AT91SAM7S256 microcontroller • 64KB of SRAM • 256KB of internal Flash memory • Flash memory management • Non volatile storage • Partitioned memory • 1024 pages of 256 bytes • Limited number of programming operations • 10,000 times per page • Page programming time • 6ms 8 International Workshop on Wireless Sensor Networks, NOTERE 2007
II. LiveFile presentation and functionalities 9 International Workshop on Wireless Sensor Networks, NOTERE 2007
LiveFile design • Existing micro-file systems • ELF • Basic primitives for file operations • Intelligent memory page use • Capsule • MicroHash • LIMOS Versatile Embedded File system • Integration into LIMOS operating system 10 International Workshop on Wireless Sensor Networks, NOTERE 2007
LIMOS and LiveFile 11 International Workshop on Wireless Sensor Networks, NOTERE 2007
LiveFile functionalities • Micro-file system • Memory management • Intelligent read and programming operations • Metadata concept • Interrogative data system • Data queries • Key features • Adaptive system • Resource aware • Component based concept 12 International Workshop on Wireless Sensor Networks, NOTERE 2007
Adaptive system • Adaptation to the collected data • Data format • Size (type) • Examples • Temperature and pressure measurements • Customize page header • Main attributes • Number of programming operations • Storage type 13 International Workshop on Wireless Sensor Networks, NOTERE 2007
Basic virtual flash memory structure 14 International Workshop on Wireless Sensor Networks, NOTERE 2007
Virtual flash memory structure 15 International Workshop on Wireless Sensor Networks, NOTERE 2007
S N T … data C Customize page header • Classical attributes • State “S” • Idle/Busy • Number of programming operations “N” • Record type “T” • Record/File/Checkpoint • Checksum “C” 16 International Workshop on Wireless Sensor Networks, NOTERE 2007
Resource aware • Data manipulation • A maximum of 4 SRAM buffers needed • 3 writing/programming buffers • Trigger events for writing on Flash memory • A scheduled reboot • A full writing SRAM buffer • Writing Rotation Process (WRP) feature • Preservation of flash memory lifetime • Limitation of the number of programming operations on each flash memory page 17 International Workshop on Wireless Sensor Networks, NOTERE 2007
(b) (c) Programming operation (a) 18 International Workshop on Wireless Sensor Networks, NOTERE 2007
(a) (b) (c) Programming operation 18 International Workshop on Wireless Sensor Networks, NOTERE 2007
(a) (b) (c) Programming operation 18 International Workshop on Wireless Sensor Networks, NOTERE 2007
Programming operation ... ... ( ( a a ) ) ... ... ( ( b b ) ) ( ( c c ) ) ... ... 18 International Workshop on Wireless Sensor Networks, NOTERE 2007
1 event_code Event identifier 2 event_state Event state 3 event_thread_table A thread table pointer that points to the threads of this event 4 event_tuple Tuple identifier that points to the tuple associated with this event 5 event_tuple_msgnum Message number in the event tuple 6 event_priority Event priority level LIMOS key features 19 International Workshop on Wireless Sensor Networks, NOTERE 2007
Component based concept • Abstraction layer for memory use • Inter-Process Communication principle • “tuple” notion from LINDA concept • Primitives IN() and OUT() Tuples space OUT Thread IN Event Tuple(key) CPU Peripheral 20 International Workshop on Wireless Sensor Networks, NOTERE 2007
Interrogative data system • Concept • Key words and metadata concept • Forecasted queries • Types of data collected • Basic queries obtained by using modified primitive IN() int In(char Key, unsigned char *MsgPtr, int MsgLen); 21 International Workshop on Wireless Sensor Networks, NOTERE 2007
OUT() abstraction OUT(Flash,…) 22 International Workshop on Wireless Sensor Networks, NOTERE 2007
IN() abstraction IN(Flash,…) 23 International Workshop on Wireless Sensor Networks, NOTERE 2007
Metadata concept • Illustration • “V1” • Temperature “0” • Pressure “1” • “V2” • Comparison with a fixed threshold • Above “0” / Below “1” 24 International Workshop on Wireless Sensor Networks, NOTERE 2007
III. LiveFile deployment 25 International Workshop on Wireless Sensor Networks, NOTERE 2007
MobiPlus project • Purpose • Improvement of the public transportation service • Provide a service depending on the person handicap • Disabled, wheelchair and blind people • MobiPlus deployment • Bus station system • RFID detection and treatment feature • RFID tag with person handicap • Bus system • Inform driver • Accessibility devices 26 International Workshop on Wireless Sensor Networks, NOTERE 2007
Bus station organisation 27 International Workshop on Wireless Sensor Networks, NOTERE 2007
Vocal advertiser Bus antenna Bus accessibility platform Bus equipment LiveNode 28 International Workshop on Wireless Sensor Networks, NOTERE 2007
Environmental projects • Purpose • Environmental monitoring • Hydrasol project • Soil moisture • Fixed infrastructure substitution • Net-ADDED project • Farm communication architecture 29 International Workshop on Wireless Sensor Networks, NOTERE 2007
Sink node Environmental project 30 International Workshop on Wireless Sensor Networks, NOTERE 2007
Sink node Environmental project 30 International Workshop on Wireless Sensor Networks, NOTERE 2007
Conclusion • LiveFile • Interrogative micro-file system • Resource aware system • A complete platform • LiveNode • LIMOS operating system • LiveFile system • Adaptive system 31 International Workshop on Wireless Sensor Networks, NOTERE 2007
Ongoing and future works • Auto-configuration • Ad Hoc routing protocols • Routing table management • CIVIC protocol • Evaluation • Comparison between TinyOS/TinyDB and LIMOS/LiveFile on the same platform • LiveNode platform 32 International Workshop on Wireless Sensor Networks, NOTERE 2007