第四章
认知元素分类与结构模型
Cognitive Element Classification & Structure Model
4.1 认知元素分类理论提出
在第二章感知元素理论和第三章认知元素理论基础上,WSaiOS 进一步研究:
不同类型的认知对象如何分类、表示和组织。
现实环境中的对象具有不同特征:
例如:
- 人具有身份、行为和状态;
- 产品具有规格、属性和功能;
- 设备具有运行状态和控制能力;
- 环境具有空间结构和条件变化;
- 事件具有时间过程和结果变化。
因此:
WSaiOS 不能使用单一对象结构描述所有认知对象。
需要建立:
认知元素分类体系
4.2 认知元素分类原则
WSaiOS 根据对象的:
- 存在形式;
- 信息结构;
- 行为方式;
- 状态变化;
- 关系类型;
进行分类。
基本原则:
同类元素具有相似结构,不同元素具有不同认知特征。
分类关系:
Cognitive Element
|
--------------------------------
Entity Element
Information Element
Environment Element
Behavior Element
Event Element
Abstract Element
4.3 实体认知元素
Entity Cognitive Element
实体元素表示:
具有明确对象身份的认知对象。
例如:
- 人;
- 产品;
- 设备;
- 企业;
- 动物。
结构:
Entity Element
├ ID
├ Type
├ Attribute
├ State
├ Relation
└ Function
例如:
产品认知元素
{
"type":"Product",
"attribute":{
"brand":"Aigdoo",
"model":"X1",
"battery":"1000mAh"
},
"state":{
"stock":"available"
}
}
实体元素特点:
- 具有唯一身份;
- 具有属性描述;
- 可以建立关系;
- 可以产生行为。
4.4 信息认知元素
Information Cognitive Element
信息元素表示:
用于描述、记录和传递知识的信息对象。
例如:
- 文字;
- 图片;
- 视频;
- 音频;
- 文档。
结构:
Information Element
├ Source
├ Content
├ Feature
├ Structure
└ Relation
例如:
图片元素:
Image Element
├ Object
├ Color
├ Shape
├ Position
└ Scene Relation
信息元素特点:
提供:
- 描述;
- 特征;
- 结构。
它通常是:
感知元素向认知元素转换的重要来源。
4.5 环境认知元素
Environment Cognitive Element
环境元素表示:
对象存在的空间和条件。
例如:
- 房间;
- 工厂;
- 城市;
- 天气环境。
结构:
Environment Element
├ Space
├ Condition
├ Object Set
├ Relation
└ State
例如:
智能办公室:
Office Element
├ Person
├ Desk
├ Computer
├ Lighting
├ Temperature
└ Space Relation
环境元素作用:
提供:
对象存在背景。
4.6 行为认知元素
Behavior Cognitive Element
行为元素表示:
对象发生的动作或过程。
例如:
- 移动;
- 购买;
- 生产;
- 交流。
结构:
Behavior=(Actor,Action,Object,Result)Behavior=(Actor,Action,Object,Result)
例如:
用户购买行为:
Actor:
User
Action:
Buy
Object:
Product
Result:
Order Created
行为元素特点:
具有:
- 输入;
- 条件;
- 过程;
- 输出。
4.7 事件认知元素
Event Cognitive Element
事件元素表示:
在时间中发生的变化。
例如:
- 设备故障;
- 用户访问;
- 订单生成。
事件结构:
Event=(Time,Object,Action,StateChange,Result)Event=(Time,Object,Action,StateChange,Result)
例如:
设备报警事件:
Event:
Machine Alarm
Time:
10:30
Object:
Machine001
State:
Running → Error
事件元素连接:
对象;
行为;
时间。
4.8 抽象认知元素
Abstract Cognitive Element
抽象元素表示:
非具体实体,但具有认知意义的概念。
例如:
- 品牌;
- 类别;
- 规则;
- 标准;
- 方法。
例如:
产品分类:
Electric Toothbrush
↓
Oral Care Product
↓
Consumer Product
抽象元素作用:
形成:
知识分类体系。
4.9 认知元素层级结构模型
WSaiOS 使用层级结构组织认知元素。
模型:
Cognitive Element
|
|
Category Element
|
|
Specific Element
|
|
Instance Element
例如:
产品:
Product
↓
Electric Toothbrush
↓
Aigdoo X1
↓
Serial Number 001
这种结构类似:
面向对象中的:
继承;
实例化。
4.10 认知元素实例化模型
WSaiOS 中:
理论元素通过变量赋值形成具体对象。
例如:
模板:
Product Element
{
Brand
Model
Battery
Mode
}
实例:
Product Instance
{
Brand=Aigdoo
Model=X1
Battery=1000mAh
Mode=5
}
关系:
Element Template
↓
Variable Assignment
↓
Element Instance
4.11 认知元素变量模型
认知元素由变量组成。
表示:
E=(V1,V2,V3,…,Vn)E=(V_1,V_2,V_3,…,V_n)
例如:
人物元素:
变量:
Name
Age
Location
Emotion
Action
不同变量组合:
产生不同认知状态。
例如:
状态1:
Person
Age=30
Location=Office
Action=Working
状态2:
Person
Age=30
Location=Home
Action=Resting
4.12 认知元素组合模型
复杂认知对象由多个元素组合形成。
公式:
Complex Element={E1,E2,…,En}Complex\ Element=\{E_1,E_2,…,E_n\}
例如:
汽车:
不是单一元素。
而是:
Car Element
|
-----------------
Engine Element
Wheel Element
Battery Element
Sensor Element
Control Element
组合形成:
完整认知对象。
4.13 认知元素结构关系模型
WSaiOS 中:
元素结构包括:
纵向结构
表示:
分类层级。
例如:
Device
↓
Robot
↓
Industrial Robot
横向结构
表示:
对象关系。
例如:
Robot
↓
Located In
↓
Factory
时间结构
表示:
状态变化。
例如:
Normal
↓
Warning
↓
Error
4.14 认知元素与工程对象模型
WSaiOS 理论可以映射工程实现。
理论:
Cognitive Element
Type
Attribute
State
Relation
Function
JSON:
{
"id":"robot001",
"type":"Robot",
"attribute":{
"speed":"2m/s"
},
"state":{
"status":"running"
},
"relation":[
"factory001"
],
"function":{
"move":{}
}
}
面向对象:
class CognitiveElement
{
public $id;
public $type;
public $attribute;
public $state;
public $relation;
public $function;
}
4.15 本章总结
认知元素分类与结构模型建立了 WSaiOS 对认知对象的统一描述方式。
核心分类:
认知元素
├ 实体元素
├ 信息元素
├ 环境元素
├ 行为元素
├ 事件元素
└ 抽象元素
核心结构:
类型
+
属性
+
状态
+
关系
+
行为
+
记忆
+
反馈
通过分类和结构模型:
WSaiOS 能够将复杂环境转换为:
可表示;
可组织;
可关联;
可推理;
可执行;
的认知知识结构。
下一章:
第五章
认知元素组织与关联理论
Cognitive Element Organization & Relation Theory
重点:
- 元素集合理论;
- 元素组织方式;
- 元素关系模型;
- 图结构;
- 知识图谱;
- 元素关联计算;
- 从元素到知识结构。