CN102999346A - 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
CN102999346A
CN102999346A CN2012105930296A CN201210593029A CN102999346A CN 102999346 A CN102999346 A CN 102999346A CN 2012105930296 A CN2012105930296 A CN 2012105930296A CN 201210593029 A CN201210593029 A CN 201210593029A CN 102999346 A CN102999346 A CN 102999346A
Authority
CN
China
Prior art keywords
interface
script
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.)
Granted
Application number
CN2012105930296A
Other languages
Chinese (zh)
Other versions
CN102999346B (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

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

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

In the power distribution network intelligence self-healing control system based on the key map automatic generation method of QtScript
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 the ECMAScript language, meet the ECMA-262 standard) the key map automatic generation method.
Background technology
Because power distribution network factory in large-and-medium size cities stands, circuit is various, the feeder line wiring diagram is very many in the power distribution network intelligence self-healing control system, the efficiently index function of need to providing convenience.Take the feeder line wiring diagram as example, 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 the graphic configuration instrument, for each subordinate's of transformer station feeder line is drawn a key map.Advantage is that pattern layout is reasonable, attractive in appearance; Shortcoming is that quantities is huge, and is difficult in maintenance.
2. automatic generating indexes figure.In the graphic configuration instrument, the program of using is that the feeder line under each transformer station generates a key map automatically.Advantage is that quantities is little; Shortcoming is layout underaction, less attractive.When transformer station's container changes under the feeder line, the 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 defects that exists in the prior art, it is non-maintaining again flexibly index drawing generating method attractive in appearance that the application proposes a kind of.On the one hand the maintainer is freed from loaded down with trivial details manual maintenance work, on the other hand also for the operations staff provides alternately simply, the service of friendly interface.
The present invention is specifically by the following technical solutions:
Based on the key map automatic generation method of QtScript, it is characterized in that in the intelligent self-healing control of a kind of power distribution network system, said method comprising the steps of:
(1) under the support of power distribution network intelligence self-healing control system platform, be the automatic mapping interface with model bank access interface, graphic plotting interface and event handling interface encapsulation, described possess following functions since one-tenth figure interface:
A. factory station list control initialization: obtain factory's station tabulation by described automatic mapping interface reading model storehouse, and factory's station tabulation 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 the 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, origin coordinates position;
C. alternative events are processed: after selecting a factory station, call the model bank access interface and obtain the feeder line set that this factory stands, call again a group index button of the correspondence of above-mentioned establishment, and by the phonetic filtering function, open the feeder line set graph of a correspondence that meets Pinyin rule;
(2) press QtScript script rule, encapsulation automatic mapping interface is script interface;
(3) compile script file, generate as required the feeder line quantity at the factory station of feeder line key map, resolution, the look ﹠ feel that needs to show arranges the script interface parameter, the automatic mapping script interface that invocation step (2) encapsulation obtains, script file is in case possess the automatic mapping functions such as picture layout, event handling after carrying out;
(4) operation end invoke script engine is carried out script file, generates the feeder line key map.
The present invention has following beneficial effect:
1. the configuration workload is little, and efficient is high: only need to draw a few focus button in the figure.For the maintainer, workload greatly reduces, and raises the efficiency, and saves labour cost.
2. the later stage is non-maintaining: because the container of transformer station and feeder line relation is dynamic load, even variation has occured its relation, also can show immediately.
3. explanatory operation is exempted from compiling: even the later stage pattern layout changes, only need to revise script, need not the recompility program.
4. interactivity is friendly: all feeder line wiring diagrams are take a key map as entrance.The operations staff only need select first letter of pinyin to filter transformer station, just can express delivery navigate to target feeder line figure, has greatly improved work efficiency.
Description of drawings
Fig. 1 is the key map automatic generation method process flow diagram based on the QT script;
Fig. 2 is the original figure of drawing in the configuration instrument, is denoted as among the figure;
1-transformer station Selection and Constitute frame,
2-first letter of pinyin radio button,
The 3-page-turning button,
Fig. 3 is the key map that the present invention generates automatically.
Specific embodiments
Be elaborated below in conjunction with the technical scheme of Figure of description to the application.
Be illustrated in figure 1 as the key map automatic generation method process flow diagram based on the QT script disclosed by the invention, may further comprise the steps:
(1) under the support of power distribution network intelligence self-healing control system platform, be the automatic mapping interface with model bank access interface, graphic plotting interface and event handling interface encapsulation, described possess following functions since one-tenth figure interface:
A. factory station list control initialization: obtain factory's station tabulation by described automatic mapping interface reading model storehouse, and factory's station tabulation 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 the 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, origin coordinates position;
C. alternative events are processed: after selecting a factory station, call the model bank access interface and obtain the feeder line set that this factory stands, call again a group index button of the correspondence of above-mentioned establishment, and by the phonetic filtering function, open the feeder line set graph of a correspondence that meets Pinyin rule;
(2) press QtScript script rule, encapsulation automatic mapping interface is script interface;
(3) compile script file, generate as required the feeder line quantity at the factory station of feeder line key map, resolution, the look ﹠ feel that needs to show arranges the script interface parameter, the automatic mapping script interface that invocation step (2) encapsulation obtains, script file is in case possess the automatic mapping functions such as picture layout, event handling after carrying out;
(4) operation end invoke script engine is carried out script file, generates the feeder line key map.
Below respectively from safeguarding end and operation end introduce how to draw the feeder line key map.
[safeguarding end]
1. encapsulating crucial drawing practice and event-handling method is script function
2. draw the key map of a sky, 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 be used for the filtration of feeder line title initial, add again two page-turning button.
3. compile script arranges layout and the outward appearance of index button.Contain size, foreground, background colour, line number, line space, columns, column pitch, origin coordinates position of index button etc.
4. compile script is processed the alternative events of phonetic the filtering button and page-turning button.
[operation end]
5. the operator opens key map
6. choose certain transformer station from combo box, brush is selected all feeder lines of this transformer station, automatically generates the feeder line index button of marshalling, as shown in Figure 3.
7. if the feeder line index button under transformer station is too much, can filter by feeder line initial phonetic.
8. if one page does not show, can click page-turning button and check.

Claims (2)

  1. In the power distribution network intelligence self-healing control system based on the 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 the automatic mapping interface with model bank access interface, graphic plotting interface and event handling interface encapsulation, described possess following functions since one-tenth figure interface:
    A. factory station list control initialization: obtain factory's station tabulation by described automatic mapping interface reading model storehouse, and factory's station tabulation 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 are processed: after selecting a factory station, call the model bank access interface and obtain the feeder line set that this factory stands, call again a group index button of the correspondence of above-mentioned establishment, and by the phonetic filtering function, open the feeder line set graph of a correspondence that meets Pinyin rule;
    (2) press QtScript script rule, encapsulation automatic mapping interface is script interface;
    (3) compile script file, generate as required the feeder line quantity at the factory station of feeder line key map, resolution, the look ﹠ feel that needs to show arranges the script interface parameter, the automatic mapping script interface that invocation step (2) encapsulation obtains, script file is in case possess the automatic mapping functions such as picture layout, event handling after carrying out; (4) operation end invoke script engine is carried out script file, generates the feeder line key map.
  2. 2. key map automatic generation method according to claim 1 is characterized in that:
    In step (1), the text of index button is the 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, origin coordinates 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 true CN102999346A (en) 2013-03-27
CN102999346B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455554A (en) * 2013-08-02 2013-12-18 国家电网公司 Intelligent power distribution network model base system
CN110989996A (en) * 2019-12-02 2020-04-10 北京电子工程总体研究所 Target track data generation method based on Qt scripting 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的组态软件的设计与开发", 《中国优秀硕士学位论文全文数据库》, 15 October 2012 (2012-10-15), pages 1 - 67 *
范朋: "基于Qt的嵌入式Linux系统GUI的研究与实现", 《中国优秀硕士学位论文全文数据库》, 15 September 2011 (2011-09-15), pages 1 - 61 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455554A (en) * 2013-08-02 2013-12-18 国家电网公司 Intelligent power distribution network model base system
CN110989996A (en) * 2019-12-02 2020-04-10 北京电子工程总体研究所 Target track data generation method based on Qt scripting language
CN113740645A (en) * 2021-08-27 2021-12-03 广州思泰信息技术有限公司 Self-healing function test system for power grid

Also Published As

Publication number Publication date
CN102999346B (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104731584B (en) A kind of customized configuration design method of Open Architecture CNC System of Display Interface
CN103019684B (en) A kind of method of the configuration service page based on dynamic template
CN100595752C (en) Interactive implementing method of electrical power system pattern based on IEC61970 standard
US8095871B2 (en) System and method for GUI supported specifications for automating form field extraction with database mapping
CN104778241A (en) Report generation method and system
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
CN106228338A (en) A kind of distribution engineering intelligentized design integrated service system and using method
CN105630939A (en) General canvas input interface design method and device
CN112541203B (en) Electrical design method and electrical design system
CN103500257A (en) DWG-format drawing identification method and system
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN102999346B (en) Index plan automatic generating method based on QtScript in power distribution network self-healing control system
CN103793219A (en) Mobile terminal application development system and method
CN103778128A (en) List information drawing method and device
CN105117555A (en) On-line browsing system of nuclear power three-dimensional design model
CN117057318A (en) Domain model generation method, device, equipment and storage medium
CN102622217A (en) Cross-screen operation application method and system
CN104834715A (en) Website generating method and system based on components and container
CN104657141A (en) GUI (Graphic User Interface) software wrapper based on computer vision and implementing method thereof
CN102298498A (en) Soft keyboard character input processing method and device
CN110795024A (en) Protection equipment universal man-machine interaction system and method based on XML
CN102520960A (en) Interface automatic generating system and interface automatic generating method
CN102411498A (en) Method for realizing data model and graphical designer
CN101556680A (en) Method for reusing transaction information in character front end and character front-end system

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