A data classification result updating method and related apparatus
Patent Information
- Application Number
- CN202611146840.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-30
- Publication Date
- 2026-10-23
AI Technical Summary
人工排查方式依赖人工理解标准变化内容和历史分类依据,处理效率较低且容易遗漏;统一重新分类方式虽然能够覆盖历史数据,但会对未受标准更新影响的数据执行重复分类处理,增加数据处理开销
由上述技术方案可以看出,在获取到目标标准文件的标准更新信息后,对第二版本信息对应的目标标准文件进行解析,获得更新标准内容,使更新后的标准文件能够转换为可用于后续分类处理的标准内容。根据目标标准文件的标准标识和更新前的第一版本信息,从历史分类记录中查询目标历史分类记录。由于目标历史分类记录包括目标历史数据对应的历史分类结果,以及得到历史分类结果所引用的与标准标识对应的标准条款信息和第一版本信息,因此,在目标标准文件发生版本更新时,可以基于历史分类记录中保存的标准引用信息,确定与更新前标准文件相关的目标历史数据,而无需人工逐项排查历史分类结果,也无需对与该目标标准文件无关的历史数据进行统一重新分类。
Smart Images

Figure CN122964720A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method and related apparatus for updating data classification results. Background Technology
[0002] Data classification typically needs to be determined based on standard documents such as national standards, industry standards, and enterprise standards. For example, different types of data may need to be categorized according to the classification rules in the corresponding standard documents in different business or industry scenarios, so as to implement differentiated data management strategies subsequently.
[0003] In related technologies, data can be classified using rule bases, knowledge bases, and large language models. For example, standard files or rule files can be maintained in advance, and upon receiving data to be classified, the corresponding classification rules can be matched based on the data characteristics of the data to obtain the classification result. These methods can improve data classification efficiency to a certain extent and reduce the workload required for manual judgment of data categories.
[0004] However, standard documents are not always static. With adjustments to laws, regulations, industry standards, and corporate governance requirements, standard documents may be updated. For historical data already classified based on older versions of standard documents, if the standard document is updated, the historical classification results may no longer be compatible with the updated standard content. Related technologies typically require manual review of historical classification results or a unified reclassification of large amounts of historical data. Manual review relies on human understanding of standard changes and historical classification criteria, resulting in low processing efficiency and a high risk of omissions; while unified reclassification can cover historical data, it involves duplicate classification of data unaffected by the standard update, increasing data processing overhead. Summary of the Invention
[0005] To address the aforementioned issues, this application provides a method and related apparatus for updating data classification results, which improves the accuracy and efficiency of updating data classification results after standard documents are updated.
[0006] Based on this, the following technical solution is disclosed in this application: In a first aspect, embodiments of this application provide a method for updating data classification results, the method comprising: In response to obtaining the standard update information of the target standard file, the target standard file corresponding to the second version information is parsed to obtain the updated standard content. The standard update information includes the standard identifier of the target standard file, the first version information before the update, and the second version information after the update. The first version information and the second version information are different. Based on the standard identifier and the first version information, a target historical classification record is queried from the historical classification record. The target historical classification record includes the historical classification result corresponding to the target historical data, as well as the standard clause information and the first version information referenced by the historical classification result that correspond to the standard identifier. Based on the updated standard content and the standard clause information referenced in the target historical classification record, the target historical data is classified to obtain the updated classification result corresponding to the target historical data.
[0007] Secondly, embodiments of this application provide a data classification result updating device, the device comprising: The parsing unit is used to parse the target standard file corresponding to the second version information in response to obtaining the standard update information of the target standard file, and to obtain the updated standard content. The standard update information includes the standard identifier of the target standard file, the first version information before the update and the second version information after the update. The first version information and the second version information are different. The query unit is used to query a target historical classification record from the historical classification record based on the standard identifier and the first version information. The target historical classification record includes the historical classification result corresponding to the target historical data, as well as the standard clause information and the first version information referenced by the historical classification result that correspond to the standard identifier. The classification unit is used to classify the target historical data according to the updated standard content and the standard clause information referenced in the target historical classification record, so as to obtain the updated classification result corresponding to the target historical data.
[0008] Thirdly, embodiments of this application provide a computer device, the computer device including a processor and a memory: The memory is used to store computer programs and to transfer the computer programs to the processor; The processor is configured to execute the method described in the first aspect above according to the computer program.
[0009] Fourthly, embodiments of this application provide a computer-readable storage medium for storing a computer program for performing the method described in the first aspect above.
[0010] Fifthly, embodiments of this application provide a computer program product including a computer program, which, when run on a computer device, causes the computer device to perform the method described in the first aspect above.
[0011] As can be seen from the above technical solutions, this application has at least the following beneficial effects: As can be seen from the above technical solution, after obtaining the standard update information of the target standard document, the target standard document corresponding to the second version information is parsed to obtain the updated standard content, enabling the updated standard document to be converted into standard content that can be used for subsequent classification processing. Based on the standard identifier of the target standard document and the first version information before the update, the target historical classification record is queried from the historical classification record. Since the target historical classification record includes the historical classification results corresponding to the target historical data, as well as the standard clause information and first version information referenced by the historical classification results corresponding to the standard identifier, when the target standard document is updated, the target historical data related to the standard document before the update can be determined based on the standard reference information stored in the historical classification record, without the need for manual item-by-item checking of historical classification results, nor the need for unified reclassification of historical data unrelated to the target standard document.
[0012] Based on the updated standard content and the standard clause information referenced in the target historical classification records, the target historical data is classified to obtain the updated classification results corresponding to the target historical data. The reclassification process updates the classification results of the target historical data by combining the standard clause information originally referenced in the historical classification results. This establishes a correspondence between the updated classification results and the original classification basis of the target historical data, reducing interference from irrelevant standard content in the reclassification process and improving the accuracy of updating historical classification results after the standard document is updated. Simultaneously, because the target historical classification records can be located based on the standard identifier and first version information, and reclassification is performed only on the target historical data corresponding to the target historical classification records, the data processing overhead caused by repeatedly classifying data unaffected by the target standard document update can be reduced, improving the efficiency of historical classification result update processing. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 A flowchart illustrating a data classification result update method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0015] Embodiments of this application will now be described in more detail with reference to the accompanying drawings. While some embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this application. It should be understood that the drawings and embodiments of this application are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0016] As mentioned above, standard documents may be updated, making it difficult for historical classification results based on older versions of the standard documents to adapt to the updated standard content. Related technologies usually rely on manual review or unified reclassification of large amounts of historical data. The former is less efficient and prone to omissions, while the latter is prone to performing duplicate processing on data that has not been affected by the standard update, increasing data processing overhead.
[0017] Based on this, embodiments of this application provide a method and related apparatus for updating data classification results. After a target standard document is updated, the target standard document corresponding to the second version information is first parsed to obtain the updated standard content. Then, based on the standard identifier of the target standard document and the first version information before the update, the target historical classification records are queried from the historical classification records. Furthermore, the target historical data is classified by combining the updated standard content and the standard clause information referenced in the target historical classification records to obtain the updated classification result. Thus, the target historical data requiring updated classification results can be determined based on the standard reference information in the historical classification records, and the updated classification result corresponds to the original classification basis of the target historical data, improving the accuracy and efficiency of updating historical classification results after the standard document is updated.
[0018] The data classification result updating method provided in this application can be applied to computer devices with data updating capabilities, such as terminal devices and servers. Specifically, terminal devices can be desktop computers, laptops, mobile phones, and tablets; servers can be independent physical servers, server clusters composed of multiple physical servers, or distributed systems. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, and this application does not impose any restrictions on this connection.
[0019] All data collected in this application (such as standard update information) is collected with the consent and authorization of the data subject (such as user, organization or enterprise), and the collection, use and processing of related data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0020] See Figure 1This figure is a schematic flowchart of the data classification result update method provided in an embodiment of this application. For ease of description, the following embodiment uses a server as the execution subject of the data classification result update method. Figure 1 As shown, the data classification result update method includes S101-S103.
[0021] S101: In response to obtaining the standard update information of the target standard file, parse the target standard file corresponding to the second version information to obtain the updated standard content.
[0022] The standard update information includes the standard identifier of the target standard document, the first version information before the update, and the second version information after the update. The first version information and the second version information are different.
[0023] In this embodiment, the target standard file is a standard file used to determine the data classification results. The standard identifier is information used to identify the target standard file. First version information characterizes the version of the target standard file before the update, and second version information characterizes the version of the target standard file after the update. Since the first version information and the second version information are different, it can be determined that the target standard file has been updated.
[0024] As one implementation method, the target standard file can be a data classification standard file. In the target standard file corresponding to the first version of the information, historical data can obtain historical classification results based on the standard content in the target standard file. Subsequently, if the target standard file is updated to the target standard file corresponding to the second version of the information, the standard update information of the target standard file can be obtained to trigger subsequent classification result update processing.
[0025] After obtaining the standard update information of the target standard file, the target standard file corresponding to the second version information can be parsed to obtain the updated standard content. The updated standard content refers to the standard content obtained from the target standard file corresponding to the second version information that can be used to update the classification results of historical data.
[0026] One approach is to read the target standard file corresponding to the second version of the information and extract the standard content used to determine the data classification results from it, thereby obtaining the updated standard content. This allows the updated target standard file to be converted into standard content that can be used for subsequent classification result update processing, providing a data foundation for classifying historical target data based on the updated standard content.
[0027] It should be noted that the embodiments of this application do not specifically limit the method of obtaining standard update information. One implementation method is to receive standard update information sent by a standard document management system. Another implementation method is to generate standard update information for the target standard document after detecting a change in its version information. Any standard update information indicating that the target standard document has been updated from the first version to the second version is acceptable.
[0028] S102: Based on the standard identifier and first version information, query the target historical classification record from the historical classification record.
[0029] The target historical classification record includes the historical classification results corresponding to the target historical data, as well as the standard clause information and first version information corresponding to the standard identifier referenced in obtaining the historical classification results.
[0030] Historical classification records are records created after historical data has been classified previously. These records may include the historical classification results corresponding to the historical data, as well as the standard documents and version information referenced when those results were obtained. Target historical classification records are historical classification records retrieved from the historical classification records that are related to updates to the target standard document. Target historical data are the historical data corresponding to the target historical classification records. Historical classification results are the classification results obtained for the target historical data before the target standard document was updated.
[0031] Standard clause information refers to information used to characterize the standard content upon which historical classification results are based. This application does not specifically limit the specific form of the standard clause information. As one implementation, standard clause information may include information that indicates the referenced standard content, such as the standard clause's identifier, name, location identifier, or text content.
[0032] By recording standard clause information and first version information in the historical classification records, the standard basis for the formation of historical classification results can be preserved. This allows for the querying of historical classification records related to the target standard document before the update based on the standard basis after the target standard document is updated.
[0033] Specifically, the target historical classification record can be queried from the historical classification records based on the standard identifier and first version information in the standard update information. If the historical classification result recorded in a certain historical classification record is based on the target standard document corresponding to the standard identifier and is obtained based on the first version information, then the historical classification record can be used as the target historical classification record. If a certain historical classification record is unrelated to the standard identifier, or is not obtained based on the first version information, then the historical classification record may not be used as the target historical classification record for subsequent classification result update processing.
[0034] As an example, if a target standard document is updated from version 1 to version 2, and the historical classification record contains the historical classification results for data 1, along with the standard clause information and version 1 information of the target standard document referenced when those historical classification results were obtained, then the target historical classification record corresponding to data 1 can be retrieved from the historical classification record based on the standard identifier and version 1 information of the target standard document. Therefore, it is unnecessary to manually check the standard documents upon which each historical classification result is based, nor is it necessary to uniformly reclassify all historical data. Instead, the target historical data related to the target standard document before the update can be determined using the standard reference information stored in the historical classification record.
[0035] S103: Based on the updated standard content and the standard clause information referenced in the target historical classification record, classify the target historical data to obtain the updated classification result corresponding to the target historical data.
[0036] The updated classification result is the classification result obtained by classifying the target historical data based on the target standard file corresponding to the second version information after the target standard file is updated. Since the target historical classification record records the standard clause information referenced by the historical classification results, when reclassifying the target historical data, the updated standard content and the standard clause information referenced in the target historical classification record can be combined to classify the target historical data.
[0037] Specifically, based on the standard clause information referenced in the target historical classification records, the standard content on which the target historical data was based during the historical classification process can be determined. Then, combined with the updated standard content corresponding to the second version information, the target historical data can be reclassified. In this way, the reclassification process references the standard clause information corresponding to the original classification basis of the target historical data, ensuring a correspondence between the updated classification result and the original classification basis of the target historical data.
[0038] As an example, the historical classification record can record the historical classification results of data 1, as well as the standard clause information and first version information referenced when the historical classification result was obtained. When the target standard file is updated to the second version, data 1 can be reclassified based on the parsed updated standard content and the standard clause information referenced in the target historical classification record corresponding to data 1, resulting in the updated classification result for data 1. If the updated standard content corresponding to the second version information is adjusted compared to the standard content corresponding to the first version information, the updated classification result can reflect the classification of the target historical data under the updated target standard file.
[0039] As can be seen from the above technical solution, after obtaining the standard update information of the target standard document, the target standard document corresponding to the second version information is parsed to obtain the updated standard content, enabling the updated standard document to be converted into standard content that can be used for subsequent classification processing. Based on the standard identifier of the target standard document and the first version information before the update, the target historical classification record is queried from the historical classification record. Since the target historical classification record includes the historical classification results corresponding to the target historical data, as well as the standard clause information and first version information referenced by the historical classification results corresponding to the standard identifier, when the target standard document is updated, the target historical data related to the standard document before the update can be determined based on the standard reference information stored in the historical classification record, without the need for manual item-by-item checking of historical classification results, nor the need for unified reclassification of historical data unrelated to the target standard document.
[0040] Based on the updated standard content and the standard clause information referenced in the target historical classification records, the target historical data is classified to obtain the updated classification results corresponding to the target historical data. The reclassification process updates the classification results of the target historical data by combining the standard clause information originally referenced in the historical classification results. This establishes a correspondence between the updated classification results and the original classification basis of the target historical data, reducing interference from irrelevant standard content in the reclassification process and improving the accuracy of updating historical classification results after the standard document is updated. Simultaneously, because the target historical classification records can be located based on the standard identifier and first version information, and reclassification is performed only on the target historical data corresponding to the target historical classification records, the data processing overhead caused by repeatedly classifying data unaffected by the target standard document update can be reduced, improving the efficiency of historical classification result update processing.
[0041] In one possible implementation, the process of querying the target historical classification records based on the standard identifier and first version information of the target standard document can be found in A1-A4.
[0042] A1: Based on the standard identifier and first version information, query candidate historical classification records from the historical classification records.
[0043] Among them, candidate historical classification records are those that reference the target standard document and are the first version of the referenced information. In other words, candidate historical classification records have a reference relationship with the target standard document, but whether the historical classification results corresponding to the candidate historical classification records are affected by updates to the target standard document needs to be further determined by considering the specific standard clause information they reference.
[0044] As one implementation method, the historical classification record can record the data identifier of historical data, historical classification results, the standard identifier, standard clause information, and version information referenced in obtaining the historical classification results. After the target standard document is updated from the first version information to the second version information, the historical classification record can be queried based on the standard identifier and the first version information, and the queried records can be used as candidate historical classification records.
[0045] As an example, the target standard file is a data classification standard file, which has been updated from version V1 to version V2. If the historical classification record contains the historical classification result of data 1, and this historical classification result references a standard clause in version V1 of the data classification standard file, then the historical classification record corresponding to data 1 can be considered as a candidate historical classification record. If the historical classification record corresponding to data 2 references another standard file, then the historical classification record corresponding to data 2 may not be considered as a candidate historical classification record.
[0046] A2: Based on the standard clause information referenced in the candidate historical classification record, determine the updated standard clause information corresponding to the referenced standard clause information from the updated standard content.
[0047] Specifically, the updated standard clause information refers to the standard clause information in the updated standard content that corresponds to the standard clause information referenced in the candidate historical classification records. The standard clause information referenced in the candidate historical classification records is used to characterize the old version of the standard content on which the historical classification results were based, while the updated standard clause information is used to characterize the updated standard content in the target standard file corresponding to the old version of the standard content.
[0048] This application does not specifically limit the method for determining the updated standard clause information. As one implementation, the corresponding updated standard clause information can be determined from the updated standard content based on the clause identifier, clause name, clause location, or clause text content represented by the standard clause information referenced in the candidate historical classification record. Therefore, the updated standard content related to the historical classification basis in the target standard file corresponding to the second version information can be determined using the original standard clauses referenced in the historical classification results as a clue.
[0049] As an example, the historical classification result of data 1 in the candidate historical classification record references the "Customer Identity Data Classification Rule" in the V1 version of the target standard file. After the target standard file is updated to version V2, the updated standard clause information corresponding to the "Customer Identity Data Classification Rule" can be determined from the updated standard content, so as to determine whether the historical classification result corresponding to data 1 is affected by the update of the target standard file.
[0050] A3: Based on the content of the standard clauses corresponding to the cited standard clause information and the content of the standard clauses corresponding to the updated standard clause information, determine whether the candidate historical classification record is affected by the update of the target standard document.
[0051] It is understandable that an update to the target standard document does not necessarily mean that all historical classification results referencing the first version of that target standard document will be affected. For example, when the target standard document is updated from version one to version two, only the classification criteria for some data types may be adjusted, while the classification rules for other data types remain substantially unchanged. Therefore, after obtaining candidate historical classification records, it is possible to further determine whether the candidate historical classification records have been affected by the target standard document update based on the content of the standard clauses referenced by the candidate historical classification records and the content of the corresponding updated standard clauses.
[0052] One approach is to compare the content of the standard clauses corresponding to the referenced standard clauses with the content of the updated standard clauses, and determine whether the candidate historical classification records have been affected based on these differences. If there are differences that could affect the historical classification results, such as changes in classification conditions, scope of application, or classification boundaries, then the candidate historical classification records have been affected by the update of the target standard document. If there are no differences that would affect the historical classification results, then the candidate historical classification records have not been affected by the update of the target standard document.
[0053] As an example, when the target standard document is updated from version V1 to version V2, version V2 adjusts the classification criteria for customer identity data, while the classification criteria for device operation log data remain unchanged. If the historical classification result of data 1 in the candidate historical classification records is obtained based on the classification criteria for customer identity data, then it can be determined that the candidate historical classification record corresponding to data 1 is affected by the target standard document update. If the historical classification result of data 2 in the candidate historical classification records is obtained based on the classification criteria for device operation log data, then it can be determined that the candidate historical classification record corresponding to data 2 is not affected by the target standard document update.
[0054] A4: If the candidate historical classification record is affected by the update of the target standard document, then the candidate historical classification record will be determined as the target historical classification record.
[0055] Therefore, candidate historical classification records referencing the first version of the target standard document are first selected from the historical classification records. Then, the standard clause information and updated standard content referenced by the candidate historical classification records are combined to determine whether the candidate historical classification records are affected by the update of the target standard document. This avoids reclassifying all historical data referencing the first version of the target standard document simply because the target standard document has been updated, thereby reducing the data processing overhead caused by the repeated classification of irrelevant historical data.
[0056] In one possible implementation, the updated standard content includes multiple updated standard clause information. Based on this, the target historical data is classified according to the updated standard content and the standard clause information referenced in the target historical classification record. The process of obtaining the updated classification results corresponding to the target historical data can be found in B1-B2.
[0057] B1: The updated standard clause information corresponding to the standard clause information referenced in the target historical classification record is identified as the target updated standard clause information.
[0058] The target update standard clause information is used to update the classification results of the target's historical data. The target update standard clause information corresponds to the standard clause information referenced in the target's historical classification records, so that the reclassification process can continue the correspondence of the original classification basis of the target's historical data, rather than arbitrarily selecting standard content from the updated standard content for classification.
[0059] As one implementation method, if the historical classification result of the target historical data recorded in the target historical classification record references a certain standard clause in the target standard file corresponding to the first version information, then the updated standard clause information corresponding to that standard clause can be determined from the multiple updated standard clause information included in the updated standard content, and that updated standard clause information can be used as the target updated standard clause information.
[0060] B2: Based on the target update standard clause information, classify the target historical data to obtain the updated classification results.
[0061] As an example, the target historical data is Data 1. The historical classification result of Data 1 is obtained based on the customer identity data classification clause in the V1 version target standard file. After the target standard file is updated to version V2, the updated standard clause information corresponding to the customer identity data classification clause in version V2 can be determined as the target updated standard clause information. Data 1 is then classified according to the target updated standard clause information to obtain the updated classification result for Data 1.
[0062] In one possible implementation, the target's historical data is classified according to the target update standard clause information to obtain the updated classification result, which may include steps 1-3.
[0063] Step 1: Generate categorized task information based on historical target data and target update standard clause information.
[0064] The classification task information is used to classify and process the target's historical data. This information may include the data content of the target's historical data, the corresponding historical classification results, target update standard clause information, and second-version information. By incorporating the target update standard clause information into the classification task information, the classification process can be executed based on the updated standard content.
[0065] Step 2: Classify the target historical data according to the classification task information.
[0066] This application does not specifically limit the specific method of classification processing. As one implementation method, classification task information can be input into a classification model to obtain updated classification results corresponding to the target historical data. As another implementation method, classification task information can be input into a large language model, which then classifies the target historical data based on the target update standard clause information to obtain updated classification results.
[0067] Step 3: Output the updated classification results corresponding to the target historical data.
[0068] As an example, the target historical data is data 1, and the target update standard clause information is used to characterize the updated classification rules for customer identity data in the V2 version target standard file. Classification task information can be generated based on data 1, the corresponding historical classification results, and the target update standard clause information. Then, data 1 can be classified based on this classification task information to obtain the updated classification result for data 1.
[0069] Therefore, when updating the classification results of target historical data, the target update standard clause information can be used as the basis for classification processing, so that the updated classification results can match the updated standard content in the target standard file corresponding to the second version information.
[0070] Therefore, the reclassification process is completed based on the updated standard clauses corresponding to the original referenced standard clauses. This can reduce the interference of standard content that is unrelated to the original classification basis of the target historical data on the reclassification process and improve the correspondence between the updated classification results and the original classification basis of the target historical data.
[0071] In one possible implementation, after obtaining the updated classification results corresponding to the target historical data, classification result change information can be generated based on the historical classification results and the updated classification results, as detailed in C1-C2.
[0072] C1: Based on historical classification results and updated classification results, determine whether the classification results of the target historical data have changed.
[0073] The historical classification results refer to the classification results of the target historical data before the target standard document was updated, while the updated classification results refer to the classification results of the target historical data after the target standard document was updated. By comparing the historical classification results and the updated classification results, it can be determined whether the update of the target standard document caused a change in the classification results of the target historical data.
[0074] One approach is to compare the data categories represented by historical classification results with those represented by updated classification results. If they match, it can be determined that the classification result of the target historical data has not changed. If they do not match, it can be determined that the classification result of the target historical data has changed.
[0075] C2: If the classification result of the target historical data changes, generate classification result change information corresponding to the target historical data.
[0076] The classification result change information includes historical classification results, updated classification results, first version information, second version information, and target updated standard clause information. This information characterizes the changes in classification results of historical target data before and after updates to the target standard document, as well as the updated standard clauses upon which the updated classification results were obtained.
[0077] As an example, if Data 1 was historically classified as "Ordinary Customer Information" in the V1 version target standard file, and its updated classification as "Sensitive Customer Information" in the V2 version target standard file, then classification result change information for Data 1 can be generated. This classification result change information can include ordinary customer information data, sensitive customer information data, V1 version information, V2 version information, and target update standard clause information used to obtain the updated classification result of sensitive customer information data.
[0078] Therefore, when the classification results change, the corresponding change information can be output, so that the changes in the classification results of the target historical data and the basis for the changes can be traced, and the verifiability of the maintenance of classification results after the standard document is updated can be improved.
[0079] In one possible implementation, after obtaining the updated classification result, the updated classification result, the target updated standard clause information, and the second version information can be associated and stored in the historical classification record corresponding to the target historical data, so as to update the classification basis record corresponding to the target historical data.
[0080] The classification basis record is used to record the classification results of the target's historical data and the standard content on which the classification results were obtained. By associating and storing the updated classification results, the target updated standard clause information, and the second version information in the historical classification record corresponding to the target's historical data, the classification basis of the target's historical data can be updated from the standard clauses corresponding to the first version information to the standard clauses corresponding to the second version information.
[0081] As an example, the original historical classification record for Data 1 contained V1 version information, standard clause information within V1, and historical classification results. After obtaining the updated classification results based on the target updated standard clause information corresponding to V2 version, the updated classification results, target updated standard clause information, and V2 version information can be associated and written into the corresponding historical classification record for Data 1. Thus, when the target standard document undergoes a subsequent version update, the standard reference information in the historical classification record for Data 1 can be used to determine whether Data 1 needs to have its classification results updated.
[0082] Therefore, the classification records corresponding to the target historical data can be updated synchronously with the version update of the target standard file, providing a data foundation for locating the affected historical classification records when the standard file is updated again.
[0083] In one possible implementation, after associating and storing the updated classification results, target update standard clause information, and second version information into the historical classification record corresponding to the target historical data, a classification completion event can also be generated. The classification completion event indicates that the target historical data has completed the classification result update based on the target standard file corresponding to the second version information.
[0084] As one implementation method, a classification completion event can include identification information of the target's historical data, updated classification results, second-version information, and target updated standard clause information. By generating classification completion events, subsequent processing can be based on the display of classification completion event execution results, audit prompts, log recording, or tracing of classification criteria.
[0085] As an example, after Data 1 is reclassified based on the V2 version target standard file, a classification completion event can be generated for Data 1. This classification completion event can record the identification information of Data 1, the updated classification result, the V2 version information, and the target updated standard clause information used to obtain the updated classification result. If it is subsequently necessary to query the classification basis of Data 1, the standard version and standard clauses corresponding to the current classification result of Data 1 can be determined based on this classification completion event or the updated historical classification records.
[0086] Therefore, after the classification results are updated, the correlation between the target historical data and the updated standard basis can be retained, thereby improving the traceability of the classification result update process.
[0087] In one possible implementation, after generating the classification result change information, an audit prompt message can be further generated, as detailed in D1-D2.
[0088] D1: If the classification results of the target historical data change, determine whether the target historical data meets the review conditions based on the historical classification results, the updated classification results, and the target updated standard clause information.
[0089] The review conditions are used to determine whether the target historical data needs to be reviewed. This application embodiment does not specifically limit the content of the review conditions. As one implementation, the review conditions can be determined based on the changes between historical classification results and updated classification results. As another implementation, the review conditions can also be determined based on the standard content corresponding to the target updated standard clause information.
[0090] For example, if the classification result of the target historical data changes from a data category with lower sensitivity to a data category with higher sensitivity, or if updating the classification result involves data categories that require manual confirmation, then the target historical data can be determined to meet the review criteria. If the classification result of the target historical data changes, but the changed classification result does not require further confirmation, then the target historical data can be determined to not meet the review criteria.
[0091] D2: If the target historical data meets the review criteria, a review prompt message for the target historical data will be generated.
[0092] The audit notification information includes the target historical data's identification information, historical classification results, updated classification results, and second version information. This notification is used to indicate that the target historical data requires auditing after the target standard document is updated.
[0093] As an example, if the historical classification result for Data 1 is "Ordinary Customer Information," and the updated classification result is "Sensitive Customer Information," and since "Sensitive Customer Information" requires manual confirmation, then a review prompt message for Data 1 can be generated. This review prompt message can include the identifier information for Data 1, the "Ordinary Customer Information" category, the "Sensitive Customer Information" category, and the V2 version information.
[0094] Therefore, when the classification results of target historical data change due to updates to the target standard document, the target historical data that needs to be reviewed can be further filtered, avoiding the generation of review prompts for all reclassified target historical data, improving the accuracy of the generated review prompt information, and reducing unnecessary review processing.
[0095] In one possible implementation, the process of parsing the target standard file corresponding to the second version information to obtain the updated standard content can be found in E1-E2.
[0096] E1: Parse the target standard file according to the chapter structure of the target standard file corresponding to the second version information to obtain multiple updated standard clause information.
[0097] The chapter structure is the structure used to organize the standard content in the target standard file. As one implementation, the chapter structure can reflect the chapter number, chapter title, or chapter hierarchy of the standard content. Updated standard clause information is the standard clause information parsed from the target standard file corresponding to the second version information, used to represent the standard content in the updated target standard file.
[0098] As an example, a target standard document may include classification principles, classification rules, and applicable conditions. If the target standard document corresponding to the second version information organizes the above content in a chapter-based manner, it can be parsed according to the chapter structure of the target standard document to obtain multiple updated standard clauses. In this way, the obtained updated standard clauses can retain the relatively complete meaning of the standard content in the target standard document, reducing the possibility of missing context due to mechanical segmentation.
[0099] In one possible implementation, when parsing the target standard file according to the chapter structure in the target standard file corresponding to the second version information, if the text length of the target chapter in the target standard file is greater than a preset text length threshold, the target chapter can be divided into multiple sub-clause text blocks, and the multiple sub-clause text blocks can be processed as updated standard clause information respectively.
[0100] The preset text length threshold is a threshold used to control the text length of a single updated standard clause. This application does not specifically limit the exact value of the preset text length threshold; it can be determined based on the text length that the classification process can handle.
[0101] As an example, a section in the target standard document might describe the classification rules for customer information data. If this section is lengthy, directly using it as a single update clause could lead to excessive text length during subsequent classification processing. In this case, while retaining the corresponding section information, the section can be divided into multiple sub-clause text blocks. Each sub-clause text block can then be associated with a standard identifier, second version information, and section information. This preserves the section hierarchy of the standard content in the target standard document while preventing a single excessively long update clause from impacting subsequent classification result updates.
[0102] E2: For each updated standard clause, associate the standard identifier, second version information, and the chapter information corresponding to the updated standard clause.
[0103] The chapter information is used to represent the location or structural relationship of the updated standard clause information within the target standard document. As one implementation, chapter information may include chapter number, chapter title, chapter level, and chapter description. By associating the standard identifier, second version information, and chapter information with the updated standard clause information, a correspondence can be established between the updated standard clause information and the target standard document and its updated version.
[0104] As an example, if a certain updated standard clause information comes from the section on customer identity data classification rules in the V2 version target standard document, then the updated standard clause information can be associated with the standard identifier, V2 version information, and the corresponding section information of the target standard document.
[0105] In one possible implementation, after obtaining multiple updated standard clause information, these clauses can be stored in a standard knowledge base so that the corresponding updated standard content can be determined later based on the standard clause information referenced in the target historical classification record.
[0106] Specifically, information such as the standard identifier, second version information, file name, file description, industry, and file status of the target standard document can be associated and stored in the standard document metadata table. Similarly, information such as the chapter information, clause content, clause description, parent chapter information, and chapter level corresponding to each updated standard clause can be associated and stored in the standard clause metadata table. Thus, the updated target standard document can be identified through the standard identifier and second version information, and the standard clauses within the target standard document that can be used to update the classification results can be identified through the chapter information and clause content.
[0107] As one implementation method, index information for retrieval can be generated based on the chapter name, clause description, industry, or document name corresponding to the updated standard clause information. Subsequently, when determining the updated standard content based on the standard clause information referenced in the target historical classification record, the corresponding updated standard clause information can be located from the standard knowledge base by combining the standard identifier, second version information, and index information.
[0108] As an example, the target standard file is a financial industry data classification standard file, with version 2 designated as V2. After parsing this target standard file, the standard identifier, V2 version information, and financial industry information can be stored in the standard file metadata table. The clause content, chapter name, and chapter level corresponding to the customer identity data classification rules can be stored in the standard clause metadata table. Subsequently, if a historical classification record references the customer identity data classification rules in version V1 of this financial industry data classification standard file, the corresponding updated standard clause information in version V2 can be located in the standard knowledge base based on the standard clause information in that historical classification record. This allows the parsed updated standard content to be stored in a queryable and locatable manner, improving the efficiency of subsequently determining updated standard clause information and executing classification result updates.
[0109] Therefore, when it is necessary to determine the applicable updated standard content based on the standard clause information referenced in the target historical classification record, the above-mentioned associated records can be used to improve the efficiency of locating the updated standard content.
[0110] In one possible implementation, the target standard document includes at least one of national standard documents, industry standard documents, and enterprise standard documents, and the historical classification record also includes industry information corresponding to the target historical data. Based on this, the process of classifying the target historical data according to the updated standard content and the standard clause information referenced in the target historical classification record to obtain the updated classification result corresponding to the target historical data can be found in F1-F2.
[0111] F1: Based on industry information and standard clause information referenced in the target historical classification records, determine the appropriate updated standard clause information applicable to the target historical data from multiple updated standard clause information.
[0112] Industry information is used to characterize the industry context to which the target historical data belongs. Adapted update standard clause information refers to the standard clause information applicable to the target historical data from among multiple updated standard clause information. In scenarios where multiple standard documents coexist, different industry or business scenarios may apply different standard content. Therefore, the adapted update standard clause information can be determined from multiple updated standard clause information by combining the industry information corresponding to the target historical data and the standard clause information referenced in the target historical classification records.
[0113] As an example, the target historical data belongs to the financial industry, and the historical classification records for this target historical data reference the customer information classification clauses in relevant financial industry standard documents. After the target standard document is updated, the appropriate updated standard clauses for this target historical data can be determined from multiple updated standard clause information by combining the industry information of the financial industry and the customer information classification clauses referenced in the target historical classification records.
[0114] F2: Based on the information in the adaptation update standard terms, classify the target historical data to obtain the updated classification results.
[0115] As an example, if the adapted updated standard terms information is used to characterize the updated standard content regarding customer information classification in the financial industry standard document corresponding to the second version of the information, then the target historical data can be classified according to the adapted updated standard terms information to obtain the updated classification result.
[0116] Therefore, when the target standard document includes multiple types of standard documents, the updated standard content that is more applicable to the target historical data can be determined by combining the industry information corresponding to the target historical data and the standard clause information referenced in the historical classification records, thereby improving the accuracy of classification result updates in cross-industry or multi-standard scenarios.
[0117] See Figure 2 , Figure 2 A data classification result updating device provided in this application embodiment, device 200 includes: Parsing unit 201 is used to parse the target standard file corresponding to the second version information in response to obtaining the standard update information of the target standard file, and obtain the updated standard content. The standard update information includes the standard identifier of the target standard file, the first version information before the update and the second version information after the update. The first version information and the second version information are different. The query unit 202 is used to query a target historical classification record from the historical classification record according to the standard identifier and the first version information. The target historical classification record includes the historical classification result corresponding to the target historical data, as well as the standard clause information and the first version information referenced by the historical classification result that correspond to the standard identifier. The classification unit 203 is used to classify the target historical data according to the updated standard content and the standard clause information referenced in the target historical classification record, so as to obtain the updated classification result corresponding to the target historical data.
[0118] Optionally, the query unit 202 is specifically used for: Based on the standard identifier and the first version information, query candidate historical classification records from the historical classification records; Based on the standard clause information referenced in the candidate historical classification record, determine the updated standard clause information corresponding to the referenced standard clause information from the updated standard content; Based on the content of the standard clauses corresponding to the referenced standard clauses and the content of the standard clauses corresponding to the updated standard clauses, determine whether the candidate historical classification record is affected by the update of the target standard document; If the candidate historical classification record is affected by the update of the target standard document, then the candidate historical classification record is determined as the target historical classification record.
[0119] Optionally, the updated standard content includes multiple updated standard clause information, and the classification unit 203 is specifically used for: The updated standard clause information corresponding to the standard clause information referenced in the target historical classification record is determined as the target updated standard clause information; Based on the target update standard clause information, the target historical data is classified to obtain the update classification result.
[0120] Optionally, the device 200 further includes a generation unit for: Based on the historical classification results and the updated classification results, determine whether the classification result of the target historical data has changed; If the classification result of the target historical data changes, classification result change information corresponding to the target historical data is generated. The classification result change information includes the historical classification result, the updated classification result, the first version information, the second version information, and the target update standard clause information.
[0121] Optionally, the device 200 further includes a storage unit for: The updated classification result, the target updated standard clause information, and the second version information are associated and stored in the historical classification record corresponding to the target historical data, so as to update the classification basis record corresponding to the target historical data.
[0122] Optionally, the device 200 further includes an auditing unit for: If the classification result of the target historical data changes, determine whether the target historical data meets the review conditions based on the historical classification result, the updated classification result, and the target updated standard clause information; If the target historical data meets the review conditions, a review prompt message is generated for the target historical data. The review prompt message includes the identification information of the target historical data, the historical classification result, the updated classification result, and the second version information.
[0123] Optionally, the parsing unit 201 is specifically used for: According to the chapter structure of the target standard file corresponding to the second version information, the target standard file is parsed to obtain multiple updated standard clause information; For each updated standard clause, the standard identifier, the second version information, and the chapter information corresponding to the updated standard clause are associated and recorded.
[0124] Optionally, the target standard document includes at least one of national standard documents, industry standard documents, and enterprise standard documents, and the historical classification record also includes industry information corresponding to the target historical data. The classification unit 203 is specifically used for: Based on the industry information and the standard clause information referenced in the target historical classification record, determine the appropriate updated standard clause information for the target historical data from the plurality of updated standard clause information; Based on the adaptation update standard terms, the target historical data is classified to obtain the update classification result.
[0125] See Figure 3 This application also provides a computer device, which includes a memory 301 and a processor 302. The memory is used to store computer programs and to transfer the computer programs to the processor; The processor is used to execute the method of the above method embodiment according to the computer program.
[0126] This application also provides a computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program, the computer program being used to execute the method of the above-described method embodiments.
[0127] This application also provides a computer program product including a computer program, which, when run on a computer device, causes the computer device to perform the method described in the above method embodiments.
[0128] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.
[0129] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0130] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0131] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0132] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0133] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for updating data classification results, characterized in that, The method includes: In response to obtaining the standard update information of the target standard file, the target standard file corresponding to the second version information is parsed to obtain the updated standard content. The standard update information includes the standard identifier of the target standard file, the first version information before the update, and the second version information after the update. The first version information and the second version information are different. Based on the standard identifier and the first version information, a target historical classification record is queried from the historical classification record. The target historical classification record includes the historical classification result corresponding to the target historical data, as well as the standard clause information and the first version information referenced by the historical classification result that correspond to the standard identifier. Based on the updated standard content and the standard clause information referenced in the target historical classification record, the target historical data is classified to obtain the updated classification result corresponding to the target historical data.
2. The method according to claim 1, characterized in that, The step of querying the target historical classification record from the historical classification records based on the standard identifier and the first version information includes: Based on the standard identifier and the first version information, query candidate historical classification records from the historical classification records; Based on the standard clause information referenced in the candidate historical classification record, determine the updated standard clause information corresponding to the referenced standard clause information from the updated standard content; Based on the content of the standard clauses corresponding to the referenced standard clauses and the content of the standard clauses corresponding to the updated standard clauses, determine whether the candidate historical classification record is affected by the update of the target standard document; If the candidate historical classification record is affected by the update of the target standard document, then the candidate historical classification record is determined as the target historical classification record.
3. The method according to claim 2, characterized in that, The updated standard content includes multiple updated standard clauses. The step of classifying the target historical data based on the updated standard content and the standard clauses referenced in the target historical classification record to obtain the updated classification result corresponding to the target historical data includes: The updated standard clause information corresponding to the standard clause information referenced in the target historical classification record is determined as the target updated standard clause information; Based on the target update standard clause information, the target historical data is classified to obtain the update classification result.
4. The method according to claim 3, characterized in that, The method further includes: Based on the historical classification results and the updated classification results, determine whether the classification result of the target historical data has changed; If the classification result of the target historical data changes, classification result change information corresponding to the target historical data is generated. The classification result change information includes the historical classification result, the updated classification result, the first version information, the second version information, and the target update standard clause information.
5. The method according to claim 3, characterized in that, The method further includes: The updated classification result, the target updated standard clause information, and the second version information are associated and stored in the historical classification record corresponding to the target historical data, so as to update the classification basis record corresponding to the target historical data.
6. The method according to claim 4, characterized in that, The method further includes: If the classification result of the target historical data changes, determine whether the target historical data meets the review conditions based on the historical classification result, the updated classification result, and the target updated standard clause information; If the target historical data meets the review conditions, a review prompt message is generated for the target historical data. The review prompt message includes the identification information of the target historical data, the historical classification result, the updated classification result, and the second version information.
7. The method according to claim 1, characterized in that, In response to obtaining the standard update information of the target standard file, the target standard file corresponding to the second version information is parsed to obtain the updated standard content, including: According to the chapter structure of the target standard file corresponding to the second version information, the target standard file is parsed to obtain multiple updated standard clause information; For each updated standard clause, the standard identifier, the second version information, and the chapter information corresponding to the updated standard clause are associated and recorded.
8. The method according to claim 7, characterized in that, The target standard document includes at least one of national standard documents, industry standard documents, and enterprise standard documents. The historical classification record also includes industry information corresponding to the target historical data. The step of classifying the target historical data according to the updated standard content and the standard clause information referenced in the target historical classification record to obtain the updated classification result corresponding to the target historical data includes: Based on the industry information and the standard clause information referenced in the target historical classification record, determine the appropriate updated standard clause information for the target historical data from the plurality of updated standard clause information; Based on the adaptation update standard terms, the target historical data is classified to obtain the update classification result.
9. A data classification result updating device, characterized in that, The device includes: The parsing unit is used to parse the target standard file corresponding to the second version information in response to obtaining the standard update information of the target standard file, and to obtain the updated standard content. The standard update information includes the standard identifier of the target standard file, the first version information before the update and the second version information after the update. The first version information and the second version information are different. The query unit is used to query a target historical classification record from the historical classification record based on the standard identifier and the first version information. The target historical classification record includes the historical classification result corresponding to the target historical data, as well as the standard clause information and the first version information referenced by the historical classification result that correspond to the standard identifier. The classification unit is used to classify the target historical data according to the updated standard content and the standard clause information referenced in the target historical classification record, so as to obtain the updated classification result corresponding to the target historical data.
10. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store computer programs and to transfer the computer programs to the processor; The processor is configured to perform the method according to any one of claims 1-8 according to the computer program.