System Overview
Traditional hardware devices have fixed functionality that cannot be easily updated or extended. DTOS fundamentally changes this — devices can dynamically download adapted script systems based on different requirements, enabling customized functionality and operations while making full use of limited hardware resources.
DTOS consists of four core subsystems: VTNode hardware abstraction, VTKvdb key-value database, VTEvent event-driven system, and VTScript dynamic scripting engine, working together to provide a complete runtime environment from low-level hardware to upper-layer business logic.
Core Subsystems
VTNode · Hardware Abstraction
Unified abstraction for hardware IO, PWM, sensors, power management, and other peripherals. Provides standardized access interfaces so developers can operate hardware without worrying about low-level differences, enabling cross-platform compatibility.
VTKvdb · Key-Value Database
A compact embedded database based on the Key-Value model, designed for resource-constrained environments. Supports persistent configuration storage, device state management, and runtime data caching with minimal storage overhead.
VTEvent · Event-Driven System
An event-driven task scheduling and message dispatch system. Through publish-subscribe mechanisms, it enables loosely coupled communication between modules, efficiently handling sensor data collection, user interactions, and timed tasks.
VTScript · Dynamic Scripting Engine
The core innovation of DTOS — a dynamic script execution system. Devices can download and execute scripts from the cloud without reflashing firmware, enabling remote customization and continuous evolution of device behavior.
Dynamic Scripting
VTScript is what sets DTOS apart from traditional embedded systems. Through a lightweight scripting engine, devices can dynamically load and execute new functional modules at runtime — without OTA reflashing of the entire firmware.
The scripting system supports on-demand download from the cloud, local caching, and instant execution. Developers can quickly define device behavior, sensor collection strategies, data processing logic, and interaction rules via scripts, dramatically shortening product iteration cycles.
Cloud Delivery
Scripts downloaded dynamically from the cloud, devices fetch latest features on demand
Instant Execution
No firmware reflashing needed, scripts take effect immediately upon loading
Custom Functionality
Flexibly define device behavior for different scenarios and requirements
Continuous Evolution
Extend new features post-launch, extending the device lifecycle
Technical Advantages
DTOS achieves a balance between dynamism and stability in resource-constrained hardware environments. The system is deeply optimized for low-memory, low-compute scenarios, providing scripting flexibility while maintaining real-time performance.
Minimal Footprint
Designed for resource-constrained MCUs with extremely low memory and storage usage
Hardware Agnostic
VTNode abstraction shields low-level differences, enabling cross-platform portability
Event-Driven Architecture
VTEvent enables efficient asynchronous task processing and low-power scheduling
Data Persistence
VTKvdb provides reliable key-value storage with power-loss recovery