architecture - kobe universitymasa-n/lecture/gakusai/docs/2...software architecture this requires to...
TRANSCRIPT
![Page 1: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/1.jpg)
ARCHITECTURE
PHILIPPE LALANDA
KOBE UNIVERSITY – AUGUST 2017
![Page 2: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/2.jpg)
Philippe Lalanda - 2017
Purpose of this lecture
- Present the global architecture of pervasive systems
- Describe the different components
2
![Page 3: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/3.jpg)
Philippe Lalanda - 2017
Agenda
Introduction – Global architecture
Smart devices layer
Gateway layer
Cloud layer
Architectural variability
Challenges and conclusion
3
![Page 4: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/4.jpg)
Philippe Lalanda - 2017
Pervasive computing
Pervasive computing promotes the integration of smart,networked devices in our living environments in order toprovide us services.
Those services
are context aware
require minimal and natural interaction
bring real added value
are easy to administrate by end-users
4
![Page 5: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/5.jpg)
Philippe Lalanda - 2017
Software complexity
Implementing such pervasive services is very challenging. Itrequires to
get contextual information from real world
run reactive services
run more deliberative services
store data for analysis and learning
ensure non functional properties
be secure and ensure privacy
etc.
5
![Page 6: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/6.jpg)
Philippe Lalanda - 2017
Software architecture
This requires to build and manage complex architectures,mixing software, networks, and electronics
Software architecturedescribes the high level structures of a software system in terms of components and connectors between these components
connectors are used to transmit domain data and control information
6
![Page 7: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/7.jpg)
Philippe Lalanda - 2017
Software architecture
Software architectures specifyWhere are the main computing elements?
Where are the main data sources?
What are the main control flows?
What are the critical paths and the performancecriteria?
What are the needs in terms of computing platforms?
What are the levels of coupling and cohesion?
A good practice to start designing is to identify the mainfunctions
7
![Page 8: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/8.jpg)
Philippe Lalanda - 2017
Store longer tem data
Pervasive computing – main functions
Sense data
Store data
Act on environment
Display results Run reactive services
Display results Run deliberative services
8
![Page 9: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/9.jpg)
Philippe Lalanda - 2017
Contraints
Integrated in the environment
Store longer tem data
Sense data
Store data
Act on environment
Display results Run reactive services
Display results Run deliberative services
9
![Page 10: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/10.jpg)
Philippe Lalanda - 2017
Contraints
Near the sensors(wireless distance)
Store longer tem data
Sense data
Store data
Act on environment
Display results Run reactive services
Display results Run deliberative services
10
![Page 11: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/11.jpg)
Philippe Lalanda - 2017
Contraints
On mobiles or laptops
Store longer tem data
Sense data
Store data
Act on environment
Display results Run reactive services
Display results Run deliberative services
11
![Page 12: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/12.jpg)
Philippe Lalanda - 2017
Contraints
Store longer tem data
Sense data
Store data
Act on environment
Display results Run reactive services
Display results Run deliberative services
Wherever you can getenough resources(Cloud)
12
![Page 13: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/13.jpg)
Philippe Lalanda - 2017
High level architecture
Smart device
Gateway (edge)
Cloud
Wireless
Internet, GSM
This layer runs local, real-time services and enables the stream of data to move from one level to the next for more processing.
This layer in made of objects integrated in our physical environment, generating a stream of relevant data.
This layer stores and uses to the data collectedfrom all layers. It provides more deliberative services based on big data, learning, advancedprocessing.
WEB
Web presentation, multi-modalities,additional services (WS).
13
![Page 14: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/14.jpg)
Philippe Lalanda - 2017
Example: Activity tracking at home
Activity tracker
Smart devicesproviding contextual information Gateway running
reactive services(fall detection)
Application Data Admin Web App
Data re-direction
Deliberative servicesData storageAdministration
Web presentation
14
![Page 15: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/15.jpg)
Philippe Lalanda - 2017
Software based
This architecture is very challenging regarding softwaremost non functional aspects are treated at the software
level
business value is in software
Focus of next lecture
For now, let us focus ondescription of each layer
main components of each layer
15
![Page 16: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/16.jpg)
Philippe Lalanda - 2017
Agenda
Introduction – Global architecture
Smart devices layer
Gateway layer
Cloud layer
Architectural variability
Challenges and conclusion
16
![Page 17: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/17.jpg)
Philippe Lalanda - 2017
Smart devices layer
Smart device
Gateway
Cloud infrastructure
This layer in made of objects integrated in our physical environment, generating a stream of relevant data.
17
![Page 18: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/18.jpg)
Philippe Lalanda - 2017
Smart devices - definition
The first layer is made of a number of smart, communication-enabled devices connected via wireless protocols to
the gateway layer
possibly to each other (device-to-device)
Smart device = sensing + communicating capabilities
Smoke and CO2 detector
Cam indoor Learning thermostat Smart fridge
18
![Page 19: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/19.jpg)
Philippe Lalanda - 2017
Smart devices
Smart devices can be installed everywhere in the physical environment
in a door, in a field, in a tree, ...
They can be mobilesmart clothes, smart phones
They depend on software (to prune/aggregate/smooth captured data)
electricity (battery or main)
19
![Page 20: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/20.jpg)
Philippe Lalanda - 2017
Smart devices - functions
Main functions:Get data from the environment
Process and store data
Send data to IoT gateways or other devices
Receive information from IoT gateways or other devices
Panasonic smart devices for home
20
![Page 21: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/21.jpg)
Philippe Lalanda - 2017
Sensing function
Acoustic, sound, vibration
Thermal, heat, temperature
Humidity, moisture, barometric pressure
Light, images
Fluid velocity and flow
Position, displacement
Speed, acceleration, angle
Proximity, presence
Electric current, potential
Radiation, chemical
...
Bundle of popular sensors (for Arduino)21
![Page 22: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/22.jpg)
Philippe Lalanda - 2017
Communication function
Main functions:Allow data transmission between devices/computers
Domain data and control data
quality of service
22
![Page 23: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/23.jpg)
Philippe Lalanda - 2017
Networking
LANShort range
Good for:
- Buildings, plants- Mobile- Cost
Not good for:
- Battery life- Wide area
Cellular/SatelliteLong range
Good for:
- Coverage- High data range
Not good for:
- Battery life- cost
Low Power WANLong range
Good for:
- Coverage- Battery life- Cost
Not good for:
- High data rate
23
![Page 24: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/24.jpg)
Philippe Lalanda - 2017
Selecting a smart device
Smart devices must meet applications requirementsmany smart devices around (some are multi-sensors)varying technical and functional propertiesgetting the right ones is a crucial step
Aspects to consideraccuracyreliability durability consumptionplatform (Arduino: 5V sensor is more convenient than 3V3)Aesthetics
24
![Page 25: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/25.jpg)
Philippe Lalanda - 2017
Accuracy – health application
Heart beat rate
+/- 1 +/- 5 +/- 20
25
![Page 26: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/26.jpg)
Philippe Lalanda - 2017
Reliability – temperature application
Magnetic sensibility
Smart buildingSmart factory
26
![Page 27: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/27.jpg)
Philippe Lalanda - 2017
Durability – Fire management application
Moisture sensibility
Tropical forest Smart house
27
![Page 28: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/28.jpg)
Philippe Lalanda - 2017
Consumption – parking help application
Accessibility
In the concrete In the ceiling
28
![Page 29: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/29.jpg)
Philippe Lalanda - 2017
Aesthetic and comfort
Heart beat rate
Cardio strap Cardio watch
29
![Page 30: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/30.jpg)
Philippe Lalanda - 2017
Building smart devices
Smart device = (sensors + micro-controller)sensors deal with the capture of environmental
informationmicro-controller deals with computing, storage and networking
Note: A µ-controller is a small computer on a single integrated circuit. It includes one or more CPU, memory, peripherals and network chips.Low consumption. Cheaper, slower than multipurpose micro-processors.
Sensor µ-controllerSensor
30
![Page 31: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/31.jpg)
Philippe Lalanda - 2017
The ARDUINO example
Single-board microcontroller Open source
Equipped with sets of digital/analog I/O
Several versions
Development kit (C)
Plug sensors
Program a functionbased on collecteddata
USB connection(to dev. PC)
31
![Page 32: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/32.jpg)
Philippe Lalanda - 2017
The ARDUINO programming environment
A usual development environmentC programming language (with restrictions)
loop-based: read/process/store
easy but requires specific skills
32
![Page 33: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/33.jpg)
Philippe Lalanda - 2017
ARDUINO products
$25($10)
30$($12)
60$
33
![Page 34: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/34.jpg)
Philippe Lalanda - 2017
Alternatives
LaunchPad MSP430Texas Instrument$4
(for simple work)
NanodeEthernet connectionCompatible with Arduino$55
(for web-based sensors)
STM 32 DiscoveryST Microelectronics$10
(more powerful)
34
![Page 35: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/35.jpg)
Philippe Lalanda - 2017
Conclusion about smart devices
There are hundreds of smart devices on the marketdifferent sensors and µ-controllers
different prices and qualities
different networking choices
Challengesgetting more and more accurate and reliable
lower energy
Good devices are essential
35
![Page 36: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/36.jpg)
Philippe Lalanda - 2017
IIoT versus IoT
36
![Page 37: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/37.jpg)
Philippe Lalanda - 2017
Agenda
Introduction – Global architecture
Smart devices layer
Gateway layer
Cloud layer
Architectural variability
Challenges and conclusion
37
![Page 38: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/38.jpg)
Philippe Lalanda - 2017
Smart devices layer
Smart device
Gateway
Cloud infrastructure
This layer runs local, real-time services and enables the stream of data to move from one level to the next for more processing.
38
![Page 39: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/39.jpg)
Philippe Lalanda - 2017
IoT gateways - definition
Electronic device serving as a connection point between pervasive devices (floor) and IT systems (cloud)
a crucial element to handle the explosion of devices
and to implement real-time services
Smart devices
IT systems (cloud)
FOG
39
![Page 40: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/40.jpg)
Philippe Lalanda - 2017
IoT gateways - functions
Main functions:Implement multiple protocols
device connectivity (ZigBee, Bluetooth, Ethernet, LoRa,...)
Internet connectivity(Web, Rest, MOM)
Gather, aggregate, process data from devices
Receive information/requests from the Cloud
DELL edge gateways
40
![Page 41: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/41.jpg)
Philippe Lalanda - 2017
Fog (gateways)
Fog computing
Data centers, clouds
Endpoints
Assumes infinitebandwidth and no delay
Traditional model
Data centers, clouds
Devices
Assumes limited bandwidth, possible delays, intermittent connectivity
Assumes limited bandwidth, possible delays, intermittent connectivity
Pervasive model
41
![Page 42: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/42.jpg)
Philippe Lalanda - 2017
Benefits of fog computing (gateways)
Securityprotect data moving to the cloud from leaks
prevent control of devices from outside parties
Responsivenessless networking delays
ScalabilityData grows faster than bandwidth
Resiliencycan resist to network problems (though caching for instance)
42
![Page 43: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/43.jpg)
Philippe Lalanda - 2017
Smart IoT gateways
Traditional IoT gateways are not very smartaggregate and send data
perform simple services
They are getting smarterperforming edge analytics before pushing datato the cloud
43
![Page 44: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/44.jpg)
Philippe Lalanda - 2017
Edge analytics is the future
To cloud
44
![Page 45: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/45.jpg)
Philippe Lalanda - 2017
Building a pervasive gateway
Gateway= (micro-controller + network chips)network chips with multiple connectivity
micro-controller deals with computing and storage
Smart devices µ-controller with connectivity
Ethernet
Radio
45
![Page 46: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/46.jpg)
Philippe Lalanda - 2017
The Raspberry Pi example
Single-board microcontroller runs Linux
Full networking system
software oriented programming
Development kit
Program advanced function
Networks
46
![Page 47: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/47.jpg)
Philippe Lalanda - 2017
The Raspberry Pi programming environment
Software-oriented development environmentC/C++, Java
modern tools (Eclipse, etc.)
47
![Page 48: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/48.jpg)
Philippe Lalanda - 2017
Alternatives
Raspberry PiIntel$35
900 MHz ARMEthernet1 GB RAM
EdisonIntel$70
1 GHz Dual coreWiFi1 GB RAM4 GB Flash
XU4Odroid$75
1 GHz ARMEthernet2 GB RAM4 GB Flash
48
![Page 49: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/49.jpg)
Philippe Lalanda - 2017
Smart devices from a software perspective
Smart device
Availability?Sleeping/Sleeping/waking cyle? API? Events?Semantics?...
Program
49
![Page 50: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/50.jpg)
Philippe Lalanda - 2017
Conclusion about IoT gateways
High fragmentation in the gateway marketspecialized in domains
specialized in networks (loRa vs. Sigfox for instance)
Challengesget smarter
get bigger
get secure
Constant progress but high instability
50
![Page 51: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/51.jpg)
Philippe Lalanda - 2017
Agenda
Introduction – Global architecture
Smart devices layer
Gateway layer
Cloud layer
Architectural variability
Challenges and conclusion
51
![Page 52: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/52.jpg)
Philippe Lalanda - 2017
Smart devices layer
Smart device
Gateway
Cloud infrastructure
This layer stores and uses to the data collectedfrom all layers. It provides more deliberative services based on big data, learning, advancedprocessing.
52
![Page 53: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/53.jpg)
Philippe Lalanda - 2017
Cloud computing - definition
The practice of using a network of remote servers hosted on the Internet to store, manage, and process data.
Cloud
IoT gateways
53
![Page 54: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/54.jpg)
Philippe Lalanda - 2017
Cloud computing - functions
Main functions:Internet connectivity
Receive data from gateways
Send information/requests to gateways
Store data
Analyze data
Provide added-value services
The cloud infrastructure also provides good scalability.
54
![Page 55: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/55.jpg)
Philippe Lalanda - 2017
Benefits of cloud computing
Core advantages:Power
Speed
Cost
Infrastructure management
Deployment
Continuous enhancement
Easier administration
55
![Page 56: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/56.jpg)
Philippe Lalanda - 2017
Big data
A special kind of pervasive servicecollection of data use of analytics algorithmsparallel processing
Allow to get expected and unexpectedfindings.
Very greedy algorithms
56
![Page 57: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/57.jpg)
Philippe Lalanda - 2017
Example - IBM Watson
57
![Page 58: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/58.jpg)
Philippe Lalanda - 2017
Conclusion about cloud computers
Cloud infrastructure providecomputing and storage facilitiesadvanced services (complex algorithms)advanced infrastructure advanced management tools
Questionswhat to do with the data?which data should be stored?
Anarchic today?
58
![Page 59: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/59.jpg)
Philippe Lalanda - 2017
Agenda
Introduction – Global architecture
Smart devices layer
Gateway layer
Cloud layer
Architectural variability
Challenges and conclusion
59
![Page 60: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/60.jpg)
Philippe Lalanda - 2017
Architectures are big
Size Duration Programmers LOC Examples
Very small 4 months 1 2000 Course project
Small 2 years 3 50K Pace maker
Medium 3 years 10 100K Optimizing compiler
Large 5 years 100 1M MS Word, Excel
Very large 10 years 1000 10M Air traffic controlSpace shuttle
Very very large
15+ years 1000 35M W2K
Ultra large ? ? ? Pervasive computingConnected health
60
![Page 61: ARCHITECTURE - Kobe Universitymasa-n/lecture/gakusai/docs/2...Software architecture This requires to build and manage complex architectures, mixing software, networks, and electronics](https://reader033.vdocument.in/reader033/viewer/2022060317/5f0c65a57e708231d43532a9/html5/thumbnails/61.jpg)
Philippe Lalanda - 2017
Big diversity
Up to 15 km1meter
There are multiple variations for this architecturenetworks, devices, environment, ...
61