Skip to content

Reference architecture and system design for gate‑to‑gate aircraft connectivity using a LEO satellite mesh (Starlink‑style), including HLD/LLD Mermaid diagrams, QoS, security, and disruption-ready workflows.

Notifications You must be signed in to change notification settings

AkashdipMahapatra-BA/Orbit2Cabin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Orbit2Cabin ✈️📡 — Aircraft Connectivity via LEO Satellite Mesh (Starlink-style)

A reference architecture + system design for delivering gate-to-gate onboard internet to a commercial aircraft using a LEO satellite constellation with inter-satellite links (space mesh), bridging signals from ground networks to satellites, then to the aircraft terminal, and finally to passengers onboard.

Use-case: A British Airways-style onboard Wi‑Fi experience where customers can browse, message, stream, work, and receive real-time travel updates — especially valuable during disruption

Why this repo ?
Screenshot 2025-12-17 055756
image
Screenshot 2025-12-17 061349 Screenshot 2025-12-17 061458

What This Repo Covers

  • High-level architecture for aircraft internet using LEO satellites
  • A practical system design: networking, routing, QoS, authentication, telemetry
  • Both high-level and low-level designs using Mermaid diagrams
  • Operational considerations: reliability, security, observability, and incident handling
  • Optional simulation approach for latency/throughput modeling

✅ Goals

  1. Reliable Gate-to-Gate Connectivity
    Maintain continuous onboard connectivity from boarding to arrival.

  2. Operational Resilience
    Support real-time decision making during disruption: missed connections, rebooking, and customer care.

  3. Passenger Experience
    Seamless login, stable sessions, adaptive QoS, and smooth handover.

  4. Safety + Security
    Strong isolation between aircraft operational systems and passenger network; secure authentication and encryption.


Non-Goals 🚧 (Out of Scope)

  • Avionics and flight-critical system integration.
  • Exact vendor-specific Starlink implementation details.
  • Regulatory certification processes.

Core Concept

Ground Network → LEO Gateway Uplink → LEO Satellite → Inter-Satellite Mesh → LEO Satellite Downlink → Aircraft Terminal → Onboard Wi‑Fi Router → Passenger Device


High-Level Architecture (HLD)

1) System Context

flowchart
  U["Passenger Devices\n(Phones/Laptops/Tablets)"] --> W["Onboard Wi-Fi APs"]
  W --> R["Cabin Network Router\n& Captive Portal"]
  R --> AT["Aircraft Satellite Terminal\n(Antenna + Modem)"]
  AT --> S1["LEO Satellite"]
  S1 --> S2["LEO Satellite Mesh\n(Inter-Satellite Links)"]
  S2 --> GW["Ground Gateway Station"]
  GW --> IX["Internet Exchange / Public Internet"]
  GW --> BA["Airline Ops Cloud\n(Disruption/Connections/Service Tools)"]
  IX --> SaaS["Apps & Services\n(Streaming, Email, Chat, Maps, Web)"]
Loading

Component Design (HLD)

flowchart TB
  subgraph Aircraft["Aircraft Network Domain"]
    AP[Wi‑Fi APs] --> GW1[Cabin Gateway]
    GW1 --> CP[Captive Portal + Auth]
    CP --> QOS[QoS/Traffic Shaping]
    QOS --> FW[Firewall + NAT]
    FW --> SAT[Satellite Modem/Terminal]
    CREW[Crew Service Apps] --> GW1
  end

  subgraph Space["Space Domain (LEO)"]
    SAT --> LEO1[LEO Satellite]
    LEO1 --> LEO2[LEO Mesh Routing]
    LEO2 --> LEO3[LEO Satellite]
  end

  subgraph Ground["Ground Domain"]
    LEO3 --> GWS[Gateway Station]
    GWS --> POP[Edge POP / CDN]
    GWS --> NET[Public Internet]
    GWS --> OPS[Airline Ops + Customer Care APIs]
    OBS[Telemetry + Monitoring] <---> GWS
    OBS <---> SAT
  end

  NET --> APPS[Third-party apps/services]
Loading

Key Design Decisions (Why this architecture works)

A) QoS Matters More Than Raw Bandwidth

Passenger networks can saturate quickly. A premium experience prioritizes:

  • Airline critical services (rebooking, connection updates).
  • Messaging + email.
  • Voice/video (optional policies).
  • Streaming with adaptive bitrate (ABR) + caching.

B) Seamless Identity + Session Continuity

  • Captive portal handles authentication.
  • Token-based sessions reduce re-auth during handovers.
  • Device roaming managed locally with stable IP/Session mapping.

C) Strong Network Isolation

  • Passenger traffic is isolated from crew/ops and any aircraft operational domains.
  • Firewall rules and strict segmentation (VLANs, VRFs).
  • Least privilege for service APIs.

Low-Level Design (LLD)

  1. Network Segmentation (Aircraft)
flowchart LR
  subgraph VLANs["Aircraft VLAN/VRF Segmentation"]
    PAX[PAX VLAN/VRF<br/>Passenger Internet] --> FW[Firewall/NAT]
    CREW[Crew VLAN/VRF<br/>Crew Tools] --> FW
    MGMT[Mgmt VLAN/VRF<br/>AP/Router Mgmt] --> FW
  end

  FW --> QOS[QoS Engine]
Loading

Policy example (conceptual):

  • Crew traffic gets higher priority than passenger bulk traffic.
  • Airline disruption APIs always available (even if bandwidth constrained).

2) Auth Flow (Captive Portal + Token)

sequenceDiagram
  autonumber
  participant D as Passenger Device
  participant AP as Wi‑Fi AP
  participant CP as Captive Portal
  participant IDP as Identity Provider
  participant GW as Cabin Gateway
  participant NET as Internet/Services

  D->>AP: Connect to SSID
  AP->>CP: Redirect HTTP/HTTPS to Portal
  CP->>D: Show login (Booking Ref / Club / Voucher)
  D->>CP: Submit credentials
  CP->>IDP: Validate identity
  IDP-->>CP: Issue token + policy (QoS tier)
  CP->>GW: Install session rules (ACL/QoS/NAT pinning)
  GW-->>D: Access granted
  D->>NET: Browse/stream/message
Loading

3) Satellite Handover (Session Stability)

sequenceDiagram
  autonumber
  participant AT as Aircraft Terminal
  participant S1 as LEO Sat A
  participant S2 as LEO Sat B
  participant GW as Ground Gateway
  participant CG as Cabin Gateway

  AT->>S1: Connected (Beam A)
  CG->>AT: Session/NAT anchored locally

  Note over AT,S1: Handover trigger (signal fades)
  AT->>S2: Connect (Beam B) - make-before-break
  S2->>GW: Update routing
  AT-->>S1: Disconnect Beam A

  AT->>CG: Traffic moved to Beam B
Loading

4) Data Plane vs Control Plane

flowchart TB
  subgraph ControlPlane["Control Plane"]
    AUTH[Auth/Policy Service]
    ROUTE[Routing + Link Mgmt]
    ORCH[Config/Orchestration]
    TELE[Telemetry Collector]
  end

  subgraph DataPlane["Data Plane"]
    NAT[NAT + Firewall]
    QOS[QoS/Traffic Shaping]
    DNS[DNS + Split-horizon/Filtering]
    PROXY[Optional Proxy/Cache]
  end

  AUTH --> QOS
  ROUTE --> NAT
  ORCH --> NAT
  ORCH --> QOS
  TELE <---> NAT
  TELE <---> QOS
Loading

Plan Structure

skymesh-connect/
├─ README.md
├─ docs/
│  ├─ architecture.md
│  ├─ security.md
│  ├─ qos-policy.md
│  ├─ observability.md
│  └─ disruption-playbook.md
├─ diagrams/
│  ├─ hld.mmd
│  ├─ lld-auth.mmd
│  ├─ lld-handover.mmd
│  └─ deployment.mmd
├─ simulation/                 # optional
│  ├─ latency_model.ipynb
│  └─ throughput_model.ipynb
└─ examples/
   ├─ sample-qos-policy.yaml
   └─ sample-session-rules.json

Security Model 🔐 (Practical)

Threats we design for

  • Unauthorized access to onboard network.
  • Lateral movement between passenger and crew networks.
  • Man-in-the-middle attempts (rogue APs).
  • Abuse of bandwidth (DoS / heavy downloads).
  • Credential stuffing on captive portal.

Controls

  • WPA2/WPA3 + captive portal + short-lived tokens.
  • Network segmentation (Passenger/Crew/Mgmt).
  • Zero-trust access to airline APIs (mTLS + scoped tokens).
  • Rate limiting + anomaly detection.
  • Encrypted backhaul (satellite link encryption + TLS at app layer).

Observability & Operations

What we monitor

  • Link quality (SNR, beam handover frequency).
  • Packet loss, RTT, jitter (per aircraft + per session tier).
  • DNS failures, auth failures, session drops.
  • QoS queue depth and shaping effectiveness.
  • Customer-impact score (derived metric).

Telemetry Flow

flowchart LR
  A[Aircraft Terminal Metrics] --> T[Telemetry Collector]
  G[Cabin Gateway Metrics] --> T
  T --> E[Edge Aggregator]
  E --> O[Observability Platform]
  O --> AL[Alerts + Incident Mgmt]
  O --> DB[Time Series DB]
Loading

“Real-Life Problem Solved” (What changes onboard)

Starlink-style mesh connectivity enables:

  • Real-time disruption support: customers can handle connections and changes mid-air.
  • Fewer Wi‑Fi complaints: consistent performance and easier troubleshooting.
  • IFE fallback: if seatback entertainment fails, customers can stream on their own devices.
  • Crew enablement: better access to support teams and operational tools (when permitted).



⭐ Working on this repo. Come later




About

Reference architecture and system design for gate‑to‑gate aircraft connectivity using a LEO satellite mesh (Starlink‑style), including HLD/LLD Mermaid diagrams, QoS, security, and disruption-ready workflows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published