Method and system for generating air conditioning equipment monitoring interface
Through the air conditioning equipment monitoring interface generation method and system, the interface is automatically generated to adapt to customer needs, which solves the problem of frequent repeated development of interfaces in the existing technology, reduces system maintenance costs, and improves the efficiency of interface upgrades.
Patent Information
- Application Number
- CN202110324194.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-03-26
AI Technical Summary
The existing air conditioning equipment monitoring interface requires frequent and repeated development when customer needs change, resulting in an increase in customized development and high system maintenance costs.
A method and system for generating an air-conditioning equipment monitoring interface are provided. By determining the target interface, obtaining new pages and configuring based on the page configuration information, the air-conditioning equipment monitoring interface is automatically generated, thereby reducing the cost of later system maintenance.
It realizes the automatic generation of air conditioning equipment monitoring interface according to different customer needs, reduces system maintenance costs, avoids customized development, improves the efficiency of interface upgrades and maintenance, and reduces dependence on developers.
Smart Images

Figure CN112925518B
Abstract
Description
Technical Field
[0001] The invention relates to the field of interface generation, and in particular to a method and system for generating a monitoring interface for air conditioning equipment. Background Art
[0002] In the actual use or maintenance of the central air-conditioning system, the existing solution involves repeated development of the air-conditioning equipment monitoring interface, which does not meet the customer's requirements or changes due to different customers. This process involves many people and requires the participation of developers, resulting in a large amount of customized development, difficulty in interface upgrades, and high system maintenance costs in the later stage. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for generating an air conditioning equipment monitoring interface, which automatically generates an air conditioning equipment monitoring interface according to different customer requirements for the air conditioning equipment monitoring interface, and publishes it for operation, thereby reducing the cost of subsequent system maintenance.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A method for generating a monitoring interface of an air conditioning device, comprising:
[0006] Determine the target interface;
[0007] Get the newly added page;
[0008] Determine page configuration information according to the target interface;
[0009] The newly added page is configured and run according to the page configuration information to generate a target interface.
[0010] Optionally, determining page configuration information according to the target interface specifically includes:
[0011] Initialize components;
[0012] Obtain a page configuration file, and initialize a page configuration tree using the page configuration file;
[0013] Page configuration information is determined based on the page configuration tree.
[0014] Optionally, the components include files, buttons, pictures and other components.
[0015] The present invention also provides an air conditioning equipment monitoring interface generation system, comprising:
[0016] Configuration module, used to determine page configuration information;
[0017] The running module is used to generate a target interface according to the page configuration information.
[0018] Optionally, the workflow of the configuration module includes:
[0019] S101: Initialize components;
[0020] S102: Read the page configuration file and initialize the page configuration tree through the configuration file;
[0021] S103: Determine whether to add a new page; if so, execute step S105; if not, execute step S104;
[0022] S104: Determine whether an existing page is selected, if yes, execute step S106, if no, execute step S107;
[0023] S105: Create a new blank page;
[0024] S106: Select components to configure the page;
[0025] S107: Determine whether to exit the software; if so, execute step S108, if not, execute step S106;
[0026] S108: Save all pages to the configuration file.
[0027] Optionally, the workflow of the operation module includes:
[0028] S201: Read the page structure configuration file in the configuration folder and initialize the page structure information;
[0029] S202: Determine whether the current page is loaded; if so, execute step S204; if not, execute step S203;
[0030] S203: Read the configuration file of the current page, initialize the current page, and establish a corresponding relationship between signals and slots for each component in the page, marking that the current page has been loaded;
[0031] S204: Determine whether a control in the current page is clicked; if so, execute step S207; if not, execute step S205;
[0032] S205: Determine whether the 500 milliseconds refresh interface time has arrived; if so, execute step S206; if not, execute step S204;
[0033] S206: regularly updating the display information of each component in the current page;
[0034] S207: Determine whether to close the software; if so, end; if not, execute step S208;
[0035] S208: Determine whether it is a flowchart jump; if so, execute step S211, if not, execute step S209;
[0036] S209: Determine whether it is an attribute value setting; if so, execute step S212; if not, execute step S210;
[0037] S210: Determine whether it is a pop-up window; if so, execute step S213; if not, execute step S202;
[0038] S211: specify the page associated with the component as the current page, and execute step S202;
[0039] S212: Set the current value of the current component associated attribute and execute step S202;
[0040] S213: Display the pop-up page and determine whether the pop-up window loses the mouse focus; if so, execute step S214; otherwise, respond to the events associated with each component on the page and continue to determine;
[0041] S214: Close the pop-up window and execute step S202.
[0042] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0043] The method disclosed in the present invention comprises: determining a target interface; obtaining a newly added page; determining page configuration information according to the target interface; configuring and running the newly added page according to the page configuration information to generate a target interface. The present invention can automatically generate an air conditioning equipment monitoring interface according to different customer requirements for the air conditioning equipment monitoring interface, and publish and run it, thereby reducing the cost of later system maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 A flow chart of a method for generating a monitoring interface for an air conditioning device according to an embodiment of the present invention;
[0046] Figure 2 A structural diagram of an air conditioning equipment monitoring interface generation system according to an embodiment of the present invention;
[0047] Figure 3 It is the workflow diagram of the configuration module;
[0048] Figure 4 This is the workflow diagram for running the module. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] The purpose of the present invention is to provide a method and system for generating an air conditioning equipment monitoring interface, which automatically generates an air conditioning equipment monitoring interface according to different customer requirements for the air conditioning equipment monitoring interface, and publishes it for operation, thereby reducing the cost of subsequent system maintenance.
[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] like Figure 1 As shown, a method for generating an air conditioning equipment monitoring interface includes the following steps:
[0053] Step 1: Determine the target interface.
[0054] Step 2: Get the newly added page.
[0055] Step 3: Determine page configuration information according to the target interface. Specifically, it includes: initializing components; obtaining page configuration files, initializing page configuration trees through the page configuration files; determining page configuration information based on the page configuration trees. The components include files, buttons, pictures and other components.
[0056] Step 4: Configure and run the newly added page according to the page configuration information to generate a target interface.
[0057] like Figure 2 As shown, the present invention also provides an air conditioning equipment monitoring interface generation system, comprising:
[0058] Configuration module, used to determine page configuration information.
[0059] The running module is used to generate a target interface according to the page configuration information.
[0060] The configuration module and the operation module are two submodules that run independently and interact through configuration files (XML). You can add n pages to the configuration module and configure the required interface. Click Save, and the configuration module saves the page configuration information to the configuration file. Start the operation module, and the operation module reads the configuration file in the configuration folder, generates the corresponding page according to the configuration file, and runs it.
[0061] like Figure 3 As shown, the configuration module workflow is as follows:
[0062] S101: Initialize components;
[0063] S102: Read the page configuration file and initialize the page configuration tree through the configuration file;
[0064] S103: Determine whether to add a new page; if so, execute step S105; if not, execute step S104;
[0065] S104: Determine whether an existing page is selected, if yes, execute step S106, if no, execute step S107;
[0066] S105: Create a new blank page;
[0067] S106: Select components to configure the page;
[0068] S107: Determine whether to exit the software; if so, execute step S108, if not, execute step S106;
[0069] S108: Save all pages to the configuration file.
[0070] like Figure 4 As shown, the workflow of the operation module includes:
[0071] S201: Read the page structure configuration file in the configuration folder and initialize the page structure information;
[0072] S202: Determine whether the current page is loaded; if so, execute step S204; if not, execute step S203;
[0073] S203: Read the configuration file of the current page, initialize the current page, and establish a corresponding relationship between signals and slots for each component in the page, marking that the current page has been loaded;
[0074] S204: Determine whether a control in the current page is clicked; if so, execute step S207; if not, execute step S205;
[0075] S205: Determine whether the 500 milliseconds refresh interface time has arrived; if so, execute step S206; if not, execute step S204;
[0076] S206: regularly updating the display information of each component in the current page;
[0077] S207: Determine whether to close the software; if so, end; if not, execute step S208;
[0078] S208: Determine whether it is a flowchart jump; if so, execute step S211, if not, execute step S209;
[0079] S209: Determine whether it is an attribute value setting; if so, execute step S212; if not, execute step S210;
[0080] S210: Determine whether it is a pop-up window; if so, execute step S213; if not, execute step S202;
[0081] S211: specify the page associated with the component as the current page, and execute step S202;
[0082] S212: Set the current value of the current component associated attribute and execute step S202;
[0083] S213: Display the pop-up page and determine whether the pop-up window loses the mouse focus; if so, execute step S214; otherwise, respond to the events associated with each component on the page and continue to determine;
[0084] S214: Close the pop-up window and execute step S202.
[0085] The present invention completes the presentation of the air conditioning equipment monitoring interface under different requirements in the form of configuration. The interface is easy to upgrade and maintain without the participation of developers. Through the two modules of configuration and operation, better separation of system debugging and operation is achieved. The presentation of the air conditioning equipment monitoring interface can be completed by configuration according to different customers and different requirements, and it can be modified at any time without the need for compilation and release. Without the participation of developers, the development of customized interfaces is eliminated, the efficiency of modifying the air conditioning equipment monitoring interface is improved, and the cost of later system maintenance is greatly reduced.
[0086] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0087] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for generating a monitoring interface of an air conditioning device, It is characterized in that include: Determine the target interface; Get the newly added page; Determine page configuration information according to the target interface; Configure and run the newly added page according to the page configuration information to generate a target interface; Specifically include: S201: Read the page structure configuration file in the configuration folder and initialize the page structure information; S202: Determine whether the current page is loaded; if so, execute step S204; if not, execute step S203; S203: Read the configuration file of the current page, initialize the current page, and establish a corresponding relationship between signals and slots for each component in the page, marking that the current page has been loaded; S204: Determine whether a control in the current page is clicked; if so, execute step S207; if not, execute step S205; S205: Determine whether the 500 milliseconds refresh interface time has arrived; if so, execute step S206; if not, execute step S204; S206: regularly updating the display information of each component in the current page; S207: Determine whether to close the software; if so, end; if not, execute step S208; S208: Determine whether it is a flowchart jump; if so, execute step S211, if not, execute step S209; S209: Determine whether it is an attribute value setting; if so, execute step S212; if not, execute step S210; S210: Determine whether it is a pop-up window; if so, execute step S213; if not, execute step S202; S211: specify the page associated with the component as the current page, and execute step S202; S212: Set the current value of the current component associated attribute and execute step S202; S213: Display the pop-up page and determine whether the pop-up window loses the mouse focus; if so, execute step S214; otherwise, respond to the events associated with each component on the page and continue to determine; S214: Close the pop-up window and execute step S202.
2. The method for generating an air conditioning equipment monitoring interface according to claim 1, It is characterized in that The determining of the page configuration information according to the target interface specifically includes: Initialize components; Obtain a page configuration file, and initialize a page configuration tree using the page configuration file; Page configuration information is determined based on the page configuration tree.
3. The method for generating an air conditioning equipment monitoring interface according to claim 1, It is characterized in that The components include files, buttons and pictures.
4. A system for generating an air conditioning equipment monitoring interface, It is characterized in that include: Configuration module, used to determine page configuration information; An operation module is used to generate a target interface according to the page configuration information; The workflow of the operation module includes: S201: Read the page structure configuration file in the configuration folder and initialize the page structure information; S202: Determine whether the current page is loaded; if so, execute step S204; if not, execute step S203; S203: Read the configuration file of the current page, initialize the current page, and establish a corresponding relationship between signals and slots for each component in the page, marking that the current page has been loaded; S204: Determine whether a control in the current page is clicked; if so, execute step S207; if not, execute step S205; S205: Determine whether the 500 milliseconds refresh interface time has arrived; if so, execute step S206; if not, execute step S204; S206: regularly updating the display information of each component in the current page; S207: Determine whether to close the software; if so, end; if not, execute step S208; S208: Determine whether it is a flowchart jump; if so, execute step S211, if not, execute step S209; S209: Determine whether it is an attribute value setting; if so, execute step S212; if not, execute step S210; S210: Determine whether it is a pop-up window; if so, execute step S213; if not, execute step S202; S211: specify the page associated with the component as the current page, and execute step S202; S212: Set the current value of the current component associated attribute and execute step S202; S213: Display the pop-up page and determine whether the pop-up window loses the mouse focus; if so, execute step S214; otherwise, respond to the events associated with each component on the page and continue to determine; S214: Close the pop-up window and execute step S202.
5. The air conditioning equipment monitoring interface generation system according to claim 4, It is characterized in that The workflow of the configuration module includes: S101: Initialize components; S102: Read the page configuration file and initialize the page configuration tree through the configuration file; S103: Determine whether to add a new page; if so, execute step S105; if not, execute step S104; S104: Determine whether an existing page is selected, if yes, execute step S106, if no, execute step S107; S105: Create a new blank page; S106: Select components to configure the page; S107: Determine whether to exit the software; if so, execute step S108, if not, execute step S106; S108: Save all pages to the configuration file.
Citation Information
Patent Citations
Dynamic generating device for client end interface and dynamic generating method for client end interface
CN103488479A
Method and system for loading pop-up window control
CN106648715A
Page processing method, mobile terminal and readable storage medium
CN110516187A
Page template configuration control method and device, computer equipment and storage medium
CN110674441A
Spaceflight test launch control assembly dynamic assembly method and system
CN111142869A
