# OHIntership **Repository Path**: maxxzy/ohintership ## Basic Information - **Project Name**: OHIntership - **Description**: openHarmony account intership - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-26 - **Last Updated**: 2025-08-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OHIntership openHarmony 安全域账号实习 ## 前期学习输出 1. 代码走读 [CreateOsAccount](./CreateOsAccount.md) [RemoveOsAccount](./RemoveOsAccount.md) [AccountIAM](./AccountIAM.md) 2. 代码框架和IPC总结 [IPC学习总结](./PROXY.md) [代码走读后问题](./代码走读后问题.md) 3. 编译框架、代码结构、测试框架学习 添加接口实现加法操作,编写用例看护该接口 [编译框架、IPC、UT学习 · Pull Request !2966 · OpenHarmony/account_os_account - Gitee.com](https://gitee.com/openharmony/account_os_account/pulls/2966) ## 任务投入 ### 数据库代码解耦 账号底层的数据库有两套实现:分布式数据库和sqlite(手表) 两套代码逻辑基本相同,调用的数据类型不同,在代码中利用宏在编译时隔离 **任务**:将分布式数据库相关代码封装到接口类中,底层调用接口时一套实现 **输出**:[简单修改方案](./storage.md) 账号数据库类图 [DistributedKvStore 代码解耦 · Pull Request !2985 · OpenHarmony/account_os_account - Gitee.com](https://gitee.com/openharmony/account_os_account/pulls/2985) ### moveData死锁问题修复 在进行数据库代码解耦测试的过程中,发现moveData流程没有用例看护,进一步发现该流程存在死锁问题 [修复movedata死锁问题 · Pull Request !3029 · OpenHarmony/account_os_account - Gitee.com](https://gitee.com/openharmony/account_os_account/pulls/3029) ### 新增内部接口 新增GetUnlockedOsAccountLocalIds,查询系统账号unlocked用户 [query unlocked os account ids inner interface · Pull Request !3032 · OpenHarmony/account_os_account - Gitee.com](https://gitee.com/openharmony/account_os_account/pulls/3032) ### appAccount DFX 应用账号打点补充 [appAccount dfx · Pull Request !3038 · OpenHarmony/account_os_account - Gitee.com](https://gitee.com/openharmony/account_os_account/pulls/3038) ### 其他任务 参与代码仓安全检视、fuzz用例安全检视等