Building data layered display method, device and equipment and computer readable medium
By acquiring and layering the multi-dimensional data of building equipment and generating multi-dimensional views, the problem of difficulty in comprehensively displaying building monitoring information and accurately displaying the positional relationship of the spatial structure in the existing technology is solved, and efficient building data display and management is achieved.
Patent Information
- Application Number
- CN202411990532.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-30
AI Technical Summary
The existing building control system is difficult to fully display the detailed monitoring information of the building, and the data display method based on big data or three-dimensional model is difficult to accurately display the positional relationship of the spatial structure and cannot be applied to smart building systems.
By obtaining the multi-dimensional data of the target device, combining its location, device relationship and device parameters, data is layered, and data is filtered according to the dimensional characteristics of the multi-dimensional view to generate a multi-dimensional building view display.
It realizes multi-dimensional information display of building equipment, significantly reduces manual development and operation and maintenance costs, can accurately display the positional relationship of the spatial structure, and is suitable for smart building systems.
Smart Images

Figure CN120067058A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and particularly to a method, device, equipment and computer-readable medium for hierarchical display of building data. Background Art
[0002] As an important part of modern cities, the intelligent level of smart buildings directly determines the efficiency and comfort of building management. With the rapid development of Internet of Things, big data and artificial intelligence technologies, smart building systems are gradually developing from single device monitoring to diversified and intelligent directions. However, most current smart building systems can only display the physical locations of devices in the building, and it is difficult for users to obtain relatively comprehensive monitoring information. Moreover, smart building systems need to perform corresponding customized development when facing different buildings or devices, increasing the development cost and cycle.
[0003] In the prior art, data is mainly displayed in the form of big data or three-dimensional models. In the data display based on big data, by stratifying graphic data and matching different charts for display to achieve multi-dimensional information display. Although it can display multi-dimensional data in a relatively intuitive way, it is difficult to accurately display the spatial structure position relationship and cannot be applied to smart building systems.
[0004] For the above problems, no effective solution has been proposed yet. Summary of the Invention
[0005] This application provides a method, device, equipment and computer-readable medium for hierarchical display of building data to solve the above technical problems that "the existing building control system is difficult to comprehensively display the detailed monitoring information of the building, and the data display methods based on big data or three-dimensional models are difficult to accurately display the spatial structure position relationship and cannot be applied to smart building systems".
[0006] According to one aspect of the embodiments of this application, this application provides a method for hierarchical display of building data, including: obtaining the data source of the target device and transmitting it to the corresponding server, so that the server parses the data source to extract the multi-dimensional data of the target device; configuring the monitoring page of the preset building area according to user requirements, adding the preset building area to the monitoring page and generating a multi-dimensional view of the preset building area; binding the target device to the preset building area, screening the multi-dimensional data according to the dimension characteristics of the multi-dimensional view to obtain target data, and adding the target data to the corresponding multi-dimensional view.
[0007] Optionally, before obtaining the data source of the target device and transmitting it to the corresponding server so that the server parses the data source to extract multi-dimensional data of the target device, it further includes: deploying the target device in a preset building area; controlling the controller in the preset building area to identify the communication interface of the target device; determining the communication protocol between the controller and the target device according to the communication interface; connecting the target device to the controller based on the communication protocol.
[0008] Optionally, the obtaining the data source of the target device and transmitting it to the corresponding server so that the server parses the data source to extract multi-dimensional data of the target device includes: determining the controller corresponding to the preset building area; controlling the controller based on the communication protocol to obtain the data source of the target device and transmit it to the server corresponding to the preset building area; transmitting the data source to the server corresponding to the preset building area through the controller for parsing, so that the server extracts the dimension information of the target device, where the dimension information includes location information, status parameter information, and device relationship information; encapsulating the location information, the status parameter information, and the device relationship information to obtain corresponding multi-dimensional data.
[0009] Optionally, the encapsulating the location information, the status parameter information, and the device relationship information to obtain corresponding multi-dimensional data includes: generating point information of different dimensions through the controller according to the location information, the status parameter information, and the device relationship information; traversing the location information, the status parameter information, and the device relationship information respectively based on the point information to divide the location information, the status parameter information, and the device relationship information into device location data, device relationship data, and device status parameter data; creating blank first, second, and third data dictionaries, storing the device location data in the first data dictionary, storing the device relationship data in the second data dictionary, and storing the device status parameter data in the third data dictionary; performing data encapsulation on the first data dictionary, the second data dictionary, and the third data dictionary to obtain the multi-dimensional data of the target device.
[0010] Optionally, the configuring the monitoring page of the preset building area according to user requirements, adding the preset building area to the monitoring page, and generating a multi-dimensional view of the preset building area includes: configuring the monitoring page of the preset building area on the server based on the web; adding the preset building area to the monitoring page; generating a multi-dimensional view of the preset building area in the monitoring page.
[0011] Optionally, the multi-dimensional view includes a floor view, a system view, and a card view; wherein, the floor view is used to display the location and first status parameters of the target device in a preset building area, the system view is used to display the relationships and second status parameters between the target devices, and the card view is used to display the device parameters of the target devices in the form of a card list.
[0012] Optionally, screening the multi-dimensional data according to the dimensional characteristics of the multi-dimensional view to obtain target data, and adding the target data to the corresponding multi-dimensional view includes: obtaining the dimensional characteristics of the multi-dimensional view, where the dimensional characteristics include a first dimensional characteristic, a second dimensional characteristic, and a third dimensional characteristic, the first dimensional characteristic includes a location dimension and a parameter dimension, the second dimensional characteristic includes a relationship dimension and a parameter dimension, and the third dimensional characteristic includes a parameter dimension; screening the multi-dimensional data according to the first dimensional characteristic to obtain a first data set, screening the multi-dimensional data according to the second dimensional characteristic to obtain a second data set, and screening the multi-dimensional data according to the third dimensional characteristic to obtain a third data set; adding the first data set to the floor view, adding the second data set to the system view, and adding the third data set to the card view.
[0013] According to another aspect of the embodiments of the present application, the present application provides a device for hierarchical display of building data, including: a data processing module, configured to obtain the data source of the target device and transmit it to the corresponding server so that the server parses the data source to extract the multi-dimensional data of the target device; a view generation module, configured to configure a monitoring page of a preset building area according to user requirements, add the preset building area to the monitoring page and generate a multi-dimensional view of the preset building area; a data binding module, configured to bind the target device to the preset building area, screen the multi-dimensional data of the device according to the dimensional characteristics of the multi-dimensional view to obtain target data, and add the screened multi-dimensional data to the corresponding multi-dimensional view.
[0014] According to another aspect of the embodiments of the present application, the present application provides an electronic device, including a memory, a processor, a communication interface, and a communication bus. A computer program that can run on the processor is stored in the memory. The memory and the processor communicate through the communication bus and the communication interface. When the processor executes the computer program, the steps of the above-mentioned method for hierarchical display of building data are implemented.
[0015] According to another aspect of the embodiments of the present application, the present application further provides a computer-readable medium having non-volatile program code executable by a processor, and the program code causes the processor to execute the above-mentioned method for hierarchical display of building data.
[0016] The above technical solution provided by the embodiments of the present application has the following advantages compared with the related art:
[0017] Through the multi-dimensional data layering technology, the present application extracts the data source information of the target devices of the access controller, and performs data layering in combination with their locations, device relationships, and device parameters. Data screening is performed on the already layered data sources, so that different levels of data match the corresponding view templates and are displayed on the page. Without customized development, a multi-dimensional building view can be generated, thus significantly reducing the manual development and operation and maintenance costs. And it can solve the deficiencies in the prior art that the information display is single, only one page can be generated, and the location relationship between equipment rooms on the floor area cannot be intuitively displayed by the charts. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the related art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0020] Figure 1 Schematic diagram of the hardware environment of a building data layering display method provided according to an embodiment of the present application;
[0021] Figure 2 The first flow chart of a building data layering display method provided according to an embodiment of the present application;
[0022] Figure 3 The second flow chart of a building data layering display method provided according to an embodiment of the present application;
[0023] Figure 4 Flow chart of data layering provided according to an embodiment of the present application;
[0024] Figure 5 Flow chart of data screening provided according to an embodiment of the present application;
[0025] Figure 6 Schematic diagram of a floor view provided according to an embodiment of the present application;
[0026] Figure 7 Schematic diagram of a system view provided according to an embodiment of the present application;
[0027] Figure 8 Schematic diagram of a card view provided according to an embodiment of the present application;
[0028] Figure 9 Block diagram of a building data hierarchical display device provided according to an embodiment of the present application;
[0029] Figure 10 Schematic diagram of an optional electronic device structure provided according to an embodiment of the present application. Detailed implementation manners
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0031] In subsequent descriptions, suffixes such as "module", "component", or "unit" used to represent elements are only for the convenience of description of the present application, and they have no specific meaning in themselves. Therefore, "module" and "component" can be used interchangeably.
[0032] In the related art, it is difficult for a building control system to comprehensively display detailed monitoring information of a building, and data display methods based on big data or three-dimensional models are difficult to accurately display the spatial structure position relationship and cannot be applied to a smart building system.
[0033] To solve the problems mentioned in the background art, according to one aspect of the embodiments of the present application, an embodiment of a building data hierarchical display method is provided.
[0034] Optionally, in the embodiments of the present application, the above method can be applied to a hardware environment composed of a terminal 101 and a server 103 as shown in Figure 1 As shown in Figure 1 As shown, the server 103 is connected to the terminal 101 through a network and can be used to provide services for the terminal or a client installed on the terminal. A database 105 can be set on the server or independently of the server to provide data storage services for the server 103. The above network includes but is not limited to: wide area network, metropolitan area network, or local area network. The terminal 101 includes but is not limited to a PC, mobile phone, tablet computer, etc.
[0035] A building data hierarchical display method in the embodiments of the present application can be executed by the server 103, or can also be jointly executed by the server 103 and the terminal 101. As shown in Figure 2 and Figure 3 as shown, the method can include the following steps:
[0036] Step S202: Obtain the data source of the target device and transmit it to the corresponding server so that the server can parse the data source to extract the multi-dimensional data of the target device.
[0037] Optionally, before obtaining the data source of the target device and transmitting it to the corresponding server so that the server can parse the data source to extract the multi-dimensional data of the target device, it further includes:
[0038] Deploy the target device to a preset building area;
[0039] Control the controller in the preset building area to identify the communication interface of the target device;
[0040] Determine the communication protocol between the controller and the target device according to the communication interface;
[0041] Connect the target device to the controller based on the communication protocol.
[0042] It can be understood that the preset building area in this embodiment includes areas that need to be centrally controlled, such as commercial complexes, hotel buildings, and hospital buildings, and the target devices include HVAC equipment, etc. Assume that the preset building area is Area A, and the target devices are taken as the central air-conditioning host, fan coil units, and fresh air handling units in HVAC equipment. First, according to the plan, the central air-conditioning host, fan coil units, and fresh air handling units are deployed to Area A, and the controller in Area A starts to identify the communication interfaces of the deployed air conditioners and fresh air coils. For example, the central air-conditioning host is configured with an industrial Ethernet (RJ45) interface, the fan coil unit is configured with an RS485 serial communication interface, and the fresh air handling unit is configured with a wireless Wi-Fi communication interface. Determine the corresponding communication protocol according to the identified communication interface. For the industrial Ethernet interface of the central air-conditioning host, a custom application layer protocol based on the TCP / IP protocol is adopted. This protocol stipulates the data format, encoding method, and command set for precise communication between the controller and the central air-conditioning host, such as obtaining key parameters such as the compressor speed, evaporator temperature, and condenser pressure of the host; for the RS485 serial communication interface of the fan coil unit, the ModbusRTU protocol is adopted, through which the controller can read the fan speed, water valve opening, indoor temperature sensor data, etc. of the fan coil unit; for the Wi-Fi communication interface of the fresh air handling unit, a wireless connection is established based on the IEEE802.11 series standards, and a JSON format data transmission protocol customized by the fresh air handling unit manufacturer is used to obtain air quality monitoring data (such as PM2.5, formaldehyde content, etc.), fresh air volume data, and fan operation status information of the fresh air handling unit.
[0043] Further, connect the HVAC equipment to the controller in Area A based on the determined communication protocol. For the central air-conditioning host, use an Ethernet cable to connect its RJ45 interface to the industrial Ethernet switch in Area A, and perform corresponding VLAN division and IP address configuration on the switch and the controller to ensure that the controller can communicate with the host according to the custom application layer protocol; for the fan coil units, connect the RS485 serial port module of the controller to the RS485 interfaces of each fan coil unit through shielded twisted pair wires, and set parameters such as the baud rate (e.g., 9600bps), data bits (8 bits), stop bits (1 bit), and parity bits (none) of the serial port to enable stable Modbus RTU protocol communication between the controller and the fan coil units; for the fresh air handling units, configure and connect their Wi-Fi modules to the wireless network in the area, set the corresponding Wi-Fi access parameters on the controller, and initialize the data reception according to the JSON format data transmission protocol to complete the connection between the fresh air handling units and the controller.
[0044] In the above embodiments, by reasonably deploying the target devices, it is ensured that the target devices can fully exert their functions, meet the actual needs of each area of the building, and at the same time, the convenience of subsequent device connection and data transmission is also considered. By identifying the communication interfaces of the target devices, the controller can accurately understand the "language" of data transmission of the target devices, providing a key basis for selecting the appropriate communication protocol, avoiding data transmission obstacles caused by interface mismatches, and improving the compatibility of the system. By determining the communication protocol, the data transmission format and rules are standardized, ensuring that the controller and the target devices can exchange information accurately and without error, reducing the risk of data transmission errors and losses, and improving the accuracy and integrity of the data. Based on the selected communication protocol, connect the target devices and the controller to establish a stable and reliable data transmission channel, enabling the controller to obtain the data sources of the target devices in a timely and accurate manner and efficiently transmit them to the server. This helps to achieve real-time monitoring and precise control of the target devices, such as intelligent adjustment based on the real-time operation data of the HVAC equipment.
[0045] Optionally, obtain the data sources of the target devices and transmit them to the corresponding server so that the server can parse the data sources to extract multi-dimensional data of the target devices, including:
[0046] Determine the controller corresponding to the preset building area;
[0047] Based on the communication protocol, control the controller to obtain the data sources of the target devices and transmit them to the server corresponding to the preset building area;
[0048] Transmit the data sources to the server corresponding to the preset building area through the controller for parsing, so that the server can extract the dimensional information of the target devices, and the dimensional information includes location information, status parameter information, and device relationship information;
[0049] Encapsulate the location information, status parameter information, and device relationship information to obtain corresponding multi-dimensional data.
[0050] In the above embodiments, the data source of the target device is obtained based on the communication protocol, making full use of the standardization and efficiency of the protocol, enabling the controller to stably and quickly collect data from various target devices, ensuring the timeliness of the data, helping to grasp the operating conditions of the target devices in real time, timely discover potential problems, prevent faults from occurring, reduce the device downtime, and improve the overall operation reliability. After the data source is transmitted to the server through the controller, the server parses and extracts dimension information such as location, status parameters, and device relationships from the data. The location information helps to quickly locate the device and improve the response speed of maintenance and repair; the status parameter information can intuitively reflect the working state of the device and achieve refined device control; the device relationship information can grasp the collaborative operation between devices from the system level and optimize the system performance. Finally, the obtained data is encapsulated to obtain multi-dimensional data, which can provide a data basis for subsequent data hierarchical display.
[0051] Optionally, encapsulating the location information, status parameter information, and device relationship information to obtain corresponding multi-dimensional data includes:
[0052] Generate point information of different dimensions through the controller according to the location information, status parameter information, and device relationship information;
[0053] Based on the point information, traverse the location information, status parameter information, and device relationship information respectively to divide the location information, status parameter information, and device relationship information into device location data, device relationship data, and device status parameter data;
[0054] Create blank first, second, and third data dictionaries, store the device location data in the first data dictionary, store the device relationship data in the second data dictionary, and store the device status parameter data in the third data dictionary;
[0055] Perform data encapsulation on the first data dictionary, second data dictionary, and third data dictionary to obtain the multi-dimensional data of the target device.
[0056] In the above embodiments, the point location information of different dimensions is generated based on the position, status, and relationship information, which can orderly sort out complex device data, making the data of the target device that is scattered and complicated have a clear logical structure. Based on the traversal and classification of the point location information, the data is accurately divided into device location data, device relationship data, and device status parameter data, facilitating special analysis and processing for different types of data. For example, when analyzing equipment failures, it is possible to quickly focus on the status parameter data and accurately locate the cause of the failure; when optimizing the system layout, the device location data becomes a key reference, thus significantly improving the efficiency and accuracy of problem-solving. A special data dictionary is created to store various types of data and perform final data encapsulation, achieving the standardized and normalized storage of data. On the one hand, it helps to protect the integrity and consistency of the data, avoiding chaos or errors in the storage and transmission of the data; on the other hand, the standardized data format facilitates seamless docking and integration with other building management systems, promoting data sharing and circulation, providing a solid data foundation for realizing a higher level of intelligent decision support. For example, by integrating the data of multiple buildings for energy consumption comparison analysis, more scientific and reasonable energy-saving strategies can be formulated, reducing the overall operating cost and improving the intelligent level and comprehensive benefits of building management.
[0057] Reference Figure 4 The figure shows a schematic flow diagram of obtaining multi-dimensional data by data layering of the data source of the target device by the server. By transmitting the data source to the server, different levels of data are obtained by the server through data layering of the data source, including position, parameter, and relationship. The position represents the position information of the target device, the parameter represents the status parameter information of the target device, and the relationship represents the relationship information between the target devices. In this embodiment, after the connection between the target device and the controller is completed, the data source of the HVAC equipment is obtained by the controller based on each communication protocol. For example, the controller sends a data request command to the central air-conditioning host at a set time interval (such as every 3 minutes) to obtain the real-time operation data of the host, including the current cooling / heating mode, set temperature, actual temperature, energy consumption data, etc.; at the same time, continuously monitor the status changes of the fan coil unit, read the data of its indoor temperature sensor, the adjustment of the fan speed, and the real-time changes of the water valve opening; for the fresh air unit, receive the uploaded air quality data, fresh air volume data, and fan fault alarm information, etc. The controller transmits these collected data sources to the server corresponding to the preset building area through the dedicated network inside the building.
[0058] Further, after the server receives the data source transmitted by the controller of the preset building area, it parses the data source. First, it parses out the location information of each HVAC device. For example, it determines the specific floor and room number of the device in the preset building area through the network address of the device or the area location code preset in the controller. Then it extracts the status parameter information, such as various operating parameters of the central air-conditioning host, working status data of fan coil units, and air quality and fresh air volume data of fresh air handling units. Next, it analyzes the device relationship information to determine the association relationship between different HVAC devices in the system. For example, the cooling and heating relationship between the central air-conditioning host and each fan coil unit, and the collaborative working relationship between the fresh air handling unit and the ventilation system in the area. According to the parsed location information, status parameter information, and device relationship information, different dimensions of point information are generated through the controller. For example, taking the device number as the index, location point information is generated in combination with the location information, status point information is generated in combination with the status parameters, and relationship point information is generated in combination with the device relationship. Then, based on each point information, the location information, status parameter information, and device relationship information are traversed respectively, and they are divided into device location data, device relationship data, and device status parameter data. Blank first, second, and third data dictionaries are created, the device location data is stored in the first data dictionary, the device relationship data is stored in the second data dictionary, and the device status parameter data is stored in the third data dictionary. Finally, data encapsulation is performed on these three data dictionaries to integrate them into the multi-dimensional data of the target device. For example, the location data in the first data dictionary is used as the basic framework of the multi-dimensional data, the device relationship data in the second data dictionary is used as the association description, and the status parameter data in the third data dictionary is used as dynamic information to fill into the corresponding data structure to obtain complete structured multi-dimensional data.
[0059] Step S204, configure the monitoring page of the preset building area according to the user's needs, add the preset building area to the monitoring page, and generate a multi-dimensional view of the preset building area.
[0060] Optionally, configuring the monitoring page of the preset building area according to the user's needs, adding the preset building area to the monitoring page, and generating a multi-dimensional view of the preset building area includes:
[0061] Configure the monitoring page of the preset building area on the server based on the web;
[0062] Add the preset building area to the monitoring page;
[0063] Generate a multi-dimensional view of the preset building area in the monitoring page.
[0064] Optionally, the multi-dimensional view includes a floor view, a system view, and a card view; among them, the floor view is used to display the location of the target device in the preset building area and the first status parameters, the system view is used to display the relationship between the target devices and the second status parameters, and the card view is used to display the device parameters of the target devices in the form of a card list.
[0065] Optionally, the first status parameters in this embodiment include temperature data, fan operation status, valve opening degree, etc., the second status parameters include central air-conditioning host operation parameters, pipeline pressure parameters, equipment cooperation status parameters, etc., and the device parameters include basic information parameters, performance parameters, etc.
[0066] In the above implementation manner, the monitoring page is configured on the server based on the Web, making full use of the cross-platform and easy accessibility of the Web technology, enabling managers to log in to the system at any time and place through various terminal devices (such as computers, tablets, mobile phones) to view the equipment conditions in the building area, breaking the limitations of time and space, and greatly improving the flexibility and timeliness of management. Adding the preset building area to the monitoring page realizes precise focusing and personalized management of specific areas. Different building areas may have different functions and equipment layouts. In this way, managers can conveniently monitor and operate each area independently, avoiding information chaos and misoperations, and improving the pertinence and accuracy of management. The floor view allows managers to intuitively understand the location distribution of the equipment on the floor and the key status parameters, facilitating quick positioning and judgment of the equipment operation status; the system view clearly shows the complex relationships and collaborative work conditions among the equipment, helping to grasp the operation logic of the system as a whole and timely discover potential system failures and optimization points; the card view presents the various parameters of the equipment in detail, providing rich data support for in-depth analysis of equipment performance and refined management. Through the mutual complementation of the multi-dimensional views, they jointly provide managers with comprehensive, in-depth, and intuitive information display, enabling them to quickly make accurate decisions, greatly improving the efficiency and quality of building equipment management, and reducing the operation and maintenance costs and risks.
[0067] Specifically, after obtaining the multi-dimensional data of the target device, a monitoring page framework for the preset building area is constructed through the Web server software configured on the server side. For example, the basic structure of the page is defined by HTML, including the navigation bar, the main display area, the sidebar, etc.; CSS is used to beautify the page style, setting styles such as fonts, colors, layouts, etc., to make it have a good visual effect and user experience; JavaScript is used to implement the interactive functions of the page, such as click events and dynamic data updates. On the server side, a back-end programming language is used to build an interface for interacting with the front-end page, which is responsible for processing requests sent by the front-end page, such as obtaining HVAC equipment data, updating device status, etc., and returning the corresponding data to the front-end page for display. During the configuration process of the monitoring page, a dedicated area is reserved for displaying the data stratification information of the preset building area. For example, a drop-down menu is added to the navigation bar, and the menu options are the names of each preset building area (such as Area A, Area B, etc.). When the building management personnel select the corresponding area, the page sends a request to the back-end server through JavaScript. The back-end server queries the relevant information of this area (such as the basic information and layout information of the HVAC equipment in the area) according to the request, and returns this information to the front-end page. After receiving the data returned by the back-end, the front-end page uses JavaScript to dynamically generate an overview of the preset building area in the main display area. For example, a thumbnail of the floor plan of the area can be displayed, and the approximate locations of each HVAC equipment are marked on the map. At the same time, statistical information such as the total number and type distribution of the HVAC equipment in the area is displayed in the sidebar.
[0068] Further, the spatial simulation data of the preset building area is added to the monitoring page by the back-end server, such as the floor information and equipment installation location information of the preset building area. The floor view, system view, and card view are drawn based on the existing floor information and equipment installation location information of the preset building area. For example, after the front-end page receives the data classified by floor from the back-end, JavaScript is used to draw the floor view. In the floor view, with the floor plan as the background, each HVAC device is displayed in the form of an icon at its corresponding actual location. Determine the cooling and heating connection relationships between the preset central air-conditioning host and the fan coil units on each floor, the association relationships between the fresh air handling units and the ventilation duct systems, etc., and organize these relationship data into a format that can be recognized by the front-end page (such as JSON data format). After receiving the equipment relationship data, the front-end page draws the system view. The connection relationships between each HVAC device are displayed in a graphical manner, such as using lines to represent pipe connections and nodes of different shapes and colors to represent different types of target devices. At the same time, a click event is added to each target device node. When a certain target device node is clicked, the second status parameters of the target device (such as the compressor operating frequency and condenser pressure of the central air-conditioning host; the fan motor current of the fresh air handling unit) and some key status information of the upstream and downstream devices associated with it are obtained from the back-end through JavaScript and displayed in the information panel on the page, so that the management personnel can understand the role and operation status of the device in the entire HVAC system. The back-end server sorts out the detailed device parameter data of all HVAC devices in the preset building area according to the device type and number. For example, first arrange the device parameter data of all fan coil units in sequence, and then the data of the fresh air handling units, and so on. The front-end page generates the card view using JavaScript according to the preset device parameters. In the view, the detailed information of each HVAC device is displayed in the form of a card list. Each card contains basic information such as the device name, number, type, and location, as well as all the device parameters of the device (such as the fan gear setting range, water valve control accuracy, and temperature sensor calibration parameters of the fan coil unit; the filter replacement cycle, maximum fan air volume, and air quality sensor detection accuracy of the fresh air handling unit).
[0069] Step S206: Bind the target device to the preset building area, screen the multi-dimensional data according to the dimensional characteristics of the multi-dimensional view to obtain the target data, and add the target data to the corresponding multi-dimensional view.
[0070] Optionally, screening the multi-dimensional data according to the dimensional characteristics of the multi-dimensional view to obtain the target data, and adding the target data to the corresponding multi-dimensional view includes:
[0071] Obtain the dimensional features of the multi-dimensional view. The dimensional features include the first dimensional feature, the second dimensional feature, and the third dimensional feature. The first dimensional feature includes the position dimension and the parameter dimension. The second dimensional feature includes the relationship dimension and the parameter dimension. The third dimensional feature includes the parameter dimension;
[0072] Filter the multi-dimensional data according to the first dimensional feature to obtain the first data set, filter the multi-dimensional data according to the second dimensional feature to obtain the second data set, and filter the multi-dimensional data according to the third dimensional feature to obtain the third data set;
[0073] Add the first data set to the floor view, add the second data set to the system view, and add the third data set to the card view.
[0074] In the above embodiments, by accurately obtaining the dimensional features of each dimension to filter the data set, it is ensured that the data presented in each view highly conforms to its display purpose. For the floor view, the first data set filtered based on the position dimension and the parameter dimension enables the management personnel to clearly see the specific location of the equipment on the floor and its key operating parameters at a glance, such as the temperature setting value and the actual operating status of the HVAC equipment. This helps to quickly conduct inspections and promptly detect equipment abnormalities in local areas, improve the efficiency of daily maintenance, reduce the risk of service interruption caused by equipment failures, and at the same time provide a data basis for the refined regulation of the indoor environmental comfort, enhancing the user experience. The second data set of the system view is filtered based on the relationship dimension and the parameter dimension, clearly presenting the connection and coordination relationships between equipment and related operating parameters, such as the cooling and heating linkage situation between the central air-conditioning host and each terminal device, and the correlation between the pipeline pressure and the equipment operating status. This enables the operation and maintenance personnel to deeply understand the interaction of equipment from the perspective of the overall system, accurately locate the system fault points, be able to prevent systemic problems in advance, optimize the system performance, reduce energy consumption, ensure the stable and efficient operation of the entire building HVAC system, and improve the energy utilization efficiency and management level. The third data set of the card view covers the comprehensive and detailed parameters of the equipment, providing detailed information for the in-depth management and maintenance of the equipment. Technical personnel can carry out tasks such as equipment selection comparison, performance evaluation, maintenance plan formulation, and fault diagnosis and troubleshooting based on these parameters, ensuring that the equipment is always in the best operating state, extending the service life of the equipment, reducing the equipment replacement cost, and at the same time providing strong support for the refined management of equipment assets, enhancing the scientific nature and standardization of building management.
[0075] Specifically, after generating a multi-dimensional view of a preset building area, the corresponding dimensional features are obtained according to each multi-dimensional view. The first dimensional feature of the floor view is provided with a position dimension and a parameter dimension. The position dimension in the first dimensional feature displays the two-dimensional coordinate position information of each HVAC device on the floor plan. For example, the upper left corner of the floor is taken as the origin, and the specific installation position of the target device such as the fan coil unit and the fresh air unit is determined by the horizontal coordinate and the vertical coordinate. The parameter dimension in the first dimensional feature includes parameters such as the indoor temperature, fan speed, and water valve opening of the fan coil unit. These parameters are associated with the position of the target device in the floor and are used to reflect the operating status of the target device at this position. The second dimensional feature of the system view is provided with a relationship dimension and a parameter dimension. The relationship dimension in the second dimensional feature represents the connection and coordination relationship between HVAC devices. The parameter dimension in the second dimensional feature contains the operating parameters associated with the target device, such as the compressor operating frequency of the central air-conditioning host, which will affect the cooling and heating capacity of the entire system, and then affect the working status of the fan coil unit connected to it; the fluid pressure parameter in the pipeline can reflect the transportation of water flow or air flow in the system. The third dimension feature of the card view is set with a parameter dimension. The parameter dimension in the third dimension feature includes the basic information of the target device (such as name, model, number, location), performance parameters (such as cooling and heating capacity of fan coil units, fan power, etc.), sensor parameters (such as measurement range and accuracy of temperature sensors) and maintenance-related parameters (such as maintenance cycle, last maintenance date), etc. These detailed parameters comprehensively describe the characteristics and status of the target device and are presented in the form of cards, which is convenient for users to view and analyze in detail.
[0076] refer to Figure 5The following is a schematic flowchart of data screening in this embodiment, which screens data that meets the building view, system view, and card view from the data source. First, from the multi-dimensional data of the preset building area's HVAC equipment obtained, according to the location dimension information, data records corresponding to the positions of each device in the floor view are screened. For example, for the floor view of a certain floor, only the data sources of the HVAC equipment located on that floor are extracted. Then, among these screened data sources, further according to the parameter dimension, data items related to some status parameters displayed in the floor view, such as indoor temperature, fan speed, water valve opening, etc., are extracted to form the first data set. According to the relationship dimension of the system view, data related to the connection relationship between devices is found from the multi-dimensional data. For example, for the cooling and heating relationship between the central air-conditioning host and the fan coil unit, the operating data of the central air-conditioning host (such as compressor operating frequency, condenser pressure, etc.) and the related operating data of the connected fan coil unit (such as inlet water temperature, return water temperature, fan speed, etc.) are extracted, and these data reflect the collaborative working state of the devices in the system. At the same time, according to the parameter dimension, parameter data closely related to the system operation, such as pipeline pressure, etc., are extracted to jointly form the second data set. From the obtained multi-dimensional data, all the detailed parameter data of each HVAC device are selected, including the basic information, performance parameters, sensor parameters, and maintenance-related parameters of the device, etc., to form the third data set.
[0077] Further, the first data set is bound to the floor view, the second data set is bound to the system view, and the third data set is bound to the card view to realize the multi-level display of the data of the target devices in the preset building area in different views. Refer to Figure 6 The following is a schematic diagram of the floor view of this embodiment, which includes a region list, different systems, and corresponding several target devices. Refer to Figure 7 The following is a schematic diagram of the system view of this embodiment, which includes a region list, a region base map, and several target devices. Refer to Figure 8The figure shows a schematic diagram of the card view of this embodiment, which includes a region list, multiple cards, and parameters corresponding to each card. During the initialization process of the floor view, when the page is loaded, a data request is sent to the server to obtain the first data set. Then, according to the location information and parameter information in the data set, data such as indoor temperature, fan speed, and water valve opening are dynamically updated to the corresponding device icons in the floor view. For example, when the indoor temperature of a fan coil unit is obtained as 25°C, JavaScript code is used to display this temperature value next to the icon of the fan coil unit in the floor view, realizing the real-time association and display of data and the view. According to the device relationship information and parameter information in the second data set, the connection lines between devices are drawn in the system view, and relevant parameters (such as the compressor operating frequency and pipeline pressure of the central air-conditioning host) are displayed on the corresponding device nodes or connection lines. For example, in the system view, when the compressor operating frequency of the central air-conditioning host is obtained as 35 Hz, this frequency value is displayed next to the host icon, and at the same time, according to the pipeline pressure data, different colors or line thicknesses are used to represent the pressure state in the pipeline, intuitively showing the operating conditions and mutual relationships of the devices in the system. For the card view, the third data set is rendered into a form of a card list through a front-end template engine (such as Handlebars.js, etc.). When the page is loaded, the third data set is obtained through a server-side interface, and then the detailed parameters of each device are filled into the corresponding columns of the card view to obtain a complete card view. For example, for a fan coil unit device, its name, model, performance parameters, maintenance parameters, etc. are filled into the corresponding positions of the card in sequence, facilitating users to view and manage the detailed information of the device.
[0078] According to another aspect of the embodiments of the present application, as Figure 9 shown, a device is provided, including:
[0079] A data processing module 901, configured to obtain the data source of the target device and transmit it to the corresponding server so that the server parses the data source to extract multi-dimensional data of the target device;
[0080] A view generation module 903, configured to configure a monitoring page for a preset building area according to user requirements, add the preset building area to the monitoring page, and generate a multi-dimensional view of the preset building area;
[0081] A data binding module 905, configured to bind the target device to the preset building area, screen the multi-dimensional data of the device according to the dimensional characteristics of the multi-dimensional view to obtain target data, and add the screened multi-dimensional data to the corresponding multi-dimensional view.
[0082] It should be noted that the data processing module 901 in this embodiment may be used to execute step S202 in the embodiment of the present application, the view generation module 903 in this embodiment may be used to execute step S204 in the embodiment of the present application, and the data binding module 905 in this embodiment may be used to execute step S206 in the embodiment of the present application.
[0083] It should be noted here that the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can run in the hardware environment as shown in Figure 1 and can be implemented by software or by hardware.
[0084] According to another aspect of the embodiment of the present application, the present application provides an electronic device, as shown in Figure 10 which includes a memory 1001, a processor 1003, a communication interface 1005, and a communication bus 1007. A computer program that can run on the processor 1003 is stored in the memory 1001. The memory 1001 and the processor 1003 communicate through the communication interface 1005 and the communication bus 1007. When the processor 1003 executes the computer program, the steps of the above method are implemented.
[0085] The memory and the processor in the above electronic device communicate through the communication bus and the communication interface. The communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0086] The memory may include a Random Access Memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.
[0087] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0088] According to another aspect of the embodiments of the present application, there is also provided a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps of any one of the above embodiments.
[0089] Optionally, in the embodiments of the present application, the computer-readable medium is configured to store program code for the processor to execute the following steps:
[0090] Step S202: Obtain the data source of the target device and transmit it to the corresponding server so that the server parses the data source to extract multi-dimensional data of the target device.
[0091] Step S204: Configure the monitoring page of the preset building area according to the user's needs, add the preset building area to the monitoring page, and generate a multi-dimensional view of the preset building area.
[0092] Step S206: Bind the target device to the preset building area, screen the multi-dimensional data according to the dimensional characteristics of the multi-dimensional view to obtain the target data, and add the target data to the corresponding multi-dimensional view.
[0093] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and will not be elaborated herein.
[0094] When the embodiments of the present application are specifically implemented, reference may be made to the above various embodiments, and corresponding technical effects are achieved.
[0095] It will be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application, or any combination thereof.
[0096] For a software implementation, the techniques described herein can be implemented by units executing functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented within the processor or external to the processor.
[0097] Those of ordinary skill in the art will appreciate that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends upon the particular application and design constraints of the technical solution. Skilled artisans may implement the described functions in different ways for each particular application, but such implementation should not be considered to exceed the scope of the present application.
[0098] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be described herein again.
[0099] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings, direct couplings, or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections between devices or units can be in electrical, mechanical, or other forms.
[0100] The unit described as a separation component may or may not be physically separated. The component presented as a unit may or may not be a physical unit, that is, it may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] In addition, in each embodiment of the present application, each functional unit may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit.
[0102] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes. It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0103] The above description is only the specific implementation manners of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for displaying building data in layers, characterized in that: include: Acquire a data source of a target device and transmit it to a corresponding server so that the server parses the data source to extract multi-dimensional data of the target device; Configure a monitoring page of a preset building area according to user needs, add the preset building area to the monitoring page and generate a multi-dimensional view of the preset building area; The target device is bound to the preset building area, the multi-dimensional data is filtered according to the dimensional features of the multi-dimensional view to obtain target data, and the target data is added to the corresponding multi-dimensional view.
2. The building data layered display method according to claim 1, characterized in that: Before obtaining the data source of the target device and transmitting it to the corresponding server so that the server parses the data source to extract the multi-dimensional data of the target device, the method further includes: Deploy target devices to preset building areas; Controlling the controller of the preset building area to identify the communication interface of the target device; determining a communication protocol between the controller and the target device according to the communication interface; The target device is connected to the controller based on the communication protocol.
3. The building data layered display method according to claim 2, characterized in that: The step of obtaining a data source of a target device and transmitting the data source to a corresponding server so that the server parses the data source to extract multi-dimensional data of the target device includes: Determining a controller corresponding to the preset building area; Controlling the controller to obtain the data source of the target device based on the communication protocol and transmitting the data source to the server corresponding to the preset building area; Transmitting the data source through the controller to the server corresponding to the preset building area for parsing, so that the server extracts the dimensional information of the target device, the dimensional information including location information, state parameter information and device relationship information; The location information, the state parameter information and the device relationship information are encapsulated to obtain corresponding multi-dimensional data.
4. The building data layered display method according to claim 3 is characterized in that: The encapsulating the location information, the state parameter information and the device relationship information to obtain corresponding multi-dimensional data includes: Generating point information of different dimensions through the controller according to the position information, the state parameter information and the device relationship information; Based on the point information, the location information, the state parameter information and the device relationship information are respectively traversed to divide the location information, the state parameter information and the device relationship information into device location data, device relationship data and device state parameter data; Create a blank first data dictionary, a second data dictionary and a third data dictionary, store the device location data in the first data dictionary, store the device relationship data in the second data dictionary, and store the device status parameter data in the third data dictionary; The first data dictionary, the second data dictionary and the third data dictionary are data packaged to obtain multi-dimensional data of the target device.
5. The building data layered display method according to claim 1, characterized in that: The configuring the monitoring page of the preset building area according to user requirements, adding the preset building area to the monitoring page and generating a multi-dimensional view of the preset building area includes: Configuring a monitoring page for the preset building area on the server based on the web; Adding the preset building area to the monitoring page; Generate a multi-dimensional view of the preset building area in the monitoring page.
6. The building data layered display method according to claim 5, characterized in that: The multi-dimensional view includes a floor view, a system view and a card view; wherein the floor view is used to display the location and first status parameters of the target device in a preset building area, the system view is used to display the relationship between each of the target devices and the second status parameters, and the card view is used to display the device parameters of the target device in the form of a card list.
7. The building data layered display method according to claim 6, characterized in that: The filtering the multi-dimensional data according to the dimensional features of the multi-dimensional view to obtain target data, and adding the target data to the corresponding multi-dimensional view includes: Acquire dimensional features of the multi-dimensional view, the dimensional features including a first dimensional feature, a second dimensional feature, and a third dimensional feature, the first dimensional feature including a position dimension and a parameter dimension, the second dimensional feature including a relationship dimension and a parameter dimension, and the third dimensional feature including a parameter dimension; The multi-dimensional data is filtered according to the first dimensional feature to obtain a first data set, the multi-dimensional data is filtered according to the second dimensional feature to obtain a second data set, and the multi-dimensional data is filtered according to the third dimensional feature to obtain a third data set; The first data set is added to the floor view, the second data set is added to the system view, and the third data set is added to the card view.
8. A building data layered display device, characterized in that: include: A data processing module, used to obtain a data source of a target device and transmit it to a corresponding server so that the server analyzes the data source and extracts multi-dimensional data of the target device; A view generation module, used to configure a monitoring page of a preset building area according to user requirements, add the preset building area to the monitoring page and generate a multi-dimensional view of the preset building area; A data binding module is used to bind the target device to the preset building area, filter the multi-dimensional data of the device according to the dimensional characteristics of the multi-dimensional view to obtain the target data, and add the target data and the filtered multi-dimensional data to the corresponding multi-dimensional view.
9. An electronic device, comprising a memory, a processor, a communication interface and a communication bus, wherein the memory stores a computer program that can be run on the processor, and the memory and the processor communicate through the communication bus and the communication interface, characterized in that: When the processor executes the computer program, the building data hierarchical display method described in any one of claims 1 to 7 is implemented.
10. A computer readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the building data hierarchical display method described in any one of claims 1 to 7.