OneM2M:定期从FTP服务器获取设备数据的IPE [英] OneM2M: IPE that periodically fetches device data from FTP server

查看:74
本文介绍了OneM2M:定期从FTP服务器获取设备数据的IPE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台将数据发送到FTP服务器的设备.在oneM2M中,我想实现IPE来访问此数据并将其发送到MN-CSE.

I have a device that sends data to a FTP server. In oneM2M, I want to implement an IPE to access this data and send it to MN-CSE.

我正在考虑定期(例如每5分钟)请求FTP服务器,并将数据提取到IPE,IPE进一步处理并将该数据发送到MN-CSE.我只是想确认这种方法是否合适,或者是否有更好的方法来实现这一目标?

I am thinking of periodically (say every 5 minutes) requesting the FTP server and fetching the data to the IPE which further processes and sends this data to MN-CSE. I just wanted to confirm if the approach is fine or are there any better ways to achieve this?

谢谢.

推荐答案

这是一个与您计划部署的基础架构更相关的问题.当然,这是可行的,但是轮询的缺点是,如果延迟很小,则AE会不必要地频繁轮询ftp服务器,如果时间太长,则可能会丢失设备(发送到ftp服务器)传递的数据.替代方法可能是:

This is a question more related to the infrastructure architecture you are planing to deploy. It is feasible, of course, but polling has the disadvantage that if the delay is to small your AE would poll the ftp server unnecessarily often, and if it is to long then you might miss data delivered by your device (to the ftp server). Alternatives could be:

  • ftp服务器通知您的AE
  • 您的AE实现了ftp服务器,然后将能够直接对新的数据事件做出反应.

这篇关于OneM2M:定期从FTP服务器获取设备数据的IPE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆