IoT Gateway Based on OSGi
1. OSGi Knowleage
2. OSGi.Net on Windows
3. OSGi with JAVA
4. OSGi with Qt and C++
5. Architecture of Gateway using EIP
5.1 EIP = Enterprise Integeration Patter
5.2 Refer to Spring Integration
5.3 Refer to Flume,Strom,Netty, MQ
5.4 Refer to SCADA and OPC Kepware
5.5 IoT Gateway
5.5.1 OSGi Runtime Platform
5.5.2 Adopte Plugin development
5.5.3 Modules
5.5.3.1 Device
5.5.3.1.1 Create Device
5.5.3.1.2 Select Device Driver
5.5.3.1.3 Device need a name, so it can be persistent
5.5.3.1.4 Need to know the relationship between Device name and its Driver ( present as plugin)
5.5.3.1.5 Need to save the configration of device
5.5.3.2 Lightweight DB (plugin)
5.5.3.2.1 Save user name and password
5.5.3.2.2 Save general configuration of gateway, as key-pair placed in header. such as ID, Name,Location,LatiLogi
5.5.3.2.3 Save the devices created by user, its name, its driver, its driver configuration
5.5.3.2.4 Save log and value of realtime variables
5.5.3.3 Channle
5.5.3.3.1 Create Channle
5.5.3.3.2
5.5.3.3.2 Channle Exports its configuraiton and its ID, its description
5.5.3.3.3 Channle is able to save and read its configuration metadata from OSGi main plugin
5.5.3.3.4 Channle's thread number
5.5.3.3.5 Sync or Asyn
5.5.3.3.6 Log system
5.5.3.3.7 Filter, Intercepter
5.5.3.4 Variables
5.5.3.4.1 Define name
5.5.3.4.2 Select device, its value will be retrieved by driver of device.
5.5.3.4.3 The details of configuration, based on protocol of driver
5.5.3.4.3 Select Channle, its value will be got by its driver and send to its channle (using Executor.submit()),
5.5.3.4.4 Channle will be started as single thread or has thread pool, cache pool to save the value of varabile temporarly
5.5.3.4.5 Channle is responsible for send value of varable to corresponding receiver server, such as EMQ, socket server, http server, db server
5.5.3.4.6 Exception handling, Log
5.5.3.5 Driver as plugin
5.5.3.5.1 Device Driver as plugin
5.5.3.5.2 Need name, UUID, description, version, author, supportive protocl as IDriverInfo
5.5.3.5.3 Configuration presention UI
5.5.3.5.4 The metadata of configuration for persistence as IDriverConfiguration
5.5.3.5.5 Special configuraiton, such as thread number, logger interface, cache pool size, Exact-once, error handling, retry-times, timeout
5.5.3.5.6 Describe how to define a varible based on protocol, need Variable definition UI
5.5.3.5.7 The definition of variable for Driver will be save to DB
5.5.3.6 Transceiver as plugin
5.5.3.6.1 Transceiver as plugin
5.5.3.6.2 Need name, ID,description, version,author
5.5.3.6.3 Configuration UI
5.5.3.6.4 The metadata of configuration for persistence
5.5.3.6.5
IoT Gateway Based on OSGi的更多相关文章
- 云中树莓派(2):将传感器数据上传到 AWS IoT 并利用Kibana进行展示
云中树莓派(1):环境准备 云中树莓派(2):将传感器数据上传到AWS IoT 并利用Kibana进行展示 1. 传感器安装及配置 1.1 DHT22 安装 DHT22 是一款温度与湿度传感器,它有3 ...
- 基于Azure IoT开发.NET物联网应用系列-全新的Azure IoT架构
物联网技术已经火了很多年了,业界各大厂商都有各自成熟的解决方案.我们公司主要搞新能源汽车充电,充电桩就是物联网技术的最大应用,车联网.物联网.互联网三网合一.2017年的时候重点研究过Azure Io ...
- FD.io社区中国行暨未来网络技术沙龙·南京站 会议小结
What is FD.io VPP? FD.io VPP(Fast Data Input/Output Vector Packet Processing)is a new network multi- ...
- Smart internet of things services
A method and apparatus enable Internet of Things (IoT) services based on a SMART IoT architecture by ...
- ASF (0) - ASF Java 项目总览
Apache .NET Ant Library This is a library of Ant tasks that help developing .NET software. It includ ...
- JHipster生成微服务架构的应用栈(五)- 容器编排示例
本系列文章演示如何用JHipster生成一个微服务架构风格的应用栈. 环境需求:安装好JHipster开发环境的CentOS 7.4(参考这里) 应用栈名称:appstack 认证微服务: uaa 业 ...
- Quick Guide to Microservices with Spring Boot 2.0, Eureka and Spring Cloud
https://piotrminkowski.wordpress.com/2018/04/26/quick-guide-to-microservices-with-spring-boot-2-0-eu ...
- 读懂SAP Leonardo物联网平台
读懂SAP Leonardo物联网平台 https://blog.csdn.net/weixin_42137700/article/details/81903290 本文比较系统.全面地介绍了SAP ...
- FD.io 社区中国行暨未来网络技术沙龙 南京站 参会小结
FD.io 社区中国行暨未来网络技术沙龙 南京站,2018 年 3 月 17 日. 开场致辞 Ray 介绍了一些有的没的 ⁃ (Future Event)DPDK summit, FD.io summ ...
随机推荐
- laravel框架图片上传
1.建控制器方法 2.建立路由 绑定控制器方法 3.进行图片上传的配置 修改图片上传的路径 a) config/filesystems.php 修改disks->local->root(图 ...
- 【JS新手教程】浏览器弹出div层1
JS中,可以弹出一个层来进行提示等作用,方法是利用css样式display样式,当display等于none时,该元素就不会在页面显示出来,而且元素也不会占空间.就是用户触发某些事件时,动态修改该样式 ...
- mfix输出自定义数据
有时候需要输出一些自定义的网格或者DEM颗粒信息,比如输出颗粒的受力,这里举例颗粒自定义数据的输出.网格自定义输出方法类似. 首先用FileLocatorPro(网上很多绿色版),搜索一下代码里mod ...
- HLS:跑马灯实验
跑马灯实验的第一部分记录: 1. vivado 2018.2的HLS在跑C/RTL co-simulation的时候,一直报错,不论是用modelsim 还是vivado自带的similator.使用 ...
- 【ORACLE】ORACLE session(会话)管理
#查看当前不为空的连接select * from v$session where username is not null #查看不同用户的连接数 select username,count(user ...
- (转)[小工具] Linux下列格式化工具 - column
当你看到Linux下命令输出的列歪歪扭扭时,是不是看着很不爽?column 命令就可以方便地解决这个问题. 比如: 我们一般就只用到上面这一个用法. column的其他用法如下: 选项 含义 -c 字 ...
- 003javascript语句
javascript语句和java差不多,注意==和===区别 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " ...
- eclipse修改Properties资源文件的默认编码
在eclipse下,打开window-->preferences-->general-->content Types-->java Properties File 将其编码方式 ...
- Jetty 的工作原理
创建一个ServletContextServer类,用来初始化web应用程序的Context,并且指定Servlet和Servlet匹配的url.这里指定了两个Servlet,分别是HelloServ ...
- 数据库命令行操作语句 linux 详细
1.连接数据库 命令: use <数据库名> 2.查看表的引擎类型等状态信息 SHOW TABLE STATUS [FROMdb_name] [LIKE 'pattern'] 3.当前数据 ...