How jatin17082005/cluster-based-iot-healthcare-encryption works
This local research platform compares uniform AES-256-GCM encryption with sensitivity-adaptive encryption on reproducible synthetic healthcare telemetry. The user-facing workflow generates and classifies records, clusters them, encrypts and verifies transmissions, then computes timing, transmission, and energy results for dashboard comparison and export. The README documents dashboard tracing, tamper demonstrations, power-measurement options, and saved-run access. Several server routes and UI-to-API calls were not excerpted, so those connections are omitted; documented pipeline links use the README as evidence.
Main entry points: server.py FastAPI Server · benchmark_runner.py Benchmark Runner · data_generator.py Synthetic Generator · index.html Dashboard
Components 17
Dashboard and API
- Dashboard
static/index.html - Dashboard Logic
static/app.js - FastAPI Server
src/server.py
Telemetry Pipeline
- Synthetic Generator
src/data_generator.py - Sensitivity Classifier
src/classifier.py - Cluster Manager
src/cluster_manager.py - Encryption Engine
src/crypto.py - Healthcare Receiver
src/receiver.py - Domain Models
src/models.py
Benchmark and Measurement
- Benchmark Runner
src/benchmark_runner.py - Metrics Engine
src/metrics.py - Power Measurement
src/power_measurement.py
Results and Storage
- Run Store
src/run_store.py - SQLite Database
data/iot_benchmark.db - CSV and JSON Exports
src/server.py
Other components
- Researcher
- Lab Power Instrument
Connections 19
- Researcher → Dashboard: uses
README.md - Dashboard → Dashboard Logic: renders
README.md - FastAPI Server → Dashboard: serves
src/server.py - FastAPI Server → Synthetic Generator: requests generation
src/server.py - Synthetic Generator → Sensitivity Classifier: classifies records
README.md - Synthetic Generator → Cluster Manager: forms clusters
README.md - Sensitivity Classifier → Cluster Manager: routes by sensitivity
README.md - Cluster Manager → Encryption Engine: selects encryption path
README.md - Encryption Engine → Healthcare Receiver: transmits envelopes
README.md - Benchmark Runner → Encryption Engine: encrypts records
src/benchmark_runner.py - Benchmark Runner → Healthcare Receiver: evaluates verification
src/benchmark_runner.py - Benchmark Runner → Metrics Engine: computes results
src/benchmark_runner.py - Power Measurement → Metrics Engine: integrates energy
src/power_measurement.py - Lab Power Instrument → Power Measurement: provides samples
README.md - FastAPI Server → Power Measurement: imports power logs
src/server.py - FastAPI Server → Benchmark Runner: controls benchmarks
src/server.py - FastAPI Server → Run Store: reads saved runs
src/server.py - Run Store → SQLite Database: reads and writes
src/run_store.py - FastAPI Server → CSV and JSON Exports: serves results
README.md