Error correction method and system for realizing eMMC interface data by using parity check

By adopting parity technology and multi-level parity mechanism in eMMC interface data, combined with error tracking network, the problem of low efficiency in detection of random errors in the prior art is solved, and higher data accuracy and system stability are achieved.

CN119883716AActive Publication Date: 2025-04-25SHENZHEN YUANCHUANG STORAGE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing data error correction methods are inefficient when detecting random errors, and cannot accurately inform the location of the error, which affects the accuracy and usage efficiency of eMMC interface data.

Method used

By adopting parity verification technology, by analyzing the data value and error sensitivity of the data packet, setting the appropriate parity type, generating parity symbols, determining the verification data packet, and combining the error tracking network and multi-level parity verification mechanism for error correction processing.

Benefits of technology

It improves the accuracy and efficiency of eMMC interface data, can effectively detect random errors, reduce the risk of system failures and business interruptions, and improves system stability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883716A_ABST
    Figure CN119883716A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of digital signal processing, and discloses a method and system for realizing eMMC interface data error correction by using parity check, and the method comprises the steps: extracting a data package of eMMC interface data, and analyzing the data value and error sensitivity of the data package; setting a parity check type of the data packet, generating a parity check symbol of the data packet, and determining a check data packet of the eMMC interface data; performing error detection on the verification data packet to obtain an error detection result, and setting an error tracking network of the eMMC interface data; analyzing error influence factors of the historical error fields, and analyzing a 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 of the eMMC interface data; and in combination with an error tracking network, a potential error trend and a multi-level parity check mechanism, performing error correction processing on the eMMC interface data to obtain an error correction result. According to the method, random errors can be detected, and the accuracy and the use efficiency of eMMC interface data are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of digital signal processing, and in particular to a method and system for implementing error correction of eMMC interface data by utilizing parity check. Background Art

[0002] eMMC interface data refers to data transmitted through the embedded multimedia card interface. eMMC has the advantages of high integration, low power consumption and high performance. It is widely used in smart phones, tablets, digital TVs and other portable electronic devices. With the increasing complexity of mobile device functions and the increase in storage requirements, the error rate of data transmission has become an issue 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 method mainly uses 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 occurred. Moreover, due to its high computational complexity, it may not be suitable for detecting random errors, affecting the accuracy and usage efficiency of the eMMC interface data. Summary of the invention

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

[0005] In a first aspect, the present invention provides a method for implementing error correction of eMMC interface data using parity check, comprising: Acquire eMMC interface data to be corrected, extract a data packet of the eMMC interface data, analyze the data value of the data packet, and analyze the error sensitivity of the data packet based on the data value; According to the data value and the error sensitivity, a parity check type of the data packet is set, based on the parity check type, a parity check symbol of the data packet is generated, and according to the data packet and the parity check symbol, a check data packet of the eMMC interface data is determined; Performing error detection on the verification data packet to obtain an error detection result, and setting an error tracking network for the eMMC interface data based on the error detection result; Collecting historical error fields of the eMMC interface data, analyzing error influencing factors of the historical error fields, and analyzing potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields; Based on the data value, identifying the data level of the eMMC interface data, and setting a multi-level parity check mechanism for the eMMC interface data according to the data level; In combination with the error tracking network, the potential error trend and the multi-level parity check mechanism, error correction processing is performed on the eMMC interface data to obtain an error correction result.

[0006] In a possible implementation manner of the first aspect, analyzing 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; Identify the data accuracy corresponding to the data usage; Analyzing the impact of errors on the use of the data based on the accuracy of the data; Identify the data type of the data packet, and calculate the error tolerance corresponding to the data type using the following formula: ; 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 proportion of uncorrected errors in the data type; Based on the error impact and the error tolerance, the error sensitivity of the data packet is analyzed.

[0007] In a possible implementation manner of the first aspect, setting the parity type of the data packet according to the data value and the error sensitivity includes: identifying a data class of the data packet based on the data value and the error sensitivity; Extracting the data field of the data packet, and collecting historical error data corresponding to the data field; analyzing data error patterns of the historical error data; identifying an error checking effect of the data error pattern; analyzing data characteristics of the data packet, and identifying a current degree of applicability of the error checking effect based on the data characteristics; Analyzing the data transmission environment of the data packet according to the current applicability; The parity check type of the data packet is set in combination with the data error mode, the data level and the data transmission environment.

[0008] In a possible implementation manner of the first aspect, determining a check data packet of the eMMC interface data according to the data packet and the parity check symbol includes: identifying a 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 relation factor; Based on the symbol position, identifying a data payload and an end marker of the data packet; According to the end identifier, identifying the data frame header of the data packet; In combination with the data payload, the end identifier, the data frame header and the symbol position, a verification data packet of the eMMC interface data is determined.

[0009] In a possible implementation manner of the first aspect, setting an error tracking network for the eMMC interface data based on the error detection result includes: Based on the error detection result, identifying an error field of the eMMC interface data; Setting a data recorder for the error field, and extracting data error features of the error field according to the data recorder; Based on the data error characteristics, setting an abnormal alarm line for the eMMC interface data; Extracting the associated field of the error field from the eMMC interface data; Setting an association tracking mechanism between the association field and the error field; In combination with the data recorder, the abnormal alarm line and the associated tracking mechanism, an error tracking network for the eMMC interface data is set up.

[0010] In a possible implementation manner of the first aspect, analyzing the error influencing factors of the historical error field includes: Identify 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; Based on the data change trend, identifying potential influencing factors of the historical error field; Calculating the degree of association between the potential influencing factor and the historical error field; According to the correlation degree, error influencing factors of the historical error field are analyzed.

[0011] In a possible implementation manner of the first aspect, analyzing the potential error trend of the eMMC interface data according to the error influencing factor and the historical error field includes: Based on the historical error field, identifying error characteristics of the eMMC interface data; Extracting the factor type of the error influencing factor according to the error characteristics; calculating a correlation coefficient between the error characteristic and the factor type; Analyzing the cause-effect relationship between the error characteristics and the factor types; Based on the correlation coefficient and the causal relationship, extract key characteristic parameters of the error characteristics, and extract key factor attributes of the factor type; The potential error trend of the eMMC interface data is analyzed according to the key characteristic parameters and the key factor attributes.

[0012] In a possible implementation manner of the first aspect, setting a multi-level parity check mechanism for the eMMC interface data according to the data level includes: According to the data level, setting the parity level of the eMMC interface data; Identify the check mode corresponding to the parity check level; Based on the verification method, extracting the check bit of the eMMC interface data; Identify the data operation phase of the eMMC interface data, and extract the data check value of the data operation phase; The data check value and the check bit are checked for consistency using the following formula to obtain a consistency check result: ; Wherein, M represents the consistency check result between the data check value and the check bit, Represents the vector inner product of the data point i and data point i+1 corresponding to the data check value and the check bit, Indicates the balance coefficient corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i+1 corresponding to the data check value and the check bit, represents the vector distance value between data point i and data point i+1, i and i+1 represent the data check value and the serial number corresponding to the check bit respectively; Analyze the error nature and error severity of the eMMC interface data according to the consistency check result; Based on the error nature and the error severity, a multi-level parity check mechanism for the eMMC interface data is set.

[0013] In a possible implementation of the first aspect, the error correction processing is performed on the eMMC interface data in combination with the error tracking network, the potential error trend, and the multi-level parity check mechanism to obtain an error correction result, including: Based on the error tracking network, error data of the eMMC interface data is collected, and an error position of the error data is located; According to the potential error trend, identifying the data change pattern of the error data; Based on the data change law, extracting data change characteristics of the erroneous data; According to the error location and the data characteristics, setting a mechanism switching condition of the multi-level parity check mechanism; Based on the mechanism switching condition, identifying a check mechanism type of the multi-level parity check mechanism; According to the verification mechanism type, setting the correction method of the erroneous data; 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.

[0014] In a second aspect, the present invention provides an error correction system for implementing eMMC interface data using parity check, characterized in that the system comprises: A data analysis module, used to obtain the eMMC interface data to be corrected, extract a data packet of the eMMC interface data, analyze the data value of the data packet, and analyze the error sensitivity of the data packet based on the data value; A check setting module, used 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; An error tracking module, used for performing error detection on the verification data packet to obtain an error detection result, and setting an error tracking network for the eMMC interface data based on the error detection result; A rule analysis module, used for collecting historical error fields of the eMMC interface data, analyzing error influencing factors of the historical error fields, and analyzing potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields; A multi-level parity check module, used to identify the 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; The data error correction module is used to perform error correction processing on the eMMC interface data in combination with the error tracking network, the potential error trend and the multi-level parity check mechanism to obtain an error correction result.

[0015] Compared with the prior art, the technical principle and beneficial effects of the above solution are: The embodiment of the present invention can help determine the parity level, reduce the calculation and storage cost of data, and optimize resource allocation by analyzing the data value and error sensitivity of the data packet; further, the embodiment of the present invention can balance the performance and resource consumption of the system by setting the parity type of the data packet according to the data value and the error sensitivity. At the same time, the use of appropriate parity can improve the reliability of the system and reduce the risk of system failure and business interruption caused by data errors. By generating parity symbols for the data packet, errors occurring during data transmission or storage can be detected, the impact of errors on the system can be reduced, and the accumulation and propagation of errors can be avoided; secondly, the embodiment of the present invention can quickly locate the source of the fault by setting an error tracking network for the eMMC interface data based on the error detection result, help technicians diagnose and repair the fault, and improve the stability and efficiency of the system; thirdly, the embodiment of the present invention can help identify the specific cause of the data error by analyzing the error influencing factors of the historical error field, reduce the occurrence of future errors, and according to the error influencing factors and the historical errors field, analyzes the potential error trend of the eMMC interface data, and can take preventive measures in advance to reduce the possibility of future errors, reduce the cost of retransmission, repair and maintenance work caused by errors, and also help maintain the integrity and accuracy of the data; the embodiment of the present invention sets the multi-level parity check mechanism of the eMMC interface data according to the data level, which 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 damage or loss; finally, the embodiment of the present invention performs 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 and enhance the reliability and stability of the system. At the same time, the multi-level parity check mechanism can adjust the check strength according to the actual needs of the data to achieve refined control of the data. Combined with the error tracking network and error trend analysis, it can quickly respond to errors, reduce the time of error propagation and processing, and take measures to prevent errors in advance according to the error trend analysis, thereby reducing the overall error rate. Therefore, the present invention proposes an error correction method for eMMC interface data using parity check, which can detect random errors and improve the accuracy and utilization efficiency of eMMC interface data. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A schematic flow chart of a method for implementing an error correction method for eMMC interface data using parity check provided by an embodiment of the present invention; Figure 2 A schematic diagram of a module of an error correction system for eMMC interface data using parity check provided by an embodiment of the present invention. DETAILED DESCRIPTION

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

[0020] The embodiment of the present invention provides an error correction method for eMMC interface data using parity check, and the execution subject of the error correction method for eMMC interface data using parity check includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present invention. In other words, the error correction method for eMMC interface data using parity check can be executed by software or hardware installed on 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 it can be 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 networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0021] See also Figure 1 FIG. 1 is a flow chart of a method for implementing an error correction method of eMMC interface data using parity check according to an embodiment of the present invention. Figure 1 A method for implementing error correction of eMMC interface data using parity check described in the specification includes: S1. Obtain eMMC interface data to be corrected, extract a data packet of the eMMC interface data, analyze a data value of the data packet, and analyze an error sensitivity of the data packet based on the data value.

[0022] The embodiment of the present invention can provide data support for subsequent data error correction by acquiring eMMC interface data to be corrected and extracting a data packet of the eMMC interface data, where the data packet refers to a formatted data unit of the eMMC interface data transmitted in a network.

[0023] Optionally, the data packet extraction of the eMMC interface data can be implemented using the eMMC protocol.

[0024] Furthermore, the embodiments of the present invention can determine the verification strength and reduce the computing and storage costs of the data by analyzing the data value of the data packet. The data value refers to the value and criticality of the data in a specific application, business process or decision.

[0025] Optionally, the data value of the data packet can be realized by utilizing the user's demand for and dependence on the data.

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

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

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

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

[0030] In an optional embodiment of the present invention, the error tolerance corresponding to the data type is calculated using the following formula: ; 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 proportion of uncorrected errors in the data type.

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

[0032] The embodiment of the present invention can balance the performance and resource consumption of the system by setting the parity type of the data packet according to the data value and the error sensitivity. At the same time, the use of appropriate parity can improve the reliability of the system and reduce the risk of system failure and business interruption caused by data errors. The parity type refers to the basic error detection method used in data transmission and storage, including odd check and even check.

[0033] 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 historical error data corresponding to the data field; analyzing the data error pattern of the historical error data; identifying the error checking effect of the data error pattern; analyzing the data characteristics of the data packet, and based on the data characteristics, identifying the current applicability of the error checking effect; analyzing the data transmission environment of the data packet according to the current applicability; 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.

[0034] Among them, the data level refers to the classification of data according to its importance and error sensitivity, the data field refers to a specific data element in a data packet, such as a column in a database table, the historical error data refers to a record of errors that occurred in the past during data transmission or processing, including error type, error frequency and error context, the data error pattern refers to the law or trend of error occurrence analyzed from 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, and the data transmission environment refers to the network environment in which the data is located during the transmission process, including network stability, bandwidth, latency, etc.

[0035] Optionally, the data field extraction of the data packet can be achieved using metadata, the data error pattern analysis of the historical error data can be obtained through a machine learning model, and the error checking effect identification of the data error pattern can be achieved using a simulated error checking experiment.

[0036] Furthermore, the embodiment of the present invention can detect errors occurring during data transmission or storage by generating a parity check symbol for the data packet based on the parity check type, 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 that detects whether an error occurs during data transmission or storage.

[0037] Optionally, the generation of parity symbols for the data packet based on the parity type may be implemented using an exclusive-OR operation.

[0038] The embodiment of the present invention determines the check data packet of the eMMC interface data according to the data packet and the parity check symbol, thereby verifying whether the data is accidentally changed during the transmission process and ensuring data integrity. The check data packet refers to a data unit containing actual data and additional check information, including a data header, a data body, an additional check bit, a data tail, etc.

[0039] As an embodiment of the present invention, determining the verification data packet of the eMMC interface data based on 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 based on the relationship factor; based on the symbol position, identifying the data payload and end identifier of the data packet; based on the end identifier, identifying the data frame header of the data packet; and determining the verification data packet of the eMMC interface data in combination with the data payload, the end identifier, the data frame header and the symbol position.

[0040] 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 attached 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 data part actually transmitted in the data packet, the end mark refers to the mark at the end of the data packet, and the data frame header refers to the beginning part of the data packet, such as synchronization signal, address information, control field, etc.

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

[0042] S3. Perform error detection on the verification 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.

[0043] The embodiment of the present invention performs error detection on the verification data packet to obtain an error detection result, which can help locate the source of the problem, facilitate fault diagnosis and repair, and avoid invalid data processing and optimize resource utilization by timely discovering errors. The error detection result refers to the conclusion drawn after error detection on the data packet, such as no error, partial error, etc.

[0044] Optionally, the error detection of the verification data packet may be implemented using a parity check.

[0045] Furthermore, the embodiment of the present invention can quickly locate the source of the fault by setting up an error tracking network for the eMMC interface data based on the error detection result, help technicians diagnose and repair the fault, and improve 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.

[0046] As an embodiment of the present invention, the error tracking network of the eMMC interface data is set based on the error detection result, including: 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 data error characteristics of the error field according to the data recorder; setting an abnormal alarm line of the eMMC interface data based on the data error characteristics; extracting an associated field of the error field from the eMMC interface data; setting an associated tracking mechanism between the associated field and the error field; and setting an error tracking network for the eMMC interface data in combination with the data recorder, the abnormal alarm line and the associated tracking mechanism.

[0047] Among them, the error field refers to the specific data part in which an error is detected in the eMMC interface data packet, the data recorder refers to a tool for recording the error field and other related 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 basic line 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.

[0048] Optionally, based on the error detection result, the error field identification of the eMMC interface data can be implemented using an error detection algorithm, such as a CRC algorithm, the data recorder setting of the error field can be obtained through a built-in log system, and the association tracking mechanism setting of the associated field and the error field can be implemented using a database management system to develop a tracking algorithm, such as a MySQL system.

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

[0050] The embodiment of the present invention can identify the frequency, type and mode of error occurrence by collecting the historical error field of the eMMC interface data, and then predict the error trend that may occur in the future, so as to take corresponding measures to improve the integrity and accuracy of the data. The historical error field refers to the record of errors that occurred in the past during data transmission or processing, including error type, error frequency and error context.

[0051] Optionally, the historical error field collection of the eMMC interface data may be implemented using a data packet analyzer.

[0052] Furthermore, the embodiments of the present invention can help identify the specific causes of data errors and reduce the occurrence of future errors by analyzing the error influencing factors of the historical error field. The error influencing factors refer to various factors that may cause data errors or affect data integrity and accuracy, such as hardware failures, operational errors, signal interference, etc.

[0053] As an embodiment of the present invention, the analysis of 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 potential influencing factors of the historical error field based on the data change trend; calculating the degree of association between the potential influencing factors and the historical error field; and analyzing the error influencing factors of the historical error field according to the degree of association.

[0054] Among them, the field type refers to the data type or classification of each field in the data set, such as numeric type, string type, date and time type, etc. The error form refers to the specific type of error in the data, such as format error, data overflow, type mismatch, illegal value, etc. The data change trend refers to the pattern and regularity of historical error fields changing over time or other variables, such as the frequency of errors, 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, operational errors, etc. The degree of association refers to the correlation between potential influencing factors and historical error fields or the strength of the causal relationship.

[0055] Optionally, the error form identification of the historical error field can be implemented by utilizing the error log generated by the system or application, and the data change trend analysis of the historical error field based on the field type and the error form can be obtained through R software, and the calculation of the degree of correlation between the potential influencing factors and the historical error field can be implemented by utilizing the Spearman rank correlation formula.

[0056] The embodiment of the present invention analyzes the potential error trend of the eMMC interface data according to the error influencing factors and the historical error fields, so that preventive measures can be taken in advance to reduce the possibility of future errors, reduce the cost of retransmission, repair and maintenance work caused by errors, and also help maintain the integrity and accuracy of the data. The potential error trend refers to the error development direction or pattern that may occur in the future obtained by analyzing the historical error data and the current error influencing factors.

[0057] 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 field includes: identifying the error characteristics of the eMMC interface data based on the historical error field; extracting the factor type of the error influencing factor according to the error characteristics; calculating the correlation coefficient between the error characteristics and the factor type; analyzing the causal relationship between the error characteristics and the factor type; extracting the key characteristic parameters of the error characteristics based on the correlation coefficient and the causal relationship, and extracting the key factor attributes of the factor type; analyzing the potential error trend of the eMMC interface data according to the key characteristic parameters and the key factor attributes.

[0058] Among them, the error characteristic refers to the specific characteristics of the error extracted from the historical error field, such as the frequency of error occurrence; the factor type refers to the classification of various factors that may affect the error, such as hardware problems; the correlation coefficient refers to an indicator measuring the degree of linear correlation between the error characteristic and the factor type; the causal relationship refers to the logical connection between the factor type and the error characteristic; the key characteristic parameter refers to the parameter that best represents the error characteristic, such as the season with the highest frequency of errors; the key factor attribute refers to the attribute of the factor type that has the greatest impact on the error characteristic, such as a specific hardware model.

[0059] Optionally, the extraction of factor types of the error influencing factors based on the error characteristics can be determined by cluster analysis, the causal relationship analysis between the error characteristics and the factor types can be achieved using regression analysis, the extraction of key characteristic parameters of the error characteristics and key factor attributes of the factor types based on the correlation coefficient and the causal relationship can be obtained through feature dimensionality reduction, and the potential error trend analysis of the eMMC interface data based on the key characteristic parameters and the key factor attributes can be achieved using a neural network model.

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

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

[0062] Furthermore, the embodiment 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 to reduce the risk of data damage or loss. The multi-level parity check mechanism refers to a data verification strategy that applies parity checks of different strengths according to different data levels, such as enhanced parity check, CRC check, ECC check, etc.

[0063] As an embodiment of the present invention, the multi-level parity check mechanism for setting 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 bit of the eMMC interface data based on the check method; identifying the data operation phase of the eMMC interface data, and extracting the data check value of the data operation phase; performing a consistency check on the data check value and the check bit 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.

[0064] Among them, the parity check level refers to the check level with different degrees of 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 bit, such as odd check, even check, CRC, etc., the check bit refers to the extra bit attached to the data for error detection, the data operation stage refers to the different stages of data processing, such as writing, reading, transmission, etc., the data check value refers to the check value recalculated in the data operation stage according to the check method, the consistency check result refers to the result obtained by comparing the data check value and the stored check bit, the error nature refers to the characteristics of the error, such as single-bit error, multi-bit error, burst error, etc., and the error severity refers to the severity of the error.

[0065] Optionally, the identification of the check mode corresponding to the parity check level can be implemented by utilizing the error detection requirements of the parity check level, and the error nature and error severity analysis of the eMMC interface data can be obtained by utilizing the performance counters and event tracking tools provided by the CPU and the operating system.

[0066] In an optional embodiment of the present invention, the data check value and the check bit are checked for consistency using the following formula to obtain a consistency check result: ; Wherein, M represents the consistency check result between the data check value and the check bit, Represents the vector inner product of the data point i and data point i+1 corresponding to the data check value and the check bit, Indicates the balance coefficient corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i+1 corresponding to the data check value and the check bit, It represents the vector distance value between data point i and data point i+1, where i and i+1 represent the data check value and the serial number corresponding to the check bit respectively.

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

[0068] The embodiment of the present invention performs 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 and enhance the reliability and stability of the system. At the same time, the multi-level parity check mechanism can adjust the verification strength according to the actual needs of the data to achieve refined control of the data. In combination with the error tracking network and error trend analysis, it can quickly respond to errors, reduce the time for error propagation and processing, and take measures to prevent errors in advance according to the error trend analysis, 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.

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

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

[0071] Optionally, the error position location of the erroneous data can be achieved using an ECC error checking algorithm, the identification of the data change pattern of the erroneous data based on the potential error trend can be obtained through a time series analysis tool, and the setting of the correction method of the erroneous data based on the type of verification mechanism can be achieved using a custom development tool, such as a custom database.

[0072] It can be seen that the embodiment of the present invention can help determine the parity level, reduce the calculation and storage cost of data, and optimize resource allocation by analyzing the data value and error sensitivity of the data packet; further, the embodiment of the present invention can balance the performance and resource consumption of the system by setting the parity type of the data packet according to the data value and the error sensitivity. At the same time, the use of appropriate parity can improve the reliability of the system and reduce the risk of system failure and business interruption caused by data errors. By generating parity symbols for the data packet, errors occurring during data transmission or storage can be detected, the impact of errors on the system can be reduced, and the accumulation and propagation of errors can be avoided; secondly, the embodiment of the present invention can quickly locate the source of the fault by setting an error tracking network for the eMMC interface data based on the error detection result, help technicians diagnose and repair the fault, and improve the stability and efficiency of the system; thirdly, the embodiment of the present invention can help identify the specific cause of the data error by analyzing the error influencing factors of the historical error field, reduce the occurrence of future errors, and according to the error influencing factors and the historical Error field, analyzes the potential error trend of the eMMC interface data, can take preventive measures in advance, reduce the possibility of future errors, reduce the cost of retransmission, repair and maintenance work caused by errors, and also help maintain the integrity and accuracy of the data; the embodiment of the present invention sets the multi-level parity check mechanism of the eMMC interface data according to the data level, can adapt to the detection requirements of different data, optimize resource usage, and at the same time, the multi-level parity check mechanism can provide an additional security layer to reduce the risk of data damage or loss; finally, the embodiment of the present invention combines 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, which can more effectively manage and reduce errors and enhance the reliability and stability of the system. At the same time, the multi-level parity check mechanism can adjust the check strength according to the actual needs of the data, realize the refined control of the data, combine the error tracking network and the error trend analysis, can quickly respond to errors, reduce the time of error propagation and processing, and take measures to prevent errors in advance according to the error trend analysis, thereby reducing the overall error rate. Therefore, the present invention proposes an error correction method for eMMC interface data using parity check, which can detect random errors and improve the accuracy and utilization efficiency of eMMC interface data.

[0073] like Figure 2 As shown, it is a system functional module diagram of the present invention that utilizes parity check to implement error correction of eMMC interface data.

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

[0075] In the embodiment of the present invention, the functions of each module / unit are as follows: The data analysis module 201 is used to obtain the eMMC interface data to be corrected, extract the data packet of the eMMC interface data, analyze the data value of the data packet, and analyze the error sensitivity of the data packet based on the data value; A check setting module 202, configured to set a 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; An error tracking module 203 is used to perform error detection on the verification data packet to obtain an error detection result, and to set an error tracking network for the eMMC interface data based on the error detection result; A rule analysis module 204 is used to collect historical error fields of the eMMC interface data, analyze error influencing factors of the historical error fields, and analyze potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields; A multi-level parity check module 205, for identifying the data level of the eMMC interface data based on the data value, and setting a multi-level parity check mechanism for the eMMC interface data according to the data level; The data error correction module 206 is used to perform error correction processing on the eMMC interface data in combination with the error tracking network, the potential error trend and the multi-level parity check mechanism to obtain an error correction result.

[0076] In detail, the modules in the error correction system 200 for implementing eMMC interface data using parity check in the embodiment of the present invention are used in the same manner as described above. Figure 1 The same technical means as the method for implementing error correction of eMMC interface data using parity check described in the specification and can produce the same technical effect are not repeated here.

[0077] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0078] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0079] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0080] It should be noted that, in this article, 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 terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0081] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may 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 should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for error correction of eMMC interface data using parity check, characterized in that: The method comprises: Acquire eMMC interface data to be corrected, extract a data packet of the eMMC interface data, analyze the data value of the data packet, and analyze the error sensitivity of the data packet based on the data value; According to the data value and the error sensitivity, a parity check type of the data packet is set, based on the parity check type, a parity check symbol of the data packet is generated, and according to the data packet and the parity check symbol, a check data packet of the eMMC interface data is determined; Performing error detection on the verification data packet to obtain an error detection result, and setting an error tracking network for the eMMC interface data based on the error detection result; Collecting historical error fields of the eMMC interface data, analyzing error influencing factors of the historical error fields, and analyzing potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields; Based on the data value, identifying the data level of the eMMC interface data, and setting a multi-level parity check mechanism for the eMMC interface data according to the data level; In combination with the error tracking network, the potential error trend and the multi-level parity check mechanism, error correction processing is performed on the eMMC interface data to obtain an error correction result.

2. The method according to claim 1, characterized in that The step of analyzing 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; Identify the data accuracy corresponding to the data usage; Analyzing the impact of errors on the use of the data based on the accuracy of the data; Identify the data type of the data packet, and calculate the error tolerance corresponding to the data type using the following formula: ; 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 proportion of uncorrected errors in the data type; Based on the error impact and the error tolerance, the error sensitivity of the data packet is analyzed.

3. The method according to claim 1, characterized in that The step of setting the parity check type of the data packet according to the data value and the error sensitivity includes: identifying a data class of the data packet based on the data value and the error sensitivity; Extracting the data field of the data packet, and collecting historical error data corresponding to the data field; analyzing data error patterns of the historical error data; identifying an error checking effect of the data error pattern; analyzing data characteristics of the data packet, and identifying a current degree of applicability of the error checking effect based on the data characteristics; Analyzing the data transmission environment of the data packet according to the current applicability; The parity check type of the data packet is set in combination with the data error mode, the data level and the data transmission environment.

4. The method according to claim 1, characterized in that: The step of determining a check data packet of the eMMC interface data according to the data packet and the parity check symbol comprises: identifying a 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 relation factor; Based on the symbol position, identifying a data payload and an end marker of the data packet; According to the end identifier, identifying the data frame header of the data packet; In combination with the data payload, the end identifier, the data frame header and the symbol position, a verification data packet of the eMMC interface data is determined.

5. The method according to claim 1, characterized in that The step of setting an error tracking network for the eMMC interface data based on the error detection result includes: Based on the error detection result, identifying an error field of the eMMC interface data; Setting a data recorder for the error field, and extracting data error features of the error field according to the data recorder; Based on the data error characteristics, setting an abnormal alarm line for the eMMC interface data; Extracting the associated field of the error field from the eMMC interface data; Setting an association tracking mechanism between the association field and the error field; In combination with the data recorder, the abnormal alarm line and the associated tracking mechanism, an error tracking network for the eMMC interface data is set up.

6. The method according to claim 1, characterized in that The analyzing the error influencing factors of the historical error field includes: Identify 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; Based on the data change trend, identifying potential influencing factors of the historical error field; Calculating the degree of association between the potential influencing factor and the historical error field; According to the correlation degree, error influencing factors of the historical error field are analyzed.

7. The method according to claim 1, characterized in that The analyzing the potential error trend of the eMMC interface data according to the error influencing factors and the historical error fields includes: Based on the historical error field, identifying error characteristics of the eMMC interface data; Extracting the factor type of the error influencing factor according to the error characteristics; calculating a correlation coefficient between the error characteristic and the factor type; Analyzing the cause-effect relationship between the error characteristics and the factor types; Based on the correlation coefficient and the causal relationship, extract key characteristic parameters of the error characteristics, and extract key factor attributes of the factor type; The potential error trend of the eMMC interface data is analyzed according to the key characteristic parameters and the key factor attributes.

8. The method according to claim 1, characterized in that The step of setting a multi-level parity check mechanism for the eMMC interface data according to the data level includes: According to the data level, setting the parity level of the eMMC interface data; Identify the check mode corresponding to the parity check level; Based on the verification method, extracting the check bit of the eMMC interface data; Identify the data operation phase of the eMMC interface data, and extract the data check value of the data operation phase; The data check value and the check bit are checked for consistency using the following formula to obtain a consistency check result: ; Wherein, M represents the consistency check result between the data check value and the check bit, Represents the vector inner product of the data point i and data point i+1 corresponding to the data check value and the check bit, Indicates the balance coefficient corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i corresponding to the data check value and the check bit, Represents the vector modulus length of the data point i+1 corresponding to the data check value and the check bit, represents the vector distance value between data point i and data point i+1, i and i+1 represent the data check value and the serial number corresponding to the check bit respectively; Analyze the error nature and error severity of the eMMC interface data according to the consistency check result; Based on the error nature and the error severity, a multi-level parity check mechanism for the eMMC interface data is set.

9. The method according to claim 1, characterized in that: The error tracking network, the potential error trend and the multi-level parity check mechanism are combined to perform error correction processing on the eMMC interface data to obtain an error correction result, including: Based on the error tracking network, error data of the eMMC interface data is collected, and an error position of the error data is located; According to the potential error trend, identifying the data change pattern of the error data; Based on the data change law, extracting data change characteristics of the erroneous data; According to the error location and the data characteristics, setting a mechanism switching condition of the multi-level parity check mechanism; Based on the mechanism switching condition, identifying a check mechanism type of the multi-level parity check mechanism; According to the verification mechanism type, setting the correction method of the erroneous data; 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.

10. An error correction system for eMMC interface data using parity check, characterized in that: The system comprises: A data analysis module, used to obtain the eMMC interface data to be corrected, extract a data packet of the eMMC interface data, analyze the data value of the data packet, and analyze the error sensitivity of the data packet based on the data value; A check setting module, used 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; An error tracking module, used for performing error detection on the verification data packet to obtain an error detection result, and setting an error tracking network for the eMMC interface data based on the error detection result; A rule analysis module, used for collecting historical error fields of the eMMC interface data, analyzing error influencing factors of the historical error fields, and analyzing potential error trends of the eMMC interface data according to the error influencing factors and the historical error fields; A multi-level parity check module, used to identify the 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; The data error correction module is used to perform error correction processing on the eMMC interface data in combination with 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

  • Dynamic data packet error correction method and system for electric vehicle cloud service

    CN118523874A

  • Method, device and equipment for multiplexing SDIO interface and eMMC interface and storage medium

    CN119179663A

  • Command and data path error protection

    US20240134746A1