A method and device for managing IoT devices based on blockchain

By using the IOT device management contract on the blockchain to manage the public key status and life cycle of the IOT device, the problems of difficulty in obtaining status and insufficient security caused by the failure of the IOT device management platform in the existing technology are solved, achieving a more efficient and Secure device status monitoring and management.

CN110113164BActive Publication Date: 2024-10-29WEBANK (CHINA)
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201910331926.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-24
Publication Date
2024-10-29
Estimated Expiration
2039-04-24

AI Technical Summary

Technical Problem

Existing IOT devices need to be authorized by the cloud service provider when transmitting data, and when the centralized management platform fails, the device's survival and revocation status cannot be obtained in time, affecting the management efficiency and security of the device.

Method used

Adopt a blockchain-based IOT device management method and manage the public key status and life cycle of the device on the blockchain through the IOT device management contract, ensuring that manufacturers can obtain the survival status of the device at any time and prevent the public key status from being tampered with, improving communication security.

Benefits of technology

It improves the management efficiency and communication security of IOT devices, ensures real-time monitoring of device status and effective management of public keys, and avoids management inconveniences caused by centralized platform failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110113164B_ABST
    Figure CN110113164B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for managing IOT devices based on blockchain, the method comprising an IOT device manufacturer obtaining request information of a user applying for an IOT device, the request information including the user's profile information, sending key request information to a cloud service provider, the key request information including the user's profile information and identification information of the IOT device applied for by the user, after receiving the key information sent by the cloud service provider, sending the key information to the IOT device, and setting the public key status in the IOT device management contract in the blockchain to an activated state. By managing the survival status and operation time of the IOT device through the IOT device management contract in the blockchain, the IOT device manufacturer can obtain the survival status of the IOT device at any time, improve the management efficiency of the IOT device, prevent the public key status of the IOT device from being tampered with, and improve the security of IOT device communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of financial technology (Fintech), and in particular to an IOT (Internet of Things) device management method and apparatus based on blockchain (BlockChain). Background Art

[0002] With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to Fintech (Finteh), and message storage technology is no exception. However, due to the security and real-time requirements of the financial and payment industries, higher requirements are also placed on the technology.

[0003] At present, when IoT devices need to transmit data to cloud service providers, they must be authorized by cloud service providers before they can transmit data. The specific implementation process can be as follows: the public and private key pairs of IoT devices are managed by the IoT device management platform of the centralized cloud service provider. IoT device manufacturers need to register IoT devices on the IoT device management platform to obtain the public and private key pairs of the corresponding IoT devices. IoT device manufacturers write the obtained public and private key pairs into the corresponding IoT devices respectively. IoT devices can only transmit data by sending messages to cloud service providers with embedded authorized public and private keys. When IoT device manufacturers need to check the status of the public and private key pairs of IoT devices, they also need to check the activation and revocation status of the devices through the IoT device management platform of the cloud service provider. If there is a technical failure in the IoT device management platform, the IoT device manufacturer will not be able to know the survival and revocation status of the IoT device in time. Summary of the invention

[0004] The embodiments of the present invention provide an IOT device management method and apparatus based on blockchain, which are used to manage the storage status of key information of IOT devices and improve the security of IOT device communication.

[0005] In a first aspect, an embodiment of the present invention provides an IOT device management method based on blockchain, comprising:

[0006] The IoT device manufacturer obtains the request information of the user for applying for IoT devices, and the request information includes the profile information of the user;

[0007] The IOT device manufacturer sends a key request message to the cloud service provider, wherein the key request message includes the user's profile information and the identification information of the IOT device applied for by the user, so that the cloud service provider generates the key information of the IOT device; the IOT device manufacturer and the cloud service provider are located in the same blockchain;

[0008] After receiving the key information sent by the cloud service provider, the IOT device manufacturer sends the key information to the IOT device and sets the public key status in the IOT device management contract in the blockchain to an activated state. The IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0009] In the above technical solution, the survival status and operation time of IOT devices are managed through the IOT device management contract in the blockchain, so that IOT device manufacturers can obtain the survival status of IOT devices at any time, improve the management efficiency of IOT devices, prevent the public key status of IOT devices from being tampered with, and improve the security of IOT device communications.

[0010] Optionally, before the IOT device manufacturer obtains the user's request information for applying for an IOT device, the method further includes:

[0011] The IOT device manufacturer deploys the IOT device management contract on the blockchain.

[0012] Optionally, the IOT device management contract is a map storage structure.

[0013] Optionally, after the IOT device manufacturer sets the public key status in the IOT device management contract in the blockchain to an activated state, the further step includes:

[0014] The IOT device manufacturer obtains the public key status of the IOT device in the IOT device management contract;

[0015] If the public key status of the IOT device is revoked, the IOT device manufacturer will reissue the key information of the IOT device after confirming that the IOT device is recycled.

[0016] In a second aspect, an embodiment of the present invention further provides an IOT device management method based on blockchain, comprising:

[0017] The cloud service provider obtains the key request information sent by the IOT device manufacturer. The key request information is sent by the IOT device manufacturer after obtaining the request information of the user applying for the IOT device. The key request information includes the user's profile information and the identification information of the IOT device applied by the user; the IOT device manufacturer and the cloud service provider are located in the same blockchain;

[0018] The cloud service provider generates key information for the IOT device;

[0019] The cloud service provider sends the key information of the IOT device to the IOT device manufacturer, so that the IOT device manufacturer sends the key information to the IOT device, and stores the public key in the key information through the IOT device management contract in the blockchain, and sets the public key status to the public key generation completion status; the IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0020] Optionally, after the cloud service provider sends the key information of the IOT device to the IOT device manufacturer, the cloud service provider further includes:

[0021] The cloud service provider obtains the user's deregistration request information, wherein the deregistration request information includes the user's profile information and the identification information of the IOT device to be deregistered;

[0022] After the cloud service provider verifies the user based on the user's profile information, it revokes the key information of the IOT device to be deregistered based on the identification information of the IOT device to be deregistered, and sets the public key status of the IOT device to be deregistered in the IOT device management contract to a revoked status.

[0023] In a third aspect, an embodiment of the present invention further provides an IOT device management device based on blockchain, comprising:

[0024] An acquisition unit, used to acquire request information of a user applying for an IOT device, wherein the request information includes profile information of the user;

[0025] A sending unit, configured to send key request information to a cloud service provider, wherein the key request information includes the user's profile information and the identification information of the IoT device applied for by the user, so that the cloud service provider generates key information for the IoT device; the IoT device manufacturer and the cloud service provider are located in the same blockchain;

[0026] A processing unit is used to send the key information to the IOT device after receiving the key information sent by the cloud service provider, and set the public key status in the IOT device management contract in the blockchain to an activated state. The IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0027] Optionally, the processing unit is further used for:

[0028] Before obtaining the user's request information for applying for an IOT device, the IOT device management contract is deployed on the blockchain.

[0029] Optionally, the IOT device management contract is a map storage structure.

[0030] Optionally, the processing unit is further used for:

[0031] After setting the public key status in the IOT device management contract in the blockchain to an activated state, controlling the acquisition unit to acquire the public key status of the IOT device in the IOT device management contract;

[0032] If the public key status of the IOT device is revoked, the key information of the IOT device is reissued after confirming that the IOT device is recycled.

[0033] In a fourth aspect, an embodiment of the present invention further provides an IOT device management device based on blockchain, comprising:

[0034] An acquisition unit, used to acquire key request information sent by an IOT device manufacturer, wherein the key request information is sent by the IOT device manufacturer after acquiring the request information of the user applying for an IOT device, and the key request information includes the user's profile information and the identification information of the IOT device applied for by the user; the IOT device manufacturer and the cloud service provider are located in the same blockchain;

[0035] A processing unit is used to generate key information of the IOT device; a control sending unit sends the key information of the IOT device to the IOT device manufacturer, so that the IOT device manufacturer sends the key information to the IOT device, and stores the public key in the key information through the IOT device management contract in the blockchain, and sets the public key status to the public key generation completion status; the IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0036] Optionally, the processing unit is further used for:

[0037] After sending the key information of the IOT device to the IOT device manufacturer, controlling the acquisition unit to acquire the user's cancellation request information, the cancellation request information including the user's profile information and the identification information of the IOT device to be cancelled;

[0038] After the user is verified according to the user's profile information, the key information of the IOT device to be deregistered is revoked according to the identification information of the IOT device to be deregistered, and the public key status of the IOT device to be deregistered in the IOT device management contract is set to a revoked status.

[0039] In a fifth aspect, an embodiment of the present invention further provides a computing device, including:

[0040] A memory for storing program instructions;

[0041] The processor is used to call the program instructions stored in the memory and execute the above-mentioned blockchain-based IOT device management method according to the obtained program.

[0042] In the sixth aspect, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned blockchain-based IOT device management method. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention;

[0045] Figure 2 A flowchart of an IOT device management method based on blockchain provided by an embodiment of the present invention;

[0046] Figure 3 A flowchart of another blockchain-based IOT device management method provided by an embodiment of the present invention;

[0047] Figure 4 A schematic diagram of the structure of an IOT device management device based on blockchain provided by an embodiment of the present invention;

[0048] Figure 5 A schematic diagram of the structure of an IOT device management device based on blockchain provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Figure 1An exemplary system architecture applicable to an embodiment of the present invention is shown, which may include multiple IOT device manufacturers 100, a blockchain system 200, and a cloud service provider 300. The blockchain system 200 is an alliance chain built by multiple IOT device manufacturers 100 and cloud service providers 300, and the alliance chain may include one or more blockchain nodes, so that data within the organization can be multi-active.

[0051] Among them, the IOT device manufacturer 100 is used to communicate with the blockchain system 200 and manage the IOT device management contract in the blockchain system 200.

[0052] The blockchain system 200 consists of multiple blockchain nodes 210, which communicate with the IOT device manufacturer 100 and the cloud service provider 300 respectively, and are used to store the public key data sent by the cloud service provider 300, and accept the IOT device manufacturer 100 and the cloud service provider 300 to manage the IOT device management contract deployed on the blockchain node 210. The multiple blockchain nodes 210 can be connected and communicated with each other, and each blockchain node includes multiple blocks, which are used to store the public key data of the IOT device.

[0053] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.

[0054] Based on the above description, Figure 2 The process of an IOT device management method based on blockchain provided by an embodiment of the present invention is exemplarily shown, and the process can be executed by an IOT device management device based on blockchain. The process of IOT device management based on blockchain will be described below through the interaction between IOT device manufacturers, cloud service providers and blockchain nodes.

[0055] like Figure 2 As shown in the figure, the process specifically includes:

[0056] Step 201: A user sends a request message for applying for an IOT device to an IOT device manufacturer.

[0057] When a user uses an IOT device, he needs to apply to the IOT device manufacturer. The request information sent at this time includes the user's profile information, which can be used for user identity authentication, identifying the user's identity and distinguishing different users.

[0058] Step 202: The IOT device manufacturer sends a key request message to the cloud service provider.

[0059] After receiving the user's request information for applying for an IOT device, the IOT device manufacturer can send a key request information to the cloud service provider to request the cloud service provider to issue the key information of the IOT device applied for by the user. The key request information includes the user's profile information and the identification information of the IOT device applied for by the user. The identification information of the IOT device can be the ID information of the IOT device and other unique information that can identify different IOT devices. In an embodiment of the present invention, the key information can be a public-private key pair.

[0060] It should be noted that the key request information sent by the IOT device manufacturer may include profile information of multiple users and identification information of their corresponding IOT devices, that is, key information of IOT devices can be applied for in batches.

[0061] Step 203: The cloud service provider generates key information for the IOT device.

[0062] After receiving the key request information sent by the IOT device manufacturer, the cloud service provider can generate key information according to the identification information of the IOT device, that is, generate the public and private key pair of the IOT device. In the embodiment of the present invention, the technical scheme for generating the public and private key pair of the IOT device is not specifically limited, and is applicable to the current methods for generating the public and private key pair.

[0063] Step 204: The cloud service provider sends key information to the IOT device manufacturer.

[0064] After the cloud service provider generates the public-private key pair, it can send the key information of the IoT device to the IoT device manufacturer so that it can send the key information to the corresponding IoT device.

[0065] Step 205: The cloud service provider sends the public key to the blockchain node.

[0066] The cloud service provider sends the public key to the blockchain node so that the blockchain node stores the public key through the IOT device management contract and sets the public key status in the IOT device management contract to the public key generation completion status. The IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0067] It should be noted that before the above step 201, the cloud service provider or IOT device manufacturer needs to deploy an IOT device management contract on the blockchain node, wherein the IOT device management contract can be a map storage structure. For example, the IOT device management contract can be a (key, value) structure, where the key is the public key of the IOT device, and the value is the timestamp and public key status (map). The map can also be a (key, value) structure, where the key in the map is the timestamp and the value is the public key status. The public key status may include the public key generation completion status, activation status, and revocation status. For example, this can be achieved by setting the status bit, 0 for the public key generation completion status, 1 for the activation status, and 2 for the revocation status.

[0068] It should be noted that the data storage method in the IOT device management contract can also be other storage forms. It only needs to ensure that the public key status and timestamp of each IOT device can be stored. The embodiment of the present invention is only an example.

[0069] Through the above method, the life cycle of IoT devices can be managed on the blockchain, and the public key status of IoT devices can be obtained in real time.

[0070] Step 206: The IOT device manufacturer sends the key information to the IOT device.

[0071] After receiving the key information sent by the cloud service provider, the IOT device manufacturer can issue the key information to the IOT device corresponding to the key information, mainly embedding the key information into the IOT device so that the IOT device can transmit data to the cloud service provider according to the key information, thereby realizing authorized communication with the cloud service provider.

[0072] Step 207: The IOT device manufacturer sets the public key status in the IOT device management contract in the blockchain to an activated state.

[0073] After the IOT device manufacturer sends the key information to the IOT device, it can set the public key status in the IOT device management contract to the activated state, so that other manufacturers or cloud service providers in the blockchain can view the public key status of the corresponding IOT device at any time.

[0074] Step 208: The IOT device manufacturer issues the IOT device.

[0075] After the IOT device manufacturer issues the key information, it can distribute the IOT device to the user who applied for it. At this time, the user can use the IOT device to transmit data to the cloud service provider based on the key information in the IOT device.

[0076] It should be noted that when a user no longer uses an IoT device, he or she can apply to the cloud service provider to cancel the IoT device. Figure 3 The process of public key cancellation in the blockchain-based IoT device management process is shown.

[0077] like Figure 3 As shown in the figure, the process specifically includes:

[0078] Step 301: The user sends a logout request message of the IOT device to the cloud service provider.

[0079] When the user decides not to use the IOT device, he can send a cancellation request message, which includes the user's profile information and the identification information of the IOT device to be cancelled, so that the cloud service provider can authenticate the user.

[0080] Step 302: After the cloud service provider verifies the user based on the user's profile information, the cloud service provider revokes the key information of the IOT device to be deregistered based on the identification information of the IOT device to be deregistered.

[0081] After receiving the user's deregistration request information, the cloud service provider can authenticate the user based on the user's profile information. Once the verification is passed, the key information of the IOT device to be deregistered can be revoked based on the identification information of the IOT device to be deregistered, that is, the public and private key pair of the IOT device to be deregistered can be deleted to complete the deregistration of the IOT device.

[0082] Step 303: The cloud service provider sets the public key status of the IOT device to be deregistered in the IOT device management contract to a revoked status.

[0083] The cloud service provider can send revocation information to the blockchain node so that the blockchain node sets the public key status of the IOT device to be cancelled to the revoked status through the IOT device management contract, so as to prompt the manufacturer corresponding to the IOT device to be informed that the IOT device has been revoked and can be recycled or re-applied for the public-private key pair.

[0084] Step 304, the blockchain node synchronizes the public key status of the IOT device.

[0085] After the blockchain node sets the public key status of the IOT device to be deregistered to the revoked status, it is equivalent to synchronizing the public key status, and each blockchain node in the same blockchain system can query the public key status.

[0086] Step 305: If the public key status of the IOT device is revoked, the IOT device manufacturer reissues the key information of the IOT device after confirming that the IOT device is recycled.

[0087] IOT device manufacturers can obtain the public key status of IOT devices in the IOT device management contract. When it is found that the public key status of an IOT device is revoked, and it is determined that the IOT device has been recycled, the key information of the IOT device can be reissued, that is, the key information of the IOT device can be re-requested to complete the issuance.

[0088] The embodiment of the present invention shows that the IOT device manufacturer obtains the request information of the user applying for the IOT device, the request information includes the data information of the user, sends the key request information to the cloud service provider, the key request information includes the data information of the user and the identification information of the IOT device applied by the user, so that the cloud service provider generates the key information of the IOT device. After receiving the key information sent by the cloud service provider, the IOT device manufacturer sends the key information to the IOT device, and sets the public key status in the IOT device management contract in the blockchain to the activated state. The IOT device management contract is used to manage the public key status and life cycle of the IOT device. By managing the survival status and operation time of the IOT device through the IOT device management contract in the blockchain, the IOT device manufacturer can obtain the survival status of the IOT device at any time, improve the management efficiency of the IOT device, prevent the public key status of the IOT device from being tampered with, and improve the security of the IOT device communication.

[0089] Based on the same technical concept, Figure 4 The structure of a blockchain-based IOT device management device provided by an embodiment of the present invention is exemplarily shown, and the device can execute the process of blockchain-based IOT device management. Figure 1 IOT device manufacturers shown.

[0090] like Figure 4 As shown, the device specifically includes:

[0091] An acquisition unit 401 is used to acquire request information of a user applying for an IOT device, wherein the request information includes profile information of the user;

[0092] A sending unit 402 is used to send key request information to a cloud service provider, wherein the key request information includes the user's profile information and the identification information of the IoT device applied for by the user, so that the cloud service provider generates the key information of the IoT device; the IoT device manufacturer and the cloud service provider are located in the same blockchain;

[0093] The processing unit 403 is used to send the key information to the IOT device after receiving the key information sent by the cloud service provider, and set the public key status in the IOT device management contract in the blockchain to an activated state. The IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0094] Optionally, the processing unit 403 is further configured to:

[0095] Before obtaining the user's request information for applying for an IOT device, the IOT device management contract is deployed on the blockchain.

[0096] Optionally, the IOT device management contract is a map storage structure.

[0097] Optionally, the processing unit 403 is further configured to:

[0098] After setting the public key status in the IOT device management contract in the blockchain to an activated state, controlling the acquisition unit 401 to acquire the public key status of the IOT device in the IOT device management contract;

[0099] If the public key status of the IOT device is revoked, the key information of the IOT device is reissued after confirming that the IOT device is recycled.

[0100] Based on the same technical concept, Figure 5 The structure of a blockchain-based IOT device management device provided by an embodiment of the present invention is exemplarily shown, and the device can execute the process of blockchain-based IOT device management. Figure 1 The cloud service providers shown.

[0101] like Figure 5 As shown, the device comprises:

[0102] The acquisition unit 501 is used to acquire key request information sent by the IOT device manufacturer, wherein the key request information is sent by the IOT device manufacturer after acquiring the request information of the user applying for the IOT device, and the key request information includes the user's profile information and the identification information of the IOT device applied by the user; the IOT device manufacturer and the cloud service provider are located in the same blockchain;

[0103] The processing unit 502 is used to generate the key information of the IOT device; the control sending unit 503 sends the key information of the IOT device to the IOT device manufacturer, so that the IOT device manufacturer sends the key information to the IOT device, and stores the public key in the key information through the IOT device management contract in the blockchain, and sets the public key status to the public key generation completion status; the IOT device management contract is used to manage the public key status and life cycle of the IOT device.

[0104] Optionally, the processing unit 502 is further configured to:

[0105] After sending the key information of the IOT device to the IOT device manufacturer, controlling the acquisition unit 501 to acquire the user's deregistration request information, the deregistration request information including the user's profile information and the identification information of the IOT device to be deregistered;

[0106] After the user is verified according to the user's profile information, the key information of the IOT device to be deregistered is revoked according to the identification information of the IOT device to be deregistered, and the public key status of the IOT device to be deregistered in the IOT device management contract is set to a revoked status.

[0107] Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:

[0108] A memory for storing program instructions;

[0109] The processor is used to call the program instructions stored in the memory and execute the above-mentioned blockchain-based IOT device management method according to the obtained program.

[0110] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned blockchain-based IOT device management method.

[0111] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0112] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0114] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0115] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A blockchain-based IoT device management method, characterized in that: The method is applied to a system architecture, which includes an IOT device manufacturer, a blockchain system and a cloud service provider, including: The IOT device manufacturer obtains request information from a user for applying for an IOT device, where the request information includes profile information of the user; The IOT device manufacturer sends a key request message to the cloud service provider, wherein the key request message includes the user's profile information and the identification information of the IOT device applied for by the user, so that the cloud service provider generates the key information of the IOT device; the IOT device manufacturer and the cloud service provider are located in the same blockchain; After receiving the key information sent by the cloud service provider, the IOT device manufacturer sends the key information to the IOT device and sets the public key status in the IOT device management contract in the blockchain to an activated state. The IOT device management contract is used to manage the public key status and life cycle of the IOT device; the IOT device management contract is a map storage structure.

2. The method according to claim 1, characterized in that Before the IOT device manufacturer obtains the user's request information for applying for an IOT device, the method further includes: The IOT device manufacturer deploys the IOT device management contract on the blockchain.

3. The method according to any one of claims 1 to 2, characterized in that: After the IOT device manufacturer sets the public key status in the IOT device management contract in the blockchain to an activated state, the method further includes: The IOT device manufacturer obtains the public key status of the IOT device in the IOT device management contract; If the public key status of the IOT device is revoked, the IOT device manufacturer will reissue the key information of the IOT device after confirming that the IOT device is recycled.

4. A blockchain-based IoT device management method, characterized in that: The method is applied to a system architecture, which includes an IOT device manufacturer, a blockchain system and a cloud service provider, including: The cloud service provider obtains the key request information sent by the IOT device manufacturer, which is sent by the IOT device manufacturer after obtaining the request information of the user applying for the IOT device, and the key request information includes the user's profile information and the identification information of the IOT device applied by the user; the IOT device manufacturer and the cloud service provider are located in the same blockchain; The cloud service provider generates key information for the IOT device; The cloud service provider sends the key information of the IOT device to the IOT device manufacturer, so that the IOT device manufacturer sends the key information to the IOT device. The cloud service provider sends the public key to the blockchain node, so that the blockchain node stores the public key through the IOT device management contract, and sets the public key status in the IOT device management contract to the public key generation completion status; the IOT device management contract is used to manage the public key status and life cycle of the IOT device; the IOT device management contract is a map storage structure.

5. The method according to claim 4, characterized in that After the cloud service provider sends the key information of the IOT device to the IOT device manufacturer, the cloud service provider also includes: The cloud service provider obtains the user's deregistration request information, wherein the deregistration request information includes the user's profile information and the identification information of the IOT device to be deregistered; After the cloud service provider verifies the user based on the user's profile information, it revokes the key information of the IOT device to be deregistered based on the identification information of the IOT device to be deregistered, and sets the public key status of the IOT device to be deregistered in the IOT device management contract to a revoked status.

6. A blockchain-based IoT device management device, characterized in that: The device is applied to an IOT device manufacturer, and the IOT device manufacturer is located in a system architecture, and the system architecture also includes a blockchain system and a cloud service provider, including: An acquisition unit, used to acquire request information of a user applying for an IOT device, wherein the request information includes profile information of the user; A sending unit, configured to send key request information to the cloud service provider, wherein the key request information includes the user's profile information and the identification information of the IOT device applied for by the user, so that the cloud service provider generates the key information of the IOT device; the IOT device manufacturer and the cloud service provider are located in the same blockchain; A processing unit is used to send the key information to the IOT device after receiving the key information sent by the cloud service provider, and set the public key status in the IOT device management contract in the blockchain to an activated state, wherein the IOT device management contract is used to manage the public key status and life cycle of the IOT device; the IOT device management contract is a map storage structure.

7. The device according to claim 6, characterized in that The processing unit is also used for: Before obtaining the user's request information for applying for an IOT device, the IOT device management contract is deployed on the blockchain.

8. The device according to any one of claims 6 to 7, characterized in that The processing unit is also used for: After setting the public key status in the IOT device management contract in the blockchain to an activated state, controlling the acquisition unit to acquire the public key status of the IOT device in the IOT device management contract; If the public key status of the IOT device is revoked, the key information of the IOT device is reissued after confirming that the IOT device is recycled.

9. A blockchain-based IoT device management device, characterized in that: The device is applied to a cloud service provider, and the cloud service provider is located in a system architecture, and the system architecture also includes an IOT device manufacturer and a blockchain system, including: An acquisition unit, used to acquire key request information sent by the IOT device manufacturer, wherein the key request information is sent by the IOT device manufacturer after acquiring the request information of the user applying for the IOT device, and the key request information includes the user's profile information and the identification information of the IOT device applied by the user; the IOT device manufacturer and the cloud service provider are located in the same blockchain; A processing unit is used to generate key information of the IOT device; a control sending unit sends the key information of the IOT device to the IOT device manufacturer, so that the IOT device manufacturer sends the key information to the IOT device, and is used to send a public key to a blockchain node, so that the blockchain node stores the public key through an IOT device management contract, and sets the public key status in the IOT device management contract to a public key generation completion status; the IOT device management contract is used to manage the public key status and life cycle of the IOT device; the IOT device management contract is a map storage structure.

10. The device according to claim 9, characterized in that The processing unit is further used for: After sending the key information of the IOT device to the IOT device manufacturer, controlling the acquisition unit to acquire the user's cancellation request information, the cancellation request information including the user's profile information and the identification information of the IOT device to be cancelled; After the user is verified according to the user's profile information, the key information of the IOT device to be deregistered is revoked according to the identification information of the IOT device to be deregistered, and the public key status of the IOT device to be deregistered in the IOT device management contract is set to a revoked status.

11. A computing device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 5 according to the obtained program.

12. A computer-readable non-volatile storage medium, characterized in that: The method comprises computer-readable instructions, and when a computer reads and executes the computer-readable instructions, the computer is caused to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • IoT equipment authentication and key agreement method and device

    CN105162772A

  • Internet of things device registration and authentication method

    CN107919962A

  • Burning verification method and device of Internet of Things device and identity authentication method and device of Internet of Things device

    CN108156126A

  • Data communication method of intelligent equipment, data communication device of intelligent equipment and equipment thereof

    CN108366063A

  • Device lifecycle management system and method based on blockchain technology

    CN108564182A