cidades inteligentes: tecnologias atuais, futuras e o projeto novagenesis

53
Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis Antônio M. Alberti

Upload: antonio-alberti

Post on 12-Jan-2017

56 views

Category:

Internet


4 download

TRANSCRIPT

Page 1: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Antônio M. Alberti

Page 2: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

(c) Antonio Alberti, Inatel, 2014.

FOR TOO LONG WE TALK ABOUT TECHNOLOGICAL EVOLUTION AND THE RATE AT WHICH IT OCCURS.

Page 3: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

(c) Antonio Alberti, Inatel, 2014.

VERY OFTEN, PEOPLE CITE MOORE'S LAW AS AN EXAMPLE OF LAW CAPABLE OF PREDICTING

TECHNOLOGICAL DEVELOPMENTS IN COMPUTING POWER.

Gordon Moore, 2004.Co-funder of Intel Corp.

Page 4: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

(c) Antonio Alberti, Inatel, 2014.

“THE QUANTITY OF TRANSISTORS THAT

CAN BE PLACED INEXPENSIVELY ON

AN INTEGRATED CIRCUIT HAS

DOUBLED APPROXIMATELY

EVERY TWO YEARS.”

Page 5: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

(c) Antonio Alberti, Inatel, 2014.

MORE RECENTLY, RAYMOND KURZWEIL PRESENTED A THEORY FOR TECHNOLOGICAL EVOLUTION AND A NEW LAW THAT EXPANDS MOORE LAW TO DESCRIBE THE EXPONENTIAL GROWTH OF TECHNOLOGICAL ADVANCES

THE LAW OF ACCELERATING RETURNS

Page 6: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

(c) Antonio Alberti, Inatel, 2014.

tee

Page 7: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

ABUNDANCE: THE FUTURE IS BETTER THAN YOU THINK

PETER H. DIAMANDIS STEVEN KOTLER

https://pt.wikipedia.org/wiki/Futurologia

Page 8: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis
Page 9: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

DISRUPTION

SOFTWERIZATION UBERIZATION INTERNET OF THINGS CLOUD, BIG DATA

Page 10: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

UBIQUITY

DEVICES EVERYWHERE SMART DUST PROGRAMMABLE MATTER

Page 11: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

MINIATURIZATION

CENTIMETER MICROMETER NANOMETER

INTERNET OF MICRO & NANO THINGS

Anders

?

Page 12: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

IOT - INTERNET OF THINGS

“Coisas” que se comunicam, armazenam e processam dados com o mínimo de interferência humana, fazendo parte obrigatoriamente da Internet.

Page 13: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

WEARABLES - VESTÍVEIS

Dispositivos vestíveis pelas pessoas.

Máquinas que coletam dados e atuam sobre às pessoas.

Page 14: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

TECNOLOGIAS ATUAIS

ú BLUETOOTH LOW ENERGY 4.1

ú IEEE 802.15.4

ú IPV6, 6LOWPAN, COAP.

ú ZIGBEE, MQTT, DDS.

ú NFC, EPC GLOBAL.

Page 15: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-PPP - FUTURE INTERNET PUBLIC/PRIVATE PARTNERSHIP

Page 16: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

ú LANÇADO PELA COMISSÃO EUROPEIA EM 2011.

ú “É DESTINADO A ACELERAR O DESENVOLVIMENTO E ADOÇÃO DE TECNOLOGIAS DE INTERNET DO FUTURO NA EUROPA, AVANÇANDO O MERCADO EUROPEU DE INFRAESTRUTURAS INTELIGENTES E AUMENTANDO A EFICÁCIA DOS PROCESSOS DE NEGÓCIO ATRAVÉS DA INTERNET”.

FI-PPP - FUTURE INTERNET PUBLIC/PRIVATE PARTNERSHIP

Page 17: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-PPP - FUTURE INTERNET PUBLIC/PRIVATE PARTNERSHIP

Page 18: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE

ú É A PLATAFORMA TECNOLÓGICA DA INICIATIVA FI-PPP.

ú É UM “ECOSSISTEMA SUSTENTÁVEL ABERTO QUE UTILIZA PLATAFORMA DE SOFTWARE PADRONIZADA PARA FACILITAR O DESENVOLVIMENTO DE APLICAÇÕES INTELIGENTES EM VÁRIOS SETORES, INCLUINDO INTERNET DAS COISAS”.

Page 19: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE

Computação em Nuvem + Armazenamento + Redes de Centro de Dados (com suporte para redes definidas por software).

+Componentes de software como serviços (software as a service). Existe um catálogo com centenas de componentes.

Plataforma de big data (hadoop) da Telefônica.

+ Semântica e contexto

Interfaces de programação de serviços (web services) de próxima geração (RESTful, XML, JSON)

= Arquitetura convergente para cidades inteligentes.

Processamento de Eventos

Page 20: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE

Fonte: FI-WARE Overview, Juanjo Hierro, Telefônica Digital, 2013.

Page 21: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE

Fonte: FI-WARE Overview, Juanjo Hierro, Telefônica Digital, 2013.

Page 22: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WAREFI-WARE IoT-M2M & Context/Management altogether

NGSI IoT Adapter

IoT Backend Device Management Backend

Applications

FI-WARE NGSI-9/10

(entities: things)

(entities: things, other) FI-WARE NGSI-9/10

IoT Broker

Device-level Management API

Context Broker

IoT-enabled Context

Management

Backend

BigData Analysis

CEP

Other sources

FI-WARE NGSI-9/10

Gateway/Device Platform GEs

Direct connection for higher performance

Gateway/Device Platform GEs Gateway/Device

Platform GEs Gateway/Device Platform GEs

Native NGSI IoT Agent Native NGSI

IoT Agent

IoT ConfigMan

25 Fonte: FI-WARE Overview, Juanjo Hierro, Telefônica Digital, 2013.

ARQUITETURA PARA IOT

FI-WARE

Page 23: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE: CASO DE USO DE NOVA FRIBURGO, RJ

FONTE: https://www.fiware.org/tag/smart-cities/

Page 24: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

FI-WARE: CASO DE USO DE NOVA FRIBURGO, RJ

FONTE: https://www.fiware.org/tag/smart-cities/

Page 25: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis
Page 26: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Design Space

(2011)

Page 27: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

User-centric

Self-*, Context

Information-centricService-centric

Software-Defined

SecurityPriva

cy

Nam

ing

Name R

esolu

tionVirtualization

Internet of Things

Exposition, Orchestration

Self-Certifying

Life-Cycling

Prot

ocol

Dev

elop

men

t

Mobility ID

/Loc

Spl

ittin

g

Mngt. a

nd Con

trol

Design Space

(2015)

Page 28: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Networks Clouds= +

Telecom & Internet

IT & Web

“Things” +

Machine to machine& Internet ofThings

+

Identity,Credentials,Biometrics

NOSSO MODELO

Page 29: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

NOVAGENESIS O QUE É DIFERENTE?

Page 30: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

INITIAL CORNERSTONES

ú NAMING ú LIFE-CYCLING

Page 31: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

NAMING

ú TO DENOTE ENTITIES USING SYMBOLS.

Page 32: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Future Internet of “Things”: The NovaGenesis Model

can use the NB < Domain 1; Gateway 1 > to represent that Domain 1 contains a Gateway 1. In this context,

name resolution consists on resolving a name to other bound names, i.e. to determine the values behind a

certain key. For example, the name Router 1 is bound to the names OS 6 and OS 7, while OS 6 can be resolved to

Process 10 and Process 11.

Fig. 3. Graph of names and their bindings representing entities relationships in computer systems.

3.1.2. Identification, Localization, and Id/Loc splitting

There is no novelty on using names as identifiers or locators on networking. In fact, this is intrinsic to

information and communication technologies (ICTs). However, the adoption of SVNs as identifiers is more

Page 33: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

SELF-CERTIFYING NAMING

Hash Function

Binary Input

(Attributes or Entire Object)

Binary Output(Name)

Example: AF35277784564ABEFF

Entities are named by a mathematical hash function, e.g. MD5, SHA-1.

Example: Iris pattern

Page 34: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Self-certifying names generated from existences’ immutable patterns.Name binding among namespaces enable to represent relationships.

Antony

Image.jpg

AA180972…

01011223…

0101010101010101011010110001010010101010101010101 1010101011110100001010011111111110101010100000000 1001010101000101010101011111110000000000000000000 1010101010101010101000010010101010101010101010101 1111111010101010100001010010100101010100010101010 0100000100000010000000001000001000000100000010000 1110000010000000100000010110101111000011100000000 1111111010101010100001010010100101010100010101010 0100000100000010000000001000001000000100000010000 1110000010000000100000010110101111000011100000000 1111111101111110111111011111101111101111101111111

My Smartphone

BFEF1216…

NAMING AND NAME BINDING

Natural language names: Portuguese, English, etc.

Page 35: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Antony

AA180972… BFEF1216

My Smartphone Image.jpg

01011223…

IDENTIFICATION AND LOCALIZATION

Page 36: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

LIFE-CYCLING OF ENTITIES

ú THE PROCESS OF EXPOSING, SEARCHING FOR PEERS, NEGOTIATING, CONTRACTING, OPERATING, AND RELEASING.

Page 37: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

AntonyApp 1

App 2

ScalifaxMy smartphone

My tablet

My photos repository app

I have Antony photos!

I store Antony photos!

I have Antony photos!

(c) Antonio Alberti 2015, Inatel - All rights reserved.

EXPOSITION AND DISCOVERY

Page 38: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

NEGOTIATION

Let’s work together?

Let’s work together?

Let’s work together?

AntonyApp 1

App 2

ScalifaxMy smartphone

My tablet

My photos repository app

SLA

SLA

(c) Antonio Alberti 2015, Inatel - All rights reserved.

Page 39: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

INFORMATION EXCHANGING

Here are my photos!

Ok!Here are my photos!

AntonyApp 1

App 2

ScalifaxMy smartphone

Meu tablet

My photos repository app

(c) Antonio Alberti 2015, Inatel - All rights reserved.

Page 40: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

PROVENANCE AND TRACEABILITY

AntonyApp 1

App 2

ScalifaxMy smartphone

My tablet(c) Antonio Alberti 2015, Inatel - All rights reserved.

My photos repository app

Photo <-> Repos. App <-> Scalifax <-> My smartphone <-> App 1 <-> Antony

Page 41: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

COMMUNICATION MODEL

Today

Owner sends

Facilitates spam!

InternetThe

receiver accepts all

(c) Antonio Alberti 2015, Inatel - All rights reserved.

Page 42: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

COMMUNICATION MODEL

Future

Owner publishes Internet

Minimization of spam problem!

(c) Antonio Alberti 2015, Inatel - All rights reserved.

Receiver subscribes

only the desired content.

Page 43: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

MOBILITY

Local Net 2

ID=143.106.52.3LOC=143.106.52.3

ID=10.0.0.3LOC=10.0.0.3

Local Net 1

Today

Page 44: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

MOBILITY

ID=FFFF12211243865…LOC=FEFEF1421412411…

ID=FFFF12211243865…LOC=AAAA2734573453…

Local Net 2Local Net 1

Future

Page 45: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

“THINGS” NEED SERVICES TO REPRESENT THEM TOWARDS CONTRACT-BASED

TRUSTABLE SELF-ORGANIZATION

Proxy/Gateways Controllers/Managers

SERVICES SWARMS

SOCIAL “THINGS” SWARMS

IOT - INTERNET OF THINGS

Page 46: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Smart Convergent Information Architecture

Physical World

Self-Organizing Physical World Representatives

PeoplePolicies, Rules, Regulations, etc.

Self-OrganizingAssistants, Controllers, Managers, etc.

Evolutionary Pressures

Environmental Pressures

The Essence of NovaGenesis Model

(c) Antonio Alberti 2015, Inatel - All rights reserved.

Page 47: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Prototype

LIVE DEMO @ SAO PAULO

CAMPUS PARTY JAN. 2015

SCALABILITY@ INATEL AUG. 2015

FIRST TEST@ GENI

SEPT. 2015

Page 48: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Nó#de#Internet#das#coisas##medindo#temperatura#da#sala#

Amostras##de#temperatura#transportadas#sem#TCP/IP,##somente#NG##sobre#Wi<Fi#

Fig. 8. Experimental scenario with: (i) NovaGenesis core services and IoT client application in the left; (ii) the NovaGenesis

embedded proxy/gateway (EPGS) on NXP’s LPC1769 device in the middle; and (iii) a computer with LPCXpressoTM to compile

and deploy the EPGS (plus EventOSTM) image on LPC.

ng -m --cl 0.1 [ < 1 s 28FD4420 > < 4 s 0BD95286 ED12F3ED 7E764DC1 4D623F20 > < 4 s empty empty empty empty > ]

ng -hello --ihc 0.2 [ < 6 s A4324A2D AB9B70B4 57ECEB4F Wi-Fi wlan0 ac:22:0b:c9:df:3b > < 4 s 0BD95286 ED12F3ED

8E8B52EC 7EA46815 > ]

ng -scn --seq 0.1 [ < 1 s 1A81A5E3 > ]

Fig. 9. A “hello” message sent by the PGCS to the EPGS.

ng -m --cl 0.1 [ < 1 s 28FD4420 > < 4 s 4C7CF9B2 5F472DA7 1A53F830 NULL > < 4 s empty empty empty empty > ]

ng -hello --ihc 0.1 [ < 5 s NULL NULL Wi-Fi wlan0 ac:22:0b:13:01:34 > ]

ng -scn --seq 0.1 [ < 1 s 604007EC > ]

Fig. 10. A “hello” message sent by EPGS to PGCS.

5.2. Exposition and Discovery

In this step, both PGCS and client application expose a set of keywords and SVNs to facilitate discovery. Fig.

11 contains a PGCS log capture with an “exposition” message. The target of this message is the PSS, identified

by the tuple 0BD95286 ED12F3ED 8E8B52EC 7EA46815. Every ng –p –b 0.1 command line publishes a name

Future Internet of “Things”: The NovaGenesis Model

Page 49: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Sensing CellController

Sensing InformationStorage and Analysis

Sensing Cell

Sensing CellController

Sensing Cell

Sensing CellController

Sensing Cell

TCP/IP

Internet

TCP/IP

TCP/IP

...

...

Radio M2 Internet

Radio M1

IoT NetworkBoundary

Sensing CellBoundary

BorderRouter

Sensing Cell SC1

Sensing Cell SC2

Mint

SCC1

SCC2

SISA

InterfererRange

Interferer

(a) (b)

Figure 1: Cognitive Radio blocks in the context of IoT.

2.2.1. Sensing Cell (SC)The RF spectrum may be sensed by more than one sensing

cell (SC), which includes a RF receiver, an antenna and a com-putational processing board. The SC hardware is constructedusing low-cost commercial hardware based on Raspberry PI2 [24] processing board and a digital video broadcasting-terrestrial (DVB-T) receiver acting as a RF receiver. The lat-ter one has becoming popular for software defined radio (SDR)applications [25, 26]. SCs may be deployed over di↵erent lo-cations in order to cover a wide geographic area, characterizinga cooperative network scenario. More than one source of spec-trum sensing information may be used to provide informationfor a real-time RF spectrum allocation. This proposed coop-erative network reduces the hidden node problem e↵ect [27],providing information to discover distinct sectors , thereforeimproving the RF spectrum usage e�ciency [28].

Traditional CR implementations defines a radio that is ableto sense the spectrum, while performing its usual communica-tion functionality [2, 29]. Since the objective is to employ lowresource devices that may not have enough processing capac-ity to run a spectrum sensing algorithm, the SCs may be usedas a support system to existent fixed frequency systems. Forthis reason, in the proposes system, the SCs are sensing onlydevices. It is feasible to implement the sensing algorithm overmore powerful IoT devices. In context of IoT, a network com-monly has its own border router or gateway that act as a net-work coordinator and interface to the Internet. The SC acquiressamples from RF spectrum, demodulating them to a basebanddigital signal. The digital signal is delivered to the process-ing board, which encapsulates the RF information into TCP/IPpackets to be sent to a SCC.

2.2.2. Sensing Cell Controller (SCC)The sensing cell controller (SCC) has two important roles

in the proposed system: (i) it configures the SC receiver pa-rameters; (ii) it performs the energy detector computation to

be sent to SISA. The SCC runs on standard desktop computerand all energy detection algorithm is performed by applyingpreviously-developed GNU Radio framework [30], which is afree software tool that provides a set of processing blocks withfocus on SDR usage. By controlling the SC parameters, such asradio central frequency and radio bandwidth, it allows to sense awide RF spectrum. This is important since the low-cost receiverused in this work has only 2 MHz of reception bandwidth. Thecomputed RF spectrum energy information is then sent to theSISA block.

2.2.3. Sensing Information Storage and Analysis (SISA)The SISA block relies on a specific algorithm that in able to

collect data from many SCCs and store this information in adatabase. Another algorithm may consult this database in orderto set up a customized and broader information database on theRF spectrum usage. The SISA information may be based on aspecific region, a specific RF spectrum band or some calendarrange. SISA provides a database information on the RF spec-trum utilization divided in hours of a day, based on each SCCconnected to it. The SISA has an API that allows some CR in-terested on its sensing information to put queries on spectruminformation usage statistics.

2.2.4. Spectrum Sensing Based on Energy DetectionEnergy detectors stands for a suboptiomal very lightweight

algorithm and is considered the most simple spectrum sensingtechnique [31]. It has been chosen to enable the use of low-costcomponents. Additionally, it is the most appropriate techniquewhen the transmitted signal is unknown [32].

The energy for N received RF signal X may be calculated asfollows and the resultant value defines the test statistic variableT :

T =1N

NX

n=1

���X(n)2��� (1)

3

Page 50: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Cognitive Radio in the Context of IoT using a Novel Future Internet Architecture Called NovaGenesis

ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.cellcontroller_latitude > < 1 s -22.257360 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.cellcontroller_longitude > < 1 s -45.696651 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.cellcontroller_id > < 1 s a65faefc-56f7-11e5a483-001dbaefa596 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_sectors > < 1 s 1 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_freq_min > < 1 s 100000000 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_bw_max > < 1 s 2048000 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_bw_min > < 1 s 1024000 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_direction > < 1 s 0 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_freq_max > < 1 s 1800000000 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_freq_stop > < 2 s 930000000 -1 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_freq_start > < 2 s 900000000 -1 > ]ng -sr --b 0.1 [ < 1 s 17 > < 1 s SSS01.sensing_bw > < 1 s 1000000 > ]

Figure 9: SSS o↵er in NovaGenesis format to RMS.

SCC SSS NRS RMS

a a

b b

ccde

e

ff

gghh

ii

i

jj

kkll

m

Figure 10: Example of two applications in a simple link scenario.

TCP/IP

Ethernet

SCC IO

TCP/IP

SCPUSH/ PULL IA DAO

Ethernet

SISA DB

CLIENT/SERVER CLIENT/SERVER

EthernetEthernet

PUSH/PULL

Figure 11: Stack for cooperative spectrum sensing based on TCP/IP andZeroMQ (ZMQ) push/pull.

Naming: Content and services are accessed using their self-verifying names (SVNes). Message forwarding/routing also

Table 1: Comparison between scenarios with and without NovaGenesis.Aspect ZMQ and TCP/IP NovaGenesisNaming TCP socket names

(ports) and IP ad-dresses

Host, operating system,services, and content nat-ural language and self-verifying names

Name resolution Domain name service(DNS)

PSS, GIRS and HTS

Comm. model Receiver accepts all Publish/subscribeService-orienteddesign

Only on the WWW Applied to all software

Life-cycling Service-orientedarchitecture, e.g.RESTful

For all services and con-tents

Contract-basedoperation

Not typical For all services

Protocol imple-mentation

As Linux kernel com-ponents

As services that followSOD. User space for now

employs SVNes. In contrast, ZMQ and TCP/IP only allowsstructured natural language names, which do not have the in-trinsic security characteristics of SVNes [21].

Name Resolution: In current Internet it is provided by DNS.In NovaGenesis, the NRS does a similar role, but using pub/subof domain name records.

Limited Service-Orientation: In ZMQ/Internet, theservice-oriented design (SOD) is employed only on the WWW,while in NovaGenesis it is for all services, including network-ing ones.

Life-cycling: It encompasses the dynamic composition ofservices and their contents. In the Internet architecture it ispresent only at WWW. In NovaGenesis, life-cycling is intrin-sic to any entity: content, services, operating systems, hosts,etc. The same pattern happens for contract-based operation.

Deployment in Hosts: Internet protocols are implemented atthe core of operating systems. NovaGenesis protocols in hostsare implemented as services that follow SOD paradigm.

3.6. Next Steps and Open ChallengesWe plan to implement the complete Figure 1 scenario in

NovaGenesis, with the aim of extending NG services to con-trol Wi-Fi access points based on RMS decisions. In addition,we have already applied NovaGenesis implementation for SDN[45]. We are also extending our name resolution service to hi-erarchical domains, as an alternative to DNS. We have already

9

< n type E1 E2 E3 E4 ... En >

where

n is the number of elements in the argument vector.type is the type of the elements in the argument vector.E1 E2 E3 E4 ... En are the elements of the argument vector.

3.4. Representing a Spectrum Cell Controller inside Nova-Genesis

In this Subsection, we describe two new services developedfor NovaGenesis to interoperate and manage the low cost col-laborative sensing approach presented in Section 2. The aim isto converge the spectrum sensing approach for IoT with NG“clean slate” FIA, taking advantage from the benefits of allthese research areas. The section presents an extension of ourprevious work on CRN with NovaGenesis [15].

3.4.1. Spectrum Sensing ServiceThe spectrum sensing service (SSS) has been developed to

expose dedicated spectrum sensing hardware or a software-defined radio (SDR) to other NG services. It exposes devicefeatures, capabilities, configurations, and details of availablespectrum sampling procedures. Other NG services can dis-cover, negotiate and contract spectrum sensing functionality viatheir SSS representatives. This process is also a gateway for: (i)dedicated spectrum sensing hardware or SDR, translating NGcommand lines to non NG configurations, e.g. JSON; and for(ii) interconnection of TCP/IP and NG stacks, as illustrated inFigure 4. Messages coming from the SCC are encapsulatedover TCP/IP using ZeroMQ2 (ZMQ) push/pull sockets [41] anddelivered to the SSS. Inside NovaGenesis, the SSS changes topublish/subscribe (pub/sub) model instead of ZMQ’s push/pull,publishing and subscribing name bindings and information ob-jects (like SLAs or spectrum samples) to/from name resolutionservice (NRS3).

NG

Ethernet

SCC SSS

PUB/SUB

PGCS

NG

Ethernet

PGCSNRS RMS

TCP/IP

SC

EthernetEthernet

CLIENT/SERVER PUSH/ PULL

Figure 4: Stack for NovaGenesis interoperability with SCC. SSS provides theinterconnection between TCP/IP and NG stacks. SCC sends spectrum samplesto SSS using ZMQ. Inside NG, the communication model is pub/sub.

2ZeroMQ is a library for asynchronous exchanging of messages. In thepush/pull communication model, a push socket distributes a message to one ormore pull sockets, which read the message delivered over TCP/IP.

3NRS is a short term for the set PSS, GIRS and HTS.

In Figure 4, the SSS communicates with the SCC throughthree ZMQ push/pull socket connections, which form two com-munication channels, one for data and another for software-control settings. The data channel carries the spectral sensinginformation obtained by the components SC (Section 2.2.1) andSCC (Section 2.2.2). The setup channel is formed by the sec-ond and third connections and it is used by the NovaGenesis toobtain and send settings for these SC and SCC blocks.

The information exchanged between SSS and SCC are struc-tured in strings in JSON format. It is encoded in key/value pairs,in which the key field identifies the name of a parameter orcommand, tied to its value. The configuration channel to Nova-Genesis can perform two operations: the commands get infoand set config.

{"get_info": ""

}

Figure 5: get info command in JSON format.

get info: The get info command (Figure 5) is sent by SSSto SCC in order to request the spectral sensing available func-tionalities, identifying information of the sensing cell and theparameters of the current configuration of spectral sensing. Anexample of a get info answer is shown in Figure 6. In this ex-ample, the answer contains: (i) the sensing capabilities of theSCC in the key capacities; (ii) the cell identification informa-tion in the key cell info; and (iii) the current spectrum sensingconfiguration on key current config.

set config: This command is sent from SSS to SCC to adjustspectrum sensing parameters according to RMS. The parame-ters that can be adjusted are shown in the Figure 7. They arethe start and end sampling frequencies in Hz, respectively. Thesampling bandwidth is also in Hz.

data: The spectrum energy data is continuously transmittedfrom SCC to SSS. The Figure 8 illustrates the format of this

{"capacities": {

"sensing_freq_min": "100000000","sensing_freq_max": "1800000000","sensing_bw_min": "1024000","sensing_bw_max": "2048000","sensing_sectors": "1","sensing_direction": "0"

},"cell_info": {

"scc_id": "5adc8dfc-66a0-11e5-a257-001dbaef596","scc_location": "-22.257360, -45.696651"

},"current_config": {

"sensing_freq_start": ["900000000", "-1" ],"sensing_freq_stop": ["930000000", "-1"],"sensing_bw": "2048000"

}}

Figure 6: Answer transmitted from SCC to SSS.

7

Page 51: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

a result similar to the previous ones obtained over TCP/IP. Fi-nally, in Figure 21 it is plotted the mean round trip time (RTT)spend by the RMS to subscribe spectrum sensing objects fromPSS/GIRS/HTS. In the first 9 hours, approximately, the RTTremained linear about 5.2 ms. After, it su↵ered a small increaseprobably due to the large amount of sample files stored at theHTS. All the samples have been stored. As a conclusion, wehave successfully demonstrated a straightforward and innova-tive convergence of IoT, FI and cognitive radio.

Figure 18: Fragment of a TCP segment transporting a spectrum sample in JSONformat from SCC to SSS.

5. Conclusions

This paper presented, for the first time, a successful conver-gence of cognitive radio network (CRN), Internet of Things(IoT) and a future Internet architecture (FIA) called Nova-Genesis. We first report the concept and implementation of alow-cost embedded cooperative sensing and cognitive radio ar-chitecture for IoT applications. The proposed technology solu-tion can be considered potential for wireless sensor networks, inwhich software-control is provided using current Internet tech-nology. Moreover, we have experimentally demonstrated theuse of cooperative spectrum sensing based on energy detectionhas overcome the hidden node problem, which is very com-mon in cooperative cognitive radio networks and for sure willbe present on IoT scenarios. An experimental performance in-vestigation based on packet error rate as a function of RSSI hasdemonstrated the e�ciency and applicability of the proposedCRN approach.

Our second contribution relies on the extension of Nova-Genesis with novel services to interoperate with the aforemen-tioned embedded spectrum sensing and software-control ap-proach. In this sense, we reported implementation of two newfuture Internet services: spectrum sensing service (SSS) andresource management service (RMS). SSS interoperates witha sensing cell controller (SCC), which has a GNU radio im-plementation for determining energy level at channels on 915MHz ISM band. The SCC spectrum samples are sent to theSSS using TCP/IP. SSS translates the data objects from JSONformat to NovaGenesis and publishes them to the RMS (with-out TCP/IP). RMS subscribes the data objects according to theirself-verifying names (SVNes). The data objects are transferred

Figure 19: Fragment of a NovaGenesis message transporting a spectrum sampledirectly over Ethernet.

Figure 20: Spectrum sensing output obtained using NovaGenesis as transportnetwork instead of TCP/IP.

Figure 21: Mean spectrum sample subscription RTT from RMS.

in NovaGenesis messages directly over Ethernet. We demon-strated that NovaGenesis provides an equivalent spectrum sens-ing data objects transport service for IoT.

Our experimental proof-of-concept demonstrates severalnovelties that are typically found only in future Internet re-search: (i) exposition and discovery of next generation wire-less services; (ii) contract-based operation with SLA establish-

13

Amostras((transportadas((sem(TCP/IP,((Somente(NG((sobre(Ethernet(

TCP/IP NG TCP/IP

SCC SSS PGCS

NG

PGCSHTS GIRS PSS RMS

SCC - Sensing Cell Controller SSS - Spectrum Sensing Service HTS - Hash Table Service GIRS - Generic Indirection Resolution Service PSS - Publish/Subscribe Service PGCS - Proxy/Gateway/Controller Service RMS - Resource Management Service

LEGEND:

Figure 14: Experimental scenario for the interoperability test of collaborative spectrum sensing with NovaGenesis.

ng -m --cl 0.1 [ < 1 s ... > < 4 s 0BD95286 ED12F3ED 342DD4C5 B8101939 > < 4 s 0BD95286 ED12F3ED 449B0B0C 6FDF0A76 > ]...ng -p --b 0.1 [ < 1 s 2 > < 1 s 19656CF3 > < 1 s 342DD4C5 > ]ng -p --b 0.1 [ < 1 s 1 > < 1 s 19656CF3 > < 1 s Wi-Fi > ]...ng -message --type 0.1 [ < 1 s 1 > ]ng -message --seq 0.1 [ < 1 s 28 > ]ng -scn --seq 0.1 [ < 1 s 78A8DC70 > ]

Figure 15: Exposition of SSS keywords and self-verifying names.

ng -m --cl 0.1 [ < 1 s 28FD4420 > < 4 s 0BD95286 ED12F3ED 342DD4C5 B8101939 > < 4 s 0BD95286 ED12F3ED 449B0B0C 6FDF0A76 > ]ng -p --notify 0.1 [ < 1 s 18 > < 1 s 3182F342 > < 1 s Service_Offer_2026721035.txt > < 5 s pub FC0AF0EB 1449F6D8 1C873D85 6D6CEA2B > ]ng -info --payload 0.1 [ < 1 s Service_Offer_2026721035.txt > ]ng -p --b 0.1 [ < 1 s 2 > < 1 s 3182F342 > < 1 s B8101939 > ]ng -p --b 0.1 [ < 1 s 2 > < 1 s 3182F342 > < 1 s 342DD4C5 > ]ng -p --b 0.1 [ < 1 s 2 > < 1 s 3182F342 > < 1 s ED12F3ED > ]ng -p --b 0.1 [ < 1 s 9 > < 1 s 3182F342 > < 1 s 0BD95286 > ]ng -message --type 0.1 [ < 1 s 1 > ]ng -message --seq 0.1 [ < 1 s 56 > ]ng -scn --seq 0.1 [ < 1 s 63FEFE81 > ]

There is a payload of 971 bytes

Figure 16: Service o↵er from SSS to RMS.

ng -m --cl 0.1 [ < 1 s 28FD4420 > < 4 s 0BD95286 ED12F3ED 342DD4C5 B8101939 > < 4 s 0BD95286 ED12F3ED 449B0B0C 6FDF0A76 > ]ng -p --notify 0.1 [ < 1 s 18 > < 1 s EDD33B4D > < 1 s SSSFile_7.txt > < 5 s pub FC0AF0EB 1449F6D8 1C873D85 6D6CEA2B > ]ng -info --payload 0.1 [ < 1 s SSSFile_7.txt > ]...ng -scn --seq 0.1 [ < 1 s A65E7906 > ]

There is a payload of 446 bytes

Figure 17: Spectrum sensing data being carried in the payload of a publish/notify message.

12

Serviços)desenvolvidos)para)o)protó1po.)

Cognitive Radio in the Context of IoT using a Novel Future Internet Architecture Called NovaGenesis

Services developed for prototype

Spectrum sensing samples transported over NG/Ethernet

Page 52: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

Next Scenario for Cognitive Radio for IoT with NovaGenesis

SCC - Sensing Cell Controller SSS - Spectrum Sensing Service PGCS - Proxy/Gateway/Controller Service RMS - Resource Management Service APS - Access Point Service EPGS - Embedded Proxy/Gateway Service POXS - Python OpenFlow Controller Service

SCC

SSS

RMS

APSPOXS

PGCSTI cc2650

momote

802.15.4

BLE

DOCKER COOJA

NÓS VIRTUAIS

Wi-Fi

Page 53: Cidades Inteligentes: Tecnologias Atuais, Futuras e o Projeto NovaGenesis

ICT Lab Vídeos no Youtube

MAIS SOBRE NOSSO TRABALHO?

www.inatel.br/novagenesisWeb site

www.inatel.br/ictlabWeb site