A blockchain-based embedded internet of things operating system
By integrating blockchain components into the kernel of the embedded IoT operating system, the problem of traditional IoT systems relying on external platforms is solved, direct authentication and data traceability between devices are achieved, and the security and trust of the IoT system are improved.
Patent Information
- Application Number
- CN202510064602.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-01-15
AI Technical Summary
Traditional IoT operating systems rely on external platforms for device authentication and data exchange, resulting in high system complexity, insufficient security, and difficulty in traceability.
Integrate blockchain components into the kernel of the embedded IoT operating system, including the blockchain client, device identity registration module, and smart contract execution module, to enable devices to directly access the blockchain network for identity authentication and data interaction.
It improves the data security and trust of IoT devices, simplifies the authentication process between devices, achieves data traceability and transparency, and reduces the cost of trust.
Smart Images

Figure CN119892472B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of embedded operating system technology, and specifically to an embedded Internet of Things operating system based on blockchain. Background Art
[0002] With the rapid development of IoT technology, more and more embedded devices are connected to the Internet, enabling data sharing and remote control. This has driven the widespread adoption of intelligent and automated applications, forming a vast and complex IoT ecosystem. However, traditional IoT operating systems face numerous challenges in the face of massive device connectivity, particularly in areas such as data security, establishing trust between devices, and ensuring transparency in data exchange. These challenges include:
[0003] Reliance on external platforms: To enhance the security and trustworthiness of IoT devices and data, existing technologies often rely on various external data platforms or services for encrypted interactive authentication to ensure data integrity, immutability, and trusted authentication between devices. However, this reliance not only increases system complexity and operational costs but also potentially introduces single points of failure and security vulnerabilities.
[0004] Complex authentication interaction process: In the existing IoT ecosystem, trusted authentication between embedded devices usually relies on centralized data platforms or third-party services for verification and authorization, such as Figure 1 As shown. For example, there are three devices, A, B, and C. During trusted authentication, they must first establish authentication with the data platform. This authentication process may require verification and authorization from a third-party service. Secondly, authentication must be established between the three devices. The authentication interactions between the devices require the platform to mediate. This process not only requires multiple, tedious exchanges of information between devices, but can also reduce authentication efficiency and flexibility due to platform or service limitations. With the surge in the number of IoT devices, this platform-based authentication model is becoming increasingly unsustainable. It not only increases latency and leads to inefficient authentication, but also potentially poses significant security risks.
[0005] Insufficient security: Traditional IoT data tamper-proofing mechanisms often rely on single encryption technologies or centralized storage solutions, making it difficult to prevent malicious tampering by insiders.
[0006] Difficulty in tracing the source: Due to the lack of an effective data traceability mechanism, once the data is tampered with or lost, it is often difficult to track and recover, posing a serious threat to the reliability and stability of IoT applications. Summary of the Invention
[0007] To this end, this application provides an embedded Internet of Things operating system based on blockchain to solve the problems in the existing technology that the embedded operating system needs to rely on external platforms, has low security and is difficult to trace.
[0008] In order to achieve the above objectives, this application provides the following technical solutions:
[0009] A blockchain-based embedded IoT operating system integrates a blockchain component into the kernel of the embedded IoT operating system, wherein the blockchain component includes:
[0010] Blockchain client, used to establish a blockchain network connection with the blockchain data platform, process transaction requests, and interact with the blockchain network;
[0011] A device identity registration module is used to send a registration request to the blockchain data platform through the blockchain client when the device first accesses the blockchain network, and receive the device identity unique identifier returned by the blockchain data platform based on the registration request;
[0012] A smart contract execution module, configured to send an identity authentication request to the blockchain data platform through the blockchain client, and receive an identity authentication result returned by the blockchain data platform based on the identity authentication request;
[0013] And send a data interaction request to the target device through the blockchain data platform, and receive data returned by the target device through the blockchain data platform; the smart contract on the blockchain data platform will verify the data interaction request according to preset rules and conditions, and after verification, it will allow data to be transmitted between devices.
[0014] Preferably, the registration request includes a unique identifier of the device and necessary authentication information.
[0015] Preferably, the data interaction request includes data to be transmitted, data format and target device ID.
[0016] Preferably, encryption technology is used when the data is transmitted between devices.
[0017] Preferably, it also includes: the smart contract on the blockchain data platform records the data interaction process and results on the blockchain.
[0018] Preferably, the kernel of the embedded Internet of Things operating system also includes:
[0019] The task scheduling module is used to manage and schedule the execution of various tasks or threads in the system.
[0020] Preferably, the kernel of the embedded Internet of Things operating system also includes:
[0021] Inter-process communication module, used for data exchange, synchronization, collaboration and mutual exclusion control between tasks.
[0022] Preferably, the kernel of the embedded Internet of Things operating system also includes:
[0023] The time management module is used to manage system time, scheduling, delay and timer functions of scheduled tasks.
[0024] Compared with the prior art, this application has at least the following beneficial effects:
[0025] This application provides an embedded IoT operating system based on blockchain, integrating blockchain components into the kernel of the embedded IoT operating system. The blockchain components include a blockchain client, a device identity registration module, and a smart contract execution module. The blockchain client is used to establish a blockchain network connection with a blockchain data platform, process transaction requests, and interact with the blockchain network. The device identity registration module is used to send a registration request to the blockchain data platform when a device first accesses the blockchain network, and receive the device identity unique identifier returned by the blockchain data platform based on the registration request. The smart contract execution module is responsible for device identity authentication and data interaction. This application integrates blockchain into the kernel of the embedded IoT operating system, enabling IoT devices to directly utilize the characteristics of blockchain without relying on external platforms or third-party services, thereby improving the data security, trust, and data traceability of IoT devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] To more intuitively illustrate the prior art and the present application, exemplary drawings are provided below. It should be understood that the specific shapes and structures shown in the drawings should not generally be considered as limiting conditions for implementing the present application; for example, based on the technical concepts disclosed in this application and the exemplary drawings, those skilled in the art are capable of easily making routine adjustments or further optimizations to the addition / reduction / attribution division, specific shapes, positional relationships, connection methods, dimensional ratios, etc. of certain units (components).
[0027] Figure 1 This is a schematic diagram of the existing embedded Internet of Things operating system structure;
[0028] Figure 2 A schematic diagram of the structure of an embedded Internet of Things operating system based on blockchain provided in this application;
[0029] Figure 3 This application provides an architecture diagram of an embedded IoT operating system based on blockchain. DETAILED DESCRIPTION
[0030] The present application will be further described below in detail through specific embodiments in conjunction with the accompanying drawings.
[0031] In the description of this application: unless otherwise specified, the meaning of "plurality" is two or more. The terms "first", "second", "third", etc. in this application are intended to distinguish the objects referred to and do not have any special meaning in terms of technical connotation (for example, they should not be understood as emphasizing the importance or order, etc.). Expressions such as "including", "comprising", "having", etc. also mean "not limited to" (certain units, components, materials, steps, etc.).
[0032] The terms such as "upper", "lower", "left", "right", "middle", etc. cited in this application are usually used to indicate the general relative position relationship for the convenience of intuitive understanding by referring to the drawings, and are not absolute limitations on the position relationship in the actual product.
[0033] Blockchain technology, with its characteristics of decentralization, immutability and transparency, provides new ideas for solving problems in background technologies.
[0034] This application provides a blockchain-based embedded IoT operating system. This embedded IoT operating system is a lightweight embedded IoT operating system designed specifically for IoT devices. It has core modules such as device drivers, network communications, and task scheduling to meet the basic operating requirements of IoT devices. Furthermore, this application integrates blockchain components into the kernel of the embedded IoT operating system, enabling IoT devices to directly access the blockchain network and process blockchain transactions, thereby achieving the integration of blockchain technology and the IoT operating system.
[0035] See also Figure 2 and Figure 3 , this application provides an embedded Internet of Things operating system based on blockchain, which integrates blockchain components in the kernel of the embedded Internet of Things operating system. The blockchain components include a blockchain client, a device identity registration module and a smart contract execution module.
[0036] The blockchain client is used to establish a blockchain network connection with the blockchain data platform, process transaction requests, and interact with the blockchain network.
[0037] The device identity registration module is used to send a registration request to the blockchain data platform through the blockchain client when the device first accesses the blockchain network, and receive the device identity unique identifier returned by the blockchain data platform based on the registration request.
[0038] Specifically, when a device first accesses the blockchain network, it submits a registration request to the blockchain data platform through the blockchain client in the operating system. The registration request contains the device's unique identifier (for example, the device's unique serial number) and necessary authentication information; after receiving the registration request, the blockchain data platform will verify and record the device's identity information, and then generate a unique device identity and return it to the device. This identity will serve as the device's unique identity in the blockchain network for subsequent identity authentication and data interaction.
[0039] A smart contract execution module is used to send an authentication request to the blockchain data platform through the blockchain client and receive the authentication result returned by the blockchain data platform based on the authentication request;
[0040] And send data interaction requests to the target device through the blockchain data platform, and receive data returned by the target device through the blockchain data platform; the smart contract on the blockchain data platform will verify the data interaction request according to the preset rules and conditions, and after the verification is passed, it will allow data to be transmitted between devices.
[0041] Specifically, authentication and data exchange between devices are achieved through smart contracts. Smart contracts are programs that automatically execute on the blockchain, defining the rules and conditions for inter-device interaction. Smart contracts are deployed on the blockchain network within the blockchain data platform and, under specific conditions, installed on IoT devices. They are then executed and verified by the blockchain component within the operating system on these devices. Authentication information and data are stored on the blockchain, ensuring authenticity and immutability.
[0042] The smart contract execution module includes the following steps when performing identity verification:
[0043] Step 1: When devices need to authenticate each other, they send an authentication request to the blockchain network in the blockchain data platform;
[0044] Step 2: The smart contract on the blockchain data platform verifies the identity verification request based on pre-set rules and conditions (e.g., device ID).
[0045] Step 3: If the verification is successful, the smart contract will return a message indicating successful authentication; otherwise, it will return a failure message.
[0046] The following steps are involved when devices interact with each other through the smart contract execution module:
[0047] Step 1: Sending and receiving data interaction requests;
[0048] Specifically, when data interaction is required between devices, a data interaction request will be sent to the target device through the blockchain network; the data interaction request includes information such as the data to be transmitted, the data format, and the target device ID.
[0049] Step 2: The smart contract execution module executes data interaction;
[0050] Specifically, smart contracts on the blockchain network verify data exchange requests based on pre-set rules and conditions (e.g., data format matching, correct recipient device ID, etc.). If verification passes, the smart contract allows the data to be transferred between devices. Encryption technology is used during data transmission to ensure data security.
[0051] Step 3: Confirmation and recording of data interaction.
[0052] Specifically, after the data transmission is completed, the receiving device will send a data reception confirmation message to the blockchain network in the blockchain data platform; the smart contract will record the process and results of the data interaction on the blockchain to ensure the traceability and non-tamperability of the data.
[0053] The present application provides an embedded IoT operating system based on blockchain, which further includes a task scheduling module in the kernel of the embedded IoT operating system for managing and scheduling the execution of various tasks or threads in the system.
[0054] Specifically, the task scheduling module in an embedded IoT operating system is a critical component of the system kernel, ensuring that tasks are correctly scheduled and executed according to the predetermined order, priority, and real-time requirements. The effective operation of the task scheduling module not only affects the performance and stability of the system but also plays a decisive role in the rational utilization of resources, real-time response, and multi-task collaboration.
[0055] The present application provides an embedded IoT operating system based on blockchain, which also includes an inter-process communication module in the kernel of the embedded IoT operating system for data exchange, synchronization, collaboration and mutual exclusion control between tasks.
[0056] Specifically, the inter-process communication (IPC) module in embedded IoT operating systems provides mechanisms for data exchange, synchronization, coordination, and mutual exclusion between tasks. This ensures that multiple tasks in the system can effectively collaborate, avoid conflicts, and ensure that resources can be shared efficiently and securely. Because IoT devices typically have limited resources, IPC mechanisms need to be efficient and low-latency, while also supporting certain real-time guarantees to ensure system reliability and responsiveness.
[0057] The present application provides an embedded IoT operating system based on blockchain, which also includes a time management module in the kernel of the embedded IoT operating system for managing system time, scheduling, delay and timer functions of scheduled tasks.
[0058] Specifically, the time management module in an embedded IoT operating system is a core component of the operating system, responsible for managing the system's time base, timers, delays, timeouts, task scheduling, low-power modes, and other functions. Its primary goal is to ensure that tasks execute within precise timeframes, guaranteeing real-time and responsiveness, while also improving system energy efficiency and stability.
[0059] Traditional embedded operating systems did not consider the integration of blockchain technology during their design. The blockchain-based embedded IoT operating system provided in this application fundamentally solves the problem of lack of native blockchain integration by directly integrating blockchain technology at the operating system level, enabling IoT devices to autonomously and efficiently perform blockchain-related operations, such as smart contract execution; and through the decentralized authentication mechanism provided by blockchain technology, the authentication process between devices is simplified, achieving direct, fast and secure mutual trust between devices without relying on external platforms.
[0060] This application provides an embedded IoT operating system based on blockchain, which has the following advantages:
[0061] (1) IoT operating system integrated with blockchain technology: The IoT operating system integrated with blockchain technology enables IoT devices to directly utilize the characteristics of blockchain, such as smart contract technology to complete device authentication and data exchange, without relying on external platforms or third-party services.
[0062] (2) Device identity registration and verification mechanism: Blockchain technology is used to register and verify device identities, ensuring the legitimacy and uniqueness of each device identity. This mechanism effectively prevents counterfeit devices and illegal access, enhancing the security of the IoT ecosystem.
[0063] (3) Data exchange history recording and traceability: Leveraging the immutability of blockchain, this application can record the data exchange history between IoT devices. This not only provides data traceability, making data flow and change history traceable, but also enhances data transparency and credibility.
[0064] (4) Establishment of trust relationships between devices: Through blockchain technology, this application establishes a decentralized trust relationship between devices. This trust relationship does not rely on any centralized organization or platform, but is based on direct interactions between devices and public records on the blockchain, thereby improving the overall trust of the IoT ecosystem and reducing the cost of trust.
[0065] In summary, the blockchain-based embedded IoT operating system provided in this application mainly focuses on deeply integrating blockchain technology into the IoT operating system, thereby improving data security, trusted traceability, and inter-device authentication, providing a solution for scenarios with higher security.
[0066] The technical features of the above embodiments can be combined arbitrarily (as long as there is no contradiction in the combination of these technical features). In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described; these embodiments that are not explicitly written should also be considered to be within the scope of this specification.
Claims
1. An embedded Internet of Things operating system based on blockchain, characterized in that: Integrate blockchain components into the kernel of the embedded IoT operating system, including: Blockchain client, used to establish a blockchain network connection with the blockchain data platform, process transaction requests, and interact with the blockchain network; A device identity registration module is used to send a registration request to the blockchain data platform through the blockchain client when the device first accesses the blockchain network, and receive the device identity unique identifier returned by the blockchain data platform based on the registration request; A smart contract execution module, configured to send an identity authentication request to the blockchain data platform through the blockchain client, and receive an identity authentication result returned by the blockchain data platform based on the identity authentication request; And send a data interaction request to the target device through the blockchain data platform, and receive data returned by the target device through the blockchain data platform; the smart contract on the blockchain data platform will verify the data interaction request according to preset rules and conditions, and after verification, it will allow data to be transmitted between devices.
2. The embedded Internet of Things operating system based on blockchain according to claim 1 is characterized in that: The registration request includes a unique identifier for the device and necessary authentication information.
3. The blockchain-based embedded IoT operating system according to claim 1, characterized in that: The data exchange request includes the data to be transmitted, the data format and the target device ID.
4. The blockchain-based embedded IoT operating system according to claim 1, characterized in that: The data is encrypted when transmitted between devices.
5. The blockchain-based embedded IoT operating system according to claim 1, characterized in that: Also includes: The smart contract on the blockchain data platform will record the data interaction process and results on the blockchain.
6. The blockchain-based embedded IoT operating system according to claim 1, characterized in that: The kernel of the embedded Internet of Things operating system also includes: The task scheduling module is used to manage and schedule the execution of various tasks or threads in the system.
7. The embedded Internet of Things operating system based on blockchain according to claim 1, characterized in that: The kernel of the embedded Internet of Things operating system also includes: Inter-process communication module, used for data exchange, synchronization, collaboration and mutual exclusion control between tasks.
8. The blockchain-based embedded IoT operating system according to claim 1, characterized in that: The kernel of the embedded Internet of Things operating system also includes: The time management module is used to manage system time, scheduling, delay and timer functions of scheduled tasks.
Citation Information
Patent Citations
Decentralized Internet of Things security authentication system, equipment registration and identity authentication method
CN109768988A
Decentralization Internet of Things security framework system based on block chain
CN119210687A