CN111898276A - Overhead line model processing method and device, computer equipment and medium - Google Patents

Overhead line model processing method and device, computer equipment and medium Download PDF

Info

Publication number
CN111898276A
CN111898276A CN202010772985.5A CN202010772985A CN111898276A CN 111898276 A CN111898276 A CN 111898276A CN 202010772985 A CN202010772985 A CN 202010772985A CN 111898276 A CN111898276 A CN 111898276A
Authority
CN
China
Prior art keywords
model object
data set
information
model
cache
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010772985.5A
Other languages
Chinese (zh)
Inventor
吴争荣
余文辉
雷伟刚
吉堂书
朱昌宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Digital Grid Technology Guangdong Co ltd
Original Assignee
China Southern Power Grid Co Ltd
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Co Ltd, Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202010772985.5A priority Critical patent/CN111898276A/en
Publication of CN111898276A publication Critical patent/CN111898276A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Computational Linguistics (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to the technical field of electric power, and provides a model processing method and device for an overhead line, computer equipment and a storage medium. The utility model provides a utilization efficiency of overhead line's model can be promoted. The method comprises the following steps: the method comprises the steps of obtaining line information of the overhead line and a model object corresponding to target equipment, obtaining a three-dimensional point data set of the target equipment, processing the three-dimensional point data set according to a tree structure, caching the three-dimensional point data and a hierarchy corresponding to the tree structure to obtain a cache model object data set, wherein the cache model object data set comprises cache model objects corresponding to all the model objects, and multiple three-dimensional coordinate points hung to the same model object map the same cache model object, so that the three-dimensional coordinate points hung to the same model object in the overhead line can reuse the cache model object, and the utilization efficiency of models in the overhead line is improved.

Description

Overhead line model processing method and device, computer equipment and medium
Technical Field
The present application relates to the field of power technologies, and in particular, to a method and an apparatus for processing a model of an overhead line, a computer device, and a storage medium.
Background
With the development of power technology, the complexity of overhead line layout is improved, the requirement on the accuracy of overhead line monitoring is also improved, and a model is generally required to be built for the distribution condition of the overhead line so as to improve the overhead line management efficiency.
In the prior art, when an overhead line model is constructed, a common method is generally adopted to perform regular block division according to the range of an overhead line and construct the model according to the block division condition, and when the overhead line model is constructed, the utilization efficiency of the model is low.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for processing a model of an overhead line, a computer device, and a storage medium, for solving a technical problem of low model utilization efficiency in building an overhead line model in the prior art.
A method of model processing of an overhead line, the method comprising:
acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line;
acquiring a three-dimensional point data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object;
processing the three-dimensional point data set according to a tree structure, and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
In one embodiment, the obtaining of the line information of the overhead line and the model object corresponding to the target device in the overhead line includes:
acquiring the target equipment corresponding to the overhead line according to the line information of the overhead line; and acquiring the model object corresponding to the target equipment from an equipment model library according to the equipment information of the target equipment.
In one embodiment, before the obtaining the three-dimensional point data set of the target device according to the route information and the model object, the method further includes:
and carrying out lightweight processing on the line information and the model object so as to delete the noise data in the line information and the model object.
In one embodiment, the obtaining a three-dimensional point data set of the target device according to the route information and the model object includes:
according to the line information, obtaining a three-dimensional coordinate point of the target device on the overhead line; acquiring storage path information of the model object as model object hooking information corresponding to the three-dimensional coordinate point; acquiring the matrix transformation information of the model object corresponding to the three-dimensional coordinate point according to the line information and the model object; and obtaining the three-dimensional point data set according to the three-dimensional coordinate points, the model object hanging information and the matrix transformation information.
In one embodiment, the caching the three-dimensional point data set according to the hierarchy to obtain the cache model object data set includes:
and caching the three-dimensional point data set according to the hierarchy according to a level of detail LOD algorithm to obtain the cache model object data set.
In one embodiment, the caching the three-dimensional point data set according to the hierarchy according to the LOD algorithm to obtain the cached model object data set includes:
processing the model object hooking information and the matrix transformation information corresponding to each three-dimensional coordinate point according to the level corresponding to each three-dimensional coordinate point in the three-dimensional point data set and according to a level of detail LOD algorithm to obtain the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point; and obtaining the cache model object data set according to the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point.
A model processing apparatus of an overhead line, the apparatus comprising:
the system comprises an information acquisition module, a data processing module and a data processing module, wherein the information acquisition module is used for acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line;
the data set acquisition module is used for acquiring a three-dimensional data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object;
the cache generation module is used for processing the three-dimensional point data set according to a tree structure and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line; acquiring a three-dimensional point data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object; processing the three-dimensional point data set according to a tree structure, and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line; acquiring a three-dimensional point data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object; processing the three-dimensional point data set according to a tree structure, and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
The overhead line model processing method, the overhead line model processing device, the computer equipment and the storage medium acquire the three-dimensional point data set of the target equipment by acquiring the line information of the overhead line and the model object corresponding to the target equipment, processing the three-dimensional point data set according to a tree structure, caching the three-dimensional point data and the levels corresponding to the tree structure to obtain a cache model object data set, wherein the cache model object data set comprises cache model objects corresponding to all model objects, a plurality of three-dimensional coordinate points which are hung on the same model object map the same cache model object, the method has the advantages that the three-dimensional coordinate points hung to the same model object in the overhead line can multiplex the cache model object, the model utilization efficiency in the overhead line is improved, the three-dimensional point data set of the overhead line is cached according to the levels corresponding to the tree structures, and the efficiency of building the three-dimensional model of the overhead line is further improved.
Drawings
FIG. 1 is a diagram of an environment in which a model processing method for an overhead line is applied in one embodiment;
FIG. 2 is a schematic flow diagram of a method of model processing of an overhead line in one embodiment;
FIG. 3 is a block diagram showing a model processing apparatus for an overhead line according to an embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The overhead line model processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 obtains the overhead line information and the corresponding model object from the local storage module or the storage module of the server 104, obtains the three-dimensional point data set of the target device, and processes the three-dimensional point data set to obtain the cache model object information. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a method for processing a model of an overhead line is provided, which is described by taking the method as an example applied to the terminal 102 of fig. 1, and includes the following steps:
step S201, obtaining line information of the overhead line and a model object corresponding to the target device in the overhead line.
The line information may be a topology structure of the overhead line, equipment information of the overhead line, and the like. The line information can be in the form of three-dimensional model data, point cloud, three-dimensional pipeline, three-dimensional point and line surface, BIM and other data. When the three-dimensional model of the overhead line is constructed, the terminal 102 may obtain line information of the overhead line. The target equipment in the overhead line can be equipment such as a tower, an insulator string and a lead of the overhead line. The target equipment can be all equipment on the overhead line, and can also determine required part of equipment according to the requirements of the overhead line model construction. The equipment on the overhead line is provided with corresponding model objects, and each model object can be used for constructing a three-dimensional model of the overhead line.
In a specific implementation, the terminal 102 may obtain the line information of the overhead line stored in various data forms from a local storage module or a storage module of the server 104, and use the line information as a basis for constructing the overhead line model. The terminal 102 may also obtain a model object corresponding to the target device from a local storage module or a storage module of the server 104 according to the target device on the overhead line.
Step S202, a three-dimensional point data set of the target equipment is obtained according to the line information and the model object.
The three-dimensional point data set may include three-dimensional coordinate points of the overhead line target device, model object hooking information corresponding to the three-dimensional coordinate points, and matrix transformation information for performing form transformation on the model object. The three-dimensional coordinate points are spatial distribution points of the target device on the overhead line and are used for indicating the physical position of the target device on the overhead line. The model object hooking information may be information of a model object to be hooked corresponding to the three-dimensional coordinate point, including a storage path and a name of the model object. The matrix transformation information may be parameters for performing translation, rotation, and scaling on the model object when the model object is hung on the three-dimensional coordinate point, and is used for determining the posture of the model object when the model object is hung on the three-dimensional coordinate point. The terminal 102 may call each model object by calling the three-dimensional point data set, and render a spatial three-dimensional model corresponding to a target device of the overhead line.
In a specific implementation, the terminal 102 may process information of the target device into a three-dimensional point data set including three-dimensional coordinate points, model object hooking information, and matrix transformation information according to the acquired line information of the overhead line and the acquired model object corresponding to the target device.
And step S203, processing the three-dimensional point data set according to the tree structure, and caching the three-dimensional point data set according to the corresponding hierarchy of the tree structure to obtain a cache model object data set.
The cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points hung to the same model object map the same cache model object. The tree structure may recursively divide the geographic space into tree structures of different levels to build the spatial index. The cache can be a slice cache, corresponding model objects are processed, the model objects are simplified, and rendering efficiency is improved. When building and rendering the model of the overhead line, it is usually necessary to call a model object corresponding to a device on the overhead line, and a large number of identical target devices exist on the overhead line, and the model objects corresponding to the target devices are identical, for example, there may be thousands of insulator strings with identical model features on the overhead line, and model objects hooked on three-dimensional coordinate points of the insulator strings are identical, so that there is repeated loading of the model. When the three-dimensional model is presented, the position and the importance degree of the object model in the display environment are different. Therefore, according to the characteristics presented by the overhead line three-dimensional model and the characteristics called by the model object, hierarchical division and caching are performed on the three-dimensional point data set, so as to achieve better performance.
In a specific implementation, the terminal 102 may divide the three-dimensional point data set into corresponding levels according to a preset tree structure. And caching the three-dimensional point data set according to the hierarchy corresponding to the tree structure, simplifying the model object, mapping the same cache model object by a plurality of three-dimensional coordinate points which are hung to the same model object in the three-dimensional coordinate point data set, realizing multiplexing of the cache model object and obtaining the cache model object data set which is arranged according to the hierarchy.
In the overhead line model processing method, the three-dimensional point data set of the target equipment is obtained by obtaining the line information of the overhead line and the model object corresponding to the target equipment, processing the three-dimensional point data set according to a tree structure, caching the three-dimensional point data and the levels corresponding to the tree structure to obtain a cache model object data set, wherein the cache model object data set comprises cache model objects corresponding to all model objects, a plurality of three-dimensional coordinate points which are hung on the same model object map the same cache model object, the method has the advantages that the three-dimensional coordinate points hung to the same model object in the overhead line can multiplex the cache model object, the model utilization efficiency in the overhead line is improved, the three-dimensional point data set of the overhead line is cached according to the levels corresponding to the tree structures, and the efficiency of building the three-dimensional model of the overhead line is further improved.
In one embodiment, the step of determining to acquire the line information of the overhead line and the model object corresponding to the target device in the overhead line in step S201 includes:
acquiring target equipment corresponding to the overhead line according to the line information of the overhead line; and acquiring a model object corresponding to the target equipment from the equipment model library according to the equipment information of the target equipment.
In this embodiment, the line information of the overhead line includes distribution, connection relationship, spatial geographic position, model, number, type, and the like of the corresponding target device on the overhead line. The terminal 102 may determine the corresponding target device according to the acquired line information of the overhead line. In some embodiments, the target device of the overhead line may be all devices on the overhead line, or may be some devices selected according to needs. The device information of the target device may be information that can be associated with the model object to produce a certain association, such as the number of the target device on the overhead line. The device model library may be a set of model objects corresponding to devices on a pre-configured regional overhead line, and when performing a three-dimensional model of an overhead line, the model objects corresponding to the devices may be retrieved from the device model library. The terminal 102 may obtain the corresponding model object from the device model library according to the device information in the target device. For example, the terminal 102 may perform model processing on towers and insulator strings of the overhead line, obtain information of the towers and the insulator strings in the line information of the overhead line, and determine model objects corresponding to the towers and the insulator strings from the equipment model library according to the equipment information of the towers and the insulator strings.
According to the scheme of the embodiment, the terminal 102 acquires the target equipment corresponding to the overhead line by acquiring the line information of the overhead line, and acquires the corresponding model object from the equipment model library according to the equipment information of the target equipment, so that the model of the overhead line is associated with the actual line information, and data extraction is performed from the existing information, thereby improving the efficiency of acquiring the relevant data of the overhead line.
In one embodiment, before determining that the three-dimensional point data set of the target device is obtained according to the route information and the model object in step S202, the method further includes:
and performing light-weight processing on the line information and the model object to delete the noise data in the line information and the model object.
In this embodiment, the line information may include various data such as an oblique photography model, manual modeling data, BIM, point cloud, three-dimensional pipeline, two-dimensional/three-dimensional point/line plane, and the like, and the processing of the model may be affected by problems such as data format, data consistency, and missing. The model object information corresponding to the target device may have problems of data loss, data duplication and the like. After the terminal 102 obtains the line information and the model object, the data may be subjected to a weight reduction process, such as deleting the duplication point object, simplifying the triangulation network, compressing, and the like, to delete the noise data therein, thereby improving the quality of the data acquired by the terminal 102.
According to the scheme of the embodiment, the terminal 102 deletes the noise data in the acquired line information and the model object by performing light-weight processing on the acquired line information and the model object, so that the quality of the acquired data is improved, and the efficiency of model processing of the overhead line is improved.
In one embodiment, the step of obtaining the three-dimensional point data set of the target device according to the route information and the model object, which is determined in step 202, includes:
according to the line information, obtaining a three-dimensional coordinate point of the target equipment on the overhead line; acquiring storage path information of the model object as model object hanging information corresponding to the three-dimensional coordinate point; acquiring matrix transformation information of the model object corresponding to the three-dimensional coordinate point according to the line information and the model object; and obtaining a three-dimensional point data set according to the three-dimensional coordinate points, the model object hanging information and the matrix transformation information.
In this embodiment, the three-dimensional point data set may be a three-dimensional coordinate point of a target device on an overhead line, model object hooking information and matrix transformation information corresponding to the three-dimensional coordinate point, and may be obtained according to line information and a model object corresponding to the target device. Specifically, the terminal 102 may obtain a spatial three-dimensional coordinate point of the target device on the physical space of the overhead line according to the line information of the overhead line, and the three-dimensional coordinate point may be used to indicate a position of the target device on the overhead line model. The model object hooking information may include a storage path of the model object hooked by the three-dimensional point, and the storage path may be an absolute path including a storage path and a storage name of the model object entity. The storage path of the model object may be obtained from the device model library according to the determined association of the target device and the model object. When the three-dimensional model of the overhead line is presented, the presentation posture of the target device on the overhead line can be determined through the matrix transformation information, and the terminal 102 can obtain the matrix transformation information of the model object on the three-dimensional coordinate point according to the line information of the overhead line and the model object corresponding to the target device, and determine the presentation posture of the model object on the three-dimensional coordinate point. For example, the terminal 102 may process the acquired information of the tower and the insulator string to obtain a corresponding three-dimensional point data set. The terminal 102 calls the three-dimensional point data set, and can render a three-dimensional model of a tower and an insulator string on the overhead line.
In the solution of the above embodiment, the terminal 102 obtains the three-dimensional coordinate point of the target device through the line information, obtains the model object hooking information through the storage path information of the model object, obtains the corresponding matrix transformation information through the line information and the model object, and finally obtains the three-dimensional point data set of the target device, and the three-dimensional point data of the plurality of target devices are processed in the same manner, so that the normalization and consistency of the data in the three-dimensional point data set of the target device are improved.
In one embodiment, the step S203 of processing the three-dimensional point data set according to a tree structure, and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cached model object data set includes:
establishing a hierarchy of the three-dimensional point data corresponding to the tree structure in the three-dimensional point data set according to a preset tree structure; and caching the three-dimensional point data set according to the hierarchy to obtain a cache model object data set.
In this embodiment, the terminal 102 may establish a spatial index of the three-dimensional point data set according to a tree structure. The tree structure may be a spatial quad tree structure and/or a spatial octree structure. The spatial quadtree and the spatial octree structure are different in refinement degree, and can be used for layering and displaying requirements of different precisions respectively, and the spatial quadtree and the spatial octree structure can be simultaneously applied. Taking a spatial quad-tree as an example, a geographic space is recursively divided into tree structures of different levels, a space in a known range is equally divided into four equal subspaces, and the recursion is carried out in this way until the levels of the tree reach a certain depth or meet a certain requirement, and then the division is stopped. And dividing the three-dimensional point data set into corresponding levels according to the spatial index determined by the quadtree. After the corresponding tree structure hierarchy of the three-dimensional point data set is determined, caching is carried out on the three-dimensional point data set according to each hierarchy, so that the structure and the mapping relation of the model object in the three-dimensional point data set are optimized, and the rendering efficiency is improved.
In some embodiments, the terminal 102 may perform instantiation processing on the model object in the three-dimensional point data set, so as to repeatedly render the same model, and obtain a cache model object. Instantiation rendering is suitable for a scenario where the same model is used for rendering multiple times, such as the same tower, insulator string, etc. on an overhead line. For a plurality of three-dimensional coordinate points hung to the same model object, the same cache model can be mapped, the reuse of the cache model object is realized, and the model rendering efficiency of the overhead line is improved.
In the scheme of the embodiment, the terminal 102 establishes the levels corresponding to the three-dimensional points in the three-dimensional point data set through the tree structure, caches the levels, establishes the spatial index distribution of the three-dimensional point data set, and improves the efficiency of overhead line model processing.
In one embodiment, the above method further comprises,
and caching the three-dimensional point data set according to the level of the hierarchy according to a level of detail LOD algorithm to obtain a cache model object data set.
In this embodiment, a level of detail lod (levels of detail) algorithm determines resource allocation for object rendering according to a position and an importance of a node of a three-dimensional object model in a display environment, and reduces the number of faces and the degree of detail of an unimportant object, thereby obtaining a high-efficiency rendering operation. In a three-dimensional scene, the system may simplify or no longer display a particular geometric form based on the reference point of the viewer, e.g., as an object is farther from the reference point, the object may be represented with a coarser level of detail, and conversely, with a finer level of detail, the object may be represented with less detail. The level of detail LOD algorithm can process the model through algorithms such as a culling algorithm, mesh simplification and the like. The level of detail LOD algorithm may be used to process models that are simplified to a different degree depending on the level of detail displayed. In some embodiments, each level of detail level of the LOD may correspond to a respective level in the tree data structure. The terminal 102 may cache the model object corresponding to the three-dimensional coordinate point of each hierarchy according to the hierarchy corresponding to the three-dimensional coordinate point determined by the tree structure according to the level of detail LOD algorithm, so as to obtain a cache model object dataset including data corresponding to the three-dimensional coordinate points of all the target objects. The cache model object data set has clear hierarchical structure, simplified model structure and small data storage amount, and improves rendering efficiency.
According to the scheme of the embodiment, the terminal 102 caches the three-dimensional point data set according to the level of detail LOD algorithm to obtain the cache model object data set with clear hierarchical structure and simplified model, so that the practicability of the model of the overhead line is improved.
In one embodiment, the method comprises:
processing model object hanging information and matrix transformation information corresponding to each three-dimensional coordinate point according to a level corresponding to each three-dimensional coordinate point in a three-dimensional point data set and according to a level of detail level LOD algorithm to obtain cache model object information and cache matrix transformation information corresponding to each three-dimensional coordinate point; and obtaining a cache model object data set according to the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point.
In this embodiment, the model object data set is cached. The data in the cache model object dataset may be in accordance with the community standard T/cagi 1-2019 "spatial three-dimensional model data format", the basic components of the cache data being description files (. scp files) and data files (. s3mb files). Each s3mb file stores three-dimensional coordinate points of a corresponding range, cache model object information corresponding to the three-dimensional coordinate points, and cache matrix transformation information. The terminal 102 may call and render the three-dimensional model of the target device of the overhead line according to the cache model object dataset. In a specific implementation, the terminal 102 may process the model object corresponding to each three-dimensional coordinate point according to the hierarchy corresponding to the three-dimensional coordinate determined by the tree structure and according to a level of detail LOD algorithm, perform corresponding processing, and perform caching according to the hierarchy to obtain cached model object information and cached matrix transformation information corresponding to each three-dimensional coordinate point. The cache model object information corresponds to a storage path of a cache model object of the three-dimensional coordinate point, the cache matrix transformation information is a parameter for translating, rotating and scaling the cache model object, and the presented posture of the cache model object hung on the three-dimensional coordinate point after cache processing is determined.
According to the scheme of the embodiment, model object hanging information and matrix transformation information corresponding to three-dimensional coordinate points are processed through a level of detail LOD algorithm, cache model object information and cache matrix transformation information corresponding to each three-dimensional coordinate point are obtained, a cache model object data set is obtained, multiplexing of the same model object is achieved in the data set, division is conducted according to the levels, models are simplified, the terminal 102 can call and render a target equipment model of the overhead line according to the cache model object data set, and utilization efficiency of the model utilization of the overhead line is improved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 3, there is provided a model processing apparatus for an overhead line, the apparatus 300 comprising:
the information acquisition module 301 is configured to acquire line information of an overhead line and a model object corresponding to a target device in the overhead line;
a data set obtaining module 302, configured to obtain a three-dimensional point data set of the target device according to the route information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model objects;
the cache generation module 303 is configured to process the three-dimensional point data set according to a tree structure, and cache the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object;
in one embodiment, the information obtaining module 301 is further configured to obtain a target device corresponding to the overhead line according to the line information of the overhead line; and acquiring a model object corresponding to the target equipment from the equipment model library according to the equipment information of the target equipment.
In one embodiment, the apparatus 300 further comprises: and the data processing module is used for carrying out lightweight processing on the line information and the model object so as to delete the noise data in the line information and the model object.
In one embodiment, the data set acquisition module 302 is further configured to: according to the line information, obtaining a three-dimensional coordinate point of the target equipment on the overhead line; acquiring storage path information of the model object as model object hanging information corresponding to the three-dimensional coordinate point; acquiring matrix transformation information of the model object corresponding to the three-dimensional coordinate point according to the line information and the model object; and obtaining a three-dimensional point data set according to the three-dimensional coordinate points, the model object hanging information and the matrix transformation information.
In one embodiment, the cache generation module 303 is further configured to: establishing a hierarchy of the three-dimensional point data corresponding to the tree structure in the three-dimensional point data set according to a preset tree structure; and caching the three-dimensional point data set according to the hierarchy to obtain a cache model object data set.
In one embodiment, the cache generation module 303 is further configured to: and caching the three-dimensional point data set according to the level of the hierarchy according to a level of detail LOD algorithm to obtain a cache model object data set.
In one embodiment, the cache generation module 303 is further configured to: processing model object hanging information and matrix transformation information corresponding to each three-dimensional coordinate point according to a level corresponding to each three-dimensional coordinate point in the three-dimensional point data set and according to a level of detail level LOD algorithm to obtain cache model object information and cache matrix transformation information corresponding to each three-dimensional coordinate point; and obtaining a cache model object data set according to the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point.
Specific limitations on the overhead line model processing device can be found in the above limitations on the overhead line model processing method, and are not described herein again. The respective modules in the overhead line model processing apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The overhead line model processing method provided by the application can be applied to computer equipment, wherein the computer equipment can be a terminal, and the internal structure diagram can be shown in fig. 3. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of model processing of an overhead line. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the above method embodiments when the processor executes the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of model processing of an overhead line, the method comprising:
acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line;
acquiring a three-dimensional point data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object;
processing the three-dimensional point data set according to a tree structure, and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
2. The method of claim 1, wherein the obtaining of the line information of the overhead line and the model object corresponding to the target device in the overhead line comprises:
acquiring the target equipment corresponding to the overhead line according to the line information of the overhead line;
and acquiring the model object corresponding to the target equipment from an equipment model library according to the equipment information of the target equipment.
3. The method of claim 1, wherein before the obtaining the three-dimensional point data set of the target device from the route information and the model object, the method further comprises:
and carrying out lightweight processing on the line information and the model object so as to delete the noise data in the line information and the model object.
4. The method of claim 1, wherein obtaining the three-dimensional point data set of the target device from the route information and the model object comprises:
according to the line information, obtaining a three-dimensional coordinate point of the target device on the overhead line;
acquiring storage path information of the model object as model object hooking information corresponding to the three-dimensional coordinate point;
acquiring the matrix transformation information of the model object corresponding to the three-dimensional coordinate point according to the line information and the model object;
and obtaining the three-dimensional point data set according to the three-dimensional coordinate points, the model object hanging information and the matrix transformation information.
5. The method of claim 1, wherein said processing the three-dimensional point data set in a tree structure and caching the three-dimensional point data set in a hierarchy corresponding to the tree structure to obtain a cached model object data set comprises:
establishing a hierarchy of the three-dimensional point data in the three-dimensional point data set corresponding to a preset tree structure;
and caching the three-dimensional point data set according to the hierarchy to obtain the cache model object data set.
6. The method of claim 5, wherein caching the three-dimensional point data set according to the hierarchy to obtain the cached model object data set comprises:
and caching the three-dimensional point data set according to the hierarchy according to a level of detail LOD algorithm to obtain the cache model object data set.
7. The method of claim 6, wherein said caching said three-dimensional point data set according to said hierarchy according to a level of detail LOD algorithm to obtain said cached model object data set comprises:
processing the model object hooking information and the matrix transformation information corresponding to each three-dimensional coordinate point according to the level corresponding to each three-dimensional coordinate point in the three-dimensional point data set and according to a level of detail LOD algorithm to obtain the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point;
and obtaining the cache model object data set according to the cache model object information and the cache matrix transformation information corresponding to each three-dimensional coordinate point.
8. A model processing apparatus of an overhead line, characterized in that the apparatus comprises:
the system comprises an information acquisition module, a data processing module and a data processing module, wherein the information acquisition module is used for acquiring line information of an overhead line and a model object corresponding to target equipment in the overhead line;
the data set acquisition module is used for acquiring a three-dimensional data set of the target equipment according to the line information and the model object; the three-dimensional point data set comprises three-dimensional coordinate points of the target equipment, model object hanging information corresponding to the three-dimensional coordinate points and matrix transformation information for performing shape transformation on the model object;
the cache generation module is used for processing the three-dimensional point data set according to a tree structure and caching the three-dimensional point data set according to a hierarchy corresponding to the tree structure to obtain a cache model object data set; the cache model object data set comprises cache model objects corresponding to the model objects, and a plurality of three-dimensional coordinate points which are hung to the same model object map the same cache model object.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010772985.5A 2020-08-04 2020-08-04 Overhead line model processing method and device, computer equipment and medium Pending CN111898276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010772985.5A CN111898276A (en) 2020-08-04 2020-08-04 Overhead line model processing method and device, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010772985.5A CN111898276A (en) 2020-08-04 2020-08-04 Overhead line model processing method and device, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN111898276A true CN111898276A (en) 2020-11-06

Family

ID=73183345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010772985.5A Pending CN111898276A (en) 2020-08-04 2020-08-04 Overhead line model processing method and device, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN111898276A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112762899A (en) * 2021-01-08 2021-05-07 中国南方电网有限责任公司超高压输电公司南宁监控中心 Fusion method of laser point cloud and BIM model with video information in visual transformer substation
CN112950165A (en) * 2021-03-10 2021-06-11 上海浩悟智能科技有限公司 Pipeline digital production system based on BIM

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692229A (en) * 2009-07-28 2010-04-07 武汉大学 Self-adaptive multilevel cache system for three-dimensional spatial data based on data content
CN104867174A (en) * 2015-05-08 2015-08-26 腾讯科技(深圳)有限公司 Three-dimensional map rendering and display method and system
CN107844308A (en) * 2017-10-18 2018-03-27 阿里巴巴集团控股有限公司 A kind of information processing method, device and equipment
CN108416843A (en) * 2018-03-08 2018-08-17 浙江科澜信息技术有限公司 Three-dimensional scene construction method, device, equipment and computer readable storage medium
CN108763399A (en) * 2018-05-22 2018-11-06 湖南大学 It is a kind of to be suitable for the power distribution network multi-source data modeling method containing D-PMU
CN108804714A (en) * 2018-06-30 2018-11-13 浙江同创空间技术有限公司 Point cloud data storage method and device
CN109977192A (en) * 2019-04-02 2019-07-05 山东大学 The quick loading method of unmanned plane tile map, system, equipment and storage medium
KR102050169B1 (en) * 2018-09-20 2019-12-02 공간정보기술 주식회사 Spatial indexing method of three dimensional model for 3d map service based on octree structure and method and apparatus for providing 3d map service using the same
CN110543716A (en) * 2019-08-29 2019-12-06 中国南方电网有限责任公司 three-dimensional overhead cable level power grid optimization method and device and computer equipment
CN110750910A (en) * 2019-10-25 2020-02-04 国网新疆电力有限公司经济技术研究院 Three-dimensional model file of physical loop model and configuration method
CN111127615A (en) * 2019-12-26 2020-05-08 四川航天神坤科技有限公司 Data scheduling method and device of three-dimensional model and electronic equipment
CN112685429A (en) * 2021-03-16 2021-04-20 北京知优科技有限公司 Tree structure model generation and loading method and device, storage medium and equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692229A (en) * 2009-07-28 2010-04-07 武汉大学 Self-adaptive multilevel cache system for three-dimensional spatial data based on data content
CN104867174A (en) * 2015-05-08 2015-08-26 腾讯科技(深圳)有限公司 Three-dimensional map rendering and display method and system
CN107844308A (en) * 2017-10-18 2018-03-27 阿里巴巴集团控股有限公司 A kind of information processing method, device and equipment
CN108416843A (en) * 2018-03-08 2018-08-17 浙江科澜信息技术有限公司 Three-dimensional scene construction method, device, equipment and computer readable storage medium
CN108763399A (en) * 2018-05-22 2018-11-06 湖南大学 It is a kind of to be suitable for the power distribution network multi-source data modeling method containing D-PMU
CN108804714A (en) * 2018-06-30 2018-11-13 浙江同创空间技术有限公司 Point cloud data storage method and device
KR102050169B1 (en) * 2018-09-20 2019-12-02 공간정보기술 주식회사 Spatial indexing method of three dimensional model for 3d map service based on octree structure and method and apparatus for providing 3d map service using the same
CN109977192A (en) * 2019-04-02 2019-07-05 山东大学 The quick loading method of unmanned plane tile map, system, equipment and storage medium
CN110543716A (en) * 2019-08-29 2019-12-06 中国南方电网有限责任公司 three-dimensional overhead cable level power grid optimization method and device and computer equipment
CN110750910A (en) * 2019-10-25 2020-02-04 国网新疆电力有限公司经济技术研究院 Three-dimensional model file of physical loop model and configuration method
CN111127615A (en) * 2019-12-26 2020-05-08 四川航天神坤科技有限公司 Data scheduling method and device of three-dimensional model and electronic equipment
CN112685429A (en) * 2021-03-16 2021-04-20 北京知优科技有限公司 Tree structure model generation and loading method and device, storage medium and equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
王国新 等: "离散事件系统仿真原理与AutoMod的应用", 30 March 2011, 上海科学技术出版社, pages: 34 - 34 *
王文举: "虚拟维修仿真技术", 30 March 2018, 兵器工业出版社, pages: 147 *
高颖: "虚拟现实视景仿真技术", 30 March 2014, 西北工业大学出版社, pages: 88 - 89 *
鲍劲松 等: "vega实时三维视景仿真技术", 上海科学技术出版社, pages: 76 - 34 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112762899A (en) * 2021-01-08 2021-05-07 中国南方电网有限责任公司超高压输电公司南宁监控中心 Fusion method of laser point cloud and BIM model with video information in visual transformer substation
CN112950165A (en) * 2021-03-10 2021-06-11 上海浩悟智能科技有限公司 Pipeline digital production system based on BIM

Similar Documents

Publication Publication Date Title
CN111862292B (en) Data rendering method and device for transmission line corridor and computer equipment
CN107193911B (en) BIM model-based three-dimensional visualization engine and WEB application program calling method
CN110706341B (en) High-performance rendering method and device of city information model and storage medium
CN113628314B (en) Visualization method, device and equipment for photographic measurement model in illusion engine
CN111367649B (en) High-precision map data parallel processing method and device
CN111898276A (en) Overhead line model processing method and device, computer equipment and medium
CN109242967B (en) Three-dimensional terrain rendering method and device
CN113515672A (en) Data processing method and device, computer readable medium and electronic equipment
CN111460043A (en) Three-dimensional space image block chain storage method and page display method
CN111859187A (en) POI query method, device, equipment and medium based on distributed graph database
CN110709891A (en) Virtual reality scene model establishing method and device, electronic equipment and storage medium
CN113010570B (en) Power grid equipment vector data query method and device, computer equipment and medium
CN112843700B (en) Terrain image generation method and device, computer equipment and storage medium
CN114119939A (en) Data lightweight processing method and device, storage medium and electronic device
CN116152460B (en) Method, device, terminal and medium for generating rock stratum model based on UE4
CN111090759A (en) Algorithm for cross-level loading of mass real scene big data
CN114494623A (en) LOD-based terrain rendering method and device
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN113704309A (en) Graph data processing method and device, computer equipment and storage medium
CN111476872B (en) Image drawing method and image drawing device
KR101293770B1 (en) apparatus for outputting data and method thereof
CN111800742B (en) Management method and device of mobile position data, storage medium and terminal
CN116630552B (en) Optimized rendering method for large-scale three-dimensional process factory model
US20240212282A1 (en) Image rendering method and apparatus, device, and medium
CN117237503B (en) Geographic element data accelerated rendering and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant after: CHINA SOUTHERN POWER GRID Co.,Ltd.

Applicant after: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: China

Applicant before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240313

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Applicant after: China Southern Power Grid Digital Grid Technology (Guangdong) Co.,Ltd.

Country or region after: China

Address before: 510000 No. 11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Applicant before: CHINA SOUTHERN POWER GRID Co.,Ltd.

Country or region before: China

Applicant before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.