CN111953546B - Internet of things equipment management method based on block chain system and intelligent home system - Google Patents

Internet of things equipment management method based on block chain system and intelligent home system Download PDF

Info

Publication number
CN111953546B
CN111953546B CN202010846248.5A CN202010846248A CN111953546B CN 111953546 B CN111953546 B CN 111953546B CN 202010846248 A CN202010846248 A CN 202010846248A CN 111953546 B CN111953546 B CN 111953546B
Authority
CN
China
Prior art keywords
node
evaluation value
credit
risk value
credit evaluation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010846248.5A
Other languages
Chinese (zh)
Other versions
CN111953546A (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.)
Shanghai Heshu Software Co ltd
Original Assignee
Shanghai Heshu Software 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 Shanghai Heshu Software Co ltd filed Critical Shanghai Heshu Software Co ltd
Priority to CN202010846248.5A priority Critical patent/CN111953546B/en
Publication of CN111953546A publication Critical patent/CN111953546A/en
Application granted granted Critical
Publication of CN111953546B publication Critical patent/CN111953546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses an Internet of things equipment management method based on a block chain system and an intelligent home system, wherein the block chain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment in communication connection with the main node; the method comprises the following steps: any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the evaluation of the degree or probability that the main node can provide effective service for other main nodes, and the second credit evaluation value is obtained according to the evaluation of the degree or probability that the node equipment can provide effective service for other node equipment connected with the main node; synchronizing the first credit estimate and the second credit estimate to respective master nodes and node devices in the blockchain system based on a consensus algorithm; the node device selects other node devices for data communication based on the first credit estimate and the second credit estimate. The application aims to improve the efficiency of data interaction between the intelligent home devices in the intelligent home system.

Description

Internet of things equipment management method based on block chain system and intelligent home system
Technical Field
The application relates to the technical field of Internet of things, in particular to an Internet of things equipment management method based on a block chain system and an intelligent home system.
Background
The popularization and rapid development of the internet of things technology enable the internet of things to be applied to daily life everywhere and play an important role in various fields, for example, an intelligent home system based on the internet of things technology can transmit data such as security and instruments and the like, issue crisis, disasters and other information, and then acquire information such as stranger intrusion, gas leakage, fire and the like through the security and protection system, so that great convenience is brought to the life of people.
In the current intelligent home system, each intelligent device is connected to the same local area network, a centralized control main node is arranged in the local area network, each intelligent device needs to send information to the main node at regular time to report the current device state, the main node can store and monitor the device state of each intelligent device, and can also send instructions to each intelligent device, each intelligent device completes a specific task based on the instructions, and the information interaction among the intelligent devices also depends on the main node to perform data transmission.
The intelligent home system has the requirements of cooperation, interaction and resource scheduling. The cooperation among the intelligent household devices can be carried out in the intelligent household system; on the other hand, various forms of cooperation such as business transaction and information sharing exist between the two intelligent home systems. Because the devices in the Internet of things are numerous, the problem of how to perform efficient data interaction between the intelligent household devices is not effectively solved.
Disclosure of Invention
The embodiment of the application provides an Internet of things equipment management method based on a block chain system and an intelligent home system, and aims to improve the efficiency of data interaction between intelligent home equipment in the intelligent home system.
The embodiment of the application provides an Internet of things equipment management method based on a blockchain system, wherein the blockchain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment in communication connection with the main node; the Internet of things equipment management method based on the block chain system comprises the following steps:
any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the degree or probability evaluation value of the main node capable of providing effective service for other main nodes, and the second credit evaluation value is obtained according to the degree or probability evaluation value of the node equipment capable of providing effective service for other node equipment connected with the main node;
synchronizing the first credit estimate and the second credit estimate to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment for data communication according to the first credit evaluation value and the second credit evaluation value.
In some embodiments, the first credit estimate and the second credit estimate are updated for a period of 1 to 30 minutes.
In some embodiments, the method for managing devices of the internet of things based on the blockchain system further includes:
any main node updates the first risk value and the second risk value; the first risk value is used for representing a risk value of the trust degree of the master node to any node device connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node device to other node devices connected with the master node in the preset period.
In some embodiments, the first risk value is set as a number of times that the master node estimates the degree of trust of any node device connected thereto to be below a preset desired threshold value within a preset period.
In some embodiments, the second risk value is set to a number of times the second credit estimate falls below a preset desired threshold within a preset period.
In some embodiments, the method for managing devices of the internet of things based on the blockchain system further includes:
synchronizing the first risk value and the second risk value to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment to carry out data communication according to the first risk value and the second risk value.
In some embodiments, the predetermined period is 1 to 7 days.
In some embodiments, the block chain system employs a federated chain structure, and the consensus algorithm employs a Byzantine fault-tolerant algorithm.
The application also provides an Internet of things equipment management method based on a block chain system, wherein the block chain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment in communication connection with the main node; the Internet of things equipment management method based on the block chain system comprises the following steps:
any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the degree or probability evaluation value of the main node capable of providing effective service for other main nodes, and the second credit evaluation value is obtained according to the degree or probability evaluation value of the node equipment capable of providing effective service for other node equipment connected with the main node;
any main node updates the first risk value and the second risk value; the first risk value is used for representing a risk value of the trust degree of the master node to any node device connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node device to other node devices connected with the master node in the preset period;
synchronizing the first credit estimate, the second credit estimate, the first risk value, and the second risk value to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment for data communication according to the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value.
The application also provides an intelligent home system, which comprises at least two background servers in communication connection with each other, wherein each background server manages a plurality of intelligent home devices in communication connection with the background server; the smart home system further comprises a processor, a memory and a blockchain system-based internet of things device management program which is stored in the memory and can run on the processor, wherein the blockchain system-based internet of things device management program is executed by the processor, and the method comprises the steps of the blockchain system-based internet of things device management method.
In this embodiment, the trust degrees of the master nodes and the node devices in the blockchain system are quantized by setting the first credit evaluation value and the second credit evaluation value, and then the first credit evaluation value and the second credit evaluation value are synchronized to each master node and node device in the blockchain system based on a consensus algorithm, so that the node devices select other node devices with higher credit evaluation values according to the first credit evaluation value and the second credit evaluation value to perform data interaction. Therefore, the efficiency of data interaction between the intelligent home devices in the intelligent home system is improved.
Drawings
Fig. 1 is a hardware architecture diagram of an intelligent home system according to the present application;
fig. 2 is a schematic flowchart of a first embodiment of the internet of things device management method based on a blockchain system according to the present application;
FIG. 3 is a system framework diagram of one embodiment of the present invention blockchain system;
fig. 4 is a flowchart illustrating a second embodiment of the internet of things device management method based on the blockchain system.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
And a block chain (blackchip) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The blockchain is essentially a decentralized database, a series of data blocks generated by using a cryptographic method to correlate, each data block containing information of a network transaction for verifying the validity (anti-counterfeiting) of the information and generating the next block, and each block containing a time stamp and a link to the previous block. In a narrow sense, a blockchain is a chain data structure that combines data blocks in a sequential manner according to a time sequence, and cryptographically guarantees a non-falsifiable and non-falsifiable distributed ledger, i.e. data in the blockchain is recorded to be irreversible.
The consensus mechanism (consensus mechanism) is a mathematical algorithm for establishing trust and obtaining rights among different nodes in a blockchain system. In the block chain system, the verification and confirmation of the transaction can be completed in a short time through the voting of special nodes, and if a plurality of nodes with irrelevant benefits can achieve consensus on a transaction, all the nodes in the system can also achieve consensus on the transaction.
In the current intelligent home system, each intelligent device is connected to the same local area network, a centralized control main node is arranged in the local area network, each intelligent device needs to send information to the main node at regular time to report the current device state, the main node can store and monitor the device state of each intelligent device, and can also send instructions to each intelligent device, each intelligent device completes a specific task based on the instructions, and the information interaction among the intelligent devices also depends on the main node to perform data transmission.
The intelligent home system has the requirements of cooperation, interaction and resource scheduling. The cooperation among the intelligent household devices can be carried out in the intelligent household system; on the other hand, various forms of cooperation such as business transaction, information sharing and the like exist between the two intelligent home systems. Because the devices in the internet of things are numerous, the problem of how to perform efficient data interaction between the intelligent household devices is not effectively solved.
In view of this, in order to improve the efficiency of data interaction between the smart home devices in the smart home system, the embodiment provides an internet of things device management method based on a blockchain system and the smart home system.
The application provides an intelligent home system, intelligent home system includes two at least mutual communication connection's backend server, each backend server manages a plurality of communication connection's with it intelligent home equipment. The background servers can communicate with each other through an operator network (such as 2G,3G,4G and 5G networks) or an Internet of things network (such as NB-IOT and narrowband Internet of things), and the intelligent household equipment and the background servers can be in communication connection through the operator network, the Internet of things network or Bluetooth and other wireless connection modes.
Referring to fig. 1, the smart home system further includes: a processor 101, e.g. a CPU, a memory 102, a communication bus 103. Wherein a communication bus 103 is used for enabling the connection communication between these components. The memory 102 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a memory 102, which is a computer storage medium, may include therein an internet of things device management program based on a blockchain system; and the processor 101 may be configured to invoke the internet of things device management program based on the blockchain system stored in the memory 102.
In an embodiment, the processor 101 may be configured to invoke the device management program of the internet of things based on the blockchain system stored in the memory 102, and perform the following operations:
any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the degree or probability evaluation value of the main node capable of providing effective service for other main nodes, and the second credit evaluation value is obtained according to the degree or probability evaluation value of the node equipment capable of providing effective service for other node equipment connected with the main node;
synchronizing the first credit estimate and the second credit estimate to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment for data communication according to the first credit evaluation value and the second credit evaluation value.
In some embodiments, the processor 101 may be configured to invoke the internet of things device management program based on the blockchain system stored in the memory 102 and perform the following operations:
the first credit estimate and the second credit estimate are updated for a period of 1 to 30 minutes.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the Internet of things equipment management method based on the blockchain system further comprises the following steps:
any main node updates the first risk value and the second risk value; the first risk value is used for representing a risk value of the trust degree of the master node to any node device connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node device to other node devices connected with the master node in the preset period.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the first risk value is set as the number of times that the main node estimates the trust level of any node device connected with the main node within a preset period is lower than a preset expected threshold value.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the second risk value is set to a number of times the second credit estimate falls below a preset desired threshold within a preset period.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the Internet of things equipment management method based on the blockchain system further comprises the following steps:
synchronizing the first risk value and the second risk value to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment to carry out data communication according to the first risk value and the second risk value.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the preset period is 1 to 7 days.
In some embodiments, the processor 101 may be configured to invoke the blockchain system based internet of things device management program stored in the memory 102 and perform the following operations:
the block chain system adopts a union chain structure, and the consensus algorithm adopts a Byzantine fault-tolerant algorithm.
Based on the hardware framework of the intelligent home system, the first embodiment of the internet of things equipment management method based on the block chain system is provided.
Example one
The implementation provides an internet of things equipment management method based on a blockchain system, wherein the blockchain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment which are in communication connection with the main node.
It should be noted that the master node may be set as a background server, and the background server may be used as a master node, and may store and monitor the device status of each node device, and may also send an instruction to each node device, and each node device completes a specific task based on the instruction, and moreover, information interaction between each node device also depends on the background server to perform data transmission. The node equipment can be intelligent household equipment, and an intelligent household system is formed by the plurality of intelligent household equipment and the background server. It is understood that the node device may also be an intelligent device in other fields, for example, when applied to the field of fire rescue, the node device may also be various sensors suitable for fire scene, such as a smoke sensor, a temperature sensor, etc. When the node equipment is applied to the field of logistics, the node equipment can also be a weight sensor, a bar code sensor and the like. In this embodiment, the host node is taken as a background server, and the node device is an intelligent home device. The intelligent household equipment comprises various intelligent household equipment which communicates with the background server through an Internet of Things (NB-IOT, which is called Narrow Band Internet of Things (NARROW) network, such as an intelligent curtain, an intelligent desk lamp, an intelligent projector, an intelligent sweeping robot and the like.
Referring to fig. 2, fig. 2 shows a system architecture of a block chain system, H (x) shows a background server, D (x, y) shows devices managed by H (x), a (x) shows an intelligent home system, x shows a number of the intelligent home system, y shows a number of the intelligent home device, and n shows a maximum number of the intelligent home devices in the intelligent home system.
Referring to fig. 3, the method for managing the internet of things device based on the blockchain system includes:
s110, any master node updates a first credit evaluation value and a second credit evaluation value, where the first credit evaluation value is obtained according to a degree or probability evaluation that the master node (i.e. a backend server) can provide effective services for other master nodes, and the second credit evaluation value is obtained according to a degree or probability evaluation that the node device can provide effective services for other node devices connected to the master node;
in order to improve the cooperation efficiency between the intelligent home devices in the intelligent home system, a trust mechanism needs to be established between the intelligent home devices, and the subjective abstract concept of trust is quantized through credit evaluation values, so that the intelligent home devices and the intelligent devices with higher credit evaluation values cooperate, namely data interaction and mutual communication are carried out, and further the cooperation efficiency between the intelligent devices is improved.
The first credit estimate is obtained according to a degree or probability estimate that the main node can provide effective services for other main nodes, specifically, the first credit estimate may be obtained according to a success rate of establishing a communication connection between the background server and other background servers, or according to a delay condition of establishing a communication connection between the background server and other background servers, and the first credit estimate may be quantized using a measurement range of 0 to 5. The following table illustrates the case where the first credit estimate is derived from the delay in establishing a communication connection between backend server H (1) and other backend servers.
Figure BDA0002641872750000091
The second credit estimate is derived based on an estimate of a degree or probability that the node device is capable of providing effective service to other node devices connected to the master node. Specifically, a second credit estimation value may be obtained according to a success rate of establishing a communication connection between the node device (i.e., the smart home device) and another smart home device, or according to a delay condition of establishing a communication connection between the node device (i.e., the smart home device) and another smart home device, where the second credit estimation value may be quantified using a measurement range of 0 to 5. Similarly, the following table illustrates a case where the second credit evaluation value is obtained according to a delay time of the smart home device D (1, 1) establishing a communication connection with another smart home device.
Figure BDA0002641872750000092
It should be noted that, the values of the first credit evaluation value and the second credit evaluation value are not fixed and unchanged, and the main node (i.e., the background server) updates the first credit evaluation value and the second credit evaluation value at intervals of a preset period, so that the node device (i.e., the smart home device) selects other node devices (i.e., other smart home devices) with higher credit evaluation values in real time for data communication, and the efficiency of cooperation is improved. In particular, the preset period may be set to 1-30 minutes, such as 10 minutes, 15 minutes or 20 minutes. Of course, the preset period can be flexibly set to other time lengths according to actual needs.
And S120, synchronizing the first credit evaluation value and the second credit evaluation value to each main node and node equipment in the block chain system based on a consensus algorithm.
In order to perform trust management among the participants across the smart home systems, the embodiment uses a block chain to implement the sharing and synchronization of trust data in the present invention. Blockchain technology is a distributed storage mechanism proposed that enables trusted data sharing and state consensus in a purely distributed environment. The block chain has the characteristics of distributed trust, non-tampering and public transparency. The distributed trust ensures the common recognition of uniqueness and correctness of the block chain copies among the intelligent home systems, the non-falsification ensures that data written into the block chain cannot be forged or modified maliciously, and the public transparency ensures that information on the block chain is open and all participants can check the information at any time.
Further, in this embodiment, a federation chain is used to implement sharing and maintenance of the first credit valuation and the second credit valuation in the distributed smart home system, and the advantages of using the federation chain mainly lie in that trust management and data sharing can be performed among different smart home systems without arbitration by a trusted third party.
In this embodiment, based on the byzantine fault-tolerant algorithm, when any one of the backend servers updates the first credit evaluation value and the second credit evaluation value, the backend server broadcasts the first credit evaluation value and the second credit evaluation value to all other backend servers and the smart home devices, and all other backend servers and the smart home devices keep the first credit evaluation value and the second credit evaluation value for accounting and storage, and the first credit evaluation value and the second credit evaluation value are not falsifiable. Therefore, sharing and synchronization of the first credit valuation and the second credit among the intelligent home systems and in the intelligent home systems are achieved. Through the block chain technology, the first credit evaluation value and the second credit evaluation value are stored in the main node and the node equipment and cannot be forged or modified maliciously, and the disclosure is transparent. The first credit estimate and the second credit estimate are made more accurate and reliable.
S130, the node equipment selects other node equipment to carry out data communication according to the first credit evaluation value and the second credit evaluation value.
After the first credit valuation and the second credit valuation are synchronized to each background server and each intelligent home device, the intelligent home devices with higher credit valuations are selected to directly carry out data communication based on the first credit valuations and the second credit valuations, for example, the intelligent home devices D (1, 1) of H (1) and the intelligent home devices D (2, 1) of H (2) with higher credit valuations are communicated to realize data interaction, and data interaction among the intelligent home devices of the cross-intelligent home system is realized; or the middle intelligent household equipment D (1, 1) of the H (1) is communicated with the intelligent household equipment D (1, 2) of the H (1) with higher credit evaluation value to realize data interaction, and the data interaction among the intelligent household equipment in the intelligent household system is realized.
In this embodiment, the trust degrees of the master nodes and the node devices in the blockchain system are quantized by setting the first credit evaluation value and the second credit evaluation value, and then the first credit evaluation value and the second credit evaluation value are synchronized to each master node and node device in the blockchain system based on a consensus algorithm, so that the node devices select other node devices with higher credit evaluation values according to the first credit evaluation value and the second credit evaluation value to perform data interaction. Therefore, the efficiency of data interaction between the intelligent home devices in the intelligent home system is improved.
The embodiment of the invention also provides a further optimized method for managing the equipment of the Internet of things based on the block chain system in the second embodiment, which is shown in the second embodiment.
Example two
Referring to fig. 4, the method for managing an internet of things device based on a blockchain system according to the embodiment includes:
s210, any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the degree or probability evaluation value of effective service which can be provided by the main node for other main nodes, and the second credit evaluation value is obtained according to the degree or probability evaluation value of effective service which can be provided by the node equipment for other node equipment connected with the main node;
s220, any main node updates the first risk value and the second risk value; the first risk value is used for representing a risk value of the trust degree of the master node to any node device connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node device to other node devices connected with the master node in the preset period;
the latest credit valuation of the intelligent home system and the intelligent home equipment in the intelligent home system provided by the block chain system can be inquired through the first credit valuation and the second credit valuation. For example, if there is a smart home device whose credit rating is always in continuous change of rising and falling, then although it may be higher at the time of the query, turning over its history of credit ratings over a period of time may create a doubt as to whether it has the current credit rating present. The concept of a risk value is set.
The first risk value is used for representing the risk value of the trust degree of the master node to any node device connected with the master node in a preset period. Specifically, the first risk value is set as the number of times that the evaluation value of the trust level of the master node to any node device connected to the master node is lower than a preset expected threshold value in a preset period, for example, the trust level of the background server to any smart home device to which the background server belongs is described by the success rate or the delay condition of the communication connection established between the background server and any smart home device to which the background server belongs, and then the trust level is quantified by using the measurement range of 0 to 5. The confidence level may be described with reference to the manner in which the first credit estimate is evaluated in the first implementation above. If the number of times that the trust degree is lower than the preset expected threshold value is too large in a preset period, the first risk value is considered to be high, and the trust degree of the intelligent household equipment is not stable enough. For example, if the confidence level is lower than the preset expected threshold for 10 times in a preset period, the first risk value is higher. The preset period and the preset expected threshold may be set according to actual needs, for example, the preset period is set to 1 to 7 days, specifically, the preset period is set to 3 days, and the preset expected threshold is set to 4. Within 3 days, if the number of times that the trust degree of the background server to any one of the smart home devices to which the background server belongs is lower than 4 exceeds 10 times, it is determined that the first risk value of the smart home device is high, and the trust degree of the smart home device for providing effective service is not stable enough. When the intelligent home devices are selected for data interaction, the first risk value is taken into consideration, so that the optimal intelligent home devices are searched for data interaction when the data interaction is carried out between the intelligent home systems, and the efficiency of the data interaction between the intelligent home devices in the intelligent home systems is improved.
The second risk value is used for representing a risk value of the trust degree of the node equipment to other node equipment connected with the main node in a preset period; in particular, the second risk value is set to the number of times the second credit estimate is below a preset desired threshold within a preset period. Similarly, if the second credit evaluation value is lower than the preset expected threshold for too many times in a preset period, the second risk value is considered to be higher, which indicates that the second credit evaluation value of the smart home device is not stable enough.
For example, the preset period is set to 1-7 days, specifically, the preset period is set to 3 days, and the preset expected threshold is set to 4. And in 3 days, if the number of times that the second credit valuation is lower than 4 exceeds 10 times, judging that the second risk value of the intelligent household equipment is higher, and enabling the second credit valuation of the intelligent household equipment for providing effective service to be not stable enough. When the intelligent home equipment is selected to perform data interaction, the second risk value is taken into consideration range, so that when data interaction is performed in the intelligent home system, the optimal intelligent home equipment is found to perform data interaction, and therefore the data interaction efficiency among the intelligent home equipment in the intelligent home system is improved.
S230, synchronizing the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value to each main node and node equipment in the block chain system based on a consensus algorithm;
based on the Byzantine fault-tolerant algorithm, when any one background server updates a first credit evaluation value, a second credit evaluation value, the first risk value and the second risk value, the background server broadcasts the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value to all other background servers and intelligent household equipment, and all other background servers and intelligent household equipment bill and store the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value, and the first credit evaluation value and the second risk value cannot be tampered. Therefore, sharing and synchronization of the first credit valuation and the second credit among the intelligent home systems and in the intelligent home systems are achieved.
And S240, the node equipment selects other node equipment for data communication according to the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value.
After the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value are synchronized to each background server and the smart home devices, the smart home devices with higher credit evaluation values are selected to directly perform data communication based on the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value. Compared with the first embodiment, in this embodiment, the smart home devices with higher credit valuations are selected to directly perform data communication based on the first credit valuation and the second credit valuation, and the first risk value and the second risk value are added as selection indexes. Namely, when data interaction among intelligent household devices of a cross-intelligent household system is carried out, selecting the intelligent household devices with high first credit valuation and low first risk value to carry out; and when data interaction is carried out among the intelligent household devices in the intelligent household system, selecting the intelligent household devices with high second credit valuation and low second risk value to carry out the data interaction.
In this embodiment, data interaction can be performed between the smart home devices with higher credit evaluation values and lower risk values by adding the first risk value as a description, that is, stability of the trust degree of the background server to any smart home device connected with the first risk value within a certain time, and adding the second risk value as a description, that is, stability of the smart home device to the second credit evaluation value of any smart home device connected with the second risk value within a certain time. The reliability of the selected intelligent household equipment is enhanced, and the efficiency of data interaction between the intelligent household equipment in the intelligent household system is further improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. An Internet of things equipment management method based on a blockchain system is disclosed, wherein the blockchain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment in communication connection with the main node; the Internet of things equipment management method based on the block chain system comprises the following steps:
any main node updates the first credit evaluation value and the second credit evaluation value, and then based on a consensus algorithm, the first credit evaluation value and the second credit evaluation value are synchronized to each main node and node equipment in the block chain system;
the node equipment selects other node equipment for data communication according to the first credit evaluation value and the second credit evaluation value, the first credit evaluation value is obtained according to the evaluation value of the degree or probability that the main node can provide effective service for other main nodes, and the second credit evaluation value is obtained according to the evaluation value of the degree or probability that the node equipment can provide effective service for other node equipment connected with the main node;
if any main node updates the first risk value and the second risk value, synchronizing the first risk value and the second risk value to each main node and node equipment in the block chain system based on a consensus algorithm;
and the node equipment selects other node equipment for data communication according to the first risk value and the second risk value, wherein the first risk value is used for representing a risk value of the trust degree of the master node to any node equipment connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node equipment to other node equipment connected with the master node in the preset period.
2. The method for device management in the internet of things based on the blockchain system as claimed in claim 1, wherein the first credit evaluation value and the second credit evaluation value are updated for a period of 1 to 30 minutes.
3. The method for managing devices of the internet of things based on the blockchain system according to claim 1, wherein the first risk value is set to a number of times that an evaluation value of the trust level of the master node for any node device connected with the master node is lower than a preset expected threshold value in a preset period.
4. The method for device management of internet of things based on blockchain system of claim 1, wherein the second risk value is set to a number of times that the second credit evaluation value is lower than a preset desired threshold value within a preset period.
5. The method for managing devices of the internet of things based on the blockchain system according to claim 3 or 4, wherein the preset period is 1 to 7 days.
6. The method for device management in the internet of things based on the blockchain system as claimed in claim 1, wherein the blockchain system employs a federation chain structure and the consensus algorithm employs a Byzantine fault-tolerant algorithm.
7. An Internet of things equipment management method based on a blockchain system is disclosed, wherein the blockchain system at least comprises two main nodes which are in communication connection with each other, and each main node manages a plurality of node equipment in communication connection with the main node; the Internet of things equipment management method based on the block chain system comprises the following steps:
any main node updates a first credit evaluation value and a second credit evaluation value, wherein the first credit evaluation value is obtained according to the degree or probability evaluation value of the main node capable of providing effective service for other main nodes, and the second credit evaluation value is obtained according to the degree or probability evaluation value of the node equipment capable of providing effective service for other node equipment connected with the main node;
any main node updates the first risk value and the second risk value; the first risk value is used for representing a risk value of the trust degree of the master node to any node device connected with the master node in a preset period, and the second risk value is used for representing a risk value of the trust degree of the node device to other node devices connected with the master node in the preset period;
synchronizing the first credit estimate, the second credit estimate, the first risk value, and the second risk value to respective master nodes and node devices in the blockchain system based on a consensus algorithm;
and the node equipment selects other node equipment for data communication according to the first credit evaluation value, the second credit evaluation value, the first risk value and the second risk value.
8. The intelligent home system is characterized by comprising at least two background servers which are in communication connection with each other, wherein each background server manages a plurality of intelligent home devices which are in communication connection with the background server; the smart home system further comprises a processor, a memory and a blockchain system-based internet of things device management program stored on the memory and executable on the processor, wherein when executed by the processor, the blockchain system-based internet of things device management program implements the steps of the blockchain system-based internet of things device management method according to any one of claims 1 to 7.
CN202010846248.5A 2020-08-20 2020-08-20 Internet of things equipment management method based on block chain system and intelligent home system Active CN111953546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010846248.5A CN111953546B (en) 2020-08-20 2020-08-20 Internet of things equipment management method based on block chain system and intelligent home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010846248.5A CN111953546B (en) 2020-08-20 2020-08-20 Internet of things equipment management method based on block chain system and intelligent home system

Publications (2)

Publication Number Publication Date
CN111953546A CN111953546A (en) 2020-11-17
CN111953546B true CN111953546B (en) 2023-03-24

Family

ID=73359231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010846248.5A Active CN111953546B (en) 2020-08-20 2020-08-20 Internet of things equipment management method based on block chain system and intelligent home system

Country Status (1)

Country Link
CN (1) CN111953546B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520813B (en) * 2021-12-29 2023-09-01 浙江中环瑞蓝科技发展有限公司 Pollution source management and control system based on block chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130779A (en) * 2016-07-18 2016-11-16 布比(北京)网络技术有限公司 A kind of Internet of Things equipment and with the Internet of Things construction method of this equipment
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
CN109617992A (en) * 2018-12-29 2019-04-12 杭州趣链科技有限公司 A kind of edge calculations node dynamic electoral machinery based on block chain
WO2019193363A1 (en) * 2018-04-05 2019-10-10 Electroneum Ltd Hybrid blockchain transaction system
CN110489493A (en) * 2019-08-27 2019-11-22 山东浪潮人工智能研究院有限公司 A kind of cloudy data center services quality identification based on block chain
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN110750595A (en) * 2019-10-16 2020-02-04 西安交通大学 Double-layer Internet of things architecture based on credit degree-block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018136059A1 (en) * 2017-01-19 2018-07-26 Nokia Technologies Oy IoT GATEWAY AND DESTINATION CLOUD SERVER

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130779A (en) * 2016-07-18 2016-11-16 布比(北京)网络技术有限公司 A kind of Internet of Things equipment and with the Internet of Things construction method of this equipment
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN106682825A (en) * 2016-12-22 2017-05-17 南京邮电大学 System and method for evaluating credit of Social Internet of Things based on block chain
WO2019193363A1 (en) * 2018-04-05 2019-10-10 Electroneum Ltd Hybrid blockchain transaction system
CN109617992A (en) * 2018-12-29 2019-04-12 杭州趣链科技有限公司 A kind of edge calculations node dynamic electoral machinery based on block chain
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN110489493A (en) * 2019-08-27 2019-11-22 山东浪潮人工智能研究院有限公司 A kind of cloudy data center services quality identification based on block chain
CN110750595A (en) * 2019-10-16 2020-02-04 西安交通大学 Double-layer Internet of things architecture based on credit degree-block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于风险矩阵的物联网系统漏洞关联性危害评估;任晓贤等;《信息网络安全》;20181110(第11期);全文 *

Also Published As

Publication number Publication date
CN111953546A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN111445333B (en) Block generation method, device, computer equipment and storage medium
CN109218348B (en) Method for determining blocks in block chain and node equipment
CN109495592B (en) Data collaboration method and electronic equipment
CN109033757B (en) Data sharing method and system
JP2022536115A (en) Distributed Consensus Algorithm, Device and Computer Readable Storage Medium for Rapid Generation of Blocks
CN108710681A (en) File acquisition method, device, equipment and storage medium
WO2021004058A1 (en) Blockchain-based data processing method and device
CN110929229A (en) Block chain-based office document credibility verification method and system
CN109450685B (en) local link node offline consensus method and node
CN114493865A (en) Decentralized internet cooperative system and data interaction method based on block chain
CN113157733A (en) Efficient tracing query method for multi-chain data relevance
CN112597240B (en) Federal learning data processing method and system based on alliance chain
CN111899019A (en) Method and system for cross validation and sharing of blacklist and multiple parties
CN111953546B (en) Internet of things equipment management method based on block chain system and intelligent home system
Gao et al. BFR-SE: a blockchain-based fair and reliable searchable encryption scheme for IoT with fine-grained access control in cloud environment
CN112200680B (en) Block link point management method, device, computer and readable storage medium
CN114172655A (en) Secure multi-party computing data system, method, equipment and data processing terminal
CN112003925A (en) Block chain-based Internet of things data storage method and Internet of things system
CN110704511B (en) Data processing method, device, apparatus and medium
CN110602215B (en) Resource processing method based on alliance block chain and alliance block chain system
CN110618989B (en) Information processing method, information processing device and related products
CN111414417A (en) Video copyright management method based on block chain
CN112417052B (en) Data synchronization method, device, equipment and storage medium in block chain network
CN112039893B (en) Private transaction processing method and device, electronic equipment and readable storage medium
CN102624733B (en) Combination method for combined information source and combined access method for Internet of things information source

Legal Events

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