Skip to content

Commit bb8a7b0

Browse files
committed
修改动态注册描述
Change-Id: I3d0cb706f0a691eb3df89d9069af2360c1945262
1 parent 6daeeff commit bb8a7b0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

hub/hub-device-android/docs/en/PRELIM__动态注册_EN-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Overview
77
This feature assigns the same key to all devices under the same product, and a device gets a device certificate/key through a registration request for authentication. You can burn the same configuration information for the same batch of devices. For more information on the three authentication schemes provided by IoT Hub, please see [Overview](https://cloud.tencent.com/document/product/634/35272). For more information on the dynamic registration request, please see [Dynamic Registration API Description](https://cloud.tencent.com/document/product/634/47225).
88

9-
If you enable automatic device creation in the console, you don't need to create devices in advance, but you must guarantee that device names are unique under the same product ID, which are generally unique device identifiers (such as MAC address). This method is more flexible. If you disable it in the console, you must create devices in advance and enter the same device names during dynamic registration, which is more secure but less convenient.
9+
Users need to create a device in advance on the console. During dynamic registration, the device reports the pre-created device name to obtain the device key.
1010

1111
## Running demo for dynamic registration
1212
Before running the demo, you need to configure `PRODUCT_ID` (product ID), `DEVICE_NAME` (device name), and `PRODUCT_KEY` (`ProductSecret` in the console) in the [app-config.json](../../../hub-android-demo/src/main/assets/app-config.json) file.

hub/hub-device-android/docs/zh/动态注册.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## 动态注册认证简介
77
该功能为同一产品下的所有设备分配同一密钥,设备通过注册请求获取设备证书/密钥后认证接入,用户可以为同一批设备烧录相同的配置信息。请参考 [设备身份认证](https://cloud.tencent.com/document/product/634/35272) 了解物联网通信平台为用户提供的三种认证方案。请参考 [动态注册接口说明](https://cloud.tencent.com/document/product/634/47225) 了解动态注册请求的详细说明。
88

9-
若用户在控制台上开启了自动创建设备,则无需在控制台预先创建设备,但需保证同一产品下设备名称无重复,一般可以取设备的唯一信息,比如MAC地址,此种方式更加灵活。若用户在控制台上关闭了自动创建设备,则必须要预先创建设备,动态注册时的设备要与录入的设备名称一致,此种方式更加安全,但便利性有所下降
9+
用户需在控制台上预先创建好设备,动态注册时设备通过上报预先创建的设备名,获取设备的密钥
1010

1111
## 运行示例程序进行动态注册
1212
运行示例程序前,需要配置 [app-config.json](../../../hub-android-demo/src/main/assets/app-config.json) 文件中的PRODUCT_ID(产品ID),DEVICE_NAME(设备名称),PRODUCT_KEY(控制台中ProductSecret)

hub/hub-device-java/docs/en/PRELIM__动态注册_EN-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Overview
77
This feature assigns the same key to all devices under the same product, and a device gets a device certificate/key through a registration request for authentication. You can burn the same configuration information for the same batch of devices. For more information on the three authentication schemes provided by IoT Hub, please see [Overview](https://cloud.tencent.com/document/product/634/35272). For more information on the dynamic registration request, please see [Dynamic Registration API Description](https://cloud.tencent.com/document/product/634/47225).
88

9-
If you enable automatic device creation in the console, you don't need to create devices in advance, but you must guarantee that device names are unique under the same product ID, which are generally unique device identifiers (such as MAC address). This method is more flexible. If you disable it in the console, you must create devices in advance and enter the same device names during dynamic registration, which is more secure but less convenient.
9+
Users need to create a device in advance on the console. During dynamic registration, the device reports the pre-created device name to obtain the device key.
1010

1111
## Running demo for dynamic registration
1212
Edit the parameter configuration information in the [unit_test_config.json](../../src/test/resources/unit_test_config.json) file in the demo.

hub/hub-device-java/docs/zh/动态注册.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## 动态注册认证简介
77
该功能为同一产品下的所有设备分配同一密钥,设备通过注册请求获取设备证书/密钥后认证接入,用户可以为同一批设备烧录相同的配置信息。请参考 [设备身份认证](https://cloud.tencent.com/document/product/634/35272) 了解物联网通信平台为用户提供的三种认证方案。请参考 [动态注册接口说明](https://cloud.tencent.com/document/product/634/47225) 了解动态注册请求的详细说明。
88

9-
若用户在控制台上开启了自动创建设备,则无需在控制台预先创建设备,但需保证同一产品下设备名称无重复,一般可以取设备的唯一信息,比如MAC地址,此种方式更加灵活。若用户在控制台上关闭了自动创建设备,则必须要预先创建设备,动态注册时的设备要与录入的设备名称一致,此种方式更加安全,但便利性有所下降
9+
用户需在控制台上预先创建好设备,动态注册时设备通过上报预先创建的设备名,获取设备的密钥
1010

1111
## 运行示例程序进行动态注册
1212
示例中编辑 [unit_test_config.json](../../src/test/resources/unit_test_config.json) 文件中的参数配置信息

0 commit comments

Comments
 (0)