Building intelligent control system and control method thereof

By introducing M groups of containers into the building intelligent control system, each group containing primary and backup containers, separate control of equipment and isolation of container groups are achieved, solving the problem of poor availability of the existing system in the event of failure and improving the system's high availability and fault tolerance.

CN120821236BActive Publication Date: 2026-01-20GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511345888.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2026-01-20
Estimated Expiration
2045-09-19

AI Technical Summary

Technical Problem

Existing building intelligent control system architectures typically adopt centralized or standalone designs, resulting in poor availability when equipment fails or the system malfunctions, making it difficult to meet the high availability and real-time requirements of modern intelligent buildings.

Method used

The system adopts a digital infrastructure architecture, which includes M groups of containers. Each group of containers contains a primary container and a backup container. The primary container connects to the device and performs control tasks. The backup container switches over to run when the primary container fails. The system utilizes a resource management unit and a container management unit to achieve seamless switching of device connections and data transfer, ensuring high availability of the system.

Benefits of technology

This achieves separate control of equipment and isolation between container groups, ensuring that the system can still operate normally when the main container fails, thus improving the availability and fault tolerance of the building intelligent control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120821236B_ABST
    Figure CN120821236B_ABST
Patent Text Reader

Abstract

The application relates to a building intelligent control system and a control method thereof; wherein, based on the building intelligent control system, after one or more devices establish connections with corresponding master containers based on a first protocol, the master containers are used for performing preset logical control tasks based on built-in virtual controllers to control the one or more devices; a resource management unit is used for storing intermediate data generated in a task execution process in a temporary file in a shared path; in the case that the master container fails, a container management unit is used for switching the connection of the one or more devices to a corresponding backup container, and controlling the backup container to read the intermediate data from the temporary file, so that the logical running state of the backup container is the logical running state of the master container when the failure occurs. Through the application, the problem that the building intelligent control system architecture usually adopts centralized or monolithic design in the prior art, leading to poor availability of the building intelligent control system when the building intelligent control system is abnormal, is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of building intelligent control, and in particular to a building intelligent control system and a control method thereof. BACKGROUND

[0002] In the field of modern intelligent buildings, a building intelligent control system is a core technology for realizing automatic control of building equipment, energy management, and security assurance. However, the existing building intelligent control system architecture adopts a centralized or monolithic design, which has problems such as insufficient system availability, limited fault tolerance capability, and security risks. For example, when a device fails or the system is abnormal, the existing system often needs manual intervention or restart, resulting in a long service interruption time and being difficult to meet the requirements of modern intelligent buildings for high availability and real-time performance.

[0003] In view of the above technical problems in the prior art, there is currently no effective solution. SUMMARY

[0004] The present application provides a building intelligent control system and a control method thereof to solve the problem that the building intelligent control system architecture in the prior art usually adopts a centralized or monolithic design, resulting in poor availability when the building intelligent control system is abnormal.

[0005] In a first aspect, the present application provides a building intelligent control system, characterized in that the building intelligent control system comprises a digital base, the digital base comprising a container management unit, a resource management unit, and M groups of containers, wherein each group of containers in the M groups of containers comprises one master container and one standby container, the master container and the standby container have the same configuration; each group of containers in the M groups of containers is associated with one or more devices to be controlled, and the devices associated with each group of containers are different; M is a positive integer; after the one or more devices establish a connection with the corresponding master container based on a first protocol, the master container is configured to perform a preset logical control task based on a built-in virtual controller to control the one or more devices; the resource management unit is configured to store intermediate data generated in the task execution process in a temporary file in a shared path; in the case of failure of the master container, the container management unit is configured to switch the connection of the one or more devices to the corresponding standby container and control the standby container to read the intermediate data from the temporary file, so that the logical running state of the standby container is the logical running state of the master container when the failure occurs.

[0006] Optionally, the building intelligent control system further comprises N groups of container groups; in the case that the master container and the backup container in one of the M groups of containers both fail, the resource management unit is further configured to select an idle container group from the N groups of container groups to replace the failed container group in the M groups of containers, and establish a connection between the selected container group in the N groups of container groups and one or more devices associated with the failed container group in the M groups of containers; N is a positive integer, and the value of N is less than or equal to M.

[0007] Optionally, the resource management unit is further configured to switch the one or more devices associated with the selected container group in the N groups of container groups to establish a connection with the recovered container group in the case that the failed container group in the M groups of containers recovers.

[0008] Optionally, the building intelligent control system further comprises a data gateway; in the case that a device accessing the building intelligent control system does not support the first protocol, the data gateway performs data splitting on data transmitted by the device that does not support the first protocol, converts the protocol supported by the split data into the first protocol, and transmits the data split data based on the first protocol to the corresponding master container.

[0009] Optionally, the building intelligent control system further comprises a message scheduling bus; the message scheduling bus is configured to receive data transmitted by the data gateway and / or directly receive data transmitted by a device, wherein the message scheduling bus supports data transmission based on the first protocol, and the device supports data transmission based on the first protocol.

[0010] Optionally, the first protocol is a Can4Net protocol, and the data structure of the data transmitted based on the first protocol comprises a unique identifier of a protocol component, a unique identifier of a device, a unique identifier of a device point, attribute information of a point, and a point value.

[0011] Optionally, the building intelligent control system further comprises a data storage module; the data storage module is configured to store real-time data and historical data, wherein the real-time data represents the change of data within a preset time period before the current time, and the historical data represents the original value of the data.

[0012] Optionally, the building intelligent control system further comprises a data exposure module; the data exposure module is configured to expose the data stored in the data storage module to other platforms in the form of a second protocol, wherein the second protocol comprises the first protocol and other protocols in addition to the first protocol.

[0013] Optionally, the building intelligent control system further comprises a visualization device; the visualization device is configured to display the running state of the M groups of containers and the running state of the devices associated with the M groups of containers, and to perform running control on the devices associated with the M groups of containers.

[0014] In a second aspect, the application provides a control method, comprising: after the one or more devices establish a connection with a corresponding master container based on a first protocol, the master container performs a preset logical control task based on a built-in virtual controller to control the one or more devices; the resource management unit stores intermediate data generated in the task execution process in a temporary file in a shared path; in the case of failure of the master container, the container management unit switches the connection of the one or more devices to a corresponding backup container, and controls the backup container to read the intermediate data from the temporary file, so that the logical running state of the backup container is the logical running state of the master container at the time of failure.

[0015] The above technical solution provided by the embodiments of the application has the following advantages compared with the prior art: in the embodiments of the application, the building intelligent control system comprises M groups of containers, each group of containers is associated with one or more devices, and the devices associated with each group of containers are different, realizing separated control of the devices, and the container groups are isolated from each other, that is, failure of one container group will not affect the running control of other container groups. In addition, even if the master container in the current container that performs the running control task fails, the backup container in the same container group can be switched to perform running control of the devices, ensuring the normal operation of the entire system and improving the availability of the building intelligent control system. BRIEF DESCRIPTION OF DRAWINGS

[0016] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, brief introductions to the drawings needed to be used in the embodiments or prior art descriptions are given below. Obviously, for those skilled in the field, other drawings can also be obtained from these drawings without creative labor.

[0018] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings, and these exemplary illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, unless otherwise specified. The drawings in the drawings do not constitute a proportional limitation.

[0019] Figure 1A structural schematic diagram of a building intelligent control system provided in an embodiment of the present application is shown in the figure;

[0020] Figure 2 An optional structural schematic diagram of a building intelligent control system provided in an embodiment of the present application is shown in the figure;

[0021] Figure 3 A structural schematic diagram of a container-based building intelligent control system provided in the specific embodiment of the present application is shown in the figure;

[0022] Figure 4 A container switching schematic diagram in the container-based building intelligent control system provided in the specific embodiment of the present application is shown in the figure;

[0023] Figure 5 An identification logic schematic diagram of a virtual controller in the container-based building intelligent control system provided in the specific embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will be combined with the accompanying drawings in the embodiments of the present application to make a clear and complete description of the technical solutions in the embodiments of the present application. Obviously, the described embodiments are a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0025] The following disclosure provides many different embodiments or examples for implementing different structures of the present application. In order to simplify the disclosure of the present application, the components and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, reference numerals and / or letters can be repeated in different examples. Such repetition is for the purpose of simplification and clarity, and does not itself indicate a relationship between the various embodiments and / or settings being discussed.

[0026] In order to solve the problem that the building intelligent control system architecture in the prior art usually adopts centralized or monolithic design, resulting in poor availability when the building intelligent control system is abnormal, the present application provides a building intelligent control system, as shown in the figure, Figure 1 The building intelligent control system in the embodiment of the present application includes a digital base, and the digital base includes a container management unit, a resource management unit, and M groups of containers. Each group of containers in the M groups of containers includes a master container and a standby container, and the master container and the standby container have the same configuration. Each group of containers in the M groups of containers is associated with one or more devices to be controlled, and the devices associated with each group of containers are different. The value of M is a positive integer.

[0027] To this end, in the embodiment of the present application, the device can be various types of devices, such as heating, ventilation, fire protection, lighting, etc. In addition, one or more devices associated with each group of containers in the M groups of containers can be type-divided devices, such as a group of containers associated with heating devices, a group of containers associated with fire protection devices, and another group of containers associated with lighting devices. In addition, it can also be region-divided, such as a group of containers corresponding to all devices on a floor, such as M being 5, then 5 groups of container devices correspond to 5 floors, and the devices in each floor are controlled by a group of containers. In addition, the groups of containers in the embodiment of the present application are mutually isolated, and the failure of one container will not affect the operation control of other containers.

[0028] After the one or more devices establish a connection with the corresponding master container based on the first protocol, the master container is configured to perform a preset logical control task based on the built-in virtual controller to control the one or more devices.

[0029] In the embodiment of the present application, the first protocol can be Can4Net protocol, and the data structure of the data transmitted based on the first protocol includes the unique identifier of the protocol component, the unique identifier of the device, the unique identifier of the device point, the attribute information of the point, and the point value. To this end, in a specific example, the protocol component of the Can4Net protocol can include the following specific content: 0000-2222-3333-4444-5555-6666-7777-8888; such as accessing a centrifuge device. To this end, the unique identifier of the device transmitting the data is a 32-bit identifier (1111-2222-3333-4444-5555-6666-7777-8888), which represents the centrifuge. The unique identifier of the device point transmitting the data includes a lot of point information in the centrifuge, such as power on / off, running mode, compressor frequency, etc., and each point also has its own unique identifier, such as power on / off (AAAA-2222-3333-4444-5555-6666-7777-8888). The attribute corresponding to the point transmitting the data: this can be a free definition part in the protocol, such as Chinese identification power on / off, English identification onoff. The point value corresponding to the data transmitted: includes the real value of the point, power on is 1 and power off is 0.

[0030] The virtual controller in the embodiment of the present application has the same function as the application program of the physical controller, and in the embodiment of the present application, the virtual controller runs in the container and communicates with the electromechanical device through Ethernet to realize the functions of device monitoring and logical control.

[0031] The resource management unit is configured to store intermediate data generated in the task execution process in a temporary file in a shared path. In this embodiment, the temporary file is configured to store running data, state data, and the like, so that if the main container fails, the data in the temporary file can be read by the backup container to realize seamless container switching and ensure normal operation of the device control.

[0032] Therefore, in the case of failure of the main container, the container management unit is configured to switch the connection of one or more devices to the corresponding backup container and control the backup container to read the intermediate data from the temporary file, so that the logical running state of the backup container is the logical running state of the main container when the failure occurs.

[0033] As can be seen, in this embodiment, the building intelligent control system includes M groups of containers, each group of containers is associated with one or more devices, and the devices associated with each group of containers are different, realizing separate control of the devices, and the container groups are isolated from each other, that is, failure of one container group will not affect the operation control of other container groups. In addition, even if the main container that executes the running control task in the current container fails, it can be switched to the backup container in the same group to control the running of the device, ensuring the normal operation of the entire system and improving the availability of the building intelligent control system.

[0034] In this embodiment, the building intelligent control system can also include N groups of container groups; the N groups of container groups refer to N groups of container groups other than the M groups of containers. Based on this, in the case where the main container and the backup container in one of the M groups of containers fail, the resource management unit is further configured to select an idle container group from the N groups of container groups to replace the failed container group in the M groups of containers, and establish a connection between the selected container group in the N groups of containers and one or more devices associated with the failed container group in the M groups of containers; N is a positive integer, and the value of N is less than or equal to M.

[0035] In this embodiment, for example, the value of M is 6 and the value of N is 3. For example, three of the six groups of containers are currently performing task control of the devices, one of the groups of containers fails, the main container in the group fails first, and then the backup container in the group is switched to perform task control, and then the backup container also fails, at this time, the main and backup containers in the group have both failed, indicating that the group of containers cannot continue to perform task control of the devices. In this case, in order to ensure that the building intelligent control system can still operate stably, one of the other three groups of containers can be selected to replace the failed container group, so that the building intelligent control system can still operate stably.

[0036] In the embodiments of the present application, the value of N is usually less than M, because the failure of the master and standby containers in one of the M groups of containers is relatively small, and the value of N can be less than M to save resources. However, in order to ensure that each group of containers in the M groups of containers has a standby container group, the value of N can also be set to equal M.

[0037] In addition, in the embodiments of the present application, the resource management unit is also configured to, in the case that the failed container group in the M groups of containers is restored to normal, switch one or more devices associated with the selected container group in the N groups of containers to establish a connection with the restored container group. That is, if the failed container group in the M groups of containers is restored to normal, the device control can be performed by the original container group, because the M groups of containers are previously associated with the devices, and the configuration files in the containers are more comprehensive than the configuration files in the N groups of containers. Therefore, after the failed container group is restored to normal, it is better to control by the restored container group.

[0038] In the embodiments of the present application, as shown in Figure 2 the building intelligent control system further comprises a data gateway;

[0039] In the case that the device accessing the building intelligent control system does not support the first protocol, the data gateway splits the data sent by the device not supporting the first protocol, converts the protocol supported by the split data into the first protocol, and sends the data after splitting based on the first protocol to the corresponding master container.

[0040] In a specific example, if the first protocol is Can4Net protocol, efficient control of the building intelligent control system can be realized based on Can4Net protocol, but not all devices support Can4Net protocol. Therefore, other communication protocols supported by the device can be converted into Can4Net protocol, and then data transmission between the building intelligent control system and the device can be realized based on Can4Net protocol. For the device supporting Can4Net protocol, protocol conversion based on the data network is not required, and the device can directly transmit data to the corresponding container in the digital base, and the virtual controller in the container can control the task.

[0041] Further, as shown in Figure 2 the building intelligent control system in the embodiments of the present application further comprises a message scheduling bus; the message scheduling bus is configured to receive the data transmitted by the data gateway and / or directly receive the data transmitted by the device, wherein the message scheduling bus supports data transmission based on the first protocol, and the device directly transmitting data to the message scheduling bus supports data transmission based on the first protocol.

[0042] It can be seen that the message scheduling bus can directly receive data transmitted by a device supporting the Can4Net protocol, and can also receive data transmitted by a data network; regardless of which case, the data ultimately reaching the message scheduling bus is data supporting the Can4Net protocol.

[0043] As shown in Figure 2 The building intelligent control system in the embodiment of the present application further includes a data storage module; the data storage module is configured to store real-time data and historical data, wherein the real-time data represents the change of data within a preset time period before the current time of the data, and the historical data represents the original value of the data. It can be seen that the data storage module adopts two ways of real-time data storage and historical data storage to ensure the timeliness and traceability of the data. Real-time data storage records the latest change value of each numerical value, thereby improving the efficiency of data storage and reading; and historical data storage can save the original data to provide strong support for data analysis.

[0044] As shown in Figure 2 The building intelligent control system in the embodiment of the present application further includes a data exposure module; the data exposure module is configured to expose the data stored in the data storage module to other platforms in the form of a second protocol, wherein the second protocol includes the first protocol and other protocols in addition to the first protocol. Based on this, in specific embodiments, the data exposure module can expose the data according to the HTTP, Can4Net, MQTT, etc. protocols for other platforms to interface with the building intelligent control system to obtain data. The first protocol can be Can4Net, and the second protocol can be HTTP, Can4Net, MQTT, etc. In addition, the other platform refers to a platform other than the platform where the current building intelligent control system is located, and the platform can be a device or other terminal with a built-in server. Further, the exposed data can be real-time data or historical data to meet the data requirements in different scenarios.

[0045] Further as shown in Figure 2 The building intelligent control system in the embodiment of the present application further includes a visual device; the visual device is configured to display the running state of the M group of containers and the running state of the devices associated with the M group of containers, and to perform running control on the devices associated with the M group of containers.

[0046] It should be noted that if the master and standby containers in a group of containers in the M groups of containers both fail, the visualization device can still display the device corresponding to the group of containers that fails in the M groups of containers after replacing the group of containers with a group of containers in the N groups of containers, and the current group of containers in the N groups of containers takes over the task control. Further, in specific examples, the visualization device can be a mobile phone, a computer, or the like, and thus, a user can control and operate the building intelligent control system through an APP in the mobile phone or a visualization interface of a PC. Meanwhile, the user can also directly connect to a virtual controller or a local controller accessed by a device through a controller programming software to realize remote logic updating, and further improve the flexibility and convenience of the system.

[0047] The application will be further explained and described in combination with the specific implementation manners of the embodiments of the application. The specific implementation manners provide a container-based building intelligent control system, as shown in Figure 3 The container-based building intelligent control system includes a visualization device and a digital base, and the building intelligent control system is connected with various mechanical and electrical devices.

[0048] As shown in Figure 3 The digital base includes two parts of data access and container management. The data access refers to unified conversion of different access mechanical and electrical device protocols and giving to corresponding containers according to data labels. The container management refers to running multiple containers, and each container is independently allocated with hardware resources of the system. Each container can run logic, and further realizes the docking with the data access through a Can4Net protocol, can fuse different protocols, and realizes the independent running of the containers and the mutual communication of the data.

[0049] Further as shown in Figure 4 When the system starts, the digital base simultaneously constructs multiple groups of containers. Each group of containers includes two containers, one is a container that mainly uses and runs logic (a master container), and the other is a redundant device with the same configuration (a standby container). In a normal running process, the master container runs, and intermediate data generated in the process is temporarily stored in a shared path file. When the master container fails, the redundant container is immediately started, and the data in the shared temporary file is read to restore the logic running state at the time when the master container fails, so as to ensure the high availability of the system.

[0050] The main container and the redundant container are both provided with a virtual controller, and the Can4Net protocol is used as the communication protocol in this embodiment. It should be noted that the Can4Net protocol is a communication protocol containing a self-contained device category and attributes, and can enable the protocol analysis end to automatically identify the device. The Can4Net protocol has high universality when transmitting device data, and can be used as a southbound device data access protocol and a northbound business service docking protocol. The Can4Net protocol defines the content and format of data transmission. According to such format requirements, the relevant content of each device is defined, including device characteristic information such as the unique identifier of the protocol component, the type of device, and information about the device production company, device attribute information (such as the switch control point and frequency control point of the device), which contains the attribute data of all devices, and device attribute values (the actual values of the relevant attributes of the device).

[0051] In addition, the electromechanical devices in this embodiment are compatible with the Can4Net protocol, and the data gateway needs to be converted into the Can4Net protocol. Therefore, as shown in Figure 5 When the virtual controller identifies data, the Can4Net protocol stipulates that when a device compatible with the protocol component receives a signal to obtain device data, it will report the data of three parts according to the definition of the protocol component. The reported data will be sent to the Can4Net message scheduling pipeline. Therefore, the virtual controller also integrates the protocol components of all devices, and can distinguish the corresponding device type according to the unique identifier of the protocol component after receiving the corresponding Can4Net data report, and identify the relevant control point and data point of the device according to the attribute value of the corresponding device type, so as to finally realize the automatic identification of the device without human intervention.

[0052] The following further combines the above Figures 3 to 5 The building intelligent control system provided in this embodiment is further explained and described, and the following aspects are described:

[0053] 1) Device access

[0054] The building intelligent control system in this specific embodiment covers various mechanical and electrical equipment such as heating, ventilation, fire protection, lighting, etc. These devices usually use different communication protocols for data transmission, such as Modbus, BacNet, etc. In order to achieve smooth access to these devices, the system is equipped with a data gateway that can convert these protocols to Can4Net protocol and upload to the cloud. For devices that require local logic control, the system supports connection with local controllers that not only have protocol conversion functions but also can perform their own logic control tasks. In addition, the system also has the ability to interface with other software platforms and the cloud, and can achieve flexible data interaction through HTTP and other communication methods. When encountering protocols not supported by the data gateway, devices can directly connect to the cloud through HTTP and other protocols. The data aggregation layer is responsible for uniformly collecting and processing data from different data sources to ensure data accuracy and integrity.

[0055] 2) Cloud data management

[0056] Cloud data management is the core component of the system, which is used to receive and process all device uploaded data. For data using Can4Net protocol, the system directly pushes it to the message scheduling bus; for non-Can4Net protocol data, the system classifies and processes it according to the protocol type. Taking HTTP protocol as an example, data is first connected through HTTP protocol, and then pushed to the data gateway for protocol point resolution. The data gateway has strong protocol analysis capability and can process non-standard protocol format data and convert it to Can4Net protocol before sending it to the message scheduling bus. The message scheduling bus forwards the received data to other modules of the data management, such as the data storage module and the data exposure module.

[0057] Among them, the data storage module uses real-time data storage and historical data storage to ensure the timeliness and traceability of data. Real-time data storage records the latest change value of each value, improving the efficiency of data storage and reading. Historical data storage saves the original data and provides strong support for data analysis. The data exposure module is responsible for exposing data according to HTTP, Can4Net, MQTT, etc. protocol, which is used for other platforms to interface with the building intelligent control system to obtain data. The exposed data can be real-time data or historical data, meeting the data needs of different scenarios.

[0058] 3) Container running logic

[0059] With the fusion of the digital base and the container, the virtual controller container can comprehensively manage the life cycle of the virtual controller, including the binding relationship between each virtual controller access port and the real electromechanical equipment, and the configuration of the communication port. Through the container, virtual controllers can be easily created, which can perform the same logic as the real controller.

[0060] In the park-level building project, the equipment control demand is huge. If local controllers are used, not only the number is large, but also the logic maintenance and hardware program upgrade of each controller need to be operated on site, which is costly. In contrast, the virtual controller is virtually established through the cloud service container, which not only has lower hardware performance expansion cost, but also all the virtual controllers are centrally run in the cloud, so that the logic and virtual hardware program upgrade can be directly performed remotely, which significantly reduces the operation and maintenance cost. After a new virtual controller is created, the logic is issued through the logic programming software of the application layer, and the electromechanical equipment to be controlled is configured. The abstract equipment in the logic is bound to the real electromechanical equipment in the data management, and the communication port of the virtual controller is specified, so that the virtual controller can work normally like a local controller. It can receive the change of the electromechanical equipment parameter value through the message scheduling bus, and send the control instruction for operation control. In addition, the virtual controller also uses the container memory mapping mechanism to send the temporary variable in the logic running process to the message scheduling bus, so as to realize the data monitoring of the whole life cycle of the electromechanical equipment.

[0061] 4) Application control

[0062] The user can control and operate the building intelligent control system through the mobile phone APP or PC visual interface. At the same time, the user can also directly connect to the virtual controller or the local controller accessed by the equipment through the controller programming software to realize remote logic update, which further improves the flexibility and convenience of the system.

[0063] It can be seen that the building intelligent control system provided by the embodiment of the application takes the digital base technology as the core, realizes the unified analysis of data between different protocol devices, and provides a running environment for the virtual controller. The system uses Can4Net protocol as the basis of data communication, constructs a data bus connecting the southbound electromechanical equipment, local controller, virtual controller and service based on dynamic expansion of the container, and realizes seamless data interconnection between components. Independent running environment is provided for different subsystems, and the logic of each independently running subsystem can realize redundant backup, which guarantees the high availability of the system.

[0064] The apparatus embodiments described above are only illustrative, and the units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiment.

[0065] Through the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions can be embodied in the form of a software product, and the computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in the embodiments or some parts of the embodiments.

[0066] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises", "comprising", "includes", "including" and "has" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order in which they are described, unless specifically indicated as such. It is also to be understood that additional or alternative steps can be employed.

[0067] The above description is merely illustrative of the application and should not be taken as limiting. Numerous modifications and variations underlying the general principles of the applications can be made by those of ordinary skill in the art without departing from the spirit or scope of the application. Therefore, the application is not to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A building intelligent control system, characterized in that, The building intelligent control system comprises a digital base, the digital base comprises a container management unit, a resource management unit and M groups of containers, each group of containers in the M groups of containers comprises a master container and a backup container, the master container and the backup container have the same configuration; each group of containers in the M groups of containers is associated with one or more devices to be controlled, and the devices associated with each group of containers are different; M is a positive integer; the one or more devices associated with each group of containers in the M groups of containers are type-divided devices or region-divided devices; each group of containers is isolated from each other, and the failure of one container will not affect the operation control of other containers; After the one or more devices establish a connection with the corresponding master container based on a first protocol, the master container is configured to perform a preset logical control task based on a built-in virtual controller to control the one or more devices; The resource management unit is configured to store intermediate data generated in the task execution process in a temporary file in a shared path; In the case that the master container fails, the container management unit is configured to switch the connection of the one or more devices to the corresponding backup container, and control the backup container to read the intermediate data from the temporary file, so that the logical running state of the backup container is the logical running state of the master container at the time of failure.

2. The building management system of claim 1, wherein, The building intelligent control system further comprises N groups of container groups; In the case that both the master container and the backup container in one group of containers in the M groups of containers fail, the resource management unit is further configured to select an idle container group from the N groups of container groups to replace the failed container group in the M groups of containers, and establish a connection between the selected container group in the N groups of container groups and the one or more devices associated with the failed container group in the M groups of containers; N is a positive integer, and the value of N is less than or equal to M.

3. The building intelligent control system of claim 2, wherein The resource management unit is further configured to switch the one or more devices associated with the selected container group in the N groups of container groups to establish a connection with the recovered container group in the case that the failed container group in the M groups of containers recovers.

4. The building management system of claim 1, wherein, The building intelligent control system further comprises a data gateway; In the case that a device accessing the building intelligent control system does not support the first protocol, the data gateway splits the data sent by the device that does not support the first protocol, converts the protocol supported by the split data into the first protocol, and sends the data split data to the corresponding master container based on the first protocol.

5. The building management system of claim 4, wherein, The building intelligent control system further comprises a message scheduling bus; The message scheduling bus is configured to receive data transmitted by the data gateway and / or directly receive data transmitted by a device, wherein the message scheduling bus supports data transmission based on the first protocol, and the device supports data transmission based on the first protocol.

6. The building management system of claim 5, wherein, The first protocol is the Can4Net protocol. The data structure of the data transmitted based on the first protocol includes the unique identifier of the protocol component, the unique identifier of the device, the unique identifier of the device location, the attribute information of the location, and the location value.

7. The building intelligent control system according to claim 1, wherein, The building intelligent control system also includes a data storage module; The data storage module is used to store real-time data and historical data, wherein the real-time data represents the changes in the data within a preset time period before the current time, and the historical data represents the original value of the data.

8. The building management system of claim 7, wherein, The building intelligent control system also includes a data sharing module; The data opening module is used to open the data stored in the data storage module to other platforms in the manner of a second protocol, wherein the second protocol includes the first protocol and other protocols other than the first protocol.

9. The building intelligent control system according to claim 1, wherein, The building intelligent control system also includes visualization devices; The visualization device is used to display the operating status of the M groups of containers and the operating status of the devices associated with the M groups of containers, and to control the operation of the devices associated with the M groups of containers.

10. The control method of the building intelligence control system according to any one of claims 1 to 9, characterized by, include: After one or more devices establish a connection with the corresponding main container based on the first protocol, the main container executes a preset logic control task based on the built-in virtual controller to control the one or more devices. The resource management unit stores intermediate data generated during task execution in temporary files in a shared path; In the event of a failure in the primary container, the container management unit switches the connection of the one or more devices to the corresponding backup container and controls the backup container to read intermediate data from the temporary file, so that the logical operating state of the backup container is the same as the logical operating state of the primary container when the failure occurred.

Citation Information

Patent Citations

  • Automatic building control system and control method and device thereof, and building system

    CN110209092A

  • Building automatic control system and method based on digital base

    CN119814845A