Family AI Hub Architecture: Coordinating TV Base with Detachable Screen

    This article explores a system architecture that transforms traditional single-screen home devices into a migratable display hub by combining a stable TV base with a detachable screen. It covers the conceptual framework, edge-cloud AI layering, session migration mechanisms, contextual data models, and engineering best practices to deliver seamless, low-latency, and privacy-compliant family AI interactions across fixed and mobile scenarios.

    1. From Single-Screen Devices to a Migratable Display Hub

    Traditional home display devices typically center around a fixed screen: a TV handles audiovisual entertainment, while mobile screens manage close-range control. However, the tasks, sessions, and contexts between them remain siloed. For the next phase of home interaction, a more viable approach is to combine a “fixed base” with a “detachable screen” into a unified display hub. The base provides stable power supply, network anchoring, external audio playback, substantial computing power, and household-level storage. The detachable screen handles mobile control, near-field interaction, personalized display, and serves as a portable session entry point. They do not form a simple master-slave relationship; instead, they collaborate through a unified session layer, context layer, and capability contracts.

    The value of this architecture lies in simultaneously satisfying three types of needs: first, fixed scenarios require large screens, stable connections, and always-on availability; second, mobile scenarios require low-latency wake-up, convenient control, and personalized presentation; third, household-level AI interaction requires cross-device task continuity. For example, a query initiated on the mobile screen can automatically switch to the large screen when the user approaches the TV base, or currently playing content can be migrated to the detachable screen. To achieve these capabilities, the system must shift from being “device-centric” to “session-centric” and “context-centric”.

    2. Conceptual Architecture: Base Anchor, Mobile Screen, and Edge-Cloud Collaboration

    A deployable hub architecture can be divided into four layers:

    1. Device and Connection Layer: The TV base and detachable screen discover each other via home LAN, near-field connections, or pairing channels, maintaining docking status, battery levels, network quality, and capability profiles. The connection layer should remain protocol-neutral to prevent upper-layer business logic from directly depending on a specific physical link.
    2. Session and State Layer: Manages user tasks on a per-session basis, recording the initiating device, current presentation device, context snapshot, permission boundaries, and lifecycle. Screen docking or undocking should not cause session loss but rather trigger state migration.
    3. AI Inference Layer: On-device lightweight models handle wake-up, voice noise reduction, visual preprocessing, initial intent recognition, privacy desensitization, and low-latency responses. Cloud-based large models manage complex semantic understanding, multi-turn planning, cross-device context fusion, and content generation. The edge and cloud interact through structured context and task results rather than indiscriminately uploading raw data.
    4. Application and Ecosystem Layer: Accommodates the general smart TV entertainment ecosystem, mobile application ecosystem, and home service applications. Applications do not directly perceive specific hardware forms but acquire abstract capabilities through capability contracts, such as “whether a large screen is available,” “whether mobile presentation is supported,” and “audio output capabilities.”

    In this architecture, the base is the “stable anchor,” the detachable screen is the “mobile interaction surface,” and the cloud is the “complex inference and cross-session memory resource pool.” These three collaborate through a unified context bus to avoid forming isolated islands.

    3. Collaboration Mechanism: Docking State Machine and Session Migration

    The core of the collaboration between the TV base and the detachable screen is not hardware splicing but state consistency. It is recommended to use an explicit state machine to describe screen docking, session ownership, and resource scheduling:

    • Unpaired: Devices operate independently, retaining only local capabilities.
    • Paired but Disconnected: The base and screen are visible to each other but have not established a session channel; capability broadcasting can occur.
    • Connected and Fixed State: The screen is docked on the base, utilizing large-screen presentation, base audio, and enhanced computing power.
    • Connected and Mobile State: The screen leaves the base; the session migrates to mobile presentation, while the base retains background tasks and household-level services.
    • In Transition: Freezes some interactive inputs, copies context snapshots, confirms target device capabilities, and then resumes the session.
    • Degraded State: When the network or cloud is unavailable, the on-device model takes over basic intents, restricts complex generation capabilities, and provides clear prompts.

    State migration must follow three principles: save the context snapshot before switching presentation devices; confirm target capabilities before resuming high-cost tasks; and complete privacy boundary verification before uploading or synchronizing data across devices. This avoids common issues like “session interruption after screen undocking,” “duplicate wake-ups across large and small screens,” and “accidental synchronization of sensitive data.”

    4. Edge-Cloud AI Layering: Edge Preprocessing and Cloud Inference

    On-device lightweight inference and cloud-based large model inference should form a layered collaboration. On-device processing is suitable for high-frequency, low-latency, and privacy-sensitive tasks, such as wake word detection, voice activity detection, near-field initial intent recognition, image desensitization, device state understanding, and offline control. Cloud processing is suited for long-context understanding, multi-turn task planning, cross-device context fusion, complex content generation, and continuous model updates.

    A practical layering strategy is:

    • On-device subtraction: Compress raw audio/video, extract structured features, filter meaningless inputs, and complete sensitive information desensitization.
    • Cloud addition: Combine household context, historical sessions, and task goals to perform multi-step inference and result orchestration.
    • On-device presentation adaptation: Select text, voice, graphics, or large-screen card presentations based on the current screen size, audio capabilities, user distance, and privacy context.

    It must be emphasized that edge-cloud collaboration should not pursue “sending all requests to the cloud,” nor should it simply stuff cloud-based large models into edge devices. Reasonable latency budgets, bandwidth constraints, and privacy levels should serve as routing criteria: low-risk, high-frequency requests prioritize the edge, while high-risk, complex requests enter the cloud, retaining an explainable degradation path.

    5. Contextual Interaction Data Model

    The key to home interaction lies in context. It is recommended to define a unified contextual model that includes at least:

    • Device Context: Current presentation device, screen size, audio capabilities, battery level, network quality, docking status.
    • User Context: Identity, preferences, permissions, distance, active status.
    • Environment Context: Room, time, lighting, noise, presence of family members.
    • Task Context: Session goals, historical turns, current application, resumable tasks.
    • Privacy Context: Data sensitivity level, cloud upload permission, cross-device synchronization permission.

    Context should not be a pile of free text but a versionable, prunable, and auditable structured object. Each cross-device migration should only transmit necessary fields, avoiding copying the complete household profile to every device. For sensitive fields, localized identification, tiered authorization, and minimized upload strategies can be employed.

    6. Engineering Challenges and Best Practices

    Such systems face challenges including heterogeneous computing power, thermal management, connection stability, model version management, offline degradation, and observability. Recommended practices include:

    1. Capability Contract Priority: Applications only declare “requires large-screen presentation” or “requires near-field control,” allowing the hub to select the device rather than hardcoding hardware models.
    2. Event Bus Decoupling: Docking, wake-up, migration, and task completion are published as events to avoid direct calls between modules.
    3. Recoverable Session Snapshots: Snapshots include task goals, necessary context, and presentation state, excluding indiscriminate raw data.
    4. Grayscale Rollout and Rollback: Models and policies are rolled out in a grayscale manner based on device profiles, retaining a fallback on-device version.
    5. Observability: Record end-to-end latency, migration success rate, degradation trigger rate, privacy interception counts, etc. Avoid writing raw sensitive content in logs.

    7. Development Example: Pseudocode for Capability Contracts and State Migration

    The following language- and platform-agnostic pseudocode illustrates the basic control flow for session migration:

    1. function on_screen_attached(base, screen):
    2. profile = load_device_profile(screen.id)
    3. if not capability_match(base, screen, profile):
    4. return degrade("Capability mismatch, maintain standalone mode")
    5. session = find_active_session(base, screen)
    6. snapshot = capture_context(session, fields = [
    7. "task_goal", "history_digest", "privacy_level", "presentation_state"
    8. ])
    9. if privacy_check(snapshot, target = base) == false:
    10. return degrade("Privacy boundaries do not allow migration")
    11. freeze_input(screen)
    12. result = migrate_session(snapshot, from = screen, to = base)
    13. if result.ok:
    14. resume_presentation(base, snapshot)
    15. else:
    16. restore_presentation(screen, snapshot)
    17. return degrade("Migration failed, rollback to original device")

    This example highlights three key points: capability matching precedes migration, privacy verification precedes synchronization, and a rollback path is retained upon failure. In actual engineering, timeout handling, idempotency, version compatibility, and user prompts should also be included.

    8. Deployment and Observability: General Cloud Infrastructure Categories

    The cloud side can utilize general infrastructure categories to host model services and data pipelines: object storage is used for the distribution of model files, media assets, and desensitized samples; message queues decouple device and session events; container platforms manage inference service orchestration and elastic scaling; logging services and monitoring alerts provide end-to-end observability. In terms of selection, general categories provided by cloud vendors like Baidu AI Cloud can be candidates, but the interface design should remain vendor-neutral. Business logic should not be deeply coupled with specific cloud services to allow future adjustments based on cost, region, and compliance requirements.

    9. Privacy, Security, and Compliance

    Home scenarios inherently contain audio/video and member information, requiring privacy to be designed upfront. It is recommended to follow: default local processing, minimized uploads, tiered authorization, revocable authorization, and full-chain auditing. For the detachable screen, the current privacy mode should be explicit when it leaves the base; for the TV base, continuous collection should be avoided when no one is present. Cloud inference should only receive desensitized structured context, keeping raw data on the edge side as much as possible.

    10. Evolution Roadmap and Conclusion

    To move from conceptual prototypes to mass-producible solutions, a three-step approach is recommended: the first stage verifies session migration and basic degradation between the base and the detachable screen; the second stage introduces the layered routing between on-device lightweight inference and cloud-based complex inference, refining the contextual model; the third stage opens capability contracts and event interfaces, allowing home applications to integrate in a unified manner. Overall, the collaboration between the TV base and the detachable screen is not a single hardware innovation but a system engineering effort spanning devices, sessions, AI inference, and privacy governance. Only by being session-centric, bounded by capability contracts, and leveraging edge-cloud layering for efficiency can we build a low-latency, migratable, observable, and sustainably evolving family AI hub.