The present invention relates generally to building management systems. More particularly, the present invention relates to systems and methods for securely storing building management data of a building management system using a blockchain.
Building management systems can include security systems, heating, ventilation, and air conditioning (HVAC) systems, fire safety systems, and access control systems. For example, security and fire safety systems are known to detect threats within a secured area, and such threats can include events that represent a risk to human safety or a risk to assets.
Security and fire safety systems typically include one or more sensors that can detect the threats within the secured area. For example, smoke, motion, contact, camera, gas, and/or intrusion sensors can be distributed throughout the secured area in order to detect the threats. Access control systems typically include a reader and an electronic lock that can unlock a door upon receiving a valid identification card or a key at the reader.
Known fire safety and security systems can send an alarm message to a central monitoring station upon activation of one of the sensors, and the central monitoring station can respond by summoning appropriate help. For example, if the one of the sensors detects a fire, then the central monitoring station can summon a local fire department. Alternatively, if the one of the sensors detects an intrusion, then the central monitoring station can summon the police.
Known building management systems typically communicate with a central server of the central monitoring station via a common standard protocol (e.g. BacNet, Modbus, EBI, WinMag, etc.). However, if one of the building management systems is offline or otherwise non-operational, then the central server cannot access all building management data. Furthermore, tracing history or creating restore points for each of the building management systems can be difficult. As such, there exists a need in the art for secure storage of the building management data of the building management systems.
While this invention is susceptible of an embodiment in many different forms, there are shown in the drawings and will be described herein in detail specific embodiments thereof with the understanding that the present disclosure is to be considered as an exemplification of the principles of the invention. It is not intended to limit the invention to the specific illustrated embodiments.
Embodiments disclosed herein can include systems and methods that can securely store building management data of building management systems using a blockchain. In some embodiments, the building management data described herein can include configuration data of the building management systems, maintenance data of the building management systems, security events, access events, temperature changes, or any other event tracked or detected by the building management systems, or any other data generated by the building management systems as would be known and understood by one of ordinary skill in the art. In some embodiments, the building management systems described herein can include fire safety systems, security systems, access control systems, HVAC systems, or any other type of building management system as would be known and understood by one or ordinary skill in the art.
In accordance with disclosed embodiments, a blockchain network can include a group of peers of the building management systems, such as the building management systems located in one site, the building management systems located in one building, the building management systems located on one floor, the building management systems located within a predetermined distance of one another, or the like. All of the building management systems in the blockchain network can create blocks in the blockchain, and each of the blocks in the blockchain can store respective building management data of a respective one of the building management systems in the blockchain network. Then, systems and methods disclosed herein can share all updates to the blockchain to all of the building management systems in the blockchain network so that each of the building management systems in the blockchain network and/or users thereof can be cognizant of the respective building management data of other ones of the building management systems in the blockchain network.
In some embodiments, only heterogeneous ones of the building management systems can store the building management data in the blockchain. That is, the heterogeneous ones of the building management systems can form the group of peers of the building management systems that forms the blockchain network. Accordingly, a first type of the building management systems, such as the fire safety systems, the HVAC systems, the access control systems, or the security systems, can store the building management data in a first blockchain, and a second, different type of the building management systems can store the building management data in a second blockchain.
The blockchain can represent an auditable trail of the building management data of the building management systems in the blockchain network that cannot be manipulated because such data is stored pursuant to blockchain protocols. For example, the blockchain protocols can prevent retroactive data manipulation because altering any of the blocks in the blockchain requires an alteration of subsequent ones of the blocks in the blockchain, which requires a consensus of all of the building management systems in the blockchain network. Furthermore, the blockchain protocols can ensure that the blockchain be completely decentralized such that all of the building management data in the blockchain can be shared with all of the building management systems in the blockchain network.
In accordance with the above, the building management systems in the blockchain network can execute smart contracts, and the smart contracts can include self-executing codes (e.g. software) that are designed to execute a command or an action when the self-executing codes are exposed to a trigger, such as data input or a change to the building management data. In some embodiments, the smart contracts can send the updates to the blockchain to an open-source ledger representative of the blockchain so that additions and subtractions to a maintenance record or the building management data can be accessed by any building stakeholder, such as a maintenance engineer reviewing periodic maintenance records, a building owner ensuring compliance with building management system standards, an insurance company auditing an insurance claim, a tenant, or the like. For example, when a commissioning engineer adds a new entry to the maintenance record (e.g. replacing a broken security sensor with a replacement security sensor), a security system can create a new block in the blockchain representing the replacement security sensor, and the new block can be broadcast to all of the building management systems in the blockchain network. Substantially simultaneously, a respective one of the smart contracts can send a corresponding update to the open-source ledger, and a notification message to view the open-source ledger to one or more building stakeholders. After receiving a broadcast identifying the new block added to the blockchain, some or all of the building management systems in the blockchain network can validate the new block.
In some embodiments, each of the blocks in the blockchain can include a respective transaction identifier that identifies a respective one of the blocks in the blockchain, a hash of a respective previous block identifier, a respective timestamp, and a hash of the respective building management data from the respective one of the building management systems in the blockchain network creating the respective one of the blocks in the blockchain. In this regard, the respective previous block identifier of a second of the blocks in the blockchain can include the respective transaction identifier of a first of the blocks in the blockchain. Because each of the blocks in the blockchain contains the hash of the respective previous block identifier, the blocks in the blockchain can be linked using cryptography.
In some embodiments, the first and second fire safety systems 112, 122 can include smoke detectors that can detect smoke or a fire within the site 100. Furthermore, in some embodiments, the first and second HVAC systems 114, 124 can include thermostats, fans, heaters, and air conditioning units to regulate temperatures within the buildings 110, 120. Further still, in some embodiments, the first and second security systems 116, 126 can include motion detectors, door sensors, window sensors, glass break sensors, and the like to detect intrusions within the site 100. Yet further still, in some embodiments, the first and second access control systems 118, 128 can include readers and door lock control mechanisms to control access to areas and subareas within the site 100.
In any embodiment, each of the building management systems in the buildings 110, 120, including the first fire safety system 112, the first HVAC system 114, the first security system 116, the first access control system 118, the second fire safety system 122, the second HVAC system 124, the second security system 126, and the second access control system 128, can store respective building management data in a blockchain 130 that can include one or more blocks 132A, 132B. For example, any time one of the building management systems in the buildings 110, 120 is updated with new building management data, that one of the building management systems can create a new one of the blocks 132A, 132B in the blockchain 130, and responsive thereto, that one of the building management systems can broadcast the new one of the blocks 132A, 1326 or the blockchain 130 as a whole to all of the building management systems in the buildings 110120. Then, each of the building management systems in the buildings 110, 120 can store a copy of the blockchain 130 with the new one of the blocks 132A, 132B added thereto.
Each of the building management systems in the buildings 110, 120 can include respective control circuitry, which can include a respective programmable processor and respective executable control software, as would be understood by one of ordinary skill in the art. The respective executable control software of each of the building management systems in the buildings 110, 120 can be stored on a transitory or non-transitory computer readable medium, including, but not limited to local computer memory, RAM, optical storage media, magnetic storage media, and the like. In some embodiments, the respective control circuitry, the respective programmable processor, and the respective executable control software of each of the building management systems in the buildings 110, 120 can execute and control some or all of the methods disclosed herein.
As seen in
Then, the method 300 can include the processor broadcasting the new block to all peers in an associated blockchain network (e.g. all other ones of the building management systems in an associated site) as in 306, the processor receiving a validation confirmation message from all of the peers in the associated blockchain network as in 308, and responsive thereto, the processor saving the new block to the blockchain as in 310. In some embodiments, after the processor saves the new block to the blockchain, the method 300 can also include the processor transmitting the new block in the blockchain to all of the peers in the associated blockchain network or transmitting the blockchain as a whole to all of the peers in the associated blockchain network.
The exemplary embodiments described herein greatly improve and provide several advantages over the prior art systems and methods for storing building management data of building management systems. First, by using a blockchain, the building management data in systems and methods disclosed herein can be transparent and auditable, which can allow for traceability thereof. Indeed, in some embodiments, a full snapshot of the building management data can be stored in each block of the blockchain, thereby facilitating a configuration reset from any of the blocks in the blockchain. Second, due to smart contracts, all data consumers can be assured that the building management data in systems and methods disclosed herein is consistent, complete, timely, and accurate. Next, because the blockchain can be shared with all peers in a blockchain network, the building management data in systems and methods disclosed herein can always be available as long as one of the building management systems is operational. Said differently, because the blockchain has no central authority, there is no central point of failure, and the blockchain can withstand malicious attacks. Finally, because the blockchain relies upon cryptography, the building management data in systems and methods disclosed herein can be highly secure.
Although a few embodiments have been described in detail above, other modifications are possible. For example, the logic flows described above do not require the particular order described or sequential order to achieve desirable results. Other steps may be provided, steps may be eliminated from the described flows, and other components may be added to or removed from the described systems. Other embodiments may be within the scope of the invention.
From the foregoing, it will be observed that numerous variations and modifications may be effected without departing from the spirit and scope of the invention. It is to be understood that no limitation with respect to the specific system or method described herein is intended or should be inferred. It is, of course, intended to cover all such modifications as fall within the spirit and scope of the invention.