Thinking Strategically About IoT

A presentation at QCon London in March 2017 in London, UK by Holly Cummins

Slide 1

Slide 1

Thinking Strategically about The Internet of Things Holly Cummins @holly_cummins

Slide 2

Slide 2

I’m from IBM’s Bluemix Garage. @holly_cummins

Slide 3

Slide 3

Me I would like the Bluemix Garage to help me with an IoT project. Customer Oooh! I love the internet of things! @holly_cummins

Slide 4

Slide 4

This is what I’m imagining when I hear ‘Internet of Things.’ @holly_cummins

Slide 5

Slide 5

This is what I’m imagining when I hear ‘Internet of Things.’ @holly_cummins

Slide 6

Slide 6

Entrance, IBM IoT Lab, Munich @holly_cummins

Slide 7

Slide 7

IBM Watson IoT Centre, Munich @holly_cummins

Slide 8

Slide 8

@holly_cummins

Slide 9

Slide 9

Edge Cool stuff happens at this intersection. Cloud @holly_cummins

Slide 10

Slide 10

Edge Cool stuff happens at this intersection. Cloud @holly_cummins

Slide 11

Slide 11

Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke @holly_cummins

Slide 12

Slide 12

@holly_cummins

Slide 13

Slide 13

Computers are now ubiquitous in almost everything we interact with. @holly_cummins

Slide 14

Slide 14

@holly_cummins

Slide 15

Slide 15

These computers are now going online. @holly_cummins

Slide 16

Slide 16

These computers are now going online. 9 billion of them are online now. @holly_cummins

Slide 17

Slide 17

These computers are now going online. 9 billion of them are online now. There will be 20 - 50 billion connected devices by 2020. @holly_cummins

Slide 18

Slide 18

@holly_cummins

Slide 19

Slide 19

A computer. As a free conference giveaway. @holly_cummins

Slide 20

Slide 20

Is Java relevant for IoT? @holly_cummins

Slide 21

Slide 21

Java is relevant for IoT. @holly_cummins

Slide 22

Slide 22

“Write once, run anywhere.” @holly_cummins

Slide 23

Slide 23

These devices can run powerful software. @holly_cummins

Slide 24

Slide 24

There’s a WebSphere server running in that ball. photo courtesy of re:develop conference, Bournemouth @holly_cummins

Slide 25

Slide 25

HARDCORE SYSTEMS ENGINEER Java is a great fit for embedded devices … because it makes stuff easy. @holly_cummins

Slide 26

Slide 26

HARDCORE SYSTEMS ENGINEER spinning in grave Java is a great fit for embedded devices … because it makes stuff easy. @holly_cummins

Slide 27

Slide 27

You can do IoT if you can … @holly_cummins

Slide 28

Slide 28

get data in and out You can do IoT if you can … @holly_cummins

Slide 29

Slide 29

get data in and out You can do IoT if you can … read and write to pins @holly_cummins

Slide 30

Slide 30

public class PinReader { private int pinNumber = 0; public int analogRead(int sensorPin) throws IOException { String pin = “/proc/adc” + pinNumber; FileReader fr = new FileReader(pin); BufferedReader br = new BufferedReader(fr); String string = br.readLine(); fr.close(); // Strip off the name of the pin int value = Integer.parseInt(string.substring(5)); @holly_cummins

Slide 31

Slide 31

public class PinReader { private int pinNumber = 0; Pins are just files public int analogRead(int sensorPin) throws IOException { String pin = “/proc/adc” + pinNumber; FileReader fr = new FileReader(pin); BufferedReader br = new BufferedReader(fr); String string = br.readLine(); fr.close(); // Strip off the name of the pin int value = Integer.parseInt(string.substring(5)); @holly_cummins

Slide 32

Slide 32

@holly_cummins

Slide 33

Slide 33

@holly_cummins

Slide 34

Slide 34

@holly_cummins

Slide 35

Slide 35

client.publishEvent(“reading”, reading); @holly_cummins

Slide 36

Slide 36

public class LightFlasher implements CommandCallback { @Override public void processCommand(Command cmd) { System.out.println(“Flashing lights: ” + cmd); flash(); } @holly_cummins

Slide 37

Slide 37

Demo. Anyone want popcorn? @holly_cummins

Slide 38

Slide 38

popcorn maker application server http hungry user raspberry pi MQTT MQTT MQTT Watson IoT foundation (MQTT broker) http Edimax smart plug @holly_cummins

Slide 39

Slide 39

@holly_cummins

Slide 40

Slide 40

Is this actually useful? @holly_cummins

Slide 41

Slide 41

The problem we were solving was that we needed an excuse for a popcorn maker at work. :) @holly_cummins

Slide 42

Slide 42

http://www.commitstrip.com/en/2016/05/26/the-internet-of-things-a-revolution/ @holly_cummins

Slide 43

Slide 43

I’ve got form in this area. @holly_cummins

Slide 44

Slide 44

@holly_cummins

Slide 45

Slide 45

There’s a WebSphere server running in that hat. Very useful. Obviously. @holly_cummins

Slide 46

Slide 46

@holly_cummins

Slide 47

Slide 47

I’m not the only one. @holly_cummins

Slide 48

Slide 48

The propane gauge which is read by phone. @holly_cummins

Slide 49

Slide 49

The £160 IoT hairbrush which listens to your hair. @holly_cummins

Slide 50

Slide 50

@holly_cummins

Slide 51

Slide 51

@holly_cummins

Slide 52

Slide 52

Do we really want a future where our interaction with everything is mediated by a smartphone? @holly_cummins

Slide 53

Slide 53

The power comes from connections. @holly_cummins

Slide 54

Slide 54

@holly_cummins

Slide 55

Slide 55

@holly_cummins

Slide 56

Slide 56

We can solve so many incredible problems. @holly_cummins

Slide 57

Slide 57

Imagine … pill bottles that light up when it’s time to take the medicine. @holly_cummins

Slide 58

Slide 58

Imagine … facto ries tha t know what’s (Industry 4.0) happen ing insid e them. @holly_cummins

Slide 59

Slide 59

Imagine … cameras that detect wear in springs as as a train runs by. @holly_cummins

Slide 60

Slide 60

Imagine … cars that figure out how the next generation of cars should be built. @holly_cummins

Slide 61

Slide 61

Imagine … knowing the exact weather conditions, everywhere. @holly_cummins

Slide 62

Slide 62

Slide 63

Slide 63

Macroscopes will help us understand Earth’s complexity in infinite detail. Unlike the microscope, a “macroscope” harnesses data from billions of IoT devices using software and algorithms to address large-scale challenges such as availability of food, water and energy. @holly_cummins

Slide 64

Slide 64

Tools Learning @holly_cummins

Slide 65

Slide 65

Data. Lots of It. @holly_cummins

Slide 66

Slide 66

We want to be able to predict equipment failure, so we’ve wired up our factory for IoT. Me Customer @holly_cummins

Slide 67

Slide 67

We want to be able to predict equipment failure, so we’ve wired up our factory for IoT. Me Good idea! Customer @holly_cummins

Slide 68

Slide 68

We want to be able to predict equipment failure, so we’ve wired up our factory for IoT. Me Good idea! Customer That was a few years ago. We’re not doing anything with the data… @holly_cummins

Slide 69

Slide 69

We want to be able to predict equipment failure, so we’ve wired up our factory for IoT. Me Good idea! Customer Oh. That was a few years ago. We’re not doing anything with the data… @holly_cummins

Slide 70

Slide 70

We want to be able to predict equipment failure, so we’ve wired up our factory for IoT. Me Good idea! Customer Oh. That was a few years ago. We’re not doing anything with the data… … except storing it. There’s kind of a lot now. @holly_cummins

Slide 71

Slide 71

@holly_cummins

Slide 72

Slide 72

You’re going to need a data lake. @holly_cummins

Slide 73

Slide 73

You’re going to need a data lake. … and if you never use what’s in the data lake, that’s a big missed opportunity. @holly_cummins

Slide 74

Slide 74

@holly_cummins

Slide 75

Slide 75

Handle a never-ending avalanche of data. @holly_cummins

Slide 76

Slide 76

minimum requirement Handle a never-ending avalanche of data. @holly_cummins

Slide 77

Slide 77

minimum requirement Handle a never-ending avalanche of data. Combine structured and unstructured data for new insights. @holly_cummins

Slide 78

Slide 78

minimum requirement Handle a never-ending avalanche of data. Combine structured and unstructured data for new insights. “cognitive computing” @holly_cummins

Slide 79

Slide 79

@holly_cummins

Slide 80

Slide 80

Security @holly_cummins

Slide 81

Slide 81

@holly_cummins

Slide 82

Slide 82

What if our things turn against us? @holly_cummins

Slide 83

Slide 83

@holly_cummins

Slide 84

Slide 84

@holly_cummins

Slide 85

Slide 85

If IoT is scary in our homes, just imagine what it could do to our businesses? @holly_cummins

Slide 86

Slide 86

expected attack vector @holly_cummins

Slide 87

Slide 87

expected attack vector IoT attack vector @holly_cummins

Slide 88

Slide 88

@holly_cummins

Slide 89

Slide 89

@holly_cummins

Slide 90

Slide 90

Hundreds of thousands of cameras and TV recorders working together brought down the Dyn DNS provider in a DDoS. @holly_cummins

Slide 91

Slide 91

In the future, do we need to fear our DVRs and air conditioners? @holly_cummins

Slide 92

Slide 92

get data in and out You can do IoT if you can … read and write to pins @holly_cummins

Slide 93

Slide 93

get data in and out You can do IoT if you can … This may be part of the problem. read and write to pins @holly_cummins

Slide 94

Slide 94

@holly_cummins

Slide 95

Slide 95

The hotel is now going to downgrade doors to old fashioned locks and real keys. @holly_cummins

Slide 96

Slide 96

Is disconnection the solution? @holly_cummins

Slide 97

Slide 97

How about … we educate ourselves and make better design decisions? @holly_cummins

Slide 98

Slide 98

“Never attribute to malice that which is adequately explained by incompetence.” @holly_cummins

Slide 99

Slide 99

Reliability @holly_cummins

Slide 100

Slide 100

“ Holly, I s aw a vide o of your throwable application server talk. I thought you handled the fact that the demo failed really well. Are there any videos where it actually works?” - My mother @holly_cummins

Slide 101

Slide 101

software network hardware @holly_cummins

Slide 102

Slide 102

What could possibly go wrong? software network hardware @holly_cummins

Slide 103

Slide 103

The more moving parts, the more opportunity for failure. @holly_cummins

Slide 104

Slide 104

But …what does it all mean? @holly_cummins

Slide 105

Slide 105

What can you imagine for your domain? @holly_cummins

Slide 106

Slide 106

Questions? @holly_cummins