开源社区AI智能化运维探索OA
Exploration of AI Intelligent Operation and Maintenance in Open Source Community
[目的]本文旨在构建并验证一套面向OpenHarmony开源社区的AI智能化运维体系,以应对日益激增的代码提交与多模态运维需求,提升代码编译与静态检查的定位-修复效率.[方法]系统采用Qwen大语言模型,融合对抗性协作检索增强(AC RAG)与思维链微调(RA CoT)策略;通过流水线日志多模态采集-清洗-标注构建训练数据,辅以增量预训练与LoRA微调实现领域适配,并在DevOps流程中嵌入AI助手提供实时问答与修复建议.[结果]线上部署表明,该体系显著缩短了问题定位-修复周期,减少了大量人工介入;在保持代码质量的同时,大幅提升社区协作效率,每年可为社区节约数百人月的运维成本.
[Objective]This study proposes and validates an LLM-driven intelligent Operations-and-Main-tenance(O&M)framework for the OpenHarmony open-source community,designed to man-age the surge in code submissions and multimodal maintenance demands and to accelerate fault localization and resolution during the compilation and static-analysis stages.[Methods]The framework combines Qwen LLMs with an Adversarial-Collaboration Retrieval Augmentation(AC-RAG)pipeline and Retrieval-Augmented Chain-of-Thought(RA-CoT)fine-tuning.Curat-ed multimodal logs support incremental pre-training and LoRA adaptation for domain align-ment,while a built-in AI assistant provides real-time Q&A and automated fixes within DevOps.[Results]Online deployment indicates that the framework substantially shortens the diagnosis-and-repair cycle while significantly reducing extensive manual intervention.It enhances collab-orative efficiency,preserves code quality,and ultimately saves the community several hundred person-months of O&M effort annually.
任旭东;孟广浩;张乐天;齐宝玮;王意明
华为技术有限公司开源与开发者发展部,广东 深圳 518129||清华大学深圳国际研究生院,广东 深圳 518055清华大学深圳国际研究生院,广东 深圳 518055清华大学深圳国际研究生院,广东 深圳 518055华为技术有限公司开源与开发者发展部,广东 深圳 518129华为技术有限公司开源与开发者发展部,广东 深圳 518129
OpenHarmony开源社区大模型AI智能化
openHarmonyopen source communitylarge language modelartificial intelligence
《数据与计算发展前沿》 2026 (2)
141-153,13
评论