物联网学习日记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/

发布了364 篇原创文章 · 获赞 422 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/shengshengwang/article/details/104439194