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

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.


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

科技分類資訊推薦

榮耀 MagicV3 摺疊屏手機外觀公布:八邊形模組設計、後置三攝 - 天天要聞

榮耀 MagicV3 摺疊屏手機外觀公布:八邊形模組設計、後置三攝

IT之家 7 月 3 日消息,榮耀今日公布了 MagicV3 摺疊屏手機外觀,後置三攝,採用八邊形模組設計,主打輕薄。榮耀 Magic 旗艦新品發佈會官宣將於 7 月 12 日舉行,屆時將帶來 Magic V3 、Magic Vs3 摺疊屏手機、MagicPad 2 平板電腦(12.3 英寸)以及 MagicBook Art 14 筆記本。IT之家此前報道,
小心!4S店掀起了跑路潮! - 天天要聞

小心!4S店掀起了跑路潮!

另一方面,向來以保值著稱的豐田,竟然在618期間做起了「骨折價」活動,卡羅拉限時售價7.98萬元起,直接對標性價比之王比亞迪。
快訊|25億元!賽力斯擬收購華為持有的全球所有類別「問界」商標以及相關專利 - 天天要聞

快訊|25億元!賽力斯擬收購華為持有的全球所有類別「問界」商標以及相關專利

7月2日晚,封面新聞最新消息,賽力斯發佈的公告顯示,賽力斯擬收購華為持有的全球所有類別「問界」及其他相關商標權及申請權、相關外觀設計專利,收購價款合計25億元。據了解,此項商品和品牌資產轉讓不影響雙方現有的合作業務,並且進一步保障了AITO問界的長遠發展,也體現了雙方以用戶為中心,着力做好聯合業務和AITO問界...
菲爾·席勒代表蘋果以觀察員身份入駐OpenAI董事:地位和微軟持平 - 天天要聞

菲爾·席勒代表蘋果以觀察員身份入駐OpenAI董事:地位和微軟持平

IT之家 7 月 3 日消息,彭博社今天報道稱,前營銷主管菲爾・席勒(Phil Schiller)將代表蘋果公司,加入 OpenAI 的非營利性董事會,充當觀察員的角色,意味着他可參加 OpenAI 董事會會議,但不能投票或擔任董事。席勒加入董事會意味着蘋果可以更加深入地了解 OpenAI 公司的內部運作,而且通過深化和 OpenAI 之間的合作,可...
小米 MIX Fold 4 摺疊屏手機背面渲染圖曝光 - 天天要聞

小米 MIX Fold 4 摺疊屏手機背面渲染圖曝光

IT之家 7 月 3 日消息,消息源 Evan Blass 今天在 X 平台發佈推文,分享了小米 MIX Fold 4 摺疊屏手機的高清渲染圖(圖片有加工成分在,最終零售版本可能會存在差異)。IT之家今年 6 月報道,型號為 24072PX77C 的小米新機通過了國家 3C 質量認證,結合之前的泄露信息,該機即為小米正準備發佈的 MIX Fold 4 摺疊屏
微信iOS 8.0.50正式版發佈:視頻支持倍速播放 - 天天要聞

微信iOS 8.0.50正式版發佈:視頻支持倍速播放

站長之家(ChinaZ.com)7月2日 消息:微信iOS平台今日正式推出了8.0.50版本,雖然官方更新日誌依舊簡潔,僅提及「解決了一些已知問題」,但深入探索後不難發現,此次更新實則暗藏玄機,為用戶帶來了多項實用新特性。最引人注目的莫過於視頻倍速播放功能的加入,這一貼心設計讓用戶在面對好友發來的長視頻時,能夠靈活調整播...