This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new c62bfc2e add ainode timer in 2.0.x tree timecho (#636)
c62bfc2e is described below
commit c62bfc2ebb2bcae01463eb5bf99881baf748e753
Author: leto-b <[email protected]>
AuthorDate: Thu Mar 13 09:55:20 2025 +0800
add ainode timer in 2.0.x tree timecho (#636)
---
src/.vuepress/public/img/ainode-timer-1.png | Bin 0 -> 90516 bytes
src/.vuepress/public/img/ainode-timer-2.png | Bin 0 -> 47381 bytes
src/.vuepress/public/img/ainode-timer-3.png | Bin 0 -> 133584 bytes
.../Master/Tree/User-Manual/AINode_timecho.md | 40 +++++++++++++++++++++
src/UserGuide/latest/User-Manual/AINode_timecho.md | 40 +++++++++++++++++++++
.../Master/Tree/User-Manual/AINode_timecho.md | 38 ++++++++++++++++++++
.../UserGuide/latest/User-Manual/AINode_timecho.md | 38 ++++++++++++++++++++
7 files changed, 156 insertions(+)
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 00000000..5ba00800
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 00000000..f44c8a3a
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 00000000..6c9f5e97
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 7095ba16..793136b1 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
+```
+
+
+
+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 <model_name> using uri <uri>
+```
+
+Example (for the Timer model):
+
+```sql
+create model Timer using uri <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.
+
+
+
+4. Verify model registration success
+
+Check command:
+
+```sql
+show models
+```
+
+
+
## 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 7095ba16..793136b1 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
+```
+
+
+
+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 <model_name> using uri <uri>
+```
+
+Example (for the Timer model):
+
+```sql
+create model Timer using uri <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.
+
+
+
+4. Verify model registration success
+
+Check command:
+
+```sql
+show models
+```
+
+
+
## 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 2749c4e7..9bbe372c 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
+```
+
+
+
+2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件
+3. 注册模型语句
+
+```sql
+create model <model_name> using uri <uri>
+```
+
+示例:
+
+```sql
+create model Timer using uri <uri>
+```
+
+注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。
+
+
+
+4. 检查模型是否注册成功
+
+检查命令:
+
+```sql
+show models
+```
+
+
+
## 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 2749c4e7..9bbe372c 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
+```
+
+
+
+2. 模型文件存放路径:推荐放在 AINode 安装包相同文件夹下,可新建模型文件夹存放模型文件
+3. 注册模型语句
+
+```sql
+create model <model_name> using uri <uri>
+```
+
+示例:
+
+```sql
+create model Timer using uri <uri>
+```
+
+注意:导入 Timer 模型时名称需命名为“Timer”,否则无法被可视化控制台识别。
+
+
+
+4. 检查模型是否注册成功
+
+检查命令:
+
+```sql
+show models
+```
+
+
+
## 5. 权限管理
使用AINode相关的功能时,可以使用IoTDB本身的鉴权去做一个权限管理,用户只有在具备 USE_MODEL
权限时,才可以使用模型管理的相关功能。当使用推理功能时,用户需要有访问输入模型的SQL对应的源序列的权限。