Smart building contract management method, device, equipment, storage medium and product

Through blockchain technology, smart building contracts are managed, equipment data is obtained and risks are evaluated, and the problems of high technical thresholds and user privacy protection in smart building contract management are solved, achieving data security and reliability.

CN119026901BActive Publication Date: 2025-09-05CHINA STATE CONSTRUCTION ENGRG (HONG KONG) LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410983180.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2025-09-05
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

In the existing smart building contract management, the construction and management of BIM models require high technical thresholds, and user data privacy protection is difficult to achieve.

Method used

Blockchain technology is used to obtain smart building contracts, obtain equipment data from edge gateway nodes based on building node information, evaluate risk data through preset risk models, and repair and contract updates of target devices.

Benefits of technology

It improves data security and immutability, reduces contract management costs, ensures user privacy protection, and improves the reliability of smart buildings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026901B_ABST
    Figure CN119026901B_ABST
Patent Text Reader

Abstract

The present application discloses a smart building contract management method, apparatus, device, storage medium, and product, relating to the field of smart building technology. The smart building contract management method includes: obtaining a smart building contract based on a blockchain, and determining building node information of the smart building based on the smart building contract; obtaining device data generated by smart devices from edge gateway nodes of the smart building based on the building node information; performing a risk assessment on the device data using a preset risk model to determine whether risk data exists in the device data; if risk data exists, performing risk repair on the target edge gateway node and target smart device corresponding to the risk data; updating building node information based on the target edge gateway node and target smart device after risk repair, and reconstructing the smart building contract based on the updated building node information. Since smart building contracts are obtained and managed based on a blockchain, data security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent building technology, and in particular to intelligent building contract management methods, devices, equipment, storage media and products. Background Art

[0002] In smart building management systems, contracts are often used to establish agreements or agreements related to the design, construction, operation, and maintenance of smart buildings. Smart building contracts clarify the rights, obligations, and responsibilities of all parties involved in the smart building project, ensuring the smooth progress and long-term stable operation of the project.

[0003] Existing smart building contracts are typically managed through the construction of Building Information Modeling (BIM), which is a costly and technically demanding process. Furthermore, the use of BIM to manage smart building contracts collects and processes large amounts of user data, raising the urgent challenge of protecting user privacy. Summary of the Invention

[0004] The main purpose of this application is to provide a smart building contract management method, device, equipment, storage medium and product, aiming to solve the technical problem of how to protect user privacy.

[0005] To achieve the above objectives, this application proposes a smart building contract management method, which includes:

[0006] Obtaining a smart building contract based on the blockchain, and determining building node information of the smart building based on the smart building contract;

[0007] acquiring device data generated by smart devices from an edge gateway node of the smart building based on the building node information;

[0008] Performing a risk assessment on the device data using a preset risk model to determine whether there is risky data in the device data;

[0009] When risk data exists, risk repair is performed on the target edge gateway node and target smart device corresponding to the risk data;

[0010] The building node information is updated based on the target edge gateway node and the target smart device after risk repair, and the smart building contract is reconstructed according to the updated building node information.

[0011] In one embodiment, the step of obtaining device data generated by smart devices from the edge gateway node of the smart building based on the building node information includes:

[0012] Determine the edge gateway node type and edge gateway node location to be collected in the intelligent building based on the building node information;

[0013] Determining a device data collection method based on the edge gateway node type;

[0014] The device data stored in the edge gateway node at the edge gateway node location is collected according to the collection method.

[0015] In one embodiment, the preset risk model includes: an input layer, a hidden layer, and an output layer; the step of performing risk assessment on the device data using the preset risk model to determine whether risk data exists in the device data includes:

[0016] Performing data preprocessing on the device data through the input layer to obtain model input data;

[0017] Performing neuron processing on the model input data through the hidden layer to determine a processing result;

[0018] The processing result is subjected to risk assessment through the output layer to determine whether there is risk data in the device data.

[0019] In one embodiment, when risk data exists, the step of performing risk repair on the target edge gateway node and target smart device corresponding to the risk data includes:

[0020] When risk data exists, determining a target edge gateway node and a target smart device corresponding to the risk data;

[0021] Isolate the target edge gateway node and the target smart device to obtain an isolated node area;

[0022] Perform risk repair on the target smart device in the isolated node area.

[0023] In one embodiment, the step of updating the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information includes:

[0024] Acquire updated device data of the smart device after risk repair through the target edge gateway node;

[0025] updating the building node information based on the update device data;

[0026] Reconstruct the smart building contract according to the updated building node information.

[0027] In one embodiment, the building node information includes at least: call function information and edge gateway node information; the step of obtaining the smart building contract based on the blockchain and determining the building node information of the smart building based on the smart building contract includes:

[0028] Obtaining a blockchain contract address, and obtaining a smart building contract in the blockchain based on the blockchain contract address;

[0029] Parsing based on the smart building contract to determine the calling function information of the building node;

[0030] The edge gateway node information in the intelligent building is determined based on the calling function information.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a smart building contract management device, which includes:

[0032] A node information acquisition module, configured to acquire a smart building contract based on the blockchain and determine building node information of the smart building based on the smart building contract;

[0033] a device data acquisition module, configured to acquire device data generated by smart devices from edge gateway nodes of the smart building based on the building node information;

[0034] a risk data assessment module, configured to perform a risk assessment on the device data using a preset risk model to determine whether risk data exists in the device data;

[0035] A risk device repair module is used to perform risk repair on the target edge gateway node and target smart device corresponding to the risk data when risk data exists;

[0036] A node information updating module is used to update the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstruct the smart building contract according to the updated building node information.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes an intelligent building contract management device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is configured to implement the steps of the intelligent building contract management method as described above.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by the processor, the steps of the smart building contract management method as described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the smart building contract management method as described above.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] This application obtains a smart building contract based on blockchain, and determines the building node information of the smart building based on the smart building contract; obtains device data generated by smart devices from the edge gateway node of the smart building based on the building node information; performs risk assessment on the device data using a preset risk model to determine whether there is risk data in the device data; when risk data exists, performs risk repair on the target edge gateway node and target smart device corresponding to the risk data; updates the building node information based on the target edge gateway node and target smart device after risk repair, and reconstructs the smart building contract based on the updated building node information. Since the smart building contract acquisition and management is based on blockchain, the security of the data is improved; by determining the risk data and the corresponding target edge gateway node and target smart device in the device data, the target smart device that fails in the smart building can be handled in a timely manner, thereby improving the reliability of the smart building. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0044] Figure 1 A flowchart of the first embodiment of the smart building contract management method provided in this application;

[0045] Figure 2 A flowchart of the second embodiment of the smart building contract management method provided in this application;

[0046] Figure 3 This is a schematic diagram of the preset risk model structure in one implementation of the smart building contract management method of this application;

[0047] Figure 4 A flowchart of the third embodiment of the smart building contract management method provided in this application;

[0048] Figure 5 This is a schematic diagram of the module structure of the smart building contract management device according to an embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the smart building contract management method in the embodiment of this application.

[0050] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] The main solution of the embodiment of the present application is: obtaining a smart building contract based on the blockchain, and determining the building node information of the smart building based on the smart building contract; obtaining device data generated by smart devices from the edge gateway node of the smart building based on the building node information; performing risk assessment on the device data through a preset risk model to determine whether there is risk data in the device data; when risk data exists, performing risk repair on the target edge gateway node and target smart device corresponding to the risk data; updating the building node information based on the target edge gateway node and target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information.

[0054] Current technologies use BIM models for smart building contract management. However, the construction and management of BIM models require specialized skills and knowledge, placing high demands on personnel. Furthermore, the establishment and maintenance of BIM models require significant time and financial investment. Furthermore, the use and management of smart building contracts collects and processes large amounts of user data, posing a pressing challenge in protecting user privacy.

[0055] This application provides a solution for managing and executing smart building contracts based on blockchain technology, improving data security and immutability during the management process. Furthermore, blockchain technology enables automated execution of smart contracts, reducing manual intervention during implementation and lowering labor costs during contract management.

[0056] It should be noted that the execution entity of this embodiment can be a computing service device with data processing, network communication, and program execution capabilities, such as a server or smart building server, or an electronic device or virtual device capable of implementing the aforementioned functions. This embodiment and the following embodiments will be described below using a smart building contract management device (hereinafter referred to as the management device) as an example.

[0057] Based on this, the embodiment of the present application provides a smart building contract management method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the smart building contract management method of this application.

[0058] In this embodiment, the smart building contract management method includes steps S10 to S40:

[0059] Step S10: obtaining a smart building contract based on the blockchain, and determining building node information of the smart building based on the smart building contract;

[0060] It is understandable that blockchain is a distributed database technology that uses cryptography to ensure the immutability and non-forgeability of data through a series of data blocks arranged in chronological order.

[0061] It should be understood that building node information is also the node information of the terminal nodes involved in the use of smart buildings. When obtaining the building node information, the management device can establish a connection with the terminal node, and then determine the type, quantity, location, performance and other information of the edge gateway nodes included in the smart building.

[0062] In one implementation of the embodiment of the present application, the building node information includes at least: call function information and edge gateway node information; the step of obtaining the smart building contract based on the blockchain and determining the building node information of the smart building based on the smart building contract includes:

[0063] Obtaining a blockchain contract address, and obtaining a smart building contract in the blockchain based on the blockchain contract address;

[0064] Parsing based on the smart building contract to determine the calling function information of the building node;

[0065] The edge gateway node information in the intelligent building is determined based on the calling function information.

[0066] It should be noted that the blockchain contract address is the location where the smart building contract is stored on the blockchain. Based on this blockchain contract address, the smart building contract can be retrieved. By parsing the smart building contract, the call function information of the building node corresponding to the smart building can be determined. Based on this call function information, the building node can be called to determine the edge gateway node information included in the smart building.

[0067] Step S20, acquiring device data generated by smart devices from the edge gateway node of the smart building based on the building node information;

[0068] Step S30: performing risk assessment on the device data using a preset risk model to determine whether risk data exists in the device data.

[0069] It is understandable that each edge gateway node can be connected to multiple smart devices and obtain device data of these smart devices.

[0070] It should be understood that when the management device determines the building node information, it can determine the edge node type, data, location, performance and other information in the smart building, and then obtain the device data generated by each smart device in the smart building based on these edge gateway nodes.

[0071] It should be noted that the aforementioned pre-defined risk model is a neural network model that evaluates input device data to determine whether the data contains risk data related to the protection of faulty devices. By determining whether the risk data exists, it is determined whether there are risky faulty devices in the smart building and the type of faulty device risk associated with the risk data.

[0072] Step S40: When risk data exists, performing risk repair on the target edge gateway node and target smart device corresponding to the risk data;

[0073] It can be understood that the above-mentioned target smart device is also the smart device that generates the risk data, and the above-mentioned target edge gateway node is also the gateway node corresponding to the risk data.

[0074] It should be noted that when risk data exists, the management device can determine risk repair information based on the device type of the target smart device, the risk type of the risk data, and the smart building contract, and then perform risk repair based on the risk repair information.

[0075] It is understood that the risk remediation information may include information about the responsible party for risk remediation, information about the cost of risk remediation, and information about the time of risk remediation. Based on the risk remediation information, the responsible party for risk remediation may be contacted to perform risk remediation, and corresponding risk remediation cost information may be output upon completion of risk remediation.

[0076] Step S50: updating the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information.

[0077] It can be understood that when the risk repair is completed, the building node information can be updated based on the information of the target edge gateway node and the target smart device, thereby updating the corresponding building node information in the smart building contract and obtaining the reconstructed smart building contract.

[0078] The embodiment of the present application obtains a smart building contract based on a blockchain, and determines the building node information of the smart building based on the smart building contract; obtains device data generated by smart devices from the edge gateway node of the smart building based on the building node information; performs a risk assessment on the device data using a preset risk model to determine whether there is risk data in the device data; when risk data exists, performs risk repair on the target edge gateway node and target smart device corresponding to the risk data; updates the building node information based on the target edge gateway node and target smart device after risk repair, and reconstructs the smart building contract based on the updated building node information. Since the smart building contract acquisition and management is based on the blockchain, the security of the data is improved; by determining the risk data and the corresponding target edge gateway node and target smart device in the device data, the target smart device that fails in the smart building can be handled in a timely manner, thereby improving the reliability of the smart building.

[0079] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above embodiment 1 can be referred to the above introduction and will not be described in detail later. Figure 2 The step of obtaining device data generated by smart devices from the edge gateway node of the smart building based on the building node information includes:

[0080] Step S21, determining the edge gateway node type and edge gateway node location to be collected in the intelligent building based on the building node information;

[0081] Step S22, determining a device data collection method based on the edge gateway node type;

[0082] It is understandable that the type of edge gateway node and the location of the edge gateway node in the smart building can be determined based on the building node information.

[0083] It should be noted that different types of edge gateway nodes may have different data processing capabilities and support different communication protocols. For basic edge gateway nodes, the corresponding device data collection method may be scheduled collection; for high-performance edge gateway nodes, the corresponding device data collection method may be real-time collection. Therefore, based on the edge gateway node's collection method, the management device's device data collection method from the edge gateway node can be determined; and based on the communication protocols supported by the edge gateway node, the communication method between the edge gateway node and the management device can be determined.

[0084] It should be noted that the type of edge gateway node can be selected based on the type of connected smart device. For smart devices with high real-time requirements, such as security equipment, lighting systems, and smart appliances, the edge gateway node they connect to can be a high-performance edge gateway node. For smart devices with less real-time requirements, such as sensor-type devices, the edge gateway node they connect to can be a basic edge gateway node.

[0085] Step S23: collecting device data stored by the edge gateway node at the edge gateway node location according to the collection method.

[0086] It is understandable that when determining the method for collecting device data, the device data stored by the edge gateway node at the edge gateway node location can be collected.

[0087] In one implementation of the embodiment of the present application, in order to detect risk data, the preset risk model can be as follows: Figure 3 As shown, the preset risk model includes: an input layer, a hidden layer, and an output layer; the step of performing risk assessment on the device data using the preset risk model to determine whether there is risk data in the device data includes:

[0088] Performing data preprocessing on the device data through the input layer to obtain model input data;

[0089] Performing neuron processing on the model input data through the hidden layer to determine a processing result;

[0090] The processing result is subjected to risk assessment through the output layer to determine whether there is risk data in the device data.

[0091] It should be noted that different smart device types can correspond to different preset risk models, and each preset risk model can correspond to multiple dimensions of device data. For example, for a preset risk device corresponding to a smart air conditioner, the input device data can include data on temperature changes, humidity changes, and other dimensions. By preprocessing the device data in multiple dimensions, the model input data can be obtained.

[0092] It should be explained that the number of hidden layers in the embodiment of the present application can be multiple ( Figure 3 For each hidden layer, there may be several neurons ( Figure 3 Five of these are shown in the figure. Each neuron receives model input data in various dimensions and performs weighted and nonlinear transformations based on the model input data, thereby mapping the neuron's input to the neurons in the next hidden layer. The neuron's processing results are obtained through the hidden layer's step-by-step mapping. The output layer then performs error processing on these results, thereby implementing a risk assessment of the input device data, determining whether the input device data is risky and the corresponding risk type.

[0093] This embodiment of the present application determines the type and location of edge gateway nodes to be collected in a smart building based on building node information; determines the device data collection method based on the edge gateway node type; and collects the device data stored by the edge gateway node at the edge gateway node location according to the collection method. Because the location of the edge gateway node and the device data collection method are determined based on building node information, the device data stored by the edge node is obtained, providing a data foundation for the management and execution of smart contracts.

[0094] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment and / or the second embodiment can be referred to the above introduction and will not be described in detail later. Figure 4 , when risk data exists, the step of performing risk repair on the edge gateway node and target smart device corresponding to the risk data includes:

[0095] Step S41: When risk data exists, determining a target edge gateway node and a target smart device corresponding to the risk data;

[0096] Step S42: Isolate the target edge gateway node and the target smart device to obtain an isolated node area;

[0097] Step S43: Perform risk repair on the target smart device in the isolated node area.

[0098] It should be noted that in order to prevent problematic devices from affecting global terminal nodes, the target edge and the corresponding target smart device can be isolated in the smart device when there is risk data, and the isolated node area can be determined to avoid affecting the global system when performing risk repair, data testing, etc.

[0099] It is understandable that when the isolated node area is generated, risk repair can be performed on the target smart device in the isolated node area.

[0100] In one implementation of the embodiment of the present application, the step of updating the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information includes:

[0101] Acquire updated device data of the smart device after risk repair through the target edge gateway node;

[0102] updating the building node information based on the update device data;

[0103] Reconstruct the smart building contract according to the updated building node information.

[0104] It is understood that when the risk is repaired, the management device can obtain updated device data of the remediated smart device based on the target edge gateway node, such as the replaced air conditioner model and post-repair usage data. Based on this updated device data, the building node information can be updated, and the smart building contract can be restructured, allowing the smart building contract to be updated in real time based on changes in the building during use.

[0105] When risk data exists, the present embodiment determines the target edge gateway node and target smart device corresponding to the risk data; isolates the target edge gateway node and target smart device to obtain an isolated node region; and performs risk remediation on the target smart device in the isolated node region. Because the target edge gateway node and target smart device are isolated first, the impact of irrelevant data on the global system during the risk remediation process is avoided.

[0106] It should be noted that the above examples are only used to understand this application and do not constitute a limitation on the smart building contract management method of this application. More simple transformations based on this technical concept are all within the scope of protection of this application.

[0107] This application also provides a smart building contract management device, please refer to Figure 5 , the smart building contract management device includes:

[0108] A node information acquisition module 10 is used to obtain a smart building contract based on the blockchain, and determine the building node information of the smart building based on the smart building contract;

[0109] a device data acquisition module 20 for acquiring device data generated by smart devices from edge gateway nodes of the smart building based on the building node information;

[0110] a risk data assessment module 30 for performing a risk assessment on the device data using a preset risk model to determine whether risk data exists in the device data;

[0111] The risk device repair module 40 is used to perform risk repair on the target edge gateway node and target smart device corresponding to the risk data when risk data exists;

[0112] The node information updating module 50 is used to update the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstruct the smart building contract according to the updated building node information.

[0113] The smart building contract management device provided in this application, utilizing the smart building contract management method described in the aforementioned embodiments, can address the technical issue of protecting user privacy. Compared to the prior art, the beneficial effects of the smart building contract management device provided in this application are the same as those of the smart building contract management method described in the aforementioned embodiments. Other technical features of the smart building contract management device are the same as those disclosed in the aforementioned embodiments and are not further elaborated here.

[0114] The present application provides an intelligent building contract management device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the intelligent building contract management method in the above-mentioned embodiment one.

[0115] Reference below Figure 6, which shows a schematic diagram of the structure of an intelligent building contract management device suitable for implementing embodiments of the present application. The intelligent building contract management device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The smart building contract management device shown is only an example and should not limit the functions and scope of use of the embodiments of the present application.

[0116] like Figure 6 As shown, the smart building contract management device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the smart building contract management device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the smart building contract management device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a smart building contract management device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or provided instead.

[0117] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0118] The smart building contract management device provided in this application, utilizing the smart building contract management method described in the aforementioned embodiments, can address the technical issue of protecting user privacy. Compared to the prior art, the beneficial effects of the smart building contract management device provided in this application are the same as those of the smart building contract management method described in the aforementioned embodiments. Other technical features of the smart building contract management device are the same as those disclosed in the aforementioned embodiments and are not further elaborated here.

[0119] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0120] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

[0121] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the smart building contract management method in the above-mentioned embodiment.

[0122] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0123] The above-mentioned computer-readable storage medium may be included in the smart building contract management device; or it may exist independently without being assembled into the smart building contract management device.

[0124] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the smart building contract management device, the smart building contract management device:

[0125] Obtaining a smart building contract based on the blockchain, and determining building node information of the smart building based on the smart building contract;

[0126] acquiring device data generated by smart devices from an edge gateway node of the smart building based on the building node information;

[0127] Performing a risk assessment on the device data using a preset risk model to determine whether there is risky data in the device data;

[0128] When risk data exists, risk repair is performed on the target edge gateway node and target smart device corresponding to the risk data;

[0129] The building node information is updated based on the target edge gateway node and the target smart device after risk repair, and the smart building contract is reconstructed according to the updated building node information.

[0130] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0131] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0132] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0133] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned smart building contract management method, thereby resolving the technical issue of protecting user privacy. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are similar to those of the smart building contract management method provided in the aforementioned embodiments, and are not further elaborated here.

[0134] The present application also provides a computer program product, comprising a computer program, which implements the steps of the above-mentioned smart building contract management method when executed by a processor.

[0135] The computer program product provided in this application can solve the technical problem of how to protect user privacy. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the smart building contract management method provided in the above embodiment, and will not be repeated here.

[0136] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A smart building contract management method, characterized in that: The method comprises: Obtaining a smart building contract based on the blockchain, and determining building node information of the smart building based on the smart building contract; acquiring device data generated by smart devices from an edge gateway node of the smart building based on the building node information; Performing a risk assessment on the device data using a preset risk model to determine whether there is risky data in the device data; When risk data exists, risk repair is performed on the target edge gateway node and target smart device corresponding to the risk data; updating the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information; The preset risk model includes: an input layer, a hidden layer, and an output layer; the step of performing risk assessment on the device data using the preset risk model to determine whether risk data exists in the device data includes: Performing data preprocessing on the device data through the input layer to obtain model input data; Performing neuron processing on the model input data through the hidden layer to determine a processing result; Performing risk assessment on the processing result through the output layer to determine whether there is risk data in the device data; When risk data exists, the step of performing risk repair on the target edge gateway node and target smart device corresponding to the risk data includes: When risk data exists, determining a target edge gateway node and a target smart device corresponding to the risk data; Isolate the target edge gateway node and the target smart device to obtain an isolated node area; Perform risk repair on the target smart device in the isolated node area.

2. The smart building contract management method according to claim 1, wherein: The step of acquiring device data generated by smart devices from the edge gateway node of the smart building based on the building node information includes: Determine the edge gateway node type and edge gateway node location to be collected in the intelligent building based on the building node information; Determining a device data collection method based on the edge gateway node type; The device data stored in the edge gateway node at the edge gateway node location is collected according to the collection method.

3. The smart building contract management method according to claim 1, wherein: The step of updating the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstructing the smart building contract according to the updated building node information includes: Acquire updated device data of the smart device after risk repair through the target edge gateway node; updating the building node information based on the update device data; Reconstruct the smart building contract according to the updated building node information.

4. The smart building contract management method according to claim 1, wherein: The building node information includes at least: call function information and edge gateway node information; the step of obtaining the smart building contract based on the blockchain and determining the building node information of the smart building based on the smart building contract includes: Obtaining a blockchain contract address, and obtaining a smart building contract in the blockchain based on the blockchain contract address; Parsing based on the smart building contract to determine the calling function information of the building node; The edge gateway node information in the intelligent building is determined based on the calling function information.

5. An intelligent building contract management device, characterized in that: The smart building contract management device includes: A node information acquisition module, configured to acquire a smart building contract based on the blockchain and determine building node information of the smart building based on the smart building contract; a device data acquisition module, configured to acquire device data generated by smart devices from edge gateway nodes of the smart building based on the building node information; a risk data assessment module, configured to perform a risk assessment on the device data using a preset risk model to determine whether risk data exists in the device data; A risk device repair module is used to perform risk repair on the target edge gateway node and target smart device corresponding to the risk data when risk data exists; a node information updating module, configured to update the building node information based on the target edge gateway node and the target smart device after risk repair, and reconstruct the smart building contract according to the updated building node information; The preset risk model includes: an input layer, a hidden layer, and an output layer; the operation of performing risk assessment on the device data using the preset risk model to determine whether risk data exists in the device data includes: Performing data preprocessing on the device data through the input layer to obtain model input data; Performing neuron processing on the model input data through the hidden layer to determine a processing result; Performing risk assessment on the processing result through the output layer to determine whether there is risk data in the device data; When risk data exists, the operation of performing risk repair on the target edge gateway node and the target smart device corresponding to the risk data includes: When risk data exists, determining a target edge gateway node and a target smart device corresponding to the risk data; Isolate the target edge gateway node and the target smart device to obtain an isolated node area; Perform risk repair on the target smart device in the isolated node area.

6. A smart building contract management device, characterized in that: The device includes: a memory, a processor, and a smart building contract management program stored in the memory and executable on the processor, wherein the smart building contract management program is configured to implement the steps of the smart building contract management method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium stores a smart building contract management program, which, when executed by the processor, implements the steps of the smart building contract management method according to any one of claims 1 to 4.

8. A computer program product, characterized in that The computer program product comprises a computer program, which implements the steps of the smart building contract management method according to any one of claims 1 to 4 when executed by a processor.

Citation Information

Patent Citations

  • Building multiple-supply-chain coordination system based on blockchain and BIM model, and method thereof

    CN108960594A

  • Intelligent building management method and system, storage medium and electronic equipment

    CN113139884A