Field classification and grading method for power data governance retrieval enhancement decision

By normalizing and vectorizing the field metadata in power data governance using synonyms, and combining dense vectors and sparse keyword retrieval, accurate classification and grading results are generated. This solves the problem of classification instability caused by differences in field naming in the power industry, and improves processing efficiency and result consistency.

CN123138937APending Publication Date: 2026-11-20INFORMATION & TELECOMM COMPANY SICHUAN ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The different field naming conventions of various business systems in the power industry make it difficult for existing classification and grading methods to accurately handle cases of English abbreviations, pinyin abbreviations, or missing metadata. This results in unstable classification results, a large number of low-quality candidate results, repetitive manual review work, insufficient reuse of historical correction information, and difficulty in continuous maintenance.

Method used

By acquiring the metadata of the field to be classified, performing synonym normalization and missing tagging, generating semantic description text of the field, and vectorizing it with the hierarchical semantic text of the baseline classification list, calculating cosine similarity to generate candidate classification paths, combining dense vector retrieval and sparse keyword retrieval, using a preset knowledge base to generate recommended classification and grading results, and finally the review end determines the target classification and grading results.

Benefits of technology

This improved the accuracy and consistency of field classification, reduced redundant audits, enhanced the reuse of historical correction information, and ensured the continuous maintenance and efficient processing of classification and grading results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138937A_ABST
    Figure CN123138937A_ABST
Patent Text Reader

Abstract

The application discloses a field classification and grading method for power data governance search and decision enhancement, relates to the technical field of power industry data governance and data classification and grading, and specifically comprises the following steps: obtaining field metadata to be classified and a baseline classification list, performing synonym normalization, missing mark, text splicing and hierarchical path splicing, generating field semantic description text and baseline hierarchical semantic text, calculating cosine similarity after vectorization coding, generating a candidate classification path and classification confidence, performing dense vector search, sparse keyword search and search enhancement generation processing on the field with medium confidence, obtaining a recommended classification and grading result, and determining a target classification and grading result through auditing. The application can combine field context, baseline hierarchy and search evidence for classification and grading, reduce low-quality candidates and repeated auditing, and improve the efficiency of field classification and grading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data governance and data classification and grading technology in the power industry, specifically to a field classification and grading method for enhancing decision-making in power data governance retrieval. Background Technology

[0002] In the process of data governance in the power industry, business systems such as marketing, production, dispatching, finance, and comprehensive management continuously generate a large number of database fields. Fields from different business systems need to be processed according to a unified data classification and grading baseline to determine the business category, data sensitivity level, and corresponding management attributes of the fields, and the processing results should be written into the data asset catalog, data governance ledger, or relevant business systems.

[0003] Current data field classification and grading typically employs manual classification, keyword matching tools, or rule engines. Manual classification usually involves business personnel determining the classification path and sensitivity level of each field by comparing it against a baseline list, based on metadata such as field name, Chinese name, field notes, table name, table name, and business expertise. Keyword matching tools typically perform literal matching between keywords in the field name, Chinese name, or notes and the classification names in the baseline list. Rule engines typically output classification suggestions based on field naming conventions, field types, table name characteristics, or preset business rules.

[0004] However, field naming conventions differ across different business systems within the power industry. Some fields use English abbreviations, pinyin abbreviations, or common short identifiers; the same field name may have different business meanings in different tables, systems, or business specialties; and some fields lack Chinese names, field notes, or table descriptions. In such scenarios, processing based solely on field names or single metadata information can easily lead to inconsistencies between the field classification results and their actual business meanings.

[0005] Furthermore, classification and grading baseline lists, business terminology descriptions, sensitive data identification rules, historical audit records, and manual correction information are typically scattered across different data files, management systems, or business documents. Existing tools struggle to effectively utilize the relationships between these documents, resulting in similar fields receiving different classification suggestions in different batches of processing. This necessitates manual reviewers repeatedly consulting table structure descriptions, business documents, and existing audit results.

[0006] The aforementioned situations can lead to problems such as unstable field classification results, a large number of low-quality candidate results, repetitive manual review work, insufficient reuse of historical correction information, and difficulty in continuously maintaining classification and grading results. When there are many fields, complex business systems, or continuously updated baseline classification lists, traditional processing methods struggle to balance field processing efficiency, classification accuracy, and the continued use of review results. Therefore, this invention proposes a field classification and grading method for enhancing decision-making in power data governance retrieval. Summary of the Invention

[0007] To address the shortcomings of existing technologies, the present invention aims to provide a field classification and grading method for enhancing decision-making in power data governance retrieval.

[0008] To achieve the above objectives, the present invention provides the following technical solution: A field classification and grading method for enhancing decision-making in power data governance retrieval includes: Obtain the field metadata and baseline classification list of the field to be classified. Perform synonym normalization, missing data marking and text concatenation on the field metadata to obtain the field semantic description text. Concatenate the category data in the baseline classification list according to the hierarchical path to obtain the baseline hierarchical semantic text. The semantic description text of the field and the semantic text of the baseline hierarchy are vectorized and encoded to obtain the semantic feature vector of the field and the semantic vector of the baseline classification. The cosine similarity between the semantic feature vector of the field and the semantic vector of the baseline classification is calculated, and candidate classification paths and classification confidence are generated according to the hierarchical relationship of the baseline classification list. When the classification confidence is greater than or equal to the first confidence threshold, an initial classification and grading result is generated based on the candidate classification path; When the classification confidence is less than the first confidence threshold but greater than or equal to the second confidence threshold, dense vector retrieval and sparse keyword retrieval are performed on the field metadata in the preset classification and grading knowledge base to obtain the retrieval evidence set. The candidate classification path and the retrieval evidence set are then input into the preset retrieval enhancement generation model to obtain the recommended classification and grading results. The initial or recommended classification results are output to the review end, and the target classification result of the field to be classified is determined based on the review result of the review end.

[0009] Furthermore, the category data in the baseline classification list is concatenated according to the hierarchical path, including: extracting the major category, one or more intermediate hierarchical categories, and the final category corresponding to each final category in the baseline classification list; concatenating them into hierarchical path text in the order from major category to final category; and writing the category name, category alias, category description, and corresponding sensitivity level into the hierarchical path text to obtain the baseline hierarchical semantic text.

[0010] Further, candidate classification paths and classification confidence scores are generated, including: calculating the cosine similarity between the field semantic feature vector and the baseline classification semantic vector corresponding to the major category in the baseline classification list to determine the major category candidates; calculating the cosine similarity between the field semantic feature vector and the baseline classification semantic vector corresponding to the lower-level category within the major category candidate to obtain the candidate classification path; and generating classification confidence scores based on the cosine similarity of the final-level category in the candidate classification path, the completeness of field metadata, the business professional matching situation, and the matching situation of the system to which it belongs.

[0011] Further, the classification confidence score is generated, including: determining the completeness of field metadata based on missing markers for the Chinese field name, field remarks, Chinese table name, business specialty, and system name in the field metadata; determining the business specialty matching based on the consistency between the business specialty in the field metadata and the category business specialty corresponding to the candidate classification path; determining the system matching based on the association between the system name to which the field metadata belongs and the system name corresponding to the same classification path in historical audit records; normalizing the cosine similarity of the last-level categories in the candidate classification path to obtain the normalized similarity; and generating the classification confidence score by weighting the normalized similarity, the completeness of field metadata, the business specialty matching, and the system matching.

[0012] Further, generating initial classification and grading results based on candidate classification paths includes: reading the final category and sensitivity level corresponding to the candidate classification path in the baseline classification list; when all categories in the candidate classification path belong to the same level path, combining the candidate classification path, sensitivity level, and classification confidence into the initial classification and grading results.

[0013] Furthermore, dense vector retrieval and sparse keyword retrieval are performed on the field metadata, including: using the field semantic description text as the retrieval query, performing semantic vector retrieval in a preset classification and hierarchical knowledge base to obtain semantically similar knowledge fragments; performing keyword retrieval based on field name, field Chinese name, field remarks, table Chinese name, and keywords in business specialties to obtain keyword-hit knowledge fragments; and generating a retrieval evidence set after deduplicating and sorting the semantically similar knowledge fragments and keyword-hit knowledge fragments.

[0014] Furthermore, the preset classification and grading knowledge base includes a classification and grading baseline list, classification and grading work guidelines, a negative list, sensitive data identification rules, historical manual classification correction records, a power industry data dictionary, and a business terminology database; the retrieval evidence set includes knowledge fragment content, knowledge fragment source, knowledge fragment corresponding category, and knowledge fragment version information.

[0015] Furthermore, the recommended classification and grading results are obtained by: concatenating field metadata, candidate classification paths, and retrieval evidence sets into a prompt context; inputting the prompt context into a preset retrieval enhancement generation model, and outputting a recommended classification path, sensitivity level, decision basis, citation source, and recommendation confidence; and combining the recommended classification path, sensitivity level, citation source, and recommendation confidence into a recommended classification and grading result.

[0016] Furthermore, the target classification and grading result for the field to be classified is determined based on the review results from the reviewer. This includes: receiving review results from the reviewer regarding the initial classification and grading result or the recommended classification and grading result, such as adoption, revision, suspected, not in the baseline list, or undeterminable; when the review result is adoption, the corresponding result is determined as the target classification and grading result; when the review result is revision, the revised result is determined as the target classification and grading result; when the review result is suspected, the field to be classified is written to the pending pool; when the review result is not in the baseline list, the field to be classified is written to the new category pending processing pool; when the review result is undeterminable, a metadata supplementation task is generated.

[0017] Furthermore, the method also includes: writing fields whose review results are adopted and their target classification and grading results into a positive sample set; writing fields whose review results are revised, the results before revision, and the results after revision into a comparison sample set; updating the domain semantic vector model based on the positive sample set and the comparison sample set; adjusting the first confidence threshold and the second confidence threshold based on the revision results; and writing the revised results after quality review and the incremental results of new categories to be processed into a preset classification and grading knowledge base.

[0018] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention generates field semantic description text and baseline hierarchical semantic text based on field metadata and baseline classification list. It performs segmented encoding and weighted fusion through domain semantic vector model, so that the field semantic feature vector reflects the field identifier, table structure context and business affiliation at the same time, and the baseline classification semantic vector reflects the category level, category description and sensitivity level at the same time. Even if the power business system has English abbreviations, pinyin abbreviations, fields with the same name or missing metadata, it can generate candidate classification paths based on business context, reducing cross-level mismatches caused by relying solely on field name or keyword matching.

[0019] 2. This invention generates candidate classification paths and classification confidence scores by using the hierarchical cosine similarity between the semantic feature vector of a field and the baseline classification semantic vector. When the classification confidence score is between the first and second confidence thresholds, dense vector retrieval and sparse keyword retrieval are performed on the preset classification and grading knowledge base under the constraint of the candidate classification path. The retrieval enhancement generation model outputs recommended classification and grading results, thereby enabling high-confidence fields to directly form initial results, and allowing medium- and low-confidence fields to undergo secondary verification by combining knowledge fragments, historical correction records, and business terms, avoiding the problems of simple semantic matching lacking evidence or simple retrieval lacking candidate constraints.

[0020] 3. This invention transforms five types of review results—adoption, revision, suspected, not on the baseline list, and indeterminate—into calculable feedback data. Adoption results are written into the positive sample set, revision results into the comparison sample set, and incremental updates of new category pending results and revision results after quality review are written into a preset classification and grading knowledge base. The first and second confidence thresholds are adjusted based on the revision results. Manual review is no longer just a final confirmation result but participates in updating the domain semantic vector model, correcting thresholds, and expanding retrieval evidence, enabling subsequent similar fields to reuse existing review conclusions, reducing duplicate reviews, and improving the consistency of classification and grading results. Attached Figure Description

[0021] Figure 1 A flowchart illustrating a field classification and grading method to enhance decision-making for power data governance retrieval; Figure 2 A flowchart illustrating the process of generating candidate classification paths and classification confidence scores; Figure 3 This is a flowchart illustrating the process of determining the target classification and grading results for fields to be classified based on the review results from the review end. Detailed Implementation

[0022] Example 1: This embodiment provides a field classification and grading method for enhancing decision-making in power data governance retrieval, referring to... Figure 1 The method includes the following steps: S1. Obtain the field metadata and baseline classification list for the fields to be classified.

[0023] The fields to be classified are database fields in the power business system that require classification and grading. The power business system includes marketing, production, dispatching, finance, and integrated management systems. Field metadata is read from the data dictionary, database table structure files, metadata ledgers, and data governance ledgers of these business systems.

[0024] Field metadata includes the field name, Chinese field name, field remarks, table name, table name, business specialty, and system name. The field name is the technical identifier of the database field; the Chinese field name is the Chinese description of the field in the business system; the field remarks are the field description recorded in the database table structure or data dictionary; the table name is the technical name of the database table to which the field resides; the table name is the Chinese business name of the database table to which the field resides; the business specialty is the power industry specialty to which the field belongs; and the system name is the name of the business system from which the field originates.

[0025] Generate a field record identifier for each field to be categorized. The field record identifier is a combination of the system name, the table name, and the field name, used to distinguish fields with the same name in different business systems or different database tables. When the field name or the table name is empty, the field record identifier cannot be generated, and a metadata supplementation task is generated; when the Chinese field name, field remarks, Chinese table name, business specialty, or system name is empty, the field record is retained, and the corresponding missing marker is written in subsequent steps.

[0026] The baseline classification list includes a category identifier, category name, parent category identifier, hierarchical order, category alias, category description, and sensitivity level. The category identifier uniquely identifies a category node in the baseline classification list; the parent category identifier indicates the hierarchical relationship between this category node and its parent category nodes; and the sensitivity level indicates the degree of data sensitivity corresponding to this category node.

[0027] In this embodiment, the baseline classification list also includes the baseline version number, effective time, and expiration time.

[0028] S2. Perform synonym normalization, missing data marking, and text concatenation on the field metadata to obtain the field semantic description text, and concatenate the category data in the baseline classification list according to the hierarchical path to obtain the baseline hierarchical semantic text.

[0029] In this embodiment of the invention, a preset power industry thesaurus is invoked to normalize the field names, Chinese field names, field remarks, and Chinese table names in the field metadata using synonyms. The preset power industry thesaurus records the mapping relationship between synonymous business terms and unified business terms in power business. For example, for "user" and "customer," the unified business term is "user"; for "electricity meter" and "meter," the unified business term is "meter"; for "line" and "transmission line," the unified business term is "line." After the synonym normalization, different names for the same business meaning in different business systems are converted into unified business terms.

[0030] Standardize English abbreviations, pinyin abbreviations, case differences, and connectors in field metadata. English abbreviations are uniformly converted to lowercase; consecutive underscores, hyphens, and spaces are uniformly converted to preset delimiters; leading and trailing whitespace characters in field names are removed; pinyin abbreviations retain the original characters and are appended with pinyin abbreviation markers. For fields with short identifier names, the table's Chinese name, business specialty, and system name are included as business context information in the field's semantic description text to avoid insufficient expression from the field name alone.

[0031] For fields where the Chinese name, field remarks, table name, business specialty, or system name is empty, write corresponding missing tags. Missing tags are written according to the field attribute name; for example, if the Chinese name of a field is empty, write "Field Chinese Name Missing," and if the field remarks are empty, write "Field Remarks Missing." Missing tags are included as part of the field's semantic description text in subsequent vectorization encoding, enabling subsequent classification confidence scores to reflect the completeness of the field's metadata.

[0032] The semantic description text for fields is generated using a structured encoding method based on field item name, field item type, field item length, and field item normalized value. Null values, missing values, and unrecognizable values ​​are written with distinct status codes. This structured encoding method avoids semantic ambiguity arising from the use of the same delimiter for different combinations of field values.

[0033] The field semantic description text is generated in the following order: field name, field Chinese name, field remarks, table name, table Chinese name, business specialty, and system name. The text structure of the field semantic description text is as follows: field name field attribute value, field Chinese name field attribute value, field remarks field attribute value, table name field attribute value, table Chinese name field attribute value, business specialty field attribute value, and system name field attribute value. Each field attribute is separated by a preset delimiter.

[0034] For the baseline classification list, starting with each bottom-level category, trace upwards based on the parent category identifier to obtain the corresponding major category, one or more intermediate-level categories, and bottom-level category. Concatenate the category names in order from major category to bottom-level category to form the hierarchical path text. The hierarchical path text includes the category name, category alias, category description, and corresponding sensitivity level, resulting in the baseline hierarchical semantic text. The hierarchical path text is used to preserve the parent-child relationships and business meanings of the category nodes in the baseline classification list.

[0035] In category paths where no second-level subcategories exist in the baseline classification list, existing category hierarchies are concatenated in order from the major category to the lowest level category, while preserving the parent category identifier and hierarchical order. This process does not alter the original hierarchical relationship of the baseline classification list.

[0036] S3. Vectorize the field semantic description text and the baseline hierarchical semantic text to obtain the field semantic feature vector and the baseline classification semantic vector.

[0037] In this embodiment of the invention, a domain semantic vector model is invoked for vectorized encoding. The input to the domain semantic vector model is either field semantic description text or baseline-level semantic text, and the output is a semantic vector of fixed dimensions. The field semantic description text is encoded by the domain semantic vector model to obtain a field semantic feature vector, and the baseline-level semantic text is encoded by the same domain semantic vector model to obtain a baseline classification semantic vector.

[0038] The domain semantic vector model is based on a general text encoding model and utilizes field samples from the power industry, baseline classification list samples, business terminology samples, and historical audit samples for domain adaptation. During domain adaptation, the semantic description text of fields is split into field name fragments, Chinese field name fragments, field remarks fragments, table name fragments, Chinese table name fragments, business terminology fragments, and system name fragments, and each fragment is appended with a field attribute identifier; then, the baseline hierarchical semantic text is split into major category fragments, first-level subcategory fragments, second-level subcategory fragments, final-level category fragments, category description fragments, and sensitivity level fragments, and each fragment is appended with a category hierarchy identifier.

[0039] During the training phase, the domain semantic vector model receives sample pairs consisting of field semantic description text and baseline hierarchical semantic text. These sample pairs include positive and negative pairs. Positive pairs consist of the field semantic description text and the baseline hierarchical semantic text corresponding to the correct classification path confirmed by review. Negative pairs consist of the field semantic description text and the baseline hierarchical semantic text corresponding to the incorrect classification path before review revision or adjacent incorrect classification paths in the same batch. The training objective is to reduce the vector distance between the field semantic description text and the baseline hierarchical semantic text in positive sample pairs and increase the vector distance between the field semantic description text and the baseline hierarchical semantic text in negative sample pairs.

[0040] The domain semantic vector model performs segmented encoding and weighted fusion during runtime. For field semantic description text, the model outputs segment vectors for field name, Chinese field name, field remarks, table name, Chinese table name, business / specialty, and system name. When field names are English abbreviations, pinyin abbreviations, or short identifiers, the fusion weights for the Chinese table name and business / specialty segment vectors are higher than those for the field name segment vector. The fusion results in a field semantic feature vector. For baseline hierarchical semantic text, the model outputs segment vectors for major categories, first-level subcategories, second-level subcategories, final-level categories, category descriptions, and sensitivity levels. The final-level category and category descriptions represent specific classification semantics, the major category, first-level subcategories, and second-level subcategories constrain hierarchical affiliation, and the sensitivity level segment vector preserves the association between classification paths and sensitivity levels. The fusion results in a baseline classification semantic vector.

[0041] Field semantic feature vector Obtained as follows: in, For field name fragment vectors, This is a vector of fragments of the Chinese name of the field. Add a fragment vector to the field. This is a vector of the table name fragments. This is a vector of Chinese name fragments in the table. For business-specific segment vectors, This is a fragment vector of the system name. to Weights are fused for field fragments, and to The sum is 1.

[0042] The field fragment fusion weight is determined based on the field name length, whether the field name is an English abbreviation or Pinyin abbreviation, whether the Chinese field name is missing, and whether the field comments are missing; when the Chinese field name and field comments are complete, the weight is increased. and The weight is increased when the field name is a short identifier and the Chinese name of the field is missing. , and The weight.

[0043] Baseline classification semantic vector Obtained as follows: in, For large category segment vectors, These are actual intermediate-level category fragment vectors. For the final category fragment vector, Describe the fragment vector for the category. For sensitive level segment vectors, to For baseline fragment fusion weights, and to The sum is 1.

[0044] When a certain category path does not have an intermediate level category, the corresponding intermediate level category fragment vector is not generated, and the weights that actually participate in the fusion are renormalized. As an auxiliary constraint, it participates in the generation of baseline classification semantic vectors, and The corresponding weight is less than and Corresponding weights are assigned to prevent sensitive text from having a dominant influence on business classification path judgment.

[0045] Through the above-mentioned segmented encoding and weighted fusion, the domain semantic vector model utilizes the joint semantic relationship between field name, table name and business specialty when generating field semantic feature vectors, and utilizes the hierarchical semantic relationship between classification path, category description and sensitivity level when generating baseline classification semantic vectors, so that the similarity calculation between field vectors and baseline vectors corresponds to the business meaning matching in the power field classification and grading scenario.

[0046] The completeness of field metadata is determined based on missing markers for the field's Chinese name, field comments, table name, business specialty, and system name. The completeness of field metadata is used to represent the completeness of the business context of the field to be classified, and proceeds to step S4 to generate classification confidence.

[0047] S4. Calculate the cosine similarity between the field semantic feature vector and the baseline classification semantic vector, and generate candidate classification paths and classification confidence scores according to the hierarchical relationship of the baseline classification list.

[0048] Calculate the semantic feature vector of the field Compared with baseline classification semantic vector Cosine similarity between : in, For field semantic feature vectors With the Baseline classification semantic vectors Cosine similarity between them For field semantic feature vectors Compared with baseline classification semantic vector dot product, For field semantic feature vectors The vector norm, Baseline classification semantic vector The vector norm.

[0049] This embodiment uses the cosine similarity of the last-level categories in the candidate classification path. Normalization to the last-level category normalized similarity : in, The value range is from 0 to 1.

[0050] Reference Figure 2 First, the cosine similarity between the semantic feature vector of the field and the baseline classification semantic vector corresponding to the major category in the baseline classification list is calculated to obtain the major category similarity set. Major category candidates that meet the major category recall criteria are selected from the major category similarity set. The major category recall criteria are jointly limited by the major category similarity threshold and the upper limit of the number of candidates; categories that meet the major category similarity threshold are included in the major category candidate set, and the number of categories included in the major category candidate set does not exceed the upper limit of the number of candidates.

[0051] After obtaining the major category candidates, cosine similarity is calculated only within the lower-level categories of these candidates. Based on the parent category identifiers and hierarchical order in the baseline classification list, candidate classification paths are generated by matching step-by-step along the major category, one or more intermediate-level categories, and the final-level category. Each category in the candidate classification path has a continuous parent-child relationship.

[0052] The classification confidence score C is generated based on the normalized similarity of the last-level categories in the candidate classification path, the completeness of field metadata, the matching of business specialization, and the matching of the system to which they belong. In this embodiment, the classification confidence score C is calculated as follows: in, This represents the normalized similarity corresponding to the last-level category in the candidate classification path. For the completeness of field metadata, For business professional matching value, The value is matched to the system. , , , As preset weights, and , , , The sum is 1.

[0053] The preset weights are based on fields in historical review records where the target classification and grading results have already been determined, used as calibration samples. The weights for each calibration sample are calculated separately. , , and The system identifies samples with an "adopted" review result as consistent samples and samples with an "adjusted" review result as inconsistent samples. The power data governance system selects the weight combination from the candidate weight set that maximizes the proportion of consistent samples with higher classification confidence than inconsistent samples as the current weight. When no historical review records are accumulated, an initial weight is adopted, based on vector similarity, metadata completeness, and business context compensation; the initial weight satisfies that a is greater than b, c, and d, and b, c, and d are all greater than 0.

[0054] Field metadata completeness Calculate as follows: in, This is a complete identifier for the Chinese name of the field. It is set to 1 if the Chinese name of the field does not have a missing flag, and to 0 if the Chinese name of the field has a missing flag. The field memo is used to indicate the completeness of the field. The value is 1 if the field memo does not have a missing marker, and 0 if the field memo has a missing marker. This is a complete identifier for the Chinese name of the table. It is set to 1 if no missing flag is written in the Chinese name of the table, and to 0 if a missing flag is written in the Chinese name of the table. This is a complete identifier for the business specialty. It is set to 1 if no missing flag is written for the business specialty, and 0 if a missing flag is written for the business specialty. This is the complete identifier of the system name. It is 1 if the system name does not have a missing flag, and 0 if the system name has a missing flag.

[0055] Business professional matching value The set of applicable business specialties is determined based on the relationship between the business specialty of the field to be classified and the corresponding set of applicable business specialties for the candidate classification paths. The set of applicable business specialties is extracted from the category descriptions of the baseline classification list, historical manual classification correction records, and a business terminology database. When the business specialty of the field to be classified completely matches the specialty name in the set of applicable business specialties, Set to 1; when the business specialty of the field to be classified is consistent with the specialty names in the set of applicable business specialties after normalization by the power industry thesaurus, Take 0.8; when the candidate classification path is not limited to applicable business specialization, Take 0.5; when the business specialty field to be categorized is missing, Set the value to 0.2; when there is a clear inconsistency between the business specialty of the field to be classified and the set of applicable business specialties, Take 0.

[0056] System matching value The system name of the field to be classified is determined based on the relationship between the historical system set of candidate classification paths. The historical system set consists of the system names of fields that have been approved as candidate classification paths in historical manual classification correction records. If the system name of the field to be classified exists in the historical system set, Set to 1; when the system name to which the classification field belongs, after system name normalization, matches the system name in the historical system set, Set the value to 0.8; when no corresponding historical system set exists for the candidate classification path. Take 0.5; if the system name to which the category field belongs is missing, Set the value to 0.2; when there is a clear inconsistency between the system name to which the classification field belongs and the historical system set, Take 0.

[0057] The first and second confidence thresholds are determined based on historical review results and field processing status. The classification confidence and review labels of reviewed fields are extracted from historical review records. Fields with "adopted" reviews are grouped into an "adopted" confidence set, while fields with "revision," "suspected," or "undetermined" reviews are grouped into a "non-adopted" confidence set. The first confidence threshold is determined based on the low-order distribution boundary of the "adopted" confidence set and is used to constrain fields that directly generate initial classification and grading results. The second confidence threshold is determined based on the confidence distribution of fields that can generate clear target classification and grading results through RAG secondary verification or manual review and is used to distinguish between fields entering RAG processing and fields requiring manual review or metadata supplementation.

[0058] When the classification confidence is greater than or equal to the first confidence threshold, proceed to step S5; when the classification confidence is less than the first confidence threshold but greater than or equal to the second confidence threshold, proceed to step S6; when the classification confidence is less than the second confidence threshold, proceed to step S7 for manual review or metadata supplementation.

[0059] S5. When the classification confidence is greater than or equal to the first confidence threshold, generate the initial classification and grading results based on the candidate classification paths.

[0060] Read the corresponding final-level category and sensitivity level of the candidate classification path in the baseline classification list. Verify whether the major category, one or more intermediate-level categories, and final-level category in the candidate classification path all belong to the same level path.

[0061] When all categories in a candidate classification path belong to the same level path, the candidate classification path, sensitivity level, and classification confidence score are combined to form the initial classification and grading result. The initial classification and grading result includes the field record identifier, field name, table name, system name, candidate classification path, sensitivity level, classification confidence score, and baseline classification list version.

[0062] When there is no parent-child relationship between any category in the candidate classification path and its superior category, no initial classification and grading result is generated. The field is marked as an abnormal field of the hierarchical path and output to the review end for manual review.

[0063] S6. When the classification confidence is less than the first confidence threshold but greater than or equal to the second confidence threshold, perform dense vector retrieval and sparse keyword retrieval on the field metadata in the preset classification and grading knowledge base to obtain the retrieval evidence set. Then, input the candidate classification path and the retrieval evidence set into the preset retrieval enhancement generation model to obtain the recommended classification and grading results.

[0064] The pre-defined classification and grading knowledge base includes a classification and grading baseline list, classification and grading work guidelines, a negative list, sensitive data identification rules, historical manual classification correction records, a power industry data dictionary, and a business terminology database. Each knowledge segment in the pre-defined classification and grading knowledge base includes the content of the knowledge segment, the source of the knowledge segment, the corresponding category of the knowledge segment, and the version information of the knowledge segment.

[0065] The pre-defined classification and grading knowledge base does not simply store the full text of documents, but rather fragments knowledge according to the granularity of evidence required for classification and grading processing. Knowledge fragments are generated using classification paths, document chapters, rule entries, historical amendment examples, and business terminology entries as dividing boundaries. Each knowledge fragment is bound to a knowledge fragment number, source type, source name, version number, applicable business specialty, associated classification path, sensitivity level, and main text content. The associated classification path and candidate classification paths are used together for subsequent retrieval constraints, and the version number is used to determine whether the knowledge fragment is consistent with the current baseline classification list.

[0066] The semantic description text of the field is used as the retrieval query, and dense vector retrieval is performed in a pre-defined classification and hierarchical knowledge base. Dense vector retrieval encodes the semantic description text of the field into a query vector and calculates the semantic similarity between the query vector and the knowledge fragment vector to obtain semantically similar knowledge fragments.

[0067] The specific process of dense vector retrieval is as follows: First, using the same field fragment encoding logic as in step S3, the semantic description text of the field is encoded into a query vector Q; then, knowledge fragments associated with the major category, one or more intermediate-level categories, or the lowest-level category of the candidate classification path are selected from the preset classification and hierarchical knowledge base as the local retrieval scope; when the number of knowledge fragments in the local retrieval scope is lower than the preset number, knowledge fragments with the same business specialty as the field are supplemented for retrieval; then, the query vector Q and the vector of each knowledge fragment in the local retrieval scope are calculated. Cosine similarity between This process yields semantically similar knowledge fragments. It constrains the retrieval scope to candidate classification paths and business expertise, avoiding unconstrained searches across the entire knowledge base.

[0068] Sparse keyword retrieval is performed based on field names, Chinese field names, field comments, Chinese table names, and keywords from business contexts to obtain keyword-matched knowledge fragments. Sparse keyword retrieval uses a keyword index for matching, which is constructed from the knowledge fragment content, category names, category aliases, and business terms.

[0069] The specific process of sparse keyword retrieval is as follows: First, the field names are split using underscores, hyphens, camelCase, and alphanumeric boundaries to obtain field name keywords; then, the Chinese field names, field notes, Chinese table names, and business terms are segmented into words, and synonym keywords are expanded using a pre-set power industry thesaurus; finally, matching is performed in an inverted index composed of category names, category aliases, business terms, knowledge fragment text, and historical amendment examples. Keyword hit rate. The results are calculated based on the number of keyword hits in field name, Chinese name of field, Chinese name of table, business-related keywords, and the weight of the hit position. The weight of hitting category name and category alias is greater than the weight of hitting ordinary text, and hitting business-related knowledge fragments takes precedence over not hitting business-related knowledge fragments.

[0070] Deduplication and ranking of semantically similar knowledge fragments and keyword-hit knowledge fragments are performed to generate a retrieval evidence set. The ranking process comprehensively considers the semantic similarity of knowledge fragments in dense vector retrieval, the keyword hit rate of knowledge fragments in sparse keyword retrieval, the consistency between the version information of knowledge fragments and the current baseline classification list version, and the consistency between the business specialty corresponding to the knowledge fragment and the business specialty of the field to be classified.

[0071] The deduplication process uses the knowledge fragment number, source name, chapter position, and associated classification path as the deduplication key; if multiple knowledge fragments have the same main text but different versions, the knowledge fragment whose version information is consistent with the current baseline classification list version is retained; if multiple knowledge fragments come from the same historical amendment example, the one with the highest ranking score is retained.

[0072] The sorting process is based on the merged sort score. Execute and merge the sorted scores Calculate as follows: in, For the first Dense vector retrieval of semantic similarity normalized values ​​for knowledge fragments For the first Normalized value of sparse keyword hit rate for a knowledge fragment For the first The path consistency value between each knowledge fragment and the candidate classification path. For the first The consistency value between the version information of each knowledge fragment and the current baseline classification list version. For the first Each knowledge fragment corresponds to a value that matches the business specialty in the field to be categorized. , , , , To retrieve the fusion weight, and , , , , The sum is 1.

[0073] Path consistency value The determination method is as follows: 1 is taken when the knowledge fragment association classification path matches the final category of the candidate classification path; 0.6 is taken when it matches the major category, first-level subcategory, or second-level subcategory of the candidate classification path but the final category is different; and 0 is taken when it does not share a common parent category with the candidate classification path. Version consistency value. The determination method is as follows: 1 is used when the knowledge fragment version number matches the current baseline classification list version; 0.5 is used when it is earlier than the current version but not marked as obsolete; and 0 is used when it is marked as obsolete. Business professional consistency value. The determination method and business professional matching value Consistent. The power data governance system follows... The top-K knowledge fragments are selected from high to low to form a retrieval evidence set.

[0074] The field metadata, candidate classification paths, and retrieval evidence set are concatenated into a hint context. The hint context includes the field name, Chinese name of the field, field remarks, table name, Chinese name of the table, business specialty, system name, candidate classification path, sensitivity level corresponding to the candidate classification path, knowledge fragment content, knowledge fragment source, and knowledge fragment version information. For field attributes with missing markers, the hint context retains those missing markers.

[0075] In this embodiment, the preset retrieval enhancement generation model is a neural network model that has undergone pre-trained parameters or domain adaptation and is used to generate structured recommendation records based on field metadata, candidate classification paths, and retrieval evidence sets. The preset retrieval enhancement generation model adopts a Transformer-based encoder-decoder structure, including an input serialization module, a lexical embedding layer, a shared semantic encoder, a candidate path reordering module, a sensitivity level classification module, an evidence selection module, a structured record generation decoder, and a recommendation confidence calculation module.

[0076] The pre-defined retrieval enhancement generative model receives contextual prompts during runtime and outputs structured recommendation records. These structured recommendation records include the recommended classification path, sensitivity level, decision basis, source of reference, and recommendation confidence score. The recommended classification path is the path generated by the model based on candidate classification paths and the retrieval evidence set; the sensitivity level is the data sensitivity level corresponding to the recommended classification path; the decision basis consists of the field metadata, knowledge fragments, and historical manual classification correction records referenced by the model; the source of reference is the source of the knowledge fragment corresponding to the decision basis; and the recommendation confidence score is the consistency score between the recommended classification path, candidate classification paths, and the retrieval evidence set.

[0077] Post-processing is performed on structured recommendation records. Post-processing includes path validation, citation validation, and format validation. Path validation determines whether the recommended classification path exists in the current baseline classification list; citation validation determines whether the citation source comes from the retrieved evidence set; format validation determines whether the recommended classification path, sensitivity level, decision basis, citation source, and recommendation confidence score have all been output. When a structured recommendation record fails post-processing, the corresponding fields are marked as awaiting manual review; when a structured recommendation record passes post-processing, the recommended classification path, sensitivity level, citation source, and recommendation confidence score are combined into a recommendation classification and grading result.

[0078] In this embodiment of the invention, the structured recommendation records output by the preset retrieval enhancement generation model are not directly used as adoptable results. The power data governance system performs path verification, version verification, citation verification, sensitivity level verification, and format verification on the structured recommendation records. Path verification is used to determine whether the recommended classification path exists in the current baseline classification list; version verification is used to determine whether the knowledge fragment corresponding to the citation source is in the current valid version; citation verification is used to determine whether the citation source comes from the retrieval evidence set, and whether the content of the knowledge fragment of the citation source can support the recommended classification path or the recommended sensitivity level; sensitivity level verification is used to determine whether the recommended sensitivity level is not lower than the lowest sensitivity level hit by the sensitive data identification rule; format verification is used to determine whether the recommended classification path, recommended sensitivity level, decision basis, citation source, and recommendation confidence have all been output. If any verification fails, an automatically adoptable recommendation classification and grading result is not generated, but a task awaiting manual review or an off-baseline processing task is generated.

[0079] In this embodiment, the preset retrieval enhancement generation model and the preset classification and grading knowledge base are deployed in the controlled environment of the power data governance platform. When field notes, table descriptions, or business system names contain sensitive content, field-level desensitization or access permission verification is performed first, and then the prompt context construction process is initiated.

[0080] S7. Output the initial classification and grading results or recommended classification and grading results to the review end, and determine the target classification and grading results of the fields to be classified based on the review results of the review end.

[0081] In a specific embodiment, the review terminal displays the field metadata, semantic description text, candidate classification paths, initial classification and grading results or recommended classification and grading results, classification confidence or recommended confidence, retrieval evidence set, decision basis, and cited sources for the field to be classified. The review terminal receives the review results written by the reviewers.

[0082] Reference Figure 3 The review results are categorized into five types: adopted, revised, suspected, not on the baseline list, and cannot be determined. Each review result is also recorded with the review time, reviewer ID, and operation notes, forming an review log.

[0083] When the review result is adopted, the initial classification and grading result or the recommended classification and grading result will be determined as the target classification and grading result. The target classification and grading result includes the field record identifier, classification path, sensitivity level, confidence level, review status, citation source, and update time.

[0084] When the review result is a revision, the reviewer receives the revision classification path and revision sensitivity level input by the reviewer. The revision classification path and revision sensitivity level are determined as the target classification and grading result, and the difference between the result before and after the revision is recorded.

[0085] When the review result is "suspected," the field to be classified is added to the pending pool. The pending pool records the field record identifier, field metadata, candidate classification path, retrieval evidence set, reasons for uncertainty provided by the reviewer, and review time. Fields in the pending pool are not included in the final classification and grading results list; they will re-enter the field classification and grading process after supplementing business information or forming similar review cases.

[0086] When the audit result indicates that the field is not on the baseline list, the field to be categorized is written to the new category pending pool. The new category pending pool records the field metadata, the business meaning explanation filled in by the auditor, the suggested category name, the suggested sensitivity level, and the audit remarks. The new category pending pool is used for subsequent expansion of the baseline category list and updates to the preset category and grading knowledge base.

[0087] When the audit result is "cannot be determined," a metadata supplementation task is generated. The metadata supplementation task records the field record identifier, missing field attributes, the name of the table to which it belongs, the name of the system to which it belongs, and the supplementation requirements. After the field metadata is supplemented, the power data governance system will re-enter the supplemented field metadata as a field to be classified into step S2.

[0088] When the classification confidence is less than the second confidence threshold, no initial classification and grading results or recommended classification and grading results are generated. Instead, a metadata supplementation task or a manual review task is generated based on the completeness of the field metadata. A metadata supplementation task is generated when the completeness of the field metadata is less than the completeness threshold; a manual review task is generated when the completeness of the field metadata is not less than the completeness threshold but the classification confidence of the candidate classification path is less than the second confidence threshold.

[0089] S8. Based on the audit results, provide feedback, update, and output the field classification and grading processing results.

[0090] In this embodiment of the invention, a feedback-driven closed-loop update is performed based on a five-level review label. For fields whose review result is "adopted," the field semantic description text, target classification path, target sensitivity level, and corresponding baseline level semantic text are written into the positive sample set. The positive sample set is used to represent the correspondence between the field semantic description text and the correct classification path.

[0091] For fields whose review result is "revised," the field semantic description text, the classification path before revision, the classification path after revision, the sensitivity level before revision, and the sensitivity level after revision are written into the comparison sample set. In the comparison sample set, the field semantic description text and the revised classification path constitute positive sample pairs, and the field semantic description text and the classification path before revision constitute negative sample pairs. The comparison sample set is used for comparative learning training of the domain semantic vector model.

[0092] For fields whose review results are deemed "suspected," these fields will be kept in the pending pool and will not be used as training samples for the domain semantic vector model. Fields in the pending pool will be added to the corresponding set based on the final review tags after supplementing business information or obtaining further review conclusions.

[0093] For fields that are not on the baseline list after review, the field is added to a new category pending processing pool, and the business description of the field is submitted as a candidate knowledge fragment for quality review. Once the quality review is passed, the candidate knowledge fragment is incrementally added to the preset classification and grading knowledge base; candidate knowledge fragments that fail the quality review are not included in the retrieval evidence set.

[0094] For fields whose review results are "undeterminable", a metadata supplementation task will be generated. These fields will not be used as training samples for the domain semantic vector model, nor will they be written into the preset classification and grading knowledge base.

[0095] The domain semantic vector model is updated using a set of positive samples and a set of contrasting samples as input. During the update, the vector distance between the field semantic description text and the baseline hierarchical semantic text corresponding to the target classification path is reduced, while the vector distance between the field semantic description text and the baseline hierarchical semantic text corresponding to the previously incorrectly classified path is increased. The updated domain semantic vector model is used for the vectorized encoding of subsequent batches of field semantic description text and baseline hierarchical semantic text.

[0096] The adjustment of the first and second confidence thresholds is based on the statistical analysis of the review results. The number of adoptions, revisions, suspected cases, cases not on the baseline list, and cases that cannot be determined are statistically analyzed according to business specialty, system name, and candidate bottom-level category. For the same statistical dimension, when the ratio of the number of revisions to the number of adoptions and the sum of the number of revisions reaches the preset revision trigger condition, the first confidence threshold corresponding to that statistical dimension is increased; when the number of cases that cannot be determined reaches the preset missing data trigger condition, the second confidence threshold corresponding to that statistical dimension is increased, so that subsequent fields can enter the manual review or metadata supplementation process earlier. The threshold adjustment results are recorded with the adjustment time, statistical dimension, threshold before adjustment, threshold after adjustment, and trigger basis.

[0097] Incremental updates to the pre-defined classification and grading knowledge base are based on revisions that have passed quality review and results of new categories awaiting processing. Incremental knowledge fragments written to the pre-defined classification and grading knowledge base include field metadata, target classification path, sensitivity level, review tags, review notes, knowledge fragment source, and version information. These incremental knowledge fragments participate in the generation of the retrieval evidence set when subsequent fields undergo dense vector retrieval and sparse keyword retrieval.

[0098] The output field classification and grading results are the target classification and grading results. These results include a list of field classification and grading outcomes generated by system dimension, classification statistics generated by business specialty, a list of audit tasks generated by confidence level, and a list of metadata supplementation tasks. The field classification and grading outcome list includes the field record identifier, field name, Chinese field name, table name, system name, business specialty, classification path, sensitivity level, classification confidence level or recommended confidence level, audit status, citation source, and update time.

[0099] The target classification and grading results are written to the data asset catalog, data governance ledger, or relevant business systems. Fields with an audit status of suspected, not on the baseline list, or undetermined are not automatically included in the target classification and grading results output, but are instead placed in the pending pool, the new category pending processing pool, or the metadata supplementation task list, respectively.

[0100] 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 field classification and grading method for enhancing decision-making in power data governance retrieval, characterized in that, include: Obtain the field metadata and baseline classification list of the field to be classified. Perform synonym normalization, missing data marking and text concatenation on the field metadata to obtain the field semantic description text. Concatenate the category data in the baseline classification list according to the hierarchical path to obtain the baseline hierarchical semantic text. The semantic description text of the field and the semantic text of the baseline hierarchy are vectorized and encoded to obtain the semantic feature vector of the field and the semantic vector of the baseline classification. The cosine similarity between the semantic feature vector of the field and the semantic vector of the baseline classification is calculated, and candidate classification paths and classification confidence are generated according to the hierarchical relationship of the baseline classification list. When the classification confidence is greater than or equal to the first confidence threshold, an initial classification and grading result is generated based on the candidate classification path; When the classification confidence is less than the first confidence threshold but greater than or equal to the second confidence threshold, dense vector retrieval and sparse keyword retrieval are performed on the field metadata in the preset classification and grading knowledge base to obtain the retrieval evidence set. The candidate classification path and the retrieval evidence set are then input into the preset retrieval enhancement generation model to obtain the recommended classification and grading results. The initial or recommended classification results are output to the review end, and the target classification result of the field to be classified is determined based on the review result of the review end.

2. The field classification and grading method for enhanced decision-making in power data governance retrieval according to claim 1, characterized in that, The category data in the baseline classification list is concatenated according to the hierarchical path, including: extracting the major category, one or more intermediate level categories, and the final category corresponding to each final category in the baseline classification list; concatenating them into hierarchical path text in the order from major category to final category; and writing the category name, category alias, category description, and corresponding sensitivity level into the hierarchical path text to obtain the baseline hierarchical semantic text.

3. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 1, characterized in that, The process of generating candidate classification paths and classification confidence scores includes: calculating the cosine similarity between the field semantic feature vector and the baseline classification semantic vector corresponding to the major category in the baseline classification list to determine the major category candidates; calculating the cosine similarity between the field semantic feature vector and the baseline classification semantic vector corresponding to the lower-level category within the lower-level category candidates to obtain the candidate classification paths; and generating classification confidence scores based on the cosine similarity of the final-level category in the candidate classification paths, the completeness of field metadata, the matching of business specialization, and the matching of the system to which they belong.

4. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 3, characterized in that, Generating classification confidence scores includes: determining the completeness of field metadata based on missing markers for field Chinese names, field remarks, table Chinese names, business specialties, and system names in the field metadata; determining the business specialty matching based on the consistency between the business specialty in the field metadata and the category business specialty corresponding to the candidate classification path; determining the system matching based on the association between the system name to which the field metadata belongs and the system name corresponding to the same classification path in historical audit records; normalizing the cosine similarity of the last-level categories in the candidate classification path to obtain normalized similarity; and generating classification confidence scores by weighting the normalized similarity, field metadata completeness, business specialty matching, and system matching.

5. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 1, characterized in that, The process of generating an initial classification and grading result based on candidate classification paths includes: reading the final category and sensitivity level corresponding to the candidate classification path in the baseline classification list; and combining the candidate classification path, sensitivity level, and classification confidence score into an initial classification and grading result when all categories in the candidate classification path belong to the same level path.

6. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 1, characterized in that, The process involves performing dense vector retrieval and sparse keyword retrieval on field metadata, including: using the semantic description text of the field as the retrieval query, performing semantic vector retrieval in a pre-defined classification and hierarchical knowledge base to obtain semantically similar knowledge fragments; performing keyword retrieval based on field name, Chinese name of the field, field remarks, Chinese name of the table, and keywords in the business field to obtain keyword-hit knowledge fragments; and generating a retrieval evidence set after deduplicating and sorting the semantically similar knowledge fragments and keyword-hit knowledge fragments.

7. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 6, characterized in that, The preset classification and grading knowledge base includes a classification and grading baseline list, classification and grading work guidelines, a negative list, sensitive data identification rules, historical manual classification correction records, a power industry data dictionary, and a business terminology database; the retrieval evidence set includes knowledge fragment content, knowledge fragment source, knowledge fragment corresponding category, and knowledge fragment version information.

8. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 1, characterized in that, Obtaining the recommended classification and grading results includes: concatenating field metadata, candidate classification paths, and retrieval evidence sets into a prompt context; inputting the prompt context into a preset retrieval enhancement generation model to output the recommended classification path, sensitivity level, decision basis, citation source, and recommendation confidence; and combining the recommended classification path, sensitivity level, citation source, and recommendation confidence into the recommended classification and grading results.

9. The field classification and grading method for enhancing decision-making in power data governance retrieval according to claim 1, characterized in that, The target classification and grading result for the field to be classified is determined based on the review results from the reviewer. This includes: receiving review results from the reviewer regarding the initial classification and grading result or the recommended classification and grading result, such as adoption, revision, suspected, not in the baseline list, or undeterminable; when the review result is adoption, the corresponding result is determined as the target classification and grading result; when the review result is revision, the revised result is determined as the target classification and grading result; when the review result is suspected, the field to be classified is written to the pending pool; when the review result is not in the baseline list, the field to be classified is written to the new category pending pool; when the review result is undeterminable, a metadata supplementation task is generated.

10. The field classification and grading method for enhanced decision-making in power data governance retrieval according to claim 1, characterized in that, Also includes: Write the fields that are accepted in the review and their target classification and grading results into the positive sample set; Write the revised fields, the results before revision, and the results after revision into the comparison sample set; update the domain semantic vector model based on the positive sample set and the comparison sample set; adjust the first confidence threshold and the second confidence threshold based on the revision results; and write the revised results after quality review and the incremental results of new categories to be processed into the preset classification and grading knowledge base.