SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Connecting a Smarter Planet
How UK technology is helping to
make the planet smarter




                                        Andy Piper MBCS CITP
                                         http://andypiper.co.uk
                                  http://twitter.com/andypiper
Hello.

  This talk will contain:
Some (corporate) history
Some (British) technology
  Some lines of code (!)
  Some (exciting) ideas
✦   A bit about IBM in the UK

✦   Smarter Planet & Internet of Things

✦   Technology

✦   Ideas & Possibilities
http://www.flickr.com/photos/-heinecke-/5494014657/
http://ibm100.com




5
Jeopardy, Watson, and DeepQA
History of IBM in the UK at Hursley Park
   Vickers Aviation developed the Spitfire at Hursley
   IBM moved to Hursley in 1958
   Developed System/360 Model 40 in 1964
   Queen’s Awards for Storage Subsystem and CICS; MacRobert Award for
    WebSphere MQ
   IBM Java, Service Registry, Business Events… a key set of technologies used in
    businesses today, and some emerging new ones!




        7
8   © 2010 IBM Corporation
IBM Hursley Park today...




     9
Building a Smarter Planet
A world filling with devices

  Pop Quiz




       Grains grown each year         1,000,000,000,000,000 (1 quadrillion)

        Crawling the earth        100,000,000,000,000,000 (100 quadrillion)

        Manufactured each year   10,000,000,000,000,000,000 (10 quintillion)



                                                    1 billion transistors
                                                    for every one of us
The Internet of Things

Many smart devices
 instrument our
   world today




                         Interconnecting these
                         smart devices creates a
                            Central Nervous
                                System
Building a Smarter Planet




              +             +      =
     An opportunity to think and act in new ways—
         economically, socially and technically.
Business Scenarios
                     Scenario           Key Industries               Example

                     Automated          •
                                            Chemical & Petroleum     Solution provider enables smart metering
                     Metering           •
                                            Energy & Utilities        of home energy by using MQ Telemetry
                                                                      technology
         predict
                     Distribution          Retailers                Shipping company improves customer
                     Supply Chain and      Distributors              loyalty by providing up-to-the-moment
                     Logistics                                        detailed tracking information for cargo
                                           Consumer products
                                           Transportation           Transportation company improves
                                                                      customer safety and satisfaction with
                                                                      improved tracking of fleet

                     Industrial          Automotive                 Manufacturing company automates
                     Tracking &                                       inventory checking to improve
         alert       Visibility          Industrial manufacturing
                                         Aerospace
                                                                      management of stock and optimize
                                                                      production rates
                                         Defense



                     Healthcare          Pharmaceutical             Medical organization uses MQ Telemetry
                     Personal &          companies                    to track health of at-risk patients to
                     Resource            Health trials               increase safety and quality of patient care
                     Tracking
         track                           Hospitals
                                         Nursing Homes
                                                                     Hospital uses MQ Telemetry to track
                                                                      expensive surgery equipment to maximize
                                                                      utilization and reduce waiting lists


                     Location            Chemical & Petroleum       Gas company uses MQ Telemetry to
                     Awareness and       Energy & Utilities          monitor gas pipeline operations
                     Safety
                                         Homeland Defense
                                                                     Government monitors dams and flood-risk
                                                                      areas to increase early-warning detection
                                                                      and prediction capabilities

         measure     Executive
                     Alerting
                                         Insurance
                                         Banking
                                                                     Bank alerts Personal Account Managers
                                                                      when new clients open accounts >= $2M
                                                                      improving customer satisfaction
Connecting the edges

                                        Connectivity for Applications                                 Head Offices,
                                                                                                      Data centres
                                        Transport          WebSphere MQ                             Cloud Computing
                                                           REST/HTTP               Intelligent
                                                           WS*
                                                                                                           Mission-Critical Connectivity &
                                                                                                           Intelligence
                           Regional Offices                                                                Messages        WebSphere MQ
                            Stores, Outlets

                                                                                                           Files           WebSphere MQ File Transfer Edition
                                                                            Interconnected

                                                                                                           Transform,      WebSphere Message Broker
                                                                                                           Enrich,         WebSphere ESB
                                                                                                           Mediate         DataPower
                                                                                                                           WebSphere Sensor Events

                               Instrumented
                                                                                                           Catalog         WebSphere Service Registry &
                                                                                                                           Repository

Connectivity for Smart Devices
                                                            Remote Systems and Devices                     Intelligence    WebSphere Business Events
Transport   MQ Telemetry                                                                                                   Cognos. ILOG, SPSS
            HTTP                                                                                                           InfoSphere Streams
            Multicast
                                                                                                                           Other InfoSphere and Tivoli products

                    Embedded Controllers                         Sensors                              Actuators
                    Filtering of duplicate read events, Store-   Power meters, weather data           Tag printers, status lights, Load
                    based HVAC & lighting controls,              SCADA sensors, pressure, volume,     generation, HVAC and lighting,
                    Industrial Network Gateways (SCADA)          RFID readers, Motion detectors…      Valves, switches and pumps…
Technology
The Connectivity Challenge
   The challenges of industrial control systems
    (supervisory control and data acquisition, or
    SCADA) well-suited to a messaging solution
               Loose coupling, multi-protocol, separation
                of concerns...


   Connectivity to remote field systems could be
    costly

   Networks could be unreliable (satellite, GPRS,
    mesh, proprietary protocols)

   Conditions could be constrained (environment,
    hardware, power)

   Thousands of sensors or devices may be
    involved in monitoring a system
Connectivity for M2M with MQTT
 ■   MQ Telemetry Transport (MQTT) is designed
     with the following primary intentions:
      – Publish/subscribe messaging paradigm as
        required by the majority of SCADA and sensor
        applications.
      – Minimise the on-the-wire footprint.
      – Expect and cater for frequent network
        disruption, cope with slow and poor quality
        networks: built for low bandwidth, high
        latency, unreliable, high cost networks
      – Expect that client applications may have very
        limited processing resources available.
      – Provide traditional messaging qualities of
        service where the environment allows
      – Publish the protocol for ease of adoption by
        device vendors and third-party client
        software.
Show us some code!

public void sendAMessage() throws MqttException {
  MqttProperties mqttProps = new MqttProperties();        Create a connection using the
  mqttProps.setCleanStart( true );                        connection factory, this time for a
  MqttClient client = MqttClientFactory.INSTANCE.         clean starting client
       createMqttClient("testClient",
       “tcp://localhost:1883”, mqttProps);
  client.registerCallback(this);
                                                         Register the class as a listener and
  client.connect();                                      connect to the broker
  client.publish(“abc/123”,
       new MqttPayload((“Hello World!”).getBytes(),0),
       (byte) 2, false);
                                                            Publish a message to the
  client.disconnect();
                                                            given topic and disconnect
}

public void publishArrived(String topicName,
            MqttPayload payload,
            byte qos, boolean retained,
                                                           On receipt of a publication, simply print
            int msgId) {
                                                           out a message on the console to say we
  System.out.println(“Got it!”);                           received it
}
Surely HTTP is everywhere?
      Why use MQTT?
Data-centricity


MQTT is agnostic of data content and transfers
simple byte arrays, making drip-feeds of updating
information trivial.

HTTP is (basically) document-centric.
Simplicity


MQTT has few methods (publish/subscribe/
unsubscribe) and is quick to learn.

HTTP can be complex (although it is often well-
understood) - there are a multitude of return codes
and methods. 
REST is a great principle but not always the best for
simple data applications (POST/PUT/GET/DELETE?
er what?)
Light on the network


The smallest possible packet size for an MQTT
message is 2 bytes. 
The protocol was optimised from the start for
unreliable, low-bandwidth, expensive, high-latency
networks.

HTTP is relatively verbose - lots of "chatter" in a
POST
Easy distribution of data


MQTT distributes 1-to-none, 1-to-1 or 1-to-n via the
publish/subscribe mechanism
→ very efficient

HTTP is point-to-point (can be mediated/clustered
but no distribution mechanism). To distribute to
multiple receivers a large number of POSTs may be
required.
Lightweight Stack (CPU/Mem)


MQTT has been trivially implemented on tiny to
larger platforms in very small libraries
[IBM ref implementation = ~80Kb for full broker]

HTTP (often with associated XML or JSON libraries
for SOAP and REST etc) can be relatively large on
top of OS network libraries
Plus... even if the client is small, consider whether it
is really necessary to run an HTTP server on every
device
Variable Quality-of-Service


MQTT supports fire-and-forget or fire-and-confirm
(aka QoS 0/1/2)

HTTP has no retry / confirmation / attempt at once-
only delivery. It is basically brittle, i.e. retry needs to
be written in at the application level. Applications
must also handle timeouts.
Simple, small and portable
- so home hackers like using it!
Examples
Smarter Healthcare

 Medical organization created a remote pace-maker monitoring
 solution to provide better patient care

                                     Physicians needed better
                                      monitoring of cardiac patients
                                     Improve efficiency of checkups
                                     Meet healthcare data capture
                                      standards



        Enables higher level of patient care and peace of mind
         Improves administrative efficiency and maintenance
       Helps conform to standards and ease integration of data
Smarter Energy

 Utility company developing an Intelligent Utility Network
 offering for optimizing load on electricity grids
                                     Needs robust middleware
                                      technology to connect to remote
                                      smart meters
                                     Needs to be able to rapidly scale
                                      solution nationally




            Able to offer daily energy savings of 15-20%
     Enables utilities to reduce peaks and avoid punitive charges
     Helps save electricity through better peak load management
Smarter Cities
Smarter Transportation




                         http://www.flickr.com/photos/tipsfortravellers/3657960168/
Smarter Infrastructure
3D modelling & simulation
HVAC Control Energy Monitoring
      Stock Checks     Chemical Trickle
POS                    Detection   Feed
Field Force Automation   Asset Management
     • Sales Force Automation
                                          And Monitoring
     • Field Service Engineers
     • Service Delivery
                                 RFID
                          Pipeline MonitoringParking
Fire Sensors                                  Tickets
                             and Control
 Flood Defence                          Kiosks
     Warning   Vehicle Telematics
                 • Cars / Military – Diagnostics and Prognostics
Home Automation • Pay As You Drive Insurance
Useful links

MQTT – The Smarter Planet Protocol (blog post)
http://andypiper.co.uk/2010/08/05/mqtt-the-smarter-planet-protocol/


MQTT 3.1 specification – IBM developerWorks
http://www.ibm.com/developerworks/webservices/library/ws-mqtt/index.html


MQTT Community
http://mqtt.org


Mosquitto – an example MQTT broker
http://mosquitto.org
                                                      http://ibm100.com
Connect


          http://twitter.com/andypiper
              http://andypiper.co.uk
          http://slideshare.net/andypiper
               http://eightbar.co.uk



                            I’m an IBMer
             Let’s build a Smarter Planet

Weitere ähnliche Inhalte

Andere mochten auch

Social Media and Generation V - or online DNA?
Social Media and Generation V - or online DNA?Social Media and Generation V - or online DNA?
Social Media and Generation V - or online DNA?
Andy Piper
 
Growing and sustaining IBM Technical Communities with Web 2.0
Growing and sustaining IBM Technical Communities with Web 2.0Growing and sustaining IBM Technical Communities with Web 2.0
Growing and sustaining IBM Technical Communities with Web 2.0
Andy Piper
 
Estratégia de fidelização da empresa sports wheel
Estratégia de fidelização da empresa sports wheelEstratégia de fidelização da empresa sports wheel
Estratégia de fidelização da empresa sports wheel
Jorge Dias
 

Andere mochten auch (8)

Building A Smarter Planet Svensk
Building A Smarter Planet SvenskBuilding A Smarter Planet Svensk
Building A Smarter Planet Svensk
 
Building A Smarter Planet Svensk
Building A Smarter Planet SvenskBuilding A Smarter Planet Svensk
Building A Smarter Planet Svensk
 
Connecting to the pulse of the planet with Twitter APIs
Connecting to the pulse of the planet with Twitter APIsConnecting to the pulse of the planet with Twitter APIs
Connecting to the pulse of the planet with Twitter APIs
 
Social Media and Generation V - or online DNA?
Social Media and Generation V - or online DNA?Social Media and Generation V - or online DNA?
Social Media and Generation V - or online DNA?
 
Growing and sustaining IBM Technical Communities with Web 2.0
Growing and sustaining IBM Technical Communities with Web 2.0Growing and sustaining IBM Technical Communities with Web 2.0
Growing and sustaining IBM Technical Communities with Web 2.0
 
Web2.0 Expo: IBM Smart Work Panel April 1, 2009 Please Note: Slides follow sh...
Web2.0 Expo: IBM Smart Work Panel April 1, 2009 Please Note: Slides follow sh...Web2.0 Expo: IBM Smart Work Panel April 1, 2009 Please Note: Slides follow sh...
Web2.0 Expo: IBM Smart Work Panel April 1, 2009 Please Note: Slides follow sh...
 
Stepping out of the echo chamber
Stepping out of the echo chamberStepping out of the echo chamber
Stepping out of the echo chamber
 
Estratégia de fidelização da empresa sports wheel
Estratégia de fidelização da empresa sports wheelEstratégia de fidelização da empresa sports wheel
Estratégia de fidelização da empresa sports wheel
 

Ähnlich wie Connecting a Smarter Planet (bcs Berkshire)

080310 watson - msft in banking
080310   watson - msft in banking080310   watson - msft in banking
080310 watson - msft in banking
Erick Watson
 
Smart Metering, Networking and Operations Summit
Smart Metering, Networking and Operations SummitSmart Metering, Networking and Operations Summit
Smart Metering, Networking and Operations Summit
Nicole Waddell
 
Smart Metering, Networking & Operations Summit
Smart Metering, Networking & Operations SummitSmart Metering, Networking & Operations Summit
Smart Metering, Networking & Operations Summit
Nicole Waddell
 
Tsl list of assets 2012 03-20 v17
Tsl list of assets 2012 03-20 v17Tsl list of assets 2012 03-20 v17
Tsl list of assets 2012 03-20 v17
Joel Demay
 
Intel Cloud Summit: Greg Brown McAfee
Intel Cloud Summit: Greg Brown McAfeeIntel Cloud Summit: Greg Brown McAfee
Intel Cloud Summit: Greg Brown McAfee
IntelAPAC
 
Microsoft power point 080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
Microsoft power point   080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]Microsoft power point   080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
Microsoft power point 080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
Erika Rachma
 
Government cloud deployment lessons learned final (4 4 2013)
Government cloud deployment lessons learned final (4 4 2013)Government cloud deployment lessons learned final (4 4 2013)
Government cloud deployment lessons learned final (4 4 2013)
GovCloud Network
 
Track 1, session 6, accelerating your cloud journey with advanced services ab...
Track 1, session 6, accelerating your cloud journey with advanced services ab...Track 1, session 6, accelerating your cloud journey with advanced services ab...
Track 1, session 6, accelerating your cloud journey with advanced services ab...
EMC Forum India
 

Ähnlich wie Connecting a Smarter Planet (bcs Berkshire) (20)

ITExpo West Conference Highlights from Alan Quayle 2012
ITExpo West Conference Highlights from Alan Quayle 2012ITExpo West Conference Highlights from Alan Quayle 2012
ITExpo West Conference Highlights from Alan Quayle 2012
 
080310 watson - msft in banking
080310   watson - msft in banking080310   watson - msft in banking
080310 watson - msft in banking
 
How UK technology is helping to make the planet smarter
How UK technology is helping to make the planet smarterHow UK technology is helping to make the planet smarter
How UK technology is helping to make the planet smarter
 
Smart Metering, Networking and Operations Summit
Smart Metering, Networking and Operations SummitSmart Metering, Networking and Operations Summit
Smart Metering, Networking and Operations Summit
 
Smart Metering, Networking & Operations Summit
Smart Metering, Networking & Operations SummitSmart Metering, Networking & Operations Summit
Smart Metering, Networking & Operations Summit
 
Smart Metering Networking & Operations
Smart Metering Networking & OperationsSmart Metering Networking & Operations
Smart Metering Networking & Operations
 
Maximizing the Business Value of Connected Devices by Transforming the CIO's ...
Maximizing the Business Value of Connected Devices by Transforming the CIO's ...Maximizing the Business Value of Connected Devices by Transforming the CIO's ...
Maximizing the Business Value of Connected Devices by Transforming the CIO's ...
 
TELEHOUSE Hong Kong Cloud Computing Complex
TELEHOUSE Hong Kong Cloud Computing ComplexTELEHOUSE Hong Kong Cloud Computing Complex
TELEHOUSE Hong Kong Cloud Computing Complex
 
Tsl list of assets 2012 03-20 v17
Tsl list of assets 2012 03-20 v17Tsl list of assets 2012 03-20 v17
Tsl list of assets 2012 03-20 v17
 
Intel Cloud Summit: Greg Brown McAfee
Intel Cloud Summit: Greg Brown McAfeeIntel Cloud Summit: Greg Brown McAfee
Intel Cloud Summit: Greg Brown McAfee
 
Asigra Product Marketing Strategy
Asigra Product Marketing StrategyAsigra Product Marketing Strategy
Asigra Product Marketing Strategy
 
Complexity and Risk: Effective Business Community Management through Integration
Complexity and Risk: Effective Business Community Management through IntegrationComplexity and Risk: Effective Business Community Management through Integration
Complexity and Risk: Effective Business Community Management through Integration
 
What customers want the cloud to be - Jason Waxman GM at Intel, Cloud Slam 20...
What customers want the cloud to be - Jason Waxman GM at Intel, Cloud Slam 20...What customers want the cloud to be - Jason Waxman GM at Intel, Cloud Slam 20...
What customers want the cloud to be - Jason Waxman GM at Intel, Cloud Slam 20...
 
360is Capabilities
360is Capabilities360is Capabilities
360is Capabilities
 
Growing internet of things solution in industries and mobile
Growing internet of things solution in industries and mobile Growing internet of things solution in industries and mobile
Growing internet of things solution in industries and mobile
 
Microsoft power point 080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
Microsoft power point   080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]Microsoft power point   080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
Microsoft power point 080102 fl-bp_3rdpartylogs_g0108 [compatibility mode]
 
Energy and utilities.
Energy and utilities.Energy and utilities.
Energy and utilities.
 
null Bangalore meet - Cloud Computing and Security
null Bangalore meet - Cloud Computing and Securitynull Bangalore meet - Cloud Computing and Security
null Bangalore meet - Cloud Computing and Security
 
Government cloud deployment lessons learned final (4 4 2013)
Government cloud deployment lessons learned final (4 4 2013)Government cloud deployment lessons learned final (4 4 2013)
Government cloud deployment lessons learned final (4 4 2013)
 
Track 1, session 6, accelerating your cloud journey with advanced services ab...
Track 1, session 6, accelerating your cloud journey with advanced services ab...Track 1, session 6, accelerating your cloud journey with advanced services ab...
Track 1, session 6, accelerating your cloud journey with advanced services ab...
 

Mehr von Andy Piper

Mehr von Andy Piper (20)

Adapt & Survive
Adapt & SurviveAdapt & Survive
Adapt & Survive
 
Rebooting A Community #DevRelCon
Rebooting A Community #DevRelConRebooting A Community #DevRelCon
Rebooting A Community #DevRelCon
 
Twitter APIs for #MediaHackday
Twitter APIs for #MediaHackdayTwitter APIs for #MediaHackday
Twitter APIs for #MediaHackday
 
Imagining the Future, when the Future is already Now
Imagining the Future, when the Future is already NowImagining the Future, when the Future is already Now
Imagining the Future, when the Future is already Now
 
Connecting to the Pulse of the Planet with the Twitter Platform
Connecting to the Pulse of the Planet with the Twitter PlatformConnecting to the Pulse of the Planet with the Twitter Platform
Connecting to the Pulse of the Planet with the Twitter Platform
 
Building Twitter's SDKs for Android
Building Twitter's SDKs for AndroidBuilding Twitter's SDKs for Android
Building Twitter's SDKs for Android
 
Developer Advocacy - A Life Less Ordinary
Developer Advocacy - A Life Less OrdinaryDeveloper Advocacy - A Life Less Ordinary
Developer Advocacy - A Life Less Ordinary
 
Twitter in the Internet of Things
Twitter in the Internet of ThingsTwitter in the Internet of Things
Twitter in the Internet of Things
 
Twitter APIs - the starter guide
Twitter APIs - the starter guideTwitter APIs - the starter guide
Twitter APIs - the starter guide
 
Internet ALL the Things - a walking tour of MQTT
Internet ALL the Things - a walking tour of MQTTInternet ALL the Things - a walking tour of MQTT
Internet ALL the Things - a walking tour of MQTT
 
Combining Context with Signals in the IoT (longer version)
Combining Context with Signals in the IoT (longer version)Combining Context with Signals in the IoT (longer version)
Combining Context with Signals in the IoT (longer version)
 
Why the Internet of Things will be built on Open Source
Why the Internet of Things will be built on Open SourceWhy the Internet of Things will be built on Open Source
Why the Internet of Things will be built on Open Source
 
Combining Context with Signals in the Internet of Things
Combining Context with Signals in the Internet of ThingsCombining Context with Signals in the Internet of Things
Combining Context with Signals in the Internet of Things
 
MQTT - standards-based plumbing for the Internet of Things
MQTT - standards-based plumbing for the Internet of ThingsMQTT - standards-based plumbing for the Internet of Things
MQTT - standards-based plumbing for the Internet of Things
 
My Quantified Self and the promise of wearables
My Quantified Self and the promise of wearablesMy Quantified Self and the promise of wearables
My Quantified Self and the promise of wearables
 
Why Data, Code and Mobile converge in the Open Cloud
Why Data, Code and Mobile converge in the Open CloudWhy Data, Code and Mobile converge in the Open Cloud
Why Data, Code and Mobile converge in the Open Cloud
 
From Cloud Computing to Platform as a Service – BCS Oxfordshire
From Cloud Computing to Platform as a Service – BCS OxfordshireFrom Cloud Computing to Platform as a Service – BCS Oxfordshire
From Cloud Computing to Platform as a Service – BCS Oxfordshire
 
Why Apps, Data and Mobile Converge in the Open Cloud
Why Apps, Data and Mobile Converge in the Open CloudWhy Apps, Data and Mobile Converge in the Open Cloud
Why Apps, Data and Mobile Converge in the Open Cloud
 
The Internet of Things is Made of Signals
The Internet of Things is Made of SignalsThe Internet of Things is Made of Signals
The Internet of Things is Made of Signals
 
How to Write a Web App in fewer than 140 Characters
How to Write a Web App in fewer than 140 CharactersHow to Write a Web App in fewer than 140 Characters
How to Write a Web App in fewer than 140 Characters
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Connecting a Smarter Planet (bcs Berkshire)

  • 1. Connecting a Smarter Planet How UK technology is helping to make the planet smarter Andy Piper MBCS CITP http://andypiper.co.uk http://twitter.com/andypiper
  • 2. Hello. This talk will contain: Some (corporate) history Some (British) technology Some lines of code (!) Some (exciting) ideas
  • 3. A bit about IBM in the UK ✦ Smarter Planet & Internet of Things ✦ Technology ✦ Ideas & Possibilities
  • 7. History of IBM in the UK at Hursley Park  Vickers Aviation developed the Spitfire at Hursley  IBM moved to Hursley in 1958  Developed System/360 Model 40 in 1964  Queen’s Awards for Storage Subsystem and CICS; MacRobert Award for WebSphere MQ  IBM Java, Service Registry, Business Events… a key set of technologies used in businesses today, and some emerging new ones! 7
  • 8. 8 © 2010 IBM Corporation
  • 9. IBM Hursley Park today... 9
  • 11. A world filling with devices Pop Quiz Grains grown each year 1,000,000,000,000,000 (1 quadrillion) Crawling the earth 100,000,000,000,000,000 (100 quadrillion) Manufactured each year 10,000,000,000,000,000,000 (10 quintillion) 1 billion transistors for every one of us
  • 12. The Internet of Things Many smart devices instrument our world today Interconnecting these smart devices creates a Central Nervous System
  • 13. Building a Smarter Planet + + = An opportunity to think and act in new ways— economically, socially and technically.
  • 14. Business Scenarios Scenario Key Industries Example Automated • Chemical & Petroleum Solution provider enables smart metering Metering • Energy & Utilities of home energy by using MQ Telemetry technology predict Distribution  Retailers Shipping company improves customer Supply Chain and  Distributors loyalty by providing up-to-the-moment Logistics detailed tracking information for cargo  Consumer products  Transportation Transportation company improves customer safety and satisfaction with improved tracking of fleet Industrial  Automotive Manufacturing company automates Tracking & inventory checking to improve alert Visibility  Industrial manufacturing  Aerospace management of stock and optimize production rates  Defense Healthcare  Pharmaceutical Medical organization uses MQ Telemetry Personal & companies to track health of at-risk patients to Resource  Health trials increase safety and quality of patient care Tracking track  Hospitals  Nursing Homes Hospital uses MQ Telemetry to track expensive surgery equipment to maximize utilization and reduce waiting lists Location  Chemical & Petroleum Gas company uses MQ Telemetry to Awareness and  Energy & Utilities monitor gas pipeline operations Safety  Homeland Defense Government monitors dams and flood-risk areas to increase early-warning detection and prediction capabilities measure Executive Alerting  Insurance  Banking Bank alerts Personal Account Managers when new clients open accounts >= $2M improving customer satisfaction
  • 15. Connecting the edges Connectivity for Applications Head Offices, Data centres Transport WebSphere MQ Cloud Computing REST/HTTP Intelligent WS* Mission-Critical Connectivity & Intelligence Regional Offices Messages WebSphere MQ Stores, Outlets Files WebSphere MQ File Transfer Edition Interconnected Transform, WebSphere Message Broker Enrich, WebSphere ESB Mediate DataPower WebSphere Sensor Events Instrumented Catalog WebSphere Service Registry & Repository Connectivity for Smart Devices Remote Systems and Devices Intelligence WebSphere Business Events Transport MQ Telemetry Cognos. ILOG, SPSS HTTP InfoSphere Streams Multicast Other InfoSphere and Tivoli products Embedded Controllers Sensors Actuators Filtering of duplicate read events, Store- Power meters, weather data Tag printers, status lights, Load based HVAC & lighting controls, SCADA sensors, pressure, volume, generation, HVAC and lighting, Industrial Network Gateways (SCADA) RFID readers, Motion detectors… Valves, switches and pumps…
  • 17. The Connectivity Challenge  The challenges of industrial control systems (supervisory control and data acquisition, or SCADA) well-suited to a messaging solution  Loose coupling, multi-protocol, separation of concerns...  Connectivity to remote field systems could be costly  Networks could be unreliable (satellite, GPRS, mesh, proprietary protocols)  Conditions could be constrained (environment, hardware, power)  Thousands of sensors or devices may be involved in monitoring a system
  • 18. Connectivity for M2M with MQTT ■ MQ Telemetry Transport (MQTT) is designed with the following primary intentions: – Publish/subscribe messaging paradigm as required by the majority of SCADA and sensor applications. – Minimise the on-the-wire footprint. – Expect and cater for frequent network disruption, cope with slow and poor quality networks: built for low bandwidth, high latency, unreliable, high cost networks – Expect that client applications may have very limited processing resources available. – Provide traditional messaging qualities of service where the environment allows – Publish the protocol for ease of adoption by device vendors and third-party client software.
  • 19. Show us some code! public void sendAMessage() throws MqttException { MqttProperties mqttProps = new MqttProperties(); Create a connection using the mqttProps.setCleanStart( true ); connection factory, this time for a MqttClient client = MqttClientFactory.INSTANCE. clean starting client createMqttClient("testClient", “tcp://localhost:1883”, mqttProps); client.registerCallback(this); Register the class as a listener and client.connect(); connect to the broker client.publish(“abc/123”, new MqttPayload((“Hello World!”).getBytes(),0), (byte) 2, false); Publish a message to the client.disconnect(); given topic and disconnect } public void publishArrived(String topicName, MqttPayload payload, byte qos, boolean retained, On receipt of a publication, simply print int msgId) { out a message on the console to say we System.out.println(“Got it!”); received it }
  • 20. Surely HTTP is everywhere? Why use MQTT?
  • 21. Data-centricity MQTT is agnostic of data content and transfers simple byte arrays, making drip-feeds of updating information trivial. HTTP is (basically) document-centric.
  • 22. Simplicity MQTT has few methods (publish/subscribe/ unsubscribe) and is quick to learn. HTTP can be complex (although it is often well- understood) - there are a multitude of return codes and methods.  REST is a great principle but not always the best for simple data applications (POST/PUT/GET/DELETE? er what?)
  • 23. Light on the network The smallest possible packet size for an MQTT message is 2 bytes.  The protocol was optimised from the start for unreliable, low-bandwidth, expensive, high-latency networks. HTTP is relatively verbose - lots of "chatter" in a POST
  • 24. Easy distribution of data MQTT distributes 1-to-none, 1-to-1 or 1-to-n via the publish/subscribe mechanism → very efficient HTTP is point-to-point (can be mediated/clustered but no distribution mechanism). To distribute to multiple receivers a large number of POSTs may be required.
  • 25. Lightweight Stack (CPU/Mem) MQTT has been trivially implemented on tiny to larger platforms in very small libraries [IBM ref implementation = ~80Kb for full broker] HTTP (often with associated XML or JSON libraries for SOAP and REST etc) can be relatively large on top of OS network libraries Plus... even if the client is small, consider whether it is really necessary to run an HTTP server on every device
  • 26. Variable Quality-of-Service MQTT supports fire-and-forget or fire-and-confirm (aka QoS 0/1/2) HTTP has no retry / confirmation / attempt at once- only delivery. It is basically brittle, i.e. retry needs to be written in at the application level. Applications must also handle timeouts.
  • 27. Simple, small and portable - so home hackers like using it!
  • 29. Smarter Healthcare Medical organization created a remote pace-maker monitoring solution to provide better patient care  Physicians needed better monitoring of cardiac patients  Improve efficiency of checkups  Meet healthcare data capture standards Enables higher level of patient care and peace of mind Improves administrative efficiency and maintenance Helps conform to standards and ease integration of data
  • 30. Smarter Energy Utility company developing an Intelligent Utility Network offering for optimizing load on electricity grids  Needs robust middleware technology to connect to remote smart meters  Needs to be able to rapidly scale solution nationally Able to offer daily energy savings of 15-20% Enables utilities to reduce peaks and avoid punitive charges Helps save electricity through better peak load management
  • 32. Smarter Transportation http://www.flickr.com/photos/tipsfortravellers/3657960168/
  • 34. HVAC Control Energy Monitoring Stock Checks Chemical Trickle POS Detection Feed Field Force Automation Asset Management • Sales Force Automation And Monitoring • Field Service Engineers • Service Delivery RFID Pipeline MonitoringParking Fire Sensors Tickets and Control Flood Defence Kiosks Warning Vehicle Telematics • Cars / Military – Diagnostics and Prognostics Home Automation • Pay As You Drive Insurance
  • 35. Useful links MQTT – The Smarter Planet Protocol (blog post) http://andypiper.co.uk/2010/08/05/mqtt-the-smarter-planet-protocol/ MQTT 3.1 specification – IBM developerWorks http://www.ibm.com/developerworks/webservices/library/ws-mqtt/index.html MQTT Community http://mqtt.org Mosquitto – an example MQTT broker http://mosquitto.org http://ibm100.com
  • 36. Connect http://twitter.com/andypiper http://andypiper.co.uk http://slideshare.net/andypiper http://eightbar.co.uk I’m an IBMer Let’s build a Smarter Planet