{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,7,30]],"date-time":"2025-07-30T15:05:11Z","timestamp":1753887911898,"version":"3.41.2"},"reference-count":21,"publisher":"Wiley","issue":"1","license":[{"start":{"date-parts":[[2021,2,18]],"date-time":"2021-02-18T00:00:00Z","timestamp":1613606400000},"content-version":"vor","delay-in-days":48,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["61772352"],"award-info":[{"award-number":["61772352"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["onlinelibrary.wiley.com"],"crossmark-restriction":true},"short-container-title":["Wireless Communications and Mobile Computing"],"published-print":{"date-parts":[[2021,1]]},"abstract":"<jats:p>Smart contracts are required to be instantiated in the predeployed stage, which consumes computation resources from then on. It is a big waste in the blockchain whose nodes are composed of IoT devices, as those devices often have limited resources (such as limited power supplies or a limited number of processes to run). Meanwhile, IoT devices are heterogeneous and different smart contracts are required. If those smart contracts are instantiated previously, numerous meaningless addresses are required. In this paper, we propose to delay the instantiation of a smart contract when used and terminate it when not used, which is similar to the life cycle of a variable. Then, a new kind of variable (the wrapping variable) is used to hide details of the instantiation and the address. The smart contract is instantiated in the construction function of the wrapping variable, or even it is delayed to the time when there are requests for it. The smart contract terminates when the variable is out of its scope. Then, different instantiation methods are proposed. Finally, we perform the qualitative comparison between the proposed approach and the predeployment method, and it demonstrates that the proposed methods optimize the life cycle of the smart contract and save calculation resources.<\/jats:p>","DOI":"10.1155\/2021\/6666236","type":"journal-article","created":{"date-parts":[[2021,2,19]],"date-time":"2021-02-19T01:36:29Z","timestamp":1613698589000},"update-policy":"https:\/\/doi.org\/10.1002\/crossmark_policy","source":"Crossref","is-referenced-by-count":5,"title":["To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT"],"prefix":"10.1155","volume":"2021","author":[{"given":"Hong","family":"Su","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0679-4601","authenticated-orcid":false,"given":"Bing","family":"Guo","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yan","family":"Shen","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zhen","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7193-9993","authenticated-orcid":false,"given":"Chaoxia","family":"Qin","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"311","published-online":{"date-parts":[[2021,2,18]]},"reference":[{"key":"e_1_2_8_1_2","doi-asserted-by":"publisher","DOI":"10.3390\/s20041207"},{"key":"e_1_2_8_2_2","doi-asserted-by":"publisher","DOI":"10.3390\/computers7030039"},{"key":"e_1_2_8_3_2","doi-asserted-by":"crossref","unstructured":"HuhS. ChoS. andKimS. Managing IoT devices using blockchain platform 2017 19th international conference on advanced communication technology (ICACT) 2017 Bongpyeong South Korea 464\u2013467.","DOI":"10.23919\/ICACT.2017.7890132"},{"key":"e_1_2_8_4_2","doi-asserted-by":"publisher","DOI":"10.1155\/2013\/502381"},{"key":"e_1_2_8_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/MCOM.2018.1700401"},{"key":"e_1_2_8_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSMC.2015.2503399"},{"key":"e_1_2_8_7_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSMC.2017.2698457"},{"key":"e_1_2_8_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/JIOT.2020.2996590"},{"key":"e_1_2_8_9_2","doi-asserted-by":"crossref","unstructured":"SuH. GuoB. ShenY. LiT. QingC. andZhangZ. A solution for state conflicts of smart contract in interaction with non-blockchain IEEE INFOCOM 2020-IEEE conference on computer communications workshops (INFOCOM WKSHPS) 2020 Toronto ON Canada Canada 382\u2013387.","DOI":"10.1109\/INFOCOMWKSHPS50562.2020.9162906"},{"key":"e_1_2_8_10_2","doi-asserted-by":"publisher","DOI":"10.3390\/info11110509"},{"key":"e_1_2_8_11_2","doi-asserted-by":"crossref","unstructured":"DestefanisG. MarchesiM. OrtuM. TonelliR. BraccialiA. andHieronsR. Smart contracts vulnerabilities: a call for blockchain software engineering? 2018 international workshop on Blockchain oriented software engineering (IWBOSE) 2018 Campobasso Italy 19\u201325.","DOI":"10.1109\/IWBOSE.2018.8327567"},{"key":"e_1_2_8_12_2","doi-asserted-by":"crossref","unstructured":"LiuY. LuQ. XuX. ZhuL. andYaoH. Applying design patterns in smart contracts International Conference on Blockchain 2018 Cham 92\u2013106.","DOI":"10.1007\/978-3-319-94478-4_7"},{"key":"e_1_2_8_13_2","doi-asserted-by":"crossref","unstructured":"ChenT. LiX. LuoX. andZhangX. Under-optimized smart contracts devour your money 2017 IEEE 24th international conference on software analysis evolution and reengineering (SANER) 2017 Klagenfurt Austria 442\u2013446.","DOI":"10.1109\/SANER.2017.7884650"},{"key":"e_1_2_8_14_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.future.2018.05.046"},{"key":"e_1_2_8_15_2","doi-asserted-by":"publisher","DOI":"10.1049\/iet-net.2016.0115"},{"key":"e_1_2_8_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-30859-9_2"},{"key":"e_1_2_8_17_2","doi-asserted-by":"publisher","DOI":"10.4236\/jsea.2016.910036"},{"key":"e_1_2_8_18_2","article-title":"A survey on the security of blockchain systems","volume":"107","author":"Li X.","year":"2017","journal-title":"Future Generation Computer Systems"},{"key":"e_1_2_8_19_2","doi-asserted-by":"crossref","unstructured":"KnechtM.andStillerB. SmartDEMAP: a smart contract deployment and management platform IFIP international conference on autonomous infrastructure management and security 2017 Cham 159\u2013164.","DOI":"10.1007\/978-3-319-60774-0_15"},{"key":"e_1_2_8_20_2","doi-asserted-by":"crossref","unstructured":"LiaoC. F. ChengC. J. ChenK. LaiC. H. ChiuT. andWu-LeeC. Toward a service platform for developing smart contracts on blockchain in BDD and TDD styles 2017 IEEE 10th Conference on Service-Oriented Computing and Applications (SOCA) 2017 Kanazawa Japan 133\u2013140.","DOI":"10.1109\/SOCA.2017.26"},{"key":"e_1_2_8_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11623-017-0819-7"}],"container-title":["Wireless Communications and Mobile Computing"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/downloads.hindawi.com\/journals\/wcmc\/2021\/6666236.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/downloads.hindawi.com\/journals\/wcmc\/2021\/6666236.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/pdf\/10.1155\/2021\/6666236","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,8,7]],"date-time":"2024-08-07T12:22:02Z","timestamp":1723033322000},"score":1,"resource":{"primary":{"URL":"https:\/\/onlinelibrary.wiley.com\/doi\/10.1155\/2021\/6666236"}},"subtitle":[],"editor":[{"given":"Hongju","family":"Cheng","sequence":"additional","affiliation":[],"role":[{"role":"editor","vocabulary":"crossref"}]}],"short-title":[],"issued":{"date-parts":[[2021,1]]},"references-count":21,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,1]]}},"alternative-id":["10.1155\/2021\/6666236"],"URL":"https:\/\/doi.org\/10.1155\/2021\/6666236","archive":["Portico"],"relation":{},"ISSN":["1530-8669","1530-8677"],"issn-type":[{"type":"print","value":"1530-8669"},{"type":"electronic","value":"1530-8677"}],"subject":[],"published":{"date-parts":[[2021,1]]},"assertion":[{"value":"2020-10-20","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-02-04","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-02-18","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}],"article-number":"6666236"}}