WO2023065467A1 - 一种区块链与物联网协同工作方法 - Google Patents

一种区块链与物联网协同工作方法 Download PDF

Info

Publication number
WO2023065467A1
WO2023065467A1 PCT/CN2021/134241 CN2021134241W WO2023065467A1 WO 2023065467 A1 WO2023065467 A1 WO 2023065467A1 CN 2021134241 W CN2021134241 W CN 2021134241W WO 2023065467 A1 WO2023065467 A1 WO 2023065467A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
internet
iot
things
data
Prior art date
Application number
PCT/CN2021/134241
Other languages
English (en)
French (fr)
Inventor
汪洋
曹春峰
柴荔
赵滨
Original Assignee
中诚区块链研究院(南京)有限公司
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 中诚区块链研究院(南京)有限公司 filed Critical 中诚区块链研究院(南京)有限公司
Publication of WO2023065467A1 publication Critical patent/WO2023065467A1/zh

Links

Images

Classifications

    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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
    • 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

Definitions

  • the invention relates to the field of data network technology, in particular to a collaborative working method of a block chain and the Internet of Things.
  • a blockchain block is defined as a data set that has a certain trust mechanism and can perform read or write operations.
  • the blockchain block stores transaction confirmation, contracts, storage, replication, security, and other related information. .
  • the Internet of Things refers to the real-time collection of any object or process that needs to be monitored, connected, and interacted, and its sound, Various required information such as light, heat, electricity, mechanics, chemistry, biology, and location can be connected through various possible networks to realize the ubiquitous connection between things and things, and between things and people, and realize the intelligence of things and processes Perceive, identify and manage.
  • the Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.
  • the IoT network and business platform need a new system expansion solution ;
  • the global IoT platform lacks unified technical standards and interfaces, which hinders the communication between multiple IoT devices and produces multiple competitive standards and platforms; in terms of inter-network collaboration, currently, Many IoTs are self-organizing networks within operators and enterprises. The cost of establishing credit is high when it comes to collaboration across multiple operators and between multiple peers. Making the blockchain and the Internet of Things work together can solve the above problems, but how to make the blockchain and the Internet of Things work together is a problem that continues to be solved.
  • the purpose of the present invention is to provide a method for the collaborative work of the blockchain and the Internet of Things, so that the blockchain and the Internet of Things can work together to form the blockchain of the Internet of Things, which is a decentralized business platform, and the blockchain of the Internet of Things supports IoT entities cooperate with each other in a decentralized mode, and one or more IoT blockchain nodes and decentralized applications can be deployed on one IoT entity to solve the problems raised in the above-mentioned background technology.
  • the present invention provides the following technical solutions:
  • a collaborative work method between blockchain and the Internet of Things including:
  • the IoT server, the IoT service gateway and the IoT access gateway are used as the nodes of the blockchain to form the IoT blockchain;
  • the Internet of Things blockchain identifies the IoT devices according to the identification process, and communicates with the nodes on the Internet of Things blockchain for the IoT devices that have passed the identification;
  • the block chain of the Internet of Things performs identity verification on the Internet of Things device according to the identification process including:
  • an incentive bonus is issued to the corresponding data provider according to the data being traded.
  • the incentive bonus value is calculated by a bonus calculation formula, and the bonus calculation formula is:
  • the bonus weight value is calculated by the weight calculation formula, and the weight calculation formula is:
  • M is the total value of the bonus
  • d is the number of data points
  • n is the number of data points contained in the transaction data sheet
  • w i is the weight value of the bonus
  • QA(Si) is the quality attribute value of the data point
  • p is the total number of people collecting data on that day.
  • the IoT device regularly queries the nodes contained in the known node information list in the IoT blockchain by means of polling and step-by-step query;
  • the blockchain IoT device updates the queried nodes in the IoT blockchain to the node awareness list maintained by the IoT device.
  • the blockchain IoT device updates the nodes in the IoT blockchain queried to the node awareness list maintained by the IoT device, including:
  • the Internet of Things devices conduct connection tests with the nodes in each of the queried Internet of Things blockchains, and record the connection time of each node in the Internet of Things blockchains;
  • the node-aware list is updated with the sorted nodes in the IoT blockchain.
  • the weight calculation formula is:
  • T k is the connection consumption time measured for the kth time of the node in the IoT blockchain.
  • T k is the blockchain IoT
  • the timeout time for the device to establish a connection with the blockchain network node, w is the proportion of the connection consumption time in the calculation formula, 0 ⁇ w ⁇ 1; the calculated The value of is the weight value of the blockchain network node.
  • the Internet of Things device receives the node information list returned by any node in the block chain of the Internet of Things, the Internet of Things in the node information list
  • the nodes in the blockchain are de-duplicated to remove the nodes that coincide with the nodes in the queried IoT blockchain.
  • the invention enables the blockchain and the Internet of Things to work together to form the Internet of Things blockchain, which is a decentralized business platform.
  • the Internet of Things blockchain supports mutual cooperation between IoT entities in a decentralized mode.
  • One or more IoT blockchain nodes and decentralized applications can be deployed on connected entities;
  • Device security identity rights management and multi-party consensus help to identify illegal nodes and prevent malicious nodes from accessing and doing evil in a timely manner;
  • Inter-network collaboration The distributed architecture of the blockchain and the characteristics of subject equivalence help break the shackles of multiple existing information islands in the Internet of Things, establish mutual trust at low cost, and promote the horizontal flow of information and inter-network collaboration.
  • Fig. 1 is a schematic flow chart of an embodiment of the present invention
  • Fig. 2 is a schematic flow chart of another embodiment of the present invention.
  • Fig. 3 is a schematic diagram of the overall architecture of the present invention.
  • this embodiment provides a blockchain and Internet of Things collaborative working method, including:
  • the IoT server, the IoT service gateway and the IoT access gateway are used as the nodes of the blockchain to form the IoT blockchain;
  • the Internet of Things blockchain identifies the IoT devices according to the identification process, and communicates with the nodes on the Internet of Things blockchain for the IoT devices that have passed the identification;
  • the identification of the Internet of Things devices includes:
  • this embodiment provides a blockchain and Internet of Things collaborative working method, including:
  • the IoT server, the IoT service gateway and the IoT access gateway are used as the nodes of the blockchain to form the IoT blockchain;
  • the Internet of Things blockchain identifies the IoT devices according to the identification process, and communicates with the nodes on the Internet of Things blockchain for the IoT devices that have passed the identification;
  • the identification of the Internet of Things devices includes:
  • the IoT device regularly queries the nodes contained in the known node information list in the IoT blockchain by means of polling and level-by-level query;
  • the IoT device After the IoT device receives the node information list returned by any node in the IoT blockchain, it performs deduplication processing on the nodes in the IoT blockchain in the node information list to remove the queried IoT Nodes in the blockchain where nodes coincide
  • the blockchain IoT device updates the queried nodes in the IoT blockchain to the node awareness list maintained by the IoT device.
  • the Internet of Things device is connected to the node in each of the queried Internet of Things blockchains, and the connection time of each node in the Internet of Things blockchain is recorded;
  • the weight calculation formula is:
  • T k is the connection consumption time measured for the kth time of the node in the IoT blockchain.
  • T k is the blockchain IoT
  • the timeout time for the device to establish a connection with the blockchain network node, w is the proportion of the connection consumption time in the calculation formula, 0 ⁇ w ⁇ 1; the calculated The value of is the weight value of the blockchain network node;
  • the incentive bonus value is calculated by the bonus calculation formula, and the bonus calculation formula is:
  • the bonus weight value is calculated by the weight calculation formula, and the weight calculation formula is:
  • M is the total value of the bonus
  • d is the number of data points
  • n is the number of data points contained in the transaction data sheet
  • w i is the weight value of the bonus
  • QA(Si) is the quality attribute value of the data point
  • p is the total number of people collecting data on that day.
  • the present invention enables the blockchain and the Internet of Things to work together to form the Internet of Things blockchain, which is a decentralized business platform.
  • Collaboration one or more IoT blockchain nodes and decentralized applications can be deployed on an IoT entity; cost reduction: the characteristics of decentralization will reduce the high operation and maintenance costs of the centralized architecture; privacy protection: All data transmitted in the blockchain is encrypted, and the user's data and privacy will be more secure; device security: identity rights management and multi-party consensus help identify illegal nodes and prevent malicious nodes from accessing and doing evil in a timely manner; Traceability: as long as the data is written into the blockchain, it is difficult to tamper with it.
  • Relying on the chain structure helps to build a verifiable and traceable electronic evidence deposit;
  • Internet collaboration the distributed architecture of the blockchain and the characteristics of the subject are equal. It helps to break the shackles of multiple existing information islands in the Internet of Things, build mutual trust at low cost, and promote the horizontal flow of information and collaboration between networks.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Informatics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种区块链与物联网协同工作方法,包括:将物联网服务器、物联网服务网关以及物联网接入网关作为区块链的各节点,组成物联网区块链;将物联网设备接入物联网接入网关,并发送身份鉴定请求;物联网区块链根据鉴定流程对物联网设备进行身份鉴定,对通过身份鉴定的进行通信;采用预先设定的密钥对物联网数据进行加密,得到物联网数据密文;将物联网数据密文发送到区块链上的各节点进行物联网数据的合法性判断;若该物联网数据密文合法,则将该物联网数据密文写入物联网区块链中。本发明使得区块链与物联网协同工作形成物联网区块链,是一种去中心化的业务平台,物联网区块链支持物联网实体在去中心化的模式下相互协作。

Description

一种区块链与物联网协同工作方法 技术领域
本发明涉及数据网络技术领域,具体为一种区块链与物联网协同工作方法。
背景技术
区块链的本质是一种数字分布式账本,它依托一系列加密算法、存储技术、对等网络等构建而成;它以对等访问、不可篡改和可信的方式保证所记录交易的完整性、不可篡改和真实性。区块链的区块被定义为一种具备一定信任机制,可执行读取或写入操作的数据集,区块链的区块存储交易的确认、合约、存储、复制、安全等相关的信息。
物联网是指通过各种信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。物联网是一个基于互联网、传统电信网等的信息承载体,它让所有能够被独立寻址的普通物理对象形成互联互通的网络。
物联网近年来的发展已经渐成规模,但在长期发展演进过程中也仍然存在许多需要攻克的难题,如在设备安全方面,缺乏设备与设备之间相互信任的机制,所有的设备都需要和物联网中心的数据进行核对,一旦数据库崩塌,会对整个物联网造成很大的破坏;在个人隐私方面,中心化的管理架构无法自证清白,个人隐私数据被泄露的事件时有发生;在扩展能力方面,目前的物联网数据流都汇总到单一的中心控制系统,未来物联网设备将呈几何级数增长,中心化服务成本难以负担,物联网网络与业务平台需要有新型的系统扩展方案;在通信协作方面,全球物联网平台缺少统一的技术标准、接口, 使得多个物联网设备彼此之间通信受到阻碍,并产生多个竞争性的标准和平台;在网间协作方面,目前,很多物联网都是运营商、企业内部的自组织网络。涉及到跨多个运营商、多个对等主体之间的协作时,建立信用的成本很高。使得区块链与物联网协同工作即可解决以上问题,但是如何使得区块链与物联网协同工作是继续解决的难题。
发明内容
本发明的目的在于提供一种区块链与物联网协同工作方法,使得区块链与物联网协同工作形成物联网区块链,是一种去中心化的业务平台,物联网区块链支持物联网实体在去中心化的模式下相互协作,在一个物联网实体上可以部署一个或多个物联网区块链节点和去中心化应用,以解决上述背景技术中提出的问题。
为实现上述目的,本发明提供如下技术方案:
一种区块链与物联网协同工作方法,包括:
将物联网服务器、物联网服务网关以及物联网接入网关作为区块链的各节点,组成物联网区块链;
将物联网设备接入物联网接入网关,并向物联网区块链发送身份鉴定请求;
物联网区块链根据鉴定流程对物联网设备进行身份鉴定,对通过身份鉴定的物联网设备使得其与物联网区块链上的各节点之间进行通信;
采用预先设定的密钥对物联网数据进行加密,得到物联网数据密文;
将物联网数据密文发送到区块链上的各节点进行物联网数据的合法性判断;
若该物联网数据密文合法,则将该物联网数据密文写入物联网区块链中。
作为本发明的一种区块链与物联网协同工作方法优选的,所述物联网区块链根据鉴定流程对物联网设备进行身份鉴定包括:
基于验证公式及当前时间生成验证数,并获取物联网设备的注册时间;
对注册时间以及当前时间进行加密;
将物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间发送至物联网区块链,以使物联网区块链基于物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间对物联网设备进行身份鉴定。
作为本发明的一种区块链与物联网协同工作方法优选的,还包括:
接收数据消费者发送的数据交易请求以及与数据交易请求对应的密钥,并执行交易。
作为本发明的一种区块链与物联网协同工作方法优选的,还包括:
接收根据数据消费者选择的数据进行计算得到的第一质量属性值;
在获取到对应的数据后,计算数据的第二质量属性值,并将第二质量属性值与第一质量属性值对比;
在第二质量属性值与第一质量属性值不一致时,关闭交易。
作为本发明的一种区块链与物联网协同工作方法优选的,在执行完交易后,根据被交易的数据向对应的数据提供者发放激励奖金。
作为本发明的一种区块链与物联网协同工作方法优选的,所述激励奖金值由奖金求取公式计算得到,所述奖金求取公式为:
Figure PCTCN2021134241-appb-000001
所述奖金权重值由权重求取公式计算得到,所述权重求取公式为:
w i=m′×[(QA(Si)-a)+1];
其中,
Figure PCTCN2021134241-appb-000002
为每个数据点的奖金,M为奖金总值,d为数据点数量,n为交易数据片包含的数据点个数,w i为奖金权重值,
Figure PCTCN2021134241-appb-000003
QA(Si)为 数据点的质量属性值,
Figure PCTCN2021134241-appb-000004
p为当天采集数据的总人数。
作为本发明的一种区块链与物联网协同工作方法优选的,还包括:
物联网设备以轮询和逐级查询的方式定期查询已知的物联网区块链中的节点信息列表所包含的节点;
区块链物联网设备将查询到的物联网区块链中的节点更新至物联网设备维护的节点感知列表。
作为本发明的一种区块链与物联网协同工作方法优选的,所述区块链物联网设备将查询到的物联网区块链中的节点更新至物联网设备维护的节点感知列表包括:
物联网设备分别与查询到的每个物联网区块链中的节点进行连接测试,记录每个物联网区块链中的节点的连接消耗时长;
根据连接消耗时长和预设的权重计算公式计算每个物联网区块链中的节点的权重值;
根据每个物联网区块链中的节点对应的权重值的大小对每个物联网区块链中的节点进行排序;
采用排序后的物联网区块链中的节点更新节点感知列表。
作为本发明的一种区块链与物联网协同工作方法优选的,所述权重计算公式为:
Figure PCTCN2021134241-appb-000005
其中,T k为对物联网区块链中的节点第k次测得的连接消耗时长,当区块链物联网设备无法与区块链网络节点建立连接时,T k为区块链物联网设备与该区块链网络节点建立连接的超时时间,w为连接消耗时长在计算式中所占 的比重,0≤w≤1;计算得出的
Figure PCTCN2021134241-appb-000006
的值为该区块链网络节点的权重值。
作为本发明的一种区块链与物联网协同工作方法优选的,还包括在物联网设备接收到任意物联网区块链中的节点返回的节点信息列表以后,对节点信息列表中的物联网区块链中的节点进行去重处理,以去除与已查询到的物联网区块链中的节点重合的节点。
与现有技术相比,本发明的有益效果是:
本发明使得区块链与物联网协同工作形成物联网区块链,是一种去中心化的业务平台,物联网区块链支持物联网实体在去中心化的模式下相互协作,在一个物联网实体上可以部署一个或多个物联网区块链节点和去中心化应用;
可降低成本:去中心化的特质将降低中心化架构的高额运维成本;
隐私保护:区块链中所有传输的数据都经过加密处理,用户的数据和隐私将更加安全;
设备安全:身份权限管理和多方共识有助于识别非法节点,及时阻止恶意节点的接入和作恶;
追本溯源:数据只要写入区块链就难以篡改,依托链式的结构有助于构建可证可溯的电子证据存证;
网间协作:区块链的分布式架构和主体对等的特点有助于打破物联网现存的多个信息孤岛桎梏,以低成本建立互信,促进信息的横向流动和网间协作。
附图说明
图1为本发明的一个实施例的流程示意图;
图2为本发明的另一个实施例的流程示意图;
图3为本发明的总体架构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
因此,以下对在附图中提供的本发明的实施方式的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施方式。基于本发明中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都属于本发明保护的范围。
实施例1
请参阅图1和图3,本实施例提供一种区块链与物联网协同工作方法,包括:
S1、将物联网服务器、物联网服务网关以及物联网接入网关作为区块链的各节点,组成物联网区块链;
S2、将物联网设备接入物联网接入网关,并向物联网区块链发送身份鉴定请求;
S3、物联网区块链根据鉴定流程对物联网设备进行身份鉴定,对通过身份鉴定的物联网设备使得其与物联网区块链上的各节点之间进行通信;
所述物联网区块链根据鉴定流程对物联网设备进行身份鉴定包括:
基于验证公式及当前时间生成验证数,并获取物联网设备的注册时间;
对注册时间以及当前时间进行加密;
将物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间发送至物联网区块链,以使物联网区块链基于物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间对物联网设备进行身份鉴定;
S4、采用预先设定的密钥对物联网数据进行加密,得到物联网数据密文;
S5、将物联网数据密文发送到区块链上的各节点进行物联网数据的合法 性判断;
S6、若该物联网数据密文合法,则将该物联网数据密文写入物联网区块链中。
实施例2
请参阅图2和图3,本实施例提供一种区块链与物联网协同工作方法,包括:
S1、将物联网服务器、物联网服务网关以及物联网接入网关作为区块链的各节点,组成物联网区块链;
S2、将物联网设备接入物联网接入网关,并向物联网区块链发送身份鉴定请求;
S3、物联网区块链根据鉴定流程对物联网设备进行身份鉴定,对通过身份鉴定的物联网设备使得其与物联网区块链上的各节点之间进行通信;
所述物联网区块链根据鉴定流程对物联网设备进行身份鉴定包括:
基于验证公式及当前时间生成验证数,并获取物联网设备的注册时间;
对注册时间以及当前时间进行加密;
将物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间发送至物联网区块链,以使物联网区块链基于物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间对物联网设备进行身份鉴定;
S4、物联网设备以轮询和逐级查询的方式定期查询已知的物联网区块链中的节点信息列表所包含的节点;
在物联网设备接收到任意物联网区块链中的节点返回的节点信息列表以后,对节点信息列表中的物联网区块链中的节点进行去重处理,以去除与已查询到的物联网区块链中的节点重合的节点
区块链物联网设备将查询到的物联网区块链中的节点更新至物联网设备维护的节点感知列表。
其中包括:物联网设备分别与查询到的每个物联网区块链中的节点进行连接测试,记录每个物联网区块链中的节点的连接消耗时长;
根据连接消耗时长和预设的权重计算公式计算每个物联网区块链中的节点的权重值;
根据每个物联网区块链中的节点对应的权重值的大小对每个物联网区块链中的节点进行排序;
采用排序后的物联网区块链中的节点更新节点感知列表;
所述权重计算公式为:
Figure PCTCN2021134241-appb-000007
其中,T k为对物联网区块链中的节点第k次测得的连接消耗时长,当区块链物联网设备无法与区块链网络节点建立连接时,T k为区块链物联网设备与该区块链网络节点建立连接的超时时间,w为连接消耗时长在计算式中所占的比重,0≤w≤1;计算得出的
Figure PCTCN2021134241-appb-000008
的值为该区块链网络节点的权重值;
S5、采用预先设定的密钥对物联网数据进行加密,得到物联网数据密文;
S6、将物联网数据密文发送到区块链上的各节点进行物联网数据的合法性判断;
S7、若该物联网数据密文合法,则将该物联网数据密文写入物联网区块链中;
S8、接收数据消费者发送的数据交易请求以及与数据交易请求对应的密钥,并执行交易,在执行完交易后,根据被交易的数据向对应的数据提供者发放激励奖金;
接收根据数据消费者选择的数据进行计算得到的第一质量属性值;
在获取到对应的数据后,计算数据的第二质量属性值,并将第二质量属 性值与第一质量属性值对比;
在第二质量属性值与第一质量属性值不一致时,关闭交易。
所述激励奖金值由奖金求取公式计算得到,所述奖金求取公式为:
Figure PCTCN2021134241-appb-000009
所述奖金权重值由权重求取公式计算得到,所述权重求取公式为:
w i=m′×[(QA(Si)-a)+1];
其中,
Figure PCTCN2021134241-appb-000010
为每个数据点的奖金,M为奖金总值,d为数据点数量,n为交易数据片包含的数据点个数,w i为奖金权重值,
Figure PCTCN2021134241-appb-000011
QA(Si)为数据点的质量属性值,
Figure PCTCN2021134241-appb-000012
p为当天采集数据的总人数。
综上所述,本发明使得区块链与物联网协同工作形成物联网区块链,是一种去中心化的业务平台,物联网区块链支持物联网实体在去中心化的模式下相互协作,在一个物联网实体上可以部署一个或多个物联网区块链节点和去中心化应用;可降低成本:去中心化的特质将降低中心化架构的高额运维成本;隐私保护:区块链中所有传输的数据都经过加密处理,用户的数据和隐私将更加安全;设备安全:身份权限管理和多方共识有助于识别非法节点,及时阻止恶意节点的接入和作恶;追本溯源:数据只要写入区块链就难以篡改,依托链式的结构有助于构建可证可溯的电子证据存证;网间协作:区块链的分布式架构和主体对等的特点有助于打破物联网现存的多个信息孤岛桎梏,以低成本建立互信,促进信息的横向流动和网间协作。
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限 定。

Claims (10)

  1. 一种区块链与物联网协同工作方法,其特征在于,包括:
    将物联网服务器、物联网服务网关以及物联网接入网关作为区块链的各节点,组成物联网区块链;
    将物联网设备接入物联网接入网关,并向物联网区块链发送身份鉴定请求;
    物联网区块链根据鉴定流程对物联网设备进行身份鉴定,对通过身份鉴定的物联网设备使得其与物联网区块链上的各节点之间进行通信;
    采用预先设定的密钥对物联网数据进行加密,得到物联网数据密文;
    将物联网数据密文发送到区块链上的各节点进行物联网数据的合法性判断;
    若该物联网数据密文合法,则将该物联网数据密文写入物联网区块链中。
  2. 根据权利要求1所述的一种区块链与物联网协同工作方法,其特征在于:所述物联网区块链根据鉴定流程对物联网设备进行身份鉴定包括:
    基于验证公式及当前时间生成验证数,并获取物联网设备的注册时间;
    对注册时间以及当前时间进行加密;
    将物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间发送至物联网区块链,以使物联网区块链基于物联网设备的标识、验证数、加密后的注册时间和加密后的当前时间对物联网设备进行身份鉴定。
  3. 根据权利要求1所述的一种区块链与物联网协同工作方法,其特征在于:还包括:
    接收数据消费者发送的数据交易请求以及与数据交易请求对应的密钥,并执行交易。
  4. 根据权利要求3所述的一种区块链与物联网协同工作方法,其特征在于:还包括:
    接收根据数据消费者选择的数据进行计算得到的第一质量属性值;
    在获取到对应的数据后,计算数据的第二质量属性值,并将第二质量属性值与第一质量属性值对比;
    在第二质量属性值与第一质量属性值不一致时,关闭交易。
  5. 根据权利要求4所述的一种区块链与物联网协同工作方法,其特征在于:在执行完交易后,根据被交易的数据向对应的数据提供者发放激励奖金。
  6. 根据权利要求5所述的一种区块链与物联网协同工作方法,其特征在于:所述激励奖金值由奖金求取公式计算得到,所述奖金求取公式为:
    Figure PCTCN2021134241-appb-100001
    所述奖金权重值由权重求取公式计算得到,所述权重求取公式为:
    w i=m′×[(QA(Si)-a)+1];
    其中,
    Figure PCTCN2021134241-appb-100002
    为每个数据点的奖金,M为奖金总值,d为数据点数量,n为交易数据片包含的数据点个数,w i为奖金权重值,
    Figure PCTCN2021134241-appb-100003
    QA(Si)为数据点的质量属性值,
    Figure PCTCN2021134241-appb-100004
    p为当天采集数据的总人数。
  7. 根据权利要求1所述的一种区块链与物联网协同工作方法,其特征在于:还包括:
    物联网设备以轮询和逐级查询的方式定期查询已知的物联网区块链中的节点信息列表所包含的节点;
    区块链物联网设备将查询到的物联网区块链中的节点更新至物联网设备维护的节点感知列表。
  8. 根据权利要求7所述的一种区块链与物联网协同工作方法,其特征在于:所述区块链物联网设备将查询到的物联网区块链中的节点更新至物联网设备维护的节点感知列表包括:
    物联网设备分别与查询到的每个物联网区块链中的节点进行连接测试,记录每个物联网区块链中的节点的连接消耗时长;
    根据连接消耗时长和预设的权重计算公式计算每个物联网区块链中的节点的权重值;
    根据每个物联网区块链中的节点对应的权重值的大小对每个物联网区块链中的节点进行排序;
    采用排序后的物联网区块链中的节点更新节点感知列表。
  9. 根据权利要求8所述的一种区块链与物联网协同工作方法,其特征在于:所述权重计算公式为:
    Figure PCTCN2021134241-appb-100005
    其中,T k为对物联网区块链中的节点第k次测得的连接消耗时长,当区块链物联网设备无法与区块链网络节点建立连接时,T k为区块链物联网设备与该区块链网络节点建立连接的超时时间,w为连接消耗时长在计算式中所占的比重,0≤w≤1;计算得出的
    Figure PCTCN2021134241-appb-100006
    的值为该区块链网络节点的权重值。
  10. 根据权利要求8所述的一种区块链与物联网协同工作方法,其特征在于:还包括在物联网设备接收到任意物联网区块链中的节点返回的节点信息列表以后,对节点信息列表中的物联网区块链中的节点进行去重处理,以去除与已查询到的物联网区块链中的节点重合的节点。
PCT/CN2021/134241 2021-10-19 2021-11-30 一种区块链与物联网协同工作方法 WO2023065467A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111215986.0 2021-10-19
CN202111215986.0A CN114070586A (zh) 2021-10-19 2021-10-19 一种区块链与物联网协同工作方法

Publications (1)

Publication Number Publication Date
WO2023065467A1 true WO2023065467A1 (zh) 2023-04-27

Family

ID=80234843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134241 WO2023065467A1 (zh) 2021-10-19 2021-11-30 一种区块链与物联网协同工作方法

Country Status (2)

Country Link
CN (1) CN114070586A (zh)
WO (1) WO2023065467A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978688A (zh) * 2022-05-23 2022-08-30 青岛海尔空调器有限总公司 用于数据传输的方法及装置、路由器、物联网设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005220A (zh) * 2018-07-17 2018-12-14 中国联合网络通信集团有限公司 物联网终端的业务实现方法及物联网接入网关
CN109495516A (zh) * 2019-01-07 2019-03-19 国网江苏省电力有限公司无锡供电分公司 基于区块链的电力物联网终端接入方法
CN109743177A (zh) * 2018-12-29 2019-05-10 湖南大学 一种基于区块链以及共享环境的物联网数据管理系统
CN109918878A (zh) * 2019-04-24 2019-06-21 中国科学院信息工程研究所 一种基于区块链的工业物联网设备身份认证及安全交互方法
CN112202715A (zh) * 2020-08-31 2021-01-08 北京锐格信安技术有限公司 一种物联网与区块链可信交互的系统、方法及装置
CN112383504A (zh) * 2020-09-28 2021-02-19 国网山东省电力公司冠县供电公司 一种电力物联网区块链数据管理系统
CN112738246A (zh) * 2020-12-30 2021-04-30 上海摩联信息技术有限公司 一种区块链物联网设备感知区块链节点的方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714174B (zh) * 2019-02-18 2021-08-17 中国科学院合肥物质科学研究院 一种基于区块链的物联网设备数字身份管理系统及其方法
CN109768988B (zh) * 2019-02-26 2021-11-26 安捷光通科技成都有限公司 去中心化物联网安全认证系统、设备注册和身份认证方法
CN110086821A (zh) * 2019-05-07 2019-08-02 国网江苏省电力有限公司无锡供电分公司 基于区块链的电力物联网网关和电力物联网终端接入的认证方法
CN111090840B (zh) * 2019-11-15 2022-09-13 杭州云象网络技术有限公司 一种利用区块链预注册信息进行用户服务认证的方法
CN111314334A (zh) * 2020-02-10 2020-06-19 上海赛艾吉智能科技有限公司 一种基于物联网的智能区块链平台系统及运行方法
CN112436940B (zh) * 2021-01-27 2021-04-30 电子科技大学 一种基于零知识证明的物联网设备可信启动管理方法
CN112948784B (zh) * 2021-03-23 2024-05-14 中国信息通信研究院 物联网终端身份认证方法、计算机存储介质及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005220A (zh) * 2018-07-17 2018-12-14 中国联合网络通信集团有限公司 物联网终端的业务实现方法及物联网接入网关
CN109743177A (zh) * 2018-12-29 2019-05-10 湖南大学 一种基于区块链以及共享环境的物联网数据管理系统
CN109495516A (zh) * 2019-01-07 2019-03-19 国网江苏省电力有限公司无锡供电分公司 基于区块链的电力物联网终端接入方法
CN109918878A (zh) * 2019-04-24 2019-06-21 中国科学院信息工程研究所 一种基于区块链的工业物联网设备身份认证及安全交互方法
CN112202715A (zh) * 2020-08-31 2021-01-08 北京锐格信安技术有限公司 一种物联网与区块链可信交互的系统、方法及装置
CN112383504A (zh) * 2020-09-28 2021-02-19 国网山东省电力公司冠县供电公司 一种电力物联网区块链数据管理系统
CN112738246A (zh) * 2020-12-30 2021-04-30 上海摩联信息技术有限公司 一种区块链物联网设备感知区块链节点的方法

Also Published As

Publication number Publication date
CN114070586A (zh) 2022-02-18

Similar Documents

Publication Publication Date Title
Wang et al. Chainsplitter: Towards blockchain-based industrial iot architecture for supporting hierarchical storage
CN108416577B (zh) 一种区块链服务系统
CN107193490B (zh) 一种基于区块链的分布式数据存储系统及方法
CN106503574B (zh) 区块链安全存储方法
CN106528775B (zh) 支持逻辑多链的私有区块链运行支撑系统及其工作方法
CN110769035B (zh) 一种区块链资产发行方法、平台、业务节点及存储介质
Zhu et al. Dynamic audit services for outsourced storages in clouds
US20230316273A1 (en) Data processing method and apparatus, computer device, and storage medium
Yao et al. PBCert: Privacy-preserving blockchain-based certificate status validation toward mass storage management
CN112036886B (zh) 一种基于区块链的电力大数据交换方法及系统
CN111556120A (zh) 基于区块链的数据处理方法、装置、存储介质及设备
WO2020134631A1 (zh) 基于区块链的数据处理方法和装置
CN112702402A (zh) 基于区块链技术实现政务信息资源共享和交换的系统、方法、装置、处理器及其存储介质
WO2019153506A1 (zh) 公积金转移方法、计算机可读存储介质、终端设备及装置
CN113033652B (zh) 一种基于区块链与联邦学习的图像识别系统及方法
CN111861285A (zh) 一种基于区块链技术的配电网物资质量数据高可靠实时管控方法和系统
CN114553440B (zh) 基于区块链和属性签名的跨数据中心身份认证方法及系统
WO2023065467A1 (zh) 一种区块链与物联网协同工作方法
CN112532753A (zh) 区块链系统的数据同步方法、装置、介质及电子设备
CN116611840A (zh) 一种基于区块链的分布式数据资产流转追溯系统及方法
US20230325521A1 (en) Data processing method and apparatus based on blockchain network, device, and storage medium
Zhang et al. A novel trust model for unreliable public clouds based on domain partition
Li et al. The confluence of Blockchain and 6G network: Scenarios analysis and performance assessment
Wei et al. The adoption of blockchain technologies in data sharing: a state of the art survey
CN110532786A (zh) 采用哈希脱敏处理的区块链黑名单共享方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21961205

Country of ref document: EP

Kind code of ref document: A1