提高移动应用的可靠性
Improving the Reliability of Mobility Applications
摘要:
Android平台是Google在2008年推出的,作为移动设备的操作系统。Android的SDK为编程提供了广泛的支持,并提供了大量的示例和文档。可靠性是智能电话应用程序越来越关注的问题,因为它们通常具有个人信息和数据。因此,需要用于检查应用程序的正确行为的技术和工具。本文展示了如何使用Event-B方法来推理和验证Android应用程序的设计,以及如何使用该方法来记录实现决策。我们的方法包括在事件B中建模的应用程序的核心功能,并使用所产生的证据证明义务的原因的设计和实现的app. Although我们没有提出一种新颖的方法,我们证明,重量级的形式化方法(FM)技术与事件B可以有效地用于支持正确的Android应用程序的开发。我们提出了一个案例研究,其中我们在Event-B中设计了WhatsApp的核心功能,我们将其编码为三个机器改进模型的基本功能(聊天,删除内容,转发内容,删除聊天会话等),聊天会话的已读和未读状态,以及实现细节。我们报告和讨论的核心功能的设计和实施的基本挑战。
英文摘要:
The Android platform was introduced by Google in 2008 as an operating system for mobile devices. Android's SDK provides a wide support for programming and extensive examples and documentation. Reliability is an increasing concern for Smart Phone applications since they often feature personal information and data. Therefore, techniques and tools for checking the correct behavior of apps are required. This paper shows how the Event-B method can be used to reason and to verify the design of Android apps and how this can be used to document implementation decisions. Our approach consists in modeling the core functionality of the app in Event-B and using the evidence shown by the Proof Obligations generated to reason about the design and the implementation of the app. Although we do not propose a novel approach, we prove that heavyweight Formal Methods (FMs) techniques with Event-B can effectively be used to support the development of correct Android apps. We present a case study in which we design the core functionality of WhatsApp in Event-B, we encode it over three machine refinements modeling basic functionality (chatting, deleting content, forwarding content, deleting a chat session, etc.), read and unread status of chat sessions, and implementation details, respectively. We report and discuss on underlying challenges in the design and implementation of the core functionality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。