Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 5|回復: 0
打印 上一主題 下一主題

In this way, even if you change

[複製鏈接]

1

主題

0

好友

5

積分

新手上路

Rank: 1

跳轉到指定樓層
樓主
發表於 2024-3-12 14:50:28 |只看該作者 |正序瀏覽
Therefore, for IoT device access, we should design an adaptation layer as a bridge between the manufacturer's data API and the business layer. The responsibility of this adaptation layer is to access the IoT device data APIs of different manufacturers and then convert them into standard format data required by the business layer.


In this way, even if you change manufacturers or equipment, you only need to change the Indonesia Telegram Number Data adaptation layer, and neither the business layer nor the front end need to make any changes. With the adaptation layer in place, our product architecture evolves into the following. Under this architecture, no matter how many manufacturers or types of devices are connected, adjustments only need to be made at the adaptation layer, and the business modules and front-end do not need to be modified in any way.





The arrow drawn in the picture is one-way. In fact, it is no problem to change it to a two-way arrow. If the business module needs to issue instructions to IoT devices, it can also use the adaptation layer to convert standard instructions into corresponding instructions that devices from different manufacturers can receive. There is also no need to change the business module when connecting to new manufacturer equipment.


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

Archiver|手機版|GameHost抗攻擊論壇

GMT+8, 2024-11-12 05:32 , Processed in 0.054948 second(s), 21 queries .

抗攻擊 by GameHost X2.5

© 2001-2012 Comsenz Inc.

回頂部 一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |