Solid state disk state data processing method, device and terminal equipment

By associating flash memory wear data with encoding information and storing it on an external storage medium during firmware upgrades, the problem of wear information loss is solved, enabling rapid location and efficient testing of solid-state drive (SSD) faults.

CN115295055BActive Publication Date: 2025-11-04SHENZHEN CITY TECHWIN SEMICONDUCTOR COMPANY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210803209.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-07
Publication Date
2025-11-04
Estimated Expiration
2042-07-07

AI Technical Summary

Technical Problem

During the development and testing of solid-state drives (SSDs), wear and tear information is easily lost, making fault location difficult and reducing testing efficiency.

Method used

During firmware upgrades, the encoding information of the solid-state drive is obtained, and flash memory wear data is associated with the encoding information and stored in an external storage medium to achieve continuous recording and monitoring of wear data, and to quickly determine the cause of failure through the encoding information.

Benefits of technology

To prevent the loss of wear information, improve fault location efficiency, reduce manpower waste, and improve testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115295055B_ABST
    Figure CN115295055B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a solid state disk state data processing method, device and terminal equipment, the method comprising: when performing firmware upgrade, obtaining the encoding information of the solid state disk when detecting that the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information; reading the flash wear data of the solid state disk, and storing the flash wear data and the encoding information in an external storage medium in association, and then performing firmware upgrade on the solid state disk; wherein the flash wear data stored in the external storage medium is used to record the wear state of the solid state disk in the development test cycle. By saving the wear information of the solid state disk externally, the wear information in the storage particles is avoided from being erased, and especially in the subsequent read-write test process, the fault can be quickly located, etc.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data storage, and particularly relates to a solid state disk state data processing method and device and terminal equipment. BACKGROUND

[0002] The development process of a solid state disk includes firmware part development and hardware part development as software, and a large amount of reading and writing needs to be performed on the solid state disk to verify the quality of firmware code, so as to ensure that the firmware code can work normally under a large stress long-time IO service. The long-term large stress reading and writing service will accelerate the wear of NAND particles on the solid state disk.

[0003] In the current development test cycle, automatic recording of internal information of a disk is mainly relied on. However, the internal information of the disk may be lost due to various reasons during re-production in the test cycle. In particular, when reading and writing problems occur in the subsequent firmware test process, the developer often needs to invest a lot of effort to locate the problems, so as to confirm whether the problems are caused by defects of the firmware code or NAND itself, etc., thereby causing waste of manpower. SUMMARY

[0004] Therefore, the embodiments of the present application provide a solid state disk state data processing method and device and terminal equipment, which can avoid the loss of wear conditions of the solid state disk in the test process in the development stage, and further facilitate fault positioning, etc.

[0005] In a first aspect, the embodiments of the present application provide a solid state disk state data processing method, comprising:

[0006] When detecting that data structure version information of current firmware in the solid state disk is inconsistent with target version information during firmware upgrade, obtaining coding information of the solid state disk.

[0007] Reading flash memory wear data of the solid state disk, and storing the flash memory wear data and the coding information in an external storage medium in association, and then performing firmware upgrade on the solid state disk. The flash memory wear data is used to record wear states of the solid state disk in a development test cycle.

[0008] In some embodiments, the solid state disk state data processing method further comprises:

[0009] When detecting that data structure version information of current firmware in the solid state disk is inconsistent with target version information during firmware upgrade, obtaining coding information of the solid state disk.

[0010] According to the flash memory wear data, performing reading error fault analysis on the solid state disk.

[0011] In some embodiments, before the read error fault localization of the solid state disk, the method further comprises:

[0012] reading current flash wear data of the solid state disk, and accumulating the current flash wear data and historical flash wear data obtained from the external storage medium to obtain flash wear accumulation data; the flash wear accumulation data is used for read error fault localization operation.

[0013] In some embodiments, the read error fault analysis of the solid state disk comprises:

[0014] If the flash wear data or the flash wear accumulation data exceeds a preset threshold, it is determined that the solid state disk is seriously worn and the test operation of the solid state disk is stopped;

[0015] If the flash wear data or the flash wear accumulation data does not exceed the preset threshold, the firmware code of the solid state disk is debugged to locate the code fault.

[0016] In some embodiments, the obtaining of the encoding information of the solid state disk comprises:

[0017] sending a preset instruction to read the master control identification code of the solid state disk;

[0018] If the reading is successful, the read master control identification code is taken as the encoding information of the solid state disk;

[0019] If the reading fails, the surface of the disk of the solid state disk is photographed by a camera to obtain a disk surface image, and a disk serial number arranged at a preset position in the disk surface image is recognized, and the disk serial number is taken as the encoding information of the solid state disk.

[0020] In some embodiments, the setting rule of the disk serial number of the solid state disk comprises:

[0021] The disk serial number of the solid state disk is sequentially combined and encoded according to the disk model, the disk capacity and the disk serial number to obtain a unique disk serial number of the solid state disk.

[0022] In some embodiments, the solid state disk state data processing method further comprises:

[0023] If the data structure version information of the current firmware in the solid state disk is consistent with the target version information, the firmware of the solid state disk is directly upgraded.

[0024] In a second aspect, the embodiments of the present application provide a solid state disk state data processing device, comprising:

[0025] detecting that the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information, obtaining encoding information of the solid state disk;

[0026] reading flash wear data of the solid state disk, and storing the flash wear data and the encoding information in the external storage medium in association, and then performing firmware upgrade on the solid state disk; wherein the flash wear data is used to record the wear state of the solid state disk in the development test cycle.

[0027] In a third aspect, an embodiment of the present application provides a terminal device, which comprises a processor and a memory, the memory stores a computer program, and the processor is configured to execute the computer program to implement the solid state disk state data processing method described above.

[0028] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a computer program, and the computer program is configured to implement the solid state disk state data processing method described above when executed on a processor.

[0029] The embodiments of the present application have the following beneficial effects:

[0030] The solid state disk state data processing method provided by the embodiments of the present application comprises the following steps: when firmware upgrade is performed, detecting that the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information, obtaining encoding information of the solid state disk; reading flash wear data of the solid state disk, and storing the flash wear data and the encoding information in the external storage medium in association, and then performing firmware upgrade on the solid state disk. By saving the wear data to the external storage medium, the loss of information can be prevented, on the one hand, the wear state of the solid state disk can be continuously monitored, and on the other hand, when a large number of read / write errors occur in the solid state disk, it can be quickly judged whether the wear of the NAND is too serious or the defects caused by the firmware code itself, and the test efficiency can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be considered as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0032] Figure 1 The flow chart of the solid state disk state data processing method provided by the embodiments of the present application is shown;

[0033] Figure 2A flowchart of a solid state disk encoding information acquisition process of an embodiment of the present application is shown.

[0034] Figure 3 A schematic diagram of a disk serial number of a solid state disk of an embodiment of the present application is shown.

[0035] Figure 4 Another flowchart of a solid state disk state data processing method of an embodiment of the present application is shown.

[0036] Figure 5 A flowchart of a read error fault analysis based on solid state disk wear data of an embodiment of the present application is shown.

[0037] Figure 6 A structural schematic diagram of a solid state disk state data processing apparatus of an embodiment of the present application is shown.

[0038] Figure 7 Another structural schematic diagram of a solid state disk state data processing apparatus of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application.

[0040] The components of the embodiments of the present application generally described and illustrated herein can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by a person skilled in the art without creative work shall fall within the scope of protection of the present application.

[0041] Hereinafter, the terms "include", "have", and their conjugates in various embodiments of the present application are only intended to denote a certain characteristic, number, step, operation, element, component, or combination of the foregoing, and should not be construed as excluding the presence or addition of one or more other characteristics, numbers, steps, operations, elements, components, or combinations of the foregoing. In addition, the terms "first", "second", "third", and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0042] Unless specifically defined, all other technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present application belong. The terminology used herein (e.g., the terminology used in the description of the figures) is for the purpose of describing particular embodiments only and is not intended to be limiting. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present application belong. The terminology used herein, such as that found in the dictionary, will be interpreted as having a meaning that is the same as commonly understood in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless clearly defined specifically in various embodiments of the present application.

[0043] Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments can be combined with each other unless there is a conflict.

[0044] In the development process of the solid state disk, the developer needs to locate any problems that occur during the test, including read / write errors, etc. For read / write errors, the developer needs to confirm whether the problem is caused by defects in the firmware code or by serious wear and tear of the NAND particles. However, the current test process is recorded and stored internally by the NAND, especially during the firmware development stage, sometimes the loss of NAND particle wear record cannot be recovered. In other words, the existing test process does not pay attention to the preservation of the wear and tear of the solid state disk, resulting in that when a large number of read / write errors occur in the solid state disk, the developer cannot determine whether the problem is caused by serious wear and tear of the NAND particles because there is often no previous wear record, so additional effort is needed to locate the fault, which greatly reduces the test development efficiency, etc.

[0045] To this end, the present application provides a solid state disk state data processing method, which can be applied to the development and test process of the solid state disk, and can realize automatic test positioning and improve the development and test efficiency, etc.

[0046] Please refer to Figure 1 , exemplary, the solid state disk state data processing method comprises steps S110-S130:

[0047] S110, when detecting that the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information during firmware upgrade, obtaining the encoding information of the solid state disk.

[0048] During firmware development, a version number is set for each data structure, and each firmware will contain the version number information of the data structure it uses, and it will be written into the NAND in the firmware hard disk during mass production, and it can be read through the custom command defined by the manufacturer.

[0049] In the firmware development stage, the data structure of the data saved on the NAND will change frequently, resulting in incompatible data between the firmware of the previous and next versions, so it is necessary to frequently clear all information in the NAND, including the wear record of each NAND grain, and the wear record and other information are not recoverable after being cleared. Therefore, according to the version information of the data structure at each firmware upgrade, the embodiment determines whether to transfer the wear data in the solid state disk to the external environment to ensure that the wear condition of the solid state disk throughout the life cycle can be recorded in real time.

[0050] The encoding information of the solid state disk is used to uniquely identify each solid state disk, for example, can include but is not limited to the master control identification code, etc. Generally, the master control of the solid state disk has a factory-set universal unique identification code, which can be read through the vendor-defined command provided by the firmware, so that the wear information of the solid state disk can be bound with the master control identification code to realize the tracking of the wear information.

[0051] In addition, for some solid state disks without unique identification code of the master control, a unique encoding information can be set for it, for example, the disk model, disk capacity and disk serial number of the solid state disk can be combined in sequence to obtain a combined encoding, and the combined encoding is used as the disk serial number of the solid state disk and is pasted or set on the surface of the hard disk.

[0052] For the above step S110, exemplarily, when the firmware of the solid state disk is upgraded (secondary card opening) using the mass production tool, first, the version number of the data structure used by the current firmware of the solid state disk is read to confirm whether it is consistent with the version number of the data structure of the target version to be upgraded. If it is not consistent, it means that the internal information of the NAND has the risk of being cleared, so the wear data in the solid state disk is transferred externally, and then the subsequent operation is performed. Alternatively, if the data structure version information of the current firmware in the solid state disk is consistent with the target version information, the next operation can be directly performed, that is, the firmware of the solid state disk is upgraded.

[0053] In an embodiment, as shown in Figure 2 The encoding information of the solid state disk is used to uniquely identify each solid state disk, for example, can include but is not limited to the master control identification code, etc. Generally, the master control of the solid state disk has a factory-set universal unique identification code, which can be read through the vendor-defined command provided by the firmware, so that the wear information of the solid state disk can be bound with the master control identification code to realize the tracking of the wear information.

[0054] S210, a preset instruction is sent to read the master control identification code of the solid state disk.

[0055] S220, if the reading is successful, the read master control identification code is used as the encoding information of the solid state disk.

[0056] S230, if the reading fails, a camera device is used to shoot the disk surface of the solid state disk to obtain a disk surface image.

[0057] S240, identifying a disk serial number arranged at a preset position in the disk surface image, taking the disk serial number as the encoding information of the solid state disk.

[0058] Exemplarily, when the master identification code fails to be read through the vendor-defined instruction, it means that the solid state disk does not have a master identification code; then, the disk surface of the solid state disk is shot by the camera to obtain the disk serial number through image recognition.

[0059] For example, as shown in Figure 3 For the solid state disk without a master identification code, the predefined disk serial number is arranged on the disk surface of the solid state disk, and the shooting angle of the camera can be set at the preset position where the disk serial number is arranged to obtain a clear image. It can be understood that the model for serial number recognition can be pre-trained.

[0060] S120, reading the flash wear data of the solid state disk and storing the flash wear data and the encoding information in the external storage medium; wherein the flash wear data is used to record the wear state of the solid state disk in the development test cycle.

[0061] After reading the flash wear data of the solid state disk, it is bound with the read master identification code or disk serial number and saved to the designated external storage medium, such as a non-volatile storage structure such as a Flash, TF card, SD card, and then step S130 is executed.

[0062] S130, then performing firmware upgrade on the solid state disk.

[0063] Therefore, after storing the flash wear data of the solid state disk to the external storage, subsequent firmware code writing and other operations are continued until the firmware upgrade is completed.

[0064] In addition, in order to ensure the reliability of the firmware after the firmware upgrade, a large amount of read and write operations need to be further performed on the solid state disk to ensure that the firmware code can work normally under a large pressure and long time output input service.

[0065] Further, as shown in Figure 4 The solid state disk state data processing method further comprises:

[0066] S140, when performing firmware verification, if the solid state disk has read / write error, obtaining the flash wear data of the solid state disk from the external storage medium according to the encoding information of the solid state disk.

[0067] S150, performing read error fault analysis on the solid state disk according to the flash wear data.

[0068] According to practical experience, NAND wear is serious, and a large number of read errors often occur in the test process, which is caused by the end of life of NAND particles, and is not a design problem of the hardware and software of the solid state disk. Based on this, when a certain number of read and write errors occur in the test, the flash wear data of the solid state disk is obtained from the external storage medium, so as to quickly judge whether the current solid state disk has serious wear problem, and then it can be determined whether the next fault analysis operation is needed, which can improve the test efficiency and the like.

[0069] As shown in Figure 5 read error fault analysis includes:

[0070] S310, detecting whether the read flash wear data exceeds a preset threshold.

[0071] The maximum wear limit of different types of solid state disks is different, and the preset threshold can be set according to a large number of test results and experience values of actual types of solid state disks, which is not limited here. If the preset threshold is exceeded, it means that the solid state disk has reached a certain degree of wear and has entered the end of life, and step S320 is executed, otherwise step S330 is executed.

[0072] S320, if the preset threshold is exceeded, it is determined that the solid state disk is seriously worn, and the test operation of the solid state disk is stopped.

[0073] S330, if the preset threshold is not exceeded, the firmware code of the solid state disk is debugged to locate the code fault.

[0074] It can be understood that if it is determined that the solid state disk is seriously worn, in order to reduce unnecessary effort, the solid state disk can be discarded and other good state disks are used for retesting; if the solid state disk is still in a usable state, it needs to be further considered whether it is caused by the defects of the firmware code and the design of the hardware and software, and the reason for the read error can be checked by debugging the firmware code.

[0075] As an optional solution, after obtaining the existing flash wear data in the external storage medium, the method can further include:

[0076] read the current flash wear data of the solid state disk, and accumulate the current flash wear data and the historical flash wear data obtained from the external storage medium to obtain flash wear accumulation data; then, according to the flash wear accumulation data, the read error fault positioning operation is performed.

[0077] It can be understood that the principle of using flash wear accumulation data for fault judgment is the same as the principle of using flash wear data for read error fault analysis described above, so it will not be described again here. Considering that the current firmware verification being performed will also generate corresponding wear records, therefore, by accumulating the historical flash wear data and the latest recorded current flash wear data, a more accurate wear condition can be obtained, which can improve the accuracy of fault analysis, etc.

[0078] The solid state disk state data processing method of the embodiment can determine whether to save the wear data of the storage unit to the external storage medium according to the data structure version information of the firmware when upgrading the hard disk, and bind the wear data by obtaining the encoding identification information such as the master control identification code or the disk serial number of the solid state disk when necessary, so as to realize wear information tracking. By saving the wear data to the external storage medium, information loss can be prevented, and the wear state of the solid state disk can be monitored conveniently. On the other hand, when a large number of read / write errors occur in the solid state disk, it can be quickly judged whether it is caused by serious NAND wear or defects caused by the firmware code itself, which can improve the test efficiency, etc.

[0079] Please refer to Figure 6 , based on the method of the above embodiment, the embodiment proposes a solid state disk state data processing device 100, which exemplarily comprises:

[0080] The detection module 110 is configured to, when detecting that the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information during firmware upgrade, obtain the encoding information of the solid state disk.

[0081] The processing module 120 is configured to read the flash wear data of the solid state disk, and store the flash wear data and the encoding information in the external storage medium, and then perform firmware upgrade on the solid state disk. The flash wear data is used to record the wear state of the solid state disk during the development and test period.

[0082] Further, as shown in Figure 7 , the solid state disk state data processing device 100 further comprises:

[0083] The fault analysis module 130 is configured to, when performing firmware verification, if read / write errors occur in the solid state disk, obtain the flash wear data of the solid state disk from the external storage medium according to the encoding information of the solid state disk; and perform read error fault analysis on the solid state disk according to the flash wear data.

[0084] As an optional solution, the solid state disk state data processing apparatus 100 further comprises:

[0085] The fault analysis module 130 is further configured to read current flash wear data of the solid state disk, and accumulate the current flash wear data and the historical flash wear data obtained from the external storage medium to obtain flash wear accumulation data; and then perform a read error fault positioning operation according to the flash wear accumulation data.

[0086] It can be understood that the apparatus of the embodiment corresponds to the method of the above-described embodiment, and the optional items in the above-described embodiment are also applicable to the embodiment, and thus are not described again here.

[0087] The application further provides a terminal device, such as a computer, which exemplarily comprises a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program, so that the terminal device performs the functions of the modules in the above-described solid state disk state data processing apparatus or the above-described solid state disk state data processing method.

[0088] The application further provides a readable storage medium for storing the computer program used in the terminal device.

[0089] In several embodiments provided in the application, it should be understood that the disclosed apparatus and method can also be implemented by other means. The apparatus embodiment described above is only schematic, for example, the flowchart and block diagram in the drawings show the possible implementation architecture, function and operation of the apparatus, method and computer program product according to the embodiments of the application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logic function. It should also be noted that, in alternative implementation, the functions noted in the block can occur in different order from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the function involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for executing the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0090] In addition, each functional module or unit in the embodiments of the application can be integrated together to form a separate part, or each module can exist independently, or two or more modules can be integrated to form a separate part.

[0091] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0092] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application.

Claims

1. A solid state drive state data processing method, characterized by, The application comprises the following steps: When performing firmware upgrade, if the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information, the encoding information of the solid state disk is obtained; wherein the encoding information is used to uniquely identify each solid state disk, and the encoding information comprises the master control identification code or the disk serial number of the solid state disk; The flash wear data of the solid state disk is read, and the flash wear data is stored in the external storage medium in association with the encoding information, and then the firmware upgrade of the solid state disk is performed; wherein the flash wear data is used to record the wear state of the solid state disk in the development test cycle.

2. The solid state drive state data processing method of claim 1, wherein, The application further comprises the following steps: When performing firmware verification, if the solid state disk has read / write errors, the flash wear data of the solid state disk is obtained from the external storage medium according to the encoding information of the solid state disk; The read error fault analysis of the solid state disk is performed according to the flash wear data.

3. The solid state drive state data processing method of claim 2, wherein, Before the read error fault positioning of the solid state disk, the following steps are further included: The current flash wear data of the solid state disk is read, and the current flash wear data and the historical flash wear data obtained from the external storage medium are accumulated to obtain flash wear accumulation data; the flash wear accumulation data is used for read error fault positioning operation.

4. The solid state drive state data processing method of claim 3, wherein, The read error fault analysis of the solid state disk comprises the following steps: If the flash wear data or the flash wear accumulation data exceeds a preset threshold, it is determined that the solid state disk is seriously worn, and the test operation of the solid state disk is stopped; If the flash wear data or the flash wear accumulation data does not exceed the preset threshold, the firmware code debugging of the solid state disk is performed to locate the code fault.

5. The solid state drive state data processing method of claim 1, wherein, The encoding information of the solid state disk comprises the following steps: A preset instruction is sent to read the master control identification code of the solid state disk; If the reading is successful, the read master control identification code is taken as the encoding information of the solid state disk; If the reading fails, the disk surface of the solid state disk is photographed by a camera to obtain a disk surface image, and the disk serial number arranged at a preset position in the disk surface image is identified, and the disk serial number is taken as the encoding information of the solid state disk.

6. The solid state drive state data processing method of claim 5, wherein, The setting rule of the disk serial number of the solid state disk comprises the following steps: The disk serial number of the solid state disk is obtained by sequentially combining the disk model, the disk capacity and the disk serial number of the solid state disk.

7. The solid state drive state data processing method of any one of claims 1-6, wherein, The application further comprises the following steps: If the data structure version information of the current firmware in the solid state disk is consistent with the target version information, the firmware upgrade of the solid state disk is directly performed.

8. A solid state drive state data processing apparatus, characterized by, The application comprises the following steps: A detection module is used to obtain the encoding information of the solid state disk when the data structure version information of the current firmware in the solid state disk is inconsistent with the target version information during firmware upgrade; wherein the encoding information is used to uniquely identify each solid state disk, and the encoding information comprises the master control identification code or the disk serial number of the solid state disk. The processing module is configured to read flash wear data of the solid state disk, store the flash wear data in association with the encoding information in an external storage medium, and perform firmware upgrade on the solid state disk, wherein the flash wear data is used to record wear states of the solid state disk in a development test cycle.

9. A terminal device, comprising: The terminal device comprises a processor and a memory, the memory stores a computer program, and the processor is configured to execute the computer program to implement the solid state disk state data processing method in any one of claims 1-7.

10. A readable storage medium, characterized by, The computer program is stored in the memory and is executed on the processor to implement the solid state disk state data processing method in any one of claims 1-7.

Citation Information

Patent Citations

  • NAND control method, device and apparatus based on wear state

    CN112700813A

  • Hard disk firmware upgrading and information collecting method and system and medium

    CN112947957A