CN102999346B - Index plan automatic generating method based on QtScript in power distribution network self-healing control system - Google Patents

Index plan automatic generating method based on QtScript in power distribution network self-healing control system Download PDF

Info

Publication number
CN102999346B
CN102999346B CN201210593029.6A CN201210593029A CN102999346B CN 102999346 B CN102999346 B CN 102999346B CN 201210593029 A CN201210593029 A CN 201210593029A CN 102999346 B CN102999346 B CN 102999346B
Authority
CN
China
Prior art keywords
script
interface
feeder line
qtscript
distribution network
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
CN201210593029.6A
Other languages
Chinese (zh)
Other versions
CN102999346A (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.)
Beijing Sifang Automation Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
Beijing Sifang Automation Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
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 Beijing Sifang Automation Co Ltd, Foshan Power Supply Bureau of Guangdong Power Grid Corp filed Critical Beijing Sifang Automation Co Ltd
Priority to CN201210593029.6A priority Critical patent/CN102999346B/en
Publication of CN102999346A publication Critical patent/CN102999346A/en
Application granted granted Critical
Publication of CN102999346B publication Critical patent/CN102999346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an index plan automatic generating method based on QtScript (Qt is a cross-platform C++ application program framework, and QtScript is a script engine of Qt, is language based on European computer manufactures association (ECMA) Script and fits an ECMA-262 standard) in a power distribution network self-healing control system. Script technology is introduced in the method, a basic function of generating the plan automatically is packaged to the script engine according to certain particle size, the script is custom made flexibly in a project according to the field condition, and an attractive efficient index plan is formed automatically at an operation end. The index plan automatic generating method has the advantages of being free of compiling and maintaining, attractive and flexible, solves the problem of maintaining the index plan under the condition that feeder graphs are too many and transaction is frequent in the intelligent power distribution network self-healing control system, and improves project efficiency.

Description

Based on the key map automatic generation method of QtScript in power distribution network intelligence self-healing control system
Technical field
The invention belongs to power automation, intelligent distribution network technical field, being specifically related in a kind of power distribution network intelligence self-healing control system based on QtScript(Qt is a cross-platform C++ application framework, QtScript is the script engine of Qt, based on ECMAScript language, meet ECMA-262 standard) key map automatic generation method.
Background technology
Because large-and-medium size cities power distribution network plant stand, circuit are various, in power distribution network intelligence self-healing control system, feeder line wiring diagram is very many, needs to provide convenience index function efficiently.For feeder line wiring diagram, usually set up key map by affiliated transformer station.The foundation of key map generally has two kinds of methods:
1. manual drawing key map.In graphic configuration instrument, a key map drawn by the feeder line for each transformer station subordinate.Advantage is that pattern layout is reasonable, attractive in appearance; Shortcoming is that quantities is huge, difficult in maintenance.
2. automatic generating indexes figure.In graphic configuration instrument, be that feeder line under each transformer station generates a key map automatically by program.Advantage is that quantities is little; Shortcoming is layout underaction, less attractive.When belonging to feeder line, transformer station's container changes, manual maintenance of still needing.
In addition, because transformer station is numerous, need to set up index to transformer station toward contact, namely just can find a feeder line figure by secondary index.
Summary of the invention
For the above-mentioned defect existed in prior art, the application proposes one index flexibly not only non-maintaining but also attractive in appearance drawing generating method.On the one hand maintainer is freed from loaded down with trivial details manual maintenance work, on the other hand also for operations staff provides the service of mutual simple, friendly interface.
The present invention is concrete by the following technical solutions:
Based on a key map automatic generation method of QtScript in power distribution network intelligence self-healing control system, it is characterized in that, said method comprising the steps of:
(1) under the support of power distribution network intelligence self-healing control system platform, be automatic mapping interface by model bank access interface, graphic plotting interface and event handling interface encapsulation, described possess following functions since one-tenth figure interface:
A. plant stand list control initialization: obtain plant stand list by described automatic mapping interface reading model storehouse, and plant stand list is inserted into list control;
B. dynamic creation one group index button: based on described automatic mapping interface dynamic creation one group index button, the corresponding feeder line of each index button creates an index button; The text of index button is feeder line name, and the input parameter of described index button is feeder line set, the size of button, foreground, background colour, line number, line space, columns, column pitch, starting coordinate position;
C. alternative events process: after selecting a plant stand, calling model storehouse access interface obtains the feeder line set of this plant stand, call a group index button of the correspondence of above-mentioned establishment again, and by phonetic filtering function, open the feeder line set graph of a correspondence meeting Pinyin rule;
(2) by QtScript script rule, encapsulation automatic mapping interface is script interface;
(3) compile script file, generate the feeder line quantity of the plant stand of feeder line key map as required, need the resolution of display, look & feel arranges script interface parameter, invocation step (2) encapsulates the automatic mapping script interface obtained, and script file is once possess the automatic mapping such as picture layout, event handling function after performing;
(4) run end invoke script engine and perform script file, generate feeder line key map.
The present invention has following beneficial effect:
1. configuration work amount is little, and efficiency is high: only need draw a few focus button in figure.For maintainer, workload greatly reduces, and raises the efficiency, and saves labour cost.
2. the later stage is non-maintaining: because the container relation of transformer station and feeder line is dynamic load, even if its relation there occurs change, also can show immediately.
3. explanatory operation, exempt from compiling: even if the later stage pattern layout change, only need revise script, without the need to recompilating program.
4. interactivity is friendly: all feeder line wiring diagrams with a key map for entrance.Operations staff only need select first letter of pinyin to filter transformer station, just express delivery can navigate to target feeder line figure, drastically increase work efficiency.
Accompanying drawing explanation
Fig. 1 is the key map automatic generation method process flow diagram based on QT script;
Fig. 2 is the original figure drawn in configuration instrument, is denoted as in figure;
Combo box is selected by 1-transformer station,
2-first letter of pinyin radio button,
3-page-turning button,
Fig. 3 is the key map that the present invention generates automatically.
Specific embodiments
Be described in detail below in conjunction with the technical scheme of Figure of description to the application.
Be illustrated in figure 1 the key map automatic generation method process flow diagram based on QT script disclosed by the invention, comprise the following steps:
(1) under the support of power distribution network intelligence self-healing control system platform, be automatic mapping interface by model bank access interface, graphic plotting interface and event handling interface encapsulation, described possess following functions since one-tenth figure interface:
A. plant stand list control initialization: obtain plant stand list by described automatic mapping interface reading model storehouse, and plant stand list is inserted into list control;
B. dynamic creation one group index button: based on described automatic mapping interface dynamic creation one group index button, the corresponding feeder line of each index button creates an index button; The text of index button is feeder line name, and the input parameter of described index button is feeder line set, the size of button, foreground, background colour, line number, line space, columns, column pitch, starting coordinate position;
C. alternative events process: after selecting a plant stand, calling model storehouse access interface obtains the feeder line set of this plant stand, call a group index button of the correspondence of above-mentioned establishment again, and by phonetic filtering function, open the feeder line set graph of a correspondence meeting Pinyin rule;
(2) by QtScript script rule, encapsulation automatic mapping interface is script interface;
(3) compile script file, generate the feeder line quantity of the plant stand of feeder line key map as required, need the resolution of display, look & feel arranges script interface parameter, invocation step (2) encapsulates the automatic mapping script interface obtained, and script file is once possess the automatic mapping such as picture layout, event handling function after performing;
(4) run end invoke script engine and perform script file, generate feeder line key map.
Below introduce how to draw feeder line key map from maintenance end and operation end respectively.
[safeguarding end]
1. the crucial drawing practice of encapsulation and event-handling method are script function
2. the key map that drafting one is empty, as shown in Figure 2.On this figure, add the filtration that a combo box is used for transformer station, add several radio buttons and filter for feeder line title initial, then add two page-turning button.
3. compile script, arranges layout and the outward appearance of index button.Containing the size, foreground, background colour, line number, line space, columns, column pitch, starting coordinate position etc. of index button.
4. compile script, the alternative events of process phonetic the filtering button and page-turning button.
[running end]
5. operator opens key map
6. choose certain transformer station from combo box, all feeder lines of this transformer station selected by brush, automatically generate the feeder line index button of marshalling, as shown in Figure 3.
7., if the feeder line index button under a transformer station is too much, can filter by feeder line initial phonetic.
If 8. one page does not show, page-turning button can be clicked and check.

Claims (2)

1. in power distribution network intelligence self-healing control system based on a key map automatic generation method of QtScript, it is characterized in that, said method comprising the steps of:
(1) under the support of power distribution network intelligence self-healing control system platform, be automatic mapping interface by model bank access interface, graphic plotting interface and event handling interface encapsulation, described automatic mapping interface possesses following functions:
A. plant stand list control initialization: obtain plant stand list by described automatic mapping interface reading model storehouse, and plant stand list is inserted into list control;
B. dynamic creation one group index button: based on described automatic mapping interface dynamic creation one group index button, the corresponding feeder line of each index button creates an index button;
C. alternative events process: after selecting a plant stand, calling model storehouse access interface obtains the feeder line set of this plant stand, call a group index button of the correspondence of above-mentioned establishment again, and by phonetic filtering function, open the feeder line set graph of a correspondence meeting Pinyin rule;
(2) by QtScript script rule, encapsulation automatic mapping interface is script interface;
(3) compile script file, generate the feeder line quantity of the plant stand of feeder line key map as required, need the resolution of display, look & feel arranges script interface parameter, invocation step (2) encapsulates the automatic mapping script interface obtained, and script file is once possess picture layout, event handling automatic mapping function after performing; (4) run end invoke script engine and perform script file, generate feeder line key map.
2. key map automatic generation method according to claim 1, is characterized in that:
In step (1), the text of index button is feeder line name, and the input parameter of described index button is feeder line set, the size of button, foreground, background colour, line number, line space, columns, column pitch, starting coordinate position.
CN201210593029.6A 2012-12-31 2012-12-31 Index plan automatic generating method based on QtScript in power distribution network self-healing control system Active CN102999346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210593029.6A CN102999346B (en) 2012-12-31 2012-12-31 Index plan automatic generating method based on QtScript in power distribution network self-healing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210593029.6A CN102999346B (en) 2012-12-31 2012-12-31 Index plan automatic generating method based on QtScript in power distribution network self-healing control system

Publications (2)

Publication Number Publication Date
CN102999346A CN102999346A (en) 2013-03-27
CN102999346B true CN102999346B (en) 2015-07-22

Family

ID=47927952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210593029.6A Active CN102999346B (en) 2012-12-31 2012-12-31 Index plan automatic generating method based on QtScript in power distribution network self-healing control system

Country Status (1)

Country Link
CN (1) CN102999346B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455554B (en) * 2013-08-02 2018-01-19 国家电网公司 A kind of intelligent power distribution network model base system
CN110989996B (en) * 2019-12-02 2023-07-28 北京电子工程总体研究所 Target track data generation method based on Qt script language
CN113740645A (en) * 2021-08-27 2021-12-03 广州思泰信息技术有限公司 Self-healing function test system for power grid

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5539653A (en) * 1994-03-09 1996-07-23 Systems Analysis And Integration, Inc. Method and apparatus for reassigning lost capacitors in a power distribution network
CN101630340A (en) * 2009-05-27 2010-01-20 江西九江供电公司 Graphic-object-oriented single-line diagram vector drawing tool of distribution network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5539653A (en) * 1994-03-09 1996-07-23 Systems Analysis And Integration, Inc. Method and apparatus for reassigning lost capacitors in a power distribution network
CN101630340A (en) * 2009-05-27 2010-01-20 江西九江供电公司 Graphic-object-oriented single-line diagram vector drawing tool of distribution network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Qt的嵌入式Linux系统GUI的研究与实现;范朋;《中国优秀硕士学位论文全文数据库》;20110915;第1-61页 *
基于Qt的组态软件的设计与开发;李冬梅;《中国优秀硕士学位论文全文数据库》;20121015;第1-67页 *

Also Published As

Publication number Publication date
CN102999346A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN104731584B (en) A kind of customized configuration design method of Open Architecture CNC System of Display Interface
EP2293203A1 (en) Methods and apparatus for querying process control data
CN102270261B (en) Design method for intelligent transformer station model based on CAD (Computer-Aided Design) graph and model integration
CN102779156B (en) Configuration method for database of communication device in digital substation
CN100595752C (en) Interactive implementing method of electrical power system pattern based on IEC61970 standard
CN103019684A (en) Dynamic template-based business page configuring method
CN102609520B (en) Method for exporting model data of substation by filtering
CN102521380B (en) Method for importing power grid CIM (common information model) data and SVG (scalable vector graphic) data
CN105528418A (en) Design document generation method and apparatus
CN102999346B (en) Index plan automatic generating method based on QtScript in power distribution network self-healing control system
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN104978411A (en) Train model development method and apparatus for high-speed train
CN103927185A (en) Network topology modeling device based on energy management and guiding method thereof
CN112541203A (en) Electrical design method and electrical design system
CN103793219A (en) Mobile terminal application development system and method
CN105373381A (en) Method and system for making launchers of mobile terminal
CN103778128A (en) List information drawing method and device
CN103810292A (en) Method and device for configuring graphical interface
CN104834715A (en) Website generating method and system based on components and container
CN110609989A (en) Operation method for rapidly generating information form by adopting predefined layout component and application
CN110851123A (en) WebGIS power grid visualization framework construction method, system and device based on SpringMVC
CN113642850A (en) Data fusion method and terminal for power distribution network planning
CN104391965A (en) Method for graphically displaying ICD [IED (intelligent electronic device) capability description] virtual terminals of intelligent substations
CN101894317A (en) System and method for driving business logic through data changes
CN103246784A (en) Parameterization drawing system for drawing escalator construction layout drawings

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant