CN107977201A - A kind of comprehensively monitoring HMI automatic generation methods - Google Patents
A kind of comprehensively monitoring HMI automatic generation methods Download PDFInfo
- Publication number
- CN107977201A CN107977201A CN201711133303.0A CN201711133303A CN107977201A CN 107977201 A CN107977201 A CN 107977201A CN 201711133303 A CN201711133303 A CN 201711133303A CN 107977201 A CN107977201 A CN 107977201A
- Authority
- CN
- China
- Prior art keywords
- picture
- data
- hmi
- information
- pel
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of comprehensively monitoring HMI automatic generation methods.The present invention automatically generates picture file, can greatly shorten the development time, moreover it is possible to proofread HMI picture files according to the list of devices and equipment class table put in order in advance, and the related data such as pel and position.Meanwhile by preserving the related data of HMI pictures change, it can realize the purpose of later release management.The picture developed by this method generates software, can accurately generate HMI picture files, reduce the workload of exploitation and functional test.
Description
Technical field
It is comprehensive applied to track traffic the present invention relates to a kind of method automatically generated of the comprehensively monitoring HMI to XML format
Close monitoring project.
Background technology
In traditional comprehensively monitoring project development process, the exploitation of HMI monitored pictures is the horizontal layout according to construction drawing
On the basis of the digestion such as figure, the user demand of system Centralized Monitoring, equipment schematic understand, carried out.Among process, if
The adjustment of change, lectotype selection of drawing, the difference required in management are counted, the progress of development can all be impacted.
The subsystem that track traffic synthetic monitoring project is related to is more, including up to 20 several systems of FAS, BAS, ACS etc.
System.Monitoring points are up to 3000 to 5000 points or so;Website 20 to 30, and stand between having differences property of system, durability compared with
It is low.Under normal development mode, the construction cycle length of developer, 1 to 2 years project cycles, development amount is again big, is easier
There is a situation where careless omission, mistake
The content of the invention
The present invention seeks to shorten the track traffic synthetic monitored item purpose development time.
In order to achieve the above object, the technical scheme is that providing a kind of comprehensively monitoring HMI automatic generation methods,
It is characterised in that it includes following steps:
Step 1, obtain and arrange related system design drawing, obtains quantity, position, information and the principle of monitoring device
Figure, sorts out equipment class table, equipment point table, the design documentation of equipment monitor control logic;
The data that step 2, basis sort out, the HMI exploitation elements of unitized overall development relevant device, all pel and picture library
Element Uniting stores path, and the design information on HMI is saved in the configuration file table of database, based on number
According to for picture Core Generator calling;
Step 3, arrange and draw HMI pictures, the spatial geographical locations of abstract system, and static base map exploitation is finished, is used
The markup information appointed, it would be desirable to which the position of the monitoring of tools pel of dynamic generation and the pel of data status display is placed on bottom
On figure, HMI pictures are preserved with xml formatted files, and name form is named in the way of circuit+website+system+figure number, is used for
The replacement of dynamic graphical component and data display;
Step 4, in picture generates software, by hand will configuration system-based data, picture primitive data import system,
HMI files import software, automatically generate final monitored picture, it is necessary to believe according to more than prompting in picture development process
Breath adjusts relevant content in time.
Preferably, the equipment point table arranged in the step 1 includes all basic elements needed for picture generation, including:
Drawing code, device numbering, affiliated circuit, affiliated website, said system, device identification, the equipment physical location of equipment.
Preferably, the step 4 comprises the following steps:
Step 4.1,1 configurations information of read step, select circuit, website, inquiry corresponding line, the base of website by hand
Plinth data;
Step 4.2, the old version information for obtaining picture, including the position of pel, version time, corresponding device in picture
Inventory, for verifying picture data, exports prompt message;
HMI files, is changed into stream by step 4.3, circulates loading system, according to configuration, carries out universal performance initialization;
Step 4.4, the node tree for traveling through xml, to needing to generate the label of pel into row positional information, device code, standby
Note explanation is read, and the data subsequent step got is used to bind corresponding device basic data, carries out the dynamic life of pel xml nodes
Into;
Step 4.5, contrasted history trendline scene-related information and current xml document, prompts all relevant changes
Change information;
Step 4.6, reading xml document have generated primitive information, and the part for having developed completion will be retained, and prompts
Developer's relevant information;
The original base number that step 4.7, the data of the xml node trees obtained according to step 4.4 and step 4.1 obtain
According to carrying out the binding of the generations of pel xml station codes, data and script;
Step 4.8, the data for submitting current picture generation, stamp timestamp, are uploaded to as old version related data
Server, basis of this data as picture exploitation version management.
Preferably, the complex control page is generated by the way of template page combination configuration code:
Abstract associated control logic action is needed, partial function predefined is packaged, make common class, specification configuration
Variable and related call parameters name, according to picture title and said system, are called the dynamic generation of script, required to sentence
Disconnected logic parameter and configuration, in the parameter initialization for the script for writing xml.
The list of devices and equipment class table that present invention basis is put in order in advance, and the related data such as pel and position, from
Dynamic generation picture file, can greatly shorten the development time, moreover it is possible to proofread HMI picture files.Meanwhile become by preserving HMI pictures
Related data more, can realize the purpose of later release management.The picture developed by this method generates software, can be accurate
Errorless generation HMI picture files, reduce the workload of exploitation and functional test.
Brief description of the drawings
Fig. 1 is the HMI picture Core Generator function logic flow charts of this method.
Embodiment
To make the present invention more aobvious understandable, elaborate below in conjunction with the accompanying drawings to the embodiment of the present invention:The present embodiment exists
Implemented under technical solution of the present invention, give the implementation process and implementation result of the present invention.Protection scope of the present invention is not
It is limited to following embodiments.
With reference to Fig. 1, this method realizes that technical solution provides one and can realize the side that comprehensively monitoring HMI is automatically generated
Method, step are:
Step 1, obtain and arrange all professional system design drawings involved by comprehensively monitoring.
(1) quantity of monitoring device is obtained from drawing, sorts out equipment list.Inventory collection information includes, equipment
Drawing code, device numbering, affiliated circuit, affiliated website, said system, physical location etc..
(2) according to schematic diagram etc., induction-arrangement goes out equipment class table, pel logic function design document.Follow-up HMI monitoring
The related icon element of picture, according to equipment class table, carries out the exploitation of assembly type.By the classification in equipment class table, by component
Data binding is carried out with monitoring device, can subsequently pass through this correspondence, dynamic generation xml picture files.
Step 2, the component such as the data arranged according to step 1, unitized overall development relevant device pel, public picture frame, pop-up box.
All pels and picture library element are organized into unified class library bag, for institute according to its circuit, website, purposes, functional attributes
There is engineering calling.On the universal design information of HMI, including picture dimension, background, color, layout etc., configuration file is saved in
In table, based on data, for picture Core Generator call.The page of specially treated is additionally needed, such as:Have particular script,
The page of button assembly frame layout, is generated by the way of custom built forms xml document.
Step 3, draw HMI pictures, and the spatial geographical locations of abstract system, static base map exploitation is finished.Use
The mode of text marking (generally using device coding), it would be desirable to the monitoring of tools pel of dynamic generation and data status display
Pel is labeled on base map.HMI pictures are preserved with xml formatted files, name rule of the form according to circuit+website+system+figure number
Then name.
Step 4, the configuration information introgressive line that the above steps 1 such as system-based data, picture primitive data will be configured by hand
System.HMI files are imported into software, generate final monitored picture.Picture Core Generator is except according to configuration information dynamic generation
Outside picture file, also mainly implement function such as:
(1) backstage xml picture file data checks, Compare System equipment class table and equipment list are provided, mistake is prompted, loses
Leakage or configuration errors information.
(2) old version is compared, the change of equipment, the equipment, layout deleted that hint image is newly arranged is convenient to verify picture
The correctness in face.
(3) retain the picture element for having completed part, dynamic generation is carried out to the equipment of newly-increased mark.Realize version
Iteration.
(4) the data synchronized upload server of the facility information of generation and correlation xml nodes per subframe, is unified
Version management.
(5) system is using unified background service, the design pattern of centrally stored configuration data.Developer can be in client
End can carry out the exploitation of collaboration team, improving development efficiency in the case of Connection Service device.
(6) client provides off-line mode, in Commissioning field, is conveniently adjusted and picture modification.Raising system
Flexibility.
Claims (4)
1. a kind of comprehensively monitoring HMI automatic generation methods, it is characterised in that comprise the following steps:
Step 1, obtain and arrange related system design drawing, obtains quantity, position, information and the schematic diagram of monitoring device, whole
Manage out equipment class table, equipment point table, the design documentation of equipment monitor control logic;
The data that step 2, basis sort out, the HMI exploitation elements of unitized overall development relevant device, all pels and picture library element
Uniting stores path, and the design information on HMI is saved in the configuration file table of database, based on data, supply
Picture Core Generator calls;
Step 3, arrange and draw HMI pictures, the spatial geographical locations of abstract system, static base map exploitation is finished, with agreement
Good markup information, it would be desirable to which the position of the monitoring of tools pel of dynamic generation and the pel of data status display is placed on base map
On, HMI pictures are preserved with xml formatted files, and name form is named in the way of circuit+website+system+figure number, for moving
The replacement of state pel and data display;
Step 4, in picture generates software, by hand will configuration system-based data, picture primitive data import system, HMI
File imports software, automatically generates final monitored picture, in picture development process, it is necessary to according to the information above of prompting and
When adjust relevant content.
A kind of 2. comprehensively monitoring HMI automatic generation methods as claimed in claim 1, it is characterised in that:It is whole in the step 1
The equipment point table of reason includes all basic elements needed for picture generation, including:Drawing code, device numbering, the affiliated line of equipment
Road, affiliated website, said system, device identification, equipment physical location.
A kind of 3. comprehensively monitoring HMI automatic generation methods as claimed in claim 1, it is characterised in that:The step 4 include with
Lower step:
Step 4.1,1 configurations information of read step, select circuit, website, inquiry corresponding line, the basic number of website by hand
According to;
Step 4.2, the old version information for obtaining picture, including the position of pel, version time, corresponding device are clear in picture
It is single, for verifying picture data, export prompt message;
HMI files, is changed into stream by step 4.3, circulates loading system, according to configuration, carries out universal performance initialization;
Step 4.4, the node tree for traveling through xml, the label for needing to generate pel is said into row positional information, device code, remarks
Bright reading, the data subsequent step got are used to bind corresponding device basic data, carry out the dynamic generation of pel xml nodes;
Step 4.5, contrasted history trendline scene-related information and current xml document, prompts all relevant change letters
Breath;
Step 4.6, reading xml document have generated primitive information, the part for having developed completion will be retained, and prompt to develop
Person related information;
The original base data that step 4.7, the data of the xml node trees obtained according to step 4.4 and step 4.1 obtain, into
The binding of the generations of row pel xml station codes, data and script;
Step 4.8, the data for submitting current picture generation, stamp timestamp, service are uploaded to as old version related data
Device, basis of this data as picture exploitation version management.
A kind of 4. comprehensively monitoring HMI automatic generation methods as claimed in claim 3, it is characterised in that:Using template page knot
The mode for closing configuration code generates the complex control page:
Abstract associated control logic action is needed, partial function predefined is packaged, make common class, specification configuration variables
And related call parameters name, according to picture title and said system, the dynamic generation of script is called, required judgement is patrolled
Volume parameter and configuration, in the parameter initialization for the script for writing xml.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711133303.0A CN107977201B (en) | 2017-11-15 | 2017-11-15 | Automatic generation method of comprehensive monitoring HMI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711133303.0A CN107977201B (en) | 2017-11-15 | 2017-11-15 | Automatic generation method of comprehensive monitoring HMI |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107977201A true CN107977201A (en) | 2018-05-01 |
CN107977201B CN107977201B (en) | 2021-07-16 |
Family
ID=62013581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711133303.0A Active CN107977201B (en) | 2017-11-15 | 2017-11-15 | Automatic generation method of comprehensive monitoring HMI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107977201B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491735A (en) * | 2018-10-16 | 2019-03-19 | 南京轨道交通系统工程有限公司 | Integrated data generates the comprehensively monitoring human-machine interface configuration implementation method with verification |
CN112241838A (en) * | 2020-10-15 | 2021-01-19 | 四川省农业机械研究设计院 | Design system and method for large-scale beef cattle farm |
CN112596786A (en) * | 2020-12-22 | 2021-04-02 | 浙江中控技术股份有限公司 | HMI flow chart generation method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882071A (en) * | 2009-05-07 | 2010-11-10 | 北京四方继保自动化股份有限公司 | Picture design method for configuration software |
CN102968443A (en) * | 2012-10-22 | 2013-03-13 | 上海富欣智能交通控制有限公司 | Optimized interface resource management system for automatic train supervision (ATS) system |
CN105786893A (en) * | 2014-12-24 | 2016-07-20 | 北京国际系统控制有限公司 | XML(Extensive Markup Language)-based dynamic picture display method and system |
US20170278487A1 (en) * | 2016-03-25 | 2017-09-28 | Lsis Co., Ltd. | Method for displaying monitoring viewer in hmi system |
-
2017
- 2017-11-15 CN CN201711133303.0A patent/CN107977201B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882071A (en) * | 2009-05-07 | 2010-11-10 | 北京四方继保自动化股份有限公司 | Picture design method for configuration software |
CN102968443A (en) * | 2012-10-22 | 2013-03-13 | 上海富欣智能交通控制有限公司 | Optimized interface resource management system for automatic train supervision (ATS) system |
CN105786893A (en) * | 2014-12-24 | 2016-07-20 | 北京国际系统控制有限公司 | XML(Extensive Markup Language)-based dynamic picture display method and system |
US20170278487A1 (en) * | 2016-03-25 | 2017-09-28 | Lsis Co., Ltd. | Method for displaying monitoring viewer in hmi system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109491735A (en) * | 2018-10-16 | 2019-03-19 | 南京轨道交通系统工程有限公司 | Integrated data generates the comprehensively monitoring human-machine interface configuration implementation method with verification |
CN112241838A (en) * | 2020-10-15 | 2021-01-19 | 四川省农业机械研究设计院 | Design system and method for large-scale beef cattle farm |
CN112596786A (en) * | 2020-12-22 | 2021-04-02 | 浙江中控技术股份有限公司 | HMI flow chart generation method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107977201B (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408785B (en) | Distribution line inspection system based on GIS and GPS | |
CN102932205B (en) | A kind of automated testing method of network service end interface | |
CN106940428B (en) | Chip verification method, device and system | |
CN105373401B (en) | Software package method for automatically releasing and system | |
CN103543993B (en) | Application builds method and system | |
CN108874919B (en) | Automatic checking method for planned land, electronic equipment, storage medium and system | |
CN101888655B (en) | Method and device for configuring network element data in template way in network management system | |
CN103744680B (en) | Method and device for business process processing | |
CN108897724A (en) | Function schedule determines method and device | |
CN106528165A (en) | Code generation method and code generation system | |
CN105138752B (en) | Intelligent substation SCD file land parcel change trace differentiation compares and methods of exhibiting | |
CN108345532A (en) | A kind of automatic test cases generation method and device | |
CN104461855A (en) | Automatic Web testing method, system and device | |
CN105808375A (en) | Data import method and device | |
CN107977201A (en) | A kind of comprehensively monitoring HMI automatic generation methods | |
CN107622375A (en) | Document automatic creation method, document automatic generator and readable storage medium storing program for executing | |
CN106095442B (en) | Automatic high-speed package outputting method based on web | |
CN103678124B (en) | Video surveillance platform auto-test method and device based on continuous integrated environment | |
CN114003451B (en) | Interface testing method, device, system and medium | |
CN109388426B (en) | Window parameter configuration method and system and computer readable medium | |
CN102945629A (en) | Generating method and system of three-dimensional simulation training case of power grid substation | |
CN110209584A (en) | A kind of automatic generation of test data and relevant apparatus | |
CN107451058A (en) | A kind of software development methodology and device | |
CN109806592A (en) | A kind of monitoring method and device of game resource | |
CN115794641A (en) | Method, device and equipment for making number based on business process and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |