Intelligent building contract management method and device, equipment, storage medium and product
Acquisition and management of smart building contracts through blockchain technology, and evaluating equipment data using edge gateway nodes and risk models, solving the high cost and privacy protection problems of smart building contract management systems, and achieving data security and reliability improvement.
Patent Information
- Application Number
- CN202410983180.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-07-22
AI Technical Summary
The existing smart building contract management system requires high costs and technical thresholds in the construction and management process, and it is difficult to effectively protect user privacy.
Use blockchain technology to obtain smart building contracts, obtain device data through edge gateway nodes, use preset risk models to evaluate and repair, and update the contracts to ensure data security and privacy protection.
It improves the security and immutability of data, reduces manual intervention and management costs, promptly handles faulty equipment, and improves the reliability of smart buildings.
Smart Images

Figure CN119026901A_ABST
Abstract
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 the smart building management system, contracts are usually used to carry out contracts or agreements related to the design, construction, operation and maintenance of smart buildings. Through the smart building contract, the rights, obligations and responsibilities of all parties involved in the smart building project can be clarified to ensure the smooth progress of the project and long-term stable operation.
[0003] Existing smart building contracts are usually managed by building a building information model (BIM model), but the construction and management of BIM models require high costs and technical barriers. In addition, in the process of managing smart building contracts through BIM models, a large amount of user data will be collected and processed. How to protect user privacy has become an urgent problem to be solved. 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, the present 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] Acquire device data generated by smart devices from edge gateway nodes of the smart building based on the building node information;
[0008] Performing 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 acquiring 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 there is risk data 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 the 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: calling 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 purpose, the present application also proposes a smart building contract management device, the smart building contract management device comprising:
[0032] A node information acquisition module, used to acquire a smart building contract based on the blockchain, and determine the building node information of the smart building based on the smart building contract;
[0033] A device data acquisition module, used 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, used to perform risk assessment on the device data using a preset risk model to determine whether there is risk data in the device data;
[0035] A risk device repair module, used to perform risk repair on a target edge gateway node and a 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 a smart building contract management device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the smart 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, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the smart building contract management method 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 the smart building contract based on the blockchain, and determines the building node information of the smart building based on the smart building contract; obtains the device data generated by the smart device from the edge gateway node of the smart building based on the building node information; performs risk assessment on the device data through a preset risk model to determine whether there is risk data in the device data; when there is risk data, 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 machine management is based on the blockchain, the security of the data is improved; by determining the risk data in the device data and the corresponding target edge gateway node and target smart device, the faulty target smart device in the smart building can be handled in time, 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 paying any creative labor.
[0044] Figure 1 A flowchart of the first embodiment of the smart building contract management method of the present application is provided;
[0045] Figure 2 A flow chart of the second embodiment of the smart building contract management method provided for this application;
[0046] Figure 3 A schematic diagram of a preset risk model structure in one implementation of the smart building contract management method of this application;
[0047] Figure 4 A flowchart diagram of the third embodiment of the smart building contract management method of 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 the present application.
[0050] The purpose, features and advantages of this application will be further described 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 only used to explain the technical solutions of the present application and are not used 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 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] At present, the existing technology uses BIM models to manage smart building contracts. However, the construction and management of BIM models require professional skills and knowledge, and the technical requirements of personnel are relatively high. In addition, the establishment and maintenance of BIM models require a lot of time and money. In addition, during the use and management of smart building contracts, a large amount of user data will be collected and processed. How to protect user privacy has become an urgent problem to be solved.
[0055] This application provides a solution that improves the data security and immutability of the management process by managing and executing smart building contracts based on blockchain technology. At the same time, blockchain technology can realize the automatic execution of smart contracts, reduce manual intervention in the implementation process, and reduce the labor cost in the contract management process.
[0056] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a server, an intelligent building service terminal, etc., or an electronic device, a virtual device, etc. that can realize the above functions. The following takes the intelligent building contract management device (hereinafter referred to as the management device) as an example to illustrate this embodiment and the following embodiments.
[0057] Based on this, the present application embodiment 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 the present 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 terminal nodes involved in the use of intelligent buildings. When obtaining the building node information, the management device can establish a connection with the terminal node to further determine the type, quantity, location, performance and other information of the edge gateway nodes included in the intelligent building.
[0062] In one implementation of the embodiment of the present application, the building node information includes at least: calling 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 in the blockchain. Based on the blockchain contract address, the smart building contract can be obtained. By parsing the smart building contract, the call function information of the building node corresponding to the smart building can be determined, and then the building node can be called based on the call function information 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 there is risky data 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 above-mentioned preset risk model is a neural network model for evaluating the input device data to determine whether the risk data of the faulty device is protected. By determining whether the risk data exists, it is determined whether there is a risky faulty device in the intelligent building and the risk type of the faulty device corresponding to the risk data.
[0072] Step S40, when risk data exists, performing risk repair on the target edge gateway node and the 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 understandable that the above risk repair information may include information on the responsible party for risk repair, information on the cost of risk repair, and time information for risk repair, etc. Based on the risk repair information, the responsible party for risk repair may be contacted to perform risk repair, and the corresponding risk repair cost information may be output when the risk repair is completed.
[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 to obtain the reconstructed smart building contract.
[0078] The embodiment of the present application obtains the smart building contract based on the blockchain, and determines the building node information of the smart building based on the smart building contract; obtains the device data generated by the smart device from the edge gateway node of the smart building based on the building node information; performs risk assessment on the device data through a preset risk model to determine whether there is risk data in the device data; when there is risk data, 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 according to the updated building node information. Since the smart building contract acquisition machine management is based on the blockchain, the security of the data is improved; by determining the risk data existing in the device data and the corresponding target edge gateway node and target smart device, the target smart device with faults in the smart building can be processed in time, 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-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , 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 comprises:
[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 can be understood 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 for different types of edge gateway nodes, their corresponding data processing capabilities may be different, and the supported communication protocols may also be different. For basic edge gateway nodes, the corresponding device data collection method may be timed collection; for high-performance edge gateway nodes, the corresponding device data collection method may be real-time collection. Therefore, based on the collection method of the edge gateway node, the collection method of the management device from the edge gateway node can be determined; based on the communication protocol 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 explained that the selection method for the type of edge gateway node can be based on the type of connected smart device. For smart devices with high real-time requirements such as security equipment, lighting systems, and smart home appliances, the edge gateway node they connect to can be a high-performance edge gateway node; while for smart devices with low 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 in 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 in 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 by 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 types of smart devices may correspond to different preset risk models, and each preset risk model may correspond to device data of multiple dimensions. For example, for the preset risk device corresponding to the smart air conditioner, the input device data may include data of dimensions such as temperature change data and humidity change data. By preprocessing the device data of 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 5 of them are shown in the figure). For each neuron, model input data of various dimensions can be received, and weighted and nonlinear transformation is performed based on the model input data, so as to map the input of the neuron to the neuron of the next hidden layer. The processing result of the neuron processing is obtained through the step-by-step mapping of the hidden layer, and then the processing result is processed by the output layer, thereby realizing the risk assessment of the input device data, determining whether the input device data is risk data, and the risk type corresponding to the risk data.
[0093] The embodiment of the present application determines the edge gateway node type and edge gateway node location to be collected in the intelligent building based on the 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. Since the location of the edge gateway node and the device data collection method are determined based on the building node information, the device data stored by the edge node is obtained, which provides a data basis for the management and performance 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 of 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 the target smart device corresponding to the risk data includes:
[0095] Step S41, when there is risk data, determining a target edge gateway node and a target smart device corresponding to the risk data;
[0096] Step S42, isolating the target edge gateway node and the target smart device to obtain an isolated node area;
[0097] Step S43: performing 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 an 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 understandable that when the risk repair is completed, the management device can obtain the updated device data of the smart device after the risk repair based on the target edge gateway node, such as the replaced air conditioner model, the usage data after repair, etc. Based on the updated device data, the building node information can be updated, and then the smart building contract can be reconstructed, so that the smart building contract can be updated in real time according to the changes in the building in use.
[0105] In the embodiment of the present application, when risk data exists, the target edge gateway node and target smart device corresponding to the risk data are determined; the target edge gateway node and the target smart device are isolated to obtain an isolated node area; and risk repair is performed on the target smart device in the isolated node area. Since the target edge gateway node and the target smart device are isolated first, the impact of irrelevant data on the global system during the risk repair process is avoided.
[0106] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the smart building contract management method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0107] This application also provides a smart building contract management device, please refer to Figure 5 , the smart building contract management device comprises:
[0108] A node information acquisition module 10 is used to acquire 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, configured to acquire 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, configured to perform risk assessment on the device data using a preset risk model to determine whether there is risk data in the device data;
[0111] A risk device repair module 40 is used to perform risk repair on a target edge gateway node and a 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 by the present application adopts the smart building contract management method in the above embodiment, which can solve the technical problem of how to protect user privacy. Compared with the prior art, the beneficial effects of the smart building contract management device provided by the present application are the same as the beneficial effects of the smart building contract management method provided by the above embodiment, and the other technical features in the smart building contract management device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0114] The present application provides a smart 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 smart 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 the embodiment of the present application. The intelligent building contract management device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The smart building contract management device shown is merely an example and should not bring any limitation to 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 processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the smart building contract management device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the smart building contract management device to communicate with other devices wirelessly or by wire 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 the systems shown. More or fewer systems can be implemented or have alternatively.
[0117] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a 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 through 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 by the present application adopts the smart building contract management method in the above embodiment, which can solve the technical problem of how to protect user privacy. Compared with the prior art, the beneficial effects of the smart building contract management device provided by the present application are the same as the beneficial effects of the smart building contract management method provided by the above embodiment, and the other technical features in the smart building contract management device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0119] It should be understood that the various parts disclosed in this application can be implemented by 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 is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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 the present 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 of the above. 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 of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination 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 of the above.
[0123] The above-mentioned computer-readable storage medium may be included in the intelligent building contract management device; or it may exist independently without being assembled into the intelligent 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] Acquire device data generated by smart devices from edge gateway nodes of the smart building based on the building node information;
[0127] Performing 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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., via the Internet using an Internet service provider).
[0131] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0132] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0133] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned smart building contract management method, and can solve the technical problem of how to protect user privacy. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the smart building contract management method provided in the above-mentioned embodiment, and will not be repeated here.
[0134] The present application also provides a computer program product, including 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 by 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 by this application are the same as the beneficial effects of the smart building contract management method provided by the above embodiment, which will not be repeated here.
[0136] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications 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; Acquire device data generated by smart devices from edge gateway nodes of the smart building based on the building node information; Performing 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; 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.
2. The smart building contract management method according to claim 1, characterized in that: 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, characterized in that: 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 through the preset risk model to determine whether there is risk data 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; The processing result is subjected to risk assessment through the output layer to determine whether there is risk data in the device data.
4. The smart building contract management method according to claim 1, characterized in that: When risk data exists, the step 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.
5. The smart building contract management method according to claim 4, characterized in that: 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.
6. The smart building contract management method according to claim 1, characterized in that: The building node information at least includes: calling 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.
7. An intelligent building contract management device, characterized in that: The smart building contract management device comprises: A node information acquisition module, used to acquire a smart building contract based on the blockchain, and determine the building node information of the smart building based on the smart building contract; A device data acquisition module, used 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, used to perform risk assessment on the device data using a preset risk model to determine whether there is risk data in the device data; A risk device repair module, used to perform risk repair on a target edge gateway node and a target smart device corresponding to the risk data when risk data exists; 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.
8. An intelligent 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 as described in any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores a smart building contract management program, and when the smart building contract management program is executed by the processor, the steps of the smart building contract management method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the smart building contract management method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Building multiple-supply-chain coordination system based on blockchain and BIM model, and method thereof
CN108960594A
Intelligent management and control method for power distribution station building
CN111654103A
Building rights and interests management system and method based on block chain
CN111680968A
Information processing method and device based on block chain
CN112801317A
Intelligent building management method and system, storage medium and electronic equipment
CN113139884A
Cited By
Intelligent building maintenance method and equipment based on edge calculation and medium
CN119312220A
A smart building maintenance method, device and medium based on edge computing
CN119312220B
