CN101493810B - Display device for electrical equipment chart of electrical power distribution network - Google Patents

Display device for electrical equipment chart of electrical power distribution network Download PDF

Info

Publication number
CN101493810B
CN101493810B CN2008100260465A CN200810026046A CN101493810B CN 101493810 B CN101493810 B CN 101493810B CN 2008100260465 A CN2008100260465 A CN 2008100260465A CN 200810026046 A CN200810026046 A CN 200810026046A CN 101493810 B CN101493810 B CN 101493810B
Authority
CN
China
Prior art keywords
equipment
distribution network
power distribution
electrical
chart
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.)
Expired - Fee Related
Application number
CN2008100260465A
Other languages
Chinese (zh)
Other versions
CN101493810A (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.)
Zhuhai Xujizhi Power System Automation Co Ltd
Original Assignee
Zhuhai Xujizhi Power System Automation 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 Zhuhai Xujizhi Power System Automation Co Ltd filed Critical Zhuhai Xujizhi Power System Automation Co Ltd
Priority to CN2008100260465A priority Critical patent/CN101493810B/en
Publication of CN101493810A publication Critical patent/CN101493810A/en
Application granted granted Critical
Publication of CN101493810B publication Critical patent/CN101493810B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a display device of an electrical equipment map of a distribution network, and aims at providing the display device of the electrical equipment map of the distribution network, which has the advantages of small resource occupation, rapid display speed, safety, high reliability, low hardware requirement and ability for cross-platform use. The display device comprises a device for Svg file input, a device for xml data input or a database interface, a graphic data-optimized device, a generating device for GIF image format, and a device for GIF image display and GIF image interaction. The display device can be widely used in monitoring field of distribution equipment.

Description

The display device of electrical equipment chart of electrical power distribution network
Technical field
The present invention relates to a kind of display device of electrical equipment chart of electrical power distribution network.
Background technology
At present, the display device that electrical equipment chart of electrical power distribution network is commonly used has following several:
(1) adopt ActiveX or Com technology on the webpage of client, to show electrical equipment chart of electrical power distribution network.There is following shortcoming in this display mode:
(a) configuration of client is generally all very low, and when the electric distribution network electrical equipment quantity very big (more than 100,000) that shows, the travelling speed of client will be very slow, opens a plurality of browsers the problem that the browser internal memory overflows can take place;
(b) adopt this mode, under the large numbers of situations of electric distribution network electrical equipment that show, will have lot of data from downloaded, cause the pressure of server very big, cause network congestion easily, and lot of data causes easily also client display graphics speed slow from Network Transmission;
(c) there are a large amount of security breaches in ActiveX itself, the invador utilizes these leaks to write out the ActiveX webpage of poison in spite of illness or malicious code easily, so as long as the user uses the IE browser to visit these webpages, malicious code will be attacked the whole operation system, and the security of computing machine and network is had serious threat;
(d) can't realize cross-platform use.ActiveX can only use on Windows operating system, causes usable range that limitation is arranged;
(e) can't on the very low smart machines such as PDA of configuration, show large numbers of electrical equipment chart of electrical;
(f) when electrical equipment quantity increases, also need the configuration of updating client computing machine.
(2) adopt the applet technology of Java on the webpage of client, to show electrical equipment chart of electrical power distribution network.There is following shortcoming in this display mode:
(a) configuration of client is generally all very low, and when the electric distribution network electrical equipment quantity very big (more than 100,000) that shows, the travelling speed of client will be very slow, opens a plurality of browsers the problem that the browser internal memory overflows can take place;
(b) adopt this mode, under the large numbers of situations of electric distribution network electrical equipment that show, will have lot of data from downloaded, cause the pressure of server very big, cause network congestion easily, and lot of data causes easily also client display graphics speed slow from Network Transmission;
(c) applet is when bringing benefit to people, also brought potential potential safety hazard, the deviser of applet has an opportunity to invade other people machine, so people use in the browser with Java function, just must add to be careful for the place of the webpage of browsing;
(d) if show when electric distribution network electrical equipment quantity is very big, it also can't use on the very low smart machines such as PDA of configuration;
(e) when electrical equipment quantity increases, also need the configuration of updating client computing machine.
Summary of the invention
Technical matters to be solved by this invention is to overcome the deficiencies in the prior art, provides that a kind of resource occupation is few, display speed is fast, safe reliability is high, the display device of, electrical equipment chart of electrical power distribution network that can cross-platform use low to hardware requirement.
The technical solution adopted in the present invention is: the present invention includes the device of input Svg file, be used to define electrical equipment chart of electrical power distribution network shape attribute and the equipment formation of current power distribution network electric diagram and the relation between the equipment of 2D or 3D; Import the device of xml data or database interface, be used to define the equipment details of 2D or 3D figure; The device that graph data is optimized is used to adopt the quaternary tree algorithm that graph data is classified, and is optimized with the processing procedure to equipment graphic presentation; Generate the device of GIF picture format, be used for equipment graphical information that the device of described graph data optimization is brought, the employing shape library shows the electrical equipment chart of electrical power distribution network of 2D or 3D, and is converted into the picture of GIF form; The device that shows GIF figure and GIF graphical interaction, be used for collecting user's input information by the ajax technology, adopt the xml form to be delivered on the server described input information, and the GIF format picture and the relevant information that send at the mode display server of customer end adopted double buffering.
Adopting the quaternary tree algorithm that graph data is classified comprises the steps:
(1) original graph be full figure as root node, this figure comprises all equipment;
(2) full figure on average is divided into four equipment region pieces, as four subordinate's tree nodes of full figure splitting equipment region unit;
(3) if the equipment number of a certain equipment region piece in the step (2) greater than 200, then this region unit is used as original graph, the operation that continues execution in step (1) and (2) is cut apart, till the equipment number in the current device region unit was less than or equal to 200 o'clock;
(4) if the equipment number average in the equipment region piece in the step (2) is less than or equal to 200 then no longer cut apart.
The device of described graph data optimization also is used for graphics process is dispatched, and is optimized with the processing procedure to equipment graphic presentation.
Described graphics process is dispatched, be used for server, when the number of users of current graphic process unit surpasses its processing power, start new graphic process unit in multi-core CPU or a plurality of graphic process unit; Otherwise,, then close unnecessary graphic process unit automatically when the number of users of graphic process unit reduces to its processing power when more than needed.
The process of the GIF format picture that the mode display server of described employing double buffering sends comprises
(1) two pictures of customer end adopted, at first, setting the picture that manifests is first picture, hiding picture is second picture;
(2) when the user operates first picture of the current show state of representing described electrical equipment chart of electrical, operational order is sent to server, server is received the picture of the GIF form that generates a described electrical equipment chart of electrical state after the described operational order of representative behind the Client command, and the picture that described second picture that is in hidden state then obtains the GIF form of the described electrical equipment chart of electrical state after the described operational order begins to upgrade;
(3) after described second picture upgrades successfully, become by hidden state and to manifest state, simultaneously, described first picture becomes hidden state by manifesting state;
(4) when the user operates described second picture after upgrading successfully, new operational order is sent to server, server is received the picture of the GIF form that generates the described electrical equipment chart of electrical state after the described new operational order of representative after the new operational order of client, and the picture that described first picture that is in hidden state then obtains the GIF form of the described electrical equipment chart of electrical state after the described new operational order begins to upgrade;
(5) after described first picture upgrades successfully, become by hidden state and to manifest state, simultaneously, described second picture becomes hidden state by manifesting state, comes back to the state of step (1).
Described shape library is the OpenGL shape library.
Described electrical equipment chart of electrical power distribution network shape attribute is used for the essential information of define equipment icon, comprises that title, numbering and equipment are by which basic icon being made of.
Described basic icon is that geometric graphic element comprises line, face, rectangle, sphere, broken line, polygon.
Described equipment details comprise resume, model, magnitude of voltage, the current value of equipment.
Described input information comprises the figure layer of the current coordinate of user, magnification ratio, operation.
The invention has the beneficial effects as follows: because the present invention adopts the picture display mode of GIF form, adopt the figure compressibility height of the figure of GIF form than png or jpg form, the compressibility of picture is high more, cross-color is also just serious more, the electrical equipment chart of electrical of power distribution network only need adopt 10~80 kinds of color relations can satisfy the demand fully, therefore adopt the GIF format graphics can meet the demands fully, the GIF format picture is when showing same equipment figure, data volume is littler than other picture format, therefore from server image data is sent to client, client is the speed piece more of display process again; Adopt the GIF form can also realize simple animation, as realize that certain switch color is flashed or the variation of folding condition, only need after dynamically generating two pictures on the server, be merged into the picture of a GIF form, and send to client, otherwise to realize that switch flashes the variation of color or folding condition, just need client every several seconds from the downloaded figure, increase load of server, the time of flashing of client also is inconsistent; In addition, because adopt the picture display graphics of GIF form, so client is not just worried security and cross-platform problem; Also can show complicated electrical equipment chart of electrical power distribution network very soon even dispose very low smart machines such as PDA; When electrical equipment quantity increases, do not need the configuration of updating client computing machine, protection user's investment yet; So resource occupation of the present invention is few, display speed is fast, safe reliability is high, low to hardware requirement, can cross-platformly use;
Because the present invention adopts the quaternary tree algorithm that graph data is classified and adopts the GIF format picture of the mode display server transmission of double buffering, optimized the electrical equipment chart of electrical power distribution network speed of displaying, and it is very smooth to allow the user operate, so resource occupation of the present invention is few, display speed is fast.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Embodiment
As shown in Figure 1, the present invention includes the device of input Svg file, be used to define electrical equipment chart of electrical power distribution network shape attribute and the equipment formation of current power distribution network electric diagram and the relation between the equipment of 2D or 3D, described electrical equipment chart of electrical power distribution network shape attribute is used for the essential information of define equipment icon, comprise title, numbering and equipment by which basic icon being made of, described basic icon is that geometric graphic element comprises line, face, rectangle, sphere, broken line, polygon; Import the device of xml data or database interface, be used to define the equipment details of 2D or 3D figure, described equipment details comprise resume, model, magnitude of voltage, the current value of equipment, and it is replenishing graphic attribute; The device that graph data is optimized, be used to adopt the quaternary tree algorithm that graph data is classified, be optimized with processing procedure equipment graphic presentation, the device of described graph data optimization also is used for graphics process is dispatched, described graphics process is dispatched, be used for server, when the number of users of current graphic process unit surpasses its processing power, start new graphic process unit in multi-core CPU or a plurality of graphic process unit; Otherwise,, then close unnecessary graphic process unit automatically when the number of users of graphic process unit reduces to its processing power when more than needed; Generate the device of GIF picture format, be used for equipment graphical information that the device of described graph data optimization is brought, adopt shape library to show the electrical equipment chart of electrical power distribution network of 2D or 3D, and be converted into the picture of GIF form, described shape library is the OpenGL shape library; The device that shows GIF figure and GIF graphical interaction, be used for collecting user's input information by the ajax technology, described input information comprises the figure layer of the current coordinate of user, magnification ratio, operation, adopt the xml form to be delivered on the server described input information, and the GIF format picture and the relevant information that send at the mode display server of customer end adopted double buffering.
Adopting the quaternary tree algorithm that graph data is classified comprises the steps:
(1) original graph be full figure as root node, this figure comprises all equipment;
(2) full figure on average is divided into four equipment region pieces, as four subordinate's tree nodes of full figure splitting equipment region unit;
(3) if the equipment number of a certain equipment region piece in the step (2) greater than 200, then this region unit is used as original graph, the operation that continues execution in step (1) and (2) is cut apart, till the equipment number in the current device region unit was less than or equal to 200 o'clock;
(4) if the equipment number average in the equipment region piece in the step (2) is less than or equal to 200 then no longer cut apart.
If the engineer's scale of full figure is 1: 50m, the user will be 1: check electrical equipment chart of electrical under the 200m, system will be according to user's current coordinate (0,0) and engineer's scale 1: 200m, can directly obtain first equipment region piece of the second level at active user place, the user just can directly carry out the operation of current device region unit like this, and other three region unit equipment just can use, and the figure travelling speed just can improve at least 3/4 like this.
The process of the GIF format picture that the mode display server of described employing double buffering sends comprises
(1) two pictures of customer end adopted, at first, setting the picture that manifests is first picture, hiding picture is second picture;
(2) when the user operates first picture of the current show state of representing described electrical equipment chart of electrical, operational order is sent to server, server is received the picture of the GIF form that generates a described electrical equipment chart of electrical state after the described operational order of representative behind the Client command, and the picture that described second picture that is in hidden state then obtains the GIF form of the described electrical equipment chart of electrical state after the described operational order begins to upgrade;
(3) after described second picture upgrades successfully, become by hidden state and to manifest state, simultaneously, described first picture becomes hidden state by manifesting state;
(4) when the user operates described second picture after upgrading successfully, new operational order is sent to server, server is received the picture of the GIF form that generates the described electrical equipment chart of electrical state after the described new operational order of representative after the new operational order of client, and the picture that described first picture that is in hidden state then obtains the GIF form of the described electrical equipment chart of electrical state after the described new operational order begins to upgrade;
(5) after described first picture upgrades successfully, become by hidden state and to manifest state, simultaneously, described second picture becomes hidden state by manifesting state, comes back to the state of step (1).
The detailed method that the present invention realizes is as follows:
(1) electrical equipment chart of electrical of the power distribution network of the 2D/3D that provides according to the Svg file is found out the kind of equipment, generates the unique ID of figure of device category;
(2) electrical equipment chart of electrical of the power distribution network of the 2D/3D that provides according to the Svg file, find out all total numbers of equipment of electrical equipment chart of electrical of power distribution network, find out the base attribute of individual equipment then, comprise the angle, sense of rotation of coordinate, rotation, its device category, title, numbering etc.,, as key value basic equipment is kept in the mapping according to the unique number of equipment;
(3) obtain the more detailed information of equipment if desired,, obtain according to the unique number of equipment by the device of xml data or database interface;
(4) generated all device objects after, these equipment are sent to the device that graph data is optimized;
(5) device of graph data optimization adopts the data structure of quaternary tree to equipment, and equipment is stored classifiedly, and assurance both can navigate to equipment fast like this, also can reduce the scope to the visit of equipment, had improved speed;
(6) client shows the device of GIF figure and GIF graphical interaction, the user profile of collecting is sent to the device that generates the GIF picture format;
(7) after the device that generates the GIF picture format receives order, order is converted into the order that the device of graph data optimization can be discerned again;
(8) device of the graph data optimization graphical information of finding out the equipment that the user needs sends to the device that generates the GIF picture format;
(9) generate the graphical information of the device of GIF picture format, call the picture that the OpenGl shape library generates the GIF form according to equipment;
(10) client shows that the device of GIF figure and GIF graphical interaction just obtains the information of figure from server, adopts the technology of two buffer memorys to be shown to the user.
By above-mentioned processing; the present invention both can realize perfectly solving safety issue and cross-platform problem, also can well use on the low smart machines such as PDA of configuration, when electrical equipment quantity increases; do not need the configuration of updating client computing machine, protection user's investment yet.
The present invention can be widely used in controller switching equipment monitoring field.

Claims (8)

1. the display device of an electrical equipment chart of electrical power distribution network is characterized in that: comprise
---import the device of Svg file, be used to define electrical equipment chart of electrical power distribution network shape attribute and the equipment formation of current power distribution network electric diagram and the relation between the equipment of 2D or 3D;
---import the device of xml data or database interface, be used to define the equipment details of 2D or 3D figure;
---the device that graph data is optimized, be used to adopt the quaternary tree algorithm that graph data is classified, be optimized with processing procedure equipment graphic presentation;
---generate the device of GIF picture format, be used for equipment graphical information that the device of described graph data optimization is brought, the employing shape library shows the electrical equipment chart of electrical power distribution network of 2D or 3D, and is converted into the picture of GIF form;
---show the device of GIF figure and GIF graphical interaction, be used for collecting user's input information by the ajax technology, adopt the xml form to be delivered on the server described input information, and the GIF format picture and the relevant information that send at the mode display server of customer end adopted double buffering.
2. the display device of electrical equipment chart of electrical power distribution network according to claim 1, it is characterized in that: the device of described graph data optimization also is used for graphics process is dispatched, and is optimized with the processing procedure to equipment graphic presentation.
3. the display device of electrical equipment chart of electrical power distribution network according to claim 2, it is characterized in that: described graphics process is dispatched, be used for server in multi-core CPU or a plurality of graphic process unit, when the number of users of current graphic process unit surpasses its processing power, start new graphic process unit; Otherwise,, then close unnecessary graphic process unit automatically when the number of users of graphic process unit reduces to its processing power when more than needed.
4. the display device of electrical equipment chart of electrical power distribution network according to claim 1, it is characterized in that: described shape library is the OpenGL shape library.
5. the display device of electrical equipment chart of electrical power distribution network according to claim 1, it is characterized in that: described electrical equipment chart of electrical power distribution network shape attribute is used for the essential information of define equipment icon, the basic icon that comprises title, numbering and form described equipment.
6. the display device of electrical equipment chart of electrical power distribution network according to claim 5, it is characterized in that: described basic icon is that geometric graphic element comprises line, face, rectangle, sphere, broken line, polygon.
7. the display device of electrical equipment chart of electrical power distribution network according to claim 1, it is characterized in that: described equipment details comprise resume, model, magnitude of voltage, the current value of equipment.
8. the display device of electrical equipment chart of electrical power distribution network according to claim 1, it is characterized in that: described input information comprises the figure layer of the current coordinate of user, magnification ratio, operation.
CN2008100260465A 2008-01-25 2008-01-25 Display device for electrical equipment chart of electrical power distribution network Expired - Fee Related CN101493810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100260465A CN101493810B (en) 2008-01-25 2008-01-25 Display device for electrical equipment chart of electrical power distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100260465A CN101493810B (en) 2008-01-25 2008-01-25 Display device for electrical equipment chart of electrical power distribution network

Publications (2)

Publication Number Publication Date
CN101493810A CN101493810A (en) 2009-07-29
CN101493810B true CN101493810B (en) 2011-08-03

Family

ID=40924414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100260465A Expired - Fee Related CN101493810B (en) 2008-01-25 2008-01-25 Display device for electrical equipment chart of electrical power distribution network

Country Status (1)

Country Link
CN (1) CN101493810B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102496349B (en) * 2011-12-06 2014-04-16 宁波电业局 Graph equipment display method and device
CN103000076A (en) * 2012-11-23 2013-03-27 山东电力集团公司 Aerial phone map displaying method meeting power distribution real-time monitoring
CN103823969B (en) * 2014-02-15 2017-04-05 中国能源建设集团广东省电力设计研究院有限公司 A kind of visualization construction method of Power System Steady-state model
CN105787096B (en) * 2016-03-17 2019-03-05 北京工业大学 A kind of aviation electronics log book management system

Also Published As

Publication number Publication date
CN101493810A (en) 2009-07-29

Similar Documents

Publication Publication Date Title
US20220067268A1 (en) Systems and methods for remote dashboard image generation
US10497086B2 (en) Methods and apparatuses for providing a hardware accelerated web engine
KR101159359B1 (en) Method and system for a target device display simulation
US8694900B2 (en) Static definition of unknown visual layout positions
CN101652742B (en) Remoting of windows presentation framework based applications in a non-composed desktop
US20130182003A1 (en) Method and System for Executing a Graphics Application
US9754392B2 (en) Generating data-mapped visualization of data
CN103677777B (en) Call the method and device of application component
US20230115491A1 (en) Information presentation method and apparatus, electronic device, and storage medium
US20150220496A1 (en) Dynamic sprite based theme switching
CN101493810B (en) Display device for electrical equipment chart of electrical power distribution network
CN103035031A (en) Three-dimensional man-machine interaction display control method for power grid operation monitoring
US8230319B2 (en) Web-based visualization, refresh, and consumption of data-linked diagrams
KR20100124708A (en) A method, module and device for displaying graphical information
CN110990431A (en) Method for realizing synchronous linkage carousel of China map and line graph data
WO2018175014A1 (en) System and method for managing and displaying graphical elements
CN115794980A (en) Data display method, equipment, device and medium
CN114371838A (en) Method, device and equipment for rendering small program canvas and storage medium
Mendes et al. IMAGO visualization System: an interactive web-based 3D visualization system for cultural heritage applications
CN117557682B (en) Data processing method, apparatus, product, device, and medium
CN115202538B (en) Menu configuration method and device, electronic equipment and storage medium
Shi et al. Design of WebGIS Rendering Engine Based on Silverlight-based RIA
Barsoum et al. Towards adaptive Web scriptable user interfaces for virtual environments
CN115857778A (en) Page generation method and device
CN115761093A (en) Rendering method, rendering device, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110803

Termination date: 20210125

CF01 Termination of patent right due to non-payment of annual fee