Memory card health diagnosis system and memory card health diagnosis method

By using a memory card health diagnostic system, combined with self-monitoring analysis report technical parameters, and by setting preset thresholds and a quadratic slope method, the problem of inaccurate memory card lifespan prediction in existing technologies has been solved, achieving more accurate lifespan prediction and fault warning, and improving the reliability of memory card use.

CN123178218APending Publication Date: 2026-11-27JET OPTOELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511009233.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-05-27
Filing Date
2025-07-22
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing memory card health testing systems and methods are difficult to accurately determine and predict the lifespan of memory cards, and there are differences in accuracy, making it impossible to comprehensively analyze memory card malfunctions.

Method used

A memory card health diagnostic system is adopted. Through a memory card reading device and a judgment device, combined with the proportion of good blocks, the number of erasures and the first-in-first-out buffer usage rate in the technical parameters of the self-monitoring analysis report, a preset threshold is set to detect the current and expected failure risks of the memory card, and the future health status is predicted by using the quadratic slope method.

Benefits of technology

More accurately predict the lifespan of memory cards, comprehensively analyze the health status of memory cards, predict malfunctions in advance, avoid data loss and damage, and improve device performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178218A_ABST
    Figure CN123178218A_ABST
Patent Text Reader

Abstract

The application discloses a memory card health diagnosis system and a memory card health diagnosis method. The memory card health diagnosis system comprises a memory card reading device and a memory card judging device. The memory card reading device is provided with a card slot for inserting a memory card, and obtains self-monitoring analysis report technical parameters of the memory card. The memory card judging device is connected to the memory card reading device. The memory card judging device comprises a processor and a memory. The memory stores the self-monitoring analysis report technical parameters. The processor accesses the memory to execute a start-up detection module, a memory card detection module, a current fault risk detection module and an expected fault risk detection module, and obtains a current state of the memory card and an expected state of the memory card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of memory card health diagnosis technology, and in particular to a memory card health diagnosis system and a memory card health diagnosis method. Background Technology

[0002] In existing data storage systems, Self-Monitoring Analysis and Reporting Technology (SMART) is an automated hard drive status detection and early warning system and standard, playing a crucial role in memory card fault detection technology. It predicts memory card failures by monitoring indicators such as read / write errors, temperature changes, and power-on cycles.

[0003] Current technologies often use the Endurance Life Ratio (ESSR) from self-monitoring analysis reports as an indicator to assess the health of memory cards. ESSR typically represents the percentage of a memory card's remaining lifespan, used to predict potential failure states. However, relying solely on ESSR has limitations. This parameter is primarily based on accumulated write operations, ignoring other factors that may affect memory card lifespan, such as temperature variations, power fluctuations, power-on cycles, and read / write frequency. Furthermore, different manufacturers may use different calculation methods and standards, leading to variations in the accuracy of data comparisons and making it difficult to comprehensively analyze and predict memory card failures.

[0004] In view of this, current memory card health detection systems and methods still have limitations, making it difficult to accurately determine and predict the lifespan of memory cards. Therefore, the inventors of this invention have conceived and designed a memory card health diagnosis system and method to improve upon the shortcomings of existing technologies, thereby enhancing their industrial application. Summary of the Invention

[0005] In view of the problems of the prior art, the purpose of this invention is to provide a memory card health diagnosis system and a memory card health diagnosis method to solve the problem that existing memory card testing systems and methods are unable to accurately determine and predict the lifespan of memory cards.

[0006] According to the present invention, in one aspect, a memory card health diagnostic system is provided, comprising a memory card reading device and a memory card judging device. The memory card reading device is provided with a card slot for inserting a memory card, and upon startup, the memory card reading device acquires the self-monitoring analysis report technical parameters of the memory card. The memory card judging device is connected to the memory card reading device, and includes a processor and memory. The memory stores the self-monitoring analysis report technical parameters, and the processor accesses the memory to execute a power-on detection module, a memory card detection module, a current fault risk detection module, and a anticipated fault risk detection module. The power-on detection module detects whether the memory card reader is powered on for the first time or not on the first time of the day; the memory card detection module obtains the product serial number of the memory card, detects whether the memory card is a stored card or a newly added card, and stores the card log file; the current fault risk detection module obtains the good block ratio and erasure count from the technical parameters in the self-monitoring analysis report, and obtains the first-in-first-out buffer usage rate of the memory card reader, and compares them with preset thresholds to obtain the current status of the memory card; the expected fault risk detection module predicts the good block ratio and erasure count after a predetermined time based on the card log file, and compares them with preset thresholds to obtain the expected status of the memory card.

[0007] Preferably, the preset threshold for the proportion of good blocks can be 80%, the preset threshold for the number of erases can be 3000 times, and the preset threshold for the first-in-first-out buffer usage rate can be 10 times when the cumulative number of times it exceeds 80%. When the proportion of good blocks is below 80%, the number of erases is greater than 3000 times, or the cumulative number of times the first-in-first-out buffer usage rate exceeds 80% exceeds 10 times, the memory card is currently in a state of risk of failure.

[0008] Preferably, the card log archive can store 3 to 5 months of self-monitoring analysis report technical parameters.

[0009] Preferably, the expected failure risk detection module can predict the proportion of good blocks and the number of erasures one month later using the quadratic slope method. When the predicted value of the proportion of good blocks is below 80% or the predicted value of the number of erasures is greater than 3,000, the memory card is expected to have an expected failure risk.

[0010] Preferably, the memory card reading device and the memory card judging device can be installed in the dashcam.

[0011] According to the present invention, and in another aspect, a method for health diagnosis of a memory card is provided, comprising the following steps: inserting a memory card into the card slot of a memory card reader, wherein the memory card reader obtains the self-monitoring analysis report technical parameters of the memory card upon startup; setting up a memory card judgment device connected to the memory card reader, the memory card judgment device including a processor and a memory, the memory storing the self-monitoring analysis report technical parameters; detecting whether the memory card reader is being powered on for the first time that day using a power-on detection module, if yes, proceeding to the following steps; if no, stopping the detection steps; obtaining the product serial number of the memory card using the memory card detection module, detecting whether the memory card is a pre-stored card, if yes, storing the self-monitoring analysis report technical parameters in a card log file; if no, creating a new log file. The current fault risk detection module determines the current state of the memory card. This module obtains the percentage of good blocks and the number of erases from the self-monitoring analysis report, as well as the first-in-first-out buffer usage rate of the memory card reader. These are compared with preset thresholds to determine if the current state of the memory card poses a fault risk. If so, a fault risk warning is issued; otherwise, the following steps are performed. The expected fault risk detection module determines the expected state of the memory card. Based on the card log file, this module predicts the percentage of good blocks and the number of erases after a predetermined time. These predictions are compared with preset thresholds to determine if the expected state of the memory card poses a fault risk. If so, an expected fault risk warning is issued; otherwise, the detection process is complete.

[0012] Preferably, the preset threshold for the proportion of good blocks can be 80%, the preset threshold for the number of erases can be 3000 times, and the preset threshold for the first-in-first-out buffer usage rate can be 10 times when the cumulative number of times it exceeds 80%. When the proportion of good blocks is below 80%, the number of erases is greater than 3000 times, or the cumulative number of times the first-in-first-out buffer usage rate exceeds 80% exceeds 10 times, the memory card is judged to be in a state of fault risk.

[0013] Preferably, the card log archive can store 3 to 5 months of self-monitoring analysis report technical parameters.

[0014] Preferably, the expected failure risk detection module can predict the proportion of good blocks and the number of erasures one month later using the quadratic slope method. When the predicted value of the proportion of good blocks is below 80% or the predicted value of the number of erasures is greater than 3,000, the expected state of the memory card is determined to have expected failure risk.

[0015] Preferably, the memory card reading device and the memory card judging device can be installed in the dashcam.

[0016] As described above, the memory card health diagnosis system and method of the present invention may have one or more of the following advantages: (1) This memory card health diagnosis system and memory card health diagnosis method can determine the current health status of the memory card by analyzing the proportion of good blocks and the number of erasures in the technical parameters of the self-monitoring analysis report, combined with the first-in-first-out buffer usage rate of the memory card reader, and more accurately predict the lifespan of the memory card.

[0017] (2) This memory card health diagnosis system and memory card health diagnosis method can predict the health status of the memory card within a predetermined time by predicting the parameter detection values ​​after a predetermined time, and more comprehensively analyze the usage status of the memory card, so as to achieve the effect of predicting failure in advance.

[0018] (3) This memory card health diagnosis system and memory card health diagnosis method can be used in dashcams to effectively monitor the health status of memory cards that frequently perform access and write operations, avoid data loss and damage, and improve device performance. Attached Figure Description

[0019] To make the technical features, content, advantages, and effects of the present invention more apparent, the present invention will be described in detail below with reference to the accompanying drawings and embodiments: Figure 1 This is a schematic diagram of a memory card health diagnosis system according to an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the predicted trend of the proportion of good blocks in the memory card according to an embodiment of the present invention. Figure 3 This is a flowchart of the memory card health diagnosis method according to an embodiment of the present invention; Figure 4 This is an operation flowchart of the current fault risk detection module and the expected fault risk detection module according to an embodiment of the present invention.

[0020] In the picture: 10. Memory card health diagnostic system; 11. Memory card reader; 12. Card slot; 13. Self-monitoring analysis report technical parameters; 14. First-in-first-out buffer usage rate; 21. Memory card judgment device; 22. Memory; 23. Processor; 24. Power-on detection module; 25. Memory card detection module; 26. Current fault risk detection module; 27. Expected fault risk detection module; 90. Dashcam; 91. Memory card; 92. Current status of memory card; 93. Expected status of memory card. Detailed Implementation

[0021] To facilitate understanding of the technical features, content, advantages, and effects of this invention, the invention will be described in detail below with reference to the accompanying drawings and embodiments. The accompanying drawings are for illustrative purposes only and are not necessarily the actual proportions and precise configurations of the invention after implementation. Therefore, the proportions and configurations of the accompanying drawings should not be used to interpret or limit the scope of the invention in actual implementation.

[0022] Please see Figure 1 This is a schematic diagram of the memory card health diagnosis system according to an embodiment of the present invention. As shown in the figure, the memory card health diagnosis system 10 includes a memory card reading device 11 and a memory card judgment device 21. The memory card reading device 11 and the memory card judgment device 21 can be installed in a dashcam 90. When the memory card 91 is inserted into the card slot 12 of the memory card reading device 11, it is used to store the video files captured by the dashcam 90. The dashcam 90 starts up when the user starts the vehicle to record driving dynamics. Depending on the frequency of vehicle use, the memory card 91 will frequently perform write operations. Under long-term use, the memory card 91 may suffer varying degrees of damage, which will affect the storage or retrieval of files. To avoid the above problems, the present invention sets up a memory card health diagnosis system 10 to detect the health status of the memory card 91, aiming to predict in advance the degree of damage to the memory card 91 before it affects file access, thus ensuring the correctness and security of file storage and retrieval.

[0023] When memory card 91 is inserted into card slot 12, memory card reader 11 obtains the self-monitoring analysis report technical parameters 13 (SMART parameters) of memory card 91 through the control chip when the device starts. These parameters include information about memory card 91 and related startup scan information, such as chip version, memory type, manufacturer, memory card serial number, percentage of good blocks, number of erases, and number of damaged blocks scanned. By accessing the parameter data in the self-monitoring analysis report technical parameters 13, the health status of memory card 91 is determined. In addition, memory card reader 11 also records the first-in-first-out buffer usage information 14 as another parameter for determining the health status.

[0024] The memory card detection device 21 is connected to the memory card reading device 11. In this embodiment, the memory card detection device 21 can be the computer control device of the dashcam 90, which includes a memory 22 and a processor 23. The memory 22 stores data such as the self-monitoring analysis report technical parameters 13 and the first-in-first-out buffer usage rate 14, and establishes a log file of parameter data based on the access date. The processor 23 accesses the memory 22 through control instructions to execute the power-on detection module 24, the memory card detection module 25, the current fault risk detection module 26, and the expected fault risk detection module 27.

[0025] The power-on detection module 24 detects whether the memory card reading device 11 is powered on for the first time on the day or not. In this embodiment, the detection is based on a daily unit. The memory card 91 is checked for problems when it is powered on for the first time each day. Therefore, when it is detected that it is powered on for the first time on the day, the subsequent detection modules continue. If it is not powered on for the first time on the day, the detection operation ends.

[0026] The memory card detection module 25 obtains the product serial number (PSN) of the memory card 91, detects whether the memory card 91 is an existing card or a newly added card, and stores a card log file. The memory card detection module 25 accesses the memory card 91 data in the self-monitoring analysis report technical parameters 13, and uses the product serial number to determine whether the inserted memory card 91 is a previously used card or a new card being used for the first time. If the product serial number of the memory card 91 matches the data in the log file, the self-monitoring analysis report technical parameters 13 are stored in the existing card log file. If no matching file is found for the product serial number, a new card log file is created to store the self-monitoring analysis report technical parameters 13.

[0027] After the card log file is stored, the current fault risk detection module 26 can obtain the Good Block Ratio and Erase Count from the self-monitoring analysis report technical parameters 13, and obtain the FIFO buffer utilization rate 14 of the memory card reader 11 from the memory 22. These are compared with preset thresholds to obtain the current state 92 of the memory card. In this embodiment, the detected value of the Good Block Ratio is first compared. The preset threshold for the Good Block Ratio can be 80%. When the detected value of the Good Block Ratio is below 80%, it is determined that the current state 92 of the memory card has a fault risk, and a warning message can be issued to remind the user to replace the memory card 91. Please refer to... Figure 2This is a schematic diagram illustrating the predicted trend of the proportion of good blocks in the memory card according to an embodiment of the present invention. As shown in the figure, since the proportion of good blocks can be used as the basis for calculating the effective capacity of the memory card 91, when the value drops to 80%, the subsequent downward trend will increase significantly, causing a risk of image data loss. Therefore, a preset threshold of 80% is set as a reference point for failure. Thus, when the detected value of the proportion of good blocks drops to 80%, it is determined that the current state 92 of the memory card has a risk of failure. If it does not drop to 80%, the test of the number of erase cycles continues.

[0028] The preset threshold for the number of erase cycles can be 3000. When the detected number of erase cycles exceeds 3000, the memory card's current state 92 is deemed to have a risk of failure, and a warning message is issued. Conversely, if the number of erase cycles is less than 3000, the FIFO buffer usage rate 14 is then checked. The preset threshold for the FIFO buffer usage rate 14 can be 10 times when it accumulates to 80%. If the detected number of times the FIFO buffer usage rate 14 accumulates to 80% or more exceeds 10 times, the memory card's current state 92 is deemed to have a risk of failure, and a warning message is issued. Conversely, if it is less than 10 times, the memory card's current state 92 is deemed not to have a risk of failure, and subsequent checks continue.

[0029] After detecting that the current state 92 of the memory card does not pose a risk of failure, the memory card judgment device 21 further detects the health status of the memory card 91 after a predetermined time, predicts the possibility of problems with the memory card 91 in advance, and takes preventative measures as early as possible. The expected failure risk detection module 27 accesses the card log file and predicts the percentage of good blocks and the number of erases after the predetermined time based on the card log file. The predicted values ​​are then compared with preset thresholds to obtain the expected state 93 of the memory card. First, the expected failure risk detection module 27 checks whether the card log file stores 3-5 months of self-monitoring analysis report technical parameters 13. If no historical log file of more than 3 months is stored for the memory card 91, it is considered a new memory card 91, and no prediction is made for the predetermined time. If the memory card 91 has self-monitoring analysis report technical parameters 13 for 3-5 months or more, then the predicted values ​​after the predetermined time are made.

[0030] In this embodiment, the predetermined time is set to one month later. The expected failure risk detection module 27 predicts the proportion of good blocks and the number of erases one month later using the quadratic slope method. First, if the predicted value of the proportion of good blocks is below 80%, it is determined that the expected state 93 of the memory card has a failure risk and a warning message is issued. If it does not drop to 80%, the erase count detection continues. When the predicted value of the erase count is greater than 3000 times, it is determined that the expected state 93 of the memory card has a failure risk and a warning message is issued. Conversely, if it does not reach 3000 times, it is determined that the memory card 91 does not have a failure risk one month later and the detection program ends.

[0031] In this embodiment, the memory card determination device 21 not only confirms the current state 92 of the memory card through the current fault risk detection module 26, but also further determines the expected state 93 of the memory card after a predetermined time through the expected fault risk detection module 27. When using the dashcam 90, the user can instantly confirm the usage status of the memory card 91. When the memory card 91 is at risk of damage, it can be replaced immediately to ensure the correctness and security of stored and retrieved files. On the other hand, by predicting the usage status of the memory card 91 after a predetermined time, the device predicts when the card needs to be replaced, more accurately ensuring that there is no risk of malfunction during use.

[0032] Please see Figure 3 This is a flowchart of a memory card health diagnosis method according to an embodiment of the present invention. As shown in the figure, the memory card health diagnosis method includes the following steps (S1~S6): Step S1: Insert the memory card into the card slot of the memory card reader. The memory card reader will retrieve the memory card's self-monitoring analysis report technical parameters upon startup. Please also refer to... Figure 1 The memory card diagnostic system 10 includes a memory card reader 11 and a memory card judgment device 21. The memory card reader 11 and memory card judgment device 21 can be installed in the dashcam 90. When the memory card 91 is inserted into the card slot 12 of the memory card reader 11, the memory card reader 11 obtains the self-monitoring analysis report technical parameters 13 (SMART parameters) of the memory card 91 through the control chip when the device is started. These parameters include information about the memory card 91 and related startup scan information, such as chip version, memory type, manufacturer, memory card product serial number, percentage of good blocks, number of erase cycles, and number of scanned damaged blocks. The parameters in the self-monitoring analysis report technical parameters 13 are used as the basis for judging the health status of the memory card 91.

[0033] Step S2: Set up a memory card detection device connected to the memory card reader. The memory card detection device includes a processor and memory. The memory stores technical parameters of the self-monitoring analysis report. The memory card detection device 21 is connected to the memory card reader 11. In this embodiment, the memory card detection device 21 can be the computer control device of the dashcam 90, which includes memory 22 and processor 23. The memory 22 stores data of self-monitoring analysis report technical parameters 13 and first-in-first-out buffer usage rate 14, and establishes a log file of parameter data based on the access date. The processor 23 accesses the memory 22 through control instructions to execute the power-on detection module 24, the memory card detection module 25, the current fault risk detection module 26, and the expected fault risk detection module 27.

[0034] Step S3: The power-on detection module checks whether the memory card reader is being powered on for the first time that day. If yes, continue with the following steps; otherwise, stop the detection steps. The power-on detection module 24 checks whether the memory card reader 11 is being powered on for the first time that day or not. If it is detected as being powered on for the first time that day, the subsequent detection modules continue; if it is not being powered on for the first time that day, the detection operation stops.

[0035] Step S4: Obtain the product serial number of the memory card through the memory card detection module, and check whether the memory card is a stored card. If so, store the self-monitoring analysis report technical parameters in the card log file; otherwise, create a new log file. The memory card detection module 25 obtains the product serial number (PSN) of the memory card 91, checks whether the memory card 91 is a stored card or a newly added card, and stores it in the card log file (Log). The memory card detection module 25 accesses the memory card 91 data in the self-monitoring analysis report technical parameters 13, and determines whether the inserted memory card 91 is a used card or a new card used for the first time by using the product serial number. When the product serial number of the memory card 91 matches the data in the log file, the self-monitoring analysis report technical parameters 13 are stored in the stored card log file. If no matching file is found for the product serial number, a new card log file is created to store the self-monitoring analysis report technical parameters 13.

[0036] Step S5: The current fault risk detection module determines whether the current state of the memory card poses a fault risk. If so, a fault risk warning is issued; otherwise, the following steps continue. After the card log file is stored, the current fault risk detection module 26 can obtain the Good Block Ratio and Erase Count from the self-monitoring analysis report technical parameters 13, and obtain the FIFO buffer utilization rate 14 of the memory card reader 11 from the memory 22. After comparing these with preset thresholds, the current state 92 of the memory card is obtained. If the current state 92 of the memory card is determined to have a fault risk, a fault risk warning is issued, such as a warning message. Conversely, if there is no fault risk, the subsequent detection steps continue. Detailed current fault risk judgment will be further explained in subsequent embodiments.

[0037] Step S6: The expected failure risk detection module determines whether the expected state of the memory card has a failure risk. If so, an expected failure risk warning is issued; otherwise, the detection step is completed. After detecting that the current state 92 of the memory card does not have a failure risk, the memory card judgment device 21 further detects the health status of the memory card 91 after a predetermined time, predicts in advance the possible problems of the memory card 91, and takes preventive measures in advance. The expected failure risk detection module 27 first determines whether there is a card log file of 3 to 5 months or more. If not, the detection process ends. If so, it predicts the proportion of good blocks and the number of erases after a predetermined time based on the card log file, and compares them with preset thresholds to obtain the expected state 93 of the memory card. If the expected state 93 of the memory card is determined to have a failure risk, an expected failure risk warning is issued, such as a warning message. Conversely, if there is no failure risk, the detection process is completed and the detection step is stopped. The detailed content of the expected failure risk judgment will be further explained in subsequent embodiments.

[0038] Please see Figure 4 This is an operation flowchart of the current fault risk detection module and the expected fault risk detection module according to an embodiment of the present invention. As shown in the figure, the operation flowchart of the fault risk detection module and the expected fault risk detection module includes the following steps (S51~S66): Step S51: Check if the detected percentage of good blocks is less than 80%. If yes, there is a risk of failure; if not, proceed to step S52. Please also refer to... Figure 1 Memory card diagnostic system 10 and Figure 3In steps S1 to S6, the current fault risk detection module 26 obtains the Good Block Ratio from the self-monitoring analysis report technical parameter 13 in the card log file, compares it with a preset threshold, and obtains the current state 92 of the memory card. In this embodiment, the preset threshold for the Good Block Ratio can be 80%. When the detected value of the Good Block Ratio is below 80%, it is determined that the current state 92 of the memory card has a fault risk, and a warning message can be issued to remind the user to replace the memory card 91. If the detected value of the Good Block Ratio does not drop to 80%, proceed to step S52.

[0039] Step S52: Compare the detection value of the number of erases with the number of times the card has been erased to whether it is greater than 3000. If yes, there is a risk of failure; if no, proceed to step S53. The current failure risk detection module 26 obtains the number of erases from the self-monitoring analysis report technical parameter 13 in the card log file, compares it with a preset threshold, and obtains the current state 92 of the memory card. In this embodiment, the preset threshold for the number of erases can be 3000. When the detection value of the number of erases is greater than 3000, it is determined that the current state 92 of the memory card has a risk of failure. If the detection value of the number of erases is less than 3000, proceed to step S53.

[0040] Step S53: Check if the FIFO buffer usage rate has exceeded 80% more than 10 times. If so, there is a risk of failure; otherwise, proceed to step S61. The current fault risk detection module 26 obtains the FIFO buffer usage rate 14. In this embodiment, the preset threshold for the FIFO buffer usage rate 14 can be 10 times exceeding 80%. When the FIFO buffer usage rate 14 exceeds 80% more than 10 times, it is determined that the current state 92 of the memory card has a risk of failure. If the detection value is less than 10 times, proceed to step S61.

[0041] Step S61: Whether to store the percentage of good blocks for 3-5 months. If yes, proceed to step S62; if no, proceed to step S64. After detecting that the current state 92 of the memory card does not have a risk of failure, the memory card determination device 21 further detects the health status of the memory card 91 after a predetermined time. First, the expected failure risk detection module 27 checks whether to store the technical parameters 13 of the self-monitoring analysis report for 3-5 months. If the percentage of good blocks in the technical parameters 13 of the self-monitoring analysis report for 3-5 months is stored, proceed to step S62 for prediction; if not, proceed to step S64.

[0042] Step S62: Predict the proportion of good blocks one month later. In this embodiment, the predetermined time is set to one month later. The expected fault risk detection module 27 predicts the proportion of good blocks one month later using the quadratic slope method. The quadratic slope method calculates the first derivative of stored historical parameter data on a monthly basis as the monthly rate of decline, and then calculates the second derivative of the monthly rate of decline to obtain the monthly acceleration of decline. The predicted value one month later is obtained through two stages of prediction and then compared with the result.

[0043] Step S63: Compare whether the predicted value is less than 80%. If yes, there is a risk of failure; otherwise, proceed to step S64. After obtaining the predicted value of the percentage of good blocks one month later, compare it with the same preset threshold, that is, compare whether the predicted value of the percentage of good blocks is less than 80%. When the predicted value of the percentage of good blocks is below 80%, it is determined that the expected state 93 of the memory card has a risk of failure, and a warning message can be issued to remind the user to replace the memory card 91. If the predicted value does not drop to 80%, proceed to step S64.

[0044] Step S64: Does the erase count for 3-5 months remain? If yes, proceed to step S65; otherwise, there is no risk of failure. The expected failure risk detection module 27 checks whether the self-monitoring analysis report technical parameter 13 for 3-5 months remains. If the erase count in the self-monitoring analysis report technical parameter 13 for 3-5 months remains, proceed to step S65 for prediction; otherwise, it is determined that there is no risk of failure.

[0045] Step S65: Predict the number of erases after 1 month. The expected failure risk detection module 27 also predicts the number of erases after 1 month using the quadratic slope method, and then compares the results.

[0046] Step S66: Compare whether the predicted value is greater than 3000 times. If yes, there is a risk of failure; if no, there is no risk of failure. After obtaining the predicted number of erases one month later, compare it with the same preset threshold, that is, compare whether the predicted number of erases is greater than 3000 times. When the predicted number of erases is greater than 3000 times, it is determined that the expected state 93 of the memory card has a risk of failure, and a warning message can be issued to remind the user to replace the memory card 91. If the predicted value is less than 3000 times, it is determined that there is no risk of failure.

[0047] The above description is merely illustrative and not restrictive. Any equivalent modifications or alterations made without departing from the spirit and scope of this invention should be included within the scope of the claims.

Claims

1. A memory card health diagnostic system, characterized in that, It includes: A memory card reading device is provided with a card slot for inserting a memory card. The memory card reading device obtains the technical parameters of the memory card's self-monitoring analysis report when it is started. as well as A memory card detection device is connected to the memory card reading device. The memory card detection device includes a processor and a memory. The memory stores the technical parameters of the self-monitoring analysis report. The processor accesses the memory to execute the following detection module: The power-on detection module detects whether the memory card reader is being powered on for the first time on the day or not for the first time on the day. The memory card detection module obtains the product serial number of the memory card, detects whether the memory card is a stored card or a newly added card, and stores the card log file. The fault risk detection module obtains the proportion of good blocks and the number of erasures from the technical parameters in the self-monitoring analysis report, and obtains the first-in-first-out buffer usage rate of the memory card reading device. After comparing these with preset thresholds, the current status of the memory card is obtained. as well as The expected failure risk detection module predicts the proportion of good blocks and the number of erases after a predetermined time based on the card log file, and compares them with the preset thresholds to obtain the expected state of the memory card.

2. The memory card health diagnostic system as described in claim 1, characterized in that, The preset threshold for the proportion of good blocks is 80%, the preset threshold for the number of erases is 3000 times, and the preset threshold for the first-in-first-out buffer usage rate is 10 times when the cumulative number of times it exceeds 80%. When the proportion of good blocks is below 80%, the number of erases is greater than 3000 times, or the cumulative number of times the first-in-first-out buffer usage rate exceeds 80% exceeds 10 times, the memory card is currently in a state of potential failure.

3. The memory card health diagnosis system as described in claim 2, characterized in that, The card log archive stores 3 to 5 months of self-monitoring analysis report technical parameters.

4. The memory card health diagnosis system as described in claim 3, characterized in that, The expected failure risk detection module predicts the proportion of good blocks and the number of erases one month later using the quadratic slope method. When the predicted value of the proportion of good blocks is below 80% or the predicted value of the number of erases is greater than 3000, the memory card is expected to have an expected failure risk.

5. The memory card health diagnostic system as described in claim 1, characterized in that, The memory card reading device and the memory card judging device are installed in the dashcam.

6. A method for diagnosing the health of a memory card, characterized in that, It includes the following steps: The memory card is inserted into the card slot of the memory card reader, and the memory card reader obtains the self-monitoring analysis report technical parameters of the memory card when it is started. A memory card detection device is set up and connected to the memory card reading device. The memory card detection device includes a processor and a memory, and the memory stores the technical parameters of the self-monitoring analysis report. The power-on detection module checks whether the memory card reader is being powered on for the first time that day. If so, proceed to the following steps. If not, stop the testing process; The product serial number of the memory card is obtained through the memory card detection module. The system checks whether the memory card is a pre-stored card. If so, the technical parameters of the self-monitoring analysis report are stored in the card log file. If not, a new log file is created. The current fault risk detection module determines the current state of the memory card. The current fault risk detection module obtains the proportion of good blocks and the number of erases from the technical parameters of the self-monitoring analysis report, and obtains the first-in-first-out buffer usage rate of the memory card reading device. After comparing them with preset thresholds, it determines whether the current state of the memory card has a fault risk. If yes, a fault risk warning is issued; if no, the following steps are continued. The expected state of the memory card is determined by the expected failure risk detection module. The expected failure risk detection module predicts the proportion of good blocks and the number of erases after a predetermined time based on the card log file. The predicted values ​​are compared with the preset thresholds to determine whether the expected state of the memory card has a failure risk. If yes, an expected failure risk warning is issued; otherwise, the detection step is completed.

7. The memory card health diagnosis method as described in claim 6, characterized in that, The preset threshold for the proportion of good blocks is 80%, the preset threshold for the number of erases is 3000 times, and the preset threshold for the first-in-first-out buffer usage rate is 10 times when the cumulative number of times it exceeds 80%. When the proportion of good blocks is below 80%, the number of erases is greater than 3000 times, or the cumulative number of times the first-in-first-out buffer usage rate exceeds 80% exceeds 10 times, the memory card is determined to be in a state of fault risk.

8. The memory card health diagnosis method as described in claim 7, characterized in that, The card log archive stores 3 to 5 months of self-monitoring analysis report technical parameters.

9. The memory card health diagnosis method as described in claim 8, characterized in that, The expected failure risk detection module predicts the proportion of good blocks and the number of erases one month later using the quadratic slope method. When the predicted value of the proportion of good blocks is below 80% or the predicted value of the number of erases is greater than 3000, the memory card is determined to have an expected failure risk.

10. The memory card health diagnosis method as described in claim 6, characterized in that, The memory card reading device and the memory card judging device are installed in the dashcam.