IoT设备如何将文件上传到云? [英] How can an IoT device upload a file to the cloud?

查看:69
本文介绍了IoT设备如何将文件上传到云?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Cloud Platform上的IoT设备是否可以通过某种方式将文件上传到云?在这种情况下,这并不完全是遥测数据发布.直接访问存储桶可能很有用.要么访问我基于AppEngine的应用程序,但是如果我将其上传到我的应用程序(将在下一步将文件放入存储桶中),我如何可能对该设备进行身份验证以确保发送该设备的设备对我来说实际上是它声称的设备?

Is it possible for an IoT device on Google Cloud Platform to upload a file to the cloud somehow? In this case it's not exactly a telemetry data publishing. A direct access to the bucket could be useful. Either that or access to my AppEngine-based application, but if I upload it to my app (that will in the next step put the file into a bucket), how can I possibly authenticate the device to make sure that the device that sends it to me is actually the device it claims to be?

推荐答案

我设法通过配置将签名URL传递给设备来解决了这个问题. https://cloud.google.com/storage/docs/access-控制/签名网址

I managed to solve the problem by passing a Signed URL to the device via the configuration. https://cloud.google.com/storage/docs/access-control/signed-urls

这篇关于IoT设备如何将文件上传到云?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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