Page 39 - 《软件学报》2021年第7期
P. 39
软件学报 ISSN 1000-9825, CODEN RUXUEW E-mail: jos@iscas.ac.cn
Journal of Software,2021,32(7):19571977 [doi: 10.13328/j.cnki.jos.006259] http://www.jos.org.cn
©中国科学院软件研究所版权所有. Tel: +86-10-62562563
一种基于分层适应逻辑的自适应系统实现框架
1,2
1,2
1,2
1,2
李念语 , 陈正胤 , 刘 坤 , 焦文品
1
(北京大学 信息科学技术学院 计算机科学与技术系,北京 100871)
2
(高可信软件技术教育部重点实验室(北京大学),北京 100871)
通讯作者: 焦文品, E-mail: jwp@pku.edu.cn
摘 要: 自适应系统由于其能够自主地适应具有非确定性的部署环境,并持续地保持用户的满意度,受到了广泛
的关注.然而,目前仍然存在未解决的挑战,例如如何在新的部署环境下,或者在开放且复杂的环境下,使得系统仍然
能满足自适应性.因此,为自适应系统的设计引入了一个新的概念模型,受归因理论启发,该模型被设计成内归因和
外归因两层结构.内归因层决定了内因如何影响自适应行为,这一层与部署环境解耦,可以独立设计且可以复用在不
同的部署环境中.外归因层映射了外因与内因的关系,这一层在不同的部署环境中可以被替换.基于两层结构的实现
框架,具有设计且实现自适应系统的适用性,以及内因层适应逻辑的可复用性,通过两个案例,一个是被广泛使用的
电子商务网络应用,一个是需要躲避障碍物且避免滑倒和翻转的机器人系统,来进行评估.
关键词: 自适应软件系统;归因理论;可复用性;环境非确定性
中图法分类号: TP311
中文引用格式: 李念语,陈正胤,刘坤,焦文品.一种基于分层适应逻辑的自适应系统实现框架.软件学报,2021,32(7):
1957–1977. http://www.jos.org.cn/1000-9825/6259.htm
英文引用格式: Li NY, Chen ZY, Liu K, Jiao WP. Internal-external two-layer framework for constructing self-adaptive systems.
Ruan Jian Xue Bao/Journal of Software, 2021,32(7):19571977 (in Chinese). http://www.jos.org.cn/1000-9825/6259.htm
Internal-external Two-layer Framework for Constructing Self-adaptive Systems
1,2
1,2
1,2
1,2
LI Nian-Yu , CHEN Zheng-Yin , LIU Kun , JIAO Wen-Pin
1 (Department of Computer Science and Technology, School of Electronics Engineering and Computer Science, Peking University, Beijing
100871, China)
2 (Key Laboratory of High Confidence Software Technologies of Ministry of Education (Peking University), Beijing 100871, China)
Abstract: The development of self-adaptive systems has attracted much attention as they can adapt themselves autonomously to
environmental dynamics and maintain user satisfaction. However, there are still tremendous challenges remained. One major challenge is
to guarantee the reusability of the system and extend the adaptability with changing deployment environments, or open and complex
environments with the existence of unknown. To solve these problems, a conceptual self-adaptive model is introduced, decoupling the
environment with the system. This model is a two-layer structure based on internal causes and external causes from the attribution theory.
The first layer, determining how the internal causes affect the adaptation behaviors, is independently designed and reusable whiles the
second layer, mapping the relationship between external causes with internal causes, is replaceable and dynamically bound to different
deployment environments. The proposed approach is evaluated by two case studies, a widely used benchmark e-commerce Web
application and a destination-oriented robot system with obstacle and turnover avoidance, to demonstrate its applicability and reusability.
基金项目: 国家重点基础研究发展计划(973)(2016YFB000105, 2015CB352200); 国家自然科学基金(61620106007)
Foundation item: National Basic Research Program of China (973) (2016YFB000105, 2015CB352200); National Natural Science
Foundation of China (61620106007)
本文由“面向非确定性的软件质量保障方法与技术”专题特约编辑陈俊洁副教授、汤恩义副教授、何啸副教授以及马晓星教授
推荐.
收稿时间: 2020-09-05; 修改时间: 2020-10-26; 采用时间: 2020-12-14; jos 在线出版时间: 2021-01-22