物聯網學習日記3

1.modbus協議
解析:溫溼度傳感器。

2. MQTT-SN
解析:MQTT基於UDP的版本。

3.EMQ
解析:EMQ是一個百萬級分佈式開源物聯網MQTT消息服務器。

4.EMQ服務端口
解析:
[1]1883:MQTT協議端口
[2]8883:MQTT/SSL端口
[3]8083:MQTT/WebSocket端口
[4]8080:HTTP API端口
[5]18083:Dashboard管理控制檯端口

5.EMQ後端Web控制檯
解析:EMQ提供了一個後端Web控制檯,用戶可通過Web控制檯,查看服務器運行狀態、統計數據、客戶端[Client]、會話[Session]、主題[Topic]、訂閱[Subscription]、插件[Plugin]。
[1]訪問地址:http://服務器IP:18083
[2]默認用戶名:admin
[3]默認密碼:public

6.Portainer
解析:
[1]Portainer是一款輕量級的圖形化管理工具,通過它可以輕鬆管理不同的Docker環境。Portainer部署和使用都非常的簡單,它由一個可以運行在任何Docker引擎上的容器組成。
[2]Portainer功能十分全面,提供狀態顯示面板、應用模板快速部署、容器鏡像網絡數據卷的基本操作[包括上傳下載鏡像,創建容器等操作]、事件日誌顯示、容器控制檯操作、Swarm集羣和服務等集中管理和操作、登錄用戶管理和控制等功能。基本能滿足中小型單位對容器管理的全部需求。

7.MQTTBox
解析:MQTTBox既可以是消息的發佈者,也可以是消息的訂閱者。

8.Device Profile
解析:
[1]一部分是如何從設備讀取數據
[2]另一部分就是控制設備的命令

9.consul
解析:consul的服務註冊與發現是微服務架構系統得以動態伸縮的關鍵,在系統部署的過程中它應該是第一個被啓動的服務。

10.Core-Metadata
解析:主要是Edgex系統中設備微服務和設備以及設備數據相關的元數據管理,共有9大接口,分別是:Schedule,Schedule Event,Device,Device Report,Provison Watcher,Device Service,Device Profile,Addressable,Command。

11.Device Services
解析:設備微服務是唯一一個用戶需要根據物理設備接口協議自己開發的微服務,官方已提供Device Service SDK,用戶只需用實現特定的幾個接口和設備數據結構即可。

12.安裝一個設備
解析:需要註冊設備的profile,註冊對應設備微服務的配置,註冊相關的Addressable,註冊Schedule,註冊Schedule Event等,而這些註冊服務通常涉及不同的微服務。

13.config-seed
解析:config-seed是上傳所有微服務和其它服務的配置參數的服務,該程序僅在EdgeX系統部署之前運行一次。

14.docker-compose up -d consul
解析:Start the configuration and registry microservice which all services must register with and get their configuration from

15.docker-compose up -d config-seed
解析:Populate the configuration/registry microservice

16.docker-compose up -d mongo
解析:Start the NoSQL MongoDB container

17.docker-compose up -d logging
解析:Start the logging microservice - used by all micro services that make log entries

18.docker-compose up -d notifications
解析:Start the notifications and alerts microservice–used by many of the microservices

19.docker-compose up -d metadata
解析:Start the Core Metadata microservice

20.docker-compose up -d data
解析:Start the Core Data microservice

21.docker-compose up -d command
解析:Start the Core Command microservice

22.docker-compose up -d scheduler
解析:Start the scheduling microservice -used by many of the microservices

23.docker-compose up -d export-client
解析:Start the Export Client registration microservice

24.docker-compose up -d export-distro
解析:Start the Export Distribution microservice

25.EdgeX Foundry microservices
解析:

EdgeX Foundry Microservice Docker Compose Container Container Name Port Ping URL
Core Command command edgex-core-command 48082 http://[host]:48082/api/v1/ping
Core Data data edgex-core-data 48080 http://[host]:48080/api/v1/ping
Core Metadata metadata edgex-core-metadata 48081 http://[host]:48081/api/v1/ping
Export Client export-client edgex-export-client 48071 http://[host]:48071/api/v1/ping
Export Distribution export-distro edgex-export-distro 48070 http://[host]:48070/api/v1/ping
Rules Engine rulesengine edgex-support-rulesengine 48075 http://[host]:48075/api/v1/ping
Support Logging logging edgex-support-logging 48061 http://[host]:48061/api/v1/ping
Support Notifications notifications edgex-support-notifications 48060 http://[host]:48060/api/v1/ping
Support Scheduler scheduler edgex-support-scheduler 48085 http://[host]:48085/api/v1/ping
Virtual Device Service device-virtual edgex-device-virtual 49990 http://[host]:49990/api/v1/ping

參考文獻:
[1]EdgeX Foundry Documentation:https://docs.edgexfoundry.org/2.0/getting-started/Ch-GettingStartedUsers/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章