Internet of things data on-chaining method, apparatus, device and system
By receiving data and trustworthiness verification information of IoT devices in the IoT data winding method and using a matching trustworthiness verification solution for verification, the problem of high resource consumption and cost of data winding in IoT devices is solved, and flexible and efficient data winding is achieved.
Patent Information
- Application Number
- PCT/CN2024/136598
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-12
- Filing Date
- 2024-12-04
- Publication Date
- 2025-06-19
AI Technical Summary
When submitting data from IoT devices to blockchain systems, the resource consumption and cost are too high, and the credibility requirements cannot be flexibly adjusted according to the needs of different scenarios.
It provides a method for data on the Internet of Things data, which can be verified by receiving data and trustworthiness verification information submitted by IoT devices, and then save the data on the blockchain after verification is passed. This method allows IoT devices to generate trustworthiness verification information based on their own needs, and determine corresponding trustworthiness requirements and verification solutions based on device identification and scenario identification.
On the premise of ensuring data credibility, save resources of IoT devices and reduce costs, and achieve flexible and efficient linking of IoT data.
Smart Images

Figure CN2024136598_19062025_PF_FP_ABST
Abstract
Description
Method, device, equipment and system for uploading IoT data to the blockchain
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese Patent Application No. 202311698403.3 filed in China on December 12, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of communication technology, and in particular to a method, device, equipment and system for uploading Internet of Things data to a chain. Background Art
[0004] Information and Communications Technology (ICT) refers to the use of computers, communications equipment, and networking technologies to process and transmit information. ICT is a crucial component of the information society and a fundamental part of modern society. Integrating blockchain with the Internet of Things (IoT) is an effective way to apply ICT. The IoT addresses data collection, while blockchain enables trusted data transmission and sharing.
[0005] In related technologies, when submitting IoT device data to a blockchain system, the data submission process either lacks credibility guarantees or imposes the same credibility requirements on all IoT devices. This can lead to excessively high credibility requirements for IoT devices in certain scenarios, resulting in additional consumption of computing and storage resources, leading to increased resource consumption and costs. Summary of the Invention
[0006] The purpose of the present disclosure is to provide a method, device, equipment and system for uploading IoT data to a blockchain, so as to solve the problems of resource consumption and high cost when submitting IoT device data to a blockchain system in related technologies.
[0007] To achieve the above objectives, in a first aspect, the present disclosure provides a method for uploading IoT data to a blockchain, which is applied to a blockchain node and includes:
[0008] Receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0009] Performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0010] If the credibility verification passes, the first data is saved on the blockchain.
[0011] In some embodiments, before performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, the method further includes:
[0012] Obtaining a device identifier of the IoT device;
[0013] According to the device identification and the correspondence between the IoT device and the credibility requirement, a credibility verification scheme that matches the credibility requirement corresponding to the IoT device is determined.
[0014] In some embodiments, the method further comprises:
[0015] Receiving first information sent by the Internet of Things device;
[0016] Establishing a correspondence between IoT devices and credibility requirements based on the first information;
[0017] Save the correspondence between IoT devices and trustworthiness requirements on the blockchain;
[0018] The first information includes one or more of the following:
[0019] Device identification of IoT devices;
[0020] The scene identifier of the scene where the IoT device is located;
[0021] Credibility requirements;
[0022] Trustworthiness requires verification schemes.
[0023] In some embodiments, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0024] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0025] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0026] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0027] The correspondence between the device identification and the credibility requirement;
[0028] The correspondence between the device identification and the credibility verification scheme;
[0029] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0030] In some embodiments, receiving the first information sent by the IoT device includes:
[0031] Receive a registration request sent by the Internet of Things device, where the registration request includes the first information.
[0032] In some embodiments, saving the correspondence between IoT devices and trustworthiness requirements on a blockchain includes:
[0033] Using smart contracts, the correspondence between the IoT devices and the credibility requirements is written into the blockchain ledger;
[0034] The blockchain ledger is synchronized between blockchain nodes using a consensus mechanism.
[0035] In a second aspect, the present disclosure also provides a method for uploading IoT data to a blockchain, which is applied to IoT devices and includes:
[0036] Generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0037] Submitting the first data and the credibility verification information to a blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0038] In some embodiments, the method further comprises:
[0039] Sending first information to the blockchain node, where the first information is used by the blockchain node to establish a correspondence between the IoT device and the credibility requirement; wherein the first information includes one or more of the following:
[0040] Device identification of IoT devices;
[0041] The scene identifier of the scene where the IoT device is located;
[0042] Credibility requirements;
[0043] Trustworthiness requires verification schemes.
[0044] In some embodiments, the sending the first information to the blockchain node includes:
[0045] Send a registration request to the blockchain node, where the registration request includes the first information.
[0046] In some embodiments, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0047] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0048] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0049] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0050] The correspondence between the device identification and the credibility requirement;
[0051] The correspondence between the device identification and the credibility verification scheme;
[0052] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0053] In a third aspect, the present disclosure also provides an IoT data uplink device, including:
[0054] A first receiving module is configured to receive first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0055] a verification module, configured to perform credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0056] The data chain module is used to save the first data on the blockchain when the credibility verification passes.
[0057] In a fourth aspect, an embodiment of the present disclosure further provides a blockchain node, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
[0058] Receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0059] Performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0060] If the credibility verification passes, the first data is saved on the blockchain.
[0061] In a fifth aspect, an embodiment of the present disclosure further provides a blockchain node, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the method for uploading IoT data to the blockchain as described in the first aspect above is implemented.
[0062] In a sixth aspect, the present disclosure also provides an IoT data uplink device, including:
[0063] A first processing module, configured to generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0064] The first sending module is used to submit the first data and the credibility verification information to the blockchain node, and the first data and the credibility verification information are used for the blockchain node to perform credibility verification; wherein, the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0065] In a seventh aspect, an embodiment of the present disclosure further provides an Internet of Things device, including a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is configured to perform the following operations:
[0066] Generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0067] Submitting the first data and the credibility verification information to a blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0068] In an eighth aspect, an embodiment of the present disclosure further provides an Internet of Things device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the method for uploading Internet of Things data to the chain as described in the second aspect above is implemented.
[0069] In the ninth aspect, the embodiments of the present disclosure also provide a blockchain system, comprising: a blockchain composed of multiple blockchain nodes, wherein the blockchain nodes execute the steps in the method for uploading IoT data to the chain as described in the first aspect above; and an IoT device, wherein the IoT device executes the steps in the method for uploading IoT data to the chain as described in the second aspect above.
[0070] In the tenth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method for uploading IoT data to the chain as described in the first aspect above, or implements the steps in the method for uploading IoT data to the chain as described in the second aspect above.
[0071] In the eleventh aspect, the embodiments of the present disclosure further provide a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in the method for uploading IoT data to the chain as described in the first aspect above, or implement the steps in the method for uploading IoT data to the chain as described in the second aspect above.
[0072] The above technical solution disclosed in the present invention has at least the following beneficial effects:
[0073] In the disclosed embodiment, first data and credibility verification information submitted by an IoT device are received, and the credibility verification information is generated by the IoT device based on its own credibility requirements; a credibility verification scheme is adopted to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirements corresponding to the IoT device; if the credibility verification passes, the first data is saved on the blockchain. In this way, for the IoT device side, since the credibility verification information is generated based on its own credibility requirements, it can save IoT device resources and reduce IoT device costs while ensuring data credibility; the blockchain node side performs credibility verification on the first data and the credibility verification information based on the credibility verification scheme that matches the credibility requirements corresponding to the IoT device, thereby realizing the uploading of IoT data to the chain. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] FIG1 is a schematic diagram showing a flow chart of a method for uploading IoT data to a blockchain according to an embodiment of the present disclosure;
[0075] FIG2 is a second flow chart of the method for uploading IoT data to a blockchain according to an embodiment of the present disclosure;
[0076] FIG3 is a schematic diagram showing a registration process between an IoT device and a blockchain node according to an embodiment of the present disclosure;
[0077] FIG4 is a schematic diagram showing the collection and chain-up process of an IoT device according to an embodiment of the present disclosure;
[0078] FIG5 shows one of the module schematic diagrams of the device for uploading data to the Internet of Things according to an embodiment of the present disclosure;
[0079] FIG6 is a schematic diagram showing the hardware structure of a blockchain node according to an embodiment of the present disclosure;
[0080] FIG7 shows a second module schematic diagram of the device for uploading IoT data to a link according to an embodiment of the present disclosure;
[0081] FIG8 is a schematic diagram showing the hardware structure of an Internet of Things device according to an embodiment of the present disclosure;
[0082] FIG9 is a schematic diagram showing the architecture of a blockchain system according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0083] In order to make the technical problems, technical solutions and advantages to be solved by the present disclosure clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0084] Blockchain is a digital technology for trust transfer, but it doesn't address the question of whether data is trustworthy before it's uploaded to the blockchain. If data is tampered with or corrupted between the time it's collected by IoT sensors and before it's uploaded to the blockchain, even if the data is uploaded to the blockchain for evidence, its trustworthiness cannot be guaranteed.
[0085] In related technologies, IoT devices are often unable to run the full software functions of blockchain nodes due to resource limitations. Resource limitations include:
[0086] (1) Computing resources are insufficient to support the overhead of the blockchain protocol stack;
[0087] (2) Storage resources are insufficient to store the blockchain ledger, or even the block headers used for simple payment verification;
[0088] (3) Network resources are insufficient to support the inter-node transmission required by the blockchain consensus mechanism.
[0089] Therefore, in traditional IoT chain-linking solutions, IoT devices are used as a means of data collection. Although the collected data (possibly through devices such as IoT gateways) is eventually uploaded to the blockchain; however, since IoT devices cannot run the blockchain node protocol stack, traditional IoT chain-linking solutions cannot achieve data credibility that matches or is close to that of the blockchain technology itself.
[0090] To this end, a one-way trust enhancement solution is proposed, that is, the trustworthiness of IoT devices is enhanced towards the blockchain. Specifically:
[0091] (1) IoT device side: The collected data is signed and processed, and then submitted to the blockchain for evidence storage.
[0092] (2) Blockchain side: The blockchain system, or the blockchain system helps the application system to perform operations such as signature verification on the data submitted by the Internet of Things in order to confirm the credibility of the data collected by the Internet of Things.
[0093] However, in related technologies, one-way trust enhancement solutions impose fixed trustworthiness requirements for IoT data on-chain, or, within the same application system, impose the same trustworthiness requirements on all IoT devices on-chain. Due to varying needs in different scenarios, the most comprehensive trustworthiness requirements are not necessarily required. Otherwise, establishing uniform trustworthiness requirements for all IoT devices would introduce significant limitations and waste resources for certain IoT devices. For example, imposing excessively high trustworthiness requirements on IoT devices in certain scenarios would consume additional computing and storage resources, leading to increased resource consumption and costs.
[0094] The requirements for different scenarios can be found in Table 1.
[0095] Table 1
[0096] To address the above-mentioned issues, a method, device, equipment, and system for uploading IoT data to a blockchain are provided. The method and device are based on the same patent application concept. Since the principles of the method and device are similar, the implementation of the device and method can refer to each other, and any repetitions will not be repeated.
[0097] As shown in Figure 1, the present disclosure provides a method for uploading IoT data to a blockchain. The method is applied to a blockchain node, that is, the method is executed by the blockchain node. The method includes:
[0098] Step 101: receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0099] The first data is the raw data collected by the IoT device. It should be noted that due to the varying needs of different scenarios, the corresponding trustworthiness requirements for IoT devices in different scenarios vary. For IoT devices, since trustworthiness verification information is generated based on their own trustworthiness requirements, this can not only ensure data trustworthiness, but also conserve IoT device resources and reduce IoT device costs.
[0100] Step 102: Performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0101] If the credibility verification information is generated by the IoT device using a symmetric key to encrypt the first data, the blockchain node uses the first data and the credibility verification information as input parameters for verification. Specifically, the blockchain node encrypts the first data using the symmetric key and compares the encrypted data with the credibility verification information. If they match, step 103 is executed; otherwise, the first data is discarded.
[0102] If the credibility verification information is generated by the IoT device using the private key in the asymmetric key to encrypt the first data, the blockchain node uses the first data and the credibility verification information as input parameters for verification. Specifically, the blockchain node decrypts the credibility verification information using the public key in the asymmetric key and compares the decrypted data with the first data. If they are identical, step 103 is executed; otherwise, the first data is discarded.
[0103] Step 103: If the credibility verification passes, the first data is saved on the blockchain.
[0104] In an optional embodiment, the first data is stored in a preset shared database, wherein each blockchain node on the blockchain can obtain data from the shared database, thereby enabling synchronization of the first data among blockchain nodes.
[0105] In an optional embodiment, saving the first data on a blockchain specifically includes:
[0106] Using a smart contract to write the first data into the blockchain ledger;
[0107] The consensus mechanism is used to synchronize blockchain ledgers between blockchain nodes.
[0108] This embodiment can fully utilize the functions of the blockchain, thereby achieving the purpose of saving resources and equipment costs.
[0109] In some embodiments, before step 102, the method of the present disclosure further includes:
[0110] Obtaining a device identifier of the IoT device;
[0111] According to the device identification and the correspondence between the IoT device and the credibility requirement, a credibility verification scheme that matches the credibility requirement corresponding to the IoT device is determined.
[0112] That is, the blockchain node pre-establishes a correspondence between IoT devices and credibility requirements. Optionally, the correspondence between IoT devices and credibility requirements includes one of the following:
[0113] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0114] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0115] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0116] The correspondence between the device identification and the credibility requirement;
[0117] The correspondence between the device identification and the credibility verification scheme;
[0118] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0119] In this way, the correspondence between the IoT device and the credibility requirement is queried through the device identification, the credibility requirement corresponding to the IoT device is determined, and a credibility verification scheme matching the credibility requirement is determined based on the credibility requirement.
[0120] Then, the blockchain node establishes a correspondence between the IoT device and the credibility requirement based on the IoT device. In some embodiments, the method of the present disclosure further includes:
[0121] 1) receiving first information sent by the IoT device;
[0122] The first information includes one or more of the following:
[0123] Device identification of IoT devices;
[0124] The scene identifier of the scene where the IoT device is located;
[0125] Credibility requirements;
[0126] Trustworthiness requires verification schemes.
[0127] In an optional embodiment, receiving the first information sent by the IoT device includes:
[0128] Receive a registration request sent by the Internet of Things device, where the registration request includes the first information.
[0129] 2) establishing a correspondence between IoT devices and credibility requirements based on the first information;
[0130] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0131] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0132] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0133] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0134] The correspondence between the device identification and the credibility requirement;
[0135] The correspondence between the device identification and the credibility verification scheme;
[0136] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0137] 3) Save the correspondence between IoT devices and credibility requirements on the blockchain.
[0138] In an optional embodiment, the correspondence between IoT devices and trustworthiness requirements is stored on a blockchain, including:
[0139] Using smart contracts, the correspondence between the IoT devices and the credibility requirements is written into the blockchain ledger;
[0140] The blockchain ledger is synchronized between blockchain nodes using a consensus mechanism.
[0141] This embodiment can fully utilize the functions of the blockchain, thereby achieving the goal of saving resources and equipment costs. It should be noted that when a blockchain node needs to determine a credibility verification scheme, it can use a smart contract to query the blockchain ledger for the correspondence between IoT devices and credibility requirements, thereby determining the credibility requirements corresponding to the IoT device and determining a matching credibility verification scheme based on the credibility requirements.
[0142] This disclosure does not limit the scheme of the correspondence between IoT devices and credibility requirements. Only the following examples are given:
[0143] Device Identifier (ID) – Scenario ID – Credibility Requirements
[0144] Among them, the device ID and scene ID are N:1 mappings, and the scene ID and credibility requirement are 1:1 mappings.
[0145] For example: Smart Thermometer 001 - Comfort Air Conditioning Outlet Room Temperature Monitoring - Trust Level 1 (requires that the submitted data be trustworthy, and allows data loss, duplication, and disorder).
[0146] For example: Smart Belt Scale A - Fuel Usage Monitoring - Trust Level 2 (requires that the submitted data be trustworthy, and does not allow data loss or duplication).
[0147] This mapping method uses scenario IDs to categorize trustworthiness requirements and IoT devices, making maintenance and management easier.
[0148] For example, when a new IoT device needs to be replaced in a certain scenario, it is only necessary to establish a corresponding relationship between (device ID, scenario ID).
[0149] For another example, when the credibility requirement of a certain scenario changes, only one set of correspondences (scenario ID, credibility requirement) needs to be changed, without changing multiple correspondences of N (device ID, scenario ID).
[0150] The method for uploading IoT data to a blockchain in the disclosed embodiment receives first data and credibility verification information submitted by an IoT device, wherein the credibility verification information is generated by the IoT device based on its own credibility requirements; a credibility verification scheme is used to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirements corresponding to the IoT device; if the credibility verification passes, the first data is saved on the blockchain. In this way, for the IoT device side, since the credibility verification information is generated based on its own credibility requirements, while ensuring data credibility, IoT device resources can be saved and IoT device costs can be reduced; the blockchain node side performs credibility verification on the first data and the credibility verification information based on the credibility verification scheme that matches the credibility requirements corresponding to the IoT device, thereby realizing the uploading of IoT data to the blockchain.
[0151] The present disclosure also provides a method for uploading IoT data to a blockchain, which is applied to an IoT device, i.e., the method is executed by the IoT device. The method includes:
[0152] Generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0153] Submitting the first data and the credibility verification information to a blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0154] Optionally, before generating the credibility verification information corresponding to the first data according to the credibility requirement required by the method, the method further includes:
[0155] Acquire first data or generate first data.
[0156] Optionally, obtaining the first data or generating the first data may refer to collecting the first data or generating the first data.
[0157] As shown in FIG2 , the embodiment of the present disclosure further provides a method for uploading IoT data to a blockchain, which is applied to an IoT device, i.e., the method is executed by the IoT device. The method includes:
[0158] Step 201, collecting first data;
[0159] Step 202: Generate credibility verification information corresponding to the first data according to the credibility requirements required by the device;
[0160] Optionally, according to the credibility requirements required by itself, data security processing is performed on the first data to obtain credibility verification information corresponding to the first data.
[0161] It should be understood that different credibility requirements require different data security processing methods. The following examples are as follows:
[0162] Example 1: Trust Level 1
[0163] Feasibility requirements: The submitted data must be credible, and data loss, duplication, and disorder are allowed.
[0164] VER=SIGN(HASH(SampleData))
[0165] Among them, VER: credibility verification information; SIGN: signature algorithm; HASH: hash algorithm; SampleData: sampled original data.
[0166] Example 2: Trust Level 2
[0167] Feasibility requirements: The submitted data must be credible, and data loss, duplication, and disorder are not allowed.
[0168] VER i =SIGN-1(HASH-1(SampleData i ,DataHis i-1 ))
[0169] And DataHis i =SIGN-2(HASH-2(SampleData i ,DataHis i-1 )),as well as
[0170] DataHis0=DH0
[0171] Among them: VER i: Credibility verification information of the i-th collected and reported data; SIGN-1, SIGN-2: both are signature algorithms; HASH-1, HASH-2: both are hash algorithms; SampleData i : The original data collected for the i-th time; DataHis i : After the i-th collection, calculate the verification information of the collection history; DH0: the initial value of DataHis.
[0172] Step 203: Submit the first data and the credibility verification information to the blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the IoT device.
[0173] Here, the blockchain node side performs credibility verification on the first data and the credibility verification information based on a credibility verification scheme that matches the credibility requirements corresponding to the IoT device, thereby realizing the uploading of the IoT data to the chain.
[0174] The method for uploading IoT data to a blockchain in an embodiment of the present disclosure collects first data; generates credibility verification information corresponding to the first data based on its own credibility requirements; submits the first data and the credibility verification information to a blockchain node, and the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the IoT device. In this way, since the credibility verification information is generated based on its own credibility requirements, while ensuring the credibility of the data, it can also save IoT device resources and reduce IoT device costs.
[0175] In some embodiments, the method of the present disclosure further comprises:
[0176] Sending first information to the blockchain node, where the first information is used by the blockchain node to establish a correspondence between the IoT device and the credibility requirement; wherein the first information includes one or more of the following:
[0177] Device identification of IoT devices;
[0178] The scene identifier of the scene where the IoT device is located;
[0179] Credibility requirements;
[0180] Trustworthiness requires verification schemes.
[0181] In an optional embodiment, the sending the first information to the blockchain node includes:
[0182] Send a registration request to the blockchain node, where the registration request includes the first information.
[0183] That is to say, through the registration process between the IoT device and the blockchain node, the relevant information of the IoT device (first information), mainly the credibility requirements or credibility requirement verification scheme corresponding to the IoT device, is reported to the blockchain node, so that the blockchain node can establish a correspondence between the IoT device and the credibility requirements.
[0184] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0185] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0186] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0187] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0188] The correspondence between the device identification and the credibility requirement;
[0189] The correspondence between the device identification and the credibility verification scheme;
[0190] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0191] In some embodiments, before executing step 203, the method of the embodiment of the present disclosure may further include:
[0192] A trustworthy verification scheme is required to register IoT devices with blockchain nodes. This is done to cope with changes in IoT device scenarios or when IoT devices are re-registered, so that blockchain nodes can verify the data submitted by IoT devices in a timely and accurate manner.
[0193] Referring to Figure 3, the following describes the registration process between IoT device 1 and a blockchain node. The registration process between IoT device 2 and a blockchain node is the same and can be simply referred to in Figure 3.
[0194] Step 0: IoT device 1 prepares to enable the device and determines the required trustworthiness requirements;
[0195] Step 1: IoT device 1 initiates a registration request to blockchain node 2. The registration request includes device identification, scenario identification, credibility requirements, etc.
[0196] Step 2: After receiving the registration request, blockchain node 2 establishes a corresponding relationship between the IoT device and the credibility requirement.
[0197] Step 3: Use the consensus mechanism to synchronize the correspondence between IoT devices and trustworthiness requirements on the chain.
[0198] Here, blockchain node 2 is provided with an IoT device registration module, and blockchain node 1 and blockchain node 4 are provided with a receiving verification module.
[0199] It should be noted that to share the load of blockchain nodes, each functional module can be located on different blockchain nodes, or it can be located on the same blockchain node. Even if each functional module is located on different blockchain nodes, the data on the blockchain is shared synchronously through the consensus mechanism.
[0200] Referring to Figure 4 , the following describes the data collection and upload process for IoT device 1. The process for IoT device 2 is the same and can be simply referred to in Figure 4 , which will not be further illustrated.
[0201] Step 1: IoT device 1 collects raw data;
[0202] Step 2: IoT device 1 performs data security processing on the original data based on its own credibility requirements and generates credibility verification information;
[0203] Step 3: IoT device 1 submits the original data and credibility verification information to blockchain node 1;
[0204] Step 4: Blockchain node 1 determines a credibility verification scheme based on the device ID of IoT device 1.
[0205] Here, blockchain node 1 determines the corresponding credibility verification scheme based on the device ID of IoT device 1 by querying the correspondence between IoT devices and credibility requirements.
[0206] Step 5: Use a credibility verification scheme to verify the credibility of the original data and the credibility verification information.
[0207] Step 6: After the feasibility is verified, the consensus mechanism is used to complete the data upload between blockchain nodes.
[0208] The method for uploading IoT data to a blockchain in an embodiment of the present disclosure collects first data; generates credibility verification information corresponding to the first data based on its own credibility requirements; submits the first data and the credibility verification information to a blockchain node, and the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the IoT device. In this way, since the credibility verification information is generated based on its own credibility requirements, while ensuring the credibility of the data, it can also save IoT device resources and reduce IoT device costs.
[0209] As shown in FIG5 , the present disclosure also provides an IoT data uplink device, which includes:
[0210] A first receiving module 501 is configured to receive first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0211] A verification module 502 is configured to perform credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0212] The data chain module 503 is used to save the first data on the blockchain when the credibility verification passes.
[0213] Optionally, the device of the embodiment of the present disclosure further includes:
[0214] An acquisition module, configured to acquire a device identifier of the IoT device;
[0215] The second processing module is configured to determine, based on the device identifier and the correspondence between the IoT device and the credibility requirement, a credibility verification scheme that matches the credibility requirement corresponding to the IoT device.
[0216] Optionally, the device of the embodiment of the present disclosure further includes:
[0217] A second receiving module, configured to receive the first information sent by the IoT device;
[0218] A third processing module is configured to establish a correspondence between IoT devices and credibility requirements based on the first information;
[0219] A storage module is used to store the correspondence between IoT devices and trustworthiness requirements on the blockchain;
[0220] The first information includes one or more of the following:
[0221] Device identification of IoT devices;
[0222] The scene identifier of the scene where the IoT device is located;
[0223] Credibility requirements;
[0224] Trustworthiness requires verification schemes.
[0225] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0226] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0227] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0228] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0229] The correspondence between the device identification and the credibility requirement;
[0230] The correspondence between the device identification and the credibility verification scheme;
[0231] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0232] Optionally, the second receiving module includes:
[0233] A receiving unit is configured to receive a registration request sent by the IoT device, where the registration request includes the first information.
[0234] Optionally, the saving module includes:
[0235] A first processing unit is configured to write the correspondence between the IoT device and the credibility requirement into a blockchain ledger using a smart contract;
[0236] The synchronization unit is used to synchronize the blockchain ledger between blockchain nodes using a consensus mechanism.
[0237] The IoT data chain-up device of the disclosed embodiment receives first data and credibility verification information submitted by an IoT device, wherein the credibility verification information is generated by the IoT device based on its own credibility requirements; adopts a credibility verification scheme to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirements corresponding to the IoT device; if the credibility verification passes, the first data is saved on the blockchain. In this way, since the credibility verification information is generated based on its own credibility requirements, it can save IoT device resources and reduce IoT device costs while ensuring data credibility; based on the credibility verification scheme that matches the credibility requirements corresponding to the IoT device, the first data and the credibility verification information are credibility verified, thereby realizing the chain-up of IoT data.
[0238] To better achieve the above objectives, as shown in FIG6 , an embodiment of the present disclosure further provides a blockchain node, including a processor 600 and a transceiver 610 . The transceiver 610 receives and sends data under the control of the processor 600 . The processor 600 is configured to perform the following process:
[0239] Receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements;
[0240] Performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device;
[0241] If the credibility verification passes, the first data is saved on the blockchain.
[0242] Optionally, the processor 600 is further configured to:
[0243] Obtaining a device identifier of the IoT device;
[0244] According to the device identification and the correspondence between the IoT device and the credibility requirement, a credibility verification scheme that matches the credibility requirement corresponding to the IoT device is determined.
[0245] Optionally, the processor 600 is further configured to:
[0246] Receiving first information sent by the Internet of Things device;
[0247] Establishing a correspondence between IoT devices and credibility requirements based on the first information;
[0248] Save the correspondence between IoT devices and trustworthiness requirements on the blockchain;
[0249] The first information includes one or more of the following:
[0250] Device identification of IoT devices;
[0251] The scene identifier of the scene where the IoT device is located;
[0252] Credibility requirements;
[0253] Trustworthiness requires verification schemes.
[0254] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0255] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0256] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0257] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0258] The correspondence between the device identification and the credibility requirement;
[0259] The correspondence between the device identification and the credibility verification scheme;
[0260] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0261] Optionally, the processor 600 is further configured to:
[0262] Receive a registration request sent by the Internet of Things device, where the registration request includes the first information.
[0263] Optionally, the processor 600 is further configured to:
[0264] Using smart contracts, the correspondence between the IoT devices and the credibility requirements is written into the blockchain ledger;
[0265] The blockchain ledger is synchronized between blockchain nodes using a consensus mechanism.
[0266] The blockchain node of the embodiment of the present disclosure receives first data and credibility verification information submitted by an IoT device, wherein the credibility verification information is generated by the IoT device based on its own credibility requirements; a credibility verification scheme is used to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirements corresponding to the IoT device; if the credibility verification passes, the first data is saved on the blockchain. In this way, since the credibility verification information is generated based on its own credibility requirements, while ensuring the credibility of the data, the IoT device resources can be saved and the IoT device cost can be reduced; based on the credibility verification scheme that matches the credibility requirements corresponding to the IoT device, the first data and the credibility verification information are credibility verified, thereby realizing the uploading of IoT data to the chain.
[0267] The embodiments of the present disclosure also provide a blockchain node, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the embodiment of the method for uploading IoT data to the blockchain as described above are implemented, and the same technical effects can be achieved. To avoid repetition, they will not be described here.
[0268] The present disclosure also provides an IoT data uploading device, including:
[0269] A first processing module, configured to generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0270] The first sending module is used to submit the first data and the credibility verification information to the blockchain node, and the first data and the credibility verification information are used for the blockchain node to perform credibility verification; wherein, the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0271] As shown in FIG7 , the embodiment of the present disclosure further provides an IoT data uplink device, comprising:
[0272] A data acquisition module 701 is configured to acquire first data;
[0273] A first processing module 702 is configured to generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0274] The first sending module 703 is used to submit the first data and the credibility verification information to the blockchain node, and the first data and the credibility verification information are used for the blockchain node to perform credibility verification; wherein, the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0275] Optionally, the device of the embodiment of the present disclosure further includes:
[0276] A second sending module is configured to send first information to the blockchain node, where the first information is used by the blockchain node to establish a correspondence between the IoT device and the credibility requirement; wherein the first information includes one or more of the following:
[0277] Device identification of IoT devices;
[0278] The scene identifier of the scene where the IoT device is located;
[0279] Credibility requirements;
[0280] Trustworthiness requires verification schemes.
[0281] Optionally, the second sending module includes:
[0282] A sending unit is used to send a registration request to the blockchain node, where the registration request includes the first information.
[0283] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0284] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0285] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0286] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0287] The correspondence between the device identification and the credibility requirement;
[0288] The correspondence between the device identification and the credibility verification scheme;
[0289] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0290] The IoT data chain-up device of the disclosed embodiment collects first data; generates credibility verification information corresponding to the first data according to its own credibility requirements; submits the first data and the credibility verification information to a blockchain node, and the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the IoT device. In this way, since the credibility verification information is generated based on its own credibility requirements, it can save IoT device resources and reduce IoT device costs while ensuring data credibility.
[0291] The present disclosure also provides an Internet of Things device, including a processor and a transceiver. The transceiver receives and sends data under the control of the processor. The processor is configured to perform the following process:
[0292] Generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0293] Submitting the first data and the credibility verification information to a blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0294] To better achieve the above objectives, as shown in FIG8 , an embodiment of the present disclosure further provides an IoT device, including a processor 800 and a transceiver 810 . The transceiver 810 receives and sends data under the control of the processor 800 . The processor 800 is configured to perform the following process:
[0295] collecting first data;
[0296] Generate credibility verification information corresponding to the first data according to its own credibility requirements;
[0297] Submitting the first data and the credibility verification information to a blockchain node, where the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
[0298] Optionally, the processor 800 is further configured to:
[0299] Sending first information to the blockchain node, where the first information is used by the blockchain node to establish a correspondence between the IoT device and the credibility requirement; wherein the first information includes one or more of the following:
[0300] Device identification of IoT devices;
[0301] The scene identifier of the scene where the IoT device is located;
[0302] Credibility requirements;
[0303] Trustworthiness requires verification schemes.
[0304] Optionally, the processor 800 is further configured to:
[0305] Send a registration request to the blockchain node, where the registration request includes the first information.
[0306] Optionally, the correspondence between the IoT device and the credibility requirement includes one of the following:
[0307] The correspondence between the device identification of the IoT device, the scenario identification of the scenario in which the IoT device is located, and the trustworthiness requirements;
[0308] The correspondence between the device identifier, the scenario identifier, and the credibility verification scheme;
[0309] The correspondence between the device identifier, the scenario identifier, the credibility requirement, and the credibility verification scheme;
[0310] The correspondence between the device identification and the credibility requirement;
[0311] The correspondence between the device identification and the credibility verification scheme;
[0312] The correspondence between the device identification, the credibility requirement, and the credibility verification scheme.
[0313] The Internet of Things device of the embodiment of the present disclosure collects first data; generates credibility verification information corresponding to the first data according to the credibility requirements required by itself; submits the first data and the credibility verification information to a blockchain node, and the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device. In this way, since the credibility verification information is generated based on the credibility requirements required by itself, it can save Internet of Things device resources and reduce Internet of Things device costs while ensuring data credibility.
[0314] The embodiment of the present disclosure also provides an Internet of Things device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the embodiment of the Internet of Things data link method as described above are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.
[0315] Referring to Figure 9, an embodiment of the present disclosure also provides a blockchain system, including: a blockchain composed of multiple blockchain nodes, wherein the blockchain nodes execute the steps in the method for uploading IoT data to the chain shown in Figure 1 above; and an IoT device, wherein the IoT device executes the steps in the method for uploading IoT data to the chain shown in Figure 2 above.
[0316] For example, IoT devices include IoT device 1 and IoT device 2. IoT device 1 has an on-chain submission module A, while IoT device 2 has an on-chain submission module B. That is, IoT device 1 and IoT device 2 deploy different versions of the on-chain submission module, version A and version B, respectively, to meet the on-chain credibility requirements of these devices. Furthermore, when the devices are deployed within the system, they must register with blockchain node 2.
[0317] The blockchain includes blockchain node 1, blockchain node 2, blockchain node 3 and blockchain node 4; among them, blockchain node 2 is equipped with an IoT device registration module, and blockchain node 1 and blockchain node 4 deploy a set of receiving verification modules to support multiple credibility verification schemes.
[0318] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program implements the various processes in the above-mentioned embodiment of the method for uploading IoT data to a chain, and can achieve the same technical effect. To avoid repetition, the details are not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0319] The embodiments of the present disclosure also provide a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes in the embodiment of the method for uploading IoT data to the chain as described above are implemented, and the same technical effects can be achieved. To avoid repetition, they will not be described here.
[0320] Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Thus, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to magnetic disk storage and optical storage) containing computer-usable program code.
[0321] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 produce a device for implementing the functions specified in one or more processes and / or one or more boxes in the flowchart.
[0322] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.
[0323] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device performs a series of operating steps to produce computer-implemented processing, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0324] The above is a preferred embodiment of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present disclosure. These improvements and modifications should also be regarded as within the scope of protection of the present disclosure.
Claims
1. A method for uploading IoT data to a blockchain, applied to a blockchain node, the method comprising: Receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements; Adopting a credibility verification scheme to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirement corresponding to the Internet of Things device; If the credibility verification passes, the first data is saved on the blockchain.
2. The method according to claim 1, wherein: Before performing credibility verification on the first data and the credibility verification information using a credibility verification scheme, the method further includes: Obtaining a device identifier of the IoT device; According to the device identification and the corresponding relationship between the Internet of Things device and the credibility requirement, a credibility verification scheme matching the credibility requirement corresponding to the Internet of Things device is determined.
3. The method according to claim 1, further comprising: Receiving first information sent by the Internet of Things device; According to the first information, a corresponding relationship between the IoT device and the credibility requirement is established; The correspondence between IoT devices and trustworthiness requirements is saved on the blockchain; The first information includes one or more of the following: Device identification of IoT devices; The scene identifier of the scene where the IoT device is located; Credibility requirements; Trustworthiness requires verification schemes.
4. The method according to claim 2 or 3, wherein: The correspondence between the IoT device and the credibility requirement includes one of the following: The correspondence between the device identification of the IoT device, the scenario identification of the scenario where the IoT device is located, and the credibility requirements; The correspondence between the device identifier, the scenario identifier and the credibility verification scheme; The correspondence between the device identification, the scenario identification, the credibility requirement and the credibility verification scheme; The correspondence between the device identification and the credibility requirement; The correspondence between the device identification and the credibility verification scheme; The correspondence between the device identification, the credibility requirement and the credibility verification scheme.
5. The method according to claim 3, wherein: The receiving the first information sent by the IoT device includes: A registration request sent by the Internet of Things device is received, where the registration request includes the first information.
6. The method according to claim 3, wherein: The corresponding relationship between the IoT device and the credibility requirement is saved on the blockchain, including: Using smart contracts, the corresponding relationship between the IoT devices and the credibility requirements is written into the blockchain ledger; The blockchain ledger is synchronized between blockchain nodes using a consensus mechanism.
7. A method for uploading IoT data to a blockchain, applied to IoT devices, the method comprising: Generate credibility verification information corresponding to the first data according to the credibility requirements required by itself; Submit the first data and the credibility verification information to the blockchain node, and the first data and the credibility verification information are used for the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
8. The method according to claim 7, further comprising: Sending first information to the blockchain node, where the first information is used by the blockchain node to establish a corresponding relationship between the IoT device and the credibility requirement; wherein the first information includes one or more of the following: Device identification of IoT devices; The scene identifier of the scene where the IoT device is located; Credibility requirements; Trustworthiness requires verification schemes.
9. The method according to claim 8, wherein: The sending the first information to the blockchain node includes: Send a registration request to the blockchain node, where the registration request includes the first information.
10. The method according to claim 8, wherein: The correspondence between the IoT device and the credibility requirement includes one of the following: The correspondence between the device identification of the IoT device, the scenario identification of the scenario where the IoT device is located, and the credibility requirements; The correspondence between the device identifier, the scenario identifier and the credibility verification scheme; The correspondence between the device identification, the scenario identification, the credibility requirement and the credibility verification scheme; The correspondence between the device identification and the credibility requirement; The correspondence between the device identification and the credibility verification scheme; The correspondence between the device identification, the credibility requirement and the credibility verification scheme.
11. An IoT data uplink device, comprising: A first receiving module, configured to receive first data and credibility verification information submitted by an IoT device, wherein the credibility verification information is generated by the IoT device based on its own credibility requirements; A verification module, configured to perform credibility verification on the first data and the credibility verification information using a credibility verification scheme, wherein the credibility verification scheme matches the credibility requirement corresponding to the IoT device; The data upload module is used to save the first data on the blockchain when the credibility verification passes.
12. A blockchain node, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, wherein: The processor is configured to perform the following operations: Receiving first data and credibility verification information submitted by an IoT device, where the credibility verification information is generated by the IoT device based on its own credibility requirements; Adopting a credibility verification scheme to perform credibility verification on the first data and the credibility verification information, wherein the credibility verification scheme matches the credibility requirement corresponding to the Internet of Things device; If the credibility verification passes, the first data is saved on the blockchain.
13. A blockchain node, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the method for uploading Internet of Things data to the blockchain as described in any one of claims 1 to 6 is implemented.
14. An IoT data uplink device, comprising: A first processing module, used for generating credibility verification information corresponding to the first data according to its own credibility requirements; The first sending module is used to submit the first data and the credibility verification information to the blockchain node, and the first data and the credibility verification information are used for the blockchain node to perform credibility verification; wherein the credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
15. An Internet of Things device, comprising a processor and a transceiver, wherein the transceiver receives and sends data under the control of the processor, and the processor is used to perform the following operations: Generate credibility verification information corresponding to the first data according to the credibility requirements required by itself; Submitting the first data and the credibility verification information to a blockchain node, wherein the first data and the credibility verification information are used by the blockchain node to perform credibility verification; wherein, The credibility verification scheme adopted by the blockchain node for credibility verification matches the credibility requirements corresponding to the Internet of Things device.
16. An Internet of Things device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the method for uploading Internet of Things data to a chain as described in any one of claims 7 to 10 is implemented.
17. A blockchain system, comprising: A blockchain composed of multiple blockchain nodes, wherein the blockchain nodes execute the steps in the method for uploading IoT data to a blockchain as described in any one of claims 1 to 6; as well as, An Internet of Things device, wherein the Internet of Things device executes the steps in the method for uploading Internet of Things data to a chain as described in any one of claims 7 to 10.
18. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the method for uploading Internet of Things data to a chain as described in any one of claims 1 to 6, or implements the steps in the method for uploading Internet of Things data to a chain as described in any one of claims 7 to 10.
19. A computer program product, comprising computer instructions, which, when executed by a processor, implement the steps in the method for uploading Internet of Things data to a chain as described in any one of claims 1 to 6, or implement the steps in the method for uploading Internet of Things data to a chain as described in any one of claims 7 to 10.
Citation Information
Patent Citations
Multi-level identity authentication method for Internet of Things system
CN113746632A
Internet of Things data management method and system based on block chain technology
CN114465729A
Internet of Things data uplink method and system based on terminal equipment
CN115550376A
Internet of Things security authentication method, device, system, equipment and medium
CN116471114A
Secure communication using blockchain technology
US20220094692A1