Curso: (62949) Internet para las cosas
Fernando Tricas Garc´ıa
Departamento de Inform´atica e Ingenier´ıa de Sistemas
Universidad de Zaragoza
http://webdiis.unizar.es/~ftricas/
http://moodle.unizar.es/
ftricas@unizar.es
La web 4.0
Fernando Tricas Garc´ıa
Departamento de Inform´atica e Ingenier´ıa de Sistemas
Universidad de Zaragoza
http://webdiis.unizar.es/~ftricas/
http://moodle.unizar.es/
ftricas@unizar.es
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 2
Entonces...
Web 1.0 −→ s´olo lectura
Web 2.0 −→ lectura/escritura (participaci´on)
Web 3.0 −→ organizaci´on, web sem´antica
Web 4.0 −→ web inteligente
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 3
Dicen por ah´ı...
“Good morning. You’re flying to Boston today. Take a
raincoat, it’s raining. By the way, that fight you were
taking, it’s already been canceled. Don’t worry about it.
There was a mechanical. I’ve already booked you on a
new one. I’ll tell you about on the way to the airport. But
remember you’re going to exercise every day and I’m here
to remind you that you’re going to exercise.” And you
might say, “I don’t know if I want to exercise today,” and
It’ll show you a nude profile of yourself. And you’ll say,
“You know what, I think I’m going to exercise today.”
Daniel Burrus
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 4
Google Now
https://www.google.com/landing/now/
https://www.youtube.com/watch?v=pPqliPzHYyc
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 5
Google Glasses
https://developers.google.com/glass/design/ui
https://www.youtube.com/watch?v=JSnB06um5r4
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 6
Coches inteligentes
https://www.teslamotors.com/
‘Audi’s automated driving for parking’
https://www.youtube.com/watch?v=b_m8DqTlOLE
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 7
Agente electr´onico
ultra-inteligente
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 8
Entonces ...
Web 3.0 (sem´antica)
Web 4.0−→ explotaci´on
Comprensi´on del lenguaje natural
Comunicaci´on entre m´aquinas (M2M)
Contexto del usuario (estado, lugar, ...)
Interacci´on con el usuario
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 9
De: hacer la web comprensible
para las m´aquinas
A:
hacer que las m´aquinas nos
entiendan y mejoren nuestra
vida
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 10
¿Y en la vida real?
Sobre todo marquetin
(Anuncios que nos ‘persiguen’)
Sistemas de recomendaci´on
Podr´ıa interesarte...
Puede que conozcas...
Deber´ıas seguir a...
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 11
Ub´ıcua
http://books.google.com/help/ebooks/devices.html
http://Amazon.com/Kindle
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 12
Ub´ıcua
http://www.nerdgasmo.com/2011/11/increible-estacion-de-trabajo-steampunk/
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 13
AAA
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 14
AAA
Any time
Any place
Any device
CCC
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 14
Tendencias
‘Number of Mobile-Only Internet Users Now Exceeds
Desktop-Only in the U.S.’
https://www.comscore.com/Insights/Blog/
Number-of-Mobile-Only-Internet-Users-Now-Exceeds-Desktop-Only-in-the-U.S
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 15
¿D´onde est´a la inteligencia?
Depende...
Dispositivos
Servicios
Distribuida
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 16
Tiene que ver con ...
APIs abiertas (Application Programming Interface)
Agentes/servicios
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 17
Un ejemplo de ‘juguete’
Datos abiertos del Ayuntamiento de Zaragoza
http://www.urbanosdezaragoza.es/frm_esquemaparadas.php
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 18
Un ejemplo de ‘juguete’
Datos abiertos del Ayuntamiento de Zaragoza
http://www.consorciozaragoza.es/
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 19
Un ejemplo de ‘juguete’
Datos abiertos del Ayuntamiento de Zaragoza
http://maps.google.com/
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 20
Un ejemplo de ‘juguete’
Datos abiertos del Ayuntamiento de Zaragoza
http://www.zaragoza.es/docs-api/#!/Equipamientos_y_movilidad/get_recurso_urbanismo_
infraestructuras_tranvia
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 21
Un ejemplo de ‘juguete’
#!/ usr / bin / python
import u r l l i b 2
import j s o n
from c S t r i n g I O import StringIO
u r l = ’ http ://www. zaragoza . es / api / r e c u r s o / urbanismo−i n f r a e s t r u c t u r a s / t r a n v i a ? ’
query =’ r f=html&r e s u l t s o n l y=f a l s e&srsname=utm30n ’
cad = ’ Faltan : %d minutos ( Destino %s ) ’
parada = ”CAMPUS RIO EBRO”
r e q u e s t = u r l l i b 2 . Request ( u r l+query )
r e q u e s t . add header ( ” Accept ” , ” a p p l i c a t i o n / j s o n ” )
resProc = j s o n . load ( StringIO ( u r l l i b 2 . urlopen ( r e q u e s t ) . read ( ) ) )
i f resProc [ ” totalCount ” ] > 0:
f o r i i n range ( i n t ( resProc [ ” totalCount ” ] ) ) :
i f ( resProc [ ” r e s u l t ” ] [ i ] [ ” t i t l e ” ] == parada ) :
p r i n t ” Parada : ” , parada
f o r j i n range ( len ( resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] ) ) :
p r i n t cad % ( resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] [ j ] [ ” minutos ” ] ,
resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] [ j ] [ ” d e s t i n o ” ] )
e l s e :
p r i n t ” Sin r e s p u e s t a ”
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 22
En acci´on
./tranviaZgz.py
CAMPUS RIO EBRO
Faltan: 0 minutos (Destino MAGO DE OZ)
Faltan: 6 minutos (Destino MAGO DE OZ)
CAMPUS RIO EBRO
Faltan: 5 minutos (Destino AVENIDA ACADEMIA)
Faltan: 10 minutos (Destino AVENIDA ACADEMIA)
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 23
Dicen por ah´ı ...
“By 2029, sufficient computation to simulate the entire
human brain, which I estimate at about 1016 (10 million
billion) calculations per second (cps), will cost about a
dollar. By that time, intelligent machines will combine
the subtle and supple skills that humans now excel in
(essentially our powers of pattern recognition) with ways
in which machines are already superior, such as
remembering trillions of facts accurately, searching
quickly through vast databases, and downloading skills
and knowledge.”
Ray Kurzweil, the WebOS
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 24
Dicen por ah´ı ... (sigue)
“But this will not be an alien invasion of intelligent
machines. It will be an expression of our own civilization,
as we have always used our technology to extend our
physical and mental reach. We will merge with this
technology by sending intelligent nanobots
(blood-cell-sized computerized robots) into our brains
through the capillaries to intimately interact with our
biological neurons. If this scenario sounds very futuristic,
I would point out that we already have blood-cell-sized
devices that are performing sophisticated therapeutic
functions in animals, such as curing Type I diabetes and
identifying and destroying cancer cells.”
62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 25

Web 4.0

  • 1.
    Curso: (62949) Internetpara las cosas Fernando Tricas Garc´ıa Departamento de Inform´atica e Ingenier´ıa de Sistemas Universidad de Zaragoza http://webdiis.unizar.es/~ftricas/ http://moodle.unizar.es/ ftricas@unizar.es
  • 2.
    La web 4.0 FernandoTricas Garc´ıa Departamento de Inform´atica e Ingenier´ıa de Sistemas Universidad de Zaragoza http://webdiis.unizar.es/~ftricas/ http://moodle.unizar.es/ ftricas@unizar.es 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 2
  • 3.
    Entonces... Web 1.0 −→s´olo lectura Web 2.0 −→ lectura/escritura (participaci´on) Web 3.0 −→ organizaci´on, web sem´antica Web 4.0 −→ web inteligente 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 3
  • 4.
    Dicen por ah´ı... “Goodmorning. You’re flying to Boston today. Take a raincoat, it’s raining. By the way, that fight you were taking, it’s already been canceled. Don’t worry about it. There was a mechanical. I’ve already booked you on a new one. I’ll tell you about on the way to the airport. But remember you’re going to exercise every day and I’m here to remind you that you’re going to exercise.” And you might say, “I don’t know if I want to exercise today,” and It’ll show you a nude profile of yourself. And you’ll say, “You know what, I think I’m going to exercise today.” Daniel Burrus 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 4
  • 5.
  • 6.
  • 7.
    Coches inteligentes https://www.teslamotors.com/ ‘Audi’s automateddriving for parking’ https://www.youtube.com/watch?v=b_m8DqTlOLE 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 7
  • 8.
    Agente electr´onico ultra-inteligente 62949 –Internet para las cosas. Fernando Tricas Garc´ıa. 8
  • 9.
    Entonces ... Web 3.0(sem´antica) Web 4.0−→ explotaci´on Comprensi´on del lenguaje natural Comunicaci´on entre m´aquinas (M2M) Contexto del usuario (estado, lugar, ...) Interacci´on con el usuario 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 9
  • 10.
    De: hacer laweb comprensible para las m´aquinas A: hacer que las m´aquinas nos entiendan y mejoren nuestra vida 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 10
  • 11.
    ¿Y en lavida real? Sobre todo marquetin (Anuncios que nos ‘persiguen’) Sistemas de recomendaci´on Podr´ıa interesarte... Puede que conozcas... Deber´ıas seguir a... 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 11
  • 12.
  • 13.
  • 14.
    AAA 62949 – Internetpara las cosas. Fernando Tricas Garc´ıa. 14
  • 15.
    AAA Any time Any place Anydevice CCC 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 14
  • 16.
    Tendencias ‘Number of Mobile-OnlyInternet Users Now Exceeds Desktop-Only in the U.S.’ https://www.comscore.com/Insights/Blog/ Number-of-Mobile-Only-Internet-Users-Now-Exceeds-Desktop-Only-in-the-U.S 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 15
  • 17.
    ¿D´onde est´a lainteligencia? Depende... Dispositivos Servicios Distribuida 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 16
  • 18.
    Tiene que vercon ... APIs abiertas (Application Programming Interface) Agentes/servicios 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 17
  • 19.
    Un ejemplo de‘juguete’ Datos abiertos del Ayuntamiento de Zaragoza http://www.urbanosdezaragoza.es/frm_esquemaparadas.php 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 18
  • 20.
    Un ejemplo de‘juguete’ Datos abiertos del Ayuntamiento de Zaragoza http://www.consorciozaragoza.es/ 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 19
  • 21.
    Un ejemplo de‘juguete’ Datos abiertos del Ayuntamiento de Zaragoza http://maps.google.com/ 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 20
  • 22.
    Un ejemplo de‘juguete’ Datos abiertos del Ayuntamiento de Zaragoza http://www.zaragoza.es/docs-api/#!/Equipamientos_y_movilidad/get_recurso_urbanismo_ infraestructuras_tranvia 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 21
  • 23.
    Un ejemplo de‘juguete’ #!/ usr / bin / python import u r l l i b 2 import j s o n from c S t r i n g I O import StringIO u r l = ’ http ://www. zaragoza . es / api / r e c u r s o / urbanismo−i n f r a e s t r u c t u r a s / t r a n v i a ? ’ query =’ r f=html&r e s u l t s o n l y=f a l s e&srsname=utm30n ’ cad = ’ Faltan : %d minutos ( Destino %s ) ’ parada = ”CAMPUS RIO EBRO” r e q u e s t = u r l l i b 2 . Request ( u r l+query ) r e q u e s t . add header ( ” Accept ” , ” a p p l i c a t i o n / j s o n ” ) resProc = j s o n . load ( StringIO ( u r l l i b 2 . urlopen ( r e q u e s t ) . read ( ) ) ) i f resProc [ ” totalCount ” ] > 0: f o r i i n range ( i n t ( resProc [ ” totalCount ” ] ) ) : i f ( resProc [ ” r e s u l t ” ] [ i ] [ ” t i t l e ” ] == parada ) : p r i n t ” Parada : ” , parada f o r j i n range ( len ( resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] ) ) : p r i n t cad % ( resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] [ j ] [ ” minutos ” ] , resProc [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] [ j ] [ ” d e s t i n o ” ] ) e l s e : p r i n t ” Sin r e s p u e s t a ” 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 22
  • 24.
    En acci´on ./tranviaZgz.py CAMPUS RIOEBRO Faltan: 0 minutos (Destino MAGO DE OZ) Faltan: 6 minutos (Destino MAGO DE OZ) CAMPUS RIO EBRO Faltan: 5 minutos (Destino AVENIDA ACADEMIA) Faltan: 10 minutos (Destino AVENIDA ACADEMIA) 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 23
  • 25.
    Dicen por ah´ı... “By 2029, sufficient computation to simulate the entire human brain, which I estimate at about 1016 (10 million billion) calculations per second (cps), will cost about a dollar. By that time, intelligent machines will combine the subtle and supple skills that humans now excel in (essentially our powers of pattern recognition) with ways in which machines are already superior, such as remembering trillions of facts accurately, searching quickly through vast databases, and downloading skills and knowledge.” Ray Kurzweil, the WebOS 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 24
  • 26.
    Dicen por ah´ı... (sigue) “But this will not be an alien invasion of intelligent machines. It will be an expression of our own civilization, as we have always used our technology to extend our physical and mental reach. We will merge with this technology by sending intelligent nanobots (blood-cell-sized computerized robots) into our brains through the capillaries to intimately interact with our biological neurons. If this scenario sounds very futuristic, I would point out that we already have blood-cell-sized devices that are performing sophisticated therapeutic functions in animals, such as curing Type I diabetes and identifying and destroying cancer cells.” 62949 – Internet para las cosas. Fernando Tricas Garc´ıa. 25