Data grading and classifying method and related equipment

By acquiring and utilizing the upstream blood relationship and data processing methods of target data, and building a combination matrix with multiple candidate classification results, the problem of low data classification accuracy in the existing technology is solved, and higher classification accuracy is achieved .

CN119003772APending Publication Date: 2024-11-22太保科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411062162.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing data classification and grading methods are low in accuracy, mainly because they only analyze the characteristic of a single field or data item, and ignore the logical relationship between the data.

Method used

By obtaining the upstream blood relationship of the target data, including preset classification grading results and blood data processing methods, candidate classification results are determined, and a combination matrix is ​​constructed based on multiple candidate results to determine the final classification grading results, combining the preset level of the upstream data. Classify and classify data processing methods.

Benefits of technology

The accuracy of data classification and grading is improved, and the related data is fully identified by taking into account the blood relationship between the target data and the upstream data, thereby improving the accuracy of classification and grading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003772A_ABST
    Figure CN119003772A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data classification and grading method and related equipment, and the method comprises the steps: obtaining an upstream blood relationship of target data; the upstream blood relationship comprises a preset classification and grading result of target upstream data and a blood relationship data processing mode when the target data is determined based on the target upstream data; the target upstream data corresponds to the target data; determining candidate classification and grading results of the target data according to the upstream blood relationship of the target data; and determining a final classification and grading result of the target data based on the candidate classification and grading result, so that the classification and grading accuracy of the target data is comprehensively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data grading and classification method and related equipment. Background Art

[0002] Data classification and grading is an important measure in information security management, which is used to protect data of different types and sensitivities. Its purpose is to classify and grade data to determine its importance and sensitivity, so as to take appropriate protection measures to prevent data leakage, tampering and unauthorized access.

[0003] In the current data classification and grading scheme, data is mainly classified and graded through feature analysis of a single field or data item, and the accuracy of data classification and grading is low.

[0004] Therefore, how to solve the problem of low accuracy of data classification and grading in the prior art has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] Based on the above problems, in order to solve the problem of low accuracy of data classification and grading in the prior art, the present application provides a data grading and classification method and related equipment.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] In a first aspect, the present application provides a data classification and grading method, comprising:

[0008] Acquire the upstream blood relationship of the target data; the upstream blood relationship includes: the preset classification and grading result of the target upstream data, and the blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data;

[0009] Determining candidate classification and grading results of the target data according to the upstream blood relationship of the target data;

[0010] Based on the candidate classification and grading results, a final classification and grading result of the target data is determined.

[0011] Optionally, the bloodline data processing method includes: a reducible function and an irreducible function;

[0012] When the bloodline data processing method is the irreversible function, the target data cannot be restored to the target upstream data;

[0013] When the lineage data processing method is the restorable function, the target data can be restored to the target upstream data.

[0014] Optionally, determining the candidate classification and grading results of the target data according to the upstream blood relationship of the target data includes:

[0015] When the bloodline data processing method is the irreversible function, based on the preset level reduction rule, the preset classification and grading result of the target upstream data is graded down to obtain a downgraded result; the level of the downgraded result is lower than the level of the preset classification and grading result;

[0016] According to the degradation result and the preset classification and grading result, a candidate classification and grading result of the target data is determined.

[0017] Optionally, the lineage data processing method further includes: direct acquisition and logic processing; when the lineage data processing method is the logic processing, the target upstream data does not participate in the data output of the target data;

[0018] Determining the candidate classification and grading results of the target data according to the upstream blood relationship of the target data includes:

[0019] When the bloodline data processing method is the direct acquisition or the reducible function, the preset classification and grading result of the target upstream data is determined as the candidate classification and grading result of the target data;

[0020] When the bloodline data processing method is the logical processing, the candidate classification and grading result of the target data is determined to be empty.

[0021] Optionally, determining the final classification and grading result of the target data based on the candidate classification and grading result includes:

[0022] Obtain the number of results of the candidate classification and grading results;

[0023] When the number of results is 1, determining the preset classification and grading result of the target upstream data as the final classification and grading result of the target data;

[0024] When the number of the results includes at least 2, the final classification and grading result of the target data is determined based on the grading values ​​corresponding to the plurality of candidate classification and grading results.

[0025] Optionally, when the number of the results includes at least 2, determining the final classification and grading result of the target data based on the grading values ​​corresponding to the plurality of candidate classification and grading results includes:

[0026] According to the plurality of candidate classification and grading results, a classification and grading combination matrix is ​​constructed; the classification and grading combination matrix is ​​composed of the combination results of the plurality of candidate classification and grading results;

[0027] The final classification and grading result of the target data is determined according to the combination result of the multiple candidate classification and grading results and the grading values ​​corresponding to the multiple candidate classification and grading results.

[0028] Optionally, after determining the final classification and grading result of the target data based on the candidate classification and grading results, the method further includes:

[0029] Based on the final classification and grading result of the target data and the upstream blood relationship, blood relationship display information between the preset classification and grading result and the final classification and grading result is generated.

[0030] Optionally, after obtaining the upstream blood relationship of the target data, the method further includes:

[0031] When the upstream blood relationship of the target data is empty, performing text feature analysis on the target data to obtain text features of the target data;

[0032] Classification and grading are performed based on the text features of the target data to obtain a final classification and grading result of the target data.

[0033] In a second aspect, the present application provides a data classification and grading system, comprising:

[0034] A blood relationship acquisition module, used to acquire the upstream blood relationship of the target data; the upstream blood relationship includes: a preset classification result of the target upstream data, and a blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data;

[0035] A candidate result determination module, used to determine the candidate classification and grading results of the target data according to the upstream blood relationship of the target data;

[0036] The final result determination module is used to determine the final classification and grading result of the target data based on the candidate classification and grading results.

[0037] In a third aspect, the present application provides an electronic device, the device comprising: a processor, a memory, and a system bus;

[0038] The processor and the memory are connected via the system bus;

[0039] The memory is used to store one or more programs, and the one or more programs include instructions, which, when executed by the processor, enable the processor to execute the data classification and grading method described in any one of the first aspects.

[0040] Compared with the prior art, the present application has the following beneficial effects: the embodiment of the present application provides a data classification and grading method and related equipment. In the data classification and grading method provided in the embodiment of the present application, the upstream lineage relationship of the target data is obtained; the upstream lineage relationship includes: the preset classification and grading results of the target upstream data, and the lineage data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data; according to the upstream lineage relationship of the target data, the candidate classification and grading results of the target data are determined; based on the candidate classification and grading results, the final classification and grading results of the target data are determined.

[0041] In the data classification and grading method of the present embodiment, it is necessary to determine the candidate classification and grading results of the target data through the upstream blood relationship of the target data. Since the upstream blood relationship of the target data includes the blood relationship data processing method for determining the target data based on the target upstream data. Therefore, through the blood relationship data processing method between the target upstream field and the target field, the target upstream data associated with the target data can be more comprehensively identified, and the data processing method of the target upstream data can be incorporated into the judgment of classification and grading. Classification and grading are no longer performed only for the single field characteristics of the target data. The reference factors of classification and grading are more comprehensive and accurate, which greatly improves the accuracy of classification and grading of the target data. At the same time, since the preset classification and grading results of the target upstream data have been pre-set and included in the upstream blood relationship, the classification and grading of the target data can be determined based on the classification and grading results of the target upstream data and the data processing method between the two, so that the accuracy of classification and grading of the target data is comprehensively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 A flowchart of a data classification and grading method provided in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a flow chart of a method for determining candidate classification and grading results of target data provided in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of a flow chart of another method for determining candidate classification and grading results of target data provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a process for determining a final classification and grading result of target data provided in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of displaying information on the blood relationship between a preset classification and grading result and a final classification and grading result provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of the structure of a data classification and grading system provided in an embodiment of the present application;

[0049] Figure 7 A schematic diagram of the structure of a data classification and grading electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] As described above, in the current data classification and grading scheme, data is mainly classified and graded by analyzing the characteristics of a single field or data item, and the accuracy of data classification and grading is low.

[0051] In existing data classification and grading schemes, only feature analysis is performed on a single field or a single data in the target data, and the target data is classified and graded based on the single feature analysis result of the target data. The logical relationship between the data is often ignored, resulting in low accuracy of data classification and grading.

[0052] In the data pools and data centers currently used to store large amounts of data, there are often two types of data: upstream data and downstream data. Upstream data refers to data generated or existing in the early stages of the data processing chain. These upstream data usually contain raw data or data that has been preliminarily processed, and serve as input for subsequent data processing steps. Downstream data refers to data generated at a later stage in the data processing chain. Downstream data is usually generated by further processing, cleaning, conversion, and analysis of upstream data, and may contain more refined or aggregated data as the final data presentation.

[0053] It can be seen that in actual application scenarios, downstream data is often obtained by a series of data processing on upstream data. In the process of classifying and grading downstream data, the accuracy of classification and grading of downstream data can be improved by classifying and grading downstream data based on the relationship between downstream data and upstream data.

[0054] In order to solve the above problems, an embodiment of the present application provides a data classification and grading method and related equipment. In the data classification and grading method provided in the embodiment of the present application, the upstream lineage relationship of the target data is obtained; the upstream lineage relationship includes: a preset classification and grading result of the target upstream data, and a lineage data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data; according to the upstream lineage relationship of the target data, the candidate classification and grading results of the target data are determined; based on the candidate classification and grading results, the final classification and grading result of the target data is determined.

[0055] In the data classification and grading method of the present embodiment, it is necessary to determine the candidate classification and grading results of the target data through the upstream blood relationship of the target data. Since the upstream blood relationship of the target data includes the blood relationship data processing method for determining the target data based on the target upstream data. Therefore, through the blood relationship data processing method between the target upstream field and the target field, the target upstream data associated with the target data can be more comprehensively identified, and the data processing method of the target upstream data can be incorporated into the judgment of classification and grading. Classification and grading are no longer performed only for the single field characteristics of the target data. The reference factors of classification and grading are more comprehensive and accurate, which greatly improves the accuracy of classification and grading of the target data. At the same time, since the preset classification and grading results of the target upstream data have been pre-set and included in the upstream blood relationship, the classification and grading of the target data can be determined based on the classification and grading results of the target upstream data and the data processing method between the two, so that the accuracy of classification and grading of the target data is comprehensively improved.

[0056] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] See also Figure 1 , which is a flow chart of a data classification and grading method provided in an embodiment of the present application, and specifically includes the following steps:

[0058] S101: Acquire the upstream blood relationship of the target data; the upstream blood relationship includes: a preset classification and grading result of the target upstream data, and a blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data.

[0059] The classification and grading of the target data in the embodiment of the present application needs to be completed based on the upstream blood relationship of the target data, aiming to improve the accuracy of the classification and grading of the target data through the blood relationship between the target data and the upstream data. Specifically, in the upstream blood relationship, there are preset classification and grading results of the target upstream data itself corresponding to the target data, and the blood relationship data processing method when the target data is obtained based on the target upstream data. The preset classification and grading results of the target upstream data are the classification and grading results that have been set for the upstream data. For example, when the target upstream data is an ID card number, its corresponding classification result can be "annotation" and the grading result can be "4". It should be noted that the category of the data can be set by itself when it is classified and graded, and the divided level can refer to the security level or the sensitivity level. This embodiment does not limit the specific classification categories and the form and type of the division level when classifying and grading.

[0060] In the process of obtaining the upstream lineage relationship, the source of each field in the target data can be determined by parsing the SQL script of the target data, and the lineage relationship of each field can be given. For example, the lineage relationship is set to r(t1.ci, t2.cj), where the lineage relationship indicates that field j in data t2 has a lineage pointing to field i in data t1, and field j in data t2 is upstream data, and field i in data t1 is downstream data, which can also be understood as target data here.

[0061] After obtaining the upstream data j corresponding to field i, the preset classification and grading results of the target upstream data and the bloodline data processing method between the target upstream data and the target data, that is, the upstream bloodline relationship of the target data, can be obtained through the name of the upstream data field.

[0062] In particular, when the target data has no upstream blood relationship, it means that the target data is not processed by any upstream data. When classifying and grading the target data, the target data should be regarded as the upstream data itself for data classification and grading.

[0063] Therefore, when the upstream blood relationship of the target data is empty, that is, when the target data does not have an upstream blood relationship, the target data can be classified and graded using the traditional data classification and grading method.

[0064] When classifying and grading the target data through traditional data classification and grading methods, it is necessary to perform text feature analysis on the target data to determine the text features of the target data, and classify and grade the target data based on the text features of the target data, so as to complete the classification and grading of the target data and obtain the final classification and grading results of the target data.

[0065] Specifically, in the process of analyzing the text features of the target data, natural language processing techniques can be used, such as word segmentation, frequency statistics, word vector representation, etc., so that multiple different text features in the target data can be extracted.

[0066] After extracting multiple text features of the target data, the text features are analyzed based on the classification and grading algorithm to complete the classification and grading of the target data. The classification and grading algorithm used can be a naive Bayes algorithm, a random forest, a neural network, etc. This embodiment does not limit the type of classification and grading algorithm in this process.

[0067] S102: Determine candidate classification and grading results of the target data according to the upstream blood relationship of the target data.

[0068] After determining the upstream blood relationship of the target data, the candidate classification and grading results of the target data are determined through the blood relationship processing method between the target data and the target upstream data in the upstream blood relationship and the classification and grading results of the target upstream data.

[0069] In actual application scenarios, when processing upstream data to obtain downstream data, the upstream data often undergoes a variety of data processing operations. Data processing methods may include a variety of data processing functions, such as desensitization functions and string concatenation functions, etc. These data processing methods may change the data content and form of the upstream data, or the data security level of the upstream data itself. Therefore, when classifying and grading the target data based on the upstream data of the target data, it is necessary to use the blood relationship data processing method between the two as a reference factor in the upstream blood relationship, so as to improve the accuracy of the classification and grading of the target data.

[0070] Specifically, when determining the candidate classification and grading results of the target data based on the lineage data processing method, the lineage data processing method can be roughly divided into four processing methods: reducible function, direct acquisition, irreducible function and logical processing. Corresponding to different lineage data processing methods, there are also differences in the methods for determining the candidate classification and grading results of the target data.

[0071] In particular, when the lineage data processing method is an irreversible function, it means that when the target upstream data is processed into the target data, multiple processing functions such as desensitizing functions and summary statistics may have been adopted. When such irreversible functions are used to process the target upstream data, the data form and data security level of the target upstream data itself will be greatly affected, making it impossible for the target data itself to be restored to its corresponding target upstream data.

[0072] When the lineage data processing method is a reversible function, it means that the data processing method for the target upstream data does not affect the data format and data security level of the target upstream data itself to a large extent, so the target data can be restored to its corresponding target upstream data. Specifically, the reversible function can be a function such as string concatenation. The characteristic of the reversible function is that it will not cause a large change in the data format and security level of the target upstream data.

[0073] Next, the method of determining the candidate classification and grading results corresponding to different bloodline data processing methods will be introduced in conjunction with the drawings of specific embodiments.

[0074] See also Figure 2 , which is a flow chart of a method for determining candidate classification and grading results of target data provided by an embodiment of the present application, and specifically includes the following steps:

[0075] S201: When the bloodline data processing method is the irreversible function, based on the preset level reduction rule, the preset classification and grading result of the target upstream data is downgraded to obtain a downgraded result; the level of the downgraded result is lower than the level of the preset classification and grading result.

[0076] In actual application scenarios, when the target upstream data itself involves some sensitive information such as ID card number, in order to ensure the data security of the target upstream data, the corresponding lineage data processing method is often an irreversible function such as desensitization function and summary statistical function. Therefore, when the lineage data processing method is an irreversible function, since the target data belongs to the summary information of such target upstream data, the target data itself does not contain sensitive information in the target upstream data, so the security level of the target data needs to be appropriately reduced during classification and grading to prevent the target data from having an excessively high grading value.

[0077] Therefore, when the bloodline data processing method is an irreversible function, the level reduction process can be performed based on the classification and grading result of the target upstream data based on the pre-set level reduction rule, so that the smaller grading value is used as the grading result of the target data. Among them, the preset level reduction rule needs to be set according to the specific irreversible function and the classification rule of the upstream data, which is not described in detail in this embodiment.

[0078] S202: Determine candidate classification and grading results of the target data according to the degradation result and the preset classification and grading result.

[0079] After completing the downgrading process of the classification and grading results of the target data, the candidate classification and grading results of the target data can be determined based on the classification results of the target upstream data itself and the downgraded results after the level reduction process.

[0080] Next, the method for determining the candidate classification and grading results of the target data when the bloodline data processing method is not an irreducible function will be introduced in conjunction with the drawings of the specific embodiment.

[0081] See also Figure 3 , which is a flow chart of another method for determining candidate classification and grading results of target data provided by an embodiment of the present application, specifically comprising the following steps:

[0082] S301: When the lineage data processing method is the direct acquisition or the reducible function, the preset classification and grading result of the target upstream data is determined as the candidate classification and grading result of the target data.

[0083] When the target upstream data itself does not involve sensitive data information, its corresponding security level is low, and the corresponding data processing method for the target upstream data will not involve functions that require a lot of information sensitivity processing, so the classification value of the target data itself does not need to be changed too much. Therefore, when the lineage data processing method is direct acquisition and reducible function, the classification and grading result corresponding to the target upstream data itself can be determined as the candidate classification and grading result of the target data.

[0084] S302: When the bloodline data processing method is the logic processing, the candidate classification and grading result of the target data is determined to be empty.

[0085] In particular, when the lineage data processing method is logical processing, such operation method will not involve the direct output of the target upstream data. For example, the processing method of logical processing can be conditional screening, sorting, and connection, etc. The main feature of these operations is that they will not change the content of the data itself, but only perform logical operations such as screening, sorting, or connecting the data. Therefore, when the lineage data processing method is such a logical processing method, since the target upstream data does not participate in the output of the data, the classification and grading results of the target upstream data cannot be passed to the target data belonging to the downstream data. Therefore, it is necessary to determine the candidate classification and grading results corresponding to the target data as empty.

[0086] S103: Determine the final classification and grading result of the target data based on the candidate classification and grading results.

[0087] In the process of determining the final classification and grading result based on the candidate classification and grading results of the target data, it is necessary to determine the method of determining the final classification and grading result according to the number of candidate classification and grading results. When there is only one candidate classification and grading result, it indicates that there is only one upstream lineage relationship of the target data, that is, the target object value corresponds to one target upstream data. At this time, the preset classification and grading result corresponding to this single target upstream data can be directly determined as the final classification and grading result of the target data.

[0088] When the number of candidate classification and grading results includes at least 2 or more, it indicates that there are multiple target upstream data that are related to the target data. In this case, in order to ensure the correctness of the classification and grading results of the target data, it is necessary to make a judgment based on the grading values ​​of each candidate classification and grading result, and determine the candidate classification and grading result with the highest grading value as the final classification and grading result.

[0089] For details, see Figure 4 To further understand, Figure 4 A flowchart of a method for determining the final classification and grading result of target data provided in an embodiment of the present application specifically includes the following steps:

[0090] S401: constructing a classification and grading combination matrix according to the plurality of candidate classification and grading results; the classification and grading combination matrix is ​​composed of combination results of the plurality of candidate classification and grading results;

[0091] When there are at least two candidate classification and grading results, it is necessary to construct a corresponding classification and grading combination matrix based on each candidate classification and grading result to determine the final classification and grading result.

[0092] The classification and grading combination matrix is ​​a square with a length of (N+1)*(N+1), where N is the total number of categories of all classification and grading results. Here, the number of candidate results is set to 2, and the candidate results are B4 and B3, respectively, and the grading value of B4 is greater than the grading value of B3. The generated classification and grading combination matrix is ​​as follows:

[0093] Classification and grading combination matrix

[0094] B4 B3 … B4 B4 B4 … B3 B4 B3 … … … … …

[0095] In the combination matrix, the parameters in the cells represent the classification and grading results after the row and column of the corresponding cell are combined. For example, the combination result of the first row and the first column in the matrix is ​​B4, and the combination result of the second row and the second column is B3. It can be seen that when combining the candidate classification and grading results, the candidate results with larger grading values ​​need to be used as the combination results in the cells.

[0096] Since the grading value of B4 is greater than the grading value of B3, when B4 exists in the combination result, the combination result in the cell needs to be determined as B4.

[0097] S402: Determine a final classification and grading result of the target data according to a combination result of the plurality of candidate classification and grading results and the grading values ​​corresponding to the plurality of candidate classification and grading results.

[0098] After completing the construction of the classification and grading combination matrix, the result with the largest number of combination results is determined, and the final classification and grading result of the target data can be obtained. Corresponding to the example of the above combination matrix, the final classification and grading result of the target data is B4.

[0099] In a possible implementation, after the final classification and grading results of the target data are determined, in order to achieve better traceability of the data during the classification and grading process, the blood relationship display information between the preset classification and grading results and the final classification and grading results can be generated based on the final classification and grading results of the target data and the upstream blood relationship, thereby enhancing the traceability and explainability of the target data during classification and grading. For details, please refer to Figure 5 A schematic diagram of information displaying the blood relationship between a preset classification and grading result and a final classification and grading result is disclosed.

[0100] Depend on Figure 5 As shown in the figure, Table 2 is the final classification and grading result of the target data, and Table 1 represents the classification and grading result of the target upstream data. The target upstream data referred to in Table 1 can obtain Table 2 belonging to the downstream data by directly obtaining the lineage data processing method, and the classification and grading results of the two data are displayed at the same time, thereby enhancing the traceability and interpretability of data classification and grading.

[0101] In another possible implementation, in order to ensure the accuracy of data classification and grading, in the process of classifying and grading the target data using the above method, a traditional data classification and grading method can also be used in parallel to determine the final classification and grading result of the target data. The final classification and grading results obtained by the two methods are summarized to form the final classification and grading result, thereby improving the accuracy of data classification and grading.

[0102] It can be seen that through the data classification and grading method provided in the above-mentioned embodiment of the present application, when the classification and grading rules of the storage data system change, through the above-mentioned classification and grading adjustment method for data, it is possible to flexibly adjust the classification and grading results of the upstream data to the downstream data, thereby automatically adapting to the changes in the classification and grading rules, and the flexibility of data classification and grading is improved.

[0103] An embodiment of the present application provides a data classification and grading method. In the data classification and grading method provided by the embodiment of the present application, the upstream lineage relationship of the target data is obtained; the upstream lineage relationship includes: a preset classification and grading result of the target upstream data, and a lineage data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data; according to the upstream lineage relationship of the target data, the candidate classification and grading results of the target data are determined; based on the candidate classification and grading results, the final classification and grading result of the target data is determined.

[0104] In the data classification and grading method of the present embodiment, it is necessary to determine the candidate classification and grading results of the target data through the upstream blood relationship of the target data. Since the upstream blood relationship of the target data includes the blood relationship data processing method for determining the target data based on the target upstream data. Therefore, through the blood relationship data processing method between the target upstream field and the target field, the target upstream data associated with the target data can be more comprehensively identified, and the data processing method of the target upstream data can be incorporated into the judgment of classification and grading. Classification and grading are no longer performed only for the single field characteristics of the target data. The reference factors of classification and grading are more comprehensive and accurate, which greatly improves the accuracy of classification and grading of the target data. At the same time, since the preset classification and grading results of the target upstream data have been pre-set and included in the upstream blood relationship, the classification and grading of the target data can be determined based on the classification and grading results of the target upstream data and the data processing method between the two, so that the accuracy of classification and grading of the target data is comprehensively improved.

[0105] A data classification and grading system provided in an embodiment of the present application is introduced below. The data classification and grading system described below and the data classification and grading method described above can refer to each other.

[0106] See also Figure 6 , which is a schematic diagram of the structure of a data classification and grading system provided in an embodiment of the present application, specifically including the following modules:

[0107] The blood relationship acquisition module 100 is used to acquire the upstream blood relationship of the target data; the upstream blood relationship includes: the preset classification and grading results of the target upstream data, and the blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data;

[0108] A candidate result determination module 200 is used to determine the candidate classification and grading results of the target data according to the upstream blood relationship of the target data;

[0109] The final result determination module 300 is used to determine the final classification and grading result of the target data based on the candidate classification and grading results.

[0110] Optionally, the bloodline data processing method includes: a reducible function and an irreducible function;

[0111] When the bloodline data processing method is the irreversible function, the target data cannot be restored to the target upstream data;

[0112] When the lineage data processing method is the restorable function, the target data can be restored to the target upstream data.

[0113] Optionally, the candidate result determination module 200 is specifically configured to:

[0114] When the bloodline data processing method is the irreversible function, based on the preset level reduction rule, the preset classification and grading result of the target upstream data is graded down to obtain a downgraded result; the level of the downgraded result is lower than the level of the preset classification and grading result;

[0115] According to the degradation result and the preset classification and grading result, a candidate classification and grading result of the target data is determined.

[0116] Optionally, the lineage data processing method further includes: direct acquisition and logical processing; when the lineage data processing method is the logical processing, the target upstream data does not participate in the data output of the target data; the candidate result determination module 200 is specifically used to:

[0117] When the bloodline data processing method is the direct acquisition or the reducible function, the preset classification and grading result of the target upstream data is determined as the candidate classification and grading result of the target data;

[0118] When the bloodline data processing method is the logical processing, the candidate classification and grading result of the target data is determined to be empty.

[0119] Optionally, the final result determination module 300 is specifically configured to:

[0120] Obtain the number of results of the candidate classification and grading results;

[0121] When the number of results is 1, determining the preset classification and grading result of the target upstream data as the final classification and grading result of the target data;

[0122] When the number of the results includes at least 2, the final classification and grading result of the target data is determined based on the grading values ​​corresponding to the plurality of candidate classification and grading results.

[0123] Optionally, when the number of results includes at least 2, the final result determination module 300 is specifically configured to:

[0124] According to the plurality of candidate classification and grading results, a classification and grading combination matrix is ​​constructed; the classification and grading combination matrix is ​​composed of the combination results of the plurality of candidate classification and grading results;

[0125] The final classification and grading result of the target data is determined according to the combination result of the multiple candidate classification and grading results and the grading values ​​corresponding to the multiple candidate classification and grading results.

[0126] Optionally, the data classification and grading system further includes: a display module; the display module is further used to:

[0127] Based on the final classification and grading result of the target data and the upstream blood relationship, blood relationship display information between the preset classification and grading result and the final classification and grading result is generated.

[0128] Optionally, the system further includes: a traditional classification and grading module; the traditional classification and grading module is specifically used to:

[0129] When the upstream blood relationship of the target data is empty, performing text feature analysis on the target data to obtain text features of the target data;

[0130] Classification and grading are performed based on the text features of the target data to obtain a final classification and grading result of the target data.

[0131] See also Figure 7 , which is a schematic diagram of the structure of a data classification and grading electronic device provided in an embodiment of the present application, including:

[0132] A memory 11, used for storing computer programs;

[0133] The processor 12 is used to implement the steps of a data classification and grading method described in any of the above method embodiments when executing the computer program.

[0134] In this embodiment, the device may be a vehicle-mounted computer, a PC (Personal Computer), or a terminal device such as a smart phone, a tablet computer, a PDA, or a portable computer.

[0135] The device may include a memory 11 , a processor 12 , and a bus 13 .

[0136] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the device, such as a hard disk of the device. In other embodiments, the memory 11 can also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 11 can also include both an internal storage unit of the device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the device, such as program codes for executing fault prediction methods, etc., but can also be used to temporarily store data that has been output or is to be output. The processor 12 can be a central processing unit (CPU) in some embodiments.

[0137] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 11, such as program codes for executing a fault prediction method.

[0138] The bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0139] Furthermore, the device may also include a network interface 14, which may optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the device and other electronic devices.

[0140] Optionally, the device may further include a user interface 15, which may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 15 may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the device and to display a visual user interface.

[0141] Figure 7 Only the device with components 11-15 is shown, and it can be understood by those skilled in the art that Figure 7 The structure shown does not constitute a limitation of the device, and may include fewer or more components than shown, or combine certain components, or arrange the components differently.

[0142] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for methods, systems and electronic devices, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The methods, systems and electronic devices described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. A person of ordinary skill in the art can understand and implement it without creative work.

[0143] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data classification and grading method, characterized in that: include: Obtain the upstream lineage relationship of the target data; The upstream blood relationship includes: preset classification and grading results of target upstream data, and blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data; Determining candidate classification and grading results of the target data according to the upstream blood relationship of the target data; Based on the candidate classification and grading results, a final classification and grading result of the target data is determined.

2. The method according to claim 1, characterized in that The bloodline data processing methods include: reducible functions and irreducible functions; When the bloodline data processing method is the irreversible function, the target data cannot be restored to the target upstream data; When the lineage data processing method is the restorable function, the target data can be restored to the target upstream data.

3. The method according to claim 2, characterized in that Determining the candidate classification and grading results of the target data according to the upstream blood relationship of the target data includes: When the bloodline data processing method is the irreversible function, based on the preset level reduction rule, the preset classification and grading result of the target upstream data is graded down to obtain a downgraded result; the level of the downgraded result is lower than the level of the preset classification and grading result; According to the degradation result and the preset classification and grading result, a candidate classification and grading result of the target data is determined.

4. The method according to claim 2, characterized in that: The lineage data processing method also includes: direct acquisition and logic processing; when the lineage data processing method is the logic processing, the target upstream data does not participate in the data output of the target data; Determining the candidate classification and grading results of the target data according to the upstream blood relationship of the target data includes: When the bloodline data processing method is the direct acquisition or the reducible function, the preset classification and grading result of the target upstream data is determined as the candidate classification and grading result of the target data; When the bloodline data processing method is the logical processing, the candidate classification and grading result of the target data is determined to be empty.

5. The method according to claim 1, characterized in that The determining the final classification and grading result of the target data based on the candidate classification and grading result includes: Obtain the number of results of the candidate classification and grading results; When the number of results is 1, determining the preset classification and grading result of the target upstream data as the final classification and grading result of the target data; When the number of the results includes at least 2, the final classification and grading result of the target data is determined based on the grading values ​​corresponding to the plurality of candidate classification and grading results.

6. The method according to claim 5, characterized in that When the number of the results includes at least 2, determining the final classification and grading result of the target data based on the grading values ​​corresponding to the plurality of candidate classification and grading results includes: According to the plurality of candidate classification and grading results, a classification and grading combination matrix is ​​constructed; the classification and grading combination matrix is ​​composed of the combination results of the plurality of candidate classification and grading results; The final classification and grading result of the target data is determined according to the combination result of the multiple candidate classification and grading results and the grading values ​​corresponding to the multiple candidate classification and grading results.

7. The method according to claim 1, characterized in that After determining the final classification and grading result of the target data based on the candidate classification and grading result, the method further includes: Based on the final classification and grading result of the target data and the upstream blood relationship, blood relationship display information between the preset classification and grading result and the final classification and grading result is generated.

8. The method according to claim 1, characterized in that After obtaining the upstream blood relationship of the target data, the method further includes: When the upstream blood relationship of the target data is empty, performing text feature analysis on the target data to obtain text features of the target data; Classification and grading are performed based on the text features of the target data to obtain a final classification and grading result of the target data.

9. A data classification and grading system, characterized in that: include: A blood relationship acquisition module is used to obtain the upstream blood relationship of the target data; The upstream blood relationship includes: preset classification and grading results of target upstream data, and blood relationship data processing method when determining the target data based on the target upstream data; the target upstream data corresponds to the target data; A candidate result determination module, used to determine the candidate classification and grading results of the target data according to the upstream blood relationship of the target data; The final result determination module is used to determine the final classification and grading result of the target data based on the candidate classification and grading results.

10. An electronic device, characterized in that: The device comprises: a processor, a memory and a system bus; The processor and the memory are connected via the system bus; The memory is used to store one or more programs, and the one or more programs include instructions, which, when executed by the processor, enable the processor to execute the data classification and grading method according to any one of claims 1 to 8.