Movatterモバイル変換


[0]ホーム

URL:


CN108694330A - Internet of Things data management method, platform and equipment - Google Patents

Internet of Things data management method, platform and equipment
Download PDF

Info

Publication number
CN108694330A
CN108694330ACN201810461086.6ACN201810461086ACN108694330ACN 108694330 ACN108694330 ACN 108694330ACN 201810461086 ACN201810461086 ACN 201810461086ACN 108694330 ACN108694330 ACN 108694330A
Authority
CN
China
Prior art keywords
data
user
node
internet
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810461086.6A
Other languages
Chinese (zh)
Other versions
CN108694330B (en
Inventor
刘楠
许丹丹
魏进武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN201810461086.6ApriorityCriticalpatent/CN108694330B/en
Publication of CN108694330ApublicationCriticalpatent/CN108694330A/en
Application grantedgrantedCritical
Publication of CN108694330BpublicationCriticalpatent/CN108694330B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

A kind of Internet of Things data management method of present invention offer, platform and equipment.Method includes:The Internet of Things data that receiving terminal apparatus is sent, is sent to each node in block chain network, so that node judges the legitimacy of Internet of Things data by Internet of Things data;If Internet of Things data is legal, Internet of Things data is written in block chain;The operational order of the first user transmission handled Internet of Things data is received, and operational order is sent to each node in block chain network, so that node judges the legitimacy of operational order;If operational order is legal, corresponding data service is generated according to operational order.The solution of the present invention can polymerize the Internet of Things data that terminal device produces so that Internet of Things data can directly serve in user.Meanwhile processing is carried out to data to the operation of platform of internet of things by user and generates data service, the value of Internet of Things data itself can be improved.

Description

Translated fromChinese
物联网数据管理方法、平台及设备Internet of things data management method, platform and equipment

技术领域technical field

本发明涉及区块链技术,尤其涉及一种物联网数据管理方法、平台及设备,属于互联网领域。The invention relates to blockchain technology, in particular to a data management method, platform and equipment for the Internet of Things, belonging to the field of the Internet.

背景技术Background technique

物联网技术作为现实和网络世界的连接基础备受关注,应用也十分广泛。小到智能家居,大到环境保护、智能工业都需要应用物联网技术。As the connection basis of the real world and the network world, the Internet of Things (IoT) technology has attracted much attention and has a wide range of applications. From small smart homes to large environmental protection and smart industries, IoT technology needs to be applied.

随着物联网技术被广泛应用,也会产生大量的物联网数据。但是现有技术中的物联网数据都是碎片化的,导致物联网数据利用率较低。例如共享单车虽然接入了互联网,但是不同类型的共享单车产生的物联网数据却是独立分布的,这就导致现有技术中的物联网数据没有被充分利用,存在物联网数据浪费的问题。With the widespread application of IoT technology, a large amount of IoT data will also be generated. However, the Internet of Things data in the prior art is fragmented, resulting in a low utilization rate of the Internet of Things data. For example, although shared bicycles are connected to the Internet, the Internet of Things data generated by different types of shared bicycles is distributed independently, which leads to the underutilization of Internet of Things data in the prior art, and the problem of waste of Internet of Things data.

因此,现有技术中亟需一种能够整合多种物联网数据的方法,以解决现有技术中物联网数据利用率低的技术问题。Therefore, there is an urgent need in the prior art for a method capable of integrating multiple types of IoT data to solve the technical problem of low utilization of IoT data in the prior art.

发明内容Contents of the invention

本发明提供一种物联网数据管理方法、平台及设备。能够解决现有技术中物联网数据碎片化、利用率低的技术问题。The invention provides a data management method, platform and equipment of the Internet of Things. It can solve the technical problems of Internet of Things data fragmentation and low utilization rate in the prior art.

本发明的第一个方面是提供一种物联网数据管理方法,包括:The first aspect of the present invention is to provide a kind of Internet of Things data management method, comprising:

接收终端设备发送的物联网数据,将所述物联网数据发送给区块链网络中的各个节点,以使所述节点对所述物联网数据的合法性进行判断;receiving the Internet of Things data sent by the terminal device, and sending the Internet of Things data to each node in the blockchain network, so that the nodes can judge the legality of the Internet of Things data;

若所述物联网数据合法,则将所述物联网数据写入区块链中;If the Internet of Things data is legal, then write the Internet of Things data into the block chain;

接收第一用户发送的对所述物联网数据进行处理的操作指令,并将所述操作指令发送给区块链网络中的各个节点,以使所述节点对所述操作指令的合法性进行判断;Receive the operation instruction for processing the IoT data sent by the first user, and send the operation instruction to each node in the blockchain network, so that the node can judge the legitimacy of the operation instruction ;

若所述操作指令合法,则根据所述操作指令生成相应的数据服务。If the operation instruction is valid, generate corresponding data service according to the operation instruction.

本发明的另一个方面是提供一种物联网数据管理平台,包括:Another aspect of the present invention provides a kind of Internet of things data management platform, comprises:

接收模块,用于接收终端设备发送的物联网数据;The receiving module is used to receive the IoT data sent by the terminal device;

发送模块,用于将所述物联网数据发送给区块链网络中的各个节点,以使所述节点对所述物联网数据的合法性进行判断;A sending module, configured to send the Internet of Things data to each node in the block chain network, so that the nodes can judge the legality of the Internet of Things data;

写入模块,用于若所述物联网数据合法,则将所述物联网数据写入区块链中;A writing module, configured to write the IoT data into the block chain if the IoT data is legal;

所述接收模块还用于接收第一用户发送的对所述物联网数据进行处理的操作指令,所述发送模块还用于将所述操作指令发送给区块链网络中的各个节点,以使所述节点对所述操作指令的合法性进行判断;The receiving module is also used to receive the operation instruction sent by the first user to process the IoT data, and the sending module is also used to send the operation instruction to each node in the block chain network, so that The node judges the legality of the operation instruction;

生成模块,用于若所述操作指令合法,则根据所述操作指令生成相应的数据服务。The generation module is configured to generate corresponding data services according to the operation instruction if the operation instruction is valid.

本发明的又一个方面是提供一种物联网数据管理设备,包括:Another aspect of the present invention is to provide a kind of Internet of things data management equipment, comprising:

存储器;memory;

处理器;以及processor; and

计算机程序;Computer program;

其中,所述计算机程序存储在所述存储器中,并配置为由所述处理器执行以实现如上述第一方面所述的物联网数据管理方法。Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the IoT data management method as described in the first aspect above.

本发明提供的物联网数据管理方法、平台及设备的技术效果是:The technical effects of the Internet of Things data management method, platform and equipment provided by the present invention are:

本实施例提供的物联网数据管理方法、平台及设备,包括接收终端设备发送的物联网数据,将物联网数据发送给区块链网络中的各个节点,以使节点对物联网数据的合法性进行判断;若物联网数据合法,则将物联网数据写入区块链中;接收第一用户发送的对物联网数据进行处理的操作指令,并将操作指令发送给区块链网络中的各个节点,以使节点对操作指令的合法性进行判断;若操作指令合法,则根据操作指令生成相应的数据服务。本实施例提供的方法、平台及设备,基于区块链技术,能够保证物联网数据本身的真实性,还能够聚合终端设备生产得到的物联网数据,使得物联网数据能够直接服务于用户。同时,通过用户对物联网平台的操作对数据进行处理生成数据服务,能够提高物联网数据本身的价值,因此,本实施例提供的方法、平台及设备能够提高物联网数据的利用率。The Internet of Things data management method, platform, and equipment provided in this embodiment include receiving the Internet of Things data sent by the terminal equipment, and sending the Internet of Things data to each node in the blockchain network, so that the nodes can verify the legality of the Internet of Things data. Make a judgment; if the IoT data is legal, write the IoT data into the block chain; receive the operation instruction sent by the first user to process the IoT data, and send the operation instruction to each block chain network node, so that the node can judge the legitimacy of the operation instruction; if the operation instruction is legal, the corresponding data service will be generated according to the operation instruction. The method, platform and equipment provided in this embodiment, based on blockchain technology, can guarantee the authenticity of the Internet of Things data itself, and can also aggregate the Internet of Things data produced by the terminal equipment, so that the Internet of Things data can directly serve users. At the same time, the value of the IoT data itself can be increased by processing the data through the user's operations on the IoT platform to generate data services. Therefore, the method, platform, and device provided in this embodiment can improve the utilization rate of the IoT data.

附图说明Description of drawings

图1为本发明一示例性实施例示出的物联网数据管理方法的流程图;Fig. 1 is the flowchart of the Internet of things data management method shown in an exemplary embodiment of the present invention;

图2为本发明另一示例性实施例示出的物联网数据管理方法的流程图;Fig. 2 is the flow chart of the Internet of things data management method shown in another exemplary embodiment of the present invention;

图3为本发明一示例性实施例示出的物联网数据管理平台的结构图;Fig. 3 is a structural diagram of an Internet of Things data management platform shown in an exemplary embodiment of the present invention;

图4为本发明另一示例性实施例示出的物联网数据管理平台的结构图。Fig. 4 is a structural diagram of an IoT data management platform according to another exemplary embodiment of the present invention.

具体实施方式Detailed ways

图1为本发明一示例性实施例示出的物联网数据管理方法的流程图。Fig. 1 is a flowchart of a data management method for the Internet of Things shown in an exemplary embodiment of the present invention.

如图1所示,本实施例提供的物联网数据管理方法包括:As shown in Figure 1, the IoT data management method provided in this embodiment includes:

步骤101,接收终端设备发送的物联网数据,将物联网数据发送给区块链网络中的各个节点,以使节点对物联网数据的合法性进行判断。Step 101, receiving the Internet of Things data sent by the terminal device, and sending the Internet of Things data to each node in the blockchain network, so that the nodes can judge the legality of the Internet of Things data.

其中,由物联网数据管理平台执行本实施例提供的方法,平台具有从终端设备处采集物联网数据的功能。例如可以向终端设备发送获取数据的请求,从而使终端设备能够向物联网数据管理平台发送数据。另外,终端设备还可以主动向平台发送物联网数据,例如可以定期或实时向平台发送物联网数据。Wherein, the method provided in this embodiment is executed by an Internet of Things data management platform, and the platform has a function of collecting Internet of Things data from terminal devices. For example, a request for acquiring data may be sent to the terminal device, so that the terminal device can send data to the IoT data management platform. In addition, the terminal device can also actively send IoT data to the platform, for example, it can send IoT data to the platform periodically or in real time.

终端设备是指通过网络与物联网平台连接的终端,该终端上可以设置传感器、通信芯片等组件,从而能够采集数据并将采集到的数据发送给平台。可选的,终端设备中还可以设置处理器,从而能够对采集的数据进行初步处理,再将处理后的数据通过通信芯片发送给平台。Terminal equipment refers to a terminal connected to the IoT platform through the network. Sensors, communication chips and other components can be installed on the terminal to collect data and send the collected data to the platform. Optionally, a processor can also be set in the terminal device, so that the collected data can be preliminarily processed, and then the processed data can be sent to the platform through the communication chip.

进一步的,平台向区块链网络中广播物联网数据前,还可以根据物联网数据生成区块,并将包括物联网数据信息的区块广播至区块链网络,区块链网络中的各个节点可以对区块的合法性进行判断,也就是对物联网数据进行判断。Furthermore, before the platform broadcasts the IoT data to the blockchain network, it can also generate blocks based on the IoT data, and broadcast the blocks including the IoT data information to the blockchain network. Nodes can judge the legitimacy of the block, that is, judge the data of the Internet of Things.

平台可以根据实时接收的物联网数据生成物联网数据区块,再向区块链网络广播该物联网数据区块,例如,平台可以以每10分钟一次的频率基于车辆A所发送的物联网数据生成区块,并向区块链网络广播该区块。The platform can generate IoT data blocks based on the IoT data received in real time, and then broadcast the IoT data blocks to the blockchain network. For example, the platform can use the IoT data sent by vehicle A once every 10 minutes Generate a block and broadcast the block to the blockchain network.

实际应用时,平台还可以定期接收物联网数据,并根据接收的物联网数据生成物联网数据区块,再将其广播至区块链网络。In practical applications, the platform can also regularly receive IoT data, generate IoT data blocks based on the received IoT data, and then broadcast them to the blockchain network.

其中,平台还可以根据接收的物联网数据大小生成物联网数据区块。当接收的物联网数据达到预设值大小,则基于接收的物联网数据生成区块。例如,当物联网数据管理平台接收了10M物联网数据后,就根据这10M的数据生成区块;当物联网数据管理平台再接收10M数据后,再生成一次区块。若接收的数据小于10M,则在当前未生成区块的网联网数据达到10M时,再生成区块。若收到数据的速度大于打包生成区块的速度,则可以根据先接收的物联网数据生成区块,再根据后接收的物联网数据生成区块。物联网数据中还可以包括采集的终端设备信息。Among them, the platform can also generate IoT data blocks according to the size of the received IoT data. When the received IoT data reaches a preset size, a block is generated based on the received IoT data. For example, when the IoT data management platform receives 10M IoT data, it generates a block based on the 10M data; when the IoT data management platform receives another 10M data, it generates a block again. If the received data is less than 10M, the block will be regenerated when the network data of the currently ungenerated block reaches 10M. If the speed of receiving data is greater than the speed of packaging and generating blocks, blocks can be generated based on the IoT data received first, and then blocks can be generated based on the IoT data received later. The IoT data may also include collected terminal device information.

具体的,区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。所谓共识机制是区块链系统中实现不同节点之间建立信任、获取权益的数学算法。其中的节点可以向区块链网络广播数据,其他节点能够对该数据进行判断,从而确定数据是否合法,若多数节点判断数据合法,则该数据合法。Specifically, the blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The so-called consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system. Nodes among them can broadcast data to the blockchain network, and other nodes can judge the data to determine whether the data is legal. If most nodes judge that the data is legal, the data is legal.

进一步的,各个节点还可以将其确认合法的物联网数据写入自己的区块链中。各个节点接收到物联网数据后,根据已由的区块链数据对其进行判断,并确认其是否合法,并将判断结果广播至区块链网络,使其他节点能够获知判断结果,进而根据各个节点的判断结果对物联网数据进行最终判定。例如,节点1-5判断物联网数据合法,节点6判断物联网数据不合法,这种情况下,节点6会接收到节点1-5广播的合法结果,也就是说节点6功能获知六个判断结果,5个合法1个非法,即合法判断结果数量大于非法判断结果数量,因此,节点6最终判断物联网数据合法,并将物联网数据写入自己的区块链中。Further, each node can also write its confirmed legal IoT data into its own blockchain. After each node receives the IoT data, it judges it according to the blockchain data that has been passed, and confirms whether it is legal, and broadcasts the judgment result to the blockchain network, so that other nodes can know the judgment result, and then according to each The judgment result of the node makes the final judgment on the IoT data. For example, nodes 1-5 judge that the IoT data is legal, and node 6 judges that the IoT data is illegal. In this case, node 6 will receive the legal results broadcast by nodes 1-5, which means that node 6 can obtain six judgments As a result, 5 are legal and 1 is illegal, that is, the number of legal judgment results is greater than the number of illegal judgment results. Therefore, node 6 finally judges that the IoT data is legal, and writes the IoT data into its own blockchain.

其中,区块链网络中的各个节点包括加入平台的各个用户,例如数据使用者、数据提供者、数据监管者等等。Among them, each node in the blockchain network includes each user who joins the platform, such as data users, data providers, data regulators, and so on.

基于步骤101,能够将终端设备采集的物联网数据存储到区块链中,由于区块链网络的特性,能够保证这些物联网数据不会被篡改,进而保证物联网数据的真实性和准确性。Based on step 101, the IoT data collected by the terminal device can be stored in the blockchain. Due to the characteristics of the blockchain network, it can be guaranteed that these IoT data will not be tampered with, thereby ensuring the authenticity and accuracy of the IoT data .

步骤102,若物联网数据合法,则将物联网数据写入区块链中。Step 102, if the IoT data is legal, write the IoT data into the blockchain.

各个节点在接收到物联网数据或根据物联网数据生成的区块后,对其合法性进行判断,并向全网广播判断结果,此时,平台可以接收到判断结果。若大部分节点认为物联网数据合法,则平台判断该数据合法。After each node receives the IoT data or blocks generated based on the IoT data, it judges its legality and broadcasts the judgment result to the whole network. At this time, the platform can receive the judgment result. If most nodes believe that the IoT data is legal, the platform judges that the data is legal.

进一步的,平台也可以作为一个节点加入区块链网络,从而平台可以根据有的数据对物联网数据的合法性进行判断,再结合接收的其他节点的判断结果,最终确定物联网数据是否合法。若合法,则平台将物联网数据写入自己的区块链中。Furthermore, the platform can also join the blockchain network as a node, so that the platform can judge the legality of the IoT data based on the existing data, and then combine the judgment results of other nodes received to finally determine whether the IoT data is legal. If legal, the platform writes the IoT data into its own blockchain.

实际应用时,若平台在向区块链网络广播物联网数据时,广播的是物联网数据本身,则若物联网数据合法,则平台根据物联网数据生成区块,并将区块写入区块链中。若平台在向区块链网络广播物联网数据时,广播的是根据物联网数据生成的数据区块,则若数据区块合法,则平台将数据区块写入区块链中In practical applications, if the platform broadcasts the IoT data to the blockchain network, it broadcasts the IoT data itself, and if the IoT data is legal, the platform generates blocks based on the IoT data and writes the blocks into the block in the block chain. If the platform broadcasts IoT data to the blockchain network, it broadcasts data blocks generated based on IoT data, and if the data blocks are legal, the platform writes the data blocks into the blockchain

步骤103,接收第一用户发送的对物联网数据进行处理的操作指令,并将操作指令发送给区块链网络中的各个节点,以使节点对操作指令的合法性进行判断。Step 103, receiving the operation instruction for processing the IoT data sent by the first user, and sending the operation instruction to each node in the blockchain network, so that the node can judge the legitimacy of the operation instruction.

其中,平台可以展示物联网数据的基本信息,从而使用户能够浏览这些数据信息,再确定是否要对其进行操作。Among them, the platform can display the basic information of the Internet of Things data, so that users can browse the data information, and then determine whether to operate on it.

具体的,第一用户可以通过能够联网的设备向平台发送操作物联网数据的指令,从而使平台接收该操作指令。操作指令可以是第一用户对物联网数据进行建模分析、业务开发等。例如第一用户可以根据已有的物联网数据分析乘客常用的打车地点情况。Specifically, the first user may send an instruction to operate the IoT data to the platform through a device capable of networking, so that the platform receives the operation instruction. The operation instruction may be that the first user performs modeling analysis, business development, etc. on the data of the Internet of Things. For example, the first user can analyze the places where passengers often take a taxi according to the existing Internet of Things data.

进一步的,平台可以将接收的第一用户发送的操作指令广播至区块链网络,由网络中的各个节点对该操作指令的合法性进行判断。Further, the platform can broadcast the operation instruction received from the first user to the blockchain network, and each node in the network can judge the legality of the operation instruction.

实际应用时,各个节点的区块链中还可以存储用户信息,具体可以是用户的账户信息、权限信息等,例如第一用户可以具有会员权限,相应的其可以执行一些会员才可以执行的操作。各个节点则可以根据已经存储的用户信息判断第一用户的操作指令是否合法。另外,各个节点还可以判断操作指令的格式是否合法。In practical applications, user information can also be stored in the blockchain of each node, specifically user account information, authority information, etc. For example, the first user can have membership authority, and correspondingly, it can perform some operations that only members can perform . Each node can judge whether the operation instruction of the first user is legal according to the stored user information. In addition, each node can also judge whether the format of the operation instruction is legal.

其中,节点在判断完操作指令是否合法后,还将判断结果广播至区块链网络,从而使其他节点能够接收到判断结果,并根据最终的判断结果确认操作指令是否合法。即节点首先根据已经存储的区块链信息确定操作指令是否合法,再根据其他节点对操作指令的判断结果再次确认操作指令是否合法。通过两次验证步骤,能够使判断结果更加准确。Among them, after the node judges whether the operation instruction is legal, it will also broadcast the judgment result to the blockchain network, so that other nodes can receive the judgment result and confirm whether the operation instruction is legal according to the final judgment result. That is, the node first determines whether the operation instruction is legal according to the stored blockchain information, and then reconfirms whether the operation instruction is legal according to the judgment results of other nodes on the operation instruction. Through two verification steps, the judgment result can be made more accurate.

步骤104,若操作指令合法,则根据操作指令生成相应的数据服务。Step 104, if the operation instruction is legal, generate corresponding data service according to the operation instruction.

具体的,平台可以接收区块链网络对操作指令的判断结果,从而获知操作指令是否合法。若是,则执行相应的操作指令,并根据操作指令生成相应的数据服务。Specifically, the platform can receive the judgment result of the operation instruction from the blockchain network, so as to know whether the operation instruction is legal. If yes, execute the corresponding operation instruction, and generate the corresponding data service according to the operation instruction.

其中,第一用户向平台发送的操作指令可以是根据物联网数据建模分析、对物联网数据进行处理的指令。相应的,平台可以根据操作指令执行相应的操作,如对数据进行建模分析、对数据进行处理等。例如,可以对物联网数据进行聚类分析,得到不同的数据标签。Wherein, the operation instruction sent by the first user to the platform may be an instruction to process the data of the Internet of Things according to modeling and analysis of the data of the Internet of Things. Correspondingly, the platform can perform corresponding operations according to the operation instructions, such as modeling and analyzing data, processing data, and so on. For example, cluster analysis can be performed on IoT data to obtain different data labels.

具体的,平台可以通过执行操作指令对应的操作生成数据服务,也就是得到对数据处理的结果。Specifically, the platform can generate a data service by executing an operation corresponding to an operation instruction, that is, obtain a result of data processing.

进一步的,用户可以利用数据服务进行业务开发等,例如利用数据分析结果制定营销策略、定位销售人群等等。另外,用户还可以将生成的数据服务进行出售。因此,本实施例提供的方法能够通过管理平台聚合终端设备生产得到的物联网数据,使得物联网数据能够直接服务于用户,还能够通过用户对物联网平台的操作对数据进行处理生成数据服务,从而提高物联网数据本身的价值,因此,本申请的方法能够提高物联网数据的利用率。Furthermore, users can use data services for business development, such as using data analysis results to formulate marketing strategies, locate sales groups, and so on. In addition, users can also sell the generated data services. Therefore, the method provided in this embodiment can aggregate the Internet of Things data produced by the terminal equipment through the management platform, so that the Internet of Things data can directly serve the user, and can also process the data through the user's operation on the Internet of Things platform to generate data services. Therefore, the value of the Internet of Things data itself is increased, and therefore, the method of the present application can improve the utilization rate of the Internet of Things data.

本实施例提供的方法用于管理物联网数据,该方法由安装有本实施例提供的方法的设备执行,该装置通常以硬件和/或软件的方式来实现。The method provided in this embodiment is used to manage data in the Internet of Things, and the method is executed by a device installed with the method provided in this embodiment, and the device is usually implemented in the form of hardware and/or software.

本实施例提供的物联网数据管理方法,包括接收终端设备发送的物联网数据,将物联网数据发送给区块链网络中的各个节点,以使节点对物联网数据的合法性进行判断;若物联网数据合法,则将物联网数据写入区块链中;接收第一用户发送的对物联网数据进行处理的操作指令,并将操作指令发送给区块链网络中的各个节点,以使节点对操作指令的合法性进行判断;若操作指令合法,则根据操作指令生成相应的数据服务。本实施例提供的方法基于区块链技术,能够保证物联网数据本身的真实性,还能够聚合终端设备生产得到的物联网数据,使得物联网数据能够直接服务于用户。同时,通过用户对物联网平台的操作对数据进行处理生成数据服务,能够提高物联网数据本身的价值,因此,本实施例提供的方法能够提高物联网数据的利用率。The Internet of Things data management method provided in this embodiment includes receiving the Internet of Things data sent by the terminal device, and sending the Internet of Things data to each node in the blockchain network, so that the nodes can judge the legality of the Internet of Things data; if If the IoT data is legal, write the IoT data into the blockchain; receive the operation instructions sent by the first user to process the IoT data, and send the operation instructions to each node in the blockchain network, so that The node judges the legality of the operation instruction; if the operation instruction is legal, it generates the corresponding data service according to the operation instruction. The method provided in this embodiment is based on blockchain technology, which can ensure the authenticity of the IoT data itself, and can also aggregate the IoT data produced by the terminal equipment, so that the IoT data can directly serve users. At the same time, the value of the IoT data itself can be increased by processing the data through the user's operations on the IoT platform to generate data services. Therefore, the method provided in this embodiment can improve the utilization rate of the IoT data.

图2为本发明另一示例性实施例示出的物联网数据管理方法的流程图。Fig. 2 is a flow chart of a method for managing Internet of Things data according to another exemplary embodiment of the present invention.

如图2所示,本实施例提供的物联网数据管理方法,包括:As shown in Figure 2, the IoT data management method provided by this embodiment includes:

步骤201,接收第一用户发送的注册请求,根据注册请求确定第一用户的账号信息,并为用户分配权限。Step 201, receiving a registration request sent by a first user, determining account information of the first user according to the registration request, and assigning permissions to the user.

其中,数据管理平台还接收第一用户发送的注册请求,注册请求中可以包括第一用户的基本信息。基本信息中可以进一步的包括用户标识、证明材料等。例如,甲企业,证明材料包括营业执照的电子照片。Wherein, the data management platform also receives a registration request sent by the first user, and the registration request may include basic information of the first user. The basic information may further include user identification, certification materials, and the like. For example, for enterprise A, the proof materials include electronic photos of the business license.

具体的,第一用户可以通过本地终端向平台提交用户注册请求,还可以安装与平台对接的客户端,通过客户端向平台发送用户注册请求。Specifically, the first user may submit a user registration request to the platform through a local terminal, and may also install a client interfaced with the platform, and send a user registration request to the platform through the client.

可以由工作人员核实用户基本信息中的材料真伪,以及相应的用户是否符合申报项目的资格,若是,则向平台发送确认通过第一用户的注册请求,否则,拒绝第一用户的注册请求。也可以由平台自动对用户提交的材料进行核实。The staff can verify the authenticity of the materials in the user's basic information and whether the corresponding user is eligible for the declaration project. If so, send a registration request to the platform to confirm that the first user has passed; otherwise, reject the first user's registration request. Materials submitted by users may also be automatically verified by the platform.

进一步的,若平台确认第一用户的注册请求合法,则向第一用户发送用户名密码等信息。同时,向第一用户分配与其匹配的用户权限。例如普通用户权限、会员用户权限等。Further, if the platform confirms that the registration request of the first user is legal, it will send information such as user name and password to the first user. At the same time, the first user is assigned the matching user authority. For example, ordinary user permissions, member user permissions, etc.

其中,平台还可以将注册成功的第一用户加入区块链网络,从而使注册成功的第一用户能够作为区块链中的各个节点,确认向区块链网络中广播的数据是否合法。Among them, the platform can also add the first user who has successfully registered to the blockchain network, so that the first user who has successfully registered can serve as each node in the blockchain to confirm whether the data broadcast to the blockchain network is legal.

步骤202,将第一用户的账户信息、权限信息发送给区块链网络中的各个节点,以使节点将账户信息、权限信息写入区块链中。Step 202, sending the first user's account information and authority information to each node in the blockchain network, so that the nodes write the account information and authority information into the blockchain.

可以将第一用户的信息广播至区块链网络,以使区块链网络中的各个节点能够存储第一用户的信息。The information of the first user can be broadcast to the blockchain network, so that each node in the blockchain network can store the information of the first user.

其中,平台可以根据第一用户的账户信息、权限信息生成用户信息区块,将区块广播至全网,同时,各个节点对用户信息区块的合法性进行校验,若合法,则将用户信息区块写入自己的区块链中。Among them, the platform can generate a user information block according to the first user's account information and authority information, and broadcast the block to the entire network. At the same time, each node verifies the validity of the user information block, and if it is legal, the user Information blocks are written into their own blockchain.

具体的,本实施例提供的方法,通过在区块链中存储用户信息,能够检测出非法用户操作平台中的物联网数据,从而保证合法用户的权益。Specifically, the method provided in this embodiment can detect the Internet of Things data in the platform operated by illegal users by storing user information in the block chain, thereby ensuring the rights and interests of legitimate users.

步骤203,向终端设备发送通过终端设备的私钥进行加密的绑定指令,以使终端设备根据私钥对绑定指令进行确认。Step 203, sending the binding instruction encrypted by the private key of the terminal device to the terminal device, so that the terminal device confirms the binding instruction according to the private key.

其中,终端设备是指采集物联网数据的终端,且终端设备能够连接到互联网,具体可以包括车辆、智能家居、工业设备、农业设备、共享单车等。Among them, the terminal device refers to the terminal that collects the data of the Internet of Things, and the terminal device can be connected to the Internet, and can specifically include vehicles, smart homes, industrial equipment, agricultural equipment, shared bicycles, etc.

具体的,终端设备具有唯一的地址,可以在出厂时将唯一地址写入设备的硬件中。同时,终端设备还具有私钥。用户可以通过数据管理平台向终端设备发送绑定指令,该绑定指令是通过与终端设备对应的私钥进行加密的。例如第一用户在注册成功以后,可以在平台上登录账号,并操作平台向其拥有的终端设备发送绑定指令。Specifically, the terminal device has a unique address, and the unique address can be written into the hardware of the device when leaving the factory. At the same time, the terminal device also has a private key. The user can send a binding instruction to the terminal device through the data management platform, and the binding instruction is encrypted by the private key corresponding to the terminal device. For example, after the first user successfully registers, he can log in an account on the platform, and operate the platform to send a binding instruction to the terminal device he owns.

终端设备接收到绑定指令后使用私钥进行解密,若解密成功,则确认接收的绑定指令合法,并向数据管理平台发送确认合法信息;否则,确认该绑定指令非法,可以向数据管理平台反馈确认非法信息,也可以不向数据管理平台反馈信息。After receiving the binding command, the terminal device uses the private key to decrypt it. If the decryption is successful, it confirms that the binding command received is legal, and sends a confirmation message to the data management platform; otherwise, it confirms that the binding The platform feeds back and confirms illegal information, or does not need to feed back information to the data management platform.

步骤204,接收终端设备发送的确认信息,并根据确认信息绑定终端设备。Step 204, receiving confirmation information sent by the terminal device, and binding the terminal device according to the confirmation information.

进一步的,若终端设备根据确认结果向数据管理平台仅发送合法的确认信息,则数据管理平台在接收到确认信息后,就可以绑定该终端设备;若终端设备根据确认结果向数据管理平台发送确认合法信息或确认非法信息,则数据管理平台还可以确定确认信息为确认合法还是非法信息,若是确认合法信息,则绑定确认信息对应的终端设备。通过绑定终端设备,能够接收该终端设备发送的物联网数据。Further, if the terminal device only sends legal confirmation information to the data management platform according to the confirmation result, the data management platform can bind the terminal device after receiving the confirmation information; if the terminal device sends To confirm legal information or confirm illegal information, the data management platform can also determine whether the confirmed information is confirmed legal or illegal information, and if confirmed legal information, bind the terminal device corresponding to the confirmed information. By binding the terminal device, the IoT data sent by the terminal device can be received.

步骤205,将终端设备的设备信息发送至区块链网络中的各个节点,以使各个节点将设备信息写入区块链中。Step 205, sending the device information of the terminal device to each node in the block chain network, so that each node writes the device information into the block chain.

其中,为了确保物联网数据确实是由终端设备采集的,还可以在区块链中写入终端设备的设备信息,从而在物联网数据管理平台接收物联网数据时,还可以将物联网数据广播至区块链网络,由区块链网络中的各个节点确定发送物联网数据的终端是否记录在区块链中,若是,则确定该物联网数据合法。Among them, in order to ensure that the IoT data is indeed collected by the terminal device, the device information of the terminal device can also be written in the blockchain, so that when the IoT data management platform receives the IoT data, it can also broadcast the IoT data To the blockchain network, each node in the blockchain network determines whether the terminal sending the IoT data is recorded in the blockchain, and if so, determines that the IoT data is legal.

具体的,物联网数据管理平台可以根据终端设备的设备信息生成设备区块,并向区块链网络广播该设备区块,若设备区块通过全网确认,则物联网数据管理平台将生成的设备区块写入区块链中。同时,区块链网络中的各个节点也可以将设备区块写入自己的区块链中,从而能够通过区块链网络确认物联网是否是记录在区块链中的终端设备采集的。Specifically, the IoT data management platform can generate a device block based on the device information of the terminal device, and broadcast the device block to the blockchain network. If the device block is confirmed by the entire network, the IoT data management platform will generate The device block is written into the blockchain. At the same time, each node in the blockchain network can also write the device block into its own blockchain, so that it can be confirmed through the blockchain network whether the Internet of Things is collected by the terminal equipment recorded in the blockchain.

其中,设备信息至少包括以下一种:Among them, the device information includes at least one of the following:

设备出厂商、设备型号、设备标识、设备类型、设备生产地、设备生成时间、设备用途。Equipment manufacturer, equipment model, equipment identification, equipment type, equipment production place, equipment generation time, and equipment usage.

具体的,区块链网络中的各个节点可以确认各个设备信息是否合法,若是,则确认设备区块合法。Specifically, each node in the blockchain network can confirm whether the information of each device is legal, and if so, confirm that the device block is legal.

步骤206,接收终端设备发送的物联网数据,将物联网数据发送给区块链网络中的各个节点,以使节点根据区块链中的设备信息对物联网数据的合法性进行判断。Step 206, receiving the IoT data sent by the terminal device, and sending the IoT data to each node in the blockchain network, so that the nodes can judge the legitimacy of the IoT data according to the device information in the blockchain.

步骤206与步骤101的具体原理和实现方式类似。The specific principle and implementation manner of step 206 are similar to those of step 101 .

各个节点根据其区块链中存储的设备信息对物联网数据的合法性进行判断。例如,可以判断数据来源的设备信息是否存储在区块链中,若是,则判断物联网数据合法。Each node judges the legitimacy of the IoT data based on the device information stored in its blockchain. For example, it can be judged whether the device information of the data source is stored in the blockchain, and if so, it can be judged that the IoT data is legal.

步骤207,若物联网数据合法,则将物联网数据写入区块链中。Step 207, if the IoT data is legal, write the IoT data into the blockchain.

步骤207与步骤102的具体原理和实现方式类似,此处不再赘述。The specific principle and implementation manner of step 207 are similar to those of step 102, and will not be repeated here.

步骤208,接收第一用户发送的对物联网数据进行处理的操作指令,并将操作指令发送给区块链网络中的各个节点,以使节点根据区块链中的第一用户的账户信息、权限信息对操作指令的合法性进行判断。Step 208, receiving the operation instruction for processing the IoT data sent by the first user, and sending the operation instruction to each node in the blockchain network, so that the node can use the account information of the first user in the blockchain, The authority information judges the legitimacy of the operation instruction.

步骤208与步骤103的具体原理和实现方式类似。The specific principle and implementation manner of step 208 are similar to those of step 103 .

其中,各个节点接收到操作指令后,可以根据其区块链中存储的第一用户的账户信息、权限信息确定操作指令是否合法。例如,第一用户的操作指令中包括删除物联网数据,若第一用户不具备执行该操作的权限,则判断操作指令非法。Wherein, after each node receives the operation instruction, it can determine whether the operation instruction is legal according to the account information and authority information of the first user stored in its block chain. For example, the operation instruction of the first user includes deleting the Internet of Things data, and if the first user does not have the authority to perform the operation, it is determined that the operation instruction is illegal.

具体的,本实施例提供的方法,能够根据区块链中记载的数据信息,确定用户的操作指令是否合法,从而能够避免非法用户恶意操作,操作物联网数据损坏或丢失的问题,从而能够确保物联网数据的安全性。Specifically, the method provided in this embodiment can determine whether the user's operation instruction is legal according to the data information recorded in the blockchain, thereby avoiding malicious operations by illegal users and the problem of data damage or loss in the operation of the Internet of Things, thereby ensuring IoT data security.

步骤209,若操作指令合法,则根据操作指令生成相应的数据服务。Step 209, if the operation instruction is legal, generate corresponding data service according to the operation instruction.

步骤209与步骤104的具体原理和实现方式类似,此处不再赘述。The specific principle and implementation manner of step 209 are similar to those of step 104, and will not be repeated here.

步骤210,接收第二用户发送的购买数据服务的交易请求,并将交易请求发送给区块链网络中的各个节点,以使节点对交易请求的合法性进行判断。Step 210, receiving a transaction request for purchasing data services sent by the second user, and sending the transaction request to each node in the blockchain network, so that the node can judge the legitimacy of the transaction request.

其中,在生成数据服务以后,还可以在物联网数据管理平台上展示数据服务信息,从而使第二用户能够查看数据服务并确定是否购买该数据服务。Wherein, after the data service is generated, the data service information can also be displayed on the Internet of Things data management platform, so that the second user can view the data service and determine whether to purchase the data service.

具体的,第二用户可以通过终端向物联网数据管理平台发送交易请求,该交易请求时用于购买数据服务的交易请求。Specifically, the second user may send a transaction request to the Internet of Things data management platform through the terminal, and the transaction request is a transaction request for purchasing data services.

进一步的,物联网数据管理平台可以将交易请求广播至区块链网络,由区块链网络对交易请求的合法性进行判断。首先,区块链网络可以对交易请求中携带的第二用户身份进行合法性判断,如是否为已注册用户,是否为正常用户等。还可以对第二用户的账户信息进行判断,如其账户是否有足够的余额购买该数据服务等。Furthermore, the IoT data management platform can broadcast the transaction request to the blockchain network, and the blockchain network can judge the legitimacy of the transaction request. First, the blockchain network can judge the legality of the second user identity carried in the transaction request, such as whether it is a registered user or a normal user. It is also possible to judge the account information of the second user, such as whether the account has sufficient balance to purchase the data service.

步骤211,若交易请求合法,则将交易请求发送给第一用户。Step 211, if the transaction request is legal, send the transaction request to the first user.

各节点对交易请求的合法性判断完毕后,将判断结果广播至区块链网络,物联网数据管理平台接收判断结果。同时,其他各个节点也可以将最终的判断结果写入自己区块链中。After each node judges the legality of the transaction request, it broadcasts the judgment result to the blockchain network, and the Internet of Things data management platform receives the judgment result. At the same time, each other node can also write the final judgment result into its own blockchain.

物联网数据管理平台根据区块链网络的判断结果确定交易请求是否合法,若是,则将交易请求发送给第一用户。本实施例提供的方法由区块链网络对交易请求合法性进行判断,避免由单一节点对其进行判断造成误判的问题,同时,在确定第二用户的交易请求合法以后,再将交易请求转发给第一用户,避免恶意的交易请求到达卖方用户,导致用户体验差的问题。The Internet of Things data management platform determines whether the transaction request is legal according to the judgment result of the blockchain network, and if so, sends the transaction request to the first user. The method provided in this embodiment uses the blockchain network to judge the legality of the transaction request, avoiding the problem of misjudgment caused by a single node judging it. At the same time, after determining that the transaction request of the second user is legal, the transaction request Forward it to the first user to prevent malicious transaction requests from reaching the seller user, resulting in poor user experience.

步骤212,接收第一用户发送的确认信息,根据确认信息向第二用户发送数据服务。Step 212, receiving the confirmation information sent by the first user, and sending the data service to the second user according to the confirmation information.

其中,若第一用户同意出售数据服务,则可以向物联网数据管理平台发送确认信息,物联网数据管理平台将数据服务发送给第二用户。Wherein, if the first user agrees to sell the data service, a confirmation message may be sent to the Internet of Things data management platform, and the Internet of Things data management platform will send the data service to the second user.

具体的,在一种实施方式中,也可以结合区块链技术实现步骤212。Specifically, in an implementation manner, step 212 may also be implemented in combination with blockchain technology.

在步骤209生成数据服务后,还可以将数据服务广播至区块链网络,使各个节点都能够记录该数据服务。After the data service is generated in step 209, the data service can also be broadcast to the blockchain network, so that each node can record the data service.

相应的,当物联网数据管理平台接收第一用户发送的确认信息后,还可以将确认信息发送至区块链网络供各个节点确认,若确认通过,则物联网数据管理平台可以从区块链网络中获取数据服务,并对获取的数据进行比对,将最终确定的正确的数据服务发送给第一用户。Correspondingly, after receiving the confirmation information sent by the first user, the IoT data management platform can also send the confirmation information to the blockchain network for confirmation by each node. The data service is obtained from the network, and the obtained data is compared, and the finally determined correct data service is sent to the first user.

在这种实施方式中,可以确保向第一用户发送的数据服务的正确性,避免由于物联网数据管理平台被攻击,造成其中存储的数据服务错误的问题。In this embodiment, the correctness of the data service sent to the first user can be ensured, and the problem of incorrect data service stored therein due to the Internet of Things data management platform being attacked can be avoided.

图3为本发明一示例性实施例示出的物联网数据管理平台的结构图。Fig. 3 is a structural diagram of an IoT data management platform according to an exemplary embodiment of the present invention.

如图3所示,本实施例提供的物联网数据管理平台,包括:As shown in Figure 3, the IoT data management platform provided by this embodiment includes:

接收模块31,用于接收终端设备发送的物联网数据;The receiving module 31 is configured to receive the IoT data sent by the terminal device;

发送模块32,用于将所述物联网数据发送给区块链网络中的各个节点,以使所述节点对所述物联网数据的合法性进行判断;A sending module 32, configured to send the Internet of Things data to each node in the block chain network, so that the nodes judge the legality of the Internet of Things data;

写入模块33,用于若所述物联网数据合法,则将所述物联网数据写入区块链中;Writing module 33, for if described Internet of Things data is legal, then described Internet of Things data is written in block chain;

所述接收模块31还用于接收第一用户发送的对所述物联网数据进行处理的操作指令,所述发送模块32还用于将所述操作指令发送给区块链网络中的各个节点,以使所述节点对所述操作指令的合法性进行判断;The receiving module 31 is also used to receive an operation instruction for processing the IoT data sent by the first user, and the sending module 32 is also used to send the operation instruction to each node in the block chain network, to enable the node to judge the legality of the operation instruction;

生成模块34,用于若所述操作指令合法,则根据所述操作指令生成相应的数据服务。The generation module 34 is configured to generate a corresponding data service according to the operation instruction if the operation instruction is valid.

本实施例提供的物联网数据管理平台,接收模块,用于接收终端设备发送的物联网数据;发送模块,用于将物联网数据发送给区块链网络中的各个节点,以使节点对物联网数据的合法性进行判断;写入模块,用于若物联网数据合法,则将物联网数据写入区块链中;接收模块还用于接收第一用户发送的对物联网数据进行处理的操作指令,发送模块还用于将操作指令发送给区块链网络中的各个节点,以使节点对操作指令的合法性进行判断;生成模块,用于若操作指令合法,则根据操作指令生成相应的数据服务。本实施例提供的平台基于区块链技术,能够保证物联网数据本身的真实性,还能够聚合终端设备生产得到的物联网数据,使得物联网数据能够直接服务于用户。同时,通过用户对物联网平台的操作对数据进行处理生成数据服务,能够提高物联网数据本身的价值,因此,本实施例提供的平台能够提高物联网数据的利用率。The Internet of Things data management platform provided by this embodiment, the receiving module is used to receive the Internet of Things data sent by the terminal equipment; the sending module is used to send the Internet of Things data to each node in the block chain network, so that the nodes The legality of the Internet data is judged; the writing module is used to write the Internet of Things data into the block chain if the Internet of Things data is legal; the receiving module is also used to receive the information sent by the first user to process the Internet of Things data. The operation instruction, the sending module is also used to send the operation instruction to each node in the block chain network, so that the node can judge the legality of the operation instruction; the generation module is used to generate the corresponding operation instruction according to the operation instruction data services. The platform provided by this embodiment is based on blockchain technology, which can guarantee the authenticity of the IoT data itself, and can also aggregate the IoT data produced by the terminal equipment, so that the IoT data can directly serve users. At the same time, the value of the IoT data itself can be increased by processing the data through the user's operations on the IoT platform to generate data services. Therefore, the platform provided in this embodiment can improve the utilization rate of the IoT data.

本实施例提供的物联网数据管理平台的具体原理和实现方式均与图1所示的实施例类似,此处不再赘述。The specific principles and implementation methods of the IoT data management platform provided in this embodiment are similar to the embodiment shown in FIG. 1 , and will not be repeated here.

图4为本发明另一示例性实施例示出的物联网数据管理平台的结构图。Fig. 4 is a structural diagram of an IoT data management platform according to another exemplary embodiment of the present invention.

图4中仅示意性的表示出一个节点,但是根据本实施例提供的方案可知,在区块链网络中还可以包括多个节点。Only one node is schematically shown in FIG. 4 , but according to the solution provided in this embodiment, it can be known that multiple nodes may also be included in the blockchain network.

如图4所示,在上述实施例的基础上,本实施例提供的物联网数据管理平台,所述发送模块32还用于向所述终端设备发送通过所述终端设备的私钥进行加密的绑定指令,以使所述终端设备根据所述私钥对所述绑定指令进行确认;As shown in FIG. 4, on the basis of the above-mentioned embodiments, in the Internet of Things data management platform provided by this embodiment, the sending module 32 is also used to send to the terminal device the encrypted data encrypted by the private key of the terminal device. Binding instructions, so that the terminal device confirms the binding instructions according to the private key;

所述接收模块31还用于接收所述终端设备发送的确认信息;The receiving module 31 is also configured to receive confirmation information sent by the terminal device;

所述平台还包括绑定模块35,用于根据所述确认信息绑定所述终端设备。The platform also includes a binding module 35, configured to bind the terminal device according to the confirmation information.

可选的,所述发送模块32包括设备信息发送单元321,用于将所述终端设备的设备信息发送至所述区块链网络中的各个节点,以使各个节点将所述设备信息写入区块链中;Optionally, the sending module 32 includes a device information sending unit 321, configured to send the device information of the terminal device to each node in the block chain network, so that each node writes the device information into in the blockchain;

相应的,所述节点对所述物联网数据的合法性进行判断,包括:Correspondingly, the node judges the legality of the IoT data, including:

所述节点根据区块链中的所述设备信息对所述物联网数据的合法性进行判断。The node judges the legitimacy of the IoT data according to the device information in the block chain.

可选的,所述接收模块31包括注册请求接收单元311,用于接收所述第一用户发送的注册请求;Optionally, the receiving module 31 includes a registration request receiving unit 311, configured to receive the registration request sent by the first user;

所述平台还包括确定模块36,用于根据所述注册请求确定所述第一用户的账号信息,并为所述用户分配权限;The platform also includes a determination module 36, configured to determine the account information of the first user according to the registration request, and assign permissions to the user;

所述发送模块32包括用户信息发送单元322,用于将所述第一用户的账户信息、权限信息发送给所述区块链网络中的各个节点,以使所述节点将所述账户信息、权限信息写入区块链中;The sending module 32 includes a user information sending unit 322, configured to send the account information and authority information of the first user to each node in the block chain network, so that the nodes send the account information, Authorization information is written into the blockchain;

相应的,所述节点对所述操作指令的合法性进行判断包括:Correspondingly, the node judging the legality of the operation instruction includes:

所述节点根据区块链中的所述第一用户的账户信息、权限信息对所述操作指令的合法性进行判断。The node judges the legality of the operation instruction according to the account information and authority information of the first user in the block chain.

可选的,所述接收模块31包括交易请求接收单元312,用于接收第二用户发送的购买所述数据服务的交易请求;Optionally, the receiving module 31 includes a transaction request receiving unit 312, configured to receive a transaction request for purchasing the data service sent by the second user;

所述发送模块32包括交易请求发送单元323,用于将所述交易请求发送给所述区块链网络中的各个节点,以使所述节点对所述交易请求的合法性进行判断;The sending module 32 includes a transaction request sending unit 323, configured to send the transaction request to each node in the block chain network, so that the node can judge the legitimacy of the transaction request;

若所述交易请求合法,则所述交易请求发送单元323还用于将所述交易请求发送给所述第一用户;If the transaction request is legal, the transaction request sending unit 323 is further configured to send the transaction request to the first user;

相应的,所述接收模块31还包括确认消息接收单元313,用于接收所述第一用户发送的确认信息,并根据所述确认信息向所述第二用户发送所述数据服务。Correspondingly, the receiving module 31 further includes a confirmation message receiving unit 313, configured to receive the confirmation message sent by the first user, and send the data service to the second user according to the confirmation message.

本实施例提供的物联网数据管理平台的具体原理和实现方式均与图2所示的实施例类似,此处不再赘述。The specific principles and implementation methods of the IoT data management platform provided in this embodiment are similar to those of the embodiment shown in FIG. 2 , and will not be repeated here.

本实施例还提供一种物联网数据管理设备,包括:This embodiment also provides an Internet of Things data management device, including:

存储器;memory;

处理器;以及processor; and

计算机程序;Computer program;

其中,所述计算机程序存储在所述存储器中,并配置为由所述处理器执行以实现如上所述的任一种方法。Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement any one of the above methods.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (11)

Translated fromChinese
1.一种物联网数据管理方法,其特征在于,包括:1. A data management method for the Internet of Things, characterized in that, comprising:接收终端设备发送的物联网数据,将所述物联网数据发送给区块链网络中的各个节点,以使所述节点对所述物联网数据的合法性进行判断;receiving the Internet of Things data sent by the terminal device, and sending the Internet of Things data to each node in the blockchain network, so that the nodes can judge the legality of the Internet of Things data;若所述物联网数据合法,则将所述物联网数据写入区块链中;If the Internet of Things data is legal, then write the Internet of Things data into the block chain;接收第一用户发送的对所述物联网数据进行处理的操作指令,并将所述操作指令发送给区块链网络中的各个节点,以使所述节点对所述操作指令的合法性进行判断;Receive the operation instruction for processing the IoT data sent by the first user, and send the operation instruction to each node in the blockchain network, so that the node can judge the legitimacy of the operation instruction ;若所述操作指令合法,则根据所述操作指令生成相应的数据服务。If the operation instruction is valid, generate corresponding data service according to the operation instruction.2.根据权利要求1所述的方法,其特征在于,所述接收终端设备发送的物联网数据之前,还包括:2. The method according to claim 1, characterized in that, before receiving the IoT data sent by the terminal device, further comprising:向所述终端设备发送通过所述终端设备的私钥进行加密的绑定指令,以使所述终端设备根据所述私钥对所述绑定指令进行确认;Sending a binding instruction encrypted by the private key of the terminal device to the terminal device, so that the terminal device confirms the binding instruction according to the private key;接收所述终端设备发送的确认信息,并根据所述确认信息绑定所述终端设备。receiving confirmation information sent by the terminal device, and binding the terminal device according to the confirmation information.3.根据权利要求2所述的方法,其特征在于,所述根据所述确认信息绑定所述终端设备之后,还包括:3. The method according to claim 2, characterized in that after binding the terminal device according to the confirmation information, further comprising:将所述终端设备的设备信息发送至所述区块链网络中的各个节点,以使各个节点将所述设备信息写入区块链中;sending the device information of the terminal device to each node in the block chain network, so that each node writes the device information into the block chain;相应的,所述节点对所述物联网数据的合法性进行判断,包括:Correspondingly, the node judges the legality of the IoT data, including:所述节点根据区块链中的所述设备信息对所述物联网数据的合法性进行判断。The node judges the legitimacy of the IoT data according to the device information in the block chain.4.根据权利要求1-3任一项所述的方法,其特征在于,还包括:4. The method according to any one of claims 1-3, further comprising:接收所述第一用户发送的注册请求,根据所述注册请求确定所述第一用户的账号信息,并为所述用户分配权限;receiving a registration request sent by the first user, determining account information of the first user according to the registration request, and assigning permissions to the user;将所述第一用户的账户信息、权限信息发送给所述区块链网络中的各个节点,以使所述节点将所述账户信息、权限信息写入区块链中;Send the account information and authority information of the first user to each node in the blockchain network, so that the nodes write the account information and authority information into the blockchain;相应的,所述节点对所述操作指令的合法性进行判断包括:Correspondingly, the node judging the legality of the operation instruction includes:所述节点根据区块链中的所述第一用户的账户信息、权限信息对所述操作指令的合法性进行判断。The node judges the legality of the operation instruction according to the account information and authority information of the first user in the block chain.5.根据权利要求1-3任一项所述的方法,其特征在于,还包括:5. The method according to any one of claims 1-3, further comprising:接收第二用户发送的购买所述数据服务的交易请求,并将所述交易请求发送给所述区块链网络中的各个节点,以使所述节点对所述交易请求的合法性进行判断;receiving a transaction request for purchasing the data service sent by the second user, and sending the transaction request to each node in the blockchain network, so that the node can judge the legitimacy of the transaction request;若所述交易请求合法,则将所述交易请求发送给所述第一用户;If the transaction request is legal, sending the transaction request to the first user;相应的,所述方法还包括:接收所述第一用户发送的确认信息,并根据所述确认信息向所述第二用户发送所述数据服务。Correspondingly, the method further includes: receiving confirmation information sent by the first user, and sending the data service to the second user according to the confirmation information.6.一种物联网数据管理平台,其特征在于,包括:6. A data management platform for the Internet of Things, characterized in that, comprising:接收模块,用于接收终端设备发送的物联网数据;The receiving module is used to receive the IoT data sent by the terminal device;发送模块,用于将所述物联网数据发送给区块链网络中的各个节点,以使所述节点对所述物联网数据的合法性进行判断;A sending module, configured to send the Internet of Things data to each node in the block chain network, so that the nodes can judge the legality of the Internet of Things data;写入模块,用于若所述物联网数据合法,则将所述物联网数据写入区块链中;A writing module, configured to write the IoT data into the block chain if the IoT data is legal;所述接收模块还用于接收第一用户发送的对所述物联网数据进行处理的操作指令,所述发送模块还用于将所述操作指令发送给区块链网络中的各个节点,以使所述节点对所述操作指令的合法性进行判断;The receiving module is also used to receive the operation instruction sent by the first user to process the IoT data, and the sending module is also used to send the operation instruction to each node in the block chain network, so that The node judges the legality of the operation instruction;生成模块,用于若所述操作指令合法,则根据所述操作指令生成相应的数据服务。The generation module is configured to generate corresponding data services according to the operation instruction if the operation instruction is valid.7.根据权利要求6所述的平台,其特征在于,7. The platform of claim 6, wherein所述发送模块还用于向所述终端设备发送通过所述终端设备的私钥进行加密的绑定指令,以使所述终端设备根据所述私钥对所述绑定指令进行确认;The sending module is further configured to send to the terminal device a binding instruction encrypted by the private key of the terminal device, so that the terminal device confirms the binding instruction according to the private key;所述接收模块还用于接收所述终端设备发送的确认信息;The receiving module is further configured to receive confirmation information sent by the terminal device;所述平台还包括绑定模块,用于根据所述确认信息绑定所述终端设备。The platform also includes a binding module, configured to bind the terminal device according to the confirmation information.8.根据权利要求7所述的平台,其特征在于,所述发送模块包括设备信息发送单元,用于将所述终端设备的设备信息发送至所述区块链网络中的各个节点,以使各个节点将所述设备信息写入区块链中;8. The platform according to claim 7, wherein the sending module includes a device information sending unit, configured to send the device information of the terminal device to each node in the block chain network, so that Each node writes the device information into the blockchain;相应的,所述节点对所述物联网数据的合法性进行判断,包括:Correspondingly, the node judges the legality of the IoT data, including:所述节点根据区块链中的所述设备信息对所述物联网数据的合法性进行判断。The node judges the legitimacy of the IoT data according to the device information in the block chain.9.根据权利要求6-8任一项所述的平台,其特征在于,9. The platform according to any one of claims 6-8, characterized in that,所述接收模块包括注册请求接收单元,用于接收所述第一用户发送的注册请求;The receiving module includes a registration request receiving unit, configured to receive the registration request sent by the first user;所述平台还包括确定模块,用于根据所述注册请求确定所述第一用户的账号信息,并为所述用户分配权限;The platform also includes a determination module, configured to determine the account information of the first user according to the registration request, and assign permissions to the user;所述发送模块包括用户信息发送单元,用于将所述第一用户的账户信息、权限信息发送给所述区块链网络中的各个节点,以使所述节点将所述账户信息、权限信息写入区块链中;The sending module includes a user information sending unit, configured to send the account information and authority information of the first user to each node in the block chain network, so that the nodes send the account information, authority information written into the blockchain;相应的,所述节点对所述操作指令的合法性进行判断包括:Correspondingly, the node judging the legality of the operation instruction includes:所述节点根据区块链中的所述第一用户的账户信息、权限信息对所述操作指令的合法性进行判断。The node judges the legality of the operation instruction according to the account information and authority information of the first user in the block chain.10.根据权利要求6-8任一项所述的平台,其特征在于,10. The platform according to any one of claims 6-8, characterized in that,所述接收模块包括交易请求接收单元,用于接收第二用户发送的购买所述数据服务的交易请求;The receiving module includes a transaction request receiving unit, configured to receive a transaction request for purchasing the data service sent by the second user;所述发送模块包括交易请求发送单元,用于将所述交易请求发送给所述区块链网络中的各个节点,以使所述节点对所述交易请求的合法性进行判断;The sending module includes a transaction request sending unit, configured to send the transaction request to each node in the blockchain network, so that the node can judge the legitimacy of the transaction request;若所述交易请求合法,则所述交易请求发送单元还用于将所述交易请求发送给所述第一用户;If the transaction request is legal, the transaction request sending unit is further configured to send the transaction request to the first user;相应的,所述接收模块还包括确认消息接收单元,用于接收所述第一用户发送的确认信息,并根据所述确认信息向所述第二用户发送所述数据服务。Correspondingly, the receiving module further includes a confirmation message receiving unit configured to receive confirmation information sent by the first user, and send the data service to the second user according to the confirmation information.11.一种物联网数据管理设备,其特征在于,包括:11. An Internet of Things data management device, characterized in that, comprising:存储器;memory;处理器;以及processor; and计算机程序;Computer program;其中,所述计算机程序存储在所述存储器中,并配置为由所述处理器执行以实现如权利要求1-5所述的任一种方法。Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement any one of the methods as claimed in claims 1-5.
CN201810461086.6A2018-05-152018-05-15 IoT data management method, platform and deviceActiveCN108694330B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810461086.6ACN108694330B (en)2018-05-152018-05-15 IoT data management method, platform and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810461086.6ACN108694330B (en)2018-05-152018-05-15 IoT data management method, platform and device

Publications (2)

Publication NumberPublication Date
CN108694330Atrue CN108694330A (en)2018-10-23
CN108694330B CN108694330B (en)2022-04-26

Family

ID=63846240

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810461086.6AActiveCN108694330B (en)2018-05-152018-05-15 IoT data management method, platform and device

Country Status (1)

CountryLink
CN (1)CN108694330B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109831526A (en)*2019-03-122019-05-31中国联合网络通信集团有限公司Cloud service and network service collaboration processing method, system and storage medium
CN109993658A (en)*2019-04-152019-07-09北京杰视通科技发展有限公司Electricity based on block chain really weighs method, intelligent terminal and block chain node
CN110300102A (en)*2019-06-172019-10-01中电科大数据研究院有限公司A kind of Internet of Things safety access system and method based on block chain
CN110620820A (en)*2019-09-262019-12-27国网山东省电力公司莱芜供电公司Ubiquitous power Internet of things intelligent management system
CN110702982A (en)*2019-10-142020-01-17国网山东省电力公司潍坊供电公司Intelligent recovery management system for electric energy metering device
CN111224804A (en)*2018-11-262020-06-02中国移动通信集团辽宁有限公司 IoT device initialization method, device, IoT device and storage medium
CN112243008A (en)*2020-10-162021-01-19中国联合网络通信集团有限公司 A data management method and device
CN112398820A (en)*2020-11-032021-02-23中国联合网络通信集团有限公司Data management method and device
CN112585930A (en)*2020-09-112021-03-30华为技术有限公司Data storage method, device and system
CN113472546A (en)*2021-09-022021-10-01杭州链城数字科技有限公司Data trusted processing method, block chain platform and terminal equipment
CN114610705A (en)*2022-03-212022-06-10京东科技信息技术有限公司Processing method and device of Internet of things data, storage medium and electronic equipment
US11418342B2 (en)2020-01-022022-08-16Hong Kong Applied Science and Technology Research Institute Co.. Ltd.System and methods for data exchange using a distributed ledger
CN117950586A (en)*2024-01-022024-04-30中铁工程设计咨询集团有限公司 Distributed storage method of computer virus library based on blockchain and related devices
WO2025010644A1 (en)*2023-07-122025-01-16北京小米移动软件有限公司Communication method, terminal, network device, communication system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106778343A (en)*2016-12-122017-05-31武汉优聘科技有限公司It is a kind of that the data sharing method of private data is related to based on block chain
CN107508812A (en)*2017-08-292017-12-22广东工业大学A kind of industry control network date storage method, call method and system
CN107749848A (en)*2017-10-232018-03-02中国联合网络通信集团有限公司Processing method, device and the Internet of things system of Internet of Things data
CN107896150A (en)*2017-12-212018-04-10善林(上海)金融信息服务有限公司Link block chain network and the system of Internet of Things

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106778343A (en)*2016-12-122017-05-31武汉优聘科技有限公司It is a kind of that the data sharing method of private data is related to based on block chain
CN107508812A (en)*2017-08-292017-12-22广东工业大学A kind of industry control network date storage method, call method and system
CN107749848A (en)*2017-10-232018-03-02中国联合网络通信集团有限公司Processing method, device and the Internet of things system of Internet of Things data
CN107896150A (en)*2017-12-212018-04-10善林(上海)金融信息服务有限公司Link block chain network and the system of Internet of Things

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111224804A (en)*2018-11-262020-06-02中国移动通信集团辽宁有限公司 IoT device initialization method, device, IoT device and storage medium
CN109831526B (en)*2019-03-122022-02-11中国联合网络通信集团有限公司Cloud service and network service cooperative processing method, system and storage medium
CN109831526A (en)*2019-03-122019-05-31中国联合网络通信集团有限公司Cloud service and network service collaboration processing method, system and storage medium
CN109993658A (en)*2019-04-152019-07-09北京杰视通科技发展有限公司Electricity based on block chain really weighs method, intelligent terminal and block chain node
CN110300102A (en)*2019-06-172019-10-01中电科大数据研究院有限公司A kind of Internet of Things safety access system and method based on block chain
CN110620820A (en)*2019-09-262019-12-27国网山东省电力公司莱芜供电公司Ubiquitous power Internet of things intelligent management system
CN110702982B (en)*2019-10-142022-07-01国网山东省电力公司潍坊供电公司Intelligent recovery management system for electric energy metering device
CN110702982A (en)*2019-10-142020-01-17国网山东省电力公司潍坊供电公司Intelligent recovery management system for electric energy metering device
US11418342B2 (en)2020-01-022022-08-16Hong Kong Applied Science and Technology Research Institute Co.. Ltd.System and methods for data exchange using a distributed ledger
CN112585930A (en)*2020-09-112021-03-30华为技术有限公司Data storage method, device and system
CN112243008A (en)*2020-10-162021-01-19中国联合网络通信集团有限公司 A data management method and device
CN112398820A (en)*2020-11-032021-02-23中国联合网络通信集团有限公司Data management method and device
CN112398820B (en)*2020-11-032023-05-26中国联合网络通信集团有限公司 A data management method and device
CN113472546A (en)*2021-09-022021-10-01杭州链城数字科技有限公司Data trusted processing method, block chain platform and terminal equipment
CN114610705A (en)*2022-03-212022-06-10京东科技信息技术有限公司Processing method and device of Internet of things data, storage medium and electronic equipment
WO2025010644A1 (en)*2023-07-122025-01-16北京小米移动软件有限公司Communication method, terminal, network device, communication system and storage medium
CN117950586A (en)*2024-01-022024-04-30中铁工程设计咨询集团有限公司 Distributed storage method of computer virus library based on blockchain and related devices

Also Published As

Publication numberPublication date
CN108694330B (en)2022-04-26

Similar Documents

PublicationPublication DateTitle
CN108694330B (en) IoT data management method, platform and device
CN109981679B (en)Method and apparatus for performing transactions in a blockchain network
CN111538784B (en)Digital asset transaction method, device and storage medium based on blockchain
CN108540553B (en)Internet of things data management method, platform and equipment
CN102823195B (en) System and method for remotely maintaining a client system in an electronic network using software testing performed by a virtual machine
CN115811412B (en)Communication method and device, SIM card, electronic equipment and terminal equipment
CN112883382B (en)Vehicle writing method, internet of vehicles box, vehicle and storage medium
CN113261253B (en) Method and system for controlling the release of resources
TW201445956A (en) Terminal identification method, machine identification code registration method, and corresponding system and device
CN111292041A (en)Electronic contract generating method, device, equipment and storage medium
CN110535807B (en)Service authentication method, device and medium
CN110084600B (en)Processing and verifying method, device, equipment and medium for resolution transaction request
CN111460457A (en)Real estate property registration supervision method, device, electronic equipment and storage medium
CN112948866B (en)Data processing method, device, equipment and readable storage medium
CN107994993B (en) Application detection method and device
CN111210217A (en)Data processing method, device and storage medium
CN111460400A (en)Data processing method and device and computer readable storage medium
CN108540335B (en)Management method and management device for equipment analysis report
CN120106864A (en) Method and system for managing carbon data using a blockchain network
CN117595996A (en)Electronic signature processing method and device, electronic equipment and storage medium
CN118114222A (en)Authentication method, device, system, equipment and medium for data product
CN107809424B (en)On-site certificate storing method and device and related certificate storing system
CN111079155A (en)Data processing method and device, electronic equipment and computer storage medium
TWI646480B (en)System for issuing and verifying certificates based on blockchain and method thereof
CN116980136A (en)Interface processing method, device, equipment, storage medium and product of intelligent contract

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp