SearcharxivSearch

arXiv subjects

Sea Ling

Publications and source records attributed to Sea Ling.

3 recordsLinked to original sources

Automatic Inference of Symbolic Permissions for Sequential Java Programs

In mainstream programming languages such as Java, a common way to enable concurrency is to manually introduce explicit concurrency constructs such as multi-threading. In multi-threaded programs, managing synchronization between threads is a complicated and challenging task for the programmers due to thread interleaving and heap interference that leads to problems such as deadlocks, data races. With these considerations in mind, access permission-based dependencies have been investigated as an alternative approach to verify the correctness of multi-threaded programs and to exploit the implicit concurrency present in sequential programs without using explicit concurrency constraints. However, significant annotation overhead can arise from manually adding permission-based specifications in a source program, diminishing the effectiveness of existing permission-based approaches. In this paper,we present a framework, Sip4J, to automatically extract access permission-based implicit dependencies from sequential Java programs, by performing inter-procedural static analysis of the source code. Moreover, we integrate and extend an existing permission-based verification tool, Pulse, to automatically verify correctness of the inferred specifications and to reason about their concurrent behaviors. Our evaluation on some widely-used benchmarks gives strong evidence of the correctness of the inferred annotations and their effectiveness in enabling concurrency in sequential programs.

cs.SE

Service Discovery and Trust in Mobile Social Network in Proximity

Service-oriented Mobile Social Network in Proximity (MSNP) lets participants establish new social interactions with strangers in public proximity using heterogeneous platforms and devices. Such characteristic faces challenges in discovery latency and trustworthiness. In a public service-oriented MSNP environment, which consists of a large number of participants, a content requester who searches for a particular service provided by other MSNP participants will need to retrieve and process a large number of Service Description Metadata (SDM) files, associated semantic metadata files and identifying the trustworthiness of the content providers. Performing such tasks on a resource constraint mobile device can be time consuming, and the overall discovery performance will be affected and will result in high latency. This paper analyses the service discovery models of MSNP and presents corresponding solutions to improve the service discovery performance of MSNP. We firstly present and analyse the basic service discovery models of service-oriented MSNP. To follow up, we apply a context-aware user preference prediction scheme to enhance the speed of the semantic service discovery process. Later, we address the trustworthiness issue in MSNP and propose a scheme to reduce the latency of the trustworthy service discovery for MSNP. The proposed scheme has been tested and evaluated on MSNP application prototype operating on real mobile devices and MSNP simulation environments.

cs.SI

Towards an Infrastructure-less SOA for Mobile Web Service Composition

Service composition enables customizable services to be provided to the service consumers. Since the capabilities and the performances of mobile devices (e.g., smart phone, PDA, handheld media player) have improved, a mobile device can be utilized to interact with external mobile service providers towards providing composite Web service to remote clients. Existing approaches on mobile-hosted service composition are usually platform dependent, and rely on centralized infrastructure. Such approaches are not feasible in an open, mobile infrastructure-less environment, in which networked services are implemented using different technologies, devices are capable of dynamically joining or leaving the network, and a centralized management entity is nonexistent. This paper proposes a solution to enable mobile Web service composition in an open, infrastructure-less environment based on loosely coupled SOA techniques.

cs.DC