Una storia di SW dai protocolli alla startup
di Leandro Agrò
C'era Al Gore sullo schermo della TV del salotto e le sue slide sul Climate Change si erano fissate indelebilmente nella mia mente.
"Noi" -pensai- sappiamo cosa fare. Sappiamo che misurare è meglio che seguire teorie e calcoli e -ancora di più- che misurare in tempo reale è la vera chiave di volta.
Ma come si può monitorare un intero Pianeta in tempo reale. Che tecnologie avremmo dovuto adoperare e -probabilmente in parte- anche inventare.
Le conseguenze del ragionamento andavano molto oltre il mio orizzonte e la mia comprensione di quel momento.
Serviva ragionare al contempo sia su scenari di Science Fiction (e 15gg dopo eravamo al tavolo con Bruce Sterling) che su protocolli e strutture software del tutto innovative.
E' nato così il primo spime di sempre e con lui la WideTag Inc. la company italo-americana che vuole essere strumento e back end per la Internet degli Oggetti; e da questa una cultura IoT che può contribuire a cambiare il modo in cui programmiamo e pensiamo la nuova generazione di oggetti sociali.
- http://www.bettersoftware.it/conference/talks/storia-software-protocolli-startup
17. Il Futuro... Non dovrebbe
stare stare sullo scaffale
• Reti di Sensori
• Cloud Computing
• Architetture Multi-Core
18. Sensori: Quanti esattamente
General Digital Radio
7 trillion units on the planet
21 August 2008 - Intel CTO Justin Rattner talks at the
Intel Developer Forum describing the initiatives that the
company is planning to introduce new generations of
devices dubbed General Digital Radio, potentially
numbering 7 trillion units on the planet.
- http://www.intel.com/pressroom/kits/events/
idffall_2008/
19. Cloud.. Coding as usual?
Multiple Cores,
Single Core,
virtualized
Single Box
in the Cloud
32. WideTag Vision
• Per quanto Internet sia pervasiva, oggi il numero
degli oggetti/device connessi alla Rete è
ridicolmente inferiore rispetto al numero degli
oggetti NON connessi.
La prossima rivoluzione del mercato sarà data
dalla necessità di sostituire gli oggetti non
connessi, con oggetti “sociali” che integrano o
sono basati su Reti di Sensori.
(emergenza di reti M2H ad autonomia crescente)
www.widetag.com
33. Cos’è la “Third Wave”
Prima era del Web
(I dati sono una risorsa condivisa)
Web 2.0
(Le applicazioni sono una risorsa condivisa. Emergono i Network Sociali)
Internet of Things
(Le componenti hw del sistema sono una risorsa condivisa.
Emergono reti sociali H2M e sistemi autonomi)
34. Il Cinema e la canzone sono i grandi alleati della
promessa californiana. ...purché non crediate che
davvero dai tombini escano le principesse.
California: Uno Stato Pubblicizzato su tutte le TV del Pianeta Terra
36. Ogni oggetto dovrebbe avere una
Storia. Una storia del suo passato
(materiali, luoghi di produzione,
istruzioni) e del suo Futuro
(differenziazione, smontaggio, riciclo).
37. Ogni oggetto dovrebbe (attivamente)
conoscere qualcosa di sé
(essere senziente o almeno consapevole
del tempo ed il luogo del proprio uso);
38. essere connesso (non importa se
always on, passivamente o attivamente,
ma tutto deve poter comunicare);
39. saper essere sociale
(ovvero essere parte della nostra stessa
Rete digitale e sociale, sedimentando le
interazioni con i propri utilizzatori).
40.
41. Internet Protocol Suite / OSI
Web 2.0 IoT
# IPS layer
# IPS layer
#
# layer
layer purpose
purpose example
example
7
4 application
application • media access
software applications that implement a
communicating component
HTTP, SMTP, SNMP, FTP,
4 application
Telnet, DNS, NNTP, XMPP,...
interacts with software applications that HTTP, SMTP, SNMP, FTP,
4 application
implement context between Application Telnet, DNS, NNTP, XMPP, ...
establishes a a communicating component XML, XDR, ASN.1, SMB,
6 presentation
• p2p network
Layer entities AFP,...
3 transport controls the dialogues/connections TLS, SSH, ISO transport
8327 / CCITT
5 session 3
reliability (was the packet received?),
(sessions) between computers X.225, RPC, NetBIOS, ASP,...
3 transport
• service discovery
ordering (correct sequence of packets)
reliability (was the packet received?),
TCP, UDP, RTP, SCTP, ATP, ...
4 transport TCP, UDP, RTP, SCTP, ATP,...
ordering (correct sequence of packets)
2 internet
2
3 internet
network • device discovery
getting packets across networks, from
getting packets across networks, from
source to destination (routing)
source to destination (routing)
IP (IPv4, IPv6),internet
IP (IPv4, IPv6), ICMP, IGMP,
2 ICMP, IGMP,
IPsec, ...
CLNP, ARP, RARP,...
data link how packets are transported over the ethernet, wireless, token ring,
2 [network interface]
1
1
link
link • communication
physical layer
physical characteristics of communication
ARP, DSL, ISDN, drivers,...
PPP, RARP, tunnels, media
1 link
access control (ethernet,
physical [signal strength,...]
physical characteristics of communication
1 DSL, ISDN,...), drivers, ...
electricity, radio, laser,...
[hardware] [signal strength,...]
42. Cultural Discontinuity
both on hardware and software
Financial Times - New York Times - Reuters - Adn Kronos - WIRED - Domus - Glamour -
Panorama - Espresso - IlMondo - Communication Arts - Nova - 7thFloor - Liquida - ...
43. ...è tutto questo NON si può fare
(o non si può fare in modo
efficace e sostenibile) senza
cambiare il modo in cui
scriviamo il software.
44. Un linguaggio per il 201x
. concurrent
. actor model [lightweight processes]
. functional [sequential subset]
. no shared memory [no locks]
. processes [not OS threads]
Ericsson nel 1986, OpenSource 1998
. message passing
. proven history [9 nines]
. own interpreter [VM]
. OTP and fault tolerance
45. WideSpime
. monitoring for massive number of devices
. remote management
. communication 1-to-1 between devices
. provisioning
. horizontal linear scalability
. entry-point independant [no bottlenecks]
. pluggable multi-protocol [http, xmpp, ... / REST, xml, SOAP, ...]
. integration [api]
. performant, distributed and fault tolerant architecture
. written in Erlang
46. 2. WideNoise
With WideNoise you can monitor the noise
levels around you, everywhere you go. You
can also check the online map to see the
average sound level of the area around you. Do
you live in a “sleeping cat area” or in a more
noisy “rock concert area”?
Nobody knows how much noise is “65db”, but
everyone knows the noise level of a TV!
48. iCrocco
edit
l’iCrocco USB -se connesso-
:) reagisce in tempo reale.
Così, quando un utente
L’interfaccia software verifica se interagisce con l’iCrocco sul
l’iCrocco corrispondente è connesso a web, l’iCrocco fisico sulla
cui invia tutti i dati in real time (o scrivania, fornisce un feedback
memorizza le variazioni). In ogni caso, immediato.
l’utente lato web riceve l’adeguato
Chiuque può interagire con feedback a video
iCrocco digitale embeddato
dandogli cibo, carezze o
infastidendolo
?
49. 4. SEM
Social Energy Meter – SEM – is an
innovative solution that allows the
realtime monitoring and
collaborative management of energy
usage in households and businesses,
through an innovative suite of
hardware and software platforms.
50. Social Energy Meter
The Social Energy Meter (SEM) enables the
user to measure her real-time energy
consumption.
This is visualized in relation with all other
users participating in a social network,
working towards a common goal of
reducing energy use.
There are also opportunities for cross and
up-selling for the clients that adopt the
SEM application, such as in the purchase
of carbon credits.
http://www.widetag.com/projects/widetag-social-energy-meter/
51. How does it work?
Reference Group
Feedback
Your
Feedback
energy meter SEM
Your House WideSpime Your Reference Group
52. Social driven change
Social norms has a strong
influence on personal behavior
and happiness.
Global change is only possible
when people are involved.
53. Many advantages
for the for the
ENERGY PROVIDER ENERGY USER
profiling savings
gathering the usage data allows a a personalized energy plan could save
customized offering much money over time
communication awareness
sem represents an open daily qualified a realtime monitoring of energy shows
communication channel with the user the current consumption
efficiency sharing
the data allows a better prediction of comparing the usage patterns with
usage levels and increased efficiency friends and groups
54. SEM è soltanto un esempio delle Applicazioni
emergenti al crocevia tra Problematiche Globali
(Sicurezza, Salute, Ambiente) & Comunicazioni
Sociali di Massa, in una Rete coabitata da
Macchine e Umani.
58. La INTERNET DEGLI OGGETTI, è la prossima onda
la prossima grande occasione
Servirebbe una mobilitazione nazionale su questi temi
perché è un pò come quando è cominciato il web 2
solo MOLTO più grande
possiamo attendere che l’onda maturi
e questo farebbe di noi dei meri utilizzatori
di tecnologie sviluppate da altri
oppure gettarci nelle onde
fallire in una serie di casi
ma avere anche alcuni successi
ovvero realizzare alcune tecnologie IoT
che possano essere protagoniste nel panorama globale
e detto tra noi, sino a quando non saremo pronti a fallire
non saremo pronti a vincere
59. WideTag, Inc.
370 Convention Way
Redwood City, CA 94063 Inc.
email: info@widetag.com
web: www.widetag.com
phone: +1 (650) 419-2686
fax: +1 (415) 373-3905
Italy
Luca Perugini
email: luca.perugini@widetag.com
phone: +39 (335) 7746997
next event: June 3rd, Rome