应用科学学报 ›› 2023, Vol. 41 ›› Issue (1): 121-140.doi: 10.3969/j.issn.0255-8297.2023.01.010

• 计算机应用专辑 • 上一篇    下一篇

LSTM预测驱动的软件系统主动自适应方法

谢生龙1,2, 王璐2, 刘瑞佳2, 溥颖2, 刘潇2   

  1. 1. 延安大学 数学与计算机科学学院, 陕西 延安 716000;
    2. 西安电子科技大学 计算机科学与技术学院, 陕西 西安 710071
  • 收稿日期:2022-06-23 出版日期:2023-01-31 发布日期:2023-02-03
  • 通信作者: 谢生龙,博士生,讲师,研究方向为软件自适应、智能软件工程。E-mail:shlxie@yau.edu.cn E-mail:shlxie@yau.edu.cn
  • 基金资助:
    国家自然科学基金(No.62041212);陕西省自然科学基础研究计划项目基金(No.2023-JC-QN-0744);延安大学重点项目基金(No.YDZ2019-04)资助

Proactive Self-Adaptive Approach Driven by LSTM Prediction for Software System

XIE Shenglong1,2, WANG Lu2, LIU Ruijia2, PU Ying2, LIU Xiao2   

  1. 1. College of Mathematics and Computer Science, Yan'an University, Yan'an 716000, Shaanxi, China;
    2. School of Computer Science and Technology, Xidian University, Xi'an 710071, Shaanxi, China
  • Received:2022-06-23 Online:2023-01-31 Published:2023-02-03

摘要: 针对反应式自适应软件系统调整滞后的问题,提出了一种基于长短期记忆(long short-term memory,LSTM)网络预测驱动的主动自适应方法。该方法将LSTM神经网络预测技术嵌入监测-分析-决策-执行-知识控制模型的分析环节,利用自适应环境、质量及目标相关的运行数据和历史数据进行分类预测,形成自适应预警机制,在减小传统自适应决策滞后性影响的同时有效提高了软件系统的主动自适应能力。为了说明所提方法的主动性、鲁棒性、有效性,在经典的分布式远程辅助系统上对该方法进行实验评估。结果表明:该方法能够针对自适应需求提前预警,推动软件系统在必要时进行主动的自适应调整。

关键词: 软件自适应, 主动自适应, 预测驱动, 自适应预警

Abstract: Aiming at the adjustment lag problem of reactive self-adaptive software systems, a proactive self-adaptive approach based on long short-term memory (LSTM) prediction driven is proposed. In this approach, LSTM neural network prediction technology is embedded in the analysis phase of monitor-analyze-plan -execute-knowledge (MAPE-K) control model; Operating data relating to self-adaptive environments, self-adaptive qualities, and self-adaptive goals, and historical data are used for classification prediction to form a self-adaptive early warning mechanism, which can effectively improve the proactive selfadaptive ability of software systems and reduce the lag influence of reactive self-adaptive decision-making at the same time. In order to illustrate the initiative, robustness and effectiveness of this approach, evaluation on the classic distribution tele-assistance system (dTAS) platform is carried out. Experimental results show that the proposed approach can provide early warning to self-adaptive demand, and enable software systems to complete proactive self-adaptive adjustment when necessary.

Key words: software self-adaptation, proactive self-adaptation, prediction driven, selfadaptive early warning

中图分类号: