• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

Algebraic specifications of service composition

CHEN Ying1,LIU Dongmei1,ZHU Hong2,LAN Bin1,HE Juanjuan1   

  1. (1.School of Computer Science and Engineering,Nanjing University of Science and Technology,Nanjing 210094,China;
    2.Department of Computing and Communication Technologies,Oxford Brookes University,Oxford OX33 1HX,UK)
  • Received:2017-10-11 Revised:2017-12-17 Online:2018-06-25 Published:2018-06-25

Abstract:

Existing methods for the specification and description of service compositions cannot ensure the correctness of the compositions to be verified and tested. Addressing this problem, we propose an algebraic specification method. A package facility is introduced into the serviceoriented formal specification language SOFIA to support the method. In this approach, various types of entities in a serviceoriented system are specified by a collection of algebraic specification units, and each specifies one type of entities in the system. When multiple services are composited together, based on the algebraic protocol package of these services, on the one hand, the interaction process and semantics of the composite service are abstractly defined so as to form the implementation specification that describes the implementation mode of the service composition. And on the other hand, the external interface and functional semantics of the composite service are abstractly defined so as to form the abstract specification that describes the requirements of the service composition. Based on the dual structure of the implementation specification and the abstract specification, the “implementation” relationship that must be satisfied between the implementation specification and the abstract specification is further defined, and it is proved that satisfying the “implementation” relationship can ensure the correctness of the implementation, thus laying the theoretical foundation of verification and testability of service composition. Finally, a case study demonstrates the abstractness, expressibility and verifiability of using algebraic specification to describe service composition.
 

Key words: web service, service composition, algebraic specification;formal method