2 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
BIG IOT challenge
You will get access to BIG IoT Marketplace and API technologies
and access to mobility & environmental resources
to allow you to hack and play with parking, cars, environmental sensors, bicycles to develop sustainable and efficient way to live and travel in a smart city
for the development of new applications/services based on existing BIG IoT offerings and/or for the integration of data/services and development of new applications and services
in the various domains: Smart Mobility , Environment , Travelers experience, Bike sharing, charging, Eco-route.
4 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Marketplace
Key task of a marketplace is to provide extended functionalities to enable the advertising, discovery, automated orchestration, and negotiation of services to facilitate their usage.
Marketplace is a B2B broker for access to IoT information and functions
Develop Business Models
All entities on Marketplace are semantically annotated to allow semantic queries
Offering registrations will be stored in marketplace backend
User can use the discovery function provided by Marketplace to look for the data/resources offerings
Developers, Web Infrastructure Manager, Creatives… (@ Smart City, @ Mobility Company) … wants to setup of Smart City services & Applications
5 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Technical Overview
Gateway Level
Cloud Level
Application Level
Service / Application
Service / Platform
BIG IoT Marketplace
BIG IoT Provider Lib
BIG IoT Consumer Lib
OD describesinterface.
OD used aspayload.
OD model for searchOffering Description (OD)
6 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
API By using open web API (offered here as a lib), IoT platforms and services
can provide their resources in a generic way.
Using the same API lib, IoT applications (but also services) can consume those resources very easily. In this way, the API lib helps in solving the today’s interoperability issues between IoT providers and consumers.
Once a platform or service is using the lib, their resources can be registered as offerings on the Marketplace.
For example, an IoT platform could offer data on the status of parking spots (occupied or available) within a city.
An IoT service could provide the functionality to reserve resources.
An application could access both with the BIG IoT API and combine them to enable reservation of parking spots.
7 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Provider Side
Provide IoT Offerings. How do you connect your platform to the Marketplace in order to provide this data to other developers so they can use your data in their applications?
The Provider Lib offers the following main functionalities:
Authentication
Creation & Registration of offerings
Activation and de-activation of offerings
Providing access callbacks
8 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
offering.addInputData("longitude", "schema:longitude", ValueType.NUMBER).addInputData("latitude", "schema:latitude", ValueType.NUMBER).addInputData("radius", "schema:geoRadius", ValueType.NUMBER).addOutputData("longitude", "schema:longitude", ValueType.NUMBER).addOutputData("latitude", "schema:latitude", ValueType.NUMBER).addOutputData("dist", “mobility:distanceFromParkingSpace", ValueType.NUMBER).addOutputData("status", "datex:parkingSpaceStatus", ValueType.TEXT);offering.inRegion(BoundingBox
.create(Location.create(41.361, 2.082), Location.create(41.45, 2.252))).withPrice(Euros.amount(0.02)).withPricingModel(PricingModel.PER_ACCESS).withLicenseType(LicenseType.CREATIVE_COMMONS);
9 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Consumer Side
Consume IoT Offerings. Assuming, you want to create an environmental monitoring service that should display temperature data on a web dashboard for different places in cities. Using the Consumer Lib, it is very easy to make your service use the Marketplace to query relevant data sources and access them.
The Consumer Lib offers the following main functionalities:
Authentication on a BIG IoT Marketplace
Querying the Marketplace to find relevant offerings
(Un-)Subscribing to offerings to be notified of any events regarding the offerings
Accessing offerings
10 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
OfferingQuery query = OfferingQuery
.create("DemoParkingQuery")
.withName("Demo Parking Query")
.withCategory("urn:big-iot:ParkingSpaceCategory")
.withTimePeriod(TimePeriod.create(new DateTime("2018-01-01T0:00Z"), DateTime.now()))
.inRegion(BoundingBox.create(Location.create(40.0,8.0),Location.create(45.0,12.0)))
.addInputData("schema:longitude", ValueType.NUMBER)
.addInputData("schema:latitude", ValueType.NUMBER)
.addOutputData("schema:longitude", ValueType.NUMBER)
.addOutputData("schema:latitude", ValueType.NUMBER)
.addOutputData(“mobility:parkingSpaceStatus", ValueType.TEXT)
.withPricingModel(BigIotTypes.PricingModel.PER_ACCESS)
.withMaxPrice(Euros.amount(0.5))
.withLicenseType(LicenseType.CREATIVE_COMMONS);
11 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Offering Description & Semantic Models
Semantic Core Model
The semantic core model defines the vocabulary and structure required to describe Offerings and the context of resources.
The semantic models can be modularized according to their scope, as follow:
Organization module
Provider module
Offering module
Consumer module
Query module
12 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Semantic Domain Models
While the semantic core model defines the core vocabulary and concepts, the Offering Descriptions (ODs) and Offering Queries also require domain independent and domain dependent vocabulary to describe the offerings. Therefore, domain dependent and independent semantic models are used to annotate the OfferingCategory and Input/Output Data of an Offering Description. Along with offering categorization and data modeling, the semantic domain model also defines the vocabulary to semantically annotate the domain dependent features of an offering.
At the moment, two domain models:
Mobility (Parking, Traffic, Bus, Charging,..)
Environment (Air Quality, Pollution, ..)
13 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Offering Description based on TD
Area-level Parking Space Information Offering (JSON-LD)
{"name": "Area-level parking space information","category": "mobility:Parking","providerId": "1452fwr","inputData": [
"name" : "area specification", "members": [
{ "name": "longitude","rdfAnnotation":"schema:latitude", "value" : “schema:Number” },{ "name": "latitude", "rdfAnnotation":"schema:longitude", "value" : “schema:Number” },{ "name": "radius", "rdfAnnotation":"schema:geoRadius", "value" : “schema:Number” }]
],"outputData": [
{"name": "parking name", "rdfAnnotation": "mobility:parkingName", "value" : “schema:Text”},{"name": "available spaces", "rdfAnnotation": "mobility:parkingNumberOfVacantSpaces", "value" :
“schema:Number” },{"name": "occupied spaces", "rdfAnnotation": "mobility:parkingNumberOfOccupiedSpaces", "value" :
“schema:Number” }],"endpoint": {
"url": "http://example.org/pspot","method": "HTTP_GET","accessInterfaceType": "BIGIOT_LIB"
},"license": { "type": "OPEN_DATA_LICENSE" },"price": {
"amount": 0.005,"currency": "EUR","accounting": "PER_ACCESS"
},"region": “http://sws.geonames.org/3128760/”
}
15 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Use Case Clusters Barcelona
Use Case Cluster Northern Germany Barcelona Piedmont
Smart Parking
Smart Traffic Management
Public Transport Optimization
Healthy Bike Navigation
Smart Bike Sharing
Incentive-based Green Route Planning
Multi-Modal Route Optimizer
Smart Charging
Device-to-Device Communication
Use Case Cluster NorthernGermany
Barcelona Piedmont
Smart Parking
Smart Traffic Management
Public Transport Optimization
Bike Mobility
Incentive-based Green Route Planning
Multi-Modal Route Optimizer
Smart Charging
Device-to-Device Communication
16 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Smart Traffic Management
Applications: Traffic Information Center tool, Traffic Information to Citizens
Services: Traffic monitoring, Environmental monitoring, Traffic Recommendations
Smart Objects: Bluetooth and Magnetometers detectors, SEAT Cars Air Quality sensors, Simulated Data, Noise detectors
Platforms: Open IoT, Bosch BEZIRK, Worldsensing, Sentilo
On the basis of traffic and environment monitoring (e.g., air quality sensors on connected cars or noise detectors), traffic recommendations will be supported to improve traffic conditions and minimize emissions caused by traffic jams, and waiting times.
17 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Smart Parking
Application: SEAT ParkFinder
Services: Parking Spot Availability Service Platforms: WorldSensingFastPark
SmartObject: Parking Detectors (WorldSensing/FastPark Platform) Real-time accces to 500 availability sensors in
Les Corts area in Barcelona
Effective navigation to parking spots based on availability and distance, taking into account the current traffic conditions and parking prices.
18 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
Incentive-based Green Route Planning
Application: Green Route Planning App
Services: Traffic monitoring, Environment monitoring, Traffic Recommendations Service,…
Smart Objects: Noise detectors, Bluetooth and Magnetometers detectors, SEAT Cars Air Quality sensors
Platform: OpenIoT, BOSCH, WorldSensing
Other services: Access to TMB services
Usage of air quality an noise monitoring across the city in order to plan routes for cars in an environmental friendly manner. Participants will be incentivized to follow green routes by car or use alternative means (i.e. public transport or bikes).
19 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
“How: Getting started is easy - we support you”All you have to do is:
we will support you and after the event will want to learn from you
use our quick start guide
look at the GitHub overview-page if you see interesting data
if so: register in only 30 seconds on the Web-Portal BIG IoT Marketplace and explore the data sets that interest you – there you find all relevant information
Download and integrate the lightweight BIG IoT Java into your project
configure 3 lines of code to get Access to the datasets you want to use
- Look at our GitHub
- Look at our Marketplace
- Ask our Hack Coaches
20 17-18 Oct 2018HackaTown 2018 IoTSWC Barcelona
What to do next?
Visit the marketplace at
https://market.big-iot.org
Try the tutorial at
https://big-iot.github.io/tutorial
Find code examples athttps://github.com/big-iot/example-projects
Thank you for
your attention!
On the Web: http://big-iot.euOn Twitter: @BIG_IoTExamples: https://big-iot.github.io/Youtube: youtube.com/channel/UChQ3H0plkNgOoANrirB9FMwSlideshare: https://www.slideshare.net/BIGIoTProject
Achille Zappa [email protected]
Andreas Ziller [email protected]