2021-12-02 10:48:04 +08:00
|
|
|
|
# DGIOT轻量级工业物联网开源平台
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
[![GitHub Release](https://img.shields.io/github/release/dgiot/dgiot?color=brightgreen)](https://github.com/dgiot/dgiot/releases)
|
|
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/dgiot/dgiot)](https://hub.docker.com/r/dgiot/dgiot)
|
2021-05-30 17:36:32 +08:00
|
|
|
|
[![Community](https://img.shields.io/badge/Community-DGIOT-yellow)](https://tech.iotn2n.com)
|
2021-12-02 10:48:29 +08:00
|
|
|
|
[![QQ群346566935](https://img.shields.io/badge/QQ群-346566935-brightgreen)](https://jq.qq.com/?_wv=1027&k=LipWZvDe)
|
2021-12-04 17:52:10 +08:00
|
|
|
|
[English](./README.md) | [中文](./README-CN.md) | [日本語](./README-JP.md) | [русский](./README-RU.md)|
|
2021-12-17 09:54:11 +08:00
|
|
|
|
[github](https://github.com/dgiot?from=git)|[gitee](https://www.iotn2n.com?from=git)|[官网](https://www.iotn2n.com?from=git)|[博客](https://tech.iotn2n.com?from=git)|[体验](https://prod.iotn2n.com?from=git)|[微信群](#jump)
|
2021-12-04 16:44:19 +08:00
|
|
|
|
## DG-IoT简介
|
2021-12-04 16:55:05 +08:00
|
|
|
|
DG-IoT是国内首款轻量级开源工业物联网平台,我们致力于提供四类物联网解决方案:
|
2021-12-23 17:53:01 +08:00
|
|
|
|
+ **国企/研究院**:平台代码开源,无版权产权困扰,国产无“卡脖”之忧
|
2021-12-07 20:00:06 +08:00
|
|
|
|
+ **系统集成商**:通用设备海量接入、定制设备二次开发、30分钟一键式私有化快速部署,低成本(降90%成本)
|
|
|
|
|
+ **工业设备制造商**:海量设备上线运维,不受公有云限制,低成本,短周期自建平台,私有化部署,数据安全
|
|
|
|
|
+ **开源平台开发者**:一键式开发环境,集成和兼容各种最优开源工具,快速承接物联网项目
|
2021-12-23 17:53:01 +08:00
|
|
|
|
+ **垂直领域物联网平台**:快速部署私有化平台,千万级承载,运营级底座,全开放扩展
|
2021-12-04 16:49:51 +08:00
|
|
|
|
## 业务架构
|
2021-12-24 12:26:06 +08:00
|
|
|
|
![业务架构图.jpg](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/shuwa_tech/zh/%E4%B8%9A%E5%8A%A1%E6%9E%B6%E6%9E%84%E5%9B%BE.jpg)
|
2021-12-02 19:33:28 +08:00
|
|
|
|
## 核心特色
|
2021-12-07 20:08:04 +08:00
|
|
|
|
+ **完全开源**:前后端[完全开源](./Platform-service.md),无收费商业版
|
|
|
|
|
+ **快速部署**:30分钟私有化[一键式部署](https://gitee.com/dgiiot/dgiot/wikis/DG-IoT%E7%89%A9%E8%81%94%E7%BD%91%E6%89%8B%E5%86%8C/%E7%AE%80%E4%BB%8B/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2),快速拥有自己的物联网平台
|
|
|
|
|
+ **专业可靠**:千万级长连接承载,电信级稳定性
|
|
|
|
|
+ **兼容并包**:兼容工业领域多行业的常见协议类型
|
|
|
|
|
+ **全流程低代码**:物模型-规则引擎-数据通道-组态页面全流程可视化低代码开发
|
2021-12-25 07:35:31 +08:00
|
|
|
|
## 案例教程
|
2021-12-25 06:56:52 +08:00
|
|
|
|
| | | |
|
|
|
|
|
| ------------ | ------------ | ------------ |
|
2021-12-25 07:03:28 +08:00
|
|
|
|
| 行业分类 |实战教程| 案例简述 |
|
2021-12-25 07:38:44 +08:00
|
|
|
|
| [智慧能源](https://gitee.com/dgiiot/dgiot/wikis/%E8%A1%8C%E4%B8%9A%E6%A1%88%E4%BE%8B/%E8%83%BD%E6%BA%90%E8%A1%8C%E4%B8%9A?sort_id=4971731) | [电能表接入](https://gitee.com/dgiiot/dgiot/wikis/%E5%AE%9E%E6%88%98%E6%8E%A5%E5%85%A5/%E7%94%B5%E8%A1%A8%E6%8E%A5%E5%85%A5/%E6%A6%82%E8%BF%B0)|国/南网电表采集,预付费表采集,太阳能设备管控 |
|
2021-12-25 06:56:52 +08:00
|
|
|
|
| [智能工业](https://gitee.com/dgiiot/dgiot/wikis/%E8%A1%8C%E4%B8%9A%E6%A1%88%E4%BE%8B/%E5%B7%A5%E4%B8%9A%E8%AE%BE%E5%A4%87%E8%A1%8C%E4%B8%9A) | [Mqtt设备接入](https://gitee.com/dgiiot/dgiot/wikis/%E5%AE%9E%E6%88%98%E6%8E%A5%E5%85%A5/MQTT%E8%AE%BE%E5%A4%87%E6%8E%A5%E5%85%A5)| 工地电梯远程管控 |
|
2021-12-25 07:35:31 +08:00
|
|
|
|
| [智慧交通](https://gitee.com/dgiiot/dgiot/wikis/%E8%A1%8C%E4%B8%9A%E6%A1%88%E4%BE%8B/%E4%BA%A4%E9%80%9A%E8%A1%8C%E4%B8%9A) |[Modbus设备接入](https://gitee.com/dgiiot/dgiot/wikis/%E5%AE%9E%E6%88%98%E6%8E%A5%E5%85%A5/Modbus%E8%AE%BE%E5%A4%87%E6%8E%A5%E5%85%A5?sort_id=5023597)|高速公路隧道设备检测 |
|
|
|
|
|
|[智慧检测](https://gitee.com/dgiiot/dgiot/wikis/%E8%A1%8C%E4%B8%9A%E6%A1%88%E4%BE%8B/%E6%99%BA%E6%85%A7%E6%A3%80%E6%B5%8B)|[OPC设备接入](https://gitee.com/dgiiot/dgiot/wikis/%E5%AE%9E%E6%88%98%E6%8E%A5%E5%85%A5/OPC%E8%AE%BE%E5%A4%87%E6%8E%A5%E5%85%A5/%E6%A6%82%E8%BF%B0)|浙里办水泵远程检测|
|
|
|
|
|
|[智慧园区](https://gitee.com/dgiiot/dgiot/wikis/%E8%A1%8C%E4%B8%9A%E6%A1%88%E4%BE%8B/%E6%99%BA%E6%85%A7%E5%9B%AD%E5%8C%BA)|[云云对接](https://gitee.com/dgiiot/dgiot/wikis/%E5%AE%9E%E6%88%98%E6%8E%A5%E5%85%A5/%E4%BA%91%E4%BA%91%E5%AF%B9%E6%8E%A5/%E6%A6%82%E8%BF%B0)|智慧场馆|
|
|
|
|
|
|
2021-12-08 14:21:21 +08:00
|
|
|
|
## 快速体验与微信群
|
2021-12-24 11:37:29 +08:00
|
|
|
|
|<span id="jump">技术支持微信群2群</span>|小程序|公众号|[电脑端](https://prod.iotn2n.com/)|账号|密码|
|
2021-12-04 17:42:23 +08:00
|
|
|
|
|---|---|---|---|---|---|
|
2021-12-24 11:37:29 +08:00
|
|
|
|
|![image](https://user-images.githubusercontent.com/51999461/147313158-ac48ad72-e799-4d64-81f9-60527c63d271.png)|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_wechat.jpg)|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/wechat/qrcode.png)|![](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/dgiot_release/dgiot_dashboard.png) |dgiot_admin|dgiot_admin|
|
2021-12-25 09:09:47 +08:00
|
|
|
|
|
|
|
|
|
### 产品服务
|
2021-12-25 10:45:12 +08:00
|
|
|
|
| | | | |
|
|
|
|
|
| -----| ------ |------- |------- |
|
|
|
|
|
| 内容 | 服务等级 |服务收费| 服务方式 |
|
2021-12-25 10:48:34 +08:00
|
|
|
|
| 一键脚本部署 | 自助 | 免费 | 点击查看脚本,社区服务 |
|
|
|
|
|
| 一键脚本开发 | 自助 | 免费 | 点击查看脚本,社区服务 |
|
|
|
|
|
| 设备接入教程 | 自助 | 免费 | 点击查看教程,社区服务 |
|
2021-12-25 10:52:40 +08:00
|
|
|
|
| 脚本使用指导 | 半小时 | 百元级 | 远程VIP服务|
|
|
|
|
|
| 设备接入指导 | 半天 | 千元级 | 远程VIP服务 |
|
2021-12-25 10:45:12 +08:00
|
|
|
|
| 项目经理培训 | 三天 | 数千元级 | 线下培训 |
|
|
|
|
|
| 应用开发培训 | 三周 | 万元级 | 线下培训 |
|
2021-12-25 10:48:34 +08:00
|
|
|
|
| 业务模拟压测 | 一月 | 万元级 | 7 X 24 小时VIP服务 |
|
2021-12-25 10:51:04 +08:00
|
|
|
|
| 企业设备管控 | 一年 | 十万元级 | 5 X 8 小时VIP服务 |
|
2021-12-25 10:51:56 +08:00
|
|
|
|
| 设备运营平台 | 数年 | 数十万元级 | 7 X 24 小时VIP服务 |
|
2021-12-25 09:09:47 +08:00
|
|
|
|
|
2021-12-20 15:02:07 +08:00
|
|
|
|
## 系统部署
|
2021-12-08 10:29:43 +08:00
|
|
|
|
+ **centos 7.6/7.9** 推荐使用腾讯云和阿里云部署,具体操作[点击这里](https://gitee.com/dgiiot/dgiot/wikis/DG-IoT%E7%89%A9%E8%81%94%E7%BD%91%E6%89%8B%E5%86%8C/%E7%AE%80%E4%BB%8B/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2)
|
2021-12-20 15:02:07 +08:00
|
|
|
|
### 一键部署
|
2021-12-04 15:52:54 +08:00
|
|
|
|
```
|
|
|
|
|
wget -q https://gitee.com/dgiiot/dgiot/raw/master/dgiot_install.sh && sh dgiot_install.sh
|
|
|
|
|
```
|
2021-12-20 15:02:07 +08:00
|
|
|
|
### 版本更新
|
|
|
|
|
```
|
|
|
|
|
sh dgiot_install.sh -s {版本}
|
|
|
|
|
```
|
|
|
|
|
[版本列表](https://gitee.com/dgiiot/dgiot/wikis/DG-IoT%E7%89%A9%E8%81%94%E7%BD%91%E6%89%8B%E5%86%8C/%E7%AE%80%E4%BB%8B/%E7%89%88%E6%9C%AC%E5%88%97%E8%A1%A8)点此查看
|
|
|
|
|
### 证书安装
|
|
|
|
|
```
|
|
|
|
|
sh dgiot_install.sh -d {域名}
|
|
|
|
|
```
|
|
|
|
|
[证书](https://gitee.com/dgiiot/dgiot/wikis/DG-IoT%E7%89%A9%E8%81%94%E7%BD%91%E6%89%8B%E5%86%8C/%E7%AE%80%E4%BB%8B/%E8%AF%81%E4%B9%A6%E9%83%A8%E7%BD%B2)
|
2021-12-04 16:49:51 +08:00
|
|
|
|
## 构建
|
2021-12-20 15:34:30 +08:00
|
|
|
|
构建 *dgiot* 需要 Erlang/OTP R23+, Windows下用 [msys64](https://dgiotdev-1308220533.cos.ap-nanjing.myqcloud.com/msys64.zip)开发。下载后解压到D盘根目录,严格按照下图操作:
|
2021-12-25 06:23:10 +08:00
|
|
|
|
![dgiotdevtools.png](http://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/shuwa_tech/zh/dgiotdevtools.png)
|
2021-06-17 18:34:17 +08:00
|
|
|
|
+ 国外下载源码
|
|
|
|
|
```bash
|
2021-12-06 09:20:48 +08:00
|
|
|
|
git clone https://github.com/dgiot/dgiot-dashboard.git
|
2021-06-17 18:34:17 +08:00
|
|
|
|
git clone https://github.com/dgiot/dgiot.git
|
|
|
|
|
```
|
|
|
|
|
+ 国内下载源码
|
|
|
|
|
```bash
|
2021-12-06 09:20:48 +08:00
|
|
|
|
git clone https://gitee.com/dgiiot/dgiot-dashboard.git
|
2021-07-02 18:06:58 +08:00
|
|
|
|
git clone https://gitee.com/dgiiot/dgiot.git
|
2021-06-17 18:34:17 +08:00
|
|
|
|
```
|
|
|
|
|
+ 国内Linux/Unix/Mac/windows 构建
|
|
|
|
|
```bash
|
2021-12-20 14:30:49 +08:00
|
|
|
|
cd dgiot-dashboard
|
2021-06-22 19:28:39 +08:00
|
|
|
|
git pull
|
2021-12-06 09:20:48 +08:00
|
|
|
|
pnpm install
|
|
|
|
|
pnpm build
|
2021-06-17 18:34:17 +08:00
|
|
|
|
cd ../dgiot
|
2021-06-22 19:28:39 +08:00
|
|
|
|
git pull
|
2021-06-22 18:26:46 +08:00
|
|
|
|
rm ./apps/dgiot_api/priv/www -rf
|
2021-12-20 14:30:49 +08:00
|
|
|
|
cp ../dgiot-dashboarddist/ ./apps/dgiot_api/priv/www -rf
|
|
|
|
|
cp ../dgiot-dashboard/swagger ./apps/dgiot_api/priv/www/ -rf
|
2021-06-21 13:44:46 +08:00
|
|
|
|
make run
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-06-21 13:44:46 +08:00
|
|
|
|
+ Make Debug
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-06-21 13:44:46 +08:00
|
|
|
|
make DIAGNOSTIC=1
|
2021-06-21 09:30:47 +08:00
|
|
|
|
```
|
2021-12-06 09:20:59 +08:00
|
|
|
|
*DGIOT* 启动,可以使用浏览器访问 http://localhost:80 来查看 Dashboard。
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:47:11 +08:00
|
|
|
|
- 新功能的完整列表,请参阅 [DGIOT Release Notes](https://github.com/dgiot/dgiot/releases)。
|
|
|
|
|
- 获取更多信息,请访问 [DGIOT 官网](https://tech.iotn2n.com/)。
|
2021-09-08 19:14:09 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +08:00
|
|
|
|
## 参与设计
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
如果对 DGIOT 有改进建议,可以向[EIP](https://github.com/dgiot/eip) 提交 PR 和 ISSUE
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
2021-12-02 10:51:13 +08:00
|
|
|
|
## 插件开发
|
2021-05-18 14:54:48 +08:00
|
|
|
|
|
|
|
|
|
如果想集成或开发你自己的插件,参考 [lib-extra/README.md](./lib-extra/README.md)
|
|
|
|
|
|
2021-05-30 17:15:32 +08:00
|
|
|
|
欢迎你将任何 bug、问题和功能请求提交到 [dgiot/dgiot](https://github.com/dgiot/dgiot/issues)。
|
|
|
|
|
|
2021-05-18 14:54:48 +08:00
|
|
|
|
## 开源许可
|
|
|
|
|
Apache License 2.0, 详见 [LICENSE](./LICENSE)。
|