A distributed financial data management method and system under cloud infrastructure

By adopting a distributed financial data management method under cloud infrastructure and using edge nodes and event-driven programming models for automatic data labeling and dynamic analysis, the problems of data update lag and low processing efficiency caused by static data deduplication are solved, and the Real-time data updates and efficient processing improve the adaptability and reliability of the system.

CN118245887BActive Publication Date: 2024-08-23SHENZHEN JINGU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410658501.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-23
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Existing financial data management technology relies on static data deduplication, resulting in lagging data updates and inability to reflect market changes in a timely manner. It also lacks an in-depth understanding of data content and business value, resulting in key data being mistakenly deleted or low-value data being invalidly retained, making it difficult to adapt quickly. Market changes and business needs.

Method used

Adopt a distributed financial data management method under cloud infrastructure, automatically label and classify data in real time through the rule engine and pattern matching technology of edge nodes, and combine event-driven programming models, time series analysis and Gaussian mixture model clustering for dynamic tracking and analysis Data access patterns, optimized data storage and backup strategies.

Benefits of technology

It achieves real-time updating and efficient processing of data, improves data processing efficiency and response speed, reduces delays and costs, enhances the adaptability and reliability of the data system, and supports more complex data management strategies and business decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245887B
    Figure CN118245887B
Patent Text Reader

Abstract

The present invention discloses a distributed financial data management method and system under cloud infrastructure, which specifically relates to the field of data management and is used to solve the problems of data update lag and low processing efficiency. It uses built-in rule engines and pattern matching technology at edge nodes to automatically mark and classify accessed data in real time. Through an event-driven programming model, data access patterns are dynamically tracked and analyzed on each node, and combined with time series analysis and Gaussian mixture model clustering technology, periodic changes, emergencies and long-term trends in data access are identified. Data storage and access strategies can be more refined and personalized, surpassing the limitations of single static classification, combining the advantages of static classification and dynamic analysis, not only improving the system's adaptability and foresight to data access behavior, but also supporting more complex data management strategies and business decisions, and enhancing the overall performance and reliability of the data system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management, and more specifically, to a distributed financial data management method and system under a cloud infrastructure. Background Art

[0002] In the existing technology of financial data management, the management of redundant data mainly relies on static data deduplication technology, but this method has several significant shortcomings. First, static data deduplication is usually performed during the off-peak period of the system, which may cause data updates to lag during peak periods and fail to reflect the latest market changes and transaction information in a timely manner. Secondly, this method often lacks a deep understanding of data content and business value, and cannot effectively distinguish between data that is frequently accessed in the short term and data that has not been used for a long time, which may lead to the accidental deletion of key data or the invalid retention of low-value data. In addition, static methods are not flexible enough to respond to rapid market changes, and it is difficult to adapt to the dynamic changes in business needs and data usage patterns, which is particularly insufficient in today's environment where data is highly dispersed and business is highly dependent on data real-time.

[0003] These problems not only reduce the speed of data processing, but also slow down the ability to respond to market changes, increase operating costs, and may affect the quality of final business decisions. Therefore, there is an urgent need to develop a new method that can manage financial data redundancy in real time and intelligently to improve data processing efficiency and accuracy, and ensure that while ensuring real-time data updates, it can also efficiently respond to rapid changes in the market.

[0004] In order to solve the above problems, a technical solution is now provided. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art, the embodiment of the present invention provides a distributed financial data management method and system under cloud infrastructure, which improves the traditional static data deduplication technology through dynamic methods to solve the problems of data update lag and low processing efficiency. The built-in rule engine and pattern matching technology are used at the edge node to automatically mark and classify the accessed data in real time. This classification is based on the preset access frequency and recent use time of the data, allowing the system to perform preliminary processing when the data is accessed, thereby significantly reducing the burden on the central data processing system, reducing the amount of data transmission on the network, and optimizing bandwidth usage. In addition, through an event-driven programming model, data access patterns are dynamically tracked and analyzed on each node, combined with time series analysis and Gaussian mixture model clustering technology, it is possible to deeply identify periodic changes, emergencies and long-term trends in data access. This dynamic analysis method enables data storage and access strategies to be more refined and personalized, surpassing the limitations based on a single static classification. Finally, by combining the advantages of static classification and dynamic analysis, not only the adaptability and foresight of the system to data access behavior are improved, but also more complex data management strategies and business decisions are supported, and the overall performance and reliability of the data system are enhanced to solve the problems raised in the above background technology.

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

[0007] S1: When data is accessed, edge nodes are used to automatically tag and classify data. Each node uses a built-in rule engine and pattern matching technology to classify data based on its total access frequency and time sensitivity, ensuring that data is classified into the corresponding access type.

[0008] S2: Based on the event-driven programming model implemented on each node, dynamic access pattern tracking and multi-dimensional feature analysis of data on distributed nodes are performed, combining time series analysis and Gaussian mixture model clustering to identify and adapt to the cycle and fluctuation of data access;

[0009] S3: Comprehensively analyze the access patterns and access types of data items, and provide prompt signals for adjusting the data storage level and backup frequency.

[0010] In a preferred embodiment, S1 includes the following contents:

[0011] Each edge node first pre-processes the incoming data;

[0012] Extract key features from the preprocessed data, including total access frequency and time sensitivity;

[0013] Classification is performed based on the total access frequency and time sensitivity of the data items, where the access frequency is obtained as follows:

[0014] Calculate the instantaneous access rate of a data item based on a predefined event window : ;

[0015] in, It's in time The number of visits within is the length of the time window;

[0016] Give more weight to recent accesses and adjust the instantaneous access rate using an exponential decay function: ;

[0017] in, is the decay coefficient, which controls the rate at which the weight of past visits decreases, is the current time, is the access time;

[0018] The adjusted instantaneous access rate is accumulated in all time windows to obtain the total access frequency: ;

[0019] The process of obtaining time sensitivity is as follows:

[0020] For each data item, record its last access time ;

[0021] Compute a time sensitivity score for each data item as a function of the time elapsed since the last access: ;

[0022] in, is the current time, is the time of the last access. Adding 1 ensures that the input of the logarithmic function will not be 0 for the data just accessed, avoiding mathematical errors.

[0023] In a preferred embodiment, a classification score is obtained based on the calculated total access frequency and time sensitivity of each data item: ;

[0024] in, is the assigned score, and are the preset proportional coefficients of total access frequency and time sensitivity, respectively, and both are greater than zero;

[0025] According to the comparison results of the classification score and classification threshold 1 and classification threshold 2, the access category information of each data item is obtained, including high-frequency access, medium-frequency access and low-frequency access categories:

[0026] If the classification score is greater than the classification threshold of one, it is marked as a high-frequency access signal;

[0027] If the classification score is less than or equal to classification threshold one and greater than or equal to classification threshold two, it is marked as an intermediate frequency access signal;

[0028] If the classification score is less than the classification threshold of two, it is marked as a low-frequency access signal.

[0029] Each data item is labeled according to the classification result, and these labels are synchronized among the relevant nodes in the distributed system.

[0030] In a preferred embodiment, S2 includes the following contents:

[0031] Collect data access events on distributed nodes, perform preprocessing on the collected data, organize the preprocessed data into time series in chronological order, and construct a multi-dimensional feature vector for each data item. The features include:

[0032] The visit frequency is calculated at different time scales using the following formula: ;

[0033] in, Indicates a time window (such as day, week, month), is the attenuation coefficient, is a time decay function, which highlights the importance of recent visits. is the access time within the window;

[0034] Calculate the coefficient of variation of access times to assess the stability of access patterns: ;

[0035] in, yes The average of all access times within the time window, is the number of visits;

[0036] Using fast Fourier transform, frequency analysis will be performed on the time series data obtained from the integration of feature vectors;

[0037] The feature vectors of the time series are clustered using a Gaussian mixture model to group data items into different access pattern categories based on access frequency and temporal stability characteristics;

[0038] Since different features may have different magnitudes and distributions, the features are standardized using the Z-score standardization method;

[0039] Cluster the standardized feature vectors using a Gaussian mixture model;

[0040] Based on the results of the Gaussian mixture model, each data item is assigned to the cluster with the highest probability;

[0041] According to the clustering results, each piece of data is labeled with a corresponding access mode label.

[0042] In a preferred embodiment, in order to detect whether the access mode of each data item has changed, the modal evolution index is calculated based on the access mode label and the current clustering result within a unit time, and the calculation formula is as follows: ;

[0043] Among them, 1 is an indicator function, which takes the value of 1 when the condition is met, otherwise it is 0; Is a data item In the past Tags in subanalysis; is the current label; is the number of historical records considered;

[0044] Adjust the time interval of periodic analysis according to the modal evolution index: ;

[0045] in, is the base time interval; is an adjustment factor used to control the influence of the modal evolution index on the analysis frequency.

[0046] According to the calculated Set the time for the next analysis for each data item.

[0047] In a preferred embodiment, S3 includes the following contents:

[0048] Collect all periodic analysis intervals for each data item over a period of time;

[0049] To quantify the stability of the access pattern, the variability of these time intervals is calculated, expressed as the standard deviation of the time intervals: ;

[0050] in, It is The time interval between analyses, is the average value of the time interval; is the number of analyses during the observation period;

[0051] The inverse of the variability based on the time interval is calculated and further adjusted to reflect the overall trend of the time interval to obtain the inverse modal fluctuation index: ;

[0052] in, is the inverse modal fluctuation index; is a small constant that prevents the denominator from being zero; is the attenuation factor used to adjust the effect of the time interval trend derivative; It is the time derivative of the mean value of the time interval, indicating the speed at which the time interval changes;

[0053] Compare the modal fluctuation inverse index with the modal stability threshold to obtain the access mode stability information of each data item, including the access mode stability signal and the access mode instability signal:

[0054] If the modal fluctuation inverse index is greater than or equal to the modal stability threshold, an access mode stability signal is generated;

[0055] On the contrary, if the inverse exponent of the modal fluctuation is less than the modal stability threshold, an access mode instability signal is generated.

[0056] In a preferred embodiment, the access category information and access mode stability information of the same data item are counted, and the inclusion results of the access category information and the access mode stability information are classified and discussed to obtain storage mode update information, including priority storage signals, high-risk high-frequency signals, conventional optimization signals, dynamic monitoring signals, low-priority storage signals, and potential archiving signals:

[0057] If the data item contains both a high-frequency access signal and a stable access pattern signal, a priority storage signal is generated;

[0058] If the data item contains both high-frequency access signals and access pattern instability signals, a high-risk high-frequency signal is generated;

[0059] If the data item contains both the intermediate frequency access signal and the access pattern stability signal, a conventional optimization signal is generated;

[0060] If the data item contains both the intermediate frequency access signal and the access mode instability signal, a dynamic monitoring signal is generated;

[0061] If the data item contains both a low-frequency access signal and an access pattern stable signal, a low-priority storage signal is generated;

[0062] If a data item contains both a low-frequency access signal and an access pattern instability signal, a potential archiving signal is generated.

[0063] In a preferred embodiment, a data marking module, an event tracking module, an analysis and clustering module, and a storage strategy adjustment module;

[0064] The data tagging module automatically tags and classifies data using edge nodes when data is accessed, uses rule engines and pattern matching technology to classify data based on total access frequency and time sensitivity, and sends the tagging results to the storage policy adjustment module;

[0065] The event tracking module implements an event-driven programming model, processes data on distributed nodes, performs dynamic access pattern tracking and collects relevant event data, and sends the collected data to the analysis and clustering module;

[0066] The analysis and clustering module performs multi-dimensional feature analysis on the collected data and applies time series analysis and Gaussian mixture model clustering algorithm to identify the periodicity and volatility of data access, and sends the identification results to the storage policy adjustment module;

[0067] The storage policy adjustment module comprehensively analyzes the access patterns and types of data items, generates prompt signals for adjusting storage tiers and backup frequencies, and optimizes storage policies.

[0068] The technical effects and advantages of the distributed financial data management method and system under a cloud infrastructure of the present invention are as follows:

[0069] 1. The present invention automatically marks and classifies the accessed data by utilizing edge nodes. Each node performs classification based on the preset access frequency and the most recent usage time of the data. Specifically, firstly, the distributed data processing allows classification and preprocessing to be performed instantly at the data access point, which greatly reduces the burden on the central data processing system and improves the processing speed and efficiency of the entire system. Secondly, by performing preliminary processing at nodes near the data source, the amount of data transmitted on the network can be reduced, further reducing latency and optimizing the use of network bandwidth. In addition, intelligent classification based on the access frequency and time sensitivity of the data enables data storage and access strategies to be more refined and personalized, ensuring the cost-effectiveness of data storage and optimization of access performance. It is suitable for distributed financial data management systems that require fast response and high data throughput, and can effectively improve the response speed of data operations and the overall data management capabilities of the system.

[0070] 2. The present invention provides a comprehensive framework for in-depth analysis and management of data access patterns by implementing an event-driven model and combining time series analysis with Gaussian mixture model (GMM) clustering. It can capture the complex dynamics of data access, identify periodic changes, emergencies, and long-term trends, thus surpassing the limitations of single static classification. Through detailed feature analysis, including multi-scale access frequency and time stability assessment, and periodic patterns revealed by FFT, it not only helps to understand the behavior and periodic laws of data access, but also reveals data groups with similar access patterns through clustering, providing a basis for the optimization of data storage, backup frequency, and data caching strategies. In addition, by dynamically adjusting the analysis frequency to cope with changes in access patterns, this method improves the efficiency and responsiveness of data management, reduces latency, and reduces costs, and is particularly suitable for distributed environments with variable data access patterns and intensive data. The entire process not only improves the system's adaptability and foresight to data access behavior, but also supports more complex data management strategies and business decisions, and enhances the overall performance and reliability of the data system.

[0071] 3. The present invention conducts a comprehensive analysis of the access category information and access mode stability of data items, and generates specific storage mode update signals based on this information, thereby significantly improving the efficiency and accuracy of data management. This strategy enables data storage to dynamically adapt to changes in access patterns, optimize storage levels and backup frequencies, thereby reducing ineffective storage and unnecessary costs, while enhancing data availability and security. By intelligently adjusting storage solutions and backup strategies, the system can better respond to sudden access demands, protect critical data from loss, and ensure data version consistency and integrity of all nodes, thereby improving the responsiveness and stability of the overall system. It is suitable for large-scale distributed storage environments that require high reliability and flexibility, helping to more effectively manage and utilize their data assets. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of a process of a distributed financial data management method under a cloud infrastructure of the present invention;

[0073] Figure 2 It is a structural schematic diagram of a distributed financial data management system under a cloud infrastructure of the present invention. DETAILED DESCRIPTION

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

[0075] Embodiment 1: Figure 1 The present invention provides a distributed financial data management method under a cloud infrastructure, comprising:

[0076] S1: When data is accessed, edge nodes are used to automatically tag and classify data. Each node uses a built-in rule engine and pattern matching technology to classify data based on its total access frequency and time sensitivity, ensuring that data is classified into the corresponding access type.

[0077] S2: Based on the event-driven programming model implemented on each node, dynamic access pattern tracking and multi-dimensional feature analysis of data on distributed nodes are performed, combining time series analysis and Gaussian mixture model clustering to identify and adapt to the cycle and fluctuation of data access;

[0078] S3: Comprehensively analyze the access patterns and access types of data items, and provide prompt signals for adjusting the data storage level and backup frequency.

[0079] S1 includes the following:

[0080] Each edge node first preprocesses the incoming data, including data cleaning (removing incomplete or erroneous data entries), standardization (ensuring that all data formats are consistent), and data summarization (generating a brief description of the data).

[0081] Extract key features from the preprocessed data, including total access frequency and time sensitivity;

[0082] Classification is performed based on the total access frequency and time sensitivity of the data items, where the access frequency is obtained as follows:

[0083] Calculate the instantaneous access rate of a data item based on a predefined event window : ;

[0084] in, It's in time The number of visits within is the length of the time window.

[0085] Give more weight to recent accesses and adjust the instantaneous access rate using an exponential decay function: ;

[0086] in, is the decay coefficient, which controls the rate at which the weight of past visits decreases, is the current time, is the access time.

[0087] The adjusted instantaneous access rate is accumulated in all time windows to obtain the total access frequency: .

[0088] For the computational analysis of access frequency, first, by evaluating the instantaneous access rate in different time windows, the access dynamics of data items on different time scales can be obtained, which helps to more comprehensively understand the data usage pattern. For example, some data may be frequently accessed in the short term, but the access frequency is low in the long term. This difference is a factor that must be considered when optimizing resource allocation and caching strategies in distributed systems. By applying exponential decay to adjust the instantaneous access rate, a higher weight is given to recent accesses, which reflects the importance of real-time or near-real-time data access requirements in distributed systems, that is, the recent data access pattern is more representative of the current demand status than the old pattern. The total access frequency obtained by accumulating the adjusted instantaneous access rate can provide a comprehensive and time-sensitive indicator to guide the optimal location adjustment of data on physical storage devices, thereby improving data access efficiency and reducing latency, which is particularly important for distributed financial data management systems that require fast response.

[0089] A larger value of the total access frequency means that the data item is accessed more frequently within a given time window, indicating that the data item has a higher activity and importance. Data with a high access frequency may be critical information required for the current activities of the user or system, so it may need to be updated, backed up, or retained on faster storage media more frequently to ensure fast access. Conversely, data with a lower total access frequency means that it is accessed less frequently during the observation period and may not be so critical or currently active. Such data can be considered for migration to lower-cost storage media, or archived or deleted in accordance with the data retention policy.

[0090] The process of obtaining time sensitivity is as follows:

[0091] For each data item, record its last access time ;

[0092] Compute a time sensitivity score for each data item as a function of the time elapsed since the last access: ;

[0093] in, is the current time, is the time of the last access. Adding 1 ensures that the input of the logarithmic function will not be 0 for the data just accessed, avoiding mathematical errors.

[0094] For the calculation of time sensitivity, the importance of time relevance is evaluated based on the time elapsed since the last access of the data item. The purpose of using a logarithmic function to calculate the time sensitivity score is to balance the sensitivity to different time intervals, that is, different management strategies should be used for data that has just been accessed and data that has not been accessed for a long time. This calculation method can effectively distinguish between "fresh" data and "stale" data, so as to classify and manage the data life cycle more reasonably. In a distributed environment, this time sensitivity score is particularly important because the real-time nature of data directly affects the response speed and decision-making efficiency of the system. For example, in the financial field, the timeliness of stock trading information is extremely high, and outdated data is not only useless but may also lead to wrong decisions. By automatically adjusting the data retention policy based on time sensitivity, it is possible to ensure that the data stored in the system is always the most valuable and practical, while optimizing the use of storage resources and avoiding unnecessary storage costs.

[0095] The generation of total access frequency and time sensitivity parameters is not only based on the logical operation of actual data, but also takes into account the dynamic changes of time and the impact of actual access, thus ensuring that these parameters are highly accurate and representative. This provides in-depth insights when processing data, helps to accurately classify and manage data, and is crucial for optimizing data storage and access strategies.

[0096] The smaller the value of time sensitivity, the shorter the time since the last access, the "fresher" the data, and the higher its timeliness and relevance. This type of data is particularly important in many applications, such as real-time decision support systems and dynamic resource allocation, and needs to be processed and accessed with priority. If the value of time sensitivity is large, it means that the data has not been accessed for a long time and may be increasingly irrelevant. The processing priority of this type of data can be reduced, and even deletion can be considered to free up resources for more critical data items.

[0097] The classification score is calculated based on the total access frequency and time sensitivity of each data item: ;

[0098] in, is the assigned score, and are the preset proportional coefficients of total access frequency and time sensitivity, respectively, and both are greater than zero.

[0099] The classification score calculated based on the total access frequency and time sensitivity of each data item is mainly used to determine the processing priority and storage strategy of the data. Data items with higher classification scores usually indicate that they are currently very active or extremely important and need to be processed with priority, for example, retained on fast storage media, frequently updated and backed up. Data with low classification scores may indicate that its importance and frequency of use are low, and fewer resources can be allocated for processing, or transferred to slower storage media without affecting system performance, or cleaned up in a timely manner according to the data life cycle policy. This classification mechanism based on dynamic data scoring helps to optimize resource allocation, improve the overall efficiency and responsiveness of the system, and is particularly suitable for processing large-scale and complex distributed data environments.

[0100] According to the comparison results of the classification score and classification threshold 1 and classification threshold 2, the access category information of each data item is obtained, including high-frequency access, medium-frequency access and low-frequency access categories:

[0101] If the classification score is greater than the classification threshold of one, it is marked as a high-frequency access signal;

[0102] If the classification score is less than or equal to classification threshold one and greater than or equal to classification threshold two, it is marked as an intermediate frequency access signal;

[0103] If the classification score is less than the classification threshold of two, it is marked as a low-frequency access signal.

[0104] Each data item is labeled according to the classification results, and these labels are synchronized among relevant nodes in the distributed system so that subsequent processing steps can utilize this information for more refined data management.

[0105] Extracting the key features of each data item, comprehensively analyzing the key features and then classifying them into different categories of access frequencies not only improves the automation and accuracy of data processing, but also significantly improves the system's response speed and reduces the load on the central server by pushing data distribution and processing logic down to edge nodes. The detailed description and formulation of this method ensures the full disclosure of the technical content, which is conducive to improving the operability and enforceability of the patent.

[0106] The present invention automatically marks and classifies the accessed data by utilizing edge nodes, and each node classifies the data based on the preset access frequency and the most recent use time. Specifically, firstly, the distributed data processing allows classification and preprocessing to be performed instantly at the data access point, which greatly reduces the burden on the central data processing system and improves the processing speed and efficiency of the entire system. Secondly, by performing preliminary processing at nodes near the data source, the amount of data transmitted on the network can be reduced, further reducing latency and optimizing the use of network bandwidth. In addition, intelligent classification based on the access frequency and time sensitivity of the data enables data storage and access strategies to be more refined and personalized, ensuring the cost-effectiveness of data storage and optimization of access performance. It is suitable for distributed financial data management systems that require fast response and high data throughput, and can effectively improve the response speed of data operations and the overall data management capabilities of the system.

[0107] Categorizing data items based on total access frequency and time sensitivity provides a static view that helps quickly understand which data is frequently accessed and which data is recently accessed, which is critical for initially setting the storage tier and backup frequency of data. However, a single classification may not be enough to capture all the dynamic changes and complexities of data access patterns. Detailed data access pattern analysis, such as through time series analysis and clustering, can reveal periodic changes in data access, sudden access events, and potential long-term trends that may be overlooked by simple classification methods. For example, although some data has a low total access frequency, it may be frequently accessed within a specific time window. In this case, if classification is based solely on total access frequency, it may result in data not being quickly accessible when needed. Through detailed pattern analysis, future data needs can be predicted more intelligently, the real-time and availability of data can be optimized, and the location of data on physical storage devices can dynamically adapt to changes in access patterns, thereby reducing latency, improving efficiency, and reducing costs. In addition, this in-depth analysis can also help cope with complex query requirements and provide a more comprehensive understanding of data access behavior, thereby supporting more complex data management strategies and business decisions, especially in distributed environments with dense data and variable access patterns. This approach is particularly important.

[0108] S2 includes the following:

[0109] Implement an event-driven model on distributed nodes to collect data access events, including timestamp, data item, operation type (read / write / delete, etc.) and operator information. Perform preprocessing on the collected data, including data cleaning (removing invalid or abnormal data) and standardization (ensuring consistent data format and time representation).

[0110] The preprocessed data is organized into a time series in chronological order. For each data item, a multi-dimensional feature vector is constructed, and the features include:

[0111] The visit frequency is calculated at different time scales using the following formula: ;

[0112] in, Indicates a time window (such as day, week, month), is the attenuation coefficient, is a time decay function, which highlights the importance of recent visits. is the access time within the window.

[0113] Calculate the coefficient of variation of access times to assess the stability of access patterns: ;

[0114] in, yes The average of all access times within the time window, is the number of visits.

[0115] Multi-scale access frequency features, which reflect the access dynamics at different time scales (such as hours, days, and weeks), are calculated by applying a decay function to the access events within each time window, so that recent accesses have a greater impact on the results, thereby capturing the immediate trend of data access.

[0116] Once the feature vectors of the data items are calculated on each node, these vectors need to be synchronized to a central processing unit or integrated through a distributed computing environment.

[0117] Using Fast Fourier Transform, frequency analysis will be performed on the time series data obtained from the integration of feature vectors. The purpose is to extract periodic patterns from the time series, that is, to identify the main components of data access frequency;

[0118] The periodic components revealed by the Fast Fourier Transform analysis help determine the dominant periods of data access activities, which is crucial for understanding the access patterns of data items.

[0119] By analyzing the results of the Fast Fourier Transform, it is possible to identify which data items show significant periodic access patterns and which may be randomly or irregularly accessed. This periodic analysis directly affects the subsequent data management strategies, such as the adjustment of data caching, prefetching and backup strategies.

[0120] The Gaussian mixture model (GMM) is used to cluster the feature vectors of the time series, grouping the data items into different access pattern categories based on access frequency and temporal stability characteristics. The clustering results reveal which data items have similar access patterns, such as data sets that are often accessed at the same time or have similar access cycles.

[0121] Since different features may have different magnitudes and distributions, the Z-score standardization method is used to standardize the features to ensure that each feature has equal influence in cluster analysis.

[0122] The standardized feature vectors are clustered using a Gaussian mixture model. The Gaussian mixture model is a soft clustering method that assumes that the data consists of multiple Gaussian distributions, each representing a cluster. The parameters of the model are estimated using the expectation maximization (EM) algorithm:

[0123] Initialization: Randomly select cluster centers and initialize Gaussian distribution parameters (mean, covariance) and mixing weights.

[0124] Step E: For each data point, estimate the probability of it belonging to each cluster based on the current parameters.

[0125] M step: Update the parameters of each cluster to maximize the likelihood of the data.

[0126] Based on the results of the Gaussian mixture model, each data item is assigned to the cluster with the highest probability. The characteristics of the data items in each cluster are analyzed to identify groups of data items with similar access frequency and time stability characteristics, such as:

[0127] High-frequency access pattern: Data items that are frequently accessed and have low temporal stability (small coefficient of variation).

[0128] Low-frequency unstable mode: Data items with low access frequency and high temporal stability.

[0129] According to the clustering results, each piece of data is labeled with a corresponding access mode label.

[0130] In order to detect whether the access mode of each data item has changed, the modal evolution index is calculated based on the access mode label and the current clustering result in unit time. The calculation formula is as follows: ;

[0131] Among them, 1 is an indicator function, which takes the value of 1 when the condition is met, otherwise it is 0; Is a data item In the past Tags in subanalysis; is the current label; is the number of historical records considered;

[0132] Adjust the time interval of periodic analysis according to the modal evolution index: ;

[0133] in, is the base time interval; is an adjustment factor used to control the influence of the modal evolution index on the analysis frequency.

[0134] According to the calculated Set the time for the next analysis for each data item. If the access pattern of the data item changes greatly (higher modal evolution index), shorten the analysis interval. If the access pattern is relatively stable (lower modal evolution index), extend the analysis interval to save resources and focus on data items whose access patterns change frequently.

[0135] The present invention provides a comprehensive framework for in-depth analysis and management of data access patterns by implementing an event-driven model and combining time series analysis with Gaussian mixture model (GMM) clustering. It can capture the complex dynamics of data access, identify periodic changes, emergencies, and long-term trends, thus surpassing the limitations of single static classification. Through detailed feature analysis, including multi-scale access frequency and time stability evaluation, and periodic patterns revealed by FFT, it not only helps to understand the behavior and periodic laws of data access, but also reveals data groups with similar access patterns through clustering, providing a basis for the optimization of data storage, backup frequency, and data caching strategies. In addition, by dynamically adjusting the analysis frequency to cope with changes in access patterns, this method improves the efficiency and responsiveness of data management, reduces latency, and reduces costs, and is particularly suitable for distributed environments with variable data access patterns and intensive data. The entire process not only improves the system's adaptability and foresight to data access behavior, but also supports more complex data management strategies and business decisions, and enhances the overall performance and reliability of the data system.

[0136] S3 includes the following:

[0137] Collect all the regular analysis time intervals for each data item over a period of time. These time intervals reflect changes in access patterns.

[0138] To quantify the stability of the access pattern, the variability of these time intervals is calculated. This is expressed as the standard deviation of the time intervals: ;

[0139] in, It is The time interval between analyses, is the average value of the time interval; is the number of analyses during the observation period.

[0140] The inverse of the variability based on the time interval is calculated and further adjusted to reflect the overall trend of the time interval to obtain the inverse modal fluctuation index: ;

[0141] in, is the inverse modal fluctuation index; is a small constant that prevents the denominator from being zero; is the attenuation factor used to adjust the effect of the time interval trend derivative; It is the time derivative of the mean value of the time interval, indicating how fast the time interval changes.

[0142] The inverse modal fluctuation index is used to determine the stability of the access pattern of a data item over time. The higher the value, the more stable the access pattern of the data item; the lower the value, the more unstable the access pattern is, and more frequent evaluation and adjustment may be required.

[0143] Compare the modal fluctuation inverse index with the modal stability threshold to obtain the access mode stability information of each data item, including the access mode stability signal and the access mode instability signal:

[0144] If the modal fluctuation inverse index is greater than or equal to the modal stability threshold, it indicates that the access pattern of the data item is very stable. The data item exhibits a consistent and predictable access pattern during the inspection period, with small changes in access frequency and low volatility. Because the access pattern is stable, such data can be stored on higher-performance devices to improve access efficiency, and frequent backups may not be required because the risk of data changes is low, generating an access pattern stability signal.

[0145] On the contrary, if the modal fluctuation inverse index is less than the modal stability threshold, it indicates that the access pattern of the data item is unstable, and the data item shows significant access frequency fluctuations in different time windows. This may be caused by accidental events, seasonal effects or other external factors. Due to the uncertainty of access patterns and potential high risks, such data may require more flexible storage solutions and more frequent backups to cope with possible data fluctuations and ensure data integrity and availability, generating access pattern instability signals.

[0146] Statistics are collected on the access category information and access mode stability information of the same data item, and the inclusion results of the access category information and access mode stability information are discussed by category to obtain storage mode update information, including priority storage signals, high-risk and high-frequency signals, conventional optimization signals, dynamic monitoring signals, low-priority storage signals, and potential archiving signals:

[0147] If a data item contains both high-frequency access signals and access pattern stability signals, the data item is frequently and regularly accessed, showing a high degree of access pattern stability. Such data should be preferentially stored on high-performance storage devices, such as SSDs, to optimize access speed and response time. Consider less frequent backups, because data access is stable and may not change frequently, generating a priority storage signal, and the data item needs to be migrated to a high-performance storage device (such as SSD). Since the access pattern is stable, regular backups can be taken, and frequent backups are not required;

[0148] If a data item contains both high-frequency access signals and access pattern instability signals, the data item is frequently accessed, but the access pattern is unstable and may be strongly affected by incidental events. It needs to be stored on fast storage media to cope with high access demands, while increasing backup frequency and fault tolerance measures to prevent data loss or corruption due to sudden changes in access patterns. Generate high-risk high-frequency signals, and keep the data item on high-performance storage to cope with access demands, while increasing backup frequency, especially during expected high-access periods, to prevent data loss due to emergencies;

[0149] If a data item contains both a medium-frequency access signal and a stable access pattern signal, it means that the data item has a moderate access frequency and a relatively stable access pattern, and can be stored on a storage device with moderate performance, such as a high-speed HDD. The backup frequency can be moderate and does not need to be too frequent, but data security must also be guaranteed. Generate a regular optimization signal, which requires migrating the data item to a more cost-effective storage solution (such as a high-speed HDD), while performing regular backups, maintaining the existing frequency or making moderate adjustments;

[0150] If a data item contains both a medium-frequency access signal and an access pattern instability signal, it means that the data item has a moderate access frequency, but an unstable access pattern. Access may increase during certain periods or conditions, and it needs to be stored on a storage system that can be quickly expanded or adjusted to ensure rapid response during access peaks. The backup strategy should be more flexible to adapt to potential access fluctuations and generate dynamic monitoring signals. Scalable storage solutions are needed to quickly adjust storage capacity and performance, while implementing flexible backup strategies to adapt to possible access peaks;

[0151] If a data item contains both a low-frequency access signal and a stable access pattern signal, it means that the data item is accessed infrequently and has a stable access pattern. It can be considered to be stored on a lower-cost storage medium, such as cold storage or a low-speed HDD. Since the access pattern is stable, the backup frequency can be lower, saving resources. Generate a low-priority storage signal to migrate the data to cold storage or a lower-cost storage medium, and adopt a less frequent backup plan because the data access demand is low.

[0152] If a data item contains both low-frequency access signals and access pattern instability signals, it means that the data item has a low access frequency and an unstable access pattern. It may not be accessed for a long time. Consider archiving this data or using a cloud storage solution to access it only when needed. The importance of backup is determined by the business value of the data, and the data may need to be re-evaluated. Generate potential archiving signals, delete data that is no longer needed or archive it to a more economical storage solution, and customize the backup strategy based on the importance of the data and business needs, which may be low-frequency backup or backup only when necessary.

[0153] After the storage mode update information of the data item is updated, version control and conflict detection are performed. Once it is confirmed that an update is required, the data will be obtained from the node or central data storage that has the latest version and overwrite the old version of the data item. This process needs to ensure the integrity and consistency of the data, and may require data locking or other concurrency control mechanisms to prevent the data from being accessed or changed during the update process.

[0154] After the update is complete, a detailed log of the data synchronization activity is recorded and the update results are confirmed. This includes verifying the consistency and integrity of the data and ensuring that all relevant nodes have successfully received the latest data.

[0155] The present invention conducts a comprehensive analysis of the access category information and access mode stability of data items, and generates specific storage mode update signals based on this information, thereby significantly improving the efficiency and accuracy of data management. This strategy enables data storage to dynamically adapt to changes in access patterns, optimize storage levels and backup frequencies, thereby reducing ineffective storage and unnecessary costs, while enhancing data availability and security. By intelligently adjusting storage solutions and backup strategies, the system can better respond to sudden access demands, protect critical data from loss, and ensure data version consistency and integrity of all nodes, thereby improving the responsiveness and stability of the overall system. It is suitable for large-scale distributed storage environments that require high reliability and flexibility, helping to more effectively manage and utilize their data assets.

[0156] Embodiment 2: Figure 2 The present invention provides a distributed financial data management system under a cloud infrastructure, including: a data marking module, an event tracking module, an analysis and clustering module, and a storage strategy adjustment module;

[0157] The data tagging module automatically tags and classifies data using edge nodes when data is accessed, uses rule engines and pattern matching technology to classify data based on total access frequency and time sensitivity, and sends the tagging results to the storage policy adjustment module;

[0158] The event tracking module implements an event-driven programming model, processes data on distributed nodes, performs dynamic access pattern tracking and collects relevant event data, and sends the collected data to the analysis and clustering module;

[0159] The analysis and clustering module performs multi-dimensional feature analysis on the collected data and applies time series analysis and Gaussian mixture model clustering algorithm to identify the periodicity and volatility of data access, and sends the identification results to the storage policy adjustment module;

[0160] The storage policy adjustment module comprehensively analyzes the access patterns and types of data items, generates prompt signals for adjusting storage tiers and backup frequencies, and optimizes storage policies.

[0161] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.

[0162] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0163] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0164] In the several embodiments provided in the present application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0165] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0166] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0167] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0168] 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.

[0169] Finally: The above description is only a preferred embodiment 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 distributed financial data management method under cloud infrastructure, characterized by: S1: When data is accessed, edge nodes are used to automatically tag and classify data. Each node uses a built-in rule engine and pattern matching technology to classify data based on its total access frequency and time sensitivity, ensuring that data is classified into the corresponding access type. S2: Based on the event-driven programming model implemented on each node, dynamic access pattern tracking and multi-dimensional feature analysis of data on distributed nodes are performed, combining time series analysis and Gaussian mixture model clustering to identify and adapt to the cycle and fluctuation of data access; S3: Comprehensively analyze the access mode and access type of data items, and provide prompt signals for adjusting the data storage level and backup frequency; S1 includes the following: Each edge node first pre-processes the incoming data; Extract key features from the preprocessed data, including total access frequency and time sensitivity; Classification is performed based on the total access frequency and time sensitivity of the data items, where the access frequency is obtained as follows: Calculate the instantaneous access rate of a data item based on a predefined event window : ; in, It's in time The number of visits within is the length of the time window; Give more weight to recent accesses and adjust the instantaneous access rate using an exponential decay function: ; in, is the decay coefficient, which controls the rate at which the weight of past visits decreases, is the current time, is the access time; The adjusted instantaneous access rate is accumulated in all time windows to obtain the total access frequency: ; The process of obtaining time sensitivity is as follows: For each data item, record its last access time ; Compute a time sensitivity score for each data item as a function of the time elapsed since the last access: ; in, is the current time, is the time of the last access. Adding 1 ensures that the input of the logarithmic function will not be 0 for the data just accessed, thus avoiding mathematical errors. The classification score is calculated based on the total access frequency and time sensitivity of each data item: ; in, is the assigned score, and are the preset proportional coefficients of total access frequency and time sensitivity, respectively, and both are greater than zero; According to the comparison results of the classification score and classification threshold 1 and classification threshold 2, the access category information of each data item is obtained, including high-frequency access, medium-frequency access and low-frequency access categories: If the classification score is greater than the classification threshold of one, it is marked as a high-frequency access signal; If the classification score is less than or equal to classification threshold one and greater than or equal to classification threshold two, it is marked as an intermediate frequency access signal; If the classification score is less than the classification threshold of two, it is marked as a low-frequency access signal; Each data item is labeled according to the classification results, and these labels are synchronized among the relevant nodes in the distributed system; S2 includes the following: Collect data access events on distributed nodes, perform preprocessing on the collected data, organize the preprocessed data into time series in chronological order, and construct a multi-dimensional feature vector for each data item. The features include: The visit frequency is calculated at different time scales using the following formula: ; in, represents the time window, is the attenuation coefficient, is a time decay function, which highlights the importance of recent visits. is the access time within the window; Calculate the coefficient of variation of access times to assess the stability of access patterns: ; in, yes The average of all access times within the time window, is the number of visits; Using fast Fourier transform, frequency analysis will be performed on the time series data obtained from the integration of feature vectors; The feature vectors of the time series are clustered using a Gaussian mixture model to group data items into different access pattern categories based on access frequency and temporal stability characteristics; Since different features may have different magnitudes and distributions, the features are standardized using the Z-score standardization method; Cluster the standardized feature vectors using a Gaussian mixture model; Based on the results of the Gaussian mixture model, each data item is assigned to the cluster with the highest probability; According to the clustering results, each piece of data is labeled with a corresponding access mode label; In order to detect whether the access mode of each data item has changed, the modal evolution index is calculated based on the access mode label and the current clustering result in unit time. The calculation formula is as follows: ; Among them, 1 is an indicator function, which takes the value of 1 when the condition is met, otherwise it is 0; Is a data item In the past Tags in subanalysis; is the current label; is the number of historical records considered; Adjust the time interval of periodic analysis according to the modal evolution index: ; in, is the base time interval; is an adjustment factor used to control the influence of the modal evolution index on the analysis frequency; According to the calculated Set the time for the next analysis for each data item; S3 includes the following: Collect all the regular analysis time intervals for each data item over a period of time; To quantify the stability of the access patterns, the variability of these time intervals is calculated, expressed as the standard deviation of the time intervals: ; in, It is The time interval between analyses, is the average value of the time interval; is the number of analyses during the observation period; The inverse of the variability based on the time interval is calculated and further adjusted to reflect the overall trend of the time interval to obtain the inverse modal fluctuation index: ; in, is the inverse modal fluctuation index; is a small constant that prevents the denominator from being zero; is the attenuation factor used to adjust the effect of the time interval trend derivative; It is the time derivative of the mean value of the time interval, indicating the speed at which the time interval changes; Compare the modal fluctuation inverse index with the modal stability threshold to obtain the access mode stability information of each data item, including the access mode stability signal and the access mode instability signal: If the modal fluctuation inverse index is greater than or equal to the modal stability threshold, an access mode stability signal is generated; On the contrary, if the inverse exponent of the modal fluctuation is less than the modal stability threshold, an access mode instability signal is generated; Statistics are collected on the access category information and access mode stability information of the same data item, and the inclusion results of the access category information and access mode stability information are discussed by category to obtain storage mode update information, including priority storage signals, high-risk and high-frequency signals, conventional optimization signals, dynamic monitoring signals, low-priority storage signals, and potential archiving signals: If the data item contains both a high-frequency access signal and a stable access pattern signal, a priority storage signal is generated; If the data item contains both high-frequency access signals and access pattern instability signals, a high-risk high-frequency signal is generated; If the data item contains both the intermediate frequency access signal and the access pattern stability signal, a conventional optimization signal is generated; If the data item contains both the intermediate frequency access signal and the access mode instability signal, a dynamic monitoring signal is generated; If the data item contains both a low-frequency access signal and an access pattern stable signal, a low-priority storage signal is generated; If a data item contains both a low-frequency access signal and an access pattern instability signal, a potential archiving signal is generated.

2. A distributed financial data management system under a cloud infrastructure, used to implement the distributed financial data management method according to any one of claims 1, comprising: Data labeling module, event tracking module, analysis and clustering module, and storage strategy adjustment module; The data tagging module automatically tags and classifies data using edge nodes when data is accessed, uses rule engines and pattern matching technology to classify data based on total access frequency and time sensitivity, and sends the tagging results to the storage policy adjustment module; The event tracking module implements an event-driven programming model, processes data on distributed nodes, performs dynamic access pattern tracking and collects relevant event data, and sends the collected data to the analysis and clustering module; The analysis and clustering module performs multi-dimensional feature analysis on the collected data and applies time series analysis and Gaussian mixture model clustering algorithm to identify the periodicity and volatility of data access, and sends the identification results to the storage policy adjustment module; The storage policy adjustment module comprehensively analyzes the access patterns and types of data items, generates prompt signals for adjusting storage tiers and backup frequencies, and optimizes storage policies.