Block chain Internet of things equipment safety judgment method and judgment system and storage medium

文档序号:1616993 发布日期:2020-01-10 浏览:15次 中文

阅读说明:本技术 一种区块链的物联网设备的安全判定方法、判定系统及存储介质 (Block chain Internet of things equipment safety judgment method and judgment system and storage medium ) 是由 于中阳 冯翔 吴寿鹤 于 2018-07-02 设计创作,主要内容包括:本发明提供一种区块链的物联网设备的安全判定方法、判定系统及存储介质,属于区块链技术领域。本发明中一种区块链的物联网设备的安全判定方法、判定系统及存储介质为:根据区块链智能合约,将所述物联网设备接入所述区块链,并获取所述物联网设备的设备信息;在预设时间段内,统计所述物联网的接入时长;将所述接入时长与预设的接入时长阈值进行比较:当所述接入时长大于所述接入时长阈值,则判定所述物联网设备的数据安全,本发明能够有效实现对接入区块链的物联网设备进行管理,对其提供的数据进行质量验证,从而促进区块链技术与物联网的深度融合以及发展,并且本发明可以结合不同的区块链系统当中具体的安全策略对接入时长进行设定,以满足不同系统的具体需求,从而实现差异化管理。(The invention provides a safety judgment method and a safety judgment system for block chain Internet of things equipment and a storage medium, and belongs to the technical field of block chains. The invention relates to a safety judgment method, a judgment system and a storage medium of block chain Internet of things equipment, wherein the safety judgment method, the judgment system and the storage medium are as follows: according to a block chain intelligent contract, accessing the Internet of things equipment into the block chain, and acquiring equipment information of the Internet of things equipment; counting the access time of the Internet of things within a preset time period; comparing the access duration with a preset access duration threshold: when the access duration is greater than the access duration threshold, the data safety of the Internet of things equipment is judged, the Internet of things equipment accessing the block chain can be effectively managed, the quality of the data provided by the Internet of things equipment is verified, the deep fusion and development of the block chain technology and the Internet of things are promoted, the access duration can be set by combining with specific safety strategies in different block chain systems, the specific requirements of different systems are met, and the differentiated management is realized.)

1. A safety judgment method, a safety judgment system and a storage medium of block chain Internet of things equipment are characterized in that the method comprises the following steps:

according to a block chain intelligent contract, accessing the Internet of things equipment into the block chain, and acquiring equipment information of the Internet of things equipment;

counting the access time of the Internet of things within a preset time period;

comparing the access duration with a preset access duration threshold: and when the access duration is greater than the access duration threshold, judging the data security of the Internet of things equipment.

2. The safety judgment method for the block chain internet of things equipment according to claim 1, further comprising: and when the access duration is smaller than the access duration threshold, not processing the data of the Internet of things equipment.

3. The method for determining the security of the block chain internet-of-things device according to claim 1, wherein the step of accessing the internet-of-things device to the block chain according to a block chain smart contract and acquiring the device information of the internet-of-things device includes:

judging whether the Internet of things equipment meets the intelligent block chain contract or not:

if yes, accessing the Internet of things equipment to the block chain; and acquiring the equipment information of the equipment of the Internet of things.

4. The method for determining the security of an internet of things device of a blockchain according to claim 1, wherein the access duration threshold is set according to a security policy of the blockchain.

5. The safety judgment method for the block chain internet of things equipment according to claim 1, further comprising:

and when the data of the Internet of things equipment is safe, the accumulated access duration of the Internet of things equipment is counted again.

6. The safety judgment method for the block chain Internet of things equipment according to claim 5, characterized in that: the method further comprises the following steps: and giving corresponding rewards to the Internet of things equipment according to the accumulated access duration.

7. A safety judgment system of block chain Internet of things equipment is characterized by comprising:

the access acquisition module is used for accessing the Internet of things equipment into the block chain according to the intelligent contract of the block chain and acquiring equipment information of the Internet of things equipment;

the statistical module is used for counting the access duration of the Internet of things within a preset time period;

a comparison and judgment module, configured to compare the access duration with a preset access duration threshold: and when the access duration is greater than the access duration threshold, judging the data security of the Internet of things equipment.

8. A storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the security decision method as claimed in any one of claims 1 to 6.

Technical Field

The invention relates to a safety judgment method and a safety judgment system for block chain Internet of things equipment and a storage medium, and belongs to the technical field of block chains.

Background

At present, the Internet of things and the block chain are deeply fused, and a plurality of Internet of things devices are connected into the block chain. Based on the characteristics of the Internet of things equipment, the system has two significant characteristics, namely, the system is large in quantity and large in quantity; the second is different models, with various devices and models.

For the characteristics of the internet of things equipment, management of the equipment accessed into the block chain is a great problem. For the problems of data authenticity, quality and the like provided by the Internet of things equipment accessed into the block chain, a unified solution strategy does not exist at present, and a good solution does not exist. The data authenticity and quality verification of large-scale Internet of things equipment with different models is a problem which needs to be solved urgently and lacks of a security strategy, and no good strategy can meet the requirements of users at present.

Disclosure of Invention

In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, and a storage medium for determining security of a block chain of an internet of things device, which are used to solve the problem in the prior art that verification of authenticity, quality, and the like of data after the internet of things device accesses the block chain is difficult.

To achieve the above and other related objects, a method, a system and a storage medium for determining security of a blockchain internet of things device are provided, the method comprising:

according to a block chain intelligent contract, accessing the Internet of things equipment into the block chain, and acquiring equipment information of the Internet of things equipment;

counting the access time of the Internet of things within a preset time period;

comparing the access duration with a preset access duration threshold: and when the access duration is greater than the access duration threshold, judging the data security of the Internet of things equipment.

The method further comprises the following steps: and when the access duration is smaller than the access duration threshold, not processing the data of the Internet of things equipment.

The step of accessing the internet of things equipment into the block chain according to the block chain intelligent contract and acquiring the equipment information of the internet of things equipment comprises the following steps:

judging whether the Internet of things equipment meets the intelligent block chain contract or not:

if yes, accessing the Internet of things equipment to the block chain; and acquiring the equipment information of the equipment of the Internet of things.

The access duration threshold is set according to a security policy of the blockchain.

The method further comprises the following steps: and when the data of the Internet of things equipment is safe, the accumulated access duration of the Internet of things equipment is counted again.

The method further comprises the following steps: and giving corresponding rewards to the Internet of things equipment according to the accumulated access duration.

The security determination system includes:

the access acquisition module is used for accessing the Internet of things equipment into the block chain according to the intelligent contract of the block chain and acquiring equipment information of the Internet of things equipment;

the statistical module is used for counting the access duration of the Internet of things within a preset time period;

a comparison and judgment module, configured to compare the access duration with a preset access duration threshold: and when the access duration is greater than the access duration threshold, judging the data security of the Internet of things equipment.

A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the security decision method as described above.

As described above, the block chain-based time lapse security mechanism of the present invention has the following advantageous effects:

according to the invention, through a time lapse safety mechanism, the management of the Internet of things equipment accessing the block chain can be effectively realized, and the quality verification is carried out on the data provided by the Internet of things equipment, so that the deep fusion and development of the block chain technology and the Internet of things are promoted.

Drawings

Fig. 1 is a schematic workflow diagram of a block chain-based time lapse security mechanism according to an embodiment of the present invention.

Fig. 2 is a schematic structural diagram illustrating an operation principle of a block chain-based time lapse security mechanism according to an embodiment of the present invention.

Fig. 3 is a system configuration diagram of a block chain-based time lapse security mechanism according to an embodiment of the present invention.

Detailed Description

The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure.

Referring to fig. 1, the present invention provides a safety determination method and a safety determination system for block chain internet of things devices, and a workflow diagram of a storage medium.

As shown in fig. 1, the method for determining the security of an internet of things device of a block chain, the determination system, and the method for applying a storage medium of the internet of things device of the block chain of the present invention are as follows:

according to a block chain intelligent contract, accessing the Internet of things equipment into the block chain, and acquiring equipment information of the Internet of things equipment;

counting the access time of the Internet of things within a preset time period;

comparing the access duration with a preset access duration threshold: and when the access duration is greater than the access duration threshold, judging the data security of the Internet of things equipment.

Referring to fig. 2, the present invention provides a safety determination method and a safety determination system for block chain internet of things devices, and a schematic structural diagram of a working principle of a storage medium.

As shown in fig. 2, the access acquisition module is configured to acquire device information of the internet of things device, the statistics module is configured to count an access duration of the internet of things device within a period of time, and the comparison and determination module is configured to compare the access duration with a preset access duration threshold.

Referring to fig. 3, the present invention provides a system structure diagram of a security determination method, a determination system and a storage medium for a block chain internet of things device.

As shown in fig. 3, the internet of things device in the present invention includes: bar codes, Radio Frequency Identification (RFID), sensors, global positioning systems, laser scanners, and other information sensing devices.

In summary, according to the invention, through a time lapse security mechanism, management of the internet of things equipment accessing the block chain can be effectively realized, and quality verification is performed on the data provided by the internet of things equipment, so that deep fusion and development of the block chain technology and the internet of things are promoted. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.

The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:防钓鱼攻击的方法、装置及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类