在未修改的、不知道上下文的软件中引入上下文感知
Introducing Context Awareness in Unmodified, Context-unaware Software
摘要:
软件往往是高度可配置的,但大多数应用程序几乎没有上下文意识。例如,Web浏览器提供了许多设置来配置打印机和代理,但它无法动态地适应新的工作场所。在本文中,我们的目标是实证证明,通过动态和自动重新配置未修改的软件,我们可以系统地引入上下文感知。在包含5000万行代码的16个实际应用程序中,我们根据经验调查了2,683个运行时配置访问中的哪些(1)已经考虑了上下文,或者(2)可以在运行时进行操作。结果表明,上下文感知可以远远超出开发人员的最初意图。我们的工具Elektra动态拦截的运行时配置访问,并取代它们与上下文感知实现。用户只需要指定上下文并添加上下文传感器就可以利用这种潜力。
英文摘要:
Software tends to be highly configurable, but most applications are hardly context aware. For example, a web browser provides many settings to configure printers and proxies, but nevertheless it is unable to dynamically adapt to a new workplace. In this paper we aim to empirically demonstrate that by dynamic and automatic reconfiguration of unmodified software we can systematically introduce context awareness. In 16 real-world applications comprising 50 million lines of code we empirically investigate which of the 2,683 run-time configuration accesses (1) already take context into account, or (2) can be manipulated at run-time to do so. The results show that context awareness can be exploited far beyond the developers' initial intentions. Our tool Elektra dynamically intercepts the run-time configuration accesses and replaces them with a context aware implementation. Users only need to specify contexts and add context sensors to make use of this potential.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。