diff --git a/README.md b/README.md index 79441b64fc662a3fcca4d47f20400518f379c055..4752a41df05c7b32fb0530647fa9e5c6b1542d59 100644 --- a/README.md +++ b/README.md @@ -11,19 +11,19 @@ ## Introduction -In the resource scheduling subsystem, the work scheduler component provides a mechanism for applications to perform tasks that require low real-time performance. When the set conditions are met, it will be put into the executable queue, and the system will delay triggering tasks in the executable queue according to the equipment situation. +When an application needs to perform tasks that do not require high real-time performance, such as data learning when the device is idle, the work scheduler can be used. When the application setting conditions are met, the mechanism will uniformly decide the scheduling time according to the current state of the system, such as memory, power consumption, heat, etc. ## Directory Structure ``` -├── frameworks # Frameworks +├── frameworks # Frameworks ├── interfaces │ ├── innerkits # Internal APIs │ └── kits # External APIs -├── sa_profile # SA profile -├── services # Services -└── utils # Utilities +├── sa_profile # SA profile +├── services # Services +└── utils # Utilities ``` ## Work Scheduler diff --git a/README.cn.md b/README.zn.md similarity index 74% rename from README.cn.md rename to README.zn.md index 53f4712fe8ac8962fc7259abab2828d24b598431..cf05e636fc13e8707ef4e8f47acfe3d9c103987d 100644 --- a/README.cn.md +++ b/README.zn.md @@ -11,19 +11,19 @@ ## 简介 -在资源调度子系统中,延迟任务调度部件,给应用提供了一个机制,用以执行对实时性要求低的任务。当满足设定条件时,会被放入可执行队列,系统根据设备情况,延迟触发可执行队列内的任务。 +在资源调度子系统中,延迟任务调度部件给应用提供一个可以执行实时性不高的任务的机制。当满足设定条件时,会被放入可执行队列,系统根据设备情况,延迟触发可执行队列内的任务。 ## 目录 ``` -├── frameworks # 接口实现 +├── frameworks # 接口实现 ├── interfaces │ ├── innerkits # 对内接口目录 │ └── kits # 对外接口目录 -├── sa_profile # 组件服务配置 -├── services # 组件服务实现 -└── utils # 组件工具实现 +├── sa_profile # 组件服务配置 +├── services # 组件服务实现 +└── utils # 组件工具实现 ``` ## 延迟任务调度 @@ -43,7 +43,7 @@ function isLastWorkTimeOut(workId: number, callback: AsyncCallback): boole function isLastWorkTimeOut(workId: number): Promise;| 获取上次任务是否超时(Promise形式) ### 使用说明 -应用要执行实时性不高的任务的时,可以使用延迟调度任务,该机制在满足应用设定条件的时候,会根据系统当前的状态,如内存、功耗、热等统一决策调度时间。 +应用要执行对实时性要求不高的任务的时候,比如设备空闲时候做一次数据学习等场景,可以使用延迟调度任务,该机制在满足应用设定条件的时候,会根据系统当前状态,如内存、功耗、热等统一决策调度时间。 #### 延迟调度任务使用约束