An error correction method and system for eMMC interface data using parity check

The parity method analyzes the value and sensitivity of the data packet, sets up an error tracking network and a multi-level verification mechanism, solves the problem of random error detection in the eMMC interface data, and improves data accuracy and system stability.

CN119883716BActive Publication Date: 2025-07-18SHENZHEN YUANCHUANG STORAGE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510341190.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-21
Publication Date
2025-07-18
Estimated Expiration
2045-03-21

AI Technical Summary

Technical Problem

Existing data error correction methods are difficult to effectively detect and correct random errors in eMMC interface data, affecting the accuracy and efficiency of data.

Method used

The parity method is adopted to analyze the data value and error sensitivity of the data packet, set appropriate parity types, generate verification symbols, establish an error tracking network, analyze the influencing factors of historical error fields, identify the data level, and combine the multi-level parity mechanism for error correction processing.

Benefits of technology

It improves the accuracy and efficiency of eMMC interface data, reduces the risk of system failures and business interruptions, optimizes resource allocation, enhances system stability and reliability, and reduces error propagation and processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883716B_ABST
    Figure CN119883716B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of digital signal processing, and discloses an error correction method and system for eMMC interface data using parity check. The method includes: extracting data packets of eMMC interface data, analyzing the data value and error sensitivity of the data packets; setting the parity check type of the data packets, generating parity check symbols of the data packets, and determining the check data packets of the eMMC interface data; performing error detection on the check data packets to obtain an error detection result, and setting an error tracking network for the eMMC interface data; analyzing the error influencing factors of historical error fields and analyzing the potential error trend of the eMMC interface data; identifying the data level of the eMMC interface data and setting a multi-level parity check mechanism for the eMMC interface data; combining the error tracking network, the potential error trend and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result. The present invention can detect random errors and improve the accuracy and usage efficiency of eMMC interface data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital signal processing, and particularly to an error correction method and system for eMMC interface data using parity check. Background Art

[0002] eMMC interface data refers to the data transmitted through the embedded multimedia card interface. eMMC has the advantages of high integration, low power consumption and high performance, and is widely used in smart phones, tablet computers, digital TVs and other portable electronic devices. With the increasing complexity of the functions of mobile devices and the increasing storage requirements, the error rate of data transmission has become a problem that cannot be ignored. In order to improve the reliability of data transmission, data error correction technology has emerged.

[0003] The existing data error correction methods mainly adopt the cyclic redundancy check method. Although this method can detect all burst errors with an odd number of errors, it may not be able to tell the specific location where the error occurs, and due to the high computational complexity, it may not be suitable for detecting random errors, affecting the accuracy and usage efficiency of eMMC interface data. Summary of the Invention

[0004] In order to solve the above problems, the present invention provides an error correction method and system for eMMC interface data using parity check, which can detect random errors and improve the accuracy and usage efficiency of eMMC interface data.

[0005] In a first aspect, the present invention provides an error correction method for eMMC interface data using parity check, including:

[0006] Obtain the eMMC interface data to be error-corrected, extract the data packet of the eMMC interface data, analyze the data value of the data packet, and based on the data value, analyze the error sensitivity of the data packet;

[0007] According to the data value and the error sensitivity, set the parity check type of the data packet, based on the parity check type, generate the parity check symbol of the data packet, and according to the data packet and the parity check symbol, determine the check data packet of the eMMC interface data;

[0008] Perform error detection on the check data packet to obtain an error detection result, and based on the error detection result, set the error tracking network of the eMMC interface data;

[0009] Collect the historical error fields of the eMMC interface data, analyze the error influencing factors of the historical error fields, and according to the error influencing factors and the historical error fields, analyze the potential error trend of the eMMC interface data;

[0010] Based on the data value, identify the data level of the eMMC interface data, and set a multi-level parity check mechanism for the eMMC interface data according to the data level;

[0011] Combine the error tracking network, the potential error trend, and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result.

[0012] In a possible implementation manner of the first aspect, the analyzing the error sensitivity of the data packet based on the data value includes:

[0013] Based on the data value, identify the data usage of the data packet;

[0014] Identify the data accuracy corresponding to the data usage;

[0015] According to the data accuracy, analyze the error impact of the data usage;

[0016] Identify the data type of the data packet, and calculate the error tolerance corresponding to the data type by using the following formula:

[0017] ;

[0018] where C represents the error tolerance corresponding to the data type, D represents the number of errors corresponding to the data type, T represents the total number of data items corresponding to the data type, R represents the weight corresponding to the data type, F represents the number of correctable errors corresponding to the data type, represents the error ratio in the data type, / T represents the ratio of uncorrected errors in the data type;

[0019] Based on the error impact and the error tolerance, analyze the error sensitivity of the data packet.

[0020] In a possible implementation manner of the first aspect, the setting the parity check type of the data packet according to the data value and the error sensitivity includes:

[0021] According to the data value and the error sensitivity, identify the data level of the data packet;

[0022] Extract the data fields of the data packet, and collect the historical error data corresponding to the data fields;

[0023] Analyze the data error pattern of the historical error data;

[0024] Identify the error check effect of the data error pattern;

[0025] Analyze the data characteristics of the data packet, and based on the data characteristics, identify the current applicable degree of the error check effect;

[0026] According to the current applicable degree, analyze the data transmission environment of the data packet;

[0027] Combined with the data error mode, the data level and the data transmission environment, set the parity check type of the data packet.

[0028] In a possible implementation manner of the first aspect, the determining the check data packet of the eMMC interface data according to the data packet and the parity check symbol includes:

[0029] Identify the data structure of the data packet;

[0030] Analyze the relationship factor between the parity check symbol and the data structure;

[0031] According to the relationship factor, extract the symbol position of the parity check symbol;

[0032] Based on the symbol position, identify the data payload and the end identifier of the data packet;

[0033] According to the end identifier, identify the data frame header of the data packet;

[0034] Combined with the data payload, the end identifier, the data frame header and the symbol position, determine the check data packet of the eMMC interface data.

[0035] In a possible implementation manner of the first aspect, the setting the error tracking network of the eMMC interface data based on the error detection result includes:

[0036] Based on the error detection result, identify the error field of the eMMC interface data;

[0037] Set a data recorder for the error field, and according to the data recorder, extract the data error characteristics of the error field;

[0038] Based on the data error characteristics, set the abnormal alarm line of the eMMC interface data;

[0039] Extract the associated field of the error field from the eMMC interface data;

[0040] Set the associated tracking mechanism for the associated field and the error field;

[0041] Combined with the data recorder, the abnormal alarm line and the associated tracking mechanism, set the error tracking network of the eMMC interface data.

[0042] In a possible implementation of the first aspect, analyzing the error influencing factors of the historical error field includes:

[0043] Identifying the field type and error form of the historical error field;

[0044] According to the field type and the error form, analyzing the data change trend of the historical error field;

[0045] Based on the data change trend, identifying the potential influencing factors of the historical error field;

[0046] Calculating the degree of association between the potential influencing factors and the historical error field;

[0047] According to the degree of association, analyzing the error influencing factors of the historical error field.

[0048] In a possible implementation of the first aspect, analyzing the potential error trend of the eMMC interface data according to the error influencing factors and the historical error field includes:

[0049] Based on the historical error field, identifying the error characteristics of the eMMC interface data;

[0050] According to the error characteristics, extracting the factor types of the error influencing factors;

[0051] Calculating the correlation coefficient between the error characteristics and the factor types;

[0052] Analyzing the causal relationship between the error characteristics and the factor types;

[0053] Based on the correlation coefficient and the causal relationship, extracting the key feature parameters of the error characteristics and extracting the key factor attributes of the factor types;

[0054] According to the key feature parameters and the key factor attributes, analyzing the potential error trend of the eMMC interface data.

[0055] In a possible implementation of the first aspect, setting the multi-level parity check mechanism for the eMMC interface data according to the data level includes:

[0056] According to the data level, setting the parity check level of the eMMC interface data;

[0057] Identifying the check method corresponding to the parity check level;

[0058] Based on the check method, extracting the check bits of the eMMC interface data;

[0059] Identify the data operation phase of the eMMC interface data and extract the data check value of the data operation phase;

[0060] Use the following formula to perform a consistency check on the data check value and the check bit to obtain a consistency check result:

[0061] ;

[0062] where M represents the consistency check result of the data check value and the check bit, represents the inner product of the data points i and i + 1 corresponding to the data check value and the check bit, represents the balance coefficient corresponding to the data check value and the check bit, represents the vector norm of the data point i corresponding to the data check value and the check bit, represents the vector norm of the data point i + 1 corresponding to the data check value and the check bit, represents the vector distance value between the data points i and i + 1, and i and i + 1 respectively represent the sequence numbers corresponding to the data check value and the check bit;

[0063] According to the consistency check result, analyze the error nature and error severity of the eMMC interface data;

[0064] Based on the error nature and the error severity, set a multi-level parity check mechanism for the eMMC interface data.

[0065] In a possible implementation manner of the first aspect, the combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result includes:

[0066] Based on the error tracking network, collect the error data of the eMMC interface data and locate the error position of the error data;

[0067] According to the potential error trend, identify the data change rule of the error data;

[0068] Based on the data change rule, extract the data change characteristics of the error data;

[0069] According to the error position and the data characteristics, set the mechanism switching condition of the multi-level parity check mechanism;

[0070] Based on the mechanism switching condition, identify the check mechanism type of the multi-level parity check mechanism;

[0071] According to the check mechanism type, set the correction method of the error data;

[0072] Based on the mechanism switching condition and the correction method, error correction processing is performed on the eMMC interface data to obtain an error correction result.

[0073] In a second aspect, an error correction system for eMMC interface data using parity check provided by the present invention is characterized in that the system includes:

[0074] A data analysis module, configured to obtain eMMC interface data to be error-corrected, extract data packets of the eMMC interface data, analyze the data value of the data packets, and analyze the error sensitivity of the data packets based on the data value;

[0075] A check setting module, configured to set the parity check type of the data packet according to the data value and the error sensitivity, generate a parity check symbol of the data packet based on the parity check type, and determine a check data packet of the eMMC interface data according to the data packet and the parity check symbol;

[0076] An error tracking module, configured to perform error detection on the check data packet to obtain an error detection result, and set an error tracking network for the eMMC interface data based on the error detection result;

[0077] A rule analysis module, configured to collect historical error fields of the eMMC interface data, analyze error influencing factors of the historical error fields, and analyze a potential error trend of the eMMC interface data according to the error influencing factors and the historical error fields;

[0078] A multi-level parity check module, configured to identify a data level of the eMMC interface data based on the data value, and set a multi-level parity check mechanism for the eMMC interface data according to the data level;

[0079] A data error correction module, configured to perform error correction processing on the eMMC interface data by combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to obtain an error correction result.

[0080] Compared with the prior art, the technical principle and beneficial effects of the above solution are as follows:

[0081] Embodiments of the present invention can help determine the parity check level, reduce the calculation and storage costs of data, and optimize resource allocation by analyzing the data value and error sensitivity of the data packet; further, embodiments of the present invention can balance the performance and resource consumption of the system by setting the parity check type of the data packet according to the data value and the error sensitivity. At the same time, using an appropriate parity check can improve the reliability of the system, reduce the risk of system failures and service interruptions caused by data errors, and by generating the parity check symbols of the data packet, it is possible to detect the error conditions that occur during data transmission or storage, reduce the impact of errors on the system, and avoid the accumulation and propagation of errors; secondly, embodiments of the present invention can quickly locate the fault source by setting the error tracking network of the eMMC interface data based on the error detection result, helping technicians to perform fault diagnosis and repair, and improving the stability and efficiency of the system; thirdly, embodiments of the present invention can help identify the specific causes of data errors, reduce the occurrence of future errors, and analyze the potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields, and preventive measures can be taken in advance to reduce the likelihood of future errors occurring, and reduce the costs of retransmission, repair, and maintenance work caused by errors. At the same time, it also helps to maintain the integrity and accuracy of the data; embodiments of the present invention can adapt to the detection requirements of different data and optimize resource utilization by setting a multi-level parity check mechanism for the eMMC interface data according to the data level. At the same time, the multi-level parity check mechanism can provide an additional security layer and reduce the risk of data corruption or loss; finally, embodiments of the present invention can perform error correction processing on the eMMC interface data by combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to obtain an error correction result, which can more effectively manage and reduce errors, enhance the reliability and stability of the system. At the same time, the multi-level parity check mechanism can adjust the check intensity according to the actual needs of the data to achieve fine-grained control of the data. Combining the error tracking network and error trend analysis can quickly respond to errors, reduce the time for error propagation and processing, and take measures in advance according to the error trend analysis to prevent errors, thereby reducing the overall error rate. Therefore, an error correction method for eMMC interface data using parity check proposed by the present invention can detect random errors and improve the accuracy and utilization efficiency of eMMC interface data. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.

[0083] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0084] Figure 1 FIG. is a schematic flowchart of a method for correcting errors in eMMC interface data using parity check provided by an embodiment of the present invention;

[0085] Figure 2 FIG. is a schematic block diagram of a system for correcting errors in eMMC interface data using parity check provided by an embodiment of the present invention. Detailed Embodiments

[0086] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0087] The embodiments of the present invention provide a method for correcting errors in eMMC interface data using parity check. The execution subject of the method for correcting errors in eMMC interface data using parity check includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiments of the present invention. In other words, the method for correcting errors in eMMC interface data using parity check can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server, or a cloud server cluster, etc. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0088] Refer to Figure 1 As shown in FIG., it is a schematic flowchart of a method for correcting errors in eMMC interface data using parity check provided by an embodiment of the present invention. Among them, Figure 1 The method for correcting errors in eMMC interface data described in FIG. includes:

[0089] S1. Obtain the eMMC interface data to be corrected, extract the data packets of the eMMC interface data, analyze the data value of the data packets, and based on the data value, analyze the error sensitivity of the data packets.

[0090] In an embodiment of the present invention, by obtaining eMMC interface data to be error-corrected and extracting data packets of the eMMC interface data, data support can be provided for subsequent data error correction. The data packet refers to a formatted data unit in which the eMMC interface data is transmitted in a network.

[0091] Optionally, the extraction of data packets of the eMMC interface data can be implemented by using the eMMC protocol.

[0092] Furthermore, in an embodiment of the present invention, by analyzing the data value of the data packet, the verification intensity can be determined, reducing the calculation and storage costs of the data. The data value refers to the value and criticality of the data in a specific application, business process, or decision-making.

[0093] Optionally, the data value of the data packet can be implemented by using the user's demand for and dependence on the data.

[0094] In an embodiment of the present invention, by analyzing the error sensitivity of the data packet based on the data value, it can help determine the parity check level and optimize resource allocation. The error sensitivity refers to the tolerance of the data to errors during transmission, storage, or processing.

[0095] As an embodiment of the present invention, the analysis of the error sensitivity of the data packet based on the data value includes: based on the data value, identifying the data usage of the data packet; identifying the data accuracy corresponding to the data usage; according to the data accuracy, analyzing the error impact of the data usage; identifying the data type of the data packet and calculating the error tolerance corresponding to the data type; based on the error impact and the error tolerance, analyzing the error sensitivity of the data packet.

[0096] Among them, the data usage refers to the specific purpose or application scenario for which the data is collected and used. The data accuracy refers to the accuracy and detail level of the data. The error impact refers to the negative impact that data errors may have on the data usage and business process. The data type refers to the classification of the data, such as numerical type, text type, image type, etc. The error tolerance refers to the maximum amount of errors allowed without affecting the normal operation of the system and the data usage.

[0097] Optionally, the analysis of the error impact of the data usage can be implemented by using a risk analysis model, and the analysis of the error tolerance corresponding to the data type can be determined through system testing.

[0098] In an optional embodiment of the present invention, the error tolerance corresponding to the data type is calculated by using the following formula:

[0099] ;

[0100] Among them, C represents the error tolerance corresponding to the data type, D represents the number of errors corresponding to the data type, T represents the total number of data items corresponding to the data type, R represents the weight corresponding to the data type, and F represents the number of correctable errors corresponding to the data type. represents the error ratio in the data type. / T represents the ratio of uncorrected errors in the data type.

[0101] S2. According to the data value and the error sensitivity, set the parity check type of the data packet, generate the parity check symbol of the data packet based on the parity check type, and determine the check data packet of the eMMC interface data according to the data packet and the parity check symbol.

[0102] In the embodiment of the present invention, by setting the parity check type of the data packet according to the data value and the error sensitivity, the performance and resource consumption of the system can be balanced. At the same time, using an appropriate parity check can improve the reliability of the system and reduce the risk of system failures and service interruptions caused by data errors. The parity check type refers to the basic error detection method used in data transmission and storage, including odd parity and even parity.

[0103] As an embodiment of the present invention, setting the parity check type of the data packet according to the data value and the error sensitivity includes: identifying the data level of the data packet according to the data value and the error sensitivity; extracting the data field of the data packet and collecting the historical error data corresponding to the data field; analyzing the data error pattern of the historical error data; identifying the error check effect of the data error pattern; analyzing the data characteristics of the data packet and, based on the data characteristics, identifying the current applicability degree of the error check effect; analyzing the data transmission environment of the data packet according to the current applicability degree; and setting the parity check type of the data packet in combination with the data error pattern, the data level, and the data transmission environment.

[0104] Among them, the data level refers to the classification of data according to the importance and error sensitivity of the data. The data field refers to the specific data elements in the data packet, such as the columns in a database table. The historical error data refers to the records of errors that occurred in the past during data transmission or processing, including the error type, error frequency, and error context. The data error pattern refers to the law or trend of error occurrence analyzed from the historical error data. The error checking effect refers to the ability of parity checking or other checking mechanisms to detect and correct errors in actual applications. The data characteristics refer to the attributes of the data, such as the data type. The current applicability refers to the applicability and effectiveness of the checking mechanism in the current environment. The data transmission environment refers to the network environment in which the data is transmitted during the transmission process, including the stability, bandwidth, latency, etc. of the network.

[0105] Optionally, the extraction of the data fields of the data packet can be implemented using metadata. The analysis of the data error pattern of the historical error data can be obtained through a machine learning model. The identification of the error checking effect of the data error pattern can be implemented using a simulated error checking experiment.

[0106] Furthermore, in the embodiment of the present invention, by generating the parity check symbol of the data packet based on the parity check type, it is possible to detect the error situation that occurs during data transmission or storage, reduce the impact of errors on the system, and avoid the accumulation and propagation of errors. The parity check symbol refers to an error detection code for detecting whether an error occurs during data transmission or storage.

[0107] Optionally, the generation of the parity check symbol of the data packet based on the parity check type can be implemented using an exclusive OR operation.

[0108] In the embodiment of the present invention, by determining the check data packet of the eMMC interface data according to the data packet and the parity check symbol, it is possible to verify whether the data has been accidentally changed during transmission and ensure data integrity. The check data packet refers to a data unit that contains actual data and additional check information, including a data header, a data body, additional check bits, a data tail, etc.

[0109] As an embodiment of the present invention, the determination of the check data packet of the eMMC interface data according to the data packet and the parity check symbol includes: identifying the data structure of the data packet; analyzing the relationship factor between the parity check symbol and the data structure; extracting the symbol position of the parity check symbol according to the relationship factor; identifying the data payload and end identifier of the data packet based on the symbol position; identifying the data frame header of the data packet according to the end identifier; and determining the check data packet of the eMMC interface data by combining the data payload, the end identifier, the data frame header, and the symbol position.

[0110] Among them, the data structure refers to the organization and arrangement of each part in the data packet. The relationship factor refers to the relationship between the parity bit position and the data structure, such as the parity bit appended to the data payload. The symbol position refers to the specific position of the parity bit in the data packet structure. The data payload refers to the actual data part transmitted in the data packet. The end identifier refers to the flag at the end of the data packet. The data frame header refers to the start part of the data packet, such as the synchronization signal, address information, control field, etc.

[0111] Optionally, the analysis of the relationship factor between the parity check symbol and the data structure can be determined by the communication protocol. The identification of the data payload of the data packet can be achieved by removing the frame header, frame tail, and check bits of the data packet.

[0112] S3. Perform error detection on the verification data packet to obtain an error detection result. Based on the error detection result, set the error tracking network for the eMMC interface data.

[0113] In the embodiment of the present invention, by performing error detection on the verification data packet to obtain an error detection result, it can help locate the source of the problem, facilitate fault diagnosis and repair, and by detecting errors in a timely manner, it can avoid the processing of invalid data and optimize resource utilization. The error detection result refers to the conclusion obtained after performing error detection on the data packet, such as no error, partial error, etc.

[0114] Optionally, the error detection of the verification data packet can be implemented using parity check.

[0115] Furthermore, in the embodiment of the present invention, by setting the error tracking network for the eMMC interface data based on the error detection result, the fault source can be quickly located, which helps technicians perform fault diagnosis and repair, and improves the stability and efficiency of the system. The error tracking network refers to a system framework used to monitor, record, analyze, and report errors that occur during data transmission and processing.

[0116] As an embodiment of the present invention, setting the error tracking network for the eMMC interface data based on the error detection result includes: identifying the error field of the eMMC interface data based on the error detection result; setting a data recorder for the error field, and extracting the data error characteristics of the error field according to the data recorder; setting an abnormal alarm line for the eMMC interface data based on the data error characteristics; extracting the associated field of the error field from the eMMC interface data; setting an association tracking mechanism for the associated field and the error field; and setting the error tracking network for the eMMC interface data by combining the data recorder, the abnormal alarm line, and the association tracking mechanism.

[0117] Among them, the error field refers to the specific data part detected with errors in the eMMC interface data packet, the data recorder refers to a tool for recording the error field and other relevant error information, the data error feature refers to the characteristics that can be identified and analyzed in the error field, such as error type, location, frequency, etc., the abnormal alarm line refers to the baseline for triggering an alarm set according to the data error feature, the associated field refers to other data fields that have a direct or indirect relationship with the error field, and the associated tracking mechanism refers to an error association monitoring mechanism set according to the relationship between the error field and the associated field.

[0118] Optionally, based on the error detection result, the identification of the error field of the eMMC interface data can be implemented by using an error detection algorithm, such as the CRC algorithm. The setting of the data recorder for the error field can be obtained through a built-in logging system. The setting of the associated tracking mechanism between the associated field and the error field can be implemented by developing a tracking algorithm using a database management system, such as the MySQL system.

[0119] S4. Collect the historical error fields of the eMMC interface data, analyze the error influencing factors of the historical error fields, and analyze the potential error trend of the eMMC interface data according to the error influencing factors and the historical error fields.

[0120] In the embodiment of the present invention, by collecting the historical error fields of the eMMC interface data, the frequency, type, and pattern of errors can be identified, and then the potential error trend that may occur in the future can be predicted, so as to take corresponding measures to improve the integrity and accuracy of the data. The historical error field refers to the records of errors that occurred in the past during data transmission or processing, including error type, error frequency, and error context.

[0121] Optionally, the collection of the historical error fields of the eMMC interface data can be implemented by using a packet analyzer.

[0122] Furthermore, in the embodiment of the present invention, by analyzing the error influencing factors of the historical error fields, the specific reasons leading to data errors can be helped to be identified, and the occurrence of future errors can be reduced. The error influencing factors refer to various factors that may cause data errors or affect the integrity and accuracy of the data, such as hardware failures, operation mistakes, signal interference, etc.

[0123] As an embodiment of the present invention, the analysis of the error influencing factors of the historical error field includes: identifying the field type and error form of the historical error field; analyzing the data change trend of the historical error field according to the field type and the error form; identifying the potential influencing factors of the historical error field based on the data change trend; calculating the correlation degree between the potential influencing factors and the historical error field; and analyzing the error influencing factors of the historical error field according to the correlation degree.

[0124] Among them, the field type refers to the data type or classification of each field in the dataset, such as numeric type, string type, date and time type, etc., the error form refers to the specific type of error that appears in the data, such as format error, data overflow, type mismatch, illegal value, etc., the data change trend refers to the pattern and law shown by the historical error field as it changes over time or other variables, such as the frequency of error occurrence, the distribution of error types, etc., the potential influencing factors refer to various internal and external factors that may affect data errors, such as hardware failures, software defects, operation mistakes, etc., and the correlation degree refers to the strength of the correlation or causal relationship between the potential influencing factors and the historical error field.

[0125] Optionally, the identification of the error form of the historical error field can be implemented by using the error logs generated by the system or application program. The analysis of the data change trend of the historical error field according to the field type and the error form can be obtained through R software. The calculation of the correlation degree between the potential influencing factors and the historical error field can be implemented by using the Spearman rank correlation formula.

[0126] By analyzing the potential error trend of the eMMC interface data according to the error influencing factors and the historical error field, the embodiment of the present invention can take preventive measures in advance, reduce the possibility of future errors, and reduce the costs of retransmission, repair and maintenance work caused by errors. At the same time, it also helps to maintain the integrity and accuracy of the data. The potential error trend refers to the future possible error development direction or pattern analyzed based on historical error data and current error influencing factors.

[0127] As an embodiment of the present invention, analyzing the potential error trend of the eMMC interface data according to the error influencing factors and the historical error fields includes: identifying the error characteristics of the eMMC interface data based on the historical error fields; extracting the factor types of the error influencing factors according to the error characteristics; calculating the correlation coefficient between the error characteristics and the factor types; analyzing the causal relationship between the error characteristics and the factor types; extracting the key feature parameters of the error characteristics and the key factor attributes of the factor types based on the correlation coefficient and the causal relationship; and analyzing the potential error trend of the eMMC interface data according to the key feature parameters and the key factor attributes.

[0128] Among them, the error characteristics refer to the specific characteristics of errors extracted from the historical error fields, such as the frequency of error occurrence. The factor types refer to the classifications of various factors that may affect errors, such as hardware problems. The correlation coefficient refers to an index that measures the degree of linear correlation between error characteristics and factor types. The causal relationship refers to the logical connection between factor types and error characteristics. The key feature parameters refer to the parameters that can best represent the error characteristics, such as the season with the highest frequency of error occurrence. The key factor attributes refer to the attributes of the factor types that have the greatest impact on the error characteristics, such as a specific hardware model.

[0129] Optionally, the extraction of the factor types of the error influencing factors according to the error characteristics can be determined by the clustering analysis method. The analysis of the causal relationship between the error characteristics and the factor types can be realized by the regression analysis method. The extraction of the key feature parameters of the error characteristics and the key factor attributes of the factor types based on the correlation coefficient and the causal relationship can be obtained by feature dimensionality reduction. The analysis of the potential error trend of the eMMC interface data according to the key feature parameters and the key factor attributes can be realized by using a neural network model.

[0130] S5. Based on the data value, identify the data level of the eMMC interface data, and set a multi-level parity check mechanism for the eMMC interface data according to the data level.

[0131] By identifying the data level of the eMMC interface data based on the data value in the embodiment of the present invention, it helps to reasonably allocate storage, processing, and transmission resources, and ensure the security and availability of key data. The data level refers to the data level obtained by classifying data according to factors such as the importance, sensitivity, value, and impact on the business of the data.

[0132] Furthermore, in the embodiment of the present invention, by setting a multi-level parity check mechanism for the eMMC interface data according to the data level, different data detection requirements can be met, resource utilization can be optimized. At the same time, the multi-level parity check mechanism can provide an additional security layer to reduce the risk of data corruption or loss. The multi-level parity check mechanism refers to a data verification strategy that applies different strengths of parity checks according to different data levels, such as enhanced parity check, CRC check, ECC check, etc.

[0133] As an embodiment of the present invention, setting the multi-level parity check mechanism for the eMMC interface data according to the data level includes: setting the parity check level of the eMMC interface data according to the data level; identifying the check method corresponding to the parity check level; extracting the check bits of the eMMC interface data based on the check method; identifying the data operation stage of the eMMC interface data and extracting the data check value of the data operation stage; performing a consistency check on the data check value and the check bits to obtain a consistency check result; analyzing the error nature and error severity of the eMMC interface data according to the consistency check result; and setting the multi-level parity check mechanism for the eMMC interface data based on the error nature and the error severity.

[0134] Among them, the parity check level refers to different levels of check strictness set according to the importance of the data. The check method refers to the specific algorithm or technology used to generate and verify the check bits, such as odd parity check, even parity check, CRC, etc. The check bits refer to the additional bits attached to the data for error detection. The data operation stage refers to different stages in the data processing process, such as writing, reading, transmitting, etc. The data check value refers to the check value recalculated according to the check method in the data operation stage. The consistency check result refers to the result obtained by comparing the data check value and the stored check bits. The error nature refers to the characteristics of the error, such as single-bit error, multi-bit error, burst error, etc. The error severity refers to the severity of the error.

[0135] Optionally, the identification of the check method corresponding to the parity check level can be achieved by using the error detection requirements of the parity check level. The analysis of the error nature and error severity of the eMMC interface data can be obtained by using the performance counters and event tracing tools provided by the CPU and the operating system.

[0136] In an optional embodiment of the present invention, the following formula is used to perform a consistency check on the data check value and the check bits to obtain a consistency check result:

[0137] ;

[0138] Among them, M represents the consistency check result of the data check value and the check bit, represents the vector inner product of the data check value and the data points i and i + 1 corresponding to the check bit, represents the balance coefficient corresponding to the data check value and the check bit, represents the vector norm of the data point i corresponding to the data check value and the check bit, represents the vector norm of the data point i + 1 corresponding to the data check value and the check bit, represents the vector distance value between the data points i and i + 1, where i and i + 1 respectively represent the serial numbers corresponding to the data check value and the check bit.

[0139] S6. Combine the error tracking network, the potential error trend, and the multi - level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result.

[0140] In the embodiment of the present invention, by combining the error tracking network, the potential error trend, and the multi - level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result, errors can be managed and reduced more effectively, enhancing the reliability and stability of the system. At the same time, the multi - level parity check mechanism can adjust the check intensity according to the actual needs of the data to achieve refined control of the data. Combining the error tracking network and error trend analysis can quickly respond to errors, reduce the time for error propagation and processing, and take preventive measures in advance according to the error trend analysis to prevent errors, thereby reducing the overall error rate. The error correction result refers to the final state obtained after applying the error tracking network, the potential error trend, and the multi - level parity check mechanism.

[0141] As an embodiment of the present invention, the step of combining the error tracking network, the potential error trend, and the multi - level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result includes: collecting the error data of the eMMC interface data based on the error tracking network and locating the error position of the error data; identifying the data change rule of the error data according to the potential error trend; extracting the data change characteristics of the error data based on the data change rule; setting the mechanism switching condition of the multi - level parity check mechanism according to the error position and the data characteristics; identifying the check mechanism type of the multi - level parity check mechanism based on the mechanism switching condition; setting the correction method of the error data according to the check mechanism type; and performing error correction processing on the eMMC interface data based on the mechanism switching condition and the correction method to obtain an error correction result.

[0142] Among them, the error data refers to the data detected to contain errors during the data transmission or storage process of the eMMC interface. The error location refers to the specific position where the error occurs in the error data. The data change pattern refers to the regularity shown when the error data changes over time or other variables, such as the frequency of error occurrence, time period, etc. The data change characteristics refer to the key attributes extracted from the data change pattern, such as error type, error distribution, size of the data block affected, etc. The mechanism switching condition refers to the specific condition or threshold that triggers the switching between multiple-level parity check mechanisms. For example, when the error rate exceeds a certain proportion. The check mechanism type refers to the specific check algorithm selected according to the importance of the data and the error sensitivity in the multiple-level parity check mechanism, such as odd parity check, even parity check, CRC, ECC, etc. The correction method refers to the specific correction measures taken according to the detected error type and severity, including automatic correction, retry, data retransmission, manual intervention, etc.

[0143] Optionally, the error location of the error data can be located by using the ECC error check algorithm. According to the potential error trend, the identification of the data change pattern of the error data can be obtained through a time series analysis tool. According to the check mechanism type, the setting of the correction method for the error data can be implemented by using a custom development tool, such as a custom database.

[0144] It can be seen that by analyzing the data value and error sensitivity of the data packet, the embodiment of the present invention can help determine the parity check level, reduce the calculation and storage costs of data, and optimize resource allocation; further, by setting the parity check type of the data packet according to the data value and the error sensitivity, the embodiment of the present invention can balance the performance and resource consumption of the system. At the same time, using an appropriate parity check can improve the reliability of the system, reduce the risk of system failures and service interruptions caused by data errors, and by generating the parity check symbols of the data packet, it is possible to detect the error conditions that occur during data transmission or storage, reduce the impact of errors on the system, and avoid the accumulation and propagation of errors; secondly, by setting the error tracking network for the eMMC interface data based on the error detection result, the embodiment of the present invention can quickly locate the fault source, help technicians perform fault diagnosis and repair, and improve the stability and efficiency of the system; thirdly, by analyzing the error influencing factors of the historical error field, the embodiment of the present invention can help identify the specific reasons for data errors, reduce the occurrence of future errors, and analyze the potential error trends of the eMMC interface data according to the error influencing factors and the historical error field, and preventive measures can be taken in advance to reduce the likelihood of future errors and the costs of retransmission, repair, and maintenance work caused by errors. At the same time, it also helps to maintain the integrity and accuracy of the data; by setting the multi-level parity check mechanism for the eMMC interface data according to the data level, the embodiment of the present invention can adapt to the detection requirements of different data and optimize resource usage. At the same time, the multi-level parity check mechanism can provide an additional security layer to reduce the risk of data corruption or loss; finally, by combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data and obtain the error correction result, the embodiment of the present invention can more effectively manage and reduce errors, enhance the reliability and stability of the system. At the same time, the multi-level parity check mechanism can adjust the check intensity according to the actual needs of the data to achieve fine-grained control of the data. Combining the error tracking network and error trend analysis can quickly respond to errors, reduce the time for error propagation and processing, and take measures in advance according to the error trend analysis to prevent errors, thereby reducing the overall error rate. Therefore, an error correction method for eMMC interface data using parity check proposed by the present invention can detect random errors and improve the accuracy and usage efficiency of eMMC interface data.

[0145] As Figure 2 shown, it is a system function module diagram of an error correction for eMMC interface data using parity check according to the present invention.

[0146] The error correction system 200 for eMMC interface data using parity check according to the present invention can be installed in an electronic device. According to the implemented functions, the error correction system for eMMC interface data using parity check can include a data analysis module 201, a check setting module 202, an error tracking module 203, a rule analysis module 204, a multi-level parity check module 205, and a data error correction module 206. The modules in the present invention can also be referred to as units, which refer to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.

[0147] In the embodiments of the present invention, the functions of each module / unit are as follows:

[0148] The data analysis module 201 is used to obtain the eMMC interface data to be error-corrected, extract the data packets of the eMMC interface data, analyze the data value of the data packets, and based on the data value, analyze the error sensitivity of the data packets;

[0149] The check setting module 202 is used to set the parity check type of the data packet according to the data value and the error sensitivity, generate the parity check symbol of the data packet based on the parity check type, and determine the check data packet of the eMMC interface data according to the data packet and the parity check symbol;

[0150] The error tracking module 203 is used to perform error detection on the check data packet to obtain an error detection result, and based on the error detection result, set the error tracking network of the eMMC interface data;

[0151] The rule analysis module 204 is used to collect the historical error fields of the eMMC interface data, analyze the error influencing factors of the historical error fields, and based on the error influencing factors and the historical error fields, analyze the potential error trend of the eMMC interface data;

[0152] The multi-level parity check module 205 is used to identify the data level of the eMMC interface data based on the data value, and set the multi-level parity check mechanism of the eMMC interface data according to the data level;

[0153] The data error correction module 206 is used to perform error correction processing on the eMMC interface data by combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to obtain an error correction result.

[0154] Specifically, each module in the error correction system 200 for eMMC interface data using parity check in the embodiments of the present invention adopts the same as the above-mentioned Figure 1It uses the same technical means as the error correction method for eMMC interface data using parity check described in [reference], and can produce the same technical effects, which will not be elaborated here.

[0155] In addition, in each embodiment of the present invention, each functional module can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware, or in the form of a combination of hardware and software functional modules.

[0156] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-mentioned exemplary embodiments, and without departing from the spirit or basic characteristics of the present invention, the present invention can be implemented in other specific forms.

[0157] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced by the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved.

[0158] It should be noted that in this text, relational terms such as "first" and "second" 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 term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the said element.

[0159] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. An error correction method for eMMC interface data using parity check, characterized in that, The method includes: Obtain eMMC interface data to be error-corrected, extract data packets of the eMMC interface data, analyze the data value of the data packets, and based on the data value, analyze the error sensitivity of the data packets; According to the data value and the error sensitivity, set the parity check type of the data packets, generate parity check symbols of the data packets based on the parity check type, and determine a check data packet of the eMMC interface data according to the data packets and the parity check symbols; Perform error detection on the check data packet to obtain an error detection result, and based on the error detection result, set an error tracking network of the eMMC interface data; Collect historical error fields of the eMMC interface data, analyze error influencing factors of the historical error fields, and based on the error influencing factors and the historical error fields, analyze a potential error trend of the eMMC interface data; Based on the data value, identify the data level of the eMMC interface data, and set a multi-level parity check mechanism for the eMMC interface data according to the data level, where setting the multi-level parity check mechanism for the eMMC interface data according to the data level includes: setting the parity check level of the eMMC interface data according to the data level; Identify a check method corresponding to the parity check level; Based on the check method, extract check bits of the eMMC interface data; Identify a data operation stage of the eMMC interface data and extract a data check value of the data operation stage; Perform a consistency check on the data check value and the check bits using the following formula to obtain a consistency check result: Among them, M represents the consistency check result of the data check value and the check bit, O i,i+1 represents the inner product of the vectors of data points i and i + 1 corresponding to the data check value and the check bit, β represents the balance coefficient corresponding to the data check value and the check bit, represents the vector norm of data point i corresponding to the data check value and the check bit, represents the vector norm of data point i + 1 corresponding to the data check value and the check bit, H i,i+1 represents the vector distance value between data points i and i + 1, and i and i + 1 respectively represent the sequence numbers corresponding to the data check value and the check bit; According to the consistency check result, analyze the error nature and error severity of the eMMC interface data; Based on the error nature and the error severity, set the multi-level parity check mechanism for the eMMC interface data; Combine the error tracking network, the potential error trend, and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data to obtain an error correction result.

2. The method according to claim 1, wherein The analyzing the error sensitivity of the data packets based on the data value includes: Based on the data value, identify the data use of the data packets; Identify the data accuracy corresponding to the data use; According to the data accuracy, analyze the error influence of the data use; Identify the data type of the data packets and calculate the error tolerance corresponding to the data type using the following formula: Where C represents the error tolerance corresponding to the data type, D represents the number of errors corresponding to the data type, T represents the total number of data items corresponding to the data type, R represents the weight corresponding to the data type, F represents the number of correctable errors corresponding to the data type, D / T represents the error ratio in the data type, and D - F / T represents the ratio of uncorrected errors in the data type; Based on the error influence and the error tolerance, analyze the error sensitivity of the data packets.

3. The method according to claim 1, wherein The setting the parity check type of the data packets according to the data value and the error sensitivity includes: Identify the data level of the data packet according to the data value and the error sensitivity; Extract the data fields of the data packet and collect the historical error data corresponding to the data fields; Analyze the data error patterns of the historical error data; Identify the error checking effect of the data error patterns; Analyze the data characteristics of the data packet and, based on the data characteristics, identify the current applicability of the error checking effect; Analyze the data transmission environment of the data packet according to the current applicability; Combine the data error patterns, the data level, and the data transmission environment to set the parity check type of the data packet.

4. The method according to claim 1, characterized in that, The determining the check data packet of the eMMC interface data according to the data packet and the parity check symbol includes: Identify the data structure of the data packet; Analyze the relationship factor between the parity check symbol and the data structure; Extract the symbol positions of the parity check symbol according to the relationship factor; Based on the symbol positions, identify the data payload and the end identifier of the data packet; Identify the data frame header of the data packet according to the end identifier; Combine the data payload, the end identifier, the data frame header, and the symbol positions to determine the check data packet of the eMMC interface data.

5. The method according to claim 1, wherein The setting the error tracking network of the eMMC interface data based on the error detection result includes: Based on the error detection result, identify the error fields of the eMMC interface data; Set a data recorder for the error fields, and extract the data error characteristics of the error fields according to the data recorder; Based on the data error characteristics, set the abnormal alarm line of the eMMC interface data; Extract the associated fields of the error fields from the eMMC interface data; Set the association tracking mechanism between the associated fields and the error fields; Combine the data recorder, the abnormal alarm line, and the association tracking mechanism to set the error tracking network of the eMMC interface data.

6. The method according to claim 1, wherein The analyzing the error influencing factors of the historical error fields includes: Identify the field types and error forms of the historical error fields; Analyze the data change trends of the historical error fields according to the field types and the error forms; Based on the data change trends, identify the potential influencing factors of the historical error fields; Calculate the degree of association between the potential influencing factors and the historical error fields; Analyze the error influencing factors of the historical error fields according to the degree of association.

7. The method according to claim 1, characterized in that, The analyzing the potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields includes: Based on the historical error fields, identify the error characteristics of the eMMC interface data; Extract the factor types of the error influencing factors according to the error characteristics; Calculate the correlation coefficient between the error characteristics and the factor types; Analyze the causal relationship between the error characteristics and the factor types; Based on the correlation coefficient and the causal relationship, extract the key feature parameters of the error characteristics and extract the key factor attributes of the factor types; Analyze the potential error trend of the eMMC interface data according to the key feature parameters and the key factor attributes.

8. The method according to claim 1, wherein Combine the error tracking network, the potential error trend, and the multi-level parity check mechanism to perform error correction processing on the eMMC interface data, and obtain an error correction result, including: Based on the error tracking network, collect the error data of the eMMC interface data and locate the error position of the error data; According to the potential error trend, identify the data change rule of the error data; Based on the data change rule, extract the data change characteristics of the error data; According to the error position and the data change characteristics, set the mechanism switching condition of the multi-level parity check mechanism; Based on the mechanism switching condition, identify the check mechanism type of the multi-level parity check mechanism; According to the check mechanism type, set the correction method of the error data; Based on the mechanism switching condition and the correction method, perform error correction processing on the eMMC interface data to obtain an error correction result.

9. An error correction system for eMMC interface data using parity check, characterized in that, The system includes: A data analysis module for obtaining the eMMC interface data to be error-corrected, extracting the data packets of the eMMC interface data, analyzing the data value of the data packets, and based on the data value, analyzing the error sensitivity of the data packets; A check setting module for setting the parity check type of the data packets according to the data value and the error sensitivity, generating the parity check symbols of the data packets based on the parity check type, and determining the check data packets of the eMMC interface data according to the data packets and the parity check symbols; An error tracking module for performing error detection on the check data packets to obtain an error detection result, and based on the error detection result, setting the error tracking network of the eMMC interface data; A rule analysis module for collecting the historical error fields of the eMMC interface data, analyzing the error influencing factors of the historical error fields, and according to the error influencing factors and the historical error fields, analyzing the potential error trend of the eMMC interface data; A multi-level parity check module for identifying the data level of the eMMC interface data based on the data value, and setting the multi-level parity check mechanism of the eMMC interface data according to the data level, where setting the multi-level parity check mechanism of the eMMC interface data according to the data level includes: setting the parity check level of the eMMC interface data according to the data level; Identifying the check method corresponding to the parity check level; Based on the check method, extracting the check bits of the eMMC interface data; Identifying the data operation stage of the eMMC interface data and extracting the data check value of the data operation stage; Use the following formula to perform consistency check on the data check value and the check bits to obtain a consistency check result: Among them, M represents the consistency check result of the data check value and the check bit, O i,i+1 represents the inner product of the vectors of data points i and i + 1 corresponding to the data check value and the check bit, β represents the balance coefficient corresponding to the data check value and the check bit, represents the vector norm of data point i corresponding to the data check value and the check bit, represents the vector norm of data point i + 1 corresponding to the data check value and the check bit, H i,i+1 represents the vector distance value between data points i and i + 1, and i and i + 1 respectively represent the serial numbers corresponding to the data check value and the check bit; According to the consistency check result, analyze the error nature and error severity of the eMMC interface data; Set a multi-level parity check mechanism for the eMMC interface data based on the error nature and the error severity; A data error correction module, configured to perform error correction processing on the eMMC interface data by combining the error tracking network, the potential error trend, and the multi-level parity check mechanism to obtain an error correction result.

Citation Information

Patent Citations

  • Data processing method, memory storage device and memory control circuit unit

    CN107305510A

  • Error correction code circuit, storage device including error correction code circuit, and operation method of error correction code circuit

    CN116168754A