CN112001994A - Method and device for optimizing dynamic rendering of three-dimensional scene of power system and storage medium - Google Patents

Method and device for optimizing dynamic rendering of three-dimensional scene of power system and storage medium Download PDF

Info

Publication number
CN112001994A
CN112001994A CN202010686905.4A CN202010686905A CN112001994A CN 112001994 A CN112001994 A CN 112001994A CN 202010686905 A CN202010686905 A CN 202010686905A CN 112001994 A CN112001994 A CN 112001994A
Authority
CN
China
Prior art keywords
model
rendering
power system
dimensional scene
electric meter
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
CN202010686905.4A
Other languages
Chinese (zh)
Other versions
CN112001994B (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.)
Xiamen Epgis Information Technology Co ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication Co Ltd
Original Assignee
Xiamen Epgis Information Technology Co ltd
State Grid Corp of China SGCC
State Grid Information and Telecommunication 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 Xiamen Epgis Information Technology Co ltd, State Grid Corp of China SGCC, State Grid Information and Telecommunication Co Ltd filed Critical Xiamen Epgis Information Technology Co ltd
Priority to CN202010686905.4A priority Critical patent/CN112001994B/en
Publication of CN112001994A publication Critical patent/CN112001994A/en
Application granted granted Critical
Publication of CN112001994B publication Critical patent/CN112001994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method for optimizing dynamic rendering of a three-dimensional scene of an electric power system, which comprises the following steps: obtaining a map visual range in a browser view, rendering the surface of a building, determining space coordinates of floors, rendering the floors of the building, obtaining power grid equipment information in the map visual range, calculating coordinates of an ammeter model according to the position of an ammeter, determining the distance between the ammeter model and the cable line according to the coordinates of the ammeter model, and further rendering to obtain a connecting line between the ammeter model and the cable. The invention also correspondingly provides a device and a storage medium for optimizing the dynamic rendering of the three-dimensional scene of the power system. The method, the device and the storage medium for optimizing the dynamic rendering of the three-dimensional scene of the power system can clearly render power grid equipment and circuits, can visually observe the power running state of a room as small as a certain room, clearly analyze the fault range and respond, and have a good rendering effect.

Description

Method and device for optimizing dynamic rendering of three-dimensional scene of power system and storage medium
Technical Field
The invention relates to the technical field of power rendering, in particular to a method and a device for optimizing dynamic rendering of a three-dimensional scene of a power system and a storage medium.
Background
With the progress of science and technology and the development of computer science, the smart grid is continuously popularized and popularized. For traditional electric wire netting, smart power grids can more audio-visual demonstration electric power system's running state, and the visual power staff that provides strong support of information, and the visual one side of electric power can real time monitoring electric power system, and on the other hand when electric power system breaks down, can fast feedback, in time rectification, guarantee electric power system's operation.
The current power system mainly adopts two-dimensional display, namely, a two-dimensional icon or a two-dimensional chart and the like are used for performing text description or graphic display. The running states of the power grid in different areas cannot be intuitively restored, and the transmission process of the power grid resources cannot be analyzed. When three-dimensional visual display is carried out, if only the power grid line is rendered, the monitoring of the power operation of each household cannot be met. In the actual rendering process, the power grid equipment and the circuit are not rendered clearly, so that the power operation state as small as a certain room cannot be observed visually, and the fault range cannot be analyzed clearly and responses can be made.
Disclosure of Invention
In view of the above situation, it is necessary to provide a method, an apparatus and a storage medium for optimizing dynamic rendering of a three-dimensional scene in a power system to solve the above problems.
The invention provides a method for optimizing dynamic rendering of a three-dimensional scene of an electric power system, which comprises the following steps:
acquiring a map visual range in a browser view, and requesting white film data of buildings in the map visual range;
rendering the surface of the building on the coordinate corresponding to the map according to the coordinate information and the floor information of the building in the visible range of the map;
determining the space coordinates of floors according to the number of floors and the height of the floors of the building, and rendering the floors of the building;
acquiring power grid equipment information in the map visual range based on a power grid GIS platform, wherein the power grid equipment information comprises an ammeter position and a topological structure of a cable line;
determining a building floor closest to the electric meter position according to the electric meter position, attaching an electric meter model to the building floor, and further determining coordinates of the electric meter model;
rendering a cable model in the building floor by combining the topological structure of the cable line;
and determining the shortest distance between the electric meter model and the cable line according to the coordinates of the electric meter model, and further rendering to obtain a connecting line between the electric meter model and the cable model.
Further, calculating the coordinates of the electricity meter model includes:
selecting the bottom edge of one wall surface of the floor, finding out the middle point of the bottom edge and confirming the coordinate information of the middle point;
determining a normal vector of the wall according to the coordinate of the midpoint of the bottom edge of the wall and the unit vector of the y axis in the three-dimensional scene;
determining coordinates of the electric meter model based on the normal vector and the thickness of the electric meter;
judging whether the coordinates of the electric meter model are in a white film outline polygon of the building or not according to an algorithm;
and calculating and outputting the coordinates of the electric meter model.
Further, the algorithm adopts pointsWithinPolygon algorithm in the open source algorithm library turf.js.
Further, if the position of the electric meter model is not in the white membrane outline polygon of the floor, the coordinates of the electric meter model are recalculated after the vector of the normal vector of the wall surface is inverted.
The application also provides a device for optimizing dynamic rendering of the three-dimensional scene of the power system, which is characterized by comprising the following steps:
the data acquisition module is used for acquiring the white film data and the power grid equipment information within the map visual range;
the rendering detection module is used for determining the ammeter model and the position information of the white membrane outline polygon of the building floor;
the rendering module is used for obtaining a dynamic rendering visible view of the three-dimensional scene of the power system on the central processing unit according to the cable model and the ammeter model;
and the data output module is used for outputting the dynamic rendering visible view of the three-dimensional scene of the power system.
Further, the apparatus further comprises:
and the presetting module is used for setting and storing the cable model and the electric meter model.
The present application further provides an electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: and executing the method for optimizing the dynamic rendering of the three-dimensional scene of the power system.
The present application also proposes a computer-readable medium, on which a computer program is stored, which, when executed by a processor, implements the method for optimizing a dynamic rendering of a three-dimensional scene of an electrical power system.
According to the method for optimizing the dynamic rendering of the three-dimensional scene of the power system, the topological structures of the ammeter position and the cable line are further obtained by obtaining the power grid equipment information in the visual range, the building floor closest to the ammeter model is determined according to the ammeter position, the ammeter model is attached to the building floor, the coordinate of the ammeter model is further calculated, the shortest distance between the ammeter model and the cable line is determined according to the coordinate of the ammeter model, and the connecting line between the ammeter model and the cable model is further rendered. Compared with the prior art, the method and the device can clearly render the power grid equipment and the circuit, can visually observe the power running state of a room as small as a certain room, clearly analyze the fault range and respond. According to the method and the device, a cable model and an ammeter model can be preset, selection can be carried out according to the display condition of the actual image in the rendering process, and the rendering effect is further optimized.
Drawings
Fig. 1 is a structural block diagram of a method for optimizing dynamic rendering of a three-dimensional scene of a power system according to the present invention.
FIG. 2 is a block diagram of a structure for determining coordinates of a meter model in one embodiment of the invention.
FIG. 3 is a schematic diagram of the relative position of the meter model and the midpoint of the bottom edge of the wall in one embodiment of the invention.
Fig. 4 is a schematic structural diagram of an apparatus for optimizing dynamic rendering of a three-dimensional scene of a power system according to the present invention.
Fig. 5 is a schematic structural diagram of an apparatus for optimizing dynamic rendering of a three-dimensional scene of a power system in an embodiment of the present invention.
Fig. 6 is a block diagram of a specific structure of a terminal in an embodiment of the present invention.
Description of the main elements
Terminal 100
Data acquisition module 110
Rendering detection module 120
Rendering module 130
Presetting module 131
Data output module 140
Processor 210
Memory 220
RAM 221
Cache 222
Storage system 223
Program module 224
I/O interface 230
Network adapter 240
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. When an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be further noted that, for the convenience of description, only some but not all of the matters related to the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of various operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
Referring to fig. 1, the present invention provides a method for optimizing dynamic rendering of a three-dimensional scene of an electrical power system, including:
and S100, acquiring a map visual range in the browser view.
In this embodiment, after the map visual range in the browser view is acquired, the white film data of the buildings in the visual range is further requested.
The white film data of the building in the visual range comprise building coordinates, building height and building floor number.
And S200, rendering the surface of the building on the coordinates corresponding to the map.
In the embodiment, according to the coordinate information and the floor information of the building in the visible range of the map, the surface of the building is rendered on the coordinates corresponding to the map.
Before the surface of the building is rendered, the current posture to be rendered can be determined, then the viewpoint corresponding to the current rendering posture is determined on the surface of the building, the fixed viewpoint closest to the viewpoint corresponding to the current rendering posture is further determined from the calibrated fixed viewpoints, and the closest viewpoint is determined as the target viewpoint.
Based on the determined target viewpoint, a viewpoint patch for the building surface may be determined and then rendered.
And S300, determining the space coordinates of the floors, and rendering the floors of the building.
In this embodiment, according to the number of floors and the height of a floor of the building, the spatial coordinates of the floor are determined, and the building floor is rendered.
When a building floor is rendered, rendering parameters corresponding to each target viewpoint in a target model to be rendered can be determined according to the environment information of the building. The parameters comprise shape parameters such as length, width, height and size of specific positions in the building, and also comprise position parameters such as angles and display surfaces in a scene of the building.
The shape parameters, the position parameters, and the like in this embodiment are known, and the known shape parameters and the known position parameters are obtained before rendering, and then a rendering model corresponding to the target parameters is obtained through data transformation according to the known parameters.
And S400, obtaining the power grid equipment information in the map visual range.
And acquiring the power grid equipment information in the visual range based on a power grid GIS platform, wherein the power grid equipment information comprises the position of an electric meter and the topological structure of a cable line.
In this embodiment, GIS: the Geographic Information System or Geo-Information System, i.e., Geographic Information System, also known as "geoscience Information System", is an important spatial Information System. The technical system is used for collecting, storing, managing, calculating, analyzing, displaying and describing relevant geographic distribution data in the whole or partial earth surface space under the support of hardware and software systems.
The topological structure of the cable line comprises line nodes and topological relations among the line nodes, and the power grid equipment information further comprises coordinate information of power grid equipment and the cable line.
And S500, calculating the coordinates of the electric meter model according to the position of the electric meter.
In this embodiment, according to the position of the electricity meter, the building floor closest to the electricity meter is determined, an electricity meter model is attached to the building floor, and the coordinates of the electricity meter model are further calculated.
It should be noted that the location of the electric meter model includes two situations, one is that the location of the electric meter model is located outside the building floor, and the other is that the location of the electric meter model is located inside the building floor.
And aiming at the positions of different ammeter models, calculating respectively, and determining the coordinates of the ammeter models so as to further determine the connection relation between the ammeter models and the cable models and the position information of the rendered ammeter models.
And S600, rendering a cable model.
In this embodiment, a cable model is rendered within the building floor in conjunction with the topology of the cabling.
When rendering the cable model, the connection relationship between different cables and the position relationship between the cable and the building floor need to be considered.
And S700, rendering to obtain a connecting line between the cable model and the ammeter model.
In this embodiment, according to the coordinates of the electric meter model, the shortest distance between the electric meter model and the cable line is determined, and a connection line between the electric meter model and the cable model is further rendered.
And determining the shortest distance between the electric meter model and the cable line by adopting the coordinates of the electric meter model, aiming at enabling the position relation between the electric meter model and the cable model to be clearer and determining the building floor to which the electric meter model belongs.
In this embodiment, the electric meter model is attached to the corresponding building floor.
According to the method for optimizing the dynamic rendering of the three-dimensional scene of the power system, the building floor closest to the electric meter can be determined according to the position of the electric meter, an electric meter model is attached to the building floor, the coordinate of the electric meter model is further calculated, the shortest distance between the electric meter model and the cable line is determined according to the coordinate of the electric meter model, and the connecting line between the electric meter model and the cable model is further rendered. Compared with the prior art, the method and the device can clearly render the power grid equipment and the circuit, can visually observe the power running state of a room as small as a certain room, clearly analyze the fault range and respond.
FIG. 2 is a block diagram of a structure for determining the coordinates of a power meter in one embodiment of the invention. As shown in fig. 2, the calculating the electric meter coordinates includes:
and S510, determining coordinate information of the middle point of the bottom edge of the wall surface.
In this embodiment, the coordinate information of the midpoint of the bottom edge of the wall surface is determined by selecting any wall surface of the floor.
S520, determining a normal vector of the wall surface.
In the embodiment, the normal vector of the wall surface is determined according to the coordinate of the midpoint of the bottom edge of the wall surface and the unit vector of the y axis in the three-dimensional scene.
Wherein the unit vector of the y-axis in the three-dimensional scene is determined by the coordinate information of the buildings within the visible range of the map.
In the present embodiment, the coordinate information of the building includes an x-axis, a y-axis, and a z-axis.
And S530, determining the coordinates of the electric meter model.
In this embodiment, the coordinates of the meter model may be determined based on the normal vector and the meter thickness.
And S540, judging whether the coordinates of the electric meter model are in the white film outline polygon of the building.
In this embodiment, it can be determined according to an algorithm whether the coordinates of the electricity meter model are within the white film outline polygon of the building.
Wherein the algorithm model adopts a pointsWithinPolygon algorithm in an open source algorithm library turf.
And S540, calculating and outputting the coordinates of the electric meter model.
In this embodiment, the coordinates of the electric meter model are determined according to the position relationship between the electric meter and the midpoint, and the coordinates of the electric meter model are further output.
The position relationship between the position of the electric meter model and the midpoint includes two cases, namely, the position of the electric meter model is within the white membrane outline polygon of the floor and the position of the electric meter model is outside the white membrane outline polygon of the floor.
Further, referring to fig. 3, fig. 3 is a schematic diagram of the relative position of the electric meter model and the midpoint of the bottom edge of the wall surface according to an embodiment of the present invention.
If the position of the electric meter model is located in the white membrane outline polygon of the floor, calculating the coordinates of the electric meter model as follows: selecting the bottom edge of the wall surface of the floor, finding out a midpoint and confirming the coordinate information of the midpoint; determining a normal vector of the wall according to the coordinate of the midpoint of the bottom edge of the wall and the unit vector of the y axis in the three-dimensional scene; and determining the coordinates of the electric meter model based on the normal vector and the thickness of the electric meter.
Exemplarily, in fig. 3, the electricity meter location is determined to be within the white membrane outline polygon of the floor based on the pointswithpolygon algorithm. And A is a midpoint position, A ' is an ammeter position, and if the two-dimensional coordinate of the ammeter position A ' is in the white membrane outline polygon of the floor, further, the three-dimensional coordinate information of the ammeter model can be determined by obtaining the spatial height information of A ' based on the coordinate information of the z axis in the three-dimensional scene of the building.
And if the position of the electric meter model is positioned outside the white membrane outline polygon of the floor, further calculating to obtain the three-dimensional coordinate information of the electric meter model after the two-dimensional coordinate of the electric meter model is inverted by the normal vector of the wall surface.
Exemplarily, in the right side of fig. 3, it can be seen that after the inverse quantity of the normal vector of the wall surface is taken, the two-dimensional coordinate of the electric meter position a ″ can be obtained, the spatial height information of a ″ is further obtained according to the coordinate information of the z-axis in the three-dimensional scene of the building, and the three-dimensional coordinate information of the electric meter model is further determined.
The method for optimizing the dynamic rendering of the three-dimensional scene of the power system, provided by the embodiment of the invention, can determine the position of the ammeter model, determine the position relation between the ammeter model and the cable model based on the position of the ammeter model, and further render to obtain the connecting line between the ammeter model and the cable model. Based on the rendering image obtained by the embodiment, the building floor to which the electric meter belongs can be clearly determined, the relation between the electric meter model and the cable model in the floor is determined, and once a fault occurs, the electric meter model can be clearly displayed and a feedback response can be rapidly made.
Fig. 4 is a schematic structural diagram of an apparatus for optimizing dynamic rendering of a three-dimensional scene of a power system according to the present invention. As shown in fig. 4, the apparatus for optimizing dynamic rendering of three-dimensional scene of power system includes:
and the data acquisition module 110, wherein the data acquisition module 110 is used for acquiring the white film data and the power grid equipment information in the map visual range.
A rendering detection module 120, the rendering detection module 120 for determining the electric meter model and the position information of the white membrane outline polygon of the building floor.
And the rendering module 130 is configured to obtain, on the central processing unit, a dynamically rendered visible view of the three-dimensional scene of the power system according to the cable model and the electric meter model.
A data output module 140, the data output module 140 for outputting a dynamically rendered viewable view of the power system three-dimensional scene.
As shown in fig. 5, the apparatus for optimizing dynamic rendering of a three-dimensional scene of a power system further includes a presetting module 131.
The presetting module 131 is used for setting and storing the cable model and the electric meter model.
The device for optimizing the dynamic rendering of the three-dimensional scene of the power system, provided by the embodiment of the invention, can preset and store the cable model and the electric meter model. Meanwhile, before rendering, whether the type of model is rendered in the building scene can be determined firstly, so that re-rendering of the similar rendering model is prevented, the operation load of equipment is effectively reduced, the rendering efficiency is improved, and the rendering effect is optimized.
Fig. 6 is a block diagram of a terminal according to an embodiment of the present invention. Fig. 6 illustrates a terminal 100 suitable for implementing embodiments of the present invention. The terminal 100 shown in fig. 6 is only an example, and should not bring any limitation to the functions and applicable scope of the embodiments of the present invention.
As shown in fig. 6, the components of terminal 100 may include, but are not limited to: one or more processors 210, and a system memory 220. In the present embodiment, the terminal 100 includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 100 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 220 may include computer system readable media in the form of volatile memory, such as random access memory (RAM221) and/or cache memory 222. Memory 220 may include at least one program product having a set (e.g., at least one) of program modules 224 that are configured to carry out the functions of embodiments of the invention.
The terminal 100 can communicate with one or more terminals that enable a user to interact with the terminal 100, such communication being via input/output (I/O) interfaces 230. The terminal 100 may also communicate with one or more networks (e.g., a local area network, a wide area network, the internet, etc.) through a network adapter 240.
The processor 210 executes programs stored in the memory 220 to execute various functional applications and data processing, such as a method for optimizing dynamic rendering of a three-dimensional scene of a power system according to an embodiment of the present invention.
Embodiments of the present invention also provide a computer-readable storage medium, where the computer-executable instructions, when executed by a computer processor, are configured to perform a method for optimizing dynamic rendering of a three-dimensional scene of a power system according to an embodiment of the present invention. Computer storage media in accordance with embodiments of the present invention may employ any combination of one or more computer-readable media.
The computer readable storage medium of the present embodiments may be an electronic, magnetic, optical, or semiconductor system, apparatus, or device, or any combination thereof. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In embodiments of the present invention, computer program code for the operation of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and including conventional procedural programming languages. The program code may execute entirely on the computer, partly on the computer or remotely.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. The units or computer means recited in the computer means claims may also be implemented by the same unit or computer means, either in software or in hardware.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (9)

1. A method for optimizing dynamic rendering of a three-dimensional scene of an electric power system is characterized by comprising the following steps:
acquiring a map visual range in a browser view, and requesting white film data of buildings in the map visual range;
rendering the surface of the building on the coordinate corresponding to the map according to the coordinate information and the floor information of the building in the visible range of the map;
determining the space coordinates of floors according to the number of floors and the height of the floors of the building, and rendering the floors of the building;
acquiring power grid equipment information in the map visual range based on a power grid GIS platform, wherein the power grid equipment information comprises an ammeter position and a topological structure of a cable line;
determining a building floor closest to the electric meter position according to the electric meter position, attaching an electric meter model to the building floor, and further calculating a three-dimensional coordinate of the electric meter model;
rendering a cable model in the building floor by combining the topological structure of the cable line;
and determining the distance between the ammeter model and the cable line according to the coordinates of the ammeter model, and further rendering to obtain a connecting line between the ammeter model and the cable model.
2. The method of optimizing the dynamic rendering of a three-dimensional scene of a power system of claim 1, wherein computing the coordinates of the meter model comprises:
selecting the bottom edge of one wall surface of the floor, finding out the middle point of the bottom edge and confirming the coordinate information of the middle point;
determining a normal vector of the wall according to the coordinate of the midpoint of the bottom edge of the wall and the unit vector of the y axis in the three-dimensional scene;
determining two-dimensional coordinates of the electric meter model based on the normal vector and the thickness of the electric meter;
judging whether the two-dimensional coordinates of the electric meter model are in a white film outline polygon of the building or not according to an algorithm;
and calculating and outputting the three-dimensional coordinates of the electric meter model.
3. The method for optimizing the dynamic rendering of a three-dimensional scene of a power system according to claim 2, wherein the algorithm employs a pointsWithinPolygon algorithm in an open source algorithm library turf. js.
4. The method for optimizing the dynamic rendering of a three-dimensional scene of a power system of claim 2,
and if the position of the electric meter model is not in the white membrane outline polygon of the floor, recalculating the two-dimensional coordinates of the electric meter model after taking the inverse vector of the normal vector of the wall surface.
5. The method of optimizing the dynamic rendering of a three-dimensional scene of a power system of claim 1, wherein the meter model is a shortest distance from the cabling.
6. An apparatus for optimizing dynamic rendering of a three-dimensional scene in an electrical power system, comprising:
the data acquisition module is used for acquiring the white film data and the power grid equipment information within the map visual range;
the rendering detection module is used for determining the ammeter model and the position information of the white membrane outline polygon of the building floor;
the rendering module is used for obtaining a dynamic rendering visible view of the three-dimensional scene of the power system on the central processing unit according to the cable model and the ammeter model;
and the data output module is used for outputting the dynamic rendering visible view of the three-dimensional scene of the power system.
7. The apparatus for optimizing dynamic rendering of a three-dimensional scene of a power system of claim 6, further comprising:
and the presetting module is used for setting and storing the cable model and the electric meter model.
8. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing the method of optimizing dynamic rendering of a three-dimensional scene of a power system according to any of claims 1-4.
9. A computer readable medium having stored thereon a computer program, characterized in that the program, when being executed by a processor, implements the method for optimizing a dynamic rendering of a three-dimensional scene of an electric power system according to any of the claims 1-4.
CN202010686905.4A 2020-07-16 2020-07-16 Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system Active CN112001994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010686905.4A CN112001994B (en) 2020-07-16 2020-07-16 Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010686905.4A CN112001994B (en) 2020-07-16 2020-07-16 Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system

Publications (2)

Publication Number Publication Date
CN112001994A true CN112001994A (en) 2020-11-27
CN112001994B CN112001994B (en) 2024-04-05

Family

ID=73467477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010686905.4A Active CN112001994B (en) 2020-07-16 2020-07-16 Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system

Country Status (1)

Country Link
CN (1) CN112001994B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239998A (en) * 2013-06-20 2014-12-24 国家电网公司 Implementation method of smart power grid resource real-time operating state three-dimensional visualization display system
US20150379759A1 (en) * 2014-06-30 2015-12-31 Jagonal Pty Ltd System and method for rendering buildings in three dimensions
CN109785422A (en) * 2018-12-19 2019-05-21 全球能源互联网研究院有限公司 The construction method and device of three-dimensional power grid scene
CN109920056A (en) * 2019-03-18 2019-06-21 百度在线网络技术(北京)有限公司 Building rendering method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239998A (en) * 2013-06-20 2014-12-24 国家电网公司 Implementation method of smart power grid resource real-time operating state three-dimensional visualization display system
US20150379759A1 (en) * 2014-06-30 2015-12-31 Jagonal Pty Ltd System and method for rendering buildings in three dimensions
CN109785422A (en) * 2018-12-19 2019-05-21 全球能源互联网研究院有限公司 The construction method and device of three-dimensional power grid scene
CN109920056A (en) * 2019-03-18 2019-06-21 百度在线网络技术(北京)有限公司 Building rendering method, device, equipment and medium

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
任培祥;侯小波;郭雁;董健;董涛;: "电网三维模型简化与渲染优化方法研究", 电力勘测设计, no. 02 *
张小诺;王宇;李宏伟;白天路;王建鹏;: "基于三维可视化技术的电厂地理信息***设计与应用", 工程勘察, no. 07 *
施文波;俞君杰;李校骁;: "电力GIS***的设计与实现", 现代电子技术, no. 21 *
时翔 等: "基于三维GIS的城市配电管理信息***设计与实现", 山东电力技术, pages 2 *
李伟哲;: "基于ContextCapture实景建模及应用", 西北水电, no. 03 *
郎斌;陶煜;王洋;常家驹;: "基于"实景建模"的三维全景可视化研究与应用", 大众用电, no. 1 *
闫海涛;吴宾;殷兵;吴健平;余柏蒗;: "基于ArcEngine的电力三维可视化***设计与实现", 测绘与空间地理信息, no. 04 *

Also Published As

Publication number Publication date
CN112001994B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
JP6798094B2 (en) Methods and devices for marking and displaying space sizes in virtual 3D house models
WO2017113731A1 (en) 360-degree panoramic displaying method and displaying module, and mobile terminal
CN109377542A (en) Threedimensional model rendering method, device and electronic equipment
WO2021253277A1 (en) Virtual decoration method, apparatus and system
JP7277548B2 (en) SAMPLE IMAGE GENERATING METHOD, APPARATUS AND ELECTRONIC DEVICE
CN112733641B (en) Object size measuring method, device, equipment and storage medium
CN112464320A (en) Power distribution network planning scheme visual drawing method based on standard primitives
WO2018156087A1 (en) Finite-element analysis augmented reality system and method
CN108090212B (en) Method, device and equipment for showing interest points and storage medium
CN113870439A (en) Method, apparatus, device and storage medium for processing image
Ishikawa et al. In-situ 3d indoor modeler with a camera and self-contained sensors
CN112001994B (en) Method, device and storage medium for optimizing dynamic rendering of three-dimensional scene of power system
CN115761123B (en) Three-dimensional model processing method, three-dimensional model processing device, electronic equipment and storage medium
CN115619986B (en) Scene roaming method, device, equipment and medium
CN116451331A (en) Pig farm digital twin model management method, device and equipment
CN113253965B (en) Mass data multi-view-port visual interaction method, system, equipment and storage medium
US20220180592A1 (en) Collaborative Augmented Reality Measurement Systems and Methods
CN109887078B (en) Sky drawing method, device, equipment and medium
CN109101585B (en) Method and device for embedding power grid panoramic tidal current diagram into station wiring picture
CN111968209A (en) Model rendering method, device, equipment and storage medium
CN115774896B (en) Data simulation method, device, equipment and storage medium
CN113470154B (en) Image processing method, device, electronic equipment and storage medium
CN109062416A (en) Map state conversion method and device
US20220012379A1 (en) Systems and methods for modelling interactions of physical assets within a workspace
CN117456550B (en) MR-based CAD file viewing method, device, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant