A meteorological data visualization implementation method and system based on digital twin
Through the meteorological data visualization method based on digital twins, the embedded mapping and effect parameter evaluation network are used to automatically construct and debug the meteorological fusion media material construction network, which solves the low debugging efficiency and image quality difficulties in the weather fusion media material construction process in the existing technology. Guaranteed issues are achieved, and efficient and automatic material image generation is achieved.
Patent Information
- Application Number
- CN202410314629.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-03-19
AI Technical Summary
In the process of constructing meteorological fusion media materials with existing technologies, neural network debugging efficiency is low, the cost is high, and it is difficult to ensure image quality and effects. This is mainly due to the reliance on manual intervention and repeated trials, and the debugging cycle is long.
Adopting a meteorological data visualization method based on digital twins, by obtaining the text of the target meteorological multimedia report, using the meteorological fusion media material construction network to automatically filter and construct material images, including embedding mapping and restoring mapping operations, combined with the effect parameter evaluation network for network debugging , automatically determine candidate material images and generate good material images.
It improves the generation accuracy of the weather fusion media material construction network, reduces human intervention, increases debugging speed, saves application costs, and ensures image quality and effects.
Smart Images

Figure CN118210933B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and specifically, to a method and system for realizing meteorological data visualization based on digital twins. Background Art
[0002] With the continuous development of multimedia technology, meteorological reports are no longer limited to simple text descriptions, but are increasingly conveying meteorological information to the public through multimedia forms such as images and videos. Among these multimedia visualization forms, the selection and construction of material images are particularly critical, which is directly related to the quality of meteorological reports and the experience of the audience. Traditionally, the material images required for meteorological reports mainly rely on manual screening and editing, which is not only inefficient, but also difficult to ensure the quality and effect of the images. With the rise of artificial intelligence and machine learning technologies, using neural networks to automatically screen and construct meteorological media material images has become a possible solution. However, in the process of automatically constructing meteorological media material images, how to ensure the quality and effect of the generated images has become an urgent problem to be solved. On the one hand, the structure and parameters of the neural network need to be carefully designed and debugged to meet the specific needs of meteorological reports; on the other hand, the effect of the generated images needs to be quantified and evaluated through appropriate evaluation indicators. Most of the existing neural network debugging methods rely on manual intervention and repeated experiments, with long debugging cycles, high costs, and difficulty in guaranteeing the final effect. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for realizing meteorological data visualization based on digital twins. The embodiment of the present application is implemented as follows:
[0004] In the first aspect, an embodiment of the present application provides a method for realizing meteorological data visualization based on digital twins, the method comprising: obtaining a target meteorological report text reported by a target meteorological multimedia media for a target simulation area; determining a target candidate material image based on the target meteorological report text based on a meteorological fusion media material construction network, the target candidate material image being used to display the meteorological content reported by the target meteorological multimedia media; integrating the target candidate material image into the digital twin corresponding to the target simulation area for visual display; wherein the meteorological fusion media material construction network is debugged using the following steps: obtaining a meteorological report text reported by a meteorological multimedia media for a learning sample of a simulation area; This learning example; based on the first neural network, multiple first candidate material images are determined according to the meteorological report text learning example, and each first candidate material image is used to display the meteorological content reported by the meteorological multimedia media; based on the effect parameter evaluation network, the candidate effect parameters of each first candidate material image are determined according to the meteorological report text learning example and each first candidate material image; according to the candidate effect parameters of each first candidate material image, the first neural network is debugged to obtain a meteorological integrated media material construction network, and the meteorological integrated media material construction network is used to determine the target candidate material image according to the target meteorological report text reported by the target meteorological multimedia media in the target simulation area.
[0005] In one embodiment, the network constructed based on meteorological fusion media materials determines the target candidate material image according to the target meteorological report text, including: obtaining target expression form information, wherein the target expression form information is used to display the image expression form of the target candidate material image; based on the meteorological fusion media material construction network, an embedding mapping operation is performed on the target expression form information and the target meteorological report text to obtain a target material image representation vector, wherein the target material image representation vector is used to represent the feature information of an image having the image expression form indicated by the target expression form information and associated with the target meteorological report text; based on the meteorological fusion media material construction network, a restoration mapping operation is performed on the target material image representation vector to obtain a target candidate material image.
[0006] In one embodiment, the first neural network includes a first embedding mapping network component and a first restoration mapping network component; the determining of multiple first candidate material images based on the first neural network according to the meteorological report text learning sample includes: obtaining expression form template information, the expression form template information is used to indicate the image expression form of each of the first candidate material images; based on the first embedding mapping network component, an embedding mapping operation is performed on the expression form template information and the meteorological report text learning sample to obtain a first material image representation vector, the first material image representation vector is used to represent the feature information of an image having the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample; based on the first restoration mapping network component, a restoration mapping operation is performed on the first material image representation vector to obtain multiple first candidate material images.
[0007] In one embodiment, before determining a plurality of first candidate material images based on the first neural network according to the meteorological report text learning sample, the method further includes: determining a plurality of first candidate material images based on the basic neural network according to the meteorological report text learning sample, each first candidate material image being used to display the meteorological content reported by the meteorological multimedia media; selecting a plurality of benchmark candidate material images from the plurality of first candidate material images; and debugging the basic neural network based on the plurality of benchmark candidate material images to obtain a first neural network.
[0008] In one embodiment, the selecting of multiple benchmark candidate material images from the multiple first candidate material images includes: performing causal analysis on the meteorological report text learning sample to obtain the causal effect coefficient of the meteorological content learning sample in the meteorological multimedia media report, the causal effect coefficient of the meteorological content learning sample is used to characterize whether the existence of the meteorological content learning sample causes the positive or negative information of the simulated area learning sample in the meteorological multimedia media report; for each first candidate material image, extracting the first meteorological content from each first candidate material image, processing the first meteorological content, and obtaining the causal effect coefficient of the first meteorological content, the causal effect coefficient of the first meteorological content is used to characterize whether the existence of the first meteorological content causes the simulated area learning sample in the meteorological multimedia media report positive or negative information; when the causal effect coefficient of the meteorological content learning sample and the causal effect coefficient of the first meteorological content meet the selection requirements, determining each of the first candidate material images as a benchmark candidate material image.
[0009] In one embodiment, the process of causally parsing the meteorological report text learning sample is performed using a debugged causal parsing network, and the process of obtaining the causal parsing network includes: obtaining the causal effect coefficient of the meteorological report text learning sample reported on the meteorological multimedia media for the simulated area learning sample and the marked meteorological content in the meteorological multimedia media; wherein the causal effect coefficient of the marked meteorological content is used to characterize the positive or negative information caused by the existence of the marked meteorological content in the simulated area learning sample reported on the meteorological multimedia media; based on the initial neural network, the meteorological report text learning sample is causally parsed to obtain the causal effect coefficient of the inferred meteorological content in the meteorological multimedia media, and the causal effect coefficient of the inferred meteorological content is used to characterize the positive or negative information caused by the existence of the inferred meteorological content in the simulated area learning sample in the meteorological multimedia media positive or negative information; based on the causal effect coefficient of the marked meteorological content and the causal effect coefficient of the inferred meteorological content, determine the error of the initial neural network, and debug the initial neural network based on the error of the initial neural network to obtain the debugged initial neural network; when the debugged initial neural network meets the convergence evaluation requirements, use the debugged initial neural network as the causal parsing network; when the debugged initial neural network does not meet the convergence evaluation requirements, use the debugged initial neural network as the initial neural network for the next round of debugging, and perform a next round of debugging on the initial neural network based on the meteorological report text learning sample and the causal effect coefficient of the marked meteorological content, until the debugged initial neural network meets the convergence evaluation requirements, and the debugged initial neural network is used as the causal parsing network.
[0010] In one embodiment, the method further includes: arranging the first candidate material images in order of effect to obtain an arrangement order of the first candidate material images; determining the inference effect parameters of the first candidate material images based on the second neural network according to the meteorological report text learning samples and the first candidate material images; and debugging the second neural network according to the arrangement order of the first candidate material images and the inference effect parameters of the first candidate material images to obtain an effect parameter evaluation network.
[0011] In one embodiment, the second neural network includes a second embedding mapping network component, a third embedding mapping network component, and a second restoration mapping network component; the determining of the inference effect parameters of each first candidate material image based on the second neural network according to the meteorological report text learning sample and the first candidate material image comprises: performing an embedding mapping operation on the expression form template information and the meteorological report text learning sample based on the second embedding mapping network component to obtain a second material image representation vector, wherein the second material image representation vector is used to represent the feature information of an image having the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample; for each first candidate material image, performing representation information mining on each first candidate material image based on the third embedding mapping network component to obtain a material image representation vector of each first candidate material image; determining the inference effect parameters of each first candidate material image based on the second restoration mapping network component according to the second material image representation vector and the material image representation vector of each first candidate material image.
[0012] In one embodiment, the second neural network is debugged based on the arrangement order of the first candidate material images and the inference effect parameters of the first candidate material images to obtain an effect parameter evaluation network, including: for any two first candidate material images, the inference effect parameters of the first candidate material image that is closer in the arrangement order to the front of the two first candidate material images are subtracted from the inference effect parameters of the first candidate material image that is closer in the arrangement order to obtain an effect parameter difference result, and the error corresponding to the any two first candidate material images is determined based on the effect parameter difference result, the effect of the first candidate material image that is closer in the arrangement order is better than the effect of the first candidate material image that is closer in the arrangement order; the second neural network is debugged based on the error corresponding to every two first candidate material images to obtain an effect parameter evaluation network.
[0013] In one embodiment, the first neural network is debugged according to the candidate effect parameters of the respective first candidate material images to obtain a meteorological integrated media material construction network, including: debugging the first neural network according to the candidate effect parameters of the respective first candidate material images to obtain a third neural network; if the third neural network meets the debugging cutoff requirement, the third neural network is used as the meteorological integrated media material construction network; if the third neural network does not meet the debugging cutoff requirement, a plurality of second candidate material images are determined based on the third neural network according to the meteorological report text learning sample, each second candidate material image is used to display the meteorological content reported by the meteorological multimedia media; based on the effect parameter evaluation network, the candidate effect parameters of each second candidate material image are determined according to the meteorological report text learning sample and the plurality of second candidate material images; the third neural network is debugged according to the candidate effect parameters of each second candidate material image to obtain a meteorological integrated media material construction network.
[0014] In one embodiment, the third neural network is debugged based on the candidate effect parameters of each of the second candidate material images to obtain a meteorological integrated media material construction network, including: determining a comparison variable based on the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, and the comparison variable is used to characterize the evolution result of the network internal configuration variable; wherein the comparison variable is the ratio or difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, or the comparison variable is a weighted summation result of the ratio and difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network; determining the error of the third neural network based on the comparison variable and the candidate effect parameters of each of the second candidate material images; debugging the third neural network based on the error of the third neural network to obtain a meteorological integrated media material construction network.
[0015] In a second aspect, the present application provides a computer system, comprising:
[0016] one or more processors;
[0017] Memory; one or more computer programs; wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and when the one or more computer programs are executed by the processors, the method as described above is implemented.
[0018] The beneficial effects of the present application include: in the technical solution provided by the present application, in the debugging process of the meteorological integrated media material construction network, multiple first candidate material images are determined based on the first neural network according to the meteorological report text learning samples. Then, based on the effect parameter evaluation network, the candidate effect parameters of each first candidate material image are determined according to the meteorological report text learning samples and each first candidate material image. Then, the first neural network is debugged according to the candidate effect parameters of each first candidate material image to obtain the meteorological integrated media material construction network. The first neural network is debugged based on the candidate effect parameters of the first candidate material image to improve the generation accuracy of the meteorological integrated media material construction network, so that the meteorological integrated media material construction network constructs material images with good effects. Furthermore, the candidate effect parameters of the first candidate material image are determined based on the effect parameter evaluation network without the need for human intervention, which improves the debugging speed of the meteorological integrated media material construction network and saves application costs.
[0019] Other features will be described in part in the following description. Those skilled in the art will discover these features in part upon inspection of the following content and drawings, or may learn these features through production or use. The features of the present application may be implemented and obtained by practicing or using various aspects of the methods, tools, and combinations listed in the detailed examples described below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0021] Figure 1 It is a flowchart of a method for realizing meteorological data visualization based on digital twins provided in an embodiment of the present application.
[0022] Figure 2 It is a schematic diagram of the composition of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method part of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0024] The execution subject of the meteorological data visualization implementation method based on digital twins in the embodiment of the present application is a computer system, including but not limited to servers, personal computers, laptops, tablet computers, smart phones, etc. The computer system includes user devices and network devices. The server includes but is not limited to a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of computers or network servers in cloud computing, wherein cloud computing is a kind of distributed computing, a super virtual computer consisting of a group of loosely coupled computer sets. Among them, the computer system can be run alone to implement this application, or it can be connected to the network and implement this application through interactive operations with other computer systems in the network. Among them, the network where the computer system is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, VPN network, etc.
[0025] The embodiment of the present application provides a method for realizing meteorological data visualization based on digital twins, which is applied to a computer system, such as Figure 1 As shown, the method includes:
[0026] Step S100: Acquire target meteorological report text reported by target meteorological multimedia media for the target simulation area.
[0027] In step S100, meteorological information about a specific simulation area is identified and collected, and this information comes from multimedia media reports, such as television news, website articles, social media posts, etc. The target simulation area is a geographically defined area, which may be a city, state, country, or other geographical area of any size, and the research or simulation will be concentrated in this area. For example, if the research is about the impact of hurricanes on Florida, then Florida is the target simulation area. Next, the target meteorological multimedia media reports refer to multimedia content containing meteorological information about the target simulation area. These reports may include weather forecasts, meteorological disaster warnings, climate change analysis, etc., which appear in the form of text, images, videos, or audio. In this step, the main focus is on text information because this information can be analyzed and processed to extract insights about weather patterns, climate trends, and other relevant data. The target meteorological report text refers to the plain text information extracted from the target meteorological multimedia media reports. These texts may contain meteorological data such as temperature readings, wind speed, precipitation, air pressure, etc., and may also contain narrative information describing weather conditions, predicting future weather changes, or discussing meteorological impacts. In order to obtain these target meteorological report texts, it may be necessary to use web crawlers, API calls, or other automated tools to collect and organize information from various media platforms. For example, you can write a web crawler to regularly visit the weather section of a specific news website and extract articles related to the target simulation area. Alternatively, you can also use the API provided by some weather service providers to obtain structured meteorological data and related text descriptions. In machine learning models, this collected text data can be used to train or test models. For example, natural language processing (NLP) technology can be used to analyze patterns or trends in text to predict future weather events or assess the impact of climate change. Specific machine learning algorithms / models / neural networks may include recurrent neural networks (RNN) or long short-term memory networks (LSTM), which are particularly suitable for processing sequence data, such as time series meteorological data.
[0028] When processing this text data, cleaning and preprocessing can be performed to remove irrelevant information, correct errors, or standardize the data format. For example, the date, time, and location information in the text can be extracted and converted into a standard format that can be used for analysis and simulation. Similarly, for descriptive text, word embedding or topic modeling techniques can be used to convert it into a numerical feature vector so that the machine learning model can process and understand it.
[0029] Step S200: Building a network based on meteorological integrated media materials to determine target candidate material images according to target meteorological report texts. The target candidate material images are used to display meteorological content reported by target meteorological multimedia media.
[0030] Among them, the meteorological integrated media material construction network is a neural network model specifically used to process meteorological related information. Through training and learning, this network model has the ability to generate corresponding image materials based on meteorological data or descriptions. It can generate corresponding images based on the input meteorological information, such as temperature, humidity, wind speed, weather phenomena, etc. These images can intuitively display the meteorological conditions. The target meteorological report text is text data containing specific meteorological content information. This text describes the meteorological conditions at a certain time and place, and may include weather phenomena, meteorological disasters, climate change and other content.
[0031] In step S200, the computer system receives the target meteorological report text as input data. Then, a network is constructed using meteorological integrated media materials to process the text. Specifically, the computer system extracts key information from the text, such as time, location, weather phenomena, etc., and converts this information into a format that can be processed by the neural network, such as a feature vector or array. Next, the computer system performs a series of internal processing based on this information and outputs target candidate material images that match the target meteorological report text. These images may be static pictures, such as satellite cloud maps, radar images, etc.; they may also be dynamic video clips, such as simulated animations of meteorological disasters.
[0032] For example, suppose the target weather report text describes a rainstorm weather process, including information such as the time, location, and intensity of the rainstorm. The computer system will extract these key information and input them into the meteorological integrated media material construction network. Based on this information, the network model generates a radar image or satellite cloud map showing the rainstorm weather process as a target candidate material image. This image can intuitively show the intensity and impact range of the rainstorm, helping people better understand and perceive the meteorological content in the report. Through the processing of step S200, target candidate material images that match the target weather report text can be obtained, and these images will be used in subsequent visual displays or multimedia reports to intuitively convey meteorological information.
[0033] In the embodiment of the present application, step S200, based on the meteorological integrated media material construction network, determines the target candidate material image according to the target meteorological report text, which may specifically include:
[0034] Step S210: Acquire target expression form information, where the target expression form information is used to display the image expression form of the target candidate material image.
[0035] The target expression form information refers to the information describing the expression style of the image, which may include but is not limited to the visual elements of the image such as color, lines, composition, light and shadow, and how these elements are combined to present a specific visual effect. This information together defines the style of the image, and in different application scenarios, different image styles may be required to convey the corresponding information and emotions. For example, in a meteorological report, if the report is about a serious typhoon disaster, a more serious and heavy image style may be required to convey the severity and urgency of the disaster; while if the report is about a beautiful sunrise or sunset, a warmer and softer image style may be required to convey the beauty of nature and a sense of tranquility.
[0036] In order to obtain the target expression form information, the computer system may need to analyze a large amount of existing image data, extract the style features in these images, and establish a style feature library. Then, according to the content and emotional tendency of the target meteorological report text, the computer system can select the style features that match it from the style feature library as the target expression form information. In addition, the computer system can also obtain the target expression form information by interacting with the user. For example, the system can provide a user interface to allow users to select one or more from a variety of preset image styles as the target expression form information; or, users can also upload their own images as references, allowing the system to extract the style features in these images and apply them to the generation process of the target candidate material image.
[0037] Step S220: Based on the meteorological integrated media material, a network is constructed to perform embedding mapping operations on the target expression form information and the target meteorological report text to obtain a target material image representation vector, which is used to represent the characteristic information of an image having an image expression form indicated by the target expression form information and associated with the target meteorological report text.
[0038] Step S220 involves embedding and mapping the target expression form information and the target weather report text, i.e., the encoding process. The purpose of this step is to obtain a target material image representation vector, which can represent image feature information with a specific image expression form and closely related to the weather report text. Specifically, the computer system receives the target expression form information and the target weather report text as input data. The target expression form information describes the desired image style, while the target weather report text contains specific weather event information. Both parts of information are crucial in the subsequent image generation process.
[0039] Next, the computer system uses the encoder part of the meteorological media material to build the network to process the input information. The encoder is a neural network model, which converts the input information into a low-dimensional vector representation, that is, the target material image representation vector. This vector contains the key features of the input information and can be used to restore the original information in the subsequent decoding process. During the encoding process, the computer system will first extract features from the target expression form information and the target meteorological report text respectively. For the target expression form information, features related to the image style may be extracted, such as color distribution, line shape, etc.; for the target meteorological report text, features related to meteorological events, such as weather phenomena, temperature changes, etc., will be extracted. These features will be combined into a feature vector or feature array. Then, the computer system will input this feature vector or feature array into the encoder. The encoder performs nonlinear transformation and dimensionality reduction operations on the feature vector through a series of neural network layers, and finally outputs a low-dimensional target material image representation vector. This vector not only contains the key features of the input information, but also has better computability and representability, which is convenient for subsequent image generation and processing.
[0040] For example, suppose the target weather report text describes a rainstorm process, and the target expression form information specifies a style of ink painting. The computer system first extracts the characteristics of rainstorm weather, such as rainfall, duration, etc., and the characteristics of ink painting style, such as elegant colors and smooth lines. Then, these features are combined into a feature vector and input into the encoder. The encoder processes and transforms this feature vector, and finally outputs a low-dimensional target material image representation vector. This vector contains both the key information of rainstorm weather and the style characteristics of ink painting, providing an important basis for subsequent image generation.
[0041] Step S230: constructing a network based on the meteorological integrated media material to perform a restoration mapping operation on the target material image representation vector to obtain a target candidate material image.
[0042] In step S230, the computer system will perform a restoration mapping operation, that is, a decoding process, on the target material image representation vector obtained in step S220 to generate a target candidate material image. Specifically, decoding is the inverse process of encoding. In step S220, the encoder converts the target expression form information and the target meteorological report text into a low-dimensional vector representation, namely the target material image representation vector. This vector contains the key features of the input information and is the basis for subsequent image generation. In step S230, the computer system will use the decoder part in the meteorological fusion media material construction network to perform a restoration mapping operation on this vector.
[0043] The function of the decoder is to restore the target material image representation vector to the original image data. It receives the target material image representation vector as input, and performs nonlinear transformation and upsampling operations on this vector through a series of neural network layers, and finally outputs an image that is associated with the target weather report text and has the image style indicated by the target expression form information, that is, the target candidate material image. This process can be likened to the process of decompressing a compressed file and restoring it to the original file. The target material image representation vector is like a compressed file that contains the key information of the original image, but it has a low dimensionality and is not easy to understand directly. The decoder is similar to a decompression tool, which can restore this compressed file to the original, directly understandable image data.
[0044] For example, suppose that a target material image representation vector in the style of ink painting describing rainstorm weather is obtained in step S220. In step S230, the computer system will use the decoder to perform a restoration mapping operation on this vector. The decoder performs upsampling and transformation on this vector layer by layer, gradually restoring the details and features of the image. Finally, a target candidate material image with the style of ink painting and showing rainstorm weather will be obtained. This image not only conforms to the desired image style, but also accurately conveys the information in the weather report text.
[0045] Step S300: Integrate the target candidate material image into the digital twin corresponding to the target simulation area for visual display.
[0046] A digital twin is a virtual model that accurately replicates a system or object in the real world, including its physical properties, behavior, and environment. In the field of meteorology, digital twins can be used to simulate and predict the meteorological conditions in a specific area. This digital twin is built based on a large amount of data and algorithms, and it can simulate the weather patterns, climate change, and other related natural phenomena in the target simulation area. Digital twins are mature existing technologies, and the process of building a digital twin corresponding to the target simulation area can refer to the existing technology, which will not be described here. The goal of step S300 is to seamlessly integrate the previously determined target candidate material image into the digital twin. The purpose of this is to provide a more intuitive and realistic visual effect during the simulation process, so that researchers, decision makers, or the public can better understand and perceive the meteorological conditions in the target simulation area. To achieve this goal, general computer graphics technology and visualization algorithms are needed. These technologies can ensure that the target candidate material image maintains a consistent appearance and behavior with the rest of the digital twin. For example, an image fusion algorithm can be used to synthesize the target candidate material image with the background image of the digital twin to ensure a natural transition and seamless connection between the images. At the same time, rendering technology can also be used to simulate visual effects such as lighting, shadows and perspective to enhance the realism of the display.
[0047] When integrating target candidate material images into the digital twin, factors such as image resolution, scale, and positioning also need to be considered. The determination of these factors needs to be adjusted according to specific application scenarios and requirements. For example, when simulating large-scale weather phenomena, lower-resolution images may be needed to improve computing efficiency; while when displaying local details, high-resolution images are needed to ensure clarity and accuracy.
[0048] In cases where machine learning models are involved, these models can be used to optimize the image integration process. For example, deep learning models such as generative adversarial networks (GANs) can be used to learn the image style of the digital twin and generate target candidate material images that are consistent with it. This can reduce the need for manual intervention and improve the automation and efficiency of image integration.
[0049] Finally, after the image integration is completed, the digital twin can be visualized. This process can be achieved through specialized software or platforms, such as meteorological simulation software or virtual reality platforms. Through these tools, researchers can observe and analyze the meteorological conditions of the target simulation area in real time to provide support for decision-making; while the public can better understand and perceive weather phenomena and climate change through intuitive visualization effects.
[0050] It can be understood that accurately determining the target candidate material image is the premise and key to improving the visual display effect. In the embodiment of the present application, the meteorological media material construction network in step S200 is used to complete the construction of the target candidate material image. Then, the debugging process of the meteorological media material construction network is introduced below. Specifically, it can include the following steps:
[0051] Step S10: Obtaining meteorological report text learning samples reported by meteorological multimedia media for the simulated area learning samples.
[0052] In step S10, the computer system obtains meteorological report text learning samples (meteorological report text samples) reported by meteorological multimedia media for the simulated area learning samples (simulated area samples). These learning samples will be used as training data for subsequent network training and debugging. Specifically, the simulated area learning samples refer to the simulated meteorological data and their corresponding multimedia media content in a series of preset simulated areas. These simulated areas can be based on the reproduction of historical meteorological data or virtual scenes generated according to specific meteorological models. The meteorological report text learning samples are the text parts of meteorological multimedia media reports extracted from these simulated area learning samples, which contain text descriptions of meteorological events, weather phenomena, climate change and other information. In order to obtain these learning samples, the computer system may need to collect and organize data from multiple data sources. For example, it can obtain real-time or historical meteorological data from meteorological observation stations and collect relevant meteorological multimedia media content from news websites or social media platforms. After preprocessing and formatting, these data will be organized into a form suitable for neural network learning.
[0053] After obtaining a sufficient number of meteorological report text learning samples, the computer system will use these data for subsequent network training and debugging. These learning samples not only contain basic information about meteorological events, but also reflect the language style and expression of human experts when writing meteorological multimedia reports. Therefore, by learning these samples, the neural network can gradually learn how to generate multimedia texts that conform to human language habits based on meteorological data.
[0054] Step S20: Determine a plurality of first candidate material images based on the first neural network according to the meteorological report text learning examples, each of the first candidate material images being used to display the meteorological content reported by the meteorological multimedia.
[0055] In step S20, the computer system uses the first neural network to generate multiple first candidate material images based on the meteorological report text learning samples. These images are intended to display the meteorological content in the meteorological multimedia reports in a visual way. Specifically, the first neural network is a deep learning model that is trained to understand and parse the information in the meteorological report text learning samples and generate corresponding images based on this. This neural network may be a generative adversarial network (GAN), a variational autoencoder (VAE), or other types of image generation models. These models learn the mapping relationship from text to image during the training process, so that the generated images can accurately reflect the meteorological content described in the text.
[0056] In step S20, the computer system takes the meteorological report text learning sample as input and passes it to the first neural network. The neural network converts the text information into image features through its internal complex calculations and processing, and finally generates a plurality of first candidate material images. These images may include cloud images, wind speed and direction maps, temperature distribution maps, etc., depending on the meteorological content described in the text and the training objectives of the neural network.
[0057] For example, suppose there is a weather report text learning example that describes "a typhoon is about to land, bringing strong winds and heavy rains." After receiving this text, the first neural network will parse the key information in it, such as "typhoon," "strong wind," and "heavy rain." Then, the neural network will generate a series of image features related to typhoons, strong winds, and heavy rains based on this information. Finally, by combining and rendering these features, the neural network will output multiple first candidate material images, such as the eye image of the typhoon, arrow diagrams of wind speed and direction, etc.
[0058] In one embodiment, the first neural network includes a first embedding mapping network component and a first restoration mapping network component. Based on this, step S20, determining a plurality of first candidate material images based on the first neural network according to the meteorological report text learning sample, may include the following steps:
[0059] Step S21: Acquire expression form template information, where the expression form template information is used to indicate the image expression form of each first candidate material image.
[0060] The expression form template information is an information sample that describes the image expression style. This information is crucial for the subsequent determination of the image expression form (i.e., image style) of each first candidate material image. In actual operation, the computer system obtains this information from a preset expression form template library. This template library may contain a variety of different image styles, such as cartoon style, realistic style, ink painting style, etc. Each style corresponds to a set of specific parameters and features, which define the visual effects and presentation methods of the image under the style. For example, if the meteorological report text learning example is about an upcoming rainstorm, and the image style indicated by the expression form template information is an ink painting style, then when the computer system generates the first candidate material image, it will tend to generate a rainstorm image with ink painting characteristics. These features may include elegant colors, smooth lines, and specific composition methods.
[0061] After obtaining the expression template information, the computer system will pass this information and the meteorological report text learning sample as input to the first embedding mapping network component (encoder) in the first neural network. The role of the encoder is to convert this information into a low-dimensional vector representation, namely the first material image representation vector. This vector not only contains the key features of the input information, but can also be used to restore an image with a specific style in the subsequent decoding process.
[0062] Step S22: Based on the first embedding mapping network component, an embedding mapping operation is performed on the expression form template information and the meteorological report text learning sample to obtain a first material image representation vector, wherein the first material image representation vector is used to represent the feature information of the image having the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample.
[0063] Specifically, step S22 converts the expression form template information and the meteorological report text learning sample into a low-dimensional vector representation, namely, the first material image representation vector. The function of this vector is that it can capture and represent the characteristic information of an image with a specific image style and associated with the meteorological text content.
[0064] In actual operation, the computer system receives two kinds of input: on the one hand, the presentation template information, which defines the visual style of the image; on the other hand, the meteorological report text learning samples, which provide the meteorological content that the image needs to express. These two pieces of information are crucial to generating accurate and consistent images.
[0065] The first embedding mapping network component can be composed of multiple layers of neural networks, such as convolutional neural networks (CNNs) or recurrent neural networks (RNNs). Through learning and training, these network layers can gradually extract the features of the input information and convert it into a compact vector representation. This vector, the first material image representation vector, not only contains the key information of the original input, but also its dimension is usually much lower than the original input, which facilitates subsequent calculations and processing. For example, suppose that the expression template information specifies a cartoon style, and the weather report text learning sample describes a snowstorm. In this case, the encoder receives both information and processes them through its internal neural network layers. During the processing, the encoder extracts the features of the cartoon style (such as bright colors, simple lines, etc.) and the features of the snowstorm text (such as snowfall, wind speed, etc.). Then, these features are fused and converted into a low-dimensional first material image representation vector. This vector represents the feature information of an image with a cartoon style and snowstorm content. The expression template information and the weather report text learning sample are converted into a low-dimensional and information-rich vector representation through the embedding mapping operation. This vector provides a solid foundation for the subsequent generation of images with specific styles and content.
[0066] Step S23: performing a restoration mapping operation on the first material image representation vector based on the first restoration mapping network component to obtain a plurality of first candidate material images.
[0067] Step S23 is responsible for converting the first material image representation vector generated in the previous step back to the image space in the workflow of the first neural network, that is, performing a restoration mapping or decoding operation to generate multiple first candidate material images. This step is the key link in the neural network to generate images. It uses the feature information extracted in the previous encoding stage to reconstruct an image corresponding to the original input.
[0068] Specifically, the computer system uses a first restoration mapping network component (which can be understood as a decoder), which is a neural network structure specially designed to restore low-dimensional vectors to high-dimensional image data. The decoder receives the first material image representation vector as input, and processes this vector through a series of neural network layers, gradually restoring the image's structure, texture, color and other features. During the processing, techniques such as transposed convolution layers and upsampling layers are used to increase the dimension and details of the data until an image with sufficient resolution and details is finally output. These generated first candidate material images will be consistent with the input presentation template information and meteorological report text learning examples in style and content.
[0069] For example, if the first source image representation vector represents a cartoon-style snowstorm image, then when the decoder processes this vector, it will gradually construct various parts of the image based on the cartoon style and snowstorm features encoded in the vector. The final output may be an image that contains cartoon elements (such as exaggerated lines and bright colors) and exhibits snowstorm features (such as heavy snow and low visibility).
[0070] It should be noted that there may be more than one first candidate material image generated, because the neural network can learn multiple possible output results. These candidate images may be further evaluated and selected in subsequent steps to determine the most suitable image for meteorological multimedia coverage.
[0071] Step S23 restores the low-dimensional first material image representation vector into a plurality of high-dimensional first candidate material images through a restoration mapping operation. These images are consistent with the original input in style and content, providing rich options for subsequent image selection and use.
[0072] In some embodiments, before determining a plurality of first candidate material images based on the first neural network according to the meteorological report text learning examples in step S20, the method provided in the embodiment of the present application further includes a step of debugging the first neural network, specifically, the following steps may be included:
[0073] Step S20a: Determine a plurality of first candidate material images based on the basic neural network according to the meteorological report text learning examples, each of which is used to display the meteorological content reported by the meteorological multimedia.
[0074] In step S20a, the computer system uses a basic neural network to process meteorological report text learning samples and generate multiple first candidate material images. These images are intended to display the meteorological content in meteorological multimedia reports in a visual way. The basic neural network is an initialized or pre-trained model that has the ability to extract features from text information and generate corresponding images. This model may be a generative adversarial network (GAN), a variational autoencoder (VAE) or other types of image generation models, which have learned the mapping relationship from text to image through a large amount of data training.
[0075] In step S20a, the computer system takes the meteorological report text learning sample as input and passes it to the basic neural network. The network converts the text information into image features through its internal complex calculations and processing, and finally generates a plurality of first candidate material images. These images may include cloud images, wind speed and direction maps, temperature distribution maps, etc., depending on the meteorological content described in the text and the training objectives of the neural network.
[0076] For example, suppose there is a weather report text learning example that describes "a typhoon is about to land, bringing strong winds and heavy rains." After receiving this text, the basic neural network will parse the key information in it, such as "typhoon," "strong winds," and "heavy rains." Then, the neural network will generate a series of image features related to typhoons, strong winds, and heavy rains based on this information. Finally, by combining and rendering these features, the neural network will output multiple first candidate material images, such as the eye image of the typhoon, arrow diagrams of wind speed and direction, etc.
[0077] It should be noted that the first candidate material images generated in step S20a are not the images ultimately used for meteorological multimedia reporting. They are only candidate images generated based on the current neural network state and input text, and will need to be further optimized and improved through subsequent steps such as selection and debugging. In step S20b, a plurality of benchmark candidate material images will be selected from these first candidate material images for subsequent neural network debugging. This selection process can be achieved through automated methods such as manual screening and semantic segmentation. Step S20a generates a plurality of first candidate material images corresponding to the meteorological report text through the basic neural network, which provides an important foundation and support for subsequent image selection and neural network debugging.
[0078] Step S20b: Selecting a plurality of reference candidate material images from the plurality of first candidate material images.
[0079] In the selection process, a variety of methods can be used to achieve automated or semi-automated screening. A simple and direct method is manual screening, that is, professionals conduct subjective evaluation based on factors such as image quality and content relevance, and select images that meet the requirements. However, this method may be affected by labor costs and time constraints, so in actual applications, automated methods may be more preferred.
[0080] The automated selection method can be implemented using computer vision and machine learning technologies. For example, the first candidate material image can be identified for key objects using a semantic segmentation algorithm. Semantic segmentation is a technology that divides an image into multiple regions with semantic meanings. It can help identify key objects in the image, such as clouds, wind direction arrows, etc. If the number of identified key objects is greater than a set threshold, it is considered that the image contains enough meteorological information and can be used as a baseline candidate material image.
[0081] Specifically, suppose there is a first candidate material image set containing 100 images. These images can be processed using a pre-trained semantic segmentation model (such as DeepLab, U-Net, etc.) to identify the key objects and their number in each image. Then, a quantity threshold is set, for example, requiring each benchmark candidate material image to contain at least 5 key objects. Based on this threshold, images that meet the conditions can be selected from the 100 images to form a benchmark candidate material image set.
[0082] In addition to semantic segmentation, other computer vision technologies can also be considered to assist the selection process, such as object detection, image classification, etc. These technologies can help more accurately identify key information in images and improve the accuracy and efficiency of selection.
[0083] In one implementation, step S20b, selecting a plurality of reference candidate material images from a plurality of first candidate material images, may include the following steps:
[0084] Step S20b1: Perform causal analysis on the meteorological report text learning samples to obtain the causal effect coefficient of the meteorological content learning samples in the meteorological multimedia media reports. The causal effect coefficient of the meteorological content learning samples is used to characterize the positive or negative information caused by the existence of the meteorological content learning samples on the simulated area learning samples under the meteorological multimedia media reports.
[0085] In step S20b1, the computer system will conduct an in-depth causal analysis of the meteorological report text learning samples, with the aim of obtaining the causal effect coefficient of the meteorological content learning samples in the meteorological multimedia media reports. This coefficient is crucial for the subsequent image selection process, because it can help the computer system understand the role of the meteorological content learning samples in the meteorological multimedia media reports, that is, how its existence affects the simulated area learning samples to present positive or negative information in the reports. Specifically, the implementation method of step S20b1 may involve a combination of natural language processing and causal reasoning algorithms. First, the computer system will use natural language processing technology to parse the meteorological report text learning samples and extract key information therein, such as meteorological events, affected areas, degree of impact, etc. This information will be organized into a structured data form to facilitate subsequent causal analysis.
[0086] Next, the computer system can analyze these structured data using causal parsing networks. The core of causal parsing networks is to explore the causal relationship between events, that is, how one event (such as a meteorological disaster) leads to another event (such as socioeconomic changes in the affected area). In this process, various potential influencing factors are considered and the causal effect coefficient between them is calculated. This coefficient can quantify the degree of influence of one event on another event, whether it is positive or negative.
[0087] In step S20b1, the causal effect coefficient of the meteorological content learning sample is calculated in this way. It reflects how the existence of the meteorological content learning sample affects the nature of the information presented by the simulated regional learning sample in the meteorological multimedia media report. For example, if a meteorological report mentions that a certain area is about to be hit by a strong typhoon, then the causal effect coefficient of the meteorological content learning sample (strong typhoon) may be very high because its negative impact on the simulated regional learning sample (affected area) is significant.
[0088] This causal effect coefficient will be used as one of the important bases for selecting benchmark candidate material images in the subsequent steps S20b2 and S20b3. Only those first candidate material images that are highly relevant and consistent with the meteorological content learning samples are likely to be selected as benchmark candidate material images and further used in the debugging and optimization process of the neural network.
[0089] As an implementation mode, in step S20b1, the process of performing causal analysis on the meteorological report text learning sample is performed by using a debugged causal analysis network. Optionally, the process of obtaining the causal analysis network may include the following steps:
[0090] Step S20ba: Obtain the causal effect coefficient of the meteorological report text learning sample reported by the meteorological multimedia media for the simulated area learning sample and the marked meteorological content in the meteorological multimedia media; wherein the causal effect coefficient of the marked meteorological content is used to characterize the positive or negative information caused by the existence of the marked meteorological content in the meteorological multimedia media reports of the simulated area learning sample.
[0091] Step S20ba involves obtaining a data set for training, which includes meteorological report text learning samples and corresponding causal effect coefficients of marked meteorological content. These data will provide a basis for subsequent neural network training and help the network learn how to parse the causal relationship in the meteorological report text.
[0092] Specifically, in step S20ba, the computer system first collects meteorological multimedia reports for the simulated area learning samples. These reports contain rich meteorological information, such as weather phenomena, meteorological disasters, climate change, etc., as well as the causal relationship related to this information. For example, a report may mention that "due to the influence of typhoons, a certain area will experience heavy rain and strong winds", which contains a causal relationship: the typhoon is the cause of heavy rain and strong winds. Next, the computer system extracts meteorological report text learning samples from these meteorological multimedia media reports and marks these samples. The marking process is manual or semi-automatic, and the purpose is to identify the meteorological content in the text and assign a causal effect coefficient to these contents. This coefficient is a quantitative value used to characterize how the presence of the marked meteorological content causes the simulated area learning sample to present positive or negative information in the meteorological multimedia media. For example, in the above example of typhoon impact, the marked meteorological content may be "typhoon" and "heavy rain and strong winds", and the causal effect coefficient may be determined based on the severity and scope of the impact.
[0093] The causal effect coefficients of these marked meteorological contents will be used as part of the training data for subsequent neural network training. By comparing the difference between the causal effect coefficients of the inferred meteorological content output by the network and the marked causal effect coefficients, the network error can be calculated, and the network can be debugged and optimized based on this error. Step S20ba provides the necessary data basis for building and training a causal parsing network by acquiring and processing meteorological report text learning samples and the causal effect coefficients of their marked meteorological content in meteorological multimedia reports. This network will be able to parse the causal relationship in the meteorological report text, providing important support for subsequent meteorological content learning and material image selection.
[0094] Step S20bb: Based on the initial neural network, causal analysis is performed on the meteorological report text learning samples to obtain the causal effect coefficient of the inferred meteorological content in the meteorological multimedia reports. The causal effect coefficient of the inferred meteorological content is used to characterize the positive or negative information caused by the existence of the inferred meteorological content in the simulated area learning samples in the meteorological multimedia reports.
[0095] Step S20bb involves using an initial neural network to perform causal analysis on the meteorological report text learning sample. The purpose of this step is to extract the inference meteorological content from the meteorological report text through the processing of the neural network and calculate its causal effect coefficient. This coefficient can quantify the positive or negative impact of the inference meteorological content on the simulated regional learning sample in the meteorological multimedia report. Specifically, the computer system uses the initial neural network to process the collected meteorological report text learning sample. This initial neural network may be a deep learning model, such as a convolutional neural network (CNN) or a recurrent neural network (RNN), which are particularly suitable for processing text data and capturing complex patterns therein. The structure and parameters of the network will be continuously optimized during the training process to better adapt to the task requirements. During the processing process, the initial neural network analyzes the vocabulary, grammar and semantic information in the meteorological report text, and tries to understand the causal relationship described in the text. For example, the network may identify keywords such as "due to", "cause", "therefore", and the entities and events that appear before and after these words, thereby inferring the causal relationship between them.
[0096] Through the layer-by-layer processing of the neural network, the causal effect coefficient of the inferred meteorological content will eventually be output. This coefficient is a numerical value or vector that reflects the degree and nature of the impact of the inferred meteorological content on the simulated area learning samples in the report. If the inferred meteorological content has a positive impact on the simulated area, such as forecasting accurate rainfall information to help farmers arrange farming activities reasonably, then its causal effect coefficient may be a positive value; on the contrary, if it has a negative impact, such as false weather reports causing traffic chaos, then the coefficient may be a negative value. It should be noted that the output of the initial neural network at this step is still based on the inference results of its current state and parameters, and there may be certain errors. Therefore, in the subsequent steps, these inference results need to be verified and debugged to ensure the accuracy and reliability of the neural network.
[0097] Step S20bc: Based on the causal effect coefficient of the marked meteorological content and the causal effect coefficient of the inferred meteorological content, the error of the initial neural network is determined, and the initial neural network is debugged based on the error of the initial neural network to obtain the debugged initial neural network.
[0098] In step S20bc, the computer system will use the causal effect coefficient of the marked meteorological content and the causal effect coefficient of the inferred meteorological content obtained in the previous step to calculate the error of the neural network, and adjust the parameters and structure of the neural network according to this error to improve its accuracy and generalization ability. Specifically, the computer system will first compare the difference between the causal effect coefficient of the marked meteorological content and the causal effect coefficient of the inferred meteorological content. This difference reflects the deviation between the neural network and the actual situation when parsing the meteorological report text. For example, if the marked meteorological content indicates that a meteorological event has a strong negative impact on the simulated area, while the causal effect coefficient of the inferred meteorological content shows a weaker impact or even a positive impact, then this indicates that the neural network has errors when processing similar situations.
[0099] In order to quantify this error, the computer system may use various loss functions (such as mean square error, cross entropy loss, etc.) to calculate the gap between the labeled and inferred causal effect coefficients. This error value will be used as the objective function for optimizing the neural network to guide the update direction of the network parameters. After determining the error, the computer system will use optimization techniques such as the back propagation algorithm to update the parameters such as the weights and biases of the neural network. This process is achieved by calculating the gradient of the loss function to the network parameters, which indicates the direction and magnitude of the parameter adjustment. By updating the parameters iteratively for multiple times, the neural network will gradually learn effective patterns for extracting causal relationships from weather report texts and reduce errors when processing new data.
[0100] In addition, during the debugging process, the computer system may also use other techniques to further improve the performance of the neural network, such as regularization (used to prevent overfitting), batch normalization (used to accelerate training and improve stability), and learning rate adjustment (used to control the step size of parameter updates). The application of these techniques will help the neural network better adapt to the complexity and diversity of weather report texts.
[0101] Step S20bc calculates the error and optimizes the initial neural network based on the error, laying a solid foundation for building an accurate and reliable causal analysis network. This process is an indispensable part of neural network training, which ensures that the network can make accurate and effective causal reasoning when processing actual meteorological report texts.
[0102] Step S20bd: When the debugged initial neural network meets the convergence evaluation requirement, the debugged initial neural network is used as a causal parsing network.
[0103] Step S20be: When the debugged initial neural network does not meet the convergence evaluation requirements, the debugged initial neural network is used as the initial neural network for the next round of debugging, and the initial neural network is debugged for the next round based on the meteorological report text learning samples and the causal effect coefficients of the marked meteorological content until the debugged initial neural network meets the convergence evaluation requirements and the debugged initial neural network is used as the causal analysis network.
[0104] During the neural network training process, the computer system will continuously debug the initial neural network to optimize its performance. This debugging process will continue until the network reaches a predetermined performance standard, namely the convergence evaluation requirement. The convergence evaluation requirement is usually one or more specific indicators, such as an error rate below a certain threshold, an accuracy rate above a certain level, etc. When the performance of the initial neural network reaches these convergence evaluation requirements after a series of debugging, it means that the network is mature enough to accurately process meteorological report text learning samples and extract effective causal information from them. At this time, the computer system will save this debugged initial neural network and name it a causal parsing network. This causal parsing network will serve as the basic model for subsequent processing of meteorological report texts and will be used to parse the causal relationships in new meteorological report texts.
[0105] However, if the initial neural network after debugging still does not meet the convergence evaluation requirements, then it is necessary to continue debugging. In this case, the computer system will use the current debugged initial neural network as the starting point for the next round of debugging. This means that the knowledge and experience learned by the network during the previous debugging process will be retained and further optimized on this basis.
[0106] For the next round of debugging, the computer system will again use the meteorological report text learning samples and the causal effect coefficients of the marked meteorological content as input data. These data will provide new learning opportunities for the neural network, helping it to better understand and parse the causal relationships in the meteorological report text. Through the continuous iterative debugging process, the performance of the neural network will gradually improve until it finally meets the convergence evaluation requirements. Once the debugged initial neural network meets the convergence evaluation requirements, the computer system will save it as a causal parsing network. This network will have a strong causal relationship parsing ability, can accurately extract key information from the meteorological report text, and provide strong support for subsequent meteorological content learning and material image selection.
[0107] Step S20b2: For each first alternative material image, extract the first meteorological content from each first alternative material image, process the first meteorological content, and obtain the causal effect coefficient of the first meteorological content. The causal effect coefficient of the first meteorological content is used to characterize the positive or negative information caused by the existence of the first meteorological content in the simulated regional learning sample reported in the meteorological multimedia media.
[0108] Specifically, the computer system first extracts content from each first candidate material image. This extraction process may involve computer vision technologies such as image recognition and target detection to accurately identify meteorological elements in the image, such as clouds, precipitation, wind speed indications, etc. These identified meteorological elements constitute the first meteorological content. For example, if a first candidate material image shows a clear sky and a sunny view, the extracted first meteorological content may include keywords such as "clear" and "sunny" and their related visual features. Next, the computer system processes these first meteorological contents. The purpose of the processing is to associate these meteorological contents with simulated area learning samples and quantify their positive or negative impact on simulated area learning samples in meteorological multimedia reports. This processing process may include steps such as feature extraction, sentiment analysis, and causal reasoning.
[0109] Taking sentiment analysis as an example, the computer system may use a pre-trained sentiment analysis model to judge the sentiment tendency of the first meteorological content. For example, in the above-mentioned clear sky example, the sentiment analysis model may judge that this meteorological content has a positive sentiment tendency for most people because it is usually associated with positive experiences such as pleasure and outdoor activities. Finally, the computer system calculates the causal effect coefficient of the first meteorological content. This coefficient is a numerical value or vector that reflects the degree and nature of the positive or negative impact of the existence of the first meteorological content on the simulated regional learning sample in the meteorological multimedia media. If the first meteorological content tends to trigger positive reports, then its causal effect coefficient may be a positive value; conversely, if it tends to trigger negative reports, it may be a negative value. It should be noted that the processing and analysis processes in step S20b2 are all automatically completed based on the computer system and related algorithms without manual intervention. These automated processing processes greatly improve work efficiency and accuracy, allowing the computer system to quickly screen out high-quality images that meet specific requirements from a large number of alternative material images.
[0110] Step S20b3: When the causal effect coefficient of the meteorological content learning sample and the causal effect coefficient of the first meteorological content meet the selection requirements, each first candidate material image is determined as a reference candidate material image.
[0111] The purpose of step S20b3 is to ensure that the selected material image not only meets the requirements visually, but also can produce a positive causal effect with the meteorological content learning sample in terms of content, so as to provide high-quality and influential image materials for subsequent multimedia reports. Specifically, the computer system first compares the causal effect coefficient of the meteorological content learning sample with the causal effect coefficient of the first meteorological content in each first candidate material image. This comparison process is based on the causal effect coefficient value calculated in the previous step. If the causal effect coefficients of the two are similar in value or consistent in trend, that is, they meet the preset selection requirements, then the computer system will determine that the first candidate material image is the benchmark candidate material image.
[0112] The compliance with the selection requirements here may be a specific numerical range, proportional relationship, or trend consistency, etc. For example, a threshold may be set, and when the difference between the causal effect coefficient of the meteorological content learning sample and the causal effect coefficient of the first meteorological content is less than the threshold, they are considered to meet the selection requirements.
[0113] For example, suppose that the causal effect coefficient of the meteorological content learning example is expressed as a positive value, which means that it tends to trigger positive reports. The first meteorological content in a first candidate material image is also a clear sky and sunshine, and its causal effect coefficient is also a positive value and the value is close. In this case, the computer system will determine that the first candidate material image meets the selection requirements and determine it as the benchmark candidate material image. Through the screening process of step S20b3, it can be ensured that the final selected benchmark candidate material image is not only visually attractive, but also can produce good synergy with the meteorological content learning example in terms of content. Such material images will be more likely to resonate with and attract the audience's attention in subsequent multimedia reports, thereby enhancing the dissemination effect and influence of the report.
[0114] Step S20c: Debugging the basic neural network based on a plurality of benchmark candidate material images to obtain a first neural network.
[0115] Specifically, the computer system first prepares multiple benchmark candidate material images, which have been determined in previous steps to have a positive causal effect with the meteorological content learning samples. Then, the computer system uses these benchmark candidate material images as basic data to train the basic neural network. During the training process, the computer system continuously inputs the benchmark candidate material images into the basic neural network and compares the difference between the network's output and the actual label. This difference is called error, which reflects the accuracy of the neural network in processing these images. According to the size and direction of the error, the computer system adjusts the parameters and structure of the neural network to reduce the error and improve the performance of the network.
[0116] This process will continue until the performance of the neural network reaches a predetermined standard or the error is reduced to an acceptable range. At this point, the computer system will save the debugged neural network and name it the first neural network. The first neural network is a neural network model specifically optimized for meteorological image content. Through the debugging process of step S20c, it can more accurately identify and analyze meteorological-related image features, thereby providing strong support for subsequent meteorological multimedia reporting.
[0117] It should be noted that the debugging process in step S20c may involve a variety of complex algorithms and techniques, such as back propagation algorithm, gradient descent algorithm, regularization technology, etc. The specific implementation of these algorithms and techniques depends on the selected neural network architecture and training strategy. At the same time, in order to improve the generalization ability of the neural network and prevent the occurrence of problems such as overfitting, the computer system may also use auxiliary means such as data enhancement and batch normalization to optimize the training process.
[0118] Step S30: Based on the effect parameter evaluation network, the candidate effect parameters of each first candidate material image are determined according to the meteorological report text learning examples and each first candidate material image.
[0119] The purpose of step S30 is to determine the candidate effect parameters of each first candidate material image through a neural network model according to the meteorological report text learning sample and each first candidate material image, so as to provide a basis for subsequent material screening and optimization. Specifically, the computer system first loads the trained effect parameter evaluation network. This network is a deep learning model, which can predict the effect parameters of each first candidate material image according to the input meteorological report text learning sample and the first candidate material image. These effect parameters can be quantitative indicators such as image clarity, color vividness, content relevance, etc., which are used to evaluate the performance of the image in meteorological media reports. Next, the computer system will use the meteorological report text learning sample and each first candidate material image as input data and send them to the effect parameter evaluation network for processing. During the processing, the neural network will extract the features of the input data, and gradually abstract the high-level feature representation of the image through multi-layer convolution, pooling and other operations. Then, these high-level features will be sent to the fully connected layer for classification or regression processing, and finally output the candidate effect parameters of each first candidate material image.
[0120] For example, assuming that the effect parameter evaluation network is a convolutional neural network (CNN), it can extract low-level features such as edges, textures, and shapes of the input image through multiple convolutional layers and pooling layers, and further combine them into abstract high-level features. Then, these high-level features will be sent to the fully connected layer for regression processing to predict the specific values of effect parameters such as image clarity and color vividness.
[0121] In one implementation, the method provided in the embodiment of the present application further includes a debugging step of the effect parameter evaluation network, which may specifically include:
[0122] Step S31: Arrange the first candidate material images in sequence to obtain the arrangement sequence of the first candidate material images.
[0123] During the training process of the effect parameter evaluation network, the goal of step S31 is to arrange the effects of each first candidate material image in sequence, that is, to sort them according to the effect level of the image, so as to provide basic data for subsequent network training and debugging. Specifically, the computer system uses a preset algorithm or model to evaluate the effect of each first candidate material image. This evaluation process may involve multiple aspects such as image clarity, color vividness, content relevance, etc., depending on the needs and standards of meteorological media reporting. After the evaluation is completed, the computer system will sort the first candidate material images from high to low according to the evaluation results, and generate a sequential arrangement list.
[0124] For example, suppose there are five first candidate material images, marked as A, B, C, D and E. After the effect evaluation, the computer system determines that their effects are in the order of A>B>C>D>E, so the arrangement sequence list is [A, B, C, D, E]. This list reflects the relationship between the effects of each image, and provides important reference information for subsequent network training and debugging. It should be noted that the effect evaluation and sorting process in step S31 are automatically completed based on the computer system and related algorithms without manual intervention. This automated processing method not only improves work efficiency, but also reduces the impact of human factors on the sorting results, making the sorting results more objective and accurate.
[0125] Through the processing of step S31, the computer system obtains the arrangement order list of each first candidate material image. This list will be used as one of the input data of the subsequent steps S32 and S33 to guide the reasoning and debugging process of the second neural network. In the subsequent steps, the computer system will use the correspondence between this arrangement order list and the reasoning effect parameters to perform targeted debugging and optimization on the second neural network, thereby gradually improving the network's effect parameter evaluation capability.
[0126] Step S32: determining the inference effect parameters of each first candidate material image based on the second neural network according to the meteorological report text learning examples and each first candidate material image.
[0127] During the training process of the effect parameter evaluation network, step S32 involves using a second neural network to determine the inference effect parameters of each first candidate material image. Inference effect parameters refer to quantitative indicators inferred by a neural network model for evaluating image quality, such as clarity, color vividness, content relevance, etc. Specifically, the computer system will use the meteorological report text learning samples and each first candidate material image as input data and send them to the second neural network for processing. This second neural network is a pre-trained deep learning model that has the ability to extract features from input data and perform inference. During the processing, the second neural network will first extract the features of the meteorological report text learning samples, which may include keywords, semantic information, etc. in the text. Then, the neural network will combine these text features with the features of each first candidate material image to perform inference calculations.
[0128] The process of inference calculation may involve complex operations of multiple network layers, including convolution, pooling, full connection and other operations. Through these operations, the second neural network can gradually abstract the high-level feature representation of the input data and finally output the inference effect parameters of each first candidate material image. These inference effect parameters are expressed in numerical form, and they reflect the performance of the image in terms of clarity, color vividness, content relevance and other aspects.
[0129] For example, assuming that the second neural network is a convolutional neural network (CNN), it can extract low-level features such as edges and textures of the input image through the processing of multiple convolutional layers and pooling layers, and further combine them into abstract high-level features. Then, these high-level features will be fused with the features of the meteorological report text learning samples, and finally output the inference effect parameters of each first candidate material image through the processing of the fully connected layer.
[0130] Through the processing of step S32, the computer system obtains the inference effect parameters of each first candidate material image. These parameters will serve as an important basis for network debugging in the subsequent step S33, helping the computer system to optimize the performance of the neural network and improve its ability to evaluate image effects. At the same time, these inference effect parameters can also provide a reference for manual editors, helping them to screen out high-quality material images more quickly and accurately.
[0131] In one embodiment, the second neural network includes a second embedding mapping network component, a third embedding mapping network component, and a second restoration mapping network component. Based on this, step S32, based on the second neural network learning examples of meteorological report texts and each first candidate material image, determines the inference effect parameters of each first candidate material image, which may specifically include:
[0132] Step S321: Based on the second embedding mapping network component, an embedding mapping operation is performed on the expression form template information and the meteorological report text learning sample to obtain a second material image representation vector, which is used to represent the feature information of the image having the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample.
[0133] In the implementation of step S32, the second neural network is refined to include a second embedding mapping network component, a third embedding mapping network component and a second restoration mapping network component. These components work together to determine the inference effect parameters of each image based on the meteorological report text learning sample and each first candidate material image. Step S321 involves using the second embedding mapping network component to perform an embedding mapping operation on the expression form template information and the meteorological report text learning sample. Embedding mapping is a technology that converts discrete data (such as text, labels, etc.) into a representation in a continuous vector space, which facilitates the processing and calculation of the machine learning model. Specifically, the computer system receives the expression form template information and the meteorological report text learning sample as input. The expression form template information may include the provisions of the visual expression elements such as the layout, style, font, etc. of the image, while the meteorological report text learning sample is the text content related to the weather. The second embedding mapping network component maps these input information into a high-dimensional vector space to generate a second material image representation vector. This vector contains the feature information of the image with the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample.
[0134] For example, if the representation template information specifies a specific image layout and style, and the weather report text learning example is a description of an approaching storm, then the second embedding mapping network component may generate a representation vector that contains both visual features related to the storm (such as clouds, raindrops, etc.) and conforms to the specified layout and style.
[0135] This second material image representation vector will play a key role in the subsequent steps. It will be used to compare and match with the representation vector of each first candidate material image, so as to determine the inference effect parameter of each image. In this way, step S321 lays a solid foundation for the training process of the entire effect parameter evaluation network.
[0136] Step S322: for each first candidate material image, perform representation information mining on each first candidate material image based on the third embedding mapping network component to obtain a material image representation vector of each first candidate material image.
[0137] In step S322, the computer system uses the third embedding mapping network component to perform in-depth representation information mining on each first candidate material image. Representation information refers to data or descriptions that can reflect the essential characteristics of the image. The third embedding mapping network component is a neural network module specially designed to extract image features. It receives each first candidate material image as input, and through a series of operations such as convolution, pooling, and nonlinear activation, it gradually extracts low-level to high-level features of the image from the original pixel data. These features may include visual information such as edges, textures, shapes, colors, and more abstract semantic information.
[0138] Based on the feature extraction, the third embedding mapping network component further maps these features into a high-dimensional vector space to form a material image representation vector for each first candidate material image. This vector is a compact and comprehensive representation of the image content. It contains a combination of various key information in the image, which facilitates higher-level processing and analysis by subsequent network layers. For example, suppose there is a first candidate material image showing a clear sky and a sunny beach. The third embedding mapping network component extracts features such as the color of the sky, the shape of the clouds, the texture of the beach, and the direction of the sun from this image, and encodes these features into a high-dimensional vector. This vector is the material image representation vector of the image, which can be compared and matched with the representation vectors of other images in the vector space, thereby supporting the subsequent determination of inference effect parameters and network debugging.
[0139] Through the processing of step S322, the computer system generates a unique material image representation vector for each first candidate material image. These vectors not only contain rich visual information of the image, but also provide an important data basis for subsequent effect parameter evaluation and neural network debugging.
[0140] Step S323: Based on the second restoration mapping network component, determine the inference effect parameter of each first candidate material image according to the second material image representation vector and the material image representation vector of each first candidate material image.
[0141] In step S323, the computer system uses the second restoration mapping network component to determine the inference effect parameters of each first candidate material image based on the second material image representation vector generated in the previous step and the material image representation vector of each first candidate material image. Specifically, the second restoration mapping network component receives two types of inputs: the second material image representation vector and the material image representation vector of the first candidate material image. The second material image representation vector is obtained by embedding and mapping the expression form template information and the meteorological report text learning sample through the second embedding mapping network component, and it contains the feature information of the image having the image expression form indicated by the expression form template information and associated with the meteorological report text learning sample. The material image representation vector of the first candidate material image is obtained by mining the representation information of each first candidate material image through the third embedding mapping network component, and it reflects the unique characteristics of each image.
[0142] The task of the second restoration mapping network component is to compare the two representation vectors and calculate the similarity or match between them. This process may involve dot products of vectors, cosine similarity calculations, or other complex metrics. By calculating the similarity, the network can evaluate the degree of match between each first candidate material image and the meteorological report text learning sample and the expression template information, thereby inferring the effect parameters of the image.
[0143] For example, if the material image representation vector of a first candidate material image is highly similar to the second material image representation vector, then it can be considered that the image performs well in terms of clarity, color vividness, content relevance, etc., so its reasoning effect parameter will be correspondingly higher. Conversely, if the similarity is low, the reasoning effect parameter will be lower. Finally, through the processing of step S323, the computer system determines an reasoning effect parameter for each first candidate material image. This parameter is a quantitative assessment of the image quality, which will serve as one of the important bases for network debugging in the subsequent step S33. By continuously optimizing the performance of the neural network, the computer system can improve its ability to evaluate image effects, thereby more accurately screening out high-quality material images for manual editing.
[0144] Step S33: According to the arrangement sequence of each first candidate material image and the inference effect parameter of each first candidate material image, the second neural network is debugged to obtain an effect parameter evaluation network.
[0145] In step S33, the computer system will carefully debug the second neural network according to the arrangement sequence of each first candidate material image and their reasoning effect parameters, and finally obtain an optimized effect parameter evaluation network. Specifically, the arrangement sequence refers to the order in which each first candidate material image is input into the second neural network. This order may be sorted based on certain attributes or features of the image, such as from high to low clarity, from strong to weak color vividness, etc. The reasoning effect parameter is calculated by step S32 and is used to quantitatively evaluate the quality of each image. During the debugging process, the computer system will first analyze the relationship between the arrangement sequence of each first candidate material image and their reasoning effect parameters. If it is found that the reasoning effect parameters of a certain image do not match its position in the arrangement sequence, for example, an image of poor quality is ranked in front, then the second neural network needs to be adjusted. The adjustment method may include modifying the network structure, adjusting the network parameters, optimizing the loss function, etc. For example, the number of network layers or neurons can be increased to enhance the network's expressiveness; parameters such as weights and biases can be adjusted to optimize the network's fitting effect; and more complex loss functions can be designed to better capture the relationship between image quality and actual effects.
[0146] Through continuous iterative debugging, the computer system can gradually optimize the performance of the second neural network, enabling it to more accurately evaluate the effect parameters of the image. Ultimately, when the network reaches a certain performance requirement, it can be saved as an effect parameter evaluation network for subsequent image quality evaluation tasks.
[0147] As an implementation manner, step S33, according to the arrangement sequence of each first candidate material image and the inference effect parameter of each first candidate material image, debugging the second neural network to obtain the effect parameter evaluation network may specifically include:
[0148] Step S331: For any two first candidate material images, subtract the inference effect parameters of the first candidate material image that is closer to the front in the arrangement order from the inference effect parameters of the first candidate material image that is closer to the back in the arrangement order to obtain a difference result of the effect parameters, and determine the error corresponding to any two first candidate material images based on the difference result of the effect parameters. The effect of the first candidate material image that is closer to the front in the arrangement order is better than the effect of the first candidate material image that is closer to the back in the arrangement order.
[0149] Step S331 is to ensure that the network can correctly evaluate the effect parameters of each first candidate material image, and these evaluation results are consistent with human intuitive judgment of image effects. In this step, the computer system calculates the effect difference between any two first candidate material images by subtracting the inference effect parameters of them, and determines the network error based on the difference. The ultimate goal is to adjust the network to reduce the error. Specifically, for any two first candidate material images, the computer system compares their positions in the arrangement sequence. In this order, the front images are generally considered to be of higher quality or more in line with human aesthetics. Next, the device calculates the difference between the inference effect parameters of the front image and the back image in the arrangement sequence, and obtains an effect parameter difference result.
[0150] For example, if image A is ranked before image B, and their inferred performance parameters are 80 and 60 respectively, then the performance parameter difference is 20, indicating that image A is somehow better than image B. This difference should be consistent with the network's evaluation of the two images.
[0151] Then, the computer system will determine the error between any two first candidate material images based on this difference result. This error reflects the gap between the network's current evaluation ability and the ideal situation (i.e. human judgment). If the network mistakenly believes that the later image is of higher quality, the error will be negative; conversely, if the network correctly identifies that the earlier image is of higher quality, but the difference is not large enough or too large, the error will be positive.
[0152] The ultimate goal is to gradually reduce this error through the debugging process in step S332, so that the network's evaluation of image effect parameters is more accurate and in line with human intuition. This may involve adjusting parameters such as weights and biases within the network, or optimizing the overall structure of the network to better capture subtle differences between images. In this way, the computer system can continuously improve the performance of the second neural network until a satisfactory effect parameter evaluation network is obtained.
[0153] Step S332: Debug the second neural network according to the errors corresponding to every two first candidate material images to obtain an effect parameter evaluation network.
[0154] Step S332 involves debugging the second neural network to ensure that the network can more accurately evaluate the effect parameters of the image. In this process, the computer system will adjust the second neural network accordingly based on the error between each two first candidate material images calculated in step S331. Specifically, the debugging process may include modifying the weights and bias parameters of the network, adjusting the network structure, or optimizing the loss function. The goal of debugging is to reduce the network's evaluation error for image effect parameters so that it is more in line with human visual perception and aesthetic standards. For example, assuming that in the initial state of the second neural network, for two first candidate material images A and B, the network mistakenly believes that the effect of image B is better than that of image A, but in fact, according to human judgment, the effect of image A should be better. In this case, the computer will debug the second neural network based on the error calculated in step S331.
[0155] Debugging may include increasing the number of neurons in the network that are sensitive to key features such as image clarity and color vividness, or adjusting the connection weights of these neurons so that the network can more accurately capture these key factors that affect image effects. Through repeated iterative debugging processes, the computer system can gradually optimize the performance of the second neural network, making it more accurate in evaluating image effect parameters. Ultimately, when the second neural network has been sufficiently debugged and optimized, the computer system will save it as an effect parameter evaluation network. This network can be used for subsequent image quality assessment tasks to help manual editors quickly screen out high-quality images from a large number of material images, thereby improving editing efficiency and image quality.
[0156] Step S40: Debugging the first neural network according to the candidate effect parameters of each first candidate material image to obtain a meteorological integrated media material construction network, which is used to determine the target candidate material image according to the target meteorological report text of the target meteorological multimedia report in the target simulation area.
[0157] Step S40 debugs and optimizes the first neural network to obtain a meteorological media material construction network that can efficiently and accurately select appropriate material images for target meteorological multimedia reports. The implementation of this step not only depends on the data and reasoning results accumulated in the previous steps, but also requires the computer system to have strong computing power and efficient learning algorithms. Specifically, the computer system will evaluate the pros and cons of these images in expressing meteorological information based on the candidate effect parameters of each first candidate material image. These candidate effect parameters may be obtained through a second neural network or other evaluation models, which reflect the quality of the image in terms of clarity, color, composition, etc.
[0158] During the debugging process, the computer system will use these candidate effect parameters as a guide to adjust the weights, biases and other parameters of the first neural network. The goal of the adjustment is to allow the network to more accurately output target candidate material images that match the target weather report text when receiving the weather information of the target simulation area as input.
[0159] For example, if a first candidate material image is particularly good at expressing wind force level, the corresponding index in its candidate effect parameter will be higher. When debugging the first neural network, the computer system may increase the network's attention to such images, giving them a higher priority when outputting the target candidate material image.
[0160] The debugging process may include multiple iterations, with each cycle evaluating and adjusting the network's performance. Through continuous optimization and debugging, the first neural network will eventually be able to more accurately select the most suitable material images for the target meteorological multimedia coverage based on the meteorological information of the target simulation area.
[0161] When debugging is completed, the computer system will save the optimized first neural network as a meteorological integrated media material construction network. This network will play an important role in the subsequent meteorological multimedia reporting and production, helping editors to quickly and accurately select high-quality images that meet reporting needs from a large number of material images.
[0162] As an implementation mode, step S40, according to the candidate effect parameters of each first candidate material image, debugs the first neural network to obtain a meteorological integrated media material construction network, including:
[0163] Step S41: Debugging the first neural network according to the candidate effect parameters of each first candidate material image to obtain a third neural network.
[0164] In step S41, the computer system debugs the first neural network according to the candidate effect parameters of each first candidate material image to obtain a third neural network. This debugging process is to make the neural network better adapt to the selection task of meteorological integrated media materials and improve its recognition accuracy of the target candidate material images.
[0165] Specifically, the debugging process may include modifying the structural parameters of the neural network, such as the number of layers, the number of neurons, the activation function, and adjusting the training parameters such as the learning rate and the optimization algorithm. These adjustments are made based on the candidate effect parameters of each first candidate material image. Images with high candidate effect parameters indicate that they perform better in certain aspects (such as clarity, color richness, etc.), so the neural network should pay more attention to the characteristics of these images. For example, if the candidate effect parameters of a first candidate material image show that it has high clarity and rich color information, then when debugging the neural network, the ability to extract image clarity and color features may be increased, so that in the subsequent selection of meteorological integrated media materials, high-quality images with similar features can be more accurately identified.
[0166] Through continuous debugging and optimization, the first neural network will gradually evolve into the third neural network, which will be more suitable for the selection of meteorological integrated media materials in terms of structure and parameters. When the third neural network reaches certain performance requirements, it can be applied to actual meteorological multimedia reporting to provide editors with accurate and efficient material selection support.
[0167] It should be noted that the third neural network here is not the final meteorological media material construction network. In the subsequent steps, the third neural network needs to be further verified and debugged to ensure that it can meet the actual needs of meteorological multimedia reporting. If the third neural network does not meet the debugging cutoff requirements, it is necessary to continue to execute step S43 and its subsequent steps to perform more learning and debugging work.
[0168] Step S42: If the third neural network meets the debugging cut-off requirements, the third neural network is used as the meteorological integrated media material to construct a network.
[0169] Step S43: If the third neural network does not meet the debugging cut-off requirement, multiple second candidate material images are determined based on the third neural network according to the meteorological report text learning samples, and each second candidate material image is used to display the meteorological content reported by the meteorological multimedia.
[0170] In the practice of machine learning and deep learning, debugging a neural network is an iterative process that requires continuous adjustment of network parameters and structure until the network's performance reaches a preset standard or cannot be further improved. In step S42, the computer system evaluates the performance of the third neural network to determine whether it meets the debugging cutoff requirements. These debugging cutoff requirements may include network accuracy, loss function value, training time, convergence speed, and other aspects. If the third neural network reaches a preset threshold or standard on these indicators, such as an accuracy rate higher than 95%, a loss function lower than a certain value, etc., then it can be considered that the network is mature enough to be competent for the task of selecting meteorological integrated media materials.
[0171] Once the third neural network meets the debugging cutoff requirements, the computer system will save it as a meteorological media material construction network. This network will be used in subsequent meteorological multimedia reports to quickly and accurately select the most suitable material images based on the meteorological information of the target simulation area. In this way, editors will be able to screen out high-quality materials from a large number of images and improve the quality and efficiency of reports. If the performance of the third neural network does not meet the debugging cutoff requirements, further training and optimization will be required. In step S43, the computer system will use meteorological report text learning examples based on the current third neural network to determine multiple second candidate material images.
[0172] These meteorological report text learning examples may be historical meteorological report data, which contain rich meteorological information and corresponding image materials. By letting the neural network learn these examples, it can better understand the relationship between meteorological information and image materials and improve its ability to recognize target candidate material images.
[0173] Specifically, the computer system will input the meteorological report text learning samples into the third neural network, and then the network will generate corresponding image feature representations based on the text information. Then, the computer system will select multiple second candidate material images that match the text information from a large number of image libraries based on these image feature representations.
[0174] These second candidate material images may have excellent performance in terms of clarity, color, composition, etc., but they are not necessarily suitable for current meteorological multimedia reporting. Therefore, in the subsequent steps, these images need to be further evaluated and selected. Through continuous iteration and optimization, a meteorological integrated media material construction network that can meet actual needs can be obtained.
[0175] Step S44: determining candidate effect parameters of each second candidate material image based on the effect parameter evaluation network according to the meteorological report text learning examples and the plurality of second candidate material images.
[0176] Step S44 uses the effect parameter evaluation network constructed in the previous step to evaluate the effect parameters of the newly generated second candidate material image. These effect parameters will provide an important basis for subsequent neural network debugging.
[0177] Specifically, the computer system will first input the meteorological report text learning sample and multiple second candidate material images into the effect parameter evaluation network. This network has been trained and debugged in the previous steps and has the ability to evaluate image effect parameters. It will extract features related to image quality, such as clarity, color vividness, contrast, etc. based on the input text samples and images.
[0178] For example, for the feature of clarity, the effect parameter evaluation network may analyze factors such as edge sharpness and detail retention in the image, and then give a quantitative clarity score. Similarly, for other features such as color vividness and contrast, the network will also have corresponding evaluation methods and scoring standards.
[0179] After extracting these features, the effect parameter evaluation network will further integrate these feature information to generate a candidate effect parameter vector for each second candidate material image. This vector contains the score or quantitative value of the image in each feature dimension, which can comprehensively reflect the quality and effect of the image. These candidate effect parameter vectors not only provide data support for subsequent neural network debugging, but also help the computer system to more accurately understand which image features are important for meteorological multimedia reporting. In this way, the entire system can be continuously optimized and improved to better meet actual needs.
[0180] Step S45: Debugging the third neural network according to the candidate effect parameters of each second candidate material image to obtain a meteorological integrated media material construction network.
[0181] In step S45, the computer system makes targeted adjustments and improvements to the third neural network according to the candidate effect parameters of each second candidate material image determined in step S44.
[0182] Specifically, the computer system first analyzes the candidate effect parameters of each second candidate material image, which reflect the performance of the image in terms of clarity, color, composition, etc. Then, the device evaluates the performance of the third neural network in identifying and selecting high-quality material images based on these parameters.
[0183] If the third neural network performs poorly on certain performance parameters, such as a low recognition rate for high-definition images, the computer system will debug these problems. The debugging method may include adjusting the number of layers, number of neurons, activation function and other structural parameters of the neural network, as well as optimizing training parameters such as learning rate and loss function.
[0184] For example, if the candidate effect parameters show that the second candidate material image is better in color richness but lacks clarity, the computer system may increase the third neural network's attention to image clarity. This can be achieved by increasing the number of network layers that process clarity, increasing the weight of clarity features, etc.
[0185] Through continuous debugging and optimization, the third neural network will gradually adapt to the selection task of meteorological integrated media materials and improve the recognition accuracy of target candidate material images. When the performance of the network reaches the preset standard or cannot be further improved, it can be saved as a meteorological integrated media material construction network for subsequent meteorological multimedia reports.
[0186] In this way, editors can use this network to quickly and accurately select high-quality material images from a large number of images, improving the quality and efficiency of reports. At the same time, because the network is debugged and optimized according to the actual needs of meteorological reports, the material images it selects will be more in line with the audience's aesthetic and information acquisition needs.
[0187] In one implementation, step S45, debugging the third neural network according to the candidate effect parameters of each second candidate material image to obtain a meteorological integrated media material construction network may specifically include:
[0188] Step S451: Determine a comparison variable based on the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, where the comparison variable is used to characterize the evolution result of the network internal configuration variables; wherein the comparison variable is the ratio or difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, or the comparison variable is a weighted summation result of the ratio and difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network.
[0189] Step S451 plays a key role in the process of constructing a network for building meteorological integrated media materials. The core of this step is to determine one or more comparison variables by comparing the internal configuration variables of the third neural network and the first neural network. These comparison variables can characterize the evolution results of the internal configuration variables of the network during the training process, thereby providing an important basis for subsequent debugging. The internal configuration variables of the network usually include parameters such as weights, biases, and activation functions of the neural network, which are continuously adjusted and optimized during the training process. In step S451, the computer system calculates the ratio or difference between the third neural network and the first neural network on these configuration variables, or performs weighted summation on these ratios and differences to obtain one or more comparison variables.
[0190] For example, assuming that the weights of the third neural network and the first neural network in a certain hidden layer are W3 and W1 respectively, then a possible comparison variable is the ratio W3 / W1 or the difference W3-W1 between them. If the value of this comparison variable is far away from 1 (for the ratio) or 0 (for the difference), it means that the weight of the third neural network in this hidden layer has changed significantly compared with the first neural network.
[0191] This change may be caused by different training data, adjustment of training strategy, or modification of network structure. By analyzing and understanding these contrasting variables, the computer system can obtain valuable information about the neural network training process, thereby guiding subsequent debugging work.
[0192] It should be noted that the selection and calculation method of comparison variables are not unique and can be flexibly designed according to specific task requirements and network structure. At the same time, in order to obtain more accurate and comprehensive information, multiple comparison variables are usually considered at the same time, and the evolution results of the internal configuration variables of the network are analyzed and evaluated from multiple perspectives. Step S451 provides an important reference for subsequent neural network debugging by determining the comparison variables, which helps to improve the performance and accuracy of the network construction of meteorological integrated media materials.
[0193] Step S452: Determine the error of the third neural network based on the comparison variable and the candidate effect parameters of each second candidate material image.
[0194] Step S453: Debug the third neural network based on the error of the third neural network to obtain the meteorological integrated media material to construct the network.
[0195] In step S452, the computer system calculates the error of the third neural network based on the contrast variables determined in the previous step and the candidate effect parameters of each second candidate material image. This error reflects the accuracy of the current network in processing and identifying meteorological multimedia materials. Specifically, the computer system can use a variety of methods to calculate the error. For example, a simple method is to sum, weighted sum or weighted average the contrast variables and the candidate effect parameters of each second candidate material image, and the result can be used as the error corresponding to the image. Another method is to determine the statistical distribution that the contrast variables and the candidate effect parameters of each second candidate material image conform to, and then use the mean of the statistical distribution as the error corresponding to the image. For example, suppose that the candidate effect parameters of a second candidate material image are clarity 0.8, color vividness 0.7, and contrast 0.9, and the corresponding contrast variables are 1.2, 0.9, and 1.1. Then, the computer system can perform weighted summation of these parameters and the contrast variables to obtain the error value corresponding to the image. If this error value is large, it means that the third neural network may have problems when processing such images.
[0196] After determining the error of the third neural network, the computer system debugs the network based on the error. The purpose of debugging is to optimize the parameters and structure of the network so that it can more accurately identify and select high-quality images when processing meteorological multimedia materials. Specific methods of debugging may include adjusting structural parameters such as the number of network layers, the number of neurons, and the activation function, as well as optimizing training parameters such as the learning rate and the loss function. For example, if it is found that the third neural network has difficulties in processing images with higher clarity, debugging can be performed by increasing the number of network layers that process clarity or increasing the weight of clarity features.
[0197] Through continuous debugging and optimization, the performance of the third neural network will gradually improve until it reaches the preset standard or cannot be further improved. At this point, the debugged network can be saved as a meteorological media material construction network for subsequent meteorological multimedia reporting. In this way, editors can use this network to quickly and accurately select high-quality material images from a large number of images, improving the quality and efficiency of reporting.
[0198] The present application also provides a computer system, such as Figure 2 As shown, the computer system 100 includes: a processor 101 and a memory 103. The processor 101 and the memory 103 are connected, such as through a bus 102. Optionally, the computer system 100 may also include a transceiver 104. It should be noted that in actual applications, the transceiver 104 is not limited to one, and the structure of the computer system 100 does not constitute a limitation on the embodiments of the present application.
[0199] Processor 101 may be a CPU, a general-purpose processor, a GPU, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 101 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0200] The bus 102 may include a path to transmit information between the above components. The bus 102 may be a PCI bus or an EISA bus, etc. The bus 102 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0201] The memory 103 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0202] The memory 103 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 101. The processor 101 is used to execute the application code stored in the memory 103 to implement the content shown in any of the above method embodiments.
[0203] An embodiment of the present application provides a computer system. The computer system in the embodiment of the present application includes: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and when the one or more programs are executed by the processor, the method provided above is implemented.
[0204] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a processor, the processor can execute the corresponding content in the aforementioned method embodiment.
[0205] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a portion of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps. The above is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for realizing meteorological data visualization based on digital twins, characterized in that: The method comprises: Obtain target meteorological report text for target meteorological multimedia media reporting on a target simulation area; Based on the meteorological integrated media material construction network, a target candidate material image is determined according to the target meteorological report text, and the target candidate material image is used to display the meteorological content reported by the target meteorological multimedia; Integrate the target candidate material image into the digital twin corresponding to the target simulation area for visual display; The meteorological media integration material construction network is debugged by the following steps: Obtaining meteorological report text learning samples of meteorological multimedia media for simulated area learning samples; Determine a plurality of first candidate material images based on the first neural network according to the meteorological report text learning examples, each of the first candidate material images being used to display the meteorological content reported by the meteorological multimedia; Determine, based on the effect parameter evaluation network, candidate effect parameters of each first candidate material image according to the meteorological report text learning examples and each first candidate material image; According to the candidate effect parameters of each of the first candidate material images, the first neural network is debugged to obtain a meteorological integrated media material construction network, wherein the meteorological integrated media material construction network is used to determine a target candidate material image according to a target meteorological report text of a target meteorological multimedia report in a target simulation area; Before determining a plurality of first candidate material images based on the first neural network according to the meteorological report text learning examples, the method further includes: Determine a plurality of first candidate material images based on the basic neural network according to the meteorological report text learning examples, each of the first candidate material images is used to display the meteorological content reported by the meteorological multimedia; Selecting a plurality of reference candidate material images from the plurality of first candidate material images; Debugging the basic neural network based on the multiple reference candidate material images to obtain a first neural network; The step of selecting a plurality of reference candidate material images from the plurality of first candidate material images comprises: Performing causal analysis on the meteorological report text learning sample to obtain a causal effect coefficient of the meteorological content learning sample in the meteorological multimedia media report, wherein the causal effect coefficient of the meteorological content learning sample is used to characterize the positive or negative information caused by the existence of the meteorological content learning sample to the simulated area learning sample in the meteorological multimedia media report; For each first candidate material image, extract the first meteorological content from the first candidate material image, process the first meteorological content, and obtain a causal effect coefficient of the first meteorological content, wherein the causal effect coefficient of the first meteorological content is used to characterize the positive or negative information caused by the existence of the first meteorological content in the simulated area learning sample reported on the meteorological multimedia; When the causal effect coefficient of the meteorological content learning example and the causal effect coefficient of the first meteorological content meet the selection requirements, determining each of the first candidate material images as a reference candidate material image; The process of performing causal analysis on the meteorological report text learning sample is performed by using a debugged causal analysis network, and the process of obtaining the causal analysis network includes: Obtaining a causal effect coefficient of a meteorological report text learning sample reported on a meteorological multimedia media for a simulated area learning sample and a marked meteorological content in the meteorological multimedia media; wherein the causal effect coefficient of the marked meteorological content is used to characterize the positive or negative information caused by the presence of the marked meteorological content in the simulated area learning sample reported on the meteorological multimedia media; Based on the initial neural network, causal analysis is performed on the meteorological report text learning sample to obtain the causal effect coefficient of the inferred meteorological content in the meteorological multimedia report, and the causal effect coefficient of the inferred meteorological content is used to characterize the positive or negative information caused by the existence of the inferred meteorological content in the simulated area learning sample reported in the meteorological multimedia media; Determining an error of an initial neural network based on the causal effect coefficient of the marked meteorological content and the causal effect coefficient of the inferred meteorological content, and debugging the initial neural network based on the error of the initial neural network to obtain a debugged initial neural network; When the debugged initial neural network meets the convergence evaluation requirement, the debugged initial neural network is used as the causal parsing network; When the debugged initial neural network does not meet the convergence evaluation requirements, the debugged initial neural network is used as the initial neural network for the next round of debugging, and the next round of debugging is performed on the initial neural network based on the meteorological report text learning samples and the causal effect coefficients of the marked meteorological content, until the debugged initial neural network meets the convergence evaluation requirements and the debugged initial neural network is used as the causal parsing network.
2. The method according to claim 1, characterized in that The method of constructing a network based on meteorological integrated media materials to determine target candidate material images according to the target meteorological report text includes: Acquire target expression form information, where the target expression form information is used to display the image expression form of the target candidate material image; Based on the meteorological integrated media material construction network, an embedding mapping operation is performed on the target expression form information and the target meteorological report text to obtain a target material image representation vector, wherein the target material image representation vector is used to represent feature information of an image having an image expression form indicated by the target expression form information and associated with the target meteorological report text; Based on the meteorological fusion media material, a network is constructed to perform a restoration mapping operation on the target material image representation vector to obtain a target candidate material image.
3. The method according to claim 1, characterized in that The first neural network includes a first embedding mapping network component and a first restoration mapping network component; the determining of a plurality of first candidate material images based on the first neural network and the meteorological report text learning examples includes: Acquire expression form template information, where the expression form template information is used to indicate an image expression form of each of the first candidate material images; Based on the first embedding mapping network component, an embedding mapping operation is performed on the expression form template information and the meteorological report text learning sample to obtain a first material image representation vector, wherein the first material image representation vector is used to represent feature information of an image having an image expression form indicated by the expression form template information and associated with the meteorological report text learning sample; A restoration mapping operation is performed on the first material image representation vector based on the first restoration mapping network component to obtain a plurality of first candidate material images.
4. The method according to claim 1, characterized in that: The method further comprises: Arranging the first candidate material images in sequence to obtain an arrangement sequence of the first candidate material images; Determine, based on the second neural network, the inference effect parameters of each of the first candidate material images according to the meteorological report text learning examples and each of the first candidate material images; According to the arrangement sequence of the first candidate material images and the inference effect parameters of the first candidate material images, the second neural network is debugged to obtain an effect parameter evaluation network.
5. The method according to claim 4, characterized in that The second neural network includes a second embedding mapping network component, a third embedding mapping network component, and a second restoration mapping network component; the second neural network based on the meteorological report text learning sample and the first candidate material images determines the reasoning effect parameters of the first candidate material images, including: Based on the second embedding mapping network component, an embedding mapping operation is performed on the expression form template information and the meteorological report text learning sample to obtain a second material image representation vector, wherein the second material image representation vector is used to represent feature information of an image having an image expression form indicated by the expression form template information and associated with the meteorological report text learning sample; For each first candidate material image, performing representation information mining on each first candidate material image based on the third embedding mapping network component to obtain a material image representation vector of each first candidate material image; determining, based on the second restoration mapping network component and the second material image representation vector and the material image representation vector of each first candidate material image, an inference effect parameter of each first candidate material image; The step of debugging the second neural network according to the arrangement sequence of the first candidate material images and the inference effect parameters of the first candidate material images to obtain an effect parameter evaluation network includes: For any two first candidate material images, subtract the inference effect parameter of the first candidate material image closer to the front in the arrangement sequence from the inference effect parameter of the first candidate material image closer to the back in the arrangement sequence, to obtain a difference result of effect parameters, and determine the error corresponding to the any two first candidate material images according to the difference result of effect parameters, the effect of the first candidate material image closer to the front in the arrangement sequence is better than the effect of the first candidate material image closer to the back in the arrangement sequence; The second neural network is debugged according to the error corresponding to each two first candidate material images to obtain an effect parameter evaluation network.
6. The method according to claim 1, characterized in that The step of debugging the first neural network according to the candidate effect parameters of each of the first candidate material images to obtain a meteorological integrated media material construction network includes: According to the candidate effect parameters of each of the first candidate material images, the first neural network is debugged to obtain a third neural network; If the third neural network meets the debugging cut-off requirement, the third neural network is used as the meteorological integrated media material to construct the network; If the third neural network does not meet the debugging cut-off requirement, determining a plurality of second candidate material images based on the third neural network according to the meteorological report text learning sample, each second candidate material image is used to display the meteorological content reported by the meteorological multimedia; Determine, based on the effect parameter evaluation network, candidate effect parameters of each second candidate material image according to the meteorological report text learning sample and the plurality of second candidate material images; The third neural network is debugged according to the candidate effect parameters of each of the second candidate material images to obtain a meteorological integrated media material construction network.
7. The method according to claim 6, characterized in that The method of debugging the third neural network according to the candidate effect parameters of each second candidate material image to obtain a meteorological media integration material construction network includes: Determine a comparison variable according to the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, wherein the comparison variable is used to characterize the evolution result of the network internal configuration variables; wherein the comparison variable is the ratio or difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network, or the comparison variable is a weighted summation result of the ratio and difference between the network internal configuration variables of the third neural network and the network internal configuration variables of the first neural network; determining an error of the third neural network according to the comparison variable and the candidate effect parameters of each of the second candidate material images; According to the error of the third neural network, the third neural network is debugged to obtain the meteorological integrated media material to construct the network.
8. A computer system, characterized in that: include: one or more processors; Memory; one or more computer programs; The one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and when the one or more computer programs are executed by the processors, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Digital twin model construction system based on image recognition and dynamic matching
CN114548253A
Systems and Methods for Providing Convolutional Neural Network Based Image Synthesis Using Stable and Controllable Parametric Models, a Multiscale Synthesis Framework and Novel Network Architectures
US20180068463A1
