{"title":"TransOra:用于混合智能合约的许可区块链上的事务保存和透明分布式Oracle","authors":"Tianjian Yang, Qiao Sun, Feng Chen","doi":"10.1109/cniot55862.2022.00010","DOIUrl":null,"url":null,"abstract":"Hybrid transaction in blockchain enlarges the application domain of smart contracts by enabling off-chain data access. In support of the hybrid transaction, blockchain oracle is an indispensable middleware responsible for receiving data-request tasks and pushing the result back to chain. Though solutions supporting hybrid transactions do exist, they are less featured or applicable for both contract and application developers. On one hand, the racing-condition among several concurrent hybrid transactions should be manually resolved by contract developers. On the other hand, application developers have to associate each individual task with its parent hybrid transaction in order to obtain the result. In this paper, a novel block-chain oracle platform with a set of simple but unified API for both hybrid and traditional transactions is proposed. Firstly, we design and implement a transactional storage layer and a transaction scheduler for transaction preservation and ordering. Secondly, with the help of an automatic result tracing mechanism, application developers are able to acquire transaction results transparently without awareness of oracles and underlying task execution. Experiments are conducted on one of current prevalent permissioned blockchain platforms, RepChain, and the result shows that all of the system design goals are fulfilled with merely an acceptable loss of performance.","PeriodicalId":251734,"journal":{"name":"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)","volume":"26 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"TransOra: A Transaction-preserving and Transparent Distributed Oracle on Permissioned Blockchain For Hybrid Smart Contracts\",\"authors\":\"Tianjian Yang, Qiao Sun, Feng Chen\",\"doi\":\"10.1109/cniot55862.2022.00010\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Hybrid transaction in blockchain enlarges the application domain of smart contracts by enabling off-chain data access. In support of the hybrid transaction, blockchain oracle is an indispensable middleware responsible for receiving data-request tasks and pushing the result back to chain. Though solutions supporting hybrid transactions do exist, they are less featured or applicable for both contract and application developers. On one hand, the racing-condition among several concurrent hybrid transactions should be manually resolved by contract developers. On the other hand, application developers have to associate each individual task with its parent hybrid transaction in order to obtain the result. In this paper, a novel block-chain oracle platform with a set of simple but unified API for both hybrid and traditional transactions is proposed. Firstly, we design and implement a transactional storage layer and a transaction scheduler for transaction preservation and ordering. Secondly, with the help of an automatic result tracing mechanism, application developers are able to acquire transaction results transparently without awareness of oracles and underlying task execution. Experiments are conducted on one of current prevalent permissioned blockchain platforms, RepChain, and the result shows that all of the system design goals are fulfilled with merely an acceptable loss of performance.\",\"PeriodicalId\":251734,\"journal\":{\"name\":\"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)\",\"volume\":\"26 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/cniot55862.2022.00010\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 3rd International Conference on Computing, Networks and Internet of Things (CNIOT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/cniot55862.2022.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
TransOra: A Transaction-preserving and Transparent Distributed Oracle on Permissioned Blockchain For Hybrid Smart Contracts
Hybrid transaction in blockchain enlarges the application domain of smart contracts by enabling off-chain data access. In support of the hybrid transaction, blockchain oracle is an indispensable middleware responsible for receiving data-request tasks and pushing the result back to chain. Though solutions supporting hybrid transactions do exist, they are less featured or applicable for both contract and application developers. On one hand, the racing-condition among several concurrent hybrid transactions should be manually resolved by contract developers. On the other hand, application developers have to associate each individual task with its parent hybrid transaction in order to obtain the result. In this paper, a novel block-chain oracle platform with a set of simple but unified API for both hybrid and traditional transactions is proposed. Firstly, we design and implement a transactional storage layer and a transaction scheduler for transaction preservation and ordering. Secondly, with the help of an automatic result tracing mechanism, application developers are able to acquire transaction results transparently without awareness of oracles and underlying task execution. Experiments are conducted on one of current prevalent permissioned blockchain platforms, RepChain, and the result shows that all of the system design goals are fulfilled with merely an acceptable loss of performance.