diff --git a/src/.vuepress/public/img/ainode-timer-1.png b/src/.vuepress/public/img/ainode-timer-1.png new file mode 100644 index 000000000..5ba008005 Binary files /dev/null and b/src/.vuepress/public/img/ainode-timer-1.png differ diff --git a/src/.vuepress/public/img/ainode-timer-2.png b/src/.vuepress/public/img/ainode-timer-2.png new file mode 100644 index 000000000..f44c8a3a7 Binary files /dev/null and b/src/.vuepress/public/img/ainode-timer-2.png differ diff --git a/src/.vuepress/public/img/ainode-timer-3.png b/src/.vuepress/public/img/ainode-timer-3.png new file mode 100644 index 000000000..6c9f5e973 Binary files /dev/null and b/src/.vuepress/public/img/ainode-timer-3.png differ diff --git a/src/UserGuide/Master/Tree/User-Manual/AINode_timecho.md b/src/UserGuide/Master/Tree/User-Manual/AINode_timecho.md index 7095ba16d..793136b1e 100644 --- a/src/UserGuide/Master/Tree/User-Manual/AINode_timecho.md +++ b/src/UserGuide/Master/Tree/User-Manual/AINode_timecho.md @@ -444,6 +444,46 @@ Total line number = 4 In the result set, each row's label corresponds to the output of the anomaly detection model after inputting each group of 24 rows of data. +### 4.6 AINode-Timer Model Import Steps +1. Open the IoTDB CLI console and verify that the ConfigNode, DataNode, and AINode statuses are all ​Running. + +Check command: +```sql +show cluster +``` + +![](/img/ainode-timer-1.png) + +2. Model file storage path: It is recommended to place the model files in the same directory as the AINode installation package. + You may create a new folder to store model files. +3. Register the model + +Use the following SQL statement: + +```sql +create model using uri +``` + +Example (for the Timer model): + +```sql +create model Timer using uri +``` + +Note: When importing the Timer model, the name must be "Timer" (case-sensitive), otherwise it will not be recognized by the IoTDB visualization console. + +![](/img/ainode-timer-2.png) + +4. Verify model registration success + +Check command: + +```sql +show models +``` + +![](/img/ainode-timer-3.png) + ## 5. Privilege Management When using AINode related functions, the authentication of IoTDB itself can be used to do a permission management, users can only use the model management related functions when they have the USE_MODEL permission. When using the inference function, the user needs to have the permission to access the source sequence corresponding to the SQL of the input model. diff --git a/src/UserGuide/latest/User-Manual/AINode_timecho.md b/src/UserGuide/latest/User-Manual/AINode_timecho.md index 7095ba16d..793136b1e 100644 --- a/src/UserGuide/latest/User-Manual/AINode_timecho.md +++ b/src/UserGuide/latest/User-Manual/AINode_timecho.md @@ -444,6 +444,46 @@ Total line number = 4 In the result set, each row's label corresponds to the output of the anomaly detection model after inputting each group of 24 rows of data. +### 4.6 AINode-Timer Model Import Steps +1. Open the IoTDB CLI console and verify that the ConfigNode, DataNode, and AINode statuses are all ​Running. + +Check command: +```sql +show cluster +``` + +![](/img/ainode-timer-1.png) + +2. Model file storage path: It is recommended to place the model files in the same directory as the AINode installation package. + You may create a new folder to store model files. +3. Register the model + +Use the following SQL statement: + +```sql +create model using uri +``` + +Example (for the Timer model): + +```sql +create model Timer using uri +``` + +Note: When importing the Timer model, the name must be "Timer" (case-sensitive), otherwise it will not be recognized by the IoTDB visualization console. + +![](/img/ainode-timer-2.png) + +4. Verify model registration success + +Check command: + +```sql +show models +``` + +![](/img/ainode-timer-3.png) + ## 5. Privilege Management When using AINode related functions, the authentication of IoTDB itself can be used to do a permission management, users can only use the model management related functions when they have the USE_MODEL permission. When using the inference function, the user needs to have the permission to access the source sequence corresponding to the SQL of the input model. diff --git a/src/zh/UserGuide/Master/Tree/User-Manual/AINode_timecho.md b/src/zh/UserGuide/Master/Tree/User-Manual/AINode_timecho.md index 2749c4e7d..9bbe372cd 100644 --- a/src/zh/UserGuide/Master/Tree/User-Manual/AINode_timecho.md +++ b/src/zh/UserGuide/Master/Tree/User-Manual/AINode_timecho.md @@ -441,6 +441,44 @@ Total line number = 4 其中结果集中每行的标签对应每24行数据为一组,输入该异常检测模型后的输出。 +### 4.6 AINode-Timer模型导入操作步骤 + +1. 打开 IoTDB cli 控制台,检查 ConfigNode、DataNode、AINode 节点确保均为 Running。 + +检查命令: +```sql +show cluster +``` + +![](/img/ainode-timer-1.png) + +2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件 +3. 注册模型语句 + +```sql +create model using uri +``` + +示例: + +```sql +create model Timer using uri +``` + +注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。 + +![](/img/ainode-timer-2.png) + +4. 检查模型是否注册成功 + +检查命令: + +```sql +show models +``` + +![](/img/ainode-timer-3.png) + ## 5. 权限管理 使用AINode相关的功能时,可以使用IoTDB本身的鉴权去做一个权限管理,用户只有在具备 USE_MODEL 权限时,才可以使用模型管理的相关功能。当使用推理功能时,用户需要有访问输入模型的SQL对应的源序列的权限。 diff --git a/src/zh/UserGuide/latest/User-Manual/AINode_timecho.md b/src/zh/UserGuide/latest/User-Manual/AINode_timecho.md index 2749c4e7d..9bbe372cd 100644 --- a/src/zh/UserGuide/latest/User-Manual/AINode_timecho.md +++ b/src/zh/UserGuide/latest/User-Manual/AINode_timecho.md @@ -441,6 +441,44 @@ Total line number = 4 其中结果集中每行的标签对应每24行数据为一组,输入该异常检测模型后的输出。 +### 4.6 AINode-Timer模型导入操作步骤 + +1. 打开 IoTDB cli 控制台,检查 ConfigNode、DataNode、AINode 节点确保均为 Running。 + +检查命令: +```sql +show cluster +``` + +![](/img/ainode-timer-1.png) + +2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件 +3. 注册模型语句 + +```sql +create model using uri +``` + +示例: + +```sql +create model Timer using uri +``` + +注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。 + +![](/img/ainode-timer-2.png) + +4. 检查模型是否注册成功 + +检查命令: + +```sql +show models +``` + +![](/img/ainode-timer-3.png) + ## 5. 权限管理 使用AINode相关的功能时,可以使用IoTDB本身的鉴权去做一个权限管理,用户只有在具备 USE_MODEL 权限时,才可以使用模型管理的相关功能。当使用推理功能时,用户需要有访问输入模型的SQL对应的源序列的权限。