Vous êtes sur la page 1sur 2

2011 IEEE International Conference on Consumer Electronics (ICCE)

Using Android Smartphones in a Service-Oriented Video Surveillance System

Iria Estevez-Ayres, Marisol Garcia-Valls, Pablo Basanta-Val and Ivan Fernandez-Pacheco Departamento Ingeniera Telemtica, Universidad Carlos III de Madrid, Leganes, Spain VisualTools, Madrid, Spain
AbstractThis paper presents an architecture to improve surveillance applications based on the usage of the serviceoriented paradigm, with android smartphones as user terminals, allowing application dynamic composition and increasing the flexibility of the system.

I. INTRODUCTION Video Surveillance systems have increase their needs of dynamism in order to allow the different users (operators and administrators) to monitor the system selecting different QoS depending on the system status and to access live and recorded video from different localizations, for example, from their mobile devices. More concretely, in IP surveillance systems some resources involved are limited or expensive so dynamic reconfiguration could become competitive advantage for system integrator and designers able to offer flexible applications adaptable to users needs. Advances in programming paradigms have allowed increasing the dynamism and flexibility of distributed environments. Concretely, Service-Oriented approaches provide means of developing decoupled applications in heterogeneous networks by defining the concept of service. A service, in the SOA context, is an entity that receives and sends messages through well-defined interfaces, allowing building more complex applications that increase the value of the system. This concept can be applied to QoS-aware (Quality of Service) systems, in order to ease the configuration and reconfiguration of applications [1]. Besides, Android [2] is a software stack for mobile devices that includes an operating system, middleware and applications that can be suitable for the development of the end-user surveillance application. In this paper, we present a QoS-aware service-based architecture for surveillance systems, and a prototype of this architecture, where a video surveillance application is developed over the Android platform. II. SYSTEM ARCHITECTURE In order to support service-oriented applications, a layered architecture, based on [3], is proposed (see Fig. 1). This architecture relies on the definition of a server that holds all the information of the system (in the system database), manages all the services (service manager) and applications (application manager) in the system, accepts user requests
This work was supported in part by the iLAND Project (100026) of Call 1 of EU ARTEMIS JU and also in part by ARTISTDesign NoE (IST-2007214373) of the EU 7th Framework Programme.

(both QoS and application manager accept these requests), and composes (composition manager) and changes dynamically the applications without jeopardizing the performance of the whole system (the QoS Manager ensures this by the information provided by the QoS control and monitoring component). The services are mostly placed in IP nodes that accept commands from the server (Async Event Manager) in order to offer different QoS, to de/activate a specific service or to send the service data to a specific destination. The communication between server and IP nodes is done through an Asynchronous real-time message passing protocol (DDS [4] in our prototype).

Fig. 1 System Architecture

The architecture also supports RTSP [5] in order to communicate with the smartphone terminals and with the IP cameras. The architecture of the smartphones is built upon the Android architecture, and the service-oriented specific components were developed in the application layer of the android architecture. The smartphones are able of sending requests to the server architecture to change the system configuration, and also accept commands from the server.

III. SURVEILLANCE SYSTEM A. Service Oriented Application In our surveillance application, different types of services were identified: Data acquisition: performed by the IP cameras, returns the raw data using a RTSP protocol. Data storage: receives input from the network and

978-1-4244-8712-7/11/$26.002011 IEEE


stores it. Image preprocessing: the resolution and output stream of the IP cameras are quite heterogeneous. The adaptation of the image is implemented by different services as image decoding, image stabilization and compensation or quality scalability. Image processing: process or transforms the image provided by the former services, in order to extract relevant information. These services include: object tracker, face recognition or people counting. Data processing: analyze the processed data in order to obtain useful conclusions. They also might send status messages to the terminal. They include people tracking or virtual fence (that sends an event if someone trespasses some point of the watched area). Video streaming: sends both live and recorded video to a user terminal. In Fig. 2 appear four different service-oriented applications. From the point of view of the user, it can select to view live or recorded video and the source and quality of this information (camera, starting time and length of the recorded video, and pre-processed or processed data). The user also may configure the system to send a message when the virtual fence is trespassed.

the surveillance control center (in general, the users can only view a set of cameras, and not all the users can change the configuration of the system). Several snapshots of the different menus of the user terminal are shown in Fig. 3.

Fig. 3 Snapshots of the user application. Fig. 4 shows the delay of the beginning of the video transmission once selected in the terminal the source, depending on the type of encoding.

Fig. 4 Delay of the beginning of the video transmission with different types of encoding

IV. CONCLUSIONS Service-oriented paradigm can be successfully applied to surveillance systems, increasing their flexibility and dynamism, allowing the creating of applications of added value, such as the usage of smartphones as user terminals to control and watch over different areas. In this paper, a serviceoriented architecture for surveillance systems was proposed and a prototype of the system using an android terminal was described.
Fig. 2 Service-oriented Surveillance Applications

[1] I. Estvez-Ayres, P. Basanta-Val, M. Garca-Valls, J. A. Fisteus and L. Almeida, QoS-aware Real-Time Composition Algorithms for ServiceBased Applications, IEEE Trans. on Industrial Informatics, vol 5 (3), pp. 278-288, Aug. 2009. Android Operating System, http://www.android.com I. Estvez-Ayres, L. Almeida, M. Garca-Valls and P. Basanta-Val, An Architecture to Support Dynamic Service Composition in Distributed Real-Time Systems, Proc of the 10th IEEE International Symposium on Object/component/service-oriented Real-time distributed Computing (ISORC), May 2007. Santorini Island, Greece. OMG, Data Distribution Service for Real-time systems. Object Management Group, 1.2 formal/07-01-01 edition, January 2007. H. Schulzrinne, A. Rao and R. Lanphier, Real Time Streaming Protocol (RTSP), RFC 2326, http://www.ietf.org/rfc/rfc2326.txt

The architecture also increases the system flexibility and performance by means of interconnecting the different services in a transparent way, i.e., if wind moves the output image of a camera; the system can change the running application in order to stabilize the decoded image before processing. B. Prototype A prototype of the system following the described architecture was implemented and several experiments were carried out. The user terminal was an Android smartphone. The implemented surveillance application offers the possibility of selecting live video or recorded video from a set of registered cameras. The privileges of the user are set from

[2] [3]

[4] [5]