A data storage management method for a big data platform

Through high-quality data collection and classification, combined with machine learning models and optimization formulas, it solves the performance bottleneck of traditional databases when processing semi-structured and unstructured data, improves the scalability and flexibility of the big data platform, and realizes smart Real-time data monitoring and management of cities.

CN118643012BActive Publication Date: 2024-10-18YANTAI ORLANDO INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411088562.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-18
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

Traditional relational databases have performance bottlenecks, insufficient scalability and flexibility when processing large amounts of semi-structured and unstructured data, making it difficult to adapt to the changing needs of smart city big data platforms.

Method used

Through high-quality data collection and classification, use machine learning models to accurately classify data, combine data distribution, update, storage priority and processing efficiency formulas for optimization, use distributed storage and dynamically adjust the sampling rate, decentralize storage tasks and archive regularly Historical data improves system scalability and flexibility.

Benefits of technology

It effectively solves the performance bottleneck of traditional databases when processing semi-structured and unstructured data, improves data processing efficiency and reliability, optimizes resource utilization, and realizes real-time monitoring and management of big data platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643012B_ABST
    Figure CN118643012B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of platform management, and specifically discloses a data storage management method for a big data platform, which is used to solve the problem that traditional relational databases are limited by storage capacity and are difficult to cope with a large amount of semi-structured and unstructured data, resulting in performance bottlenecks, system freezes and crashes, insufficient scalability and flexibility, and difficulty in adapting to big data needs. The present invention includes data collection, data classification, data analysis, data classification storage management, data storage update management, and data storage processing effect management; through high-quality data collection and classification, appropriate storage of data is ensured, and optimization is performed using data allocation, update, storage priority and processing efficiency formulas, thereby improving the efficiency and reliability of data processing, delaying low-priority data, merging batch processing and dynamically adjusting the sampling rate, reducing server load, dispersing storage tasks and regularly archiving historical data, and improving the scalability and flexibility of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of platform management technology, and more specifically, to a big data platform data storage management method. Background Art

[0002] With the rapid development of science and technology, smart cities have become an inevitable trend in the development of contemporary cities. In smart cities, big data platforms are used to collect, store and analyze the data generated by smart cities, which can realize accurate monitoring and management of smart cities. These data come from a wide range of sources and types, covering structured data, semi-structured data and unstructured data. There are also a large amount of time series data. In addition, many big data platforms have high real-time requirements for data, high data collection frequency, fast data updates, seasonal characteristics, and also integrate a lot of professional knowledge and experience. Through the comprehensive collection and analysis of these data, the real-time monitoring and information management of smart cities can be optimized. As time goes by, the amount of text data on the big data platform grows exponentially. Due to its limited storage capacity, traditional relational databases are mainly suitable for processing structured data. When faced with a large amount of semi-structured and unstructured data, they seem to be unable to cope with it. When the amount of data reaches a certain scale, the server is prone to performance bottlenecks, resulting in system freezes and crashes, which seriously affect the data processing efficiency and reliability. In addition, relational databases also have certain limitations in scalability and flexibility, and are difficult to adapt to the changing needs in the big data environment. Summary of the invention

[0003] In order to overcome the above-mentioned defects of the prior art, the present invention provides a big data platform data storage management method, which ensures the appropriate storage of data through high-quality data collection and classification, and optimizes data allocation, update, storage priority and processing efficiency formulas to improve the efficiency and reliability of data processing, delay low-priority data, merge batch processing and dynamically adjust the sampling rate, reduce server load, disperse storage tasks and regularly archive historical data, improve the scalability and flexibility of the system, and realize real-time management and monitoring of big data platform data in smart cities.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] A data storage management method for a big data platform comprises the following steps:

[0006] Step 1: Data collection: collect text data from various data sources on the big data platform in smart cities, manually input and supplement the text data collected on the big data platform in smart cities, and integrate the text data generated by the early operation and maintenance of the platform and data migration to build the original data set. The cleaned and labeled corpus is divided into training set, validation set and test set according to 7:2:1, which are used for training models, validating models and testing models;

[0007] Step 2: Data classification: extract key features from the data, perform feature vectorization, and use the trained machine learning model to classify data types, dividing the data into structured data, semi-structured data, and unstructured data;

[0008] Step 3: Data analysis: Analyze the data using the preset data allocation formula, data update formula, data storage priority formula, and data processing efficiency formula to obtain the distributed storage location, update frequency, storage priority, and data processing efficiency of the data respectively;

[0009] Step 4: Data classification storage management: Based on the data type classification results of step 2, structured data is stored in a relational database, semi-structured data is stored in a NoSQL database, and unstructured data is stored in an object storage system. The distributed storage locations obtained by analyzing the preset data allocation formula are used for distributed storage.

[0010] Step 5, data storage update management: When the data update capacity obtained in step 3 exceeds the server processing capacity, the data is processed according to the storage priority, high priority data is processed first, and low priority data is delayed. The delay time is preset according to the actual situation. The data of each hour is merged into a batch, and the data is processed in batches to reduce the load of a single processing. The data is sampled and processed, and the data sampling rate is dynamically adjusted according to the server load.

[0011] Step 6: Data storage and processing effect management: If the data processing efficiency in step 3 exceeds the server's tolerance, distribute the data storage tasks to multiple nodes, archive historical data, reduce online storage load, set automatic archiving rules, and regularly archive historical data that meets the conditions.

[0012] In step 2, the trained machine learning model uses the BERT-BiLSTM-CNN model in the public literature (Chen Weikang. Application of text classification based on deep learning in the design of Apple's big data platform [D]. Shandong Agricultural University, 2023.). BERT-BiLSTM-CNN is a text classification model that combines BERT, BiLSTM and CNN. It uses BERT as a feature extractor and combines BiLSTM and CNN to capture contextual information and local features in the text. The BERT model models the input text through a bidirectional Transformer encoder to capture the dependencies and contextual information between words. BiLSTM is applied to the output of BERT to capture the contextual information of the text. BiLSTM can effectively model long-term dependencies in sequences and provide bidirectional modeling capabilities for text context. Convolutional neural networks are applied to the output of BiLSTM to extract local patterns and features in the text. The fully connected layer includes multiple hidden layers and activation functions to improve the expression and fitting capabilities of the model. The output of the fully connected layer is normalized by the Softmax function to obtain the probability distribution of each category.

[0013] As a further solution of the present invention, in step 1, data cleaning and marking of the acquired text data includes:

[0014] Step 1: Use hash algorithm to deduplicate data;

[0015] Step 2: Unify data formats and units;

[0016] Step 3: Convert the characters in the text to standard properties, remove special characters, extra spaces and stop words;

[0017] Step 4, word segmentation: split the continuous text into words and phrases;

[0018] Step 5, data error detection and correction: check spelling errors using predetermined rules and dictionaries, check data format errors using regular expressions and correct them, and perform manual proofreading and correction with reference to existing data and external data sources;

[0019] Step 6, data labeling: automatically label data categories based on data content and features, and encode data categories using label encoding.

[0020] As a further scheme of the present invention, in step 2, the key features of the data include data format features, content features, language features, grammatical features, statistical features and content features, wherein the data format features include character set encoding and file type; the content features include text length, word data, number of sentences, number of paragraphs, average word length, average sentence length and vocabulary richness; the language features include word frequency statistics, part-of-speech tagging values ​​and sentiment analysis values; the grammatical features include lexical features, syntactic features and dependency relationships; the statistical features include character distribution information, word length distribution information, sentence length distribution information and paragraph length distribution information; the content features include topic distribution and key phrases.

[0021] Chebyshev polynomials minimize the maximum error in approximation theory. They can be used to optimize the weights in the data distribution formula, making data distribution more even and reducing storage and computing loads. By using Chebyshev polynomials, the peak in data distribution can be reduced and storage resources can be optimized.

[0022] As a further solution of the present invention, in step three, a preset data allocation formula analyzes the amount of structured data, semi-structured data, and unstructured data in each category based on content classification, and uses Chebyshev polynomials to smooth the extreme values ​​of the amount of structured data, semi-structured data, and unstructured data, so that the location distribution of distributed storage is more uniform and the storage space allocation is optimized. The preset data allocation formula is:

[0023] ;

[0024] Where: To index data classified by content, For the The storage location node of the class data, For the The amount of structured data in the class data, For the The amount of semi-structured data in the class data, For the The amount of unstructured data in the class data, , , is the weight coefficient, which is set according to actual needs. is the Chebyshev polynomial, is the order, here we choose =3.

[0025] Bessel functions are very effective in describing fluctuations and oscillations, and can be used to model the periodicity and fluctuations of data update frequency. Bessel functions can help smooth fluctuations in data update frequency and reduce drastic changes in load.

[0026] As a further solution of the present invention, in step three, the preset data update formula uses the Bessel function to process the volatility of the real-time data volume, so that the data update frequency is smoother, and then uses the natural logarithm to process the time series data volume, and uses the cube root function to process the seasonal data volume, and the data update frequency is obtained by the weighted sum of the three. The preset data update formula is:

[0027] ;

[0028] Where: For the The data update frequency of the class data, For the The real-time data volume of class data, For the The amount of time series data of class data, For the The amount of seasonal data for class data, for Order Bessel function, here we choose the 2nd order Bessel function, , , is the weight coefficient, which is set according to actual needs.

[0029] The gamma function is a generalized factorial function that can be used to handle complex relationships in data quality, timeliness, and other aspects, and improve the accuracy of storage priorities. The gamma function can more flexibly handle changes in data priorities and optimize storage decisions.

[0030] As a further solution of the present invention, in step three, the data storage priority formula uses the gamma function to process data quality, so that high-quality data obtains a higher storage priority, optimizes storage decisions, processes data timeliness through the arithmetic square root function, and processes the importance of data sources through the natural exponential function. The weighted sum of the three is used to obtain the data storage priority. The preset data storage priority formula is:

[0031] ;

[0032] Where: For the The priority of class data, For the The data quality of the class data, For the The timeliness of class data, For the Importance of data sources for class data, is the gamma function, , , is the weight coefficient, which is set according to actual needs.

[0033] Laplace transform can effectively handle time-related dynamic data processing problems. Through the frequency domain analysis after the transformation, we can better understand and optimize the allocation of computing resources. By analyzing the impact of the amount of computing resource allocation on processing efficiency through Laplace transform, we can improve the response speed and resource utilization of the system. Using Laplace transform to analyze the impact of the amount of computing resource allocation on processing efficiency can better handle time-related data processing efficiency issues and improve system response speed. For big data platforms that need to dynamically adjust computing resources, using Laplace transform to perform frequency domain analysis on computing resource allocation can better predict and optimize resource scheduling, improve processing efficiency, and ensure that the system can still run efficiently under high load.

[0034] As a further solution of the present invention, in step three, the preset data processing efficiency formula performs Laplace transform on the computing resource allocation in the server, effectively processes time-related dynamic data processing, optimizes the allocation of computing resources through the transformed frequency domain analysis, captures the periodic changes of the number of data nodes online, offline, and load in the distributed storage system through the Weierstrass elliptic function, models and predicts the load impact of the overall distributed storage system with different numbers of nodes, models the dynamic changes of nodes through the Weierstrass modeling, uses the logarithmic function to smooth the volatility of bandwidth resources, and uses the weighted sum of the three as the analysis value of data processing efficiency. The preset data processing efficiency formula is:

[0035] ;

[0036] Where: For the Data processing efficiency analysis value of class data, To calculate the resource allocation, For the The number of data nodes of the class data, For the The bandwidth resources of the data type, for The Laplace transform of is the Weierstrass elliptic function, , is an invariant, , , is the weight coefficient, which is set according to actual needs.

[0037] The Weierstrass elliptic function is a complex periodic function with rich mathematical properties, which is particularly suitable for describing the impact of the number of nodes on processing efficiency in distributed systems. The Weierstrass elliptic function is essentially a bi-periodic function, which means that it can capture and describe the periodic behavior in the system. In a distributed system, the change in the number of nodes often has a certain periodicity. For example, the online and offline nodes, the periodic changes in load, etc. The impact of the number of nodes in a distributed system on system performance and processing efficiency is nonlinear, and usually involves complex interactions and dependencies. The Weierstrass elliptic function can handle this complex nonlinear relationship and provide a natural mathematical tool to model these dynamic changes. The Weierstrass elliptic function can handle the changes of multiple variables at the same time, and these variables can be nonlinear and highly coupled. In a distributed system, the number of nodes not only affects the processing efficiency, but also has complex interdependencies with other resources (such as bandwidth, computing resources, etc.). The Weierstrass elliptic function is highly flexible and can adapt to different system characteristics and requirements through parameter adjustment. This flexibility enables it to adapt to various types of distributed systems and load conditions, providing more accurate performance modeling. Weierstrass elliptic functions can describe the complex effects of the number of nodes on processing efficiency in distributed systems, including periodicity and nonlinear characteristics. In large-scale distributed systems, changes in the number of nodes have a significant impact on processing efficiency. Modeling with Weierstrass elliptic functions can more accurately predict and optimize system performance.

[0038] , is an invariant: an invariant It is defined by the sum of the fourth inverse of the lattice points. It is closely related to the shape and period of the elliptic curve, defines the main characteristics of the elliptic function, and affects the function's dual periodicity and the distribution of singular points. The shape and properties of the elliptic curve are further refined by defining it through the sum of the sixth inverse of the grid points, determining the specific shape of the elliptic function and the arrangement of the periodic grid points, and affecting the complex behavior of the function. In the data processing efficiency formula, the Weierstrass elliptic function is used to process the impact of the number of nodes in a distributed system on processing efficiency. These two invariants , In practical applications, it can be selected and adjusted according to the characteristics of the system to best reflect the complex impact of the number of nodes on system performance.

[0039] As a further solution of the present invention, in step four, the relational database is the DAMO database, the NoSQL database is the TiDB database, and the object storage system is one of Alibaba Cloud OSS and Huawei Cloud OBS.

[0040] As a further solution of the present invention, in step 5, the delay time is set by correcting the basic delay time according to the percentage of the current server load to the maximum load capacity of the server and the data priority. The formula of the delay time is:

[0041] ;

[0042] Where: For the Storage delay time of class data, is the current server load, is the maximum load capacity of the server, For the The storage priority of class data, It is the basic delay time and is set according to business needs.

[0043] As a further solution of the present invention, in step 5, the dynamic sampling rate is obtained by dynamically correcting the basic sampling rate according to the percentage of the current server load to the maximum load capacity of the server. The dynamic sampling rate formula is:

[0044] ;

[0045] Where: is the dynamic sampling rate, It is the basic sampling rate, which is set according to business requirements and server data processing capabilities.

[0046] Compared with the prior art, the technical effects and advantages of the present invention are as follows: the present invention can effectively solve the limitations of traditional relational databases in processing large amounts of semi-structured and unstructured data, build a high-quality corpus through data collection and cleaning, and use machine learning models to accurately classify data to ensure that various types of data are properly stored and managed, and use data allocation formulas, update formulas, storage priority formulas and processing efficiency formulas to analyze and optimize data, so that data can be efficiently distributed and stored, with a reasonable update frequency and clear storage priority. In particular, in data storage update management, methods for delaying low-priority data processing, merging batch processing, and dynamically adjusting data sampling rates can effectively reduce server load and avoid system performance bottlenecks, disperse data storage tasks to multiple nodes, and regularly archive historical data, which helps to improve the scalability and flexibility of the system, ensure that the system can still operate efficiently and stably when the amount of data continues to grow, not only improve the efficiency and reliability of data processing, but also optimize resource utilization, and realize real-time monitoring and management of smart city big data platform data. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A flowchart of the method proposed for the present invention;

[0048] Figure 2 This is a schematic diagram of the model structure of the machine learning model (BERT-BiLSTM-CNN model) trained in step 2 of the method proposed in the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solution in the present invention. Obviously, the described technical solution is only a part of the present invention, not all of it. Based on the technical solution in the present invention, all other technical solutions obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0050] like Figure 1 As shown, a big data platform data storage management method proposed by the present invention includes the following steps:

[0051] Step 1: Data collection: collect text data from various data sources on the big data platform in smart cities, manually input and supplement the text data collected on the big data platform in smart cities, and integrate the text data generated by the early operation and maintenance of the platform and data migration to build the original data set. The cleaned and labeled corpus is divided into training set, validation set and test set according to 7:2:1, which are used for training models, validating models and testing models;

[0052] Step 2: Data classification: extract key features from the data, perform feature vectorization, and use the trained machine learning model to classify data types, dividing the data into structured data, semi-structured data, and unstructured data;

[0053] Step 3: Data analysis: Analyze the data using the preset data allocation formula, data update formula, data storage priority formula, and data processing efficiency formula to obtain the distributed storage location, update frequency, storage priority, and data processing efficiency of the data respectively;

[0054] Step 4: Data classification storage management: Based on the data type classification results of step 2, structured data is stored in a relational database, semi-structured data is stored in a NoSQL database, and unstructured data is stored in an object storage system. The distributed storage locations obtained by analyzing the preset data allocation formula are used for distributed storage.

[0055] Step 5, data storage update management: When the data update capacity obtained in step 3 exceeds the server processing capacity, the data is processed according to the storage priority, high priority data is processed first, and low priority data is delayed. The delay time is preset according to the actual situation. The data of each hour is merged into a batch, and the data is processed in batches to reduce the load of a single processing. The data is sampled and processed, and the data sampling rate is dynamically adjusted according to the server load.

[0056] Step 6: Data storage and processing effect management: If the data processing efficiency in step 3 exceeds the server's tolerance, distribute the data storage tasks to multiple nodes, archive historical data, reduce online storage load, set automatic archiving rules, and regularly archive historical data that meets the conditions.

[0057] like Figure 2As shown in the figure, Output layer is the output layer, Full connection layer is the full connection layer, CNN layer is the recurrent neural network layer, BiLSTM layer is the BiLSTM layer, that is, a structure composed of two LSTMs (Long Short-Term Memory), one of which processes the input sequence in forward order, and the other LSTM processes the input sequence in reverse order, BERT layer is the BERT (Bidirectional Encoder Representations from Transformers) layer, that is, a pre-trained language model layer based on the Transformer architecture, Input layer is the input layer, and in step 2, the trained machine learning model uses the BERT-BiLSTM-CNN model in the public document (Chen Weikan. Application of text classification based on deep learning in the design of Apple big data platform [D]. Shandong Agricultural University, 2023.). BERT-BiLSTM-CNN is a text classification model that combines BERT, BiLSTM and CNN, which is a prior art, and its description is on P37-P38 of the public document. It uses BERT as a feature extractor and combines BiLSTM and CNN to capture contextual information and local features in the text. The BERT model models the input text through a bidirectional Transformer encoder to capture the dependencies and contextual information between words. BiLSTM is applied to the output of BERT to capture the contextual information of the text. BiLSTM can effectively model long-term dependencies in sequences and provide bidirectional modeling capabilities for text context. Convolutional neural networks are applied to the output of BiLSTM to extract local patterns and features in the text. The fully connected layer includes multiple hidden layers and activation functions to improve the expression and fitting capabilities of the model. The output of the fully connected layer is normalized by the Softmax function to obtain the probability distribution of each category.

[0058] The method proposed in the present invention can effectively solve the limitations of traditional relational databases when processing large amounts of semi-structured and unstructured data. A high-quality corpus is constructed through data collection and cleaning, and data is accurately classified using a machine learning model to ensure that various types of data are properly stored and managed. Data allocation formulas, update formulas, storage priority formulas, and processing efficiency formulas are used to analyze and optimize data, so that data can be efficiently distributed and stored, with a reasonable update frequency and clear storage priority. In particular, in data storage update management, methods of delaying low-priority data processing, merging batch processing, and dynamically adjusting data sampling rates can effectively reduce server load and avoid system performance bottlenecks. Data storage tasks are dispersed to multiple nodes, and historical data is regularly archived, which helps to improve the scalability and flexibility of the system, ensure that the system can still operate efficiently and stably when the amount of data continues to grow, and not only improve the efficiency and reliability of data processing, but also optimize resource utilization.

[0059] It should be noted that in step 1, data cleaning and labeling of the acquired text data includes:

[0060] Step 1: Use hash algorithm to deduplicate data;

[0061] Step 2: Unify data formats and units;

[0062] Step 3: Convert the characters in the text to standard properties, remove special characters, extra spaces and stop words;

[0063] Step 4, word segmentation: split the continuous text into words and phrases;

[0064] Step 5, data error detection and correction: check spelling errors using predetermined rules and dictionaries, check data format errors using regular expressions and correct them, and perform manual proofreading and correction with reference to existing data and external data sources;

[0065] Step 6, data labeling: automatically label data categories based on data content and features, and encode data categories using label encoding.

[0066] Use hash algorithms to deduplicate data, eliminate duplicate data, ensure that each piece of data is unique in the data set, reduce the redundancy of the data set, and improve data processing efficiency and storage utilization. Unify data formats and units, standardize data formats and units, ensure data consistency and comparability, facilitate subsequent data processing and analysis, and reduce errors caused by inconsistent formats. Convert characters in text to standard properties, remove special characters, redundant blanks and stop words, improve the standardization and cleanliness of data, remove irrelevant information, improve data quality, make data easier to understand and analyze, reduce data dimensions, and reduce the occupation and waste of computing resources. Cut continuous text into words and phrases, and into smaller units to facilitate text analysis, keyword extraction and information retrieval, and improve data processability and accuracy. Use predetermined rules and dictionaries to check spelling errors, use regular expressions to check data format errors, and correct them, refer to existing data and external data sources for manual proofreading and correction, and combine automation and manual work to ensure data accuracy and completeness, reduce the impact of erroneous data on analysis results, and improve data reliability. Automatically mark data categories according to data content and features, and use label encoding to encode data categories to facilitate subsequent machine learning model training and analysis, provide structured information, and improve data utilization efficiency and analysis accuracy.

[0067] It should be noted that in step 2, the key features of the data include data format features, content features, language features, grammatical features, statistical features and content features, among which data format features include character set encoding and file type; content features include text length, word data, number of sentences, number of paragraphs, average word length, average sentence length and vocabulary richness; language features include word frequency statistics, part-of-speech tagging values ​​and sentiment analysis values; grammatical features include lexical features, syntactic features and dependency relationships; statistical features include character distribution information, word length distribution information, sentence length distribution information and paragraph length distribution information; content features include topic distribution and key phrases.

[0068] Chebyshev polynomials minimize the maximum error in approximation theory. They can be used to optimize the weights in the data distribution formula, making data distribution more even and reducing storage and computing loads. By using Chebyshev polynomials, the peak in data distribution can be reduced and storage resources can be optimized.

[0069] It should be noted that in step three, the preset data allocation formula analyzes the amount of structured data, semi-structured data, and unstructured data in each category based on content classification, and uses Chebyshev polynomials to smooth the extreme values ​​of the amount of structured data, semi-structured data, and unstructured data, so that the location distribution of distributed storage is more uniform and the storage space allocation is optimized. The preset data allocation formula is:

[0070] ;

[0071] Where: To index data classified by content, For the The storage location node of the class data, For the The amount of structured data in the class data, For the The amount of semi-structured data in the class data, For the The amount of unstructured data in the class data, , , is the weight coefficient, which is set according to actual needs. is the Chebyshev polynomial, is the order, here we choose =3, the expression is as follows:

[0072] Smoothing of structured data volume: ;

[0073] Semi-structured data volume smoothing: ;

[0074] Smoothing of unstructured data volume: ;

[0075] Selecting the third-order Chebyshev polynomial can effectively reduce extreme cases in the data, avoid hot spots in the distributed storage system, optimize data distribution, and ensure computational efficiency and stability while ensuring smooth data storage location distribution.

[0076] Bessel functions are very effective in describing fluctuations and oscillations, and can be used to model the periodicity and fluctuations of data update frequency. Bessel functions can help smooth fluctuations in data update frequency and reduce drastic changes in load.

[0077] It should be noted that in step 3, the preset data update formula uses the Bessel function to process the volatility of the real-time data volume, making the data update frequency smoother, and then uses the natural logarithm to process the time series data volume, and uses the cube root function to process the seasonal data volume. The data update frequency is obtained by the weighted sum of the three. The preset data update formula is:

[0078] ;

[0079] Where: For the The data update frequency of the class data, For the The real-time data volume of class data, For the The amount of time series data of class data, For the The seasonality of the data, for Order Bessel function, here we choose the 2nd order Bessel function, , , is the weight coefficient, which is set according to actual needs.

[0080] Bessel functions are used to describe the volatility phenomenon that occurs in a cylindrical coordinate system. The second-order Bessel function can effectively describe the volatility in the data and has strong adaptability. The second-order Bessel function provides a smooth description of volatility, making the data update frequency smoother and reducing the impact of sudden fluctuations on the system. Compared with the first-order Bessel function, the second-order Bessel function can capture more complex fluctuation patterns, but it does not introduce too much complexity and computational overhead like the higher-order Bessel function. The second-order Bessel function has moderate computational complexity and can maintain high computational efficiency while ensuring the smoothing effect, which is suitable for real-time data processing needs. The second-order Bessel function has a good effect in processing high-frequency noise. It can process smoothly. By smoothing volatility, the second-order Bessel function helps improve the stability and consistency of the data update frequency and reduce the adverse effects of noise.

[0081] ;

[0082] in, The sum index represents the number of items in the series expansion.

[0083] The gamma function is a generalized factorial function that can be used to handle complex relationships in data quality, timeliness, and other aspects, and improve the accuracy of storage priorities. The gamma function can more flexibly handle changes in data priorities and optimize storage decisions.

[0084] It should be noted that in step three, the data storage priority formula uses the gamma function to process data quality, so that high-quality data obtains a higher storage priority, optimizes storage decisions, processes data timeliness through the arithmetic square root function, and processes the importance of data sources through the natural exponential function. The weighted sum of the three is used to obtain the data storage priority. The preset data storage priority formula is:

[0085] ;

[0086] Where: For the The priority of class data, For the The data quality of the class data, For the The timeliness of class data, For the Importance of data sources for class data, is the gamma function, , , is the weight coefficient, which is set according to actual needs.

[0087] The gamma function can flexibly handle data of different qualities. After high-quality data is transformed by the gamma function, its priority will be significantly improved, ensuring that these high-quality data are stored and processed first when storage resources are limited. The gamma function processes generalized factorial calculations and can nonlinearly amplify data quality, making it easier for high-quality data to stand out. Processing data timeliness through the square root function can smooth the impact of timeliness, so that newer and more timely data can be appropriately promoted, without causing unnecessary data priority to be too high due to excessive timeliness weight. The cube root function provides data smoothing processing, effectively reducing the extreme impact of highly timely data on the overall storage priority, and can exponentially amplify the importance of data sources, so that the data priority of key data sources is rapidly increased, ensuring that data from important data sources is stored first. The exponential function has the characteristics of rapid growth. For particularly important data sources, their priority will be significantly improved, ensuring more reasonable resource allocation. The weight coefficient can be flexibly adjusted according to specific business needs and data characteristics to ensure that the priority of different types of data conforms to business logic. The data priority can be comprehensively evaluated through the three dimensions of data quality, timeliness and source importance, which can more comprehensively reflect the importance of data and optimize the allocation of storage resources. The weight coefficient and function parameters can be dynamically adjusted according to the system operation status and business needs to ensure that the system can operate efficiently under different loads and requirements, ensure that high-quality, time-sensitive and important data are stored first, reduce the situation where low-priority data occupies precious storage resources, and improve overall resource utilization efficiency. By optimizing storage decisions, the burden of the system in processing low-priority data can be reduced, and the system's response speed and processing capabilities can be improved. Reasonable data priority management can avoid the ineffective occupation of storage resources, reduce the risk of system overload and crash, and ensure that the system can still operate stably under high load.

[0088] Laplace transform can effectively handle time-related dynamic data processing problems. Through the frequency domain analysis after the transformation, we can better understand and optimize the allocation of computing resources. By analyzing the impact of the amount of computing resource allocation on processing efficiency through Laplace transform, we can improve the response speed and resource utilization of the system. Using Laplace transform to analyze the impact of the amount of computing resource allocation on processing efficiency can better handle time-related data processing efficiency issues and improve system response speed. For big data platforms that need to dynamically adjust computing resources, using Laplace transform to perform frequency domain analysis on computing resource allocation can better predict and optimize resource scheduling, improve processing efficiency, and ensure that the system can still run efficiently under high load.

[0089] It should be noted that in step three, the preset data processing efficiency formula performs Laplace transform on the computing resource allocation in the server, effectively processes time-related dynamic data processing, optimizes the allocation of computing resources through the transformed frequency domain analysis, captures the periodic changes of the number of data nodes in the distributed storage system, and load through the Weierstrass elliptic function, models and predicts the load impact of the overall distributed storage system with different numbers of nodes, models the dynamic changes of nodes through the Weierstrass model, uses the logarithmic function to smooth the volatility of bandwidth resources, and uses the weighted sum of the three as the analysis value of data processing efficiency. The preset data processing efficiency formula is:

[0090] ;

[0091] Where: For the Data processing efficiency analysis value of class data, To calculate the resource allocation, For the The number of data nodes of the class data, For the The bandwidth resources of the data type, for The Laplace transform of is the Weierstrass elliptic function, , is an invariant, , , is the weight coefficient, which is set according to actual needs.

[0092] The Laplace transform can convert time domain problems into frequency domain, which is convenient for processing time-related dynamic data and identifying frequency components in the system. Through frequency domain analysis, we can better understand the dynamic allocation of computing resources, optimize resource utilization, and improve data processing efficiency. The Weierstrass elliptic function can capture the periodic changes in the number of nodes in a distributed storage system and is suitable for describing the online, offline and load changes of nodes. This function can effectively model and predict the impact of changes in the number of nodes on the overall load of the system, and help optimize load balancing and resource allocation. The logarithmic function can smooth fluctuations in bandwidth resources, reduce the impact of extreme values ​​on the system, and make data processing efficiency more stable. The logarithmic function grows slowly and is suitable for smoothing rapidly changing data and reducing the impact of bandwidth fluctuations on processing efficiency.

[0093] The Weierstrass elliptic function is a complex periodic function with rich mathematical properties, which is particularly suitable for describing the impact of the number of nodes on processing efficiency in distributed systems. The Weierstrass elliptic function is essentially a bi-periodic function, which means that it can capture and describe the periodic behavior in the system. In a distributed system, the change in the number of nodes often has a certain periodicity. For example, the online and offline nodes, the periodic changes in load, etc. The impact of the number of nodes in a distributed system on system performance and processing efficiency is nonlinear, and usually involves complex interactions and dependencies. The Weierstrass elliptic function can handle this complex nonlinear relationship and provide a natural mathematical tool to model these dynamic changes. The Weierstrass elliptic function can handle the changes of multiple variables at the same time, and these variables can be nonlinear and highly coupled. In a distributed system, the number of nodes not only affects the processing efficiency, but also has complex interdependencies with other resources (such as bandwidth, computing resources, etc.). The Weierstrass elliptic function is highly flexible and can adapt to different system characteristics and requirements through parameter adjustment. This flexibility enables it to adapt to various types of distributed systems and load conditions, providing more accurate performance modeling. Weierstrass elliptic functions can describe the complex effects of the number of nodes on processing efficiency in distributed systems, including periodicity and nonlinear characteristics. In large-scale distributed systems, changes in the number of nodes have a significant impact on processing efficiency. Modeling with Weierstrass elliptic functions can more accurately predict and optimize system performance.

[0094] , is an invariant: an invariant It is defined by the sum of the fourth inverse of the lattice points. It is closely related to the shape and period of the elliptic curve, defines the main characteristics of the elliptic function, and affects the function's dual periodicity and the distribution of singular points. The shape and properties of the elliptic curve are further refined by defining it through the sum of the sixth inverse of the grid points, determining the specific shape of the elliptic function and the arrangement of the periodic grid points, and affecting the complex behavior of the function. In the data processing efficiency formula, the Weierstrass elliptic function is used to process the impact of the number of nodes in a distributed system on processing efficiency. These two invariants , In practical applications, it can be selected and adjusted according to the characteristics of the system to best reflect the complex impact of the number of nodes on system performance.

[0095] It should be noted that in step 4, the relational database is the DAMO database, the NoSQL database is the TiDB database, and the object storage system is one of Alibaba Cloud OSS and Huawei Cloud OBS.

[0096] It should be noted that in step 5, the delay time is set by correcting the basic delay time according to the percentage of the current server load to the maximum load capacity of the server and the data priority. The formula for the delay time is:

[0097] ;

[0098] Where: For the Storage delay time of class data, is the current server load, is the maximum load capacity of the server, For the The storage priority of class data, It is the basic delay time and is set according to business needs.

[0099] By real-time monitoring of the current server load, the delay time can be dynamically adjusted to ensure that the system can reasonably allocate resources under high load conditions to avoid overload; when the system load is high, the delay time automatically increases to reduce the pressure on the server, and when the system load is low, the delay time decreases to increase data processing speed; combined with data storage priority, high-priority data has a smaller value and a shorter delay time, ensuring that important data is processed in a timely manner. The value of low-priority data is large, and the delay time is relatively long, which reduces its occupation of system resources. When resources are tight, important data can be processed quickly to maintain the continuity and reliability of key system services. The delay time formula is used to smooth load fluctuations to avoid sudden loads that cause system overload and performance degradation. The basic delay time ensures that the delay time fluctuates within a reasonable range. When the amount of data suddenly increases, the load pressure is relieved by increasing the delay time to ensure stable system operation. The delay time is combined with the current load and data priority to more efficiently utilize system resources and avoid resource waste and inefficient utilization. The system can flexibly adjust resource allocation under different loads and priorities to improve overall processing efficiency. The basic delay time can be flexibly set according to specific business needs to ensure that the delay time meets business logic and performance requirements. In different business scenarios (such as peak and trough periods), the basic delay time is adjusted to ensure that the system can operate efficiently in different situations.

[0100] It should be noted that in step 5, the dynamic sampling rate is obtained by dynamically correcting the basic sampling rate according to the percentage of the current server load to the maximum load capacity of the server. The dynamic sampling rate formula is:

[0101] ;

[0102] Where: is the dynamic sampling rate, It is the basic sampling rate, which is set according to business requirements and server data processing capabilities.

[0103] According to the above formula, the data sampling rate can be dynamically adjusted according to the current load of the server. When the server load is high, the sampling rate can be automatically reduced to reduce system pressure and resource consumption and ensure stable operation of the system. When the server load is low, the sampling rate can be increased to make full use of resources and improve the accuracy and timeliness of data processing, thereby optimizing system performance and resource utilization efficiency.

[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which 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.

[0105] Finally: The above description is only the preferred technical solution of the present invention and is not intended to limit the present invention. Any 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. A big data platform data storage management method, characterized in that: The steps include: Step 1: Data collection: collect text data from various data sources on the big data platform in smart cities, manually input and supplement the text data collected on the big data platform in smart cities, and integrate the text data generated by the early operation and maintenance of the platform and data migration to build the original data set. The cleaned and labeled corpus is divided into training set, validation set and test set according to 7:2:1, which are used for training models, validating models and testing models; Step 2: Data classification: extract key features from the data, perform feature vectorization, and use the trained machine learning model to classify data types, dividing the data into structured data, semi-structured data, and unstructured data; Step 3: Data analysis: Analyze the data using the preset data allocation formula, data update formula, data storage priority formula, and data processing efficiency formula to obtain the distributed storage location, update frequency, storage priority, and data processing efficiency of the data respectively; Step 4: Data classification storage management: Based on the data type classification results of step 2, structured data is stored in a relational database, semi-structured data is stored in a NoSQL database, and unstructured data is stored in an object storage system. The distributed storage locations obtained by analyzing the preset data allocation formula are used for distributed storage. Step 5, data storage update management: When the data update frequency obtained in step 3 exceeds the server processing capacity, the data is processed according to the storage priority, high priority data is processed first, and low priority data is delayed. The delay time is preset according to the actual situation. The data of each hour is merged into a batch, and the data is processed in batches to reduce the load of a single processing. The data is sampled and processed, and the data sampling rate is dynamically adjusted according to the server load. Step 6: Data storage and processing effect management: If the data processing efficiency in step 3 exceeds the server's tolerance, distribute the data storage tasks to multiple nodes, archive historical data, reduce online storage load, set automatic archiving rules, and regularly archive historical data that meets the conditions.

2. A big data platform data storage management method according to claim 1, characterized in that: In step 1, data cleaning and labeling of the acquired text data include: Step 1: Use hash algorithm to deduplicate data; Step 2: Unify data formats and units; Step 3: Convert the characters in the text to standard properties, remove special characters, extra spaces and stop words; Step 4, word segmentation: split the continuous text into words and phrases; Step 5, data error detection and correction: check spelling errors using predetermined rules and dictionaries, check data format errors using regular expressions and correct them, and perform manual proofreading and correction with reference to existing data and external data sources; Step 6, data labeling: automatically label data categories based on data content and features, and encode data categories using label encoding.

3. A big data platform data storage management method according to claim 1, characterized in that: In step two, the key features of the data include data format features, text features, language features, grammatical features, statistical features and content features, wherein data format features include character set encoding and file type; text features include text length, number of words, number of sentences, number of paragraphs, average word length, average sentence length and vocabulary richness; language features include word frequency statistics, part-of-speech tagging values ​​and sentiment analysis values; grammatical features include lexical features, syntactic features and dependency relationships; statistical features include character distribution information, word length distribution information, sentence length distribution information and paragraph length distribution information; content features include topic distribution and key phrases.

4. A big data platform data storage management method according to claim 1, characterized in that: In step three, the preset data allocation formula analyzes the amount of structured data, semi-structured data, and unstructured data in each category based on content classification, and uses Chebyshev polynomials to smooth the extreme values ​​of the amount of structured data, semi-structured data, and unstructured data, so that the location distribution of distributed storage is more uniform and the storage space allocation is optimized. The preset data allocation formula is: ; Where: To index data classified by content, For the The storage location node of the class data, For the The amount of structured data in the class data, For the The amount of semi-structured data in the class data, For the The amount of unstructured data in the class data, , , is the weight coefficient, which is set according to actual needs. is the Chebyshev polynomial, Is the order.

5. A big data platform data storage management method according to claim 4, characterized in that: In step three, the preset data update formula uses the Bessel function to process the volatility of the real-time data volume, making the data update frequency smoother, and then uses the natural logarithm to process the time series data volume, and uses the cube root function to process the seasonal data volume. The data update frequency is obtained by the weighted sum of the three. The preset data update formula is: ; Where: For the The data update frequency of the class data, For the The real-time data volume of class data, For the The amount of time series data of class data, For the The seasonality of the data, for Bessel function of order, , , is the weight coefficient, which is set according to actual needs.

6. A big data platform data storage management method according to claim 4, characterized in that: In step three, the data storage priority formula uses the gamma function to process data quality, so that high-quality data obtains a higher storage priority, optimizes storage decisions, processes data timeliness through the arithmetic square root function, and processes the importance of data sources through the natural exponential function. The weighted sum of the three is used to obtain the data storage priority. The preset data storage priority formula is: ; Where: For the The priority of class data, For the The data quality of the class data, For the The timeliness of class data, For the Importance of data sources for class data, is the gamma function, , , is the weight coefficient, which is set according to actual needs.

7. A method for managing data storage on a big data platform according to claim 4, characterized in that: In step three, the preset data processing efficiency formula performs Laplace transform on the computing resource allocation in the server, effectively processes time-related dynamic data, optimizes the allocation of computing resources through the transformed frequency domain analysis, captures the periodic changes of the number of data nodes in the distributed storage system, and load through the Weierstrass elliptic function, models and predicts the impact of different numbers of nodes on the load of the overall distributed storage system, models the dynamic changes of nodes through the Weierstrass model, uses the logarithmic function to smooth the volatility of bandwidth resources, and uses the weighted sum of the three as the analysis value of data processing efficiency. The preset data processing efficiency formula is: ; Where: For the Data processing efficiency analysis value of class data, To calculate the resource allocation, For the The number of data nodes of the class data, For the The bandwidth resources of the data type, for The Laplace transform of is the Weierstrass elliptic function, , is an invariant, , , is the weight coefficient, which is set according to actual needs.

8. A big data platform data storage management method according to claim 1, characterized in that: In step 4, the relational database is the DAMO database, the NoSQL database is the TiDB database, and the object storage system is one of Alibaba Cloud OSS and Huawei Cloud OBS.

9. A method for managing data storage on a big data platform according to claim 6, characterized in that: In step 5, the delay time is set by correcting the basic delay time according to the percentage of the current server load to the maximum load capacity of the server and the data priority. The formula for the delay time is: ; Where: For the Storage delay time of class data, is the current server load, is the maximum load capacity of the server, For the The storage priority of class data, It is the basic delay time and is set according to business needs.

10. A method for managing data storage on a big data platform according to claim 9, characterized in that: In step 5, the dynamic sampling rate is obtained by dynamically correcting the basic sampling rate according to the percentage of the current server load to the maximum load capacity of the server. The dynamic sampling rate formula is: ; Where: is the dynamic sampling rate, It is the basic sampling rate, which is set according to business requirements and server data processing capabilities.

Citation Information

Patent Citations

  • A power system safety and stability analysis data storage system and method

    CN109726205A

  • Spatial data storage management device

    CN118193482A