The evolution of the mobile landscape is coupled with the ubiquitous nature of the Internet with its intermittent wireless connectivity and the web services. Achieving the web service reliability results in low communication overhead and retrieving the appropriate response. The Middleware Approach (MA) is highly tended to achieve the web service reliability. This paper proposes a Reliable Service Architecture using Middleware (RSAM) that achieves the reliable web services consumption. The enhanced architecture focuses on ensuring and tracking the request execution under the communication limitations and service temporal unavailability. It considers the most measurement factors including: request size, response size, and consuming time. We conducted experiments to compare the enhanced architecture with the traditional one that has no additional overhead. In these experiments, we covered several cases to prove the achievement of reliability. Results also show that the request size was found to be constant, the response size is identical to the traditional architecture, and the increase in the consuming time was less than 5% of the transaction time with the different response sizes.
Web通信已成为移动应用程序不可或缺的特性。然而,目前尚不清楚这些应用程序传输了哪些数据,传输给了谁,以及这种传输会产生什么后果。我们从安全的角度分析了移动应用程序中的Web通信。我们首先手动研究了160个Android应用程序,以确定常用的通信库,并了解它们在这些应用程序中的使用方式。然后,我们开发了一个工具来静态识别应用程序中使用的Web API URL,并恢复JSON数据模式,包括每个参数的类型和值。我们提取了3,376个应用程序中使用的9,714个不同的Web API URL。我们发现开发人员经常使用java.net包进行网络通信,但是,许多应用程序中也使用了OkHttp等第三方库。我们发现,不安全的HTTP连接在闭源应用程序中的普遍程度是开源应用程序的七倍,并且嵌入式SQL和JavaScript代码在500多个不同的应用程序中用于Web通信。这一发现是毁灭性的;它使数十亿用户和API服务提供商容易受到攻击。