CN101339503A - Electric network wiring scheme on-line editing configuration method - Google Patents

Electric network wiring scheme on-line editing configuration method Download PDF

Info

Publication number
CN101339503A
CN101339503A CNA2008101235668A CN200810123566A CN101339503A CN 101339503 A CN101339503 A CN 101339503A CN A2008101235668 A CNA2008101235668 A CN A2008101235668A CN 200810123566 A CN200810123566 A CN 200810123566A CN 101339503 A CN101339503 A CN 101339503A
Authority
CN
China
Prior art keywords
configuration
flash module
electric network
wiring scheme
network wiring
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.)
Pending
Application number
CNA2008101235668A
Other languages
Chinese (zh)
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.)
Jiangsu Fangtian Power Technology Co Ltd
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
Jiangsu Fangtian Power Technology Co Ltd
Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd
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 Jiangsu Fangtian Power Technology Co Ltd, Electric Power Research Institute of State Grid Jiangsu Electric Power Co Ltd filed Critical Jiangsu Fangtian Power Technology Co Ltd
Priority to CNA2008101235668A priority Critical patent/CN101339503A/en
Publication of CN101339503A publication Critical patent/CN101339503A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an online editing and configuration method for a connection diagram of electric netting, consisting of a flash module, an external webpage and background business treatment and a data interface. Functions of graphic editing and data configuration are realized by basing on flash technology, and the webpage is used for exchange data with external. Users who have corresponding authority open a corresponding page by using an ordinary web browser, and online editing and configuration of the connection diagram of electric netting can be realized by a flash ActiveX in the page. The method overcomes the defect on installation and updating, network adaptability and system marching of traditional special configuration software.

Description

The online editing configuration method of electric network wiring scheme
Technical field
The present invention relates to a kind of based on the flash technology electric network wiring scheme is edited the method for configuration, be used on common web browser, realizing editor, configuration and demonstration to electric network wiring scheme.
Background technology
Configuration technology is meant instrument, the method that provides in the application software, the process of finishing a certain specific tasks in the engineering is provided, and is mainly used in industrial automation control field, and development and application is to the other field of non-Industry Control then.Configuration software is meant some special softwares, and they are a kind of software platform and development environment, is a cover provides the graphical monitoring function of quick structure for the user Software tool.
Because certain secondary development function will be provided, man machine operation interface is had higher requirements, existing graphics edition and configuration function are realized in the mode of unit or private client software mostly.By operating in the special software on the subscriber's local computing machine, generate the configuration file that comprises configuration info, be kept on this locality or the server.Presentation Function is also finished by special software usually, by reading the configuration information that editor generates, shows and monitors.
In a lot of grid monitoring systems, need be in the user shows the rack figure of electrical network or station primary connection figure, and need can upgrade easily along with the change of station and equipment.In this case, use existing method to come with some shortcomings:
Need to install huge special software.Owing to originate from the industry spot control system, the system that great majority possess configuration function realizes with unit or C/S structure no matter edit still operation, all need huge special software be installed on subscriber computer and support.That this method causes installing is loaded down with trivial details, function renewal is inconvenient, also disagrees with current grid monitoring system webization, the developing direction of promoting the B/S structure of thin-client.
Proprietary port and custom protocol are used in communication between client software and the server, meet with the fire wall interception easily, are not suitable for complicated network environment, and in a single day the user has left the specific network segment, just can't use its function.
Special software can only be completely integrated in inside with required function, and is isolated relatively, is difficult to other parts realization information interactions of system and interface unified.Current a lot of system has all adopted unified external web website, shows data with the form of webpage.Even develop corresponding ActiveX control, also be difficult to carry out alternately, and can be subjected to the restriction of control digital signature and secure browser option with the page.
Summary of the invention
In order to overcome the problem of upgrading inconvenience, network-adaptive difference and being difficult to integrate with the website is installed in prior art and the mode, the present invention proposes a kind of electric network wiring scheme online editing configuration method, based on the flash technology realize making the user can be under complex network environment by using common web browser to finish in the specifically monitored system editor, configuration and demonstration for electric network wiring scheme.
Implementation of the present invention is: technological development possesses the software module of editor's configuration function based on flash, and compiling becomes the swf form, embeds Website page, and is mutual by webpage client script and external data, thus reading database and preservation disk file.User with corresponding authority uses the web browser to open respective page, and the flash control by wherein carries out graphics edition and the operation of data configuration under edit pattern, and edited result can show under operational mode after preserving.The present invention mainly comprises following ingredient:
1) flash module: realize based on the flash technology, can be the swf form, have the user interactions ability, the function of graphics edition and data configuration is provided.
Described flash module possesses editor and moves two kinds of patterns, and the figure that editor generates can former state show when operation that configuration result can link jump to related pages when operation.
2) external web page and backstage serve end program: comprise the common dynamic web page flash module, that can on the web browser, show, and the background business logic handling procedure.Complete user interface mainly is provided, and the support of external data visit is provided for the flash module.
3) data-interface: be the passage that carries out data transmission and control between flash module and the external web page, be presented as the data file definition of xml form and the function prototype that calls mutually.The flash module obtains the external data support by interface, and webpage also can be eliminated the coupling between configuration function module and the data store organisation simultaneously by the editing authority of interface control user in the flash module.The interface content mainly comprises:
External web page and backstage business processing are by being converted into database information the xml document form, for the flash module provides configuration required data message.
The deposit information that flash module editor configuration generates, by calling the function that external web page provides, be kept on the web server with the xml document form, and in database, back up simultaneously, when web station system restarts, from DB Backup, revert to the xml file.
External web page and backstage business processing are by being converted into database information the xml document form, for the flash module provides configuration required data message.
The control function of flash module output calls for external web page, to realize the control of authority to editor's configuration function.
The present invention need not install special-purpose configuration software on subscriber computer, only need can finish editor, configuration and Presentation Function to electric network wiring scheme as the conventional web browser of InternetExplorer and so on.
And, communicate by letter with all of service end and to finish by browser, there are not private port and communication protocol, can adapt to the complex environment of wide area network.
Utilize the favorable compatibility of flash and web technology, the wiring diagram function page outside with it combined together, carry out function easily and cooperate, meet the trend of current grid monitoring system interface webization so that interlink.
Description of drawings
Fig. 1 is an electric network wiring scheme online editing configuration system structural representation of the present invention
Embodiment
The electric network wiring scheme online editing configuration method of present embodiment is realized by system shown in Figure 1.
Is example with the lower part with the editor's configuration that realizes electric network wiring scheme in J2EE and javascript environment, and the specific implementation method is explained.
1) according to the requirement of system for electric network wiring scheme, exploitation possesses the flash module of interaction capabilities.
For example certain system wiring figure need show rack figure and the interior primary connection figure in station between the transformer station, and station wherein and equipment need be consistent with the database account.The flash module is developed editor and is moved two kinds of patterns according to demand.Under edit pattern, can carry out the graphics edition of lines and electrical equipment; Operational mode then can show editor's result, and realizes the link redirect.
2) write external web page complete user interface is provided, wherein be embedded with the flash module.For example following is the html code:
...
<object classid=″clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″
codebase=″http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=8,0,0,0″width=″510″height=″505″id=″myflash″
align=″middle″>
<param?name=″movie″value=″map2.swf″/>
<embed src=″map2.swf″ quality=″high″ bgcolor=″#000000″
width=″510″ height=″505″ name=″map2.swf″ align=″middle″
allowScriptAccess=″sameDomain″ type=″application/x-shockwave-flash″
pluginspage=″http://www.macromedia.com/go/getflashplayer″/>
</object>
...
Wherein map2.swf is the flash module file after the compiling.
3) external web page and backstage business processing program reading database transform the xml file that generates interface definition.Can generate following content:
<?xml?version=″1.0″encoding=″UTF-8″?>
<root>
<urlid=″station″prefix=″../task/queryTasksForFlash.do?bdsdm=″
postfix=″″/>
<url id=″equipment″
prefix=″../task/queryTasksForFlash.do?equipid=″postfix=″″/>
<district id=" 210960000 " name=" Yancheng electric company " 〉
<station id=" 21096000100001 " name=" salt is electric substation all " voltage=" 500 " 〉
<equipment id=" 20071015095634953387 " name=" safe 5255 lines of salt the
One cover route protection RD53 "/
<equipment id=" 20071015110430390770 " name=" safe 5255 lines of salt the
Two cover route protection RD54 "/
<equipment id=" 20071015113751125670 " name=" open by the safe line 5053 of salt
Close protection "/
</station>
</district>
</root>
Wherein the ID of station and equipment, title are all consistent with content in the database,<url〉element is with generating the hyperlink of configuration after to point.This file layout definition belongs to the part of data-interface, makes the flash module needn't be concerned about the inner structure of database.
The flash module obtains station and equipment account from above-mentioned xml file, show in the tabulation mode, finishes configuration to point, general<url for user drag and drop to picture〉sew before and after the hyperlink of element with to the combination of the corresponding ID behind the point, the formation hyperlink.The link anchor point that the user clicks in the picture under operational mode can jump to respective page.For example to " safe 5255 lines of the salt first cover route protection RD53 " carry out data to point after; the user can be by clicking respective element or the literal on the figure, jump to related pages " ../task/queryTasksForFlash.do? bdsdm=20071015095634953387 ".
3) external web page provides the deposit function in the client script mode, after editor's configuration work of flash module is finished, calls this function, preserves with self-defined xml form output.For example use javascript language scripts function to be embodied as:
<script?language=”javascript”>
function?Save(filename,content)
{
var?url=″../writeFlashXml.do?name=″
+filename+″&content=″+content;
window.showModalDialog(url,window,””);
...
}
</script>
Map to backstage business processing code by writeFlashXml.do, carry out actual operating writing-file.
Call for example available GetURL method when in the flash module, needing to preserve in addition:
GetURL(“Save(“Save.xml”,”...”)”);
Actual saving file is kept on the web server, and backs up in database simultaneously.If web station system upgrades issue, the backup of will depositing from database when then starting returns on the web server.
4) flash provides the restricted function to editor's configuration function, is called by the external web page script, to realize the control to user's editing authority.For example only allow keeper super to edit configuration, can realize function C anEdit (Boolean flag) in the flash module, whether decision allows to enter edit pattern according to parameter value.Call by javascript in then when the page loads:
<script?language=”javascript”>
function?Authorize()
{
var?flag;
<%if(″super″.equals(user)){%>
flag=″true″;
<%}else{%>
flag=”false”;
<%}%>
myflash.CanEdit(flag);
}
</script>
<body?onload=″Authorize();″>
The page passes to the flash module with parameter, finishes the control to editing authority.
Present embodiment is according to electric network wiring scheme online editing configuration method, carry out in the process of specific implementation, adopt complete platform based on compatible web technology, user interface realizes with form web page, user's editor and demonstration only need generic browser, installation, renewal and the network-adaptive problem of avoiding private client software to bring.Simultaneously the configuration function module can with other part good combination of system, call mutually.

Claims (6)

1. the online editing configuration method of an electric network wiring scheme is characterized in that: realizes based on the flash technology, and can be by online editor, configuration and the demonstration of finishing electric network wiring scheme of common web browser.
2. the online editing configuration method of electric network wiring scheme according to claim 1 is characterized in that: comprise the step of utilizing the flash module that graphics edition and the operation of data configuration are provided;
Utilize external web page and backstage serve end program that the complete user interface of embedded flash module is provided, and the step of external data visit support is provided for the flash module;
Utilize data-interface to realize carrying out between flash module and the external web page step of data transmission and control channel.
3. the online editing configuration method of electric network wiring scheme according to claim 2, it is characterized in that: described flash module possesses editor and moves two kinds of patterns, the figure that editor generates can former state show when operation that configuration result can link jump to related pages when operation.
4. the online editing configuration method of electric network wiring scheme according to claim 2, it is characterized in that: described external web page and backstage business processing are by being converted into database information the xml document form, for the flash module provides configuration required data message.
5. the online editing configuration method of electric network wiring scheme according to claim 2, it is characterized in that: the deposit information that described flash module editor configuration generates, by calling the function that external web page provides, be kept on the web server with the xml document form, and in database, back up simultaneously, when restarting, web station system from DB Backup, reverts to the xml file.
6. the online editing configuration method of electric network wiring scheme according to claim 2, it is characterized in that: described flash module realizes that the control function of editting function calls for the external web page script, webpage and background process realize the control of authority to editting function by judging user identity and calling the function of flash module.
CNA2008101235668A 2008-07-08 2008-07-08 Electric network wiring scheme on-line editing configuration method Pending CN101339503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101235668A CN101339503A (en) 2008-07-08 2008-07-08 Electric network wiring scheme on-line editing configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101235668A CN101339503A (en) 2008-07-08 2008-07-08 Electric network wiring scheme on-line editing configuration method

Publications (1)

Publication Number Publication Date
CN101339503A true CN101339503A (en) 2009-01-07

Family

ID=40213579

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101235668A Pending CN101339503A (en) 2008-07-08 2008-07-08 Electric network wiring scheme on-line editing configuration method

Country Status (1)

Country Link
CN (1) CN101339503A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877716A (en) * 2010-03-10 2010-11-03 艾默生网络能源有限公司 Customization method for configuration template, display method for configuration template and server
CN102467687A (en) * 2010-11-05 2012-05-23 华东电网有限公司富春江水力发电厂 Power equipment management method and apparatus thereof
CN105184011A (en) * 2015-09-28 2015-12-23 云瑞科技(天津)有限公司 Automatic transformer substation WEB primary connection diagram forming method and device
CN106991129A (en) * 2017-03-07 2017-07-28 广西大学 Real-time dataBase system and implementation method based on SOA framework electric power dispatching systems
CN103780656B (en) * 2012-10-25 2017-12-15 上海宝信软件股份有限公司 One kind can configure reusable mobile monitoring system based on configuration
CN107783986A (en) * 2016-08-25 2018-03-09 平安科技(深圳)有限公司 A kind of web graph shape edit methods and terminal
CN109117138A (en) * 2018-08-23 2019-01-01 北京和利时系统工程有限公司 A kind of configuration method and device, computer readable storage medium
CN112765648A (en) * 2020-12-29 2021-05-07 腾讯科技(深圳)有限公司 Document processing method, device, equipment and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877716A (en) * 2010-03-10 2010-11-03 艾默生网络能源有限公司 Customization method for configuration template, display method for configuration template and server
CN101877716B (en) * 2010-03-10 2013-04-24 艾默生网络能源有限公司 Customization method for configuration template, display method for configuration template and server
CN102467687A (en) * 2010-11-05 2012-05-23 华东电网有限公司富春江水力发电厂 Power equipment management method and apparatus thereof
CN103780656B (en) * 2012-10-25 2017-12-15 上海宝信软件股份有限公司 One kind can configure reusable mobile monitoring system based on configuration
CN105184011A (en) * 2015-09-28 2015-12-23 云瑞科技(天津)有限公司 Automatic transformer substation WEB primary connection diagram forming method and device
CN107783986A (en) * 2016-08-25 2018-03-09 平安科技(深圳)有限公司 A kind of web graph shape edit methods and terminal
CN106991129A (en) * 2017-03-07 2017-07-28 广西大学 Real-time dataBase system and implementation method based on SOA framework electric power dispatching systems
CN109117138A (en) * 2018-08-23 2019-01-01 北京和利时系统工程有限公司 A kind of configuration method and device, computer readable storage medium
CN112765648A (en) * 2020-12-29 2021-05-07 腾讯科技(深圳)有限公司 Document processing method, device, equipment and storage medium
CN112765648B (en) * 2020-12-29 2021-10-15 腾讯科技(深圳)有限公司 Document processing method, device, equipment and storage medium
WO2022143174A1 (en) * 2020-12-29 2022-07-07 腾讯科技(深圳)有限公司 Data transmission method and apparatus, device, storage medium, and computer program product

Similar Documents

Publication Publication Date Title
CN101339503A (en) Electric network wiring scheme on-line editing configuration method
US8751587B2 (en) Real-time web applications
US8843832B2 (en) Architecture, system and method for a real-time collaboration interface
US8689234B2 (en) Providing real-time widgets in a web application framework
US8301718B2 (en) Architecture, system and method for a messaging hub in a real-time web application framework
CN110083790A (en) Page editing method, page output method, device, computer equipment and medium
US20080127091A1 (en) Custom language support for project documentation and editing
US8683357B2 (en) Providing real time web application framework socket
CN105068815A (en) Page editor interaction apparatus and method
CN101895431A (en) RIA-based high-performance Web transmission network management system and implementation method thereof
CN101187869A (en) User interface collaboration framework
CN106371874A (en) Plug-in data loading method and equipment
US8180828B2 (en) Architecture, system and method for providing a plug-in architecture in a real-time web application framework
CN104317591A (en) OSGi (open service gateway initiative)-based web interface frame system and web business processing method thereof
CN103179166A (en) Method of providing service in client and the client
CN104750796A (en) Method for leading out Word under BS system
CN103019874A (en) Method and device for realizing exception handling based on data synchronization
CN103473034B (en) A kind of method and apparatus of dynamic publishing Web service
CN114706579A (en) Page development method, device, server and storage medium
CN105144091B (en) It is generated for the user interface model of the order line based on program
CN105117555A (en) On-line browsing system of nuclear power three-dimensional design model
CN102289745A (en) Method for realizing visual operation interface of ERP (Enterprise Resource Planning) system of power system
CN111190588A (en) Method and device for operating and controlling a machine installation and for generating a field bus configuration by means of a graphical development interface
CN104834715A (en) Website generating method and system based on components and container
CN103677854A (en) Design method and design system of OSGI (Open Service Gateway Initiative)-WEB framework applicable to cloud computing environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090107