Structured data retrieval method and device based on intent recognition, equipment and medium

By using dependency parsing and semantic role labeling, a structured intent description vector is generated, eliminating hierarchy and redundancy, and constructing a compact retrieval condition tree. This solves the problems of low retrieval accuracy and efficiency in existing technologies, and achieves efficient and accurate structured data retrieval.

CN123157751APending Publication Date: 2026-11-24BEIJING LEHU FUTURE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611385937.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately identify user intent in natural language queries and eliminate hierarchical redundancy and redundant storage in structured databases, resulting in search results that differ significantly from the user's true intent and are inefficient.

Method used

User intent is parsed through dependency parsing and semantic role labeling, generating a structured intent description vector. Combined with field type mapping and hierarchical redundancy determination, a compact structured search condition tree is constructed to eliminate redundant fields and optimize the search path.

Benefits of technology

It achieves high-precision and efficient structured data retrieval, reduces the scanning of irrelevant data tables and the reading of redundant fields, and significantly shortens the query response time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157751A_ABST
    Figure CN123157751A_ABST
Patent Text Reader

Abstract

This invention discloses a structured data retrieval method, apparatus, device, and medium based on intent recognition, belonging to the field of data retrieval technology. The method includes: acquiring an initial retrieval request, performing dependency parsing and semantic role labeling, and generating intent parsing results; determining target data structure features based on the intent parsing results, performing index field matching in a preset structured data index library, and generating a candidate index field set; eliminating redundancy in the candidate set based on the field attribute information of each index field, and generating a target index field sequence; constructing a structured retrieval condition tree based on the target index field sequence and the intent parsing results, and performing multi-level data location in the structured database accordingly to generate retrieval results. This invention integrates natural language understanding and structured index matching, achieving automatic conversion and precise location from unstructured requests to structured queries, improving retrieval accuracy and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data retrieval technology, specifically to a structured data retrieval method, apparatus, device, and medium based on intent recognition. Background Technology

[0002] When users search structured databases using natural language, their query intent is often implicit in unstructured expressions. Existing technologies for this scenario mainly rely on keyword matching or preset query templates, directly mapping words in the input request to database field names or table names, and combining them into query conditions based on simple Boolean logic. This type of method struggles to accurately identify the dependencies and semantic roles between components in the request. When the request expression changes or contains modifying or constraining information, the mapping results are prone to field pointing errors or logical combination errors, leading to a significant gap between the search results and the user's true intent.

[0003] Furthermore, when dealing with complex databases with hierarchical structures or nested relationships, the same search intent may correspond to multiple index fields with different hierarchical depths. Existing technologies typically generate a large set of candidate indexes during the matching phase, but subsequent processing lacks effective mechanisms to eliminate hierarchical relationships and storage redundancy between fields. The resulting search conditions often contain numerous field paths with overlapping functions or completely covered data ranges, significantly increasing the structural complexity of the condition tree and database traversal overhead, and slowing down the overall response speed due to repeated data extraction and comparison operations. How to parse accurate structured search intents from raw natural language requests and eliminate hierarchical redundancy and redundant storage in candidate index fields based on the intent is a prominent issue affecting search accuracy and efficiency. Summary of the Invention

[0004] The purpose of this invention is to provide a structured data retrieval method, apparatus, device, and medium based on intent recognition, so as to parse accurate structured retrieval intent from natural language requests and eliminate hierarchical redundancy and redundant storage in candidate fields before constructing retrieval conditions, thereby achieving high-precision and efficient structured data retrieval.

[0005] To achieve the above objectives, the present invention provides the following technical solution: The present invention provides a structured data retrieval method based on intent recognition, the method comprising:

[0006] The process involves: acquiring an initial search request from the target object; performing dependency parsing and semantic role labeling on the initial search request to obtain an intent parsing result; determining the target data structure features corresponding to the initial search request based on the intent parsing result; performing index field matching processing in a preset structured data index based on the target data structure features to obtain a candidate index field set; performing field redundancy elimination processing on the candidate index field set based on the field attribute information of each index field in the candidate index field set to obtain a target index field sequence; generating a structured search condition tree based on the target index field sequence and the intent parsing result; and performing multi-level data location processing in a structured database based on the structured search condition tree to obtain the structured data search result corresponding to the initial search request.

[0007] The above solution parses natural language search intent into a structured intent description, automatically directs it to the target data table and its associated index fields, and then performs redundancy pruning and priority sorting at the field level. Finally, it constructs a structured search condition tree with clear hierarchy and accurate positioning, which enables the search process to closely match the true semantics of the search request, significantly reduces cross-table scans of irrelevant data tables and repeated reading of redundant fields, and effectively reduces system resource consumption while improving search accuracy.

[0008] As a technical solution of the present invention, the process of obtaining the intent parsing result includes: performing word segmentation on the initial search request to obtain a word sequence and part-of-speech tagging results for each word; identifying dependency relationships in the word sequence based on the part-of-speech tagging results to generate a dependency structure graph between core words and modifying words; determining the search subject words and search constraint words based on the dependency structure graph, and performing semantic role classification processing on the search constraint words to obtain constraint type labels; associating and mapping the search subject words with the constraint type labels to generate a structured intent description vector containing the search subject identifier and at least one constraint condition pair. Thus, by introducing the joint processing of dependency parsing and semantic role tagging, the search subject and multi-dimensional constraints can be accurately extracted from the original query statement, forming a structured intent expression that can be uniformly understood by machines, providing a reliable basis for the accurate targeting of subsequent index fields.

[0009] Preferably, the process of generating the candidate index field set includes: extracting the retrieval subject identifier from the structured intent description vector, performing subject type matching in the field type mapping table to obtain the target data table type identifier; locating the target index data table in the structured data index library based on the target data table type identifier; extracting the constraint type label and constraint value of each constraint pair in the structured intent description vector, and performing field path tracing in the target index data table to obtain the candidate index field path corresponding to each constraint pair; and aggregating all candidate index field paths to form the candidate index field set. By mapping the retrieval subject to the data table type and tracing the constraint to the index field path, fuzzy retrieval intents can be automatically focused on a limited range of data tables and fields, achieving rapid convergence of the retrieval space.

[0010] Furthermore, the process of generating the target index field sequence includes: obtaining the field hierarchy depth and field inclusion relationship identifier of each candidate index field path in the candidate index field set, where the field inclusion relationship identifier represents the parent-child hierarchy relationship between fields; firstly, performing a first-level redundancy determination based on the field inclusion relationship identifier, and deleting the index field path corresponding to the child field when it is determined that the field pointed to by one index field path is the parent field of the field pointed to by another index field path, thus obtaining a first simplified index field set; then, performing a second-level redundancy determination on the first simplified index field set based on the field hierarchy depth, and deleting one of the redundant paths when it is determined that the field hierarchy depth of two index field paths is the same and the fields they point to have the same data storage location identifier, thus obtaining a second simplified index field set; finally, prioritizing the quantity of each candidate index field path according to the constraints corresponding to the structured intent description vector, thus generating the target index field sequence. This scheme eliminates redundancy in candidate index fields from two dimensions: parent-child hierarchy and sibling repetition. It can effectively remove unnecessary nested and duplicate fields during the retrieval process and prioritize the index fields most closely related to the retrieval constraints for subsequent retrieval. This helps reduce the complexity of condition tree construction and improve retrieval execution efficiency.

[0011] As another technical solution of the present invention, the process of generating structured data retrieval results includes: obtaining the field data reading interface of each target index field path in the target index field sequence, and extracting the corresponding field data value set from the structured database; obtaining the constraint operators of each constraint condition pair in the structured intent description vector, binding the constraint operators with the corresponding target index field paths to obtain an index field mapping table carrying operator constraints; generating a structured retrieval condition tree based on the index field mapping table, wherein the root node is the data table aggregation node corresponding to the retrieval subject identifier, the intermediate nodes are the index field path nodes in the target index field sequence, and the leaf nodes are the comparison and judgment nodes of constraint operators and field data value sets; performing a depth-first traversal on the structured retrieval condition tree, and during the traversal, passing the comparison and judgment results of the leaf nodes to the corresponding intermediate nodes for logical merging, and passing the logical merging results of the intermediate nodes upward to the root node for logical aggregation to obtain the retrieval result identifier set corresponding to the data table aggregation node; and extracting data rows from the structured database according to the retrieval result identifier set to form structured data retrieval results. By combining field value extraction, operator binding, and hierarchical construction of condition trees, the mapping relationship between search conditions and the original data structure is clearly expressed. Depth-first traversal and bottom-up logical merging ensure the correct execution of complex multi-condition searches, thereby accurately obtaining a structured set of records that meets the intent.

[0012] Preferably, the process of performing word segmentation on the initial retrieval request includes: performing maximum positive matching word segmentation on the initial retrieval request based on a preset industry terminology dictionary to obtain an initial word sequence, wherein the industry terminology dictionary includes stamping processing terms, glass forming terms, and electronic assembly terms; adjusting the word segmentation boundaries of the initial word sequence according to preset ambiguity resolution rules to obtain a word sequence; inputting the word sequence into a pre-trained part-of-speech tagging model, and using the conditional random field layer in the part-of-speech tagging model to predict the part-of-speech tag sequence for each word in the word sequence to obtain the part-of-speech tagging result. By integrating the industry terminology dictionary and ambiguity resolution rules, the problem of missed or incorrect segmentation by general word segmentation models in professional scenarios can be effectively solved, improving the accuracy of subsequent dependency parsing and thus ensuring the correct interpretation of the retrieval intent.

[0013] Preferably, the process of determining the target data table type identifier includes: performing subject synonym expansion matching in the field type mapping table based on the retrieval subject identifier to obtain at least one candidate data table type identifier and its matching confidence score; after sorting in descending order of matching confidence score, selecting the candidate data table type identifier with the highest matching confidence score as the target data table type identifier. Introducing the synonym expansion matching and confidence score ranking mechanism enables the retrieval system to flexibly handle situations where the same retrieval subject corresponds to multiple data table types, avoiding retrieval failures due to incomplete terminology coverage, and improving the system's robustness and retrieval hit rate.

[0014] This invention also provides a structured data retrieval device based on intent recognition, comprising: an intent parsing module, used to acquire an initial retrieval request input by a target object, perform dependency parsing and semantic role labeling on the initial retrieval request, and generate intent parsing results; an index matching module, used to determine the target data structure features based on the intent parsing results, and perform index field matching processing in a preset structured data index library to generate a candidate index field set; a field simplification module, used to perform field redundancy elimination processing based on the field attribute information of each index field in the candidate index field set, and generate a target index field sequence; and a conditional retrieval module, used to generate a structured retrieval condition tree based on the target index field sequence and the intent parsing results, and perform multi-level data location processing in the structured database to generate structured data retrieval results. The modules in this device work collaboratively, automatically converting natural language retrieval needs into precise queries on a structured database, effectively reducing the cost of manually writing complex query statements, and showing good application prospects in scenarios involving multi-source heterogeneous structured data, such as industrial manufacturing and assembly management.

[0015] The present invention also provides a structured data retrieval device based on intent recognition, including a processor and a memory, wherein the memory stores programs, instructions or code, and the processor is used to execute the programs, instructions or code to implement the above-described structured data retrieval method based on intent recognition.

[0016] The present invention also provides a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute the above-described structured data retrieval method based on intent recognition.

[0017] The technical effects and advantages provided by the present invention in the above technical solution are as follows:

[0018] The initial search request undergoes dependency parsing and semantic role labeling to extract the dependency structure relationship between the search subject and the search constraint terms. Based on semantic role classification, constraint terms are assigned constraint type labels, ultimately generating a structured intent description vector containing the search subject identifier and constraint pairs. This approach enables the system to extract structured intent expressions with clear search subjects and hierarchical constraint relationships from unstructured natural language expressions, rather than simply matching words and fields. The resulting intent parsing results accurately represent the user's true query target, avoiding field pointing errors or logical combination deviations caused by differences in expression methods, and providing a basis for precise positioning of subsequent indexed fields that aligns with the user's intent. Figure 1 The input basis.

[0019] After obtaining the candidate index field set, a first-level redundancy determination is performed based on the field inclusion relationship identifier of each candidate index field path. When it is confirmed that a field is the parent field of another field, the path pointing to the child field is deleted, generating a first simplified index field set. Further, a second-level redundancy determination is performed based on the field hierarchy depth and field data storage location identifier, deleting redundant paths with the same hierarchy depth and pointing to the same data storage location, obtaining a second simplified index field set. This multi-level redundancy elimination process introduces hierarchy coverage relationships and duplicate storage mapping relationships into the field filtering stage, ensuring that the ultimately retained index field paths do not overlap in data coverage and do not duplicate in storage location. When constructing a structured retrieval condition tree based on the simplified target index field sequence, the number of nodes is significantly reduced, the logical structure of the condition tree is more compact, and the number of data extraction and comparisons required for depth-first traversal is reduced accordingly, thereby significantly shortening the query response time while ensuring comprehensive retrieval coverage. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0021] Figure 1 This is a flowchart of a structured data retrieval method based on intent recognition;

[0022] Figure 2 This is a flowchart of the process for generating a structured intent description vector for a retrieval request;

[0023] Figure 3 This is a flowchart of a field path tracing method based on structured intent description vectors;

[0024] Figure 4 This is a flowchart of data retrieval processing based on a structured retrieval condition tree;

[0025] Figure 5 This is a flowchart of the retrieval request processing method. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0027] See Figure 1 This invention provides a structured data retrieval method based on intent recognition. The method acquires an initial retrieval request input from a target object, performs dependency parsing and semantic role labeling on the initial retrieval request, and generates an intent parsing result corresponding to the initial retrieval request. Based on the intent parsing result, it determines the target data structure features corresponding to the initial retrieval request, and performs index field matching processing in a preset structured data index library based on the target data structure features, generating a candidate index field set. Based on the field attribute information of each index field in the candidate index field set, it performs field redundancy elimination processing on the candidate index field set, generating a target index field sequence. Based on the target index field sequence and the intent parsing result, it generates a structured retrieval condition tree, and performs multi-level data location processing in a structured database based on the structured retrieval condition tree, generating the structured data retrieval result corresponding to the initial retrieval request.

[0028] The specific implementation methods are described in detail below.

[0029] Example 1

[0030] In specific implementation, please refer to Figure 2 After obtaining the initial search request from the target object, word segmentation is performed on the initial search request. The word segmentation process includes: filtering out non-text characters in the initial search request, and performing maximum positive matching segmentation on the initial search request based on a preset general word segmentation dictionary to generate an initial word sequence. The segmentation boundaries in the initial word sequence are adjusted using preset ambiguity resolution rules. The ambiguity resolution rules define the co-occurrence frequency threshold and syntactic cohesion standard between adjacent words. When adjacent words in the initial word sequence meet the ambiguity resolution rules, the adjacent words are merged or further segmented to obtain the adjusted word sequence.

[0031] In practice, the vocabulary sequence is input into a pre-trained part-of-speech tagging (POS) model, which employs a structure of a bidirectional encoder and a conditional random field (CRF) layer. The bidirectional encoder performs context encoding on each word in the vocabulary sequence, generating a contextual semantic representation vector for each word. The CRF layer then performs joint sequence label decoding on the contextual semantic representation vectors of all words in the vocabulary sequence, outputting the POS tagging result for each word in the vocabulary sequence. Each POS tag in the POS tagging result indicates the syntactic category of the corresponding word, which includes nouns, verbs, adjectives, adverbs, numerals, quantifiers, and prepositions.

[0032] In practice, dependency relation identification is performed on the lexical sequence based on the part-of-speech tagging results. This process is executed by a transition-based dependency parser, which includes a set of transition actions, a classifier, and shift actions (movement, left arc, and right arc). The parser sequentially reads the words and their part-of-speech tags from the lexical sequence, uses the classifier to predict the transition actions in the current parsing state, establishes dependency arcs between words by executing these actions, and labels the dependency relationships on these arcs. After traversing the lexical sequence, a dependency structure graph is generated. The nodes in the graph represent the words in the sequence, and the directed edges between nodes represent dependency arcs. The direction of the directed edges points from the core word to the modifying word, and the labels on the edges indicate the dependency relationship type, which includes subject-verb, verb-object, attributive-head, adverbial-head, and quantitative relationships. The dependency structure graph represents the dependency hierarchy and semantic associations between the core words and modifying words in the lexical sequence.

[0033] In practice, the primary and secondary search terms in the initial search request are determined based on the dependency structure graph. The process for determining the primary search terms is as follows: Noun nodes that function as subjects or objects are extracted from the dependency structure graph. When a subject-predicate relationship exists in the dependency structure graph, the noun node functioning as the subject in that relationship is identified as the primary search term. When a verb-object relationship exists, the noun node functioning as the object in that relationship is identified as the primary search term. When neither a subject-predicate nor a verb-object relationship exists, the noun node corresponding to the root node of the dependency structure graph is identified as the primary search term. The process for determining the secondary search terms is as follows: Modifiers that have dependency relationships with the primary search terms (attributive, adverbial, quantitative, or prepositional phrase relationships) are extracted as secondary search terms. These secondary modifiers, along with any secondary modifiers attached to them, are also extracted to form a complete set of secondary search terms.

[0034] In practice, semantic role classification is performed on the retrieval constraint terms to generate constraint type labels corresponding to the retrieval constraint terms. Semantic role classification is achieved by inputting the retrieval constraint terms, their attached secondary modifiers, and the dependency relationship types corresponding to the retrieval constraint terms into a rule-based semantic role mapper. The semantic role mapper maintains a mapping table between dependency relationship types and constraint type labels. In the mapping table, attributive-head relations are mapped to attribute labels, adverbial-head relations to state labels, quantitative relations to numerical labels, and prepositional phrases introducing time prepositions are mapped to time labels. The semantic role mapper queries the mapping table and outputs the corresponding constraint type labels based on the dependency relationship types associated with the retrieval constraint terms in the dependency structure graph. When multiple dependency relationship types exist for a retrieval constraint term, the constraint type labels are determined according to a priority rule: quantitative relations first, prepositional phrases second, and attributive-head relations third.

[0035] In practice, the search subject terms are associated and mapped with constraint type tags to generate a structured intent description vector corresponding to the initial search request. The text string of the search subject term is directly used as the search subject identifier, which is the subject field value of the structured intent description vector. For each search constraint term, the text string or numerical value of the search constraint term is converted into a constraint value, and the constraint type tag and constraint value are combined into a constraint condition pair, which consists of a constraint type tag field and a constraint value field. All constraint condition pairs are aggregated into a constraint list, and the search subject identifier is packaged with the constraint list to form a structured intent description vector. The structured intent description vector is stored in a key-value pair structure and contains the search subject identifier and at least one constraint condition pair.

[0036] Example 2

[0037] In specific implementation, please refer to Figure 3The system extracts the retrieval subject identifier from the structured intent description vector and uses this identifier as input for subject type matching. Subject type matching is performed by querying a field type mapping table, a pre-built mapping structure. The field type mapping table uses subject terms as index keys and data table type identifiers as mapping values. Each mapping record in the field type mapping table is associated with a subject term string and at least one data table type identifier. The process of querying the field type mapping table is as follows: the text string of the retrieval subject identifier is matched precisely with the subject terms in the field type mapping table. When the retrieval subject identifier matches a subject term in the field type mapping table, all corresponding data table type identifiers are extracted as candidate outputs. When the retrieval subject identifier cannot precisely match any subject term, the edit distance similarity between the retrieval subject identifier and each subject term in the field type mapping table is calculated, and the data table type identifiers corresponding to subject terms with an edit distance similarity exceeding a preset threshold of 0.8 are selected as candidate outputs. After subject type matching, a target data table type identifier corresponding to the initial search request is generated. The target data table type identifier is the identifier with the highest priority in the data table type identifier set. The priority is determined by the preset weight value of each data table type identifier in the field type mapping table. The preset weight value is preset based on the usage frequency statistics of the data table. The higher the usage frequency of the data table type identifier, the larger the preset weight value.

[0038] In practice, data table location processing is performed in the structured data index based on the target data table type identifier. The structured data index is organized using a hierarchical directory structure, with the top level being the data table type layer. This layer contains multiple type nodes named after the data table type identifier. Each type node has at least one data table instance node attached to it. The data table instance node stores the index metadata of the corresponding data table. This metadata includes the physical storage path of the data table in the structured database, a full list of indexed fields, and a field attribute document for each indexed field. The field attribute document records the field hierarchy depth, field inclusion relation identifier, and data storage location identifier of the indexed field. The data table location processing traverses the type nodes in the structured data index based on the target data table type identifier. After matching a type node with the same name as the target data table type identifier, all subordinate data table instance nodes are extracted from that type node. The data table described by all subordinate data table instance nodes is then identified as the target index data table.

[0039] In practice, the constraint type label and constraint value are extracted from the structured intent description vector for each constraint pair. For each constraint pair, the constraint type label and constraint value are used as input parameters for field path tracing. Field path tracing is performed within the index metadata of the target indexed data table, sequentially traversing each index field in the full index field list of the target indexed data table. Field semantic labels are extracted from the field attribute documents of each index field. These labels are pre-annotated to the index fields, and their label system is consistent with that of the constraint type labels, including attribute labels, status labels, numerical labels, and time labels. The similarity calculation formula is used to calculate the label matching score between the constraint type labels and the field semantic labels:

[0040]

[0041] in, This represents the tag matching score, with a value range of [0,1]. The label text representing the constraint type label; The label text representing the semantic label of the field; Let be the impulse function, when and If they are exactly the same, the value is 1; otherwise, the value is 0. This represents the semantic vector obtained by mapping the constraint type label through a word embedding model; This represents the semantic vector obtained by mapping the semantic labels of a field through a word embedding model; Represents the cosine similarity operator; Set the weight factor for label matching to 0.85. The value is determined based on the balance coefficient between the optimal exact match and semantic match, obtained through grid search on the labeled corpus. The search range is 0.70 to 0.95, with a step size of 0.05. The value that maximizes the tag matching accuracy is selected as the optimal value. The value of . When When the calculation result is greater than the preset label matching threshold of 0.75, it is determined that the index field and the constraint type label of the constraint condition pair are successfully matched, and the complete field path of the successfully matched index field in the target index data table is extracted as the candidate index field path.

[0042] In practice, the field path tracing process simultaneously performs field value range matching verification on the constraint values. This verification retrieves the field value range metadata of the index field pointed to by the candidate index field path in the structured database. This metadata records the minimum, maximum, or enumerated value set of the index field. The constraint value is then compared with the field value range metadata for inclusion. If the constraint value falls within the value range or matches any enumerated item in the enumerated value set, the candidate index field path is retained. If the constraint value exceeds the value range and does not match any enumerated item, the candidate index field path is discarded. After the field value range matching verification is complete, the retained candidate index field paths represent the field path tracing results for the corresponding constraint pair.

[0043] In practice, after performing field path tracing processing on all constraint pairs, each constraint pair generates its own corresponding candidate index field path. All candidate index field paths corresponding to all constraint pairs are then aggregated into a single set structure. A deduplication operation is performed on this set structure, removing candidate index field paths with identical strings. The remaining elements constitute the candidate index field set.

[0044] Example 3

[0045] In practice, after obtaining the candidate index field set, for each candidate index field path in the set, the corresponding field attribute document is extracted from the structured data index database. The field attribute document records the field hierarchy depth and the field inclusion relationship identifier. The field hierarchy depth indicates the position of the field pointed to by the candidate index field path within the field hierarchy tree of the target index table. The field hierarchy tree is structured with the root node of the table as level 1, the direct child fields of the root node as level 2, and so on. The field hierarchy depth is a positive integer. The field inclusion relationship identifier characterizes the parent-child hierarchy relationship between the field pointed to by the candidate index field path and other candidate index field paths. The identifier is a field path string pointing to the direct parent field. When the field pointed to by the candidate index field path is the root field of the field hierarchy tree, the field inclusion relationship identifier is set to null.

[0046] In practice, the first-level redundancy determination process is performed on the candidate index field set based on the field inclusion relationship identifier. The first-level redundancy determination process is as follows: all candidate index field paths in the candidate index field set are paired up, and parent-child relationship checks are performed on each pair. During the check, the complete path string of the first candidate index field path is obtained, and the field inclusion relationship identifier of the second candidate index field path is obtained. The field inclusion relationship identifier of the second candidate index field path is compared with that of the first candidate index field path. When the field inclusion relationship identifier of the second candidate index field path is exactly the same as that of the first candidate index field path, the field pointed to by the first candidate index field path is determined to be the parent field of the field pointed to by the second candidate index field path. When the field pointed to by the first candidate index field path is determined to be the parent field of the field pointed to by the second candidate index field path, a first redundancy mark is added to the second candidate index field path. After traversing all candidate index field path pairings and completing the redundancy mark, all candidate index field paths carrying the first redundancy mark are removed from the candidate index field set. The remaining candidate index field paths after removal constitute the first simplified index field set.

[0047] In practice, a second-level redundancy determination process is performed on the first simplified index field set based on the field hierarchy depth. The second-level redundancy determination process is as follows: The field hierarchy depth and data storage location identifier corresponding to each candidate index field path in the first simplified index field set are extracted. The data storage location identifier records the column identifier within the data table of the data table pointed to by the candidate index field path, and the data storage location identifier is a globally unique column code in the structured database. All candidate index field paths in the first simplified index field set are grouped according to their field hierarchy depth, with candidate index field paths of the same depth grouped together. For each depth group, the data storage location identifiers of any two candidate index field paths within the depth group are compared. When the data storage location identifier of the third candidate index field path is the same as that of the fourth candidate index field path, it is determined that the third and fourth candidate index field paths have the same field hierarchy depth and the fields they point to have the same data storage location identifier. A second redundancy mark is then added to the fourth candidate index field path. After completing the redundancy marking within all depth groups, remove all candidate index field paths carrying the second redundancy mark from the first simplified index field set. The remaining candidate index field paths after removal constitute the second simplified index field set.

[0048] In practice, a structured intent description vector is obtained, which records the correspondence between each constraint pair and the candidate index field path. For each candidate index field path in the second simplified index field set, the number of constraint pairs associated with the candidate index field path in the structured intent description vector is counted. This count involves traversing all constraint pairs in the structured intent description vector and checking whether the field path tracing result of each constraint pair includes the current candidate index field path. If it does, the count of the constraint pairs associated with the candidate index field path is incremented. After the count is completed, each candidate index field path corresponds to a count value of associated constraint pairs. Based on the count values ​​of associated constraint pairs, the candidate index field paths in the second simplified index field set are prioritized and sorted in descending order, with candidate index field paths having larger count values ​​appearing earlier. When two or more candidate index field paths have the same count value, they are sorted in ascending order according to the field level depth, with candidate index field paths having smaller field level depths appearing earlier. The ordered list of candidate index field paths obtained after sorting is the target index field sequence.

[0049] Example 4

[0050] In specific implementation, please refer to Figure 4 After obtaining the target index field sequence, for each target index field path in the target index field sequence, the field data reading interface corresponding to the index field of the target index field path is extracted from the structured data index database. The field data reading interface includes the connection configuration information of the structured database and the field data extraction template. The data extraction template uses a fragment of a structured query statement, and the data extraction template has embedded placeholder parameters to limit the returned data columns and data source tables. The data extraction template is concatenated with the data table name corresponding to the target data table type identifier to form a complete field data value extraction statement. By executing the field data value extraction statement, data extraction processing is performed in the structured database. The structured database returns all row data values ​​of the index field corresponding to the target index field path. These row data values ​​are then collected after removing null values ​​and forming a field data value set. One field data value set is generated for each target index field path.

[0051] In practice, constraint operators for each constraint pair are extracted from the structured intent description vector. These constraint operators are pre-generated during the intent parsing phase from comparison terms, range terms, or exclusion terms in the retrieved constraint vocabulary. Constraint operators include equal, greater than, less than, range inclusion, string inclusion, and inequality operators. The constraint operators, along with the constraint type labels and constraint values ​​in the constraint pairs, are jointly stored in the structured intent description vector. After obtaining the constraint operators, they are bound to the corresponding target index field paths. This binding involves creating mapping entries from the index field paths to the constraint operators and values. Each mapping entry contains three attributes: the target index field path, the constraint operator, and the constraint value. All mapping entries are aggregated into an index field mapping table carrying operator constraints.

[0052] In practice, a structured search condition tree is generated based on the index field mapping table carrying operator constraints. The construction process of the structured search condition tree is as follows: A root node is created, with a node type of data table aggregation node. The root node stores the target data table type identifier corresponding to the search subject identifier as the node identifier. For each target index field path in the target index field sequence, an intermediate node is created under the root node. The intermediate node's node type is index field path node, and the intermediate node stores the target index field path string as the node identifier. For the current target index field path, all mapping entries bound to that target index field path are extracted from the index field mapping table. For each mapping entry, a leaf node is created under the intermediate node. The leaf node's node type is comparison judgment node, and the leaf node stores the constraint operators and constraint values ​​in the mapping entry as comparison judgment logic. The leaf node is also associated with the set of field data values ​​corresponding to the target index field path, used to read data values ​​during comparison. The parent-child relationship of the structured search condition tree is defined: the root node is the top-level parent node, the intermediate nodes are children of the root node, and the leaf nodes are children of the intermediate nodes.

[0053] In practice, a depth-first traversal is performed on the structured retrieval condition tree. The depth-first traversal starts from the root node and proceeds along the path of intermediate nodes to the leaf nodes. When a leaf node is reached, a comparison judgment is performed. This comparison judgment generates a comparison result based on the constraint operators, constraint values, and associated field data value sets stored in the leaf node. For the equals operator, the comparison judgment traverses each data value in the field data value set; if any data value is exactly equal to the constraint value, the comparison judgment result of the leaf node is marked as true; otherwise, it is marked as false. For the greater than operator, if any data value is greater than the constraint value, it is marked as true. For the less than operator, if any data value is less than the constraint value, it is marked as true. For the range inclusion operator, the constraint value includes a lower bound and an upper bound; if any data value is greater than or equal to the lower bound and less than or equal to the upper bound, it is marked as true. For string inclusion operators, edit distance normalized matching degree is used to calculate the degree of inclusion between the checked data string and the constraint string. The matching degree score calculated at the leaf nodes is compared with a preset matching threshold. If the matching degree score is greater than or equal to the preset matching threshold, it is marked as true; otherwise, it is marked as false. The formula for calculating the matching degree score is:

[0054]

[0055] in, This represents a data string retrieved from the set of field data values; This represents the constraint string in the constraint value; express and The Lewinstein edit distance between them is the Lewinstein edit distance. Convert to The minimum number of character insertion, deletion, or replacement operations required; express The length of the characters; express The length of the characters; Indicates taking and The maximum of the two is used as the normalized denominator; This represents the matching score, ranging from [0,1]. A value closer to 1 indicates greater similarity between the two strings. The preset matching threshold is set to 0.85. This threshold is determined by analyzing the receiver operation characteristic curve on a standard string matching dataset, selecting the threshold point that maximizes the Youden index. The candidate threshold ranges from 0.70 to 0.95, with a step size of 0.05. 0.85 corresponds to the optimal decision point in terms of overall sensitivity and specificity. For inequality operators, if all data values ​​are not equal to the constraint values, the value is marked as true; otherwise, it is marked as false. After completing the comparison and judgment process, the leaf node passes the Boolean comparison and judgment result upwards to its corresponding intermediate node.

[0056] In practice, the intermediate node receives the comparison results from all its subordinate leaf nodes and performs a logical merge operation. This logical merge operation uses a logical AND operation, performing a logical AND operation on the comparison results of all leaf nodes under the intermediate node. That is, the intermediate node's logical merge result is true only if all leaf node comparison results are true; otherwise, the intermediate node's logical merge result is false. After generating the logical merge result, the intermediate node continues to propagate it upwards to the root node.

[0057] In practice, the root node receives the logical merge results from all its subordinate intermediate nodes and performs logical aggregation processing. This logical aggregation uses a logical AND aggregation method, performing a logical AND operation on the logical merge results of all intermediate nodes under the root node. The root node's logical aggregation result is true only if all the logical merge results of the intermediate nodes are true. If the root node's logical aggregation result is true, it indicates that a data row exists in the structured database where all constraints are met. In this case, the root node extracts a unique row identifier from the data row containing the set of field data values ​​that meets all constraints, and all row identifiers are aggregated into a search result identifier set. If the root node's logical aggregation result is false, the search result identifier set is empty.

[0058] In practice, data row extraction processing is performed in the structured database based on the set of identifiers in the search results. This data row extraction process uses the data table corresponding to the target data table type identifier as the query target and the row identifiers in the set of identifiers in the search results as query conditions to construct a row extraction query statement. The filtering condition for the row extraction query statement is that the row identifier column belongs to any identifier in the set of identifiers in the search results. After executing the row extraction query statement, the structured database returns the corresponding complete data row content, and the structured data retrieval results consist of these complete data row contents.

[0059] Example 5

[0060] In specific implementation, please refer to Figure 5After obtaining the initial search request, word segmentation processing is performed on it. The word segmentation process uses a maximum positive matching word segmentation algorithm based on an industry terminology dictionary. The industry terminology dictionary is a pre-constructed collection of professional domain terms, including subsets for stamping processing, glass forming, and electronic assembly. The stamping processing subset includes names of stamping processes, mold types, and stamped part features; the glass forming subset includes names of glass raw materials, forming processes, and glass product specifications; and the electronic assembly subset includes names of electronic components, assembly processes, and circuit board types. Each term in the industry terminology dictionary contains a term string and a word segmentation priority. The word segmentation priority is an integer from 1 to 10. The word segmentation priority for all terms in the stamping processing subset is 8, for all terms in the glass forming subset is 7, and for all terms in the electronic assembly subset is 9. The word segmentation priority is determined based on the frequency of occurrence of each industry term in historical search requests; the higher the frequency, the higher the word segmentation priority. The maximum forward matching segmentation process is as follows: The initial search request is scanned from beginning to end. Starting from the current scan position, the substring from the start point to the end of the initial search request is taken as the matching window. When the length of the matching window is greater than the longest term length in the industry terminology dictionary, the matching window length is truncated to the longest term length. The string within the matching window is then subjected to maximum forward matching with all term strings in the industry terminology dictionary. When the string within the matching window completely matches any term string in the industry terminology dictionary, the matched term string is segmented as a vocabulary unit, and the scan position jumps to the character position after the end of the matching window. When the string within the matching window does not match any term string, the matching window length is successively decreased by one character and the matching operation is repeated until the matching window length is reduced to one character. At this point, the single character at the current scan position is segmented as a vocabulary unit, and the scan position moves one character position to the right. This matching operation is repeated until the scan position reaches the end of the initial search request. All the segmented vocabulary units constitute the initial vocabulary sequence.

[0061] In practice, the initial word sequence is processed for segmentation boundary adjustment according to preset ambiguity resolution rules. These preset ambiguity resolution rules include adjacent word co-occurrence frequency rules and syntactic cohesion rules. The adjacent word co-occurrence frequency rules maintain a word pair co-occurrence frequency table, pre-constructed by statistically analyzing the co-occurrence frequencies of adjacent words in a large-scale manufacturing industry corpus. This table records the co-occurrence frequencies of the first word, the second word, and the first and second words as adjacent word pairs. The syntactic cohesion rules maintain a word cohesion threshold, set at 0.65. The threshold is determined by evaluating the boundary adjustment accuracy on a segmentation evaluation set for different threshold values. The threshold test range is 0.40 to 0.90, with a step size of 0.05. The threshold of 0.65, which achieves the highest boundary adjustment accuracy, is selected as the word cohesion threshold. The process of adjusting word segmentation boundaries is as follows: Iterate through each pair of adjacent words in the initial word sequence, using the adjacent word pair as the query key to query the word pair co-occurrence frequency table, obtain the co-occurrence frequency of the adjacent word pair, and normalize the co-occurrence frequency by dividing the adjacent word pair co-occurrence frequency by the maximum value of the co-occurrence frequencies of all adjacent word pairs in the initial word sequence to obtain the word pair cohesion score. When the word pair cohesion score is greater than the word cohesion threshold, the two currently adjacent words are merged into one word unit; when the word pair cohesion score is less than or equal to the word cohesion threshold and the cohesion score between the preceding and subsequent words in the adjacent word pair is greater than the word cohesion threshold, the current adjacent word boundary remains unchanged; when the word pair cohesion score is less than or equal to the word cohesion threshold and the cohesion score between the following and subsequent words in the adjacent word pair is greater than the word cohesion threshold, the current adjacent word boundary also remains unchanged; when none of the above conditions are met, the original boundaries in the initial word sequence are maintained. After traversing all adjacent word pairs and adjusting the boundaries of the initial word sequence, the adjusted word sequence is generated.

[0062] In practice, the word sequence is input into a pre-trained part-of-speech tagging model for tagging. The pre-trained model employs a neural network architecture combining a bidirectional long short-term memory (BSSM) network and a conditional random field (CRF) layer. The BSSM network consists of parallel forward and backward BSSM layers. The forward BSSM layer reads the word vector representation of each word in the order of the word sequence and outputs a forward hidden state vector. The backward BSSM layer reads the word vector representation of each word in reverse order and outputs a backward hidden state vector. The forward and backward hidden state vectors for each word are concatenated to generate a contextual semantic representation vector. The CRF layer follows the BSSM layer. It contains a transition feature matrix and a state feature vector. The transition feature matrix represents the score for transitioning from one part-of-speech tag to the next, and the state feature vector represents the score for tagging a word with a specific part-of-speech tag. The Conditional Random Field (CRF) layer receives contextual semantic representation vectors at all positions in the word sequence. It calculates a state feature score for each possible part-of-speech tag at each word position using the state feature vector, and calculates a transition feature score for the transition of part-of-speech tag pairs at adjacent positions using the transition feature matrix. The sum of the state feature scores and transition feature scores for the entire tag sequence yields the tag sequence score. The CRF layer employs the Viterbi algorithm to search for the optimal tag sequence among all possible tag sequences that maximizes the tag sequence score. Each part-of-speech tag in the optimal tag sequence is assigned to the corresponding word in the word sequence, generating the part-of-speech tagging result for each word in the word sequence.

[0063] The training process of the pre-trained part-of-speech tagging model is as follows: Labeled word sequence samples from the manufacturing industry are collected. Each sample contains a word sequence and its corresponding standard part-of-speech tag sequence. The tag for each word in the standard part-of-speech tag sequence is selected from a pre-defined part-of-speech tag set, which includes noun tags, verb tags, adjective tags, adverb tags, numeral tags, quantifier tags, and preposition tags. During training, the word sequence samples are input into the part-of-speech tagging model. A bidirectional long short-term memory network layer generates a contextual semantic representation vector. A conditional random field layer calculates the log-likelihood probability of all possible tag sequences. The training objective is to maximize the log-likelihood probability of the standard part-of-speech tag sequence. A stochastic gradient descent optimization algorithm is used to update all parameters of the bidirectional long short-term memory network layer and the conditional random field layer. The training parameters were set as follows: the learning rate for the stochastic gradient descent optimization algorithm was set to 0.001, the momentum coefficient was set to 0.9, the batch size was set to 64 samples, the training iterations were set to 100 epochs, the dimension of the word vector representation was set to 200, and the dimension of the hidden state vectors of both the forward and backward long short-term memory network layers was set to 150. An early stopping strategy was adopted during training; training was terminated when the part-of-speech tagging accuracy on the validation set no longer improved after 5 consecutive iterations.

[0064] In practice, the subject synonym expansion matching process is performed in the field type mapping table based on the retrieval subject identifier. When constructing the field type mapping table, a synonym set is recorded for each subject term. This synonym set is jointly constructed using an external general thesaurus and an industry terminology synonym lookup table. Each synonym in the synonym set has a synonym relationship with the subject term. The subject synonym expansion matching process is as follows: the text string of the retrieval subject identifier is matched against all synonyms in all subject terms and their synonym sets in the field type mapping table. When the retrieval subject identifier completely matches a subject term itself, the data table type identifier corresponding to that subject term is added to the candidate set, and the matching confidence is recorded as 1.0. When the retrieval subject identifier cannot match any subject term itself but completely matches a synonym in the subject term's synonym set, the data table type identifier corresponding to the subject term to which that synonym belongs is added to the candidate set, and the matching confidence is calculated according to the following formula:

[0065]

[0066] in, This represents the match confidence level, with a value range of (0,1). This represents the synonym hierarchy distance between the text string representing the search subject and its matched synonyms. The synonym hierarchy distance is calculated using a thesaurus, with the subject word as the root node. The root node's hierarchy number is 0, the direct synonyms of the root node's hierarchy number is 1, the direct synonyms' hierarchy number is 2, and so on. The value is a positive integer, and it occurs when the match occurs with a direct synonym. A value of 1 indicates that the match occurs when a second-level synonym is matched. The value is 2. It does not exceed the maximum depth of the thesaurus. Synonymous confidence decay factor Set to 0.80. The determination method is as follows: on the field matching validation dataset... Different values ​​were used to perform matching confidence calibration tests, with a test range of 0.50 to 1.00 and a step size of 0.05. 0.80 was selected as the value that maximized the correlation coefficient between the matching confidence and the human assessment. When the retrieval subject identifier could not match any subject vocabulary or any word in its synonym set, the edit distance similarity between the text string of the retrieval subject identifier and all subject vocabulary in the field type mapping table was calculated. The data table type identifiers corresponding to subject vocabulary with an edit distance similarity exceeding a preset similarity threshold of 0.75 were added to the candidate set, and the edit distance similarity value was directly used as the matching confidence. After subject synonym expansion matching, at least one candidate data table type identifier corresponding to the retrieval subject identifier and the matching confidence corresponding to each candidate data table type identifier were generated.

[0067] In practice, at least one candidate table type identifier is sorted in descending order based on its matching confidence score. This descending sorting uses a comparison sorting algorithm, arranging the candidate table type identifiers from highest to lowest matching confidence score. When two or more candidate table type identifiers have the same matching confidence score, they are further sorted in descending order based on the number of rows in the structured database corresponding to each identifier, with the identifier having more rows appearing first. After descending sorting, a sequence of candidate table type identifiers is generated, with the first element of this sequence representing the candidate table type identifier with the highest matching confidence score. The first element of the sequence is then selected as the target table type identifier.

[0068] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A structured data retrieval method based on intent recognition, characterized in that, The method includes: The system obtains the initial retrieval request input from the target object, performs dependency parsing and semantic role labeling on the initial retrieval request, and generates the intent parsing result corresponding to the initial retrieval request. Based on the intent parsing results, the target data structure features corresponding to the initial retrieval request are determined, and index field matching processing is performed in the preset structured data index library based on the target data structure features to generate a candidate index field set; Based on the field attribute information of each index field in the candidate index field set, the candidate index field set is subjected to field redundancy elimination processing to generate the target index field sequence; A structured search condition tree is generated based on the target index field sequence and the intent parsing result. Multi-level data location processing is then performed in the structured database based on the structured search condition tree to generate the structured data search result corresponding to the initial search request.

2. The structured data retrieval method based on intent recognition according to claim 1, characterized in that, The generation of the intent parsing result corresponding to the initial search request includes: The initial retrieval request is processed by word segmentation to generate a word sequence corresponding to the initial retrieval request, and the part-of-speech tagging result of each word in the word sequence is determined. Based on the part-of-speech tagging results, dependency relationship recognition processing is performed on the vocabulary sequence to generate a dependency structure relationship graph between core words and modifier words in the vocabulary sequence. Based on the dependency structure graph, the search subject terms and search constraint terms in the initial search request are determined, and semantic role classification processing is performed on the search constraint terms to generate constraint type labels corresponding to the search constraint terms. The search subject terms are associated and mapped with the constraint type labels to generate a structured intent description vector corresponding to the initial search request. The structured intent description vector contains the search subject identifier and at least one constraint condition pair.

3. The structured data retrieval method based on intent recognition according to claim 2, characterized in that, The set of candidate index fields to be generated includes: Extract the retrieval subject identifier from the structured intent description vector, and perform subject type matching processing in the field type mapping table based on the retrieval subject identifier to generate the target data table type identifier corresponding to the initial retrieval request; Based on the target data table type identifier, perform data table location processing in the structured data index library to generate the target index data table corresponding to the target data table type identifier; Extract the constraint type label and constraint value contained in each constraint pair in the structured intent description vector, and perform field path tracing processing in the target index data table according to the constraint type label and the constraint value to generate the candidate index field path corresponding to each constraint pair; All candidate index field paths are aggregated to generate the candidate index field set.

4. The structured data retrieval method based on intent recognition according to claim 3, characterized in that, The generated target index field sequence includes: Obtain the field hierarchy depth and field inclusion relationship identifier corresponding to each candidate index field path in the candidate index field set. The field inclusion relationship identifier is used to characterize the parent-child hierarchy relationship between the field pointed to by the current candidate index field path and the field pointed to by other candidate index field paths. Based on the field inclusion relationship identifier, the candidate index field set is subjected to a first-level redundancy determination process. When it is determined that the field pointed to by the first candidate index field path is the parent field of the field pointed to by the second candidate index field path, the second candidate index field path is deleted from the candidate index field set, and a first simplified index field set is generated. The first simplified index field set is subjected to a second-level redundancy determination process based on the field level depth. When it is determined that the field level depth of the third candidate index field path and the fourth candidate index field path are the same and the fields they point to have the same data storage location identifier, the fourth candidate index field path is deleted from the first simplified index field set to generate a second simplified index field set. Based on the number of constraint pairs corresponding to each candidate index field path in the structured intent description vector, priority sorting is performed on the candidate index field paths in the second simplified index field set to generate the target index field sequence.

5. The structured data retrieval method based on intent recognition according to claim 4, characterized in that, Generating the structured data retrieval results corresponding to the initial retrieval request includes: Obtain the field data reading interface corresponding to each target index field path in the target index field sequence, and perform data extraction processing in the structured database according to the field data reading interface to generate a set of field data values ​​corresponding to each target index field path; Obtain the constraint operator corresponding to each constraint condition pair in the structured intent description vector, and bind the constraint operator to the corresponding target index field path to generate an index field mapping table carrying operator constraints; The structured retrieval condition tree is generated based on the index field mapping table carrying operator constraints. The root node of the structured retrieval condition tree is the data table aggregation node corresponding to the retrieval subject identifier. The intermediate nodes of the structured retrieval condition tree are the index field path nodes in the target index field sequence. The leaf nodes of the structured retrieval condition tree are the comparison and judgment nodes between constraint operators and the set of field data values. A depth-first traversal is performed on the structured retrieval condition tree. During the traversal, the comparison and judgment results of the leaf nodes are passed to the corresponding intermediate nodes for logical merging. The logical merging results of the intermediate nodes are then passed up to the root node for logical aggregation, generating a set of retrieval result identifiers corresponding to the data table aggregation node. Based on the set of identifiers for the search results, data row extraction processing is performed in the structured database to generate the structured data search results.

6. The structured data retrieval method based on intent recognition according to claim 2, characterized in that, The initial search request is processed by word segmentation to generate a word sequence corresponding to the initial search request, and the part-of-speech tagging result of each word in the word sequence is determined, including: The initial search request is processed by maximum positive matching word segmentation according to a preset industry terminology dictionary to generate an initial word sequence. The industry terminology dictionary includes stamping processing terms, glass forming terms, and electronic assembly terms. The initial word sequence is processed by word segmentation boundary adjustment according to the preset ambiguity elimination rules to generate the word sequence. The vocabulary sequence is input into a pre-trained part-of-speech tagging model. The part-of-speech tagging result is generated by performing part-of-speech tag sequence prediction processing on each word in the vocabulary sequence through the conditional random field layer in the part-of-speech tagging model.

7. The structured data retrieval method based on intent recognition according to claim 3, characterized in that, The generation of the target data table type identifier corresponding to the initial retrieval request includes: Based on the retrieval subject identifier, perform subject synonym expansion matching processing in the field type mapping table to generate at least one candidate data table type identifier corresponding to the retrieval subject identifier and a matching confidence level corresponding to each candidate data table type identifier; Based on the matching confidence, the at least one candidate data table type identifier is sorted in descending order to generate a candidate data table type identifier sequence. The candidate data table type identifier with the highest matching confidence is selected from the candidate data table type identifier sequence as the target data table type identifier.

8. A structured data retrieval device based on intent recognition, used to implement the structured data retrieval method based on intent recognition as described in any one of claims 1 to 7, characterized in that, The device includes: The intent parsing module is used to obtain the initial retrieval request input by the target object, and to perform dependency parsing and semantic role labeling on the initial retrieval request to generate the intent parsing result corresponding to the initial retrieval request; The index matching module is used to determine the target data structure features corresponding to the initial retrieval request based on the intent parsing result, and to perform index field matching processing in a preset structured data index library based on the target data structure features to generate a candidate index field set. The field simplification module is used to perform field redundancy elimination processing on the candidate index field set based on the field attribute information of each index field in the candidate index field set, and generate the target index field sequence; The conditional retrieval module is used to generate a structured retrieval condition tree based on the target index field sequence and the intent parsing result, and to perform multi-level data location processing in the structured database based on the structured retrieval condition tree to generate the structured data retrieval result corresponding to the initial retrieval request.

9. A structured data retrieval device based on intent recognition, characterized in that, The device includes a processor and a memory connected to the processor. The memory is used to store programs, instructions, or code, and the processor is used to execute the programs, instructions, or code in the memory to implement the structured data retrieval method based on intent recognition as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to execute the intent-based structured data retrieval method according to any one of claims 1-7.