Cache optimization method and system based on operation and maintenance data

By collecting and expanding operation and maintenance data in large-scale computing environments, conducting unified labeling and perception analysis, and formulating cache optimization strategies, the problem of the lack of unified standards in existing technologies is solved, and the management efficiency of operation and maintenance data and system performance are improved.

CN118779181APending Publication Date: 2024-10-15ZHUHAI ZHUGANG AIRPORT MANAGEMENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410968795.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing cache optimization methods lack unified standards and management mechanisms for different computing environments, making it difficult to effectively manage and utilize operation and maintenance data in large-scale computing environments, affecting system performance and resource utilization.

Method used

By collecting operation and maintenance data from different computing environments, we build an initial operation and maintenance data model, expand it, unify labeling and perception analysis, and use intelligent data perception technology to formulate cache optimization strategies to adapt to the needs of different environments.

Benefits of technology

It improves the utilization and management efficiency of operation and maintenance data, enhances the efficiency and performance of the computing environment, reduces latency, and optimizes the overall operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779181A_ABST
    Figure CN118779181A_ABST
Patent Text Reader

Abstract

The invention provides a cache optimization method and system based on operation and maintenance data, and the method comprises the steps: collecting operation and maintenance data from different computing environments, the operation and maintenance data comprising operation and maintenance computing tasks and data resources, and constructing initial operation and maintenance data models based on the operation and maintenance data; expanding the initial operation and maintenance data model of each computing environment to obtain expansion models of different computing environments; collecting the operation and maintenance data dispersed in each computing environment to a unified data management platform, and performing unified marking on the operation and maintenance computing tasks and data resources in the operation and maintenance data based on an extension model; performing real-time monitoring and analysis on the operation and maintenance data in the data management platform by applying an intelligent data sensing technology; and formulating a cache optimization strategy according to the mark of the operation and maintenance data and an intelligent data sensing result. By expanding the operation and maintenance data models of different environments, the problem of unified standard and management mechanism for different environments is solved, and the utilization rate and management efficiency of the operation and maintenance data are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data cache optimization, and in particular to a cache optimization method and system based on operation and maintenance data. Background Art

[0002] In the field of modern information technology, with the continuous evolution of computing environments and the increasing complexity of operation and maintenance tasks, the management and utilization of operation and maintenance data has become a challenging task. In large-scale computing environments, such as cloud computing and edge computing, the efficient management and utilization of operation and maintenance data has an important impact on system performance and resource utilization. Among them, cache, as a common performance optimization method, plays an irreplaceable role in improving system response speed and reducing resource consumption.

[0003] However, there are many problems with current cache optimization methods. Existing cache optimization methods often rely on specific computing environments and lack unified standards and management mechanisms for different environments.

[0004] In view of this, we propose a cache optimization method and system based on operation and maintenance data. Summary of the invention

[0005] The purpose of the present invention is to provide a cache optimization method and system based on operation and maintenance data 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] In a first aspect, the present application discloses a cache optimization method based on operation and maintenance data, including the following method:

[0008] Collecting operation and maintenance data from different computing environments, the operation and maintenance data including operation and maintenance computing tasks and data resources, and constructing initial operation and maintenance data models based on the operation and maintenance data;

[0009] Expand the initial operation and maintenance data model of each computing environment to obtain the extended models of different computing environments;

[0010] Gather the operation and maintenance data scattered in various computing environments into a unified data management platform, and uniformly mark the operation and maintenance computing tasks and data resources in the operation and maintenance data based on the extended model;

[0011] Apply intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform;

[0012] Formulate cache optimization strategies based on the tags of operation and maintenance data and the results of intelligent data perception.

[0013] As a further improvement of the present application, the step of constructing the initial operation and maintenance data models based on the operation and maintenance data includes:

[0014] Identify key metrics applicable to each computing environment;

[0015] Collect key indicator related data from servers, network devices, and applications;

[0016] Preprocessing the collected relevant data, including cleaning, outlier processing, missing value processing and format unification;

[0017] Integrate the pre-processed relevant data into a unified data set;

[0018] Select key features from the unified data set using a feature engineering method and determine feature weights, as shown in calculation formula (1);

[0019]

[0020] Among them, ω i is the weight of the i-th feature; j is the index variable of the unified data set; f i is the key score of feature i; |F| is the total number of features; f j Key scores for unified datasets.

[0021] Build an initial operation and maintenance data model based on the selected key features.

[0022] As a further improvement of the present application, the expansion of the initial operation and maintenance data model of different computing environments includes:

[0023] Data type extension, metadata extension, and relationship extension.

[0024] As a further improvement of the present application, the data type extension includes:

[0025] Analyze the operation and maintenance data type characteristics of each computing environment, wherein the data type characteristics include structured, unstructured, and time series data;

[0026] Obtain the format and representation of data in each computing environment;

[0027] According to actual needs, add new data type definitions to each initial operation and maintenance data model, including fields, structures, and formats.

[0028] As a further improvement of the present application, the metadata extension includes:

[0029] Determine the metadata information to be recorded, including environment type, version, configuration, performance indicators, and network parameters;

[0030] Add metadata fields to each initial operation and maintenance data model to manage metadata for different computing environments.

[0031] As a further improvement of the present application, the association relationship extension includes:

[0032] Analyze the logical relationships between data in different computing environments, including parent-child relationships and dependency relationships;

[0033] Define association relationships in each initial operation and maintenance data model to describe and manage the logical relationship between data in different computing environments.

[0034] As a further improvement of the present application, the method further includes:

[0035] Create a central database to receive operation and maintenance data of each computing environment;

[0036] Clean and standardize operation and maintenance data to unify the format and content;

[0037] Define a labeling system to describe tasks and data attributes;

[0038] Classify tasks and data resources according to the label system;

[0039] Determine the attributes of tasks and data and add corresponding labels;

[0040] Use machine learning algorithms to build and train labeling models to achieve automatic labeling.

[0041] As a further improvement of the present application, the application of intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform includes:

[0042] Extracting features from the preprocessed relevant data, wherein the features include timestamp, type, and frequency;

[0043] Analyze the features by using preset association rules to discover data patterns and associations between the related data;

[0044] Construct a supervised learning model, construct a supervised learning model, and evaluate the performance of the supervised learning model as shown in formula (2);

[0045]

[0046] Where TP is the number of instances correctly predicted as positive by the model, FN is the number of positive instances incorrectly predicted as negative by the model, FP is the number of negative instances incorrectly predicted as positive by the model, and TN is the number of instances correctly predicted as negative by the model.

[0047] The usage frequency and importance of the relevant data are monitored in real time.

[0048] In a second aspect, the present application discloses a cache optimization system based on operation and maintenance data, comprising:

[0049] A collection module, used to collect operation and maintenance data from different computing environments, wherein the operation and maintenance data includes operation and maintenance computing tasks and data resources, and to construct initial operation and maintenance data models based on the operation and maintenance data;

[0050] An extension module is used to extend the initial operation and maintenance data model of each computing environment to obtain an extended model of different computing environments;

[0051] A tagging module is used to collect the operation and maintenance data scattered in various computing environments into a unified data management platform, and to uniformly tag the operation and maintenance computing tasks and data resources in the operation and maintenance data based on the extended model;

[0052] The perception module is used to apply intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform;

[0053] The optimization module is used to formulate cache optimization strategies based on the tags of operation and maintenance data and the results of intelligent data perception.

[0054] By means of the above technical solution, the present invention provides a cache optimization method and system based on operation and maintenance data. It has at least the following beneficial effects:

[0055] (1) The present invention expands the operation and maintenance data model by utilizing computing models of different environments, and uniformly labels the operation and maintenance data in the database according to the expanded data model, thereby effectively improving the utilization and management efficiency of the operation and maintenance data. At the same time, the expanded operation and maintenance data model can adapt to the operation and maintenance data of different environments, thereby solving the problem that the existing optimization methods lack unified standards and management mechanisms for different environments, and effectively improving the processing efficiency of the operation and maintenance data.

[0056] (2) The present invention collects operation and maintenance data into a database for unified labeling, and performs perception analysis on the labeled data stream based on intelligent data perception technology to obtain the usage frequency and importance of the operation and maintenance data. Based on the label information and the perception results, a cache optimization strategy is generated, thereby improving the efficiency and performance of the computing environment, reducing latency, and optimizing the overall operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.

[0058] Figure 1 A flow chart of a cache optimization method based on operation and maintenance data provided by one embodiment of the present invention;

[0059] Figure 2 A schematic diagram of a cache optimization system based on operation and maintenance data provided by one embodiment of the present invention. DETAILED DESCRIPTION

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

[0061] like Figure 1 As shown, this embodiment provides a cache optimization method based on operation and maintenance data, including the following steps:

[0062] Step S01, collecting operation and maintenance data from different computing environments, wherein the operation and maintenance data includes operation and maintenance computing tasks and data resources, and constructing initial operation and maintenance data models based on the operation and maintenance data;

[0063] Step S02, expanding the initial operation and maintenance data model of each computing environment to obtain an expanded model of different computing environments;

[0064] Step S03, aggregating the operation and maintenance data scattered in various computing environments into a unified data management platform, and uniformly marking the operation and maintenance computing tasks and data resources in the operation and maintenance data based on the extended model;

[0065] Step S04, applying intelligent data perception technology to perform real-time monitoring and analysis on the operation and maintenance data in the data management platform;

[0066] Step S05, formulate a cache optimization strategy based on the tags of the operation and maintenance data and the intelligent data perception results.

[0067] It should be noted that operation and maintenance data refers to data generated in the computing environment and used to monitor and maintain system operations, such as server logs and performance indicators.

[0068] The data model is an abstract representation of the data structure and the relationship between data, which is used to organize and interpret operation and maintenance data.

[0069] Data type extension refers to adding new data formats or structures to the data model to accommodate different types of operation and maintenance data.

[0070] Metadata extension adds metadata fields that describe data attributes in the data model, such as data source, timestamp, etc.

[0071] The Relationship Extension defines the logical and dependency relationships between data items in the data model to facilitate better understanding and management of data.

[0072] In some embodiments, we first collect operation and maintenance data from different computing environments. These data may include server operation logs, network traffic records, application performance indicators, etc. These data are the basis for building our initial operation and maintenance data model. By cleaning and standardizing the collected data, we establish a data set in a unified format and then build the initial model.

[0073] Next, we expand the model. This includes identifying and adding new data types, such as cloud-specific metrics or unstructured log data. At the same time, we expand the metadata to add descriptive information such as data source and collection time to enhance the model's description capabilities. In addition, we also define and add relationships between data, such as which data items are dependent on other data items and the logical connections between them.

[0074] We aggregate these scattered data into a unified data platform, which we use to further process and analyze the data. On this platform, we uniformly label the operation and maintenance computing tasks and data resources, including assigning labels to different data and task types based on the label system we defined earlier.

[0075] We then apply intelligent data awareness technology, which involves real-time monitoring of data usage, analyzing data access patterns, and predicting future data needs. In this way, we are able to dynamically sense the importance and frequency of data usage.

[0076] Finally, we develop cache optimization strategies based on data tagging and intelligent data perception results. This includes analyzing which data needs to be cached and how the cache strategy should be adjusted based on the data usage pattern. In this way, we can ensure that the most frequently accessed data is always kept in the cache, thereby improving the performance and responsiveness of the system.

[0077] Furthermore, the collecting of operation and maintenance data from different computing environments and building an initial operation and maintenance data model based on the data includes:

[0078] Identify key metrics applicable to each computing environment;

[0079] Collect key indicator related data from servers, network devices, and applications;

[0080] Preprocessing the collected relevant data, including cleaning, outlier processing, missing value processing and format unification;

[0081] Integrate the pre-processed relevant data into a unified data set;

[0082] Select key features from the unified data set using a feature engineering method and determine feature weights, as shown in calculation formula (1);

[0083]

[0084] Among them, w i is the weight of the i-th feature; j is the index variable of the unified data set; f i is the key score of feature i; |F| is the total number of features; f j Key scores for unified datasets.

[0085] Build an initial operation and maintenance data model based on the selected key features.

[0086] In some embodiments, the key indicators are determined, which is the first step in building the initial operation and maintenance data model. Key indicators refer to parameters that can reflect the operating status and performance of the system, such as CPU usage, memory utilization, network traffic, etc. These indicators are crucial to understanding the health of the system.

[0087] Data related to these key indicators can be collected from multiple data sources such as servers, network devices, applications, etc. These data sources are the starting point for operation and maintenance data, covering all aspects of system operation.

[0088] After that, the collected data is preprocessed, which is a crucial step because it ensures the quality and consistency of the data. Preprocessing includes data cleaning, removing irrelevant or redundant information; outlier processing, identifying and correcting outliers in the data; missing value processing, filling or deleting missing data items; and format unification, ensuring the consistency of the data format for subsequent processing and analysis.

[0089] After preprocessing, we integrated the data into a unified dataset. This dataset is the basis for building our initial operation and maintenance data model, which contains all the cleaned and standardized data.

[0090] Next, we use feature engineering methods to select key features from the dataset. Feature engineering is an important step in data analysis, which involves extracting features from raw data that help understand system behavior and performance. These features may include statistical properties of time series, characteristics of data distribution, or derived indicators related to key indicators.

[0091] Finally, based on the selected features, we build an initial operation and maintenance data model. This model is an abstraction and simplification of the system operation status, which can help us better understand the system operation mechanism and provide a basis for subsequent data analysis and optimization.

[0092] Furthermore, the initial operation and maintenance data model for different computing environments is expanded to include:

[0093] Data type extension, metadata extension, and relationship extension.

[0094] In some embodiments, the extension of data types requires identifying data types that are specific to different computing environments. For example, in a cloud environment, it may be necessary to process virtual machine metric data, and in a network environment, it may be necessary to analyze traffic packets.

[0095] Based on these environments and operational requirements, extend the data model to include new data types. For example, if we monitor virtual machine performance in a cloud environment, we may need to add new fields to the data model to store metrics such as CPU usage and disk I / O.

[0096] Metadata provides contextual information for data. In this step, we enrich the metadata of the data model based on the characteristics of each computing environment. For example, we can add metadata fields such as virtual machine ID, deployment date, operating system type, etc. to the performance data of a virtual machine.

[0097] These metadata fields not only help us better understand the source and attributes of the data, but also provide key clues during data analysis and problem diagnosis.

[0098] The relationships between data are crucial to understanding the overall behavior of a system. For example, the performance of an application may depend on the response time of the database. Based on the computational model, identify and define the relationships between data items. In the data model, we can represent these relationships in the form of foreign keys, data flows, or dependency graphs.

[0099] For example, if we monitor a multi-tier web application, we might define in the data model a correlation between the response time of the application server and the query time of the backend database.

[0100] Assume that we are dealing with an application composed of multiple microservices that are distributed across different servers and containers. Our operational data model extension may include the following steps:

[0101] For each microservice, we extended the data model to include specific log data and performance metrics such as request latency and error rates.

[0102] We add metadata to the log data of each microservice, including service name, deployment version, container ID, etc., so that the service instance can be quickly located when a problem occurs.

[0103] We define the calling relationship between services as an association relationship and represent it in the data model. For example, if service A calls service B, we record this dependency in the model and may track the impact of service B's performance on service A.

[0104] Furthermore, the data type extension includes:

[0105] Analyze the characteristics of the operation and maintenance data types of each computing environment, such as structured, unstructured, and time series data;

[0106] Understand the formats and representations of data in different computing environments;

[0107] Add new data type definitions, such as fields, structures, and formats, to the data model as needed.

[0108] In some embodiments, we first thoroughly analyze the operational data in each computing environment to identify the type characteristics of the data. This includes distinguishing whether the data is structured (such as rows and columns in a database table), unstructured (such as log files or text data), or time series data (such as sensor readings recorded by timestamp).

[0109] For example, in a web server log we might find unstructured text data, whereas in a database query we are dealing with structured data.

[0110] Next, we need to have a deep understanding of each data format and representation method. This means we need to know how the data is stored and encoded, and how to extract useful information from the raw format.

[0111] For example, if we process API response data in JSON format, we need to parse the JSON object to extract key information; if we process binary log files, we need to know how to decode these files to obtain structured data.

[0112] Based on the data characteristics and format understanding collected from the computing environment, we add new data type definitions to the data model. This may include defining new fields to store specific types of data, or creating new data structures to optimize data storage and query.

[0113] For example, if we find that we need to process a large amount of time series data, we might add a time series object to our data model that has a timestamp index and the data points associated with it.

[0114] For example, let's assume we are dealing with a cloud infrastructure that includes virtual machines, containers, and a service mesh. Our implementation might include the following steps:

[0115] For virtual machines, we analyze the structured monitoring data they generate, such as CPU usage and memory usage, and add corresponding numerical type fields to the data model.

[0116] For containers, we process unstructured data such as Docker logs and define a method to parse and extract key information such as error messages or warnings.

[0117] For a service mesh, we might process telemetry data from inter-service communication from Istio or Linkerd, which might be in time series format. We define specific time series data structures for this data and implement them in the data model.

[0118] Furthermore, the metadata extension includes:

[0119] Determine the metadata information that needs to be recorded, such as environment type, version, configuration, performance indicators, and network parameters;

[0120] Add metadata fields to the data model to manage metadata for different computing environments.

[0121] In some embodiments, the determination of metadata information is to determine which metadata information is critical to the management and analysis of operation and maintenance data. This usually involves a thorough review of existing operation and maintenance processes and data usage scenarios.

[0122] For example, the environment type might indicate whether the data comes from a development, test, or production environment; version information might involve the current version of the software or hardware; configuration might include system settings or parameters; performance metrics might cover CPU load, memory usage, etc.; network parameters might include bandwidth usage, latency, or packet loss rate.

[0123] Once the metadata information that needs to be recorded is determined, the next step is to design the corresponding metadata fields in the data model. These fields should be able to accurately capture and represent the required metadata information.

[0124] When designing, you need to consider the data type, length, whether to allow null values, and other properties of the fields to ensure that they can effectively store the required information. For example, version information may require a string field, while performance indicators may require a numeric field.

[0125] After adding metadata fields to the data model, the next step is to ensure that these fields can be correctly populated and used during data collection and processing.

[0126] This may involve updating data collection tools or scripts so that they capture metadata as they collect data, or adding steps during data preprocessing to extract and populate metadata fields.

[0127] As system environments and configurations change, metadata also needs to be updated regularly to maintain its accuracy and relevance.

[0128] Implement a regular review and update process to ensure metadata fields reflect the latest system status and configuration.

[0129] For example, in a hybrid IT infrastructure consisting of multiple cloud services and local data centers, our metadata extension implementation may include the following steps:

[0130] For cloud services, we determined that the metadata that needs to be recorded includes cloud service provider, service region, instance type, etc., and designed corresponding fields for each metadata in the data model.

[0131] For servers in local data centers, we may need to record metadata such as operating system version, patch level, hardware specifications, etc., and add corresponding fields in the data model to store this information.

[0132] During the data collection process, we capture this metadata through API calls or system queries and store it in the data model along with the operational data.

[0133] We implement automated tools that regularly check system configuration and environment changes and automatically update metadata fields in the data model to ensure metadata is accurate and up-to-date.

[0134] Furthermore, the association relationship extension includes:

[0135] Analyze the logical relationships between data in different computing environments, such as parent-child and dependency relationships;

[0136] Define relationships in the data model to describe and manage connections between data.

[0137] In some embodiments, the initial step of expanding the association relationship is to conduct in-depth analysis of data in different computing environments to identify logical relationships between data. This includes parent-child relationships, such as the operation of an application may depend on a database service; and dependency relationships, such as configuration dependencies or runtime dependencies that may exist between service components.

[0138] Performing this analysis typically requires a comprehensive understanding of the system architecture, including how the various components interact and the data flows between them.

[0139] After identifying the logical relationships between data, the next step is to define these relationships in the data model. This involves creating associative entities in the data model or using foreign keys in relational databases, as well as other forms of references or pointers, to represent the connection between data items.

[0140] For example, if we store performance data about both an application and a database in our data model, we would define a foreign key or association field to represent the relationship between the application data and the database service.

[0141] Based on the defined relationships, update the data model to ensure it accurately reflects the connections between the data. This may include adding new relationship tables, modifying the structure of existing tables, or defining new data links in non-relational databases.

[0142] For example, in a NoSQL database, we might use document references or edges in a graph database to represent the relationships between different data entities.

[0143] As the system evolves and the relationships between components may change, the relationships also need to be reviewed and updated regularly. Implement monitoring and maintenance processes to ensure that the relationships in the data model reflect the latest system architecture and component interactions.

[0144] This may involve automated tools that detect system changes and update the data model, or regular manual audits of the data model to ensure it remains consistent with the actual system.

[0145] For example, a distributed system consisting of multiple microservices, each of which is deployed in a containerized environment and communicates through a service mesh. Our association relationship extension implementation may include the following steps:

[0146] We first analyze the dependencies of each microservice, including the databases, message queues, or other services they depend on.

[0147] In the data model, we define an entity for each microservice and define associated entities for the dependencies between them. For example, if service A calls service B, we create a reference to service B in the data model.

[0148] When service deployments or configurations change, we use automated tools to update the relationships in the data model to ensure that they always reflect the current system architecture.

[0149] We may also use telemetry data provided by the service mesh to dynamically update the communication relationships between services, ensuring that the relationships in the data model include not only static configuration but also runtime behavior.

[0150] Furthermore, the method further comprises:

[0151] Create a central database to receive operation and maintenance data of each computing environment;

[0152] Clean and standardize operation and maintenance data to unify the format and content;

[0153] Define a labeling system to describe tasks and data attributes;

[0154] Classify tasks and data resources according to the label system;

[0155] Determine the attributes of tasks and data and add corresponding labels;

[0156] Use machine learning algorithms to build and train labeling models to achieve automatic labeling.

[0157] In some embodiments, a central database is created that can receive operation and maintenance data from different computing environments. This database should have high scalability and high availability to cope with the storage and access requirements of large amounts of data.

[0158] Perform cleansing and normalization processes on the data received from the central database. This includes removing duplicate data, correcting errors and inconsistent data, standardizing data formats, and converting data into a unified format to ensure data quality and consistency.

[0159] Preferably, a labeling system is developed to describe the properties of operation and maintenance computing tasks and data resources. These labels should be able to reflect the key characteristics and uses of the data, such as data type, source, sensitivity, etc.

[0160] Classify operation and maintenance computing tasks and data resources according to the defined label system. This step helps organize and retrieve data, and lays the foundation for subsequent automated processing and analysis.

[0161] For each task and data resource in the classification, determine its specific attributes and add corresponding labels. This step can be done through manual review or automated scripts to ensure that each data item is correctly labeled. Select or develop a suitable machine learning algorithm to build a labeling model. This model needs to be able to automatically label the correct data based on its characteristics and attributes. Use labeled data to train the labeling model. This includes selecting the appropriate machine learning framework and algorithm, as well as adjusting model parameters for optimal performance. Integrate the trained labeling model into the data management process to enable automatic labeling of new data. This usually involves continuous training and updating of the model to adapt to changes in the data and emerging patterns.

[0162] For example, a large-scale cloud infrastructure includes multiple data centers and cloud services. Our implementation may include the following steps: Create a central database, using a distributed database system such as Apache Cassandra or Amazon DynamoDB to handle cross-regional data storage and access. Develop a data cleansing and normalization process, using ETL tools or custom scripts to ensure that all data entering the central database is clean and consistent. Define a labeling system with multiple dimensions, such as the security level of the data, the update frequency of the data, the source service of the data, etc. Use automation tools such as Apache NiFi or custom applications to classify and label the data according to the labeling system. Select a suitable machine learning algorithm, such as decision tree or random forest, to build a labeling model and train it with historical data. Deploy the trained model as a service that can automatically label newly collected operation and maintenance data in real time and optimize itself based on feedback.

[0163] Furthermore, real-time monitoring and analysis of operation and maintenance data in the data management platform include:

[0164] Extracting features from the preprocessed relevant data, wherein the features include timestamp, type, and frequency;

[0165] Analyze the features by using preset association rules to discover data patterns and associations between the related data;

[0166] Construct a supervised learning model, construct a supervised learning model, and evaluate the performance of the supervised learning model as shown in formula (2);

[0167]

[0168] Where TP is the number of instances correctly predicted as positive by the model, FN is the number of positive instances incorrectly predicted as negative by the model, FP is the number of negative instances incorrectly predicted as positive by the model, and TN is the number of instances correctly predicted as negative by the model.

[0169] The usage frequency and importance of the relevant data are monitored in real time.

[0170] In some embodiments, an automated feature extraction process is implemented starting from pre-processed operation and maintenance data stored in a central database, using data processing tools or scripts to extract key information from the data, such as timestamps, data types, event frequency, etc.

[0171] For example, for log data, features such as log level, timestamp, error code, etc. are extracted; for performance monitoring data, features such as CPU usage, memory usage, response time, etc. are extracted.

[0172] In some embodiments, association rule mining techniques, such as the Apriori algorithm or the FP-Growth algorithm, are applied to analyze the extracted features to discover patterns and associations between data items.

[0173] For example, analyzing log data might reveal that certain error codes always accompany specific service requests, or that response times for a particular service increase during periods of high CPU utilization.

[0174] In some embodiments, statistical analysis and machine learning techniques are used to identify patterns and anomalies in the data. This may include cluster analysis, anomaly detection algorithms, or time series analysis.

[0175] For example, using time series analysis we can identify periodic patterns in system load, while cluster analysis might help us discover groups of services with similar behavioral characteristics.

[0176] Build a supervised learning model based on the analyzed data patterns and association rules. Choose an appropriate algorithm, such as random forest, gradient boosting machine, or neural network, to build the model.

[0177] For example, use classification algorithms to predict whether a system will experience performance bottlenecks under certain conditions.

[0178] Use historical data to train supervised learning models and evaluate the performance and accuracy of the models through methods such as cross-validation.

[0179] For example, use the past week’s worth of system performance data to train a model and validate its predictive power on an independent test set.

[0180] Integrate the trained supervised learning model into the data management platform to achieve real-time monitoring and analysis of operation and maintenance data. Implement real-time data stream processing, such as using Apache Kafka and Apache Flink, to capture and analyze data streams in real time. Supervised learning models can be used to evaluate the frequency and importance of data usage and determine which data is most critical to system performance and stability.

[0181] For example, a model might identify that during periods of high traffic, log data for certain services is critical for performance monitoring.

[0182] Establish a feedback loop to continuously optimize and adjust supervised learning models based on real-time monitoring results. Use model outputs to guide improvements in data collection and processing strategies.

[0183] For example, if the model predicts potential performance issues, it can automatically adjust the data sampling rate or increase monitoring of key metrics.

[0184] For example, for a large e-commerce platform, the implementation may include the following steps:

[0185] Extract features from the platform’s server and application logs, such as user request patterns, service response times, etc. Use association rule mining to analyze the relationship between user behavior and system performance, such as discovering that certain types of user requests may cause delays in backend services. Build and train a supervised learning model, such as using XGBoost, to predict the impact of high-traffic events on system performance. Integrate the model into our monitoring system to analyze data streams in real time and issue alerts when potential performance degradation is detected. Adjust resource allocation based on the model’s output and optimize caching strategies to ensure platform stability and responsiveness during peak hours.

[0186] Furthermore, the formulation of the cache optimization strategy includes:

[0187] Analyze the cache requirements of different data based on data tags and perception results;

[0188] Design strategies to meet different caching needs;

[0189] Dynamically adjust the cache strategy based on data changes and perception results.

[0190] In some embodiments, the results obtained from the intelligent data perception technology are combined with the tag information in the data management platform to perform a comprehensive analysis of the data. The purpose of this step is to identify the access patterns, frequencies, and performance impacts of different data.

[0191] Based on the analysis results, identify which data needs to be cached and the level of cache requirements. For example, frequently accessed data or latency-sensitive operations may require a higher priority caching strategy.

[0192] Design caching strategies to meet the caching requirements of different data. This may include determining the cache size, validity period, replacement strategy (such as LRU, FIFO, etc.), and data partitioning strategy. Implement the designed caching strategy in the system and configure the caching infrastructure accordingly. This may involve adjusting the existing caching system or deploying a new caching solution.

[0193] Implement monitoring mechanisms to track the effectiveness of caching strategies, including key performance indicators such as cache hit rate, response time, system load, etc. Develop dynamic adjustment mechanisms so that caching strategies can self-adjust based on real-time data changes and intelligent sensing results. This may involve using machine learning algorithms to predict changes in data access patterns.

[0194] For example, an online video streaming service develops a cache optimization strategy. Our implementation may include the following steps: Analyze the data of users watching videos to identify which video content is popular and needs to be cached first. Design cache strategies based on the number of video views, user ratings, and viewing time periods. For example, set a longer cache time for popular videos during peak hours. Implement these strategies on the content distribution network (CDN) and edge servers, and configure cache size and replacement strategies. Use real-time monitoring tools to track cache performance, such as video loading time and cache hit rate. Develop a machine learning model to predict future cache needs based on changes in user viewing patterns and automatically adjust cache strategies. Ensure that all cached data complies with data protection regulations, especially for the processing of user personal information.

[0195] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some implementation methods of a cache optimization system based on operation and maintenance data. These system implementation methods are similar to Figure 1 Corresponding to the method implementation shown, the cache optimization system based on operation and maintenance data can be specifically applied to various electronic devices.

[0196] like Figure 2 As shown, in some embodiments, a cache optimization system 200 based on operation and maintenance data includes:

[0197] The collection module 201 is used to collect operation and maintenance data from different computing environments and build an initial operation and maintenance data model based on these data;

[0198] An extension module 202 is used to extend the operation and maintenance data model based on the computing models of different computing environments, including data type extension, metadata extension and association relationship extension;

[0199] The tagging module 203 is used to collect the operation and maintenance data scattered in various computing environments into a unified platform, and to uniformly tag the operation and maintenance computing tasks and data resources based on the extended model;

[0200] A perception module 204 is used to apply intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform;

[0201] The optimization module 205 is used to formulate a cache optimization strategy based on the tags of the operation and maintenance data and the intelligent data perception results.

[0202] It is understandable that the modules recorded in the cache optimization system 200 based on operation and maintenance data are similar to those in the reference Figure 1Therefore, the operations, features and beneficial effects described above for the cache optimization method based on operation and maintenance data are also applicable to the cache optimization system 200 based on operation and maintenance data and the modules contained therein, and will not be repeated here.

[0203] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0204] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A cache optimization method based on operation and maintenance data, characterized in that: The following steps are involved: Collecting operation and maintenance data from different computing environments, the operation and maintenance data including operation and maintenance computing tasks and data resources, and constructing initial operation and maintenance data models based on the operation and maintenance data; Expand the initial operation and maintenance data model of each computing environment to obtain the extended models of different computing environments; Gather the operation and maintenance data scattered in various computing environments into a unified data management platform, and uniformly mark the operation and maintenance computing tasks and data resources in the operation and maintenance data based on the extended model; Apply intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform; Formulate cache optimization strategies based on the tags of operation and maintenance data and the results of intelligent data perception.

2. A cache optimization method based on operation and maintenance data according to claim 1, characterized in that: The constructing of the initial operation and maintenance data models based on the operation and maintenance data comprises: Identify key metrics applicable to each computing environment; Collect key indicator related data from servers, network devices, and applications; Preprocessing the collected relevant data, including cleaning, outlier processing, missing value processing and format unification; Integrate the pre-processed relevant data into a unified data set; Select key features from the unified data set using a feature engineering method and determine feature weights, as shown in calculation formula (1); Among them, w i is the weight of the i-th feature; j is the index variable of the unified data set; f i is the key score of feature i; |F| is the total number of features; f j Key scores for unified datasets. Build an initial operation and maintenance data model based on the selected key features.

3. The cache optimization method based on operation and maintenance data according to claim 1, characterized in that: The expansion of the initial operation and maintenance data model of different computing environments includes: Data type extension, metadata extension, and relationship extension.

4. The cache optimization method based on operation and maintenance data according to claim 3 is characterized in that: The data type extensions include: Analyze the operation and maintenance data type characteristics of each computing environment, wherein the data type characteristics include structured, unstructured, and time series data; Obtain the format and representation of data in each computing environment; According to actual needs, add new data type definitions to each initial operation and maintenance data model, including fields, structures, and formats.

5. The cache optimization method based on operation and maintenance data according to claim 4 is characterized in that: The metadata extensions include: Determine the metadata information to be recorded, including environment type, version, configuration, performance indicators, and network parameters; Add metadata fields to each initial operation and maintenance data model to manage metadata for different computing environments.

6. The cache optimization method based on operation and maintenance data according to claim 5, characterized in that: The association relationship extension includes: Analyze the logical relationships between data in different computing environments, including parent-child relationships and dependency relationships; Define association relationships in each initial operation and maintenance data model to describe and manage the logical relationship between data in different computing environments.

7. The cache optimization method based on operation and maintenance data according to claim 1, characterized in that: The method further comprises: Create a central database to receive operation and maintenance data of each computing environment; Clean and standardize operation and maintenance data to unify the format and content; Define a labeling system to describe tasks and data attributes; Classify tasks and data resources according to the label system; Determine the attributes of tasks and data and add corresponding labels; Use machine learning algorithms to build and train labeling models to achieve automatic labeling.

8. The cache optimization method based on operation and maintenance data according to claim 2, characterized in that: The application of intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform includes: Extracting features from the preprocessed relevant data, wherein the features include timestamp, type, and frequency; Analyze the features by using preset association rules to discover data patterns and associations between the related data; Construct a supervised learning model and evaluate the performance of the supervised learning model as shown in formula (2); Where TP is the number of instances correctly predicted as positive by the model, FN is the number of positive instances incorrectly predicted as negative by the model, FP is the number of negative instances incorrectly predicted as positive by the model, and TN is the number of instances correctly predicted as negative by the model. If the supervised learning model meets the preset requirements, the usage frequency and importance of the relevant data are monitored in real time based on the supervised learning model.

9. The cache optimization method based on operation and maintenance data according to claim 1, characterized in that: The formulation of cache optimization strategy includes: Analyze the cache requirements of different data based on the tags of operation and maintenance data and the results of intelligent data perception; Design strategies to meet different caching needs; In response to changes in operation and maintenance data and dynamic perception results, the cache strategy is adjusted in real time.

10. A cache optimization system based on operation and maintenance data, used to implement the cache optimization method based on operation and maintenance data described in any one of claims 1 to 9, characterized in that: include: A collection module, used to collect operation and maintenance data from different computing environments, wherein the operation and maintenance data includes operation and maintenance computing tasks and data resources, and to construct initial operation and maintenance data models based on the operation and maintenance data; An extension module is used to extend the initial operation and maintenance data model of each computing environment to obtain an extended model of different computing environments; A tagging module is used to collect the operation and maintenance data scattered in various computing environments into a unified data management platform, and to uniformly tag the operation and maintenance computing tasks and data resources in the operation and maintenance data based on the extended model; The perception module is used to apply intelligent data perception technology to perform real-time monitoring and analysis of operation and maintenance data in the data management platform; The optimization module is used to formulate cache optimization strategies based on the tags of operation and maintenance data and the results of intelligent data perception.

Citation Information

Patent Citations

  • Operation and maintenance method and device for power distribution communication network and storage medium

    CN111461451A

  • Operation and maintenance data cache optimization method and system oriented to supercomputing and intelligent computing

    CN117389839A

  • Method and system for expanding and labeling cloud distributed resource data model

    CN117579480A

  • Operation and maintenance device and system of cloud storage server cluster

    CN203933662U

  • Extensible object-modelling mechanism

    GB0423656D0