Intelligent Construction Method of Standard Hierarchical Relationship of Enterprise Data
Through efficient data interfaces and deep learning algorithms, combined with the graph convolution network model, it dynamically constructs and optimizes the hierarchical relationship of enterprise data, solves the challenges of multi-source data management, improves data utilization efficiency and adaptability, and supports enterprise data governance and decision-making.
Patent Information
- Application Number
- CN202410235935.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-01
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-03-01
AI Technical Summary
Enterprises are faced with the challenge of how to effectively organize, manage and utilize multi-source heterogeneous data. Traditional methods cannot meet the dynamic, complex and hierarchical management needs of data, resulting in data silos and low utilization efficiency.
Use efficient data interface technology to collect data, combine natural language processing and deep learning algorithms for data classification and graph convolution network models to build data hierarchical relationships, integrate into enterprise data management systems through API interfaces, and dynamically optimize data structures.
It improves data management efficiency and classification accuracy, achieves flexible adaptability and long-term validity of data, and supports enterprise data governance and decision-making processes.
Smart Images

Figure CN117971808B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and in particular to a method for intelligently constructing a standard hierarchical relationship of enterprise data. Background Art
[0002] In today's data-driven business environment, enterprises continue to accumulate large amounts of data from multiple sources, including but not limited to customer transaction records, operation logs, market analysis reports, etc. The effective management and utilization of these data are crucial to the enterprise's strategy formulation, operation optimization and decision support. However, due to the diversity of data sources and the huge amount of data, enterprises are faced with the challenge of how to effectively organize, manage and utilize these data. Traditional data management methods often cannot meet the needs of data dynamics, complexity and hierarchical management, which leads to the formation of data islands and reduces the accessibility and utilization efficiency of data.
[0003] Against the above background, the present invention needs to solve several key technical problems. First, how to automatically extract and identify useful information from multi-source heterogeneous data and effectively classify and organize this information is a challenge. Second, as the amount of data continues to grow, how to dynamically build and adjust the hierarchical relationship between data to adapt to the changing needs of the enterprise is also a technical problem. In addition, how to output and integrate these data hierarchies into the enterprise data management system in a standardized manner to support enterprise data governance, analysis and decision-making processes is also facing challenges. To solve these problems, a new intelligent method is needed that can effectively process and analyze large-scale enterprise data, build and optimize the standard hierarchical structure of data, and improve the organization, manageability and utilization efficiency of data. Summary of the invention
[0004] Based on the above objectives, the present invention provides a method for intelligently constructing standard hierarchical relationships of enterprise data.
[0005] The method for intelligently constructing enterprise data standard hierarchical relationships includes the following steps:
[0006] S1: Collect raw data from various data sources within the enterprise through efficient data interface technology, and use natural language processing technology to identify the content and attributes of the raw data;
[0007] S2: Clean and standardize the data in S1, and use data enhancement technology to increase data diversity;
[0008] S3: Using the improved deep learning algorithm, based on the data attributes identified by S1 and the data features enhanced by S2, the data is deeply classified to ensure the accuracy and granularity of the classification results;
[0009] S4: Based on the graph convolutional network model, the hierarchical relationship between data is dynamically constructed and adjusted according to the S3 classification results and the association between data;
[0010] S5: Evaluate the data hierarchy structure constructed in S4 through preset performance indicators, and continuously optimize the hierarchical relationship based on the feedback from the performance indicator evaluation;
[0011] S6: Output the optimized data standard hierarchical relationship in a standardized format and integrate it into the enterprise data management system through the API interface to support the enterprise data governance, analysis and decision-making process.
[0012] Furthermore, the S1 specifically includes:
[0013] S11: Using RESTful API as a data interface technology, collect raw data from various data sources within the enterprise, including databases, log files, and online transaction processing systems. Specifically, for databases, SQL queries are used to obtain data through RESTful APIs; for log files, data is collected by calling the log management system through APIs; for online transaction processing systems, APIs are used to capture real-time transaction data;
[0014] S12: During the S11 data collection process, the JSON format is used for data serialization to ensure that the data collected from different data sources maintains a unified format during transmission and processing;
[0015] S13: Apply natural language processing technology, specifically entity recognition technology, to automatically identify and extract entities such as names, places, dates, and professional terms from text data in a unified format, providing a basis for further processing and classification of the data;
[0016] S14: Use the preset deep learning text classification model to classify the collected data into topics based on the extracted keywords and entities.
[0017] Furthermore, the S14 specifically includes:
[0018] S141: Model selection and training data preparation. Specifically, BERT developed by Google is selected as the deep learning model for text classification, and a training data set is prepared. The data set consists of the text data with keywords and entity annotations extracted in step S13:
[0019] S142: Perform model training and fine-tune the BERT model using the prepared data set. Specifically, during the training process, the loss function is defined as a cross entropy loss function, which is used to calculate the difference between the topic prediction probability output by the model and the true topic label. The training process performs parameter optimization through back propagation and gradient descent algorithms. The loss function formula is: Where: L represents the loss function value; N is the number of classified topics; y i is the distribution of the true label of the sample on the i-th topic; is the model’s predicted probability for the i-th topic;
[0020] S143: Use the BERT model trained in S142 to perform topic classification on the collected data. The input data is the text composed of keywords and entities extracted in step S13, and the model outputs the topic category of the data.
[0021] Furthermore, the S2 specifically includes:
[0022] S21: First, the raw data collected in step S1 are cleaned, including removing duplicate records, correcting obvious erroneous values, and processing missing values. For the processing of missing values, interpolation or replacement based on the average value of similar records is used;
[0023] S22: Standardize the cleaned data to eliminate the deviations between different data sources and data of different magnitudes, including Z-score standardization and minimum-maximum standardization, to ensure the consistency and effectiveness of model training;
[0024] S23: Use data enhancement techniques to increase data diversity and reduce the risk of overfitting. Specific techniques include:
[0025] For text data, we use synonym replacement, sentence reorganization, random insertion and deletion techniques to generate new data samples;
[0026] For numerical data, random noise addition and eigenvalue perturbation methods are used to increase the variability of the data;
[0027] S24: Perform quality verification on the augmented dataset to ensure that the data augmentation technique does not introduce misleading biases, using automated scripts to check data consistency and completeness.
[0028] Furthermore, the improved deep learning algorithm in S3 is a combination of a convolutional neural network and a long short-term memory network, and its specific applications include:
[0029] S31: First, use the convolutional neural network to extract the data features enhanced in step S2. The convolutional neural network can automatically learn the local features of the data through the convolution layer, which is used to extract effective information from the image and text data. Specifically, the model of the convolutional neural network is: CNN (X; θ CNN ), where X represents the input data set, Θ CNN Represents the parameters of the convolutional neural network model;
[0030] S32: Input the features extracted in S31 into the long short-term memory network for serialization processing. The long short-term memory network can process and memorize information in long sequences and is used to capture long-distance dependencies in time series data or text data. Specifically, the model of the long short-term memory network is: f LSTM (Y; Θ LSTM ), where Y = f CNN (X; θ CNN ) represents the features extracted by the long short-term memory network, Θ LSTM Represents the parameters of the long short-term memory network model;
[0031] S33: Combine the data features processed by the convolutional neural network and the long short-term memory network to perform in-depth data classification. This is achieved by adding a fully connected layer FC to map the serialized features to specific categories. Suppose the classification function is: f FC (Z; θ FC ), where Z = f LSTM( Y; Θ LSTM ),Θ FC Represents the parameters of the fully connected layer;
[0032] S34: Adjust model parameters Θ through training process CNN ,Θ LSTM , and Θ FC Specifically, the cross entropy loss function is used to measure the accuracy of classification, and the model parameters are optimized through the back propagation algorithm to improve the accuracy and granularity of the classification results.
[0033] Furthermore, the S34 specifically includes:
[0034] S341: During model training, the cross entropy loss function is used to measure the difference between the classification results predicted by the model and the actual labels. For multi-classification problems, the cross entropy loss function is defined as:
[0035] Where N is the number of data samples, M is the number of categories, and y ic is an indicator variable that is 1 when sample i belongs to category c and 0 otherwise. ic is the probability that the model predicts that sample i belongs to category c;
[0036] S342: Use the back propagation algorithm to update the model parameters according to the gradient of the cross entropy loss function to reduce the loss function value. The update formula of the model parameters is: Among them, θ represents the model parameters, α is the learning rate, is the gradient of the loss function L with respect to the parameter θ;
[0037] S343: During the training process, the learning rate α is dynamically adjusted according to the performance of the model on the validation set. Specifically, the learning rate decay strategy is adopted to avoid excessive step size in the early stage of training and local minimum value in the late stage of training;
[0038] S344: To prevent the model from overfitting, an early stopping strategy is adopted. Specifically, when the performance of the model on the validation set does not improve significantly in several consecutive training cycles, the training process is stopped.
[0039] Furthermore, the S4 specifically includes:
[0040] S41: Construct a data association graph. Based on the S3 classification results and the known associations between data, a data association graph is constructed, where nodes represent data items and edges represent associations between data items. The associations between data items are defined based on shared attributes and similarity metrics. The specific process of constructing a data association graph includes:
[0041] First, based on the data attributes identified by S1 and the data features enhanced by S2, each data item is considered as a node in the graph;
[0042] Then, the associations between data items are determined by analyzing data attributes and features. The associations define edges between nodes, and the weights of the edges are defined based on the strength of the association or similarity measure.
[0043] S42: Use the graph convolutional network model to process the data association graph. The graph convolutional network model can learn the representation of nodes on the graph structure data. Based on the information of each node and its neighbors, the function of the graph convolutional network model is expressed as: in, Where A is the adjacency matrix of the data association graph constructed according to S41, I N is the unit matrix, which is used to add self-connection and enhance the expression of node characteristics. yes The degree matrix, whose elements represents the degree of node i, H (l) is the node feature matrix of the lth layer. For l=0, H (0) is the initial feature matrix of the node, W (l) and b (l) are the weight matrix and bias vector of the lth layer, respectively, which are the parameters learned through training, and σ is the nonlinear activation function;
[0044] S43: Using the node representation processed by the graph convolutional network model, combined with the classification results and the original features of the nodes, the hierarchical relationship between data items is dynamically constructed and adjusted through a hierarchical clustering algorithm.
[0045] Furthermore, the S5 specifically includes:
[0046] S51: first define a set of preset performance indicators for evaluating the effectiveness and efficiency of the data hierarchy, the set of preset performance indicators includes data access efficiency, data management convenience and hierarchy accuracy, the data access efficiency is evaluated by measuring the time required to retrieve information in the constructed hierarchy; the data management convenience is evaluated by evaluating the complexity of operations when maintaining and updating data; the hierarchy accuracy is evaluated by comparing the consistency between the predetermined classification and the actual classification of data items in the hierarchy;
[0047] S52: Evaluate the data hierarchy constructed in S4 using the performance indicators in S51, using quantitative analysis methods to calculate data access time, number of operation steps, and using expert review to verify the accuracy of the hierarchy;
[0048] S53: Based on the results of the performance indicator evaluation, feedback information is collected and improvement points in the hierarchy are identified. The optimization process is specifically expressed as the adjustment function: H new =Optimize(H old , Feedbackα), where H new is the optimized hierarchical structure, H old is the current hierarchy, Feedback is the feedback based on performance indicator evaluation, and α is the learning rate, which indicates the degree of response to feedback during the optimization process;
[0049] S54: Using the optimization result of S53 as a new input, repeat steps S52 and S53 until the performance indicator shows that the hierarchy reaches the predetermined goal.
[0050] Furthermore, the S6 specifically includes:
[0051] S61: first define a standardized data format for representing the optimized data hierarchy, specifically using JSON or XML format, the format includes information of each node in the hierarchy, the node information includes node name, node type, parent node, child node list and node attributes;
[0052] S62: converting the optimized data hierarchy into the standardized format defined in S61;
[0053] S63: Develop a RESTful API interface for outputting and integrating the serialized data hierarchy into the enterprise data management system. The API interface includes an upload interface, a query interface, and an update interface, wherein: the upload interface allows users to upload the serialized data hierarchy file; the query interface allows users to query node information based on node name or attribute; the update interface allows users to update node information in the data hierarchy;
[0054] S64: Integrate the API interface in S63 into the enterprise data management system to support uploading, querying and updating the data hierarchy through the API interface. After integration, system users will be able to operate and manage the data hierarchy directly through the user interface of the data management system.
[0055] Beneficial effects of the present invention:
[0056] The present invention, by introducing improved deep learning algorithms, such as a model combining convolutional neural networks (CNN) and long short-term memory networks (LSTM), and graph-based deep learning models (such as graph convolutional networks GCN), can automatically extract and identify key information from large-scale, multi-source enterprise data, and effectively classify and organize this information. This intelligent data processing method not only improves the efficiency of data management, but also significantly improves the accuracy of data classification and hierarchical structure construction, thereby providing enterprises with more accurate and reliable data support.
[0057] The present invention uses advanced technologies such as graph convolutional networks (GCN) to dynamically build and adjust the hierarchical relationship between data, so that data standards and hierarchical structures can flexibly adapt to the changing needs of enterprises. This dynamic optimization capability means that enterprises can quickly adjust data organization methods according to actual application scenarios and management needs, ensuring the long-term effectiveness and flexibility of the data management system.
[0058] The present invention, by outputting the optimized data standard hierarchical relationship in a standardized format and integrating it into the enterprise data management system through an API interface, greatly promotes the accessibility and availability of data. This not only supports the enterprise's data governance work, such as the definition of data access rights and the protection of data security, but also provides a solid foundation for data analysis and decision-making, helping enterprises to gain insights into business trends from huge data resources and make more informed decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the technical solutions in the present invention or 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 in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 Schematic diagram of a method for intelligently constructing a standard hierarchical relationship of enterprise data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0062] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. The words "include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0063] like Figure 1 As shown, the method for intelligently constructing enterprise data standard hierarchical relationships includes the following steps:
[0064] S1: Collect raw data from various data sources within the enterprise (including databases, log files, online transaction processing systems, etc.) through efficient data interface technology, and use natural language processing technology to identify the content and attributes of the raw data, providing a preliminary data classification basis for subsequent steps;
[0065] S2: Clean and standardize the data in S1, and use data enhancement technology to increase data diversity, reduce the risk of overfitting during model training, and improve the generalization ability of the system;
[0066] S3: Using the improved deep learning algorithm, based on the data attributes identified by S1 and the data features enhanced by S2, the data is deeply classified to ensure the accuracy and granularity of the classification results;
[0067] S4: Based on the graph convolutional network model, according to the S3 classification results and the association between data, the hierarchical relationship between data is dynamically constructed and adjusted to achieve intelligent generation of data standards and hierarchical structures;
[0068] S5: Evaluate the data hierarchy structure constructed by S4 through preset performance indicators (such as data access efficiency, management convenience, etc.), and continuously optimize the hierarchical relationship based on the feedback from the performance indicator evaluation;
[0069] S6: Output the optimized data standard hierarchical relationship in a standardized format and integrate it into the enterprise data management system through the API interface to support the enterprise data governance, analysis and decision-making process.
[0070] S1 specifically includes:
[0071] S11: Use RESTful API as the data interface technology to collect raw data from various data sources within the enterprise, including databases, log files, and online transaction processing systems. For databases, use SQL queries to obtain data through RESTful APIs; for log files, use APIs to call log management systems to collect data; for online transaction processing systems, use APIs to capture real-time transaction data;
[0072] S12: During the S11 data collection process, the JSON format is used for data serialization to ensure that the data collected from different data sources maintains a unified format during transmission and processing, thereby speeding up the speed and accuracy of subsequent data processing;
[0073] S13: Apply natural language processing technology, specifically Named Entity Recognition (NER) technology, to automatically identify and extract entities such as names, places, dates, and professional terms from text data in a unified format, providing a basis for further processing and classification of data;
[0074] S14: Use the preset deep learning text classification model to classify the collected data by subject according to the extracted keywords and entities, so as to achieve preliminary classification of the data content;
[0075] Through the above steps S11-S14, it is ensured that the original data is collected efficiently and accurately from various data sources within the enterprise, and the content and attributes of the data are identified and classified through advanced natural language processing technology, which provides a solid foundation for the subsequent construction of data standard hierarchical relationships.
[0076] S14 specifically includes:
[0077] S141: Model selection and training data preparation. Specifically, BERT (Bidirectional Encoder Representations from Transformers) developed by Google is selected as the deep learning model for text classification, and a training data set is prepared. The data set consists of text data annotated with keywords and entities extracted in step S13. Each sample in the data set contains a series of keywords and entities and their corresponding topic labels:
[0078] S142: Perform model training and fine-tune the BERT model using the prepared data set. Specifically, during the training process, the loss function is defined as the cross-entropy loss function (CrossEntropyLoss), which is used to calculate the difference between the topic prediction probability output by the model and the true topic label. The training process optimizes parameters through back propagation and gradient descent algorithms. The loss function formula is: Where: L represents the loss function value; N is the number of classified topics; y i is the distribution of the true label of the sample on the i-th topic (generally independent encoding, that is, the position corresponding to the actual topic is 1, and the others are 0); is the model’s predicted probability for the i-th topic;
[0079] S143: Use the BERT model trained in S142 to perform topic classification on the collected data. The input data is the text composed of keywords and entities extracted in step S13. The model outputs the topic category of the data.
[0080] Through the above steps S141-S143, the advanced BERT model is used, combined with the keywords and entities extracted from the data, to achieve accurate subject classification of the data collected within the enterprise. This process not only improves the accuracy of data classification, but also provides effective support for the subsequent management and application of the data.
[0081] S2 specifically includes:
[0082] S21: First, the raw data collected in step S1 are cleaned, including removing duplicate records, correcting obvious erroneous values, and processing missing values. For the processing of missing values, interpolation or substitution based on the average value of similar records is used to ensure the integrity and accuracy of the data;
[0083] S22: Standardize the cleaned data to eliminate the deviations between different data sources and data of different magnitudes, including Z-score standardization (converting the data to a distribution with a mean of 0 and a standard deviation of 1) and minimum-maximum standardization (scaling the data to a specific range, such as 0 to 1), to ensure the consistency and effectiveness of model training;
[0084] S23: Use data enhancement techniques to increase data diversity and reduce the risk of overfitting. Specific techniques include:
[0085] For text data, we use synonym replacement, sentence reorganization, random insertion and deletion techniques to generate new data samples;
[0086] For numerical data, random noise addition and eigenvalue perturbation methods are used to increase the variability of the data;
[0087] S24: Perform quality verification on the augmented dataset to ensure that the data augmentation technique does not introduce misleading biases, using automated scripts to check data consistency and completeness.
[0088] The improved deep learning algorithm in S3 is a combination of convolutional neural network and long short-term memory network. The specific applications include:
[0089] S31: First, use the convolutional neural network to extract the data features enhanced in step S2. The convolutional neural network can automatically learn the local features of the data through the convolution layer, which is used to extract effective information from the image and text data. Specifically, the model of the convolutional neural network is: CNN (X; θ CNN ), where X represents the input data set, Θ CNN Represents the parameters of the convolutional neural network model;
[0090] S32: Input the features extracted in S31 into the long short-term memory network for serialization processing. The long short-term memory network can process and memorize information in long sequences and is used to capture long-distance dependencies in time series data or text data. Specifically, the model of the long short-term memory network is: f LSTM (Y; Θ LSTM ), where Y = f CNN (X; θ CNN ) represents the features extracted by the long short-term memory network, Θ LSTM Represents the parameters of the long short-term memory network model;
[0091] S33: Combine the data features processed by the convolutional neural network and the long short-term memory network to perform in-depth data classification. This is achieved by adding a fully connected layer FC to map the serialized features to specific categories. Suppose the classification function is: f FC (Z; θ FC ), where Z = f LSTM (Y; Θ LSTM ), Θ FC Represents the parameters of the fully connected layer;
[0092] S34: Adjust model parameters Θ through training process CNN , Θ LSTM , and Θ FC , specifically, the cross entropy loss function is used to measure the accuracy of classification, and the model parameters are optimized through the back propagation algorithm to improve the accuracy and granularity of the classification results;
[0093] Through the above steps S31-S34, the ability of CNN in extracting spatial features of data is utilized, combined with the advantages of LSTM in processing sequence data, to achieve in-depth classification of data attributes identified by S1 and data features enhanced by S2, ensuring the accuracy and granularity of the classification results.
[0094] S34 specifically includes:
[0095] S341: During model training, the cross entropy loss function is used to measure the difference between the classification results predicted by the model and the actual labels. For multi-classification problems, the cross entropy loss function is defined as:
[0096] Where N is the number of data samples, M is the number of categories, and y ic is an indicator variable that is 1 when sample i belongs to category c and 0 otherwise. ic is the probability that the model predicts that sample i belongs to category c;
[0097] S342: Use the back propagation algorithm to update the model parameters according to the gradient of the cross entropy loss function to reduce the loss function value and improve the accuracy of classification. The update formula of the model parameters is: Among them, θ represents the model parameters, α is the learning rate, is the gradient of the loss function L with respect to the parameter θ;
[0098] S343: During the training process, the learning rate α is dynamically adjusted according to the performance of the model on the validation set. Specifically, the learning rate decay strategy is adopted to avoid excessive step size in the early stage of training and local minimum value in the late stage of training;
[0099] S344: To prevent the model from overfitting, an early stopping strategy is adopted. Specifically, when the performance of the model on the validation set does not improve significantly in several consecutive training cycles, the training process is stopped.
[0100] S4 specifically includes:
[0101] S41: Construct a data association graph. Based on the S3 classification results and the known associations between data, a data association graph is constructed, where nodes represent data items and edges represent associations between data items. The associations between data items are defined based on shared attributes and similarity metrics. The specific process of constructing a data association graph includes:
[0102] First, based on the data attributes identified by S1 and the data features enhanced by S2, each data item is considered as a node in the graph;
[0103] Then, the associations between data items are determined by analyzing data attributes and features, such as similarities or logical relationships. The associations define edges between nodes, and the weights of the edges are defined based on the strength of the association or similarity measure. Therefore, the principle of the association graph is to convert data items and their mutual relationships into a graphical representation, which facilitates the use of graph algorithms to analyze and process the inherent structure of the data.
[0104] S42: Use a graph convolutional network model to process the data association graph. The graph convolutional network model can learn the representation (feature vector) of nodes on the graph structure data. Based on the information of each node and its neighbors, the function of the graph convolutional network model is expressed as: in, Where A is the adjacency matrix of the data association graph constructed according to S41, I Nis the unit matrix, which is used to add self-connection and enhance the expression of node characteristics. yes The degree matrix, whose elements represents the degree of node i (including self-connection), H (l) is the node feature matrix of the lth layer. For l=0, H (0) is the initial feature matrix of the node, W (l) and b (l) are the weight matrix and bias vector of the lth layer, respectively, which are parameters learned through training, and σ is a nonlinear activation function, such as ReLU;
[0105] S43: Using the node representation processed by the graph convolutional network model, combined with the classification results and the original features of the nodes, the hierarchical relationship between the data items is dynamically constructed and adjusted through the hierarchical clustering algorithm. The specific process of dynamically constructing and adjusting the hierarchical relationship between the data items using the hierarchical clustering algorithm is as follows:
[0106] Step 1: Node representation H after processing based on the graph convolutional network model in S42 L (L is the last layer), calculate the distance matrix between nodes. The distance between nodes can be measured by Euclidean distance or cosine similarity;
[0107] Step 2: Cluster the distance matrix using a hierarchical clustering algorithm. Hierarchical clustering builds a hierarchy of data items by gradually merging the closest clusters until a preset termination condition is met, including the number of clusters or a distance threshold.
[0108] Step 3: Each cluster represents a level of data items. By analyzing the cluster structure, the hierarchical relationship between data items is dynamically adjusted to form the final data standard and hierarchical structure.
[0109] S5 specifically includes:
[0110] S51: First, define a set of preset performance indicators for evaluating the effectiveness and efficiency of the data hierarchy. The set of preset performance indicators includes data access efficiency, data management convenience, and hierarchy accuracy. Data access efficiency is evaluated by measuring the time required to retrieve information in the constructed hierarchy; data management convenience is evaluated by evaluating the complexity of operations when maintaining and updating data; and hierarchy accuracy is evaluated by comparing the consistency between the predetermined classification and the actual classification of data items in the hierarchy.
[0111] S52: Evaluate the data hierarchy constructed in S4 using the performance indicators in S51, using quantitative analysis methods to calculate data access time, number of operation steps, and using expert review to verify the accuracy of the hierarchy;
[0112] S53: Based on the results of the performance indicator evaluation, feedback information is collected and improvement points in the hierarchy are identified. The optimization process is specifically expressed as the adjustment function: H new =Optimize(H old , Feedback, α), where H new is the optimized hierarchical structure, H old is the current hierarchy, Feedback is the feedback based on performance indicator evaluation, and α is the learning rate, which indicates the degree of response to feedback during the optimization process;
[0113] S54: using the optimization result of S53 as a new input, repeating steps S52 and S53 until the performance indicator shows that the hierarchical structure reaches the predetermined target, thereby achieving continuous optimization of the hierarchical relationship;
[0114] Through the above steps, it can be seen that the present invention can not only systematically evaluate and optimize the constructed data hierarchy based on preset performance indicators, but also dynamically adjust according to the feedback of the evaluation results to ensure the efficiency, convenience and accuracy of the data hierarchy in practical applications.
[0115] S6 specifically includes:
[0116] S61: first define a standardized data format for representing the optimized data hierarchy, specifically using JSON or XML format, the format includes information of each node in the hierarchy, the node information includes node name, node type, parent node, child node list and node attributes;
[0117] S62: converting the optimized data hierarchy into the standardized format defined in S61, which involves traversing all nodes in the data hierarchy and serializing the node information according to the standardized format;
[0118] S63: Develop a RESTful API interface for outputting and integrating the serialized data hierarchy into the enterprise data management system. The API interface includes an upload interface, a query interface, and an update interface, wherein: the upload interface allows users to upload the serialized data hierarchy file; the query interface allows users to query node information based on node name or attribute; the update interface allows users to update node information in the data hierarchy;
[0119] S64: Integrate the API interface in S63 into the enterprise data management system to support uploading, querying and updating the data hierarchy through the API interface. After integration, system users will be able to operate and manage the data hierarchy directly through the user interface of the data management system.
[0120] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0121] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent construction method for enterprise data standard hierarchical relationship, characterized in that: The following steps are involved: S1: Collect raw data from various data sources within the enterprise through data interface technology, and use natural language processing technology to identify the content and attributes of the raw data; S2: Clean and standardize the data in S1, and use data enhancement technology to increase data diversity; S3: Using an improved deep learning algorithm, based on the data attributes identified by S1 and the data features enhanced by S2, the data is deeply classified to ensure the accuracy and granularity of the classification results. The improved deep learning algorithm is a combination of a convolutional neural network and a long short-term memory network. The specific applications include: S31: First, use the convolutional neural network to extract the data features enhanced in step S2. The convolutional neural network can automatically learn the local features of the data through the convolution layer, which is used to extract effective information from the image and text data. Specifically, the model of the convolutional neural network is: CNN (X; θ CNN ), where X represents the input data set, Θ CNN Represents the parameters of the convolutional neural network model; S32: Input the features extracted in S31 into the long short-term memory network for serialization processing. The long short-term memory network can process and memorize information in long sequences and is used to capture long-distance dependencies in time series data or text data. Specifically, the model of the long short-term memory network is: f LSTM (Y; Θ LSTM ), where Y = f CNN (X; θ CNN ) represents the features extracted by the long short-term memory network, Θ LSTM Represents the parameters of the long short-term memory network model; S33: Combine the data features processed by the convolutional neural network and the long short-term memory network to perform in-depth data classification. This is achieved by adding a fully connected layer FC to map the serialized features to specific categories. Suppose the classification function is: f FC (Z; Θ FC ), where Z = f LSTM (Y; Θ LSTM ),Θ FC Represents the parameters of the fully connected layer; S34: Adjust model parameters Θ through training process CNN ,Θ LSTM , and Θ FC , specifically, the cross entropy loss function is used to measure the accuracy of classification, and the model parameters are optimized through the back propagation algorithm to improve the accuracy and granularity of the classification results; S4: Based on the graph convolutional network model, according to the S3 classification results and the association between data, the hierarchical relationship between data is dynamically constructed and adjusted, including: S41: Construct a data association graph. Based on the S3 classification results and the known associations between data, a data association graph is constructed, where nodes represent data items and edges represent associations between data items. The associations between data items are defined based on shared attributes and similarity metrics. The specific process of constructing a data association graph includes: First, based on the data attributes identified by S1 and the data features enhanced by S2, each data item is considered as a node in the graph; Then, the associations between data items are determined by analyzing data attributes and features. The associations define edges between nodes, and the weights of the edges are defined based on the strength of the association or similarity measure. S42: Use the graph convolutional network model to process the data association graph. The graph convolutional network model can learn the representation of nodes on the graph structure data. Based on the information of each node and its neighbors, the function of the graph convolutional network model is expressed as: in, Where A is the adjacency matrix of the data association graph constructed according to S41, I N is the unit matrix, which is used to add self-connection and enhance the expression of node characteristics. yes The degree matrix, whose elements represents the degree of node i, H (l) is the node feature matrix of the lth layer. For l=0, H (0) is the initial feature matrix of the node, W (l) and b (l) are the weight matrix and bias vector of the lth layer, respectively, which are the parameters learned through training, and σ is the nonlinear activation function; S43: Using the node representation processed by the graph convolutional network model, combined with the classification results and the original features of the nodes, the hierarchical relationship between data items is dynamically constructed and adjusted through the hierarchical clustering algorithm; S5: Evaluate the data hierarchy structure constructed in S4 through preset performance indicators, and continuously optimize the hierarchical relationship based on the feedback from the performance indicator evaluation; S6: Output the optimized data standard hierarchical relationship in a standardized format and integrate it into the enterprise data management system through the API interface to support the enterprise data governance, analysis and decision-making process.
2. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 1, characterized in that: The S1 specifically includes: S11: Using RESTful API as a data interface technology, collect raw data from various data sources within the enterprise, including databases, log files, and online transaction processing systems. Specifically, for databases, SQL queries are used to obtain data through RESTful APIs; for log files, data is collected by calling the log management system through APIs; for online transaction processing systems, APIs are used to capture real-time transaction data; S12: During the S11 data collection process, the JSON format is used for data serialization to ensure that the data collected from different data sources maintains a unified format during transmission and processing; S13: Apply natural language processing technology, specifically entity recognition technology, to automatically identify and extract entities such as names, places, dates, and professional terms from text data in a unified format, providing a basis for further processing and classification of the data; S14: Use the preset deep learning text classification model to classify the collected data into topics based on the extracted keywords and entities.
3. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 2, characterized in that: The S14 specifically includes: S141: Model selection and training data preparation. Specifically, BERT developed by Google is selected as the deep learning model for text classification, and a training data set is prepared. The data set consists of the text data with keywords and entity annotations extracted in step S13: S142: Perform model training and fine-tune the BERT model using the prepared data set. Specifically, during the training process, the loss function is defined as a cross entropy loss function, which is used to calculate the difference between the topic prediction probability output by the model and the true topic label. The training process performs parameter optimization through back propagation and gradient descent algorithms. The loss function formula is: Where: L represents the loss function value; N is the number of classified topics; y i is the distribution of the true label of the sample on the i-th topic; is the model’s predicted probability for the i-th topic; S143: Use the BERT model trained in S142 to perform topic classification on the collected data. The input data is the text composed of keywords and entities extracted in step S13, and the model outputs the topic category of the data.
4. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 3, characterized in that: The S2 specifically includes: S21: First, the raw data collected in step S1 are cleaned, including removing duplicate records, correcting obvious erroneous values, and processing missing values. For the processing of missing values, interpolation or replacement based on the average value of similar records is used; S22: Standardize the cleaned data to eliminate the deviations between different data sources and data of different magnitudes, including Z-score standardization and minimum-maximum standardization, to ensure the consistency and effectiveness of model training; S23: Use data enhancement techniques to increase data diversity and reduce the risk of overfitting. Specific techniques include: For text data, we use synonym replacement, sentence reorganization, random insertion and deletion techniques to generate new data samples; For numerical data, random noise addition and eigenvalue perturbation methods are used to increase the variability of the data; S24: Perform quality verification on the augmented dataset to ensure that the data augmentation technique does not introduce misleading biases, using automated scripts to check data consistency and completeness.
5. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 1, characterized in that: The S34 specifically includes: S341: During model training, the cross entropy loss function is used to measure the difference between the classification results predicted by the model and the actual labels. For multi-classification problems, the cross entropy loss function is defined as: Where N is the number of data samples, M is the number of categories, and y ic is an indicator variable that is 1 when sample i belongs to category c and 0 otherwise. ic is the probability that the model predicts that sample i belongs to category c; S342: Use the back propagation algorithm to update the model parameters according to the gradient of the cross entropy loss function to reduce the loss function value. The update formula of the model parameters is: Among them, θ represents the model parameters, α is the learning rate, is the gradient of the loss function L with respect to the parameter θ; S343: During the training process, the learning rate α is dynamically adjusted according to the performance of the model on the validation set. Specifically, the learning rate decay strategy is adopted to avoid excessive step size in the early stage of training and local minimum value in the late stage of training; S344: To prevent the model from overfitting, an early stopping strategy is adopted. Specifically, when the performance of the model on the validation set does not improve significantly in several consecutive training cycles, the training process is stopped.
6. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 1, characterized in that: The S5 specifically includes: S51: first define a set of preset performance indicators for evaluating the effectiveness and efficiency of the data hierarchy, the set of preset performance indicators includes data access efficiency, data management convenience and hierarchy accuracy, the data access efficiency is evaluated by measuring the time required to retrieve information in the constructed hierarchy; the data management convenience is evaluated by evaluating the complexity of operations when maintaining and updating data; the hierarchy accuracy is evaluated by comparing the consistency between the predetermined classification and the actual classification of data items in the hierarchy; S52: Evaluate the data hierarchy constructed in S4 using the performance indicators in S51, using quantitative analysis methods to calculate data access time, number of operation steps, and using expert review to verify the accuracy of the hierarchy; S53: Based on the results of the performance indicator evaluation, feedback information is collected and improvement points in the hierarchy are identified. The optimization process is specifically expressed as the adjustment function: H new =Optimize(H old , Feedback, α), where H new is the optimized hierarchical structure, H old is the current hierarchy, Feedback is the feedback based on performance indicator evaluation, and α is the learning rate, which indicates the degree of response to feedback during the optimization process; S54: Using the optimization result of S53 as a new input, repeat steps S52 and S53 until the performance indicator shows that the hierarchy reaches the predetermined goal.
7. The method for intelligently constructing enterprise data standard hierarchical relationships according to claim 6, characterized in that: The S6 specifically includes: S61: first define a standardized data format for representing the optimized data hierarchy, specifically using JSON or XML format, the format includes information of each node in the hierarchy, the node information includes node name, node type, parent node, child node list and node attributes; S62: converting the optimized data hierarchy into the standardized format defined in S61; S63: Develop a RESTful API interface for outputting and integrating the serialized data hierarchy into the enterprise data management system. The API interface includes an upload interface, a query interface, and an update interface. The upload interface allows users to upload the serialized data hierarchy file; the query interface allows users to query node information based on node name or attribute; The update interface allows users to update node information in the data hierarchy; S64: Integrate the API interface in S63 into the enterprise data management system to support uploading, querying and updating the data hierarchy through the API interface. After integration, system users will be able to operate and manage the data hierarchy directly through the user interface of the data management system.
Citation Information
Patent Citations
Multi-branch object detection method based on coarse and fine grain composite convolution
CN108875826A
Image classification utilizing semantic relationships in a classification hierarchy
US9928448B1
