Web 4.0

26
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/ [email protected]

Transcript of Web 4.0

Page 1: Web 4.0

Curso: (62949) Internet para las cosas

Fernando Tricas Garcıa

Departamento de Informatica e Ingenierıa de SistemasUniversidad de Zaragoza

http://webdiis.unizar.es/~ftricas/

http://moodle.unizar.es/

[email protected]

Page 2: Web 4.0

La web 4.0

Fernando Tricas Garcıa

Departamento de Informatica e Ingenierıa de SistemasUniversidad de Zaragoza

http://webdiis.unizar.es/~ftricas/

http://moodle.unizar.es/

[email protected]

62949 – Internet para las cosas. Fernando Tricas Garcıa. 2

Page 3: Web 4.0

Entonces...

I Web 1.0 −→ solo lectura

I Web 2.0 −→ lectura/escritura (participacion)

I Web 3.0 −→ organizacion, web semantica

I Web 4.0 −→ web inteligente

62949 – Internet para las cosas. Fernando Tricas Garcıa. 3

Page 4: Web 4.0

Dicen por ahı...

“Good morning. You’re flying to Boston today. Take araincoat, it’s raining. By the way, that fight you weretaking, it’s already been canceled. Don’t worry about it.There was a mechanical. I’ve already booked you on anew one. I’ll tell you about on the way to the airport. Butremember you’re going to exercise every day and I’m hereto remind you that you’re going to exercise.” And youmight say, “I don’t know if I want to exercise today,” andIt’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

Page 5: Web 4.0

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

Page 6: Web 4.0

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

Page 7: Web 4.0

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

Page 8: Web 4.0

Agente electronicoultra-inteligente

62949 – Internet para las cosas. Fernando Tricas Garcıa. 8

Page 9: Web 4.0

Entonces ...

Web 3.0 (semantica)Web 4.0−→ explotacion

I Comprension del lenguaje natural

I Comunicacion entre maquinas (M2M)

I Contexto del usuario (estado, lugar, ...)

I Interaccion con el usuario

62949 – Internet para las cosas. Fernando Tricas Garcıa. 9

Page 10: Web 4.0

De: hacer la web comprensiblepara las maquinas

A:

hacer que las maquinas nosentiendan y mejoren nuestravida

62949 – Internet para las cosas. Fernando Tricas Garcıa. 10

Page 11: Web 4.0

¿Y en la vida real?

I Sobre todo marquetin(Anuncios que nos ‘persiguen’)

I Sistemas de recomendacion

I Podrıa interesarte...I Puede que conozcas...I Deberıas seguir a...

62949 – Internet para las cosas. Fernando Tricas Garcıa. 11

Page 12: Web 4.0

Ubıcua

http://books.google.com/help/ebooks/devices.html

http://Amazon.com/Kindle62949 – Internet para las cosas. Fernando Tricas Garcıa. 12

Page 13: Web 4.0

Ubıcua

http://www.nerdgasmo.com/2011/11/increible-estacion-de-trabajo-steampunk/

62949 – Internet para las cosas. Fernando Tricas Garcıa. 13

Page 14: Web 4.0

AAA

I Any time

I Any place

I Any device

CCC

62949 – Internet para las cosas. Fernando Tricas Garcıa. 14

Page 15: Web 4.0

AAAI Any time

I Any place

I Any device

CCC

62949 – Internet para las cosas. Fernando Tricas Garcıa. 14

Page 16: Web 4.0

Tendencias

‘Number of Mobile-Only Internet Users Now ExceedsDesktop-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

Page 17: Web 4.0

¿Donde esta la inteligencia?

Depende...

I Dispositivos

I Servicios

I Distribuida

62949 – Internet para las cosas. Fernando Tricas Garcıa. 16

Page 18: Web 4.0

Tiene que ver con ...

I APIs abiertas (Application Programming Interface)

I Agentes/servicios

62949 – Internet para las cosas. Fernando Tricas Garcıa. 17

Page 19: Web 4.0

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

Page 20: Web 4.0

Un ejemplo de ‘juguete’

Datos abiertos del Ayuntamiento de Zaragoza

http://www.consorciozaragoza.es/

62949 – Internet para las cosas. Fernando Tricas Garcıa. 19

Page 21: Web 4.0

Un ejemplo de ‘juguete’Datos abiertos del Ayuntamiento de Zaragoza

http://maps.google.com/

62949 – Internet para las cosas. Fernando Tricas Garcıa. 20

Page 22: Web 4.0

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

Page 23: Web 4.0

Un ejemplo de ‘juguete’

#!/ u s r / b i n / python

import u r l l i b 2import j s o nfrom c S t r i n g I O import S t r i n g I O

u r l = ’ h t t p : / /www. z a r a g o z a . e s / a p i / 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 ? ’q u e r y = ’ r f=html&r e s u l t s o n l y=f a l s e&srsname=utm30n ’cad = ’ F a l t a n : %d minutos ( D e s t i n o %s ) ’parada = ”CAMPUS RIO EBRO”

r e q u e s t = u r l l i b 2 . Request ( u r l+q u e r y )r e q u e s t . a d d h e a d e r ( ” Accept ” , ” a p p l i c a t i o n / j s o n ” )

r e s P r o c = j s o n . l o a d ( S t r i n g I O ( u r l l i b 2 . u r l o p e n ( r e q u e s t ) . r e a d ( ) ) )

i f r e s P r o c [ ” t o t a l C o u n t ” ] > 0 :f o r i i n range ( i n t ( r e s P r o c [ ” t o t a l C o u n t ” ] ) ) :

i f ( r e s P r o c [ ” r e s u l t ” ] [ i ] [ ” t i t l e ” ] == parada ) :p r i n t ” Parada : ” , paradaf o r j i n range ( l e n ( r e s P r o c [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] ) ) :

p r i n t cad % ( r e s P r o c [ ” r e s u l t ” ] [ i ] [ ” d e s t i n o s ” ] [ j ] [ ” minutos ” ] ,r e s P r o c [ ” 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 ” S i n r e s p u e s t a ”

62949 – Internet para las cosas. Fernando Tricas Garcıa. 22

Page 24: Web 4.0

En accion

./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

Page 25: Web 4.0

Dicen por ahı ...

“By 2029, sufficient computation to simulate the entirehuman brain, which I estimate at about 1016 (10 millionbillion) calculations per second (cps), will cost about adollar. By that time, intelligent machines will combinethe subtle and supple skills that humans now excel in(essentially our powers of pattern recognition) with waysin which machines are already superior, such asremembering trillions of facts accurately, searchingquickly through vast databases, and downloading skillsand knowledge.”

Ray Kurzweil, the WebOS

62949 – Internet para las cosas. Fernando Tricas Garcıa. 24

Page 26: Web 4.0

Dicen por ahı ... (sigue)

“But this will not be an alien invasion of intelligentmachines. It will be an expression of our own civilization,as we have always used our technology to extend ourphysical and mental reach. We will merge with thistechnology by sending intelligent nanobots(blood-cell-sized computerized robots) into our brainsthrough the capillaries to intimately interact with ourbiological neurons. If this scenario sounds very futuristic,I would point out that we already have blood-cell-sizeddevices that are performing sophisticated therapeuticfunctions in animals, such as curing Type I diabetes andidentifying and destroying cancer cells.”

62949 – Internet para las cosas. Fernando Tricas Garcıa. 25