Chip memory adjustment method, device, equipment and storage medium

By obtaining and analyzing the storage monitoring data of the chip memory, using content scanning algorithms and mathematical models for detection and annotation, combining neural networks and long and short memory algorithms to identify fault factors, and calculating adjustment parameters, the problem of chip memory performance detection and adjustment is solved, and the implementation Efficient fault identification and performance improvement.

CN118430635BActive Publication Date: 2024-09-17SHENZHEN CHIP TESTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410898960.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-17
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively detect, analyze and adjust the performance of chip memory, leading to problems of data loss and system performance degradation.

Method used

By obtaining storage monitoring data, using preset content scanning algorithms and mathematical conversion models for detection and annotation, combined with neural networks and long and short memory algorithms for in-depth analysis, identifying fault factors and calculating adjustment parameters, we can achieve performance analysis and adjustment of chip memories.

Benefits of technology

It improves the efficiency and effect of chip memory performance detection and adjustment, can quickly adapt to different failure modes and performance requirements, and extends the service life of the memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430635B
    Figure CN118430635B
Patent Text Reader

Abstract

The present invention relates to a method for adjusting a chip memory, comprising the following steps: extracting the content of the storage monitoring data to obtain the storage content; obtaining original data corresponding to the storage monitoring data, and performing content detection and comparison on the storage content based on the original data through a preset content scanning algorithm to obtain a detection result; converting the detection result into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area range, annotating the storage monitoring data based on the detection result to obtain annotated data; performing performance analysis on the chip memory based on the annotated data to obtain an analysis result; obtaining a fault factor of the chip memory based on the analysis result, and inputting the fault factor into a preset parameter algorithm for calculation to obtain an adjustment parameter of the chip memory; and solving the technical problem of how to effectively detect, analyze and adjust the performance of the chip memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip memory technology, and in particular to a chip memory adjustment method, device, equipment and storage medium. Background Art

[0002] With the rapid development of integrated circuit technology, chip memory, as a key component in computer systems, has a direct impact on the stability and efficiency of the entire system due to its performance and reliability. Chip memory may experience various faults during long-term use, such as read and write errors, data loss, and leakage current. These faults not only lead to data loss, but also seriously affect the overall performance of the system. Therefore, how to effectively detect, analyze, and adjust the performance of chip memory has become an important topic in the current technical field. Summary of the invention

[0003] The main purpose of the present invention is to provide a chip memory adjustment method, device, equipment and storage medium, which solves the technical problem of how to effectively detect, analyze and adjust the performance of the chip memory.

[0004] To achieve the above object, the present invention provides a method for adjusting a chip memory, wherein the chip memory is connected to a test device, and comprises the following steps:

[0005] Acquire storage monitoring data through a chip memory, and extract content from the storage monitoring data to obtain storage content;

[0006] Acquire original data corresponding to the stored monitoring data, and perform content detection and comparison on the stored content based on the original data using a preset content scanning algorithm to obtain a detection result;

[0007] The detection result is converted into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data;

[0008] Performing performance analysis on the chip memory based on the labeled data to obtain analysis results;

[0009] The fault factor of the chip memory is obtained based on the analysis result, and the fault factor is input into a preset parameter algorithm for calculation to obtain the adjustment parameter of the chip memory.

[0010] As a further solution of the present invention, content extraction is performed on the stored monitoring data to obtain stored content, including:

[0011] Testing the storage monitoring data by Valgrind to detect whether the storage monitoring data is leaked, thereby obtaining test data;

[0012] If the detection data is not leaked, converting the detection data into a detection data packet;

[0013] Parsing the detection data packet to obtain parsed detection data;

[0014] Performing data enhancement on the analyzed detection data to obtain enhanced data;

[0015] The enhanced data is input into a preset neural network for content extraction to obtain storage content.

[0016] As a further solution of the present invention, a content detection and comparison is performed on the stored content based on the original data by a preset content scanning algorithm to obtain a detection result, including:

[0017] Injecting errors into the original data to obtain original error data;

[0018] Performing a detection and comparison on the stored content based on the original error data, and obtaining a first detection result if the original error data is inconsistent with the stored content;

[0019] A data consistency check is performed on the stored content based on the original data. If the original data is inconsistent with the stored content, an error identification is performed on the stored content to obtain a second detection result; and the first detection result is combined with the second detection result to obtain a detection result, wherein the error identification includes single-bit error identification, multi-bit error identification, and continuous error identification.

[0020] As a further solution of the present invention, the detection result includes the number of errors, the bit error rate, and the response time. The detection result is converted into a detection area through a preset mathematical conversion model. If the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data, including:

[0021] Performing numerical conversion on the detection result through a preset data conversion model to obtain a conversion value;

[0022] Performing two-dimensional spatial mapping on the conversion value to obtain a detection area;

[0023] Presetting an area range, if the detection area is not within the preset area range, positioning the stored monitoring data based on the detection result to obtain positioning detection data;

[0024] Classifying the positioning detection data according to the fault level to obtain a classification result; wherein the classification result includes positioning detection data of potential faults, positioning detection data of medium faults, and positioning detection data of severe faults;

[0025] Performing in-depth analysis on the location detection data of the potential fault to obtain in-depth analysis data;

[0026] If the in-depth analysis data is the location detection data of a medium fault or the location detection data of a severe fault, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, and the location detection data of the medium fault and the location detection data of the severe fault are respectively marked with symbols to obtain corresponding symbol-marked data;

[0027] The corresponding symbol mark data and the isolated annotation data are used as annotation data.

[0028] As a further solution of the present invention, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, including:

[0029] Inputting the potential fault location detection data into the long short memory algorithm for analysis to obtain a potential analysis result; wherein the analysis result includes whether the potential fault location detection data changes over time and whether the potential fault location detection data fails;

[0030] If the location detection data of the potential fault changes with time, then identify the specific time point or time period when the location detection data of the potential fault occurs;

[0031] Perform correlation analysis on the location detection data of the potential fault at a specific time point or time period,

[0032] Obtaining correlation analysis results; annotating and marking the location detection data of the potential fault based on the correlation analysis results to obtain annotated data; wherein the correlation analysis results include voltage fluctuations, temperature changes, and increased frequency of read and write operations;

[0033] If the potential fault location detection data suddenly fails, performing a burst mark on the potential fault location detection data corresponding to the sudden failure to obtain burst mark data;

[0034] Combining the annotation data and the burst mark data to obtain combined mark data;

[0035] The combined marking data is logically isolated to obtain isolated marking data.

[0036] As a further solution of the present invention, a performance analysis is performed on the chip memory based on the labeled data to obtain an analysis result, including:

[0037] Extracting error features from the labeled data to obtain labeled features; wherein the labeled features include error types of the labeled data, error frequencies of the labeled features, and position distributions of the labeled features;

[0038] Analyzing the annotation features to determine whether the annotation data has a specific error mode or failure trend;

[0039] If so, a performance evaluation is performed on the chip memory based on the error mode or failure trend to obtain the overall performance degradation of the memory; wherein the performance degradation includes read and write speed, access delay, and data throughput;

[0040] Get the current space, current bandwidth, and current efficiency of the chip memory;

[0041] The analysis result of the chip memory is obtained based on the current space, current bandwidth, current efficiency and the overall performance degradation of the chip memory; wherein the analysis result includes mean time between failures, data retention capability and error correction capability.

[0042] As a further solution of the present invention, a fault factor of the chip memory is obtained based on the analysis result, and the fault factor is input into a preset parameter algorithm for calculation to obtain an adjustment parameter of the chip memory, including:

[0043] Based on the analysis results, various fault factors of the chip memory are extracted, and the corresponding fault factors are classified to obtain classified fault factors;

[0044] Adopting a progressive nonlinear strategy, mapping and matching the classification fault factors with the adjustment parameters in the preset parameter algorithm, and obtaining a mapping relationship between each of the classification fault factors and the adjustable parameters;

[0045] Using the Gauss-Newton method, the adjustment parameter is calculated based on the mapping relationship to obtain a calculation parameter;

[0046] The calculation parameters are weighed and optimized to obtain adjustment parameters of the chip memory.

[0047] The present invention also provides a chip memory adjustment device, wherein the chip memory is connected to a test device, and comprises:

[0048] An extraction module, used for acquiring storage monitoring data through a chip memory, and extracting content from the storage monitoring data to obtain storage content;

[0049] A comparison module is used to obtain original data corresponding to the stored monitoring data, and perform content detection and comparison on the stored content based on the original data through a preset content scanning algorithm to obtain a detection result;

[0050] A labeling module, used for converting the detection result into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area value, labeling the stored monitoring data based on the detection result to obtain labeled data;

[0051] An analysis module, used to perform performance analysis on the chip memory based on the labeled data to obtain analysis results;

[0052] The adjustment module is used to obtain the fault factor of the chip memory based on the analysis result, input the fault factor into a preset parameter algorithm for calculation, and obtain the adjustment parameter of the chip memory.

[0053] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

[0054] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.

[0055] The chip memory adjustment method, device, equipment and storage medium provided by the present invention include the following steps: obtaining storage monitoring data through the chip memory, and extracting the content of the storage monitoring data to obtain storage content; obtaining original data corresponding to the storage monitoring data, and performing content detection and comparison on the storage content based on the original data through a preset content scanning algorithm to obtain a detection result; converting the detection result into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area range, annotating the storage monitoring data based on the detection result to obtain annotated data; performing performance analysis on the chip memory based on the annotated data to obtain an analysis result; obtaining a fault factor of the chip memory based on the analysis result, and inputting the fault factor into a preset parameter algorithm for calculation to obtain an adjustment parameter of the chip memory; through the above technical solution, the technical problem of how to effectively detect, analyze and adjust the performance of the chip memory is solved, the efficiency and effect of the adjustment process are improved, and it can quickly adapt to different fault modes and performance requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 is a schematic diagram of the steps of a method for adjusting a chip memory in one embodiment of the present invention;

[0057] Figure 2 is a structural block diagram of a chip memory adjustment device in one embodiment of the present invention;

[0058] Figure 3 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.

[0059] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0061] like Figure 1 As shown, Figure 1 It is a schematic diagram of the steps of a method for adjusting a chip memory in one embodiment of the present invention;

[0062] An embodiment of the present invention provides a method for adjusting a chip memory, wherein the chip memory is connected to a test device, and the method comprises the following steps:

[0063] Step S1, acquiring storage monitoring data through a chip memory, and extracting content from the storage monitoring data to obtain storage content.

[0064] Specifically. In the first step of the adjustment method, "obtaining storage monitoring data through chip memory" means using professional test equipment to establish a connection with the chip memory, and actively or passively collecting various status information and data records generated by the memory during operation. These data reflect the working status of the memory, including but not limited to key performance indicators such as data read and write speed, error rate, response time, etc. Next, "extracting content from the storage monitoring data" is a key link in the processing stage. This step involves screening and refining information fragments directly related to memory performance from a large amount of collected original monitoring data, including identifying specific data patterns, sequences of read and write operations, or abnormal signals. Through a carefully designed data parsing algorithm, it is possible to efficiently "unravel" the complex data stream and separate the truly valuable parts for subsequent analysis. Finally, "obtaining storage content" means that after content extraction, the originally disorganized monitoring data is organized into a clear and structured information set, which specifically describes the behavior and health status of the memory during the test. This process is the basis for subsequent content detection comparison, performance analysis and fault diagnosis, ensuring the accuracy and depth of chip memory status evaluation. In short, this step paves the way for a comprehensive understanding and optimization of chip memory performance through highly targeted data processing.

[0065] Step S2, obtaining original data corresponding to the stored monitoring data, and performing content detection and comparison on the stored content based on the original data by a preset content scanning algorithm to obtain a detection result.

[0066] Specifically, in this process, "obtaining the original data corresponding to the storage monitoring data" first means ensuring that the collected data is in the most original and unprocessed form, which directly reflects the details of various activities of the storage in the actual working environment, including all original information sets such as the original records of read and write operations, timestamps, and error logs. Subsequently, "through a preset content scanning algorithm" means using a pre-set algorithm or program that is specially designed to efficiently traverse and analyze the above original data. The core of the algorithm is that it can automatically identify and focus on key parts of the data, such as specific operating modes, frequently occurring error types, or any signs of deviation from normal behavior. "Content detection and comparison of the storage content based on the original data" is the next step, which involves carefully comparing the extracted storage content with expected standards, historical benchmark data or other references. This comparison process is intended to discover any deviations, anomalies, or signs of performance degradation, such as data integrity issues, slow access speeds, or degradation of storage units. Finally, "obtaining the test results" summarizes the outputs of all comparative analyses and provides a comprehensive evaluation of the current state of the storage. This includes but is not limited to the location of the problem, the degree of performance degradation, and the risk assessment of potential failures. These test results are crucial for taking timely maintenance measures, optimizing storage resource allocation, and predicting possible future failures, thereby ensuring the stability and reliability of the storage system.

[0067] Step S3, converting the detection result into a detection area through a preset mathematical conversion model. If the detection area is not within a preset area range, annotating the stored monitoring data based on the detection result to obtain annotated data.

[0068] Specifically, at this stage, "through a preset mathematical conversion model" is to use a pre-defined mathematical algorithm or formula, the purpose of which is to quantify the previously obtained test results into more intuitive indicators. The "detection area" mentioned here is an abstract concept, which is used to vividly express the severity or coverage of the test results. Specifically, different test results will be mapped to different area values, so that the complex test information is simplified into numerical values ​​or intervals that are easy to understand and compare. If "the detection area is not within the preset area range", it means that the test results show that certain performance indicators or error rates of the memory exceed the established normal or acceptable range, suggesting that there may be functional abnormalities or performance degradation. At this time, it is necessary to specially mark these abnormal storage monitoring data, that is, "mark the storage monitoring data based on the test results". The marking process can be labeling, classification, or directly adding annotations to the data record, so as to quickly identify and focus on these problem areas during subsequent processing. The final "marked data" contains key abnormal information and its context, which provides a direct basis for in-depth analysis of the cause of the failure, formulation of tuning strategies, or execution of preventive maintenance. Annotated data helps improve the efficiency of troubleshooting and ensures that problems can be quickly located and resolved, thereby maintaining the stable operation of chip memory and extending its service life.

[0069] Step S4, performing performance analysis on the chip memory based on the labeled data to obtain analysis results.

[0070] Specifically, in this step, "based on the annotated data" means using the abnormal or focused storage monitoring data that has been converted and annotated by the test results as the core analysis object. Since these data have been clearly identified, when performing performance analysis, you can directly focus on the problem without screening one by one in a large amount of normal data. "Perform performance analysis on the chip memory" is to use professional analysis tools, algorithms or models to conduct in-depth research on the annotated data to evaluate the multi-dimensional performance indicators such as the operating efficiency, stability, and reliability of the memory. This step covers multiple aspects such as the analysis of data transmission rate fluctuations, statistics on error frequency, and exploration of the distribution characteristics of access delay time, aiming to fully grasp the performance of the memory in actual applications. Through this series of in-depth analysis, "analysis results are obtained", that is, the specific performance status of the chip memory during testing or operation is summarized, including but not limited to the main performance bottlenecks identified, frequently occurring error types, potential signs of hardware aging, etc. These analysis results are not only a diagnostic report on the current status, but also provide a scientific basis for subsequent optimization measures, guiding how to effectively improve the performance of the memory, extend its service life, or take necessary maintenance actions.

[0071] Step S5, obtaining a fault factor of the chip memory based on the analysis result, inputting the fault factor into a preset parameter algorithm for calculation, and obtaining an adjustment parameter of the chip memory.

[0072] Specifically, in this final stage, "obtaining the fault factor of the chip memory based on the analysis results" means extracting the specific reasons for the memory performance degradation or failure from the previous performance analysis results. These fault factors can be physical damage, software errors, electrical interference and other factors, which are directly related to the root cause of why the memory cannot achieve the expected performance or errors occur. Next, "inputting the fault factor into the preset parameter algorithm for calculation" means using a set of pre-designed mathematical or logical algorithms that are specially customized to handle these specific fault factors. By using the fault factor as an input parameter, the algorithm can calculate a series of precise adjustment suggestions or instructions, which are the "adjustment parameters of the chip memory". These adjustment parameters include voltage adjustment, refresh frequency setting, error correction code (ECC) strategy change, access mode optimization, etc., which are designed to directly act on the control logic or physical configuration of the memory to correct the identified problems and restore or improve its performance. The whole process shows a closed-loop management strategy from data monitoring and analysis to fault identification and parameter optimization, ensuring that the chip memory can continue to serve various complex application scenarios efficiently and stably.

[0073] In a specific embodiment, content extraction is performed on the stored monitoring data to obtain the stored content, including:

[0074] Testing the storage monitoring data by Valgrind to detect whether the storage monitoring data is leaked, thereby obtaining test data;

[0075] If the detection data is not leaked, converting the detection data into a detection data packet;

[0076] Parsing the detection data packet to obtain parsed detection data;

[0077] Performing data enhancement on the analyzed detection data to obtain enhanced data;

[0078] The enhanced data is input into a preset neural network for content extraction to obtain storage content.

[0079] Specifically, in this detailed process, the step of extracting the content of the storage monitoring data to obtain the storage content is more specific and in-depth, and a variety of technologies and algorithms are used to ensure the accuracy and integrity of the data. First, "the storage monitoring data is detected by Valgrind". Valgrind is a memory debugging tool. Its role here is to conduct an in-depth analysis of the storage monitoring data to detect whether there is a memory leak problem. This is an important preliminary check because memory leaks can cause data loss or system performance degradation. If "the detection data is not leaked", that is, Valgrind confirms that the data is complete and not affected by the leak, the process continues. Subsequently, "the detection data is converted into a detection data packet". This conversion process may be to facilitate data transmission and subsequent processing, that is, to encapsulate the original detection data into a standardized or formatted data packet to improve processing efficiency and compatibility. Next, "the detection data packet is parsed", which is to decode the data packet and restore it to a format that can be further operated, that is, "obtain the parsed detection data". This step is to prepare for further data processing. After that, "data enhancement is performed on the analyzed detection data". Data enhancement technology is used here to enrich and expand the diversity and complexity of the data set, including operations such as rotation, flipping, and adding noise. This is particularly critical for improving the generalization ability and accuracy of subsequent machine learning models, thereby "obtaining enhanced data". Finally, "the enhanced data is input into a preset neural network for content extraction". The enhanced data is deeply analyzed using a pre-trained neural network model. The neural network can learn and extract features from the data to "obtain storage content", that is, extract high-value information directly related to storage performance, status or anomalies. This series of operations together builds a complex but efficient processing link from storing monitoring data to extracting storage content, ensuring the depth and quality of data processing.

[0080] In a specific embodiment, a content detection and comparison is performed on the stored content based on the original data by using a preset content scanning algorithm to obtain a detection result, including:

[0081] Injecting errors into the original data to obtain original error data;

[0082] Performing a detection and comparison on the stored content based on the original error data, and obtaining a first detection result if the original error data is inconsistent with the stored content;

[0083] A data consistency check is performed on the stored content based on the original data. If the original data is inconsistent with the stored content, an error identification is performed on the stored content to obtain a second detection result; and the first detection result is combined with the second detection result to obtain a detection result, wherein the error identification includes single-bit error identification, multi-bit error identification, and continuous error identification.

[0084] Specifically, this scheme is a data integrity verification method, which is mainly used to ensure the accuracy and consistency between the stored content and the original data, and to identify potential data corruption or tampering by introducing a specific error detection mechanism. The specific steps are as follows: Injecting original error data: First, artificially introduce errors into the original correct data set (original data) to generate a set of control data with known errors, namely "original error data". This operation is equivalent to creating a series of error cases, which are used as the standard for subsequent detection and comparison. Original error data comparison detection: Using a preset content scanning algorithm, these "original error data" containing preset errors are compared with the actual data in the storage system. If it is found that the original error data does not match the stored content (expected inconsistency), this actually verifies the effectiveness of the detection system and is marked as "first detection result". This step ensures that the detection mechanism can correctly identify the designed error pattern. Data consistency check: Next, use the same or another set of algorithms to perform strict consistency checks directly based on the unmodified "original data" and the stored content. If there is any inconsistency between the original data and the stored content, it indicates that data corruption or illegal modification may have occurred during the storage process. At this point, the "error identification" process is triggered, which is a process of in-depth analysis of the differences, including but not limited to identifying single-bit errors, multi-bit data errors, or errors in consecutive data blocks, thereby obtaining a "second detection result". Comprehensive detection results: Finally, the "first detection result" (the result of verifying the effectiveness of the detection mechanism) and the "second detection result" (the actual type and location of the error found) are integrated to form the final "detection result". This comprehensive result not only confirms whether the data is complete and correct, but also reveals the specific nature of the error, providing a basis for subsequent data repair or remedial measures. In summary, this solution has established a mechanism that can both verify the accuracy of the detection process and efficiently identify data errors through active error injection and rigorous comparative analysis, which is of great significance for maintaining data integrity and reliability.

[0085] In a specific embodiment, the detection result includes the number of errors, the bit error rate, and the response time. The detection result is converted into a detection area through a preset mathematical conversion model. If the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data, including:

[0086] Performing numerical conversion on the detection result through a preset data conversion model to obtain a conversion value;

[0087] Performing two-dimensional spatial mapping on the conversion value to obtain a detection area;

[0088] Presetting an area range, if the detection area is not within the preset area range, positioning the stored monitoring data based on the detection result to obtain positioning detection data;

[0089] Classifying the positioning detection data according to the fault level to obtain a classification result; wherein the classification result includes positioning detection data of potential faults, positioning detection data of medium faults, and positioning detection data of severe faults;

[0090] Performing in-depth analysis on the location detection data of the potential fault to obtain in-depth analysis data;

[0091] If the in-depth analysis data is the location detection data of a medium fault or the location detection data of a severe fault, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, and the location detection data of the medium fault and the location detection data of the severe fault are respectively marked with symbols to obtain corresponding symbol-marked data;

[0092] The corresponding symbol mark data and the isolated annotation data are used as annotation data.

[0093] Specifically, the solution further deepens the analysis and processing flow of storage monitoring data, converts the detection results into an intuitive and easy-to-understand form through a series of sophisticated operations, and then grades and labels the health status of the storage, providing precise guidance for subsequent maintenance and optimization. First, "the detection results are converted into numerical values ​​through a preset data conversion model". This operation converts specific detection results such as the number of errors, bit error rate, response time, etc. into a unified numerical form, which is convenient for subsequent processing and comparison. "The converted numerical values ​​are mapped into a two-dimensional space to obtain the detection area". The converted numerical values ​​are mapped onto a two-dimensional plane through a mathematical model, and the concept of "area" is used to intuitively reflect the severity of the memory performance problem. The size of the area represents the scale or scope of the problem, making the analysis results more visual. Next, "pre-set an area range" and set a normal and abnormal dividing line based on the memory performance standard or historical data analysis. If "the detection area is not within the preset area range", it means that there is an abnormality and further processing is required. "Based on the detection results, the storage monitoring data is located to obtain the location detection data". This step is to determine which parts of the storage monitoring data the problem specifically occurs in, providing a basis for fault location. Subsequently, "the fault level classification of the positioning detection data" is carried out, and it is divided into three categories according to the severity of the problem: potential fault, medium fault and severe fault, and "the classification result is obtained", which is a basic judgment on the nature and urgency of the problem. For the "positioning detection data of potential faults", further "deep analysis" will be carried out to understand the root cause of the problem in more detail and "obtain deep analysis data". If the deep analysis finds that the situation has been upgraded, that is, "the deep analysis data is the positioning detection data of medium faults or the positioning detection data of severe faults", stronger response measures will be taken, such as "isolating and marking the positioning detection data of potential faults" and "marking and marking the positioning data of medium and severe faults" to ensure that these high-risk areas can be given priority in subsequent processing. Finally, the "isolated marking data" and the "corresponding symbol marking data" are integrated to form the final "marking data". This series of complex and meticulous operations ensures the accurate identification, positioning and classification of potential problems of the storage device, laying a solid foundation for the implementation of effective maintenance strategies.

[0094] In a specific embodiment, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, including:

[0095] Inputting the potential fault location detection data into the long short memory algorithm for analysis to obtain a potential analysis result; wherein the analysis result includes whether the potential fault location detection data changes over time and whether the potential fault location detection data fails;

[0096] If the location detection data of the potential fault changes with time, then identify the specific time point or time period when the location detection data of the potential fault occurs;

[0097] Perform correlation analysis on the location detection data of the potential fault at a specific time point or time period,

[0098] Obtaining correlation analysis results; annotating and marking the location detection data of the potential fault based on the correlation analysis results to obtain annotated data; wherein the correlation analysis results include voltage fluctuations, temperature changes, and increased frequency of read and write operations;

[0099] If the potential fault location detection data suddenly fails, performing a burst mark on the potential fault location detection data corresponding to the sudden failure to obtain burst mark data;

[0100] Combining the annotation data and the burst mark data to obtain combined mark data;

[0101] The combined marking data is logically isolated to obtain isolated marking data.

[0102] Specifically, input long short-term memory algorithm analysis: First, the location detection data suspected of having a fault is sent to the long short-term memory (LSTM) algorithm for time series analysis. LSTM is a special recurrent neural network that is good at processing and predicting data changes in time series. It is used here to identify whether the potential fault changes regularly over time and whether these data do indicate the existence of a system fault. Specific time point / time period identification: If the analysis results show that the location detection data of the potential fault has changed significantly over time, the system will automatically identify the specific time point or time period when these changes began. This helps to focus on the time window when the problem is most likely to occur. Correlation analysis: For the identified specific time points or time periods, further correlation analysis is performed to explore the relationship between the potential fault and other related factors (such as voltage fluctuations, temperature changes, and increased frequency of read and write operations). These factors are often common causes of storage device failures. Annotation and labeling: Based on the results of the correlation analysis, the potential fault data is annotated and labeled in detail, and the specific environmental conditions or events that may cause the fault are recorded to form "annotated data". This step enhances the understanding of the fault scenario. Burst tagging: For those detection data showing sudden failures, the system performs "burst tagging" separately to emphasize the suddenness and urgency of such failures and generate "burst tagging data". This helps to quickly identify and prioritize such serious problems. Combined tagging data: Next, the regular "annotation data" and the special "burst tagging data" are integrated to form a comprehensive "combined tagging data". This combined data comprehensively reflects all known fault characteristics and their associated factors. Logical isolation to obtain isolated annotation data: Finally, by logically isolating the "combined tagging data", it is ensured that each type of failure and its characteristics are clearly distinguished to form "isolated annotation data". This isolation makes fault management and repair work more orderly and efficient. Through the above steps, the solution realizes the refined identification, time location, cause analysis and labeling of potential faults in the storage system, providing strong data support for fault troubleshooting and preventive maintenance.

[0103] In a specific embodiment, the chip memory is subjected to a performance analysis based on the labeled data to obtain an analysis result, including:

[0104] Extracting error features from the labeled data to obtain labeled features; wherein the labeled features include error types of the labeled data, error frequencies of the labeled features, and position distributions of the labeled features;

[0105] Analyzing the annotation features to determine whether the annotation data has a specific error pattern or failure trend;

[0106] If so, a performance evaluation is performed on the chip memory based on the error mode or failure trend to obtain the overall performance degradation of the memory; wherein the performance degradation includes read and write speed, access delay, and data throughput;

[0107] Get the current space, current bandwidth, and current efficiency of the chip memory;

[0108] The analysis result of the chip memory is obtained based on the current space, current bandwidth, current efficiency and the overall performance degradation of the chip memory; wherein the analysis result includes mean time between failures, data retention capability and error correction capability.

[0109] Specifically, in this embodiment, the performance analysis of the chip memory is carried out at both the microscopic and macroscopic levels, and potential problems are revealed and the comprehensive performance of the memory is evaluated through sophisticated annotated data processing. First, "error feature extraction is performed on the annotated data", which involves extracting key information from the annotated data, such as "error type" (such as single-bit error, multi-bit error), "error frequency" (i.e., the frequency of error occurrence) and "location distribution" (the spatial layout of errors in the memory), which constitute the "annotated features" and provide a basis for subsequent analysis. Next, "analyzing the annotated features" aims to identify whether there are specific error patterns or failure development trends behind these features. Once such patterns or trends are found, it indicates that some parts or functions of the memory are facing common problems and need further evaluation. "If there are specific error patterns or failure trends", then "performance evaluation of the chip memory is performed based on the error patterns or failure trends", and the evaluation scope includes the speed of "read and write speed", the long-term and short-term changes of "access delay", and the increase or decrease of "data throughput", which are direct indicators for measuring memory performance degradation. At the same time, "obtain the current space, current bandwidth, and current efficiency of the chip memory", which are the real-time status parameters of memory resource utilization and work efficiency, combined with the previously determined "overall performance degradation", provide a comprehensive perspective for comprehensive evaluation. Finally, "obtain the analysis results of the chip memory based on the current space, current bandwidth, current efficiency and the overall performance degradation of the chip memory", the "analysis results" here not only cover the real-time performance of the memory, such as "mean time to failure" (MTTF) measures the expected time of normal operation of the system, "data retention capability" evaluates the period of data integrity without being refreshed, but also includes "error correction capability", that is, the memory's own ability to correct data errors. Through this series of rigorous analysis processes, the performance status of the chip memory can be fully understood and predicted, providing a scientific basis for optimizing maintenance strategies.

[0110] In a specific embodiment, the failure factor of the chip memory is obtained based on the analysis result, and the failure factor is input into a preset parameter algorithm for calculation to obtain the adjustment parameter of the chip memory, including:

[0111] Based on the analysis results, various fault factors of the chip memory are extracted, and the corresponding fault factors are classified to obtain classified fault factors;

[0112] Adopting a progressive nonlinear strategy, mapping and matching the classification fault factors with the adjustment parameters in the preset parameter algorithm, and obtaining a mapping relationship between each of the classification fault factors and the adjustable parameters;

[0113] Using the Gauss-Newton method, the adjustment parameter is calculated based on the mapping relationship to obtain a calculation parameter;

[0114] The calculation parameters are weighed and optimized to obtain adjustment parameters of the chip memory.

[0115] Specifically, at this stage, the acquisition and optimization of the adjustment parameters of the chip memory follow a set of precise and systematic processes to ensure the pertinence and effectiveness of the adjustment measures. First, "based on the analysis results, various fault factors of the chip memory are extracted", which is to identify the specific causes of the problem from the previous performance analysis, such as hardware aging, software defects, external interference, etc., and then "the corresponding fault factors are classified", for example, according to the nature, severity or scope of the fault, "the classified fault factors are obtained", laying the foundation for subsequent refined processing. Subsequently, "a progressive nonlinear strategy is adopted to map and match the classified fault factors with the adjustment parameters in the preset parameter algorithm". The progressive nonlinear strategy means that the adjustment process is gradual and flexible, and can adapt to the nonlinear characteristics of different fault factors. Through mapping and matching, the "mapping relationship between each of the classified fault factors and the adjustable parameters" is established, and it is clear which specific parameters should be adjusted for different problems. Next, "the Gauss-Newton method is used to calculate the adjustment parameters based on the mapping relationship". The Gauss-Newton method is an effective algorithm for iteratively solving nonlinear least squares problems. It is used here to accurately calculate the most appropriate adjustment parameter values, "obtaining the calculation parameters", ensuring the accuracy and rationality of the parameter adjustment. Finally, "the calculation parameters are weighed and optimized". This step takes into account the mutual influence of the various adjustment parameters and the overall optimization goals of the system. By weighing the pros and cons of different parameter adjustments, over-adjustment or under-adjustment is avoided, and "the chip memory adjustment parameters are obtained". This set of adjustment parameters is derived on the basis of fully considering fault characteristics, algorithm matching and optimization balance, and aims to maximize the performance of the chip memory, reduce failures and extend its service life.

[0116] The above describes the adjustment method of the chip memory in the embodiment of the present invention. The following describes the adjustment device of the chip memory in the embodiment of the present invention. Figure 2 In one embodiment of the present invention, the chip memory adjustment device includes:

[0117] The extraction module 21 is used to obtain the storage monitoring data through the chip memory, and extract the content of the storage monitoring data to obtain the storage content;

[0118] The comparison module 22 is used to obtain original data corresponding to the stored monitoring data, and perform content detection and comparison on the stored content based on the original data through a preset content scanning algorithm to obtain a detection result;

[0119] A labeling module 23, used for converting the detection result into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area value, labeling the stored monitoring data based on the detection result to obtain labeling data;

[0120] An analysis module 24, configured to perform performance analysis on the chip memory based on the labeled data to obtain an analysis result;

[0121] The adjustment module 25 is used to obtain the fault factor of the chip memory based on the analysis result, input the fault factor into a preset parameter algorithm for calculation, and obtain the adjustment parameter of the chip memory.

[0122] In this embodiment, for the specific implementation of each unit in the above system embodiment, please refer to the above method embodiment, which will not be repeated here.

[0123] Reference Figure 3 The present invention also provides a computer device in an embodiment, wherein the internal structure of the computer device can be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a display screen, an input device system, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0124] Those skilled in the art will understand that Figure 3The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.

[0125] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0126] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM.

[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0128] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for adjusting a chip memory, characterized in that: The chip memory is connected to the test equipment, comprising the following steps: Acquire storage monitoring data through a chip memory, and extract content from the storage monitoring data to obtain storage content; Acquire original data corresponding to the stored monitoring data, and perform content detection and comparison on the stored content based on the original data using a preset content scanning algorithm to obtain a detection result; The detection result is converted into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data; Performing performance analysis on the chip memory based on the labeled data to obtain analysis results; Obtaining a fault factor of the chip memory based on the analysis result, inputting the fault factor into a preset parameter algorithm for calculation, and obtaining an adjustment parameter of the chip memory; The detection result includes the number of errors, bit error rate, and response time. The detection result is converted into a detection area through a preset mathematical conversion model. If the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data, including: Performing numerical conversion on the detection result through a preset data conversion model to obtain a conversion value; Performing two-dimensional spatial mapping on the conversion value to obtain a detection area; Presetting an area range, if the detection area is not within the preset area range, positioning the stored monitoring data based on the detection result to obtain positioning detection data; Classifying the positioning detection data according to the fault level to obtain a classification result; wherein the classification result includes positioning detection data of potential faults, positioning detection data of medium faults, and positioning detection data of severe faults; Performing in-depth analysis on the location detection data of the potential fault to obtain in-depth analysis data; If the in-depth analysis data is the location detection data of a medium fault or the location detection data of a severe fault, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, and the location detection data of the medium fault and the location detection data of the severe fault are respectively marked with symbols to obtain corresponding symbol-marked data; The corresponding symbol mark data and the isolated annotation data are used as annotation data.

2. The chip memory adjustment method according to claim 1, characterized in that: Extracting the stored monitoring data to obtain stored content includes: Testing the storage monitoring data by Valgrind to detect whether the storage monitoring data is leaked, thereby obtaining test data; If the detection data is not leaked, converting the detection data into a detection data packet; Parsing the detection data packet to obtain parsed detection data; Performing data enhancement on the analyzed detection data to obtain enhanced data; The enhanced data is input into a preset neural network for content extraction to obtain storage content.

3. The chip memory adjustment method according to claim 1, characterized in that: The stored content is detected and compared based on the original data by using a preset content scanning algorithm to obtain a detection result, including: Injecting errors into the original data to obtain original error data; Performing a detection and comparison on the stored content based on the original error data, and obtaining a first detection result if the original error data is inconsistent with the stored content; A data consistency check is performed on the stored content based on the original data. If the original data is inconsistent with the stored content, an error identification is performed on the stored content to obtain a second detection result; and the first detection result is combined with the second detection result to obtain a detection result, wherein the error identification includes single-bit error identification, multi-bit error identification, and continuous error identification.

4. The chip memory adjustment method according to claim 1, characterized in that: The location detection data of the potential fault is isolated and marked to obtain isolated and marked data, including: Inputting the location detection data of the potential fault into the long short memory algorithm for analysis to obtain a potential analysis result; wherein the analysis result includes whether the location detection data of the potential fault changes over time and whether the location detection data of the potential fault fails; If the location detection data of the potential fault changes with time, then identify the specific time point or time period when the location detection data of the potential fault occurs; Perform correlation analysis on the location detection data of the potential fault at a specific time point or time period, Obtaining correlation analysis results; annotating and marking the location detection data of the potential fault based on the correlation analysis results to obtain annotated data; wherein the correlation analysis results include voltage fluctuations, temperature changes, and increased frequency of read and write operations; If the potential fault location detection data suddenly fails, performing a burst mark on the potential fault location detection data corresponding to the sudden failure to obtain burst mark data; Combining the annotation data and the burst mark data to obtain combined mark data; The combined marking data is logically isolated to obtain isolated marking data.

5. The chip memory adjustment method according to claim 1, characterized in that: The chip memory is subjected to a performance analysis based on the annotated data to obtain an analysis result, including: Extracting error features from the labeled data to obtain labeled features; wherein the labeled features include error types of the labeled data, error frequencies of the labeled features, and position distribution of the labeled features; Analyzing the annotation features to determine whether the annotation data has a specific error pattern or failure trend; If so, a performance evaluation is performed on the chip memory based on the error mode or failure trend to obtain the overall performance degradation of the memory; wherein the performance degradation includes read and write speed, access delay, and data throughput; Get the current space, current bandwidth, and current efficiency of the chip memory; The analysis result of the chip memory is obtained based on the current space, current bandwidth, current efficiency and the overall performance degradation of the chip memory; wherein the analysis result includes mean time between failures, data retention capability and error correction capability.

6. The chip memory adjustment method according to claim 1, characterized in that: The fault factor of the chip memory is obtained based on the analysis result, and the fault factor is input into a preset parameter algorithm for calculation to obtain an adjustment parameter of the chip memory, including: Based on the analysis results, various fault factors of the chip memory are extracted, and the corresponding fault factors are classified to obtain classified fault factors; Adopting a progressive nonlinear strategy, mapping and matching the classification fault factors with the adjustment parameters in the preset parameter algorithm, and obtaining a mapping relationship between each of the classification fault factors and the adjustable parameters; Using the Gauss-Newton method, the adjustment parameter is calculated based on the mapping relationship to obtain a calculation parameter; The calculation parameters are weighed and optimized to obtain adjustment parameters of the chip memory.

7. A chip memory adjustment device, characterized in that: The chip memory is connected to the test equipment, including: An extraction module, used for acquiring storage monitoring data through a chip memory, and extracting content from the storage monitoring data to obtain storage content; A comparison module is used to obtain original data corresponding to the stored monitoring data, and perform content detection and comparison on the stored content based on the original data through a preset content scanning algorithm to obtain a detection result; A labeling module, used for converting the detection result into a detection area through a preset mathematical conversion model, and if the detection area is not within a preset area value, labeling the stored monitoring data based on the detection result to obtain labeled data; An analysis module, used to perform performance analysis on the chip memory based on the labeled data to obtain analysis results; An adjustment module, used for obtaining a fault factor of the chip memory based on the analysis result, inputting the fault factor into a preset parameter algorithm for calculation, and obtaining an adjustment parameter of the chip memory; The detection result includes the number of errors, bit error rate, and response time. The detection result is converted into a detection area through a preset mathematical conversion model. If the detection area is not within a preset area range, the stored monitoring data is annotated based on the detection result to obtain annotated data, including: Performing numerical conversion on the detection result through a preset data conversion model to obtain a conversion value; Performing two-dimensional spatial mapping on the conversion value to obtain a detection area; Presetting an area range, if the detection area is not within the preset area range, positioning the stored monitoring data based on the detection result to obtain positioning detection data; Classifying the positioning detection data according to the fault level to obtain a classification result; wherein the classification result includes positioning detection data of potential faults, positioning detection data of medium faults, and positioning detection data of severe faults; Performing in-depth analysis on the location detection data of the potential fault to obtain in-depth analysis data; If the in-depth analysis data is the location detection data of a medium fault or the location detection data of a severe fault, the location detection data of the potential fault is isolated and marked to obtain isolated and marked data, and the location detection data of the medium fault and the location detection data of the severe fault are respectively marked with symbols to obtain corresponding symbol-marked data; The corresponding symbol mark data and the isolated annotation data are used as annotation data.

8. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.