Aspect-Oriented Approach of Non-Functional Requirements for Embedded System-Based IoT Applications

Designing high-performance embedded devices is usually time consuming and error-prone due to conflicting non-functional requirements (NFRs) like performance, timeliness, and sustainability. This paper proposes an Aspect-Oriented Programming (AOP) approach using AspectJ to streamline IoT middleware design by modularizing NFRs and communicating domain knowledge to optimizers and mapping tools. Leveraging AspectJ, our method enhances modularity by separating crosscutting concerns—such as scheduling, resource allocation, and synchronization—from core functionality. Our novel contribution lies in refactoring crosscutting concerns— task scheduling, resource management, and task synchronization —into reusable aspects, achieving a Cohesion Index (CoI) increase from 0.19 (Java) to 0.69 (AspectJ), a 263% improvement, while reducing code tangling. By leveraging context primitives and behavior functions aligned with standards like OSEK OS, we address IoT challenges such as real-time criticality and resource scarcity Validated across a real-time audio switch and simulated FreeRTOS environments, our method outperforms traditional Java designs, cutting memory usage by 20% (24.25% to 20.01%) and CPU utilization by 9% (44% to 40%), with a 50% runtime reduction in critical tasks (e.g., 92.03μs to 46.19μs). Unlike prior AOP efforts focused on desktop systems, this approach targets embedded IoT, offering a scalable, standards-integrated solution. A survey of real-time embedded system development highlights the superiority of Aspect-Oriented Software Development (ASOD) in enhancing schedulers, resource allocation agents, and other synchronization mechanisms with minimal overhead, setting a foundation for broader IoT adoption.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3585417
Primary Topic
Advanced Software Engineering Methodologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Aspect-Oriented Approach of Non-Functional Requirements for Embedded System-Based IoT Applications

S. Sengupta, Sankhayan Choudhury, Anirban Bhar
IEEE Access
Advanced Software Engineering Methodologies
article

Aspect-Oriented Approach of Non-Functional Requirements for Embedded System-Based IoT Applications

S. Sengupta, Sankhayan Choudhury, Anirban Bhar
article en

Abstract

Designing high-performance embedded devices is usually time consuming and error-prone due to conflicting non-functional requirements (NFRs) like performance, timeliness, and sustainability. This paper proposes an Aspect-Oriented Programming (AOP) approach using AspectJ to streamline IoT middleware design by modularizing NFRs and communicating domain knowledge to optimizers and mapping tools. Leveraging AspectJ, our method enhances modularity by separating crosscutting concerns—such as scheduling, resource allocation, and synchronization—from core functionality. Our novel contribution lies in refactoring crosscutting concerns— task scheduling, resource management, and task synchronization —into reusable aspects, achieving a Cohesion Index (CoI) increase from 0.19 (Java) to 0.69 (AspectJ), a 263% improvement, while reducing code tangling. By leveraging context primitives and behavior functions aligned with standards like OSEK OS, we address IoT challenges such as real-time criticality and resource scarcity Validated across a real-time audio switch and simulated FreeRTOS environments, our method outperforms traditional Java designs, cutting memory usage by 20% (24.25% to 20.01%) and CPU utilization by 9% (44% to 40%), with a 50% runtime reduction in critical tasks (e.g., 92.03μs to 46.19μs). Unlike prior AOP efforts focused on desktop systems, this approach targets embedded IoT, offering a scalable, standards-integrated solution. A survey of real-time embedded system development highlights the superiority of Aspect-Oriented Software Development (ASOD) in enhancing schedulers, resource allocation agents, and other synchronization mechanisms with minimal overhead, setting a foundation for broader IoT adoption.

IEEE AccessVol. 13
University of Calcutta (IN)
Openalex Percentile: Top 92%
Advanced Software Engineering Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.