<listing id="l9bhj"><var id="l9bhj"></var></listing>
<var id="l9bhj"><strike id="l9bhj"></strike></var>
<menuitem id="l9bhj"></menuitem>
<cite id="l9bhj"><strike id="l9bhj"></strike></cite>
<cite id="l9bhj"><strike id="l9bhj"></strike></cite>
<var id="l9bhj"></var><cite id="l9bhj"><video id="l9bhj"></video></cite>
<menuitem id="l9bhj"></menuitem>
<cite id="l9bhj"><strike id="l9bhj"><listing id="l9bhj"></listing></strike></cite><cite id="l9bhj"><span id="l9bhj"><menuitem id="l9bhj"></menuitem></span></cite>
<var id="l9bhj"></var>
<var id="l9bhj"></var>
<var id="l9bhj"></var>
<var id="l9bhj"><strike id="l9bhj"></strike></var>
<ins id="l9bhj"><span id="l9bhj"></span></ins>
Volume 45 Issue 3
Mar.  2023
Turn off MathJax
Article Contents
WANG Sheng-dian, CHEN E, ZHU Yan, LIN Ying-chun, LIU Guo-wei. A software service transaction approach based on blockchain smart contracts[J]. Chinese Journal of Engineering, 2023, 45(3): 475-488. doi: 10.13374/j.issn2095-9389.2021.11.25.009
Citation: WANG Sheng-dian, CHEN E, ZHU Yan, LIN Ying-chun, LIU Guo-wei. A software service transaction approach based on blockchain smart contracts[J]. Chinese Journal of Engineering, 2023, 45(3): 475-488. doi: 10.13374/j.issn2095-9389.2021.11.25.009

A software service transaction approach based on blockchain smart contracts

doi: 10.13374/j.issn2095-9389.2021.11.25.009
More Information
  • Corresponding author: E-mail: chene@ustb.edu.cn
  • Received Date: 2021-11-25
    Available Online: 2022-02-10
  • Publish Date: 2023-03-01
  • With software service transactions shifting from pay-before-use to pay-as-you-go, the Software as a Service (SaaS) subscription model is facing legalization and financialization challenges. This means that it does not accept financial payment on a pay-as-you-go basis, nor does it legally regulate the rights and obligations of service providers, consumers, and platforms. To address these issues, this paper introduces a new architecture called Smart Legal Contract (SLC), which is integrated into a service computing platform (SaaSC). To begin with, a contract-type service interface scheme is intended to handle the subscription process of service registration and publication on SaaS. In this scheme, we define six types of interactions, four kinds of microservice states, and their state transition procedures, and then establish the mapping from the general service interface following the OpenAPI Specification to the contract terms in the SLC-style SPESC language. To achieve a regularized interaction approach during service registration, a new term, called Service Registration Term (SRT), is proposed. Furthermore, the legal Negotiation-Acceptance mechanism is used to grant consumer rights to obtain software services. Second, in the process of service discovery and consumption, a payment mechanism for contracting demand is proposed. Specifically, based on the service matching approach with a three-level cache, other new terms, called Service Discovery Term (SDT) and Service Customization Term (SCT), are designed to specify the requests and responses of service discovery and invocation. A billing model driven by SRT, SDT, and SCT has been developed to implement fine-grained charging on the level of service interface calls and to evidence the preservation of service transactions in the blockchain. As a result, it provides a legal guarantee for the use of pay-as-you-go mode. From the aspect of service legalization, the SaaS+SaaSC architecture supports establishing three kinds of terms, including service registration, discovery, and customization terms, in an SLC-based software subscription contract so that a complete transaction procedure can be regulated among the three above parties based on their interactions, service states, and their transition process. In terms of service financialization, the interface declaration is appended to the SLC-based contract. By automatically executing smart contracts and checking the terms, the pay-as-you-go mode is implemented through fine-grained charging every time when calling the service interface. Furthermore, we take the weather forecast service as an example to implement and analyze the acquisition, delivery, and contractual payment of software services on blockchain smart contracts. The experimental results demonstrate the feasibility and effectiveness of the proposed SaaS+SaaSC architecture, which should be a practicable approach for contracting of software services.

     

  • loading
  • [1]
    Varghese B, Buyya R. Next generation cloud computing: New trends and research directions. Future Gener Comput Syst, 2018, 79: 849 doi: 10.1016/j.future.2017.09.020
    [2]
    Bibi S, Katsaros D, Bozanis P. Business application acquisition: On-premise or SaaS-based solutions? IEEE Softw, 2012, 29(3): 86
    [3]
    柴振國. 區塊鏈下智能合約的合同法思考. 廣東社會科學, 2019(4):236 doi: 10.3969/j.issn.1000-114X.2019.04.024

    Chai Z G. Thoughts on contract law of smart contracts under blockchain. Soc Sci Guangdong, 2019(4): 236 doi: 10.3969/j.issn.1000-114X.2019.04.024
    [4]
    李瑞雪. 智能合約在金融領域的應用及其治理研究. 蘭州學刊, 2020(6):85 doi: 10.3969/j.issn.1005-3492.2020.06.009

    Li R X. Research on the application and governance of smart contract in financial field. Lanzhou Acad J, 2020(6): 85 doi: 10.3969/j.issn.1005-3492.2020.06.009
    [5]
    Raskin M. The law and legality of smart contracts. 1 Georgetown Law Technology Review, 2017, 1(2): 305
    [6]
    王迪, 朱巖, 陳娥, 等. 智能法律合約及其研究進展. 工程科學學報, 2022, 44(1):68 doi: 10.3321/j.issn.1001-053X.2022.1.bjkjdxxb202201007

    Wang D, Zhu Y, Chen E, et al. Smart legal contract and its research progress. Chin J Eng, 2022, 44(1): 68 doi: 10.3321/j.issn.1001-053X.2022.1.bjkjdxxb202201007
    [7]
    中國電子學會. T/CIE 159-2020區塊鏈智能合約形式化表達. 北京: 中國標準出版社, 2021

    Chinese Institute of Electronics, People’s Republic of China. T/CIE 159—2020 Formal Expression of Blockchain Smart Contract. Beijing: Standards Press of China, 2021
    [8]
    Jamshidi P, Pahl C, Mendon?a N C, et al. Microservices: The journey so far and challenges ahead. IEEE Softw, 2018, 35(3): 24 doi: 10.1109/MS.2018.2141039
    [9]
    Taibi D, Spillner J, Wawruch K. Serverless computing-where are we now, and where are we heading? IEEE Softw, 2021, 38(1): 25
    [10]
    朱巖, 王巧石, 秦博涵, 等. 區塊鏈技術及其研究進展. 工程科學學報, 2019, 41(11):1361

    Zhu Y, Wang Q S, Qin B H, et al. Survey of blockchain technology and its advances. Chin J Eng, 2019, 41(11): 1361
    [11]
    卿斯漢. 電子商務協議中的可信第三方角色. 軟件學報, 2003, 14(11):1936 doi: 10.13328/j.cnki.jos.2003.11.017

    Qing S H. TTP roles in electronic commerce protocols. J Softw, 2003, 14(11): 1936 doi: 10.13328/j.cnki.jos.2003.11.017
    [12]
    Das D, Sahoo L, Datta S. A survey on recommendation system. Int J Comput Appl, 2017, 160(7): 6
    [13]
    Clack C D. Smart Contract Templates: Legal semantics and code validation. J Digit Bank, 2018, 2(4): 338
    [14]
    Grigg I. The ricardian contract // Proceedings of First IEEE International Workshop on Electronic Contracting. San Diego, 2004: 25
    [15]
    Hendriksen E S, van Breda M F. Accounting Theory [M/OL]. ACADEMIA (1991) [2021-11-25].https://www.academia.edu/36746420/Accounting_Theory_Eldon_Hendriksen
    [16]
    Cao H Y, Falleri J R, Blanc X. Automated generation of REST API specification from plain HTML documentation // International Conference on Service-Oriented Computing. Malaga, 2017: 453
    [17]
    陳吉棟. 智能合約的法律構造. 東方法學, 2019(3):18 doi: 10.3969/j.issn.1007-1466.2019.03.002

    Chen J D. The legal structure of smart contract. Orient Law, 2019(3): 18 doi: 10.3969/j.issn.1007-1466.2019.03.002
    [18]
    朱巖, 秦博涵, 陳娥, 等. 一種高級智能合約轉化方法及競買合約設計與實現. 計算機學報, 2021, 44(3):652 doi: 10.11897/SP.J.1016.2021.00652

    Zhu Y, Qin B H, Chen E, et al. An advanced smart contract conversion and its design and implementation for auction contract. Chin J Comput, 2021, 44(3): 652 doi: 10.11897/SP.J.1016.2021.00652
  • 加載中

Catalog

    通訊作者: 陳斌, bchen63@163.com
    • 1. 

      沈陽化工大學材料科學與工程學院 沈陽 110142

    1. 本站搜索
    2. 百度學術搜索
    3. 萬方數據庫搜索
    4. CNKI搜索

    Figures(12)  / Tables(4)

    Article views (684) PDF downloads(78) Cited by()
    Proportional views
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return
    久色视频