Spring Boot多智能体协作框架设计与实现

Journal: Advances in Computer and Autonomous Intelligence Research DOI: 10.32629/acair.v4i3.21371

侯志鑫, 周静, 崔方迪, 李一帆

中国电子科技集团公司第十五研究所

Abstract

针对企业级分布式系统于高并发情形下任务调度刻板、资源利用率起伏大等难点,提 出一种融入多智能体系统(MAS)理论的微服务协作方案。此方案基于Spring Boot的自动装配特性,搭建拥有自组织能力的管理Agent和执行Agent集群。在任务分 配方案上,舍弃传统的静态路由模式,设计出一种基于加权效用函数的动态竞拍方法 ,全面考量节点的实时负载状况、历史任务成功率以及网络延迟等多方面参数。实验 结果表明,此机制平均在45ms内完成任务判定,与传统Ribbon轮询方案相比,系统总体 吞吐量提高35%,并且在节点故障情形下显示出出色的自愈效能。

Keywords

Spring Boot;多智能体系统;任务调度;微服务;分布式协作

References

[1] WALLSC.Spring Boot实战[M].丁雪丰,译.北京:人民邮电出版社,2016:1-50.
[2] NEWMANS.微服务设计[M].陈立,译.北京:人民邮电出版社,2016:80-120.
[3] WOOLDRIDGE MJ,JENNINGS N R.Intelligent agents:concepts and applications[J].The Knowledge Engineering Review,1995,10(2):115-152.
[4] 郭锋.SpringBoot编程实战[M].北京:电子工业出版社,2019:30-80.
[5] 许进.SpringCloud微服务架构与实战[M].北京:清华大学出版社,2020:100-180.
[6] WOOLDRIDGE M.An Introduction to MultiAgent Systems[M].2nd ed.Chichester: John Wiley & Sons,2009:50-80.
[7] GERKEY B P,MATARIC M J.A formal analysis and taxonomy of task allocation in multi-robot systems[J].The International Journal of Robotics Research,2004,23(9):939-954.
[8] ONGARO D,OUSTERHOUT J.In search of an understandable consensus algorithm [C]//Proceedings of the 2014 USENIX Annual Technical Conference.Philadelphia:USENIX,2014:305-320.
[9] GRAYJ,LAMPORT L.Consensus on transaction commit[J].ACM Transactions on Database Systems,2006,31(1):133-160.
[10] FININ T,LABROU Y,MAYFIELD J.KQML serving as an agent communication language[M]//BRADSHAW J M.Software Agents.Cambridge:MIT Press,1997:291-316.

Copyright © 2026 侯志鑫, 周静, 崔方迪, 李一帆

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License