20160114_jeffrey - silenceuncrio/diary GitHub Wiki
Index
- 0945 - IoT Platform - Architecture V2.0
- 1440 - IoT Platform Architecture
- 1455 - IoT Message Exchange
0945
IoT Platform - Architecture V2.0
- control_center_automation.draw
- control_center_restful_client.draw
- control_center_restful_server.draw
- control_center_ui.draw
- iot_message_exchange.draw
- iot_platform_architecture.draw
1440
IoT Platform Architecture

- Control Center 的組成模塊有
- RESTful Server - 提供 Box 的 RESTful Client 來存取 Resource
- RESTful Client - 跟 Box 的 RESTful Server 存取 Resource
- Database - IoT 資訊核心
- Automation - 自動化控制核心
- UI Module - 使用者介面模塊
- Control Box 的組成模塊有
- RESTful Server - 提供 Center 的 RESTful Client 來存取 Resource
- RESTful Client - 跟 Center 的 RESTful Server 存取 Resource
- Things - 實際的 IoT 感測周邊設備
- Message Exchange - Center 和 Box 的溝通模塊
1455
IoT Message Exchange

- Control Center 的 Resource 有
- /event - 該服務提供 Box 通知各式訊息, 支援的 HTTP Method 有
- POST - 提供 Box 通知各式訊息, Content-Type 為 application/json
- Request - Box 的通知訊息, Content-Type 為 application/json
- Response - Center 的回應訊息, Content-Type 為 application/json
- Control Box 的 Resource 有
- /common - 該服務提供 Center 做一般性的設定, 支援的 HTTP Method 有
- GET - 提供 Center 該 Box 的一般資訊, 包含實際的 IoT 感測周邊設備清單
- Request
- Response - Box 的回應訊息, Content-Type 為 application/json
- POST - 提供 Center 來設定該 Box 的一般性設定
- Request - Center 的設定內容, Content-Type 為 application/json
- Response - Box 的回應訊息, Content-Type 為 application/json
- /thing/{$name}