CN103247021B - A kind of method that SVG polar plot is converted to LPF polar plot - Google Patents

A kind of method that SVG polar plot is converted to LPF polar plot Download PDF

Info

Publication number
CN103247021B
CN103247021B CN201310079605.XA CN201310079605A CN103247021B CN 103247021 B CN103247021 B CN 103247021B CN 201310079605 A CN201310079605 A CN 201310079605A CN 103247021 B CN103247021 B CN 103247021B
Authority
CN
China
Prior art keywords
lpf
svg
polar plot
configuration
converted
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
CN201310079605.XA
Other languages
Chinese (zh)
Other versions
CN103247021A (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.)
CHINA REALTIME DATABASE Co Ltd
State Grid Corp of China SGCC
Datong Power Supply Co of State Grid Shanxi Electric Power Co Ltd
Original Assignee
CHINA REALTIME DATABASE Co Ltd
State Grid Corp of China SGCC
Datong Power Supply Co of State Grid Shanxi 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 CHINA REALTIME DATABASE Co Ltd, State Grid Corp of China SGCC, Datong Power Supply Co of State Grid Shanxi Electric Power Co Ltd filed Critical CHINA REALTIME DATABASE Co Ltd
Priority to CN201310079605.XA priority Critical patent/CN103247021B/en
Publication of CN103247021A publication Critical patent/CN103247021A/en
Application granted granted Critical
Publication of CN103247021B publication Critical patent/CN103247021B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of method that SVG polar plot is converted to LPF polar plot: first, the object elements of SVG Drawing Object is respectively converted into the element in the LPF of correspondence, and resolve the filter used in element, resolve the linear gradient in SVG and radiation gradual change, and the transition of multiple colors is used in same pel;Then, in the LPF changed, by the way of writing Javascript script, it is achieved the dynamic picture indicating of LPF, by pel flicker, colour switching mode, show the data in Hisoon real-time data base and data alarm to user;Again by configuration instrument, by the Oracle of incoming for LPF application server, user uses gate system, opens configuration figure by configuration ActiveX control, obtains described LPF, and show user from application server.Described LPF image is in the case of amplifying or changing size, and its graphical quality will not be lost.

Description

A kind of SVG Polar plot is converted to LPF The method of polar plot
Technical field
The present invention relates to a kind of two bit vector bitmap-format conversion methods based on XML language, belong to power system portal website view and show field.
Background technology
SVG scalable vector graphics (Scalable Vector Graphics) is based on extensible markup language (XML), for describing a kind of graphical format of two-dimension vector graphics.SVG is a kind of new two-dimension vector graphics form that W3C i.e. Internet normal structure was formulated in August, 2000, is also the network training room standard in specification.SVG strictly defers to XML grammer, and describes picture material with the descriptive language of text formatting, is therefore a kind of vector graphics format unrelated with image resolution ratio.
SVG graphical format has the advantage that 1, vector display object, is not limited by resolution ratio;2, based on XML;3, text is used to carry out description object;4, there is interactivity and dynamic;5, DOM is supported completely.
But SVG polar plot can not fully meet some actual demand of power system at present, as measuring point trend analysis is checked, day month year curve is checked, the convenient drafting of the senior pels such as pie chart, rod figure, block diagram, instrument board, LED, the function such as real time data and historical data in Real-time Alarm in picture, and Dynamic Display Hisoon database.
Therefore, need to provide a kind of instrument that SVG form polar plot transfers to own LPF form polar plot, transfer SVG form polar plot to LPF, then use Hisoon configuration instrument to open, and be published in Hisoon gate system, it is achieved user is for the advanced requirement of power system configuration figure.
Summary of the invention
The drawbacks described above existed for two bit vector bitmap-format conversion methods based on XML language in prior art, the present invention provides a kind of method that SVG polar plot is converted to LPF polar plot.The drawing instrument provided by Hisoon configuration instrument and ActiveX space, it is possible to achieve the C of LPF form S show and embed the polar plot of Web and show, LPF image will not be lost amplifying or change its graphical quality in the case of size.LPF image provides abundant element figure, finished product pel, dynamic graphical component, supports the functions such as real time data monitoring, history inversion, trend analysis, Javascript script.
The technical scheme is that
A kind of method that SVG polar plot is converted to LPF polar plot, specifically comprises the following steps that
(1) outside offer SVG Drawing Object;
(2) element during the object elements of SVG Drawing Object step (1) provided is respectively converted into the LPF of correspondence, and resolve the filter used in element, special effect is added to shape and text, resolve the linear gradient in SVG and radiation gradual change, realize a kind of color seamlessly transitting to other colors, and the transition of multiple colors is used in same pel;
(3) in the LPF changed, by the way of writing Javascript script, it is achieved the dynamic picture indicating of LPF, by the flicker of pel, colour switching mode, the data in Hisoon real-time data base and data alarm are shown to user;
(4) by configuration instrument, by the Oracle of incoming for LPF application server, user uses gate system, opens configuration figure by configuration ActiveX control, obtains described LPF, and show user from application server.
Further, the object elements of the SVG Drawing Object described in step (2) includes line (line), circle (circle), oval (ellipse), rectangle (rectangle), polygon (polyline), path (path) element.
The invention has the beneficial effects as follows:
LPF is on the basis of SVG, by transferring SVG configuration figure to LPF configuration figure, in the face of needing to check the user of real time data in Hisoon real-time data base being browsed by configuration instrument, it is achieved that following functions:
1, real-time tendency analysis and historical trending analysis curve are shown;
2, day tracing analysis, moon tracing analysis, year tracing analysis and analysis of statistical data are shown;
3, configuration figure and HighSoon real-time data base is mutual, and provides the interface after a series of encapsulation;
4, configuration figure and the trend analysis module of drafting are published to Hisoon gate system with the form of ActiveX control;
5, by the real time execution situation of web access configuration figure and carry out trend analysis;
6, history inversion function is provided;
7, figure layer technology is supported;
8, support that ActiveX is published to Hisoon gate system.
Accompanying drawing explanation
Fig. 1 is that SVG is to LPF transfer process schematic diagram;
Fig. 2 is that LPF passes through configuration instrument application displaying procedure chart.
Detailed description of the invention
Below in conjunction with the accompanying drawings the present invention is explained in further detail.
The present invention a kind of SVG polar plot is converted to the method for LPF polar plot:
SVG form configuration figure is changed by object, by SVG Drawing Object therein: elements such as line, circle, ellipse, rectangle, polyline, polygon, path, it is respectively converted into the element in the LPF of correspondence, and resolve the filter used in element, special effect is added to shape and text, resolve the linear gradient in SVG and radiation gradual change, it is achieved a kind of color seamlessly transitting to other colors, and the transition of multiple colors is used in same pel.
Then in the LPF changed, by the way of writing Javascript script, it is achieved the dynamic picture indicating of LPF, by the flicker of pel, the modes such as colour switching, preferably show the data in Hisoon real-time data base and data alarm to user, as shown in Figure 1.
Then by configuration instrument, by the Oracle of incoming for LPF application server.User uses gate system, when opening configuration figure by configuration ActiveX control, obtains this LPF, and shows user, as shown in Figure 2 from application server.
Realizing SVG configuration figure by Hisoon configuration instrument, to be converted to LPF configuration graphic operation process as follows:
1, open Hisoon configuration instrument, click on and start-open-SVG file;
2, in the dialog box ejected, SVG file to be changed is selected;
3, this SVG file is opened;
4, the Javascript script edit of necessity is carried out;
5, click starts-saves as, and configuration figure is saved as LPF file.

Claims (2)

1. the method that SVG polar plot is converted to LPF polar plot, specifically comprises the following steps that
(1) outside offer SVG Drawing Object;
(2) element during the object elements of SVG Drawing Object step (1) provided is respectively converted into the LPF of correspondence, and resolve the filter used in element, special effect is added to shape and text, resolve the linear gradient in SVG and radiation gradual change, realize a kind of color seamlessly transitting to other colors, and the transition of multiple colors is used in same pel;
(3) in the LPF changed, by the way of writing Javascript script, it is achieved the dynamic picture indicating of LPF, by the flicker of pel, colour switching mode, the data in Hisoon real-time data base and data alarm are shown to user;
(4) by configuration instrument, by the Oracle of incoming for LPF application server, user uses gate system, opens configuration figure by configuration ActiveX control, obtains described LPF, and show user from application server.
The method that a kind of SVG polar plot the most according to claim 1 is converted to LPF polar plot, it is characterised in that: the object elements of the SVG Drawing Object described in step (2) includes line (line), circle (circle), oval (ellipse), rectangle (rectangle), polygon (polyline), path (path) element.
CN201310079605.XA 2013-03-13 2013-03-13 A kind of method that SVG polar plot is converted to LPF polar plot Active CN103247021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310079605.XA CN103247021B (en) 2013-03-13 2013-03-13 A kind of method that SVG polar plot is converted to LPF polar plot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310079605.XA CN103247021B (en) 2013-03-13 2013-03-13 A kind of method that SVG polar plot is converted to LPF polar plot

Publications (2)

Publication Number Publication Date
CN103247021A CN103247021A (en) 2013-08-14
CN103247021B true CN103247021B (en) 2016-09-07

Family

ID=48926526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310079605.XA Active CN103247021B (en) 2013-03-13 2013-03-13 A kind of method that SVG polar plot is converted to LPF polar plot

Country Status (1)

Country Link
CN (1) CN103247021B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631578B (en) * 2013-10-12 2017-03-15 国家电网公司 Method for exhibiting data in a kind of distribution automation system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023849A (en) * 2009-09-22 2011-04-20 北京搜狗科技发展有限公司 Processing method and device for multi-platform multi-resolution application program interface
CN102832703A (en) * 2011-06-16 2012-12-19 国电南瑞科技股份有限公司 Transformer substation based on model converter and quick scheduling master station converting method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352500B2 (en) * 2010-10-01 2013-01-08 Sony Corporation Centralized multimedia access

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102023849A (en) * 2009-09-22 2011-04-20 北京搜狗科技发展有限公司 Processing method and device for multi-platform multi-resolution application program interface
CN102832703A (en) * 2011-06-16 2012-12-19 国电南瑞科技股份有限公司 Transformer substation based on model converter and quick scheduling master station converting method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CAD地图格式转换及网络发布实现;余劲松弟 等;《海洋测绘》;20080531;第28卷(第3期);全文 *
开源代码技术的FLASH地图实现方法;宋现锋 等;《地球信息科学》;20061231;第8卷(第4期);全文 *

Also Published As

Publication number Publication date
CN103247021A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN103176986B (en) Method for converting flash animation data into hypertext markup language (HTML) 5 data
CN103365862B (en) It is a kind of for generating the method and apparatus of picture corresponding with the page
CN107729005A (en) A kind of visualization business interface Dynamic Configuration based on H5
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
CN103970750B (en) A kind of method and apparatus generating html web page
CN103631578B (en) Method for exhibiting data in a kind of distribution automation system
CN105094930A (en) Image positioning system and method
CN105740377A (en) Web page template production visualization method and web page visualization production apparatus
CN107943915A (en) The method and device of OFD file Real time displayings based on HTML5
CN104951311B (en) A kind of page animation method and device
CN107888429A (en) Block chain running status method for visualizing, device and browser
CN103577536A (en) System and method for generating and improving template website
CN105975268A (en) Method of width self-adaptation for PC end information system webpage interface
CN103559353B (en) A kind of method for designing based on dynamic behaviour form in the monitoring system picture configuration of SVG
CN103414888A (en) Building video graphical display method based on SVG (scalable vector graphics) technology
CN110119272A (en) A kind of human-machine interface configuration design method and device
CN103247021B (en) A kind of method that SVG polar plot is converted to LPF polar plot
CN107832460A (en) The graphical page control method of real-time display Satellite TT data based on SVG
CN104715054A (en) Method for converting Silverlight content into HTML webpage content
CN109241510A (en) A kind of autochart generation system and its implementation based on wechat small routine
US20150269131A1 (en) Content conversion apparatus and method, and communication system
CN105373565A (en) Webpage processing method and apparatus
CN113568613A (en) Method for on-line rotating dynamic interactive webpage of svg configuration flow chart
CN107066106A (en) Remote management system and method thereof
CN204334631U (en) A kind of real time monitoring apparatus based on web graph shape

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