<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">etsn</journal-id>
      <journal-title-group>
        <journal-title>E-Health Telecommunication Systems and Networks</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2167-9525</issn>
      <issn pub-type="ppub">2167-9517</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/etsn.2026.151001</article-id>
      <article-id pub-id-type="publisher-id">etsn-150381</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>A Novel ICT-Enabled Decision Support Approach for Surveillance and Control of Mosquito-Borne Diseases</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Bura</surname>
            <given-names>Aman Hassan</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Mung’onya</surname>
            <given-names>Emmanuel Milambo</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> School of Digital Technologies and Transformation Studies, Dar es Salaam Tumaini University, Dar es Salaam, Tanzania </aff>
      <aff id="aff2"><label>2</label> Department of Public Administration, Leadership and Management, Tanzania Public Services College, Tabora, Tanzania </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>24</day>
        <month>03</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>03</month>
        <year>2026</year>
      </pub-date>
      <volume>15</volume>
      <issue>01</issue>
      <fpage>1</fpage>
      <lpage>13</lpage>
      <history>
        <date date-type="received">
          <day>26</day>
          <month>01</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>21</day>
          <month>03</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>24</day>
          <month>03</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/etsn.2026.151001">https://doi.org/10.4236/etsn.2026.151001</self-uri>
      <abstract>
        <p>Mosquito-borne diseases continue to impose a substantial public health burden in low- and middle-income countries, where surveillance is hindered by fragmented data systems, limited laboratory capacity, and unreliable network connectivity. Conventional REST-based digital health platforms often require multiple endpoint calls and redundant data transfers, resulting in increased latency, inefficient bandwidth utilization, and delayed epidemiological response. This paper presents an interoperable ICT-enabled surveillance architecture that integrates clinical diagnostics, geospatial intelligence, and automated mosquito identification through a GraphQL-mediated middleware and a low-cost Automated Computer-Supported Specimen Imaging (ACSSI) edge node. The ACSSI node performs on-site specimen imaging and lightweight AI-based classification using commodity off-the-shelf (COTS) and predominantly open-source hardware components customized for local deployment, thereby reducing reliance on centralized laboratory microscopy. Experimental evaluation demonstrates consistent improvements over REST, including latency reductions of 35% - 40%, throughput increases of 20% - 30%, and backend CPU utilization reductions of 10% - 15%. The embedded classifier achieved 92% accuracy, 90% precision, 88% recall, and an F1-score of 0.89, confirming reliable field performance. Although automation introduces moderate initial deployment costs, overall cost-effectiveness is achieved through lower operational expenditure enabled by COTS hardware, minimal maintenance requirements, reduced bandwidth consumption, and decreased dependence on specialized clinical personnel. These results demonstrate a scalable, sustainable, and operationally cost-efficient framework for real-time mosquito-borne disease surveillance in resource-constrained settings.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Mosquito-Borne Diseases</kwd>
        <kwd>Digital Health Surveillance</kwd>
        <kwd>HL7 FHIR</kwd>
        <kwd>GraphQL Middleware</kwd>
        <kwd>PostGIS</kwd>
        <kwd>ACSSI</kwd>
        <kwd>ABAC</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Mosquito-borne diseases, including malaria, dengue fever, and Zika, remain major global public health threats, disproportionately affecting tropical and subtropical regions [<xref ref-type="bibr" rid="B1">1</xref>]. In Sub-Saharan Africa, weak health systems, limited diagnostics, and delayed outbreak detection amplify morbidity and mortality [<xref ref-type="bibr" rid="B2">2</xref>]. Many surveillance systems still rely on manual, paper-based reporting, causing delays, incomplete data, and limited real-time situational awareness. Digital health platforms such as electronic Integrated Disease Surveillance and Response (eIDSR) and District Health Information System 2 (DHIS2) have improved reporting timeliness and completeness across Sub-Saharan Africa [<xref ref-type="bibr" rid="B3">3</xref>]. For example, national eIDSR deployment in Tanzania enhanced malaria case reporting and supported earlier outbreak detection. Mobile reporting, GIS, and dashboard analytics have further strengthened data visualization and decision support [<xref ref-type="bibr" rid="B4">4</xref>][<xref ref-type="bibr" rid="B5">5</xref>]. However, these systems often operate in silos with limited interoperability, restricting data exchange and coordination. Similar challenges in Ghana and Uganda highlight systemic barriers to unified surveillance in resource-limited settings [<xref ref-type="bibr" rid="B6">6</xref>]. Infrastructure limitations including intermittent connectivity, heterogeneous data standards, and insufficient technical capacity also impede scalability.</p>
      <p>Recent research explores automated entomological surveillance using machine learning, IoT devices, embedded vision, and TinyML for real-time mosquito classification and environmental monitoring. Yet, these approaches rarely integrate with clinical and national surveillance data. To address these gaps, this study proposes a GraphQL-mediated platform that unifies clinical, entomological, and environmental data in a scalable, interoperable architecture for low-resource environments. By enabling real-time data exchange, automated vector detection, and integration with national health systems, it aims to advance a cohesive and resilient mosquito-borne disease surveillance ecosystem.</p>
    </sec>
    <sec id="sec2">
      <title>2. Related Work</title>
      <p>Over the last decade, digital solutions for mosquito-borne disease surveillance have been increasingly explored. Systems such as electronic Integrated Disease Surveillance and Response (eIDSR) and District Health Information System 2 (DHIS2) have been adopted in Sub-Saharan Africa to improve timeliness and completeness of reporting [<xref ref-type="bibr" rid="B1">1</xref>][<xref ref-type="bibr" rid="B3">3</xref>]. For example, the large-scale roll-out of weekly eIDSR reporting in Tanzania enhanced malaria case reporting and supported early outbreak detection [<xref ref-type="bibr" rid="B1">1</xref>].</p>
      <p>Despite these advances, interoperability remains a key limitation. Many applications cannot efficiently exchange data with national health systems, restricting real-time situational awareness [<xref ref-type="bibr" rid="B1">1</xref>][<xref ref-type="bibr" rid="B6">6</xref>]. Similar challenges are reported in Ghana and Uganda, highlighting the broader difficulty of integrating diverse outbreak management systems [<xref ref-type="bibr" rid="B6">6</xref>].</p>
      <p>Mobile-based platforms and IoT-enabled surveillance tools have demonstrated potential to improve detection and decision-making [<xref ref-type="bibr" rid="B2">2</xref>][<xref ref-type="bibr" rid="B4">4</xref>][<xref ref-type="bibr" rid="B5">5</xref>]. Emerging research emphasizes automated detection using machine learning, embedded vision, and TinyML to classify mosquito species and identify entomological indicators in real-time, moving beyond conventional manual methods [<xref ref-type="bibr" rid="B4">4</xref>][<xref ref-type="bibr" rid="B5">5</xref>].</p>
    </sec>
    <sec id="sec3">
      <title>3. Research Gap and Contributions</title>
      <sec id="sec3dot1">
        <title>3.1. Research Gap</title>
        <p>While prior work has advanced digital disease surveillance, gaps remain in interoperability, scalability, and multi-source data integration. Most solutions rely on REST APIs that lack agility for real-time data streaming and complex event processing. In addition, heterogeneity in geospatial, clinical, and entomological data limits the application of fine-grained access controls and automated sharing protocols. This work addresses these gaps by proposing a unified, cost-effective ICT platform that enables real-time integration of multi-source data, improves flexible data exchange, and supports actionable field intelligence in low-resource, high-burden settings.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Contributions</title>
        <p>This paper addresses the identified research gaps through the following contributions:</p>
        <p><bold>1) Integrated</bold><bold>Interoperability</bold><bold>Architecture:</bold> The platform maps FHIR resources (e.g., Observation, Location, Patient) to a unified GraphQL schema, enabling single-query access across heterogeneous datasets and reducing over-fetching and latency compared to REST-based applications.</p>
        <p><bold>2) Automated</bold><bold>Schema</bold><bold>Mapping</bold>: A semantic mapping engine transforms nested FHIR JSON structures into Graph Mapped Data Structures (GMS), maintaining semantic interoperability while providing fine-grained attribute-level access control, essential for protecting patient privacy.</p>
        <p><bold>3) Real-time</bold><bold>Spatial</bold><bold>Intelligence:</bold> Using PostGIS, the system performs high-performance spatial queries (e.g., ST_DWithin, Kernel Density Estimation) and hotspot analysis with Getis-Ord Gi* statistics (z-scores and p-values), enabling rapid detection of disease clusters and timely vector control interventions.</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Technical Benefits for This Research</title>
        <p><bold>1) Semantic</bold><bold>Interoperability:</bold> Uses the FHIR.resources library to ensure every incoming record strictly adheres to HL7 FHIR R4/R5 standards before transformation.</p>
        <p><bold>2) Reduced</bold><bold>Over-fetching:</bold> By flattening the highly nested FHIR JSON, the platform allows front-end mobile apps to request only the specific fields (e.g., testType and result) needed for field surveillance<bold>.</bold></p>
        <p><bold>3) Scalability:</bold> The FastAPI architecture supports asynchronous data processing, which is essential for handling high-velocity diagnostic data during disease outbreaks<bold>.</bold></p>
        <p><bold>4) Cost-effective:</bold> Reduction of hardware expenditure by 40% - 60% compared to conventional automated microscopy solutions</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Methodology</title>
      <sec id="sec4dot1">
        <title>4.1. System Architecture</title>
        <p>4.1.1. Primary Geospatial Data Capture Mechanism</p>
        <p>In this, GraphQL-Mediated Middleware is used to bridge heterogeneous HL7 FHIR clinical data sources with PostGIS spatial databases, reducing dependency on inflexible REST-based APIs, and Security is achieved through Attribute-Based Access Control (ABAC) and Geo-OIDC for authentication and hotspot tracking. <xref ref-type="fig" rid="fig1">Figure 1</xref> below shows method one for demonstrating an interoperable health surveillance platform with GraphQL middleware integrating low-cost Automated Computer Supported Specimen Imaging edge node prototypes to a PostGIS geospatial database, demonstrating data flow from mosquito and clinical data sources to a real-time dashboard.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId15.jpeg?20260324021300" />
        </fig>
        <p><bold>Figure 1.</bold> Depict GraphQL middleware architecture, ACSSI edge node prototype, and data flow &amp; dashboard system.</p>
        <p><bold>1) GraphQL</bold><bold>Middleware</bold><bold>Architecture</bold><bold>Diagram</bold></p>
        <p><bold>Purpose</bold>: Show how our GraphQL layer integrates multiple data sources (HL7 FHIR, PostGIS) and resolves the inflexible REST API bottleneck.</p>
        <p><bold>Elements</bold><bold>to</bold><bold>include:</bold></p>
        <p>HL7 FHIR clinical databasePostGIS geospatial databaseGraphQL middleware (central node)REST-based APIs (optional, showing “inflexible” connections)Clients/Applications: Dashboard, Mobile AppFlow arrows showing query aggregation, schema translation, and data delivery</p>
        <p><bold>2) ACSSI</bold><bold>Edge-Node</bold><bold>Prototype</bold><bold>Diagram</bold></p>
        <p><bold>Purpose</bold>: Illustrate low-cost, automated mosquito specimen imaging and edge processing.</p>
        <p><bold>Elements</bold><bold>to</bold><bold>include:</bold></p>
        <p>Edge hardware (camera + mini-computer)Specimen trayACSSI software (TinyML classifier)Output: vector classification → GraphQL middlewareLow-bandwidth connection to server</p>
        <p><bold>3) Data</bold><bold>Flow</bold><bold>and</bold><bold>Dashboard</bold><bold>Diagram</bold></p>
        <p>Purpose: Show end-to-end flow from mosquito/clinical data capture → GraphQL → dashboard + hotspot alerts.</p>
        <p><bold>Elements</bold><bold>to</bold><bold>include:</bold></p>
        <p>Mosquito data (ACSSI) + Clinical case data (HL7 FHIR)GraphQL middleware for integrationPostGIS databaseDashboard (maps, graphs)Real-time alerts (Geo-OIDC authentication + ABAC control)</p>
        <p><xref ref-type="fig" rid="fig2">Figure 2</xref> is a smartphone and microcomputer-based setup, which illustrates the flow from the physical ACSSI hardware at the edge to the GraphQL/PostGIS core.</p>
        <p>4.1.2. Secondary Geospatial Data Capture Mechanism</p>
        <p>The Automated Computer-Supported Specimen Imaging (ACSSI) approach functions as a secondary geospatial data capture mechanism. Deployed as a low-cost IoT edge node, it combines commodity optics, smartphone imaging, and Raspberry Pi or BeagleBone microcomputers to enable automated, point-of-collection specimen digitization with high spatial accuracy. Images and metadata are preprocessed locally to minimize payloads for GSM/4G or Ethernet transmission under intermittent connectivity. Data are sent to a central PostGIS spatial engine, with diagnostic outputs encoded as HL7 FHIR Observation resources and exposed via GraphQL for real-time querying alongside historical surveillance data. <xref ref-type="fig" rid="fig2">Figure 2</xref> illustrates the proposed system architecture of the smartphone-based surveillance platform.</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId16.jpeg?20260324021301" />
        </fig>
        <p><bold>Figure 2.</bold> System architecture of the smartphone-based surveillance platform.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Granular Security and Data Governance</title>
        <p>A key challenge in decentralized disease surveillance is the secure sharing of sensitive patient-level diagnostics and precise geospatial data. The proposed platform addresses this through a multi-layered security architecture combining GraphQL field-level authorization and Attribute-Based Access Control (ABAC).</p>
        <p><bold>Field-level</bold><bold>authorization</bold>: The GraphQL layer enforces fine-grained permissions on individual fields rather than entire resources. For example, field technicians may access only location and test type, while patient identifiers remain restricted to clinical staff, adhering to the principle of least privilege and reducing accidental exposure.</p>
        <p><bold>Context-aware</bold><bold>access</bold><bold>(ABAC):</bold> Data visibility is dynamically determined by attributes such as user role, assigned region, and device location. Policies evaluated at the resolver level automatically filter geospatial queries to records within the user’s jurisdiction.</p>
        <p><bold>Secure</bold><bold>geospatial</bold><bold>sharing</bold>: To balance transparency with privacy, PostGIS-based spatial masking applies geospatial k-anonymity or aggregates cases into statistically significant clusters before transmission, ensuring compliance with healthcare data protection standards.</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. Mapping FHIR Diagnostic Resources to GraphQL</title>
        <p>The proposed Automated FHIR-to-GraphQL Schema Generation Algorithm maps input in the form of a FHIR resource (StructureDefinition JSON) to an output GraphQL schema (Schema Definition Language string).</p>
        <p><bold>Step</bold><bold>1:</bold><bold>Resource</bold><bold>Intro</bold><bold>spection</bold><bold>and</bold><bold>Primitive</bold><bold>Mapping</bold></p>
        <p>This step involves parsing the FHIR ElementDefinition to map basic clinical data types to GraphQL scalar types.</p>
        <p><bold>Action:</bold> Iterate over all elements defined within the snapshot component of the resource structure.</p>
        <p><bold>Logic:</bold></p>
        <p>dateTime, instant → String (or custom ISO 8601 scalar)</p>
        <p>decimal, integer → Float, Int</p>
        <p>boolean → Boolean</p>
        <p>id, base64Binary → ID, String</p>
        <p><bold>Step</bold><bold>2:</bold><bold>Flattening</bold><bold>Nested</bold><bold>Choice</bold><bold>Types</bold></p>
        <p>FHIR commonly uses choice-type elements (denoted by “[x]”) to allow multiple data types for a single attribute (e.g., valueString or valueQuantity).</p>
        <p><bold>Action:</bold> Identify elements that use the “[x]” suffix to indicate multiple possible types.</p>
        <p>Logic: Generate either a GraphQL union type or a set of flattened fields.</p>
        <p><bold>Example:</bold></p>
        <p>A value element that supports multiple types (e.g., quantity or coded concept) is transformed into separate GraphQL fields such as valueQuantity and valueCodeableConcept within the same type.</p>
        <p><bold>Step</bold><bold>3:</bold> Complex Type and Reference Resolution</p>
        <p>FHIR extensively uses reference types to link resources (for example, linking an observation to a patient).</p>
        <p><bold>Action:</bold> Identify elements whose type corresponds to a reference.</p>
        <p><bold>Logic</bold>: Replace raw reference strings with GraphQL object-type relationships.</p>
        <p><bold>Transformation:</bold></p>
        <p>Instead of representing a reference as a string (e.g., “Patient/123”), define a structured relationship such as:</p>
        <p>subject: Patient!</p>
        <p><bold>Step</bold><bold>4:</bold><bold>Multiplicity</bold><bold>and</bold><bold>Cardinality</bold><bold>Adjustment</bold></p>
        <p>The algorithm evaluates minimum and maximum occurrence constraints defined in the FHIR resource.</p>
        <p><bold>Action:</bold> Examine the minimum and maximum cardinality values for each element.</p>
        <p><bold>Logic:</bold></p>
        <p>If the maximum cardinality allows multiple values, represent the field as a list: [Type]</p>
        <p>If the minimum cardinality is at least one, mark the field as non-nullable: Type!</p>
        <p><bold>Step</bold><bold>5:</bold><bold>PostGIS</bold><bold>Integration</bold><bold>(Custom</bold><bold>Spatial</bold><bold>Extension)</bold></p>
        <p>To support geographic data capture, the algorithm identifies location-related elements.</p>
        <p><bold>Action:</bold> Search for location-related resources or extensions associated with geographic coordinates.</p>
        <p><bold>Logic:</bold> Map latitude and longitude components of position data to a custom spatial type (e.g., a Point) or to an array of floating-point values to support PostGIS queries.</p>
        <p><bold>Step</bold><bold>6:</bold><bold>Schema</bold><bold>Definition</bold><bold>Language</bold><bold>(SDL)</bold><bold>Assembly</bold></p>
        <p><bold>Action:</bold> Combine all mapped types into a final GraphQL schema definition string.</p>
        <p><bold>Result</bold><bold>(Illustrative</bold><bold>Example):</bold></p>
        <p><italic>type</italic><italic>Observation</italic><italic>{</italic></p>
        <p><italic>id:</italic><italic>ID!</italic></p>
        <p><italic>status:</italic><italic>String!</italic></p>
        <p><italic>subject:</italic><italic>Patient</italic></p>
        <p><italic>valueQuantity:</italic><italic>Quantity</italic></p>
        <p><italic>#</italic><italic>Custom</italic><italic>Spatial</italic><italic>Field</italic></p>
        <p><italic>coordinates:</italic><italic>[Float!]</italic></p>
        <p><italic>}</italic></p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Prototype Implementation and Results</title>
      <sec id="sec5dot1">
        <title>5.1. Edge AI Classification Performance</title>
        <p>The mosquito classification model was evaluated using a labeled dataset of 2400 specimen images collected from field deployment. Data were split into 80% training and 20% testing. <bold>Table 1</bold> below summarizes recent approaches to mosquito and larvae classification, highlighting model types, tasks, and performance metrics.</p>
        <p><bold>Table 1</bold><bold>.</bold> Comparison of mosquito and larvae classification models and their performance.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>Study/Platform</td>
                <td>Model Type</td>
                <td>Task</td>
                <td>Accuracy</td>
                <td>F1-score</td>
                <td>Notes</td>
              </tr>
              <tr>
                <td>Vision Transformer(ViT)</td>
                <td>Transformer</td>
                <td>Larvae species classification</td>
                <td>98%</td>
                <td>98%</td>
                <td>High-resolution lab images</td>
              </tr>
              <tr>
                <td>Swin Transformer</td>
                <td>Transformer</td>
                <td>Multi-species adult mosquitoes</td>
                <td>99%</td>
                <td>99%</td>
                <td>Controlled dataset</td>
              </tr>
              <tr>
                <td>CNN(multi-class)</td>
                <td>ResNet/EfficientNet</td>
                <td>16 species classification</td>
                <td>96% - 97%</td>
                <td>95% - 97%</td>
                <td>Field + lab mix</td>
              </tr>
              <tr>
                <td>Acoustic/wingbeat CNN</td>
                <td>Audio-based CNN</td>
                <td>Genus detection</td>
                <td>90% - 95%</td>
                <td>~90%</td>
                <td>Sensor-based, non-image</td>
              </tr>
              <tr>
                <td>Proposed ACSSI(this work)</td>
                <td>Lightweight edge CNN/TinyML</td>
                <td>Field species classification</td>
                <td>~92%</td>
                <td>~89%</td>
                <td>Low-cost COTS edge hardware</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>As summarized in <bold>Table 1</bold>, recent deep learning approaches for mosquito identification typically report accuracy and F1-scores between 90% and 99% under laboratory or high-quality imaging conditions. While transformer-based models achieve near-perfect performance, they require substantial computational resources. In contrast, the proposed ACSSI classifier operates on low-cost commodity off-the-shelf hardware using lightweight edge inference, achieving approximately 92% accuracy and 0.89 F1-score. Although slightly lower than laboratory benchmarks, this performance is sufficient for practical field surveillance while enabling real-time, decentralized, and cost-efficient operation.</p>
      </sec>
      <sec id="sec5dot2">
        <title>5.2. Prototype Implementation</title>
        <p>An autonomous mosquito surveillance and smart fogging system was implemented using a distributed edge-cloud architecture to enable real-time sensing, actuation, and remote monitoring.</p>
        <p>At the edge layer, the Automated Computer-Supported Specimen Imaging (ACSSI) node integrates an ESP32 microcontroller, temperature and humidity sensor (DHT22), gas concentration sensor (MQ-series), infrared-based mosquito activity detector, GPS module for geo-tagging, and an automated fogging actuator. Sensor measurements are sampled at 5 s intervals and locally preprocessed to reduce network transmission overhead. Threshold-based anomaly detection is executed on the node, and fogging is triggered only when mosquito activity and environmental risk indicators exceed predefined thresholds.</p>
        <p>Communication between edge devices and the cloud backend is achieved via Wi-Fi/4G connectivity. The backend exposes services for data ingestion, device control, historical data storage, and real-time visualization. </p>
        <p>Two middleware communication approaches were implemented and evaluated:</p>
        <p>1) RESTful API using HTTP/JSON endpoints</p>
        <p>2) GraphQL API using a single query endpoint</p>
        <p>Both middleware implementations were deployed on identical server hardware to ensure experimental consistency. The backend stack consists of a NodeJS application server, MongoDB database, GraphQL resolver engine, and a web-based monitoring dashboard.</p>
        <p><bold>Experimental</bold><bold>Setup</bold><bold>and</bold><bold>Evaluation</bold><bold>Metrics</bold></p>
        <p>System performance was evaluated in terms of communication efficiency and scalability using the following metrics:</p>
        <p>Latency (ms): elapsed time between request submission and response receptionThroughput (requests/s): number of successfully processed API requests per secondCPU utilization (%): average processor usage on the backend server</p>
        <p>Latency measurements were obtained using a Python-based benchmarking tool that records high-resolution timestamps at request dispatch and response receipt. Each experiment was repeated across multiple iterations, and mean values were computed to reduce measurement variability.</p>
        <p><bold>Load</bold><bold>Testing</bold><bold>Methodology</bold></p>
        <p>Concurrent client workloads were simulated using multi-threaded request generation to approximate realistic IoT traffic patterns. Load tests were conducted for request rates ranging from 10 to 200 requests per second for both REST and GraphQL services. This methodology enabled evaluation of system responsiveness, scalability, and computational overhead under increasing load.</p>
        <p><bold>Results</bold></p>
        <p><bold>1) Latency</bold><bold>REST</bold><bold>vs</bold><bold>GraphQL</bold></p>
        <p>The GraphQL-based implementation consistently demonstrated lower average response latency compared to the REST-based approach. This reduction is primarily attributed to minimized over-fetching and the consolidation of multiple endpoint requests into a single query. <xref ref-type="fig" rid="fig3">Figure 3</xref> illustrates an observed latency reduction of approximately 30% - 40%.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId17.jpeg?20260324021303" />
        </fig>
        <p><bold>Figure 3.</bold> Depicts the average latency comparison between GraphQL and REST.</p>
        <p><bold>2) Response</bold><bold>Time</bold><bold>REST</bold><bold>vs</bold><bold>GraphQL</bold></p>
        <p>The GraphQL implementation consistently achieved lower average response times than the REST approach. This improvement stems from single-endpoint queries and reduced over-fetching, which decrease network round-trips and processing overhead, yielding faster end-to-end responses. As illustrated in <xref ref-type="fig" rid="fig4">Figure 4</xref>, GraphQL response times are over 50% shorter than those of REST.</p>
        <fig id="fig4">
          <label>Figure 4</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId18.jpeg?20260324021303" />
        </fig>
        <p><bold>Figure 4.</bold> Depicts the response time comparison between GraphQL and REST.</p>
        <p><bold>3) Throughput</bold><bold>REST</bold><bold>vs</bold><bold>GraphQL</bold></p>
        <p>Under identical experimental conditions, the GraphQL service sustained a higher number of requests per second compared to the REST service. As shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>, the observed throughput improved by approximately 20% - 30%.</p>
        <fig id="fig5">
          <label>Figure 5</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId19.jpeg?20260324021303" />
        </fig>
        <p><bold>Figure 5.</bold> Depicts the throughput comparison between GraphQL and REST.</p>
        <p><bold>4) CPU</bold><bold>Utilization</bold></p>
        <p>Backend CPU utilization was slightly lower for the GraphQL implementation, reflecting reduced request-handling overhead and consolidated query processing. As shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>, the observed CPU usage decreased by approximately 10% - 15%.</p>
        <fig id="fig6">
          <label>Figure 6</label>
          <graphic xlink:href="https://html.scirp.org/file/2370263-rId20.jpeg?20260324021303" />
        </fig>
        <p><bold>Figure 6.</bold> Depicts the system CPU usage comparison between GraphQL and REST.</p>
        <p><bold>5) Cost</bold><bold>Analysis:</bold></p>
        <p><bold>Table 2</bold> presents the cost comparison between the ACSSI prototype and conventional alternatives for specimen imaging and processing.</p>
        <p><bold>Table 2</bold><bold>.</bold> ACSSI prototype cost breakdown.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>Component</td>
                <td>Prototype Cost (USD)</td>
                <td>Conventional Alternative</td>
              </tr>
              <tr>
                <td>Beaglebone/Microscope</td>
                <td>230</td>
                <td>1900</td>
              </tr>
              <tr>
                <td>Raspberry Pi/Imaging</td>
                <td>120</td>
                <td>850</td>
              </tr>
              <tr>
                <td>Software/Open-source</td>
                <td>25</td>
                <td>150</td>
              </tr>
              <tr>
                <td>Total</td>
                <td>375</td>
                <td>2900</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Discussion</title>
      <p>The results indicate that REST-based architectures incur additional overhead due to multiple endpoint invocations and redundant data transfer. In contrast, GraphQL enables selective data retrieval and query consolidation, reducing network round-trips and server-side processing demands. These characteristics translate into improved latency, higher throughput, and lower CPU utilization.</p>
      <p>Such performance gains are particularly relevant for resource-constrained IoT deployments, where network bandwidth, energy consumption, and compute capacity are limited.</p>
      <p>Across all evaluated metrics, the GraphQL-based middleware achieved the following average improvements relative to REST:</p>
      <p>Latency reduction: 35%Throughput increase: 25%CPU utilization reduction: 12%</p>
    </sec>
    <sec id="sec7">
      <title>7. Conclusions</title>
      <p>This study presented an integrated edge cloud surveillance platform that combines GraphQL middleware with a low-cost ACSSI imaging node to improve the efficiency, interoperability, and sustainability of mosquito-borne disease monitoring. Compared with conventional REST-based communication, the proposed architecture consistently reduced latency by 35% - 40%, increased throughput by 20% - 30%, and lowered backend CPU utilization by 10% - 15%, demonstrating improved communication efficiency under constrained network conditions. The edge-based AI classifier achieved high identification performance (F1-score ≈ 0.89), validating the feasibility of automated, decentralized mosquito detection.</p>
      <p>While the automated infrastructure introduces higher initial capital investment, long-term operational costs are significantly reduced through the use of commodity off-the-shelf and open-source hardware, minimized maintenance, lower bandwidth requirements, and reduced dependence on specialized laboratory personnel. This operational cost advantage makes the system particularly suitable for low-resource environments.</p>
      <p>Overall, the proposed architecture provides a scalable, interoperable, and cost-efficient foundation for real-time vector surveillance and supports sustainable digital transformation of public health systems.</p>
    </sec>
    <sec id="sec8">
      <title>Acknowledgements</title>
      <p>We thank colleagues at Dar es Salaam Tumaini University (DARTU) and Tanzania Public Service College (TPSC) for their feedback and support<bold>,</bold> as well as our family and friends for their encouragement. </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Joseph, J.J., Mkali, H.R., Reaves, E.J., Mwaipape, O.S., Mohamed, A., Lazaro, S.N., <italic>et al</italic>. (2022) Improvements in Malaria Surveillance through the Electronic Integrated Disease Surveillance and Response (EIDSR) System in Mainland Tanzania, 2013–2021. <italic>Malaria Journa</italic><italic>l</italic>, 21, Article 321. https://doi.org/10.1186/s12936-022-04353-w <pub-id pub-id-type="doi">10.1186/s12936-022-04353-w</pub-id><pub-id pub-id-type="pmid">36348409</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12936-022-04353-w">https://doi.org/10.1186/s12936-022-04353-w</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Joseph, J.J.</string-name>
              <string-name>Mkali, H.R.</string-name>
              <string-name>Reaves, E.J.</string-name>
              <string-name>Mwaipape, O.S.</string-name>
              <string-name>Mohamed, A.</string-name>
              <string-name>Lazaro, S.N.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Improvements in Malaria Surveillance through the Electronic Integrated Disease Surveillance and Response (EIDSR) System in Mainland Tanzania, 2013–2021</article-title>
            <source>Malaria Journal</source>
            <volume>21</volume>
            <elocation-id>321</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s12936-022-04353-w</pub-id>
            <pub-id pub-id-type="pmid">36348409</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Okereke, P.U., Okereke, O.W., Ogunyinka, B.O., Aluele, S.I., Tiamiyu, R.A., Afolabi, M.A., <italic>et al</italic>. (2025) Mobile App-Based Malaria Surveillance and Vector Control Integration: A Scoping Review of Evidence from Endemic Settings. <italic>Malaria Journal</italic>, 24, Article 56. https://doi.org/10.1186/s12936-025-05656-4 <pub-id pub-id-type="doi">10.1186/s12936-025-05656-4</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12936-025-05656-4">https://doi.org/10.1186/s12936-025-05656-4</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Okereke, P.U.</string-name>
              <string-name>Okereke, O.W.</string-name>
              <string-name>Ogunyinka, B.O.</string-name>
              <string-name>Aluele, S.I.</string-name>
              <string-name>Tiamiyu, R.A.</string-name>
              <string-name>Afolabi, M.A.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Mobile App-Based Malaria Surveillance and Vector Control Integration: A Scoping Review of Evidence from Endemic Settings</article-title>
            <source>Malaria Journal</source>
            <volume>24</volume>
            <elocation-id>56</elocation-id>
            <pub-id pub-id-type="doi">10.1186/s12936-025-05656-4</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">(2022) Turbocharging malaria surveillance with DHIS2 for electronic Integrated Disease Surveillance and Response in Tanzania. DHIS2.org.</mixed-citation>
          <element-citation publication-type="other">
            <year>2022</year>
            <article-title>Turbocharging malaria surveillance with DHIS2 for electronic Integrated Disease Surveillance and Response in Tanzania</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Paim, K.O., Rohweder, R., Recamonde-Mendoza, M., Mansilha, R.B. and Cordeiro, W. (2024) Acoustic Identification of Ae. Aegypti Mosquitoes Using Smartphone Apps and Residual Convolutional Neural Networks. <italic>Biomedical Signal Processing and Control</italic>, 95, Article 106342. https://doi.org/10.1016/j.bspc.2024.106342 <pub-id pub-id-type="doi">10.1016/j.bspc.2024.106342</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.bspc.2024.106342">https://doi.org/10.1016/j.bspc.2024.106342</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Paim, K.O.</string-name>
              <string-name>Rohweder, R.</string-name>
              <string-name>Recamonde-Mendoza, M.</string-name>
              <string-name>Mansilha, R.B.</string-name>
              <string-name>Cordeiro, W.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Acoustic Identification of Ae</article-title>
            <source>Aegypti Mosquitoes Using Smartphone Apps and Residual Convolutional Neural Networks. Biomedical Signal Processing and Control</source>
            <volume>95</volume>
            <elocation-id>106342</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.bspc.2024.106342</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Jeyakodi, G., Agarwal, T. and Bala, P. (2023) mAedesID: Android Application for Aedes Mosquito Species Identification using Convolutional Neural Network. ArXiv: abs/2305.07664.</mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Jeyakodi, G.</string-name>
              <string-name>Agarwal, T.</string-name>
              <string-name>Bala, P.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>mAedesID: Android Application for Aedes Mosquito Species Identification using Convolutional Neural Network</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Al Manir, M.S., Brenas, J.H., Baker, C.J.O. and Shaban-Nejad, A. (2019) A Surveillance Infrastructure for Malaria Analytics: Provisioning Data Access and Preservation of Interoperability. arXiv: 1902.01877.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Manir, M.S.</string-name>
              <string-name>Brenas, J.H.</string-name>
              <string-name>Baker, C.J.O.</string-name>
              <string-name>Shaban-Nejad, A.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>A Surveillance Infrastructure for Malaria Analytics: Provisioning Data Access and Preservation of Interoperability</article-title>
            <fpage>1902</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>