tamim2222@gmail 發表於 2024-3-12 14:50:28

In this way, even if you change

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.


https://lh7-us.googleusercontent.com/4AeuA8gJ08JXY-AkhilVBi7PcCpHqnTcucc6T9ZZZn_A7HelqHC5jRKkjemxs6WwGwlK4pEIZwJRPM4SjnMLQrgtpuS409kh39tDs1RftdQxpTXh9DbGduwKTO3JKqyoh_MEpzT9tNFONaQx


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.


頁: [1]
查看完整版本: In this way, even if you change

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