Framework of the distributed manager service (distributed scheduler) | 分布式任务调度执行框架
Files Last commit Last update update .gitee/PULL_REQUEST_TEMPLATE.zh-CN.md. Signed-off-by: oh_ci <maguangsheng1@huawei.com>
1 year ago 删除冗余依赖 Signed-off-by: m30043719 <maxiaodong25@huawei.com>
9 months ago Remove e2e sync in Init Signed-off-by: c30051536 <chenbin179@huawei.com>
10 months ago update readme Signed-off-by: ql <qianli16@huawei.com> Change-Id: I3208517e061ffd185aca333329a38aee804fc0ca
4 years ago !1809 merge master into master 删除冗余依赖 Created-by: maxiaodong2025 Commit-by: m30043719 Merged-by: openharmony_ci Description: **Issue编号**: https://gitcode.com/openharmony/ability_dmsfwk/issues/1344 **描述**: **安全及低级编码自检:** - [ ] 【变量初始化】变量使用前保证赋有效初值 - [ ] 【变量初始化】结构体预留字段也必须初始化为0,不允许出现随机值 - [ ] 【变量初始化】指针变量必须显示初始化为空 - [ ] 【内存和资源】涉及内存拷贝时合理校验目标内存大小,保证目标内存大于等于源内存 - [ ] 【内存和资源】进行字符串操作时,如字符串复制、申请字符串内存等,需要考虑字符串结束符 - [ ] 【内存和资源】cJSON指针在异常分支里均需考虑内存释放(cJSON_free/cJSON_Delete),防止内存泄漏 - [ ] 【内存和资源】内存资源、文件句柄、管道资源、Socket句柄异常退出时要及时关闭 - [ ] 【指针】malloc申请内存后必须判断是否为空 - [ ] 【指针】指针解引用或释放前判空(lamda表达式,异步任务等使用指针前需判空) - [ ] 【指针】内存释放后立即置空,防止出现UAF - [ ] 【指针】循环时容器的增、删、改操作,必须保证迭代器有效 - [ ] 【指针】禁止将栈内存地址作为返回值或赋值给全局变量 - [ ] 【数值边界】加法、乘法、减法操作,必须进行溢出和翻转保护,确保先校验再运算 - [ ] 【数值边界】除法、求余操作必须进行除零保护 - [ ] 【数值边界】循环变量用整型,禁止使用浮点型 - [ ] 【数值边界】循环退出条件一定确保可达,防止出现死循环等问题 - [ ] 【数值边界】不同大小结构体禁止强转 - [ ] 【安全隐私】禁止使用非安全函数,使用封装好的安全函数 - [ ] 【安全隐私】日志必须检查PassWord/位置信息/networkId/devId/uuid/udid等关键字,避免明文打印敏感信息 - [ ] 【入参及权限校验】对函数入参坚持先校验后使用的原则(指针判空、整型变量校验范围) - [ ] 【入参及权限校验】跨进程调用需注意权限校验,对外部传入的PID、tokenID进行权限校验 - [ ] 【条件竞争】共享数据均需加锁保护,并且锁配对使用 - [ ] 【条件竞争】条件变量正确加锁,消除条件变量唤醒丢失等问题 - [ ] 【条件竞争】加锁范围确保合理,避免过大或过小导致死锁问题 **TDD结果**: **XTS结果**: ### 是否已执行L0用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 See merge request: openharmony/ability_dmsfwk !1809 9 months ago xts Signed-off-by: byndyx <baiyanan2@huawei.com>
9 months ago 排查hdi Signed-off-by: konglingshuai <konglingshuai4@h-partners.com>
11 months ago wait connect ability timeout add Signed-off-by: wei-guoqing1 <weiguoqing2@h-partners.com>
9 months ago DMS权限加固 Signed-off-by: wei-guoqing1 <weiguoqing2@h-partners.com>
10 months ago update OpenHarmony 2.0 Canary
5 years ago !650 Fix the bug input error deviceId no catch error Merge pull request !650 from hunili/master 3 years ago 安全排查,修改文件权限为644 Signed-off-by: wangyang2022 <wangyang412@huawei.com> Change-Id: I3876cc573bd633ca77359be062c2852da601f3a3
4 years ago sync code to master Signed-off-by: majiajun <864428661@qq.com> Change-Id: I7593eafe27246f0e9bc7e038a3232c91029478a9
4 years ago updated Readme EN Signed-off-by: Gloria <wusongqing@huawei.com>
3 years ago modify md Signed-off-by: huangxiaolinabc123 <huangxiaolin12@huawei.com> Change-Id: I1c534d8551dfae9b34bfe9044821016b78dd05e8
4 years ago 优化链路复用逻辑 Signed-off-by: m30043719 <maxiaodong25@huawei.com>
9 months ago hdr2sdr Signed-off-by: byndyx <baiyanan2@huawei.com>
10 months ago update yaml Signed-off-by: qianli <qianli16@huawei.com> Change-Id: Ic8b6ad1a09bf318124e7c61a3b13b438253f737a
3 years ago
dmsfwk
Introduction
The Distributed Ability Manager Service Framework (dmsfwk) component is used for cross-device component management. It allows the local device to access and control remote components, and enables application collaboration in distributed scenarios. Major functions are as follows:
Remote ability startup: starts an ability on a remote device. Data can be returned when the Page ability ends.
Ability continuation: continues an ability on a remote device.
Remote ability binding: binds an ability on a remote device.
Remote call: obtains the caller interface of a remote ability to call the ability across devices.
System Architecture
Figure 1 Architecture of dmsfwk
Directory Structure
/foundation/ability
├── dmsfwk # dmsfwk
│ ├── bundle.json # Description and build script of dmsfwk
│ ├── etc # Configuration files
│ ├── interfaces # APIs exposed externally
│ ├── services # Service implementation
│ ├── sa_profile # SA-related configuration files
│ ├── utils # Utils
Repositories Involved
dmsfwk
ability_dmsfwk
ability_dmsfwk_lite
Framework of the distributed manager service (distributed scheduler) | 分布式任务调度执行框架
Customize your domain Report repository