一种面向OpenHarmony的端侧语音识别优化系统
By introducing the ArkTS application interaction layer, N-API cross-language call layer, and Native inference execution layer architecture into the OpenHarmony terminal device, the problems of ABI compatibility, memory security, and real-time interaction are solved, and stable, real-time speech recognition results are achieved.
CN122135722BActive Publication Date: 2026-07-17KYLIN CORP
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KYLIN CORP
- Filing Date
- 2026-05-06
- Publication Date
- 2026-07-17
Smart Images

Figure CN122135722B_ABST
Abstract
本发明涉及一种面向OpenHarmony的端侧语音识别优化系统,其属于语音识别领域,系统包括双向信息交互的ArkTS应用交互层、N‑API跨语言调用层和Native推理执行层;ArkTS层按预设时间步长对实时录音进行切片并异步提交;N‑API层通过napi_wrap绑定实现资源自动释放,并通过显式申请独立缓冲区管理实现字符串安全传递;Native层通过强制统一浮点调用约定对齐二进制接口,接收增量音频切片执行上下文相关的增量推理并返回全量识别结果。本发明实现了OpenHarmony环境下本地语音识别的稳定运行和准实时交互体验。
Need to check novelty before this filing date? Find Prior Art