摘要

Video surveillance systems are becoming ubiquitous nowadays. To protect citizens' privacy and to be compliant with legal requirements, surveillance video cannot generally be accessed in public places. However, a large amount of video data is often still required to provide timely services in these places. This work proposes a novel approach to support a developer to improve the service access to surveillance video. Firstly, a mobile web middleware architecture for the development of context-awareness applications, using NFC (Near Field Communication) and a new framework for NFC utilization by analyzing and constructing a service model, are proposed. Based on them, the efficient support for acquiring, interpreting and accessing contexts is provided, and more advanced applications with context-awareness and adaptability to their changing contexts are allowed. Moreover, a privacy-aware approach for video communication in our middleware is proposed. Symmetric key encryption and public-key encryption techniques are used to ensure privacy information security. A real-time scrambling approach to conceal video information is presented. Finally, we present the design and the implementation of the context-aware middleware and validate the expressiveness of application logics through prototype development.