1. 直连模式(direct integration pattern)

如果设备支持HTTP和TCP/IP,并且能够直接连接互联网,比如使用Wi-Fi,那么可以使用这种直连模式。通常设备需要较为强大的处理能力,并且有持续的电源,比如智能家居等。要通过Web直接控制设备,其自身需要实现类似下图的功能,从硬件控制、RESTFUL API的设计到HTTP服务器的实现。


3. 云模式 (cloud integration pattern)


通过云的模式往往使指令传输很慢,所以一个物联网设备可能同时允许上述几种操作模式。使用Web来控制设备,还可以轻松的使用IFTTT这样的第三方自动化平台,来设计条件自动化的执行一些功能,并于常用App如Twitter互动。最后,盗几张书中对协议介绍的图,来方便理解物联网中涉及的各种协议,如蓝牙、MQTT、ZigBee、Apple Homekit等。



[1] Building the Web of Things: With examples in Node.js and Raspberry Pi
https://www.manning.com/books/building-the-web-of-things?a_bid=16f48f14&...
[2] http://www.openhab.org/
[3].国外各种平台汇总,有上百种
https://www.postscapes.com/internet-of-things-platforms/
[4] 一部分平台的稍微详细的总结介绍
http://www.cnblogs.com/ibrahim/p/iot-platform-outline.html
[5] 很多IoT的开源项目,其中AllJoyn提供了联通框架,或许值得额外关注
https://www.linux.com/news/21-open-source-projects-IoT
[6] http://www.cnblogs.com/ibrahim/p/iot-platform-outline.html
转自:ASCII0x03