CN-122018758-A - Weather forecast visualization method and device based on multi-mode comparison and linkage analysis
Abstract
The application discloses a weather forecast visualization method and a weather forecast visualization device based on multi-mode comparison and linkage analysis, wherein the method comprises the steps of responding to a selection instruction, determining a plurality of weather forecast modes to be compared selected by a user, and reading forecast data of each weather forecast mode; generating and displaying a multi-mode comparison view according to forecast data, carrying out linkage analysis on the multi-mode comparison view to obtain an aerial image linkage group needing linkage, capturing a current operation event in response to an operation instruction of a user on a target aerial image in the aerial image linkage group, wherein the operation event carries view state change parameters, and carrying out weather forecast visualization on the aerial image linkage group according to the view state change parameters to obtain a displayed weather forecast visualization result. By adopting the application, the working efficiency is improved, and the weather forecast analysis and adjustment can be more efficiently carried out by the forecaster. Meanwhile, the risk of inaccurate analysis results caused by human misoperation is reduced, and the reliability of the analysis results is improved.
Inventors
- Feng Qinyuan
- LI SHUAI
- CAO YUKE
Assignees
- 杭州太阁未名科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260331
Claims (10)
- 1. A weather forecast visualization method based on multi-mode comparison and linkage analysis is characterized by comprising the following steps: Responding to a selection instruction of a user aiming at a weather forecast visual mode list, determining a plurality of weather forecast modes selected by the user to be compared, and reading forecast data of each weather forecast mode, wherein the weather forecast visual mode list is used for displaying all weather forecast mode options which can be selected; Generating and displaying a multi-mode comparison view according to the forecast data of each weather forecast mode, wherein the multi-mode comparison view is used for simultaneously displaying the forecast data of a plurality of weather forecast modes; Performing linkage analysis on the multi-mode comparison view to obtain an aerial image linkage group needing linkage; responding to an operation instruction of the user for a target aerial image in the aerial image linkage group, and capturing a current operation event, wherein the operation event carries a view state change parameter; and according to the view state change parameters, carrying out weather forecast visualization on the weather map linkage group to obtain a displayed weather forecast visualization result.
- 2. The method of claim 1, wherein generating and presenting a multi-mode contrast view from the forecast data for each weather forecast mode comprises: Calculating the optimal grid layout of the current display interface according to the mode number of the weather forecast modes to generate grid units; Preprocessing the forecast data of each weather forecast mode to generate a weather forecast graph of each weather forecast mode; and rendering the weather forecast graph of each weather forecast mode into the grid unit, and generating and displaying a multi-mode comparison view.
- 3. The method of claim 2, wherein calculating an optimal grid layout for a current presentation interface based on the number of the plurality of weather forecast patterns, generating grid cells, comprises: when the number of the modes of the plurality of weather forecast modes is 1, adopting a 1x1 grid layout, or when the number of the modes is more than 1 and less than or equal to 4, adopting a 2x2 grid layout, or when the number of the modes is more than 4, calculating a square grid layout, wherein the product of the number of rows and the number of columns of the grid layout is more than or equal to the number of the modes, and the difference value of the number of the rows and the number of the columns of the grid layout is minimized; acquiring the grid line number and the grid column number of the grid layout; Calculating the standard width and standard height of each grid unit according to the grid line number and the grid column number, the available width and the available height of the current display interface and the preset cell spacing; Defining grid cells in the current display interface according to the standard width and standard height of each grid cell, wherein the standard width of each grid cell And standard height The calculated expression of (2) is: Wherein, the Is the available width of the currently presented interface, Is the number of columns of the grid layout, Is the preset cell pitch of the cells, Is the available height of the currently presented interface, Is the number of rows of the grid layout.
- 4. The method of claim 2, wherein the preprocessing the forecast data for each weather forecast pattern to generate a weather forecast map for each weather forecast pattern comprises: Analyzing the forecast data of each weather forecast mode to extract weather element field data, longitude and latitude coordinate information and forecast time information as a structured weather dataset; determining the weather element type and the target forecast time which are selected by the user in real time through a visual interface; Screening out two-dimensional grid data matched with the type of the meteorological element and the target forecast time from the structured meteorological data set; Removing invalid values from the two-dimensional grid data, filling the missing values, and converting the filled two-dimensional grid data to a preset standard longitude and latitude grid through a spatial interpolation method to obtain standardized grid data with uniform spatial resolution and a coordinate reference system; Performing graph rendering on the standardized grid data to generate visual graph elements for representing the spatial distribution of meteorological elements; Overlapping the visual graphic elements on a preloaded geographic base map layer to form a combined map layer, and adding graphic finishing elements on the combined map layer to obtain a weather forecast map of each weather forecast mode; Wherein the graphic finishing element comprises at least one of a name of each weather forecast mode, the target forecast time, a legend, a color code and a scale.
- 5. The method according to claim 1, wherein the performing linkage analysis on the multi-mode contrast view to obtain a linkage group of the meteorological maps requiring linkage comprises: Acquiring metadata, image states and user interaction histories associated with a target weather forecast graph, wherein the target weather forecast graph is each weather forecast graph in the multi-mode comparison view; Extracting multidimensional linkage analysis features from the metadata, the image state and the user interaction history to obtain feature vectors of the target weather forecast graph; calculating linkage similarity scores between any two weather forecast graphs in the multi-mode comparison view through the feature vectors of the target weather forecast graphs; Combining the linkage similarity scores between any two weather forecast graphs to obtain a linkage similarity score matrix; And identifying a plurality of image clusters with dense linkage similarity based on the linkage similarity scoring matrix to obtain an aerial image linkage group needing linkage.
- 6. The method of claim 5, wherein the feature vector of the target weather forecast graph includes a weather forecast pattern identification, a weather element type, a current display space range, a current forecast time, and a frequency of operation selected or compared by a user simultaneously with other weather forecast graphs in the view during a preset history period; The calculating, by the feature vector of the target weather forecast graph, a linkage similarity score between any two weather forecast graphs in the multi-mode comparison view includes: calculating feature matching degree or distance on a weather forecast mode identification dimension, a weather element type dimension, a display space range overlapping degree dimension, a forecast time dimension and a history co-occurrence frequency dimension through the weather forecast mode identification, the weather element type, the current display space range, the current forecast time and the frequency; And carrying out weighted fusion according to the feature matching degree or the distance and the preset weight to generate a linkage similarity score between any two weather forecast graphs in the multi-mode comparison view.
- 7. The method according to claim 1, wherein the visualizing the weather forecast for the weather map linkage according to the view state change parameter to obtain a displayed weather forecast visualization result comprises: calculating display parameters of other gas image maps except the target gas image map in the gas image map linkage group according to the view state change parameters; re-rendering the other gas image according to the display parameters of the other gas image so as to enable the display range of the other gas image to be consistent with the display range of the target gas image, thereby obtaining a final gas image group; Acquiring target forecast time input by a user aiming at a client; And carrying out weather forecast visualization according to the final weather map group and the target forecast time to obtain a displayed weather forecast visualization result.
- 8. The method according to claim 7, wherein calculating display parameters of other gas figures in the gas figure linkage group than the target gas figure according to the view state change parameter includes: extracting a display range of the changed target aerial image from the view state change parameters; The method comprises the steps of obtaining a map projection type currently used by a first aerial image, wherein the first aerial image is each other aerial image except for the target aerial image in the aerial image linkage group; judging whether the map projection type of the first weather map is consistent with the map projection type of the target weather map; if so, taking four boundary coordinate values of the display range of the target weather map after the change as display parameters of the first weather map; If not, converting the four boundary coordinate values of the display range from the map projection type of the target weather map to the map projection type of the first weather map, and obtaining the four boundary coordinate values of the converted display range as the display parameters of the first weather map.
- 9. The method of claim 7, wherein said visualizing the weather forecast based on the final set of weather maps and the target forecast time results in a displayed visual result of the weather forecast, comprising: Analyzing a corresponding weather forecast mode identifier from a second weather image, wherein the second weather image is each weather image in the final weather image group; the method comprises the steps of obtaining an original structured weather data set corresponding to a weather forecast mode identifier, wherein the original structured weather data set comprises weather element field data of a plurality of forecast moments; Screening meteorological element field data matched with the target forecast time from the meteorological element field data to serve as target moment data; Performing graph rendering on the target moment data according to the current display parameters of the second weather map to generate a weather forecast sub-graph of the weather forecast mode identifier under the target forecast time; arranging and combining all the generated weather forecast subgraphs according to the layout mode of the multi-mode comparison view to generate an updated multi-mode comparison view; and displaying the updated multi-mode comparison view to obtain a displayed weather forecast visualization result.
- 10. A weather forecast visualization device based on multi-mode contrast and linkage analysis, the device comprising: the weather forecast mode determining module is used for responding to a selection instruction of a user for a weather forecast visual mode list, determining a plurality of weather forecast modes selected by the user to be compared, and reading forecast data of each weather forecast mode, wherein the weather forecast visual mode list is used for displaying all weather forecast mode options which can be selected; The multi-mode contrast view display module is used for generating and displaying a multi-mode contrast view according to the forecast data of each weather forecast mode, wherein the multi-mode contrast view is used for displaying the forecast data of a plurality of weather forecast modes at the same time; the linkage analysis module is used for carrying out linkage analysis on the multi-mode comparison view to obtain an aerial image linkage group needing linkage; The operation event capturing module is used for responding to an operation instruction of the user for a target aerial image in the aerial image linkage group, capturing a current operation event, wherein the operation event carries a view state change parameter; And the weather forecast visualization result display module is used for carrying out weather forecast visualization on the weather map linkage group according to the view state change parameters to obtain a displayed weather forecast visualization result.
Description
Weather forecast visualization method and device based on multi-mode comparison and linkage analysis Technical Field The application relates to the technical field of intelligent weather forecast, in particular to a weather forecast visualization method and device based on multi-mode comparison and linkage analysis. Background In the field of weather forecast, a forecaster needs to synthesize forecast data of a plurality of weather forecast modes so as to make more accurate weather forecast. For example, in typhoon warning, a forecaster needs to operate against various forecast data to accurately identify the typhoon path, strength and possible influence areas. Currently, weather forecast relies on a plurality of weather forecast modes in which a forecaster needs to view and compare forecast data for these modes in a plurality of different interfaces, respectively. For example, special map software is used to view sea level barometric fields, precipitation forecast maps, etc. of different modes. However, this approach is difficult to intuitively and efficiently adjust the forecast data for different modes within a single interface, resulting in a need for frequent switching between multiple software or interfaces by the forecaster, increasing operational complexity and time costs. Secondly, the forecaster needs to manually call and compare different forecast data, so that the efficiency is low, and the accuracy of an analysis result is easily affected due to human misoperation. Disclosure of Invention The embodiment of the application provides a weather forecast visualization method and device based on multi-mode comparison and linkage analysis. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later. In a first aspect, an embodiment of the present application provides a weather forecast visualization method based on multi-mode comparison and linkage analysis, where the method includes: Responding to a selection instruction of a user aiming at a weather forecast visual mode list, determining a plurality of weather forecast modes to be compared selected by the user, and reading forecast data of each weather forecast mode; Generating and displaying a multi-mode comparison view according to the forecast data of each weather forecast mode, wherein the multi-mode comparison view is used for simultaneously displaying the forecast data of a plurality of weather forecast modes; carrying out linkage analysis on the multi-mode comparison view to obtain an aerial image linkage group needing linkage; Responding to an operation instruction of a user aiming at a target gas image in the gas image linkage group, capturing a current operation event, wherein the operation event carries view state change parameters; and according to the view state change parameters, carrying out weather forecast visualization on the weather image linkage group to obtain a displayed weather forecast visualization result. In a second aspect, an embodiment of the present application provides a weather forecast visualization apparatus based on multi-mode comparison and linkage analysis, the apparatus including: The weather forecast mode determining module is used for responding to a selection instruction of a user aiming at a weather forecast visual mode list, determining a plurality of weather forecast modes selected by the user and needing to be compared, and reading forecast data of each weather forecast mode; the system comprises a multi-mode contrast view display module, a multi-mode contrast view display module and a display module, wherein the multi-mode contrast view display module is used for generating and displaying multi-mode contrast views according to the forecast data of each weather forecast mode; the linkage analysis module is used for carrying out linkage analysis on the multi-mode comparison views to obtain an aerial image linkage group needing linkage; The operation event capturing module is used for responding to an operation instruction of a user for a target gas image in the gas image linkage group, capturing a current operation event, wherein the operation event carries a view state change parameter; And the weather forecast visualization result display module is used for carrying out weather forecast visualization on the weather forecast graph linkage group according to the view state change parameters to obtain the displayed weather forecast visualization result. The technical scheme provided by the embodiment of the application can have the following beneficial effects: In the embodiment of the application, on one hand, the multi-mode comparison view is generated and di