Archive information retrieval method and device, computer equipment and readable storage medium
Through archival knowledge graph and semantic understanding technology, entity objects and relationships in archival information are identified and matched, solving the problem of low retrieval accuracy in existing technologies, and achieving rapid and accurate positioning and in-depth mining of archival information.
Patent Information
- Application Number
- CN202410745673.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-27
AI Technical Summary
Existing archival information retrieval systems have difficulty handling synonyms, polysemy, and contextual changes, resulting in low retrieval accuracy and requiring users to modify keywords multiple times to obtain the required information.
The archival knowledge graph is used for entity object identification, relationship identification and intent identification. It combines keyword matching and semantic understanding, extracts entity objects and relationships through the language model, generates a knowledge graph, and uses the semantic vector database to perform matching and screening to obtain target archival information. .
It improves the accuracy and efficiency of archival information retrieval, reveals the intrinsic connections between information, supports in-depth mining, reduces the impact of synonyms and polysemy on retrieval results, and provides comprehensive and accurate retrieval results.
Smart Images

Figure CN118708790A
Abstract
Description
Technical Field
[0001] The present application relates to the field of information search technology, and in particular to an archive information retrieval method, apparatus, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] With the development of computer technology and the deepening of enterprise informatization, the electronicization and digitization of archival materials have become the mainstream trend. However, facing the massive amount of archival information, how to achieve fast and accurate retrieval has become an urgent problem to be solved.
[0003] In the related art, the retrieval system mainly searches based on the keywords input by the user. Keyword search is based on the principle of text matching, and the keywords input by the user are matched with the keywords appearing in the archives to achieve rapid location of the archives.
[0004] However, the retrieval system often has difficulty handling synonyms, polysemous words and context changes. Users need to modify the input keywords multiple times to obtain the required archival information, resulting in low accuracy in archival information retrieval. Summary of the invention
[0005] Based on this, it is necessary to provide an archival information retrieval method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of archival information retrieval in response to the above-mentioned technical problems.
[0006] In a first aspect, the present application provides an archive information retrieval method, comprising:
[0007] Obtaining the archive retrieval information carried in the archive information retrieval request;
[0008] Perform entity object recognition, entity object relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result in the archive knowledge graph;
[0009] Determine a file search keyword according to the file search information, and perform keyword matching according to the file search keyword to obtain second candidate file information;
[0010] Performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result;
[0011] Perform file information screening on the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0012] In one embodiment, the archive knowledge graph is constructed by the following steps:
[0013] Obtaining knowledge extraction guidance information and knowledge modeling guidance information for guiding the language model to generate an archive knowledge graph;
[0014] The pre-acquired archival data source, the knowledge extraction guidance information and the knowledge modeling guidance information are input into the trained language model, and the language model extracts entity objects and entity object relationships from the archival data source according to the knowledge extraction guidance information, and generates and outputs the archival knowledge graph using the entity objects and the entity object relationships according to the knowledge modeling guidance information.
[0015] In one of the embodiments, the entity object includes a plurality of entity objects from different archival data sources;
[0016] The step of generating the archive knowledge graph according to the knowledge modeling guidance information and using the entity objects and the entity object relationships includes:
[0017] Performing semantic understanding on the multiple entity objects from different archival data sources, and performing unified naming processing on the target entity objects among the multiple entity objects from different archival data sources according to the semantic understanding results, to obtain multiple entity objects after processing; the target entity objects are entity objects containing semantics and having different names;
[0018] According to the knowledge modeling guidance information, the processed multiple entity objects are connected according to the entity object relationship to obtain the archive knowledge graph.
[0019] In one embodiment, determining the archive search keyword according to the archive search information includes:
[0020] extracting initial keywords from the archive retrieval information;
[0021] Determine the semantics of the initial keyword, and obtain synonymous keywords having the semantics;
[0022] In the archive knowledge graph, obtaining an expanded keyword associated with the initial keyword having the semantics;
[0023] Based on the initial keywords, the synonymous keywords and the extended keywords, archive retrieval keywords are obtained.
[0024] In one embodiment, the performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result includes:
[0025] Obtaining a retrieval information semantic vector of the archive retrieval information;
[0026] The retrieval information semantic vector is matched with multiple archival information semantic vectors in a pre-constructed vector database, and third candidate archival information related to the semantic understanding result is obtained according to the matching result; the vector database includes archival information semantic vectors corresponding to archival information of multiple modalities.
[0027] In one embodiment, the screening of the first candidate profile information, the second candidate profile information and the third candidate profile information to obtain target profile information includes:
[0028] For each of the first candidate profile information, the second candidate profile information and the third candidate profile information, obtaining the information credibility of the candidate profile information, obtaining the information similarity between the candidate profile information and the profile retrieval information, and obtaining the semantic similarity between the candidate profile information and the profile retrieval information;
[0029] Determining a comprehensive score for each candidate profile information according to the information credibility, the information similarity and the semantic similarity of each candidate profile information;
[0030] From each of the candidate profile information, the target profile information whose comprehensive score meets the score condition is screened out.
[0031] In one embodiment, obtaining the information credibility of the candidate profile information includes:
[0032] In the archival knowledge graph, determining the archival information entity objects involved in the candidate archival information;
[0033] The information credibility of the candidate archival information is determined according to the number of the archival information entity objects and the association between other entity objects in the archival knowledge graph and the archival information entity objects.
[0034] In a second aspect, the present application also provides an archive information retrieval device, comprising:
[0035] A request receiving module, used to obtain the archive retrieval information carried in the archive information retrieval request;
[0036] A first retrieval module is used to perform entity object recognition, entity object relationship recognition and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result and the intent recognition result in the archive knowledge graph;
[0037] A second search module is used to determine archive search keywords according to the archive search information, and perform keyword matching according to the archive search keywords to obtain second candidate archive information;
[0038] A third search module is used to perform semantic understanding on the archive search information and obtain third candidate archive information related to the semantic understanding result;
[0039] The screening module is used to screen the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0040] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0041] Obtaining the archive retrieval information carried in the archive information retrieval request;
[0042] Perform entity object recognition, entity object relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result in the archive knowledge graph;
[0043] Determine a file search keyword according to the file search information, and perform keyword matching according to the file search keyword to obtain second candidate file information;
[0044] Performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result;
[0045] Perform file information screening on the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0046] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0047] Obtaining the archive retrieval information carried in the archive information retrieval request;
[0048] Perform entity object recognition, entity object relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result in the archive knowledge graph;
[0049] Determine a file search keyword according to the file search information, and perform keyword matching according to the file search keyword to obtain second candidate file information;
[0050] Performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result;
[0051] Perform file information screening on the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0052] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0053] Obtaining the archive retrieval information carried in the archive information retrieval request;
[0054] Perform entity object recognition, entity object relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result in the archive knowledge graph;
[0055] Determine a file search keyword according to the file search information, and perform keyword matching according to the file search keyword to obtain second candidate file information;
[0056] Performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result;
[0057] Perform file information screening on the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0058] The above-mentioned archival information retrieval method, apparatus, computer equipment, computer-readable storage medium and computer program product, after obtaining the archival retrieval information carried in the archival information retrieval request, on the one hand, perform entity object recognition, entity object relationship recognition and intent recognition on the archival retrieval information, and obtain first candidate archival information related to at least one of the entity object recognition result, entity object relationship recognition result and intent recognition result in the archival knowledge graph; on the other hand, determine archival retrieval keywords based on the archival retrieval information, and perform keyword matching based on the archival retrieval keywords to obtain second candidate archival information; on the other hand, perform semantic understanding on the archival retrieval information to obtain third candidate archival information related to the semantic understanding result; and then perform archival information screening on the first candidate archival information, the second candidate archival information and the third candidate archival information to obtain the target archival information. In this embodiment, by combining knowledge graph retrieval, keyword retrieval and semantic retrieval, rapid positioning and precise query of archival content are achieved: on the one hand, the use of the archival knowledge graph to obtain the first candidate archival information can reveal the intrinsic connections and correlations between the archival information, and support deep archival information mining; on the other hand, while using the archival retrieval keywords for keyword matching and determining the second archival information, by combining knowledge graph retrieval and semantic retrieval, it is possible to more comprehensively and accurately understand the user's search intention, obtain comprehensive, accurate and meaningful search results, reduce the impact of polysemy and homonyms on retrieval accuracy, and effectively improve retrieval accuracy and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 An application environment diagram of an archive information retrieval method in an embodiment;
[0061] Figure 2 A schematic diagram of a flow chart of an archive information retrieval method in an embodiment;
[0062] Figure 3 A schematic diagram of a process of constructing an archive knowledge graph in one embodiment;
[0063] Figure 4 is an architecture diagram of an intelligent archive retrieval system in one embodiment;
[0064] Figure 5A schematic diagram of a flow chart of a step of obtaining archive search keywords in one embodiment;
[0065] Figure 6 is a structural block diagram of an archive information retrieval device in one embodiment;
[0066] Figure 7 The figure is a diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0068] The archival information retrieval method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the application environment includes a terminal and an intelligent archive retrieval system, and the terminal communicates with the intelligent archive retrieval system through a network.
[0069] The intelligent archive retrieval system may have a corresponding data storage system, which may store a plurality of archive information, and may include, for example, at least one of the following: text files, image files, video files, audio files, structured data, and unstructured data. The data storage system may be integrated into the intelligent archive retrieval system, or may be placed on the cloud or other network servers.
[0070] In an exemplary embodiment, a terminal may send an archive information retrieval request to an intelligent archive retrieval system. After receiving the request, the intelligent archive retrieval system may obtain the archive retrieval information carried in the request. Then, the intelligent archive retrieval system may perform entity recognition, entity relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity recognition result, entity relationship recognition result, and intent recognition result in the knowledge graph. On the other hand, the intelligent archive retrieval system may determine archive retrieval keywords based on the archive retrieval information, and perform keyword matching based on the archive retrieval keywords to obtain second candidate archive information. On the other hand, the intelligent archive retrieval system may perform semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result. Then, the first candidate archive information, the second candidate archive information, and the third candidate archive information may be screened to obtain target archive information, and then the target archive information may be returned to.
[0071] The terminal may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The intelligent archive retrieval system may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services.
[0072] In an exemplary embodiment, Figure 2 As shown, a method for retrieving archive information is provided, which is applied to Figure 1 The intelligent archive retrieval system in the example is described, including the following steps S201 to S205. Among them:
[0073] S201, obtaining archive retrieval information carried in an archive information retrieval request.
[0074] In actual applications, the user can input archive retrieval information in the terminal, and the archive retrieval information can be a search clue provided by the user when retrieving target archive information. In some embodiments, the archive retrieval information can be composed of one or more keywords, or a sentence or paragraph composed of multiple words with contextual relationships. After receiving the archive retrieval information, the terminal can generate an archive information retrieval request carrying the information to trigger the intelligent archive retrieval system to obtain the archive retrieval information in the request, and search for the target archive information accordingly.
[0075] It is understandable that the user can input the archive retrieval information in text form or in voice form. For example, for archive retrieval information in voice form, the terminal or intelligent archive retrieval system can convert the input voice into text archive retrieval information through voice-to-text technology.
[0076] S202, performing entity object recognition, entity object relationship recognition and intent recognition on the archive retrieval information, and obtaining first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result and the intent recognition result in the archive knowledge graph.
[0077] In this embodiment, a knowledge graph, that is, an archival knowledge graph, can be constructed in advance based on the archival data source. The archival knowledge graph includes multiple entity objects and records the entity relationships between the multiple entity objects. After obtaining the archival retrieval information, the archival retrieval information can be respectively subjected to entity object recognition, entity object relationship recognition, and intent recognition to obtain at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result. Among them, the entity object recognition result can be the entity object included in the archival retrieval information, such as "A Company" or "Wang Xiaoming", the entity object relationship can be the association relationship between entity objects and entity objects, such as "A Company's associated subsidiaries", and the intent recognition result can represent the user's intention to retrieve the target archival information, such as finding employees of A Company or finding A Company's associated subsidiaries.
[0078] Then, at least one of the entity object recognition result, entity object relationship recognition result, and intention recognition result can be used to match in the archive knowledge graph to obtain candidate archive information related thereto. For edge distinction, the candidate archive information found in step S202 is called the first candidate archive information. Taking the recognition result of the entity object recognition result "Wang Xiaoming" as an example, the entity object "Wang Xiaoming" can be determined in the archive knowledge graph, and other entity objects and entity object relationships associated with "Wang Xiaoming" in the archive knowledge graph are used as the first candidate archive information.
[0079] S203, determining archive search keywords according to the archive search information, and performing keyword matching according to the archive search keywords to obtain second candidate archive information.
[0080] On the other hand, after obtaining the archive retrieval information, the archive retrieval keyword used to retrieve the target archive information can also be determined according to the archive retrieval information. In some optional embodiments, the archive retrieval information can be segmented to extract the archive retrieval keyword from the obtained multiple segmented words, or the original segmented words in the archive retrieval information can be expanded and screened to obtain the archive retrieval keyword. Then, the archive retrieval keyword can be used to perform keyword matching in the text data in the data storage system to obtain candidate archive information. For the convenience of distinction, the candidate archive information is called the second candidate archive information, wherein the candidate archive information contains text content that matches the retrieval archive keyword.
[0081] Compared with the traditional technology that applies knowledge graph and full-text search as two independent technical modules, this application can construct the relationship between archival information and archival information through the knowledge graph, and combine the precise matching capability of full-text search to achieve more comprehensive and accurate archival retrieval.
[0082] S204, performing semantic understanding on the archive retrieval information, and obtaining third candidate archive information related to the semantic understanding result.
[0083] On the other hand, the intelligent archive retrieval system can also perform semantic understanding on the archive retrieval information as a whole to obtain a semantic understanding result. In an exemplary embodiment, the archive retrieval information can be input into a trained large language model to obtain a semantic understanding result output by the large language model, and then candidate archive information related to the semantic understanding result is obtained from the data in the data storage system. For the sake of distinction, the candidate archive information obtained in step S204 is referred to as the third candidate archive information.
[0084] S205, screening the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
[0085] After obtaining a plurality of candidate file information, namely, the first candidate file information, the second candidate file information and the third candidate file information, the plurality of candidate file information may be screened and processed, and the target file information may be obtained according to the screening result.
[0086] In one example, multiple candidate profile information can be deduplicated, and the comprehensive score of each candidate profile information after deduplication can be obtained, and then the target profile information can be screened out based on the comprehensive score; or, in another example, since the first candidate profile information, the second candidate profile information and the third candidate profile information are determined according to different methods, the intersection of the first candidate profile information, the second candidate profile information and the third candidate profile information can be determined, and the target profile information can be determined based on the intersection.
[0087] In addition, in some embodiments, the sorting model can be pre-trained, and then the first candidate profile information, the second candidate profile information, and the third candidate profile information can be input into the sorting model. The accuracy of each input candidate profile information is determined and sorted by the model, and then the sorting result is output. The target profile information can be determined based on the sorting result output by the model.
[0088] In the above-mentioned archival information retrieval method, after obtaining the archival retrieval information carried by the archival information retrieval request, on the one hand, entity object recognition, entity object relationship recognition and intent recognition are performed on the archival retrieval information, and first candidate archival information related to at least one of the entity object recognition result, entity object relationship recognition result and intent recognition result is obtained in the archival knowledge graph; on the other hand, archival retrieval keywords are determined according to the archival retrieval information, and keyword matching is performed according to the archival retrieval keywords to obtain second candidate archival information; on the other hand, semantic understanding is performed on the archival retrieval information to obtain third candidate archival information related to the semantic understanding result; and then archival information screening can be performed on the first candidate archival information, the second candidate archival information and the third candidate archival information to obtain the target archival information. In this embodiment, by combining knowledge graph retrieval, keyword retrieval and semantic retrieval, rapid positioning and precise query of archival content are achieved: on the one hand, the use of the archival knowledge graph to obtain the first candidate archival information can reveal the intrinsic connections and correlations between the archival information, and support deep archival information mining; on the other hand, while using the archival retrieval keywords for keyword matching and determining the second archival information, by combining knowledge graph retrieval and semantic retrieval, it is possible to more comprehensively and accurately understand the user's search intention, obtain comprehensive, accurate and meaningful search results, reduce the impact of polysemy and homonyms on retrieval accuracy, and effectively improve retrieval accuracy and efficiency.
[0089] In one embodiment, Figure 3 As shown in the figure, the archive knowledge graph can be constructed through the following steps:
[0090] S301, obtaining knowledge extraction guidance information and knowledge modeling guidance information for guiding a language model to generate an archive knowledge graph.
[0091] Traditional knowledge graph construction methods often rely on manual annotation or rule extraction. Building and maintaining knowledge graphs requires a lot of manpower and material resources, which is inefficient and difficult to cover all situations. In this regard, in this embodiment, knowledge extraction guidance information and knowledge modeling guidance information for guiding the language model to generate archive knowledge graphs can be obtained. In some exemplary embodiments, the knowledge extraction guidance information and knowledge modeling guidance information can be organized in the form of prompt information.
[0092] Specifically, the knowledge extraction guidance information can be used to guide or inform the language model of the features or forms corresponding to the knowledge to be extracted, so that the language model can understand the semantic information of various archival data in the archival data source of past history according to the knowledge extraction guidance information, and accurately and quickly extract useful archival information from the archival data source, such as extracting one or more of personal names, place names, time, and events from the archival data source.
[0093] For example, the following knowledge extraction guidance information can be designed to complete entity object extraction: "You are an entity recognition model. Please extract the departments that appear in this article based on the article content provided by the user, including department name, department number, department head, department location, etc."
[0094] For example, the following knowledge extraction guidance information can be designed to implement entity-object relationship extraction: "You are a relationship extraction model. Please extract the employment relationship and educational background relationship that appear in this article based on the article content provided by the user. Among them, the employment relationship refers to the relationship between a person and a department and a position, and the attributes report the start time of employment, the time of leaving the job, salary, benefits, etc.; the educational background relationship refers to the relationship between a person and his educational background, and the attributes include admission time, graduation time, degree, etc. "
[0095] By using knowledge extraction guidance information, we can avoid training multiple named entity recognition models. Instead, we can fully utilize the powerful basic natural language processing capabilities of the language model to complete the knowledge extraction of archival data sources.
[0096] Knowledge modeling guidance information can be used to guide or inform the language model of how to model the extracted knowledge content. For example, the knowledge modeling guidance information may include the definition of the knowledge model and the model structure characteristics. By describing in detail the architecture of the knowledge graph to be established through the knowledge modeling guidance information, the language model can construct the entity objects, entity object attributes, and entity object relationships in the knowledge graph based on the existing display content.
[0097] For example, the guidance information for knowledge modeling can be: "You are a professional knowledge graph modeling engineer. You need to design a knowledge graph for the personnel files in the archive system. These personnel files come from various files. Please design the knowledge graph, including entities and their attributes, and the relationships between entities." Based on this information, the language model can determine the corresponding entity objects, attributes, and entity-object relationships.
[0098] S302, input the pre-acquired archival data source, knowledge extraction guidance information and knowledge modeling guidance information into the trained language model, and the language model extracts entity objects and entity object relationships from the archival data source according to the knowledge extraction guidance information, and generates and outputs the archival knowledge graph using entity objects and entity object relationships according to the knowledge modeling guidance information.
[0099] In addition, the archive data source can also be pre-built. The archive data source can be an archive information pair collected and integrated from multiple data sources. In one embodiment, the architecture of the intelligent archive retrieval system can be as follows: Figure 4As shown, it includes a data acquisition module, a knowledge combing module, an intelligent retrieval module and a user interaction module.
[0100] Among them, the data acquisition module can be responsible for collecting and integrating archival information from multiple data sources, processing data in various formats, such as unstructured data such as text, pictures, audio, video, and structured data in the database, and has the ability to clean and preliminarily standardize data to ensure the quality of the collected data. For example, for data of multiple models such as text, pictures, audio, and video, the information therein can be extracted through one or more methods such as file reading, OCR (Optical Character Recognition), ASR (Automatic Speech Recognition, speech to text), etc., to support knowledge extraction. Subsequently, the knowledge combing model can convert unstructured data and semi-structured data into triple (entity object, attribute, entity object relationship) structured data through a series of knowledge construction processes, and store it in the graph database to realize knowledge graph retrieval.
[0101] The user interaction module can provide a friendly user interface to facilitate user interaction with the system. Users can query archive information, browse knowledge graphs, analyze results, etc. through multiple platforms such as PC, mobile APP, digital human assistant, large screen, etc. Through the user interaction module, an intuitive and easy-to-use interface and operation process can be provided to reduce the user's learning cost.
[0102] Specifically, in step S302, the pre-acquired archival data source, knowledge extraction guidance information and knowledge modeling guidance information can be input into the trained language model, and the language model extracts entity objects, attributes and entity object relationships from each archival data source according to the knowledge extraction guidance information, and then generates and outputs the archival knowledge graph using the extracted entity objects, attributes and entity object relationships according to the knowledge modeling guidance information.
[0103] In some exemplary embodiments, for the archival knowledge graph output by the language model, if part of the content does not meet the preset standards, it is possible to further interact with the language model by inputting refined or adjusted knowledge extraction guidance information and / or knowledge modeling guidance information to guide the language model again to construct an archival knowledge graph that better meets the needs.
[0104] Compared with the method of manually constructing and maintaining knowledge graphs in related technologies, in this embodiment, through knowledge extraction guidance information and knowledge modeling guidance information, the language model can be quickly and accurately guided to process the archival data source and output the knowledge graph. With the help of the natural language processing capabilities of the language model and the efficiency of processing massive data, the intervention of domain experts can be greatly reduced. Domain experts only need to review the knowledge graph output by the language model, which significantly reduces the construction and maintenance costs of the archival knowledge graph.
[0105] In one embodiment, the entity object extracted by the language model includes multiple entity objects from different archival data sources;
[0106] In step S302, according to the knowledge modeling guidance information, the archive knowledge graph is generated using entity objects and entity object relationships, which may include the following steps:
[0107] Semantic understanding is performed on multiple entity objects from different archival data sources. According to the semantic understanding results, target entity objects in the multiple entity objects from different archival data sources are uniformly named to obtain multiple processed entity objects; the target entity objects are entity objects that contain semantics and have different names; according to the knowledge modeling guidance information, the processed multiple entity objects are connected according to the entity object relationship to obtain the archival knowledge graph.
[0108] In actual applications, when constructing a domain knowledge graph, different archival data sources may use different naming methods for the same entity object, resulting in multiple entity objects with the same semantics having different names. In this regard, in this embodiment, the entity objects from different archival data sources can be fused through a language model.
[0109] Specifically, semantic understanding can be performed on multiple entity objects from different archival data sources, and the target entity object among the multiple entity objects can be determined based on the semantic understanding results. That is, through the entity recognition function of the language model, the language model is used to determine whether multiple entity objects with different names are the same entity object. Then, the target entity object can be uniformly named to achieve the fusion of entity objects from different archival data sources and obtain multiple processed entity objects, wherein the multiple processed entity objects include the target entity object that has been uniformly named and other entity objects that have not been uniformly named.
[0110] Then, the language model can guide information according to knowledge modeling, connect multiple processed entity objects according to the entity-object relationship, associate and match entity objects from different archival data sources, obtain the archival knowledge graph, and realize the knowledge fusion of different archival data sources.
[0111] In this embodiment, the language model can be used to perform knowledge fusion and link matching on entity objects from different archival data sources to generate an archival knowledge graph, which can automatically extract and construct the association relationships between archives, thereby improving the accuracy and completeness of the knowledge graph. At the same time, by integrating multi-source data into a unified archival knowledge graph, it is convenient for enterprises to fully and accurately grasp archival information.
[0112] In one embodiment, Figure 5 As shown, in step S203, determining archive search keywords according to archive search information may include the following steps:
[0113] S501, extracting initial keywords from archive retrieval information.
[0114] In a specific implementation, keywords can be directly extracted from the archive retrieval information. For the sake of distinction, the keywords are also called initial keywords, which are text contents contained in the archive retrieval information.
[0115] In some optional embodiments, the archive retrieval information may be segmented to obtain multiple segmented words, wherein the relevance of the multiple segmented words to the user's retrieval intent may differ, and the archive retrieval information may be subjected to intent recognition, and at least one segmented word related to the user's retrieval intent may be selected from the multiple segmented words as the initial keyword based on the intent recognition result. Exemplarily, a trained large language model may be obtained, and the large language model may determine the relevance of each segmented word to the user's retrieval intent based on a self-attention mechanism, and then the initial keyword may be selected from the multiple segmented words based on the relevance corresponding to each segmented word.
[0116] S502, determining the semantics of the initial keyword, and obtaining semantically similar keywords.
[0117] Since there are polysemous and synonymous words in vocabulary, in this step, the semantics of the initial keyword can be determined first, and then synonyms in the language can be obtained as synonymous keywords.
[0118] In some optional embodiments, a large language model may be used to perform semantic understanding on the archive retrieval information, determine the language of the initial keyword based on the semantic understanding result, and obtain synonymous keywords with the semantics.
[0119] S503, in the archive knowledge graph, obtaining the expanded keywords associated with the initial keywords with semantics.
[0120] In addition, the archives knowledge graph can be used to expand and extend the initial keywords to obtain extended keywords. Specifically, since the archives knowledge graph can record entity objects and associations between entity objects related to multiple archive information, after obtaining an initial keyword with a certain semantics, the initial keyword can be used to match it in the archives knowledge graph, and at least one of the entity objects and entity object relationships related to the initial keyword with the semantics can be obtained according to the matching results, and then at least one of the entity objects and entity object relationships obtained by matching can be used as an extended keyword.
[0121] S504, obtaining archive search keywords based on the initial keywords, synonymous keywords and extended keywords.
[0122] Furthermore, at least one of the initial keyword, synonymous keyword and expanded keyword can be used as an archive search keyword, for example, the initial keyword, synonymous keyword and expanded keyword can be used as archive search keywords.
[0123] In this embodiment, compared with the traditional keyword search method, the initial keywords are expanded and associated by performing semantic understanding and combining with the archival knowledge graph, so that the search results not only include directly matched initial keywords, but also include other words related to the initial keywords, thereby improving the breadth and depth of the search. At the same time, it can more accurately understand the semantics of the initial keywords in the archival retrieval information, reduce the impact of homonyms and polysemous words on the search results, and expand the vocabulary by adding relevant synonyms and near-synonyms to improve the search precision.
[0124] In one embodiment, in step S204, semantic understanding is performed on the archive search information to obtain third candidate archive information related to the semantic understanding result, which may include the following steps:
[0125] Acquire the retrieval information semantic vector of the archival retrieval information; match the retrieval information semantic vector with multiple archival information semantic vectors in a pre-constructed vector database, and obtain third candidate archival information related to the semantic understanding result according to the matching result; the vector database includes archival information semantic vectors corresponding to archival information of multiple modalities.
[0126] In the specific implementation, for multimodal archival information such as text, pictures, audio and video content, a semantic acquisition model (such as a text vector model, a multimodal vector model) can be used in advance to vectorize this type of archival information, obtain multiple archival information semantic vectors, and then store them in a vector database.
[0127] For example, Figure 4As shown in the figure, the knowledge combing module can be used to vectorize multimodal archival information. The knowledge combing module can convert unstructured and semi-structured data into data forms that are convenient for subsequent retrieval and analysis. For content-based data, such as archival text, it can be directly stored in a search-based database to achieve keyword retrieval; for text, pictures, audio and video content, the knowledge combing module can use text vector models and multimodal vector models to vectorize such archival content and store it in a vector database to achieve semantic retrieval; at the same time, through a series of knowledge construction processes, unstructured data and semi-structured data are converted into triple structured data and stored in a graph database to achieve graph retrieval.
[0128] Furthermore, after receiving the archive retrieval information input by the user, the retrieval information semantic vector of the archive retrieval information can be obtained through the semantic acquisition model, and then the retrieval information semantic vector is matched with multiple archive information semantic vectors in a pre-built vector database, and the third candidate archive information related to the semantic understanding result is obtained according to the matching result.
[0129] In this embodiment, semantic retrieval can be introduced into the archive retrieval process, and by obtaining the semantic vector corresponding to the archive retrieval information, the third candidate archive information related to its semantics can be accurately obtained. The query statements output by the user can be accurately analyzed through natural language processing technology, and intelligent reasoning can be performed by combining knowledge graphs and keyword retrieval, which helps to return more accurate and meaningful retrieval results.
[0130] In one embodiment, in step S205, screening the first candidate profile information, the second candidate profile information, and the third candidate profile information to obtain target profile information may include the following steps:
[0131] S1, for each candidate archive information in the first candidate archive information, the second candidate archive information and the third candidate archive information, obtain the information credibility of the candidate archive information, obtain the information similarity between the candidate archive information and the archive retrieval information, and obtain the semantic similarity between the candidate archive information and the archive retrieval information.
[0132] In a specific implementation, for each candidate profile information obtained, a comprehensive analysis can be performed on the candidate profile information. In this step, the information credibility of the candidate profile information can be obtained, wherein the information credibility is also called information authority, which can characterize the credibility or authority of the extracted candidate profile information among multiple information.
[0133] In addition, the information similarity and semantic similarity between the candidate archive information and the archive retrieval information can also be obtained. In one embodiment, for the information similarity between the candidate archive information and the archive retrieval information, the first correlation a of the result can be evaluated based on indicators such as the degree of matching between the candidate archive information and the archive retrieval keywords in the archive retrieval information input by the user, and on the other hand, the second correlation b can be calculated based on the candidate archive information and the entity objects or entity object relationships related to the user's query, that is, the second correlation can be obtained based on the correlation between the candidate archive information entity objects and the entity objects or entity object relationships related to the user's query content, and then the information similarity can be determined based on the first correlation a and the second correlation b, for example, the information similarity is obtained based on a+b.
[0134] In one embodiment, for semantic similarity, a semantic model can be used to calculate the semantic similarity between the candidate archive information and the archive retrieval information, for example, the archive information semantic vector of the candidate archive information and the semantic vector of the archive retrieval information are obtained respectively, and the semantic similarity is obtained based on the vector similarity between the two.
[0135] S2, determining a comprehensive score for each candidate profile information based on the information credibility, information similarity and semantic similarity of each candidate profile information.
[0136] In an optional embodiment, the comprehensive score of each candidate profile information may be determined according to the following formula:
[0137] Comprehensive score = Information credibility weight * Information credibility + Information similarity weight * Information similarity + Semantic similarity weight * Semantic similarity
[0138] Exemplarily, the information credibility weight is 0.4, the information similarity weight is 0.3, and the semantic similarity weight is 0.3. The specific weights can be adjusted according to actual conditions.
[0139] S3, selecting target profile information whose comprehensive scores meet the score requirements from each candidate profile information.
[0140] After obtaining the comprehensive scores of each candidate profile information, multiple candidate profile information can be screened according to the comprehensive scores to obtain target profile information that meets the score conditions. For example, the candidate profile information with the highest comprehensive score can be used as the target profile information, or multiple candidate profile information can be sorted in descending order according to the comprehensive scores, and the top K (K is a positive integer greater than 1) candidate profile information can be used as the target profile information.
[0141] In this embodiment, information screening can be performed based on the information credibility, information similarity and semantic similarity of the candidate archive information, and the candidate archive information obtained through different methods can be comprehensively and comprehensively compared to determine the credibility of the candidate archive information under different retrieval paths, thereby effectively improving the accuracy of the target archive information ultimately returned to the user.
[0142] In one embodiment, obtaining the information credibility of the candidate profile information may include the following steps:
[0143] In the archival knowledge graph, the archival information entity objects involved in the candidate archival information are determined; based on the number of archival information entity objects and the degree of association between other entity objects in the archival knowledge graph and the archival information entity objects, the information credibility of the candidate archival information is determined.
[0144] Specifically, for the candidate archival information obtained by screening in different ways, the entity objects involved in the candidate archival information can be matched in the archival knowledge graph. For example, the candidate archival information can be entity-identified to obtain entity object recognition results, and then the corresponding entity objects can be determined in the archival knowledge graph. For the sake of distinction, the entity object is called the archival information entity object.
[0145] After determining the archival information entity object in the archival knowledge graph, the correlation between other entity objects in the archival knowledge graph and the archival information entity object can also be determined, wherein the other entity objects can be entity objects other than the archival information entity object.
[0146] Specifically, the number of entity objects associated with the archival information entity object in the archival knowledge graph can be determined based on the entity-object relationship, wherein the more associated entity objects there are and the shorter the connection path with the archival information entity object (that is, the path connecting the entity objects through the entity-object relationship), the higher the degree of association between other entity objects in the archival knowledge graph and the archival information entity object.
[0147] Furthermore, the information credibility of the candidate archival information can be determined based on the number of archival information entity objects and the correlation between other entity objects in the archival knowledge graph and the archival information entity objects. The more archival information entity objects there are, the higher the information credibility is; the higher the correlation between other entity objects and the archival information entity objects is, the higher the information credibility is.
[0148] In this embodiment, the comprehensive and integrated archival knowledge in the archival knowledge graph can be combined to determine the information credibility of each candidate archival information, effectively improving the accuracy of the information credibility.
[0149] In order to enable those skilled in the art to better understand the above steps, the embodiment of the present application is illustrated below by using an example, but it should be understood that the embodiment of the present application is not limited to this.
[0150] 1. Obtain the archive retrieval information carried in the archive information retrieval request;
[0151] 2. Perform entity object recognition, entity object relationship recognition and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, entity object relationship recognition result and intent recognition result in the archive knowledge graph;
[0152] 3. Extract the initial keywords from the archive retrieval information; determine the semantics of the initial keywords and obtain semantically related keywords; obtain the extended keywords associated with the semantically related initial keywords in the archive knowledge graph; obtain the archive retrieval keywords based on the initial keywords, the synonymous keywords and the extended keywords; determine the archive retrieval keywords based on the archive retrieval information, and perform keyword matching based on the archive retrieval keywords to obtain the second candidate archive information;
[0153] 4. Obtaining a retrieval information semantic vector of the archive retrieval information; matching the retrieval information semantic vector with a plurality of archive information semantic vectors in a pre-built vector database, and obtaining third candidate archive information related to the semantic understanding result according to the matching result;
[0154] 5. For each candidate archive information in the first candidate archive information, the second candidate archive information and the third candidate archive information, obtain the information credibility of the candidate archive information, obtain the information similarity between the candidate archive information and the archive retrieval information, and obtain the semantic similarity between the candidate archive information and the archive retrieval information; determine the comprehensive score of each candidate archive information based on the information credibility, information similarity and semantic similarity of each candidate archive information; and screen out the target archive information whose comprehensive score meets the score conditions from each candidate archive information.
[0155] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0156] Based on the same inventive concept, the embodiment of the present application also provides an archival information retrieval device for implementing the archival information retrieval method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more archival information retrieval device embodiments provided below can refer to the limitations on the archival information retrieval method above, and will not be repeated here.
[0157] In an exemplary embodiment, Figure 6 As shown, a file information retrieval device is provided, comprising:
[0158] The request receiving module 601 is used to obtain the archive retrieval information carried in the archive information retrieval request;
[0159] A first retrieval module 602 is used to perform entity object recognition, entity object relationship recognition and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result and the intent recognition result in the archive knowledge graph;
[0160] The second search module 603 is used to determine the archive search keyword according to the archive search information, and perform keyword matching according to the archive search keyword to obtain the second candidate archive information;
[0161] The third search module 604 is used to perform semantic understanding on the archive search information and obtain third candidate archive information related to the semantic understanding result;
[0162] The screening module 605 is used to screen the first candidate profile information, the second candidate profile information and the third candidate profile information to obtain target profile information.
[0163] In one embodiment, the apparatus further comprises a knowledge graph construction module, wherein the knowledge graph construction module is used to:
[0164] Obtaining knowledge extraction guidance information and knowledge modeling guidance information for guiding the language model to generate an archive knowledge graph;
[0165] The pre-acquired archival data source, the knowledge extraction guidance information and the knowledge modeling guidance information are input into the trained language model, and the language model extracts entity objects and entity object relationships from the archival data source according to the knowledge extraction guidance information, and generates and outputs the archival knowledge graph using the entity objects and the entity object relationships according to the knowledge modeling guidance information.
[0166] In one embodiment, the entity object comprises a plurality of entity objects from different archival data sources;
[0167] The knowledge graph construction module is used to:
[0168] Performing semantic understanding on the multiple entity objects from different archival data sources, and performing unified naming processing on the target entity objects among the multiple entity objects from different archival data sources according to the semantic understanding results, to obtain multiple entity objects after processing; the target entity objects are entity objects containing semantics and having different names;
[0169] According to the knowledge modeling guidance information, the processed multiple entity objects are connected according to the entity object relationship to obtain the archive knowledge graph.
[0170] In one embodiment, the second retrieval module 603 is used to:
[0171] extracting initial keywords from the archive retrieval information;
[0172] Determine the semantics of the initial keyword, and obtain synonymous keywords having the semantics;
[0173] In the archive knowledge graph, obtaining an expanded keyword associated with the initial keyword having the semantics;
[0174] Based on the initial keywords, the synonymous keywords and the extended keywords, archive retrieval keywords are obtained.
[0175] In one embodiment, the third retrieval module 604 is used to:
[0176] Obtaining a retrieval information semantic vector of the archive retrieval information;
[0177] The retrieval information semantic vector is matched with multiple archival information semantic vectors in a pre-constructed vector database, and third candidate archival information related to the semantic understanding result is obtained according to the matching result; the vector database includes archival information semantic vectors corresponding to archival information of multiple modalities.
[0178] In one embodiment, the screening module 605 is used to:
[0179] For each of the first candidate profile information, the second candidate profile information and the third candidate profile information, obtaining the information credibility of the candidate profile information, obtaining the information similarity between the candidate profile information and the profile retrieval information, and obtaining the semantic similarity between the candidate profile information and the profile retrieval information;
[0180] Determining a comprehensive score for each candidate profile information according to the information credibility, the information similarity and the semantic similarity of each candidate profile information;
[0181] From each of the candidate profile information, the target profile information whose comprehensive score meets the score condition is screened out.
[0182] In one embodiment, the screening module 605 is used to:
[0183] In the archival knowledge graph, determining the archival information entity objects involved in the candidate archival information;
[0184] The information credibility of the candidate archival information is determined according to the number of the archival information entity objects and the association between other entity objects in the archival knowledge graph and the archival information entity objects.
[0185] Each module in the above-mentioned archive information retrieval device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0186] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store archival data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for retrieving archival information is implemented.
[0187] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0188] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0189] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0190] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0191] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0192] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0193] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0194] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for retrieving archive information, characterized in that: The method comprises: Obtaining the archive retrieval information carried in the archive information retrieval request; Perform entity object recognition, entity object relationship recognition, and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result, and the intent recognition result in the archive knowledge graph; Determine a file search keyword according to the file search information, and perform keyword matching according to the file search keyword to obtain second candidate file information; Performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result; Perform file information screening on the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
2. The method according to claim 1, characterized in that The archive knowledge graph is constructed through the following steps: Obtaining knowledge extraction guidance information and knowledge modeling guidance information for guiding the language model to generate an archive knowledge graph; The pre-acquired archival data source, the knowledge extraction guidance information and the knowledge modeling guidance information are input into the trained language model, and the language model extracts entity objects and entity object relationships from the archival data source according to the knowledge extraction guidance information, and generates and outputs the archival knowledge graph using the entity objects and the entity object relationships according to the knowledge modeling guidance information.
3. The method according to claim 2, characterized in that The entity object includes a plurality of entity objects from different archival data sources; The step of generating the archive knowledge graph according to the knowledge modeling guidance information and using the entity objects and the entity object relationships includes: Performing semantic understanding on the multiple entity objects from different archival data sources, and performing unified naming processing on the target entity objects among the multiple entity objects from different archival data sources according to the semantic understanding results, to obtain multiple entity objects after processing; the target entity objects are entity objects containing semantics and having different names; According to the knowledge modeling guidance information, the processed multiple entity objects are connected according to the entity object relationship to obtain the archive knowledge graph.
4. The method according to claim 1, characterized in that: The step of determining archive search keywords according to the archive search information includes: extracting initial keywords from the archive retrieval information; Determine the semantics of the initial keyword, and obtain synonymous keywords having the semantics; In the archive knowledge graph, obtaining an expanded keyword associated with the initial keyword having the semantics; Based on the initial keywords, the synonymous keywords and the extended keywords, archive retrieval keywords are obtained.
5. The method according to claim 1, characterized in that The performing semantic understanding on the archive retrieval information to obtain third candidate archive information related to the semantic understanding result includes: Obtaining a retrieval information semantic vector of the archive retrieval information; The retrieval information semantic vector is matched with multiple archival information semantic vectors in a pre-constructed vector database, and third candidate archival information related to the semantic understanding result is obtained according to the matching result; the vector database includes archival information semantic vectors corresponding to archival information of multiple modalities.
6. The method according to claim 1, characterized in that The step of screening the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information includes: For each of the first candidate profile information, the second candidate profile information and the third candidate profile information, obtaining the information credibility of the candidate profile information, obtaining the information similarity between the candidate profile information and the profile retrieval information, and obtaining the semantic similarity between the candidate profile information and the profile retrieval information; Determining a comprehensive score for each candidate profile information according to the information credibility, the information similarity and the semantic similarity of each candidate profile information; From each of the candidate profile information, the target profile information whose comprehensive score meets the score condition is screened out.
7. The method according to claim 6, characterized in that The obtaining of the information credibility of the candidate profile information includes: In the archival knowledge graph, determining the archival information entity objects involved in the candidate archival information; The information credibility of the candidate archival information is determined according to the number of the archival information entity objects and the association between other entity objects in the archival knowledge graph and the archival information entity objects.
8. An archive information retrieval device, characterized in that: The device comprises: A request receiving module, used to obtain the archive retrieval information carried in the archive information retrieval request; A first retrieval module is used to perform entity object recognition, entity object relationship recognition and intent recognition on the archive retrieval information, and obtain first candidate archive information related to at least one of the entity object recognition result, the entity object relationship recognition result and the intent recognition result in the archive knowledge graph; A second search module is used to determine archive search keywords according to the archive search information, and perform keyword matching according to the archive search keywords to obtain second candidate archive information; A third search module is used to perform semantic understanding on the archive search information and obtain third candidate archive information related to the semantic understanding result; The screening module is used to screen the first candidate file information, the second candidate file information and the third candidate file information to obtain target file information.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data information retrieval method and device, equipment and storage medium
CN115687572A
Archive management method and system based on cloud archive library
CN117648433A
File data processing method and device, equipment and storage medium
CN117909556A
Document retrieval method and device and related equipment
CN117951270A
Method, apparatus, server, and storage medium for recalling for search
US20190057159A1
Cited By
Retrieval enhancement generation-based retrieval method, product, equipment and medium
CN119003795A
Fault maintenance method and device, equipment, storage medium and computer program product
CN119599126A
Archive data intelligent retrieval method and system based on multi-modal large model
CN120216669A
Method for service recommendation based on identified user intention, computing device and storage medium
CN120632219A
Intelligent archive indexing and retrieval system
CN121786212A
