当前位置:网站首页>Edge box + time series database, technology selection behind Midea's digital platform iBuilding
Edge box + time series database, technology selection behind Midea's digital platform iBuilding
2022-08-03 20:03:00 【Taosi data TDengine】
根据 2021 年 12 Month by the us accused of intelligent building joint ou think-tank released jointly《China Building Automation White Paper》,2021 The annual output value of China's building intelligent market is about 7238.2 亿元,Combining the development trend of industry in recent years,经过初步估算,2016-2021 Intelligent building in China market is rising year by year,stock size close to 5000 亿元,Add more than 2200 亿元.
As one of the five business segments of Midea Group,Midea HVAC and Building Division established“A leader in HVAC and building smart ecological integration solutions”的发展愿景,Designed to meet complex building needs with intelligently integrated industry solutions,Currently mainly involved in central air conditioning、电梯、Building control and other fields.在 2021 楼宇科技 TRUE 大会上,Beauty of hvac and building department issued a digital platform for the first time iBuilding,以“Floppy hard drive”Ways to empower the construction industry.
作为一个全新的项目,We compared the relational database, respectively(Relational Database)As well as the mainstream of temporal database(Time Series Database),包括 InfluxDB、TDengine、MySQL 等.对比关系型数据库 MySQL 来说,在这个场景下,We don't need complex queries,However, it requires efficient storage and large-scale data pull.And with the temporal database InfluxDB 对比,TDengine The performance of the stand-alone version is much better than InfluxDB.因此,In a comprehensive assessment of the fit、查询、After writing and storage and other comprehensive ability,我们最终选择了 TDengine 这款产品.
iBuilding 项目属于“智慧楼宇”的一部分,The project itself is used for edge side to large refrigeration equipment(中央空调)The intelligent monitoring and interaction.具体应用场景是:Dozens of buildings involved in the project,Each has some large centrifugal chillers(10 台左右),We have deployed a TDengine 到 ARM64 系统上.通过 Python 程序,Data acquisition system will first,然后把数据写入 TDengine ,Finally, the data uploaded to the cloud TDengine 进行处理.
我们根据 TDengine “一个设备一张表,A kind of equipment a super table”The modeling principle of,Created the following table,The indicators of the two types of equipment are: 97 和 199 ,Data column starts with float 和 int 为主,设备每 5s Submit a batch of data:
To the side of the edge data collection,由于资源有限,Therefore, the use of resource data has become a very important indicator..这方面 TDengine 表现非常好,Further help us reduce costs and increase efficiency.
Our edge box hosting the database service is configured as 2GB 内存,4C CPU,ARM64 位的系统.Due to the small number of subtables,以及 TDengine Write the characteristics of relatively fixed memory,The current memory usage is less than 200MB.Database daily CPU 消耗比较低,大概在 3%-5% 左右,Conservative estimate even if write volume expands 50-100 倍,也没有问题.
Query for a month before the sum of several indicators of a certain equipment,Sort by timestamp in descending order.query about 19 万行数据,耗时 0.4s.结果如下:
later we and TDengine Community staff discussed the situation together,You think you can add a column,dedicated to statistics TDengine the size of the data file,然后把它与 disk_used、disk_total Normalize and unify naming together,to prevent users from misunderstanding.
本文分享自微信公众号 - TDengine(taosdata_news).
如有侵权,请联系 [email protected] 删除.
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享.
边栏推荐
猜你喜欢
随机推荐
Handler source code analysis
codeforces:C. Maximum Subrectangle【前缀和 + 贪心 + 最小子数组和】
Detailed explanation of JWT
虚拟机vmware设置桥接模式上网
头条服务端一面经典10道面试题解析
MySQL Basics
WPF .cs中使用资源文件中的ControlTemplate或Style并找到控件
谁的孙子最多II
利用 rpush 和 blpop 实现 Redis 消息队列
wordpress建立数据库连接时出错
The sword refers to Offer II 044. The maximum value of each level of the binary tree-dfs method
tRNA修饰2-甲基胞嘧啶(m2C)|tRNA修饰m2G (N2-methylguanosine)
阿洛的反思
CSDN帐号管理规范
基础软件与开发语言开源论坛| ChinaOSC
Interview Blitz: What Are Sticky Packs and Half Packs?How to deal with it?
演讲议题及嘉宾重磅揭晓,TDengine 开发者大会推动数据技术“破局”
自定义form表单验证
子树的大小
Pytorch GPU 训练环境搭建