CN114500588B - Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain - Google Patents

Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain Download PDF

Info

Publication number
CN114500588B
CN114500588B CN202111535414.0A CN202111535414A CN114500588B CN 114500588 B CN114500588 B CN 114500588B CN 202111535414 A CN202111535414 A CN 202111535414A CN 114500588 B CN114500588 B CN 114500588B
Authority
CN
China
Prior art keywords
internet
things
terminal
characteristic value
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111535414.0A
Other languages
Chinese (zh)
Other versions
CN114500588A (en
Inventor
张森
程希冀
赵刚
滕海明
周丹丹
罗骁
陈柏臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Vastchain Technology Co ltd
Original Assignee
Hangzhou Vastchain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Vastchain Technology Co ltd filed Critical Hangzhou Vastchain Technology Co ltd
Priority to CN202111535414.0A priority Critical patent/CN114500588B/en
Publication of CN114500588A publication Critical patent/CN114500588A/en
Application granted granted Critical
Publication of CN114500588B publication Critical patent/CN114500588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a system for verifying cloud data by an Internet of things terminal based on a blockchain, wherein the system comprises the Internet of things terminal, a blockchain network and a cloud data server, and the Internet of things terminal is used for setting a data verification height N and an active verification time interval T; initiating a registration request to a blockchain network by utilizing characteristic value information of an Internet of things terminal; the block chain network is used for generating a digital certificate according to the characteristic value information of the terminal of the Internet of things after receiving a registration request of the terminal of the Internet of things and sending the digital certificate information to the terminal of the Internet of things; after the data is collected by the terminal of the Internet of things, the data information is signed through the digital certificate and then uploaded to the blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to the cloud data server through the intelligent contract, a transaction is completed, and the data is stored in the cloud data server.

Description

Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain
Technical Field
The invention belongs to the technical field of blockchains, and particularly relates to a method and a system for verifying cloud data by an Internet of things terminal based on a blockchain.
Background
The internet of things (Internet of things, ioT) is to collect various information in real time through various equipment terminals, so that ubiquitous connection of objects and people is realized, and intelligent perception, identification and management of objects and processes are realized. With development of cloud service technology, most IoT systems currently use cloud services to provide storage, that is, data collected by an internet of things terminal is transmitted to a cloud end through a specific network, and the data is stored in the cloud end.
Blockchain is a novel application mode of a distributed ledger wall technology, which utilizes computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The blockchain has the characteristics of decentralization, openness, autonomy, non-tamperability of information, anonymity and the like. Currently, with the continuous development of society, based on the characteristics of blockchain, the problem of safety of the system data of the internet of things is also more and more focused by utilizing the blockchain technology.
However, the existing internet of things system lacks a mechanism for mutual trust between cloud storage and terminal equipment, and between the terminal equipment and the terminal equipment, all internet of things terminals unconditionally trust data of a cloud center, and once a cloud database is tampered or collapsed, the terminal equipment has no sense of slave, and huge damage is caused to the whole internet of things system.
Disclosure of Invention
In view of the technical problems, the invention provides a method and a system for verifying cloud data of an Internet of things terminal based on a blockchain.
In order to solve the technical problems, the invention adopts the following technical scheme:
the first aspect of the embodiment of the invention provides a method for verifying cloud data by an internet of things terminal based on a blockchain, which comprises the following steps:
setting a data verification height N and an active verification time interval T on an Internet of things terminal; the method comprises the steps that an internet of things terminal initiates a registration request to a blockchain network by utilizing characteristic value information of the internet of things terminal;
after receiving the request, the blockchain network generates a digital certificate according to the characteristic value information of the terminal of the Internet of things, and sends the digital certificate information to the terminal of the Internet of things;
after the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails;
the terminal of the Internet of things reserves the latest characteristic value information of N blocks;
after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
In one possible design of the first aspect, the feature value information of the terminal of the internet of things includes at least one of MAC address information, vendor information, or IP information.
In one possible arrangement of the first aspect, the digital certificate is generated using an encryption algorithm.
In one possible design of the first aspect, the reserving, by the terminal of the internet of things, the latest characteristic value information of the N blocks includes: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
In one possible design of the first aspect, the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed.
A second aspect of the embodiments of the present invention provides a system for verifying cloud data by a blockchain-based internet of things terminal, comprising an internet of things terminal, a blockchain network and a cloud data server,
the internet of things terminal is used for setting a data verification height N and an active verification time interval T; initiating a registration request to a blockchain network by utilizing characteristic value information of an Internet of things terminal;
the block chain network is used for generating a digital certificate according to the characteristic value information of the terminal of the Internet of things after receiving a registration request of the terminal of the Internet of things and sending the digital certificate information to the terminal of the Internet of things;
after the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails;
the terminal of the Internet of things reserves the latest characteristic value information of N blocks;
after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
In one possible design of the second aspect, the feature value information of the terminal of the internet of things includes at least one of MAC address information, vendor information, or IP information.
In one possible design of the second aspect, the digital certificate is generated using an encryption algorithm.
In one possible design of the second aspect, the reserving, by the terminal of the internet of things, the latest characteristic value information of the N blocks includes: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
In one possible design of the second aspect, the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed.
The invention has the following beneficial effects: according to the technical scheme, the internet of things terminal is used as the verification node, so that the internet of things terminal can collect transmission data and can verify whether data stored in the cloud is tampered or not.
Drawings
Fig. 1 is a schematic system architecture diagram of a blockchain-based internet of things terminal verifying cloud data.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention discloses a method for verifying cloud data by an Internet of things terminal based on a blockchain, which comprises the following steps:
setting a data verification height N and an active verification time interval T on an Internet of things terminal; the method comprises the steps that an internet of things terminal initiates a registration request to a blockchain network by utilizing characteristic value information of the internet of things terminal;
the characteristic value information of the terminal of the Internet of things comprises at least one of MAC address information, manufacturer information and IP information, and is used for uniquely representing the identity of the terminal of the Internet of things.
After receiving the request, the blockchain network generates a digital certificate according to the characteristic value information of the terminal of the Internet of things, the digital certificate is generated by using an encryption algorithm, and the digital certificate information is sent to the terminal of the Internet of things; typical encryption algorithms are RSA, DSA, SM2, etc.
After the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails;
the terminal of the Internet of things reserves the latest characteristic value information of N blocks;
after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
According to the method for verifying cloud data by the block chain-based internet of things terminal, the internet of things terminal is not only responsible for collecting data, but also stores the latest characteristic value information of N blocks. According to the characteristic value information of the blocks, verification of cloud data can be initiated according to the set verification triggering conditions, whether the cloud data are tampered or not is checked, so that the internet of things terminal has the function of a verification node, and the credibility of data storage is greatly improved.
In an embodiment of the present invention, the reserving, by the terminal of the internet of things, the latest characteristic value information of the N blocks includes: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
In one embodiment of the present invention, the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed.
The logic of the above verification is: if a transaction Ti of the historical data changes, assuming that the block height where the transaction Ti is located is i, it can be known according to the Merkle Tree algorithm that the characteristic value information Mi of the block where the transaction Ti is located will change. Since the block characteristic value information includes the characteristic value information of the previous block, the characteristic value information of the block i+1 will also change, and so on, from the i blocks, the characteristic value information of the blocks i+1, i+2, i+3 up to the latest height LH will change. Therefore, the safety of the cloud data can be detected by comparing the characteristic value information of the HL-1, HL-2, … … and HL-N+1 blocks of the cloud with the characteristic value information on the terminal equipment, and whether the cloud data is tampered or not can be identified.
Referring to fig. 1, the embodiment of the invention provides a system for verifying cloud data by using a blockchain-based internet of things terminal, which comprises the internet of things terminal, a blockchain network and a cloud data server, wherein the internet of things terminal is used for setting a data verification height N and an active verification time interval T; initiating a registration request to a blockchain network by utilizing characteristic value information of an Internet of things terminal; the block chain network is used for generating a digital certificate according to the characteristic value information of the terminal of the Internet of things after receiving a registration request of the terminal of the Internet of things, generating the digital certificate by using an encryption algorithm and sending the digital certificate information to the terminal of the Internet of things; after the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails; the terminal of the Internet of things reserves the latest characteristic value information of N blocks; after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
The characteristic value information of the terminal of the Internet of things comprises at least one of MAC address information, manufacturer information or IP information, and is used for uniquely representing the identity of the terminal of the Internet of things.
In an embodiment of the present invention, the reserving, by the terminal of the internet of things, the latest characteristic value information of the N blocks includes: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
In one embodiment of the present invention, the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed. Taking a webcam as an example.
In a specific application example, the internet of things terminal includes, but is not limited to, various sensor devices, a network monitoring camera, and the like. Taking a network monitoring camera as an example, when the network monitoring camera leaves a factory, a registration request is initiated to a blockchain network by utilizing characteristic value information (MAC address information, manufacturer information, IP information and the like) of the network monitoring camera; after the blockchain network receives the request, generating a digital certificate which accords with the blockchain network specification according to the characteristic value information of the network monitoring camera, and sending the digital certificate information to the network monitoring camera; after the network monitoring camera has the digital certificate, the collected data can be uploaded to a blockchain network by utilizing the digital certificate, the blockchain network verifies whether the digital certificate information is true and credible, if true, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to an Internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails; the terminal of the Internet of things reserves the latest characteristic value information of N blocks; after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
It should be understood that the exemplary embodiments described herein are illustrative and not limiting. Although one or more embodiments of the present invention have been described with reference to the accompanying drawings, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims (10)

1. The method for verifying cloud data by using the terminal of the Internet of things based on the blockchain is characterized by comprising the following steps of:
setting a data verification height N and an active verification time interval T on an Internet of things terminal; the method comprises the steps that an internet of things terminal initiates a registration request to a blockchain network by utilizing characteristic value information of the internet of things terminal;
after receiving the request, the blockchain network generates a digital certificate according to the characteristic value information of the terminal of the Internet of things, and sends the digital certificate information to the terminal of the Internet of things;
after the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails;
the terminal of the Internet of things reserves the latest characteristic value information of N blocks;
after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
2. The method for verifying cloud data by using the blockchain-based internet of things terminal according to claim 1, wherein the characteristic value information of the internet of things terminal comprises at least one of MAC address information, vendor information or IP information.
3. The method for verifying cloud data by using a blockchain-based internet of things terminal according to claim 1, wherein the digital certificate is generated by using an encryption algorithm.
4. The method for verifying cloud data by using a blockchain-based internet of things terminal according to any one of claims 1 to 3, wherein the method for reserving the latest characteristic value information of N blocks by using the internet of things terminal comprises: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
5. The method for verifying cloud data by using a blockchain-based internet of things terminal according to any one of claims 1 to 3, wherein the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed.
6. A system for verifying cloud data by an Internet of things terminal based on a blockchain is characterized by comprising the Internet of things terminal, a blockchain network and a cloud data server,
the internet of things terminal is used for setting a data verification height N and an active verification time interval T; initiating a registration request to a blockchain network by utilizing characteristic value information of an Internet of things terminal;
the block chain network is used for generating a digital certificate according to the characteristic value information of the terminal of the Internet of things after receiving a registration request of the terminal of the Internet of things and sending the digital certificate information to the terminal of the Internet of things;
after the data is collected by the internet of things terminal, the data information is signed through a digital certificate and then uploaded to a blockchain network, the blockchain network verifies whether the digital certificate information is authentic or not, if so, the data is transmitted to a cloud data server through an intelligent contract to complete a transaction, the data is stored in the cloud data server, new block information is generated, and the newly generated block characteristic value information and the latest block height LH are sent to the internet of things terminal; if the digital certificate is not authentic, the transaction is abandoned, and the uplink fails;
the terminal of the Internet of things reserves the latest characteristic value information of N blocks;
after the height of the newly added block is larger than N, in the process of data acquisition and uplink, the terminal of the Internet of things initiates data verification at intervals of T according to a set verification interval of T; if the verification is not passed, the terminal of the Internet of things terminates the collection and the uplink of the data and sends out alarm information.
7. The system for validating cloud data of a blockchain-based internet of things terminal of claim 6, wherein the characteristic value information of the internet of things terminal includes at least one of MAC address information, vendor information or IP information.
8. The system for validating cloud data of a blockchain-based internet of things terminal of claim 6, wherein the digital certificate is generated using an encryption algorithm.
9. The system for verifying cloud data by using a blockchain-based internet of things terminal according to any one of claims 6 to 8, wherein the internet of things terminal retains the latest characteristic value information of N blocks, which includes: after the terminal of the Internet of things obtains the latest block height and characteristic value information, comparing the sizes of LH and N; when LH < N, the terminal of the Internet of things updates the latest block height and stores the corresponding block characteristic value information; when LH > N, the terminal of the Internet of things updates the latest block height and stores the corresponding characteristic value information, and simultaneously deletes the characteristic value information of the block with the height of LH-N.
10. The system for verifying cloud data by using a blockchain-based internet of things terminal according to any one of claims 6 to 8, wherein the data verification process is as follows:
the method comprises the steps that an Internet of things terminal obtains characteristic value information of LH-1, LH-2 and … … and LH-N+1 blocks in a cloud;
comparing the characteristic value information corresponding to the heights of all the blocks stored in the terminal of the Internet of things, if the characteristic value information is inconsistent, indicating that the data on the chain is tampered, and at the moment, the terminal of the Internet of things stops the acquisition and the uplink of the data and sends out alarm information; if the acquired block characteristic value information of the cloud is consistent with the information of the terminal, the verification is passed.
CN202111535414.0A 2021-12-15 2021-12-15 Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain Active CN114500588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111535414.0A CN114500588B (en) 2021-12-15 2021-12-15 Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111535414.0A CN114500588B (en) 2021-12-15 2021-12-15 Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain

Publications (2)

Publication Number Publication Date
CN114500588A CN114500588A (en) 2022-05-13
CN114500588B true CN114500588B (en) 2023-09-19

Family

ID=81494260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111535414.0A Active CN114500588B (en) 2021-12-15 2021-12-15 Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain

Country Status (1)

Country Link
CN (1) CN114500588B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116843353B (en) * 2023-02-15 2024-02-02 厦门智康力奇数字科技有限公司 Agricultural product traceability system and method based on blockchain and Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN110599321A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Tax data processing method, device, server and storage medium
CN111475859A (en) * 2020-04-08 2020-07-31 珠海复旦创新研究院 Data sharing and database asynchronous verifiable query method, system and equipment based on block chain technology
CN111740989A (en) * 2020-06-19 2020-10-02 大连理工大学 Block chain-oriented Internet of things chip lightweight data encryption method
CN111797086A (en) * 2020-07-03 2020-10-20 杭州复杂美科技有限公司 Data clipping method, device and storage medium
CN111970299A (en) * 2020-08-26 2020-11-20 上海和数软件有限公司 Block chain-based distributed Internet of things equipment identity authentication device and method
KR20210073724A (en) * 2019-12-11 2021-06-21 상명대학교 천안산학협력단 Smart contract-based security system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10922692B2 (en) * 2017-04-05 2021-02-16 Samsung Sds Co., Ltd. Method for calculating confirmation reliability for blockchain based transaction and blockchain network monitoring system for performing the method
WO2020171046A1 (en) * 2019-02-20 2020-08-27 Panasonic Intellectual Property Corporation Of America Image encoder and image decoder
US20200364817A1 (en) * 2019-05-17 2020-11-19 UCOT Holdings Pty Ltd Machine type communication system or device for recording supply chain information on a distributed ledger in a peer to peer network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN110599321A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Tax data processing method, device, server and storage medium
KR20210073724A (en) * 2019-12-11 2021-06-21 상명대학교 천안산학협력단 Smart contract-based security system and method
CN111475859A (en) * 2020-04-08 2020-07-31 珠海复旦创新研究院 Data sharing and database asynchronous verifiable query method, system and equipment based on block chain technology
CN111740989A (en) * 2020-06-19 2020-10-02 大连理工大学 Block chain-oriented Internet of things chip lightweight data encryption method
CN111797086A (en) * 2020-07-03 2020-10-20 杭州复杂美科技有限公司 Data clipping method, device and storage medium
CN111970299A (en) * 2020-08-26 2020-11-20 上海和数软件有限公司 Block chain-based distributed Internet of things equipment identity authentication device and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
区块链技术的应用前景与挑战:基于信息保真的视角;高杰;霍红;张晓庆;;中国科学基金(01);全文 *

Also Published As

Publication number Publication date
CN114500588A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN110535970B (en) Evidence storing and processing method, device, equipment and medium of judicial chain
CN107016056B (en) Distributed storage system and method for large-volume heterogeneous sensing data in Internet of things
CN110602214B (en) Evidence storing and processing method, device, equipment and medium of judicial chain
CN110506413A (en) For network equipment safety and trust the determining system and method for score
CN112800129B (en) Block state updating method, device, system and electronic equipment
CN114500588B (en) Method and system for verifying cloud data by using IOT (Internet of things) terminal based on blockchain
CN112351119B (en) Probability-based block chain transaction originating IP address determination method and device
CN112929845B (en) Vehicle networking node trust evaluation method and system based on block chain
WO2018112869A1 (en) Alarm synchronization method and system
CN111401844A (en) Data sharing cooperative office method and data sharing platform based on Internet of things
CN114630201B (en) Operation and maintenance control system and method for data machine room
US8819438B2 (en) Method and device for issuing a digital residence certificate
CN113067802B (en) User identification method, device, equipment and computer readable storage medium
CN112769916B (en) High-synchronization concurrent group control method, system and storage medium for smart community
CN110888892B (en) Block synchronization method, device and storage medium
CN113067710A (en) Online user query method and device, computer equipment and storage medium
CN114745616B (en) Underground heat information remote monitoring and early warning system and method
CN113938314B (en) Method and device for detecting encrypted traffic and storage medium
CN114844892A (en) Industrial Internet identification intercommunication method and system based on block chain
CN109361716B (en) Method and device for acquiring IP address, terminal equipment and storage medium
CN112804357B (en) Method and device for reading data in cross-link mode based on relay equipment network
CN114422227A (en) Data acquisition and analysis system based on network security
CN102195842B (en) Method for organizing virtual sensing network
CN117354062B (en) Management system of application platform of Internet of things
CN110311941B (en) Industrial vehicle chain construction method based on edge calculation and data synchronization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant