设备反欺骗如何在 Azure IoT 中心工作?
How does device anti-spoofing work in Azure IoT hub?
Azure 开发指南https://azure.microsoft.com/en-us/documentation/articles/iot-hub-devguide中有一小节(如下所示)讨论了设备反欺骗。我不清楚,它说物联网中心用属性标记每条消息,但对我来说,设备反欺骗是物联网中心停止接收从任何欺骗设备发送的消息。请帮助解释这是如何工作的?
Anti-spoofing properties
To avoid device spoofing in device-to-cloud messages, IoT Hub stamps
all messages with the following properties:
- ConnectionDeviceId
- ConnectionDeviceGenerationId
- ConnectionAuthMethod
在 IoT Hub 中有一个设备注册表,用于向网关授权设备。身份验证后,将根据注册表检查设备。
当设备注册到 IoT 中心时,设备的标识和密钥将保存在设备注册表中。此设备和密钥是设备用于对服务进行身份验证的内容。
世代 ID 也是其中的关键部分。当设备首次注册到 IoT 中心时,会为设备分配生成 ID。这样做的目的是为了区分同一设备ID的身份注册(添加,删除,然后再添加)。
如果您有兴趣深入了解 IoT 中心架构,请参阅 Clemen 的 2015 年构建演讲 here。
Azure 开发指南https://azure.microsoft.com/en-us/documentation/articles/iot-hub-devguide中有一小节(如下所示)讨论了设备反欺骗。我不清楚,它说物联网中心用属性标记每条消息,但对我来说,设备反欺骗是物联网中心停止接收从任何欺骗设备发送的消息。请帮助解释这是如何工作的?
Anti-spoofing properties
To avoid device spoofing in device-to-cloud messages, IoT Hub stamps all messages with the following properties:
- ConnectionDeviceId
- ConnectionDeviceGenerationId
- ConnectionAuthMethod
在 IoT Hub 中有一个设备注册表,用于向网关授权设备。身份验证后,将根据注册表检查设备。
当设备注册到 IoT 中心时,设备的标识和密钥将保存在设备注册表中。此设备和密钥是设备用于对服务进行身份验证的内容。
世代 ID 也是其中的关键部分。当设备首次注册到 IoT 中心时,会为设备分配生成 ID。这样做的目的是为了区分同一设备ID的身份注册(添加,删除,然后再添加)。
如果您有兴趣深入了解 IoT 中心架构,请参阅 Clemen 的 2015 年构建演讲 here。