CN-121982156-A - Dynamic weather map intelligent typesetting method and device for weather consultation
Abstract
The application discloses an intelligent typesetting method and device of a dynamic weather map for weather consultation, wherein the method comprises the steps of responding to an intelligent typesetting instruction of the weather map triggered by a user aiming at a current weather data page, and scanning a plurality of weather elements existing in the current weather data page; the method comprises the steps of generating a current weather data page based on weather elements written by a user in a weather consultation editor interface, extracting weather characteristic data of a plurality of weather elements, generating a plurality of optimal weather consultation typesetting templates which accord with the current weather data page according to the weather characteristic data and a preset weather consultation typesetting template base, and intelligently typesetting a weather map on the current weather data page based on the plurality of optimal weather consultation typesetting templates to obtain weather typesetting results which correspond to the current weather data page and are used for weather consultation. By adopting the method and the device, the typesetting efficiency of the forecaster on the weather consultation materials is improved, and the quality of the weather consultation materials is ensured. Meanwhile, accuracy and reliability of weather forecast are improved.
Inventors
- Feng Qinyuan
- YANG GUOQI
Assignees
- 杭州太阁未名科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260408
Claims (10)
- 1. The intelligent typesetting method of the dynamic weather map for weather consultation is characterized by comprising the following steps of: Responding to an intelligent typesetting instruction of an weather map triggered by a user aiming at a current weather data page, and scanning a plurality of weather elements existing in the current weather data page, wherein the current weather data page is generated based on the weather elements written by the user in a weather consultation editor interface; Extracting weather feature data of the plurality of weather elements; Generating a plurality of optimal weather consultation typesetting templates which accord with the current weather data page according to the weather characteristic data and a preset weather consultation typesetting template library, wherein the preset weather consultation typesetting template library is a typesetting template set optimized for weather consultation scenes; And performing intelligent weather pattern typesetting on the current weather data page based on the optimal weather consultation typesetting templates to obtain weather typesetting results for weather consultation corresponding to the current weather data page.
- 2. The method of claim 1, wherein the extracting weather characteristic data for the plurality of weather elements comprises: classifying the plurality of weather elements to identify text block elements, weather map elements, media and graphic elements existing in the plurality of weather elements; Acquiring weather key attributes of the text block element, the weather map element, the media and the graphic element; and converting the weather key attributes into weather characteristic data one by one.
- 3. The method of claim 1, wherein generating a plurality of optimal weather consultation typesetting templates according to the current weather data page from the weather feature data, a preset weather consultation typesetting template library, comprises: analyzing business consultation intentions of the current meteorological data page based on the meteorological characteristic data, wherein the business consultation intentions comprise consultation focuses, meteorological element logic association relations and visual narrative sequences; extracting weather consultation typesetting templates matched with the consultation focus, the logical association relation of weather elements and the visual narrative sequence from the preset weather consultation typesetting template library to be used as a first candidate weather consultation typesetting template set; sorting all the first candidate weather consultation typesetting templates in the first candidate weather consultation typesetting template set, and screening N first candidate weather consultation typesetting templates with the front sorting as a second candidate weather consultation typesetting template set, wherein N is an integer greater than 1; Analyzing the final recommendation score of each second candidate weather consultation typesetting template in the second candidate weather consultation typesetting template set; And selecting K second candidate weather consultation typesetting templates with highest scores as a plurality of optimal weather consultation typesetting templates conforming to the current weather data page according to the final recommended score, wherein K is an integer greater than or equal to 1 and less than or equal to N.
- 4. The method of claim 3, wherein the parsing the business meeting intent of the current weather data page based on the weather feature data comprises: identifying a dominant type of a weather map element of the plurality of weather elements and core weather data content from the weather feature data; judging a consultation focus of the current weather data page through the dominant type and the core data content of the weather map elements, wherein the consultation focus is used for representing weather phenomena or processes needing core analysis and decision in weather consultation; Extracting keywords, conclusion description and spatial attribute and time attribute of the weather map element contained in text block elements in the plurality of weather elements from the weather feature data; establishing a meteorological element logic association relationship among the plurality of meteorological elements by matching the keywords, the conclusion description, the spatial attribute and the time attribute, wherein the meteorological element logic association relationship is used for representing a meteorological graphical range and a period corresponding to the text description; And deducing a visual narrative sequence corresponding to the current meteorological data page according to the meteorological element logic association relation, wherein the visual narrative sequence is used for representing a path for guiding the sight of a user and understanding sequence in typesetting layout.
- 5. The method of claim 3, wherein the ranking each first candidate weather meeting layout template in the set of first candidate weather meeting layout templates comprises: constructing a template feature vector of each first candidate weather consultation typesetting template in the first candidate weather consultation typesetting template set; Converting the weather feature data into page feature vectors; matching degree calculation is carried out on the template feature vector of each first candidate weather consultation typesetting template and the page feature vector, so that the matching degree score of each first candidate weather consultation typesetting template is obtained; And sorting the first candidate weather consultation typesetting templates in the first candidate weather consultation typesetting template set according to the matching degree score.
- 6. The method of claim 3, wherein analyzing the final recommendation score for each second candidate weather consultation template in the set of second candidate weather consultation templates comprises: performing simulated typesetting filling on each second candidate weather consultation typesetting template in the second candidate weather consultation typesetting template set to obtain a pre-typesetting result of each second candidate weather consultation typesetting template; Analyzing the pre-typesetting result of each second candidate weather consultation typesetting template based on a preset typesetting aesthetic evaluation component and a business expression definition evaluation component to generate the comprehensive evaluation score of each second candidate weather consultation typesetting template; the typesetting aesthetic evaluation component is used for evaluating balance, contrast and whiteness consistency of the layout, and the service expression definition evaluation component is used for evaluating efficiency and accuracy of consultation information transmission; and carrying out weighted summation on the matching degree score of each second candidate weather consultation typesetting template and the comprehensive evaluation score of each second candidate weather consultation typesetting template to obtain the final recommendation score of each second candidate weather consultation typesetting template.
- 7. The method according to claim 6, wherein the analyzing the pre-typesetting result of each of the second candidate weather consultation typesetting templates based on the pre-set typesetting aesthetic evaluation component and the business expression definition evaluation component comprises: Analyzing layout balance scores, contrast scores, blank scores and consistency scores of the pre-typesetting results of the typesetting templates of each second candidate weather consultation through a preset typesetting aesthetic evaluation component; Carrying out weighted summation on the layout balance score, the contrast score, the margin score and the consistency score to obtain the aesthetic evaluation score of each second candidate weather consultation typesetting template; analyzing focus prominence scores and association closeness score narrative fluency scores of the pre-typesetting results of the typesetting templates of each second candidate weather consultation through a preset business expression definition evaluation component; weighting and summing the focus prominence scores and the association compactness score narrative fluency scores to obtain a definition evaluation score of each second candidate weather consultation typesetting template; And carrying out fusion calculation on the aesthetic evaluation score of each second candidate weather consultation typesetting template and the definition evaluation score of each second candidate weather consultation typesetting template to obtain the comprehensive evaluation score of each second candidate weather consultation typesetting template.
- 8. The method according to claim 1, wherein the performing the weather map intelligent typesetting on the current weather data page based on the plurality of optimal weather consultation typesetting templates comprises: Creating a thumbnail preview of each optimal weather consultation typesetting template; Filling the thumbnail preview of each optimal weather consultation typesetting template into a sidebar or a floating window of a consultation editor interface for display; Responding to a thumbnail selection instruction of the user for the displayed thumbnail previews, and determining a target thumbnail preview selected by the user from the displayed thumbnail previews; taking the target weather consultation typesetting template corresponding to the target thumbnail preview as a final weather consultation typesetting template of the current weather data page; And adjusting the positions, the sizes, the alignment modes and the visual hierarchy relations of the plurality of meteorological elements according to the final weather consultation typesetting template.
- 9. The method of claim 8, wherein adjusting the position, size, alignment, and visual hierarchy of the plurality of weather elements according to the final weather consultation typesetting template comprises: Analyzing the final weather consultation typesetting template to obtain a plurality of placeholder rules in the template; Performing parameter matching on the plurality of meteorological elements and the plurality of placeholder rules to obtain a target placeholder rule of each meteorological element; And modifying the position, the size, the alignment mode and the visual hierarchy relation of each meteorological element through the target placeholder rule of each meteorological element.
- 10. The utility model provides a weather consultation oriented dynamic weather map intelligence typesetting device which characterized in that, the device includes: The weather consultation editor interface is used for receiving weather information of a user, and comprises a weather information scanning module, a weather information scanning module and a weather information display module, wherein the weather information scanning module is used for responding to an intelligent typesetting instruction of a weather image triggered by the user aiming at a current weather information page and scanning a plurality of weather elements existing in the current weather information page; The meteorological feature data extraction module is used for extracting meteorological feature data of the plurality of meteorological elements; The system comprises a weather meeting business typesetting template generation module, a weather meeting business typesetting template generation module and a weather meeting business typesetting template generation module, wherein the weather meeting business typesetting template generation module is used for generating a plurality of optimal weather meeting business typesetting templates which accord with a current weather data page according to weather characteristic data and a preset weather meeting business typesetting template library; And the intelligent weather pattern typesetting module is used for carrying out intelligent weather pattern typesetting on the current weather data page based on the optimal weather consultation typesetting templates to obtain weather typesetting results for weather consultation corresponding to the current weather data page.
Description
Dynamic weather map intelligent typesetting method and device for weather consultation Technical Field The application relates to the technical field of intelligent weather forecast, in particular to an intelligent typesetting method and device for a dynamic weather map for weather consultation. Background Weather consultation is a core workflow in weather forecast business. In a meeting, the forecasters need to display various weather data and charts (such as weather diagrams, radar diagrams, numerical forecasting products and the like), illustrate respective forecasting views and bases, and finally reach consensus through discussion and even dialectics, bridging the divergence. This process is critical to improving the accuracy and reliability of the forecast. In the related art, in the process of manufacturing materials of weather consultants, a forecaster usually uses a traditional PPT editing tool to manually typeset. For example, for the graphic of the important weather phenomenon, the forecaster needs to manually select the layout of the large graph and the detailed explanation, and for the comparative analysis of the multiple weather graphs, the layout of the grid or the parallel arrangement needs to be manually adjusted. However, the manual adjustment of the layout process of the weather map and text description is time consuming and laborious, often taking tens of minutes or even longer to complete the layout of a page of consultant material, resulting in a significant amount of time being used by the forecaster for the layout rather than the weather analysis itself, thereby reducing the accuracy and reliability of the forecast. Disclosure of Invention The embodiment of the application provides an intelligent typesetting method and device for a dynamic weather map for weather consultation. 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 consultation oriented dynamic weather map intelligent typesetting method, where the method includes: Responding to an intelligent typesetting instruction of an weather map triggered by a user aiming at a current weather data page, and scanning a plurality of weather elements existing in the current weather data page, wherein the current weather data page is generated based on the weather elements written by the user in a weather consultation editor interface; extracting meteorological characteristic data of a plurality of meteorological elements; Generating a plurality of optimal weather consultation typesetting templates which accord with the current weather data page according to weather characteristic data and a preset weather consultation typesetting template library, wherein the preset weather consultation typesetting template library is a typesetting template set optimized for weather consultation scenes; And performing weather pattern intelligent typesetting on the current weather data page based on a plurality of optimal weather consultation typesetting templates to obtain weather typesetting results for weather consultation corresponding to the current weather data page. Optionally, extracting weather feature data of a plurality of weather elements includes: Classifying the plurality of weather elements to identify text block elements, weather map elements, media and graphic elements existing in the plurality of weather elements; acquiring weather key attributes of text block elements, weather map elements, media and graphic elements; and converting the weather key attributes into weather characteristic data one by one. Optionally, generating a plurality of optimal weather consultation typesetting templates according with the current weather data page according to weather feature data and a preset weather consultation typesetting template library, including: Based on the meteorological feature data, analyzing business consultation intention of the current meteorological data page, wherein the business consultation intention comprises a consultation focus, a meteorological element logic association relation and a visual narrative sequence; extracting weather consultation typesetting templates matched with a focus of a consultation, a logic association relation of weather elements and a visual narrative sequence from a preset weather consultation typesetting template library, and taking the weather consultation typesetting templates as a first candidate weather consultation typesetting template set; sequencing each first candidate weather consultation typesetting template in the first candidate weather consultation typese