Home Networks in a World of Embedded Web Services David E. Culler [email protected] [email protected] KES 2006 10-19-2006
Download ReportTranscript Home Networks in a World of Embedded Web Services David E. Culler [email protected] [email protected] KES 2006 10-19-2006
Home Networks in a World of Embedded Web Services David E. Culler [email protected] [email protected] KES 2006 10-19-2006 BEARS 2 The Web – Integrates the World’s Information Sports Shopping Science Weather Maps NEWS Financial Technology BEARS 3 BEARS 4 Clocks and Calendars Exercise Units Video Game Consoles Entertainment System Baby Monitor (Elder care) Digital Health Devices Smart Appliances Smoke, Fire, CO, Radon Water Usage, Temp., Quality Heating, AC, and Ventilation Gas and Electric Usage Security and Access Control Most Real World Information goes “down the drain” Real-World Wireless Web – integrating real-world information Embedded Sensing Processing Communication Web Integration Technologies BEARS 5 Example BEARS 6 Outline • • • • • • • Introducing - Real-World Wireless Web Enabling Technology Embedded Web Services Awareness – monitoring and metering Prognostics - instrumentation Care – observing interactions Conclusions BEARS 7 Enabling Technology Microcontroller BEARS Flash Storage Radio Communication IEEE 802.15.4 8 Sensors Enabling Technology Physical World BEARS 9 Emergence of Open Platforms Proprietary WSN nodes Silicon World Wireless Berkeley open WSN “motes” Processing Storage Physical World BEARS 10 Sensors Emergence of Open Systems Digital World Silicon World WSN mote platform Wireless Processing Storage Sensors Physical World BEARS 11 Snapshot of an International Community 346,000+ downloads from tinyos.net -plus sourceforge, crossbow, moteiv, www.tinyos.or.kr, … Open TinyOS Alliance http://www.tinyos.net BEARS 12 Wireless Embedded Systems TinyOS 2.0 Over-the-air Programming Network Protocols Link Radio Serial Applications and Services Blocks, Logs, Files Flash Scheduling, Management Streaming drivers MCU, Timers, Bus,… ADC, Sensor I/F WSN mote platform Wireless BEARS Storage Processing Communication Centric Resource-Constrained Event-driven Execution 13 Sensors Wireless Embedded Networks Over-the-air Programming Network Protocols Digital World Silicon World Link Radio Serial Applications and Services Blocks, Logs, Files Flash Scheduling, Management Streaming drivers MCU, Timers, Bus,… ADC, Sensor I/F WSN mote platform Wireless Storage Processing Physical World BEARS 14 Sensors Multi-Hop Mesh Routing 2 2 2 2 1 1 2 0 BEARS 15 Confluence of Technology Embedded Networking Tiny Operating System Microcontroller SOCs CMOS Radios Integrated Sensors BEARS 16 Wireless Sensor Networks • • • • Network of tiny footprint computers Optimized for long life on low power Equipped to sense physical data Networked using low-power radio • Function: Internet or Enterprise Gateway Gateway Wireless Sensor Nodes – Sense any measurable parameter • Light, motion, chemicals, proximity, biometrics – Form network and communicate • Automatic meshing and routing over the air – Apply user-defined business logic • Sampling, summarizing, reporting events Sensors • Form: Battery/ Power – Mote (Processor, Radio, Storage) + Sensors – Embedded Operating System and Networking – Gateways towards Enterprise IT systems BEARS 17 Mote: Microcontroller Storage Enclosure Radio Clock Enabling Technology: Web Services • The ultimate interoperability • unify within and between Information Systems – Service Oriented Architecture – Widely adopted standards • • • • BEARS Backed by OASIS and W3C Open-source reference implementations, e.g., Apache SOAP + WSDL (+ UDDI) Or XML-RPC over HTTP (REST) 18 Service Oriented Architecture Service Registry Service Description find Service Requestor publish bind Service Provider • Service Description => interface & implementation – Operations supported, input/output objects – Bindings to network and data encoding schemes – Network address where service can be invoked • Enough that client can generate code to access the service well BEARS 19 Embedded Web Services Web Services < get temp … set sample_rate set alarm … > <request www.weather.com service> Service Description <value> <value> source=library source=library time=12:53 time=12:31 temp=26.7 temp=25.1 <\value> <\value> XML information Wireless Packets Sampled Value int temp; 802.15.4 11 010110111 010010001 010010001 Low resolution Sensor, Test4, Increasing frequency 1 Physical Signal Acceleration (g) 0.5 0 -0.5 -1 0 2 4 6 8 10 12 14 16 18 Time (sec) BEARS 20 A new WSN world client tier1 AquaLogic server tier2 Perl tier3 SensorNet GW/Proxy Python physical info net tier4 NetWeaver C# SensorNet mote Embedded Services Excel BEARS 21 Sensor Real World Webs BEARS 22 Why are WSNs so Important? Save Resources Improve Productivity Enable New Knowledge Increase Comfort Enhance Safety & Security Preventing Failures High-Confidence Transport Improve Food & H20 BEARS Protect Health 23 Awareness – Monitoring and Metering • Monitoring Spaces – – – – Env. Monitoring, Conservation biology, ... Precision agriculture, greenhouses,… Home and building comfort & efficiency, HVAC,… alarms, security, surveillance, EPA, OSHA, … BEARS 24 Prognostics - instrumentation • Monitoring Spaces – – – – Env. Monitoring, Conservation biology, ... Precision agriculture, greenhouses,… Home and building comfort & efficiency, HVAC,… alarms, security, surveillance, EPA, OSHA, … • Monitoring Things – – – – – condition-based maintenance automated meter reading Energy efficiency, cold chain disaster management Civil infrastructure BEARS 25 Interactions and Care • Monitoring Spaces – – – – Env. Monitoring, Conservation biology, ... Precision agriculture, greenhouses,… Home and building comfort & efficiency, HVAC,… alarms, security, surveillance, EPA, OSHA, … • Monitoring Things – – – – – condition-based maintenance automated meter reading Energy efficiency, cold chain disaster management Civil infrastructure • Interactions of Space and Things – manufacturing, asset tracking, fleet & franchise – Cold-chain, shipping integrity, hazmat – Assistance - home/elder care • Action and control – Optimizing processes – Automation BEARS 26 Proximity, Tracking, Compliance Safety: Chemical-to-chemical safety alerts Human-to-chemical safety alerts Prox. TrackingIndustrial: Medical Agriculture HLS … Shipping QoS: Vibration threshold Temp/humidity threshold BEARS Asset mgmt CBM Process control Energy mgmt environmental Home: Lighting HVAC accessCurrent Conditions: Building: Security HVAC In Motion, No Magnetic Fields, 67° AMR • Humidity Range: 30-35% Lighting • Temp. Range: 55 ° - 78 ° Access control 27 Care – awareness of life dynamics and health Embedded Sensing Processing Communication Web Integration Technologies UN 2001 report 40.00% 35.00% % of population over 65 30.00% China India 25.00% Japan Europe 20.00% Italy Germany 15.00% Sweden U.S.A. 10.00% 5.00% 0.00% 1950 2000 BEARS Year 2050 28 How will WSNs and IP come together? XML / RPC / REST / SOAP / OSGI HTTP / FTP / SNMP TCP / UDP IP Ethernet BEARS Sonet 802.11 802.15.4, CC, … 29 Full IP stack throughout XML / RPC / REST / SOAP / OSGI HTTP / FTP / SNMP TCP / UDP IP Ethernet BEARS Sonet 802.11 802.15.4, CC, … 30 XML / RPC / REST / SOAP / OSGI HTTP / FTP / SNMP TCP / UDP IP Ethernet BEARS Sonet 802.11 Proxy / Gateway Edge Network Approach 802.15.4, CC, … 31 SensorNets need the Wisdom of the “Internet Architecture” • Design for change! • Network protocols must work over a wide variety of links – Links will evolve • Network protocols must work for a variety of applications – Applications will evolve • Provide only simple primitives – Don’t confuse the networking standard with a programming methodology • Don’t try to lock-in your advantage in the spec • Open process • Rough consensus AND running code BEARS 32 Arch Rock Technology • Connecting the physical world to the information enterprise • Applications on “Real-World” Web Services tier1 – Java, .net, php, … • IP-based Service Oriented Architecture Server tier2 – App, mgmt, conversion, persistence, data – WiFi, GPRS internet tier3 • Embedded Application Services – Extensible attributes & events • Embedded Network Services – IEEE 802.15.4-based SensorNet Server embedded net tier4 Mote • Cross-platform industrial-quality WSN operating system Sensor – TinyOS 2.0 Physical World – Broad platform and sensor choice BEARS Client 33 Arch Rock Technology • Connecting the physical world to the information enterprise tier1 Client Server tier2 • Solid Foundation internet • Novel information in familiar forms tier3 SensorNet Server embedded net tier4 Mote Sensor Physical World BEARS 34 Arch Rock Primer Pack Foundation Enablement Knowledge What is it? A complete, web-enabled wireless sensor network application platform that includes: – Gateway Server appliance that projects the Sensor Network to the IP world via Web Services – Sensor Nodes with hardened TinyOS 2 embedded system, mesh networking and services – Web-based management console for commissioning, system diagnostics and data management – Sensor extensibility with no system programming via the Expansion Ports and preinstalled sensor drivers – A comprehensive set of Web Services for industry-standard integrated development environments – IP-based sensor node management, addressing, naming and browsing BEARS 35 The Next Tier • Today: we can connect essentially everybody Comp:People 1:1,000,000 Mainframe 1:1,000 Mini Workstation PC 1:1 Laptop PDA Phone 1000:1 years BEARS Motes • Tomorrow: we will be able to connect and observe essentially everything of value – physical spaces, objects, and their interactions – physical information, not just keystrokes 36 BEARS 37