PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

33
PLD GHome H4214 Piccolo Thomas Gu Lei Deville Romain Huang Yachen El Fathi Hicham Liu Xiao Jing

Transcript of PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

Page 1: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

PLD GHome

H4214Piccolo Thomas Gu LeiDeville Romain Huang YachenEl Fathi Hicham Liu Xiao Jing

Page 2: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

PLD GHome H4214

Gestion de Projet Partie Serveur

Architectures Noyau Applicatif Moteur de Règle IHM Web

Partie Système Gestionnaire de Mémoire : Gmem Gestionnaire de Tâches : Gthread

Conlusion

2/33

Page 3: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

Gestion de Projet

3/33

Travail en binômes

Découpage du projet en 5 modules: Serveur Principal Interface Web Moteur de Règles GMem GThread

Page 4: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

PLD GHome Partie Serveur

4/33

Page 5: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

Architecture Logicielle

5/33

Page 6: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

Architecture Base de Donnée

6/33

Page 7: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

7

Plan d’Intégration Intégration Serveur - Interface Web

Base de Données

Intégration Serveur - Moteur de Règles Base de Données Communication par Socket

Page 8: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

8

Partie ServeurNoyaux Applicatif

Page 9: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

9

Partie ServeurNoyaux Applicatif

Utilisation de

Signaux Slot ou Multi Thread

Framework Très Riche

Page 10: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

10

Partie ServeurNoyaux Applicatif

Convention Cryptage de mot de passe Structure de Base de Données …

Pattern : “Your are master of yourself”

Classe Abstraite : wCapteur

Page 11: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

11

Partie ServeurNoyaux Applicatif

Une architecture en couche :

Page 12: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

12

Partie ServeurMoteur de Règle

Page 13: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

13

Partie ServeurMoteur de Règles

Conception

Page 14: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

14

Partie ServeurMoteur de Règles

Données Utilisées :Derniers enregistrements dans la BDD

Fréquence

Limites

Page 15: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

15

Partie ServeurMoteur de Règles

Sur une valeur de capteurEx : Si T > 25, alors éteindre le chauffage

Sur un ensemble de valeurs de capteursEx : Si il y a une présence devant la porte et la porte est fermée, alors ouvrir la porte

Page 16: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

16

Partie ServeurIHM Web

Page 17: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

17

Partie ServeurIHM Web

Choix Technique

PHP / MySQL Extension PDO pour les accès à la BDD Interface uniquement de visualisation

Page 18: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

18

Partie ServeurIHM Web

Sécurité d’Accès : Login

Page 19: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

19

Partie ServeurIHM Web

Interface Simple de Visualisation Choix de capteur Choix de l’intervalle de temps

Page 20: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

20

Partie ServeurDémonstration

Page 21: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

21

PLD GHomePartie Système

Page 22: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

22

Partie SystèmeGestionnaire de Mémoire : GMem

Page 23: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

23

Partie SystèmeGestionnaire de Mémoire : GMem

Structure de la zone mémoire Définition de la taille de la zone mémoire Notion de Chunk

Algorithme First Fit

Page 24: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

24

Partie SystèmeGestionnaire de Mémoire : GMem

Page 25: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

25

Partie SystèmeGestionnaire de Mémoire : GMem Allocation d’une zone mémoire

Page 26: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

26

Partie SystèmeGestionnaire de Mémoire : GMem Désallocation d’une zone mémoire

Page 27: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

27

Partie SystèmeGestionnaire de Mémoire : GMem Désallocation d’une zone mémoire

Page 28: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

28

Partie SystèmeGestionnaire de Tâches : GThread

Page 29: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

29

Partie SystèmeGestionnaire de Mémoire : GMem Mécanisme de l’ordonnanceur

Page 30: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

30

Partie SystèmeGestionnaire de Mémoire : GMem

Changement de contexte  Traitement d'interruption  Synchronisation entre contextes

Utilisation de Sémaphores

Page 31: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

31

Partie SystèmeDémonstration

Page 32: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

32

PLD GHomeConclusion

Page 33: PLD GHome H4214 Piccolo ThomasGu Lei Deville RomainHuang Yachen El Fathi HichamLiu Xiao Jing.

33

Merci de Votre Attention.