Outils pour utilisateurs

Outils du site


projets:ocs:20142015:gr5

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
projets:ocs:20142015:gr5 [2015/02/17 02:04] – [Hardware Specifications and Distribution of the connected Object] salleprojets:ocs:20142015:gr5 [2015/02/17 16:12] (Version actuelle) – [Software Specifications and Distribution of the high level service for the user] salle
Ligne 54: Ligne 54:
 == Real image of the object == == Real image of the object ==
  
-// add pictures of the object // +{{http://users.polytech.unice.fr/~salle/ocs/img2.jpeg?600}}
 ==== Hardware Specifications and Distribution of the connected Object ==== ==== Hardware Specifications and Distribution of the connected Object ====
  
Ligne 72: Ligne 71:
 | Led 5 mm verte L53GT                | GoTronic | 3037      | 5        | 0,15€      | http://www.gotronic.fr/art-led-5-mm-verte-l53gt-2075.htm                 | 0,75€       | | Led 5 mm verte L53GT                | GoTronic | 3037      | 5        | 0,15€      | http://www.gotronic.fr/art-led-5-mm-verte-l53gt-2075.htm                 | 0,75€       |
 | Interrupteur DS12A                  | GoTronic | 7390      | 1        | 0,95€      | http://www.gotronic.fr/art-interrupteur-ds12a-4432.htm                   | 0,95€       | | Interrupteur DS12A                  | GoTronic | 7390      | 1        | 0,95€      | http://www.gotronic.fr/art-interrupteur-ds12a-4432.htm                   | 0,95€       |
 +| **TOTAL** |||||| **251,60€** |
 == Excel File of the purchases == == Excel File of the purchases ==
  
Ligne 82: Ligne 81:
 ** Web Service for Device Specifications ** ** Web Service for Device Specifications **
  
-The web service embedded in the device is pretty simple. It just exposes three methods :+The web service embedded in the device is pretty simple. It just exposes three methods, reachable through UPnP protocol :
  
-    * turning on/off some LEDs using their unique ID ; +    * turning on/off some LEDs using their unique ID; 
-    * retrieve the LEDs' state (on/off) ;+    * retrieve the LEDs' state (on/off);
     * retrieve the thin force on each thin force sensor.     * retrieve the thin force on each thin force sensor.
  
-Methods are reachable through UPnP protocol.+This may seems too simple, and it does. Actually, we need the embedded software to be as simple as possible. In this way, we will be able to improve the object later without modifying the object itself.
  
-{{http://users.polytech.unice.fr/~salle/ocs/Embedded.png?600}} 
-  
 == Software Distribution of the connected Object == == Software Distribution of the connected Object ==
  
 ** Embedded Software in the connected object ** ** Embedded Software in the connected object **
  
 +__How to embed__
  
 +Read the following instructions if you want to embed this project in your own Phidget:
 +
 +  - download the binary archive;
 +  - process the following instructions: http://stephane.lavirotte.com/teach/cours/oc/TD%20WComp%20et%20Phidget%20107x.pdf
 +
 +__Binary code__
 +
 +Download link: http://users.polytech.unice.fr/~salle/ocs/EmbeddedAppBin.zip
 +
 +__Source code__
 +
 +Download link: http://users.polytech.unice.fr/~salle/ocs/EmbeddedApp.zip
 +
 +This archive contains:
 +
 +    * the container itself (//unforgettablebox.wcc//);
 +    * the auto-generated container C# code (//Container1.cs//);
 +    * source code of our beans:
 +        * //IfContainsStringThenElse.cs//: check if a string contains a given element and throw and event as the result;
 +        * //LedValuesConcatenator.cs//: retrieve the LEDs' state (WARNING: do not reuse, hardcoded values specifics to this project);
 +        * //ThinForceValuesConcatenator.cs//: retrieve the thin force on a given thin force sensor and get the result in JSON format.
 +        * //GetThinForceSensorValue.cs//: retrieve the thin force on a given thin force sensor (used in a former version).
  
-    * All the instructions on what must be installed before deployment of the developed software : 
-    * Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) : 
-    * Sources distribution of the developed software  and how to build the binary distribution (ex. sources of new beans for WComp): 
-// including the list and the  links for all prerequired software // 
-  
 ** Mobile Phone Software ** ** Mobile Phone Software **
  
 The app we made runs under Android 4.4 KitKat and uses Cling Android client library for UPnP communications. The app we made runs under Android 4.4 KitKat and uses Cling Android client library for UPnP communications.
  
-    * The kind of  smart phone that you chose (Reference, Android ? IoS ? Windows Phone X.X ?) 
-    * Binary distribution of the developed software for the phone and how to install  : 
-    * Sources distribution of the developed software  and how to build the binary distribution : 
-// including the list and the  links for all prerequired software // 
-==== Software Specifications and Distribution of the high level service for the user ==== 
  
-// BE CAREFUL : Here is the main purpose of your project. //+__Binary code__
  
-// BE CAREFUL : The connected object is only a part of the composition/orchestration between other services to build a high level service // +Download link: http://users.polytech.unice.fr/~salle/ocs/unforgettable-box-android.zip
  
-// BE CAREFUL : Don't forget that the added value and intelligence of the high level service are based on the use of multiple web services like meteo / agenda ... //+__Source code__
  
-// BE CAREFUL : The use of a user  terminal and any other Man Machine interface in order to use directly the object is not the purpose of this module //+Download link: http://users.polytech.unice.fr/~salle/ocs/unforgettable-box.apk 
 +==== Software Specifications and Distribution of the high level service for the user ====
  
 +Our orchestrator is located in the cloud. It owns a database that maps hours with objects the user wants to "don't forget".
  
-== Software Specifications of the High Level Service for the user ==+The orchestrator combines our data with the ones provided by webservices like weather webservice. For example, the user can map "10am" with "keys and water bottle". If the weather is good, then the orchestrator will return "keys, water bottle and sunglasses"; if not, it returns "keys and water bottle".
  
-// add the description of Specifications of the High Level Service for the user //+We decided to put the orchestrator in the cloud for one reason: we are able to improve it without requesting any update for the user. In this way, we can tomorrow decide to add an agenda webservice, and the user will benefit immediatly. 
 + 
 +== Software Specifications of the High Level Service for the user ==
  
-// including the lsit of the Web Services you use to design new High Level functionalities for the user //+We can imagine multiple improvements using existing webservices:
  
-// Exampleuse of Meteo Web Service to manage the watering of a plant equiped with a connected object //+    * Weather webserviceturn on the LED that stands for sunglasses or umbrella depending on the weather; 
 +    * Agenda webservice: map events with objects and automatically turn on LEDs without having to create "schedules" in our database; 
 +    * SMS webservice: mother will be able to say his son "don't forget your keys today".
  
    
 == Software Distribution of the High Level Service for the user == == Software Distribution of the High Level Service for the user ==
  
-// Here, put all the files needed to build, to compile and to deploy all your software developments for the high level service// +The orchestrator code (PHP) is available here: http://users.polytech.unice.fr/~salle/ocs/unforgettable_webservice.zip
- +
-    * All the instructions on what must be installed before deployment of the developed software (exsoftware stack and WComp): +
-    * Binary distribution of the developed software for the object and how to install (ex. DLL of new beans and wcc of the WComp the assembly) : +
-    * Sources distribution of the developed software  and how to build the binary distribution (ex. sources of new beans in WComp): +
  
 +{{http://users.polytech.unice.fr/~salle/ocs/archi.png?600}}
 ==== VIDEO PICTURES and SCREENSHOTS ==== ==== VIDEO PICTURES and SCREENSHOTS ====
  
-// Here put all that can illustrate the results of your project with .. //+== PICTURES of the object looking like a finished one ==
  
-// VIDEO for demonstrations //+{{http://users.polytech.unice.fr/~salle/ocs/img1.jpeg?600}}
  
-// PICTURES of the object looking like a finished one //+{{http://users.polytech.unice.fr/~salle/ocs/img3.jpeg?600}}
  
-// SCREENSHOTS of sofware applications and developments // +{{http://users.polytech.unice.fr/~salle/ocs/img4.jpeg?600}}
  
 +== SCREENSHOTS of sofware applications and developments ==
 +
 +{{http://users.polytech.unice.fr/~salle/ocs/Embedded.png?600}}
  
 +{{http://users.polytech.unice.fr/~salle/ocs/screenapp.png?300}}
projets/ocs/20142015/gr5.1424138680.txt.gz · Dernière modification : 2015/02/17 02:04 de salle