Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
0faf34a8
D
Docs
项目概览
OpenHarmony
/
Docs
12 个月 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0faf34a8
编写于
4月 11, 2023
作者:
Z
zengyawen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs
Signed-off-by:
N
zengyawen
<
zengyawen1@huawei.com
>
上级
963b372e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
126 deletion
+7
-126
zh-cn/application-dev/file-management/app-sandbox-directory.md
.../application-dev/file-management/app-sandbox-directory.md
+1
-1
zh-cn/application-dev/file-management/file-management-overview.md
...plication-dev/file-management/file-management-overview.md
+1
-1
zh-cn/application-dev/file-management/set-security-label.md
zh-cn/application-dev/file-management/set-security-label.md
+1
-1
zh-cn/website.md
zh-cn/website.md
+4
-123
未找到文件。
zh-cn/application-dev/file-management/app-sandbox-directory.md
浏览文件 @
0faf34a8
...
...
@@ -70,7 +70,7 @@
| distributedfiles | distributedFilesDir | 分布式文件路径 | 应用在el2加密条件下存放分布式文件的目录,应用将文件放入该目录可分布式跨设备直接访问;随应用卸载而清理。 |
| files | filesDir | 应用通用文件路径 | 应用在本设备内部存储上通用的存放默认长期保存的文件路径;随应用卸载而清理。 |
| cache | cacheDir | 应用缓存文件路径 | 应用在本设备内部存储上用于缓存下载的文件或可重新生成的缓存文件的路径,应用cache目录大小超过配额或者系统空间达到一定条件,自动触发清理该目录下文件;用户通过系统空间管理类应用也可能触发清理该目录。应用需判断文件是否仍存在,决策是否需重新缓存该文件。 |
| preferences | preferencesDir | 应用首选项文件路径 | 应用在本设备内部存储上通过数据库API存储配置类或首选项的目录;
随应用卸载而清理
。 |
| preferences | preferencesDir | 应用首选项文件路径 | 应用在本设备内部存储上通过数据库API存储配置类或首选项的目录;
应用在本设备内部存储上通过数据库API存储配置类或首选项的目录;随应用卸载而清理。详见
[
通过用户首选项实现数据持久化
](
../database/data-persistence-by-preferences.md
)
。 |
| temp | tempDir | 应用临时文件路径 | 应用在本设备内部存储上仅在应用运行期间产生和需要的文件,应用退出后即清理。 |
对于上述各类应用文件路径,常见使用场景如下:
...
...
zh-cn/application-dev/file-management/file-management-overview.md
浏览文件 @
0faf34a8
...
...
@@ -2,7 +2,7 @@
在操作系统中,存在各种各样的数据,按数据结构可分为:
-
结构化数据:能够用统一的数据模型加以描述的数据。常见的是各类数据库数据。在应用开发中,对结构化数据的开发活动隶属于
数据管理模块
。
-
结构化数据:能够用统一的数据模型加以描述的数据。常见的是各类数据库数据。在应用开发中,对结构化数据的开发活动隶属于
[
数据管理模块
](
../database/data-mgmt-overview.md
)
。
-
非结构化数据:指数据结构不规则或不完整,没有预定义的数据结构/模型,不方便用数据库二维逻辑表来表现的数据。常见的是各类文件,如文档、图片、音频、视频等。在应用开发中,对非结构化数据的开发活动隶属于文件管理模块,将在下文展开介绍。
...
...
zh-cn/application-dev/file-management/set-security-label.md
浏览文件 @
0faf34a8
# 设置分布式文件数据等级
不同设备本身的安全能力差异较大,一些小的嵌入式设备安全能力远弱于平板等设备类型。用户或者应用不同的文件数据有不同安全诉求,例如个人的健康信息和银行卡信息等不期望被弱设备读取。因此,OpenHarmony提供一套完整的数据分级、设备分级标准,并针对不同设备制定不同的数据流转策略。
不同设备本身的安全能力差异较大,一些小的嵌入式设备安全能力远弱于平板等设备类型。用户或者应用不同的文件数据有不同安全诉求,例如个人的健康信息和银行卡信息等不期望被弱设备读取。因此,OpenHarmony提供一套完整的数据分级、设备分级标准,并针对不同设备制定不同的数据流转策略
,具体规则请参见
[
数据、设备安全分级
](
../database/access-control-by-device-and-data-level.md
)
。
## 接口说明
...
...
zh-cn/website.md
浏览文件 @
0faf34a8
...
...
@@ -3,24 +3,18 @@
-
[
了解OpenHarmony开源项目
](
OpenHarmony-Overview_zh.md
)
-
[
术语
](
glossary.md
)
-
版本说明
-
[
OpenHarmony版本定义
](
release-notes/release-definitions/Release-version-definitions.md
)
-
OpenHarmony 3.x Releases
-
[
OpenHarmony v3.2 Release (2023-04-09)
](
release-notes/OpenHarmony-v3.2-release.md
)
-
[
OpenHarmony v3.2 Beta5 (2023-01-31)
](
release-notes/OpenHarmony-v3.2-beta5.md
)
-
[
OpenHarmony v3.2 Beta5 (2023-01-30)
](
release-notes/OpenHarmony-v3.2-beta5.md
)
-
[
OpenHarmony v3.2 Beta4 (2022-11-30)
](
release-notes/OpenHarmony-v3.2-beta4.md
)
-
[
OpenHarmony v3.2 Beta3 (2022-09-30)
](
release-notes/OpenHarmony-v3.2-beta3.md
)
-
[
OpenHarmony v3.2 Beta2 (2022-07-30)
](
release-notes/OpenHarmony-v3.2-beta2.md
)
-
[
OpenHarmony v3.2 Beta1 (2022-05-31)
](
release-notes/OpenHarmony-v3.2-beta1.md
)
-
OpenHarmony v3.1 Release (2022-03-30)及最新补丁版本OpenHarmony 3.1.4 Release (2022-11-03)
-
[
OpenHarmony v3.1 Release (2022-03-30)
](
release-notes/OpenHarmony-v3.1-release.md
)
-
[
OpenHarmony 3.1.4 Release (2022-11-03)
](
release-notes/OpenHarmony-v3.1.4-release.md
)
-
[
OpenHarmony v3.1 Release (2022-03-30)
](
release-notes/OpenHarmony-v3.1-release.md
)
-
[
OpenHarmony v3.1.3 Release (2022-09-30)
](
release-notes/OpenHarmony-v3.1.3-release.md
)
-
[
OpenHarmony v3.1.2 Release (2022-08-24)
](
release-notes/OpenHarmony-v3.1.2-release.md
)
-
[
OpenHarmony v3.1.1 Release (2022-05-31)
](
release-notes/OpenHarmony-v3.1.1-release.md
)
-
[
OpenHarmony v3.1 Beta (2021-12-31)
](
release-notes/OpenHarmony-v3.1-beta.md
)
-
OpenHarmony v3.0 LTS (2021-09-30)及最新补丁版本OpenHarmony v3.0.7 LTS (2022-12-05)
-
[
OpenHarmony v3.0 LTS (2021-09-30)
](
release-notes/OpenHarmony-v3.0-LTS.md
)
-
[
OpenHarmony v3.0.7 LTS (2022-12-05)
](
release-notes/OpenHarmony-v3.0.7-LTS.md
)
-
[
OpenHarmony v3.0 LTS (2021-09-30)
](
release-notes/OpenHarmony-v3.0-LTS.md
)
-
[
OpenHarmony v3.0.6 LTS (2022-09-15)
](
release-notes/OpenHarmony-v3.0.6-LTS.md
)
-
[
OpenHarmony v3.0.5 LTS (2022-07-01)
](
release-notes/OpenHarmony-v3.0.5-LTS.md
)
-
[
OpenHarmony v3.0.3 LTS (2022-04-08)
](
release-notes/OpenHarmony-v3.0.3-LTS.md
)
...
...
@@ -30,6 +24,7 @@
-
[
OpenHarmony v2.2 beta2 (2021-08-04)
](
release-notes/OpenHarmony-v2.2-beta2.md
)
-
[
OpenHarmony 2.0 Canary (2021-06-01)
](
release-notes/OpenHarmony-2-0-Canary.md
)
-
OpenHarmony 1.x Releases
-
[
OpenHarmony 1.0 (2020-09-10)
](
release-notes/OpenHarmony-1-0.md
)
-
[
OpenHarmony v1.1.5 LTS (2022-08-24)
](
release-notes/OpenHarmony-v1.1.5-LTS.md
)
-
[
OpenHarmony v1.1.4 LTS (2022-02-11)
](
release-notes/OpenHarmony-v1-1-4-LTS.md
)
...
...
@@ -37,121 +32,7 @@
-
[
OpenHarmony v1.1.2 LTS (2021-08-04)
](
release-notes/OpenHarmony-v1.1.2-LTS.md
)
-
[
OpenHarmony v1.1.1 LTS (2021-06-22)
](
release-notes/OpenHarmony-1-1-1-LTS.md
)
-
[
OpenHarmony v1.1.0 LTS (2021-04-01)
](
release-notes/OpenHarmony-1-1-0-LTS.md
)
-
API差异报告
-
OpenHarmony 3.2 Release (相比3.1 Release)
-
JS API差异报告
-
[
元能力
](
release-notes/api-diff/v3.2-Release/js-apidiff-ability.md
)
-
[
无障碍
](
release-notes/api-diff/v3.2-Release/js-apidiff-accessibility.md
)
-
[
帐号
](
release-notes/api-diff/v3.2-Release/js-apidiff-account.md
)
-
[
应用
](
release-notes/api-diff/v3.2-Release/js-apidiff-application.md
)
-
[
ArkUI
](
release-notes/api-diff/v3.2-Release/js-apidiff-arkui.md
)
-
[
电源服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-battery.md
)
-
[
包管理
](
release-notes/api-diff/v3.2-Release/js-apidiff-bundle.md
)
-
[
网络及通信
](
release-notes/api-diff/v3.2-Release/js-apidiff-communication.md
)
-
[
语言编译器运行时
](
release-notes/api-diff/v3.2-Release/js-apidiff-compiler-and-runtime.md
)
-
[
定制
](
release-notes/api-diff/v3.2-Release/js-apidiff-customization.md
)
-
[
DFX
](
release-notes/api-diff/v3.2-Release/js-apidiff-dfx.md
)
-
[
分布式数据
](
release-notes/api-diff/v3.2-Release/js-apidiff-distributed-data.md
)
-
[
分布式硬件
](
release-notes/api-diff/v3.2-Release/js-apidiff-distributed-hardware.md
)
-
[
文件管理
](
release-notes/api-diff/v3.2-Release/js-apidiff-file-management.md
)
-
[
位置服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-geolocation.md
)
-
[
全球化
](
release-notes/api-diff/v3.2-Release/js-apidiff-global.md
)
-
[
图形图像
](
release-notes/api-diff/v3.2-Release/js-apidiff-graphic.md
)
-
[
Misc软件
](
release-notes/api-diff/v3.2-Release/js-apidiff-misc.md
)
-
[
MSDP
](
release-notes/api-diff/v3.2-Release/js-apidiff-msdp.md
)
-
[
多模输入
](
release-notes/api-diff/v3.2-Release/js-apidiff-multi-modal-input.md
)
-
[
媒体服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-multimedia.md
)
-
[
事件与通知
](
release-notes/api-diff/v3.2-Release/js-apidiff-notification.md
)
-
[
资源调度
](
release-notes/api-diff/v3.2-Release/js-apidiff-resource-scheduler.md
)
-
[
安全
](
release-notes/api-diff/v3.2-Release/js-apidiff-security.md
)
-
[
泛Sensor
](
release-notes/api-diff/v3.2-Release/js-apidiff-sensor.md
)
-
[
启动
](
release-notes/api-diff/v3.2-Release/js-apidiff-start-up.md
)
-
[
电话服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-telephony.md
)
-
[
测试服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-unitest.md
)
-
[
升级
](
release-notes/api-diff/v3.2-Release/js-apidiff-update.md
)
-
[
USB服务
](
release-notes/api-diff/v3.2-Release/js-apidiff-usb.md
)
-
[
用户IAM
](
release-notes/api-diff/v3.2-Release/js-apidiff-user-iam.md
)
-
[
Web
](
release-notes/api-diff/v3.2-Release/js-apidiff-web.md
)
-
[
窗口
](
release-notes/api-diff/v3.2-Release/js-apidiff-window.md
)
-
OpenHarmony 3.2 Release (相比3.1 Beta5)
-
JS API差异报告
-
[
元能力
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-ability.md
)
-
[
帐号
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-account.md
)
-
[
应用
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-application.md
)
-
[
ArkUI
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-arkui.md
)
-
[
电源服务
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-battery.md
)
-
[
包管理
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-bundle.md
)
-
[
网络及通信
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-communication.md
)
-
[
语言编译器运行时
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-compiler-and-runtime.md
)
-
[
定制
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-customization.md
)
-
[
DFX
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-dfx.md
)
-
[
分布式数据
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-distributed-data.md
)
-
[
文件管理
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-file-management.md
)
-
[
Misc软件
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-misc.md
)
-
[
媒体服务
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-multimedia.md
)
-
[
事件与通知
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-notification.md
)
-
[
资源调度
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-resource-scheduler.md
)
-
[
安全
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-security.md
)
-
[
泛Sensor
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-sensor.md
)
-
[
启动
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-start-up.md
)
-
[
电话服务
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-telephony.md
)
-
[
测试服务
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-unitest.md
)
-
[
升级
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-update.md
)
-
[
USB服务
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-usb.md
)
-
[
用户IAM
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-user-iam.md
)
-
[
Web
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-web.md
)
-
[
窗口
](
release-notes/api-diff/Beta5%20to%20v3.2-Release/js-apidiff-window.md
)
-
OpenHarmony 3.2 Beta5
-
JS API差异报告
-
[
元能力
](
release-notes/api-diff/v3.2-beta5/js-apidiff-ability.md
)
-
[
帐号
](
release-notes/api-diff/v3.2-beta5/js-apidiff-account.md
)
-
[
应用
](
release-notes/api-diff/v3.2-beta5/js-apidiff-application.md
)
-
[
ArkUI
](
release-notes/api-diff/v3.2-beta5/js-apidiff-arkui.md
)
-
[
电源管理
](
release-notes/api-diff/v3.2-beta5/js-apidiff-battery.md
)
-
[
包管理
](
release-notes/api-diff/v3.2-beta5/js-apidiff-bundle.md
)
-
[
基础通信
](
release-notes/api-diff/v3.2-beta5/js-apidiff-communication.md
)
-
[
语言编译与运行时
](
release-notes/api-diff/v3.2-beta5/js-apidiff-compiler-and-runtime.md
)
-
[
分布式数据管理
](
release-notes/api-diff/v3.2-beta5/js-apidiff-distributed-data.md
)
-
[
文件管理
](
release-notes/api-diff/v3.2-beta5/js-apidiff-file-management.md
)
-
[
位置服务
](
release-notes/api-diff/v3.2-beta5/js-apidiff-geolocation.md
)
-
[
全球化
](
release-notes/api-diff/v3.2-beta5/js-apidiff-global.md
)
-
[
Misc软件
](
release-notes/api-diff/v3.2-beta5/js-apidiff-misc.md
)
-
[
多媒体
](
release-notes/api-diff/v3.2-beta5/js-apidiff-multimedia.md
)
-
[
事件通知
](
release-notes/api-diff/v3.2-beta5/js-apidiff-notification.md
)
-
[
资源调度
](
release-notes/api-diff/v3.2-beta5/js-apidiff-resource-scheduler.md
)
-
[
安全
](
release-notes/api-diff/v3.2-beta5/js-apidiff-security.md
)
-
[
启动
](
release-notes/api-diff/v3.2-beta5/js-apidiff-start-up.md
)
-
[
电话服务
](
release-notes/api-diff/v3.2-beta5/js-apidiff-telephony.md
)
-
[
测试
](
release-notes/api-diff/v3.2-beta5/js-apidiff-unitest.md
)
-
[
用户IAM
](
release-notes/api-diff/v3.2-beta5/js-apidiff-user-iam.md
)
-
[
Web
](
release-notes/api-diff/v3.2-beta5/js-apidiff-web.md
)
-
[
窗口
](
release-notes/api-diff/v3.2-beta5/js-apidiff-window.md
)
-
变更说明
-
[
元能力
](
release-notes/changelogs/v3.2-beta5/changelogs-ability.md
)
-
[
帐号
](
release-notes/changelogs/v3.2-beta5/changelogs-account_os_account.md
)
-
[
ArkUI
](
release-notes/changelogs/v3.2-beta5/changelogs-arkui.md
)
-
[
多媒体-相机
](
release-notes/changelogs/v3.2-beta5/changelogs-camera-sync.md
)
-
[
公共基础类库-容器
](
release-notes/changelogs/v3.2-beta5/changelogs-container.md
)
-
[
分布式数据管理
](
release-notes/changelogs/v3.2-beta5/changelogs-distributeddatamgr.md
)
-
[
文件管理
](
release-notes/changelogs/v3.2-beta5/changelogs-filemanagement.md
)
-
[
输入法框架
](
release-notes/changelogs/v3.2-beta5/changelogs-inputmethod-framworks.md
)
-
[
文件管理-媒体库
](
release-notes/changelogs/v3.2-beta5/changelogs-mediaLibrary.md
)
-
[
多媒体
](
release-notes/changelogs/v3.2-beta5/changelogs-multimedia.md
)
-
[
基础通信-NFC
](
release-notes/changelogs/v3.2-beta5/changelogs-nfc.md
)
-
[
事件通知
](
release-notes/changelogs/v3.2-beta5/changelogs-notification.md
)
-
位置服务
-
[
ohos.geoLocationManager
](
release-notes/changelogs/v3.2-beta5/changelogs-ohos-geoLocationManager.md
)
-
[
ohos.geolocation
](
release-notes/changelogs/v3.2-beta5/changelogs-ohos-geolocation.md
)
-
[
system.geolocation
](
release-notes/changelogs/v3.2-beta5/changelogs-system-geolocation.md
)
-
[
上传下载
](
release-notes/changelogs/v3.2-beta5/changelogs-request.md
)
-
[
资源调度
](
release-notes/changelogs/v3.2-beta5/changelogs-resourceschedule.md
)
-
[
安全
](
release-notes/changelogs/v3.2-beta5/changelogs-security.md
)
-
[
电话服务
](
release-notes/changelogs/v3.2-beta5/changelogs-telephony.md
)
-
[
时间服务
](
release-notes/changelogs/v3.2-beta5/changelogs-time.md
)
-
[
公共基础类库-URL
](
release-notes/changelogs/v3.2-beta5/changelogs-url.md
)
-
[
用户IAM
](
release-notes/changelogs/v3.2-beta5/changelogs-useriam.md
)
-
[
窗口
](
release-notes/changelogs/v3.2-beta5/changelogs-window.md
)
-
OpenHarmony 3.2 Beta4
-
JS API差异报告
-
[
元能力
](
release-notes/api-diff/v3.2-beta4/js-apidiff-ability.md
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录