A Domain-Specific Approach to Architecturing Error Handling in Pervasive Computing

被引:7
作者
Mercadal, Julien [1 ,2 ]
Enard, Quentin [1 ,4 ]
Consel, Charles [1 ,2 ,3 ]
Loriant, Nicolas [1 ]
机构
[1] INRIA, Bordeaux, France
[2] LaBRI, Bordeaux, France
[3] ENSEIRB, Bordeaux, France
[4] Thales, Bordeaux, France
关键词
Design; Languages; Domain-Specific Languages; Architecture Description Languages; Exception; Pervasive Computing;
D O I
10.1145/1932682.1869465
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The challenging nature of error handling constantly escalates as a growing number of environments consists of networked devices and software components. In these environments, errors cover a uniquely large spectrum of situations related to each layer ranging from hardware to distributed platforms, to software components. Handling errors becomes a daunting task for programmers, whose outcome is unpredictable. Scaling up error handling requires to raise the level of abstraction beyond the code level and the try-catch construct, approaching error handling at the software architecture level. We propose a novel approach that relies on an Architecture Description Language (ADL), which is extended with error-handling declarations. To further raise the level of abstraction, our approach revolves around a domain-specific architectural pattern commonly used in pervasive computing. Error handling is decomposed into components dedicated to platform-wide, error-recovery strategies. At the application level, descriptions of functional components include declarations dedicated to error handling. We have implemented a compiler for an ADL extended with error-handling declarations. It produces customized programming frameworks that drive and support the programming of error handling. Our approach has been validated with a variety of applications for building automation.
引用
收藏
页码:47 / 61
页数:15
相关论文
共 31 条
[1]  
Agha G., 1986, ACTORS MODEL CONCURR
[2]  
Allen R., 1997, ACM Transactions on Software Engineering and Methodology, V6, P213, DOI 10.1145/258077.258078
[3]  
[Anonymous], 2009, Software architecture: foundations, theory, and practice
[4]  
BRUNEAU J, 2009, P 6 IEEE INT C MOB U
[5]  
Cacho Nelio., 2008, AOSD 08 P 7 INT C AS, P72
[6]  
CASSOU D, 2009, P 8 INT C GEN PROGR, P137, DOI DOI 10.1145/1621607.1621629
[7]   Specification of exception flow in software architectures [J].
Castor Filho, Fernando ;
Brito, Patrick Henrique da S. ;
Rubira, Cecilia Mary F. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2006, 79 (10) :1397-1418
[8]   Towards fault tolerant pervasive computing [J].
Chetan, S ;
Ranganathan, A ;
Campbell, R .
IEEE TECHNOLOGY AND SOCIETY MAGAZINE, 2005, 24 (01) :38-44
[9]  
Christensen E., 2001, WEB SERVICES DESCRIP
[10]  
DEDECKER J, 2006, P 20 EUR C OBJ OR PR, P230