Enterprise information management method and system

By collecting and preprocessing enterprise data, semantic learning and clustering algorithms are used to optimize the construction of knowledge graphs, solving the problems of high cost and poor scalability of traditional ontology construction methods, achieving high-quality knowledge graph construction and application, and improving enterprise information management level.

CN118277638BActive Publication Date: 2024-10-22TIANJIN ECONOMY & TECH ZONE CONSTR GRP CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202410675538.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-22
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

The traditional enterprise knowledge graph ontology construction method relies on manual definition and has problems such as high cost, slow update, and poor scalability. It is difficult to improve semantic expression and discrimination capabilities, which affects the construction and application of knowledge graphs.

Method used

Collect structured and unstructured data through the preset enterprise information classification system, perform preprocessing and mapping, use semantic learning and clustering algorithms to build an initial knowledge graph, optimize the low-dimensional embedding representation of concepts and relationships, and dynamically adjust the similarity threshold , integrate concepts and relationship vectors to form a high-quality knowledge graph, and store it in a graph database to support graphical interactive query and analysis.

Benefits of technology

It realizes the automated construction and optimization of enterprise knowledge graphs, improves semantic expression and discrimination capabilities, eliminates data islands, supports complex semantic queries and correlation analysis, promotes information sharing and intelligent applications, and improves the level of enterprise information management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118277638B_ABST
    Figure CN118277638B_ABST
Patent Text Reader

Abstract

The present invention provides an enterprise information management method and system, which relates to the field of information management technology, including collecting structured data and unstructured data inside and outside the enterprise according to a preset enterprise information classification system, preprocessing them respectively to obtain standard structured information, mapping the standard structured information to ontology concepts, and forming an initial enterprise knowledge graph; learning low-dimensional embedding representations of concepts and relationships, jointly optimizing the low-dimensional embedding representations of concepts and relationships, calculating the semantic similarity between the optimized concept vectors and relationship vectors, fusing the concept vectors and relationship vectors according to a preset similarity threshold, storing the fused enterprise knowledge graph in a pre-constructed graph database, and managers inputting information requirements, calling corresponding graph query and analysis algorithms according to the information requirements, calculating and returning enterprise information query results on the enterprise knowledge graph stored in the graph database, and visually displaying them on an interactive interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to information management technology, and in particular to an enterprise information management method and system. Background Art

[0002] With the continuous deepening and development of enterprise informatization, enterprises have accumulated a large amount of structured, semi-structured and unstructured data. These data are scattered in different business systems and databases, lacking a unified organization and management method, resulting in prominent data island problems and the inability to fully explore and utilize the value of data. In order to solve this problem, knowledge graph technology has been introduced into the field of enterprise information management.

[0003] Knowledge graph is a structured knowledge representation method that organizes and associates entities, concepts and relationships in enterprise data in the form of a graph to form a highly structured and semantically rich knowledge network. The construction of enterprise knowledge graphs usually includes steps such as data collection, ontology modeling, entity linking, and knowledge fusion. Among them, ontology modeling is the key to building a high-quality enterprise knowledge graph, which provides semantic structure and constraints at the conceptual level for the knowledge graph.

[0004] Traditional ontology construction methods mainly rely on manual definition and maintenance by domain experts, which have problems such as high cost, slow update, and poor scalability. Therefore, how to further enhance the semantic expression and discrimination ability of ontology concept representation, and optimize ontology representation learning in combination with downstream application tasks, has become a key issue to be solved in the construction and application of enterprise knowledge graphs. This is of great significance for improving the level of enterprise knowledge management and intelligent applications, and realizing the full mining and utilization of enterprise data value. Summary of the invention

[0005] The embodiments of the present invention provide an enterprise information management method and system, which can solve the problems in the prior art.

[0006] According to a first aspect of the embodiments of the present invention,

[0007] Provided is an enterprise information management method, comprising:

[0008] According to the preset enterprise information classification system, the structured data and unstructured data inside and outside the enterprise are collected, and the structured data and unstructured data are preprocessed respectively to obtain standard structured information. According to the pre-built enterprise information ontology model, the standard structured information is mapped to the ontology concept to form an initial enterprise knowledge graph;

[0009] For the initial enterprise knowledge graph, learn low-dimensional embedding representations of concepts and relationships, jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors, calculate the semantic similarity between the optimized concept vectors and relationship vectors, fuse the concept vectors and relationship vectors according to a preset similarity threshold, and obtain the fused enterprise knowledge graph;

[0010] The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface.

[0011] In an optional embodiment,

[0012] According to the pre-built enterprise information ontology model, the standard structured information is mapped to the ontology concept to form the initial enterprise knowledge graph including:

[0013] Based on the pre-built enterprise information ontology model, semantic encoding is performed on the obtained standard structured information to obtain structured coded information;

[0014] The named entity recognition model and relation extraction model based on semantic learning are used to process the structured coding information to obtain the candidate concept words and the relationship between each concept word;

[0015] Obtain the semantic representation features and co-occurrence relationship features of the candidate concept words, cluster the semantic representation features and co-occurrence relationship features of the candidate concept words through a clustering algorithm to form an initial concept system, and based on the initial concept system, use the relationship between the concept words to build a hierarchical structure of concepts to obtain the target concept system;

[0016] The target concept system is reviewed and optimized through human-computer interaction, and adjusted through a visual interface to obtain the final enterprise information ontology concept system, and the initial enterprise knowledge graph is formed based on the final enterprise information ontology concept system.

[0017] In an optional embodiment,

[0018] Building an enterprise information ontology model includes:

[0019] The pre-trained word embedding model is used to calculate the similarity between the text descriptions of concept nodes in the enterprise knowledge graph, and candidate positive sample pairs and candidate negative sample pairs are constructed by setting a similarity threshold. Random sampling is performed from the candidate positive sample pairs and negative sample pairs to construct a balanced positive and negative sample pair dataset.

[0020] Based on a balanced dataset of positive and negative sample pairs, similarity distribution parameters are introduced, and a similarity loss function is constructed to update concept node pairs by minimizing the distance of positive sample pairs and maximizing the distance of negative sample pairs.

[0021] The similarity loss function and the loss function of the enterprise information ontology model are jointly optimized to obtain a fusion loss function, and a gradient descent optimization algorithm is used to minimize the fusion loss function to train and obtain the final enterprise information ontology model.

[0022] In an optional embodiment,

[0023] Constructing the similarity loss function includes:

[0024] The positive sample pairs in the balanced positive and negative sample pair data set are regarded as anchor points and positive samples, and the negative sample pairs are regarded as anchor points and negative samples. The similarity distribution parameters are introduced to construct a loss function to measure the similarity of positive and negative sample pairs. The calculation formula is as follows:

[0025] ;

[0026] Among them, L 1 represents the similarity loss function, a represents the anchor node, p represents the positive sample node, τ represents the similarity distribution parameter, sim(·) represents the similarity measure between nodes, N represents the number of negative samples, and n t represents the tth negative sample node;

[0027] The calculation formula of the loss function of the enterprise information ontology model is as follows:

[0028] ;

[0029] Among them, L 2 represents the loss function of the enterprise information ontology model, h represents the head concept, r represents the relationship, t represents the tail concept, (h, r, t) represents the positive triple in the knowledge graph, (h', r, t') represents the negative triple, S represents the set of positive triples, S' represents the set of negative triples, γ represents the marginal hyperparameter, d(·) represents the embedding space distance metric function, (h+r, t) represents the relationship between the head and tail concepts of the positive triple, (h'+r, t') represents the relationship between the head and tail concepts of the negative triple, [·] + Indicates taking the positive part.

[0030] In an optional embodiment,

[0031] Calculate the semantic similarity between the optimized concept vector and the relationship vector, and fuse the concept vector and the relationship vector according to the preset similarity threshold. The fused enterprise knowledge graph includes:

[0032] According to the concept vectors and relationship vectors before and after optimization, an objective function for similarity threshold adjustment is constructed. Based on the objective function for similarity threshold adjustment, the similarity threshold is dynamically adjusted during the training process of jointly optimizing the concept vectors and relationship vectors.

[0033] Calculate the fused knowledge graph under different similarity thresholds for the current concept vector and relationship vector representation, calculate the objective function values ​​under different thresholds based on the objective function, and select the similarity threshold with the optimal objective function value as the optimal threshold for the current training batch;

[0034] The concept vector and the relationship vector of the current training batch are merged by using the optimal threshold to obtain an initial enterprise knowledge graph, and the objective function of the similarity threshold adjustment is minimized by a gradient descent algorithm to obtain an optimal similarity threshold;

[0035] The optimized concept vector and relationship vector are fused using the optimal similarity threshold to obtain the fused enterprise knowledge graph.

[0036] In an optional embodiment,

[0037] The objective function formula for constructing similarity threshold adjustment is as follows:

[0038] ;

[0039] Among them, E represents the concept and relationship embedding representation before fusion, E θ represents the fused embedding representation when the similarity threshold is θ, θ represents the similarity threshold, i represents the concept, j represents the relationship, and h represents i represents the embedding vector of concept i before fusion, represents the embedding vector of concept i after fusion when the similarity threshold is θ, r j represents the embedding vector of relation j before fusion, Represents the embedding vector of the fused relation j when the similarity threshold is θ.

[0040] In an optional embodiment,

[0041] The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and visualize them on the interactive interface, including:

[0042] The fused enterprise knowledge graph is stored in a graph database in the form of nodes and edges, wherein the nodes represent concepts, the attributes of the nodes represent the attributes of the concepts, and the edges represent the relationships between the concepts connecting the nodes;

[0043] Design a graph semantic search algorithm based on the query requests of managers, build an inverted index for the attribute values ​​of nodes and edge types in the graph database, and establish a mapping from keywords to nodes and edges;

[0044] The natural language query requests entered by managers are parsed into keywords and expanded using the semantic information of the knowledge graph. The inverted index is used to match the nodes and edges containing the query keywords in the graph database to obtain matching results. Based on the matching results, subgraphs related to the query are extracted and visualized.

[0045] According to a second aspect of the embodiments of the present invention,

[0046] Provided is an enterprise information management system, comprising:

[0047] The first unit is used to collect structured data and unstructured data inside and outside the enterprise according to a preset enterprise information classification system, pre-process the structured data and unstructured data respectively to obtain standard structured information, and map the standard structured information to ontology concepts according to a pre-built enterprise information ontology model to form an initial enterprise knowledge graph;

[0048] The second unit is used to learn low-dimensional embedding representations of concepts and relationships for the initial enterprise knowledge graph, jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors, calculate the semantic similarity between the optimized concept vectors and relationship vectors, and fuse the concept vectors and relationship vectors according to a preset similarity threshold to obtain a fused enterprise knowledge graph;

[0049] The third unit is used to store the integrated enterprise knowledge graph into a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface.

[0050] According to a third aspect of the embodiments of the present invention,

[0051] An electronic device is provided, comprising:

[0052] processor;

[0053] a memory for storing processor-executable instructions;

[0054] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0055] According to a fourth aspect of the embodiments of the present invention,

[0056] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0057] In this embodiment, by collecting structured and unstructured data inside and outside the enterprise, and preprocessing and standardizing it, all kinds of information generated in the operation process of the enterprise can be fully obtained, data islands can be eliminated, and a unified information view can be formed. The query and analysis capabilities of the graph database can be fully utilized to support complex semantic queries and association analysis. Managers can easily input information needs through a graphical interactive interface, quickly obtain relevant enterprise information, and present analysis results in a visual way to improve the efficiency of information retrieval and decision support. The information organization and management method based on the knowledge graph can promote the sharing and circulation of internal information in the enterprise, and support cross-departmental and cross-business collaboration and decision-making. Applications such as reasoning, question and answer, and decision support based on the knowledge graph can use the rich semantic information and association relationships contained in the graph to achieve intelligent business process optimization, risk warning, user profiling, etc., and comprehensively improve the level of enterprise information management. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of a process of an enterprise information management method according to an embodiment of the present invention;

[0059] Figure 2 It is a structural diagram of an enterprise information management system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0061] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0062] Figure 1 FIG. 1 is a flow chart of an enterprise information management method according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0063] S101. According to the preset enterprise information classification system, collect structured data and unstructured data inside and outside the enterprise, pre-process the structured data and unstructured data respectively to obtain standard structured information, and map the standard structured information to ontology concepts according to the pre-built enterprise information ontology model to form an initial enterprise knowledge graph.

[0064] Among them, structured data may include financial data, personnel data, intellectual property data, asset data, and customer relationship management data, and unstructured data may include meeting minutes, technical documents, contract agreements, and email exchanges.

[0065] Exemplarily, the structured data is subjected to field splitting, field completion, inconsistency correction, and data enhancement to obtain standardized structured information; the unstructured data is subjected to text preprocessing, keywords are extracted using a dictionary and rule-based method, and named entity recognition is performed using a conditional random field algorithm, and then subject-predicate-object triples are extracted using a syntactic analysis-based method to construct a phrase structure, and finally a text summarization algorithm is used to extract the core sentences of the article and convert them into structured information.

[0066] Among them, the enterprise information ontology model contains five basic concepts, namely organization, personnel, product, project, event, and hierarchical and non-hierarchical relationships between concepts.

[0067] In an optional embodiment,

[0068] According to the pre-built enterprise information ontology model, the standard structured information is mapped to the ontology concept to form the initial enterprise knowledge graph including:

[0069] Based on the pre-built enterprise information ontology model, semantic encoding is performed on the obtained standard structured information to obtain structured coded information;

[0070] The named entity recognition model and relation extraction model based on semantic learning are used to process the structured coding information to obtain the candidate concept words and the relationship between each concept word;

[0071] Obtain the semantic representation features and co-occurrence relationship features of the candidate concept words, cluster the semantic representation features and co-occurrence relationship features of the candidate concept words through a clustering algorithm to form an initial concept system, and based on the initial concept system, use the relationship between the concept words to build a hierarchical structure of concepts to obtain the target concept system;

[0072] The target concept system is reviewed and optimized through human-computer interaction, and adjusted through a visual interface to obtain the final enterprise information ontology concept system, and the initial enterprise knowledge graph is formed based on the final enterprise information ontology concept system.

[0073] For example, BERT is used as the enterprise information ontology model. BERT is a pre-trained bidirectional Transformer encoder that can learn rich contextual semantic representations through self-supervised learning on large-scale unlabeled text. The standard structured information obtained by the trained enterprise information ontology model is semantically encoded to obtain structured encoded information.

[0074] Based on the learned semantic representation, a BERT-based named entity recognition and relation extraction model is used to extract fine-grained entity and relation knowledge from corporate texts. Named entity recognition uses BIO sequence annotation to predict whether each word belongs to the entity start (B), entity inside (I), or non-entity (O). In order to identify different types of entities, different entity labels can be designed in advance. The relation extraction task enumerates entity pairs and determines whether there is a predefined relationship type between entity pairs. Candidate concept words are obtained through named entity recognition, and possible associations between concepts are obtained through relation extraction.

[0075] For the extracted entity words, clustering algorithms are used to classify them into different concept categories to initially form a concept system. The semantic representation features and co-occurrence relationship features of entity words are comprehensively utilized during clustering. The semantic representation features are obtained by extracting the embedding vectors of entity words through BERT, reflecting the contextual semantic information of entity words; the co-occurrence relationship features characterize the common occurrence pattern of entity words in the text. For example, entity words that appear in the same sentence or paragraph may belong to similar concepts.

[0076] The two types of features are weighted and fused, and the concepts are automatically classified through clustering algorithms such as K-means. Based on the clustering results, the relationship between each concept word is used to build a hierarchical structure of concepts, and a single concept is organized into a hierarchical concept system. For concept nodes that cannot be connected through the relationship between concept words, they are mounted to the appropriate position of the concept hierarchy according to their semantic similarity.

[0077] The human-computer interaction link is introduced to review and optimize the results of automatic mining. Domain experts browse the ontology concept hierarchy through a visual interface and correct the wrong or unreasonable parts, such as splitting confusing concepts, merging synonymous concepts, adjusting concept granularity and concept relationships, etc. After multiple rounds of iterative optimization, a comprehensive and well-structured enterprise information ontology concept system is formed.

[0078] In this embodiment, through the pre-built enterprise information ontology model, information can be matched with ontology concepts, which is convenient for subsequent processing and analysis. By adopting the ontology concept mining method based on deep learning, the enterprise big data resources are fully utilized, and rich conceptual knowledge is obtained through semantic representation learning and fine-grained information extraction. Clustering and human-computer interaction technology are used to build and optimize the ontology concept system, making the construction process more automated and data-driven, greatly improving the comprehensive coverage and structural rationality of the ontology concept, and being able to realize the construction of the enterprise information ontology concept system and the preliminary construction of the enterprise knowledge graph, providing an ontology-based enterprise information management and analysis platform, and laying a solid foundation for the subsequent construction of the enterprise knowledge graph.

[0079] In an optional embodiment,

[0080] Building an enterprise information ontology model includes:

[0081] The pre-trained word embedding model is used to calculate the similarity between the text descriptions of concept nodes in the enterprise knowledge graph, and candidate positive sample pairs and candidate negative sample pairs are constructed by setting a similarity threshold. Random sampling is performed from the candidate positive sample pairs and negative sample pairs to construct a balanced positive and negative sample pair dataset.

[0082] Based on a balanced dataset of positive and negative sample pairs, similarity distribution parameters are introduced, and a similarity loss function is constructed to update concept node pairs by minimizing the distance of positive sample pairs and maximizing the distance of negative sample pairs.

[0083] The similarity loss function and the loss function of the enterprise information ontology model are jointly optimized to obtain a fusion loss function, and a gradient descent optimization algorithm is used to minimize the fusion loss function to train and obtain the final enterprise information ontology model.

[0084] For example, the cosine similarity between the text descriptions of concept nodes is first calculated using a pre-trained word embedding model such as Word2Vec, GloVe, etc. A similarity threshold is set, and node pairs above the threshold are used as candidate positive sample pairs, and node pairs below the threshold are used as candidate negative sample pairs.

[0085] Analyze the edge connection relationship between concept nodes in the knowledge graph, extract directly connected node pairs as candidate positive sample pairs, and directly connected node pairs as candidate negative sample pairs. Combined with the concept hierarchy defined by the domain ontology, node pairs at the same level or adjacent levels are preferentially selected as positive sample pairs.

[0086] Randomly sample from candidate positive and negative sample pairs to construct a balanced dataset of positive and negative sample pairs. Control the ratio of positive and negative samples to ensure the balance of positive and negative samples during contrastive learning.

[0087] Define a loss function to measure the similarity between positive and negative sample pairs, and learn more discriminative node representations by minimizing the distance between positive sample pairs and maximizing the distance between negative sample pairs. Jointly optimize the similarity loss function with the loss function of the enterprise information ontology model, and learn the semantic and structural representations of nodes at the same time to improve the representation ability of the ontology model.

[0088] Specifically, the original ontology embedding models such as TransE and TransR are first used to learn the low-dimensional embedding representation of concept nodes and relations by minimizing the distance scores of relation triplets.

[0089] The similarity loss function and the loss function of the enterprise information ontology model are weighted summed to obtain the fusion loss function.

[0090] Use gradient descent optimization algorithms, such as Adam and AdaGrad, to minimize the fusion loss function and update the model parameters at the same time. Through alternating training, the ontology model can use the contrastive learning mechanism to enhance the discriminative and semantic differentiation capabilities of node representation while learning the structural information of the knowledge graph.

[0091] In an optional embodiment,

[0092] Constructing the similarity loss function includes:

[0093] The positive sample pairs in the balanced positive and negative sample pair data set are regarded as anchor points and positive samples, and the negative sample pairs are regarded as anchor points and negative samples. The similarity distribution parameters are introduced to construct a loss function to measure the similarity of positive and negative sample pairs. The calculation formula is as follows:

[0094] ;

[0095] Among them, L 1 represents the similarity loss function, a represents the anchor node, p represents the positive sample node, τ represents the similarity distribution parameter, sim(·) represents the similarity measure between nodes, N represents the number of negative samples, and n t represents the tth negative sample node;

[0096] The calculation formula of the loss function of the enterprise information ontology model is as follows:

[0097] ;

[0098] Among them, L 2represents the loss function of the enterprise information ontology model, h represents the head concept, r represents the relationship, t represents the tail concept, (h, r, t) represents the positive triple in the knowledge graph, (h', r, t') represents the negative triple, S represents the set of positive triples, S' represents the set of negative triples, γ represents the marginal hyperparameter, d(·) represents the embedding space distance metric function, (h+r, t) represents the relationship between the head and tail concepts of the positive triple, (h'+r, t') represents the relationship between the head and tail concepts of the negative triple, [·] + Indicates taking the positive part.

[0099] In this embodiment, the semantic similarity loss and the structured ontology loss are jointly optimized to achieve mutual promotion between the concept semantic representation and the structural knowledge. The final ontology model contains the optimized concept semantic vector representation and structured ontology knowledge. The semantic information described in the concept text is used to make up for the shortcomings of the structured ontology knowledge. The semantic vector representation can capture the potential semantic associations between concepts and enrich the ontology model. By combining the structured ontology knowledge with the concept semantic representation, the mutual promotion of the two is achieved through joint optimization, so as to obtain a more complete and semantic enterprise ontology model, improve the reasoning ability and generalization of the model, and provide better semantic support for the construction and application of enterprise knowledge graphs.

[0100] S102. For the initial enterprise knowledge graph, learn low-dimensional embedding representations of concepts and relationships, jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors, calculate the semantic similarity between the optimized concept vectors and relationship vectors, fuse the concept vectors and relationship vectors according to a preset similarity threshold, and obtain a fused enterprise knowledge graph.

[0101] Among them, for the concepts and relationships in the initial enterprise knowledge graph, methods such as knowledge representation learning can be used to learn their low-dimensional embedding representation. The knowledge graph is regarded as a heterogeneous network composed of concepts (entities) and relationships. The goal is to map concepts and relationships to the same low-dimensional continuous vector space so that concepts and relationships with similar semantics are close in distance in the embedding space.

[0102] Joint optimization means that when learning concept embedding representation, the relationship information connected to it is used at the same time, so that the concept embedding vector can capture the semantics of the relationship; when learning relationship embedding representation, the concept information connected to it is used at the same time, so that the relationship embedding vector can capture the semantics of the concept.

[0103] In an optional embodiment,

[0104] Calculate the semantic similarity between the optimized concept vector and the relationship vector, and fuse the concept vector and the relationship vector according to the preset similarity threshold. The fused enterprise knowledge graph includes:

[0105] According to the concept vectors and relationship vectors before and after optimization, an objective function for similarity threshold adjustment is constructed. Based on the objective function for similarity threshold adjustment, the similarity threshold is dynamically adjusted during the training process of jointly optimizing the concept vectors and relationship vectors.

[0106] Calculate the fused knowledge graph under different similarity thresholds for the current concept vector and relationship vector representation, calculate the objective function values ​​under different thresholds based on the objective function, and select the similarity threshold with the optimal objective function value as the optimal threshold for the current training batch;

[0107] The concept vector and the relationship vector of the current training batch are merged by using the optimal threshold to obtain an initial enterprise knowledge graph, and the objective function of the similarity threshold adjustment is minimized by a gradient descent algorithm to obtain an optimal similarity threshold;

[0108] The optimized concept vector and relationship vector are fused using the optimal similarity threshold to obtain the fused enterprise knowledge graph.

[0109] Exemplarily, in order to evaluate the quality of the fused knowledge graph under different similarity thresholds, an objective function for threshold adjustment is defined. Optionally, based on the concept vectors and relationship vectors before and after optimization, an objective function for similarity threshold adjustment is constructed, so that the fused knowledge graph can eliminate redundancy and inconsistency while retaining the original semantic information by minimizing the difference between the embedded representations before and after fusion.

[0110] In the training process of jointly optimizing the concept and relationship embedding representation, the similarity threshold is dynamically adjusted, the fused knowledge graph under different similarity thresholds is calculated for the current embedding representation, and the objective function values ​​under different thresholds are calculated based on the objective function. The similarity threshold with the optimal objective function value is selected as the optimal threshold for the current training batch, and the optimal threshold is used to fuse the concepts and relationships of the current batch to update the knowledge graph.

[0111] After the training is completed, the optimized concept and relationship embedding representations are finally fused using the learned optimal similarity threshold. Concept pairs and relationship pairs with similarity greater than or equal to the optimal threshold are merged to obtain a fused knowledge graph with higher semantic consistency.

[0112] In an optional embodiment,

[0113] The objective function formula for constructing similarity threshold adjustment is as follows:

[0114] ;

[0115] Among them, E represents the concept and relationship embedding representation before fusion, E θrepresents the fused embedding representation when the similarity threshold is θ, θ represents the similarity threshold, i represents the concept, j represents the relationship, and h represents i represents the embedding vector of concept i before fusion, represents the embedding vector of concept i after fusion when the similarity threshold is θ, r j represents the embedding vector of relation j before fusion, Represents the embedding vector of the fused relation j when the similarity threshold is θ.

[0116] In this embodiment, similar concepts and relationships are automatically fused according to the semantic similarity of concept vectors and relationship vectors. By dynamically adjusting the similarity threshold, the granularity of the fusion can be effectively controlled. Redundant and inconsistent information in the knowledge graph is eliminated to obtain a more streamlined and standardized knowledge representation. In the fused knowledge graph, similar concepts and relationships are merged, the concept boundaries are clearer, the internal consistency and logical coherence of the knowledge graph are improved, and it is easier to understand and explain. By constructing an objective function for similarity threshold adjustment, the optimal threshold can be dynamically found during the training process, and the concept and relationship vectors are fused based on the optimal threshold. The fused knowledge representation has better semantic consistency and generalization ability, and a streamlined and high-quality enterprise knowledge graph representation is achieved, which improves the consistency, interpretability and computational efficiency of knowledge, enhances the generalization ability and scalability of knowledge representation, and lays the foundation for the efficient construction and application of enterprise knowledge graphs.

[0117] S103. The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface.

[0118] In an optional embodiment,

[0119] The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and visualize them on the interactive interface, including:

[0120] The fused enterprise knowledge graph is stored in a graph database in the form of nodes and edges, wherein the nodes represent concepts, the attributes of the nodes represent the attributes of the concepts, and the edges represent the relationships between the concepts connecting the nodes;

[0121] Design a graph semantic search algorithm based on the query requests of managers, build an inverted index for the attribute values ​​of nodes and edge types in the graph database, and establish a mapping from keywords to nodes and edges;

[0122] The natural language query requests entered by managers are parsed into keywords and expanded using the semantic information of the knowledge graph. The inverted index is used to match the nodes and edges containing the query keywords in the graph database to obtain matching results. Based on the matching results, subgraphs related to the query are extracted and visualized.

[0123] Exemplarily, the fused enterprise knowledge graph is first stored in a graph database in the form of nodes and edges. A mainstream graph database such as Neo4j can be selected. The nodes represent concepts, the attributes of the nodes represent the attributes of the concepts, and the edges represent the relationships between the concepts connecting the nodes. The storage structure of the graph database is used to achieve intuitive representation and efficient access to the knowledge graph.

[0124] Receive structured queries input by enterprise managers, design graph pattern matching queries based on the declarative query language of the graph database, match subgraphs in the graph database according to the node types, node attributes, edge types, and edge attributes defined in the query, use the index and traversal algorithm of the graph database to achieve efficient matching of query patterns, and process the matching results in a visual way.

[0125] An inverted index is built for the attribute values ​​of nodes and edge types in the graph database to implement keyword-based graph semantic search. The natural language queries entered by managers are parsed into keywords and expanded using the semantic information of the knowledge graph. The nodes and edges in the graph database that contain the query keywords are matched, and the matching results are sorted by relevance based on the frequency of keyword occurrence and the degree of matching. Subgraphs related to the query are extracted for visual display, supporting knowledge retrieval at the semantic level.

[0126] Select the graph algorithm library provided by the graph database, design and implement graph structure analysis algorithms, including centrality analysis algorithms such as degree centrality and betweenness centrality, community discovery algorithms such as Louvain algorithm and LPA algorithm, and path analysis algorithms such as shortest path and full path, to mine key nodes, close communities and concept association paths in the enterprise knowledge graph, and reveal the structural characteristics of the knowledge graph.

[0127] Apply graph data mining algorithms such as Apriori, spectral clustering, and OddBall on the enterprise knowledge graph to discover frequent co-occurrence patterns, natural groupings, and abnormal nodes between concepts, generate association rules, clustering results, and abnormal reports, provide a basis for enterprise management decisions, and deeply explore the business rules and potential risks hidden in the knowledge graph.

[0128] In this embodiment, by storing the fused enterprise knowledge graph in the form of nodes (concepts) and edges (relationships) in a graph database, the network structure of knowledge can be intuitively reflected, and query and traversal efficiency can be improved. By designing a graph semantic search algorithm, an inverted index is constructed for node attributes and edge types, and a mapping of keywords to knowledge elements is established. It is possible to understand the natural language queries entered by users and expand the queries based on the semantic information of the knowledge graph. Through the visual display of search results, it helps users to intuitively understand and interpret the search content and its semantic basis, improve the relevance and interpretability of the search, and provide support for flexible query services, thereby giving full play to the advantages of enterprise knowledge graphs in knowledge management and utilization.

[0129] Figure 2 FIG. 1 is a schematic diagram of the structure of an enterprise information management system according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0130] The first unit is used to collect structured data and unstructured data inside and outside the enterprise according to a preset enterprise information classification system, pre-process the structured data and unstructured data respectively to obtain standard structured information, and map the standard structured information to ontology concepts according to a pre-built enterprise information ontology model to form an initial enterprise knowledge graph;

[0131] The second unit is used to learn low-dimensional embedding representations of concepts and relationships for the initial enterprise knowledge graph, jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors, calculate the semantic similarity between the optimized concept vectors and relationship vectors, and fuse the concept vectors and relationship vectors according to a preset similarity threshold to obtain a fused enterprise knowledge graph;

[0132] The third unit is used to store the integrated enterprise knowledge graph into a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface.

[0133] According to a third aspect of the embodiments of the present invention,

[0134] An electronic device is provided, comprising:

[0135] processor;

[0136] a memory for storing processor-executable instructions;

[0137] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0138] According to a fourth aspect of the embodiments of the present invention,

[0139] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0140] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0141] 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An enterprise information management method, characterized in that: include: According to the preset enterprise information classification system, the structured data and unstructured data inside and outside the enterprise are collected, and the structured data and unstructured data are preprocessed respectively to obtain standard structured information. According to the pre-built enterprise information ontology model, the standard structured information is mapped to the ontology concept to form an initial enterprise knowledge graph; For the initial enterprise knowledge graph, learn low-dimensional embedding representations of concepts and relationships, and jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors. The joint optimization means that when learning the concept embedding representation, the relationship information connected to the concept embedding representation is used at the same time, so that the concept embedding vector can capture the semantics of the relationship; when learning the relationship embedding representation, the concept information connected to the learned relationship embedding representation is used at the same time, so that the relationship embedding vector can capture the semantics of the concept, and the semantic similarity between the optimized concept vector and the relationship vector is calculated. The concept vector and the relationship vector are fused according to a preset similarity threshold to obtain a fused enterprise knowledge graph; The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface. According to the pre-built enterprise information ontology model, the standard structured information is mapped to the ontology concept to form the initial enterprise knowledge graph including: Based on the pre-built enterprise information ontology model, semantic encoding is performed on the obtained standard structured information to obtain structured coded information; The named entity recognition model and relation extraction model based on semantic learning are used to process the structured coding information to obtain the candidate concept words and the relationship between each concept word; Obtain the semantic representation features and co-occurrence relationship features of the candidate concept words, cluster the semantic representation features and co-occurrence relationship features of the candidate concept words through a clustering algorithm to form an initial concept system, and based on the initial concept system, use the relationship between the concept words to build a hierarchical structure of concepts to obtain the target concept system; The target concept system is reviewed and optimized through human-computer interaction, and the target concept system is adjusted through a visual interface to obtain the final enterprise information ontology concept system, and the initial enterprise knowledge graph is formed based on the final enterprise information ontology concept system; Building an enterprise information ontology model includes: The pre-trained word embedding model is used to calculate the similarity between the text descriptions of concept nodes in the enterprise knowledge graph, and candidate positive sample pairs and candidate negative sample pairs are constructed by setting a similarity threshold. Random sampling is performed from the candidate positive sample pairs and negative sample pairs to construct a balanced positive and negative sample pair dataset. Based on a balanced dataset of positive and negative sample pairs, similarity distribution parameters are introduced, and a similarity loss function is constructed to update concept node pairs by minimizing the distance of positive sample pairs and maximizing the distance of negative sample pairs. The similarity loss function is jointly optimized with the loss function of the enterprise information ontology model to obtain a fusion loss function, and a gradient descent optimization algorithm is used to minimize the fusion loss function to train and obtain the final enterprise information ontology model; Constructing the similarity loss function includes: The positive sample pairs in the balanced positive and negative sample pair data set are regarded as anchor points and positive samples, and the negative sample pairs are regarded as anchor points and negative samples. The similarity distribution parameters are introduced to construct a loss function to measure the similarity of positive and negative sample pairs. The calculation formula is as follows: ; Among them, L1 represents the similarity loss function, a represents the anchor node, p represents the positive sample node, τ represents the similarity distribution parameter, sim(·) represents the similarity measure between nodes, N represents the number of negative samples, and n t represents the tth negative sample node; The calculation formula of the loss function of the enterprise information ontology model is as follows: ; Where L2 represents the loss function of the enterprise information ontology model, h represents the head concept, r represents the relationship, t represents the tail concept, (h, r, t) represents the positive triple in the knowledge graph, (h', r, t') represents the negative triple, S represents the set of positive triples, S' represents the set of negative triples, γ represents the marginal hyperparameter, d(·) represents the embedding space distance metric function, (h+r, t) represents the relationship between the head and tail concepts of the positive triple, (h'+r, t') represents the relationship between the head and tail concepts of the negative triple, [·] + It means taking the positive part; Calculate the semantic similarity between the optimized concept vector and the relationship vector, and fuse the concept vector and the relationship vector according to the preset similarity threshold. The fused enterprise knowledge graph includes: According to the concept vectors and the relationship vectors before and after the fusion, an objective function for similarity threshold adjustment is constructed. Based on the objective function for similarity threshold adjustment, the similarity threshold is dynamically adjusted in the process of fusing the concept vectors and the relationship vectors. Calculate the fused knowledge graph under different similarity thresholds for the current concept vector and relationship vector representation, calculate the objective function values ​​under different thresholds based on the objective function, and select the similarity threshold with the optimal objective function value as the optimal threshold for the current training batch; The concept vector and the relationship vector of the current training batch are merged by using the optimal threshold to obtain an initial enterprise knowledge graph, and the objective function of the similarity threshold adjustment is minimized by a gradient descent algorithm to obtain an optimal similarity threshold; The optimized concept vector and relationship vector are fused using the optimal similarity threshold to obtain the fused enterprise knowledge graph; The objective function formula for constructing similarity threshold adjustment is as follows: ; Among them, E represents the concept and relationship embedding representation before optimization, E θ represents the optimized embedding representation when the similarity threshold is θ, θ represents the similarity threshold, i represents the concept, j represents the relationship, and h represents i represents the embedding vector of concept i before optimization, represents the embedding vector of concept i after optimization when the similarity threshold is θ, r j represents the embedding vector of relation j before optimization, Represents the embedding vector of relation j after optimization when the similarity threshold is θ.

2. The method according to claim 1, characterized in that The integrated enterprise knowledge graph is stored in a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and visualize them on the interactive interface, including: The fused enterprise knowledge graph is stored in a graph database in the form of nodes and edges, wherein the nodes represent concepts, the attributes of the nodes represent the attributes of the concepts, and the edges represent the relationships between the concepts connecting the nodes; Design a graph semantic search algorithm based on the query requests of managers, build an inverted index for the attribute values ​​of nodes and edge types in the graph database, and establish a mapping from keywords to nodes and edges; The natural language query requests entered by managers are parsed into keywords and expanded using the semantic information of the knowledge graph. The inverted index is used to match the nodes and edges containing the query keywords in the graph database to obtain matching results. Based on the matching results, subgraphs related to the query are extracted and visualized.

3. An enterprise information management system, used to implement the method according to any one of claims 1 to 2, characterized in that: include: The first unit is used to collect structured data and unstructured data inside and outside the enterprise according to a preset enterprise information classification system, pre-process the structured data and unstructured data respectively to obtain standard structured information, and map the standard structured information to ontology concepts according to a pre-built enterprise information ontology model to form an initial enterprise knowledge graph; The second unit is used to learn low-dimensional embedding representations of concepts and relationships for the initial enterprise knowledge graph, jointly optimize the low-dimensional embedding representations of concepts and relationships to obtain optimized concept vectors and relationship vectors, calculate the semantic similarity between the optimized concept vectors and relationship vectors, and fuse the concept vectors and relationship vectors according to a preset similarity threshold to obtain a fused enterprise knowledge graph; The third unit is used to store the integrated enterprise knowledge graph into a pre-built graph database. Managers input information requirements through a graphical interactive interface, call corresponding graph query and analysis algorithms based on the information requirements, calculate and return enterprise information query results on the enterprise knowledge graph stored in the graph database, and display them visually on the interactive interface.

4. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 2.

5. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • A method of constructing enterprise knowledge map from a multi-source data integration perspective

    CN109284394A

  • Knowledge graph construction method based on improved BERT model

    CN110390023A

  • Enterprise knowledge graph generation method and device, equipment and storage medium

    CN114385794A

  • Steel material science knowledge graph construction method and system

    CN115238040A

  • Knowledge graph construction method and device, equipment and storage medium

    CN115309915A