探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性

2023年09月27日14:09:03 科技 1365

本文內容來自於網絡,若與實際情況不相符或存在侵權行為,請聯繫刪除。本文僅在今日頭條首發,請勿搬運。


Introduction

With the rapid advancement of hardware, software, and communication technologies, the Internet of Things (IoT) has garnered increasing attention in both academia and industry. IoT applications span across various aspects of people's lives, revolutionizing sectors such as smart healthcare, transportation, agriculture, and entertainment.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


One critical challenge lies in handling the vast amounts of data generated by IoT applications, given that IoT devices often lack sufficient processing and storage resources. This is where blockchain, an encrypted distributed computing storage system, steps in. Its purpose is to create real-time, tamper-proof records.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


By merging IoT and blockchain, a theoretically verifiable, secure, and permanent method for recording data processed by IoT smart devices is established.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Related Studies

Existing frameworks integrating IoT systems with cloud computing can be broadly categorized into two types: those focusing on specific applications and those providing a general Platform as a Service (PaaS) model. Rahmani et al. have developed a prototype-based framework for supporting IoT healthcare systems, emphasizing local storage and data processing. In this framework, the cloud serves as the backend system for data analysis and decision-making. Azimi et al. have used Raspberry Pi and Intel Edison development boards as edge nodes in IoT, employing authentication to safeguard data privacy. However, in this framework, data is stored in the cloud.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Services within this framework are divided into two types: core operations for managing the framework, including resource management and security assurance, and application-specific requirements. The framework's security is guaranteed by authentication and access mechanisms.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Hybrid Blockchain Structure for IoT Wireless Sensor Networks

This article introduces a novel hybrid architecture for monitoring and managing IoT systems, as illustrated in Figure 1.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Traditional smart home systems monitor all activities through wireless sensor networks and send the collected data to the blockchain via wireless sensor networks for storage in the cloud. This enables the utilization of all advantages offered by blockchain. In the new architecture proposed in this article for IoT monitoring, smart devices are equipped with sensors and Raspberry Pi for controlling these sensors. Each smart node consists of different transceivers capable of capturing data and incorporating it into the Wireless Sensor Network (WSN). The sensors include an accelerometer model LIS3DH, which accurately measures acceleration within different ranges (0 and ±16g) and automatically adjusts to usage conditions while maintaining constant precision.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


For temperature control, a low-power sensor TC1047A is used to collect temperature data. Through this process, data is transformed from IoT devices to the blockchain in the Edge Computing layer during the ETL (Extract, Transform, Load) process, rather than directly in the blockchain. This significantly reduces the energy consumption of the main chain in the cloud when converting data and constructing blocks, enabling the smart controller to perform the same tasks with lower energy consumption. Simultaneously, a side chain executed on Raspberry Pi 4B is created using smart contracts, storing all the data collected by WSN nodes.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Smart contracts verify the identity of smart devices, and once a WSN node is identified as a member, the smart contract executes an event to send data to the side chain. Once the smart contract is verified (i.e., data is fully inserted into the side chain), the side chain is inserted into the main chain. The cloud-based blockchain main chain is constructed from subchains built by smart devices and merged into one. To build the blockchain, this novel architecture uses side chains (i.e., small-scale blockchain for preprocessing data) to create an intermediate layer (i.e., Edge Computing layer) between IoT devices and the blockchain.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


These edge chains optimize transactions sent to the blockchain by performing data processing at the network edge close to the data source. Executing side chains with WSN data reduces communication between WSN nodes (i.e., sensors) and the blockchain. This approach requires leveraging Edge Computing resources that cannot maintain a continuous connection to the blockchain network, reducing the waste of computing resources in the IoT layer.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Edge Computing pushes applications, data, and computing capabilities away from the blockchain. As a computing paradigm, Edge Computing is also referred to as grid processing, peer-to-peer computing, autonomic and distributed computing.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


The advantages of Edge Computing relative to current computing lie in (1) significantly smaller amounts of data needing to be transmitted over the network, (2) elimination (or reduction) of centralized computing, and (3) enhanced virtualization capabilities for improved scalability.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Empirical Study on the Performance of Blockchain Framework Design

To assess the performance of the entire framework, an integrated computing environment consisting of multiple cloud and edge nodes was prepared. Table 1 describes the complete configurations of servers and related running components. The environment used to build nodes for the blockchain was uniformly a Docker environment, resulting in the construction of seven server nodes. One node was allocated for customer-related control operations, and the remaining nodes were assigned internal private IP addresses for internal data transmission and authentication. Of the six nodes, three were remote servers serving as data storage for the blockchain main chain. Two Raspberry Pi 4B devices were used as edge devices for collecting data from various sensors, constructing subchains, and executing smart contracts. After the smart contract execution was completed, the subchain data was uploaded to the cloud and inserted into the cloud's main chain, reducing the communication frequency between edge devices and the main chain. Additionally, a microcontroller was used as the control center between edge devices.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Figure 2 represents the average Docker sizes of different components in the framework under compressed and uncompressed conditions. The compressed Docker image sizes were obtained based on the average sizes stored in Docker hub for multiple architectures, while the uncompressed Docker image sizes were obtained based on extracted Docker images from instances. The compressed Docker image sizes indicate that the framework is lightweight and can be downloaded on different platforms, ranging from a few megabytes to a maximum of 100 megabytes.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Furthermore, the uncompressed Docker image sizes demonstrate that the framework components do not occupy excessive storage space. Figure 3 displays the average RAM sizes of different components in the hybrid architecture during runtime. From the figure, it can be observed that the proposed framework occupies very little memory, making it suitable for deployment on edge devices. The memory usage of different components ranges from 25 MB to 45 MB.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


However, for existing edge devices, individual components can still be deployed on different edge devices with low resource requirements. Therefore, from an overall performance analysis, the entire framework does not excessively consume physical resources. It also better utilizes the existing resources of edge nodes, allowing various components to run reasonably through a distributed structure. Figure 4 demonstrates the average startup times of different components in the hybrid architecture. This includes the time required to start the containers until they are in a fully available state for processing incoming requests.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


It is found from Figure 4 that this framework only takes a few seconds to complete startup and enter the processing state. The startup time of the system is related to its existing hardware resources. If faster startup speed is needed, edge devices with better computing performance can be employed, significantly enhancing overall response speed. Moreover, in the deployment phase, it greatly extends many important scenarios, widening the overall application prospects. Figure 5 describes the task quantities generated under different experimental settings in the hybrid architecture. It is observed that when deployed only at the edge, more tasks can be generated compared to tasks generated in the cloud or in a combination of cloud and edge.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


This occurs because the edge is closer to the data source, allowing rapid delivery of results from the previous task while generating the next task. The communication latency is lower in this scenario. However, if computation is only performed at the edge, the data processing speed may be too slow, negatively impacting the overall data processing

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


speed. On the other hand, the cloud offers higher data processing speed.

From Figure 5, it is evident that combining edge and cloud computing generates a higher quantity of tasks while maintaining a balanced data processing speed. This hybrid architecture presented in this paper exhibits a well-rounded performance.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


Conclusion

This paper introduces a novel hybrid blockchain structure based on IoT wireless sensor networks. This structure maximizes the computational capabilities of edge nodes, distributing a portion of the cloud's computational burden to the remaining edge nodes. Subchains are constructed on edge nodes, and once smart contracts are completed, the subchains are inserted into the cloud's main chain. This effectively reduces communication pressure between edge and cloud, resulting in a system with enhanced scalability.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


The study also assessed the resource consumption of various components in the framework and their system response times. The experimental results demonstrate that the proposed framework aligns with the practical resource constraints of edge devices. The entire system exhibits high task processing capabilities and data processing speed, significantly improving blockchain processing throughput and efficiency. In practical applications, it can cater to a wide range of scenarios, offering significant practical value.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


In conclusion, the hybrid architecture presented in this paper showcases a promising approach to harnessing the potential of both IoT and blockchain technologies. By effectively utilizing edge computing capabilities and optimizing data flow between edge and cloud, the framework offers a scalable and efficient solution for handling IoT-generated data.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


References

[1] HUH S., CHO S., KIM S. Managing IoT devices using blockchain platform [C]// Proceedings of 19th International Conference on Advanced Communication Technology (ICACT). Pyeongchang, Korea (South): IEEE, 2017: 464-467.

探究物聯網混合區塊鏈架構,它的新型架構模式,及模式的可行性 - 天天要聞


[2] WALKER M. A., DUBEY A., LASZKA A., et al. PlaT-IBART: a platform for transactive IoT blockchain applications with repeatable testing [C]// Proceedings of the 4th Workshop on Middleware and Applications for the Internet of Things. New York, NY, USA: ACM, 2017: 17-22.


[3] CROSBY M., PATTANAYAK P., VERMA S., et al. Blockchain technology: beyond bitcoin [J]. Applied innovation, 2016, 2: 6-10.

[4] PAN J., YANG Z. Cybersecurity challenges and opportunities in the new edge computing+IoT world [C]// Proceedings of the 2018 ACM International Workshop on Security in Software Defined Networks & Network Function Virtualization. Tempe, AZ, USA: ACM, 2018: 29-32.


[5] RAHMANI A. M., GIA T. N., NEGASH B. Exploiting smart e-Health gateways at the edge of healthcare Internet-of-Things: a fog computing approach [J]. Future generation computer systems, 2018, 78 (P2): 641-658.


[6] AZIMI I., ANZANPOUR A. M., RAHMANI A. M. HiCH: hierarchical fog-assisted computing architecture for healthcare IoT [J]. ACM transactions on embedded computing systems, 2017, 16 (5s): 174.


以上內容資料均來源於網絡,本文作者無意針對,影射任何現實國家,政體,組織,種族,個人。相關數據,理論考證於網絡資料,以上內容並不代表本文作者贊同文章中的律法,規則,觀點,行為以及對相關資料的真實性負責。本文作者就以上或相關所產生的任何問題任何概不負責,亦不承擔任何直接與間接的法律責任。

科技分類資訊推薦

有關部門回應多地“國補”暫停;蜂鳥音樂要求鄧紫棋重製版歌曲全網下架;791名中國公民安全撤離伊朗;央行將在上海設立個人徵信機構 - 天天要聞

有關部門回應多地“國補”暫停;蜂鳥音樂要求鄧紫棋重製版歌曲全網下架;791名中國公民安全撤離伊朗;央行將在上海設立個人徵信機構

特別關注有關部門回應多地“國補”暫停近期,多地傳出以舊換新“國補”暫停或者調整的消息。對此,國家相關主管部門就“國補”下一步計劃回應稱,今年國家安排3000億元超長期特別國債資金支持消費品以舊換新,目前已向地方下達了共計1620億元資金,剩餘資金將有序下達。2025年的消費品以舊換新政策將全年實施,有關部門正指...
吉利第四代博越L,為何成爆款?底盤、動力、智能全面解析 - 天天要聞

吉利第四代博越L,為何成爆款?底盤、動力、智能全面解析

隨着新能源車型的崛起,燃油車型看似熱度不再,其實留意銷量排行榜,就會發現一些經典的燃油車依舊長期位居前列,近期上市的第四代博越L無疑是其中之一。博越作為200萬用戶的選擇,新一代車型上市後迅速登上熱搜,引起熱議,這款車究竟有何魔力?我們通過底盤、動力、空間、智
快遞服務質效持續提升 - 天天要聞

快遞服務質效持續提升

工人在河北省固安縣申通快遞華北轉運中心工作。 新華社記者 王 曉攝國家郵政局數據顯示,今年1月至5月,我國快遞業務量累計完成787.7億件,同比增長20.1%。市場規模實現較快增長的同時,快遞服務質效也持續提升。眼下,正值荔枝、水蜜桃等時令鮮果上市,快遞企業綜合發力提升時效。在廣東省茂名市荔枝主產區,中通快遞設置...
OpenAI控訴微軟反競爭行為 科技巨頭合作現裂痕 - 天天要聞

OpenAI控訴微軟反競爭行為 科技巨頭合作現裂痕

科技界最受矚目的“聯姻”正面臨嚴峻考驗。微軟與OpenAI這對曾被視作天作之合的AI黃金搭檔,如今關係緊張到可能重塑整個人工智能產業格局。這場風波始於OpenAI宣布從非營利組織轉型為營利公司的計劃。本該是常規的商業決策,卻因微軟對OpenAI未來擁有重大話語權而演變成複雜對峙。資金鏈背後的控制權博弈OpenAI亟需微軟批准...
618存量之戰:電商平台重新定義“增長” - 天天要聞

618存量之戰:電商平台重新定義“增長”

當618走到第17個年頭,這一曾經被電商平台及大小商家寄予厚望的“消費狂歡節”,正在趨於平靜。跟去年相比提前了近一周,前後跨度超過一個月,這一承載着中國電商產業高速增長記憶的促銷節點,隨着消費市場的變化,正在悄然轉型。
華為鴻蒙 HarmonyOS NEXT 系統新版實況窗通用膠囊模板發布 - 天天要聞

華為鴻蒙 HarmonyOS NEXT 系統新版實況窗通用膠囊模板發布

IT之家 6 月 19 日消息,在 6 月 11 日舉行的華為 Pura 80 系列及全場景新品發布會上,華為全新實況窗正式亮相,號稱“無需打開應用狀態一眼便知”。IT之家注意到,華為開發者聯盟官網現發布了新版實況窗通用膠囊模板。據介紹,新版實況窗擁有三種設備樣式,將在挖孔居中的設備上進行軟硬結合的顯示,與狀態欄固定元素(時...