CN103247021A - Method for converting SVG into LPF vector graphics - Google Patents

Method for converting SVG into LPF vector graphics Download PDF

Info

Publication number
CN103247021A
CN103247021A CN201310079605XA CN201310079605A CN103247021A CN 103247021 A CN103247021 A CN 103247021A CN 201310079605X A CN201310079605X A CN 201310079605XA CN 201310079605 A CN201310079605 A CN 201310079605A CN 103247021 A CN103247021 A CN 103247021A
Authority
CN
China
Prior art keywords
lpf
svg
vector graphics
configuration
user
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
CN201310079605XA
Other languages
Chinese (zh)
Other versions
CN103247021B (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

Images

Abstract

The invention discloses a method for converting an SVG (scalable vector graphics) into LPF (low pass filter) vector graphics. The method comprises the following steps: at first, elements of an SVG graphic object are respectively converted into elements in corresponding LPF vector graphics, filters used in the elements are analyzed, linear gradient and the radiation gradient in the SVG are analyzed, and transition of multiple colors is carried out in the same pel; then, in the converted LPF vector graphics, the dynamic picture display of the LPF vector graphics is realized through compiling Javascripts, and data and data alarm in a highsoon real-time database are displayed to a user through pel flashing and color changing manners; and the LPF vector graphics are transferred in an Oracle of an application server through a configuration tool, the user uses a portal system and opens the configuration graphics through a configuration ActiveX, and the LPF vector graphics are obtained from the application server and are displayed to the user. Under the condition that the LPF vector graphics are amplified or changed in size, the graphics quality cannot be influenced.

Description

A kind of SVG polar plot is converted to the method for LPF polar plot
Technical field
The present invention relates to a kind of two bit vector bitmap-format conversion methods based on the XML language, belong to electric system portal website view shows field.
Background technology
SVG scalable vector graphics (Scalable Vector Graphics) is based on extend markup language (XML), is used for describing a kind of graphical format of two-dimension vector graphics.SVG is that W3C is a kind of new two-dimension vector graphics form that the Internet normal structure was formulated in August, 2000, also is the network vector graphics standard in the standard.The XML grammer is deferred in the SVG strictness, and describes picture material with the descriptive language of text formatting, is a kind of therefore and the irrelevant vector graphics format of image resolution ratio.
The SVG graphical format has the following advantages: 1, vector shows object, is not subjected to resolution limit; 2, based on XML; 3, adopt text to come description object; 4, have interactivity and dynamic; 5, support DOM fully. 
But the SVG polar plot can not satisfy some actual demand of electric system at present fully, trend analysis is checked as measuring point, day/moon/year curve is checked, the convenient of senior pels such as pie chart, excellent figure, histogram, panel board, LED drawn, Real-time Alarm in the picture, and function such as real time data and historical data in the Dynamic Display Hisoon database.
Therefore, need provide a kind of and transfer SVG form polar plot to have LPF form polar plot by oneself instrument, transfer SVG form polar plot to LPF, use the Hisoon configuration instrument to open then, and be published in the Hisoon gate system, realize that the user is for the advanced requirement of electric system configuration figure.
Summary of the invention
Above-mentioned defective at existing based on two bit vector bitmap-format conversion methods of XML language in the prior art the invention provides the method that a kind of SVG polar plot is converted to the LPF polar plot.By drawing instrument and the ActiveX space that the Hisoon configuration instrument provides, the C S that can realize the LPF form shows and the polar plot that embeds Web is showed, the LPF image amplify or varying sized situation under its graphical quality can not lose.The LPF image provides abundant element figure, finished product pel, dynamic pel, supports functions such as real time data monitoring, historical inverting, trend analysis, Javascript script.
Technical scheme of the present invention is:
A kind of SVG polar plot is converted to the method for LPF polar plot, and concrete steps are as follows:
(1) outside provides SVG Drawing Object;
(2) object elements of the SVG Drawing Object that step (1) is provided is converted to the element among the corresponding LPF respectively, and the filter that uses in the parsing element, add special effect to shape and text, resolve linear gradient and radiation gradual change among the SVG, realize a kind of color to the seamlessly transitting of other colors, and the transition of a plurality of colors is used in the same pel;
(3) in the good LPF of conversion, by writing the mode of Javascript script, realize that the dynamic menu of LPF is showed, by flicker, the colour switching mode of pel, show data and data alarm in the Hisoon real-time data base to the user;
(4) by configuration instrument, LPF is imported among the Oracle of application server, the user uses gate system, opens configuration figure by the configuration ActiveX control, obtains described LPF from application server, and shows the user.
Further, the object elements of the described SVG Drawing Object of step (2) comprises line (line), circle (circle), oval (ellipse), rectangle (rectangle), polygon (polyline), path (path) element.
The invention has the beneficial effects as follows:
LPF by transferring SVG configuration figure to LPF configuration figure, in the face of browsing the user who checks real time data in the Hisoon real-time data base by configuration instrument, has realized following function on the basis of SVG:
1, shows real-time tendency analysis and historical trend analytic curve;
2, show a day tracing analysis, month tracing analysis, year tracing analysis and analysis of statistical data;
3, configuration figure and HighSoon real-time data base is mutual, and the interface after a series of encapsulation is provided;
4, the configuration figure that draws and trend analysis module are published to the Hisoon gate system with the form of ActiveX control;
5, the real time execution situation by web access configuration figure and carry out trend analysis;
6, provide historical inverting function;
7, support figure layer technology;
8, support that ActiveX is published to the Hisoon gate system.
Description of drawings
Fig. 1 is that SVG is to LPF transfer process synoptic diagram;
Fig. 2 is that LPF uses the displaying procedure chart by configuration instrument.
Embodiment
Below in conjunction with accompanying drawing the present invention is explained in further detail.
The method that a kind of SVG polar plot of the present invention is converted to the LPF polar plot is:
Figure changes by object with SVG form configuration, with SVG Drawing Object wherein: elements such as line, circle, ellipse, rectangle, polyline, polygon, path, be converted to the element among the corresponding LPF respectively, and the filter that uses in the parsing element, add special effect to shape and text, resolve linear gradient and radiation gradual change among the SVG, realize a kind of color to the seamlessly transitting of other colors, and the transition of a plurality of colors is used in the same pel.
In the good LPF of conversion, by writing the mode of Javascript script, realize that the dynamic menu of LPF is showed then, flicker by pel, modes such as colour switching are better showed data and data alarm in the Hisoon real-time data base to the user, as shown in Figure 1.
By configuration instrument, LPF is imported among the Oracle of application server then.The user uses gate system, when opening configuration figure by the configuration ActiveX control, obtains this LPF from application server, and shows the user, as shown in Figure 2.
It is as follows to realize that by the Hisoon configuration instrument SVG configuration figure is converted to LPF configuration graphic operation process:
1, open the Hisoon configuration instrument, click begins-opens-the SVG file;
2, the SVG file that selection will be changed in the dialog box that ejects;
3, open this SVG file;
4, carrying out necessary Javascript script writes;
5, click begins-saves as, and configuration figure is saved as the LPF file.

Claims (2)

1. a SVG polar plot is converted to the method for LPF polar plot, and concrete steps are as follows:
(1) outside provides SVG Drawing Object;
(2) object elements of the SVG Drawing Object that step (1) is provided is converted to the element among the corresponding LPF respectively, and the filter that uses in the parsing element, add special effect to shape and text, resolve linear gradient and radiation gradual change among the SVG, realize a kind of color to the seamlessly transitting of other colors, and the transition of a plurality of colors is used in the same pel;
(3) in the good LPF of conversion, by writing the mode of Javascript script, realize that the dynamic menu of LPF is showed, by flicker, the colour switching mode of pel, show data and data alarm in the Hisoon real-time data base to the user;
(4) by configuration instrument, LPF is imported among the Oracle of application server, the user uses gate system, opens configuration figure by the configuration ActiveX control, obtains described LPF from application server, and shows the user.
2. a kind of SVG polar plot according to claim 1 is converted to the method for LPF polar plot, it is characterized in that: the object elements of the described SVG Drawing Object of step (2) comprises 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 true CN103247021A (en) 2013-08-14
CN103247021B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631578A (en) * 2013-10-12 2014-03-12 国家电网公司 Data display method in power distribution network automated system

Citations (3)

* 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
US20120084326A1 (en) * 2010-10-01 2012-04-05 Sony Corporation Centralized multimedia access
CN102832703A (en) * 2011-06-16 2012-12-19 国电南瑞科技股份有限公司 Transformer substation based on model converter and quick scheduling master station converting method

Patent Citations (3)

* 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
US20120084326A1 (en) * 2010-10-01 2012-04-05 Sony Corporation Centralized multimedia access
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地图格式转换及网络发布实现", 《海洋测绘》 *
宋现锋 等: "开源代码技术的FLASH地图实现方法", 《地球信息科学》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN103247021B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US10380235B2 (en) Method and system for annotation and connection of electronic documents
CN103176986B (en) Method for converting flash animation data into hypertext markup language (HTML) 5 data
CN101523336B (en) Terminal, content display method
CN104410720A (en) Real-time monitoring platform system based on web graph and monitoring method thereof
CN107943915B (en) Method and device for OFD (office file) online display based on HTML5
US20120047234A1 (en) Web page browsing system and relay server
CN103353878A (en) Method for displaying files of different file formats in webpage
CN103970750A (en) Method and device for generating HTML (Hypertext Markup Language) web pages
CN107992589B (en) SVG map data loading method, device and system
CN104050238A (en) Map labeling method and map labeling device
CN105094930A (en) Image positioning system and method
CN111459501B (en) SVG-based Web configuration picture storage and display system, method and medium
CN104731390A (en) System and method for saving original handwriting
CN105631080A (en) Automatic generation device and method of vector power grid wiring diagram
CN103631578A (en) Data display method in power distribution network automated system
CN109871206B (en) Method, device and equipment for visualizing JSON (Java Server pages) tree and readable storage medium
CN107888429A (en) Block chain running status method for visualizing, device and browser
CN104318508A (en) Data visualization method and system based on planar shp map layer
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
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
CN107085518A (en) A kind of big data rendering intent
CN103247021B (en) A kind of method that SVG polar plot is converted to LPF polar plot
CN106445320A (en) Method and device for manufacturing and displaying contents of electronic book

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