Environmental control system debugging method and device, electronic equipment and storage medium

By constructing a data matrix for the environmental control system and generating virtual devices, the problem that existing environmental control system debugging methods are difficult to cover different control scenarios is solved, achieving more comprehensive debugging and more efficient debugging results.

CN121209338APending Publication Date: 2025-12-26GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511290103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-10
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

Existing environmental control system commissioning methods are insufficient to cover the verification requirements of various control scenarios, especially in extreme control scenarios where comprehensive and accurate verification is difficult to achieve.

Method used

By acquiring the location data of each physical device in the environmental control system, a data matrix is ​​constructed, virtual devices are generated to simulate the operating status of the physical devices, and a control scenario is constructed based on the virtual devices to debug the environmental control system.

Benefits of technology

This improves the comprehensiveness and accuracy of environmental control system commissioning, avoids the problem of incomplete control scenario coverage caused by directly using real equipment, and enhances commissioning efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121209338A_ABST
    Figure CN121209338A_ABST
Patent Text Reader

Abstract

The invention relates to an environment control system debugging method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring point location data of each physical equipment in an environment control system; based on the point location data, constructing a data matrix of each physical device in the environmental control system; according to the data matrix, virtual equipment corresponding to each physical equipment in the environmental control system is generated, and the virtual equipment is used for simulating each running state of the corresponding physical equipment; and constructing a control scene required for debugging the environment control system based on the virtual device, and debugging the environment control system based on the control scene. In this way, the virtual devices corresponding to the physical devices can be generated according to the point location data of the physical devices in the environment control system, and then different control scenes are constructed through the virtual devices corresponding to the physical devices to debug the environment control system. Therefore, the problem of incomplete control scene coverage caused by debugging by directly using real physical equipment is avoided, and the comprehensiveness and accuracy of debugging of the environmental control system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and in particular to an environmental control system debugging method and device, electronic equipment and a storage medium. BACKGROUND

[0002] An environmental control system (short for environmental control system) is a system for monitoring and adjusting specific environmental parameters. It realizes real-time monitoring and dynamic adjustment of environmental parameters through sensors, communication technology and automatic control technology, ensuring that equipment or places are in an optimal operating state, and is therefore widely used in industrial production, intelligent buildings and data centers.

[0003] Currently, an environmental control system needs to be debugged before actual use to ensure that the environmental control system can meet the control requirements in different control scenarios. However, the existing debugging method is usually to connect real physical equipment for debugging. However, due to the large number of types and quantities of equipment involved in the environmental control system, and the different communication protocols, internal logic and use environments of each equipment, it is difficult to cover the verification requirements in various different control scenarios, especially the verification requirements in extreme control scenarios. Therefore, how to cover the verification requirements of the environmental control system in various different control scenarios has become a technical problem to be solved. SUMMARY

[0004] The present application provides an environmental control system debugging method, device, electronic equipment and storage medium to solve the problem that the existing debugging method cannot cover the verification requirements in various different control scenarios.

[0005] In a first aspect, the embodiments of the present application provide an environmental control system debugging method, which comprises:

[0006] Obtaining point position data of each physical device in the environmental control system;

[0007] Based on the point position data, a data matrix of each physical device in the environmental control system is constructed;

[0008] According to the data matrix, a virtual device corresponding to each physical device in the environmental control system is generated, wherein the virtual device is used to simulate each operating state of the corresponding physical device;

[0009] Based on the virtual device, a control scenario required for debugging the environmental control system is constructed, and the environmental control system is debugged based on the control scenario.

[0010] Optionally, based on the point position data, the data matrix of each physical device in the environmental control system is constructed, comprising:

[0011] Cleaning the point position data;

[0012] The cleaned point data is denoised;

[0013] The denoised point data is normalized;

[0014] The normalized point data is stored in a preset format to construct the data matrix, wherein different rows in the data matrix represent different points of the corresponding physical device, and different columns represent different collection times of the data collected for each point.

[0015] Optionally, the generating of the virtual device corresponding to each physical device in the environmental control system according to the data matrix comprises:

[0016] A plurality of weight matrices pre-set for a target physical device are obtained, wherein the target physical device is any physical device in the environmental control system, the plurality of weight matrices correspond one-to-one to a plurality of operating states of the target physical device, and each weight matrix in the plurality of weight matrices represents the importance between different points in the corresponding operating state;

[0017] The optimal data matrix of the target physical device in each operating state is determined according to the data matrix and the plurality of weight matrices;

[0018] The target physical device is state-modeled based on the optimal data matrix of the target physical device in each operating state to obtain the virtual device corresponding to the target physical device.

[0019] Optionally, the state-modeling of the target physical device based on the optimal data matrix of the target physical device in each operating state to obtain the virtual device corresponding to the target physical device comprises:

[0020] The linkage relationship between different points of the target physical device is constructed based on the optimal data matrix of the target physical device in each operating state;

[0021] The device behavior of the target physical device is optimized using the linkage relationship and a preset dynamic programming algorithm;

[0022] The device behavior of the optimized target physical device is state-modeled to obtain the virtual device corresponding to the target physical device.

[0023] Optionally, the construction of the control scene required for debugging the environmental control system based on the virtual device comprises:

[0024] The operating state of each physical device in the environmental control system is virtually displayed based on the virtual device;

[0025] The user selects the operation of each physical device, and a control scenario required for debugging the environmental control system is constructed based on the selection operation.

[0026] Optionally, the debugging of the environmental control system based on the control scenario comprises:

[0027] A test environment condition for debugging the environmental control system is constructed based on the control scenario, wherein different test environment conditions correspond to different test cases.

[0028] The test case corresponding to the test environment condition is executed, and the environmental control system is debugged according to the execution result of the test case.

[0029] Optionally, the method further comprises:

[0030] During the debugging of the environmental control system, an abnormal virtual device is located and optimized.

[0031] In a second aspect, the embodiments of the present application further provide an environmental control system debugging device, which comprises:

[0032] An acquisition module is configured to acquire point data of each physical device in the environmental control system.

[0033] A construction module is configured to construct a data matrix of each physical device in the environmental control system based on the point data.

[0034] A generation module is configured to generate a virtual device corresponding to each physical device in the environmental control system according to the data matrix, wherein the virtual device is used to simulate each operation state of the corresponding physical device.

[0035] A debugging module is configured to construct a control scenario required for debugging the environmental control system based on the virtual device, and debug the environmental control system based on the control scenario.

[0036] In a third aspect, the embodiments of the present application further provide an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the environmental control system debugging method of the first aspect.

[0037] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the environmental control system debugging method of the first aspect.

[0038] Compared with the prior art, the technical scheme provided by the embodiments of the present application has the following advantages: the method provided by the embodiments of the present application obtains point position data of each physical device in the environmental control system; a data matrix of each physical device in the environmental control system is constructed based on the point position data; a virtual device corresponding to each physical device in the environmental control system is generated according to the data matrix, wherein the virtual device is used to simulate each operating state of the corresponding physical device; a control scenario required for debugging the environmental control system is constructed based on the virtual device, and the environmental control system is debugged based on the control scenario. In this way, the virtual device corresponding to each physical device can be generated according to the point position data of each physical device in the environmental control system, and then each different control scenario is constructed by using the virtual device corresponding to each physical device to debug the environmental control system, thereby avoiding the problem that the control scenario is not fully covered when the real physical device is directly used for debugging, and improving the comprehensiveness and accuracy of the environmental control system debugging. BRIEF DESCRIPTION OF DRAWINGS

[0039] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate one embodiment consistent with the present application and, together with the description, serve to explain the principles of the application.

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without any creative labor.

[0041] One or more embodiments are exemplarily illustrated by pictures in the drawings corresponding thereto, 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.

[0042] Figure 1 A flowchart of an environmental control system debugging method provided by the embodiments of the present application;

[0043] Figure 2 A flowchart of constructing and optimizing a data matrix provided by the embodiments of the present application;

[0044] Figure 3 A flowchart of generating and using a virtual device provided by the embodiments of the present application;

[0045] Figure 4 A structural diagram of an environmental control system debugging device provided by the embodiments of the present application;

[0046] Figure 5A structural schematic diagram of an electronic device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0047] 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 described below in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only 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 a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0048] 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 in the present application. Such repetition is for the purpose of simplification and clarity, and does not itself indicate a relationship between the various embodiments and / or settings discussed.

[0049] In order to solve the problem that the existing debugging method is difficult to cover the verification requirements in various different control scenarios, the present application provides a HVAC system debugging method, device, electronic device and storage medium, which can realize the coverage of the verification requirements of the HVAC system in various different control scenarios.

[0050] Referring to Figure 1 , Figure 1 A flowchart of a HVAC system debugging method is provided for an embodiment of the present application. As shown in Figure 1 , the HVAC system debugging method can include the following steps:

[0051] Step S101, acquiring point data of each physical device in the HVAC system.

[0052] Specifically, the physical device refers to a real hardware device contained in the environmental system. The number and type of the physical device can be set according to the actual needs of the HVAC system, for example, the physical device can be an air conditioning unit, a circulating fan, a humidifier, various sensors and the like. The point data refers to the data collected by different points of each physical device, such as the on-off state, wind speed, and head shaking function of the circulating fan, the operating mode, operating frequency, wind speed, and temperature of the air conditioning unit.

[0053] When the point position data of the physical devices in the environmental control system is acquired, the points of the physical devices can be accessed through hardware interfaces such as a 485 interface, a universal serial bus (USB) interface, or the like, or software interfaces such as an application programming interface (API) and the like, so as to acquire the point position data of the physical devices.

[0054] In step S102, a data matrix of the physical devices in the environmental control system is constructed based on the point position data.

[0055] Specifically, the data matrix refers to a matrix for storing the point position data of a physical device. The number of the data matrices corresponds to the number of the physical devices. For example, assuming that the physical devices in an environmental control system include an air conditioning unit, a circulating fan, a humidifier and the like, the corresponding data matrices of the air conditioning unit, the circulating fan and the humidifier can be constructed.

[0056] In step S103, a virtual device corresponding to each physical device in the environmental control system is generated according to the data matrix, wherein the virtual device is used to simulate each operating state of the corresponding physical device.

[0057] Specifically, the virtual device refers to a device simulated according to the data matrix of each physical device. The virtual device is used to simulate each operating state of the corresponding physical device, such as the operating state of the circulating fan from 0 gear to 1 gear, the operating state of the circulating fan when it is faulty, and the like.

[0058] When the virtual device corresponding to each physical device is generated, the key features and the correlation of each point of each physical device in different operating states can be extracted based on the data matrix of each physical device, and then each operating state of each physical device can be simulated according to the key features and the correlation of each point, and the virtual device can be obtained.

[0059] In step S104, a control scene required for debugging the environmental control system is constructed based on the virtual device, and the environmental control system is debugged based on the control scene.

[0060] After the virtual device corresponding to each physical device is acquired, a plurality of control scenes required for debugging the environmental control system can be constructed based on the virtual device corresponding to each physical device, and the environmental control system is debugged based on the constructed control scenes.

[0061] In this way, the virtual devices corresponding to the physical devices can be generated according to the point data of the physical devices in the environmental control system, and then the different control scenes can be constructed by using the virtual devices corresponding to the physical devices to debug the environmental control system, thereby avoiding the problem that the control scenes are not fully covered when the real physical devices are directly used for debugging, and improving the comprehensiveness and accuracy of the debugging of the environmental control system.

[0062] In an optional embodiment, the step S102 of constructing the data matrix of the physical devices in the environmental control system based on the point data comprises:

[0063] cleaning the point data;

[0064] denoising the cleaned point data;

[0065] normalizing the denoised point data;

[0066] storing the normalized point data in a preset format to construct the data matrix, wherein different rows in the data matrix are used to represent different points of the corresponding physical devices, and different columns are used to represent different collection times of the data collection of the points.

[0067] Specifically, when constructing the data matrix of the physical devices, the point data of the physical devices can be cleaned, that is, the data is arranged and labeled by a certain method and tool to form a "clean" data suitable for a specific scene. Then the cleaned point data is denoised, that is, the noise in the data is removed to eliminate the randomness and unpredictability in the data. Then the denoised point data is normalized, that is, the data is scaled to a specific range, usually between 0 and 1, to eliminate the influence of abnormal values and extreme values in the data, so that the data is more stable and reliable. Then the normalized point data is stored in a preset format to construct the data matrix. Different rows in the data matrix can represent different points of the corresponding physical devices, and different columns can represent different collection times of the data collection of the points. For example, for the data matrix of the air conditioning unit, different rows can represent running models, air outlet speed, air outlet temperature, running frequency, etc., and different columns can represent different collection times such as 5 seconds, 10 seconds, 15 seconds, etc.

[0068] In this way, the data matrix of the physical devices in the environmental control system can be accurately constructed, and the virtual devices of the physical devices can be simulated based on the data matrix of the physical devices in the environmental control system.

[0069] In an optional embodiment, the step S103 of generating the virtual devices corresponding to the physical devices in the environmental control system according to the data matrix comprises:

[0070] a plurality of weight matrices corresponding to the target physical device, wherein each weight matrix in the plurality of weight matrices is used to represent the importance between different points in a corresponding operating state of the target physical device;

[0071] According to the data matrix and the plurality of weight matrices, an optimal data matrix of the target physical device in each operating state is determined.

[0072] Based on the optimal data matrix of the target physical device in each operating state, state modeling is performed on the target physical device to obtain a virtual device corresponding to the target physical device.

[0073] Specifically, when generating a virtual device corresponding to a physical device in the environmental control system, a plurality of weight matrices preset for the physical device can be obtained. The plurality of weight matrices preset can be determined according to human experience or experimental data, and the present application does not make specific limitations. Then, according to the data matrix and the plurality of weight matrices, calculation and sorting can be performed to filter out key data and eliminate redundant data, so as to determine the optimal data matrix of the physical device in each operating state. Then, based on the optimal data matrix of the physical device in each operating state, state modeling can be performed on the target physical device to obtain a virtual device corresponding to the physical device.

[0074] In the above manner, a virtual device corresponding to each physical device can be generated according to the data matrix of each physical device, which facilitates subsequent construction of a control scene required for debugging the environmental control system based on the virtual device corresponding to each physical device.

[0075] In an optional embodiment, the above step of modeling the state of the target physical device based on the optimal data matrix of the target physical device in each operating state to obtain a virtual device corresponding to the target physical device comprises:

[0076] Based on the optimal data matrix of the target physical device in each operating state, a linkage relationship between different points of the target physical device is constructed.

[0077] The device behavior of the target physical device is optimized by using the linkage relationship and a preset dynamic programming algorithm.

[0078] The device behavior of the optimized target physical device is modeled to obtain a virtual device corresponding to the target physical device.

[0079] Specifically, the linkage relationship between different points of the target physical device can be constructed based on the optimal data matrix of the target physical device in each operating state, and then the device behavior of the target physical device is optimized by using the linkage relationship and a preset dynamic programming algorithm (similar to the divide-and-conquer method, the basic idea of which is to divide the problem to be solved into several sub-problems), and then the state modeling of the optimized device behavior of the target physical device is performed to obtain the virtual device corresponding to the target physical device.

[0080] For example, when the virtual device "circulating fan" is turned on, it will produce consistent linkage changes with the real "circulating fan", such as changes in the values of the wind speed parameter and the head shaking parameter, so as to truly reflect the actual operating state of the real "circulating fan".

[0081] In this way, the target physical device can be state-modeled based on the optimal data matrix of the target physical device in each operating state, so as to obtain the virtual device corresponding to the target physical device.

[0082] In an optional embodiment, the step S104 of constructing the control scene required for debugging the environmental control system based on the virtual device includes:

[0083] The operating state of each physical device in the environmental control system is virtually displayed based on the virtual device;

[0084] The user's selection operation on the operating state of each physical device is received, and the control scene required for debugging the environmental control system is constructed based on the selection operation.

[0085] Specifically, when constructing the control scene required for debugging the environmental control system, the operating state of each physical device can be virtually displayed based on the virtual device corresponding to each physical device, and the user's selection operation on the operating state of each physical device can be received, and the control scene required for debugging the environmental control system can be constructed based on the selection operation. That is, the virtual device corresponding to each physical device can be displayed on the user interface, and the user can select the operating state of each virtual device as needed to build the control scene.

[0086] For example, assuming that in the intelligent incubation environmental control system, it is necessary to simulate the reproduction effect of the colony in a high-temperature and high-humidity environment, the virtual device corresponding to the air conditioner can be selected as full-frequency operation in heating mode, and the virtual device corresponding to the humidifier can be selected as full-frequency operation; it is necessary to simulate the reproduction effect of the colony in a low-temperature and low-humidity environment, the virtual device corresponding to the air conditioner can be selected as full-frequency operation in cooling mode, and the virtual device corresponding to the humidifier can be selected as low-frequency operation, etc.

[0087] In this way, the running states of the virtual devices can be selected, all required control scenes can be constructed, and the verification needs of the environmental control system under various control scenes can be covered.

[0088] In an optional embodiment, the step S104 of debugging the environmental control system based on the control scene comprises:

[0089] Based on the control scene, a test environment working condition for debugging the environmental control system is constructed, wherein different test environment working conditions correspond to different test cases.

[0090] The test case corresponding to the test environment working condition is executed, and the environmental control system is debugged according to the execution result of the test case.

[0091] Specifically, when the environmental control system is debugged based on the control scene, the test environment working condition for debugging the environmental control system can be constructed based on the constructed control scene, then the test case corresponding to the test environment working condition is executed, and the environmental control system is debugged according to the execution result of the test case. Specifically, if the execution result of the test case does not match the expected result, it means that the running state or point position control logic of the related virtual device needs to be adjusted; if the execution result of the test case matches the expected result, it means that the running state or point position control logic of the related virtual device does not need to be adjusted. In this way, the environmental control system can meet the actual control needs.

[0092] In an optional embodiment, the method further comprises:

[0093] During the debugging of the environmental control system, an abnormal virtual device is located and optimized.

[0094] Specifically, during the debugging of the environmental control system, an abnormal virtual device can also be located and optimized, such as adjusting the data matrix of the abnormal virtual device, so that the simulation process of the virtual device is closer to the real device.

[0095] In the prior art, the commissioning of the environmental control system requires connecting a large number of different types of physical devices to the controller to achieve centralized control. Because the communication protocols, internal logic, and use environments of different physical devices are different, the commissioning process is relatively responsible. Moreover, the virtual device data on the market is generated according to the front-end request, and the simulated data is randomly generated according to the collected data, which leads to the unavailability of part of the internal logic parameters of the virtual device, and further leads to the difficulty of the virtual device in replacing the real device for commissioning. In order to solve the above problems, in an optional embodiment, a commissioning device is provided. Only the real physical device is connected to the commissioning device in sequence, and the commissioning device will collect and process the point data reported by each physical device. The processing process is mainly to arrange the data to a data matrix, and the data matrix will arrange the characteristic value of the physical device according to the device data linkage relationship and key data. Moreover, the commissioning device can use the analytic hierarchy process to generate virtual devices corresponding to each physical device to meet the commissioning needs of users. The virtual device can also simulate the internal logic linkage of the physical device, realize reasonable simulation data, and fit the environmental control site, thereby improving the commissioning efficiency. For example, the circulating fan is a common device in the environmental control system. The effect of the virtual device on the market is that the upper computer issues a start command to it, and the virtual device only returns the start data after receiving the start instruction, and the rest of the data such as wind speed and head shaking parameters are randomly generated, that is, it may not conform to the internal logic linkage of the circulating fan. The virtual device provided in the embodiment of the present application will report the wind speed, head shaking function and other parameters together after receiving the start command issued by the upper computer, and the wind speed is also simulated from small to large to simulate the process of the real circulating fan from slow to fast. In addition, the virtual device of the embodiment of the present application can simulate the normal operating state and the extreme state of the physical device, so that the user can choose to commission in the normal operating state or in the overload state.

[0096] The debugging device can include a data acquisition module, a data preprocessing module, a data matrix construction module, a device simulation module, a test and verification module, etc. Among them, the data acquisition module can be used to collect real-time running data of each physical device in the environmental control system, including sensor data, device state data, etc. The data preprocessing module can clean, denoise and normalize the collected raw data to ensure the accuracy and consistency of the data. The data matrix construction module can organize the preprocessed data into a structured data matrix, which is convenient for subsequent modeling and analysis. The device simulation module can simulate the behavior of each physical device in actual operation based on the dynamic programming algorithm, simulate the behavior of each physical device in actual operation (i.e. state modeling), and generate corresponding virtual devices. Further, based on each virtual device, a control scenario is constructed, and the environmental control system is debugged through different control scenarios to achieve closed-loop debugging and feedback optimization, as shown in

[0097] The process of debugging with the debugging device is as follows: First, access the real physical device, and the data acquisition module of the debugging device collects the point data of each physical device in real time through sensors, controllers and other devices. Since the collected raw data may have noise, outliers or missing values, the collected point data needs to be preprocessed. Data cleaning is to remove outliers and missing values to ensure data integrity and consistency. Denoising is to remove noise in the data through filtering to improve data accuracy. Normalization is to convert data of different dimensions to the same scale range for subsequent analysis and modeling. After data preprocessing, the data is organized into a structured data matrix. In the data matrix, each row represents a point, and each column represents a time point. Then, the importance and relevance of the data in the data matrix can be sorted by the analytic hierarchy process to highlight key data and reduce redundant data, optimizing the data matrix of each physical device, thereby extracting features that have a greater impact on the environmental control system, further improving the analysis efficiency and accuracy of the data matrix, as shown in Figure 2 Then the device simulation module can simulate the running logic of each physical device based on the dynamic programming algorithm to simulate the behavior of the physical device in actual operation (i.e. state modeling), generating corresponding virtual devices. Further, based on each virtual device, a control scenario is constructed, and the environmental control system is debugged through different control scenarios to achieve closed-loop debugging and feedback optimization, as shown in Figure 3

[0098] ​Through the screen of the debugging device, the user can see the display effect of the data generated by the virtual device on the host computer, which is completely consistent with the display effect on the host computer after the real device is accessed. This consistency not only reflects in the numerical value of the data, but also reflects in the linkage relationship of the internal logic of the device. For example, when the virtual device "circulating fan" is turned on, the host computer interface will display the linkage changes consistent with the real device in real time, such as the values of the wind speed parameter and the shaking head parameter will also change, thereby truly reflecting the actual running state of the device. Of course, the user can also adjust the state of the virtual device according to the user's own debugging purpose, so that the virtual device automatically adjusts the state to the corresponding target state. For example, the user can choose to adjust the virtual device from the "normal working state" to the "extreme working state". After the adjustment is completed, the screen of the debugging device will intuitively display the switching of the device state, for example, the device icon changes from green to red, indicating that the device has entered the extreme working state. This visual switching not only facilitates the user to intuitively understand the change of the device state, but also helps the user to more efficiently complete the debugging and testing tasks.

[0099] It can be seen that the debugging device provided by the embodiment of the present application can achieve the following effects:

[0100] (1) Improve data simulation accuracy: by constructing the data matrix of each physical device, and then accurately capturing the characteristics of each physical device and performing multi-dimensional data analysis based on the data matrix of each physical device, the accuracy and reliability of the simulation data of each virtual device are improved.

[0101] (2) Enhance device adaptability: by user selection, the required control scene is constructed, which can simulate various fault conditions and test the fault repair capability of the system, thereby improving the stability and reliability of the system.

[0102] (3) Improve the efficiency of debugging: by virtual debugging of the environmental control system, it is beneficial to shorten the problem positioning time and improve the efficiency of debugging.

[0103] Reference Figure 4 , Figure 4 A structural schematic diagram of an environmental control system debugging device provided by an embodiment of the present application. The environmental control system debugging device 400 comprises:

[0104] The acquisition module 401 is configured to acquire the point data of each physical device in the environmental control system;

[0105] The construction module 402 is configured to construct the data matrix of each physical device in the environmental control system based on the point data;

[0106] The generation module 403 is configured to generate the virtual device corresponding to each physical device in the environmental control system according to the data matrix, wherein the virtual device is used to simulate each running state of the corresponding physical device.

[0107] The debugging module 404 is configured to construct a control scenario required for debugging the environmental control system based on the virtual device, and debug the environmental control system based on the control scenario.

[0108] Further, the constructing module 402 comprises:

[0109] The cleaning submodule is configured to clean the point data.

[0110] The denoising submodule is configured to denoise the cleaned point data.

[0111] The normalization processing submodule is configured to normalize the denoised point data.

[0112] The first constructing submodule is configured to store the normalized point data in a preset format to construct a data matrix, wherein different rows in the data matrix are used to represent different points of a corresponding physical device, and different columns are used to represent different collection times of data collected at the points.

[0113] Further, the generating module 403 comprises:

[0114] The acquisition submodule is configured to acquire a plurality of weight matrices pre-set for a target physical device, wherein the target physical device is any physical device in the environmental control system, the plurality of weight matrices correspond to a plurality of operating states of the target physical device one by one, and each weight matrix in the plurality of weight matrices is used to represent the importance between different points in the corresponding operating state.

[0115] The determination submodule is configured to determine an optimal data matrix of the target physical device in each operating state according to the data matrix and the plurality of weight matrices.

[0116] The modeling submodule is configured to model the state of the target physical device based on the optimal data matrix of the target physical device in each operating state to obtain a virtual device corresponding to the target physical device.

[0117] Further, the modeling submodule comprises:

[0118] The constructing unit is configured to construct a linkage relationship between different points of the target physical device based on the optimal data matrix of the target physical device in each operating state.

[0119] The optimization unit is configured to optimize the device behavior of the target physical device by using the linkage relationship and a preset dynamic programming algorithm.

[0120] The modeling unit is configured to model the state of the optimized device behavior of the target physical device to obtain a virtual device corresponding to the target physical device.

[0121] Further, the debugging module 404 comprises:

[0122] a display sub-module, configured to perform virtualization display on the running state of each physical device in the HVAC system based on the virtual device;

[0123] a second construction sub-module, configured to receive a selection operation of the user on the running state of each physical device, and construct a control scenario required for debugging the HVAC system based on the selection operation.

[0124] Further, the debugging module 404 further comprises:

[0125] a third construction sub-module, configured to construct a test environment condition for debugging the HVAC system based on the control scenario, wherein different test environment conditions correspond to different test cases;

[0126] a debugging sub-module, configured to execute the test case corresponding to the test environment condition, and debug the HVAC system according to the execution result of the test case.

[0127] Further, the HVAC system debugging apparatus 400 further comprises:

[0128] an optimization module, configured to locate an abnormal virtual device and optimize the abnormal virtual device in the process of debugging the HVAC system.

[0129] It should be noted that the HVAC system debugging apparatus 400 can implement the HVAC system debugging method provided by the foregoing method embodiments, and achieve the same technical effects, which will not be repeated here.

[0130] Referring to Figure 5 , the embodiment of the present application further provides an electronic device, comprising a processor 511, a communication interface 512, a memory 513 and a communication bus 514, wherein the processor 511, the communication interface 512 and the memory 513 complete mutual communication through the communication bus 514,

[0131] the memory 513 is used for storing a computer program;

[0132] In an embodiment of the present application, the processor 511 is used for executing the program stored in the memory 513, and implements the HVAC system debugging method provided by any one of the foregoing method embodiments.

[0133] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the HVAC system debugging method provided by any one of the foregoing method embodiments.

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

[0135] 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.

[0136] 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.

[0137] 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 method for debugging an environmental control system, characterized in that, The method comprises: acquiring point position data of each physical device in the environmental control system; based on the point position data, a data matrix of each physical device in the environmental control system is constructed; according to the data matrix, a virtual device corresponding to each physical device in the environmental control system is generated, wherein the virtual device is used to simulate each operating state of the corresponding physical device; based on the virtual device, a control scenario required for debugging the environmental control system is constructed, and the environmental control system is debugged based on the control scenario.

2. The method of claim 1, wherein, The data matrix of each physical device in the environmental control system is constructed based on the point position data, which comprises: cleaning the point position data; denoising the cleaned point position data; normalizing the denoised point position data; storing the normalized point position data in a predetermined format to construct the data matrix, wherein different rows in the data matrix represent different point positions of the corresponding physical device, and different columns represent different data collection times for each point position.

3. The method of claim 2, wherein, According to the data matrix, a virtual device corresponding to each physical device in the environmental control system is generated, which comprises: obtaining a plurality of weight matrices pre-set for a target physical device, wherein the target physical device is any physical device in the environmental control system, the plurality of weight matrices correspond one-to-one to a plurality of operating states of the target physical device, and each weight matrix in the plurality of weight matrices represents the importance between different point positions in the corresponding operating state; determining the optimal data matrix of the target physical device under each operating state according to the data matrix and the plurality of weight matrices; based on the optimal data matrix of the target physical device under each operating state, state modeling is performed on the target physical device to obtain a virtual device corresponding to the target physical device.

4. The method of claim 3, wherein, Based on the optimal data matrix of the target physical device under each operating state, state modeling is performed on the target physical device to obtain a virtual device corresponding to the target physical device, which comprises: based on the optimal data matrix of the target physical device under each operating state, a linkage relationship between different point positions of the target physical device is constructed; using the linkage relationship and a predetermined dynamic programming algorithm, the device behavior of the target physical device is optimized; state modeling is performed on the optimized device behavior of the target physical device to obtain a virtual device corresponding to the target physical device.

5. The method of claim 1, wherein, Based on the virtual device, a control scenario required for debugging the environmental control system is constructed, which comprises: based on the virtual device, the operating state of each physical device in the environmental control system is virtually displayed; receiving a selection operation of the user on the operating state of each physical device, and based on the selection operation, a control scenario required for debugging the environmental control system is constructed.

6. The method of claim 1, wherein, Based on the control scenario, the environmental control system is debugged, which comprises: based on the control scenario, a test environment condition for debugging the environmental control system is constructed, wherein different test environment conditions correspond to different test cases; A test case corresponding to the test environment condition is executed, and the environmental control system is debugged according to an execution result of the test case.

7. The method of claim 1, wherein, The method further comprises: In the process of debugging the environmental control system, an abnormal virtual device is located and optimized.

8. An environmental control system commissioning device, characterized by, The device comprises: An acquisition module configured to acquire point position data of each physical device in the environmental control system; A construction module configured to construct a data matrix of each physical device in the environmental control system based on the point position data; A generation module configured to generate a virtual device corresponding to each physical device in the environmental control system according to the data matrix, wherein the virtual device is used to simulate each operating state of the corresponding physical device; A debugging module configured to construct a control scenario required for debugging the environmental control system based on the virtual device, and debug the environmental control system based on the control scenario.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the environmental control system debugging method of any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the environmental control system debugging method of any one of claims 1-7.