MIUI PhoneLab 1.0

葛旭东 熊南迪 杨阳 虞连飞 刘任

MIUI 系统组

Mission & Vision

 

  • The Best MIUI development/innovation platform
  • Everyone, Every Device, Everywhere
  • Debug, Benchmark, Diagnose ...
  • High Performance, Availability, Extensiblity ...
  • User/Programmer Friendly
  • Reliable and Secure

1.0 Features

  • High Performance Live Stream
  • Distributed Controller Node
  • User Friendly Web UI
  • Device Management
  • Role-based Administration
  • Highly Extensible
  • Priliminary Test Scripts Support

Use Cases

  • Device Query
  • Device Apply
  • Real Time Operation
  • Remote ADB shell
  • Global Admintistration
  • Simple test case

Components

  • Clients: Browser
    • Display (Front/Video)
  • Manager: WebServer
    • WebUI
    • InputEvent Forward
    • Meta Database
  • Controller: Software suites on dev PC
    • Setup device hub
    • Device input
    • Video forward to client
    • AADB (Advanced ADB) hub 
  • Device: Phone/Pad attached
    • Specific scripts

Manager Implementation

  • Nodejs Express Web Framework
  • MVC Architecture
  • MongoDB 
  • WebSocket Events Handling
  • GroundCSS Front

ManagerNode Arch

Controller Implementation

  • RTP Video Streaming
  • USB/Ethernet Hub
  • AADB
  • Script Execution on device

Thanks!

Try it! http://10.237.80.27

username: YOURNAME@xiaomi.com

password: 123456

 

 

杨阳

yangyang6@xiaomi.com

PhoneLab

By pro-yy

PhoneLab

  • 1,200