Offshore photovoltaic digital field area model rendering method and device and electronic equipment

CN119478183AInactive Publication Date: 2025-02-18NORTHWEST ENGINEERING CORPORATION LIMITED
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510026788.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-02-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

[0006]本公开的目的在于提供一种海上光伏的数字化场区模型渲染方法、海上光伏的数字化场区模型渲染装置以及电子设备,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的无法对海上光伏场景下的数字化场区模型进行渲染的问题

Benefits of technology

[0016]根据本公开的一个方面,提供一种电子设备,包括:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119478183A_ABST
    Figure CN119478183A_ABST
Patent Text Reader

Abstract

The invention relates to an offshore photovoltaic digital field area model rendering method and device and electronic equipment, and relates to the technical field of computer graphic rendering, and the method comprises the steps: generating an original resource scene according to the spatial geographic information data of an offshore photovoltaic engineering area, and loading an engineering three-dimensional model in the original resource scene, obtaining a target resource scene; performing adaptive adjustment on the model size of the engineering three-dimensional model in the original resource scene to obtain a to-be-displayed resource; performing image splitting processing on the to-be-displayed resource to obtain a left-eye view and a right-eye view, and performing image interleaving processing on the left-eye view and the right-eye view to obtain a current vector texture corresponding to the to-be-displayed resource; and rendering the current vector texture to a display interface of a display device to obtain a digital field model rendering result under the offshore photovoltaic scene. According to the invention, the problem that the digital field model in the offshore photovoltaic scene cannot be rendered is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of computer graphics rendering, and in particular to a method for rendering a digitalized site model of offshore photovoltaics, a device for rendering a digitalized site model of offshore photovoltaics, and an electronic device. Background Art

[0002] With the changes in energy production and consumption, the proportion of new energy production has increased, and the proportion of electricity in terminal energy consumption has continued to increase.

[0003] Compared with traditional onshore photovoltaics, offshore photovoltaics has the characteristics of less land occupation, easy integration with other industries, and proximity to load centers. It can help coastal provinces break through land constraints and expand the space for new energy development. It is of great significance to optimize and adjust the energy structure of coastal cities, promote marine construction, and help the green, low-carbon and high-quality development of the economy and society.

[0004] In the process of actual application, in order to quickly promote the construction of offshore photovoltaic projects, it is first necessary to build a digital site model under the offshore photovoltaic scenario; however, there is no solution on how to render the digital site model under the offshore photovoltaic scenario in the existing solutions.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a method for rendering a digital site model of offshore photovoltaics, a device for rendering a digital site model of offshore photovoltaics, and an electronic device, thereby at least to a certain extent overcoming the problem of being unable to render a digital site model in an offshore photovoltaic scenario due to the limitations and defects of related technologies.

[0007] According to one aspect of the present disclosure, a method for rendering a digitalized site model of offshore photovoltaics is provided, comprising: Generate an original resource scene based on the spatial geographic information data of the offshore photovoltaic project area, and load the project three-dimensional model into the original resource scene to obtain a target resource scene; Adaptively adjusting the model size of the engineering three-dimensional model in the original resource scene to obtain resources to be displayed; Performing image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and performing image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; The current vector texture is rendered to a display interface of a display device to obtain a rendering result of a digitized field model in an offshore photovoltaic scenario.

[0008] In an exemplary embodiment of the present disclosure, an original resource scene is generated according to the spatial geographic information data of an offshore photovoltaic project area, including: Determine the regional boundary information of the offshore photovoltaic project area, and obtain spatial geographic information data of the offshore photovoltaic project area from a geographic information system based on the regional boundary information; Extracting digital elevation models, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information included in the spatial geographic information data; The digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into a preset content generation model to obtain an original resource scene.

[0009] In an exemplary embodiment of the present disclosure, the content generation model includes an embedding mapping layer, a coding layer, and a hybrid expert model layer; The digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into a preset content generation model to obtain an original resource scene, including: Generate basic scene information to be predicted based on the digital elevation model, vector map information, remote sensing satellite image information and spatial metadata information, and generate scene context information to be predicted based on the thematic data information and preset model prompt information; Based on the embedding mapping layer, embedding mapping processing is performed on the scene basic information to be predicted to obtain a first scene feature, and based on the embedding mapping layer, embedding mapping processing is performed on the scene context information to be predicted to obtain a context marker sequence; The first scene feature and the context marker sequence are encoded based on the encoding layer to obtain a context overall representation, and the context marker sequence and the context overall representation are predicted based on the hybrid expert model layer to obtain the original resource scene.

[0010] In an exemplary embodiment of the present disclosure, loading the engineering 3D model into the original resource scene to obtain the target resource scene includes: Acquire an engineering three-dimensional model required for generating a digital field model in an offshore photovoltaic scenario, and determine a model loading position of the engineering three-dimensional model in the original resource scenario; The engineering three-dimensional model is loaded into the original resource scene based on the model loading position to obtain the target resource scene.

[0011] In an exemplary embodiment of the present disclosure, adaptively adjusting the model size of the engineering 3D model in the original resource scene to obtain the resource to be displayed includes: Constructing a first rectangle according to the original resource scene, and constructing a second rectangle according to the engineering three-dimensional model; Calculating a model scaling factor of the engineering three-dimensional model in the original resource scene according to the first rectangle and the second rectangle; The model size of the engineering three-dimensional model is adaptively adjusted based on the model scaling factor to obtain the resource to be displayed.

[0012] In an exemplary embodiment of the present disclosure, performing image interleaving processing on the left and right eye views to obtain a current vector texture corresponding to the resource to be displayed includes: Based on a preset vertex shader, determine an image display range of the left-eye and right-eye views on a display of a display device, and determine a vertex position of each pixel vertex in the left-eye and right-eye views on the display according to the image display range; Determining, by the vertex shader, an interpolation range of the left-eye and right-eye views according to a vertex position of each pixel vertex on the display; Acquire a color value arrangement rule and a viewpoint interleaving rule of the display, and determine the interpolation content of the left and right eye views according to the color value arrangement rule and the viewpoint interleaving rule through a preset fragment shader; According to the interpolation range and the interpolation content, image interleaving processing is performed on the left and right eye views to obtain a current vector texture corresponding to the resource to be displayed.

[0013] In an exemplary embodiment of the present disclosure, the digital site model rendering method further includes: In response to a touch operation on any engineering three-dimensional model included in the rendering result of the digitized site model, determining a target engineering model from the engineering three-dimensional models; Acquire model attribute information of the target engineering model, and input the model attribute information into a preset engineering quantity statistics sub-model to obtain an engineering quantity statistics result corresponding to the target engineering model; A bill of quantities is generated according to the engineering quantity statistics result, and a target user who builds an actual photovoltaic project corresponding to the target engineering model is matched from candidate users according to the bill of quantities.

[0014] According to one aspect of the present disclosure, a digital field model rendering device for offshore photovoltaics is provided, comprising: A target resource scene generation module is used to generate an original resource scene according to the spatial geographic information data of the offshore photovoltaic project area, and load the project three-dimensional model into the original resource scene to obtain a target resource scene; A resource determination module to be displayed, used for adaptively adjusting the model size of the engineering three-dimensional model in the original resource scene to obtain the resource to be displayed; An image interleaving processing module, used for performing image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and performing image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; The digital site model rendering module is used to render the current vector texture to a display interface to obtain a digital site model rendering result in an offshore photovoltaic scenario.

[0015] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for rendering a digital site model of offshore photovoltaics described in any one of the above is implemented.

[0016] According to one aspect of the present disclosure, there is provided an electronic device, including: Processor; and A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute any one of the above-mentioned methods for rendering a digital site model of offshore photovoltaics by executing the executable instructions.

[0017] A method for rendering a digital site model of offshore photovoltaics provided by an embodiment of the present disclosure comprises the following steps: on the one hand, an original resource scene is generated according to spatial geographic information data of an offshore photovoltaic project area, and a three-dimensional model of the project is loaded into the original resource scene to obtain a target resource scene; then, the model size of the three-dimensional model of the project in the original resource scene is adaptively adjusted to obtain resources to be displayed; then, image splitting processing is performed on the resources to be displayed to obtain left and right eye views, and image interleaving processing is performed on the left and right eye views to obtain a current vector texture corresponding to the resources to be displayed; finally, the current vector texture is rendered to a display interface of a display device to obtain a rendering result of a digital site model in an offshore photovoltaic scene, thereby realizing the rendering of a digital site model in an offshore photovoltaic scene, and solving the problem that the digital site model in an offshore photovoltaic scene cannot be rendered in the prior art; on the other hand, the accuracy of the rendering result of the obtained digital site model is also improved.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0020] Figure 1 A flowchart of a method for rendering a digital site model of offshore photovoltaics according to an example embodiment of the present disclosure is schematically shown.

[0021] Figure 2 A schematic diagram shows an example structure of a preset content generation model according to an example embodiment of the present disclosure.

[0022] Figure 3 An example diagram of sub-models included in a civil engineering three-dimensional model in an engineering three-dimensional model according to an example embodiment of the present disclosure is schematically shown.

[0023] Figure 4 An example diagram of sub-models included in a three-dimensional model of a transmission line project in a three-dimensional project model according to an example embodiment of the present disclosure is schematically shown.

[0024] Figure 5 An example diagram of sub-models included in a three-dimensional electromechanical engineering model in an engineering three-dimensional model according to an example embodiment of the present disclosure is schematically shown.

[0025] Figure 6 A diagram schematically shows an example scene of left-eye and right-eye views obtained according to an example embodiment of the present disclosure.

[0026] Figure 7 A scene example diagram schematically shows a specific implementation principle of image interleaving according to an example embodiment of the present disclosure.

[0027] Figure 8 A scene example diagram schematically illustrates a rendering result of a digitized site model obtained according to an example embodiment of the present disclosure.

[0028] Fig. 9 A block diagram schematically illustrates a device for rendering a digitalized site model of offshore photovoltaics according to an example embodiment of the present disclosure.

[0029] Fig.10 An electronic device for implementing a method for rendering a digital site model of offshore photovoltaics according to an example embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, the known technical solutions are not shown or described in detail to avoid obscuring the various aspects of the present disclosure.

[0031] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0032] This exemplary embodiment first provides a method for rendering a digital field model of offshore photovoltaics, which can be run on a terminal device, a server, a server cluster or a cloud server, etc. Of course, those skilled in the art can also run the method disclosed in this disclosure on other platforms as required, and this exemplary embodiment does not specifically limit this. Figure 1 As shown, the method for rendering a digital field model of offshore photovoltaics may include the following steps: Step S110. Generate an original resource scene based on the spatial geographic information data of the offshore photovoltaic project area, and load the engineering three-dimensional model into the original resource scene to obtain a target resource scene; Step S120. Adaptively adjust the model size of the engineering three-dimensional model in the original resource scene to obtain a resource to be displayed; Step S130. Perform image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and perform image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; Step S140: Rendering the current vector texture to a display interface of a display device to obtain a rendering result of a digital field model in an offshore photovoltaic scenario.

[0033] In the above-described method for rendering a digital site model of offshore photovoltaics, on the one hand, an original resource scene is generated according to the spatial geographic information data of the offshore photovoltaic project area, and the project three-dimensional model is loaded into the original resource scene to obtain a target resource scene; then the model size of the project three-dimensional model in the original resource scene is adaptively adjusted to obtain resources to be displayed; then, image splitting processing is performed on the resources to be displayed to obtain left and right eye views, and image interleaving processing is performed on the left and right eye views to obtain a current vector texture corresponding to the resources to be displayed; finally, the current vector texture is rendered to the display interface of the display device to obtain a rendering result of a digital site model in an offshore photovoltaic scene, thereby realizing the rendering of a digital site model in an offshore photovoltaic scene, and solving the problem that the digital site model in an offshore photovoltaic scene cannot be rendered in the prior art; on the other hand, the accuracy of the rendering result of the obtained digital site model is also improved.

[0034] Hereinafter, the method for rendering a digitalized field model of offshore photovoltaics recorded in the exemplary embodiment of the present disclosure will be explained and illustrated in detail with reference to the accompanying drawings.

[0035] First, the application scenario functions of the exemplary embodiments of the present disclosure are explained and illustrated. Specifically, the digital site model rendering method of offshore photovoltaics recorded in the exemplary embodiments of the present disclosure can be applied to the development of offshore photovoltaic projects; in the process of actual application, by constructing a digital site model of offshore photovoltaics, the digital display of offshore photovoltaic projects can be realized, thereby improving the management efficiency and convenience of offshore photovoltaic projects.

[0036] Next, the content generation model involved in the exemplary embodiment of the present disclosure is explained and illustrated. Figure 2As shown, the content generation model described herein may include a first input layer 210, a first embedding mapping layer 220, a first encoding layer 230, a first hybrid expert model layer 240, and a first output layer 250. The functions performed by each functional layer in the content generation model in actual applications will be described in detail later, and no further elaboration will be given here. At the same time, the hybrid expert model layer described herein may include a gated network model and an expert neural network model; the gated network model described herein may include a first gated network model and a second gated network model; further, the specific operations that need to be performed at each model level will be described in detail later, and no further elaboration will be given here. Furthermore, the encoding layer 230 recorded here can be a multi-layer bidirectional Transformer or a deep interest network (DIN). In the process of actual application, it can be determined according to actual needs, and this example does not impose any special restrictions on this; and the hybrid expert model layer recorded here can be implemented based on Expert or based on a factor decomposition machine (FM). In the process of actual application, it can be determined according to actual needs, and this example does not impose any special restrictions on this.

[0037] Furthermore, the engineering 3D model involved in the exemplary embodiment of the present disclosure is explained and illustrated. Specifically, the engineering 3D model recorded in the exemplary embodiment of the present disclosure may include a civil engineering 3D model, a transmission line engineering 3D model, and a mechanical and electrical engineering 3D model. Figure 3 As shown in the figure, the 3D model of civil engineering can be divided into photovoltaic module support foundation, booster station building and 35kV line cable trench engineering, etc.; further, refer to Figure 4 As shown, the three-dimensional model of the transmission line project can include 220kV transmission line projects, etc.; further, refer to Figure 5 As shown, the three-dimensional model of electromechanical engineering can include photovoltaic array installation, 35kV line cable construction, and booster station electrical installation engineering, etc.

[0038] In an exemplary embodiment, referring to Figure 3 As shown, the photovoltaic module support foundation recorded above may include but is not limited to concrete pipe pile engineering and grounding system engineering, etc.; the booster station buildings recorded above may include but are not limited to living building building units, main control building building units, pump room and fire water tank building units, comprehensive warehouse building units, outdoor equipment foundations and structures, and outdoor ancillary projects, etc.; the 35kV line cable trench engineering recorded above may include but is not limited to earth excavation and backfilling, cable trench concrete structure construction, and cable trench structure anti-corrosion construction, etc.

[0039] In an exemplary embodiment, referring to Figure 4 As shown, the above-mentioned 220kV transmission line project may include but is not limited to 220kV transmission line foundation construction, tower assembly and line laying, etc.

[0040] In an exemplary embodiment, referring to Figure 5 As shown, the photovoltaic array installation recorded above may include but is not limited to the installation of sub-array brackets and components, sub-array field electrical installation and electrical line installation, etc.; the 35kV line cable construction recorded above may include but is not limited to the production and installation of submarine cable brackets (bridges), submarine cable laying, production and installation of cable brackets (bridges) for the onshore part of the 35kV line and 35kV cable laying, etc.; the booster station electrical installation project recorded above may include but is not limited to the installation of booster station electrical equipment, control and protection and AC and DC control power supply system equipment, grounding device installation, GIS distribution device installation, switch station electrical installation, computer monitoring system equipment installation, communication system equipment installation and fire alarm system installation, etc.

[0041] The following will be combined Figure 2-Figure 5 right Figure 1 The digital field model rendering method of offshore photovoltaics shown in the figure is further explained and illustrated. Specifically: In step S110, an original resource scene is generated according to the spatial geographic information data of the offshore photovoltaic project area, and the project three-dimensional model is loaded into the original resource scene to obtain a target resource scene.

[0042] In this example embodiment, first, an original resource scene is generated based on the spatial geographic information data of the offshore photovoltaic project area; specifically, it can be achieved in the following way: determine the regional boundary information of the offshore photovoltaic project area, and obtain the spatial geographic information data of the offshore photovoltaic project area from the geographic information system based on the regional boundary information; extract the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information included in the spatial geographic information data; input the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information into a preset content generation model to obtain the original resource scene. The digital elevation model (DEM) recorded here can be referred to as DEM for short, which can realize the digital simulation of the ground terrain (i.e., the digital expression of the terrain surface morphology) through limited terrain elevation data. The digital elevation model is a physical ground model that represents the ground elevation in the form of a set of ordered numerical arrays; the vector map information recorded here refers to the geographical location vector map of the offshore photovoltaic project area; the remote sensing satellite image information recorded here refers to the real topographic map of the offshore photovoltaic project area and the topographic map with spatial height in the real scene; the spatial metadata information recorded here is the external form (data format, storage location, acquisition method) and internal form (graphic expression, attribute organization, data accuracy) of the spatial positioning, attributes and time corresponding to the offshore photovoltaic project area, as well as a detailed description of the acquisition, processing and use of the data set; the thematic data information recorded here refers to other supplementary information in the offshore photovoltaic project area except for the information recorded above, which can be set according to the actual situation during actual use, and this example does not impose special restrictions on this.

[0043] In an example embodiment, a digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into a preset content generation model to obtain an original resource scene, which can be achieved in the following manner: basic scene information to be predicted is generated according to the digital elevation model, vector map information, remote sensing satellite image information and spatial metadata information, and scene context information to be predicted is generated according to the thematic data information and preset model prompt information; embedding and mapping the scene basic information to be predicted based on the embedding mapping layer to obtain a first scene feature, and embedding and mapping the scene context information to be predicted based on the embedding mapping layer to obtain a context marker sequence; encoding the first scene feature and the context marker sequence based on the encoding layer to obtain a context overall representation, and predicting the context marker sequence and the context overall representation based on the hybrid expert model layer to obtain an original resource scene corresponding to the offshore photovoltaic project area. Among them, the preset model prompt information recorded here can be, for example: your task is to generate an original resource scene that is as close to the actual situation as possible based on the input data; in the process of generating the original resource scene, the overall calculation time should not be too long; of course, other prompt information can also be set according to the actual situation, and this example does not impose any special restrictions on this.

[0044] In an example embodiment, the context flag sequence and the overall context representation are predicted based on the hybrid expert model layer to obtain the original resource scenario, which can be achieved in the following manner: based on the gated network model, the model weight of the expert neural network model is determined according to the context flag sequence, and the target neural network model required to perform the prediction task of the original resource scenario is determined from the expert neural network model according to the model weight; the context flag sequence and the overall context representation are input into the target neural network model to obtain the original resource scenario corresponding to the offshore photovoltaic project area.

[0045] In an exemplary embodiment, determining the model weight of the expert neural network model according to the context flag sequence based on the gating network model, and determining the target neural network model required to perform the prediction task of the original resource scenario from the expert neural network model according to the model weight can be achieved in the following manner: determining the first model weight of the expert neural network model in the scene fit dimension according to the context flag sequence based on the first gating network model, and determining the first target neural network model required to perform the prediction task of the original resource scenario in the scene fit dimension from the expert neural network according to the first model weight; determining the second model weight of the expert neural network model in the information fusion dimension according to the context flag sequence based on the second gating network model, and determining the second target neural network model required to perform the prediction task of the original resource scenario in the information fusion dimension from the expert neural network according to the second model weight. Among them, the scene fit recorded here refers to the fit between the original resource scene obtained and the actual scene of the offshore photovoltaic project area; that is, whether the original resource scene obtained is consistent with the actual scene of the offshore photovoltaic project area; based on this, the accuracy of the original resource scene obtained can be improved; the information fusion degree recorded here refers to whether the original resource scene obtained includes all the information such as the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information recorded above; based on this, the accuracy of the original resource scene obtained can be further improved.

[0046] In an example embodiment, the context marker sequence and the overall context representation are input into the target neural network model to obtain the original resource scene corresponding to the offshore photovoltaic engineering area, which can be achieved in the following manner: the context marker sequence and the overall context representation are input into the first target neural network model to obtain a first prediction result in the dimension of scene fit; the context marker sequence and the overall context representation are input into the second target neural network model to obtain a second prediction result in the dimension of information fusion; and the original resource scene corresponding to the offshore photovoltaic engineering area is determined based on the first prediction result and the second prediction result.

[0047] In an example embodiment, the context marker sequence and the overall context representation are input into the first target neural network model to obtain a first prediction result in the dimension of scene fit, which can be achieved as follows: the context marker sequence and the overall context representation are input into the first target neural network model to obtain a first output result; according to the first model weights corresponding to the first target neural network model and the first output result, the first prediction result in the dimension of scene fit is obtained; further, the context marker sequence and the overall context representation are input into the second target neural network model to obtain a second prediction result in the dimension of information fusion, which can be achieved as follows: the context marker sequence and the overall context representation are input into the second target neural network model to obtain a second output result; according to the second model weights corresponding to the second target neural network model and the second output result, the second prediction result in the dimension of information fusion is obtained.

[0048] In an example embodiment, the original resource scene corresponding to the offshore photovoltaic engineering area is determined according to the first prediction result and the second prediction result, which can be achieved in the following manner: configure the first dimension weight value for the first prediction result on the dimension of scene fit, and configure the second dimension weight value for the second prediction result on the dimension of information fusion; perform weighted summation of the first dimension weight value and the first prediction result, the second dimension weight value and the second prediction result to obtain the original resource scene corresponding to the offshore photovoltaic engineering area. The first dimension weight value and the second dimension weight value recorded here can be determined based on expert experience, or can be predicted based on a weight value prediction model, and this example does not impose any special restrictions on this.

[0049] Secondly, after obtaining the original resource scene, the engineering three-dimensional model can be loaded into the original resource scene to obtain the target resource scene; specifically, this can be achieved in the following ways: obtain the engineering three-dimensional model required to generate the digital site model under the offshore photovoltaic scene, and determine the model loading position of the engineering three-dimensional model in the original resource scene; based on the model loading position, load the engineering three-dimensional model into the original resource scene to obtain the target resource scene. That is to say, in the actual application process, the model loading position can be determined according to the actual position of each actual project in the actual offshore photovoltaic area, or according to the planned position of each actual project in the actual offshore photovoltaic area. This example does not impose special restrictions on this; at the same time, the engineering three-dimensional model recorded here can be loaded from the corresponding model resource library, or imported from an external file. This example does not impose special restrictions on this.

[0050] In step S120, the model size of the engineering three-dimensional model in the original resource scene is adaptively adjusted to obtain the resource to be displayed.

[0051] Specifically, the specific generation process of the resources to be displayed can be achieved in the following way: construct a first rectangle according to the original resource scene, and construct a second rectangle according to the engineering three-dimensional model; calculate the model scaling coefficient of the engineering three-dimensional model in the original resource scene according to the first rectangle and the second rectangle; adaptively adjust the model size of the engineering three-dimensional model based on the model scaling coefficient to obtain the resources to be displayed.

[0052] In an exemplary embodiment, constructing a first rectangle according to the original resource scene can be achieved in the following manner: displaying the original resource scene on the display interface of the display device; using the center point of the display interface as the center point of the first rectangle, and determining the first rectangle length and the first rectangle width of the first rectangle according to the interface length and the interface width occupied by the original resource scene in the display interface; constructing the first rectangle according to the center point of the first rectangle, the first rectangle length and the first rectangle width. It should be supplemented here that, since multiple engineering three-dimensional models need to be loaded in the original resource scene, the original resource scene corresponding to the model loading position of each engineering three-dimensional model in the original resource scene can be displayed to construct the first rectangle; at the same time, the specific scaling process of each engineering three-dimensional model can repeat the scaling steps of the first engineering three-dimensional model in sequence until all engineering three-dimensional models are placed.

[0053] In an example embodiment, constructing a second rectangle based on the engineering three-dimensional model can be achieved in the following manner: obtaining pixel coordinates of pixel points in the engineering three-dimensional model, and obtaining the maximum horizontal coordinate value, the maximum vertical coordinate value, the minimum horizontal coordinate value and the minimum vertical coordinate value in the pixel coordinates; determining the height of the second rectangle based on the maximum horizontal coordinate value and the minimum horizontal coordinate value, and determining the length of the second rectangle based on the maximum vertical coordinate value and the minimum vertical coordinate value; using the center point of the engineering three-dimensional model as the center point of the second rectangle, and constructing the second rectangle based on the center point of the second rectangle, the height of the second rectangle and the length of the second rectangle.

[0054] In an example embodiment, the model scaling coefficient of the engineering three-dimensional model in the original resource scene is calculated based on the first rectangle and the second rectangle, which can be achieved in the following manner: mapping the first rectangle to the three-dimensional coordinates of the resource generation engine to obtain a rectangle mapping result; calculating a first ratio between the rectangle mapping height and the second rectangle height in the rectangle mapping result, and calculating a second ratio between the rectangle mapping length and the second rectangle length in the rectangle mapping result; based on the first ratio and the second ratio, determining the model scaling coefficient of the target interaction model in the newly generated scene.

[0055] The following will further explain and illustrate the process of adaptively adjusting the model size. Specifically, in the process of adaptively adjusting the model size of the engineering 3D model, it can be achieved through an automatic scaling matching mechanism; wherein, the automatic scaling matching medium recorded here means that during the import or loading process of the engineering 3D model, the engineering 3D model can be adaptively adjusted through the automatically set model scaling factor, so that the loaded or imported engineering 3D model is within the optimal range of the display interface, that is, the optimal visual range of the camera.

[0056] Furthermore, during adaptive adjustment, the zero point (0,0,0) position of the display interface can be used as the default import position of the engineering 3D model; at the same time, based on the fact that the zero point position has been determined, it is only necessary to determine the scaling factor of the model and scale the model size based on the model scaling factor, so that the display size of the engineering 3D model in the display interface can be more appropriate. Among them, the specific calculation process of the model scaling factor can be achieved in the following way: first, determine a rectangle (first rectangle) with a fixed length and width centered on the center point of the screen of the display interface; secondly, calculate the length w1 and height h1 of the mapping rectangle (rectangular mapping result) of the first rectangle in the world coordinate space of the zero point (0,0,0); then, calculate the leftmost and rightmost, topmost and rightmost sides of the newly imported engineering 3D model, and obtain a rectangle (second rectangle) with a length w2 and a height h2; further, calculate w1 / w2, h1 / h2 respectively, and obtain two coefficients, and take the smaller value of the two coefficients, which is named Scale here. min ; Finally, the final model scaling factor = model import factor X × Scale min .

[0057] In step S130, image splitting processing is performed on the resource to be displayed to obtain left-eye and right-eye views, and image interleaving processing is performed on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed.

[0058] In this example embodiment, first, the image of the display resource is split to obtain left-eye and right-eye views. Specifically, the image splitting process described here needs to depend on the number of viewpoints that the display device can support. For example, if it only supports 2-view image display, it can be split into 2-view left-eye views. For another example, if it can support 4-view or 9-view image display, it can be split into 4-view or 9-view left-eye views. Taking 2 viewpoints as an example, the obtained left-eye and right-eye views can refer to Figure 6 As shown; in the actual application process, the image can be split according to the actual situation of the display device, and this example does not impose any special restrictions on this. It should be noted that Figure 6 In the left and right eye views shown, virtual characters are used for explanation and illustration. The reason why virtual characters are used for explanation and illustration here is to facilitate explanation and display. The specific splitting process of the resources to be displayed composed of the engineering three-dimensional model is similar to this and will not be further displayed here.

[0059] Secondly, the left and right eye views are subjected to image interleaving processing to obtain a current vector texture corresponding to the resource to be displayed; specifically, this can be achieved in the following manner: based on a preset vertex shader, the image display range of the left and right eye views on the display of the display device is determined, and according to the image display range, the vertex position of each pixel vertex in the left and right eye views on the display is determined; through the vertex shader, the interpolation range of the left and right eye views is determined according to the vertex position of each pixel vertex on the display; the color value arrangement rule and the viewpoint interleaving rule of the display are obtained, and the interpolation content of the left and right eye views is determined according to the color value arrangement rule and the viewpoint interleaving rule by a preset fragment shader; according to the interpolation range and the interpolation content, the left and right eye views are subjected to image interleaving processing to obtain the current vector texture corresponding to the resource to be displayed.

[0060] Below, the specific generation process of the current vector texture will be further explained and illustrated. Specifically, the vertex shader recorded here, which can also be called Vertshader, can be used to determine the display range of the left and right eye views, such as interlacing into 4K; in the actual application process, the vertex shader can act on each pixel vertex of the resource to be displayed, and generate the final position of each pixel vertex; at the same time, for each pixel vertex, the vertex shader will be executed once to determine the final position of the pixel vertex; further, once the final position of each pixel vertex is determined, the GPU can assemble the collection of these visible vertices into points, lines and triangles, thereby improving the speed of rendering scenes and models; and, since the size of the left and right eye views themselves is equivalent to half of the overall view, it is necessary to determine the positions of the pixel vertices in the left and right eye views before the multi-view graph can be interlaced. Further, the fragment shader recorded here, which can also be called PixShader, can be used to determine the interpolation content in the interlacing process. Specifically, since interleaving is equivalent to regional insertion of RGB / RGBA values ​​according to a certain rule, the role of this shader is to insert the corresponding interleaved pixel values ​​into the corresponding positions of the display for display. This part depends on two factors: on the one hand, the RGB arrangement rules of the display corresponding to the display device; the RGB arrangement rules of the display may include but are not limited to pixel spacing, number of screen lines, and maximum offset, etc. The RGB arrangement rules of the display can be determined based on the extended display identification data of the display; on the other hand, the viewpoint interleaving rules; specifically, in the actual application process, for 2 viewpoints and 9 viewpoints, the number of shader pixel matrices that need to be processed is different. The higher the number of viewpoints, the higher the number of matrices, but the matrix size will be reduced because the length and width of a single view are smaller. Therefore, it is necessary to calculate the shader pixel matrix based on the fragment shader, and then determine the viewpoint interleaving rules based on the shader pixel matrix and the original pixel matrix. For example, taking 2 viewpoints as an example, the specific interleaving implementation principle can be referred to. Figure 7 shown.

[0061] In step S140, the current vector texture is rendered to a display interface of a display device to obtain a rendering result of a digital field model in an offshore photovoltaic scenario.

[0062] Specifically, after obtaining the current vector texture, the current vector texture can be rendered to the display interface of the display device to obtain the digital field model rendering result under the offshore photovoltaic scene; specifically, in the actual rendering process, first, the current vector texture can be pushed to the global container of the display device, and the current vector texture in the global container can be pushed to the independent graphics card in the display device based on the multimedia programming interface of the display device; then, the historical vector texture in the independent graphics card is replaced based on the current vector texture, and the current vector texture in the independent graphics card is transmitted to the display interface based on the video signal transmission interface in the display device; wherein, the obtained digital field model rendering result can be referred to Figure 8 shown.

[0063] In an exemplary embodiment, after obtaining the rendering result of the digital site model, the digital site model rendering method further includes: in response to a touch operation on any engineering three-dimensional model included in the rendering result of the digital site model, determining a target engineering model from the engineering three-dimensional model; obtaining model attribute information of the target engineering model, and inputting the model attribute information into a preset engineering quantity statistics sub-model to obtain an engineering quantity statistics result corresponding to the target engineering model; generating an engineering quantity list according to the engineering quantity statistics result, and matching the target user who builds the actual photovoltaic project corresponding to the target engineering model from the candidate users according to the engineering quantity list. That is, in the actual application process, engineering quantity statistics can be performed based on the digital design model; then, an engineering quantity statistics table is formed based on the statistical engineering quantity, and then combined with the engineering quantity statistics rules of the civil engineering and electromechanical specialties of the offshore photovoltaic project, a engineering quantity list that can assist in bidding is generated. At the same time, the engineering quantity statistics sub-model recorded here can be a content generation model or other deep neural network models, and this example does not impose any special restrictions on this; in the process of matching target users, it can be implemented based on a recurrent neural network, a convolutional neural network, or a long short-term memory network, and this example does not impose any special restrictions on this.

[0064] At this point, the digital site model rendering of offshore photovoltaics recorded in the exemplary embodiment of the present disclosure has been fully realized. Based on the above-mentioned contents, it can be known that the digital site model rendering method of offshore photovoltaics recorded in the exemplary embodiment of the present disclosure realizes the automatic generation of the bill of quantities and the automatic matching of target users, thereby improving the convenience of project management on the basis of improving the efficiency of project development.

[0065] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0066] The exemplary embodiment of the present disclosure also provides a digital field model rendering device for offshore photovoltaics. Fig. 9 As shown, the digitalized site model rendering device for offshore photovoltaics may include a target resource scene generation module 910, a to-be-displayed resource determination module 920, an image interleaving processing module 930, and a digitalized site model rendering module 940. Among them: The target resource scene generation module 910 can be used to generate an original resource scene according to the spatial geographic information data of the offshore photovoltaic project area, and load the project three-dimensional model into the original resource scene to obtain the target resource scene; The resource determination module 920 to be displayed may be used to adaptively adjust the model size of the engineering 3D model in the original resource scene to obtain the resource to be displayed; The image interleaving processing module 930 may be used to perform image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and perform image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; The digital site model rendering module 940 may be used to render the current vector texture to a display interface to obtain a digital site model rendering result in an offshore photovoltaic scenario.

[0067] In an exemplary embodiment of the present disclosure, an original resource scene is generated based on the spatial geographic information data of an offshore photovoltaic project area, including: determining the regional boundary information of the offshore photovoltaic project area, and acquiring the spatial geographic information data of the offshore photovoltaic project area from a geographic information system based on the regional boundary information; extracting the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information included in the spatial geographic information data; inputting the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information into a preset content generation model to obtain the original resource scene.

[0068] In an exemplary embodiment of the present disclosure, the content generation model includes an embedding mapping layer, a coding layer and a hybrid expert model layer; wherein the digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into the preset content generation model to obtain the original resource scene, including: generating basic scene information to be predicted according to the digital elevation model, vector map information, remote sensing satellite image information and spatial metadata information, and generating scene context information to be predicted according to the thematic data information and preset model prompt information; embedding and mapping the scene basic information to be predicted based on the embedding mapping layer to obtain a first scene feature, and embedding and mapping the scene context information to be predicted based on the embedding mapping layer to obtain a context marker sequence; encoding the first scene feature and the context marker sequence based on the coding layer to obtain a context overall representation, and predicting the context marker sequence and the context overall representation based on the hybrid expert model layer to obtain the original resource scene.

[0069] In an exemplary embodiment of the present disclosure, an engineering three-dimensional model is loaded into the original resource scene to obtain a target resource scene, including: acquiring the engineering three-dimensional model required for generating a digital site model under an offshore photovoltaic scene, and determining a model loading position of the engineering three-dimensional model in the original resource scene; and loading the engineering three-dimensional model into the original resource scene based on the model loading position to obtain the target resource scene.

[0070] In an exemplary embodiment of the present disclosure, the model size of the engineering three-dimensional model in the original resource scene is adaptively adjusted to obtain the resource to be displayed, including: constructing a first rectangle according to the original resource scene, and constructing a second rectangle according to the engineering three-dimensional model; calculating the model scaling coefficient of the engineering three-dimensional model in the original resource scene according to the first rectangle and the second rectangle; and adaptively adjusting the model size of the engineering three-dimensional model based on the model scaling coefficient to obtain the resource to be displayed.

[0071] In an exemplary embodiment of the present disclosure, the left and right eye views are subjected to image interleaving processing to obtain a current vector texture corresponding to the resource to be displayed, including: based on a preset vertex shader, determining the image display range of the left and right eye views on the display of the display device, and determining the vertex position of each pixel vertex in the left and right eye views on the display according to the image display range; determining the interpolation range of the left and right eye views according to the vertex position of each pixel vertex on the display through the vertex shader; obtaining the color value arrangement rule and the viewpoint interleaving rule of the display, and determining the interpolation content of the left and right eye views according to the color value arrangement rule and the viewpoint interleaving rule through a preset fragment shader; performing image interleaving processing on the left and right eye views according to the interpolation range and the interpolation content to obtain the current vector texture corresponding to the resource to be displayed.

[0072] In an exemplary embodiment of the present disclosure, the digital site model rendering device further includes: A target engineering model determination module may be used to determine a target engineering model from the engineering three-dimensional models in response to a touch operation on any engineering three-dimensional model included in the rendering result of the digitized site model; The engineering quantity statistics result determination module can be used to obtain the model attribute information of the target engineering model, and input the model attribute information into a preset engineering quantity statistics sub-model to obtain the engineering quantity statistics result corresponding to the target engineering model; The target user matching module can be used to generate a bill of quantities based on the engineering quantity statistics results, and match target users who build actual photovoltaic projects corresponding to the target project model from candidate users based on the bill of quantities.

[0073] The specific details of each module in the above-mentioned digital site model rendering device for offshore photovoltaics have been described in detail in the corresponding digital site model rendering method for offshore photovoltaics, so they will not be repeated here.

[0074] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0075] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0076] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. A person skilled in the art will appreciate that various aspects of the present disclosure may be implemented as a system, method, or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, which may be collectively referred to herein as a circuit, module, or system.

[0077] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present disclosure is described. Fig.10 The electronic device 1000 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0078] like Fig.10 As shown, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include but are not limited to: at least one processing unit 1010, at least one storage unit 1020, a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010), and a display unit 1040.

[0079] The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1010 can perform the following steps: Figure 1 Step S110 shown in: generating an original resource scene according to the spatial geographic information data of the offshore photovoltaic project area, and loading the project three-dimensional model in the original resource scene to obtain a target resource scene; step S120: adaptively adjusting the model size of the project three-dimensional model in the original resource scene to obtain resources to be displayed; step S130: performing image splitting processing on the resources to be displayed to obtain left and right eye views, and performing image interleaving processing on the left and right eye views to obtain a current vector texture corresponding to the resources to be displayed; step S140: rendering the current vector texture to the display interface of the display device to obtain a rendering result of a digital field model under the offshore photovoltaic scene.

[0080] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and / or a cache storage unit 10202 , and may further include a read-only storage unit (ROM) 10203 .

[0081] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0082] Bus 1030 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0083] The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or may communicate with any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1050. In addition, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 through a bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0084] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0085] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0086] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0087] The program product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0088] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0089] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0090] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0091] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0092] Other embodiments of the present disclosure will be readily apparent to those skilled in the art after considering the specification and practicing the inventions invented herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not invented by the present disclosure. The specification and examples are to be considered merely exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for rendering a digital field model of offshore photovoltaics, characterized in that: include: Generate an original resource scene based on the spatial geographic information data of the offshore photovoltaic project area, and load the project three-dimensional model into the original resource scene to obtain a target resource scene; Adaptively adjusting the model size of the engineering three-dimensional model in the original resource scene to obtain resources to be displayed; Performing image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and performing image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; The current vector texture is rendered to a display interface of a display device to obtain a rendering result of a digitized field model in an offshore photovoltaic scenario.

2. The method for rendering a digital site model according to claim 1, characterized in that: Based on the spatial geographic information data of the offshore photovoltaic project area, the original resource scenario is generated, including: Determine the regional boundary information of the offshore photovoltaic project area, and obtain spatial geographic information data of the offshore photovoltaic project area from a geographic information system based on the regional boundary information; Extracting digital elevation models, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information included in the spatial geographic information data; The digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into a preset content generation model to obtain an original resource scene.

3. The method for rendering a digital site model according to claim 2, characterized in that: The content generation model includes an embedding mapping layer, a coding layer and a hybrid expert model layer; The digital elevation model, vector map information, remote sensing satellite image information, spatial metadata information and thematic data information are input into a preset content generation model to obtain an original resource scene, including: Generate basic scene information to be predicted based on the digital elevation model, vector map information, remote sensing satellite image information and spatial metadata information, and generate scene context information to be predicted based on the thematic data information and preset model prompt information; Based on the embedding mapping layer, embedding mapping processing is performed on the scene basic information to be predicted to obtain a first scene feature, and based on the embedding mapping layer, embedding mapping processing is performed on the scene context information to be predicted to obtain a context marker sequence; The first scene feature and the context marker sequence are encoded based on the encoding layer to obtain a context overall representation, and the context marker sequence and the context overall representation are predicted based on the hybrid expert model layer to obtain the original resource scene.

4. The method for rendering a digital site model according to claim 1, characterized in that: Loading the engineering 3D model into the original resource scene to obtain the target resource scene includes: Acquire an engineering three-dimensional model required for generating a digital field model in an offshore photovoltaic scenario, and determine a model loading position of the engineering three-dimensional model in the original resource scenario; The engineering three-dimensional model is loaded into the original resource scene based on the model loading position to obtain the target resource scene.

5. The method for rendering a digital site model according to claim 1, characterized in that: Adaptively adjusting the model size of the engineering 3D model in the original resource scene to obtain resources to be displayed, including: Constructing a first rectangle according to the original resource scene, and constructing a second rectangle according to the engineering three-dimensional model; Calculating a model scaling factor of the engineering three-dimensional model in the original resource scene according to the first rectangle and the second rectangle; The model size of the engineering three-dimensional model is adaptively adjusted based on the model scaling factor to obtain the resource to be displayed.

6. The method for rendering a digital site model according to claim 1, characterized in that: Performing image interleaving processing on the left and right eye views to obtain a current vector texture corresponding to the resource to be displayed, including: Based on a preset vertex shader, determine an image display range of the left-eye and right-eye views on a display of a display device, and determine a vertex position of each pixel vertex in the left-eye and right-eye views on the display according to the image display range; Determining, by the vertex shader, an interpolation range of the left-eye and right-eye views according to a vertex position of each pixel vertex on the display; Acquire a color value arrangement rule and a viewpoint interleaving rule of the display, and determine the interpolation content of the left and right eye views according to the color value arrangement rule and the viewpoint interleaving rule through a preset fragment shader; According to the interpolation range and the interpolation content, image interleaving processing is performed on the left and right eye views to obtain a current vector texture corresponding to the resource to be displayed.

7. The method for rendering a digital site model according to claim 1, characterized in that: The digital site model rendering method further comprises: In response to a touch operation on any engineering three-dimensional model included in the rendering result of the digitized site model, determining a target engineering model from the engineering three-dimensional models; Acquire model attribute information of the target engineering model, and input the model attribute information into a preset engineering quantity statistics sub-model to obtain an engineering quantity statistics result corresponding to the target engineering model; A bill of quantities is generated according to the engineering quantity statistics result, and a target user who builds an actual photovoltaic project corresponding to the target engineering model is matched from candidate users according to the bill of quantities.

8. A digital field model rendering device for offshore photovoltaics, characterized in that: include: A target resource scene generation module is used to generate an original resource scene according to the spatial geographic information data of the offshore photovoltaic project area, and load the project three-dimensional model into the original resource scene to obtain a target resource scene; A resource determination module to be displayed, used for adaptively adjusting the model size of the engineering three-dimensional model in the original resource scene to obtain the resource to be displayed; An image interleaving processing module, used for performing image splitting processing on the resource to be displayed to obtain left-eye and right-eye views, and performing image interleaving processing on the left-eye and right-eye views to obtain a current vector texture corresponding to the resource to be displayed; The digital site model rendering module is used to render the current vector texture to a display interface to obtain a digital site model rendering result in an offshore photovoltaic scenario.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for rendering a digital field model of offshore photovoltaics as described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: processor; and a memory for storing executable instructions for the processor; Wherein, the processor is configured to execute the method for rendering a digital site model of offshore photovoltaics as described in any one of claims 1 to 7 by executing the executable instructions.

Citation Information

Patent Citations

  • Image processing method and device

    CN112037143A

  • Three-dimensional geographic scene model construction method and device based on stereoscopic remote sensing image

    CN113506370A

  • Photovoltaic system design model system based on digital twinning and use method thereof

    CN117407939A

  • Multi-modal scene generation method based on relation and style perception

    CN117496025A

  • Three-dimensional scene generation and editing method and system based on three-dimensional Gaussian

    CN118570353A