CN105159665B - A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface - Google Patents

A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface Download PDF

Info

Publication number
CN105159665B
CN105159665B CN201510481316.1A CN201510481316A CN105159665B CN 105159665 B CN105159665 B CN 105159665B CN 201510481316 A CN201510481316 A CN 201510481316A CN 105159665 B CN105159665 B CN 105159665B
Authority
CN
China
Prior art keywords
equipment
sub
interface
tree structure
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510481316.1A
Other languages
Chinese (zh)
Other versions
CN105159665A (en
Inventor
唐友志
张宜宁
宋海川
罗晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201510481316.1A priority Critical patent/CN105159665B/en
Publication of CN105159665A publication Critical patent/CN105159665A/en
Application granted granted Critical
Publication of CN105159665B publication Critical patent/CN105159665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The present invention discloses a kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface, the air-conditioner set includes at least one equipment, at least one equipment includes at least one sub- equipment, control planning between the equipment and sub- equipment is in tree structure, when drawing observation interface to any one monitoring parameters in the equipment and sub- equipment, the method includes simulation tree structure, load data, automatic drafting three, interface step are automatically analyzed.This method for drafting has the advantages that simply and easily scalability is also very strong, reduces the development cycle of monitoring of software.

Description

A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface
Technical field
The present invention relates to a kind of interface method for drafting and drawing systems, and particularly drafting air-conditioner set is set one kind automatically The method and drawing system of standby observation interface.
Background technology
When designing the monitoring of software of an air-conditioning equipment, it is found that monitored equipment may include multiple sub- equipment, mould Block and relevant monitoring item, and every sub- equipment may also include multiple modules and relevant monitoring item, in addition, each mould Block also includes relevant monitoring item, as shown in Figure 1, it is seen that tree-like there are one between equipment, sub- equipment and module Data structure.When being monitored to such air-conditioner set, the number of the observation interface needed is uncertain, needs to move The load of state;But traditional building method to monitoring of equipment interface in the air-conditioner set with tree structure is to need to set Meter personnel go addition manually, not smart enough, and later maintenance is difficult, is not easy to extend.
Invention content
In order to solve the above technical problem, the present invention provides a kind of sides at automatic drafting air-conditioner set monitoring of equipment interface Method, air-conditioner set include at least one equipment, and at least one equipment includes at least one sub- equipment, between equipment and sub- equipment Control planning be in tree structure, in equipment and sub- equipment to any one monitoring parameters draw observation interface when, method includes Simulation tree structure automatically analyzes load data, automatic drafting three, interface step.
Preferably, simulation tree structure is presented according to the control planning between monitored equipment and sub- equipment Class libraries is drawn at tree structure, interface that is simulating tree structure having the same and being capable of itself iteration.
Preferably, simulate the class of each equipment or sub- equipment in the tree structure come and monitored equipment or Sub- equipment corresponds.
Preferably, it is to add corresponding XML file in corresponding position according to demand to automatically analyze load data, class is utilized Library loads XML file corresponding with the class of equipment or sub- equipment automatically.
Preferably, equipment or sub- equipment that each needs monitors correspond to a unique XML file.
Preferably, it refers to being added in the template being already prepared to using the data in XML file to draw interface automatically Respective element draws respective interface.
The present invention also provides a kind of observation interface drawing systems comprising tree structure analog module automatically analyzes load Data module and interface module is drawn automatically.
Preferably, tree structure analog module can detect automatically in monitored air-conditioner set each equipment or sub- equipment it Between tree structure, the class libraries of an inside tree structure having the same, class are then simulated using the method for itself iteration Class in library is corresponded with each equipment in monitored tree structure or sub- equipment.
Preferably, being added in corresponding position for according to demand with automatically analyzing load data module configuration corresponding XML file, XML file corresponding with the class of equipment or sub- equipment is loaded using class libraries automatically, each XML file corresponds to one Equipment or sub- equipment.
It is used for using class libraries preferably, drawing interface module configuration ground automatically and automatically analyzes load data load XML file adds respective element in the template being already prepared to, and draws respective interface.
The method at automatic drafting air-conditioner set monitoring of equipment interface provided by the invention, can solve it is previous we needing For the difficulty encountered when each equipment or sub- one interface of equipment hand drawn.If we will construct some equipment or son is set Standby observation interface, we only need to add in the monitoring of software write by this method opposite with the equipment or sub- equipment The XML file answered has used the monitoring of software of this method after recognizing the equipment or sub- equipment, will load corresponding XML Then file calls corresponding module to add corresponding element on the substrate interface as defined in monitoring of software, automatically generating us needs The interface wanted.Meanwhile when we need to safeguard the later stage, it is only necessary to change corresponding XML file, this method for drafting has Simply and easily advantage.If necessary to extend the software, makes it the observation interface for generating other equipment or sub- equipment, only need Corresponding XML file is being added, scalability is also very strong, while reducing the development cycle of monitoring of software, can be random Increase the applicable unit equipment quantity of monitoring of software, the later maintenance cost of monitoring of software can also be reduced;And this method has There is good reusability, other software according to a tree structure dynamic generation interface if necessary to use the party Method.
Description of the drawings
Fig. 1 is the monitored equipment structure chart at automatic drafting air-conditioner set monitoring of equipment interface of the present invention;
Fig. 2 is the system flow chart at automatic drafting air-conditioner set monitoring of equipment interface of the present invention;
Fig. 3 is tree structure simulation drawing in automatic drafting air-conditioner set monitoring of equipment interface of the present invention;
Fig. 4 is the load schematic diagram data in automatic drafting air-conditioner set monitoring of equipment interface of the present invention;
Fig. 5 is to draw interface schematic diagram automatically in automatic drafting air-conditioner set monitoring of equipment interface of the present invention.
Specific implementation mode
Intention in order to better illustrate the present invention, is below in conjunction with the accompanying drawings described further the content of present invention.
The present embodiment specifically describes a kind of method at automatic drafting air-conditioner set monitoring of equipment interface, and method is mainly used for painting Observation interface of the system for each internal unit in air-conditioner set, wherein air-conditioner set includes at least one equipment, at least one to set Standby includes at least one sub- equipment, further includes at least one module at least one sub- equipment, to module in some cases Observation interface method for drafting be equal to the observation interface method for drafting of equipment or sub- equipment, will only describe below include equipment and The observation interface method for drafting of the air-conditioner set of sub- equipment, the control planning between equipment and sub- equipment is in tree structure, is being set Include mainly following three steps with reference to shown in Fig. 2 when drawing observation interface to any one monitoring parameters in standby and sub- equipment:
(1) tree structure, the tree-like knot presented according to the control planning between monitored equipment and sub- equipment are simulated Class libraries is drawn at structure, interface that is simulating tree structure having the same and being capable of itself iteration, and class libraries refers to specific in software The set of file for certain operations, class libraries simulate the class and quilt of each equipment or sub- equipment in the tree structure come The equipment of monitoring or sub- equipment correspond, and realize one-to-one drafting interface, can ensure the accurate of the drafting at interface in this way Property and stability, wherein class refer in software be specifically used for certain operations file.
(2) load data are automatically analyzed:First, corresponding XML file is added in corresponding position according to demand, each is needed The equipment to be monitored or sub- equipment correspond to a unique XML file;Then, the class simulated using the tree structure simulated Automatically load will be resolved with the class of equipment or sub- equipment corresponding to the same equipment or the XML file of sub- equipment, XML file in library And it is eventually displayed on interface, the data foundation drawn as interface;
(3) interface is drawn automatically:It is loaded using the class libraries of the tree structure simulation simulated with load data are automatically analyzed XML file, draw interface automatically, the specific steps are:It is found according to unique model of equipment or sub- equipment corresponding in class libraries Class, class is loaded with corresponding XML file, and using the data in XML file, is added in the template being already prepared to corresponding Element draws respective interface.
Include three above step when drawing the observation interface of tree structure air-conditioning equipment by using the above method, on Stating three steps can realize that respective function, air-conditioner set include at least one by the way that three modules are respectively set in air-conditioner set A equipment, at least one equipment include at least one sub- equipment, further include in some cases, at least one sub- equipment to A few module, is equal to the observation interface method for drafting of module the observation interface method for drafting of equipment or sub- equipment, below Include the observation interface method for drafting of the air-conditioner set of equipment and sub- equipment by only description, the control between equipment and sub- equipment is closed System is in tree structure, and three modules are specific as follows:
(1) tree structure analog module has the more of tree structure due to needing the equipment monitored to be one group of control planning The number of a equipment or sub- equipment, these equipment is uncertain, and in order to adapt to different situations, tree structure analog module can Automatic detection is monitored the tree structure in air-conditioner set between each equipment or sub- equipment, then utilizes the method mould of itself iteration The class libraries of an inside tree structure having the same is drawn up, the class in class libraries and each equipment in monitored tree structure Or sub- equipment corresponds, class will provide the method for drawing corresponding equipment or sub- monitoring of equipment interface, need to draw Software will call class corresponding with equipment or sub- equipment when the observation interface of certain equipment or sub- equipment.
In one embodiment, it is assumed that the tree-like knot that the equipment to be monitored is made of a total equipment and two sub- equipment Structure equipment, the class libraries for simulating such structural device are implemented as follows as shown in Figure 3, wherein tree structure analog module detects The tree structure of equipment, then simulating an inside using the method for itself iteration has the class libraries of same tree structure, should Class libraries includes parent corresponding with total equipment, subclass 1 corresponding with sub- equipment 1, subclass corresponding with sub- equipment 22.
(2) load data module is automatically analyzed:The module in corresponding position for adding corresponding XML texts according to demand Part, XML file corresponding with the class of equipment or sub- equipment is loaded using class libraries automatically, each XML file corresponds to an equipment Or sub- equipment.The module is implemented as follows as shown in Figure 4, wherein by taking the equipment of attached drawing 3 as an example, if necessary to generate " son The observation interface of equipment 1 ", automatically analyzing load data module can use in the class libraries that tree structure analog module has created Corresponding " subclass 1 " goes in XML file library to load " XML1 files ", and " XML1 files " corresponds to " sub- equipment 1 ", similar Ground automatically analyzes load data module and " parent " is used to go load " XML0 files ", and " subclass 2 " is used to remove load " XML2 texts Part ";The data of load will be used for subsequent interface and draw, in this way, software just completes automatic load data.
(3) interface module is drawn automatically:The module, which utilizes the class libraries of the tree structure simulated simulation and automatically analyzes, to be added The XML file for carrying data load adds respective element in the template being already prepared to, and draws respective interface.The tool of the module Body is realized following as shown in Figure 5, wherein by taking the equipment of attached drawing 3 as an example, if wanting the observation interface of rendering apparatus 1, at this point, soft Part can use " subclass 1 " corresponding with equipment 1 in the class libraries that tree structure analog module creates, and automatically analyze load data mould The XML file of block load, adds corresponding element in the template being already prepared to, and ultimately generates the monitoring device of our needs 1 interface 1 similarly can also generate the interface 0 for monitoring total equipment and the interface 2 of monitoring device 2.
Embodiment of the present invention is only the description carried out to the preferred embodiment of the present invention, not to structure of the present invention Think and range is defined, under the premise of not departing from design philosophy of the present invention, engineers and technicians are to the present invention in this field The all variations and modifications made of technical solution, protection scope of the present invention, the claimed technology of the present invention should all be fallen into Content has all been recorded in detail in the claims.

Claims (2)

1. a kind of method at automatic drafting air-conditioner set monitoring of equipment interface, the air-conditioner set includes at least one equipment, until Few equipment includes at least one sub- equipment, and the control planning between the equipment and sub- equipment is in tree structure, In the equipment and sub- equipment to any one monitoring parameters draw observation interface when, the method includes simulation tree structure, Automatically analyze load data, automatic drafting three, interface step;
The simulation tree structure be presented according to the control planning between the monitored equipment and sub- equipment it is tree-like Class libraries is drawn at structure, interface that is simulating the tree structure having the same and being capable of itself iteration;
The class of described each described equipment simulated in the tree structure come or sub- equipment and the monitored equipment or Sub- equipment corresponds;
The load data that automatically analyze are to add corresponding XML file in corresponding position according to demand, certainly using the class libraries It is dynamic to load the XML file corresponding with the class of the equipment or sub- equipment;
The equipment or sub- equipment that each needs monitors correspond to a unique XML file;
The automatic drafting interface refers to being added in the template being already prepared to corresponding using the data in the XML file Element draws respective interface.
2. the observation interface of a kind of automatic method for drawing air-conditioner set monitoring of equipment interface described in operation the claims 1 Drawing system comprising tree structure analog module automatically analyzes load data module and draws interface module automatically;
The tree structure analog module can be detected in monitored air-conditioner set automatically between each equipment or sub- equipment Then tree structure simulates the class libraries of an inside tree structure having the same, the class using the method for itself iteration Class in library is corresponded with each described equipment in the monitored tree structure or sub- equipment;
It is described to be used to automatically analyzing load data module configuration add corresponding XML file, profit in corresponding position according to demand The XML file corresponding with the class of the equipment or sub- equipment, each described XML file pair are loaded automatically with the class libraries Answer the equipment or sub- equipment;
The automatic drafting interface module configuration ground is for utilizing the class libraries and the institute for automatically analyzing load data load XML file is stated, respective element is added in the template being already prepared to, draws respective interface.
CN201510481316.1A 2015-08-07 2015-08-07 A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface Active CN105159665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510481316.1A CN105159665B (en) 2015-08-07 2015-08-07 A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510481316.1A CN105159665B (en) 2015-08-07 2015-08-07 A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface

Publications (2)

Publication Number Publication Date
CN105159665A CN105159665A (en) 2015-12-16
CN105159665B true CN105159665B (en) 2018-09-25

Family

ID=54800532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510481316.1A Active CN105159665B (en) 2015-08-07 2015-08-07 A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface

Country Status (1)

Country Link
CN (1) CN105159665B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114779B (en) * 2020-08-26 2024-02-09 北京奇艺世纪科技有限公司 Method, system, device, electronic equipment and storage medium for processing dynamic effect object

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1695139A (en) * 2002-11-21 2005-11-09 诺基亚有限公司 Method and device for defining objects allowing to establish a device management tree for mobile communication devices
US7979245B1 (en) * 2006-05-17 2011-07-12 Quest Software, Inc. Model-based systems and methods for monitoring computing resource performance
CN102411498A (en) * 2011-07-26 2012-04-11 中兴通讯股份有限公司 Method for realizing data model and graphical designer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5195149B2 (en) * 2008-08-11 2013-05-08 富士通株式会社 Authenticity judgment method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1695139A (en) * 2002-11-21 2005-11-09 诺基亚有限公司 Method and device for defining objects allowing to establish a device management tree for mobile communication devices
US7979245B1 (en) * 2006-05-17 2011-07-12 Quest Software, Inc. Model-based systems and methods for monitoring computing resource performance
CN102411498A (en) * 2011-07-26 2012-04-11 中兴通讯股份有限公司 Method for realizing data model and graphical designer

Also Published As

Publication number Publication date
CN105159665A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN106777751A (en) Architecture information processing method and processing device
CN102043719B (en) Method for testing IEC61850 configuration description file
WO2005071545A3 (en) Method and system for rule-based generation of automation test scripts from abstract test case representation
CN104156224B (en) A kind of software building continuous integrating method and system
JP2005293578A5 (en)
CN101571802A (en) Visualization automatic generation method of embedded software test data and system thereof
CN104298525B (en) The automation that multicompartment software is disposed under the conditions of Complex Constraints and adaptive approach and its deployment management system
Buchmayr et al. A simulator for generating and visualizing sensor data for ambient intelligence environments
CN1683914A (en) Railway simulating laboratory
CN105630563A (en) Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language)
CN103065000A (en) MDE (model driven engineering)-based method for analyzing and verifying SysML state machine diagram
WO2005015404A3 (en) Method and apparatus for unified performance modeling with monitoring and analysis of complex systems
WO2023103248A1 (en) Automatic device commissioning method, apparatus, device, system, and storage medium
CN105159665B (en) A kind of method and drawing system at automatic drafting air-conditioner set monitoring of equipment interface
CN103699478A (en) Test case generation system and test case generation method
CN101131663B (en) Method for detecting installation correctness of computer PCI/PCI Express devices
CN102968305B (en) Logical process method, device and evaluation system
WO2005043278A3 (en) System and method for verifying and testing system requirements
CN109241510A (en) A kind of autochart generation system and its implementation based on wechat small routine
CN112506900A (en) Method, device and equipment for checking three-dimensional data of ventilation pipe of nuclear power plant and storage medium
CN105243020B (en) A kind of automated testing method suitable for wide-area distribution type real-time data base
Ulrich et al. Operator timing of task level primitives for use in computation-based human reliability analysis
CN107766033A (en) A kind of quick demand method for splitting based on problem framework
CN202631992U (en) Multistage information managing and automatically recognizing system
CN107038110A (en) The method and system of white-box testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant