基于Emqx broker架构的物联平台设备数据安全研究
2021-08-09幸大树佘文魁顾思明何明阳
幸大树 佘文魁 顾思明 何明阳



摘 要:在电力物联网的建设中,不同种类的设备将会被大量接入,设备数据的安全尤为重要,若在物联平台建设过程中,安全性考虑不足或存在漏洞,将给设备厂商带来安全风险,所以在设备接入、设备数据上报、设备连接通道等各个环节都需要考虑安全性方案,为此该文提出在物联平台(Stariot)建设中,基于Emqx broker架构物联平台设备数据安全方案,方案以Emqx broker架构为基础,进行针对性优化改造,设计一套安全机制,数据通道使用双向传输层安全性协议(Transport Layer Security,TLS)机制进行验签,连接消息服务器时使用emqx_auth_mysql插件认证物联平台租户的用户名/密码,设计数据传输使用国密算法加解密并满足规则引擎要求,实现设备的安全接入和数据的安全传输。
关键词:泛在电力物联网 Emqx broker 物联平台 TLS
中图分类号:TP311.5 文献标识码:A文章编号:1672-3791(2021)04(c)-0054-04
Research on Device Data Security of IOT Platform Based on Emqx broker Architecture
XING Dashu SHE Wenkui GU Siming HE Mingyang
(Aostar Information Technologies Co., Ltd., Chengdu, Sichuan Province, 610041 China)
Abstract: In the construction of the ubiquitous power Internet of Things, different types of Intelligent devices will be accessed in large quantities, the security of equipment data is particularly important. In the process of building the IOT management platform (Stariot), insufficient security consideration or loopholes will bring security risks to equipment manufacturers. Therefore, security scheme should be considered in all sections of equipment access, equipment data reporting, equipment security channel. In order to solve this problem, this paper proposes a device data security scheme based on Emqx broker architecture in IOT platform construction. The scheme is based on Emqx broker architecture and is optimized pertinently. The data channel uses two-way Tansport Layer Security (TLS) for signature verification, and emqx_ auth_ mysql plug-in is used to authenticate the user name and password of IOT management platform tenants when connecting to the message server. The design of data transmission uses the encryption and decryption of national secret algorithm and meets the requirements of the rule engine to realize the safe access of equipment and the safe transmission of data.
Key Words:Ubiquitous power Internet of Things; Emqx broker; Stariot; TLS
隨着国家电网公司在2019年两会提出了建设“三型两网”的目标,泛在电力物联网的建设步入了快车道,泛在电力物联网围绕电力系统各环节,充分应用移动互联、人工智能等现代信息技术、先进通信技术,实现电力系统各环节万物互联、人机交互,具有状态全面感知、信息高效处理、应用便捷灵活特征的智慧服务系统。泛在电力物联网建设的首要工作就是将大量传感器设备、智能终端等设备安全接入到物联平台,因此该文提出了基于Emqx broker技术实现的物联平台,通过对Emqx broker应用方案研究,进行针对性优化改造,设计一套安全机制,实现物联平台设备的安全接入和数据的安全传输。……
