To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT
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...
Gespeichert in:
Veröffentlicht in: | Wireless communications and mobile computing 2021, Vol.2021 (1) |
---|---|
Hauptverfasser: | , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | 1 |
container_start_page | |
container_title | Wireless communications and mobile computing |
container_volume | 2021 |
creator | Su, Hong Guo, Bing Shen, Yan Zhang, Zhen Qin, Chaoxia |
description | 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. |
doi_str_mv | 10.1155/2021/6666236 |
format | Article |
fullrecord | <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2494040992</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2494040992</sourcerecordid><originalsourceid>FETCH-LOGICAL-c337t-a4902b146b61a1b7660cf94561900f1b2ec839707e74b2c7f9f8a356134ff7bf3</originalsourceid><addsrcrecordid>eNp9kEtLAzEQgIMoWKs3f0DAo67Na5PmKGvVQqFg6zlkY4Jb1qQmqdJ_b8oWj85lBuZjHh8A1xjdY1zXE4IInvAShPITMMI1RdWUC3H6V3N5Di5S2iCEaIFHYLkO8NH2eg_nPmXtc6dzFzwMDmq4-tQxwyb4HLXJMAe40t8WNro3u37gXm0Ku2hsgp2H87C-BGdO98leHfMYvD3N1s1LtVg-z5uHRWUoFbnSTCLSYsZbjjVuBefIOMlqjiVCDrfEmimVAgkrWEuMcNJNNS1typwTraNjcDPM3cbwtbMpq025w5eVijDJEENSkkLdDZSJIaVondrGrjy1VxipgzJ1UKaOygp-O-AfnX_XP93_9C_OCWkQ</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2494040992</pqid></control><display><type>article</type><title>To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT</title><source>Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals</source><source>Wiley Online Library Open Access</source><source>Alma/SFX Local Collection</source><creator>Su, Hong ; Guo, Bing ; Shen, Yan ; Zhang, Zhen ; Qin, Chaoxia</creator><contributor>Cheng, Hongju ; Hongju Cheng</contributor><creatorcontrib>Su, Hong ; Guo, Bing ; Shen, Yan ; Zhang, Zhen ; Qin, Chaoxia ; Cheng, Hongju ; Hongju Cheng</creatorcontrib><description>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.</description><identifier>ISSN: 1530-8669</identifier><identifier>EISSN: 1530-8677</identifier><identifier>DOI: 10.1155/2021/6666236</identifier><language>eng</language><publisher>Oxford: Hindawi</publisher><subject>Algorithms ; Blockchain ; Contracts ; Cryptography ; Internet of Things ; Mathematical analysis ; Methods ; Variables</subject><ispartof>Wireless communications and mobile computing, 2021, Vol.2021 (1)</ispartof><rights>Copyright © 2021 Hong Su et al.</rights><rights>Copyright © 2021 Hong Su et al. This work is licensed under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c337t-a4902b146b61a1b7660cf94561900f1b2ec839707e74b2c7f9f8a356134ff7bf3</citedby><cites>FETCH-LOGICAL-c337t-a4902b146b61a1b7660cf94561900f1b2ec839707e74b2c7f9f8a356134ff7bf3</cites><orcidid>0000-0002-7193-9993 ; 0000-0002-0679-4601</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,777,781,4010,27904,27905,27906</link.rule.ids></links><search><contributor>Cheng, Hongju</contributor><contributor>Hongju Cheng</contributor><creatorcontrib>Su, Hong</creatorcontrib><creatorcontrib>Guo, Bing</creatorcontrib><creatorcontrib>Shen, Yan</creatorcontrib><creatorcontrib>Zhang, Zhen</creatorcontrib><creatorcontrib>Qin, Chaoxia</creatorcontrib><title>To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT</title><title>Wireless communications and mobile computing</title><description>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.</description><subject>Algorithms</subject><subject>Blockchain</subject><subject>Contracts</subject><subject>Cryptography</subject><subject>Internet of Things</subject><subject>Mathematical analysis</subject><subject>Methods</subject><subject>Variables</subject><issn>1530-8669</issn><issn>1530-8677</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>RHX</sourceid><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GNUQQ</sourceid><recordid>eNp9kEtLAzEQgIMoWKs3f0DAo67Na5PmKGvVQqFg6zlkY4Jb1qQmqdJ_b8oWj85lBuZjHh8A1xjdY1zXE4IInvAShPITMMI1RdWUC3H6V3N5Di5S2iCEaIFHYLkO8NH2eg_nPmXtc6dzFzwMDmq4-tQxwyb4HLXJMAe40t8WNro3u37gXm0Ku2hsgp2H87C-BGdO98leHfMYvD3N1s1LtVg-z5uHRWUoFbnSTCLSYsZbjjVuBefIOMlqjiVCDrfEmimVAgkrWEuMcNJNNS1typwTraNjcDPM3cbwtbMpq025w5eVijDJEENSkkLdDZSJIaVondrGrjy1VxipgzJ1UKaOygp-O-AfnX_XP93_9C_OCWkQ</recordid><startdate>2021</startdate><enddate>2021</enddate><creator>Su, Hong</creator><creator>Guo, Bing</creator><creator>Shen, Yan</creator><creator>Zhang, Zhen</creator><creator>Qin, Chaoxia</creator><general>Hindawi</general><general>Hindawi Limited</general><scope>RHU</scope><scope>RHW</scope><scope>RHX</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>7SP</scope><scope>7XB</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>GNUQQ</scope><scope>HCIFZ</scope><scope>JQ2</scope><scope>K7-</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>M0N</scope><scope>P5Z</scope><scope>P62</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>Q9U</scope><orcidid>https://orcid.org/0000-0002-7193-9993</orcidid><orcidid>https://orcid.org/0000-0002-0679-4601</orcidid></search><sort><creationdate>2021</creationdate><title>To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT</title><author>Su, Hong ; Guo, Bing ; Shen, Yan ; Zhang, Zhen ; Qin, Chaoxia</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c337t-a4902b146b61a1b7660cf94561900f1b2ec839707e74b2c7f9f8a356134ff7bf3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Algorithms</topic><topic>Blockchain</topic><topic>Contracts</topic><topic>Cryptography</topic><topic>Internet of Things</topic><topic>Mathematical analysis</topic><topic>Methods</topic><topic>Variables</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Su, Hong</creatorcontrib><creatorcontrib>Guo, Bing</creatorcontrib><creatorcontrib>Shen, Yan</creatorcontrib><creatorcontrib>Zhang, Zhen</creatorcontrib><creatorcontrib>Qin, Chaoxia</creatorcontrib><collection>Hindawi Publishing Complete</collection><collection>Hindawi Publishing Subscription Journals</collection><collection>Hindawi Publishing Open Access</collection><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Electronics & Communications Abstracts</collection><collection>ProQuest Central (purchase pre-March 2016)</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>Advanced Technologies & Aerospace Collection</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>ProQuest Central Student</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Computer Science Collection</collection><collection>Computer Science Database</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>Computing Database</collection><collection>Advanced Technologies & Aerospace Database</collection><collection>ProQuest Advanced Technologies & Aerospace Collection</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>ProQuest Central Basic</collection><jtitle>Wireless communications and mobile computing</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Su, Hong</au><au>Guo, Bing</au><au>Shen, Yan</au><au>Zhang, Zhen</au><au>Qin, Chaoxia</au><au>Cheng, Hongju</au><au>Hongju Cheng</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT</atitle><jtitle>Wireless communications and mobile computing</jtitle><date>2021</date><risdate>2021</risdate><volume>2021</volume><issue>1</issue><issn>1530-8669</issn><eissn>1530-8677</eissn><abstract>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.</abstract><cop>Oxford</cop><pub>Hindawi</pub><doi>10.1155/2021/6666236</doi><orcidid>https://orcid.org/0000-0002-7193-9993</orcidid><orcidid>https://orcid.org/0000-0002-0679-4601</orcidid><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 1530-8669 |
ispartof | Wireless communications and mobile computing, 2021, Vol.2021 (1) |
issn | 1530-8669 1530-8677 |
language | eng |
recordid | cdi_proquest_journals_2494040992 |
source | Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals; Wiley Online Library Open Access; Alma/SFX Local Collection |
subjects | Algorithms Blockchain Contracts Cryptography Internet of Things Mathematical analysis Methods Variables |
title | To Delay Instantiation of a Smart Contract to Save Calculation Resources in IoT |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-19T10%3A03%3A27IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=To%20Delay%20Instantiation%20of%20a%20Smart%20Contract%20to%20Save%20Calculation%20Resources%20in%20IoT&rft.jtitle=Wireless%20communications%20and%20mobile%20computing&rft.au=Su,%20Hong&rft.date=2021&rft.volume=2021&rft.issue=1&rft.issn=1530-8669&rft.eissn=1530-8677&rft_id=info:doi/10.1155/2021/6666236&rft_dat=%3Cproquest_cross%3E2494040992%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2494040992&rft_id=info:pmid/&rfr_iscdi=true |