Proj-2015-2016-Intégration de caméra de surveillance UPnP à Openhab/SRS

From air
Jump to navigation Jump to search

The document provides a template of the Software Requirements Specification (SRS). It is inspired of the IEEE/ANSI 830-1998 Standard.

Read first:

Document History
Version Date Authors Description Validator Validation Date

1. Introduction

1.1 Purpose of the requirements document

  • It is our contract
  • The SRS document defines the objectives and the functional requirements and non functional requirements that can permit to achieve our ultimate goal which is to fully integrate a control interface of the UpNP cameras ...

1.2 Scope of the product

By means of the OpenHab interface, we would like to add a camera management function that is not present inside OpenHab.

Therefore, OpenHab will be able to show a streaming video of the cameras and also controlling options if there are any ones.

1.3 Definitions, acronyms and abbreviations

  • UPnP = Universal Plug and Play : is a set of networking protocols that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment.
  • iPOJO = A service component runtime aiming to simplify OSGi application development. It natively supports ALL the dynamism of OSGi. Based on the concept of POJO, application logic is developed easily. Non-functional properties are just injected in the component at runtime.
  • OpenHab = is an Open Source project that aims to allow control of equipements in a netwok by catching events. it also offers a nice user interface which is easy to configure.
  • OpenHab2= this is an improvement of the OpenHab that offers more features.
  • Felix-Apache Framework = is an open source implementation of the OSGi Release 5 core framework specification.
  • Eclipse Smarthome = is a platform that allows the integration of different systems, protocols or standards and that provide a uniform way of user interaction and higher level services.

1.4 References

1.5 Overview of the remainder of the document

Grâce au protocole UPnP, on peut détecter toutes les caméras de surveillance présente sur un réseau.

  • détection des caméras présentes dans un réseau
  • Intégration ds caméras découvertes sur OpenHab
    • liste des caméras découvertes
    • liste des caméras détectés
    • si sélection d'une caméra spécifiques -> affichage d'un flux vidéo
    • prise en compte de l'affichage de toutes les caméras en mosaïque.

2. General description

2.1 Product perspective

  • entrée = caméras
  • sortie = flux vidéo sur OpenHab

2.2 Product functions

  • détection de caméras
  • affichage d'un flux vidéo
  • affichage d'une mosaique

2.3 User characteristics

Pour tous utilisateurs lambda qui veut surveiller un endroit et sait utiliser OpenHab

2.4 General constraints

  • Contrainte matérielle

On a besoin de caméra supportant UPnP

  • bla
    • Contrainte zoom/tilt/pan/motion

Caméra adaptée pour le zoom/tilt/pan.

  • Contrainte logicielle

On a besoin d'OpenHab fonctionnel

  • bla
    • Contrainte Openhab

java, port 8080 libre...

  • Contrainte réseau

Connexion des caméras sur un réseau.

2.5 Assumptions and dependencies

dépendance = OpenHab

3.Specific requirements, covering functional, non-functional and interface requirements

  • document external interfaces,
  • describe system functionality and performance
  • specify logical database requirements,
  • design constraints,
  • emergent system properties and quality characteristics.

3.1 Requirement X.Y.Z (in Structured Natural Language)

Function: dététecter et ajout d'une fonction caméra sur OpenHab


Inputs: images de la caméra

Source: caméras

Outputs: flux vidéo sur OpenHab

Destination: tous les utilisateurs d'openHab

Action: détection, ajout de la caméra. Ajout des fonction zoom/tilt/pan.

  • Natural language sentences (with MUST, MAY, SHALL)
  • Graphical Notations : UML Sequence w/o collaboration diagrams, Process maps, Task Analysis (HTA, CTT)
  • Mathematical Notations
  • Tabular notations for several (condition --> action) tuples

Non functional requirements:

  • Exigence Portabilité

Le programme doit marcher sur n'importe quelle distribution et support (téléphone portable)

  • Exigence Produit

Utilisation d'OpenHab, et UPnP (protocole surveillance)




4. Product evolution

5. Appendices

6. Index