Non-volatile storage data protection systems, extraction protection systems, methods, and apparatus

By introducing multi-layered data protection mechanisms and error correction algorithms into non-volatile storage systems, the problem of data errors in non-volatile memory is solved, improving data integrity and system reliability, and enhancing vehicle safety performance and user experience.

CN122111745APending Publication Date: 2026-05-29CCORE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CCORE TECH CO LTD
Filing Date
2025-12-15
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Data in non-volatile memory is prone to errors due to environmental factors and hardware aging, which can affect vehicle safety performance and user experience.

Method used

A multi-layered data protection mechanism is adopted, including a bus function safety mechanism, a data transfer module transfer function safety mechanism, a non-volatile memory controller storage function safety mechanism, and a non-volatile memory storage function safety mechanism. Multiple detection and correction are performed through parity checking and error correction algorithms.

Benefits of technology

It improves data integrity and reliability, enhances system security and reliability, and improves vehicle safety performance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111745A_ABST
    Figure CN122111745A_ABST
Patent Text Reader

Abstract

The application discloses a non-volatile storage data protection system, extraction protection system, method and equipment, and belongs to the technical field of chip function safety and data protection. The system comprises a bus, a data transfer module, a non-volatile storage controller and a non-volatile storage. The data transfer module performs first checking on whether a bus function safety mechanism is faulty, performs first adding on bus data, adds a transfer function safety mechanism into the bus data, and obtains transfer data. The non-volatile storage controller performs second checking on whether the transfer function safety mechanism is faulty, performs second adding on the transfer data, adds a storage function safety mechanism of a non-volatile memory into the transfer data, and obtains storage data. The non-volatile storage stores the storage data. The application uses multiple data protection mechanisms to perform multiple detection protection on data, so as to guarantee the data protection degree and the overall performance of the system, enhance the safety and reliability of the system, and further improve the safety performance of the vehicle and the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of chip functional safety and data protection technology, and in particular to a non-volatile storage data protection system, extraction protection system, method and apparatus. Background Technology

[0002] As automotive electronic systems become increasingly complex, the functional safety of automotive-grade chips becomes particularly important, especially in modules involving critical control and data processing, where ensuring data integrity and reliability is paramount.

[0003] Non-volatile memory is used to store critical configuration data, calibration parameters, and fault logs. The integrity and reliability of this data directly impact vehicle safety and user experience. However, due to environmental factors (such as temperature variations and electromagnetic interference) and hardware aging, data in non-volatile memory may become corrupted. Therefore, effective data protection mechanisms are needed to detect these errors. Summary of the Invention

[0004] To address the problem that errors in stored data in existing technologies can affect vehicle safety performance and user experience, this application mainly provides a non-volatile storage data protection system, retrieval protection system, method, and device.

[0005] To achieve the above objectives, the first technical solution adopted in this application is: an automotive-grade non-volatile storage data protection system, comprising: a bus; a data transfer module, which performs a first check on whether the bus functional safety mechanism of the bus data received from the bus is erroneous, obtains first functional safety feedback information, and, in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not erroneous, performs a first appending to the bus data, appending the transfer functional safety mechanism of the data transfer module itself to the bus data, thereby obtaining transfer data; a non-volatile storage controller, which performs a second check on whether the transfer functional safety mechanism is erroneous, obtains second functional safety feedback information, and, in response to determining that the second functional safety feedback information indicates that the transfer functional safety mechanism is not erroneous, performs a second appending to the transfer data, appending the storage functional safety mechanism of the non-volatile storage itself to the transfer data, thereby obtaining stored data; and a non-volatile storage, which stores the stored data.

[0006] Optionally, the data transfer module includes a parity check unit, which performs a first check using a parity check method.

[0007] Optionally, the automotive-grade non-volatile storage data protection system includes: an error correction unit that uses an error correction algorithm to perform a first attachment, a second check, and a second attachment.

[0008] Optionally, the error correction unit includes: a basic error correction unit, which performs a first addition and a second check using a basic error correction algorithm; and a dedicated error correction unit, which performs a second addition using a dedicated error correction algorithm.

[0009] The second technical solution adopted in this application is: an automotive-grade non-volatile storage data retrieval and protection system, comprising: a bus that sends data request information; a non-volatile memory that, in response to receiving the data request information, sends stored data to a non-volatile storage controller; a non-volatile storage controller that performs a third check on whether the storage function safety mechanism of the stored data is faulty, obtains third function safety feedback information, and, in response to determining that the third function safety feedback information indicates that the storage function safety mechanism is not faulty, performs a first appending to the stored data, appending the relay function safety mechanism of the data relay module itself to the stored data, obtaining relay return data; a data relay module that performs a second check on whether the relay function safety mechanism of the relay return data is faulty, obtains fourth function safety feedback information, and, in response to determining that the fourth function safety feedback information indicates that the relay function safety mechanism is not faulty, performs a third appending to the relay return data, appending the bus function safety mechanism of the bus itself to the relay return data, obtaining bus return data.

[0010] Optionally, the automotive-grade non-volatile storage data retrieval and protection system includes a dedicated error correction unit that performs a third check using a dedicated error correction algorithm.

[0011] The third technical solution adopted in this application is: an operation method of an automotive-grade non-volatile storage data protection system, comprising: a first data security check step, performing a first check on whether the bus functional safety mechanism carried in the bus data received from the bus is erroneous, and obtaining first functional safety feedback information; a first functional safety mechanism attachment step, in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not erroneous, attaching a first attachment to the bus data, attaching the data transfer module's own transfer functional safety mechanism to the bus data, and obtaining transfer data; a second data security check step, performing a second check on whether the transfer functional safety mechanism is erroneous, and obtaining second functional safety feedback information; a second functional safety mechanism attachment step, in response to determining that the second functional safety feedback information indicates that the transfer functional safety mechanism is not erroneous, attaching a second attachment to the transfer data, attaching the non-volatile memory's own storage functional safety mechanism to the transfer data, and obtaining stored data; and a storage step, storing the stored data.

[0012] Optionally, the first data security check step includes: performing a first check using a parity check method to obtain first security feedback information.

[0013] Optionally, the second data security check step includes: performing a second check using a basic error correction algorithm to obtain second security feedback information.

[0014] The fourth technical solution adopted in this application is: a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the operation method of the automotive-grade non-volatile storage data protection system in Solution 3.

[0015] The beneficial effects that the technical solution of this application can achieve are: when applied, the technical solution of this application uses multiple data protection mechanisms to perform multiple detection and protection on the data, thereby ensuring the level of data protection and the overall performance of the system, enhancing the security and reliability of the system, and thus improving the safety performance of the vehicle and the user experience. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic diagram of a specific embodiment of an automotive-grade non-volatile storage data protection system according to this application; Figure 2 This is a flowchart illustrating the process of bus data entering non-volatile memory in an automotive-grade non-volatile memory data protection system according to this application. Figure 3 This is a flowchart of the data return bus processing of a vehicle-grade non-volatile storage data retrieval and protection system according to this application; Figure 4 This is a flowchart of a specific embodiment of the operation method of an automotive-grade non-volatile storage data protection system according to this application.

[0018] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0019] The preferred embodiments of this application will now be described in detail with reference to the accompanying drawings, so that the advantages and features of this application can be more easily understood by those skilled in the art, thereby providing a clearer and more definite definition of the scope of protection of this application.

[0020] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0021] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. The specific embodiments described below can be combined with each other to form new embodiments. The same or similar ideas or processes described in one embodiment may not be repeated in other embodiments.

[0022] Figure 1 This is a schematic diagram of a specific embodiment of an automotive-grade non-volatile storage data protection system according to this application.

[0023] Figure 1 The automotive-grade non-volatile storage data protection system shown includes: a bus 101 for sending bus security data to a data transfer module.

[0024] In one specific embodiment of this application, bus 101 can be a common channel shared by all components in an electronic system for transmitting data, addresses, and control signals. Bus 101 can be used to send bus data to a data relay module. Bus 101 can attach its built-in functional safety mechanisms to the received data to generate bus data for transmission to the data relay module. As an example, the functional safety mechanisms built into bus 101 can include at least one of the following: advanced error detection codes, protocol logic protection, end-to-end protection, and physical / temporal redundancy. For example, bus 101 can attach an incrementing sequence number to each transmitted data frame. Data relay module 102 can check whether the sequence numbers are consecutive to detect whether data is lost or duplicated.

[0025] Figure 1The automotive-grade non-volatile storage data protection system shown includes: a data transfer module 102, which performs a first check on whether the bus functional safety mechanism carried in the bus data received from the bus is faulty, obtains first functional safety feedback information, and in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not faulty, performs a first appending to the bus data, appending the transfer functional safety mechanism of the data transfer module itself to the bus data, and obtains transfer data.

[0026] In one specific embodiment of this application, the data relay module 102 can be a core hub responsible for receiving, processing, routing and forwarding data between different subsystems, networks or devices.

[0027] The data transfer module 102 performs a first check on the bus functional safety mechanism of the bus data received from the bus to determine if there are any errors, and obtains first functional safety feedback information. This can be understood as the data transfer module 102 performing a first check on the bus functional safety mechanism using the bus safety mechanism detection method corresponding to the bus functional safety mechanism. For example, when bus 101 uses a sequence counter as the bus functional safety mechanism, that is, an incrementing sequence number is appended to each transmitted data frame. The data transfer module 102 can check whether the sequence numbers are consecutive to detect whether data is lost or duplicated. As another example, when bus 101 uses physical redundancy as the functional safety mechanism, that is, safety-critical data (such as braking and steering commands) is transmitted simultaneously through two independent physical buses. The data transfer module 102 can compare the safety-critical data of the two independent physical buses to detect whether data is lost or duplicated. The first safety feedback information can be information characterizing whether the bus functional safety mechanism has resulted in data loss or duplication during transmission from the bus to the data transfer module.

[0028] In response to the determination that the first functional safety feedback information indicates that the bus functional safety mechanism is error-free, the bus data is appended with its own relay functional safety mechanism to obtain relay data. This can be understood as the data relay module 102 attaching its own relay functional safety mechanism to the bus data to generate relay data for transmission to the non-volatile memory controller 103. As an example, the data relay module 102's own relay functional safety mechanism may include at least one of the following: data passability check, timing monitoring, routing and address verification, and internal storage protection. Specifically, the data relay module 102 can remove the security label from the bus data to obtain clean data. Then, the data relay module 102 can generate a security label corresponding to the data relay module based on the clean data. For example, CRC (Cyclic Redundancy Check) or checksum can be used to calculate a fixed-length check value (e.g., a 32-bit CRC value) on the clean data. Finally, the data transfer module 102 can write clean data into the security tag corresponding to the data transfer module to obtain the transferred data, and then pass it to the non-volatile storage controller 103.

[0029] Figure 1 The automotive-grade non-volatile storage data protection system shown includes: a non-volatile storage controller 103, which performs a second check on whether the transfer function safety mechanism is faulty, obtains second function safety feedback information, and in response to determining that the second function safety feedback information indicates that the transfer function safety mechanism is not faulty, performs a second append to the transfer data, appending the storage function safety mechanism of the non-volatile storage itself to the transfer data, thereby obtaining the stored data.

[0030] In one specific embodiment of this application, the non-volatile memory controller 103 may be an integrated circuit for managing and controlling non-volatile memory.

[0031] A second check is performed to determine if the relay function safety mechanism is faulty, resulting in second functional safety feedback information. This can be understood as the non-volatile storage controller 103 checking the received relay function safety mechanism using the corresponding relay safety mechanism detection method. For example, when the data relay module 102 uses cyclic redundancy check (CRC) as the functional safety mechanism, it calculates a fixed-length checksum using CRC or checksum on clean data, writes the clean data, and obtains secure relay data. The non-volatile storage controller 103 can use the same CRC algorithm as the data relay module to recalculate the relay data, matching the calculated CRC with the CRC tag sent by the data relay module to detect whether the data is lost or duplicated. If they match, the data is not lost or duplicated; if they do not match, the data is lost or duplicated. The second security feedback information indicates whether the relay function safety mechanism has resulted in data loss or duplication during transmission from the data relay module to the non-volatile storage controller.

[0032] In response to the determination that the second functional safety feedback information indicates that the relay functional safety mechanism is error-free, a second appending is performed on the relay data, attaching the non-volatile memory's own storage functional safety mechanism to the relay data to obtain the stored data. This can be understood as the non-volatile memory controller 103 attaching its own storage functional safety mechanism to the relay data to generate relay data that is sent to the non-volatile memory 104. As an example, the non-volatile memory 104's own storage functional safety mechanism may include at least one of the following: write / read verification, write protection mechanism, wear leveling, atomic operation, and consistency management. Specifically, the non-volatile memory controller 103 can strip the security label from the relay data to obtain clean data. Then, the non-volatile memory controller 103 can generate a security label corresponding to the non-volatile memory based on the clean data. For example, the non-volatile memory controller 103 can use the LDPC (Low-Density Parity-Check) algorithm to calculate an error correction code for the data as the security label corresponding to the non-volatile memory. Finally, the non-volatile memory controller 103 can write clean data into the security tag corresponding to the non-volatile memory to obtain the non-volatile memory security data, and then transfer it to the non-volatile memory 104.

[0033] Figure 1 The automotive-grade non-volatile storage data protection system shown includes: a non-volatile memory 104, which stores the stored data.

[0034] In one specific embodiment of this application, the non-volatile memory 104 can receive and store storage data sent by the non-volatile memory controller.

[0035] Optional, such as Figure 1 and Figure 2 As shown, the data transfer module 102 includes a parity check unit, which performs a first check using a parity check method. Specifically, firstly, the bus can calculate the number of "1"s in the data. Then, the bus can set a parity bit according to the check rules. Finally, the bus can append the parity bit to the data bits. Correspondingly, the parity check unit can recalculate the number of "1"s in the data. Then, the parity check unit can combine the parity bit to determine whether the data is erroneous. In response to determining that the bus functional safety mechanism verification passes, the bus safety information is determined as the first safety feedback information. In response to determining that the bus functional safety mechanism verification fails, the error feedback information is determined as the first safety feedback information. Specifically, the bus safety information can be information indicating that the bus functional safety mechanism has not lost or duplicated information during the bus transmission to the data transfer module. The error feedback information can be information indicating that the bus functional safety mechanism has lost or duplicated information during the bus transmission to the data transfer module. Therefore, the parity check unit can verify the bus security data, alerting the user to errors for correction when they are detected, and proceeding with the next transmission task only when no errors are found. This ensures data security.

[0036] Optional, such as Figure 1 and Figure 2 As shown, the automotive-grade non-volatile storage data protection system includes: an error correction unit that uses an error correction algorithm to perform a first additional step, a second check, and a second additional step.

[0037] Optionally, the basic error correction unit includes: a basic error correction unit that performs a first append and a second check using a basic error correction algorithm. Specifically, the basic error correction unit can add basic functional security mechanisms to the bus data and perform basic verification on the relayed data using low-bit ECC (Elliptic Curve Cryptography) (i.e., a 1-bit correction and 2-bit detection error correction algorithm). A dedicated error correction unit performs a second append using a dedicated error correction algorithm. Specifically, the dedicated error correction unit can add storage functional security mechanisms to the relayed data and perform dedicated verification on the stored data using high-bit ECC (i.e., a 3-bit correction and 4-bit detection error correction algorithm). The low-bit ECC and high-bit ECC differ in circuit complexity and data security level.

[0038] Therefore, considering chip overhead, simpler error correction algorithms can be used in non-critical data paths to reduce complexity and cost, while more complex error correction algorithms can be used in critical data paths to ensure data security. This allows for the customization of different data protection methods based on the data path, ensuring the level of protection for critical data and the overall performance of the system.

[0039] Figure 3 This is a flowchart illustrating the data return bus processing of a data retrieval protection system for automotive-grade non-volatile memory, as described in this application. The automotive-grade non-volatile memory data retrieval protection system includes: a bus 101, which transmits data request information. The data request information can be information requesting the retrieval of stored data from non-volatile memory.

[0040] The non-volatile memory 104, in response to receiving a data request message, sends stored data to the non-volatile memory controller. The non-volatile storage controller 103 performs a third check on whether the storage function security mechanism of the stored data is faulty, obtains third function security feedback information, and in response to determining that the third function security feedback information indicates that the storage function security mechanism is not faulty, performs a first append to the stored data, appends the relay function security mechanism of the data relay module itself to the stored data, and obtains relay return data.

[0041] In one specific embodiment of this application, a third check is performed to determine whether the storage function security mechanism is faulty, resulting in third function security feedback information. This third security feedback information can characterize whether the storage function security mechanism is lost or duplicated during transmission from the non-volatile storage controller to the non-volatile memory. Specifically, the non-volatile storage controller 103 can perform the third check on the storage function security mechanism using a storage function security mechanism detection method corresponding to the storage function security mechanism. For example, when the stored data uses an error correction code calculated using the LDPC algorithm as the security tag corresponding to the stored data, the non-volatile storage controller 103 can use LDPC to monitor the security tag in the stored data to determine whether the storage function security mechanism has been lost or duplicated. In one specific embodiment of this application, in response to determining that the third functional safety feedback information characterizes the storage function safety mechanism without error, a first appending is performed on the stored data, appending the data transfer module's own transfer function safety mechanism to the stored data to obtain transfer return data. Specifically, the non-volatile storage controller 103 can strip the security tag from the stored data to obtain clean data. Then, the non-volatile storage controller 103 can generate a security tag corresponding to the data transfer module based on the clean data. Finally, the non-volatile storage controller 103 can write the security tag corresponding to the data transfer module into the clean data to obtain transfer return data, which is then transmitted to the data transfer module.

[0042] The data relay module 102 performs a second check on whether the relay function safety mechanism carried by the relay bus data is faulty, obtains a fourth function safety feedback information, and in response to determining that the fourth function safety feedback information indicates that the relay function safety mechanism is not faulty, performs a third appending on the relay return data, appending the bus's own bus function safety mechanism into the relay return data, and obtains the bus return data.

[0043] In one specific embodiment of this application, a second check is performed to determine whether the relay function security mechanism carried in the relayed return data is faulty, resulting in fourth function security feedback information. This fourth security feedback information can characterize whether the relay function security mechanism is lost or duplicated during transmission from the non-volatile storage controller to the data relay module. Specifically, the data relay module 102 can perform a data security check on the function security mechanism carried in the received returned relay security data using the relay security mechanism detection method corresponding to the relay function security mechanism. For example, when the relay security mechanism detection method corresponding to the relay function security mechanism is CRC, the data relay module 102 can use the CRC algorithm to recalculate the relayed return data and match the calculated CRC with the CRC tag sent by the data relay module to detect whether the relay function security mechanism is lost or duplicated.

[0044] In one specific embodiment of this application, in response to determining that the fourth functional safety feedback information characterizes that the relay functional safety mechanism is error-free, a third appending is performed on the relay return data, appending the bus's own bus functional safety mechanism to the relay return data to obtain bus return data. Specifically, the data relay module 102 can also strip the security tag from the return relay data to obtain clean data. Then, the data relay module 102 can generate a security tag corresponding to the bus based on the clean data. Finally, the data relay module 102 can write the security tag corresponding to the bus into the clean data to obtain bus return data, and transmit it to the bus. Thus, the automotive-grade non-volatile memory data protection system includes the overall process of non-volatile memory data transmission and reception. It not only uses multiple data protection mechanisms to perform multiple detection and protection on the data during the process of data being stored from the bus into the non-volatile memory, but also uses multiple data protection mechanisms to perform multiple detection and protection on the data when it returns from the non-volatile memory to the bus, providing a functional safety protection switching method between key data nodes. This further ensures the level of data protection and the overall system performance, enhancing the system's security and reliability.

[0045] Optionally, the automotive-grade non-volatile storage data retrieval and protection system includes a dedicated error correction unit that performs the third check using a dedicated error correction algorithm. Specifically, the dedicated error correction unit can perform dedicated verification of the stored data using a 3-bit correction and a 4-bit detection error correction algorithm.

[0046] Furthermore, such as Figure 3 As shown, the data transfer module 102 includes a parity check unit and an error correction unit. During the process of data returning from non-volatile memory to the bus, the error correction unit can first perform dedicated error correction check on the stored data and basic error correction check on the transferred data, and then the parity check unit can perform parity check on the bus-returned secure data.

[0047] Furthermore, the automotive-grade non-volatile storage data protection system may also include an anomaly handling module, which can handle anomalies in data that triggers security feedback. Specifically, the anomaly handling module can generate anomaly alarm messages to alert the user.

[0048] Figure 4 This paper illustrates a specific implementation of a secure data protection system for automotive-grade non-volatile storage, as described in this application.

[0049] exist Figure 4 In the specific implementation shown, the operation method of the automotive-grade non-volatile storage data protection system mainly includes: a first data security check step S401, which performs a first check on whether the bus functional safety mechanism carried in the bus data received from the bus is faulty, and obtains first functional safety feedback information; a first security mechanism attachment step S402, which, in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not faulty, performs a first attachment on the bus data, attaching the data transfer module's own transfer functional safety mechanism to the bus data, and obtains transfer data; a second data security check step S403, which performs a second check on whether the transfer functional safety mechanism is faulty, and obtains second functional safety feedback information; a second security mechanism attachment step S404, which, in response to determining that the second functional safety feedback information indicates that the transfer functional safety mechanism is not faulty, performs a second attachment on the transfer data, attaching the non-volatile memory's own storage functional safety mechanism to the transfer data, and obtains stored data; and a storage step S405, which stores the stored data.

[0050] In one specific embodiment of this application, the first data security check step S401 includes: performing a first check using a parity check method to obtain first security feedback information. Specifically, the bus security data is checked using a parity check method to obtain the first security feedback information.

[0051] In one specific embodiment of this application, the second data security check step S403 includes: performing a second check using a basic error correction algorithm to obtain second security feedback information. Specifically, the basic error correction unit can perform basic verification on the transit security data using an error correction algorithm with 1 bit correction and 2 bits detection to obtain the second security feedback information.

[0052] In one specific embodiment of this application, the first security mechanism additional step S402 includes: performing a first addition using a basic error correction algorithm to obtain relay data. Specifically, the basic error correction unit can perform basic verification on the relay security data using a 1-bit correction and 2-bit detection error correction algorithm to obtain second security feedback information.

[0053] In one specific embodiment of this application, the second security mechanism additional step S404 includes: performing a second additional step using a dedicated error correction algorithm to obtain stored data.

[0054] Furthermore, when data is returned from the non-volatile memory to the bus, the operation method of the automotive-grade non-volatile memory data retrieval and protection system also includes: The third data security check step involves performing a third check to determine if the storage function security mechanism is faulty, and obtaining third-function security feedback information. Specifically, a dedicated error correction unit can perform this third check using a 3-bit correction and 4-bit detection error correction algorithm.

[0055] The third security mechanism attachment step, in response to determining that the third functional security feedback information indicates that the storage function security mechanism is error-free, performs a first attachment on the stored data, attaching the data transfer module's own transfer function security mechanism into the stored data, thus obtaining transfer return data. Specifically, in response to determining that the third functional security feedback information indicates that the storage function security mechanism is error-free, the basic error correction unit can perform a first attachment on the stored data using a 1-bit correction and 2-bit detection error correction algorithm, attaching the data transfer module's own transfer function security mechanism into the stored data, thus obtaining transfer return data.

[0056] The fourth data security check step involves a second check to determine if the transit function security mechanism in the returned data is faulty, thus obtaining fourth function security feedback information. Specifically, the basic error correction unit can perform basic verification on the returned transit security data using a 1-bit correction and 2-bit detection error correction algorithm to obtain fourth security feedback information.

[0057] The fourth safety mechanism attachment step, in response to determining that the fourth functional safety feedback information indicates that the relay functional safety mechanism is error-free, performs a third attachment on the relay return data, adding the bus's own bus functional safety mechanism to the relay return data to obtain the bus return data. Specifically, in response to determining that the fourth functional safety feedback information indicates that the relay functional safety mechanism is error-free, the parity check unit can perform a third attachment on the relay return data using a parity check algorithm, adding the bus's own bus functional safety mechanism to the relay return data to obtain the bus return data.

[0058] The operation method of the automotive-grade non-volatile storage data protection system provided in this application can be used to execute the automotive-grade non-volatile storage data protection system described in any of the above embodiments. The implementation principle and technical effect are similar, and will not be repeated here.

[0059] In one specific embodiment of this application, a computer device includes a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the operation method of the automotive-grade non-volatile storage data protection system described in the above embodiments.

[0060] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0062] The above are merely embodiments of this application and do not limit the scope of this patent application. Any equivalent structural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.

Claims

1. An automotive-grade non-volatile storage data protection system, characterized in that, include: bus; The data relay module performs a first check on whether the bus functional safety mechanism carried in the bus data received from the bus is faulty, obtains first functional safety feedback information, and in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not faulty, performs a first appending on the bus data, appending the relay functional safety mechanism of the data relay module itself to the bus data, and obtains relay data. A non-volatile memory controller performs a second check on whether the transfer function safety mechanism is faulty, obtains second function safety feedback information, and in response to determining that the second function safety feedback information indicates that the transfer function safety mechanism is not faulty, performs a second append to the transfer data, appending the storage function safety mechanism of the non-volatile memory itself to the transfer data, thereby obtaining the stored data. A non-volatile memory that stores the stored data.

2. The automotive-grade non-volatile storage data protection system according to claim 1, characterized in that, The data relay module includes: The parity checking unit performs the first check using a parity checking method.

3. The automotive-grade non-volatile storage data protection system according to claim 1, characterized in that, The automotive-grade non-volatile storage data protection system includes: The error correction unit performs the first addition, the second check, and the second addition using an error correction algorithm.

4. The automotive-grade non-volatile storage data protection system according to claim 3, characterized in that, The error correction unit includes: The basic error correction unit performs the first addition and the second check using a basic error correction algorithm. A dedicated error correction unit that uses a dedicated error correction algorithm to perform the second additional step.

5. A vehicle-grade non-volatile storage data retrieval and protection system, characterized in that, include: The bus, which sends data request information; A non-volatile memory that, in response to receiving the data request information, sends stored data to a non-volatile memory controller; A non-volatile storage controller performs a third check on whether the storage function security mechanism of the stored data is faulty, obtains third function security feedback information, and in response to determining that the third function security feedback information indicates that the storage function security mechanism is not faulty, performs a first append to the stored data, appending the data relay module's own relay function security mechanism to the stored data, and obtains relay return data. The data relay module performs a second check on whether the relay function safety mechanism carried in the relayed return data is faulty, obtains a fourth function safety feedback information, and in response to determining that the fourth function safety feedback information indicates that the relay function safety mechanism is not faulty, performs a third appending on the relayed return data, appending the bus function safety mechanism of the bus itself into the relayed return data, to obtain bus return data.

6. The automotive-grade non-volatile storage data retrieval and protection system according to claim 5, characterized in that, The automotive-grade non-volatile storage data retrieval and protection system includes: A dedicated error correction unit performs the third check using a dedicated error correction algorithm.

7. An operating method for an automotive-grade non-volatile storage data protection system, characterized in that, include: The first data security check step involves performing a first check on whether the bus functional security mechanism carried in the bus data received from the bus is faulty, and obtaining first functional security feedback information. The first functional safety mechanism attachment step, in response to determining that the first functional safety feedback information indicates that the bus functional safety mechanism is not erroneous, performs a first attachment on the bus data, attaches the relay functional safety mechanism of the data relay module itself into the bus data, and obtains relay data; The second data security check step involves performing a second check to determine whether the transit function security mechanism is faulty, and obtaining second function security feedback information. The second functional safety mechanism attachment step, in response to determining that the second functional safety feedback information indicates that the relay functional safety mechanism is not erroneous, performs a second attachment on the relay data, attaching the storage functional safety mechanism of the non-volatile memory itself into the relay data, to obtain the stored data; The storage step involves storing the data.

8. The operation method of the automotive-grade non-volatile storage data protection system according to claim 7, characterized in that, The first data security check step includes: The first check is performed using parity checking to obtain the first security feedback information.

9. The operation method of the automotive-grade non-volatile storage data protection system according to claim 8, characterized in that, The second data security check step includes: A second check is performed using the basic error correction algorithm to obtain the second security feedback information.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the operation method of the automotive-grade non-volatile storage data protection system as described in any one of claims 7-9.