diff --git "a/zh-cn/readme/figures/\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" "b/zh-cn/readme/figures/\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" new file mode 100644 index 0000000000000000000000000000000000000000..95625c70896d22deaa8ba187da8408639effc940 Binary files /dev/null and "b/zh-cn/readme/figures/\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237\346\236\266\346\236\204\345\233\276.png" differ diff --git "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" index d71584275a1a4e9f3c6cc90b552f050f1b8bfe8a..d2dfe6537ff4de7c2cb6d7e86f6843d0fd4140cd 100755 --- "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\346\225\260\346\215\256\347\256\241\347\220\206\345\255\220\347\263\273\347\273\237.md" @@ -6,6 +6,7 @@ - [本地数据管理说明](#section129654513264) - [分布式数据服务说明](#section1961602912224) - [KV数据模型说明](#section1961602912225) + - [分布式数据对象说明](#section1961602912257) - [相关仓](#section1371113476307) @@ -30,7 +31,7 @@ **图 1** 子系统架构图 -![](figures/zh-cn_image_0000001115748088.png) +![](figures/数据管理子系统架构图.png) ## 目录 @@ -40,18 +41,25 @@ distributeddatamgr/ # 子系统目录 ├── appdatamgr # 本地数据管理组件目录 └── distributeddatamgr # 分布式数据服务组件目录 - ├── frameworks # 框架层代码 - │ ├── common # 公共工具类 - │ ├── innerkitsimpl # 部件间接口代码实现 - │ ├── jskitsimpl # JS API的实现 - │ ├── libs # DB代码实现 - │ └── native # 内部接口实现 - ├── interfaces # 接口代码 - │ ├── inner_api # 内部接口声明 - │ ├── innerkits # 部件间接口声明 - │ └── jskits # JS API的声明 - └── services # 服务层代码 - └── distributeddataservice # 分布式数据服务实现 +│ ├── frameworks # 框架层代码 +│ │ ├── common # 公共工具类 +│ │ ├── innerkitsimpl # 部件间接口代码实现 +│ │ ├── jskitsimpl # JS API的实现 +│ │ ├── libs # DB代码实现 +│ │ └── native # 内部接口实现 +│ ├── interfaces # 接口代码 +│ │ ├── inner_api # 内部接口声明 +│ │ ├── innerkits # 部件间接口声明 +│ │ └── jskits # JS API的声明 +│ └── services # 服务层代码 +│ └── distributeddataservice # 分布式数据服务实现 +└── objectstore # 分布式数据对象目录 + ├─frameworks # 框架层代码 + │ ├─innerkitsimpl # 部件间接口代码实现 + │ └─jskitsimpl # JS API的实现 + └─interfaces # 接口代码 + ├─innerkits # 部件间接口声明 + └─jskits # JS API的声明 │third_party/ # 开源软件目录 ├── flatbuffers # flatbuffers代码目录 @@ -105,6 +113,13 @@ distributeddatamgr/ # 子系统目录 “KV数据模型”是“Key-Value数据模型”的简称,“Key-Value”即“键-值”。它是一种NoSQL类型数据库,其数据以键值对的形式进行组织、索引和存储。 KV数据模型适合不涉及过多数据关系和业务关系的业务数据存储,比SQL数据库存储拥有更好的读写性能,同时在分布式场景中降低了数据库版本兼容和数据同步过程中冲突解决的复杂度而被广泛使用。分布式数据库也是基于KV数据模型,对外提供KV类型的访问接口。 + +### 分布式数据对象说明 + +分布式数据对象管理框架是一款面向对象的内存数据管理框架,向应用开发者提供内存对象的创建、查询、删除、修改、订阅等基本数据对象的管理能力,同时具备分布式能力,满足超级终端场景下,相同应用多设备间的数据对象协同需求。 + +分布式数据对象提供JS接口,让开发者能以使用本地对象的方式使用分布式对象。分布式数据对象支持的数据类型包括数字型、字符型、布尔型等基本类型,同时也支持数组、基本类型嵌套等复杂类型。 + ## 相关仓 分布式数据管理子系统 @@ -113,6 +128,8 @@ distributeddatamgr\_appdatamgr distributeddatamgr\_distributeddatamgr +distributeddatamgr\_objectstore + third\_party\_sqlite third\_party\_flatbuffers