Method, device, electronic device and storage medium for constructing evaluation index system of typical marine scenarios based on knowledge graph
By constructing a typical marine scene evaluation index system based on the knowledge graph method, the subjectivity and inconsistency problems of the traditional index system are solved, the objective and comprehensive evaluation of the marine environment is achieved, and the sustainable development of marine resources-environment-economy is supported.
Patent Information
- Application Number
- CN202410432463.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-04-11
AI Technical Summary
The traditional marine typical scene evaluation index system relies on expert experience, is highly subjective, is not objective and comprehensive enough, and is difficult to reach consensus, affecting the consistency and applicability of the index system.
A knowledge graph-based method is used to obtain multi-source data, build a knowledge graph of typical ocean scenes and a spatio-temporal raster database, calculate index weights through knowledge extraction and random walk models, and establish an objective, comprehensive and universal evaluation index system.
The constructed index system is more objective, comprehensive and applicable, can effectively evaluate and predict the marine environment, and provide support for the sustainable development of marine resources-environment-economy.
Smart Images

Figure CN118036902B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of marine information processing technology, and in particular to a method, device, electronic device and storage medium for constructing an evaluation index system for typical marine scenarios based on a knowledge graph. Background Art
[0002] The construction of an evaluation index system for typical marine scenarios is a complex and critical task. Its purpose is to better understand, analyze and evaluate the capacity and progress of sustainable development of marine resources, environment and economy, and to provide an important basis for decision-making, management and regulation to protect and improve the marine environment, rationally develop marine resources and promote high-quality development of the marine economy.
[0003] The traditional ocean typical scene evaluation index system is mainly constructed based on the experience of experts and relies heavily on personal knowledge and experience. Therefore, there may be subjective bias, which leads to limitations in the index system. In addition, different experts may have different opinions, and consensus is difficult to reach, which affects the consistency of the index system. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for constructing an ocean typical scene evaluation index system based on a knowledge graph, so as to solve the defects of limitations of the ocean index system constructed based on expert experience in the prior art.
[0005] The present invention provides a method for constructing an evaluation index system for typical ocean scenarios based on a knowledge graph, comprising:
[0006] Access to multi-source data related to ocean science, as well as an initial set of indicators;
[0007] Performing knowledge extraction on the multi-source data, and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0008] Based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, and the relationship between the basic indicators and their uncertainty are obtained;
[0009] Based on the relationship between the basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model;
[0010] Based on the spatiotemporal grid database, the observation values of each basic indicator are obtained, and the evaluation values of the comprehensive indicators are determined by using the basic indicator observation values and the basic indicator weights to form an ocean typical scene evaluation index system.
[0011] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0012] The relationship between the basic indicators and their uncertainty are obtained, including:
[0013] Extracting the initial indicator relationship between the basic indicators from the typical ocean scene knowledge graph;
[0014] The initial indicator relationship is standardized and transformed to obtain the relationship between the basic indicators and their uncertainty.
[0015] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0016] Based on the relationship between the basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model, including:
[0017] Obtaining the initial weight of each basic indicator as the initial weight of the node of the directed weighted network;
[0018] Based on the relationship between the basic indicators and their uncertainty, determine the effective influence times between the basic indicators, and use the effective influence times as the initial weights of the edges of the directed weighted network;
[0019] Based on the initial node weights and the initial edge weights of the directed weighted network, a random walk model is used to iteratively calculate the initial node weights until convergence, thereby obtaining the weights of each basic indicator.
[0020] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0021] The node initial weights and edge initial weights based on the directed weighted network are iteratively calculated using a random walk model until convergence, to obtain the weights of each basic indicator, including:
[0022] The initial weight of the node is iteratively calculated based on the following formula until convergence to obtain the weight of each basic indicator:
[0023] ;
[0024] ;
[0025] ;
[0026] in: , Respectively represent , The iterative indicator weight value of the indicator; is the damping factor (0< ≤1), that is, the probability that any indicator is affected by other indicators; is the number of all basic indicators; represent The set of basic indicators affected by the indicator; express Indicator Impact The number of times the indicator is valid. Indicates the impact of all basic indicators The total number of valid times of the indicator. Representative influence The basic indicator set of the indicator, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates the total number of documents.
[0027] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0028] The obtaining of the initial weights of the basic indicators includes:
[0029] Based on the number of documents related to each basic indicator, the initial weight of each basic indicator is determined.
[0030] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0031] The step of extracting knowledge from the multi-source data and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results includes:
[0032] Based on the data types of the multi-source data, knowledge extraction is performed on the multi-source data, and based on the extracted N-tuple knowledge, the knowledge graph of the typical ocean scene is constructed, where N is a positive integer greater than or equal to 3;
[0033] The spatiotemporal grid database is constructed based on the spatiotemporal grid data extracted from the multi-source data.
[0034] According to the method for constructing an evaluation index system for typical ocean scenarios based on knowledge graphs provided by the present invention,
[0035] Based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, including:
[0036] Searching and matching the initial indicator entity in the knowledge graph, and returning indicators that have a correlation or causal relationship with the initial indicator entity;
[0037] The indicators with the correlation or causal relationship are added to the initial indicator set to obtain the basic indicator set.
[0038] The present invention also provides a device for constructing an ocean typical scene evaluation index system based on a knowledge graph, comprising:
[0039] Data acquisition unit, used to acquire multi-source data related to marine science and an initial set of indicators;
[0040] A knowledge extraction unit, used to extract knowledge from the multi-source data, and to construct a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0041] An indicator expansion unit, used to expand the initial indicator set based on the knowledge graph to obtain a basic indicator set, and obtain the relationship between the basic indicators and their uncertainty;
[0042] A weight calculation unit, used to establish a directed weighted network with indicators as nodes based on the relationship between the basic indicators and their uncertainty, and to calculate the weight of each basic indicator using a random walk model;
[0043] The system construction unit is used to obtain the observation values of each basic indicator based on the spatiotemporal grid database, determine the evaluation value of the comprehensive indicator by using the basic indicator observation values and the basic indicator weights, and form an ocean typical scene evaluation indicator system.
[0044] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements a method for constructing an evaluation index system for typical ocean scenes based on a knowledge graph as described in any one of the above-mentioned methods.
[0045] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for constructing an evaluation index system for typical ocean scenes based on a knowledge graph as described in any of the above-mentioned methods.
[0046] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for constructing an ocean typical scene evaluation index system based on a knowledge graph.
[0047] The method, device, electronic device and storage medium for constructing an evaluation index system for typical marine scenarios based on a knowledge graph provided by the present invention obtain multi-source data related to marine science and an initial index set; extract knowledge from the multi-source data, and construct a knowledge graph of typical marine scenarios and a spatiotemporal grid database based on the knowledge extraction results; expand the initial index set based on the knowledge graph to obtain a basic index set, and obtain the relationship between each basic index and its uncertainty; establish a directed weighted network with the index as a node based on the relationship between the basic indicators and their uncertainty, and use a random walk model to calculate the weight of each basic indicator; obtain the observation value of each basic indicator based on the spatiotemporal grid database, and determine the evaluation value of the comprehensive indicator by using the observation value of the basic indicator and the weight of the basic indicator to form an evaluation index system for typical marine scenarios. An objective, comprehensive and highly versatile index system can be constructed, and the index system constructed thereby can be used to analyze and evaluate the capacity and process of sustainable development of marine resources, environment and economy, and provide strong support for the decision-making, management and regulation of subsequent marine development. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 It is one of the flow diagrams of the method for constructing an evaluation index system for typical ocean scenarios based on a knowledge graph provided by the present invention;
[0050] Figure 2 This is the second flow chart of the method for constructing an ocean typical scene evaluation index system based on a knowledge graph provided by the present invention;
[0051] Figure 3 It is a flow chart of a method for determining basic indicator weights provided by the present invention;
[0052] Figure 4 It is a structural schematic diagram of a device for constructing an ocean typical scene evaluation index system based on a knowledge graph provided by the present invention;
[0053] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] The traditional ocean typical scene evaluation index system is constructed solely based on the experience of experts, and has the following main problems:
[0056] 1) Highly subjective: Expert experience is based on personal knowledge, experience and insights, and may contain subjective bias, resulting in the constructed indicator system being not objective and comprehensive enough. In addition, different experts may have different opinions, and consensus is difficult to reach, thus affecting the uniformity of the indicator system.
[0057] 2) Limited knowledge updating: Experts’ experience is often limited by their personal knowledge and experience, and may not reflect the latest research results and technological developments in a timely manner. This may lead to the constructed indicator system being too outdated and not in line with reality.
[0058] In addition, due to the complexity and diversity of the marine environment, the indicator system obtained by relying on expert experience and field research is only applicable to specific scenarios or local areas, and has poor applicability in other typical scenarios.
[0059] In view of the problem that the ocean typical scene evaluation index system constructed based on expert experience is not objective and comprehensive enough and has poor applicability, the inventive concept of the present invention is to: obtain multi-source data related to ocean science and an initial indicator set; perform knowledge extraction on the multi-source data, and construct an ocean typical scene knowledge graph and a spatiotemporal grid database based on the knowledge extraction results; based on the knowledge graph, expand the initial indicator set to obtain a basic indicator set, and obtain the relationship between each basic indicator and its uncertainty; based on the relationship between the basic indicators and their uncertainty, establish a directed weighted network with indicators as nodes, and use a random walk model to calculate the weight of each basic indicator; based on the spatiotemporal grid database, obtain the observation value of each basic indicator, and use the basic indicator observation value and the basic indicator weight to determine the evaluation value of the comprehensive indicator to form an ocean typical scene evaluation index system.
[0060] Based on the above-mentioned inventive concept, the present invention provides a method, device, electronic device and storage medium for constructing an ocean typical scenario evaluation index system based on a knowledge graph, which can be applied to the construction of an ocean typical scenario index system to construct an objective, comprehensive and highly applicable index system. The index system constructed in this way can be used to evaluate and predict the marine environment, provide support for subsequent marine scientific research, and thus better protect the marine ecological environment.
[0061] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings. Figure 1 This is one of the flow charts of the method for constructing an evaluation index system for typical ocean scenarios based on a knowledge graph provided by the present invention. Figure 2 This is the second flow chart of the method for constructing an ocean typical scenario evaluation index system based on knowledge graph provided by the present invention. The execution subject of each step in the method can be an ocean index system construction device, which can be implemented by software and / or hardware. The device can be integrated in an electronic device, which can be a terminal device (such as a smart phone, a personal computer, etc.), a server (such as a local server or a cloud server, or a server cluster, etc.), a processor, or a chip, etc. Figure 1 As shown, the method comprises the following steps:
[0062] Step 110, obtaining multi-source data related to ocean science and an initial indicator set.
[0063] Specifically, multi-source data related to marine science can include online documents and marine standards collected from web pages; policies and regulations, professional books, etc. obtained from relevant professional websites; and marine survey and observation data obtained from professional databases. For example, multi-source data can be obtained from mangrove-related documents, marine laws and regulations, marine terminology standard documents, global biodiversity databases, marine survey and observation databases, encyclopedia entries, etc.
[0064] Multi-source data can be data including multiple modalities, such as text, audio, image, signal, video, etc. The acquired multi-source data can also be further pre-processed by screening and cleaning, format conversion, image recognition, signal recognition and other pre-processing operations to improve data quality.
[0065] Here, the initial indicator set can be obtained based on expert experience. For example, an initial indicator structure for "sustainable development of mangroves" can be created based on expert experience. The secondary indicator "health status" in the initial indicator structure can be further decomposed into 8 third-level indicators, namely "naturalness", "ecological sequence integrity", "canopy density", "biodiversity", "wetland degradation rate", "seawall construction rate", "invasion area of alien species" and "area of pests and diseases".
[0066] Step 120, extract knowledge from multi-source data, and construct a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results.
[0067] In order to solve the problem that the initial indicators built based solely on expert experience are not comprehensive and objective enough, in this embodiment, with the development of knowledge graph theory in recent years, graph network models have been widely used in various fields, including marine research. Therefore, a knowledge graph of typical marine scenes and a spatiotemporal grid database can be constructed first. The constructed knowledge graph of typical marine scenes contains a large amount of objective and authoritative marine knowledge, which can be used to enrich the initial indicator system structure.
[0068] For the knowledge graph of typical ocean scenes and the spatiotemporal grid database, knowledge extraction can be performed on multi-source data. In some embodiments, step 120 specifically includes:
[0069] Step 121, based on the data types of the multi-source data, knowledge is extracted from the multi-source data, and a knowledge graph of typical ocean scenes is constructed based on the extracted N-tuple knowledge, where N is a positive integer greater than or equal to 3;
[0070] Step 122, constructing a spatiotemporal raster database based on the spatiotemporal raster data extracted from the multi-source data.
[0071] Specifically, considering the different data types of multi-source data, knowledge extraction can be achieved through knowledge unit extraction technology corresponding to the data type. For example, for text data, N-tuple knowledge can be extracted using entity recognition, relationship extraction, attribute extraction and other technologies combined with large language models. For spatiotemporal data such as ocean observation data, spatiotemporal rule-based extraction algorithms can be used to extract spatiotemporal knowledge.
[0072] Here, for N-tuple knowledge extraction, it can be achieved through a pre-built knowledge extraction model. Pre-select sentences with high frequency of occurrence and label them in the form of (entity, relationship, entity, uncertainty). Build a knowledge extraction algorithm based on a large language model, and fine-tune the labeled data to obtain a knowledge extraction model.
[0073] It should be noted that the extracted N-tuple knowledge can be, for example, a quadruple, which can be specifically expressed in the form of (entity, relationship, entity, uncertainty), where the entity can be understood as each ocean indicator; the relationship is the relationship between each ocean indicator, such as strengthening, affecting, threatening, causing, etc.; the uncertainty can characterize the degree of uncertainty in the relationship between ocean indicators, such as obvious, serious, extremely large, etc.
[0074] For example, the ERNIE 3.0 large model with tens of billions of parameters can be used as the base, and the ERNIE-UIE knowledge extraction model can be constructed in combination with the unified framework of general information extraction (UIE). Taking the sentence: "The invasion of alien species has seriously affected my country's biodiversity resources." as an example, the extracted N-tuple knowledge is: (alien species invasion, impact, my country's biodiversity resources, serious). For example, for spatiotemporal data such as marine observation data, an extraction algorithm based on spatiotemporal rules is adopted. In this embodiment, taking the data "On July 28, 2023, Typhoon 'Dusurui' landed in City B, Province A." as an example, the extracted spatiotemporal knowledge is: (time, "20230728"), (space, (24°30′44″- 24°54′21″ north latitude, 118°24′56″- 118°41′10″ east longitude)).
[0075] Then, the extracted N-tuple knowledge is saved in a unified file format and stored in a graph database to construct a knowledge graph of typical ocean scenes.
[0076] For ocean observation data from multi-source data, the time, space, and measurement parameter values in the data are automatically acquired and stored in a relational database to build a spatiotemporal raster database.
[0077] In addition, for multi-source data that is well structured, it can be aligned and fused with the extracted data to improve data accuracy.
[0078] Step 130, based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, and the relationship between the basic indicators and their uncertainty are obtained.
[0079] Specifically, considering that the knowledge graph of typical marine scenarios constructed based on the collected multi-source data contains a large amount of objective and authoritative marine knowledge, and the initial indicators constructed based on expert experience are usually not comprehensive enough, the initial indicator set can be expanded based on the knowledge graph to obtain the basic indicator set. For example, marine indicators that have a specific relationship with the initial indicators in the knowledge graph but are not included in the initial indicator set are added to the initial indicator set to expand the initial indicator set.
[0080] In some embodiments, step 130 specifically includes:
[0081] Step 131, searching and matching the initial indicator entity in the knowledge graph, and returning indicators that have a correlation or causal relationship with the initial indicator entity;
[0082] Step 132, adding indicators with correlation or causal relationship to the initial indicator set to obtain a basic indicator set.
[0083] Specifically, the initial indicator can be input into the knowledge graph, and the initial indicator entity can be searched and matched in the knowledge graph. The initial indicator entity here can be the indicator name in the initial indicator set, and the indicator that has a correlation or causal relationship with the initial indicator entity is returned.
[0084] For example, if "biodiversity index" is the initial indicator entity, we search and match it in the knowledge graph, and return the indicator that has a correlation / causal relationship with "biodiversity index", namely "regional water temperature". The correlation here means that there is a two-way influence relationship between any two indicators, such as a positive correlation between each other; the causal relationship means that there is a unidirectional causal relationship between any two indicators.
[0085] Furthermore, the number of occurrences of the correlation / causal relationship can be compared with a preset number threshold, or the number can be sorted in descending order to filter and return indicators that have a correlation / causal relationship with the initial indicator entity.
[0086] Then, the indicators with correlation / causal relationship can be added to the initial indicator set to obtain the basic indicator set. For example, the "regional water temperature" indicator is added to the initial indicator set. The basic indicator set obtained after the addition can evaluate the marine environment more objectively and comprehensively from the perspective of "biodiversity index" compared with the initial indicator set.
[0087] The method provided by the embodiment of the present invention constructs a knowledge graph of typical marine scenarios, obtains rich interactive relationships between indicators based on the semantic associations between indicators in the knowledge graph, and improves the initial indicator system structure from the perspective of marine big data, thereby obtaining a more comprehensive and objective basic indicator system.
[0088] After obtaining the basic indicator set, the relationship between each basic indicator and its uncertainty can be obtained. The relationship between each basic indicator can be the entity relationship between the entities corresponding to each basic indicator in the knowledge graph. The uncertainty of the indicator relationship represents the degree of uncertainty of the entity relationship, and the uncertainty can be quantified by weight.
[0089] In some embodiments, obtaining the relationship between basic indicators and their uncertainty includes:
[0090] The initial indicator relationship between the basic indicators is extracted from the knowledge graph of typical marine scenarios; the initial indicator relationship is standardized and transformed to obtain the relationship between the basic indicators and their uncertainty.
[0091] Specifically, the extraction algorithm adapted to the graph database can be used to extract the correlation / causal relationship between the basic indicators from the knowledge graph. For example, the initial relationship can be expressed as (temperature increase, strengthen, soil microbial activity, obvious), (human activities, impact, mangrove area, extremely large), (weather disasters, threat, urban sustainable development, serious), (coastal erosion, lead to, coastal land loss), etc.
[0092] Furthermore, the initial indicator relationship can be standardized and transformed. The standardized transformation here can be a homogenization transformation, which uniformly expresses the correlation / causal relationship between indicators as (entity, impact, entity, uncertainty) to establish a directed weighted network between indicators.
[0093] Uncertainty can characterize the degree of uncertainty between indicator relationships and can be measured by weights. For example, the weight of "serious" can be set to 0.9, the weight of "not significant" can be set to 0.1, etc. Furthermore, uncertainty can be obtained by querying the pre-established "uncertainty-weight" comparison table dictionary, thereby converting the uncertainty in the relationship into a specific weight.
[0094] Step 140, based on the relationship between basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model.
[0095] Specifically, after obtaining the basic indicator set, the weight of each basic indicator needs to be determined. Based on the knowledge graph of typical marine scenarios, the correlation / causal relationship between the basic indicators is obtained, and the indicator weight calculation process is modeled as a probability calculation problem based on random walks in the graph network. Through iterative calculation, more objective and authoritative indicator weights are obtained.
[0096] The indicator weight calculation process is modeled as a probability calculation model based on random walk of the graph network. Step 140 may specifically include:
[0097] Step 141, obtaining the initial weight of each basic indicator as the initial weight of the node of the directed weighted network;
[0098] Step 142, based on the relationship between the basic indicators and their uncertainty, determine the effective influence times between the basic indicators, and use the effective influence times as the initial weights of the edges of the directed weighted network;
[0099] Step 143, based on the initial node weights and the initial edge weights of the directed weighted network, the random walk model is used to iteratively calculate the initial node weights until convergence, to obtain the weights of each basic indicator.
[0100] Specifically, first obtain the initial weight of each basic indicator. The initial weight can be determined based on the number of documents related to the basic indicator. The number of relevant documents of each basic indicator in the network document library is counted, normalized, and used as the initial weight of the corresponding indicator, that is, the initial node weight of each node in the directed weighted network.
[0101] Here, the weight of the relationship between indicators can be directly converted into the number of effective influences between the basic indicators, and used as the initial weight of each edge in the directed weighted network. Taking (alien species invasion, impact, my country's biodiversity resources, serious) and (alien invasion, damage, regional biodiversity, strong) extracted from the literature as examples, the weights of "serious" and "strong" are both set to 0.9. The above knowledge indicates that the aggregate weight of the "alien invasion" indicator on the "biodiversity" indicator is The result is 0.9, which is converted into 9 effective impact times. Taking (disease and insect pest damage, impact, canopy density, not significant) and (disease and insect pest spread, impact, plant canopy density, certain) as examples, the weight of "not significant" is set to 0.1, and the weight of "certain" is set to 0.5. The above knowledge indicates that the aggregate weight of the "disease and insect pest damage" indicator on the "biodiversity" indicator is The result is 0.3, which translates into 3 effective impact times.
[0102] On this basis, a directed weighted network of each indicator is obtained. For example, for the indicator of "biodiversity", the indicators with correlation / causal relationship are "naturalness", "alien invasion" and "disease and pest damage".
[0103] Its directed weighted network can be expressed as: 'Biodiversity (0.6388)':['Naturalness'] 5+['Alien Invasion'] 9+['Disease and pest damage'] 3. It means that the "biodiversity" index is effectively affected by the "naturalness" index 5 times, the "alien invasion" index is effectively affected 9 times, and the "disease and pest damage" index is effectively affected 3 times. It means that the initial index weight of the "biodiversity" index is 0.6388. In addition, the initial index weights of the three indicators (naturalness, alien invasion, and pest damage) are (0.1417, 0.1419, and 0.0352).
[0104] Then, the random walk model is used to iteratively calculate the initial weights of the nodes until convergence, and the weights of each basic indicator are obtained.
[0105] In some embodiments, the initial weight of the node is iteratively calculated based on the following formula until convergence to obtain the weight of each basic indicator:
[0106] ;
[0107] ;
[0108] ;
[0109] in: , Respectively represent , The iterative indicator weight value of the indicator; is the damping factor (0< ≤1), that is, the probability that any indicator is affected by other indicators; is the number of all basic indicators; represent The set of basic indicators affected by the indicator; express Indicator Impact The number of times the indicator is valid. Indicates the impact of all basic indicators The total number of valid times of the indicator. Representative influence The basic indicator set of the indicator, From the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, From the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates the total number of documents.
[0110] The above formula can be understood as a probability calculation formula for ocean index weights, and the calculation principle of the formula is: "the higher the probability, the more indicators are affected." In this embodiment, the damping factor d is set to 0.85 to prevent extreme values of the index weights in iterative calculations.
[0111] Based on the above biodiversity (0.6388)':['naturalness'] 5+['Alien Invasion'] 9+['Disease and pest damage'] Taking 3 as an example, we can get
[0112]
[0113] Get the result of the first iteration: =0.1546;
[0114] Through iterative calculation, until Gradually converge, the final value of the "biodiversity" indicator weight can be obtained. This indicator weight calculation method realizes the optimization of the mangrove sustainable development indicator system by the knowledge graph, and obtains a new indicator system containing the semantic information of the knowledge graph.
[0115] Figure 3 is a flow chart of the method for determining the basic indicator weights provided by the present invention, such as Figure 3 As shown in the figure, the method for determining the indicator weight includes:
[0116] Based on the uncertainty of the indicator relationship, the effective influence times between the basic indicators are determined, and the initial indicator relationship weights, i.e., the initial edge weights of the directed weighted network, are determined according to the effective influence times;
[0117] Based on the number of literature related to each basic indicator, the initial weight of each basic indicator, that is, the initial weight of the node of the directed weighted network, is determined;
[0118] The initial edge weights and node weights are input into the directed weighted network, and the weights of each basic indicator are iteratively calculated based on the probability calculation formula.
[0119] Step 150, based on the spatiotemporal grid database, obtain the observation values of each basic indicator, use the basic indicator observation values and basic indicator weights to determine the evaluation value of the comprehensive indicator, and form an ocean typical scene evaluation indicator system.
[0120] Specifically, after obtaining the weights of each basic indicator through the above steps, the observation values of each basic indicator in the spatiotemporal grid database are extracted to perform directional spatiotemporal extraction to obtain the observation values of each basic indicator within a limited spatiotemporal range. For example, the temperature observation value within a certain spatiotemporal range can be extracted, and the evaluation value of the temperature indicator can be obtained based on the temperature observation value and the indicator weight of the temperature indicator to construct an evaluation indicator system for typical marine scenarios.
[0121] The method provided by the embodiment of the present invention collects multi-source data related to marine science, processes and analyzes the multi-source data through data preprocessing technology, and extracts the data using a knowledge extraction algorithm combined with a large model, thereby constructing a knowledge graph of typical marine scenarios and establishing a spatiotemporal grid database; through the semantic association of the knowledge graph, a rich interactive relationship between indicators is obtained, and the existing initial indicator set is improved. Based on the multimodal knowledge graph of typical marine scenarios, the correlation / causal relationship between indicators is obtained, and the indicator weight calculation process is modeled as a probability calculation problem based on random walks in the graph network. Through iterative calculations, more objective and authoritative indicator weights are obtained. Finally, in a specific actual computing scenario, the spatiotemporal grid data is extracted in a targeted manner through the knowledge graph to obtain indicator observations and quantify the indicator network to provide support for subsequent marine scientific research.
[0122] The following is a description of the apparatus for constructing an evaluation index system for typical ocean scenarios provided by the present invention. The apparatus for constructing an evaluation index system for typical ocean scenarios described below and the method for constructing an evaluation index system for typical ocean scenarios based on a knowledge graph described above can be referenced to each other.
[0123] Figure 4 is a schematic diagram of the structure of a device for constructing an ocean typical scene evaluation index system based on a knowledge graph provided by the present invention, such as Figure 4 As shown, the device for constructing the ocean typical scene evaluation index system includes:
[0124] A data acquisition unit 410 is used to acquire multi-source data related to marine science and an initial indicator set;
[0125] A knowledge extraction unit 420 is used to extract knowledge from the multi-source data and construct a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0126] An indicator expansion unit 430 is used to expand the initial indicator set based on the knowledge graph to obtain a basic indicator set, and obtain the relationship between each basic indicator and its uncertainty;
[0127] A weight calculation unit 440 is used to establish a directed weighted network with indicators as nodes based on the relationship between the basic indicators and their uncertainties, and to calculate the weight of each basic indicator using a random walk model;
[0128] The system construction unit 450 is used to obtain the observation values of each basic indicator based on the spatiotemporal grid database, determine the evaluation value of the comprehensive indicator by using the basic indicator observation values and the basic indicator weights, and form an ocean typical scene evaluation indicator system.
[0129] The device provided by the embodiment of the present invention can construct an objective, comprehensive and highly versatile evaluation index system. The evaluation index system constructed in this way can be used to evaluate and predict the marine environment, provide support for subsequent marine scientific research, and thus better protect the marine ecological environment.
[0130] Based on any of the above embodiments, the indicator expansion unit is specifically used for:
[0131] Extracting the initial indicator relationship between the basic indicators from the typical ocean scene knowledge graph;
[0132] The initial indicator relationship is standardized and transformed to obtain the relationship between the basic indicators and their uncertainty.
[0133] Based on any of the above embodiments, the weight calculation unit is specifically used for:
[0134] Obtaining the initial weight of each basic indicator as the initial weight of the node of the directed weighted network;
[0135] Based on the relationship between the basic indicators and their uncertainty, determine the effective influence times between the basic indicators, and use the effective influence times as the initial weights of the edges of the directed weighted network;
[0136] Based on the initial node weights and the initial edge weights of the directed weighted network, a random walk model is used to iteratively calculate the initial node weights until convergence, thereby obtaining the weights of each basic indicator.
[0137] Based on any of the above embodiments, the weight calculation unit is specifically used for:
[0138] The initial weight of the node is iteratively calculated based on the following formula until convergence to obtain the weight of each basic indicator:
[0139] ;
[0140] ;
[0141] ;
[0142] in: , Respectively represent , The iterative indicator weight value of the indicator; is the damping factor (0< ≤1), that is, the probability that any indicator is affected by other indicators; is the number of all basic indicators; represent The set of basic indicators affected by the indicator; express Indicator Impact The number of times the indicator is valid. Indicates the impact of all basic indicators The total number of valid times of the indicator. Representative influence The basic indicator set of the indicator, From the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, From the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates the total number of documents.
[0143] Based on any of the above embodiments, the weight calculation unit is specifically used for:
[0144] Based on the number of documents related to each basic indicator, the initial weight of each basic indicator is determined.
[0145] Based on any of the above embodiments, the knowledge extraction unit is specifically used for:
[0146] Based on the data types of the multi-source data, knowledge extraction is performed on the multi-source data, and based on the extracted N-tuple knowledge, the knowledge graph of the typical ocean scene is constructed, where N is a positive integer greater than or equal to 3;
[0147] The spatiotemporal grid database is constructed based on the spatiotemporal grid data extracted from the multi-source data.
[0148] Based on any of the above embodiments, the indicator expansion unit is specifically used for:
[0149] Searching and matching the initial indicator entity in the knowledge graph, and returning indicators that have a correlation or causal relationship with the initial indicator entity;
[0150] The indicators with the correlation or causal relationship are added to the initial indicator set to obtain the basic indicator set.
[0151] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute a method for constructing an ocean typical scene evaluation index system based on a knowledge graph, the method comprising:
[0152] Access to multi-source data related to ocean science, as well as an initial set of indicators;
[0153] Performing knowledge extraction on the multi-source data, and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0154] Based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, and the relationship between the basic indicators and their uncertainty are obtained;
[0155] Based on the relationship between the basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model;
[0156] Based on the spatiotemporal grid database, the observation values of each basic indicator are obtained, and the evaluation values of the comprehensive indicators are determined by using the basic indicator observation values and the basic indicator weights to form an ocean typical scene evaluation index system.
[0157] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0158] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for constructing an ocean typical scene evaluation index system based on a knowledge graph provided by the above methods, and the method includes:
[0159] Access to multi-source data related to ocean science, as well as an initial set of indicators;
[0160] Performing knowledge extraction on the multi-source data, and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0161] Based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, and the relationship between the basic indicators and their uncertainty are obtained;
[0162] Based on the relationship between the basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model;
[0163] Based on the spatiotemporal grid database, the observation values of each basic indicator are obtained, and the evaluation values of the comprehensive indicators are determined by using the basic indicator observation values and the basic indicator weights to form an ocean typical scene evaluation index system.
[0164] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the method for constructing an ocean typical scene evaluation index system based on a knowledge graph provided by the above methods, the method comprising:
[0165] Access to multi-source data related to ocean science, as well as an initial set of indicators;
[0166] Performing knowledge extraction on the multi-source data, and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results;
[0167] Based on the knowledge graph, the initial indicator set is expanded to obtain a basic indicator set, and the relationship between the basic indicators and their uncertainty are obtained;
[0168] Based on the relationship between the basic indicators and their uncertainty, a directed weighted network with indicators as nodes is established, and the weight of each basic indicator is calculated using a random walk model;
[0169] Based on the spatiotemporal grid database, the observation values of each basic indicator are obtained, and the evaluation values of the comprehensive indicators are determined by using the basic indicator observation values and the basic indicator weights to form an ocean typical scene evaluation index system.
[0170] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0171] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0172] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for constructing an evaluation index system for typical marine scenarios based on knowledge graph, characterized in that: include: Access to multi-source data related to ocean science, as well as an initial set of indicators; The modality of the multi-source data includes at least one of text, audio, image, signal and video; Performing knowledge extraction on the multi-source data, and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results; Searching and matching the initial indicator entity in the knowledge graph, returning the indicator having a correlation or causal relationship with the initial indicator entity, and adding the indicator having a correlation or causal relationship to the initial indicator set to obtain a basic indicator set; Extracting the initial indicator relationship between basic indicators from the typical ocean scene knowledge graph, performing standardized transformation on the initial indicator relationship, and obtaining the relationship between basic indicators and their uncertainty; Obtain the initial weights of each basic indicator as the initial weights of the nodes in the directed weighted network; Based on the relationship between the basic indicators and their uncertainty, determine the effective influence times between the basic indicators, and use the effective influence times as the initial weights of the edges of the directed weighted network; The initial weight of the node is iteratively calculated based on the following formula until convergence to obtain the weight of each basic indicator: ; ; ; in: , Respectively represent , The iterative indicator weight value of the indicator; is the damping factor (0< ≤1), that is, the probability that any indicator is affected by other indicators; is the number of all basic indicators; represent The set of basic indicators affected by the indicator; express Indicator Impact The number of times the indicator is valid. Indicates the impact of all basic indicators The total number of valid times of the indicator. Representative influence The basic indicator set of the indicator, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates the total number of papers; Based on the spatiotemporal grid database, the observation values of each basic indicator are obtained, and the evaluation values of the comprehensive indicators are determined by using the basic indicator observation values and the basic indicator weights to form an ocean typical scenario evaluation index system. The ocean typical scenario evaluation index system is used to evaluate and predict the marine environment, and the ocean typical scenario evaluation index system includes a mangrove sustainable development evaluation index system.
2. The method for constructing an evaluation index system for typical marine scenarios based on knowledge graph according to claim 1 is characterized in that: The obtaining of the initial weights of the basic indicators includes: Based on the number of documents related to each basic indicator, the initial weight of each basic indicator is determined.
3. The method for constructing an evaluation index system for typical marine scenarios based on a knowledge graph according to any one of claims 1 to 2, characterized in that: The step of extracting knowledge from the multi-source data and constructing a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results includes: Based on the data types of the multi-source data, knowledge extraction is performed on the multi-source data, and based on the extracted N-tuple knowledge, the knowledge graph of the typical ocean scene is constructed, where N is a positive integer greater than or equal to 3; The spatiotemporal grid database is constructed based on the spatiotemporal grid data extracted from the multi-source data.
4. A device for constructing an evaluation index system for typical marine scenarios based on knowledge graph, characterized in that: include: Data acquisition unit, used to acquire multi-source data related to marine science and an initial set of indicators; The modality of the multi-source data includes at least one of text, audio, image, signal and video; A knowledge extraction unit, used to extract knowledge from the multi-source data, and to construct a knowledge graph of typical ocean scenes and a spatiotemporal grid database based on the knowledge extraction results; An indicator expansion unit, used to expand the initial indicator set based on the knowledge graph to obtain a basic indicator set, and obtain the relationship between the basic indicators and their uncertainty; A weight calculation unit, used to establish a directed weighted network with indicators as nodes based on the relationship between the basic indicators and their uncertainty, and to calculate the weight of each basic indicator using a random walk model; A system construction unit is used to obtain the observation values of each basic indicator based on the spatiotemporal grid database, determine the evaluation value of the comprehensive indicator by using the observation values of the basic indicators and the weights of the basic indicators, and form an evaluation index system for typical marine scenarios; the evaluation index system for typical marine scenarios is used to evaluate and predict the marine environment, and the evaluation index system for typical marine scenarios includes an evaluation index system for sustainable development of mangroves; The indicator expansion unit is specifically used for: Searching and matching the initial indicator entity in the knowledge graph, returning the indicator having a correlation or causal relationship with the initial indicator entity, and adding the indicator having a correlation or causal relationship to the initial indicator set to obtain a basic indicator set; Extracting the initial indicator relationship between basic indicators from the typical ocean scene knowledge graph, performing standardized transformation on the initial indicator relationship, and obtaining the relationship between basic indicators and their uncertainty; The weight calculation unit is specifically used for: Obtaining the initial weight of each basic indicator as the initial weight of the node of the directed weighted network; determining the effective influence times between the basic indicators based on the relationship between the basic indicators and their uncertainty, and using the effective influence times as the initial weight of the edge of the directed weighted network; The initial weight of the node is iteratively calculated based on the following formula until convergence to obtain the weight of each basic indicator: ; ; ; in: , Respectively represent , The iterative indicator weight value of the indicator; is the damping factor (0< ≤1), that is, the probability that any indicator is affected by other indicators; is the number of all basic indicators; represent The set of basic indicators affected by the indicator; express Indicator Impact The number of times the indicator is valid. Indicates the impact of all basic indicators The total number of valid times of the indicator. Representative influence The basic indicator set of the indicator, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates that from the literature Extracted from Indicators and The quantitative value of the uncertainty in the relationship between indicators, Indicates the total number of documents.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the method for constructing an ocean typical scene evaluation index system based on a knowledge graph as described in any one of claims 1 to 3.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method for constructing an ocean typical scene evaluation index system based on a knowledge graph as described in any one of claims 1 to 3.
