Professional Documents
Culture Documents
10.1007@978 3 319 45123 74
10.1007@978 3 319 45123 74
Gran Canaria, Canary Islands, Spain. We remark the architecture for processing and
visualizing the streaming data coming from two sensors physically deployed on the
neighborhood of the seaport and underline new features to truly manage Big Data.
1 Introduction
The fast growth of data is due to improvement in digital sensors, Internet facilities,
software and hardware that have evolved in the last 20 years. This advances allow
to collect and treat huge volume of data in a very efficient and fast way, using new
techniques and algorithms. According to Halevi and Moed (2012), the term Big
Data, first used by Roger Magoulas, includes all these concepts and processes. In
Emani et al. (2015) many Big Data technologies and definitions are described.
Sensors produce huge volumes of data continuously over time, and this leads to
new computational challenges to overcome, challenges of sensor data analytics and
the different areas of research in this context.
SmartPort is a visualization and data management system, supported by an
Internet web, that receives and shows the data of “Puerto de la Luz” seaport. In
Suárez et al. (2015a, b), a first introduction to the entire system can be found.
“Puerto de la Luz”, is one of the main seaports of Spain and the first of the
geographical area of West Africa. With more than 16 km. of docks, this seaport
serves as the crossroads between Europe, Africa and America.
Technologies and computer architectures, both software and hardware, are now
available allowing to mount a smart system in a seaport where officers and users can
exploit a huge amount of data. Recently, the Future Internet platform of the
European Community (FIWARE) architecture (Ramparany et al. 2014) has been
released as a platform that allows the validation of new concepts, technologies,
business models, applications and services in big scale. The University of Las
Palmas de Gran Canaria, as a partner of the FIWARE project, has the goal of
developing innovative projects using this new technology. This platform belongs to
the Program Future Internet Public Private Partnership (FI-PPP), which is a pro-
gram of public-private cooperation in the field of FI technologies, funded by the
European Commission involving more than 152 European companies and organi-
zations (Villaseñor and Estrada 2014).
In a general way, there are numerous sources of available data within a seaport
area. These sources can be grouped into two sets, depending on their nature. The
first set is composed of human made resources and seaport activities, including all
the human elements within the seaport. These elements are important for the seaport
authority who has to manage them. They are also important for the seaport users,
who could make use of them. A second set comprises the natural environment and
includes both static and dynamic parameters of the natural surroundings. See Suárez
et al. (2015a, b).
Web-Based GIS Through a Big Data Open Source Computer … 43
The sources where the acquisition of data is mainly focused are sensors connected
to the Internet. Currently the “Puerto de la Luz” seaport has deployed the Aandela
Instruments series 3791–3798 of water level sensor and Geonica Datamar-2000C
tide gauge. The seaport also has meteorological sensors such as Geonica PTH-4000
for air temperature and relative humidity, Geonica 05106 for wind speed and
directions, and Geonica 52203 for tipping bucket rain gauge.
We conducted the project through the following three requirements:
• Collecting the generated data source sensors.
• Analyzing and processing the measurements.
• Visualizing all these data in a 3D geospatial environment.
Figure 1 illustrates the system architecture of the “Puerto de la Luz” SmartPort
solution which integrates both backend and frontend components as server-side
applications and databases, FIWARE module, virtual globe and web visualization.
Every time the sensors read newer values, they are sent to the Orion Context
Broker. Orion Broker uses a Publish/Subscribe requests, providing the NGSI9 and
NGSI10 interfaces. Using these interfaces, clients can perform several operations:
• Registering context producer applications, e.g. a temperature sensor within a
room.
• Updating context information, e.g. send temperature updates.
• Being notified when changes on context information take place (e.g. the tem-
perature has changed) or with a given frequency (e.g. get the temperature each
minute).
• Querying context information. The Orion Context Broker stores context infor-
mation updated from applications, so queries are resolved based on that
information.
We upload all the data in chronological order to Orion and relying on Cygnus for
sending the data to Cosmos. The solution that is implemented consists in adding
data to Cosmos using the WebHDFS API. To preserve system security in the
front-end application, the Cosmos instance is only accessible from machines within
the same network. Then, making requests directly from the client was dismissed
and thus, another abstraction layer was necessary.
The technologies and techniques used to process and store the data allow to
achieve high data availability and ensure that the whole system is scalable.
However, some technologies like Hive or Hadoop imply a performance trade off, as
showed in Suárez et al. (2015a, b). The proposed architecture minimizes the impact
of these modules by integrating intermediate layers. This way the data transactions
achieve the speed that the interactive user interface demands.
SmartPort offers the possibility to visualize ships in the surroundings of the seaport.
The source information that allows displaying the location of ships is provided by
the Automatic Identification System (AIS) data streaming which is recollected and
provided by the seaport authority. In Fig. 3 two web interfaces of SmartPort are
shown: (a) perspective view and (b) top view of Las Palmas Puerto de la Luz
seaport.
The AIS system protocol defines a set of messages that are sent by the ships
using a VHF transceiver and later displayed by information systems located in the
own ships or shore stations.
AIS technology has proven to be helpful for different scenarios:
• Automated identification and discovery of neighboring ships position
• Complementing radar sensors in avoiding collisions between ships.
• Monitoring fleets, for example, by seaport authorities.
• Ships traffic services.
• Maritime rescue and security.
In the case of SmartPort, the seaport authority has given access to a web data
stream of AIS messages. The service feeds the stream with AIVDM/AIVDO text
messages known as sentences. The following message is an example:
!AIVDM,1,1,B,177KQJ5000G?tÒK>RA1wUbN0TKH,0*5C
In SmartPort the AIS stream is received by a custom Python script which opens
the HTTP stream and starts decoding the sentences as they arrive. The decoding of
each sentence is done by a Python script provided by the GPSD developers tools.
Once the sentence is decoded, the main script saves it in a parsed stream in order to
have it accessible for possible comparisons with the backed up raw stream. After
46 P. Fernández et al.
Fig. 3 Two web interfaces of SmartPort: a perspective view and b top view of Las Palmas Puerto
de la Luz seaport
Web-Based GIS Through a Big Data Open Source Computer … 47
the packet is backed up, the script sends a push request to the Orion GE instance in
order to publish it as context data, see for example:
At this point, messages are accessible as context data in the Orion GE instance,
allowing the front end to easily query the data of interest. Full architecture of
SmartPort’s AIS processing is shown at Fig. 4.
The type of messages are dependent of the data being transmitted and the
category of the ship that is transmitting, having large ships a distinct set of mes-
sages than the smaller ones.
From the AIS stream, we capture, among other variables, the following data:
• International Maritime Organization (IMO) ID
• Origin
• Destination
• Ship type
• Ship dimensions
• Last known location
• Estimated time of arrival
48 P. Fernández et al.
Since some application components are located inside different iframes, they
need to exchange information between them, we have developed a small
JavaScript API called iframeCommunicationAPI that simplifies this process.
50 P. Fernández et al.
In order to use this API, each element that could receive messages must register
an input with an action that will be performed when a message arrives. Once an
input is registered, an element can send a message to it specifying the target iframe
name, the target input name and the data to be transmitted.
5 Smartport in Action
6 Conclusions
SmartPort is a system able to handle, manage and visualize geographic data. Thanks
to the functionality of generating graphs, we have the capability to obtain a history
of data from sensors of the Puerto de la Luz de las Palmas GC. This is extremely
useful, since the quick access to all the information generated by sensors allows us
to analyze, look for patterns, and in a close the future, foresee possible situations
that require some action by the port. We would like to highlight the alert manager; a
system that allows to monitor and display sensor information, and take live deci-
sions when a sensor takes a certain value. We have done specific systems for static
or dynamic data in the latter case with Big Data solutions such as Hadoop, inte-
grated into the GE Cosmos and implementing a specific high efficient architecture.
One of the next steps in the application is to improve the analytical features. We
consider it essential to give intelligence to the implementation and to continue the
steps towards a geographic decision-making application.
Acknowledgments This work has been supported by the Spanish Ministry of Economy and
Competitiveness (MINECO) Project RTC-2014-2258-8, by the European Commission FP7 Project
“FIWARE: Future Internet Core Platform” FP7-2011-ICT-FI 285248 and by FP7 Grant
Agreement No. 632893 Project “Future Internet, Core. FI-Core”. The second author wants to thank
Agencia Canaria de Investigación, Innovación y Sociedad de la Información, for the grant
“Formación del Personal Investigador-2012 of Gobierno de Canarias”.
Web-Based GIS Through a Big Data Open Source Computer … 53
References
Emani CK, Cullot N, Nicolle C (2015) Understandable big data: a survey. Comput Sci Rev 17:70–81
Halevi G, Moed H (2012) The evolution of big data as a research and scientific topic: overview of
the literature. Res Trends 30:3–6
Ramparany F, Galán Márquez F, Soriano J, Elsaleh T (2014) Handling smart environment devices,
data and services at the semantic level with the FI-WARE core platform. In 2014 IEEE
International Conference on Big Data (Big Data). Washington, DC, USA, pp 14–20
Suárez JP, Trujillo A, Domínguez C, Santana JM, Fernández P (2015a) Managing and 3d
visualization of real-time big geo-referenced data from Las Palmas port through a flexible open
source computer architecture. In: GISTAM 2015, 1st international conference on geographical
information systems theory, applications and management, Barcelona Spain, April 28–30.
Scitepress, Lisbon Portugal, pp 72–82
Suárez JP, Trujillo A, Santana JM, de la Calle M, Gómez-Deck D (2015b) An efficient terrain level
of detail implementation for mobile devices and performance study. Comput Environ Urban
Syst 52:21–33
Trujillo A, Suárez JP, de la Calle M, Gómez-Deck D, Pedriza A, Santana JM (2013) Glob3
mobile: an open source framework for designing virtual globes on ios and android mobile
devices. In: Progress and new trends in 3D geoinformation sciences. Springer, Berlin, pp 211–
229
Villaseñor E, Estrada H (2014) Informetric mapping of “big data” in FI-WARE. In: Proceedings of
the 15th annual international conference on digital government research, Aguascalientes,
Mexico, June 18–21. ACM, New York, USA, pp 348–349