M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P...

23
M2P GI Thème SLE 2012-2013 UE PM2M Projet de Service Machine-to-Machine http://air.imag.fr/mediawiki/index.php/Projets_M2PGI_Services_Machine-to-Machine Didier DONSEZ*#, Olivier GRUBER*# Gérard FORESTIER* *Université Joseph Fourier – Grenoble 1 # LIG / ERODS

Transcript of M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P...

Page 1: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

M2P GI Thème SLE 2012-2013 UE PM2MProjet de Service Machine-to-Machine http://air.imag.fr/mediawiki/index.php/Projets_M2PGI_Services_Machine-to-Machine

Didier DONSEZ*#,Olivier GRUBER*#

Gérard FORESTIER**Université Joseph Fourier – Grenoble 1

# LIG / ERODS

Page 2: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Partie 2

Page 3: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

3

Sommaire Contexte : les services Machine à Machine Projet Sous-parties Technologies

Page 4: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

4

EnvironnementPhysique

Transformation

Infrastructure IT

Action

An

al

ys

e

Le Machine-à-Machine :Nouvelle vague du "e-business" :

Création de services à valeur ajoutée basé sur les capteurs Intégration sécurisée

des environnements physiques / opérationnelset des infrastructures IT

Support "temps réel" à la prise de décision Intégration avec d'autres contextes d'entreprise Création de nouveaux services

Page 5: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

5

M2M Applicationsand new business model

Transportation and chain supply Fleet management

Office appliances Copiers, … Vending machines

Optimize Behavior study (second choice is Coke is unavailable

Security and Homeland security Security camera

Predictive (preventive) maintenance Leblanc boilers

Insurance Pay as you drive (Norwhich Union, AXA in France for business fleet)

Healthcare Glycemy (blood sugar level) Hypertension heart attack forecast

Smart city Intelligent trash can

Optimize travel according levels of all trash containers Etc …

Page 6: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Exemple d'Application Distribution Electrique

Web

Intra

net /

VPN

Fournisseurs de services à valeur ajoutée

(fabricant, intégrateur)

Administrateur

Superviseur

Réseau de terrain P

P

A C C

C AC C

Réseau de terrain P

P

A C C

AC A C

Fabrique P PasserelleOSGi

Notation

C Capteur

A Actionneur

Réseau de distribution électriqueDistributeurd’électricité

AC Capteur+Actionneur

Page 7: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Exemple d'applicationDiagnostic de véhicules à distance

Aujourd’hui la part de l’électronique dans la conception d’un véhicule est de 35%. 90% des innovations se font dans le domaine électronique

Cependant 50% des pannes sont provoquées par des défaillances dans ce domaine.

Page 8: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Exemple de ScénarioLe photocopieur en location

Le photocopieur est installé en location chez le client

Le loueur (est une organisme financier) facture mensuellement à la consommation

Fixe mensuel + tarif par feuille

Le loueur sous-traite la maintenance simple à une société spécialisée

La société de maintenance réalise un diagnostic à distance avant d’envoyer un agent

L’agent de maintenance interroge sur place le logiciel de diagnostic

Le fabricant peut mettre à jour le logiciel embarqué RICOH (26% copier market share) inclut une passerelle OSGi dans ses

photocopieurs (en 2006). http://www2.osgi.org/wiki/uploads/Conference/OSGiCommunityBushnaq.pdf

Page 9: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

(c) Didier Donsez, 2004

CustomerCustomer

Exemple de ScénarioLe photocopieur en location

ManufacturerManufacturer

RenterRenter

install and start the new version of the

diagnotic tools

update the version on the panel GUI core

add a custom tab (ie plugin) to the panel

GUI

start the scanner function and the mail function of the copier

subscribe ($€£) to the scanner function and

the mail function of my copier

Page 10: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

OSGi

Exemple d'applicationsDemain?

Taken from the JES book

Page 11: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

11

Architecture Type M2M

$100 Linux ARM/VIA/Atom$200 JavaPhone

$1000Linux/Win32 x86

$1000000Linux/OpenSolaris/Win32

x86/itanium/ultrasparc cluster

CorporateHeadquarter

CorporateHeadquarter

JMS SOAPHTTP SOAPSMTP SOAP…

WarehouseWarehouse

Premise(OSGi or JavaEE orOSGi-based JavaEE)

Edge

Edge(OSGi,MIDLet)

JMS SOAP,HTTP SOAP,SMTP SOAP,XMPP SOAP,RMI, IIOP,Bluetooth, UPnP,…

RFID Readers

Web 2.0

EPC IS(JavaEE)

ONS(WS-basedRESTfulDNS)

sensorsOther

EPC ISs(Aspire,

Fostrack/

Accada, …)

Edge(MIDLet,

Android, iOS)

CustomerCustomer

HTTP SOAPHTTP HTMLRMIBlueTooth

HTTP SOAP

Serial,Bluetooth,…

Page 12: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

12

PM2M (main) technologies JavaEE

EJB3.0 + JSR 181, JMS, WS* JMX OSGi

Felix framework(Apache Karaf) Felix iPOJO EventAdmin WireAdmin UPnP RXTX

LDAP SMTP/POP WSN (ZigBee, 6lowPAN) …

Page 13: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

13

5 Sous-projets

Page 14: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Prêt Materiel

26/01/13U

E PM

2M I

ntro

duct

ion

14

Page 15: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

15

Sous projet global Intégration

Affichage des résultats dans la console Par exemple JFreeChart (compas, thermometer, …)

Export KML (position+temp+…+photo/video) Gekmllib (google code)

Import a posteri de photos, vidéos, … (date appareil, jpeg metadata)

Interopérabilité via un ONS commun

Page 16: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

16

Démonstration Finale

5 edges OSGi 2 Snowball, 3 Raspberry PI

1 serveur de télémetrie (JavaEE) Intégrant tous les types d’information Collaboration entre tous les groupes Séparation du travail Interface commune

1 serveur LDAP Inventaire des ressources

Adresse IP (dynamique) Capabilities Certificats X509 des ressources

Contraintes Les edges doivent tourner

sur des distributions Linux embarqué et JVM embarqué

Page 17: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

17

Rendu Code

Documentation en anglais sur AIR

Page 18: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

18

Liens http://air.imag.fr

Page 19: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

19

CV En avril, vous pouvez compléter votre CV avec

M2M, Internet of Things, RFID, NFC OSGi JavaEE (Enterprise Beans 3 (EB, SB, MDB) Web Services GWT JMX UPnP EPCGlobal (ALE, EPCIS, ONS) NFCForum FOSS Maven, Ant Java embarqué Linux émbarqué

Page 20: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

20

Premières étapes Choix des sujets Prêts dispositifs Affectation Casiers Création compte AIR

Page 21: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

26/01/13U

E PM

2M I

ntro

duct

ion

21

SVN Pas de Google Code et autre Novaforge de l’UFR

Page 22: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Soutenance Présentation

Manuel Utilisateur Manuel Installation Architecture Fonctionnalités prévues et fonctionnalités réalisées Evolutions envisageables Gestion de projet Difficultés rencontrés Apports personnels Flyer & Poster Éventuellement : film, screencast, diaporama, …

Démonstration

26/01/13U

E PM

2M I

ntro

duct

ion

22

Page 23: M2P GI Thème SLE 2012-2013 UE PM2Mair.imag.fr/images/5/50/Projetm2m-partie2.pdf · 26/01/13 U E P M 2 M I n t r o d u c t i o n 5 M2M Applications and new business model Transportation

Questions ?