Pasar al contenido principal

METODOLOGIAS AVANZADAS PARA ARQUITECTURAS, DISEÑO Y PRUEBA DE SISTEMAS SOFTWARE

PID2021-122215NB-C33

•
Nombre agencia financiadora Agencia Estatal de Investigación
Acrónimo agencia financiadora AEI
Programa Programa Estatal para Impulsar la Investigación Científico-Técnica y su Transferencia
Subprograma Subprograma Estatal de Generación de Conocimiento
Convocatoria Proyectos de I+D+i (Generación de Conocimiento y Retos Investigación)
Año convocatoria 2021
Plan Estatal 2021-2023 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): 33
Encontrada(s) 1 página(s)

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)

Facial attribute-aware DeepFake detection through semi-supervised facial attribute labeling

  • Stile, Vittorio
  • Caldelli, Roberto
  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Medina Bulo, María Inmaculada
This study investigates the correlation between misclassifications in DeepFake detection and high-level facial attributes. A pre-trained frame-level classifier is used to distinguish manipulated from authentic video content, and its wrong predictions are analyzed in detail. To enrich the dataset, we automatically annotate each video with additional labels, including gender, hair color, hair length, ear visibility, and ethnicity, using a semi-supervised facial-attribute recognition pipeline. We extend this analysis with controlled training-time exclusions on FaceForensics++, keeping a unified test set to isolate generalization bias. Compared to the no-exclusion baseline (Accuracy = 0.806, AUC = 0.823), excluding samples with ears visible yields the largest degradation (Accuracy = 0.741, AUC = 0.763), while excluding non-visible ears has a milder effect (Accuracy = 0.813, AUC = 0.832). Hair length shows a moderate but consistent impact that interacts with ear visibility. We also explain the observed confusion-matrix asymmetry as a consequence of fixed score thresholds and video-level k-of-n aggregation. The results demonstrate that ear visibility is a critical factor for robust FAKE vs. REAL discrimination and motivate attribute-aware training, including targeted data curation, attribute-specific augmentation, and threshold calibration. The proposed framework provides actionable guidance for bias-aware training strategies and supports the development of more interpretable and operationally reliable DeepFake detection systems.
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)

BPSmart-CARE: a Framework for Managing Contextualized Actions in IoT Systems through the Integration of Business Process Modelling and Complex Event Processing

  • Bazán Muñoz, Adrián
  • Cesare, Pautasso
  • Ortiz Bellot, Guadalupe
  • García de Prado Fontela, Alfonso
The exponential growth of Internet of Things (IoT) sensors and data has led to multiple software applications which aim at collecting, monitoring, controlling, and automating decisions based on such data in several domains such as smart cities. Even though early IoT frameworks and software architectures relied on correlating data from a single application domain, missing opportunities to improve contextualisation; in the last years several Complex Event Processing (CEP)-based frameworks and applications have been provided to improve the correlation of data from heterogenous domains, facilitating context-aware decision making. However, several issues remain unsolved: on the one hand, frameworks should not only provide the means for data correlation and contextualisation, but also for the definition of customisable real-time actions based on the context. On the other hand, CEP patterns update remains static in these frameworks, while there is a need for dynamically updating CEP pattern logic to adapt to changing contexts in real time. Even more, CEP patterns logic understanding might also be a handicap for developers. To face these challenges, in this paper, we enhance an existent CEP-based framework and software architecture by incorporating Business Process Modelling (BPM) to facilitate the definition of CEP patterns rationale, manage interdependencies between patterns, define and handle contextualised user actions, and enable real-time updating of CEP pattern logic based on detected situations. The proposed approach is illustrated through a case study, assessed via usability and performance evaluations, which show improvements in comprehensibility, maintainability, and updatability of CEP-based software applications for context-aware IoT scenarios., El crecimiento exponencial de los sensores y los datos del Internet de las Cosas (IoT) ha dado lugar a múltiples aplicaciones software cuyo objetivo es recopilar, monitorizar, controlar y automatizar decisiones basadas en dichos datos en diversos dominios, como las ciudades inteligentes. Aunque los primeros marcos de IoT y arquitecturas de software se basaban en correlacionar datos de un único dominio de aplicación —perdiendo oportunidades de mejorar la contextualización—, en los últimos años se han propuesto varios marcos y aplicaciones basados en Procesamiento de Eventos Complejos (CEP) para mejorar la correlación de datos procedentes de dominios heterogéneos, facilitando la toma de decisiones consciente del contexto. Sin embargo, siguen quedando varios problemas sin resolver: por un lado, los marcos no deberían proporcionar únicamente los medios para la correlación y la contextualización de datos, sino también para la definición de acciones personalizables en tiempo real basadas en el contexto. Por otro lado, la actualización de los patrones CEP permanece estática en estos marcos, cuando existe la necesidad de actualizar dinámicamente la lógica de los patrones CEP para adaptarse a contextos cambiantes en tiempo real. Además, la comprensión de la lógica de los patrones CEP también puede suponer un obstáculo para los desarrolladores. Para afrontar estos retos, en este artículo mejoramos un marco y una arquitectura de software existentes basados en CEP incorporando Modelado de Procesos de Negocio (BPM) para facilitar la definición del razonamiento de los patrones CEP, gestionar las interdependencias entre patrones, definir y manejar acciones de usuario contextualizadas, y habilitar la actualización en tiempo real de la lógica de los patrones CEP en función de las situaciones detectadas. El enfoque propuesto se ilustra mediante un caso de estudio y se evalúa mediante análisis de usabilidad y rendimiento, que muestran mejoras en la comprensibilidad, la mantenibilidad y la capacidad de actualización de aplicaciones software basadas en CEP para escenarios IoT sensibles al contexto., Ministerio de Ciencia, Innovación y Universidades (MICIU) Fondo Europeo de Desarrollo Regional (FEDER)
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)

Zync: A microservice platform for IoT device management and complex event monitoring

  • Rosa Bilbao, Jesús
  • González Álvarez, Roberto
  • Boubeta Puig, Juan
The Internet of Things (IoT) has triggered a paradigm shift in how digital systems interact with the physical world, enabling real-time data acquisition, monitoring, and control. However, the exponential growth of heterogeneous IoT devices introduces critical challenges in data interoperability, scalability, and real-time event processing. This paper presents Zync, a modular and extensible software platform designed to manage IoT ecosystems and support Complex Event Processing (CEP) in real time. Zync integrates modern development stacks such as Next.js, Supabase, and Esper CEP, offering an end-to-end solution from data ingestion and storage to anomaly detection and alert notification. The platform supports the definition of custom event patterns and thresholds through an intuitive web interface, allowing both technical and semi-technical users to interact with and supervise the system. Architecturally, Zync leverages microservices and RESTful APIs to ensure interoperability and scalability. Experimental validation includes integration testing, performance benchmarking, and stress simulations with concurrent sensor data. Results demonstrate Zync’s ability to detect and notify critical events with low latency, even under high loads. This work positions Zync as a promising approach toward scalable IoT device management and complex event monitoring.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

Hacia la Gestión de Contratos Inteligentes en varias Redes Blockchain

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
Blockchain es una tecnología emergente que proporciona un libro de contabilidad seguro, inmutable y distribuido para registrar transacciones y rastrear activos tangibles e intangibles sin un gobierno central. Los acuerdos entre los participantes de una red blockchain se codifican mediante contratos inteligentes. Sin embargo, las redes blockchain existentes pueden tener diferentes funcionalidades e incluso soportar diferentes lenguajes de programación para implementar los contratos inteligentes, provocando que estén fuera del alcance de cualquier usuario. Para abordar este problema, en este trabajo proponemos un metamodelo para facilitar la gestión de contratos inteligentes desde múltiples redes blockchain compatibles con la Ethereum Virtual Machine (EVM).
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

ADEPT Framework: Optimizing Data Flow in Dynamic Environments for Ambient Assisted Living

  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
The ADEPT framework integrates Ambient Intelligence (AmI) technologies into Ambient Assisted Living (AAL) and Ubiquitous Computing to improve the quality of life for the elderly and those needing special care, particularly as populations in developed nations age. ADEPT addresses the complexities of data transmission and gathering within dynamic networks by utilizing edge computing for near-source data preprocessing, which enhances responsiveness and reduces network load. Its effectiveness is validated through simulations focusing on nursing home scenarios using the ns-3 network simulator and BonnMotion. The framework’s architecture facilitates efficient data handling by dynamically managing and prioritizing data flow through its network of nodes. Evaluations show that data prioritization significantly boosts data gathering success rates across different network setups, underscoring ADEPT’s potential to enhance data management in AmI applications and meet the changing needs of AAL environments.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Explainable Artificial Intelligence for Audio-based Detection of Emergency Vehicles

  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Muñoz Ortega, Andrés
  • Durães, Dalila
  • Novais, Paulo
With the increasing adoption of AI in safety-critical applications within urban environments, the interpretability of these systems is paramount. This study explores the application of Explainable Artificial Intelligence (XAI) techniques to enhance transparency in audio-based detection of emergency vehicle sirens, a crucial component in urban sound management. Adopting methods such as SHAP (SHapley Additive exPlanations) values, Permutation Feature Importance, and model-specific feature scores, this research identifies key audio features, including mid-frequency spectral contrasts and targeted chroma components, which significantly help in distinguishing siren sounds among urban noise. The study examines various machine learning models, identifying K-Nearest Neighbors (KNN) and XGBoost as top performers; KNN excelled in class-specific precision, while XGBoost demonstrated strong cross-class discrimination. The findings highlight the potential of XAI in improving both accuracy and accountability for sound detection systems in safety-critical urban applications, advancing the deployment of transparent AI within smart city infrastructures.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

An Analysis of Class Imbalance Challenges in Predictive Mutation Testing

  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Delgado Pérez, Pedro
  • Medina Bulo, María Inmaculada
This study evaluates the efficacy of Predictive Mutation Testing (PMT) models, focusing on the impact of preprocessing, class rebalancing, and model selection on predictive accuracy. By filtering unreached mutants, artificially inflated metrics caused by trivial correlations were minimized, enhancing the ability of the model to identify complex patterns. While ensemble models like CatBoost and XGBoost showed high effectiveness in detecting killed mutants, their performance in identifying survived mutants was limited, underscoring the need for refined strategies to address class imbalance. The study further identifies that previous PMT research often lacks class-specific metrics, such as the Matthews Correlation Coefficient, essential for assessing balanced performance. This oversight can yield misleading evaluations by favoring the majority class, which may falsely indicate high model reliability. Although SMOTE rebalancing improved recall for survived mutants, balancing sensitivity and precision remains challenging. The findings advocate for the development of more balanced datasets in future PMT research to enhance both accuracy and robustness in real-world testing scenarios.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Gas-centered mutation testing of Ethereum Smart Contracts

  • Delgado Pérez, Pedro
  • Meléndez Lapi, Ignacio
  • Boubeta Puig, Juan
Smart contracts (SC) are programs embodying certain business logic stored on a blockchain network like Ethereum. The execution of transactions on SC has a cost, measured in gas units, that depends on the low-level operations performed. Therefore, a poor choice of high-level language constructs could lead to overcharging users for their transactions. Thus, a testing process focused on possible deviations of the gas used in diverse scenarios could provide substantial global savings. This paper presents a gas-centered mutation testing approach for taking care of the gas consumed by Solidity SCs. This approach can be useful to improve the test quality to detect gas-related problems, reason about performance issues that only manifest in certain situations, and identify alternative more optimal implementations. We define and implement several mutation operators specifically designed to perturb gas consump- tion while preserving contract semantics in general. Our experiments using several real-world SCs show the feasibility of the technique, with some mutants reproducing meaningful differences in the consumption and exposing some gas limits not tight enough in historic transactions. Therefore, our approach is shown to be a good ally to prevent the appearance of gas-related issues and lays the groundwork for researchers seeking to improve performance testing practices.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Contribución de congreso (ConferenceOutput)

CEPEDALoCo: An Event-Driven Architecture for Integrating Complex Event Processing and Blockchain through Low-Code (Summary)

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
  • Rutle, Adrian
Internet of Things (IoT) is made up of millions of devices generating large amounts of heterogeneous data from multiple sources. These devices can be from multiple manufacturers which makes their use in terms of data acquisition, processing, analysis and actions on these data challenging. Additionally, all these data must be analyzed and correlated in real time for the early detection of situations of interest (complex events) and subsequent decision making. These complex events must be able to automatically trigger decisions and be stored in a secure, immutable and accessible way. In this context, Event-Driven Applications (EDAs) are a solution to meet these needs, however, developing such applications requires vast knowledge in certain technologies. To address these challenges, an EDA is proposed in this paper to integrate Complex Event Processing (CEP) and blockchain through the low-code paradigm. This proposal allows for the development of EDAs in a user-friendly way. These applications make it possible to integrate IoT devices from multiple manufacturers and with different data formats together with CEP technology for complex event detection and blockchain for secure, immutable and accessible event storage. To demonstrate the feasibility, the architecture was applied and evaluated in a case study related to measuring and acting on air quality using IoT devices that measure different pollutants and factors such as temperature, humidity and wind. The results show that the graphically designed EDAs facilitate real-time analysis of the collected IoT data via a CEP engine, whose outcome is transparently and automatically registered in a blockchain network.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Tempus: An Evolutionary Mutation Testing System on Event-Based Systems With Profile-Based Individual Generation

  • Gutiérrez Madroñal, Lorena
  • García-Domínguez, Antonio
  • Medina Bulo, María Inmaculada
Mutation testing has been applied successfully to several programming languages. Despite its benefits for software testing, its high computational cost has prevented it from being widely used. Several refinements have been proposed to reduce its cost by decreasing the number of generated mutants, one of which is Evolutionary Mutation Testing. This refinement aims to generate a reduced set of mutants with an Evolutionary Algorithm, which searches for potentially equivalent and difficult to kill mutants that help improve the test suite. This study presents Tempus, a system that includes a Profile-Based individual generation version of Evolutionary Mutation Testing. Tempus has been applied to four case studies that process information in real time from Internet of Things systems. This huge volume of information arrives as events that need to be monitored and processed in real time: the case studies manage the events through Esper Event Processing Language queries. Given that the events used as input in the Internet of Things systems may need a reaction in a specific period of time, it is crucial to test that the system can trigger the expected responses on demand within the expected period. After applying Tempus to our test suite, 62 of the 80 experiments showed a reduction in cost over Evolutionary Mutation Testing.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Fusing Temporal and Contextual Features for Enhanced Traffic Volume Prediction

  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Muñoz Ortega, Andrés
  • Boubeta Puig, Juan
Time-series analysis plays a crucial role in extracting meaningful patterns from sequential data, serving to gain insights into temporal trends. Specifically, the burgeoning urbanization trend accentuates the urgency of traffic forecasting in modern cities due to its socio-economic and environmental impact. While Deep Learning techniques, notably Long Short-Term Memory (LSTM) networks, have shown promise in predicting traffic, they often overlook contextual factors like weather and holidays. To address this challenge, this paper proposes a hybrid model combining LSTM with categorical and continuous data to forecast traffic volume on the Interstate 94 American highway. Incorporating weather, temporal patterns, and holidays, this study explores the performance of a model that includes contextual factors against standalone LSTM. The results show superior predictive accuracy for the proposed hybrid model. SHapley Additive exPlanations (SHAP) analysis reveals the influence of diverse features, emphasizing the significance of contextual attributes in enhancing traffic prediction.
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 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)

CMBMeTest: Generation of Test Suites Using Model-Based Testing Plus Constraint Programming and Metamorphic Testing

  • Castro Cabrera, María Carmen
  • García-Dominguez, A.
  • Medina Bulo, María Inmaculada
Various software testing techniques have been shown to be successful in producing high-quality test suites for software where the code is not accessible (black-box approach). Nevertheless, no method has been found to guide combining some of these in a general way. In this study, a test suite generation method for black-box software called CMBMeTest was created to respond to these challenges. It employs several coupled software testing techniques, namely, model-based testing (MBT), constraint programming (CP), and metamorphic testing (MT). CMBMeTest provides step-by-step instructions for using the information available (such as program specifications, inputs and outputs) to create an initial test suite that covers the model obtained, using a combination of MBT and CP (referred to as MBT+CP). Furthermore, using the metamorphic relations (MRs) of MT, a better test suite was produced from that initial test suite. The method allows particular stages to be iterated to improve the results by building new models and new MRs. A comprehensive case study was conducted, employing CMBMeTest to produce encouraging results. Mutation testing was used to evaluate the test suite, and the first round produced a high mutation score. A more detailed model was used to repeat the process, with similar outcomes., 25 páginas
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Adaptive Vehicle Detection in Urban Environments: A Self-learning Approach

  • Guerrero Contreras, Gabriel José
  • Balderas Díaz, Sara
  • García Pascual, Abel
  • Muñoz Ortega, Andrés
With increasing urbanization, efficient urban traffic management is a critical challenge that requires smarter and more adaptable systems. This paper introduces a self-learning algorithm designed to enhance the adaptability and effectiveness of vehicle detection models using urban camera infrastructures. By leveraging these ubiquitous devices, the study aims to capture and analyze real-time traffic data, a task traditionally limited by the need for extensive manual data labeling and the limitations of pre-trained models under varying urban conditions. Our self-learning algorithm addresses these challenges by reducing reliance on manual labeling and enabling continuous model adaptation to new conditions without direct human intervention. Implemented in the dynamic urban environment of the city of Madrid, Spain, this study evaluates the algorithm's capacity to enhance vehicle detection, considering a diverse range of vehicle types. The core of the algorithm comprises an iterative self-training process that refines model performance using both labeled and unlabeled data, thus progressively enhancing detection accuracy. Our findings reveal significant improvements in the ability of the model to accurately identify and classify vehicles, highlighting the potential of self-learning algorithms in urban traffic management.
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 Capítulo o parte de un libro (BookPart)

Implementation of a Framework for Early Anomaly Detection in Naval Systems

  • Suano Gallardo, Manuel
  • Gómez Sánchez, Rafael
  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Medina Bulo, María Inmaculada
The rapid digital transformation and the ongoing paradigm shift towards Industry 4.0 have significantly augmented interconnectivity through the integration of sophisticated technologies within industrial networks, server infrastructure, and cloud environments. Consequently, these interconnected systems are increasingly susceptible to critical security vulnerabilities, including illicit access to confidential information and acts of sabotage. Recognizing the limitations of existing security systems, including intrusion detection systems and security information and event management systems, in addressing novel threats, we propose complex event processing (CEP) as an effective countermeasure. CEP enables the timely and real-time detection of cyberattacks within operational technology (OT) and the Internet of Things (IoT) environments, exhibiting adaptability to the resource constraints of these devices. This work presents a framework of a specific architecture tailored for OT and IoT, implementing CEP on Advanced RISC Machine (ARM) devices to improve the early identification of cyber intrusions, including its human-machine interface (HMI). The proposed framework operates by capturing network traffic and processing it through a CEP engine to automatically identify anomalous patterns. The framework's efficacy is validated through its integration into Navantia's integrated bridge system within a real-world deployment.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Reducing Pollution Health Impact with Air Quality Prediction Assisted by Mobility Data

  • Morales García, Juan
  • Ramos Sorroche, Emilio
  • Balderas Díaz, Sara
  • Guerrero Contreras, Gabriel José
  • Muñoz Ortega, Andrés
  • Santa, Jose
  • Terroso Sáenz, Fernando
Countries all around the world recognise the impact of air quality on public health, advocating for city centre decarbonisation and pollutant monitoring via Internet of Things technologies. Using data collected from these systems, it is possible to generate models that predict pollution based on regular patterns where mobility data can enhance the accuracy and robustness of these advanced machine learning models. This paper follows this approach, utilising vehicle traffic data from image recognition, on-site vehicle detectors, and synthetic data to maximise prediction accuracy in various urban environments. The results reveal that this proposal improves prediction for traffic-related pollutants, such as SO2 and PM2.5 , which are linked to severe respiratory diseases. These results also highlight the role of synthetic data in enhancing prediction performance under limited datasets.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Enhancing Sentiment Analysis on Social Media: Integrating Text and Metadata for Refined Insights

  • Guerrero Contreras, Gabriel José
  • Balderas Díaz, Sara
  • Serrano Fernández, Alejandro
  • Muñoz Ortega, Andrés
Sentiment analysis has gained prominence in the digital era, particularly within social media contexts. This study explores the integration of metadata, such as reposts, favorites, or followers, alongside textual information for sentiment analysis. A dataset of posts in Spanish is created, filtering by a set of keywords (a total of 17) of interest to us. A total of 3,962 posts were collected along with their metadata. Then, they have been manually classified as positive, negative, and neutral, and processed. The research studies and compares different models like LightGBM, BERT, and a hybrid model combining BERT outputs with metadata. Evaluation metrics, such as F1-score and precision, were employed, revealing that the hybrid model achieved the highest F1-score of 69.4%, showcasing the effectiveness of merging text comprehension capabilities with contextual metadata. While the incorporation of metadata enhanced overall sentiment classification, precision varied across sentiment classes, with notable improvements in neutral and positive sentiments, over 16% and 8% respectively.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Cost-effective ADAS for inter-vehicle distance estimation using computer vision and deep learning

  • Guerrero Contreras, Gabriel José
  • Balderas Díaz, Sara
  • Díaz Gómez, Alejandro
  • Medina Bulo, María Inmaculada
  • Dominguez Jiménez, Juan José
Road safety is a critical global issue, with traffic accidents causing substantial human and economic losses annually. Advanced Driver Assistance Systems (ADAS) have emerged as an effective solution, leveraging technologies such as computer vision and artificial intelligence to enhance driving safety. However, the high costs and complexity of these systems limit their widespread adoption. This paper presents a cost-effective ADAS prototype utilizing vision-based and deep learning technologies to monitor and maintain safe following distances between vehicles. The performance of the system is evaluated using standard datasets and real-world scenarios, demonstrating adaptability across diverse driving conditions. Additionally, the feasibility of deploying the system on low-resource devices, such as Raspberry Pi and Radxa Zero, is analyzed, highlighting its potential for practical applications.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

Ethereum blockchain platform

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
There are several blockchain platforms for developing applications using blockchain technology. These can be classified into open-source and commercial ones. In this chapter, we propose comprehensive learning about Ethereum, one of the well-known open-source platforms for decentralized applications. Among its main advantages, Ethereum has the ability to integrate and use smart contracts, that is, pieces of code that enables the exchange of digital assets between several agents and the execution of code through distributed applications. Ethereum also has a fast block production, which provides high speed in confirming transactions with respect to Bitcoin and other networks. Besides, it is not controlled by any central authority, that is, Ethereum network is completely decentralized, being decisions made by consensus. In addition, it is a public network that allows for complete traceability and transparency of information with universal access to data from anywhere in the world.
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)

AALFlow: A Model-Driven Approach for the Integration of Internet of Things Heterogeneous Solutions for Ambient Assisted Living

  • Caballero Torres, Pablo
  • Cano Crespo, Manuel
  • Ortiz Bellot, Guadalupe
  • Medina Bulo, María Inmaculada
The global aging population has led, over the last few years, to the proliferation of Ambient Assisted Living (AAL) systems. These include Internet of Things (IoT)-based systems for monitoring, activity recognition, fall detection and even indoor location systems. The wide variety of existing systems highlights the interest in AAL as a tool to improve the life of elderly and dependent people. However, such variety is also an issue for data integration, which in turn challenges the development of more advanced functionalities for their care. To solve this issue, this paper proposes a model-driven approach that facilitates the creation of information flows to combine several existing IoT solutions for AAL systems. For this purpose, we present a metamodel that allow to represent information flows for heterogeneous AAL systems. In addition, a graphical tool to facilitate the design of such flows along with a mechanism to automatically transform the models into executable code is also provided. Finally, a use case oriented to monitoring elderly and dependent people routine is presented. Thus, we contribute to facilitating the integration of heterogeneous applications based on information flows to build more complex systems that improve real-time monitoring and care of the elderly and dependent people.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Taxonomy and Software Architecture for Real-Time Context-Aware Collaborative Smart Environments

  • Bazán Muñoz, Adrián
  • Ortiz Bellot, Guadalupe
  • Augusto, Juan Carlos
  • García de Prado Fontela, Alfonso
The widespread of Internet of Things (IoT) and the price reduction and ubiquity of telecommunications has led to the emergence of smart environments where devices are becoming increasingly smarter and everything is connected and from which society aims to benefit. The data obtained from IoT is rapidly processed in various domains for the achievement of smart cities and societies. However, in many cases, applications are not contextualized by using data from outside the domain but are only contextualized using data from the domain itself, missing the opportunity for further contextualization. The lack of common criteria for the integration of data from different application domains is one of the main reasons that significantly hinders the integration of third-party data into real-time processing and decision-making systems and thus, the context awareness of developed applications. Although the use of several taxonomies and ontologies for context awareness in various application domains have been proposed, in many cases they are highly domain specific and/or difficult to integrate with other systems, which makes it challenging to facilitate data sharing between different systems and their processing to achieve enhanced context awareness. We aim to contribute to the addressing of these limitations through a reusable and extensible multi-domain taxonomy targeted to collaborative IoT and smart environments, which is also automatically integrated into a software architecture with real-time complex event processing technologies. The proposed solution has been illustrated through a case study and performance tests have been carried out in different computing capacity scenarios, showing its feasibility and usefulness., La generalización del Internet de las Cosas (IoT) y la reducción de precios y ubicuidad de las telecomunicaciones ha llevado a la aparición de entornos inteligentes donde los dispositivos se están volviendo cada vez más inteligentes y todo está conectado, y de lo cual la sociedad espera beneficiarse. Los datos obtenidos de IoT se procesan rápidamente en varios dominios para el logro de ciudades y sociedades inteligentes. Sin embargo, en muchos casos, las aplicaciones no se contextualizan utilizando datos de fuera del dominio, sino que solo se contextualizan utilizando datos del propio dominio, perdiendo la oportunidad de una mayor contextualización. La falta de criterios comunes para la integración de datos de diferentes dominios de aplicación es una de las principales razones que dificulta significativamente la integración de datos de terceros en sistemas de procesamiento y toma de decisiones en tiempo real y, por lo tanto, la conciencia de contexto de las aplicaciones desarrolladas. Aunque se han propuesto varias taxonomías y ontologías para la conciencia de contexto en varios dominios de aplicación, en muchos casos son altamente específicas del dominio y/o difíciles de integrar con otros sistemas, lo que dificulta la compartición de datos entre diferentes sistemas y su procesamiento para lograr una mayor conciencia de contexto. Nuestro objetivo es contribuir a abordar estas limitaciones a través de una taxonomía multidominio reutilizable y extensible dirigida a IoT colaborativo y entornos inteligentes, que también se integra automáticamente en una arquitectura de software con tecnologías de procesamiento de eventos complejos en tiempo real. La solución propuesta ha sido ilustrada a través de un estudio de caso y se han realizado pruebas de rendimiento en diferentes escenarios de capacidad de cómputo, mostrando su viabilidad y utilidad., Ministerio de Ciencia, Innovación y Universidades (MICIN) European Regional Development Fund Ministry of Economic Transformation, Industry, Knowledge and Universities of the Andalusian Regional Government University of Cadiz
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

Evaluating the integration of Esper complex event processing engine and message brokers

  • Ortiz Bellot, Guadalupe
  • Bazán Muñoz, Adrián
  • Lamersdorf, Winfried
  • García de Prado Fontela, Alfonso
El gran avance y asequibilidad de las tecnologías, las comunicaciones y la tecnología de sensores ha llevado a la generación de grandes cantidades de datos en el campo del Internet de las Cosas y los entornos inteligentes, así como una gran demanda de aplicaciones y servicios inteligentes adaptados a las necesidades específicas de cada individuo. Esto ha conllevado la necesidad de sistemas capaces de recibir, enrutamiento y procesamiento de grandes cantidades de datos para detectar situaciones de interés con baja latencia, pero a pesar de los muchos trabajos existentes en los últimos años, estudiar sistemas de procesamiento de datos altamente escalables y de baja latencia sigue siendo necesario. En esta área, la eficiencia de la tecnología de procesamiento de eventos complejos (CEP) es de particular importancia y se ha utilizado en una variedad de escenarios de aplicación. Sin embargo, en la mayoría de estos escenarios no hay una evaluación de rendimiento para mostrar cómo se desempeña el sistema bajo diversas cargas y, por lo tanto, el desarrollador se enfrenta al desafío de desarrollar tales sistemas basados en CEP en nuevos escenarios sin saber cómo el sistema será capaz de manejar diferentes tasas de datos de entrada y abordar la escalabilidad y la tolerancia a fallos. Este artículo tiene como objetivo llenar este vacío proporcionando una evaluación de las diversas versiones de uno de los motores CEP más reputados: Esper CEP, así como su integración con dos reconocidos brokers de mensajería para la ingesta de datos: RabbitMQ y Apache Kafka. Para este propósito, definimos un punto de referencia con una serie de patrones de eventos con algunos de los operadores más representativos del motor Esper CEP y realizamos una serie de pruebas con una tasa creciente de datos de entrada al sistema. Hicimos esto para tres arquitecturas de software alternativas: integrando Esper de código abierto y RabbitMQ, integrando una instancia de Esper edición empresarial con Apache Kafka, e integrando dos instancias distribuidas de Esper edición empresarial con Apache Kafka. Medimos el uso de CPU, memoria RAM, latencia y tiempo de rendimiento, buscando la tasa de entrada de datos con la que el sistema se sobrecarga para cada patrón de evento y comparamos los resultados de las tres arquitecturas propuestas. Los resultados han mostrado un consumo de CPU muy bajo para todas las opciones de implementación y tasas de datos de entrada; un uso equilibrado de la memoria, bastante similar entre las tres arquitecturas, hasta una tasa de entrada de 10,000 o 15,000 eventos por segundo, dependiendo de la arquitectura y el patrón de eventos, y un tiempo de respuesta bastante eficiente hasta 10,000 o 15,000 eventos por segundo, dependiendo de la arquitectura y el patrón de eventos. Basándonos en un análisis más exhaustivo de los resultados, hemos concluido que las diferentes opciones ofrecidas por Esper para CEP proporcionan soluciones muy eficientes para el procesamiento de datos en tiempo real, aunque cada una con sus limitaciones en términos de brokers a utilizar para la integración de datos, escalabilidad y tolerancia a fallos; se han extraído una serie de sugerencias para que el desarrollador tome como base para elegir qué motor CEP y qué broker de mensajería utilizar para la implementación dependiendo del sistema en cuestión., The great advance and affordability of technologies, communications and sensor technology has led to the generation of large amounts of data in the field of the Internet of Things and smart environments, as well as a great demand for smart applications and services adapted to the specific needs of each individual. This has entailed the need for systems capable of receiving, routing and processing large amounts of data to detect situations of interest with low latency, but despite the many existing works in recent years, studying highly scalable and low latency data processing systems is still necessary. In this area, the efficiency of complex event processing (CEP) technology is of particular significance and has been used in a variety of application scenarios. However, in most of these scenarios there is no performance evaluation to show how the system performs under various loads and therefore the developer is challenged to develop such CEP-based systems in new scenarios without knowing how the system will be able to handle different input data rates and address scalability and fault tolerance. This article aims to fill this gap by providing an evaluation of the various versions of one of the most reputable CEP engines—Esper CEP, as well as its integration with two renowned messaging brokers for data ingestion—RabbitMQ and Apache Kafka. For this purpose, we defined a benchmark with a series of event patterns with some of the most representative operators of the Esper CEP engine and we performed a series of tests with an increasing rate of input data to the system. We did this for three alternative software architectures: integrating open-source Esper and RabbitMQ, integrating one instance of Esper enterprise edition with Apache Kafka, and integrating two distributed instances of Esper enterprise edition with Apache Kafka. We measured the usage of CPU, RAM memory, latency and throughput time, looking for the data input rate with which the system overloads for each event pattern and we compared the results of the three proposed architectures. The results have shown a very low CPU consumption for all implementation options and input data rates; a balanced memory usage, quite similar among the three architectures, up to an input rate of 10,000 or 15,000 events per second, depending on the architecture and event pattern, and a quite efficient response time up to 10,000 or 15,000 events per second, depending on the architecture and event pattern. Based on a more exhaustive analysis of results, we have concluded that the different options offered by Esper for CEP provide very efficient solutions for real-time data processing, although each with its limitations in terms of brokers to be used for data integration, scalability, and fault tolerance; a number of suggestions have been drawn out for the developer to take as a basis for choosing which CEP engine and which messaging broker to use for the implementation depending on the of the system in question, R&D&I Projects, Andalusian Knowledge System, Andalusian Plan for Research, Development and Innovation: PAIDI 2020. Project 80% Co-financed by the European Union, Andalusia ERDF Operational Programme 2014-2020. Ministry of Economic Transformation, Industry, Knowledge and Universities of the Andalusian Regional Government. DECISION Project with Reference: P20_00865. AwESOMe Grant PID2021-122215NB-C33: MCIN/AEI/10.13039/501100011033/. ERDF A way to do Europe and ASSENTER Grant PDC2022-133522-I00: MCIN/AEI/10.13039/501100011033. European Union Next Generation EU/PRTR
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Capítulo o parte de un libro (BookPart)

A Comprehensive Review on Equivalent Mutant Detection Using Machine Learning

  • Guerrero Contreras, Gabriel José
  • Balderas Díaz, Sara
  • Delgado Pérez, Pedro
  • Medina Bulo, María Inmaculada
Mutation testing evaluates test suite effectiveness by introducing small code modifications ("mutants") and checking if tests detect them. A major challenge is equivalent mutants, which are code changes that do not alter program behavior, making detection computationally expensive and undecidable. This review examines Machine Learning approaches, including Abstract Syntax Tree Neural Networks and Tree-Based Convolutional Neural Networks, to address this issue. Key challenges include limited datasets, inconsistent metrics, and reproducibility concerns. The study highlights the need for standardized frameworks and future research directions in mutation testing.
RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz
Publicación Artículo científico (JournalArticle)

CEPEDALoCo: An event-driven architecture for integrating complex event processing and blockchain through low-code

  • Rosa Bilbao, Jesús
  • Boubeta Puig, Juan
  • Rutle, Adrian
Internet of Things (IoT) is made up of millions of devices generating large amounts of heterogeneous data from multiple sources. These devices can be from multiple manufacturers which makes their use in terms of data acquisition, processing, analysis and actions on these data challenging. Additionally, all these data must be analyzed and correlated in real time for the early detection of situations of interest (complex events) and subsequent decision making. These complex events must be able to automatically trigger decisions and be stored in a secure, immutable and accessible way. In this context, Event-Driven Applications (EDAs) are a solution to meet these needs, however, developing such applications requires vast knowledge in certain technologies. To address these challenges, an EDA is proposed in this paper to integrate Complex Event Processing (CEP) and blockchain through the low-code paradigm. This proposal allows for the development of EDAs in a user-friendly way. These applications make it possible to integrate IoT devices from multiple manufacturers and with different data formats together with CEP technology for complex event detection and blockchain for secure, immutable and accessible event storage. To demonstrate the feasibility, the architecture was applied and evaluated in a case study related to measuring and acting on air quality using IoT devices that measure different pollutants and factors such as temperature, humidity and wind. The results show that the graphically designed EDAs facilitate the real-time analysis of the collected IoT data via a CEP engine, whose outcome is transparently and automatically registered in a blockchain network., This work was partly supported by grant PID2021-122215NB-C33 (AwESOMe) funded by MCIN/AEI/10.13039/501100011033/ and ERDF “A way to do Europe”, by grant P20_00865 (DECISION) funded by the Andalusian Plan for Research, Development and Innovation and ERDF , and by grant EST2023-011 funded by the Research Plan from the University of Cadiz 2022–2023, Spain . We would like to thank Javier Berrocal for recommending the purchase of Netatmo sensors. Jesús Rosa-Bilbao would also like to thank the Department of Computer Science, Electrical Engineering and Mathematical Sciences for their hospitality when visiting them at Western Norway University of Applied Sciences, Bergen, Norway, where part of this work was developed.
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 Artículo científico (JournalArticle)

Algorithm for Application of a Basic Model for the Data Envelopment Analysis Method in Technical Systems

  • Pokushko, Mariia
  • Stupina, Alena
  • Medina Bulo, María Inmaculada
  • Ezhemanskaya, Svetlana
  • Kuzmich, Roman
  • Pokushko, Roman
The aim of this study is to solve the problem of increasing the efficiency of fuel and energy complex enterprises. Because such enterprises are complex systems, it is difficult to optimize their work, taking into account all the technical indicators of such enterprises. This study proposes to solve this problem by defining an algorithm using the data envelopment analysis (DEA) method. In particular, the algorithm was applied in heating systems using the example of a combined heat and power plant, where the DEA method had not previously been used. Experiments were carried out to improve the efficiency of the combined heat and power plant. Efficiency indicators were calculated, changing inputs and outputs of the model according to the study case to achieve the maximum efficiency of the system. The Charnes; Cooper and Rhodes; and the Banker, Charnes, and Cooper models were tested with good results. The presented methodology and experimental results enabled the DEA method to be applied for the first time to improve the efficiency of fuel and energy companies.
RUA. Repositorio Institucional de la Universidad de Alicante
Publicación Otros (Other)

Exploiting synthetic data generation to enhance pollution prediction

  • Morales-García, Juan
  • Ramos-Sorroche, Emilio
  • Balderas-Díaz, Sara
  • Guerrero-Contreras, Gabriel
  • Muñoz, Andrés
  • Santa, José
  • Terroso-Sáenz, Fernando
  • Morales-García, Juan|||/items/392294ef-1f4d-46ea-acdd-b1c285f28bea
Pollution in urban areas is turning into a primary focus for local governments in developed nations around the globe. Lots of data are currently collected for this from smart developments provided with atmospheric and climatic sensors. A hot research line is now exploiting such data to extract patterns and predict pollution levels in such a way that countermeasures can be taken beforehand and exposure to harmful concentrations is avoided. However, a key issue is the lack of significant data, due to incomplete smart infrastructures or calibration problems in sensors. Dealing with this, in this paper we propose the exploitation of synthetic data generation to enhance pollution prediction based on limited data sources, concretely extending real measurements of two weeks to up to ten extra years. We present a data generation approach based on Generative Adversarial Networks (GANs), with a particular model focused on generating artificial pollution data, which is later exploited using different Machine Learning (ML) algorithms. Results indicate that the usage of synthetic data further improves prediction when used as the basis dataset to be later finetuned using real records. For 62% of pollutants this way to proceed in data mixing (among five different approaches) provides the best results in evaluations. Such effect is due to extra model robustness due to data regularization, and better generalization capabilities by avoiding sensor limitations in real deployments.