Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Félix Jesús Villanueva, Cesar Aguirre, David Villa, Maria José Santofimia, Juan Carlos López
Department of Information Technologies and Systems
School of Computer Science
Ciudad Real, Spain
{felix.villanueva, cesar.aguirre, david.villa, mariajose.santofimia, juancarlos.lopez}@uclm.es
Abstract—Real-time data stream visualization is a challenge Our main motivation is to provide an effective visual-
in multiple application fields of Smart Cities. Examples of ization tool for assessing, in a day to day environment,
these streams are traffic, pollution, social media activity, tactical decisions under the smart city application field. For
citizens dynamic, etc. which show us what, where and when is
happening in the city. The purpose of this paper is to apply achieving this goal, we will use the excellent capacity of the
different types of glyphs for showing real-time stream evolution human brain to identify visual patterns even under complex
of data gathered in the city. The use of glyphs is intended scenarios.
to make the most out human capability for outperforming in Summarily, two are the main contributions of this paper:
detecting visual patterns. first, this work proposes a visualization method for real-time
Keywords-Smart City, real-time data stream visualization, data streams using glyphs; and second, this work also pro-
visualization patterns, instinctive computing. poses an object-oriented architecture complying with all the
needs of the considered visualization paradigm, including
I. I NTRODUCTION scalability, modularity, etc.
The remainder of this article is organized as follows. Next
Visualization is the study of the transformation, from data section describes the state of art in data stream visualization
to visual representations, intended to develop effective and and it also establishes a set of requirements for an appropri-
efficient cognitive processes to gain insight into that data [1]. ate visualization method. Section IV thoroughly describes
Precisely, one of the main issues in smart city develop- the proposed architecture along with interface specification
ment is to transform the great amount of data streams into and data management. Finally, last section describes some
information and finally, into strategic and tactical decisions. of the most relevant aspects of the implemented prototype
In a close future, data streams coming from different sources along with the main conclusions drawn for this work.
(energy metering, pollution monitoring, mobility, social me-
dia, etc.) will provide information in real-time about what II. P REVIOUS WORK
is happening and where is it taking place in any smart city If we analyze current or ongoing methods for monitoring
of the world. a city, one may find out that most of them are carried out
Analyzing all these data flows represents a big challenge with a forensic perspective. For example, Security cameras
partially addressed by the Big Data paradigm. However, are useful, apart from their dissuasion effect, for analyzing
despite producing useful gathered from raw-data provided the records of an event after it has concluded (figure 1).
by sensors, citizen’s smart phones, etc., Big Data fails when Pollution-sensor monitoring networks provide with a set of
unusual circumstances take place. In other words, Big Data parameters recorded to be analyzed with statistical graphics.
can only find what it was originally designed for. Statistical graphics very often summarize very well the
Currently, only human mind can successfully infer new historical data but they are more oriented to strategic de-
information from raw-data where something unusual is cisions, most of the time showing only two variables. For
occurring, and only when this raw-data is showed in an example, if we want to see the temperature evolution we can
appropriate manner. As stated in [2], the way how people show a graphic with the evolution temperature over time. It
perceive and interact with a visualization tool can strongly is easy to elaborate real-time heat maps of the smart city
influence their data understanding as well as the system’s and even programming alerts and warnings according to the
usefulness. temperature evolution.
This work is inspired in the Instinctive Computing term For geo-localized streaming data, ”heat” maps represents
developed by Yang Cai [3] and defined as a computational a very common visualization technique, an example of this
simulation of biological and cognitive instincts. In this work, type of maps is showed in [5] for urban noise. Combining
as it will be exposed later on, we adapt real-time streaming 3D and heat maps also provide a good visualization tool
from smart city to help identifying anomalous patterns in when visualizing one variable. An example of this technique
such streams. is showed, for urban air pollution, in [6].
Figure 2. Example of a glyph composition for pollution monitoring
Figure 4. Architecture
Figure 5. Screenshot of the demo app visualizing pollution related glyphs Figure 6. Glyphs associate with different states of traffic flow
behavior. We can see the PollutionAdmin interface: and the mosaic. We are also working now on developing an
i n t e r f a c e PollutionAdmin { HTML5-based interface with websockets to have a multi-
void addListener ( P o l l u t i o n L i s t e n e r ∗ l s t ) ; screen interface.
void removeListener ( P o l l u t i o n L i s t e n e r ∗ l s t ) ;
};
Finally, our current effort is to periodically match the
form adopted by a glyph at a specific moment in time to
By using PollutionAdmin interface, any update in a ser- a set of forms adopted by the same glyph associated with
vice should be communicated to all services subscribed in- specific states of the data stream. Let’s take an example with
voking the method report with the new data. With this mech- a glyph associated with a data stream of traffic flow in a
anism we also enable a powerful and flexible mechanism for street involving velocity and separation between cars. We
information federation, filter, processing, composition, etc. can identify several states of the traffic flow (fast, fluent,
In figure 5, the main frame represents the map, the right slow, traffic jam, etc.) with a specific glyph form (figure 6).
lateral frame is divided into two parts. In the top we can see Then, we use libraries (the libraries used for recognizing
all glyphs together forming a mosaic to detect anomalies handwritten symbols works fine) to match what is happening
meanwhile in the botton we see specific values of a selected in a street, or in other words, what form is taking its glyph
glyph, which is highlighted in red in both frames, the map and what form from recorded data set look like the current
glyph form so we can extract complex states even if the [6] J. W. Park, C. H. Yun, H.-S. Jung, and Y.-W. Lee, “Visualiza-
current glyph does not exactly match to any of the previously tion of urban air pollution with cloud computing,” in Services
stored glyphs. (SERVICES), 2011 IEEE World Congress on, July 2011, pp.
578–583.
V. C ONCLUSION [7] F. Villanueva, M. Santofimia, D. Villa, J. Barba, and J. Lopez,
“Civitas: The smart city middleware, from sensors to big
In this paper, an ongoing work about a framework for data,” in Innovative Mobile and Internet Services in Ubiq-
data stream information visualization has been presented. uitous Computing (IMIS), 2013 Seventh International Con-
Our intention is to assist in visualization of anomalies in ference on, July 2013, pp. 445–450.
data streams. According to [1], massive parallelism and
data reduction techniques are two of the main challenges [8] M. Henning, “A new approach to object-oriented middle-
ware,” IEEE Internet Computing, vol. 8, no. 1, pp. 66–75,
for visualization software for the upcoming years. With our 2004.
architecture, these two challenges are tackled by developing
highly scalable distributed services for representing data [9] H. Childs, B. Geveci, W. Schroeder, J. Meredith, K. More-
streams using glyphs. In our domain, a glyph can be defined land, C. Sewell, T. Kuhlen, and E. Bethel, “Research chal-
as a data reduction technique which uses the human capacity lenges for visualization software,” Computer, vol. 46, no. 5,
pp. 34–42, May 2013.
to detect visual patterns.
Our first prototype is going to help us choosing the most [10] M. M. Haklay and P. Weber, “Openstreetmap: User-
appropriate form of glyph according to each type of data generated street maps,” IEEE Pervasive Computing,
stream. This next step would be done interviewing different vol. 7, no. 4, pp. 12–18, Oct. 2008. [Online]. Available:
users as citizens, police officers, firefighters, etc., to analyze http://dx.doi.org/10.1109/MPRV.2008.80
the data streams in their domain and to study which glyph [11] F. Moya, D. Villa, F. J. Villanueva, J. Barba,
is more appropriate for them. F. Rincn, and J. C. Lpez, “Embedding standard
Also as future work, we know that the human factor can distributed object-oriented middlewares in wireless sensor
be a weak link in a monitoring environment so we are networks,” Wireless Communications and Mobile Computing,
working in different automatic methods of analyze glyph vol. 9, no. 3, pp. 335–345, 2009. [Online]. Available:
http://dx.doi.org/10.1002/wcm.545
forms. One of the most interesting approaches is to train
an automatic optical character recognition (OCR) software
to detect specific forms of glyphs associated with specific
phenomenons in the smart city.
ACKNOWLEDGMENT
This research was supported by the Spanish Ministry of
Economy and Competitiveness under the project DREAMS
(TEC2011-28666-C04-03).
R EFERENCES
[1] T. Rhyne and M. Chen, “Cutting-edge research in visualiza-
tion,” Computer, vol. 46, no. 5, pp. 22–24, May 2013.