Intelligent construction method and system of spatiotemporal knowledge graph based on network collected data

By extracting and merging text descriptions of the same entity from different platforms, performing word-granular semantic encoding and interactive fusion, it solves the problem of limited information coverage and expression ability of spatio-temporal knowledge graphs in the existing technology, and achieves higher information comprehensiveness and accuracy.

CN117744785BActive Publication Date: 2024-09-03BEIJING BOYANG SHITONG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410181954.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-19
Publication Date
2024-09-03
Estimated Expiration
2044-02-19

AI Technical Summary

Technical Problem

Existing spatiotemporal knowledge graph construction methods are difficult to cope with the growth of data scale and knowledge update needs, and have limited information coverage and expression capabilities. They can usually only extract entity information from a single data source.

Method used

Using the intelligent construction method of spatiotemporal knowledge graph based on network collection data, by extracting text descriptions of the same entity from different platforms, perform word-granular semantic coding and analysis, combined with semantic interactive fusion coding, generate updated entity descriptions to improve the information of the knowledge graph Comprehensiveness.

Benefits of technology

It has improved the information comprehensiveness and accuracy of the knowledge graph, and can integrate the text expression characteristics of different platforms to provide richer knowledge support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117744785B
    Figure CN117744785B
Patent Text Reader

Abstract

The present invention discloses a method and system for intelligently constructing a spatiotemporal knowledge graph based on network collected data, and relates to the field of spatiotemporal knowledge graph technology. First, the first text description of the first entity extracted by the first network platform and the second text description of the first entity extracted by the second network platform are semantically encoded and analyzed based on word granularity to obtain a sequence of word granularity semantic encoding feature vectors of the first text description and a sequence of word granularity semantic encoding feature vectors of the second text description, and then word granularity semantic interaction fusion encoding is performed to obtain the first text description-second text description fine-grained semantic interaction fusion features, and finally based on the first text description-second text description fine-grained semantic interaction fusion features, an updated text description of the first entity is generated, so that the constructed knowledge graph has greater information comprehensiveness and can integrate the text expression characteristics of different platforms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of spatiotemporal knowledge graphs, and more specifically, to a method and system for intelligently constructing spatiotemporal knowledge graphs based on network collected data. Background Art

[0002] With the rapid development of the Internet and the explosive growth of information, people can obtain a large amount of text data from various network platforms. These data contain rich knowledge and information, but due to the diversity and heterogeneity of data sources, how to effectively integrate and utilize these data has become an important challenge.

[0003] A spatiotemporal knowledge graph is a graph structure that can represent the attributes and relationships of entities in different time and space, where the relationships between entities and the attributes of entities are represented as nodes and edges in the graph. Spatiotemporal knowledge graphs can help understand and reason about knowledge, thereby providing rich knowledge support for intelligent applications in multiple fields, such as question-answering systems, recommendation systems, and intelligent search. However, existing spatiotemporal knowledge graph construction methods usually require manual writing of rules or use of specific domain knowledge to construct them, which makes it difficult to cope with the growth of data scale and the need for knowledge updating. In addition, existing construction schemes can usually only extract entity information from a single data source, resulting in limited information coverage and expression capabilities of knowledge graphs.

[0004] Therefore, an optimized intelligent construction solution of spatiotemporal knowledge graph based on network collected data is desired. Summary of the invention

[0005] In order to solve the above technical problems, this application is proposed. This application provides a method and system for intelligently constructing a spatiotemporal knowledge graph based on network-collected data, which can obtain text descriptions of the same entity from different platforms, and introduce artificial intelligence-based data processing and semantic understanding algorithms at the back end to perform semantic analysis and fusion of text descriptions of the same entity from different platforms and generate entity descriptions, so that the constructed knowledge graph has greater information comprehensiveness.

[0006] According to one aspect of the present application, a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data is provided, which includes:

[0007] extracting a first text description of a first entity from a first network platform;

[0008] extracting a second text description of the first entity from a second network platform;

[0009] Performing word-granularity-based semantic coding and analysis on the first text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the first text description;

[0010] Performing word-granularity-based semantic coding and analysis on the second text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the second text description;

[0011] Performing word-granularity semantic interaction fusion encoding on the sequence of the first text description word-granularity semantic encoding feature vectors and the sequence of the second text description word-granularity semantic encoding feature vectors to obtain a first text description-second text description fine-grained semantic interaction fusion feature;

[0012] And based on the fine-grained semantic interaction fusion feature of the first text description-the second text description, an updated text description of the first entity is generated.

[0013] According to another aspect of the present application, a spatiotemporal knowledge graph intelligent construction system based on network collected data is provided, which includes:

[0014] A first text description extraction module, used to extract a first text description of a first entity from a first network platform;

[0015] A second text description extraction module, used to extract a second text description of the first entity from a second network platform;

[0016] A first semantic coding analysis module, configured to perform word-granularity-based semantic coding and analysis on the first text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the first text description;

[0017] A second semantic coding analysis module, used for performing word granularity-based semantic coding and analysis on the second text description of the first entity to obtain a sequence of word granularity semantic coding feature vectors of the second text description;

[0018] A word-granularity semantic interaction fusion encoding module, used for performing word-granularity semantic interaction fusion encoding on a sequence of word-granularity semantic encoding feature vectors of the first text description and a sequence of word-granularity semantic encoding feature vectors of the second text description to obtain a first text description-second text description fine-grained semantic interaction fusion feature;

[0019] And an updated text description generation module is used to generate an updated text description of the first entity based on the fine-grained semantic interaction fusion feature of the first text description-the second text description.

[0020] Compared with the prior art, the method and system for intelligently constructing a spatiotemporal knowledge graph based on network collected data provided by the present application first perform word-granularity-based semantic coding and analysis on the first text description of the first entity extracted from the first network platform and the second text description of the first entity extracted from the second network platform to obtain a sequence of word-granularity semantic coding feature vectors of the first text description and a sequence of word-granularity semantic coding feature vectors of the second text description, then perform word-granularity semantic interaction fusion coding to obtain the first text description-second text description fine-grained semantic interaction fusion features, and finally generate an updated text description of the first entity based on the first text description-second text description fine-grained semantic interaction fusion features, so that the constructed knowledge graph has greater information comprehensiveness and can integrate the text expression characteristics of different platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. The following drawings are not intentionally scaled to the actual size, and the focus is on illustrating the main purpose of the present application.

[0022] Figure 1 This is a flowchart of a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application.

[0023] Figure 2 Schematic diagram of the architecture of a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application.

[0024] Figure 3 This is a flowchart of sub-step S160 of the method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application.

[0025] Figure 4 It is a block diagram of a system for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application.

[0026] Figure 5 This is an application scenario diagram of the method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present application.

[0028] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0029] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.

[0030] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.

[0031] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0032] In response to the above technical problems, in the technical solution of the present application, a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data is proposed, which can obtain text descriptions about the same entity from different platforms, and introduce artificial intelligence-based data processing and semantic understanding algorithms at the back end to perform semantic analysis and fusion of text descriptions about the same entity from different platforms and generate entity descriptions, so that the constructed knowledge graph has greater information comprehensiveness and can integrate the text expression characteristics of different platforms.

[0033] Figure 1 This is a flowchart of a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application. Figure 2 Schematic diagram of the architecture of the method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application. Figure 1 and Figure 2As shown, according to an embodiment of the present application, a method for intelligently constructing a spatiotemporal knowledge graph based on network collected data includes the following steps: S110, extracting a first text description of a first entity from a first network platform; S120, extracting a second text description of the first entity from a second network platform; S130, performing word-granularity-based semantic coding and analysis on the first text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the first text description; S140, performing word-granularity-based semantic coding and analysis on the second text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the second text description; S150, performing word-granularity semantic interaction fusion coding on the sequence of word-granularity semantic coding feature vectors of the first text description and the sequence of word-granularity semantic coding feature vectors of the second text description to obtain a first text description-second text description fine-grained semantic interaction fusion feature; and, S160, generating an updated text description of the first entity based on the first text description-second text description fine-grained semantic interaction fusion feature.

[0034] Specifically, in the technical solution of the present application, first, a first text description of the first entity is extracted from a first network platform, and a second text description of the first entity is extracted from a second network platform. Next, considering that the first text description of the first entity has a large amount of semantic information, and the smallest unit of semantic understanding is word granularity. Therefore, in order to be able to more fully and accurately perform semantic analysis and understanding of the first text description, it is necessary to map each word and phrase in the first text description to a semantic representation in a high-dimensional vector space, and retain the semantic relationship and context information between words. Specifically, in the technical solution of the present application, the first text description of the first entity is segmented and then encoded in a semantic encoder including a word embedding layer to extract the semantic association feature information based on word granularity in the first text description, thereby obtaining a sequence of word granularity semantic encoding feature vectors of the first text description.

[0035] Correspondingly, in step S130, the first text description of the first entity is semantically encoded and analyzed based on word granularity to obtain a sequence of first text description word granularity semantic encoding feature vectors, including: performing word segmentation processing on the first text description of the first entity and then passing it through a semantic encoder including a word embedding layer to obtain a sequence of first text description word granularity semantic encoding feature vectors.

[0036] Then, in order to be able to semantically understand the second text description of the first entity and provide a basis for subsequent semantic interaction and entity description update generation, in the technical solution of the present application, the second text description of the first entity is further segmented and encoded through a semantic encoder including a word embedding layer to extract the semantic association feature information based on word granularity in the second text description, thereby obtaining a sequence of word granularity semantic encoding feature vectors of the second text description.

[0037] Correspondingly, in step S140, the second text description of the first entity is semantically encoded and analyzed based on word granularity to obtain a sequence of second text description word granularity semantic encoding feature vectors, including: performing word segmentation processing on the second text description of the first entity and then passing it through a semantic encoder including a word embedding layer to obtain a sequence of second text description word granularity semantic encoding feature vectors.

[0038] It should be understood that in the process of constructing the knowledge graph, there may be differences in the text descriptions from different network platforms, including expression methods, vocabulary selection, syntactic structure, etc. These differences may lead to semantic differences between different text descriptions, making the representation of the knowledge graph not comprehensive and accurate enough. Therefore, in order to overcome this difference, it is necessary to perform fine-grained semantic interaction and fusion between the text descriptions of different network platforms to obtain a richer and more accurate feature representation. Specifically, in the technical solution of the present application, the sequence of the word-granularity semantic encoding feature vector of the first text description word-granularity semantic encoding feature vector and the sequence of the second text description word-granularity semantic encoding feature vector are further processed using the word-granularity semantic interaction layer to obtain the first text description-second text description fine-grained semantic interaction fusion feature vector. In particular, here, the word-granularity semantic interaction layer can interact and fuse the feature vectors of the two text descriptions by utilizing the semantic relevance of the corresponding words in the two text descriptions to obtain a fine-grained semantic interaction fusion feature vector. By performing semantic interaction based on word granularity on the text descriptions of different network platforms, the semantic association and fusion processing based on word granularity between different text descriptions can be captured, thereby obtaining a richer and more accurate feature representation. This fine-grained semantic interaction fusion feature vector can better reflect the semantic relationship between text descriptions on different network platforms, provide more accurate and rich information for subsequent entity description generation, and integrate the text expression characteristics of different platforms to improve the comprehensiveness and accuracy of the knowledge graph information.

[0039] Correspondingly, in step S150, the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors are subjected to word granularity semantic interaction fusion encoding to obtain a first text description-second text description fine-grained semantic interaction fusion feature, including: using a word granularity semantic interaction layer to process the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors to obtain a first text description-second text description fine-grained semantic interaction fusion feature vector as the first text description-second text description fine-grained semantic interaction fusion feature.

[0040] Specifically, in one example, a word-granularity semantic interaction layer is used to process a sequence of the first text description word-granularity semantic coding feature vectors and a sequence of the second text description word-granularity semantic coding feature vectors to obtain a first text description-second text description fine-grained semantic interaction fusion feature vector as the first text description-second text description fine-grained semantic interaction fusion feature, including: performing attention enhancement based on the correlation between the sequence of the first text description word-granularity semantic coding feature vectors and the sequence of the second text description word-granularity semantic coding feature vectors to obtain a sequence of attention-enhanced first text description word-granularity semantic coding feature vectors and a sequence of attention-enhanced second text description word-granularity semantic coding feature vectors; fusing the sequence of the first text description word-granularity semantic coding feature vectors and the sequence of the attention-enhanced first text description word-granularity semantic coding feature vectors. to obtain a sequence of local fusion feature vectors of the first text description, and to fuse the sequence of word-granularity semantic encoding feature vectors of the second text description and the feature vectors of the corresponding positions in the sequence of attention-enhanced word-granularity semantic encoding feature vectors of the second text description to obtain a sequence of local fusion feature vectors of the second text description; to perform maximum pooling processing on the sequence of local fusion feature vectors of the first text description to obtain a first text description local fusion maximum pooling feature vector, and to perform maximum pooling processing on the sequence of local fusion feature vectors of the second text description to obtain a second text description local fusion maximum pooling feature vector; and to fuse the first text description local fusion maximum pooling feature vector and the second text description local fusion maximum pooling feature vector to obtain the first text description-second text description fine-grained semantic interaction fusion feature vector.

[0041] Furthermore, the first text description-second text description fine-grained semantic interaction fusion feature vector is passed through an entity description generator based on the AIGC model to obtain an updated text description of the first entity. It should be understood that the first text description-second text description fine-grained semantic interaction fusion feature vector can represent a richer and more accurate entity description, which contains fine-grained semantic interaction information between text descriptions from different platforms, and can capture the semantic associations and mutual influences between different descriptions. Therefore, by inputting the fine-grained semantic interaction fusion feature vector into the entity description generator, the semantic interaction fusion feature information based on word granularity between the first text description and the second text description can be used to generate an entity description with more semantic accuracy and information richness. Such an updated text description can better reflect the characteristics and attributes of the entity and improve the information comprehensiveness and accuracy of the knowledge graph.

[0042] Accordingly, in step S160, if Figure 3 As shown, based on the first text description-second text description fine-grained semantic interaction fusion feature, an updated text description of the first entity is generated, including: S161, performing feature correction processing on the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain a corrected first text description-second text description fine-grained semantic interaction fusion feature vector; and, S162, passing the corrected first text description-second text description fine-grained semantic interaction fusion feature vector through an entity description generator based on the AIGC model to obtain an updated text description of the first entity.

[0043] In the above technical scheme, the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors respectively express the serialized text semantic features of the first text description and the second text description of the first entity based on word segmentation semantic space embedding, that is, the text semantic feature content of the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors has semantic feature expression variability under different source text semantic calculation dimensions based on the first text description and the second text description. Therefore, when the word granularity semantic interaction layer is used to process the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors, in order to improve the word granularity semantic interaction fusion expression effect of the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors, it is preferred to optimize and fuse the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors.

[0044] Correspondingly, in step S161, feature correction processing is performed on the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain a corrected first text description-second text description fine-grained semantic interaction fusion feature vector, including: optimizing and fusing the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors to obtain a first text description-second text description semantic optimization fusion feature vector; and fusing the first text description-second text description semantic optimization fusion feature vector and the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain the corrected first text description-second text description fine-grained semantic interaction fusion feature vector.

[0045] In one example, the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors are optimized and fused to obtain the first text description-second text description semantic optimized fused feature vector, including: optimizing and fusion the sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors according to the following optimization formula to obtain the first text description-second text description semantic optimized fused feature vector; wherein the optimization formula is:

[0046]

[0047] in, is the first feature vector obtained by sequentially concatenating the first text description word granularity semantic encoding feature vectors, is the second feature vector obtained by sequentially concatenating the feature vectors of the second text description word granularity semantic encoding, and are the first feature vectors obtained by sequentially concatenating the first text description word granular semantic encoding feature vectors The second feature vector obtained by concatenating the sequence of the second text description word granularity semantic encoding feature vector No. eigenvalues, and Respectively represent the square of the first norm of the eigenvector and the square root of the second norm of the eigenvector, and the first eigenvector and the second eigenvector have the same length ,and is the weight hyperparameter, represents vector addition, represents vector subtraction, represents an exponential operation of a value, wherein the exponential operation of the value represents calculating the value of a natural exponential function with the value as a power, is the first text description-second text description semantic optimization fusion feature vector feature values.

[0048] Here, the above-mentioned optimization fusion is based on the correspondence at the feature value granularity to perform a division of the foreground manifold and the background manifold based on the vector scale on the serialized fusion representation of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector, so as to stack the dynamic feature value channelized association of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector under the feature corresponding channel supermanifold aggregation mechanism, thereby marking the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector. The feature semantic information of the changes between the sequences of quantities is realized according to the fully connected stacking fusion of the semantic content between the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector under different computing dimensions, so as to improve the interactive fusion effect of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector, thereby improving the text quality of the updated text description of the first entity obtained by the first text description-second text description fine-grained semantic interactive fusion feature vector through the entity description generator based on the AIGC model. In this way, the text descriptions of the same entity from different platforms can be semantically fused and entity descriptions can be generated to effectively utilize the complementarity and differences between the semantics of entity descriptions in different platforms, so that the constructed knowledge graph has greater information comprehensiveness, and can integrate the text expression characteristics of different platforms to provide better support for various intelligent applications.

[0049] In summary, the intelligent construction method of the spatiotemporal knowledge graph based on network collected data based on the embodiment of the present application is clarified, which can make the constructed knowledge graph have greater information comprehensiveness and can integrate the text expression characteristics of different platforms.

[0050] Figure 4 FIG. 1 is a block diagram of a spatiotemporal knowledge graph intelligent construction system 100 based on network collected data according to an embodiment of the present application. Figure 4As shown, according to an embodiment of the present application, a spatiotemporal knowledge graph intelligent construction system 100 based on network collected data includes: a first text description extraction module 110, which is used to extract a first text description of a first entity from a first network platform; a second text description extraction module 120, which is used to extract a second text description of the first entity from a second network platform; a first semantic coding analysis module 130, which is used to perform word-granular semantic coding and analysis on the first text description of the first entity to obtain a sequence of word-granular semantic coding feature vectors of the first text description; a second semantic coding analysis module 140, which is used to perform word-granular semantic coding and analysis on the second text description of the first entity This description performs word-granularity-based semantic coding and analysis to obtain a sequence of word-granularity semantic coding feature vectors of the second text description; a word-granularity semantic interaction fusion coding module 150 is used to perform word-granularity semantic interaction fusion coding on the sequence of word-granularity semantic coding feature vectors of the first text description and the sequence of word-granularity semantic coding feature vectors of the second text description to obtain first text description-second text description fine-grained semantic interaction fusion features; and an updated text description generation module 160 is used to generate an updated text description of the first entity based on the first text description-second text description fine-grained semantic interaction fusion features.

[0051] In one example, in the above-mentioned spatiotemporal knowledge graph intelligent construction system 100 based on network collected data, the first semantic coding analysis module 130 is used to: perform word segmentation processing on the first text description of the first entity and then pass it through a semantic encoder including a word embedding layer to obtain a sequence of word granularity semantic coding feature vectors of the first text description.

[0052] In one example, in the above-mentioned spatiotemporal knowledge graph intelligent construction system 100 based on network collected data, the second semantic coding analysis module 140 is used to: perform word segmentation processing on the second text description of the first entity and then pass it through a semantic encoder including a word embedding layer to obtain a sequence of word granularity semantic coding feature vectors of the second text description.

[0053] Here, those skilled in the art can understand that the specific functions and operations of each module in the above-mentioned spatiotemporal knowledge graph intelligent construction system 100 based on network collection data have been referred to above. Figures 1 to 3 The description of the intelligent construction method of spatiotemporal knowledge graph based on network collected data has been introduced in detail, and therefore, its repeated description will be omitted.

[0054] As described above, the intelligent construction system 100 of the spatiotemporal knowledge graph based on network collected data according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an intelligent construction algorithm of the spatiotemporal knowledge graph based on network collected data. In one example, the intelligent construction system 100 of the spatiotemporal knowledge graph based on network collected data according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the intelligent construction system 100 of the spatiotemporal knowledge graph based on network collected data can be a software module in the operating system of the wireless terminal, or it can be an application developed for the wireless terminal; of course, the intelligent construction system 100 of the spatiotemporal knowledge graph based on network collected data can also be one of the many hardware modules of the wireless terminal.

[0055] Alternatively, in another example, the spatiotemporal knowledge graph intelligent construction system 100 based on network-collected data and the wireless terminal may also be separate devices, and the spatiotemporal knowledge graph intelligent construction system 100 based on network-collected data may be connected to the wireless terminal through a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.

[0056] Figure 5 FIG. 1 is an application scenario diagram of the method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to an embodiment of the present application. Figure 5 As shown, in this application scenario, first, a first text description of a first entity is extracted from a first network platform (for example, Figure 5 D1 as shown in FIG. 1 ), and extracting a second text description of the first entity from a second network platform (e.g., Figure 5 Then, the first text description of the first entity and the second text description of the first entity are input into a server (for example, Figure 5 In S) as shown in , the server is able to use the spatiotemporal knowledge graph intelligent construction algorithm based on network collected data to process the first text description of the first entity and the second text description of the first entity to obtain an updated text description of the first entity.

[0057] Furthermore, it is worth mentioning that in one example, the spatiotemporal knowledge graph construction platform adopts a B / S technical architecture, which can collect data on designated topics from various encyclopedia websites based on the Internet, build and edit place name ontology, parse common types of files, extract place names and knowledge related to place names, build spatiotemporal knowledge graphs, and provide application services. It mainly includes four modules: web crawling tools, ontology construction tools, place name knowledge extraction tools, spatiotemporal knowledge graph construction and application tools.

[0058] The web crawling tool is based on the set theme, takes Internet resources as the data source, and uses the theme web crawler technology and data identification technology to automatically crawl the knowledge of the specified theme under the commonly used encyclopedia websites at home and abroad. The theme web crawler technology crawls and collects web page data according to the selected theme, and provides a summary display of the collection results. The crawled pages are relevant and the page utilization rate is high. The tool can be used independently in the Internet environment. The crawler data supports the export function, and the import function is used to restore it to the environment where the platform runs, so as to achieve data loss-free migration. The web crawling tool includes theme crawling, surface crawling, data management, and system settings.

[0059] The ontology construction tool is a convenient tool for users to customize the six elements of the ontology, namely, concepts, relationships, attributes, rules, functions, and instances. The ontology clearly expresses which place name objects are and how to express these objects in detail. It formalizes the concept of place names and expresses them.

[0060] The place name knowledge extraction tool is based on the place name ontology. The place name knowledge extraction tool requires two major input items: ontology and place name data. By annotating the place name data, the corpus is constructed. At the same time, the system has the management function of original files, data annotation, extracted data, and triple data. The place name knowledge extraction tool is designed into four modules: file management, data annotation, knowledge extraction, and model management.

[0061] The spatiotemporal knowledge graph construction and application tool constructs a spatiotemporal knowledge graph based on the place name ontology and various types of place name knowledge data, including seven modules: knowledge graph compilation, knowledge graph display, matching fusion, query retrieval, statistical analysis, intelligent question and answer, and modeling reasoning.

[0062] In addition, it will be appreciated by those skilled in the art that various aspects of the present application may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of the present application may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.

[0063] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.

[0064] The above is an explanation of the present application and should not be considered as a limitation thereof. Although several exemplary embodiments of the present application are described, it will be readily understood by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present application. Therefore, all of these modifications are intended to be included within the scope of the present application as defined by the claims. It should be understood that the above is an explanation of the present application and should not be considered to be limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present application is defined by the claims and their equivalents.

Claims

1. A method for intelligently constructing a spatiotemporal knowledge graph based on network collected data, characterized in that: include: extracting a first text description of a first entity from a first network platform; extracting a second text description of the first entity from a second network platform; The first text description of the first entity is semantically encoded and analyzed based on word granularity to obtain a sequence of word granularity semantic encoding feature vectors of the first text description, which includes: performing word segmentation processing on the first text description of the first entity and passing it through a semantic encoder including a word embedding layer to obtain a sequence of word granularity semantic encoding feature vectors of the first text description; Performing word-granularity-based semantic coding and analysis on the second text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the second text description; Performing word-granularity semantic interaction fusion encoding on the sequence of the first text description word-granularity semantic encoding feature vectors and the sequence of the second text description word-granularity semantic encoding feature vectors to obtain a first text description-second text description fine-grained semantic interaction fusion feature; and generating an updated text description of the first entity based on the fine-grained semantic interaction fusion feature of the first text description-the second text description; Generating an updated text description of the first entity based on the fine-grained semantic interaction fusion feature of the first text description and the second text description includes: Performing feature correction processing on the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain a corrected first text description-second text description fine-grained semantic interaction fusion feature vector; and passing the corrected first text description-second text description fine-grained semantic interaction fusion feature vector through an entity description generator based on an AIGC model to obtain an updated text description of the first entity; The method of performing feature correction processing on the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain a corrected first text description-second text description fine-grained semantic interaction fusion feature vector includes: Optimizing and fusing the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors to obtain a first text description-second text description semantically optimized fused feature vector; and fusing the first text description-second text description semantic optimization fusion feature vector and the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain the corrected first text description-second text description fine-grained semantic interaction fusion feature vector; The first text description word granularity semantic coding feature vector sequence and the second text description word granularity semantic coding feature vector sequence are optimized and fused to obtain a first text description-second text description semantic optimized fused feature vector, comprising: optimizing and fusion the first text description word granularity semantic coding feature vector sequence and the second text description word granularity semantic coding feature vector sequence according to the following optimization formula to obtain the first text description-second text description semantic optimized fused feature vector; wherein the optimization formula is: ; in, is the first feature vector obtained by sequentially concatenating the first text description word granularity semantic encoding feature vectors, is the second feature vector obtained by sequentially concatenating the feature vectors of the second text description word granularity semantic encoding, and are the first feature vectors obtained by sequentially concatenating the first text description word granular semantic encoding feature vectors The second feature vector obtained by concatenating the sequence of the second text description word granularity semantic encoding feature vector No. eigenvalues, and Respectively represent the square of the first norm of the eigenvector and the square root of the second norm of the eigenvector, and the first eigenvector and the second eigenvector have the same length ,and is the weight hyperparameter, represents vector addition, represents vector subtraction, represents an exponential operation of a value, wherein the exponential operation of the value represents calculating the value of a natural exponential function with the value as a power, is the first text description-second text description semantic optimization fusion feature vector eigenvalues; The above-mentioned optimization fusion is based on the correspondence at the feature value granularity, and the serialized fusion representation of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector is divided into foreground manifold and background manifold based on the vector scale, and the dynamic feature value channelization association of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector is stacked under the feature corresponding channel supermanifold aggregation mechanism, and the feature semantic information of the changes between the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector are marked. According to the variability of the semantic content between the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector in different computing dimensions, a fully connected stacking fusion is performed to improve the interactive fusion effect of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector, and improve the text quality of the updated text description of the first entity obtained by the first text description-second text description fine-grained semantic interactive fusion feature vector through the entity description generator based on the AIGC model.

2. The method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to claim 1, characterized in that: The second text description of the first entity is semantically encoded and analyzed based on word granularity to obtain a sequence of word granularity semantic encoding feature vectors of the second text description, including: The second text description of the first entity is processed by word segmentation and then passed through a semantic encoder including a word embedding layer to obtain a sequence of word granularity semantic encoding feature vectors of the second text description.

3. The method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to claim 2 is characterized in that: The sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors are subjected to word granularity semantic interactive fusion coding to obtain a first text description-second text description fine-grained semantic interactive fusion feature, including: The sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors are processed using a word granularity semantic interaction layer to obtain a first text description-second text description fine-grained semantic interaction fusion feature vector as the first text description-second text description fine-grained semantic interaction fusion feature.

4. The method for intelligently constructing a spatiotemporal knowledge graph based on network collected data according to claim 3 is characterized in that: The method uses a word granularity semantic interaction layer to process the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors to obtain a first text description-second text description fine-grained semantic interaction fusion feature vector as the first text description-second text description fine-grained semantic interaction fusion feature, including: Performing attention enhancement based on the correlation between the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors to obtain a sequence of attention-enhanced first text description word granularity semantic encoding feature vectors and a sequence of attention-enhanced second text description word granularity semantic encoding feature vectors; The sequence of the first text description word granularity semantic encoding feature vectors and the feature vectors at corresponding positions in the sequence of the attention-enhanced first text description word granularity semantic encoding feature vectors are fused to obtain a sequence of first text description local fused feature vectors, and the sequence of the second text description word granularity semantic encoding feature vectors and the feature vectors at corresponding positions in the sequence of the attention-enhanced second text description word granularity semantic encoding feature vectors are fused to obtain a sequence of second text description local fused feature vectors; Performing maximum pooling processing on the sequence of the first text description local fusion feature vectors to obtain a first text description local fusion maximum pooling feature vector, and performing maximum pooling processing on the sequence of the second text description local fusion feature vectors to obtain a second text description local fusion maximum pooling feature vector; And the first text description local fusion maximum pooling feature vector and the second text description local fusion maximum pooling feature vector are fused to obtain the first text description-second text description fine-grained semantic interaction fusion feature vector.

5. A spatiotemporal knowledge graph intelligent construction system based on network collected data, characterized in that: include: A first text description extraction module, used to extract a first text description of a first entity from a first network platform; A second text description extraction module, used to extract a second text description of the first entity from a second network platform; A first semantic coding analysis module is used to perform word-granularity-based semantic coding and analysis on the first text description of the first entity to obtain a sequence of word-granularity semantic coding feature vectors of the first text description, which includes: performing word segmentation processing on the first text description of the first entity and passing it through a semantic encoder including a word embedding layer to obtain a sequence of word-granularity semantic coding feature vectors of the first text description; A second semantic coding analysis module, used for performing word granularity-based semantic coding and analysis on the second text description of the first entity to obtain a sequence of word granularity semantic coding feature vectors of the second text description; A word-granularity semantic interaction fusion encoding module, used for performing word-granularity semantic interaction fusion encoding on a sequence of word-granularity semantic encoding feature vectors of the first text description and a sequence of word-granularity semantic encoding feature vectors of the second text description to obtain a first text description-second text description fine-grained semantic interaction fusion feature; and an updated text description generating module, configured to generate an updated text description of the first entity based on the fine-grained semantic interaction fusion feature of the first text description-the second text description; The update text description generation module is used to: Performing feature correction processing on the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain a corrected first text description-second text description fine-grained semantic interaction fusion feature vector; and passing the corrected first text description-second text description fine-grained semantic interaction fusion feature vector through an entity description generator based on an AIGC model to obtain an updated text description of the first entity; The update text description generation module is used to: Optimizing and fusing the sequence of the first text description word granularity semantic encoding feature vectors and the sequence of the second text description word granularity semantic encoding feature vectors to obtain a first text description-second text description semantically optimized fused feature vector; and fusing the first text description-second text description semantic optimization fusion feature vector and the first text description-second text description fine-grained semantic interaction fusion feature vector to obtain the corrected first text description-second text description fine-grained semantic interaction fusion feature vector; The sequence of the first text description word granularity semantic coding feature vectors and the sequence of the second text description word granularity semantic coding feature vectors are optimized and fused using the following optimization formula to obtain the first text description-second text description semantic optimization fusion feature vector; wherein the optimization formula is: ;in, is the first feature vector obtained by sequentially concatenating the first text description word granularity semantic encoding feature vectors, is the second feature vector obtained by sequentially concatenating the feature vectors of the second text description word granularity semantic encoding, and are the first feature vectors obtained by sequentially concatenating the first text description word granular semantic encoding feature vectors The second feature vector obtained by concatenating the sequence of the second text description word granularity semantic encoding feature vector No. eigenvalues, and Respectively represent the square of the first norm of the eigenvector and the square root of the second norm of the eigenvector, and the first eigenvector and the second eigenvector have the same length ,and is the weight hyperparameter, represents vector addition, represents vector subtraction, represents an exponential operation of a value, wherein the exponential operation of the value represents calculating the value of a natural exponential function with the value as a power, is the first text description-second text description semantic optimization fusion feature vector eigenvalues; The above-mentioned optimization fusion is based on the correspondence at the feature value granularity, and the serialized fusion representation of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector is divided into foreground manifold and background manifold based on the vector scale, and the dynamic feature value channelization association of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector is stacked under the feature corresponding channel supermanifold aggregation mechanism, and the feature semantic information of the changes between the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector are marked. According to the variability of the semantic content between the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector in different computing dimensions, a fully connected stacking fusion is performed to improve the interactive fusion effect of the sequence of the first text description word granularity semantic coding feature vector and the sequence of the second text description word granularity semantic coding feature vector, and improve the text quality of the updated text description of the first entity obtained by the first text description-second text description fine-grained semantic interactive fusion feature vector through the entity description generator based on the AIGC model.

6. The spatiotemporal knowledge graph intelligent construction system based on network collected data according to claim 5 is characterized in that: The second semantic coding analysis module is used to: The second text description of the first entity is processed by word segmentation and then passed through a semantic encoder including a word embedding layer to obtain a sequence of word granularity semantic encoding feature vectors of the second text description.