CN109245973A - A kind of smart home system based on block chain - Google Patents

A kind of smart home system based on block chain Download PDF

Info

Publication number
CN109245973A
CN109245973A CN201811204799.0A CN201811204799A CN109245973A CN 109245973 A CN109245973 A CN 109245973A CN 201811204799 A CN201811204799 A CN 201811204799A CN 109245973 A CN109245973 A CN 109245973A
Authority
CN
China
Prior art keywords
environment monitoring
monitoring node
data
indoor
environment
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.)
Pending
Application number
CN201811204799.0A
Other languages
Chinese (zh)
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.)
Guangzhou Yiniu Technology Co Ltd
Original Assignee
Guangzhou Yiniu Technology 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 Guangzhou Yiniu Technology Co Ltd filed Critical Guangzhou Yiniu Technology Co Ltd
Priority to CN201811204799.0A priority Critical patent/CN109245973A/en
Publication of CN109245973A publication Critical patent/CN109245973A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Abstract

The present invention provides a kind of smart home system based on block chain, which includes: indoor environment monitoring device, server, data transmission module, access control module and indoor envirobnmental control terminal.Indoor environment monitoring device carries out real-time monitoring to indoor environment, acquires indoor environment data and is sent to server by data transmission module;Server handles the indoor environment data of acquisition, judge whether indoor environment data meet preset indoor air chemical pollution index, if a certain indoor environment data are unsatisfactory for preset indoor air chemical pollution index, control instruction is sent to indoor envirobnmental control terminal;Indoor envirobnmental control terminal controls corresponding home equipment according to the control instruction received and operates.The present invention obtains indoor environment data by indoor environment monitoring device, and handles indoor environment data, and the running of equipment is occupied according to processing result intelligentized control method or remote control home, realizes the energy-saving safe control of home equipment.

Description

A kind of smart home system based on block chain
Technical field
The present invention relates to block chain technical fields, and in particular to a kind of smart home system based on block chain.
Background technique
In smart home, the home equipment of setting can receive user in premises or long-range control instruction.At present The type and quantity of the home equipment occurred in subscriber household are more and more, such as smart television, intelligent refrigerator, intelligent air condition Deng.How to realize the energy-saving safe control to home equipment, is a problem to be solved.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of smart home system based on block chain.
The purpose of the present invention is realized using following technical scheme:
A kind of smart home system based on block chain, the smart home system include: indoor environment monitoring device, service Device, data transmission module, access control module and indoor envirobnmental control terminal;Indoor environment monitoring device is used for indoor environment Real-time monitoring is carried out, indoor environment data are acquired and server is sent to by data transmission module;Room of the server to acquisition Interior environmental data is handled, and judges whether indoor environment data meet preset indoor air chemical pollution index, if a certain interior When environmental data is unsatisfactory for preset indoor air chemical pollution index, then control instruction is sent to indoor envirobnmental control terminal;It is indoor Environment conditioning terminal controls corresponding home equipment according to the control instruction received and operates;
Server is provided with block chain Distributed Storage module, and block chain Distributed Storage module provides data Distributed storage mode, data include: preset indoor air chemical pollution index, face recognition database and history identification note The privately owned chain of ether mill block chain is disposed in record, establishes the system operation rule of specific products, i.e., intelligent contract;
Access control module is used for: by image acquisition device human face image information, will be adopted through data transmission module The human face image information of collection is transmitted to server, carries out face matching, successful match then opening door lock in server.
The invention has the benefit that
Indoor environment data are obtained based on wireless sensor network, and indoor environment data are handled, according to processing Result intelligent control or remote control home occupy the running of equipment, realize the energy-saving safe control of home equipment.
Present invention employs distributed storage modes to store to data, by the commitment protocol of intelligent contract, will count According to according in specific rule deposit block chain, which can be efficiently against traditional database storage mode in privacy The problem of protection, data safety etc. encounter.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings, but the embodiment in attached drawing is not constituted to any limit of the invention System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings Other attached drawings.
Fig. 1 is the structure chart of smart home system of the present invention.
Appended drawing reference: indoor environment monitoring device 1;Server 2;Data transmission module 3;Access control module 4;Indoor ring Border regulates and controls terminal 5;Home equipment 6;Image collecting device 7.
Specific embodiment
The invention will be further described with the following Examples.
Referring to Fig. 1, a kind of smart home system based on block chain, which includes: indoor air chemical pollution Device 1, server 2, data transmission module 3, access control module 4 and indoor envirobnmental control terminal 5.
Indoor environment monitoring device 1 is used to carry out real-time monitoring to indoor environment, acquires indoor environment data and passes through number Server 2 is sent to according to transmission module 3;The indoor environment data of 2 pairs of server acquisitions are handled, and judge indoor environment data Whether preset indoor air chemical pollution index is met, if a certain indoor environment data are unsatisfactory for preset indoor air chemical pollution index When, then control instruction is sent to indoor envirobnmental control terminal 5;Indoor envirobnmental control terminal 5 is according to the control instruction control received Corresponding home equipment 6 is made to operate;
Server 2 is provided with block chain Distributed Storage module, and block chain Distributed Storage module provides number According to distributed storage mode, data include: preset indoor air chemical pollution index, face recognition database and history identification Record disposes the privately owned chain of ether mill block chain, establishes the system operation rule of specific products, i.e., intelligent contract;
Access control module 4 is used for: by image acquisition device human face image information, will be adopted through data transmission module The human face image information of collection is transmitted to server, carries out face matching, successful match then opening door lock in server.
Preferably, block chain Distributed Storage module is used for: data storage, Data Detection, data traceability, specifically Ground: data storage, which is data, is stored in a transaction by non-encrypted symmetrical form, and each transaction includes digital signature, intelligence Energy contract address, timestamp record, guarantee the uniqueness of transaction and can not distort, and in block chain network, dig mine and pass through The mode of Merkle Tree verifies transaction.
Data Detection, for matching specific encryption data in block chain data account book according to current data characteristic value;
Data traceability obtains the number of block chain transaction by detecting the historical record of a certain specific indexes of certain time period It is believed that breath, timestamp records the trackability that ensure that All Activity.
Preferably, image collecting device 7 is imaging sensor.
Preferably, indoor environment data include: that indoor temperature and humidity, intensity of illumination, gas concentration lwevel, carbon monoxide are dense Degree, sulfur dioxide concentration, ozone concentration and inhalable particles concentration.
Preferably, home equipment 6 includes air-conditioning equipment, humidification apparatus, light units, ozone ventilator, intelligent shutter And power control switch.
Preferably, indoor environment monitoring device 1 includes multiple environment monitoring nodes and base station by wireless network connection: For environment monitoring node before acquiring indoor environment data, the mode for first passing through topology evolution constructs wireless sensor network topology Structure, specifically:
(1) in spreading well laid environment monitoring node, base station is near itW are chosen in a environment monitoring node Environment monitoring node as cluster head, base station and its nearA environment monitoring node together constitutes with initial topology;
(2) every a time step, selected out of optional range other than present topology one it is nearest apart from base station Present topology is added in environment monitoring node, and obtains the neighbors collection of the environment monitoring node;Calculate the environmental monitoring being newly added Node and each not only in its communication radius but also in the environment monitoring node in present topology, the connection probability between base station;
(3) if the connection maximum probability for the environment monitoring node and base station being newly added, the environment monitoring node is elected For cluster head, otherwise, which, which belongs to, is connected thereto the maximum cluster head of probability value, becomes the cluster member section of the cluster head Point;
(4) (2)-(3) are continued to execute, until topology is added in all environment monitoring nodes being spread in region to be monitored, Obtain updated wireless sensor topological structure.
Preferably, base station is near itW environment monitoring node is chosen in a environment monitoring node as cluster head, Specifically: calculatingThe cluster parameter of a environment monitoring node, and obtained cluster parameter is subjected to descending arrangement, selection W forward environment monitoring node of cluster parameter marshalling is as cluster head, and W is preset initial cluster head number, wherein environmental monitoring section The cluster parameter of point u can be calculated using following formula:
In formula, Pre (u) is the cluster parameter of environment monitoring node u, and cluster parameter is used to evaluate environment monitoring node and become The ability of cluster head, cluster parameter is bigger, and it is bigger to represent a possibility that environment monitoring node is as cluster head;QresIt (u) is environmental monitoring The residual energy magnitude of node u, Qres(m) the residual energy magnitude for being environment monitoring node m, andDU, BSFor ring The generalized distance of border monitoring node u and base station, DM, BSFor the generalized distance of environment monitoring node m and base station, DU, mFor environmental monitoring The generalized distance of node u and environment monitoring node m, and as m=u, at this time DU, m=0, PuFor the transmitting of environment monitoring node u Power, PBSFor the reception power of base station BS, α is decay factor, and d (u, BS) is the space length of environment monitoring node u and base station, χ is regulatory factor, and value range is 3~8.
The utility model has the advantages that in the present embodiment, defining the cluster parameter of the environment monitoring node near base station, and it is chosen to W forward environment monitoring node of cluster parameter marshalling is as cluster head, by the calculation formula of the cluster parameter it is found that the present embodiment is examined The dump energy, the transmission power of generalized distance and environment monitoring node and the reception of base station of each environment monitoring node are considered The influence of power, so that the environment monitoring node that residual energy magnitude is biggish, transmission power is high is more likely elected as cluster head, and And then realize the building of initial primary topology, which is relatively beneficial to the stability of enhancing initial primary topology, is subsequent topology The evolution of structure is had laid a good foundation.And the cluster parameter provided in the present embodiment joined distance factor, environmental monitoring Node preferably selects the relatively closer node of distance if other conditions are the same when connecting, avoid node energy because of communication The increase of distance consumes excessively.
In a kind of feasible embodiment, the generalized distance of environment monitoring node u to base station can use environmental monitoring section Point u is indicated to the space length of base station.
In a further preferred embodiment, the generalized distance of environment monitoring node u to base station can be calculated using following formula It obtains:
In formula, DU, BSFor the generalized distance of environment monitoring node u to base station, d (u, BS) is environment monitoring node u and base station Space length, FuFor the attribute evaluation value of environment monitoring node u, FBSFor the attribute evaluation value of base station, FmFor environmental monitoring section The attribute evaluation value of point m, andYU, BSFor | Fu-FBS| weight, YM, BSFor | Fm-FBS| weight, and it is full Footω1dAnd ω1sBe illustrated respectively in environment monitoring node u into the generalized distance of base station space length and The weight of attributive distance, and meet ω1d1s=1.
Attribute is primarily referred to as computing capability, storage capacity, transmittability, power consumption of environment monitoring node and base station etc., belongs to Property evaluation of estimate is the comprehensive evaluation value to environment monitoring node or base station property, and comprehensive evaluation value is higher, represents environmental monitoring The performance of node or base station is better.
The utility model has the advantages that in the present embodiment, defining generalized distance of the environment monitoring node to base station, generalized distance use To measure the influence of the space length and attributive distance of environment monitoring node u and base station to environment monitoring node.By the broad sense away from From calculation formula it is found that the environment monitoring node and space length of base station is bigger, broad sense of its environment monitoring node and base station Distance is bigger, and the attributive distance of environment monitoring node and base station is bigger, and the generalized distance of environment monitoring node and base station is just It is bigger, so that the cluster parameter of the environment monitoring node is bigger.The environment monitoring node defined through this embodiment is to base The generalized distance stood, so that the environment monitoring node and space length of base station is bigger, attribute of environment monitoring node and base station The bigger environment monitoring node of distance is more likely elected as cluster head, to be conducive to energy balance, what is finally made is wireless Sensor network topological structure has better stability and survivability energy, advantageously reduces the energy of acquisition indoor environment data Consumption, saves the cost of smart home system, extends the life cycle of smart home system.
In a kind of feasible embodiment, the generalized distance D of environment monitoring node u and environment monitoring node iuiIt can use Environment monitoring node u is indicated to the space length of environment monitoring node i.
In a further preferred embodiment, the generalized distance D of environment monitoring node u to environment monitoring node iU, iIt can It is calculated using following formula:
In formula, DU, iFor the generalized distance of environment monitoring node u and environment monitoring node i, d (u, i) is environment monitoring node The space length of u and environment monitoring node i, d (u, k) are the space length of environment monitoring node u and environment monitoring node k, d (i, k) is the space length of first environment monitoring node and environment monitoring node k, and COM (u, i) indicates environment monitoring node u The number of common neighbor node between environment monitoring node i, Ω are to remove environment monitoring node u and i-th of environmental monitoring section Point, the set that remaining environment monitoring node is constituted in current topological structure, FuFor the attribute evaluation value of environment monitoring node u, FiFor The attribute evaluation value of environment monitoring node i, YuiFor | Fu-Fi| weight, YumFor | Fu-Fm| weight, and meetδ is the invariant of a very little of setting, ω2dAnd ω2sIt is illustrated respectively in two environment monitoring nodes Generalized distance in space length and attributive distance weight, meet ω1d1s=1.
The utility model has the advantages that in the present embodiment, the generalized distance between two environment monitoring nodes is defined, the generalized distance For measuring the influence of space length and attributive distance to the environment monitoring node being newly added between two environment monitoring nodes. By the calculation formula of the generalized distance it is found that the space length of environment monitoring node and other environment monitoring nodes is bigger, environment Generalized distance between monitoring node and other environment monitoring nodes is bigger, environment monitoring node and other environment monitoring nodes Between attributive distance it is bigger, the generalized distance between environment monitoring node and other environment monitoring nodes is bigger, and then makes The cluster parameter for obtaining the environment monitoring node is bigger.The broad sense between two environment monitoring nodes defined through this embodiment away from From so that space length between two environment monitoring nodes is bigger, the attributive distance between two environment monitoring nodes more Big environment monitoring node is more likely elected as cluster head, thus be conducive to energy balance, the wireless sensor finally made Network topology structure has better stability and survivability energy, advantageously reduces the energy consumption of acquisition indoor environment data, The cost for saving smart home system extends the life cycle of smart home system.
In one embodiment, the calculation formula of the connection probability of the environment monitoring node and base station that are newly added are as follows:
In formula, ΠX, BS(BS) the connection probability value of the environment monitoring node x and base station that are newly added, g are indicatedxFor environmental monitoring The slope for the straight line that node x is formed to base station, gcFor the slope of environment monitoring node c to the base station straight line formed, δ d (x, It BS) } is decision function, which is used to determine whether environment monitoring node x and base station can directly carry out information exchange, D (x, BS) indicates that the space length of environment monitoring node x and base station, local (x) indicate the neighbors collection of environment monitoring node x, kxFor the node degree of environment monitoring node x, kcFor the node degree of environment monitoring node c, RIxSignal is received for environment monitoring node x Intensity value, RIcFor the received signal strength indication of environment monitoring node c, LmaxFor the maximum communication distance of cluster head and base station, that is, work as Environment monitoring node x and the space length of base station are greater than Lmax, information cannot be directly carried out between environment monitoring node x and base station Interaction, conversely, can directly carry out information exchange between environment monitoring node x and base station, ε is topological parameter, meets 0 < ε < 1.
The utility model has the advantages that in the present embodiment, the connection probability between the environment monitoring node being newly added and base station is defined, The connection probability describes a possibility that environment monitoring node being newly added can carry out information exchange with base station size, by the meter Formula is calculated it is found that connection probability is multiple from the node degree of environment monitoring node, environment monitoring node and the positional relationship of base station etc. Angle considers the connection relationship of the environment monitoring node and base station that are newly added, so as in all directions, more accurately measure The connection relationship of the environment monitoring node and base station that are newly added is conducive to subsequent to the environment monitoring node attaching problem being newly added Accurate judgement.
In one embodiment, the calculating of the connection probability of the environment monitoring node and any one cluster head n that are newly added is public Formula are as follows:
Wherein:
In formula, ΠX, n(n) the connection probability value for the environment monitoring node x and cluster head n being newly added, Q are indicatedresIt (x) is environment The residual energy magnitude of monitoring node x, kxFor the node degree of environment monitoring node x, Qres(c) residual energy for being environment monitoring node c Magnitude, kcFor the node degree of environment monitoring node c, δ { d (x, BS) } is decision function, which is used to determine that environment is supervised Whether survey node x and cluster head n can directly carry out information exchange, d (x, n) indicate the space of environment monitoring node x and base station away from From local (x) indicates the neighbors collection of environment monitoring node x, LminFor the maximum communication distance of bunch member node, that is, work as environment The space length of monitoring node x and cluster head n is greater than Lmin, information friendship cannot be directly carried out between environment monitoring node x and cluster head n Mutually, conversely, can directly carry out information exchange, η between environment monitoring node x and cluster head n1、η2For weight factor, meet η1+ η2=1, HX, nIndicate environment monitoring node x and cluster head n communication link quality weighted value, HX, cIndicate environment monitoring node x and ring Border monitoring node c communication link quality weighted value.
The utility model has the advantages that in the present embodiment, the connection probability between the environment monitoring node being newly added and cluster head is defined, The connection probability describes a possibility that environment monitoring node being newly added can carry out information exchange with cluster head size, by the meter Formula is calculated it is found that connection node degree, environment monitoring node residual energy magnitude and environmental monitoring section of the probability from environment monitoring node Point considers the connection relationship of the environment monitoring node and cluster head that are newly added with multiple angles such as the link strength of its neighbors, from And accurately the new ownership that environment monitoring node is added can be determined, obtain the good wireless sensor topology of stability Structure.
Preferably, block chain is a distributed P2P networking structure, each block chain node is to possess complete section The independent individual of block chain data, i.e., more redundancy backups ensure that the invulnerability and high fault tolerance of network.In block catenary system In, each block chain node is equivalent to a miner, and miner digs mine mode by being packaged to trade and open.In smart home system In system, the data for carrying out encryption storage are all to be packaged into block chain by way of transaction to be stored.Server 2 is negative Duty calls the intelligent contract (being equivalent to the system operation rule for establishing specific products) of preparatory multiple party signatures.Transaction is to pass through base Encrypted transmission is carried out in the digital signature of Cryptography Principles, therefore, sends both parties without considering that node is trusted and sensitive letter The problems such as breath, all transaction can be propagated arbitrarily in a network.
Preferably, by taking indoor air chemical pollution as an example, the specific implementation step of smart home system of the present invention is as follows:
The indoor environment data of acquisition are sent to server 2 by indoor environment monitoring device 1, and server 2 is to received room Interior environmental data carries out screening and the processing of part Hash, two sets of data library storage scheme of proposed adoption, comprising: is related to anti-tamper true Real data and individual privacy data carry out the storage of block chain, and essential information is then stored using traditional database.
Start privately owned the chain --- " wisdom of ether mill block chain in the exploitation environment for the block chain data storage disposed Chain ".Facial recognition data account, human face recognizing identity authentication account, indoor air chemical pollution are respectively created in block chain node Account, while obtaining the private key of corresponding account.
Write the digitized intelligent contract commitment protocol of block chain.It include: data storage, Data Detection, data traceability.
Multi-party users participate and draw intelligent contract rule jointly, and the validity of contract is ensured by private key signature.By intelligence In energy contractual agreement write-in block chain, the contract passed through of signing is diffused by P2P network, and area is stored in the form of transaction Block chain trading pit waits the common recognition and verifying of block chain link point;In the contract write-in block chain account book being proved to be successful.
Server 2 completes private data by calling the intelligent contractual agreement of block chain to interact with block chain data Encrypt the preset functions such as storage, recognition of face information matches, indoor environment Data Detection.
Preferably, intelligent contractual agreement includes smart home data storage contract, recognition of face detection contract, indoor environment Data traceability contract etc..
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention Matter and range.

Claims (7)

1. a kind of smart home system based on block chain, characterized in that include: indoor environment monitoring device, server, data Transmission module, access control module and indoor envirobnmental control terminal;
The indoor environment monitoring device is used to carry out real-time monitoring to indoor environment, acquires indoor environment data and by described Data transmission module is sent to the server;The server handles the indoor environment data of acquisition, judges interior Whether environmental data meets preset indoor air chemical pollution index, if a certain indoor environment data are unsatisfactory for preset indoor environment When monitoring index, then control instruction is sent to the indoor envirobnmental control terminal;The indoor envirobnmental control terminal is according to reception The control instruction arrived controls corresponding home equipment running;
The server is provided with block chain Distributed Storage module, and the block chain Distributed Storage module provides The distributed storage mode of data, data include: that preset indoor air chemical pollution index, face recognition database and history are known It does not record, disposes the privately owned chain of ether mill block chain, establish the system operation rule of specific products, i.e., intelligent contract;
The access control module is used for: by image acquisition device human face image information, through the data transmission module The human face image information of acquisition is transmitted to the server, carries out face matching in the server, successful match is then opened Door lock.
2. smart home system according to claim 1, characterized in that the block chain Distributed Storage module is used In: data storage, Data Detection, data traceability, specifically: the data storage is that the data pass through non-encrypted symmetrical shape Formula is stored in a transaction, and each transaction includes digital signature, intelligent contract address, timestamp record, in block chain network In, it digs mine and transaction is verified by way of Merkle Tree;
The Data Detection, for matching specific encryption data in block chain data account book according to current data characteristic value;
The data traceability obtains the number of block chain transaction by detecting the historical record of a certain specific indexes of certain time period It is believed that breath.
3. smart home system according to claim 1, characterized in that described image acquisition device is imaging sensor.
4. smart home system according to claim 1, characterized in that the indoor environment data include: indoor temperature Humidity, intensity of illumination, gas concentration lwevel, carbonomonoxide concentration, sulfur dioxide concentration, ozone concentration and inhalable particles are dense Degree.
5. smart home system according to claim 1, characterized in that the home equipment includes air-conditioning equipment, humidification Equipment, light units, ozone ventilator, intelligent shutter and power control switch.
6. smart home system according to claim 1, characterized in that the indoor environment monitoring device includes multiple logical Cross environment monitoring node and the base station of wireless network connection: the environment monitoring node is before acquiring indoor environment data, first Network topology structure of wireless sensor is constructed by way of topology evolution, specifically:
(1) in spreading well laid environment monitoring node, the data transmission module is near itA environment monitoring node Middle W environment monitoring node of selection as cluster head, the base station and its nearA environment monitoring node together constitutes with just Begin topology;
(2) every a time step, selected out of optional range other than present topology one it is nearest apart from the base station Present topology is added in environment monitoring node, and obtains the neighbors collection of the environment monitoring node;Calculate the environmental monitoring being newly added Node and each not only in its communication radius but also in the environment monitoring node in present topology, the connection probability between base station;
(3) if the connection maximum probability of the environment monitoring node being newly added and the base station, the environment monitoring node is elected For cluster head, otherwise, which, which belongs to, is connected thereto the maximum cluster head of probability value, becomes the cluster member section of the cluster head Point;
(4) (2)-(3) are continued to execute, until topology is added in all environment monitoring nodes for being spread in indoor environment, are updated Wireless sensor topological structure afterwards.
7. smart home system according to claim 6, characterized in that the base station is near itA environment prison It surveys in node and chooses W environment monitoring node as cluster head, specifically: described in calculatingThe cluster of a environment monitoring node Parameter, and by obtained cluster parameter carry out descending arrangement, W environment monitoring node for selecting cluster parameter marshalling forward as Cluster head, W are preset initial cluster head number, wherein the cluster parameter of environment monitoring node u can be calculated using following formula:
In formula, Pre (u) is the cluster parameter of environment monitoring node u, and cluster parameter is used to evaluate environment monitoring node as cluster head Ability, cluster parameter is bigger, and a possibility that representing environment monitoring node as cluster head is bigger;QresIt (u) is environment monitoring node The residual energy magnitude of u, Qres(m) the residual energy magnitude for being environment monitoring node m, andDu,BSFor environment prison Survey the generalized distance of node u and the base station, Dm,BSFor the generalized distance of environment monitoring node m and the base station, Du,mFor environment The generalized distance of monitoring node u and environment monitoring node m, and as m=u, at this time Du,m=0, PuFor environment monitoring node u's Transmission power, PBSFor the reception power of the base station, α is decay factor, and d (u, BS) is the sky of environment monitoring node u and base station Between distance, χ is regulatory factor, and value range is 3~8.
CN201811204799.0A 2018-10-16 2018-10-16 A kind of smart home system based on block chain Pending CN109245973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811204799.0A CN109245973A (en) 2018-10-16 2018-10-16 A kind of smart home system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811204799.0A CN109245973A (en) 2018-10-16 2018-10-16 A kind of smart home system based on block chain

Publications (1)

Publication Number Publication Date
CN109245973A true CN109245973A (en) 2019-01-18

Family

ID=65053179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811204799.0A Pending CN109245973A (en) 2018-10-16 2018-10-16 A kind of smart home system based on block chain

Country Status (1)

Country Link
CN (1) CN109245973A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166972A (en) * 2019-05-28 2019-08-23 朱清 A kind of Intelligent Sensing System with block chain module
CN110578995A (en) * 2019-07-26 2019-12-17 杭州晋鼎信环保科技有限公司 Air conditioner control system based on block chain
CN113835350A (en) * 2021-09-26 2021-12-24 北京无线电测量研究所 Intelligent shelter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249056A (en) * 2012-02-09 2013-08-14 迈普通信技术股份有限公司 Simulation method and device for topotactic transformation of wireless sensing network
US20150370272A1 (en) * 2014-06-23 2015-12-24 Google Inc. Intelligent configuration of a smart environment based on arrival time
CN107942718A (en) * 2018-01-15 2018-04-20 天津大学 Intelligent home furnishing control method and system based on block chain
CN107979641A (en) * 2017-11-21 2018-05-01 韩晓羽 A kind of intelligent domestic system based on cloud computing
CN108037670A (en) * 2017-12-07 2018-05-15 何旭连 A kind of smart home based on cloud computing
CN108337655A (en) * 2017-12-25 2018-07-27 程丹秋 Medical room environment intelligent monitor system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249056A (en) * 2012-02-09 2013-08-14 迈普通信技术股份有限公司 Simulation method and device for topotactic transformation of wireless sensing network
US20150370272A1 (en) * 2014-06-23 2015-12-24 Google Inc. Intelligent configuration of a smart environment based on arrival time
CN107979641A (en) * 2017-11-21 2018-05-01 韩晓羽 A kind of intelligent domestic system based on cloud computing
CN108037670A (en) * 2017-12-07 2018-05-15 何旭连 A kind of smart home based on cloud computing
CN108337655A (en) * 2017-12-25 2018-07-27 程丹秋 Medical room environment intelligent monitor system
CN107942718A (en) * 2018-01-15 2018-04-20 天津大学 Intelligent home furnishing control method and system based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166972A (en) * 2019-05-28 2019-08-23 朱清 A kind of Intelligent Sensing System with block chain module
CN110578995A (en) * 2019-07-26 2019-12-17 杭州晋鼎信环保科技有限公司 Air conditioner control system based on block chain
CN113835350A (en) * 2021-09-26 2021-12-24 北京无线电测量研究所 Intelligent shelter

Similar Documents

Publication Publication Date Title
CN109922162B (en) Flat building equipment Internet of things monitoring system and method based on block chain
Zhang et al. Security and privacy in smart city applications: Challenges and solutions
CN109407530A (en) A kind of smart home system based on block chain
Oliveira et al. Mobile device detection through WiFi probe request analysis
CN104486835B (en) A kind of positioner based on WAP and video monitoring
Chen et al. TRM-IoT: A trust management model based on fuzzy reputation for internet of things
CN109245973A (en) A kind of smart home system based on block chain
CN108632293A (en) Architectural Equipment Internet of things system based on block chain technology and method
CN107710216A (en) For establishing the apparatus and method of secure communication channel in Internet of Things (IoT) system
Zhang et al. Artificial immune system based intrusion detection in a distributed hierarchical network architecture of smart grid
CN104639311B (en) The polymerization and system of electricity consumption privacy and integrity protection in a kind of intelligent grid
CN108475317A (en) System and method for protecting Internet of Things (IoT) device preset
Liu et al. Smarter grid in the 5G Era: A framework integrating power internet of things with a cyber physical system
Bokareva et al. Sasha: Toward a self-healing hybrid sensor network architecture
Singh et al. SH-SecNet: an enhanced secure network architecture for the diagnosis of security threats in a smart home
CN110568833A (en) Smart home security monitoring system
Song et al. Research on applications of the internet of things in the smart grid
CN108600967A (en) Preassembled transformer station wireless sensor network measure and control device based on block chain
CN108737511A (en) A kind of air pollution surveillance system based on block chain
CN108600985A (en) A kind of air pollution data acquisition and processing system based on block chain technology
CN110768842A (en) Intelligent home communication safety management and control method, system and storage medium
CN112069520A (en) Electric power tower monitoring data encryption method and device based on alliance block chain and Beidou
CN104092753A (en) Internet-of-things information processing and fusion method based on wireless relay system and model thereof
Vamsi et al. Secure data aggregation and intrusion detection in wireless sensor networks
CN109951483A (en) A kind of indoor retail shop&#39;s positioning system and its method based on alliance&#39;s chain and machine learning algorithm

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118