首页> 外文会议>25th annual ACM conference on object oriented programming, systems, languages and applications 2010 >A Domain-Specific Approach to Architecturing Error Handling in Pervasive Computing
【24h】

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

机译:在普适计算中构造错误处理的领域特定方法

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:随着越来越多的环境由网络设备和软件组件组成,错误处理的挑战性不断升级。在这些环境中,错误涵盖了与从硬件到分布式平台再到软件组件的每一层有关的独特的大范围情况。对于程序员而言,处理错误成为一项艰巨的任务,其结果是不可预测的。扩大错误处理范围需要将抽象级别提高到代码级别和try-catch构造之外,并在软件体系结构级别实现错误处理。我们提出了一种新颖的方法,该方法依赖于体系结构描述语言(ADL),该体系结构通过错误处理声明进行了扩展。为了进一步提高抽象水平,我们的方法围绕普适计算中通常使用的特定于领域的架构模式展开。错误处理被分解为专门用于平台范围的错误恢复策略的组件。在应用程序级别,功能组件的描述包括专用于错误处理的声明。我们为带有错误处理声明的ADL实现了编译器。它产生定制的编程框架,以驱动并支持错误处理的编程。我们的方法已通过各种楼宇自动化应用程序的验证。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号