A method and device for optimizing atomic fact retrieval recall based on double-strategy fusion

By fusing a dual-strategy approach to atomic fact retrieval and utilizing the verification and parsing of source records and frozen configurations, atomic fact retrieval was optimized, resolving the issues of low retrieval recall and poor matching robustness, and achieving more accurate and stable retrieval results.

CN123138401APending Publication Date: 2026-11-20BEIJING OMEDIUM TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611574162.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-12
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies for atomic fact retrieval suffer from problems such as missing full names of subjects, incomplete aliases, non-standard terminology, and omission of unit information, resulting in low retrieval recall and poor matching robustness. Furthermore, the lack of a stable and fixed query perspective configuration mechanism leads to unstable retrieval results, and the grammatical order adjustment and optimization logic is not rigorous, affecting retrieval stability.

Method used

Consistency checks are performed by obtaining source records and frozen configurations with the same fact version, parsing the original fragments, replacing or inserting supplementary fragments with the same source, filtering for the same source features, eliminating invalid evidence and source conflicts, performing inverse transformation restoration and character, summary and semantic equivalence checks, and forming the final search text.

Benefits of technology

The search text has been optimized to make subsequent searches more accurate. It avoids the error of writing that the characters will be the same after direct deletion due to semantic invariance. By separating the offline frozen view configuration from the online read-only search, it avoids multiple text versions from overwriting each other, thus improving the accuracy and stability of the search.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138401A_ABST
    Figure CN123138401A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a kind of atomic fact retrieval recall optimization method and device based on double strategy fusion, it is related to information retrieval and knowledge base text technical field.The method comprises: obtaining the source record and freeze configuration of the same fact version, the consistency check of source record and freeze configuration obtains candidate fact data;According to the syntax template version bound with source record, the original fragment of selected fact data is parsed to obtain the coverage original text;In the range allowed by syntax template, the original fragment is replaced or inserted with homologous supplement fragment to obtain continuous fragment and transformation mapping record;The continuous fragment is filtered homologous feature, and evidence invalid is eliminated, and candidate fragment is obtained by eliminating source conflict;According to the transformation mapping record, the final retrieval text is obtained by inverse transformation restoration and character, abstract and semantic equivalence check to the candidate fragment.The method optimizes retrieval text, so that subsequent retrieval is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information retrieval and knowledge base text technology, specifically to an atomic fact retrieval recall optimization method and apparatus based on dual-strategy fusion. Background Technology

[0002] Atomic facts are the smallest assertion units that can be independently verified through source evidence. They typically include a subject, predicate, object, or numerical conclusion, as well as necessary limiting conditions. Compared to traditional whole-text retrieval methods, using atomic facts as fine-grained retrieval units can effectively avoid the problem of multiple facts being mixed together, improving retrieval accuracy. However, in practical applications, short text atomic facts generally suffer from problems such as missing full names of subjects, incomplete aliases, non-standard terminology, and omitted unit information. When users query using equivalent truth expressions, synonyms, or standardized expressions, matching failures are very likely to occur, and qualified facts cannot enter the retrieval candidate set, resulting in low retrieval recall and poor matching robustness.

[0003] Existing fine-grained retrieval optimization solutions still have specific technological gaps and cannot adapt to the stringent constraints of mid-level fact retrieval scenarios. Mid-level fact retrieval not only requires all expanded and optimized content to be traceable and verifiable in the original text, but also requires that the shallow retrieval chain retain only a single valid version of the retrieved text. Existing technologies lack strict constraints on the source and semantic boundaries of newly added expressions, and the optimization process is prone to introducing unfounded assertions, semantic shifts, or invalid derived content.

[0004] Furthermore, existing retrieval optimization systems lack a stable and fixed query perspective configuration mechanism. Most rely on real-time dynamic rewriting of the retrieval index based on online queries, leading to unstable index features and large fluctuations in retrieval results across different query scenarios, failing to establish a unified and fixed factual retrieval caliber. Simultaneously, the impact mechanism of word order adjustments on retrieval performance is not clearly defined: in the conventional BM25 retrieval algorithm, under the premise that word segmentation, term frequency, and field length remain unchanged, simple word order adjustments do not bring retrieval gains; only specific retrieval interfaces with position-sensitive truncation and position-weighted matching are affected by fragment position. Existing technologies generally fail to distinguish the characteristics of retrieval interfaces, blindly performing word order transformations for optimization, resulting in flawed optimization logic, ineffective iterations, and poor retrieval stability. Summary of the Invention

[0005] The purpose of this invention is to provide an atomic fact retrieval and recall optimization method and apparatus based on dual-strategy fusion. This method optimizes the retrieval text, making subsequent retrieval more accurate.

[0006] To achieve the above objectives, embodiments of the present invention provide an atomic fact retrieval and recall optimization method based on dual-strategy fusion. The method includes: acquiring source records and frozen configurations of the same fact version; performing consistency checks on the source records and frozen configurations to obtain candidate fact data; parsing the candidate fact data according to the grammar template version bound to the source records to obtain original fragments covering the original text; within the range allowed by the grammar template, replacing or inserting homologous supplementary fragments into the original fragments to obtain continuous fragments and transformation mapping records; filtering the continuous fragments for homologous features, eliminating invalid evidence, and eliminating source conflicts to obtain candidate fragments; and performing inverse transformation restoration and character, summary, and semantic equivalence checks on the candidate fragments according to the transformation mapping records to obtain the final retrieval text.

[0007] Optionally, the source record includes the fact identifier, source version, original text, structure fields, evidence snapshot, subject identifier, evidence status, source validity period, and original text summary for the same fact version; the frozen configuration includes: frozen configuration version, statistical time window, knowledge domain or retrieval scope, effective query count, frequency of expressions of interest, field priority, minimum number of effective samples, configuration effective time, versioned syntax template, candidate parallel selection rules, and the indexer identifier, word segmentation or encoding rule version, actual visible range, and upper limit of the length of the complete text payload for the target retrieval interface.

[0008] Optionally, the step of performing consistency verification on the source records and the frozen configuration to obtain candidate fact data includes: according to the frozen configuration, obtaining source records that are in an effective state, have knowledge domain or retrieval scope coverage facts, have versioned syntax templates and interface versions available, and whose effective sample count and statistical time window meet the configuration requirements as candidate data.

[0009] Optionally, the step of parsing the candidate fact data to obtain the original fragment covering the original text based on the grammar template version bound to the source record includes: identifying the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction, and punctuation of the candidate fact data based on the grammar template version of the source record, for use in establishing the original fragment according to the Unicode code point order of the original text; the original fragment includes multiple consecutive and non-overlapping fragments, each fragment recording a fragment identifier, source start and end intervals, grammar role, and fragment summary, and all fragment intervals together cover the original text.

[0010] Optionally, the step of filtering the continuous segments for source characteristics, eliminating invalid evidence, and eliminating source conflicts to obtain candidate segments includes: verifying the fact identifier, subject identifier, source version, evidence summary or evidence content, validity status, field semantics, and applicable limitations of the continuous segments to obtain source characteristic records; when a continuous segment that satisfies the source characteristics comes from the structural field of the same fact, has been verified to have the same subject alias, has been verified to have the terminology relationship or original value and unit, and has not introduced new subjects, predicates, objects, values, or limiting conditions, then the continuous segment is included in the candidate segments; when the continuous segment has only a reference address without verifying the text, the source has been withdrawn or expired, the subjects are inconsistent, the values, time, region, and conditions of the same field conflict with each other, the segment is repeated, or the segment, after normalization, produces at least one of the predicates, objects, values, or limiting conditions that do not exist in the input object, then the continuous segment cannot be included in the candidate segments.

[0011] Optionally, the step of performing inverse transformation restoration and character, summary, and semantic equivalence verification on the candidate fragments according to the transformation mapping record to obtain the final search text includes: identifying and removing additional content from the candidate fragments according to the transformation mapping record, and restoring the original text from the actual character range of the candidate fragments according to the original fragment source position to obtain the restored text; performing a code-point character comparison and a byte comparison after UTF-8 encoding on the restored text and the original fragments, and calculating the restored text summary and the original text summary according to a fixed encoding; converting the components bound to the candidate fragments into normalized fact objects, wherein the normalized fact objects include at least a subject, predicate, object or precise value, unit, currency, time, region, negation, and conditional limitation; performing a field-by-field comparison on the normalized fact objects, normalizing the verified aliases with the same subject according to the subject mapping, and converting the equivalent units according to a fixed precision rule; when the text summary, original text summary, and equivalent units of the normalized fact objects are consistent with those of the input fact objects and the number of newly added independent assertions is zero, then the candidate fragment is the final search text.

[0012] On the other hand, this application also proposes an atomic fact retrieval and recall optimization device based on dual-strategy fusion. The device includes: an acquisition module, used to acquire source records and frozen configurations of the same fact version, and perform consistency verification on the source records and frozen configurations to obtain candidate fact data; a first processing module, used to parse the candidate fact data according to the grammar template version bound to the source records to obtain original fragments covering the original text; a second processing module, used to replace or insert homologous supplementary fragments on the original fragments within the range allowed by the grammar template to obtain continuous fragments and transformation mapping records; a third processing module, used to filter the continuous fragments for homologous features, remove invalid evidence, and remove source conflicts to obtain candidate fragments; and a fourth processing module, used to perform inverse transformation restoration and character, summary, and semantic equivalence verification on the candidate fragments according to the transformation mapping records to obtain the final retrieval text.

[0013] Optionally, the step of performing consistency verification on the source records and the frozen configuration to obtain candidate fact data includes: according to the frozen configuration, obtaining source records that are in an effective state, have knowledge domain or retrieval scope coverage facts, have versioned syntax templates and interface versions available, and whose effective sample count and statistical time window meet the configuration requirements as candidate data.

[0014] Optionally, the step of parsing the candidate fact data to obtain the original fragment covering the original text based on the grammar template version bound to the source record includes: identifying the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction, and punctuation of the candidate fact data based on the grammar template version of the source record, for use in establishing the original fragment according to the Unicode code point order of the original text; the original fragment includes multiple consecutive and non-overlapping fragments, each fragment recording a fragment identifier, source start and end intervals, grammar role, and fragment summary, and all fragment intervals together cover the original text.

[0015] On the other hand, this application also proposes a machine-readable storage medium storing instructions for causing a machine to execute the atomic fact retrieval and recall optimization method based on dual-strategy fusion described above.

[0016] Through the above technical solution, this application divides the original text into original fragments covering complete character sequences by reading a single source-bound fact and a frozen offline perspective configuration. Traceable supplementary fragments are constructed from the same factual evidence, and candidates are formed according to a limited, semantically defined expression template. Candidates record both the positional permutations of the original fragments and the output positions and evidence of the newly added fragments. Original fragments are extracted from the candidate text, and the source order is restored. Character recovery and normalized fact object equivalence are checked separately. Then, a unique candidate is selected based on the known visibility range of the target retrieval interface. After the candidate preparation is completed, the current valid pointer is conditionally switched. Online queries only read the already effective version and do not participate in this text generation. By separating the newly added fragment stripping, reversing the original fragment arrangement, and fact object equivalence checks, the method avoids mistakenly writing that semantic invariance necessarily means the characters will be the same after direct deletion. By separating the offline frozen perspective configuration from the online read-only retrieval, the method avoids multiple text versions overlapping due to concurrent queries. This method optimizes the retrieved text, making subsequent retrieval more accurate.

[0017] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0018] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of an atomic fact retrieval and recall optimization method based on dual-strategy fusion, as described in this application. Figure 2 This is a schematic diagram of one embodiment of this application; Figure 3 This is a flowchart of the fragment mapping and inverse transformation recovery process of this application; Figure 4 This is a flowchart of the view configuration freeze and index condition activation process; Figure 5 This is a schematic diagram of an atomic fact retrieval and recall optimization device based on dual-strategy fusion, as described in this application.

[0019] Explanation of reference numerals in the attached figures 100-An atomic fact retrieval and recall optimization device based on dual-strategy fusion; 200 - Acquisition module; 300 - First processing module; 400 - Second processing module; 500 - Third processing module; 600 - Fourth processing module. Detailed Implementation

[0020] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the scope of the present invention.

[0021] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application all comply with relevant laws and regulations. In the embodiments of this application, certain existing industry solutions such as software, components, and models may be mentioned. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solution of this application, and do not imply that the applicant has already used or necessarily used such solutions.

[0022] This invention provides an atomic fact retrieval and recall optimization method based on dual-strategy fusion, such as... Figure 1 and Figure 2 As shown, the method includes: Step S101: Obtain source records and frozen configurations of the same fact version, and perform consistency verification on the source records and frozen configurations to obtain candidate fact data; Step S102: Based on the grammar template version bound to the source record, parse the candidate fact data to obtain the original fragment covering the original text; Step S103: Within the range allowed by the grammar template, the original fragment is replaced or a homologous supplementary fragment is inserted to obtain a continuous fragment and a transformation mapping record; Step S104: Select candidate segments by screening for homology features, eliminating invalid evidence, and eliminating source conflicts. Step S105: Perform inverse transformation restoration and character, summary and semantic equivalence verification on the candidate fragments according to the transformation mapping record to obtain the final search text.

[0023] The aforementioned source records include the fact identifier, source version, original text, structure fields, evidence snapshot, subject identifier, evidence status, source validity period, and original text summary for the same version of the fact. The aforementioned freeze configuration includes the freeze configuration version, statistical time window, knowledge domain or retrieval scope, effective query count, frequency of expressions of interest, field priority, minimum number of valid samples, configuration effective time, versioned syntax template, candidate parallel selection rules, and the indexer identifier, word segmentation or encoding rule version, actual visibility range, and maximum length of the complete text payload for the target retrieval interface. The aforementioned candidate fact data includes source records that are in an effective state, covered by the knowledge domain or retrieval scope, have available versioned syntax templates and interface versions, and whose effective sample count and statistical time window meet the configuration requirements.

[0024] The original text consists of multiple consecutive and non-overlapping segments. Each segment records the segment identifier, source and end ranges, grammatical roles, and segment summary. All segment ranges together cover the original text.

[0025] Through the above technical solution, this application divides the original text into original fragments covering complete character sequences by reading a single source-bound fact and a frozen offline perspective configuration. Traceable supplementary fragments are constructed from the same factual evidence, and candidates are formed according to a limited, semantically defined expression template. Candidates record both the positional permutations of the original fragments and the output positions and evidence of the newly added fragments. Original fragments are extracted from the candidate text, and the source order is restored. Character recovery and normalized fact object equivalence are checked separately. Then, a unique candidate is selected based on the known visibility range of the target retrieval interface. After the candidate preparation is completed, the current valid pointer is conditionally switched. Online queries only read the already effective version and do not participate in this text generation. By separating the newly added fragment stripping, reversing the original fragment arrangement, and fact object equivalence checks, the method avoids mistakenly writing that semantic invariance necessarily means the characters will be the same after direct deletion. By separating the offline frozen perspective configuration from the online read-only retrieval, the method avoids multiple text versions overlapping due to concurrent queries. This method optimizes the retrieved text, making subsequent retrieval more accurate.

[0026] In one embodiment, the source record includes a fact identifier, source version, original text, structural fields, evidence snapshot, subject identifier, evidence status, source validity period, and original text summary for the same fact version; the frozen configuration includes: frozen configuration version, statistical time window, knowledge domain or retrieval scope, effective query count, frequency of expressions of interest, field priority, minimum number of effective samples, configuration effective time, versioned syntax template, candidate parallel selection rules, and indexer identifier, word segmentation or encoding rule version, actual visible range, and upper limit of full text payload length for the target retrieval interface.

[0027] Specifically, an example of a source record is as follows: Fact Identifier F-001, source version 3, the subject identifier is the unique identifier of Project A; the original text O is "Project A's budget is 8 million yuan." (including the period, a total of 12 Unicode code points). The structure fields are: Subject = Project A, Predicate = Budget Amount, Precise Value = 800, Unit = 10,000 yuan; Currency, Time, Region, and Additional Conditions are all recorded as "Undeclared," and currency, year, or region cannot be added manually. Evidence Snapshot E-001 saves the original text and field content actually verified in this version, and the evidence status is valid; the construction validity period is set to October 1st to October 31st, 2026. The original text digest is the SHA-256 value calculated after encoding the above 12 code points in UTF-8, and the evidence snapshot digest is saved separately. Fact identifiers point to the same fact, and the source version distinguishes its content version; the two cannot be substituted for each other.

[0028] Example of a frozen configuration: Configuration version 2, statistics window from 00:00 on September 1, 2026 to 00:00 on October 1, 2026 (Beijing time, left-closed, right-open), effective time 00:00 on October 1, 2026, scope is the project budget fact base. After removing test traffic, duplicate request flags, and requests with indeterminate scope, the number of valid queries is 10, reaching the minimum sample size of 10; among them, "8 million yuan", "Project A", and "budget" appear in 6, 3, and 1 queries respectively. In this example, each query contains exactly one expression of interest, with weights of 0.6, 0.3, and 0.1 respectively. Generally, a query can contain multiple different expressions of interest, and the normalized denominator should be the sum of the valid counts of each expression, not necessarily equal to the number of valid queries. Field priority examples are budget amount, subject, and predicate, which are fixed with the configuration and do not replace the visibility coverage described later.

[0029] For example, the source record is bound to the budget relationship template version 1, and the frozen configuration references the same version; this template only allows the two expressions "the main budget is numerical" and "the numerical budget is the main budget" when there are no unclear references, negations, or complex limitations. The target indexer is identified as the budget prefix indexer, and the encoding rule version 1 counts according to Unicode code points. The existing interface actually only indexes the first K=10 code points, while saving the complete returned text, with a payload limit of L=200 code points. When candidates are in parallel, they are selected in the following order: fewer fragment displacements, fewer additions, and fixed candidate identifiers. The above rules are frozen before the start of this round of construction, and K or weights cannot be temporarily changed for a candidate. During the construction on October 8, the original text summary, main and structure fields, and evidence content are checked to ensure consistency. The evidence is still valid, the configuration scope covers the fact, the template and interface version are available, the statistical window is closed, and the sample size meets the standard before outputting candidate fact data with fact version 3, configuration version 2, and verification status. If a field changes to 8.01 million yuan, the evidence is withdrawn, or the configuration version becomes invalid, the reason for failure is recorded and candidate generation is blocked. The terms in the query are only used for weighting and cannot be used to add facts. When there is no additional evidence of common origin in the original text, a zero-addition branch is used, T=1, but conditions such as character recovery and factual equivalence must still be passed item by item.

[0030] The original text "Project A's budget is 8 million yuan." and the rearranged text "8 million yuan is the budget for Project A." both contain 12 code points. The current text contains 17 code points, the newly added fragment [5,10) and "a supplementary fragment" lack corresponding text and evidence; this calculation cannot be retained based on the existing text. It is recommended to adopt the above zero-supplementation approach and correct the mapping and coverage according to the following reply. The current expressions "currency not declared" and "evidence field is currency" also need to be consistent; if it is necessary to retain the supplementary example, the specific supplementary text and corresponding evidence should be given first, and then the full text length, range and indicators should be recalculated. It is not allowed to infer or fabricate missing content.

[0031] In one embodiment, the step of performing consistency verification on the source records and the frozen configuration to obtain candidate fact data includes: according to the frozen configuration, obtaining source records that are in an effective state, have knowledge domain or retrieval scope coverage facts, have versioned syntax templates and interface versions available, and whose effective sample count and statistical time window meet the configuration requirements as candidate data.

[0032] Specifically, such as Figure 4 As shown, the process first reads the original text, structure fields, evidence snapshot, subject identifier, evidence status, and original text summary of the same fact version, and verifies whether the original text summary and structure fields correspond to the evidence snapshot; then it verifies whether the freeze configuration is in effect, whether the scope covers the fact, whether the syntax template and interface version are available, and whether the sample number and statistics window meet the configuration requirements; if the source record has been withdrawn, the evidence is unverifiable, the subject or field conflicts, the summary is inconsistent, or the configuration version is invalid or the scope is inconsistent, a review record with fact identifier, source version, configuration version, failure reason, and timestamp is generated, and it is not included in the candidate generation; only after all conditions are passed will the verified status be output.

[0033] For example, source record F-001 is version 3, and the original text is "Project A's budget is 8 million yuan". Evidence E-001 verifies the subject, budget value of 8 million, unit of 10,000 yuan, and currency. The freeze configuration is version 2, and the target scope and interface version are both valid. If the summary is consistent, the evidence status is valid, and the structure fields are consistent with the evidence, the record verification passes. If the structure field is written as 8.01 million yuan or the evidence has been withdrawn, a failure record is generated and subsequent candidates are blocked.

[0034] In one embodiment, parsing the candidate fact data to obtain an original fragment covering the original text based on the grammar template version bound to the source record includes: identifying the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction, and punctuation of the candidate fact data based on the grammar template version of the source record, for constructing an original fragment according to the Unicode code point order of the original text; the original fragment includes multiple consecutive and non-overlapping fragments, each fragment recording a fragment identifier, source start and end intervals, grammar role, and fragment summary, and all fragment intervals together cover the original text.

[0035] Specifically, based on the grammar template version bound to the source record, the system identifies the subject, predicate, object or numerical value, unit, time, region, negation word, condition qualifier, conjunction, and punctuation, and builds an original fragment coverage table according to the Unicode code point order of the original text. Each fragment records the fragment identifier, source start and end intervals, grammar role, and fragment summary; all intervals are represented using left-closed and right-open characters, continuously covering the original text without overlap or omissions. Only fragments whose templates have been confirmed to be independently movable without changing the qualifying relationships are allowed to be moved; when fragments contain referential, negation scope, or complex conditions that cannot be determined by the current template, the original order is preserved and the reason for the mismatch is recorded.

[0036] For example, according to the budget relationship template, “Project A budget”, “for”, “8 million yuan”, and “” are respectively registered as continuous intervals [0,5), [5,6), [6,11), and [11,12), with the four intervals being continuous and non-overlapping. The template allows limited substitution of the main body and numerical segments; if the text contains unconfirmed negation or time conditions, the template is not applied and the original order is retained.

[0037] In one embodiment, the step of filtering the continuous segments for common source characteristics, eliminating invalid evidence, and eliminating source conflicts to obtain candidate segments includes: verifying the fact identifier, subject identifier, source version, evidence summary or evidence content, validity status, field semantics, and applicable limitations of the continuous segments to obtain common source characteristic records; when a continuous segment that satisfies the common source characteristics comes from the structural field of the same fact, has been verified to have the same subject alias, has been verified to have the terminology relationship or original value and unit, and has not introduced new subjects, predicates, objects, values, or limiting conditions, then the continuous segment is included in the candidate segments; when the continuous segment has only a reference address without verifying the text, the source has been withdrawn or expired, the subjects are inconsistent, the values, time, region, and conditions of the same field conflict with each other, the segment is repeated, or the segment, after normalization, produces at least one of the predicates, objects, values, or limiting conditions that do not exist in the input object, then the continuous segment cannot be included in the candidate segments.

[0038] Specifically, a source-related feature record is established for each proposed new fragment, verifying at least the fact identifier, subject identifier, source version, evidence summary, validity status, and field semantics. New content is only considered for inclusion as a candidate if it originates from a structural field of the same fact, has been verified as an alias for the same subject, has verified terminological relationships, or is an exact equivalent expression of the original numerical value and unit. Evidence that only has a reference address without verifying the text, has a withdrawn or expired source, has inconsistent subjects, conflicting numerical values / time / region / conditions in the same field, or whose new content, after normalization, generates predicates, objects, numerical values, or limiting conditions not present in the input object, is marked as invalid evidence, has a source conflict, or introduces a new assertion, and the fragment is rejected. The reason for rejection, the evidence version, and the rule version are recorded in the audit log.

[0039] For example, adding "2024" to a webpage link or using another organization's name as an alias will result in removal due to unverified evidence or conflicting information; adding content such as "obtained Level 1 certification" without a documented source will result in removal due to the introduction of new assertions.

[0040] In one embodiment, the step of performing inverse transformation restoration and character, summary, and semantic equivalence verification on the candidate fragments according to the transformation mapping record to obtain the final search text includes: identifying and removing additional content from the candidate fragments according to the transformation mapping record, and restoring the original text from the actual character range of the candidate fragments according to the original fragment source position to obtain the restored text; performing a code-point character comparison and a byte comparison after UTF-8 encoding on the restored text and the original fragments, and calculating the restored text summary and the original text summary according to a fixed encoding; converting the components bound to the candidate fragments into normalized fact objects, wherein the normalized fact objects include at least a subject, predicate, object or precise value, unit, currency, time, region, negation, and conditional limitation; performing a field-by-field comparison on the normalized fact objects, normalizing the verified aliases with the same subject according to the subject mapping, and converting them into equivalent units according to a fixed precision rule; when the text summary, original text summary, and equivalent units of the normalized fact objects are consistent with those of the input fact objects and the number of newly added independent assertions is zero, then the candidate fragment is the final search text.

[0041] Specifically, such as Figure 3 As shown, the process first verifies that the candidate output interval completely covers the candidate text, each original fragment appears exactly once, and the intervals do not overlap. Then, based on the transformation record, the registered supplementary fragments are identified and removed. The original text is recovered from the candidate actual characters according to the source position of the original fragment. The Unicode code point sequence and the byte sequence after UTF-8 encoding are compared, and the SHA-256 digest of the recovered text is recalculated according to a fixed encoding and compared with the input original text digest. The candidate text digest is saved separately in the transformation record and audit log and cannot be used to replace the recovered digest. Subsequently, a normalized fact object is generated from the subject, predicate, object or value, unit, currency, time, region, negation, and conditional constraints bound to the candidate, and compared with the input fact object field by field. Verified aliases are normalized according to the same subject mapping, equivalent units are converted according to fixed precision rules, and missing constraints remain "undeclared" and cannot be interpreted as arbitrary ranges. If any coverage, uniqueness, character, digest, or semantic condition fails, the candidate enters the rejection or review state.

[0042] For example, the candidate text is "8 million yuan is the budget for Project A." The transformation records indicate that the output intervals of S3, the newly added fragment, S2, S1, and S4 are [0,5), [5,10), [10,11), [11,16), and [16,17], respectively. After removing the newly added fragment, "The budget for Project A is 8 million yuan." is restored from the candidate's actual interval according to the source position. The character sequence, UTF-8 bytes, and SHA-256 digest of the restored text are consistent with the original text. The candidate text digest is then stored separately as the candidate version digest. If 800 is changed to 801, S1 is repeated, or a period is omitted, or at least one of the overwrite, character, or semantic checks fails, the candidate cannot be published.

[0043] In one implementation, candidate configurations are generated daily, and queries recorded over the previous 30 full calendar days are counted; test traffic, duplicate requests, and requests for which the knowledge domain cannot be determined are excluded. Each valid query counts the same expression of interest at most once. Expressions of interest are only used for candidate position evaluation and cannot become the source of new factual content. The minimum number of valid samples can be set to 10, but the production configuration must be set according to the actual sample size and a version must be retained.

[0044] For related expressions of interest regarding the same fact, weights are normalized based on frequency of occurrence. When multiple perspectives coexist, instead of publishing a separate text for each perspective, they are all compared within the same frozen configuration; different query expressions may yield different matching results, and there is no guarantee that every query will benefit. Configuration updates first create an immutable version, then candidates are built offline in batches or on a fact-by-fact basis. When statistics are insufficient, the previous configuration that is still valid is used; when there is no valid configuration, the original order of candidates is used.

[0045]

[0046] in, To determine the effective count of expression j within the statistical window, Σn is the sum of the effective counts of all expressions of interest; It has a dimensionless weight, ranging from 0 to 1, and the sum of the weights is 1. When the denominator is 0, the indicator is not calculated, and the original order branch is used directly. The count list, statistics window, and normalization rules are written to the configuration version.

[0047]

[0048] Where Y represents the candidate text; A is the visibility range function actually used by the target retrieval interface; V is the visibility range coverage, ranging from 0 to 1; and I is an indicative function that takes 1 if the condition is met and 0 otherwise. In the fixed prefix character interface, A(Y) takes the first K code points of Y, where K is the existing interface configuration and is not temporarily adjusted by this method to obtain better results. The expression must fall completely within the visibility range; partial character hits cannot be used to impersonate a complete hit.

[0049]

[0050] Where C is the full-text coverage rate, ranging from 0 to 1, and is only used to record the expanded word coverage; it is not used to replace V for position comparison. When all candidates are within the full visible range of the interface, C and V may be the same, and candidate selection will revert to the result with fewer modifications according to the tie rule.

[0051]

[0052] Where O is the original text; M is the transformed record after covering and uniqueness checks; and R is the character recovery identifier, which is 0 or 1. The inverse transform must reconstruct O from the actual fragments of Y; the original text only participates in the final comparison and cannot be used as the direct return value of the inverse transform function. The digest uses SHA-256 (256-bit secure hash algorithm), and digest consistency cannot replace mapping structure checks.

[0053]

[0054] Here, E is the factual equivalence identifier, taking the value 0 or 1. The comparison includes subject, predicate, object, precise numerical value, unit, currency, time, region, negation, and conditional limitations; real aliases in newly added segments are normalized to the same subject, and equivalent units are normalized to the same numerical value. When the rule template cannot be determined, E does not take the value 1, but instead rejects the reordering or proceeds to review.

[0055]

[0056] Where T is the feature traceability completeness rate, ranging from 0 to 1. Valid additions must pass the checks on the subject, version, evidence content, and field semantics simultaneously; formal candidates require T=1, and fragments without evidence are not tolerated with a low threshold. Zero-addition candidates are not incorrectly rejected simply because no addition exists.

[0057]

[0058] Where P represents the candidate content permission, taking the value 0 or 1; L is the upper limit of the full payload length supported by the interface, in the number of agreed code points, and is set to 200 in a construction implementation. No redundant additions require that duplicate segments be from the same source, synonymous, and not add to the already frozen areas of interest; these segments have been deleted. P only judges the content and will not fail due to the existence of another candidate in the preparation area; the true uniqueness of the effect is controlled by conditional pointer switching, with the two responsibilities separated.

[0059] For example, the original material consists of four paragraphs: Project A's budget is 8 million yuan. Two candidates are generated: Y1: Project A's budget is 8 million yuan. This is in the original order. Y2: 8 million yuan is Project A's budget. This is a word order change. Both candidates satisfy T=1, meaning the material is fully covered; reversing the characters and facts, P=1, both are qualified candidates. Scenario 1: The interface can only read the first 10 characters: Y1 visible fragment: Project A's budget is 8 million, V=0.4. Y2 visible fragment: 8 million yuan is Project A's budget, V=0.9. Y2 is selected for external release (but not just the first 10 characters are output, the complete Y2 is output). Scenario 2: The interface can read the full text. If V is the same, then according to the preset rules, Y1 with the smaller word order change is preferred.

[0060] In one specific embodiment, the fact identifier is F-001 (the first constructed fact number), and the original text is "Project A's budget is 8 million yuan.", with the source version being version 3. Constructed evidence E-001 (the fact evidence number) explicitly states that the subject is Project A, the predicate is budget amount, the value is 800, the unit is 10,000 yuan, and the currency, time, and region are not declared. Its evidence field is currency; it does not supplement information such as year, county, purpose of funds, or other currency amounts not recorded in the source. The original text has 12 code points, and the original fragments are as follows: the first source fragment is "Project A's budget," source interval [0,5); the second source fragment is "is," source interval [5,6); the third source fragment is "8 million yuan," source interval [6,11); and the fourth source fragment is ".", source interval [11,12). The four intervals are continuous and do not overlap. The budget relationship template allows two limited expressions: "the main budget is a numerical value" and "the numerical value is the main budget"; this template is not applied when there are additional conditions or references.

[0061] After the statistical window closes, 10 valid queries are obtained, each containing exactly one expression of interest, satisfying the minimum sample size of 10: "8 million yuan" counts 6, "Project A" counts 3, and "budget" counts 1, with weights of 0.6, 0.3, and 0.1 respectively. In this example, the sum of the valid counts of all expressions of interest is 10. The configuration is saved as version 2, and the current online index does not take effect until the window closes. The target interface is constructed to create a term index only for the first 10 code points of the text, while saving the complete text as the return payload, where K is the prefix window length, K = 10; L is the upper limit of the complete payload, L = 200, both in code points.

[0062] The original order expansion candidate is "Project A's budget is 8 million yuan.", totaling 17 code points; the numerical pre-candidate is "8 million yuan is Project A's budget.", also totaling 17 code points. Both contain three expressions of interest in the full text, with C being 1 for both. The first 10 code points of the original order candidate do not completely contain "8 million yuan", V = 0.3 + 0.1 = 0.4; the first 10 code points of the numerical pre-candidate do contain "8 million yuan", V = 0.6. When both candidates pass content verification, the latter is selected. If the target interface reads all 17 code points, then the V for both candidates is 1, and the original order expansion candidate is selected based on the principle of less displacement. The output mapping of the numerical pre-candidate is: S3 is located in [0,5); S2 is located in [10,11); S1 is located in [11,16); S4 is located in [16,17). These intervals completely cover all 17 code points, each appearing once in the original fragment, and the newly added fragment has valid evidence.

[0063] Deleting only [5,10) yields "8 million yuan is the budget for Project A.", which cannot be directly considered as restoring the original text. Continuing to read S1, S2, S3, and S4 from the candidate actual intervals and concatenating them in the order of the source intervals, we obtain "The budget for Project A is 8 million yuan.", which is consistent with the original text's 12 code points and encoded bytes, so R=1. The input and output budget fact objects are the same, no new independent assertions are added, so E=1; all supplementary fragments are verified, so T=1; there are no redundant supplements, a single assertion is true, and 17≤200, therefore P=1.

[0064] If 800 in the output is changed to 801, the original text reconstructed by mapping will also contain 801, R=0, and the numerical equivalence check will fail simultaneously; the saved old original text cannot be directly used to backfill and claim successful restoration. If a source segment is repeated, a period is omitted, or the output intervals overlap, the overwrite and uniqueness checks will reject it first. Original order candidates with zero additions are processed as T=1, but still need to pass other content conditions.

[0065] Assuming the current valid pointer points to candidate version 11, the offline task constructs candidate version 12 based on the fact version 3 and the perspective version 2. While version 12 is in the preparation area, version 11 continues to be served; both exist in storage and do not constitute two searchable versions. After the content and index verification of version 12 are completed, the submission conditions require that the current pointer still points to version 11 and that the relevant versions are not invalid; after a successful atomic replacement, new requests read version 12.

[0066] If another task has already changed the pointer to version 13, and the conditional commit for version 12 fails, version 13 will not be affected. The failed task will reread the state and retry at most once; if a conflict still occurs, it will be queued for the next cycle. Requests that have read the version 11 snapshot before the switch can be completed, but a single request must not mix version 11 text with version 12 mappings.

[0067] The appearance of an organization's name in a user query does not imply that the name can be used as an alias for the source entity. If the alias review record points to another entity, the addition should be rejected, and it is prohibited to rewrite a product name as a corporate legal person's name without evidence. If the original example "Wanxiangjing completes the establishment of the AI ​​group standard for agricultural product circulation" needs to be expanded, the specific name relationship, such as "Wanxiangjing AI Trust Encyclopedia," should be confirmed by evidence from the same source; if no evidence is available, the original name should be retained, and the full company name should not be constructed. During retrieval verification, the fact identifiers, rankings, repetition counts, and text consistency of the top k results for each query are recorded for the four sets of indexes. The denominator of the recall rate uses a manually verified set of relevant facts. For ordinary term searches that are not position-sensitive, it should be expected that simple reordering may not result in any change. Without the original query results, index configuration, and evaluation logs, the constructed coverage rate or the percentage in the original draft should not be written as the achieved retrieval gain.

[0068] Using source-bound single atomic facts and frozen perspective configurations as input, a fragment identifier and source location table covering the original text is constructed; supplementary fragments are constructed based on verified homologous fields, candidates are formed through restricted expression templates, and the original fragment replacement and supplementary positions are recorded; reverse arrangement and supplementary stripping are performed from the candidate actual characters, and the equivalence of original text restoration and fact objects are verified respectively; a unique qualified candidate is selected according to the known search interface visibility range and frozen attention weight, and a unique valid search text is provided through unsearchable preparation state and conditional activation.

[0069] Complete coverage and one-to-one correspondence between source and output locations; joint verification of the main body, evidence content, validity period, and version of newly added fragments; cached original text must not be used to replace inverse transformation; template restrictions for negation and time-domain scope must be retained; definition of zero-addition traceability rate; complete expression coverage and stable parallel rules under location-sensitive interfaces; original order must be retained when there is no location basis; frozen statistical window and minimum sample requirements; limited retries for conditional submission conflicts; consistent snapshots must be bound to single online requests; rollback is prohibited under the condition that the old version is invalid.

[0070] This application proposes an interrelated mechanism that allows transformation under the same-origin evidence restriction, separately records original and supplementary fragments, reverse recovers and verifies fact objects from candidates, and selects unique text under stable perspectives and existing interface constraints. Auditing, hashing, and general version control, as supporting implementation elements of this mechanism, are layered according to necessity, and do not replace technical contributions by stacking general governance functions in parallel.

[0071] Additionally, evidence of common origin can come from structured fields, verified knowledge graph alias relationships, glossaries, or authorized interfaces; alternatives must not change the subject, fact version, and the content of the evidence must be consistent. Unit conversion uses precise ratios or numerical transformations with explicit rounding rules; rounding that might change the assertion is not considered an equivalent addition. Original fragment mappings can be saved using code point ranges, token ranges parsed by a fixed segmenter, or stable fragment identifiers; when using tokens, the information needed for lossless character recovery must still be retained. When using transformations that replace connectors, the original fragment, the replaced fragment, and the execution order are recorded separately; after the reverse operation is completed, actual character comparison is still performed, and semantic equivalence cannot be determined solely based on the completeness of the operation log. Perspective formation can use approved rule tags or existing classifier output; this implementation uses versioned rule tags and does not adjust classifier parameters. When the classifier cannot determine the query perspective, the query is excluded from the configuration statistics, and the reason for exclusion is retained; weights are not randomly assigned. Candidates can be generated using finite template enumeration or stable rules; the upper limit of the number of candidates, the rules for parallel ranking, and the original order fallback are fixed in the configuration. Index publishing can employ record-level transaction replacement, immutable index segments with atomic pointers, or index alias switching, but it must ensure that prepared candidates are unsearchable, old valid records are not prematurely deleted upon submission failure, and online requests maintain a consistent snapshot. When the target interface only supports full-text ordinary term retrieval, it uses same-source expansion that maintains the original order, and independently verifies the contribution of reordering, without defaulting to the effects of the prefix window implementation.

[0072] On the other hand, this application also proposes an atomic fact retrieval recall optimization device based on dual-strategy fusion, such as... Figure 5 As shown, the atomic fact retrieval and recall optimization device 100 based on dual-strategy fusion includes: an acquisition module 200, used to acquire source records and frozen configurations of the same fact version, and perform consistency verification on the source records and frozen configurations to obtain candidate fact data; a first processing module 300, used to parse the candidate fact data according to the grammar template version bound to the source record to obtain the original fragment covering the original text; a second processing module 400, used to replace or insert homologous supplementary fragments on the original fragments within the range allowed by the grammar template to obtain continuous fragments and transformation mapping records; a third processing module 500, used to filter the continuous fragments for homologous features, remove invalid evidence, and remove source conflicts to obtain candidate fragments; and a fourth processing module, used to perform inverse transformation restoration and character, summary, and semantic equivalence verification on the candidate fragments according to the transformation mapping records to obtain the final retrieval text.

[0073] In one embodiment, the acquisition module 200 is further configured to acquire, based on the freeze configuration, source records that are in an active state, have knowledge domain or retrieval scope coverage facts, have versioned syntax templates and interface versions available, and whose effective sample count and statistical time window meet the configuration requirements as candidate data.

[0074] In one embodiment, the first processing module 300 is further configured to identify the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction and punctuation of the candidate fact data according to the grammar template version of the source record, and to build an original fragment according to the Unicode code point order of the original text; the original fragment includes multiple consecutive and non-overlapping fragments, each fragment records the fragment identifier, source start and end interval, grammar role and fragment summary, and all fragment intervals together cover the original text.

[0075] Through the above technical solution, this application divides the original text into original fragments covering complete character sequences by reading a single source-bound fact and a frozen offline perspective configuration. Traceable supplementary fragments are constructed from the same factual evidence, and candidates are formed according to a limited, semantically defined expression template. Candidates record both the positional permutations of the original fragments and the output positions and evidence of the newly added fragments. Original fragments are extracted from the candidate text, and the source order is restored. Character recovery and normalized fact object equivalence are checked separately. Then, a unique candidate is selected based on the known visibility range of the target retrieval interface. After the candidate preparation is completed, the current valid pointer is conditionally switched. Online queries only read the already effective version and do not participate in this text generation. By separating the newly added fragment stripping, reversing the original fragment arrangement, and fact object equivalence checks, the method avoids mistakenly writing that semantic invariance necessarily means the characters will be the same after direct deletion. By separating the offline frozen perspective configuration from the online read-only retrieval, the method avoids multiple text versions overlapping due to concurrent queries. This method optimizes the retrieved text, making subsequent retrieval more accurate.

[0076] The atomic fact retrieval and retrieval optimization device 100 based on dual-strategy fusion includes a processor and a memory. The aforementioned acquisition module 200, first processing module 300, second processing module 400, third processing module 500, and fourth processing module 600 are all stored in the memory as program units. The processor executes the aforementioned program units stored in the memory to realize the corresponding functions.

[0077] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured; adjusting kernel parameters optimizes the searched text, making subsequent searches more accurate.

[0078] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0079] This invention provides a storage medium storing a program that, when executed by a processor, implements the atomic fact retrieval and recall optimization method based on dual-strategy fusion.

[0080] This invention provides a processor for running a program, wherein the program executes the atomic fact retrieval and recall optimization method based on dual-strategy fusion during runtime.

[0081] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: retrieving source records and frozen configurations of the same fact version; performing consistency checks on the source records and frozen configurations to obtain candidate fact data; parsing the candidate fact data according to the grammar template version bound to the source records to obtain original fragments covering the original text; within the range allowed by the grammar template, replacing or inserting homologous supplementary fragments into the original fragments to obtain continuous fragments and transformation mapping records; filtering the continuous fragments for homologous features, eliminating invalid evidence, and eliminating source conflicts to obtain candidate fragments; and performing inverse transformation restoration and character, summary, and semantic equivalence checks on the candidate fragments according to the transformation mapping records to obtain the final retrieval text. The device in this document can be a server, PC, PAD, mobile phone, etc.

[0082] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: taking source records and frozen configurations of the same fact version, performing consistency checks on the source records and frozen configurations to obtain candidate fact data; parsing the candidate fact data according to the grammar template version bound to the source records to obtain original fragments covering the original text; within the range allowed by the grammar template, replacing or inserting homologous supplementary fragments into the original fragments to obtain continuous fragments and transformation mapping records; filtering the continuous fragments for homologous features, eliminating invalid evidence, and eliminating source conflicts to obtain candidate fragments; and performing inverse transformation restoration and character, summary, and semantic equivalence checks on the candidate fragments according to the transformation mapping records to obtain the final retrieval text.

[0083] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0084] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0085] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0086] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0087] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0088] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0089] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0090] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0091] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. An atomic fact retrieval recall optimization method based on dual-strategy fusion, characterized in that, The method includes: Obtain source records and frozen configurations of the same fact version, and perform consistency verification on the source records and frozen configurations to obtain candidate fact data; Based on the grammar template version bound to the source record, the candidate fact data is parsed to obtain the original fragment covering the original text; Within the range allowed by the grammar template, the original fragment is replaced or a homologous supplementary fragment is inserted to obtain a continuous fragment and a transformation mapping record; Candidate segments are obtained by screening the continuous segments for homology features, eliminating invalid evidence, and eliminating source conflicts; The candidate fragments are inversely transformed and restored according to the transformation mapping record, and the final search text is obtained by verifying the character, summary and semantic equivalence.

2. The method according to claim 1, characterized in that, The source record includes the fact identifier, source version, original text, structure fields, evidence snapshot, subject identifier, evidence status, source validity period, and original text summary for the same fact version; The frozen configuration includes: frozen configuration version, statistical time window, knowledge domain or retrieval scope, effective query count, frequency of expressions of interest, field priority, minimum number of valid samples, configuration effective time, versioned syntax template, candidate parallel selection rules, and indexer identifier, word segmentation or encoding rule version, actual visible range, and upper limit of full text payload length for the target retrieval interface.

3. The method according to claim 1 or 2, characterized in that, The process of obtaining candidate fact data by performing consistency verification on the source record and the frozen configuration includes: Based on the aforementioned freeze configuration, source records that are in an active state, have knowledge domain or retrieval scope coverage, are available with versioned syntax templates and interface versions, and whose effective sample count and statistical time window meet the configuration requirements are selected as candidate data.

4. The method according to claim 1 or 2, characterized in that, The step of parsing the candidate fact data to obtain the original fragment covering the original text based on the syntax template version bound to the source record includes: Identify the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction and punctuation of the candidate fact data according to the grammar template version of the source record, in order to build the original fragment according to the Unicode code point order of the original text; The original segment comprises multiple consecutive and non-overlapping segments. Each segment records the segment identifier, source and end intervals, grammatical roles, and segment summary. All segment intervals collectively cover the original text.

5. The method according to claim 1 or 2, characterized in that, The process of filtering the continuous segments based on homology features, eliminating invalid evidence, and removing source conflicts to obtain candidate segments includes: By verifying the fact identifier, subject identifier, source version, evidence summary or evidence content, validity status, field semantics and applicable limitations of the continuous segments, the same source feature record is obtained; When consecutive segments that satisfy the homology feature come from the structural fields of the same fact, have been verified as aliases of the same subject, have been verified as terms or original values ​​and units, and no new subjects, predicates, objects, values ​​or limiting conditions are introduced, then the consecutive segments are included in the candidate segments. If the continuous segment contains only a reference address without verifying the text, the source has been withdrawn or expired, the subject is inconsistent, the value, time, region, or condition of the same field conflict with each other, the segment is repeated, or the segment generates at least one of the predicates, objects, values, or limiting conditions that do not exist in the input object after normalization, then the continuous segment cannot be introduced into the candidate segment.

6. The method according to claim 1 or 2, characterized in that, The step of performing inverse transformation and restoration of the candidate fragments based on the transformation mapping record, and performing character, summary, and semantic equivalence checks to obtain the final search text includes: Based on the transformation mapping record, additional new content is identified and removed from the candidate segments, and the original text is recovered from the actual character range of the candidate segments according to the original segment source position to obtain the recovered text; The recovered text and the original fragment are compared character by code point and byte by byte after UTF-8 encoding, and the recovered text digest and the original text digest are calculated according to a fixed encoding. The components bound to the candidate fragments are converted into normalized fact objects, which include at least a subject, predicate, object or precise numerical value, unit, currency, time, region, negation and condition limitation; The standardized fact objects are compared field by field, and the verified aliases of the same subject are normalized according to the subject mapping, and the equivalent units are converted according to fixed and precise rules. When the normalized fact object is consistent with the text summary, source text summary, and equivalent unit of the input fact object, and the number of newly added independent assertions is zero, the candidate fragment is the final search text.

7. An atomic fact retrieval and recall optimization device based on dual-strategy fusion, characterized in that, The device includes: The acquisition module is used to acquire source records and frozen configurations of the same fact version, and to perform consistency verification on the source records and frozen configurations to obtain candidate fact data; The first processing module is used to parse the candidate fact data according to the syntax template version bound to the source record to obtain the original fragment covering the original text; The second processing module is used to replace or insert homologous supplementary segments into the original segment within the range allowed by the syntax template to obtain continuous segments and transformation mapping records; The third processing module is used to filter the continuous segments for homology features, remove invalid evidence, and remove source conflicts to obtain candidate segments. The fourth processing module is used to perform inverse transformation restoration on the candidate fragments according to the transformation mapping record and to perform character, summary and semantic equivalence verification to obtain the final search text.

8. The apparatus according to claim 7, characterized in that, The process of obtaining candidate fact data by performing consistency verification on the source record and the frozen configuration includes: Based on the aforementioned freeze configuration, source records that are in an active state, have knowledge domain or retrieval scope coverage, are available with versioned syntax templates and interface versions, and whose effective sample count and statistical time window meet the configuration requirements are selected as candidate data.

9. The apparatus according to claim 7 or 8, characterized in that, The step of parsing the candidate fact data to obtain the original fragment covering the original text based on the syntax template version bound to the source record includes: Identify the subject, predicate, object, value, unit, time, region, negation word, condition qualifier, conjunction and punctuation of the candidate fact data according to the grammar template version of the source record, in order to build the original fragment according to the Unicode code point order of the original text; The original segment comprises multiple consecutive and non-overlapping segments. Each segment records the segment identifier, source and end intervals, grammatical roles, and segment summary. All segment intervals collectively cover the original text.

10. A machine-readable storage medium storing instructions thereon, characterized in that, This instruction is used to cause the machine to execute any one of the atomic fact retrieval and recall optimization methods based on dual-strategy fusion as described in claims 1-6 of this application.