[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104133675B - A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration - Google Patents

A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration Download PDF

Info

Publication number
CN104133675B
CN104133675B CN201410336686.1A CN201410336686A CN104133675B CN 104133675 B CN104133675 B CN 104133675B CN 201410336686 A CN201410336686 A CN 201410336686A CN 104133675 B CN104133675 B CN 104133675B
Authority
CN
China
Prior art keywords
interface
distribution
threaded application
application component
frame assembly
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
CN201410336686.1A
Other languages
Chinese (zh)
Other versions
CN104133675A (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.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Nari Technology Co Ltd
Suzhou Power Supply Co Ltd of Jiangsu Electric Power Co
State Grid Electric Power Research Institute
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Nari Technology Co Ltd
Suzhou Power Supply Co Ltd of Jiangsu Electric Power Co
State Grid Electric Power Research Institute
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 State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Nari Technology Co Ltd, Suzhou Power Supply Co Ltd of Jiangsu Electric Power Co, State Grid Electric Power Research Institute filed Critical State Grid Corp of China SGCC
Priority to CN201410336686.1A priority Critical patent/CN104133675B/en
Publication of CN104133675A publication Critical patent/CN104133675A/en
Application granted granted Critical
Publication of CN104133675B publication Critical patent/CN104133675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration, including:An intermediary interface frame assembly is defined, for calling the multi-threaded application component of distribution, interacting between distribution main system and the multi-threaded application component of each distribution is realized;A kind of application interface collocation method is defined, for the newly-increased application of dynamic addition.Use the method for the present invention, the corresponding information that the multi-threaded application of distribution only needs to be added in configuration file newly-increased application is added in distribution main system, intermediary interface frame assembly will automatically call the multi-threaded application component of each distribution according to configuration information, it is set to be integrated into main system, so can effectively improve program development efficiency, Integrated Risk is reduced, development cost is saved.

Description

A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration
Technical field
The present invention relates to power distribution network application interface field of program development, espespecially a kind of power distribution network application interface integrated approach.
Background technology
With the high speed development of national economy and going deep into for reform and opening-up, power consumer is to the quality of power supply and power supply reliability Requirement more and more higher, increasing personalized application demand is integrated into distribution network systems, with improve power distribution network management, Monitoring, statistics level are that vast power consumer is continual provides high-quality electric energy.Distribution net work structure is complicated, and circuit distribution is wide, if The class that makes preparations for sowing is more, and its system Construction needs constantly integrated all kinds application, at present for the integrated approach at application to distribution network interface In the presence of following defect:
(1) increase application interface newly to be required for accordingly changing main system, this process is cumbersome, is easily destroyed original system The stability of structure of uniting.
(2) new business, the addition difficulty of new demand.
(3) application program developed in distribution network systems is required for carrying out independent interface manufacture and integrated, due to application Extensive and development teams are different, easily cause the lofty disunity of look & feel.
(4) code reuse dynamics is small, and in each application and development, the integrated of interface can all take excessive time and resource, Gained achievement but not necessarily uses up people's will.
The content of the invention
The technical problems to be solved by the invention:The deficiency that application integration is present in being built for distribution network systems, the present invention There is provided a kind of application to distribution network interface integrating method based on Dynamic Reconfiguration, application to distribution network circle can be simply and effectively realized Face it is integrated, greatly improve the efficiency of application development.
In order to solve the above technical problems, the present invention uses following technical scheme:
The multi-threaded application interface integrated approach of a kind of distribution based on Dynamic Reconfiguration, it is characterised in that including following Step:
(1) intermediary interface frame assembly is built, main system is responsible for calling the intermediary interface frame assembly, intermediary interface frame Frame component is responsible for calling the multi-threaded application component of distribution, display application to distribution network interface, while main system and the multi-threaded application of distribution Information exchange between component is realized also by intermediary interface frame assembly;
(2) the multi-threaded application component of distribution is set, and each application component completes default control function;
(3) the multi-threaded application component of distribution calls the requirement to carry out interface parameters setting, interface by intermediary interface frame assembly Parameter includes:The dynamic library name of each multi-threaded application component of distribution, derivation function name, importing parameter name;
(4) main system is started, main system calls intermediary interface frame assembly, intermediary interface frame assembly to match somebody with somebody according to setting The loading correspondence multi-threaded application component of distribution is put, and shows respective interface;
(5) interface operation is carried out to the multi-threaded application component of distribution, it is by intermediary interface frame assembly that distribution is multi-threaded Application component is interacted with main system, forms an entirety.
The multi-threaded application interface integrated approach of the distribution based on Dynamic Reconfiguration stated, it is characterised in that:Distribution is led more Topic application component includes:Fault processing module, is analyzed treatment to failure, and carries out priority to the significance level of failure and draw Point;Risk analysis module, assists dispatcher's emphasis to monitor each failure by visual presentation mode, and visual presentation mode includes Coloring, flicker, figure positioning, index contrast, emphasis are indicated;Mode recovery module, by emergent control process in Distribution Network Failure with Recover control process after failure to be combined, form the Distribution Network Failure processing procedure of closed loop.
The multi-threaded application interface integrated approach of the foregoing distribution based on Dynamic Reconfiguration, it is characterised in that:Described In step (4), the configuration of setting includes that the interface assembly dynamic library name of the multi-threaded application component of each distribution sets, derives function name Parameter name is set and imports to set.
The multi-threaded application interface integrated approach of the foregoing distribution based on Dynamic Reconfiguration, it is characterised in that:By principal series System realizes calling and cancellation for intermediary interface frame assembly.
The multi-threaded application interface integrated approach of the foregoing distribution based on Dynamic Reconfiguration, it is characterised in that:By centre Interface frame component realizes between the showing interface of the multi-threaded application component of each distribution, the interface of each application component mutually switching, each Information exchange between application component interface and main system.
The multi-threaded application interface integrated approach of the foregoing distribution based on Dynamic Reconfiguration, it is characterised in that:In described Interface frame assembly is included with lower interface:
1) interfaces windows integrated interface:Using message-driven mode, the multi-threaded application component of distribution receives specific interface behaviour Interfaces windows example is dynamically generated after making message, and interfaces windows example is loaded into stop window, the specific interface behaviour Make message including the dynamic base where interfaces windows, loading position and size etc.;
2) forms integrated message interface:Using Qt message treatment methods, intermediary interface framework is sent a message to from main system Component, each multi-threaded application component of distribution receives message from intermediary interface frame assembly, filters the message that need not be received, then right The message of matching is responded.
3) the integrated Callback expansion interfaces of window:The Callback interfaces of figure to eject right button menu in the way of realize With the interaction of the multi-threaded application component of distribution, right button menu is processed under window the integration environment, while processing left button menu, loading The main menu of the multi-threaded application component of distribution is to graphical browser and loading tool bar to the toolbar of browser.
The beneficial effect that the present invention is reached:The invention provides a kind of method of application to distribution network interface dynamic integrity, can Slow to solve the current integrated speed in application to distribution network interface, overlapping development is more, Integrated Risk problem high, and effective raising distribution should With the development efficiency at interface, development cost is saved.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of distribution multi-threaded application interface integrated approach of the present invention based on Dynamic Reconfiguration.
Specific embodiment
The multi-threaded application interface integrated approach of bright a kind of distribution based on Dynamic Reconfiguration of this hair, it is characterised in that:
(1) intermediary interface frame assembly is built, main system is responsible for calling the intermediary interface component, the intermediary interface component is born Duty calls application to distribution network interface, while the information exchange between main system and the multi-threaded application component of distribution is also by indirect in this Cause for gossip shows;
(2) the multi-threaded application component of distribution is set, including:Fault processing module, is analyzed treatment, and to the weight of failure Wanting degree carries out priority division so that dispatcher can preferentially carry out treatment catastrophe failure;Risk analysis module, passes through The visual presentation modes such as color, flicker, figure positioning, index contrast, emphasis instruction, assist the monitoring of dispatcher's emphasis, and pay close attention to The development state of affairs of power distribution network risk point;Mode recovery module, recovers troubleshooting and the distribution method of operation afterwards adjustment and combines Together so that emergent control is combined with recovery control after failure in Distribution Network Failure, the Distribution Network Failure treatment of closed loop is formed;
(3) the multi-threaded application component of distribution carries out parameter setting, interface parameters by intermediary interface framework mode transfer block with requirement Including:The dynamic library name of each multi-threaded application component of distribution, derivation function name, importing parameter name;
(4) main system is started, main system calls intermediary interface frame assembly, intermediary interface frame assembly to match somebody with somebody according to setting The loading correspondence multi-threaded application component of distribution is put, and shows respective interface;
(5) interface operation is carried out to the multi-threaded application component of distribution, it is by intermediary interface frame assembly that distribution is multi-threaded Application component is interacted with main system, forms an entirety.
The multi-threaded application interface integrated approach of the foregoing distribution based on Dynamic Reconfiguration, it is characterised in that:Described In step (4), the configuration of setting includes that the interface assembly dynamic library name of each application component sets, derives function name setting and import Parameter name is set.
The intermediary interface frame assembly of present invention definition, the interface group for connecting distribution main system and each application simulation Part, while the information being responsible between main system and the interface of each application component, signal are interacted, makes newly-increased application component and main system Form an entirety.
The interface configuration method and interface standard of application component of the invention, are easy to the intermediary interface frame assembly being capable of basis The interface assembly of each application component of configuration file dynamic call, realizes the dynamic addition at application component interface and deletes.
The interface assembly dynamic library name of interface configurations process including each application component set, derive function name and set and lead Enter parameter name setting.Above-mentioned parameter is used to define the interface assembly of the multi-threaded application component of different distributions, intermediary interface framework Component shows application component interface according to above-mentioned parameter information dynamic load different application component.
The invention provides main system calling and cancellation calling function to intermediary interface frame assembly.
Intermediary interface frame assembly of the invention can realize including the showing interface of each application component, can will apply group The interfacial reaction of part is in main system without the displaying of the original picture of influence;Mutually switch between the interface for realizing each application component, The interface of each application component is only just shown in the interface of main system when there is demand;Realize interface and the master of application component Inter-System Information interactive function, the interface of application component can obtain the information of equipment on the picture of main system, while can also The interface information of application component is sent to main system picture.
The intermediary interface frame assembly is included with lower interface:
1) interfaces windows integrated interface:
It is that interface content is integrated into stop window that a kind of multi-threaded application interface of distribution based on Dynamic Reconfiguration is integrated Mouthful, without direct correlation, integrated content is also not written into figure text to the g figures opened in the stop window and platform picture window Part.It is that corresponding interface resources are tied into certain by resource selection dialog box in graphic editor that original interface is integrated On figure (inside has used the integrated container pel in interface), browser then parses the interface resources bound in the graphic file, leads to The mode for crossing dynamic load generates the graphic example of binding resource.Interfaces windows of the invention are integrated need not to be made in editing machine Resource is bound, and interfaces windows integrated interface uses message-driven mode, and the multi-threaded application component of distribution receives specific interface operation Interfaces windows example is dynamically generated after message, and interfaces windows example is loaded into stop window, the specific interface operation Message is including the dynamic base where interfaces windows, loading position and size etc..Its program is as follows:
2) forms integrated message interface
Communication between the multi-threaded interface of distribution and main system interface needs flexible design, general, loose coupling.Disappeared using Qt Breath processing method, intermediary interface frame assembly is sent a message to from main system interface, and each multi-threaded application component of distribution is from centre Interface frame component receives message, the message that need not receive of filtering, then message to matching is responded.
The integrated message of forms is divided into stop window message and application handover request.Stopping window message typically should by modulation Sent after being clicked on main menu, tool bar and popup menu.Using handover request in addition to being sent by tool bar and menu The stop window of application also can be transmitted such message.The integrated message of forms is certain view window under same distribution host process Mouthful and the communication between Callback or same distribution host process under certain application stop window and certain main window it Between communication, be characterized in it is point-to-point between communication (simply two points are the same processes on uniform machinery).
Qt message processing facilities:The message mechanism of Qt is based on signal and groove, can well process one-to-one under certain process And one-to-many message transmission, therefore forms integrated message interface is realized using the message mechanism of Qt.Its program is as follows:
3) the integrated Callback expansion interfaces of window
The Callback interfaces of figure be to eject right button menu in the way of realize with application interaction, window collection cyclization Right button menu is processed under border, while processing left button menu, load the main menu applied to graphical browser and loading tool bar To the toolbar of browser.The program of the functional interface is as follows:
Below the present invention is disclosed with preferred embodiment, so it is not intended to limiting the invention, all use equivalents Or the technical scheme that equivalent transformation mode is obtained, it is within the scope of the present invention.

Claims (5)

1. the multi-threaded application interface integrated approach of a kind of distribution based on Dynamic Reconfiguration, it is characterised in that including following step Suddenly:
(1)Intermediary interface frame assembly is built, main system is responsible for calling the intermediary interface frame assembly, intermediary interface frame set Part is responsible for calling the multi-threaded application component of distribution, display application to distribution network interface, while main system and the multi-threaded application component of distribution Between information exchange also by intermediary interface frame assembly realize;
(2)The multi-threaded application component of distribution is set, and each application component completes default control function;
(3)The multi-threaded application component of distribution calls the requirement to carry out interface parameters setting, interface parameters by intermediary interface frame assembly Including:The dynamic library name of each multi-threaded application component of distribution, derivation function name, importing parameter name;
(4)Start main system, main system calls intermediary interface frame assembly, intermediary interface frame assembly to add according to the configuration of setting The correspondence multi-threaded application component of distribution is carried, and shows respective interface;
(5)Interface operation is carried out to the multi-threaded application component of distribution, by intermediary interface frame assembly by the multi-threaded application of distribution Component is interacted with main system, forms an entirety;
The intermediary interface frame assembly is included with lower interface:
1) interfaces windows integrated interface:Using message-driven mode, the multi-threaded application component of distribution receives specific interface operation and disappears Interfaces windows example is dynamically generated after breath, and interfaces windows example is loaded into stop window, the specific interface operation disappears Breath include interfaces windows where dynamic base, loading position and size;
2) forms integrated message interface:Using Qt message treatment methods, intermediary interface frame set is sent a message to from main system Part, each multi-threaded application component of distribution receives message from intermediary interface frame assembly, the message that need not receive of filtering, then to The message matched somebody with somebody is responded;
3)The integrated Callback expansion interfaces of window:The Callback interfaces of figure to eject right button menu in the way of realize and match somebody with somebody The interaction of multi-threaded application component is netted, right button menu is processed under window the integration environment, while processing left button menu, loading distribution The main menu of multi-threaded application component is to graphical browser and loading tool bar to the toolbar of browser.
2. the multi-threaded application interface integrated approach of the distribution based on Dynamic Reconfiguration according to claim 1, its feature It is:The multi-threaded application component of distribution includes:Fault processing module, treatment is analyzed to failure, and to the important journey of failure Degree carries out priority division;Risk analysis module, assists dispatcher's emphasis to monitor each failure, visually by visual presentation mode Changing exhibition method includes that coloring, flicker, figure positioning, index contrast, emphasis are indicated;Mode recovery module, by Distribution Network Failure Emergent control process is combined with recovery control process after failure, forms the Distribution Network Failure processing procedure of closed loop.
3. the multi-threaded application interface integrated approach of the distribution based on Dynamic Reconfiguration according to claim 1, its feature It is:In the step(4)In, the configuration of setting includes that the interface assembly dynamic library name of the multi-threaded application component of each distribution sets Put, derive function name setting and import parameter name setting.
4. the multi-threaded application interface integrated approach of the distribution based on Dynamic Reconfiguration according to claim 1, its feature It is:Calling and cancellation for intermediary interface frame assembly is realized by main system.
5. the multi-threaded application interface integrated approach of the distribution based on Dynamic Reconfiguration according to claim 1, its feature It is:Between showing interface, the interface of each application component of the multi-threaded application component of each distribution are realized by intermediary interface frame assembly Mutual switching, the information exchange between each application component interface and main system.
CN201410336686.1A 2014-07-15 2014-07-15 A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration Active CN104133675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410336686.1A CN104133675B (en) 2014-07-15 2014-07-15 A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410336686.1A CN104133675B (en) 2014-07-15 2014-07-15 A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration

Publications (2)

Publication Number Publication Date
CN104133675A CN104133675A (en) 2014-11-05
CN104133675B true CN104133675B (en) 2017-07-11

Family

ID=51806362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410336686.1A Active CN104133675B (en) 2014-07-15 2014-07-15 A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration

Country Status (1)

Country Link
CN (1) CN104133675B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648648B (en) * 2016-12-14 2020-09-15 深圳中顺易金融服务有限公司 Zookeeper-based configuration management method and system
CN106787197B (en) * 2016-12-26 2019-12-03 国电南瑞科技股份有限公司 A kind of visual presentation method of grid equipment operating status
CN112965717B (en) * 2021-03-22 2024-08-13 深圳市城市交通规划设计研究中心股份有限公司 Front end deployment system and method for integrating multiple systems and maintaining interface uniformity

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641586A (en) * 2004-01-02 2005-07-20 华为技术有限公司 Method for realizing application interface integration and business integration
CN102999364A (en) * 2012-12-05 2013-03-27 深圳供电局有限公司 Method and device for classifying and dynamically loading subjects based on power grid operation monitoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8706812B2 (en) * 2010-04-07 2014-04-22 On24, Inc. Communication console with component aggregation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641586A (en) * 2004-01-02 2005-07-20 华为技术有限公司 Method for realizing application interface integration and business integration
CN102999364A (en) * 2012-12-05 2013-03-27 深圳供电局有限公司 Method and device for classifying and dynamically loading subjects based on power grid operation monitoring

Also Published As

Publication number Publication date
CN104133675A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN103516961B (en) Image processor and preparation method thereof and master card
CN104133675B (en) A kind of multi-threaded application interface integrated approach of distribution based on Dynamic Reconfiguration
EP3379801A1 (en) Internet of things information system
CN102298491B (en) Embedded graphical interface system and image generation method thereof
CN104125094A (en) System and method for processing communication network faults of State Grid Corporation of China
CN103312814A (en) Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user
CN109448721A (en) Sound control method, system, Cloud Server and speech ciphering equipment
CN103595742B (en) A method and an apparatus for debugging webpage CSS
CN107092481A (en) A kind of session prompting frame realization method and system for network interaction
CN107086949A (en) It is a kind of to be used for people and the auxiliary intelligent apparatus of smart machine interactive operation
CN109710140A (en) A kind of smart phone social application automatic data collection method
CN104933495A (en) Work task assessment system on Android-based mobile terminal
CN105930421A (en) Internet-based online course making system, method and apparatus
CN101571794A (en) System and method for controlling output of display and projector
CN106201526B (en) Service Component method and system
CN108908342A (en) Intelligent Mobile Robot and scheduling system business operations linkage system and method
CN106209513A (en) IEC 61850 multi-client implementation method based on burse mode
CN106603537A (en) System and method for marking video signal source of mobile intelligent terminal
CN105786470A (en) Dynamic sub-process modeling method and apparatus
CN108908343A (en) Intelligent Mobile Robot and scheduling system business operations linkage system and method
CN102236510B (en) A kind of method and apparatus utilizing super taskbar to control instant communication software
CN202033821U (en) Multifunctional voter with voting backup function
CN109753281A (en) A kind of microgrid energy management strategy visualization toolkit based on graphic programming
CN107332846A (en) Video broadcasting method and system
CN104104535B (en) A kind of unified monitoring and O&M method and device based on strategy

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