Pasar al contenido principal

MODELADO FORMAL Y METODOS AVANZADOS DE TESTING. APLICACIONES A MEDICINA Y SISTEMAS

RTI2018-093608-B-C33

•
Nombre agencia financiadora Agencia Estatal de Investigación
Acrónimo agencia financiadora AEI
Programa Programa Estatal de I+D+i Orientado a los Retos de la Sociedad
Convocatoria Proyectos I+D+i Retos de Investigación
Año convocatoria 2018
Plan Estatal 2017-2020 Plan Estatal de Investigación Científica y Técnica y de Innovación
Centro beneficiario UNIVERSIDAD DE CADIZ

Resultados relacionados

Resultados totales (Incluyendo duplicados): 38
Encontrada(s) 1 página(s)

RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Aplicación Descentralizada para la Gestión de la Trazabilidad de Cadenas de Suministro

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain es una base de datos distribuida que se caracteriza por asegurar la confiabilidad, transparencia, inmutabilidad y trazabilidad de la información. Esta novedosa tecnología puede ser aplicada en diversos ámbitos cotidianos con el propósito de hacerlos más transparentes y trazables. En este artículo presentamos una aplicación descentralizada con la cual poder gestionar la trazabilidad de cualquier cadena de suministro. Esta aplicación se ha desarrollado con el marco de trabajo Truffle, haciendo posible su interacción con la red \textit{blockchain} pública Ethereum. A través de esta aplicación, cualquier persona podrá acceder, en cualquier momento y desde cualquier lugar, a toda la información sobre una determinada cadena de suministro que contará con una trazabilidad total.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Performance mutation testing

  • Delgado Pérez, Pedro
  • Sánchez, Ana B.
  • Segura, Segio
  • Medina Bulo, María Inmaculada
Performance bugs are known to be a major threat to the success of software products. Performance tests aim to detect performance bugs by executing the program through test cases and checking whether it exhibits a noticeable performance degradation. The principles of mutation testing, a well-established testing technique for the assessment of test suites through the injection of artificial faults, could be exploited to evaluate and improve the detection power of performance tests. However, the application of mutation testing to assess performance tests, henceforth called performance mutation testing (PMT), is a novel research topic with numerous open challenges. In previous papers, we identified some key challenges related to PMT. In this work, we go a step further and explore the feasibility of applying PMT at the source-code level in general-purpose languages. To do so, we revisit concepts associated with classical mutation testing, and design seven novel mutation operators to model known bug-inducing patterns. As a proof of concept, we applied traditional mutation operators as well as performance mutation operators to open-source C++ programs. The results reveal the potential of the new performance-mutants to help assess and enhance performance tests when compared to traditional mutants. A review of live mutants in these programs suggests that they can induce the design of special test inputs. In addition to these promising results, our work brings a whole new set of challenges related to PMT, which will hopefully serve as a starting point for new contributions in the area.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

EDALoCo: Enhancing the accessibility of blockchains through a low-code approach to the development of event-driven applications for smart contract management

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
  • Rutle, Adrian
Blockchain is a cutting-edge technology based on a distributed, secure and immutable ledger that facilitates the registration of transactions and the traceability of tangible and intangible assets without requiring central governance. The agreements between the nodes participating in a blockchain network are defined through smart contracts. However, the compilation, deployment, interaction and monitoring of these smart contracts is a barrier compromising the accessibility of blockchains by non-expert developers. To address this challenge, in this paper, we propose a low-code approach, called EDALoCo, that facilitates the development of event-driven applications for smart contract management. These applications make blockchain more accessible for software developers who are non-experts in this technology as these can be modeled through graphical flows, which specify the communications between data producers, data processors and data consumers. Specifically, we have enhanced the open-source Node-RED low-code platform with blockchain technology, giving support for the creation of user-friendly and lightweight event-driven applications that can compile and deploy smart contracts in a particular blockchain. Additionally, this platform extension allows users to interact with and monitor the smart contracts already deployed in a blockchain network, hiding the implementation details from non-experts in blockchain. This approach was successfully applied to a case study of COVID-19 vaccines to monitor and obtain the temperatures to which these vaccines are continuously exposed, to process them and then to store them in a blockchain network with the aim of making them immutable and traceable to any user. As a conclusion, our approach enables the integration of blockchain with the low-code paradigm, simplifying the development of lightweight event-driven applications for smart contract management. The approach comprises a novel open-source solution that makes data security, immutability and traceability more accessible to software developers who are non-blockchain experts.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Mutation-inspired symbolic execution for software testing

  • Valle Gómez, Kevin Jesús
  • García Domínguez, Antonio
  • Delgado Pérez, Pedro
  • Medina Bulo, María Inmaculada
Software testing is a complex and costly stage during the software development lifecycle. Nowadays, there is a wide variety of solutions to reduce testing costs and improve test quality. Focussing on test case generation, Dynamic Symbolic Execution (DSE) is used to generate tests with good structural coverage. Regarding test suite evaluation, Mutation Testing (MT) assesses the detection capability of the test cases by introducing minor localised changes that resemble real faults. DSE is however known to produce tests that do not have good mutation detection capabilities: in this paper, the authors set out to solve this by combining DSE and MT into a new family of approaches that the authors call Mutation-Inspired Symbolic Execution (MISE). First, this known result on a set of open source programs is confirmed: DSE by itself is not good at killing mutants, detecting only 59.9% out of all mutants. The authors show that a direct combination of DSE and MT (naive MISE) can produce better results, detecting up to 16% more mutants depending on the programme, though at a high computational cost. To reduce these costs, the authors set out a roadmap for more efficient versions of MISE, gaining its advantages while avoiding a large part of its additional costs.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Event-driven temporal models for explanations-ETeMoX: explaining reinforcement learning

  • Parra-Ullauri, Juan Marcelo
  • García Domínguez, Antonio
  • Bencomo, Nelly
  • Zheng, Changgang
  • Zhen, Chen
  • Boubeta Puig, Juan
  • Ortiz Bellot, Guadalupe
  • Yang, Shufan
Modern software systems are increasingly expected to show higher degrees of autonomy and self-management to cope with uncertain and diverse situations. As a consequence, autonomous systems can exhibit unexpected and surprising behaviours. This is exacerbated due to the ubiquity and complexity of Artificial Intelligence (AI)-based systems. This is the case of Reinforcement Learning (RL), where autonomous agents learn through trial-and-error how to find good solutions to a problem. Thus, the underlying decision-making criteria may become opaque to users that interact with the system and who may require explanations about the system's reasoning. Available work for eXplainable Reinforcement Learning (XRL) offers different trade-offs: e.g. for runtime explanations, the approaches are model-specific or can only analyse results after-the-fact. Different from these approaches, this paper aims to provide an online model-agnostic approach for XRL towards trustworthy and understandable AI. We present ETeMoX, an architecture based on temporal models to keep track of the decision-making processes of RL systems. In cases where the resources are limited (e.g. storage capacity or time to response), the architecture also integrates complex event processing, an event-driven approach, for detecting matches to event patterns that need to be stored, instead of keeping the entire history. The approach is applied to a mobile communications case study that uses RL for its decision-making. In order to test the generalisability of our approach, three variants of the underlying RL algorithms are used: Q-Learning, SARSA and DQN. The encouraging results show that using the proposed configurable architecture, RL developers are able to obtain explanations about the evolution of a metric, relationships between metrics, and were able to track situations of interest happening over time windows., This work has been partially sponsored by The Leverhulme Trust Fellowship "QuantUn: quantification of uncertainty using Bayesian surprises" (Grant No. RF-2019-548/9), the EPSRC Research Project Twenty20Insight (Grant No. EP/T017627/1), The Royal Society of Edinburgh project "A Reinforcement Learning Based Resource Management System for Long Term Care for Elderly People" (Grant No. 961_Yang), the Spanish Ministry of Science and Innovation and the European Regional Development Funds under project FAME (Grant No. RTI2018-093608-B-C33], and the Research Plan from the University of Cadiz and Grupo Ener-getico de Puerto Real S.A. under project GANGES (Grant No. IRTP03_UCA).
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

An experimental and practical study on the equivalent mutant connection: An evolutionary approach

  • Delgado Pérez, Pedro
  • Chicano, Francisco
Context: Mutation testing is considered to be a powerful approach to assess and improve the quality of test suites. However, this technique is expensive mainly because some mutants are semantically equivalent to the original program; in general, equivalent mutants require manual revision to differentiate them from useful ones, which is known as the Equivalent Mutant Problem (EMP). Objective: In the past, several authors have proposed different techniques to individually identify certain equivalent mutants, with notable advances in the last years. In our work, by contrast, we address the EMP from a global perspective. Namely, we wonder the extent to which equivalent mutants are connected (i.e., whether they share mutation operators and code areas) as well as the extent to which the knowledge of that connection can benefit the mutant selection process. Such a study could allow going beyond the implicit limit in the traditional individual detection of equivalent mutants. Method: We use an evolutionary algorithm to select the mutants, an approach called Evolutionary Mutation Testing (EMT). We propose a new derived version, Equivalence-Aware EMT (EA-EMT), which penalizes the fitness of known equivalent mutants so that they do not transfer their features to the next generations of mutants. Results: In our experiments applying EMT to well-known C++ programs, we found that (i) equivalent mutants often originate from other equivalent mutants (over 60% on average); (ii) EA-EMT’s approach of penalizing known equivalent mutants provides better results than the original EMT in most of the cases (notably, the more equivalent mutants are detected, the better); and (iii) we can combine EA-EMT with Trivial Compiler Equivalence as a way to automatically identify equivalent mutants in a real situation, reaching a more stable version of EMT. Conclusions: This novel approach opens the way for improvement in other related areas that deal with equivalent versions., This work is partially funded by the European Commission (FEDER), the Spanish Ministry of Science, Innovation and Universities (RTI2018-093608-B-C33), the Spanish Ministry of Innovation and Competitiveness (TIN2017-88213-R), and the University of Malaga (Exhauro project).
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Computing performance requirements for web service compositions

  • García Domínguez, Antonio
  • Palomo Lozano, Francisco
  • Medina Bulo, María Inmaculada
  • Ibias, Alfredo
  • Núñez, Manuel
In order to produce service compositions, modern web applications now combine both in-house and third-party web services. Therefore, their performance depends on the performance of the services that they integrate. At early stages, it may be hard to quantify the performance demanded from the services to meet the requirements of the application, as some services may not be available or may not provide performance guarantees. The authors present several algorithms that compute the required performance for each service from a model of a service composition at an early stage of development. This is also helpful when testing service compositions and selecting candidate web services, enabling performance-driven recommendation systems for web services that could be integrated into service discovery. Domain experts can annotate the model to include partial knowledge on the expected performance of the services. We develop a throughput computation algorithm and two time limit computation algorithms operating on such a model: a baseline algorithm, based on linear programming, and an optimised graph-based algorithm. We conduct theoretical and empirical evaluations of their performance and capabilities on a large sample of models of several classes. Results show that the algorithms can provide an estimation of the performance required by each service, and that the throughput computation algorithm and the graph-based time limit computation algorithm show good performance even in models with many paths.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

MEdit4CEP-SP: A model-driven solution to improve decision-making through user-friendly management and real-time processing of heterogeneous data streams

  • Corral Plaza, David José
  • Ortiz Bellot, Guadalupe
  • Medina Bulo, María Inmaculada
  • Boubeta Puig, Juan
Organisations today are constantly consuming and processing huge amounts of data. Such datasets are often heterogeneous, making it difficult to work with them quickly and easily due to their format constraints or their disparate data structures. Therefore, being able to efficiently and intuitively work with such data to analyse them in real time to detect situations of interest as quickly as possible is a great competitive advantage for companies. Existing approaches have tried to address this issue by providing users with analytics or modelling tools in an isolated way, but not combining them as a onein- all solution. In order to fill this gap, we present MEdit4CEP-SP, a model-driven system that integrates Stream Processing (SP) and Complex Event Processing (CEP) technologies for consuming, processing and analysing heterogeneous data in real time. It provides domain experts with a graphical editor that allows them to infer and define heterogeneous data domains, while also modelling, in a user-friendly way, the situations of interest to be detected in such domains. These graphical definitions are then automatically transformed into code, which is deployed in the processing system at runtime. The alerts detected by the system, in real-time, allow users to react as quickly as possible, thus improving the decision-making process. Additionally, MEdit4CEP-SP provides persistence, storing these definitions in a NoSQL database to permit their reuse by other instances of the system. Further benefits of this system are evaluated and compared with other existing approaches in this paper., Las organizaciones hoy en día están constantemente consumiendo y procesando grandes cantidades de datos. Tales conjuntos de datos son a menudo heterogéneos, lo que dificulta trabajar con ellos de manera rápida y fácil debido a sus restricciones de formato o sus estructuras de datos dispares. Por lo tanto, ser capaz de trabajar de manera eficiente e intuitiva con estos datos para analizarlos en tiempo real para detectar situaciones de interés lo más rápido posible es una gran ventaja competitiva para las empresas. Los enfoques existentes han intentado abordar este problema proporcionando a los usuarios herramientas de análisis o modelado de forma aislada, pero no combinándolas como una solución todo en uno. Para llenar este vacío, presentamos MEdit4CEP-SP, un sistema impulsado por modelos que integra las tecnologías de Procesamiento de Flujo (SP) y Procesamiento de Eventos Complejos (CEP) para consumir, procesar y analizar datos heterogéneos en tiempo real. Proporciona a los expertos del dominio un editor gráfico que les permite inferir y definir dominios de datos heterogéneos, al mismo tiempo que modela, de una manera amigable para el usuario, las situaciones de interés a ser detectadas en dichos dominios. Estas definiciones gráficas se transforman automáticamente en código, que se despliega en el sistema de procesamiento en tiempo de ejecución. Las alertas detectadas por el sistema, en tiempo real, permiten a los usuarios reaccionar lo más rápido posible, mejorando así el proceso de toma de decisiones. Además, MEdit4CEP-SP proporciona persistencia, almacenando estas definiciones en una base de datos NoSQL para permitir su reutilización por otras instancias del sistema. Los beneficios adicionales de este sistema se evalúan y comparan con otros enfoques existentes en este documento., This work was partly supported by the Spanish Ministry of Science and Innovation and the European Regional Development Fund (ERDF) under project FAME (RTI2018-093608-B-C33), and also by the pre-doctoral program of the University of Cádiz, Spain (2017-020/PU/EPIF-FPI-CT/CP).
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

CEPchain: A graphical model-driven solution for integrating complex event processing and blockchain (Abstract)

  • Boubeta Puig, Juan
  • Rosa Bilbao, Jesús
  • Mendling, Jan
Blockchain provides an immutable distributed ledger for storing transactions. One of the challenges of blockchain is the particular processing of dynamic queries due to accumulating costs. Complex Event Processing (CEP) provides efficient and effective support for this in a way, however, that is difficult to integrate with blockchain. This paper addresses the research challenges of integrating blockchain with CEP. More specifically, we envision an effective development environment in which (i) event-driven smart contracts are modeled in a graphical way, which are, in turn, (ii) automatically transformed into complementary code that is deployed in both a CEP engine and a blockchain network, and then (iii) executed on off-chain CEP applications which, connected to different data sources and sinks, automatically invoke smart contracts when event pattern conditions are met. We follow a classic systems engineering approach for defining the concepts of our system, called CEPchain, which addresses the described requirements. CEPchain was evaluated using a real-world case study for vaccine delivery, which requires an unbroken cold chain. The results demonstrate that our approach can be applied without requiring experts on event processing and smart contract languages. Our contribution simplifies the design of integrated CEP and blockchain functionality by hiding implementation details and supporting efficient deployment.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

RectorDApp: Decentralized Application for Managing University Rector Elections

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain is a distributed and secure database that can be applied to all types of transactions. Blockchain technology is growing in popularity because it allows for the development of applications whose information is traceable, immutable, transparent and reliable. Given the advantages that blockchain provides over other traditional systems, in this paper we present a decentralized application, called RectorDApp, for the management of university rector voting in a private, but transparent and immutable way, being able to verify publicly and in real time the election results. RectorDApp, capable of interacting with the Ethereum public blockchain network, was developed using the Truffle framework and the MetaMask software. The results demonstrate that RectorDApp is a highly useful application to address the digital transformation of university rector elections.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

EDALoCo: Enhancing the accessibility of blockchains through a low-code approach to the development of event-driven applications for smart contract management (Abstract)

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
  • Rutle, Adrian
Blockchain is a cutting-edge technology based on a distributed, secure and immutable ledger that facilitates the registration of transactions and the traceability of tangible and intangible assets without requiring central governance. The agreements between the nodes participating in a blockchain network are defined through smart contracts. However, the compilation, deployment, interaction and monitoring of these smart contracts is a barrier compromising the accessibility of blockchains by non-expert developers. To address this challenge, in this paper, we propose a low-code approach, called EDALoCo, that facilitates the development of event-driven applications for smart contract management. These applications make blockchain more accessible for software developers who are non-experts in this technology as these can be modeled through graphical flows, which specify the communications between data producers, data processors and data consumers. Specifically, we have enhanced the open-source Node-RED low-code platform with blockchain technology, giving support for the creation of user-friendly and lightweight eventdriven applications that can compile and deploy smart contracts in a particular blockchain. Additionally, this platform extension allows users to interact with and monitor the smart contracts already deployed in a blockchain network, hiding the implementation details from non-experts in blockchain. This approach was successfully applied to a case study of COVID-19 vaccines to monitor and obtain the temperatures to which these vaccines are continuously exposed, to process them and then to store them in a blockchain network with the aim of making them immutable and traceable to any user. As a conclusion, our approach enables the integration of blockchain with the low-code paradigm, simplifying the development of lightweight event-driven applications for smart contract management. The approach comprises a novel open-source solution that makes data security, immutability and traceability more accessible to software developers who are non-blockchain experts.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

PITS: An Intelligent Transportation System in pandemic times

  • Brazález, Enrique
  • Macià, Hermenegilda
  • Díaz, Gregorio
  • Valero, Valentín
  • Boubeta Puig, Juan
  • Boubeta Puig, Juan
The control of the pandemic caused by SARS-CoV-2 is a challenge for governments all around the globe. To manage this situation, countries have adopted a bundle of measures, including restrictions to population mobility. As a consequence, drivers face with the problem of obtaining fast routes to reach their destinations. In this context, some recent works combine Intelligent Transportation Systems (ITS) with big data processing technologies taking the traffic information into account. However, there are no proposals able to gather the COVID-19 health information, assist in the decision-making process, and compute fast routes in an all-in-one solution. In this paper, we propose a Pandemic Intelligent Transportation System (PITS) based on Complex Event Processing (CEP), Fuzzy Logic (FL) and Colored Petri Nets (CPN). CEP is used to process the COVID-19 health indicators and FL to provide recommendations about city areas that should not be crossed. CPNs are then used to create map models of health areas with the mobility restriction information and obtain fast routes for drivers to reach their destinations. The application of PITS to Madrid region (Spain) demonstrates that this system provides support for authorities in the decision-making process about mobility restrictions and obtain fast routes for drivers. PITS is a versatile proposal which can easily be adapted to other scenarios in order to tackle different emergency situations.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

A Compositional Approach for Complex Event Pattern Modeling and Transformation to Colored Petri Nets with Black Sequencing Transitions

  • Valero, Valentín
  • Díaz, Gregorio
  • Boubeta Puig, Juan
  • Macià, Hermenegilda
  • Brazález, Enrique
Prioritized Colored Petri Nets (PCPNs) are a well-known extension of plain Petri nets in which transitions can have priorities and the tokens on the places carry data information. In this paper, we propose an extension of the PCPN model with black sequencing transitions (BPCPN). This extension allows us to easily model the ordered firing of the same transition using an ordered set of tokens on one of its precondition places. Black sequencing transitions are then presented as a shorthand notation in order to model the processing of a flow of events, represented by one of their precondition places. We then show how black sequencing transitions can be encoded into PCPNs, and their application to model Complex Event Processing (CEP), defining a compositional approach to translate some of the most relevant event pattern operators. We have developed MEdit4CEP-BPCPN, an extension of the MEdit4CEP tool, to provide tool support for this novel technique, thus allowing end users to easily define event patterns and obtain an automatic translation into BPCPNs. This can, in turn, be transformed into a corresponding PCPN, and then be immediately used in CPN Tools. Finally, a health case study concerning the monitoring of pregnant women is considered to illustrate how the event patterns are created and how the BPCPN and PCPN models are obtained by using the MEdit4CEP-BPCPN tool.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Ciberataques a Blockchain en Entornos IoT: un Estudio de Mapeo Sistemático

  • Peregrina-Pérez, María Jesús
  • Lagares-Galán, Jesús
  • Navas-Pérez, Pedro José
  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain es una tecnología relativamente reciente que permite la confiabilidad, trazabilidad, inmutabilidad y transparencia de la información. Ha traído numerosos beneficios en aplicaciones de Internet de las cosas (IoT) como son, la creación de redes seguras, dispositivos interconectados de forma confiable o la supresión de la falsificación de dispositivos. Sin embargo, su proliferación también ha dado lugar a la aparición de nuevos ciberataques que se desconocían hasta el momento. Este artículo presenta un estudio de mapeo sistemático sobre los ciberataques producidos en soluciones que integran redes blockchain, permisionadas y no permisionadas, en entornos IoT. Los resultados demuestran que el uso de la tecnología blockchain proporciona seguridad, transparencia y trazabilidad evitando así la manipulación de los datos en entornos IoT. Además, se confirma que Ethereum es actualmente la plataforma más utilizada que implementa la tecnología blockchain.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Detecting security attacks in cyber-physical systems: a comparison of Mule and WSO2 intelligent IoT architectures

  • Roldán-Gómez, José
  • Boubeta Puig, Juan
  • Pachacama-Castillo, Gabriela
  • Ortiz Bellot, Guadalupe
  • Martínez, José Luis
The Internet of Things (IoT) paradigm keeps growing, and many different IoT devices, such as smartphones and smart appliances, are extensively used in smart industries and smart cities. The benefits of this paradigm are obvious, but these IoT environments have brought with them new challenges, such as detecting and combating cybersecurity attacks against cyber-physical systems. This paper addresses the real-time detection of security attacks in these IoT systems through the combined used of Machine Learning (ML) techniques and Complex Event Processing (CEP). In this regard, in the past we proposed an intelligent architecture that integrates ML with CEP, and which permits the definition of event patterns for the real-time detection of not only specific IoT security attacks, but also novel attacks that have not previously been defined. Our current concern, and the main objective of this paper, is to ensure that the architecture is not necessarily linked to specific vendor technologies and that it can be implemented with other vendor technologies while maintaining its correct functionality. We also set out to evaluate and compare the performance and benefits of alternative implementations. This is why the proposed architecture has been implemented by using technologies from different vendors: firstly, the Mule Enterprise Service Bus (ESB) together with the Esper CEP engine; and secondly, the WSO2 ESB with the Siddhi CEP engine. Both implementations have been tested in terms of performance and stress, and they are compared and discussed in this paper. The results obtained demonstrate that both implementations are suitable and effective, but also that there are notable differences between them: the Mule-based architecture is faster when the architecture makes use of two message broker topics and compares different types of events, while the WSO2-based one is faster when there is a single topic and one event type, and the system has a heavy workload., This work was supported by the Spanish Ministry of Science, Innovation and Universities and the European Union FEDER Funds [grant numbers FPU 17/02007, RTI2018-093608-B-C33, RTI2018-098156-B-C52 and RED2018-102654-T] . This work was also supported by the JCCM [grant number SB-PLY/17/180501/000353] and the Research Plan from the University of Cadiz and Grupo Energetico de Puerto Real S.A. under project GANGES [grant number IRTP03' UCA] . The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Una Solución de Bajo Código para la Detección Automática de Situaciones de Interés en el Ámbito de la Calidad del Aire

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Cada vez son más grandes las cantidades de datos que proceden de múltiples fuentes y que deben ser procesadas para llevar a cabo la toma de decisiones. En este contexto, el Procesamiento de Eventos Complejos (CEP) es una tecnología idónea para lograr este procesamiento mediante la detección automática de patrones de eventos en tiempo real. Sin embargo, se requiere de unos conocimientos avanzados para la implementación de estos patrones aplicados a un dominio concreto. En este artículo se propone una solución de bajo código, basada en Node-RED, que permite la definición gráfica de estos patrones sin necesidad de conocimiento sobre lenguajes de procesamiento de eventos. Concretamente, se ha aplicado a un escenario real relacionado con la detección de situaciones de interés en el ámbito de la calidad del aire.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Evaluating a Flow-Based Programming Approach as an Alternative for Developing CEP Applications in IoT

  • Ortiz Bellot, Guadalupe
  • Castillo, Iván
  • García de Prado Fontela, Alfonso
  • Boubeta Puig, Juan
One of the main advantages brought by the Internet of Things (IoT) is the possibility of having large amounts of data from several sources that allow us, once analyzed, to make decisions in various domains in real time. This implies the need to be able to process large volumes of data in more or less limited processing times depending on the application domain. In this sense, complex event processing (CEP), used in conjunction with an enterprise service bus (ESB), has proven to be very efficient in multiple domains. In search for greater efficiency, some CEP engines offer the option of using flow-based programming (FBP) rather than their traditional programming using CEP together with an event bus. However, its use, while it may be more efficient, can lead to other limitations. In this article, we analyze and describe the performance and limitations of using a CEP engine with an ESB versus a CEP engine with FBP. This will allow developers to decide which option is more convenient for their IoT system depending on the application domain and its specific needs.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Una Aplicación Descentralizada de Gestión de Votaciones a Rector de Universidad

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain es una base de datos distribuida y segura que puede ser aplicada en todo tipo de transacciones. La tecnología blockchain está creciendo en popularidad dado que permite desarrollar aplicaciones cuya información es confiable, transparente, inmutable y trazable. Dadas las ventajas que la blockchain proporciona frente a otros sistemas tradicionales, en este artículo presentamos una aplicación descentralizada (DApp) para la gestión de votaciones a rector de universidad de forma privada, pero a su vez transparente e inmutable, pudiéndose verificar públicamente y en tiempo real los resultados de las elecciones. Esta DApp, capaz de interactuar con la red blockchain pública Ethereum, ha sido desarrollada utilizando el marco de trabajo Truffle y el software MetaMask. Los resultados demuestran que es una aplicación de gran utilidad para llevar a cabo la transformación digital de las elecciones a rector de universidad.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

A microservice architecture for real-time IoT data processing: A reusable Web of things approach for smart ports

  • Ortiz Bellot, Guadalupe
  • Boubeta Puig, Juan
  • Criado, Juan
  • Corral Plaza, David José
  • García de Prado Fontela, Alfonso
  • Medina Bulo, María Inmaculada
  • Iribarne, Luis
Major advances in telecommunications and the Internet of Things have given rise to numerous smart city scenarios in which smart services are provided. What was once a dream for the future has now become reality. However, the need to provide these smart services quickly, efficiently, in an interoperable manner and in real time is a cutting-edge technological challenge. Although some software architectures offer solutions in this area, these are often limited in terms of reusability and maintenance by independent modules —involving the need for system downtime when maintaining or evolving, as well as by a lack of standards in terms of the interoperability of their interface. In this paper, we propose a fully reusable microservice architecture, standardized through the use of the Web of things paradigm, and with high efficiency in real-time data processing, supported by complex event processing techniques. To illustrate the proposal, we present a fully reusable implementation of the microservices necessary for the deployment of the architecture in the field of air quality monitoring and alerting in smart ports. The performance evaluation of this architecture shows excellent results. © 2021 The Author(s), This work was supported by the Spanish Ministry of Science and Innovation and the European Regional Development Fund (ERDF) under research projects CoSmart and FAME (ref. TIN2017–83964-R and RTI2018–093608-B-C33), and by regional projects (ref. CEIJ-C01.1 and CEIJ-C01.2) coordinated from UAL-UCA and funded by Campus de Excelencia Internacional del Mar (CEIMAR) consortium. We would like to thank J. M. Pérez Sánchez, A. M. Garrido López and R. J. Catalán Alonso from the Autoridad Portuaria de la Bahía de Cádiz, Spain, for sharing valuable knowledge on port management and environment and collaborating with us in this work.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Paving the way to collaborative context-aware mobile applications: a case study on preventing worsening of allergy symptoms

  • Caballero Torres, Pablo
  • Ortiz Bellot, Guadalupe
  • García de Prado Fontela, Alfonso
  • Boubeta Puig, Juan
En los últimos años, la evolución de los teléfonos inteligentes y sus aplicaciones de software ha crecido exponencialmente; junto con el avance del Internet de las Cosas y las ciudades inteligentes, ha generado una gran demanda de servicios y aplicaciones en estos dominios. Aunque la amplia gama de aplicaciones móviles es incuestionable, los ciudadanos ya exigen que las aplicaciones se adapten a sus necesidades y situaciones específicas en tiempo real, es decir, que sean conscientes del contexto. Sin embargo, las aplicaciones móviles conscientes del contexto a menudo son muy limitadas y pierden la oportunidad de beneficiarse de la retroalimentación proporcionada por la colaboración ciudadana. Para llenar este vacío, este documento propone una arquitectura de software y una aplicación móvil colaborativas y conscientes del contexto. En particular, los hemos implementado en el ámbito de la e-salud, más específicamente en el área de las alergias estacionales, que causan que las personas alérgicas experimenten síntomas molestos que podrían evitarse si tuvieran acceso a información sobre el polen en tiempo real. Además, también se beneficiarán de la colaboración ciudadana a través del conocimiento de los síntomas que otras personas alérgicas con la misma alergia y en la misma ubicación están experimentando. Para ello, los usuarios podrán proporcionar sus síntomas en cualquier momento a través de su aplicación móvil y la arquitectura propuesta procesará constantemente esa información en tiempo real, enviando notificaciones a los usuarios tan pronto como se vea que los síntomas reportados superan un cierto umbral. Se han probado el rendimiento de la arquitectura, el consumo de recursos de la aplicación y una encuesta de satisfacción sobre la usabilidad y utilidad de la aplicación; todos los resultados han sido completamente satisfactorios., In recent years, the evolution of smartphones and their software applications has grown exponentially; together with the advance of the Internet of Things and smart cities, it has raised huge demand for services and applications in these domains. Although the wide range of mobile applications is unquestionable, citizens already demand that applications adapt to their specific needs and situations in real time, that is, that they are context-aware. However, context-aware mobile applications are often very limited and miss out on the opportunity of benefiting from feedback provided by citizen collaboration. In order to fill this gap, this paper proposes a context-aware and collaborative software architecture and mobile application. In particular, we have implemented them in the scope of e-health, more specifically in the area of seasonal allergies, which cause allergic people to experience annoying symptoms that could be avoided by having access to pollen information in real time. Furthermore, they will also benefit from citizen collaboration through the knowledge of the symptoms other allergic people with the same allergy and in the same location are experiencing. To this end, users will be able to provide their symptoms at any time through their mobile application and the proposed architecture will constantly process that information in real time, sending notifications to users as soon as reported symptoms are seen to exceed a certain threshold. The architecture’s perfor mance, the application’s resource consumption and a satisfaction survey of the app’s usability and usefulness have been tested; all results have been fully satisfactory, This work was supported by the Spanish Ministry of Science and Innovation and the European Union FEDER Funds [grant numbers RTI2018-093608-B-C33, RED2018-102654-T]
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Node4Chain: Extending Node-RED Low-Code Tool for Monitoring Blockchain Networks

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain is a distributed, secure and leading technology that enables the immutability, traceability and transparency of data. Nevertheless, integrating blockchain network monitoring with other systems is a difficult task that requires a vast knowledge of the technology. To deal with this challenge, in this demo we present Node4Chain, a novel extension of the Node-RED low-code tool that allows for defining graphical flows that specify data inputs, outputs and processing logic needed to monitor in real time blockchain networks, such as Ethereum, Binance or Polygon, as well as integrating it with other systems and technologies.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Un Servicio de Gamificación para Mejorar la Cultura de la Ciberseguridad

  • Lagares Galán, Jesús
  • Navas-Pérez, Pedro José
  • Peregrina-Pérez, María Jesús
  • Boubeta Puig, Juan
La situación de la pandemia provocada por el COVID-19 ha generado un gran aumento en el número de ataques informáticos. Gracias a las técnicas, herramientas y servicios de ciberseguridad podemos prevenir y defendernos ante este tipo de ataques, independientemente del sector donde se realice. Sin embargo, todavía existe un gran desconocimiento de la ciberseguridad entre la población, así como una enorme falta de formación en este sector. Para lograr una mejora en la cultura de la ciberseguridad, este artículo propone la utilización de un servicio de gamificación, concretamente una competición Capture The Flag. Además, se expone un caso práctico con una serie de retos de ciberseguridad llevados a cabo en un entorno real. Los resultados demuestran que estas prácticas tienen interés entre la población y pueden ser una herramienta viable para una enseñanza amena de conceptos relacionados con la seguridad informática.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

CEPchain: A graphical model-driven solution for integrating complex event processing and blockchain

  • Boubeta Puig, Juan
  • Rosa Bilbao, Jesús
  • Mendling, Jan
Blockchain provides an immutable distributed ledger for storing transactions. One of the challenges of blockchain is the particular processing of dynamic queries due to accumulating costs. Complex Event Processing (CEP) provides efficient and effective support for this in a way, however, that is difficult to integrate with blockchain. This paper addresses the research challenges of integrating blockchain with CEP. More specifically, we envision an effective development environment in which (i) event-driven smart contracts are modeled in a graphical way, which are, in turn, (ii) automatically transformed into complementary code that is deployed in both a CEP engine and a blockchain network, and then (iii) executed on off-chain CEP applications which, connected to different data sources and sinks, automatically invoke smart contracts when event pattern conditions are met. We follow a classic systems engineering approach for defining the concepts of our system, called CEPchain, which addresses the described requirements. CEPchain was evaluated using a real-world case study for vaccine delivery, which requires an unbroken cold chain. The results demonstrate that our approach can be applied without requiring experts on event processing and smart contract languages. Our contribution simplifies the design of integrated CEP and blockchain functionality by hiding implementation details and supporting efficient deployment., This work was supported by the Spanish Ministry of Science and Innovation under the ‘‘Estancias de movilidad en el extranjero José Castillejo para jóvenes doctores’’ program [grant number CAS19/00241], and the Spanish Ministry of Science and Innovation and the European Regional Development Funds under project FAME [grant number RTI2018-093608-B-C33]. The authors would like to thank Orlenys López-Pintado for his help with the Caterpillar tool and his insightful comments. Juan Boubeta-Puig would also like to thank the Institute for Information Business for their hospitality when visiting them at the Vienna University of Economics and Business, Austria, where part of this work was developed.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Tesis doctoral (DoctoralThesis)

Técnicas de prueba avanzadas para la generación de casos de prueba

  • Valle Gómez, Kevin Jesús
Software testing is a crucial phase in software development, particularly in contexts such as critical systems, where even minor errors can have severe consequences. The advent of Industry 4.0 brings new challenges, with software present in almost all industrial systems. Overcoming technical limitations, as well as limited development times and budgets, is a major challenge that software testing faces nowadays. Such limitations can result in insufficient attention being paid to it. The Bay of Cadiz’s industrial sector is known for its world-leading technological projects, with facilities and staff fully committed to innovation. The close relationship between these companies and the University of Cadiz allows for a constant exchange between industry and academia. This PhD thesis aims to identify the most important elements of software testing in Industry 4.0, based on close industrial experience and the latest state-of-the-art work. This allows us to break down the software testing process in a context where large teams work on large-scale, changing projects with numerous dependencies. It also allows us to estimate the percentage benefit that a solution could provide to test engineers throughout the process. Our results indicate a need for non-commercial, flexible, and adaptable solutions for the automation of software testing, capable of meeting the constantly changing needs of industry projects. This work provides a comprehensive study on the industry’s needs and motivates the development of two new solutions using state-of-the-art technologies, which are rarely present in industrial work. These results include a tool, ASkeleTon, which implements a procedure for generating test harnesses based on the Abstract Syntax Tree (AST) and a study examining the ability of the Dynamic Symbolic Execution (DSE) testing technique to generate test data capable of detecting potential faults in software. This study leads to the creation of a novel family of testing techniques, called mutationinspired symbolic execution (MISE), which combines DSE with mutation testing (MT) to produce test data capable of detecting more potential faults than DSE alone. The findings of this work can serve as a reference for future research on software testing in Industry 4.0. The solutions developed in this PhD thesis are able to automate essential tasks in software testing, resulting in significant potential benefits. These benefits are not only for the industry, but the creation of the new family of testing techniques also represents a promising line of research for the scientific community, benefiting all software projects regardless of their field of application., La prueba del software es una de las etapas más importantes durante el desarrollo de software, especialmente en determinados tipos de contextos como el de los sistemas críticos, donde el más mínimo fallo puede conllevar la más grave de las consecuencias. Nuevos paradigmas tecnológicos como la Industria 4.0 conllevan desafíos que nunca antes se habían planteado, donde el software está presente en prácticamente todos los sistemas industriales. Uno de los desafíos más importantes a los que se enfrenta la prueba del software consiste en superar las limitaciones técnicas además de los tiempos de desarrollo y presupuestos limitados, que provocan que en ocasiones no se le preste la atención que merece. El tejido industrial de la Bahía de Cádiz es conocido por sacar adelante proyectos tecnológicos punteros a nivel mundial, con unas instalaciones y un personal totalmente implicado con la innovación. Las buenas relaciones de este conjunto de empresas con la Universidad de Cádiz, sumadas a la cercanía geográfica, permiten que haya una conversación constante entre la industria y la academia. Este trabajo de tesis persigue identificar los elementos más importantes del desarrollo de la prueba del software en la Industria 4.0 en base a una experiencia industrial cercana, además de a los últimos trabajos del estado del arte. Esto permite identificar cada etapa en la que se desglosa la prueba del software en un contexto donde trabajan equipos muy grandes con proyectos de gran envergadura, cambiantes y con multitud de dependencias. Esto permite, además, estimar el porcentaje de beneficio que podría suponer una solución que ayude a los ingenieros de prueba durante todo el proceso. Gracias a los resultados de esta experiencia descubrimos que existe la necesidad de soluciones para la automatización de la prueba del software que sean no comerciales, flexibles y adaptables a las constantes necesidades cambiantes entre los proyectos de la industria. Este trabajo aporta un estudio completo sobre las necesidades de la industria en relación a la prueba del software. Los resultados motivan el desarrollo de dos nuevas soluciones que utilizan tecnologías del estado del arte, ampliamente usadas en trabajos académicos, pero raramente presentes en trabajos industriales. En este sentido, se presentan dos resultados principales que incluyen una herramienta que implementa un procedimiento para la generación de arneses de prueba basada en el Árbol de Sintaxis Abstracta (AST) a la que llamamos ASkeleTon y un estudio donde se comprueba la capacidad de la técnica de pruebas Ejecución Simbólica Dinámica (DSE, por sus siglas en inglés) para generar datos de prueba capaces de detectar fallos potenciales en el software. Este estudio deriva en la creación de una novedosa familia de técnicas de prueba a la que llamamos mutation-inspired symbolic execution (MISE) que combina DSE con la prueba de mutaciones (MT, por sus siglas en inglés) para conseguir un conjunto de datos de prueba capaz de detectar más fallos potenciales que DSE por sí sola. Las soluciones desarrolladas en este trabajo de tesis son capaces de automatizar parte de la prueba del software, resultando en unos beneficios potenciales importantes. No solo se aportan beneficios a la industria, sino que la creación de la nueva familia de técnicas de prueba supone una línea de investigación prometedora para la comunidad científica, siendo beneficiados todos los proyectos software independientemente de su ámbito de aplicación.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

An automatic unsupervised complex event processing rules generation architecture for real-time IoT attacks detection

  • Roldán Gómez, José
  • Martínez del Rincón, Jesús
  • Boubeta Puig, Juan
  • Martínez, José Luis
In recent years, the Internet of Things (IoT) has grown rapidly, as has the number of attacks against it. Certain limitations of the paradigm, such as reduced processing capacity and limited main and secondary memory, make it necessary to develop new methods for detecting attacks in real time as it is difficulty to adapt as has the techniques used in other paradigms. In this paper, we propose an architecture capable of generating complex event processing (CEP) rules for real-time attack detection in an automatic and completely unsupervised manner. To this end, CEP technology, which makes it possible to analyze and correlate a large amount of data in real time and can be deployed in IoT environments, is integrated with principal component analysis (PCA), Gaussian mixture models (GMM) and the Mahalanobis distance. This architecture has been tested in two different experiments that simulate real attack scenarios in an IoT network. The results show that the rules generated achieved an F1 score of.9890 in detecting six different IoT attacks in real time., 18 páginas
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

A stream processing architecture for heterogeneous data sources in the Internet of Things

  • Corral Plaza, David José
  • Medina Bulo, María Inmaculada
  • Ortiz Bellot, Guadalupe
  • Boubeta Puig, Juan
The number of Internet of Things (IoT) and smart devices capable of producing, consuming and exchanging information is constantly increasing. It is estimated there will be around 30 billion of them in 2020. In most cases, the structures of the information produced by such devices are completely different, thus providing heterogeneous information. This is becoming a challenge for researchers working on IoT, who need to perform homogenisation and pre-processing tasks before using the IoT data. This paper aims to provide an architecture for processing and analysing data from heterogeneous sources with different structures in IoT scopes, allowing researchers to focus on data analysis, without having to worry about the structure of the data sources. This architecture combines the real-time stream processing paradigm for information processing and transforming, together with the complex event processing for information analysis. This provides us with capability of processing, transforming and analysing large amounts of information in real time. The results obtained from the evaluation of a real-world case study about water supply network management show that the architecture can be applied to an IoT water management scenario to analyse the information in real time. Additionally, the stress tests successfully conducted for this architecture highlight that a large incoming rate of input events could be processed without latency, resulting in efficient performance of the proposed architecture. This novel software architecture is adequate for automatically detecting situations of interest in the IoT through the processing, transformation and analysis of large amounts of heterogeneous information in real time., El número de dispositivos del Internet de las Cosas (IoT) y dispositivos inteligentes capaces de producir, consumir e intercambiar información está aumentando constantemente. Se estima que habrá alrededor de 30 mil millones de ellos en 2020. En la mayoría de los casos, las estructuras de la información producida por dichos dispositivos son completamente diferentes, proporcionando así información heterogénea. Esto se está convirtiendo en un desafío para los investigadores que trabajan en IoT, quienes necesitan realizar tareas de homogeneización y preprocesamiento antes de utilizar los datos de IoT. Este documento tiene como objetivo proporcionar una arquitectura para procesar y analizar datos de fuentes heterogéneas con diferentes estructuras en ámbitos de IoT, permitiendo a los investigadores centrarse en el análisis de datos, sin tener que preocuparse por la estructura de las fuentes de datos. Esta arquitectura combina el paradigma de procesamiento de flujo en tiempo real para el procesamiento y transformación de información, junto con el procesamiento de eventos complejos para el análisis de información. Esto nos proporciona la capacidad de procesar, transformar y analizar grandes cantidades de información en tiempo real. Los resultados obtenidos de la evaluación de un estudio de caso del mundo real sobre la gestión de la red de suministro de agua muestran que la arquitectura puede ser aplicada a un escenario de gestión de agua de IoT para analizar la información en tiempo real. Además, las pruebas de estrés realizadas con éxito para esta arquitectura destacan que una gran tasa de entrada de eventos de entrada podría ser procesada sin latencia, lo que resulta en un rendimiento eficiente de la arquitectura propuesta. Esta novedosa arquitectura de software es adecuada para detectar automáticamente situaciones de interés en el IoT a través del procesamiento, transformación y análisis de grandes cantidades de información heterogénea en tiempo real., This work was supported in part by the Spanish Ministry of Science and Innovation and the European Union FEDER Funds (No. TIN2015-65845-C3-3-R and No. RTI2018-093608-B-C33) and in part by the pre-doctoral program of the University of Cádiz (2017-020/PU/EPIF-FPI-CT/CP). In addition, we would like to thank GEN Grupo Energético for sharing their data for testing purposes.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Towards Real-time Monitoring of Blockchain Networks through a Low-code Tool (Summary)

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain is a secure and distributed technology that is gaining popularity due to its ability to trace, immutably, and transpar ently store data. However, monitoring blockchain networks necessitates the use of experts with extensive knowledge of the technology. To address this challenge, we present a low-code tool that enables inexperienced blockchain developers to define graphical flows that specify inputs, out puts, and the logic required to monitor blockchain network elements in real time. This tool has been successfully applied in a vaccine delivery scenario, allowing for the monitoring of a smart contract that stores temperature measurements of a specific vaccine. As a result, when a new transaction is mined in the blockchain network, it will be quickly noti fied and sent to the several data sinks specified in the flow modeled by a non-expert in blockchain.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

REST4CEP: RESTful APIs for complex event processing

  • Gamaza, Ángel
  • Ortiz Bellot, Guadalupe
  • Boubeta Puig, Juan
  • García de Prado Fontela, Alfonso
El Procesamiento de Eventos Complejos (CEP) es una tecnología poderosa ampliamente utilizada en arquitecturas de software de vanguardia para apoyar la toma de decisiones en múltiples dominios. Actualmente, desarrollar dichas arquitecturas de software mejoradas con CEP no es una tarea fácil y no existen Interfaces de Programación de Aplicaciones (APIs) de propósito general que soporten la programación y el desarrollo de software para sistemas basados en CEP. Este artículo proporciona dos APIs RESTful que soportan la gestión, almacenamiento y mantenimiento de eventos y patrones de interés tanto en tiempo de diseño como en tiempo de ejecución. De esta manera, simplificamos y aceleramos el desarrollo flexible de cualquier arquitectura de software basada en CEP, Complex Event Processing (CEP) is a powerful technology thoroughly used in cuttin-edge software architectures to support decision-making in multiple domains. Currently, developing such CEP-enhanced software architectures is not an easy task and there are no general purpose Application Programming Interfaces (APIs) which support programming and software development for CEP-based systems. This paper provides two RESTful APIs which support the management, storage and maintenance of events and patterns of interest both in design time and at runtime. This way, we simplify and speed up the flexible development of any CEP-based software architecture., This work was supported by the Spanish Ministry of Science and Innovation and the European Union FEDER Funds [grant number RTI2018-093608-B-C33]
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

MODELFY: A Model-driven Solution for Decision Making based on Fuzzy Information

  • Castañeda, María
  • Merayo, Mercedes G.
  • Boubeta Puig, Juan
  • Calvo, Iván
There exist areas, such as the disease prevention or inclement weather protocols, in which the analysis of the information based on strict protocols require a high level of rigor and security. In this situation, it would be desirable to apply formal methodologies that provide these features. In this scope, recently, it has been proposed a formalism, fuzzy automaton, that captures two relevant aspects for fuzzy information analysis: imprecision and uncertainty. However, the models should be designed by domain experts, who have the required knowledge for the design of the processes, but do not have the necessary technical knowledge. To address this limitation, this paper proposes MODELFY, a novel model-driven solution for designing a decision-making process based on fuzzy automata that allows users to abstract from technical complexities. With this goal in mind, we have developed a framework for fuzzy automaton model design based on a Domain- Specific Modeling Language (DSML) and a graphical editor. To improve the interoperability and functionality of this framework, it also includes a model-to-text transformation that translates the models designed by using the graphical editor into a format that can be used by a tool for data analysis. The practical value of this proposal is also evaluated through a non-trivial medical protocol for detecting potential heart problems. The results confirm that MODELFY is useful for defining such a protocol in a user-friendly and rigorous manner, bringing fuzzy automata closer to domain experts
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Customizable and scalable automated assessment of C/C++ programming assignments

  • Delgado Pérez, Pedro
  • Medina Bulo, María Inmaculada
The correction of exercises in programming courses is a laborious task that has traditionally been performed in a manual way. This situation, in turn, delays the access by students to feedback that can contribute significantly to their training as future professionals. Over the years, several approaches have been proposed to automate the assessment of students' programs. Static analysis is a known technique that can partially simulate the process of manual code review performed by lecturers. As such, it is a plausible option to assess whether students' solutions meet the requirements imposed on the assignments. However, implementing a personalized analysis beyond the rules included in existing tools may be a complex task for the lecturer without a mechanism that guides the work. In this paper, we present a method to provide automated and specific feedback to immediately inform students about their mistakes in programming courses. To that end, we developed the CAC++ library, which enables constructing tailored static analysis programs for C/C++ practices. The library allows for great flexibility and personalization of verifications to adjust them to each particular task, overcoming the limitations of most of the existing assessment tools. Our approach to providing specific feedback has been evaluated for a period of three academic years in a course related to object-oriented programming. The library allowed lecturers to reduce the size of the static analysis programs developed for this course. During this period, the academic results improved and undergraduates positively valued the aid offered when undertaking the implementation of assignments., Universidad de Cádiz, Grant/Award Numbers: sol-201500054192-tra, sol-201600064680-tra; Ministerio de Ciencia, Innovación y Universidades, Grant/Award Number: RTI2018-093608-B-C33; European Regional Development Fund
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Integrating complex event processing and machine learning: An intelligent architecture for detecting IoT security attacks

  • Roldán, José
  • Boubeta Puig, Juan
  • Martínez, José Luis
  • Ortiz Bellot, Guadalupe
The Internet of Things (IoT) is growing globally at a fast pace: people now find themselves surrounded by a variety of IoT devices such as smartphones and wearables in their everyday lives. Additionally, smart environments, such as smart healthcare systems, smart industries and smart cities, benefit from sensors and actuators interconnected through the IoT. However, the increase in IoT devices has brought with it the challenge of promptly detecting and combating the cybersecurity attacks and threats that target them, including malware, privacy breaches and denial of service attacks, among others. To tackle this challenge, this paper proposes an intelligent architecture that integrates Complex Event Processing (CEP) technology and the Machine Learning (ML) paradigm in order to detect different types of IoT security attacks in real time. In particular, such an architecture is capable of easily managing event patterns whose conditions depend on values obtained by ML algorithms. Additionally, a model-driven graphical tool for security attack pattern definition and automatic code generation is provided, hiding all the complexity derived from implementation details from domain experts. The proposed architecture has been applied in the case of a healthcare IoT network to validate its ability to detect attacks made by malicious devices. The results obtained demonstrate that this architecture satisfactorily fulfils its objectives., El Internet de las Cosas (IoT) está creciendo a nivel global a un ritmo acelerado: las personas ahora se encuentran rodeadas de una variedad de dispositivos IoT como smartphones y wearables en su vida cotidiana. Además, los entornos inteligentes, como los sistemas de atención médica inteligentes, las industrias inteligentes y las ciudades inteligentes, se benefician de sensores y actuadores interconectados a través del IoT. Sin embargo, el aumento de los dispositivos IoT ha traído consigo el desafío de detectar y combatir rápidamente los ataques y amenazas de ciberseguridad que los tienen como objetivo, incluyendo malware, violaciones de privacidad y ataques de denegación de servicio, entre otros. Para abordar este desafío, este documento propone una arquitectura inteligente que integra la tecnología de Procesamiento de Eventos Complejos (CEP) y el paradigma de Aprendizaje Automático (ML) con el fin de detectar diferentes tipos de ataques de seguridad en IoT en tiempo real. En particular, dicha arquitectura es capaz de gestionar fácilmente patrones de eventos cuyas condiciones dependen de los valores obtenidos por los algoritmos de ML. Además, se proporciona una herramienta gráfica impulsada por modelos para la definición de patrones de ataque de seguridad y la generación automática de código, ocultando toda la complejidad derivada de los detalles de implementación a los expertos del dominio. La arquitectura propuesta ha sido aplicada en el caso de una red de IoT de atención médica para validar su capacidad para detectar ataques realizados por dispositivos maliciosos. Los resultados obtenidos demuestran que esta arquitectura cumple satisfactoriamente sus objetivos., This work was supported by the Spanish Ministry of Science, Innovation and Universities and the European Union FEDER Funds [grant numbers FPU 17/02007, RTI2018-093608-B-C33, RTI2018- 098156-B-C52 and RED2018-102654-T]. This work was also sup- ported by the JCCM [grant number SB-PLY/17/180501/ 0 0 0353 ]
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Tesis doctoral (DoctoralThesis)

Arquitecturas software y herramientas de modelado para la integración del procesamiento de eventos complejos y Blockchain, Software architectures and modeling tools for integrating complex event processing and blockchain

  • Rosa Bilbao, Jesús
Blockchain es una tecnología de vanguardia que proporciona un libro de contabilidad distribuido e inmutable para almacenar transacciones, garantizando la seguridad, fiabilidad, trazabilidad, inmutabilidad y transparencia de la información. El comportamiento de la blockchain puede programarse mediante contratos inteligentes, que pueden utilizarse para especificar acuerdos entre distintas partes en tiempo de diseño y para validar el cumplimiento de las condiciones acordadas en tiempo de ejecución. Sin embargo, la implementación y gestión de contratos inteligentes es una tarea difícil no solo para expertos en la materia, sino también para desarrolladores de software, ya que requiere conocimientos avanzados de lenguajes de propósito específico como Solidity. Además, este lenguaje no soporta directamente la definición de reglas de negocio con correlación temporal de eventos y tiene restricciones en cuanto a los tipos de valores y su longitud. Las malas prácticas en la programación de contratos inteligentes pueden generar fallos o vulnerabilidades, provocando pérdidas económicas. Cualquier intento de ataque, por ejemplo, tratando de manipular los datos de la blockchain también puede causar errores y otras anomalías en la red blockchain. No obstante, detectar este tipo de situaciones de interés en tiempo real o comprobar automáticamente situaciones anómalas dentro de la red blockchain es actualmente un hándicap. Para dar respuesta a todos estos problemas, esta tesis doctoral en forma de compendio de artículos, titulada "Arquitecturas software y herramientas de modelado para la integración del procesamiento de eventos complejos y blockchain", aborda el reto de integrar las tecnologías de blockchain y el procesamiento de eventos complejos (Complex Event Processing, CEP). CEP es una tecnología potente que permite analizar y correlacionar grandes volúmenes de datos con el fin de detectar automáticamente patrones de interés en tiempo real. El objetivo principal de esta tesis doctoral es el desarrollo de arquitecturas software (centralizadas, distribuidas y contenerizadas) y herramientas de modelado para dar soporte a la integración de CEP y blockchain. Para lograr este objetivo, se han elaborado estudios del estado del arte y se han diseñado, implementado y probado arquitecturas y herramientas de modelado para la integración de CEP y blockchain. Estas herramientas permiten, entre otras cosas, la monitorización en tiempo real de los datos generados en las redes blockchain y la detección automática de anomalías en estas redes mediante patrones de eventos, la invocación automática de contratos inteligentes cuando se cumplen las condiciones de los patrones de eventos, así como la gestión de contratos inteligentes de forma amigable. Esta integración se ha logrado a través de soluciones ligeras y portables, y eliminando las engorrosas tareas de configuración a la hora de desplegarlas y utilizarlas, facilitando así la interacción y uso por parte de expertos en el dominio de aplicación, pero no en las tecnologías.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

SAT-CEP-monitor: An air quality monitoring software architecture combining complex event processing with satellite remote sensing

  • Boudriki Semlali, Badr-Eddine
  • El Amrani, Chaker
  • Ortiz Bellot, Guadalupe
  • Boubeta Puig, Juan
  • García de Prado Fontela, Alfonso
La contaminación del aire es un problema importante hoy en día que causa graves daños a la salud humana. Las áreas urbanas son las más afectadas por la degradación de la calidad del aire causada por las emisiones de gases antropogénicos. Aunque existen múltiples propuestas para el monitoreo de la calidad del aire, en la mayoría de los casos, se imponen dos limitaciones: la imposibilidad de procesar datos en tiempo casi real (NRT) para enfoques de teledetección y la imposibilidad de llegar a áreas de acceso limitado o baja cobertura de red para enfoques de datos terrestres. Proponemos una arquitectura de software que combina eficientemente el procesamiento de eventos complejos con datos de teledetección de varios sensores satelitales para monitorear la calidad del aire en NRT, brindando apoyo a los tomadores de decisiones. Ilustramos la solución propuesta calculando los niveles de calidad del aire para varias áreas de Marruecos y España, extrayendo y procesando información satelital en NRT. Este estudio también valida la calidad del aire medida por estaciones terrestres y datos de sensores satelitales., Air pollution is a major problem today that causes serious damage to human health. Urban areas are the most affected by the degradation of air quality caused by anthropogenic gas emissions. Although there are multiple proposals for air quality monitoring, in most cases, two limitations are imposed: the impossibility of processing data in Near Real-Time (NRT) for remote sensing approaches and the impossibility of reaching areas of limited accessibility or low network coverage for ground data approaches. We propose a software architecture that efficiently combines complex event processing with remote sensing data from various satellite sensors to monitor air quality in NRT, giving support to decision-makers. We illustrate the proposed solution by calculating the air quality levels for several areas of Morocco and Spain, extracting and processing satellite information in NRT. This study also validates the air quality measured by ground stations and satellite sensor data., This work was partially supported by the Spanish Ministry of Science and Innovation and the European Regional Development Fund (ERDF) under project FAME [RTI2018-093608-B-C33]. The corresponding author thanks the ERASMUS+ KA107 program for the grant and acknowledges the University of Cadiz for the academic supervision and their research facilities, grant number: 2017-1-ES01- KA107-037422 and 2018-1-ES01-KA107-049705. The authors of this work are also thankful to the Andalusian and Madrid regional governments for providing us with the NRT MGS data.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Mode Driven Engineering for Complex Event Processing: A Survey

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Complex Event Processing (CEP) is a powerful technology for analyzing and correlating large amounts of data coming from different application domains to automatically detect situations of interest (event patterns) in real time. However, extensive knowledge on CEP is required to be able to implement CEP applications. To alleviate this situation, in recent years, several works have proposed the use of Model-Driven Engineering (MDE) to facilitate the development of such CEP applications for domain experts. In this paper, we propose a systematic literature review of existing approaches, frameworks, systems and languages that integrate MDE with CEP, along with the application domains and maturity levels with which these proposals have been successfully adopted. Based on our findings, future research challenges in the CEP field are also discussed.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Towards Real-Time Monitoring of Blockchain Networks Through a Low-Code Tool

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain is a secure and distributed technology which is growing in popularity since it enables the traceability, immutability and transparency of data. However, monitoring blockchain networks requires experts who have vast experience in this technology. To address this challenge, in this paper we present a low-code tool, which allows inexperienced blockchain developers to define graphical flows that specify inputs, outputs and the logic necessary to monitor in real time the elements of a blockchain network. This tool has been successfully applied to a vaccine delivery scenario, facilitating the monitoring of a smart contract that stores temperature measurements of a certain vaccine. As a result, when a new transaction is mined in the blockchain network, it will be promptly notified and sent to the different data sinks specified in the flow modeled by a non-expert in blockchain.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

greenITS: a proposal to compute low-pollution routes

  • Macià, Hermenegilda
  • Díaz, Gregorio
  • Valero, Valentín
  • Valero, Edelmira
  • Brazález, Enrique
  • Boubeta Puig, Juan
A way to reduce carbon emissions in cities is through movement by bicycle or on foot. However, it sometimes means to pass through high-pollution zones and consequently breath low quality air. We then propose a green Intelligent Transportation System (ITS) for zero-emission mobility users, providing users with low-pollution routes to avoid the high-pollution zones. This proposal uses ITS to promote the use of alternative transportation to classical motor vehicles to reduce carbon emissions. This is based on Complex Event Processing (CEP) technology to gather and process real-time data, a Decision Support System designed as a Fuzzy Inference System (FIS) to make decisions about recommended transit zones, taking also into account the user experience level and specific weather data, and Colored Petri Nets (CPN) as a tool to compute the routes. This is therefore an all-in-one solution to provide green routes, with the benefits of each one of the technologies used. © 2022 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (https://creativecommons.org/licenses/by-nc-nd/4.0) Peer-review under responsibility of the Conference Program Chairs.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Evaluation of alternative design choices for evolutionary mutation testing by means of automated configuration

  • Delgado Pérez, Pedro
  • Chicano, Francisco
Mutation testing is a well-established but costly technique to assess and improve the fault detection ability of test suites. This technique consists of introducing subtle changes in the code of a program, which are expected to be detected by the designed test cases. Among the strategies conceived to reduce its cost, evolutionary mutation testing (EMT) has been revealed as a promising approach to select a subset of the whole set of mutants based on a genetic algorithm (GA). However, like any other metaheuristic approach, EMT’s execution depends on a set of parameters (both classical of GAs and context-specific ones), so different configurations can greatly vary its performance. Currently, it is difficult to clarify what are the best values for those parameters by applying manual parameter tuning and whether new design choices could improve its effectiveness with other combinations of values. The experience carried out in this paper applying iterated racing, a well-known automated configuration algorithm, reveals that EMT's performance has been undervalued in previous studies; the new configuration found by iterated racing was able to enhance EMT’s results in all C++ object-oriented programs used in the experiments. This study also confirms alternative design choices as convenient options to improve EMT in this context, namely, detecting and penalizing equivalent mutants by means of Trivial Compiler Equivalence, and learning which mutation operators produced live mutants in the past generations., This work was partially supported by the European Commission (European Regional Development Fund - ERDF), the Spanish Ministry of Science, Innovation and Universities under projects RTI2018-093608-B-C33 and TIN2017-88213-R, the excellence network RED2018-102472-T, the University of Malaga, and Consejería de Economía y Conocimiento de la Junta de Andalucía (grant number UMA18-FEDERJA-003)
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Atmosphere: Context and situational-aware collaborative IoT architecture for edge-fog-cloud computing

  • Ortiz Bellot, Guadalupe
  • Zouai, Meftah
  • Kazar, Okba
  • García de Prado Fontela, Alfonso
  • Boubeta Puig, Juan
The Internet of Things (IoT) has grown significantly in popularity, accompanied by increased capacity and lower cost of communications, and overwhelming development of technologies. At the same time, big data and realtime data analysis have taken on great importance and have been accompanied by unprecedented interest in sharing data among citizens, public administrations and other organisms, giving rise to what is known as the Collaborative Internet of Things. This growth in data and infrastructure must be accompanied by a software architecture that allows its exploitation. Although there are various proposals focused on the exploitation of the IoT at edge, fog and/or cloud levels, it is not easy to find a software solution that exploits the three tiers together, taking maximum advantage not only of the analysis of contextual and situational data at each tier, but also of two-way communications between adjacent ones. In this paper, we propose an architecture that solves these deficiencies by proposing novel technologies which are appropriate for managing the resources of each tier: edge, fog and cloud. In addition, the fact that two-way communications along the three tiers of the architecture is allowed considerably enriches the contextual and situational information in each layer, and substantially assists decision making in real time. The paper illustrates the proposed software architecture through a case study of respiratory disease surveillance in hospitals. As a result, the proposed architecture permits efficient communications between the different tiers responding to the needs of these types of IoT scenarios., This work was partially supported by the Spanish Ministry of Science and Innovation and the European Regional Development Fund (ERDF) under project FAME [RTI2018-093608-B-C33] and excellence network RCIS [RED2018-102654-T]. We also thank Carlos Llamas Jaén for his support with the setting up of the performance evaluation tests.