A method and system for rendering massive meteorological data

Through the method of obtaining meteorological data by hierarchically drawing grids and time scales, longitudes and latitudes based on geographical distribution conditions, the grid data is refined and merged layer by layer, which solves the problem of low rendering efficiency of massive meteorological data in traditional rendering methods, and achieves fast and efficient The rendering effect is suitable for data visualization of the Global Energy Internet.

CN110136234BActive Publication Date: 2024-09-24CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810124677.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-02-07
Publication Date
2024-09-24
Estimated Expiration
2038-02-07

AI Technical Summary

Technical Problem

Traditional rendering methods are difficult to quickly display and render massive meteorological data, resulting in frame rate drops and inability to adapt to remote visualization of high-precision models, which limits the data rendering efficiency and download speed of the Global Energy Internet.

Method used

Use hierarchical grid drawing based on geographical distribution, obtain meteorological data through time scales and longitude and latitude, refine and merge the grid data layer by layer, render according to time scales, combine statistics and cluster analysis of data types, and establish time and longitude and latitude indexes , for fast and efficient rendering.

Benefits of technology

It achieves fast real-time dynamic rendering of massive meteorological data, significantly improves rendering speed and efficiency, and meets the data visualization needs of the global energy Internet.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110136234B
    Figure CN110136234B
Patent Text Reader

Abstract

The present invention provides a method and system for rendering massive meteorological data, including: drawing grids in layers based on geographical distribution conditions; obtaining meteorological data based on time scales and longitudes and latitudes and putting them into the first layer of grids according to the longitudes and latitudes, and refining the weather data of the upper grids outside the first layer layer by layer according to the meteorological data in the previous layer of grids; rendering each layer of grids according to the time scale based on the meteorological data corresponding to each layer of grids, and obtaining meteorological cloud maps of each layer under each time scale. The method and system can quickly complete the real-time and dynamic rendering of massive resource distribution data by grouping massive resource distribution data, and refining and rendering the data layer by layer according to the grouping results, and effectively improve the rendering speed and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image processing, and in particular relates to a rendering method and system for meteorological distribution data. Background Art

[0002] The construction of the global energy internet involves a wide area, and there are a lot of basic data such as new energy resources, power sources, power grids, and loads. The traditional rendering method cannot completely solve the needs of fast display of point data, conditional query support, multi-scale dynamic rendering, and non-data overlay display when visualizing and analyzing large amounts of meteorological data of new energy. The frame rate will drop significantly when drawing, and it will have a more obvious impact on model rendering through WebGL, so it cannot adapt to the remote visualization of high-precision models. Therefore, whether it is the rendering efficiency or the data download speed that is temporarily restricted, how to render massive data to meet the needs of the construction of the global energy internet has become an important issue to be solved. Summary of the invention

[0003] In order to overcome the above-mentioned shortcomings of the prior art that it is difficult to render massive data, the present invention proposes a method and system for rendering massive meteorological data. The method and system can render meteorological data of different data types with multiple attributes, and can quickly complete the real-time and dynamic rendering of massive resource distribution data, and effectively improve the rendering speed and efficiency.

[0004] The solutions adopted to achieve the above objectives are:

[0005] A rendering method for massive meteorological data, the improvements of which are:

[0006] Draw grids in layers based on geographical distribution;

[0007] Obtain meteorological data based on time scale and longitude and latitude and put them into the first layer of grids according to the longitude and latitude, and refine the weather data of the upper layer grids outside the first layer layer by layer according to the meteorological data in the previous layer grid;

[0008] Based on the meteorological data corresponding to each layer of grid, each layer of grid is rendered according to the time scale to obtain the meteorological cloud map of each layer at each time scale.

[0009] The first preferred technical solution provided by the present invention is improved in that the grid is drawn in layers based on the geographical distribution conditions, including:

[0010] Based on the preset intervals, draw the first layer of grids according to longitude and latitude;

[0011] For the upper layer grids except the first layer, the adjacent multiple grids of the previous layer are merged into one grid of the current layer until the number of grids in the current layer is one.

[0012] The second preferred technical solution provided by the present invention is improved in that the step of merging adjacent multiple grids of the previous layer into one grid of the current layer comprises:

[0013] When the number of grids in the previous layer in the longitude direction and the number of grids in the latitude direction are both more than one, the adjacent 2*2 grids in the previous layer are merged into one grid in the current layer;

[0014] When one of the number of grids in the longitude direction and the number of grids in the latitude direction of the previous layer is equal to one, two adjacent grids in the previous layer are merged into one grid in the current layer.

[0015] The third preferred technical solution provided by the present invention is improved in that the refining includes:

[0016] Based on the multiple grids to be merged, the meteorological data in the grids are statistically analyzed, clustered and / or correlated according to the data types to obtain the meteorological data in the corresponding grids;

[0017] The data types include wind speed, wind direction and irradiance.

[0018] The fourth preferred technical solution provided by the present invention is improved in that the acquisition of meteorological data based on the time scale and longitude and latitude and longitude and placing the meteorological data into the first layer of grid according to the longitude and latitude include:

[0019] Get weather data based on time scale and longitude and latitude;

[0020] According to the preset interval, the acquired meteorological data is placed into the first layer of grid according to longitude and latitude, starting from the meteorological data at the edge, until all meteorological data are within the grid.

[0021] The fifth preferred technical solution provided by the present invention is improved in that the preset interval includes 9 kilometers.

[0022] The sixth preferred technical solution provided by the present invention is improved in that, before rendering each layer of grids with the meteorological data according to the time scale, it also includes:

[0023] For the meteorological data of each layer, a time index of each grid of each layer is established according to the time scale of the meteorological data, and a longitude and latitude index of each grid of each layer is established according to the longitude and latitude of the meteorological data.

[0024] A rendering system for massive meteorological data, the improvement of which is that it comprises: a grid drawing module, a data acquisition module and a rendering module;

[0025] The grid drawing module is used to draw grids in layers based on geographical distribution conditions;

[0026] The data acquisition module is used to acquire meteorological data based on time scale and longitude and latitude and put it into the first layer of grids according to the longitude and latitude, and to refine the weather data of the upper layer grids outside the first layer layer by layer according to the meteorological data in the previous layer grids;

[0027] The rendering module is used to render each layer of grids according to the time scale based on the meteorological data corresponding to each layer of grids, so as to obtain meteorological cloud images of each layer at each time scale.

[0028] The seventh preferred technical solution provided by the present invention is improved in that the grid drawing module includes a first layer drawing unit and an upper layer drawing unit;

[0029] The first layer drawing unit is used to draw the first layer grid according to the longitude and latitude based on the preset interval;

[0030] The upper layer drawing unit is used for merging adjacent multiple grids of the previous layer into one grid of the current layer for the upper layer grids except the first layer, until the number of grids of the current layer is one.

[0031] The eighth preferred technical solution provided by the present invention is improved in that the upper layer drawing unit includes a first upper layer drawing sub-unit and a second upper layer drawing sub-unit;

[0032] The first upper layer drawing subunit is used for merging adjacent 2*2 grids of the previous layer into one grid of the current layer when the number of grids of the previous layer in the longitude direction and the number of grids in the latitude direction both exceed one;

[0033] The second upper layer drawing subunit is used for merging two adjacent grids of the previous layer into one grid of the current layer when one of the number of grids of the previous layer in the longitude direction and the number of grids of the previous layer in the latitude direction is one.

[0034] Compared with the closest prior art, the present invention has the following beneficial effects:

[0035] The present invention provides a rendering method and system for massive meteorological data. By grouping massive meteorological data according to grids and rendering them layer by layer, real-time and dynamic rendering of massive resource distribution data can be quickly completed, and rendering speed and efficiency are effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of a flow chart of a method for rendering massive meteorological data provided by the present invention;

[0037] Figure 2 A schematic flow chart of an embodiment of a method for rendering massive meteorological data provided by the present invention;

[0038] Figure 3A flowchart of another embodiment of a method for rendering massive meteorological data provided by the present invention. DETAILED DESCRIPTION

[0039] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.

[0040] A flow chart of a method for rendering massive meteorological data provided by the present invention is as follows: Figure 1 As shown, including:

[0041] Step 1: Draw grids in layers based on geographical distribution;

[0042] Step 2: Obtain meteorological data based on time scale and longitude and latitude and put them into the first layer of grids according to the longitude and latitude, and generate weather data of the upper layer grids outside the first layer layer by layer according to the meteorological data in the previous layer grid;

[0043] Step 3: Based on the meteorological data corresponding to each layer of grid, render each layer of grid according to the time scale to obtain the meteorological cloud map of each layer at each time scale.

[0044] Embodiment 1:

[0045] A method for rendering massive meteorological data is as follows: Figure 2 As shown, including:

[0046] Step 101: Draw the first layer of grids according to longitude and latitude based on a preset interval, wherein the preset interval may be 9 km.

[0047] Step 102: For the upper layer grids except the first layer, merge the adjacent multiple grids of the previous layer into one grid of the current layer until the number of grids in the current layer is one, specifically including:

[0048] When the number of grids in the longitude direction and the number of grids in the latitude direction of the previous layer are both more than one, the four adjacent 2*2 grids of the previous layer are merged into one grid of the current layer; when merging, a 2*2 grid can be used to fill the grids of the previous layer without repetition, that is, after each layer is merged, the number of grids in the longitude and latitude directions is reduced by 2; or a 2*2 grid can be used to cover the previous layer grid by grid in the longitude and latitude directions, and all grids except the edge grids are repeatedly covered, that is, after each layer is merged, the number of grids in the longitude and latitude directions is reduced by 1.

[0049] When one of the number of grids in the longitude direction and the number of grids in the latitude direction of the previous layer is equal to one, two adjacent 2*1 grids of the previous layer are merged into one grid of the current layer.

[0050] Step 103: Acquire meteorological data including time scale and longitude and latitude.

[0051] Step 104: Put the meteorological data into the first grid layer according to the longitude and latitude, including:

[0052] According to the preset interval, the meteorological data read is placed into the first layer of grid according to longitude and latitude, starting from the meteorological data at the edge, until all meteorological data are in the grid.

[0053] Step 105: For the upper grids except the first layer, the meteorological data in the adjacent grids before the previous layer is merged are refined as the meteorological data in the grid corresponding to the current layer, specifically including:

[0054] Based on the multiple grids to be merged, the meteorological data in the grids are statistically analyzed, clustered and / or correlated according to the data types to obtain the meteorological data in the corresponding merged grids;

[0055] Among them, data types include wind speed, wind direction, irradiance and other types.

[0056] Step 106: for the meteorological data of each layer, a time index of each grid of each layer is established according to the time scale of the meteorological data, and a longitude and latitude index of each grid of each layer is established according to the longitude and latitude of the meteorological data;

[0057] Step 107: Based on the meteorological data corresponding to each layer of grids, each layer of grids is rendered with the meteorological data according to the time scale to obtain meteorological cloud maps of each layer at each time scale.

[0058] Embodiment 2:

[0059] A method for rendering massive meteorological data is as follows: Figure 3 As shown, including:

[0060] Step 201: Classify the meteorological data with time stamps according to longitude and latitude, and group the meteorological data starting from the most edge data according to the preset latitude direction interval and longitude direction interval until all data are in the group, thereby forming M*N groups of the first layer, and establishing a clustered index of time and longitude and latitude for each group. Among them, the meteorological data includes time scale and longitude and latitude, M is the number of longitude groups, and N is the number of latitude groups. The latitude direction interval can be set to 9km, and the longitude direction interval can be set to 9km.

[0061] Step 202: The meteorological data of the M*N groups are respectively put into the constructed data model for rendering to obtain the most detailed meteorological cloud map.

[0062] Step 203: Perform statistics, cluster analysis, and correlation analysis on the meteorological data of four adjacent groups of 2*2 in the previous layer according to the same data type, and extract a relatively rough group of data, and establish time and longitude and latitude indexes for it, forming (M-1)*(N-1) groups in the second layer. Among them, the data types include wind speed, wind direction, and irradiance.

[0063] Step 204: The meteorological data of (M-1)*(N-1) groups are respectively put into the constructed data model for rendering to obtain a relatively detailed meteorological cloud map.

[0064] Step 205: Continue to perform the operations of steps 203 and 204 on the meteorological data of the previous layer of groups until at least one of the longitude or latitude grouping numbers is 1.

[0065] Step 206: When one of the longitude or latitude grouping numbers is 1, the meteorological data of two adjacent 2*1 groups of the previous layer are statistically analyzed, clustered and correlated according to the same data type to form (X-1) groups, where X is the number of longitude or latitude groups that is not 1 in the previous layer.

[0066] Step 207: indexing and rendering the layer group;

[0067] Step 208: Continue to perform the operations of step 206 and step 207 on the meteorological data of the previous layer of groups until M=1 and N=1.

[0068] This forms a rendering relationship similar to a pyramid structure, where the bottom layer, i.e. the first layer, is the most detailed and clear rendering result, and the top layer, i.e. the last layer, is the coarsest and most blurred rendering result.

[0069] Web visualization content can directly find data sets based on the coarseness of rendering and longitude and latitude, and smoothly display three-dimensional scenes.

[0070] Embodiment 3:

[0071] Based on the same inventive concept, the present invention also provides a rendering system for massive meteorological data. Since the principles of these devices for solving technical problems are similar to the rendering method for massive meteorological data, the repeated parts will not be repeated.

[0072] The system includes:

[0073] Mesh drawing module, data acquisition module and rendering module;

[0074] Among them, the grid drawing module is used to draw grids in layers based on geographical distribution conditions;

[0075] The data acquisition module is used to acquire meteorological data based on time scale and longitude and latitude and put it into the first layer of grid according to the longitude and latitude, and to refine the weather data of the upper layer grid outside the first layer layer by layer according to the meteorological data in the previous layer grid;

[0076] The rendering module is used to render each layer of grids according to the time scale based on the meteorological data corresponding to each layer of grids, and obtain the meteorological cloud maps of each layer at each time scale.

[0077] Wherein, the grid drawing module includes a first layer drawing unit and an upper layer drawing unit;

[0078] The first layer drawing unit is used to draw the first layer grid according to the latitude and longitude based on the preset interval;

[0079] The upper layer drawing unit is used for merging adjacent multiple grids of the previous layer into one grid of the current layer for the upper layer grids except the first layer, until the number of grids of the current layer is one.

[0080] Wherein, the last drawing unit includes a first upper layer drawing subunit and a second upper layer drawing subunit;

[0081] The first upper layer drawing subunit is used to merge adjacent 2*2 grids of the previous layer into one grid of the current layer when the number of grids in the longitude direction and the number of grids in the latitude direction of the previous layer exceeds one;

[0082] The second upper layer drawing subunit is used for merging two adjacent grids of the previous layer into one grid of the current layer when one of the number of grids of the previous layer in the longitude direction and the number of grids of the previous layer in the latitude direction is one.

[0083] Among them, the refining includes performing statistics, cluster analysis and / or correlation analysis on the meteorological data in the grids according to the data types based on multiple grids that need to be merged, so as to obtain the meteorological data in the corresponding grids; the data types include wind speed, wind direction and irradiance.

[0084] Among them, obtaining meteorological data based on time scale and longitude and latitude and putting it into the first layer grid according to longitude and latitude includes:

[0085] Get weather data based on time scale and longitude and latitude;

[0086] According to the preset interval, the acquired meteorological data is placed into the first layer of grid according to longitude and latitude, starting from the meteorological data at the edge, until all meteorological data are within the grid.

[0087] The rendering system also includes an indexing module;

[0088] The index module is used to establish a time index for each grid in each layer according to the time scale of the meteorological data, and to establish a longitude and latitude index for each grid in each layer according to the longitude and latitude of the meteorological data.

[0089] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0090] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0091] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than to limit its protection scope. Although the present application has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present application, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.

Claims

1. A method for rendering massive meteorological data, characterized in that: Draw grids in layers based on geographical distribution; Obtain meteorological data based on time scale and longitude and latitude and put them into the first layer of grids according to the longitude and latitude, and refine the weather data of the upper layer grids outside the first layer layer by layer according to the meteorological data in the previous layer grid; Based on the meteorological data corresponding to each layer of grid, each layer of grid is rendered according to the time scale to obtain the meteorological cloud map of each layer at each time scale; The step of drawing a grid in layers based on geographical distribution conditions includes: Based on the preset intervals, draw the first layer of grids according to longitude and latitude; For the upper layer grids except the first layer, merge the adjacent multiple grids of the previous layer into one grid of the current layer until the number of grids in the current layer is one; The step of merging adjacent multiple grids of the previous layer into one grid of the current layer includes: When the number of grids in the previous layer in the longitude direction and the number of grids in the latitude direction are both more than one, the adjacent 2*2 grids in the previous layer are merged into one grid in the current layer; When one of the number of grids in the longitude direction and the number of grids in the latitude direction of the previous layer is equal to one, two adjacent grids in the previous layer are merged into one grid in the current layer.

2. The method according to claim 1, characterized in that The refining includes: Based on the multiple grids to be merged, the meteorological data in the grids are statistically analyzed, clustered and / or correlated according to the data types to obtain the meteorological data in the corresponding grids; The data types include wind speed, wind direction and irradiance.

3. The method according to claim 1, characterized in that The method of obtaining meteorological data based on the time scale and longitude and latitude and longitude and placing the meteorological data into the first layer of grid according to the longitude and latitude includes: Get weather data based on time scale and longitude and latitude; According to the preset interval, the acquired meteorological data is placed into the first layer of grid according to longitude and latitude, starting from the meteorological data at the edge, until all meteorological data are within the grid.

4. The method according to claim 1 or 3, characterized in that The preset interval includes 9 kilometers.

5. The method according to claim 1, characterized in that Before rendering each layer of grids with the meteorological data according to the time scale, the method further includes: For the meteorological data of each layer, a time index of each grid of each layer is established according to the time scale of the meteorological data, and a longitude and latitude index of each grid of each layer is established according to the longitude and latitude of the meteorological data.

6. A rendering system for massive meteorological data, characterized in that: It includes a grid drawing module, a data acquisition module and a rendering module; The grid drawing module is used to draw grids in layers based on geographical distribution conditions; The data acquisition module is used to acquire meteorological data based on time scale and longitude and latitude and put it into the first layer of grids according to the longitude and latitude, and generate weather data of upper layer grids outside the first layer layer by layer according to the meteorological data in the previous layer grids; The rendering module is used to render each layer of grids according to the time scale based on the meteorological data corresponding to each layer of grids, so as to obtain the meteorological cloud map of each layer at each time scale; The grid drawing module includes a first layer drawing unit and an upper layer drawing unit; The first layer drawing unit is used to draw the first layer grid according to the longitude and latitude based on the preset interval; The upper layer drawing unit is used for merging adjacent multiple grids of the previous layer into one grid of the current layer, for the upper layer grids except the first layer, until the number of grids of the current layer is one; The upper layer drawing unit includes a first upper layer drawing sub-unit and a second upper layer drawing sub-unit; The first upper layer drawing subunit is used for merging adjacent 2*2 grids of the previous layer into one grid of the current layer when the number of grids of the previous layer in the longitude direction and the number of grids in the latitude direction both exceed one; The second upper layer drawing subunit is used for merging two adjacent grids of the previous layer into one grid of the current layer when one of the number of grids of the previous layer in the longitude direction and the number of grids of the previous layer in the latitude direction is one.