Building equipment linkage method and system based on intelligent building controller
By parsing and executing linkage control commands through intelligent building controllers, the problems of network latency and low level of equipment intelligence in building equipment linkage are solved, achieving efficient equipment linkage and cost savings.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HITACHI BUILDING TECH GUANGZHOU CO LTD
- Filing Date
- 2023-05-12
- Publication Date
- 2026-06-19
AI Technical Summary
Existing building equipment linkage methods suffer from poor real-time linkage due to high network latency requirements and low equipment intelligence levels. This is especially true when deployed on public cloud platforms, where network latency issues are more severe. Furthermore, retrofitting smart devices into older buildings is costly.
By using intelligent building controllers to achieve device linkage, building devices only interact with interconnected intelligent building controllers, reducing network latency and improving linkage success rate. The intelligent building controllers parse linkage control commands and execute them automatically, reducing manual operation.
Reduce network latency, improve the success rate of linkage, save on the cost of building intelligent construction, reduce manual operation, and realize the automatic execution of equipment linkage.
Smart Images

Figure CN116819995B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of building control technology, specifically to a method and system for linking building equipment based on an intelligent building controller. Background Technology
[0002] Modern buildings typically deploy integrated building management systems (hereinafter referred to as building systems). To save on local deployment resources, an increasing number of building systems are being deployed on public cloud platforms for unified management of security, equipment, energy, and other data across multiple building locations. Device linkage has always been a key research topic within building systems. Currently, the main methods for achieving building device linkage are as follows:
[0003] Method 1: The building system sends a control command to device A, waits for a response from device A, and if successful, sends the control command to linked device B, waits for a response from device B, and if successful, sends the control command to linked device C. Before each control command is sent, for security reasons, the building system needs to obtain the current status of the linked device to determine if the control conditions are met. Therefore, the drawback of this linkage method is its complex implementation steps and high requirements for low network latency in the building system, especially for building systems deployed on public cloud platforms. This is because each linkage step, including obtaining the device's current status, sending control commands, and receiving control response information, requires network transmission. If frame drops or network latency occur during network transmission, the real-time performance of device linkage will be poor.
[0004] Method 2: Device linkage within a smart home system. Linked devices communicate with each other to achieve intelligent linkage. The smart home system sends control commands to device A. After device A completes the control, it notifies device B to link up. This method requires highly intelligent devices capable of command analysis and communication addressing. However, this method is difficult to implement in building equipment systems because these systems are typically provided by multiple manufacturers, resulting in inconsistent communication protocols and command standardization. The level of intelligent cooperation between devices cannot meet the requirements of this method, especially when retrofitting older buildings to implement smart building management, where the level of intelligence in building equipment is relatively low. Summary of the Invention
[0005] To overcome the shortcomings of the prior art, the purpose of this invention is to provide a building equipment linkage method and system based on an intelligent building controller. This system enables equipment linkage through the intelligent building controller, allowing building equipment to interact only with interconnected intelligent building controllers, thereby reducing network latency and improving linkage success rate.
[0006] To address the aforementioned problems, the first aspect of this invention discloses a building equipment linkage method based on an intelligent building controller, applied to a target intelligent building controller, comprising:
[0007] Receive linkage control instructions sent by the building system or the existing intelligent building controller, wherein the linkage control instructions are a set of control instruction fragments arranged in the order of linkage of building equipment;
[0008] Obtain the target control instruction fragment from the linkage control instruction, determine the target device information and target control instruction based on the target control instruction fragment, and send the target control instruction to the target building device;
[0009] Receive the execution result of the target building equipment, and modify the target identifier bit in the target control instruction segment according to the execution result;
[0010] The next control instruction segment is determined based on the linkage control instruction, and the linkage control instruction is sent to the corresponding intelligent building controller of the next control instruction segment.
[0011] A second aspect of this invention discloses a building equipment linkage system based on an intelligent building controller, comprising: a building system, an intelligent building controller, and building equipment; wherein, there are multiple intelligent building controllers, each intelligent building controller is connected to one or more building equipment, and the building system communicates with the intelligent building controller;
[0012] The building system receives the user's control request information and assembles linkage control instructions. The linkage control instructions are a set of control instruction fragments arranged in the order of linkage of the building equipment corresponding to the user's control request information.
[0013] The target intelligent building controller receives the linkage control command sent by the building system or the prior intelligent building controller, and obtains the target control command fragment in the linkage control command. Based on the target control command fragment, it determines the target device information and the target control command, and sends the target control command to the target building device.
[0014] The target intelligent building controller also receives the execution result of the target building equipment and modifies the target identifier bit in the target control instruction segment according to the execution result;
[0015] The target intelligent building controller also determines the next control instruction segment based on the linkage control instruction, and sends the linkage control instruction to the subsequent intelligent building controller corresponding to the next control instruction segment.
[0016] A third aspect of the present invention discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements the steps of the building equipment linkage method based on an intelligent building controller disclosed in the first aspect of the present invention.
[0017] A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to perform the steps of the building equipment linkage method based on an intelligent building controller disclosed in the first aspect of the present invention.
[0018] The fifth aspect of this invention discloses a computer program product that, when run on a computer, causes the computer to execute the steps of the building equipment linkage method based on an intelligent building controller disclosed in the first aspect of this invention.
[0019] The sixth aspect of this invention discloses an application publishing platform for publishing computer program products. When the computer program product is run on a computer, the computer executes the steps of the building equipment linkage method based on an intelligent building controller disclosed in the first aspect of this invention.
[0020] Compared with the prior art, the beneficial effects of the embodiments of the present invention are as follows:
[0021] This invention enables device linkage through an intelligent building controller. Building devices only interact with interconnected intelligent building controllers, reducing network latency and improving linkage success rate. It also reduces the need to install additional intelligent building devices, saving on building intelligence construction costs. Furthermore, the linkage of building devices is executed automatically, reducing manual operation and saving human resources. Attached Figure Description
[0022] Figure 1 This is a flowchart illustrating a building equipment linkage method based on an intelligent building controller, provided by an embodiment of the present invention.
[0023] Figure 2 This is a schematic diagram of the structure of a linkage control command provided in an embodiment of the present invention;
[0024] Figure 3 This is a flowchart illustrating another method for linking building equipment based on an intelligent building controller, provided by an embodiment of the present invention.
[0025] Figure 4 This is a schematic diagram of another linkage control command provided in an embodiment of the present invention;
[0026] Figure 5This is a schematic diagram of the structure of a building equipment linkage system based on an intelligent building controller, as disclosed in an embodiment of the present invention.
[0027] Figure 6 This is a schematic diagram of the workflow of an intelligent building controller disclosed in an embodiment of the present invention;
[0028] Figure 7 This is a schematic diagram of the structure of a building equipment linkage device based on an intelligent building controller, as disclosed in an embodiment of the present invention.
[0029] Figure 8 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. Detailed Implementation
[0030] This specific embodiment is merely an explanation of the embodiments of the present invention and is not intended to limit the embodiments of the present invention. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but as long as they are within the scope of the claims of the embodiments of the present invention, they are protected by patent law.
[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the embodiments of the present invention.
[0032] The term "comprising" and any variations thereof in the specification and claims of this application are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product or device.
[0033] In embodiments of the present invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0034] This invention discloses a building equipment linkage method based on an intelligent building controller. The executing entity is called the intelligent building controller, which is constructed through software and hardware. The hardware part is used to interact with the building system and building equipment, and the software part is used to parse linkage control instructions and execute the corresponding specific control instructions.
[0035] A building management system, also known as a building integrated management system, can be deployed in the cloud or on a server in a control center. Users can communicate with the building management system through apps, web pages, and mini-programs. Users can send corresponding control requests to the building management system, and the building management system can return control results to the user based on the control requests, thereby achieving the purpose of remote control.
[0036] The building system does not communicate directly with the building equipment. Therefore, the building equipment does not need to be intelligent, thus eliminating the need to install intelligent building equipment in the building and saving the cost of building intelligence construction. Especially in the process of renovating old buildings, only the corresponding intelligent building controller needs to be added to associate the building system and the building equipment.
[0037] In a preferred embodiment of the present invention, the building system pre-stores corresponding input information, thereby enabling the assembly of linkage control commands based on the control request information when a user issues a control request. The input information includes network information of the intelligent building controller, device information connected to each intelligent building controller, and control commands. Device information includes the building device name, building device type, and building device connection method. Control commands include each action command for each type of building device and the building device state conditions that must be met for each action command to execute.
[0038] The linkage control command includes network information of multiple intelligent building controllers. Based on this network information, the corresponding intelligent building controller can be identified. These intelligent building controllers are referred to as the linkage intelligent building controller set. It can be understood that the network information of each intelligent building controller is unique and definite.
[0039] In other embodiments, the corresponding intelligent building controller can also be determined based on other unique identifiers of the intelligent building controller. However, since in this embodiment of the invention, the building system only sends the linkage control command to the first intelligent building controller, and the subsequent linkage operation is the mutual communication between the intelligent building controllers corresponding to the linkage control command, using other unique identifiers of the intelligent building controller to determine the corresponding intelligent building controller requires each intelligent building controller to store the association relationship between the other unique identifier and the intelligent building controller, and further determine the communication path between the two intelligent building controllers.
[0040] The building system determines the first intelligent building controller based on the controller network information in the first control instruction segment of the linkage control command. This first intelligent building controller is recorded as the basic intelligent building controller, and the building equipment corresponding to the device information in the first control instruction segment is recorded as the control device. The building equipment corresponding to the device information in the remaining control instruction segments is recorded as the linkage device.
[0041] A set of linked intelligent building controllers may contain one or more duplicate intelligent building controllers. When multiple building devices of a certain intelligent building controller are linked for control, the controller network information of that intelligent building controller will appear multiple times in the control instruction fragment of the linkage control command.
[0042] It is understandable that when the front intelligent building controller sends a linkage control command to the rear intelligent building controller, if the front intelligent building controller and the rear intelligent building controller are the same intelligent building controller, the operation of sending the linkage control command can be omitted.
[0043] This invention enables device linkage through an intelligent building controller. Building devices only interact with interconnected intelligent building controllers, reducing network latency and improving linkage success rate. It also reduces the need for additional building intelligent devices, saving on building intelligence construction costs. Furthermore, the linkage of building devices is executed automatically, reducing manual operation and saving human resources. The following is a detailed description in conjunction with the accompanying drawings.
[0044] Example 1
[0045] Please see Figure 1 , Figure 1 This is a flowchart illustrating a building equipment linkage method based on an intelligent building controller, as disclosed in one embodiment of the present invention. Figure 1 As shown, the building equipment linkage method based on the intelligent building controller is applied to the target intelligent building controller, and it may include the following steps:
[0046] S110: Receive linkage control commands sent by the building system or the existing intelligent building controller.
[0047] The building system or the prior intelligent building controller determines the target intelligent building controller based on the target controller network information, which is set in the target control instruction segment of the linkage control instruction.
[0048] The linkage control command is a collection of control command fragments arranged in the order of building equipment linkage. Please refer to [reference needed]. Figure 2As shown, each control instruction segment includes controller network information, device information, control instruction, identifier bit, and allowed number of execution failures. In a preferred embodiment of the present invention, the control instruction segment 210 of the control device is placed at the beginning of the linkage control instruction, and the control instruction segments 221-22n of the linkage device are placed after the control instruction segment 210 of the control device, and are spliced together in the linkage order of these linkage devices.
[0049] Taking the structure of a target control instruction fragment (which can be control instruction fragment 210 of a control device or control instruction fragments 221-22n of any linked device) as an example, the target control instruction fragment includes target controller network information, target device information, target control instruction, target identifier, and allowed execution failure count. The target controller network information is used to determine the path through which the building system or existing intelligent building controller sends linkage control instructions to the target intelligent building controller. The controller network information for each control instruction fragment is determined and unique throughout the entire building system. The target device information corresponds to the controlled object of the target intelligent building controller and may include the target building device name, target building device type, and target building device connection method. The target control instruction is a command sent by the target intelligent building controller to the target building device, causing the target building device to execute the target control instruction. The control instruction includes each action command for each type of building device and the building device state conditions that must be met for each action command to execute. The allowed execution failure count can be a default value, such as 3 times, or it can be set by the user. The allowed execution failure count for each control instruction fragment can be the same or different.
[0050] In a preferred embodiment of the present invention, once a control instruction segment in the linkage control command is executed, regardless of whether the execution result is successful or not, the control instruction segment is moved to the end of the linkage control command. Therefore, when the building system or the existing intelligent building controller sends a linkage control command to the target intelligent building controller, it only needs to use the controller network information obtained from the control instruction segment at the beginning as the target controller network information and send the linkage control command to the target intelligent building controller corresponding to the target controller network information.
[0051] Of course, in other embodiments, the building system or the existing intelligent building controller may sequentially traverse the flag bits in the linkage control instructions, take the first control instruction fragment with the flag not executed as the target control instruction fragment, and send the linkage control instruction to the intelligent building controller corresponding to the target control instruction fragment.
[0052] Understandably, when the target building equipment is a control device, the building system sends a linkage control command to the target intelligent building controller; when the target building equipment is a linkage device, the prior intelligent building controller sends a linkage control command to the target intelligent building controller.
[0053] Before the building system sends the linkage control command to the target intelligent building controller (in the case where there is no target control command segment already executed), it can also determine whether the target control command segment has been executed based on the target identifier bit. If it has not been executed, the linkage control command is sent to the target intelligent building controller. If it has been executed, since all executed control command segments will move to the end of the linkage control command, it means that all control command segments have been executed. Then the linkage control command is sent to the building system, and the linkage operation ends.
[0054] S120. Obtain the target control instruction fragment in the linkage control instruction, determine the target equipment information and target control instruction based on the target control instruction fragment, and send the target control instruction to the target building equipment.
[0055] After receiving the linkage control command, the target intelligent building controller parses the command and extracts the target control command fragment, which is the control command fragment at the very beginning. Alternatively, in other embodiments, if the control command fragment has not been moved, all control command fragments corresponding to the target intelligent building controller can be filtered out, and the control command fragment at the very beginning with the flag indicating it has not been executed can be selected as the target control command fragment.
[0056] The target device information and target control instructions are obtained from the target control instruction fragment. Then, the status information of the target building equipment is queried based on the target device information. It is known that there are building equipment status conditions that must be met for the execution of each action command in the target control instructions. Then, it is determined whether the queried status information meets the status conditions of the stored target control instructions. If it does, the target intelligent building controller sends the target control instructions, so that the target building equipment executes according to the target control instructions.
[0057] If the status information does not meet the status conditions, the execution is deemed to have failed. Therefore, there are two scenarios for execution failure: the first is that the execution result when the target building equipment executes the target control command fails, and the second is that the execution is directly deemed to have failed.
[0058] In other embodiments, when the state information does not meet the state conditions, the target building equipment can also adjust the state information of the target building equipment to make the adjusted state information meet the state conditions, and then send the target control command. Of course, if the state information of the target building equipment cannot be adjusted, it can also be determined as an execution failure.
[0059] S130. Receive the execution result of the target building equipment, and modify the target identifier bit in the target control instruction segment according to the execution result.
[0060] When the target building equipment returns a successful execution result, the target flag in the target control instruction segment is modified to a success flag.
[0061] In the event of execution failure, a flag can be set based on the allowed number of execution failures. In actual operation, after each execution failure, the allowed number of execution failures is decremented by 1 and the process of sending the target control command to the target building equipment is re-executed. If the allowed number of execution failures becomes zero and the execution still fails, the flag is modified to a failure flag.
[0062] Therefore, in this embodiment of the invention, there are three types of flags: the first is the non-execution flag, the second is the success flag, and the third is the failure flag. The specific flag representation can be set as needed. For example, it can be set that when the flag is 0, it represents non-execution; when the flag is 1, it represents success; and when the flag is 2, it represents failure.
[0063] In some embodiments, if the flag bit of the control instruction segment corresponding to the control device is a failure flag, the corresponding basic intelligent building controller will no longer send linkage control commands to the intelligent building controllers of subsequent linked devices. Instead, the basic intelligent building controller will directly send the linkage control commands to the building system, and the linkage control operation will be completed. However, if the flag bit of the control instruction segment corresponding to the linked device is a failure flag, it will not affect its intelligent building controller from sending linkage control commands to the intelligent building controllers of other linked devices.
[0064] In other embodiments, whether or not a control device or a linkage device needs to send a linkage control command to the subsequent intelligent building controller when the identifier bit of its corresponding control command segment is a failure flag can also be set by the user. For example, the user can set the association between the control device and the linkage device. When the identifier bit of the control command segment of the preceding control device or linkage device is a failure flag, the control command segments of the subsequent linkage device with the associated relationship can be set not to execute the linkage control operation, that is, to directly skip these control command segments (moving these control command segments directly to the back end of the linkage control command).
[0065] S140. Determine the next control instruction segment based on the linkage control instruction, and send the linkage control instruction to the corresponding intelligent building controller of the next control instruction segment.
[0066] After the flag bit of the target control command segment changes (the flag that was never executed changes to a success flag or a failure flag), the target intelligent building controller moves the target control command segment to the back end of the linkage control command.
[0067] Then, the target intelligent building controller determines whether the next control instruction segment has been executed from the identifier information of the current control instruction segment (i.e., the next control instruction segment). If the next control instruction segment has been executed, it means that all control instruction segments have been executed. The target intelligent building controller then sends a linkage control instruction to the building system (for distinction, the linkage control instruction returned to the building system can be recorded as the linkage control result). The linkage control ends, and the building system parses the identifier bits of the linkage control result and sends the execution status of the control device and linkage device to the user.
[0068] If the flag of the next control instruction segment is not executed, the target intelligent building controller determines the subsequent intelligent building controller, i.e. the intelligent building controller that executes the next control instruction segment, from the control network information of the current control instruction segment. This causes the subsequent intelligent building controller to control the building equipment corresponding to the equipment information in the next control instruction segment according to the control instructions in the next control instruction segment, following a similar process as described above.
[0069] Example 2
[0070] Please see Figure 3 , Figure 3 This is a flowchart illustrating another method for linking building equipment based on an intelligent building controller, disclosed in one embodiment of the present invention. Figure 3 As shown, this building equipment linkage method based on intelligent building controllers is applied to the target intelligent building controller. If there are multiple target intelligent building controllers and subsequent intelligent building controllers, it may include the following steps:
[0071] S310 receives linkage control commands sent by the building system or the existing intelligent building controller.
[0072] When there are multiple target intelligent building controllers, that is, multiple control devices or linkage devices need to be controlled simultaneously to execute according to preset control instructions, there is no linkage control sequence for these control devices or linkage devices. Therefore, in a preferred embodiment of the present invention, the control instruction segments corresponding to these control devices or linkage devices are recorded as parallel control instruction segments. Each control instruction segment can be considered as an array, and the parallel control instruction segments can be represented in matrix form when sorting.
[0073] like Figure 4As shown, assuming the control instruction fragment 410 of the control device is a single control instruction fragment, it is placed at the beginning of the linkage control instruction. Assuming the first linkage device is controlled by multiple linkage devices simultaneously, the parallel control instruction fragments 421 constructed by it form a matrix and are placed after the control instruction fragment 410 of the control device. The other linkage devices are arranged in the form of arrays or matrices and then concatenated in sequence. For example, the control instruction fragment 42n of the last linkage device is placed at the end of the linkage control instruction.
[0074] When the building system or the prior intelligent building controller simultaneously sends linkage control commands to these target intelligent building controllers, if the flag bits of some target control command segments are not not executed, then only the linkage control commands need to be sent to the other target intelligent building controllers whose flag bits are not executed. If the flag bits of these target control command segments are not not executed, it means that all control command segments have been executed. At this time, the prior intelligent building controller returns the linkage control command (i.e., the linkage control result) to the building system.
[0075] In a preferred embodiment of the present invention, when the building system or the prior intelligent building controller sends the linkage control command to these target intelligent building controllers, it also sends a parallel linkage identifier, that is, informing these target intelligent building controllers which controller network information is involved in the parallel linkage, so that these target intelligent building controllers can elect a master target intelligent building controller through an election mechanism to determine whether all of these target control command segments have been executed, and to send control commands to the subsequent intelligent building controllers.
[0076] S320: Each target intelligent building controller obtains the corresponding target control instruction fragment in the linkage control instruction, and determines the target device information and target control instruction based on the target control instruction fragment, and sends the corresponding target control instruction to its respective target building device.
[0077] S330 and each target intelligent building controller receive the execution results of the corresponding target building equipment and modify the target identifier bit in the corresponding target control instruction segment according to the corresponding execution results.
[0078] The operation process of steps S320-S330 is similar to that of steps S120-S130 in Embodiment 1, and will not be repeated here.
[0079] S340: Each target intelligent building controller sends the target identifier information from its corresponding target control instruction segment to the main target intelligent building controller.
[0080] When the main target intelligent building controller receives the target identifier information sent by all other target intelligent building controllers except itself, it moves the parallel control instruction segment to the back end of the linkage control instruction and then executes the operation of step S350.
[0081] S350: The main target intelligent building controller determines the next control instruction segment based on the linkage control instruction, and sends the linkage control instruction to the subsequent intelligent building controller corresponding to the next control instruction segment.
[0082] The operation process of step S350 is similar to that of step S140 in Embodiment 1. When there are multiple subsequent intelligent building controllers, the operation process is similar to that of step S310, that is, the main target intelligent building controller determines the next parallel control instruction segment according to the linkage control instruction and sends the linkage control instruction to all subsequent intelligent building controllers corresponding to the next parallel control instruction segment.
[0083] Example 3
[0084] Please see Figure 5 , Figure 5 This is a schematic diagram of a building equipment linkage system based on an intelligent building controller, as disclosed in an embodiment of the present invention. Figure 5 As shown, the building equipment linkage system based on the intelligent building controller includes: a building system 510, an intelligent building controller 520, and building equipment 530; wherein, there are multiple intelligent building controllers, and each intelligent building controller can connect to one or more building equipment. The connection methods include, but are not limited to, TCP / IP, MODBUS, and Wiegand. There are many types of building equipment, which may include, for example, air conditioners, elevators, turnstiles, lighting equipment, video surveillance equipment, etc.
[0085] Each intelligent building controller in the same building is assigned a fixed IP address and connects to the same local area network 540 (of course, multiple intelligent building controllers in the same building can also connect to multiple local area networks, or intelligent building controllers in multiple buildings can connect to the same local area network). Finally, it connects to the Internet 560 through a switch 550 to communicate with the building system 510 deployed on a public cloud platform. Of course, in other embodiments, it can also communicate with the building system deployed locally through wired or wireless means.
[0086] Building systems may include the following modules:
[0087] 1. Device Information Input Module: This module is used to pre-enter the building's intelligent building controller information into the building system, including controller number, controller network information, etc. It also enters the device information connected to each building controller, including device name, device type, device connection method, etc., and simultaneously enters control commands, including each action command for each device type and the device status conditions that must be met to execute the corresponding action command.
[0088] 2. Linkage Control Command Assembly Module: When a user needs to control a specific device in the building or needs to link devices with that device, the module assembles the linkage control command. The assembled linkage control command is as follows: Figure 2 As shown in the example, the method for assembling linkage control commands is as follows:
[0089] The building system obtains the information of the device to be controlled, the network information of the connected intelligent building controller, and the control instructions corresponding to the actions to be performed by the device type. It adds an identifier and the number of allowed execution failures to form a device control instruction fragment, where the number of allowed execution failures can be set by the user.
[0090] The system acquires information about the devices requiring linkage, the network information of the connected smart building controllers, and the control commands corresponding to the actions to be performed by the linked devices. One or more devices can be linked, and these devices can be devices within the same building's local area network or building devices in other buildings across multiple network points where the user has permissions. (The linkage control command assembly module will check the user's permissions; if the user's control request information includes building devices for which they do not have control permissions, the linkage control command assembly will not be performed, and feedback information will be sent directly to the user.) A flag and an allowed number of failures are added to assemble a linkage device control command fragment, where the allowed number of failures can be set by the user.
[0091] The above-mentioned equipment control instruction fragments are combined with multiple linkage equipment control instruction fragments to form a linkage control instruction.
[0092] The format of the linkage control command is as follows: the control command fragment of the control device is placed at the beginning, and then other control command fragments are arranged according to the linkage order of the linkage devices. Each control command fragment includes the network information of the connected controller, device information, control command, identification bits, and the number of allowed execution failures.
[0093] The flag has three states: not executed, success, and failure. It is used to indicate the execution result of the control instruction segment. The initial value of the flag is not executed.
[0094] 3. Linkage Control Command Issuance Module: The building system issues linkage control commands to the intelligent building controller connected to the control equipment via the Internet.
[0095] 4. Parsing the linkage control return result module: The building system receives the linkage control command returned by the intelligent building controller, then parses each control command fragment, determines the linkage result of each building device according to the identifier bit, and returns the linkage result to the user.
[0096] Please refer to Figure 6 As shown, the intelligent building controller receives the linkage control command and begins to execute it. The process is as follows:
[0097] The system parses the control command fragments at the front end to extract device information and control commands, communicates with the device to obtain its current status, and determines whether the status conditions in the control commands are met. If met, the system controls the device to execute the action command and receives the return result from the device. If not met, the system sets the flag to failure and the intelligent building controller returns a linkage control command to the building system.
[0098] If the device returns a successful result, the flag is set to success, and this control instruction segment is moved to the end of the linkage control instruction (Note: the executed one has been moved to the end, so the next control instruction segment will automatically move to the beginning).
[0099] Then, the control instruction fragment at the very beginning is analyzed. If the flag of the control instruction fragment is not executed, the current intelligent building controller sends the linkage control instruction to the next intelligent building controller according to the controller network information in the control instruction fragment.
[0100] If the flag of the control command segment is successful, it means that the entire linkage control has been completed, and the current intelligent building controller sends a linkage control command to the building system;
[0101] If the device fails to execute, it checks if the allowed number of failures is zero. If it is zero, it sets the flag to failure and the current intelligent building controller returns the linkage control command to the building system, no longer executing incomplete linkages. If it is not zero, it resets the allowed number of failures by 1, and the intelligent building controller repeats the control command to the device to execute the action command.
[0102] Example 4
[0103] Please see Figure 7 , Figure 7 This is a schematic diagram of a building equipment linkage device based on an intelligent building controller, as disclosed in an embodiment of the present invention. Figure 7 As shown, the building equipment linkage device based on the intelligent building controller is applied in the target intelligent building controller, and it may include:
[0104] The receiving unit 610 is used to receive linkage control instructions sent by the building system or the existing intelligent building controller. The linkage control instructions are a set of control instruction segments arranged in the order of linkage of building equipment.
[0105] The sending unit 620 is used to acquire the target control instruction fragment in the linkage control instruction, determine the target equipment information and the target control instruction based on the target control instruction fragment, and send the target control instruction to the target building equipment.
[0106] Modification unit 630 is used to receive the execution result of the target building equipment and modify the target identifier bit in the target control instruction segment according to the execution result;
[0107] The determining unit 650 is used to determine the next control instruction segment according to the linkage control instruction, and send the linkage control instruction to the corresponding intelligent building controller of the next control instruction segment.
[0108] In a preferred embodiment, the linkage control commands sent by the existing intelligent building controller may include:
[0109] The target intelligent building controller is determined by the prior intelligent building controller based on the target controller network information, which is set in the target control instruction segment of the linkage control instruction;
[0110] The pre-defined intelligent building controller determines whether the target control instruction segment is executed based on the target identifier bit in the target control instruction segment;
[0111] If not executed, the prior intelligent building controller sends the linkage control command to the target intelligent building controller.
[0112] In a preferred embodiment, the transmitting unit 620 may include:
[0113] The acquisition subunit is used to acquire the status information of the target building equipment and determine whether the status information meets the status conditions of the target control command.
[0114] The first judgment subunit is configured to send the target control command to the target building equipment to cause the target building equipment to execute the target control command if the status information satisfies the status condition.
[0115] The second judgment subunit is used to determine that the execution has failed if the status information does not meet the status conditions.
[0116] In a preferred embodiment, the modification unit 630 may include:
[0117] The first modification subunit is used to modify the target identifier to a success identifier if the execution result is successful.
[0118] The second modification subunit is used to modify the target flag to a failure flag if the execution result is an execution failure and the number of execution failures reaches the preset number in the target control instruction segment.
[0119] In a preferred embodiment, after modifying unit 630, it may further include:
[0120] The moving unit 640 is used to move the target control command fragment to the end of the linkage control command.
[0121] In a preferred embodiment, the determining unit 640 may include:
[0122] The first determining subunit is used to determine the next control instruction segment based on the linkage control instruction;
[0123] The second determining subunit is used to determine whether the next control instruction segment is executed based on the target identifier bit in the next control instruction segment.
[0124] The third judgment subunit is used to determine the next intelligent building controller based on the controller network information of the next control instruction segment if the next control instruction segment is not executed, and to send the linkage control instruction to the next intelligent building controller.
[0125] The fourth judgment subunit is used to send the linkage control command to the building system and terminate sending the linkage control command to the intelligent building controller if the next control command segment has been executed.
[0126] Example 5
[0127] Please see Figure 8 , Figure 8 A schematic diagram of an electronic device that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the embodiments of the invention described herein or claimed.
[0128] like Figure 8As shown, the electronic device includes at least one processor 710 and a memory, such as a ROM (Read-Only Memory) 720 or a RAM (Random Access Memory) 730, communicatively connected to the at least one processor 710. The memory stores computer programs executable by the at least one processor. The processor 710 can perform various appropriate actions and processes based on the computer program stored in the ROM 720 or loaded into the RAM 730 from storage unit 780. The RAM 730 can also store various programs and data required for the operation of the electronic device. The processor 710, ROM 720, and RAM 730 are interconnected via a bus 740. An I / O (Input / Output) interface 750 is also connected to the bus 740.
[0129] Multiple components in the electronic device are connected to the I / O interface 750, including: an input unit 760, such as a keyboard, mouse, etc.; an output unit 770, such as various types of displays, speakers, etc.; a storage unit 780, such as a disk, optical disk, etc.; and a communication unit 790, such as a network card, modem, wireless transceiver, etc. The communication unit 790 allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0130] Processor 710 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 710 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 710 performs one or more steps of the building equipment linkage method based on an intelligent building controller described in Embodiments 1 and 2 above.
[0131] In some embodiments, a building equipment linkage method based on an intelligent building controller can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 780. In some embodiments, part or all of the computer program can be loaded into or / and installed on an electronic device via ROM 720 and / or communication unit 790. When the computer program is loaded into RAM 730 and executed by processor 710, one or more steps of the building equipment linkage method based on an intelligent building controller described in Embodiments 1 and 2 above can be performed. Alternatively, in other embodiments, processor 710 can be configured to perform a building equipment linkage method based on an intelligent building controller by any other suitable means (e.g., by means of firmware).
[0132] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0133] Computer programs for implementing the methods of embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0134] In the context of embodiments of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0136] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0137] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0138] The above provides a detailed description of a building equipment linkage method and system based on an intelligent building controller disclosed in this invention. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.
Claims
1. A method for linking building equipment based on an intelligent building controller, characterized in that, Applied in target intelligent building controllers, it includes: Receive linkage control instructions sent by the building system or the existing intelligent building controller, wherein the linkage control instructions are a set of control instruction fragments arranged in the order of linkage of building equipment; Obtain the target control instruction fragment from the linkage control instruction, determine the target device information and target control instruction based on the target control instruction fragment, and send the target control instruction to the target building device; Receive the execution result of the target building equipment, modify the target identifier bit in the target control instruction segment according to the execution result, and move the target control instruction segment to the end of the linkage control instruction; The next control instruction segment is determined based on the linkage control instruction, and the linkage control instruction is sent to the corresponding intelligent building controller of the next control instruction segment. 2.The smart building controller based building equipment linkage method according to claim 1, wherein, The pre-existing intelligent building controller sends linkage control commands, including: The target intelligent building controller is determined by the prior intelligent building controller based on the target controller network information, which is set in the target control instruction segment of the linkage control instruction; The pre-defined intelligent building controller determines whether the target control instruction segment is executed based on the target identifier bit in the target control instruction segment; If not executed, the prior intelligent building controller sends a linkage control command to the target intelligent building controller. 3.The smart building controller based building equipment linkage method according to claim 1, wherein, Sending the target control command to the target building equipment includes: Obtain the status information of the target building equipment and determine whether the status information meets the status conditions of the target control command; If the status information satisfies the status condition, then the target control command is sent to the target building equipment to cause the target building equipment to execute the target control command; If the status information does not meet the status conditions, the execution is deemed to have failed. 4.The smart building controller based building equipment linkage method according to claim 3, wherein, Receiving the execution result of the target building equipment and modifying the target identifier bit in the target control instruction fragment according to the execution result, including: If the execution result is successful, then the target flag is modified to a success flag; If the execution result is an execution failure and the number of execution failures reaches the preset number in the target control instruction segment, then the target flag bit is modified to a failure flag.
5. The building equipment linkage method based on an intelligent building controller according to any one of claims 1-4, characterized in that, Based on the linkage control command, determine the next control command segment, and send the linkage control command to the corresponding intelligent building controller of the next control command segment, including: The next control instruction segment is determined based on the aforementioned linkage control instruction; Determine whether the next control instruction segment is executed based on the target identifier bit in the next control instruction segment; If the next control instruction segment is not executed, the next intelligent building controller is determined based on the controller network information of the next control instruction segment, and the linkage control instruction is sent to the next intelligent building controller. If the next control command segment has been executed, the linkage control command is sent to the building system and the sending of the linkage control command to the intelligent building controller is terminated.
6. An electronic device, comprising: It includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements the steps of the building equipment linkage method based on an intelligent building controller as described in any one of claims 1-5.
7. A computer readable storage medium characterized in that, It stores a computer program, wherein the computer program causes a computer to perform the steps of the building equipment linkage method based on an intelligent building controller as described in any one of claims 1-5.
8. A building equipment linkage system based on an intelligent building controller, characterized by, It includes: The building system includes a building controller, an intelligent building controller, and building equipment; wherein there are multiple intelligent building controllers, each intelligent building controller is connected to one or more building equipment, and the building system communicates with the intelligent building controller; The building system receives the user's control request information and assembles linkage control instructions. The linkage control instructions are a set of control instruction fragments arranged in the order of linkage of the building equipment corresponding to the user's control request information. The target intelligent building controller receives the linkage control command sent by the building system or the prior intelligent building controller, and obtains the target control command fragment in the linkage control command. Based on the target control command fragment, it determines the target device information and the target control command, and sends the target control command to the target building device. The target intelligent building controller also receives the execution result of the target building equipment, and modifies the target identifier bit in the target control instruction segment according to the execution result, and moves the target control instruction segment to the end of the linkage control instruction; The target intelligent building controller also determines the next control instruction segment based on the linkage control instruction, and sends the linkage control instruction to the subsequent intelligent building controller corresponding to the next control instruction segment.
9. The intelligent building controller based building equipment cascading system according to claim 8, wherein, The building system receives user control request information and assembles linkage control commands, including: The building system extracts all the building devices to be controlled from the user control request information and determines whether the user has control authority over the building devices to be controlled. If the user has control authority over the building equipment to be controlled, the building system assembles the linkage control command based on the pre-stored input information.