Abstract
Verifying the soundness of Web service compositions is critical for ensuring reliable system behavior, especially under environmental constraints. This paper proposes a novel method using Open Petri Nets (OPN) and an area tree-based decomposition strategy. The resulting "Efficient Determination Algorithm" successfully transforms the verification process from an exponential complexity problem into one with linear time and space requirements, as demonstrated through experimental simulation.
Introduction
In modern distributed computing, Web service composition allows for complex task execution by combining individual services. However, these compositions often operate within "surrounding restraint" situations—environmental factors like network bandwidth or hardware limits. Ensuring "soundness"—the guarantee that a process can always reach its termination state without deadlocks—is mathematically challenging. Traditional reachability analysis suffers from the "state space explosion problem," where the number of possible states grows exponentially with the number of services, making large-scale verification impractical.
Methodology: Open Petri Nets and Area Trees
The researchers utilize Open Petri Nets (OPN) to formally model Web service areas (WA) and surrounding areas (SA). Unlike standard Petri Nets, OPNs include specific input and output "connectors" for inter-service communication.
The core innovation is the Soundness Efficient Determination Algorithm. Instead of a flat analysis of the entire system, the algorithm organizes components into a hierarchical "area tree." Soundness is verified recursively by checking the relationships between parent and child nodes in the tree. To make this practical, the authors developed the OPN Analysis System (Figure 1), a Java-based tool that imports service models and visualizes the OPN structure while checking for composability and soundness.
Experimental Results
The algorithm's performance was evaluated using synthetic test cases ranging from 1 to 20 service elements. The "Efficient Determination Algorithm" was compared against a "Normal Determination Algorithm" based on traditional reachability analysis.
As shown in Figure 2, the processing time for the traditional algorithm increases exponentially as the number of elements grows. In contrast, the proposed efficient algorithm maintains a linear growth pattern, significantly reducing the computational overhead for complex compositions. Similar linear trends were observed for space (memory) complexity, proving the algorithm's scalability for large-scale service environments where traditional methods would fail.
Conclusion
By modeling environmental constraints through OPN and utilizing a hierarchical verification strategy, this research provides a scalable solution to the soundness problem in Web service composition. While current implementation requires manual modeling of services, future work aims to automate this process and integrate the algorithm directly into commercial Web protocols.
Reference: Lu, Y., & Gao, X. (2013). Soundness Efficient Determination Algorithm of Services Composition in Surrounding Restraint Situation Based on OPN. ICCSEE 2013.
Summary updated