CN112527195B - Method for extracting physical data of solid state disk - Google Patents

Method for extracting physical data of solid state disk Download PDF

Info

Publication number
CN112527195B
CN112527195B CN202011408813.6A CN202011408813A CN112527195B CN 112527195 B CN112527195 B CN 112527195B CN 202011408813 A CN202011408813 A CN 202011408813A CN 112527195 B CN112527195 B CN 112527195B
Authority
CN
China
Prior art keywords
solid state
state disk
byte
content
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011408813.6A
Other languages
Chinese (zh)
Other versions
CN112527195A (en
Inventor
梁效宁
许超明
董超
彭炼
林华彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xly Salvationdata Technology Inc
Original Assignee
Xly Salvationdata Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xly Salvationdata Technology Inc filed Critical Xly Salvationdata Technology Inc
Priority to CN202011408813.6A priority Critical patent/CN112527195B/en
Publication of CN112527195A publication Critical patent/CN112527195A/en
Application granted granted Critical
Publication of CN112527195B publication Critical patent/CN112527195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for extracting physical data of a solid state disk, which is characterized by comprising the following steps: s100: judging whether the solid state disk is normally ready, if so, executing the step S200, otherwise, ending the process; s200: acquiring the extraction authority of the physical data of the solid state disk; s300: analyzing basic parameters of the solid state disk; s400: the method for circularly extracting the physical data of the solid state disk comprises the following steps: s401: acquiring a minimum unit of the extracted physical data; s402: acquiring data of the physical page of the solid state disk; s403: and extracting the physical data of the solid state disk.

Description

Method for extracting physical data of solid state disk
Technical Field
The invention belongs to the field of information security technology and data recovery, and relates to a method for extracting physical data of a solid state disk.
Background
In the fields of information security technology and data recovery, the capacity of hard disks is continuously increased and the use amount of the hard disks is continuously enlarged, and meanwhile, the shipment volume of Hard Disk Drives (HDD) type hard disks is continuously reduced, and the shipment volume of Solid State Disk (SSD) is continuously increased. Since 2010, the Solid State Disk (SSD) shipment starts to increase rapidly, and the increase rate is kept more than 10% for nine consecutive years: the increase rate in 2015 is 30.4%, and the increase rate in the solid state disk SSD output in 2018 is 37.2%; in 2020, the Solid State Disk (SSD) shipment is expected to increase to more than 2 hundred million pieces.
The solid state disk SSD is widely used due to its fast read/write speed. With the continuous increase of the Solid State Disk (SSD) shipment volume, more and more problems appear. The failure is not only limited by the number of writes, but also affected by other conditions, and some issued safety reports indicate that some servers and solid state disks used by storage products are defective, data on the hard disks is lost after about 32746 hours of power up, and the data is unrecoverable, which also results in very serious consequences.
In addition, for data protection, when the read-write response of the solid state disk SSD is slow, the usage time is close to the lifetime limit, or the logical address cannot be normally accessed, the solid state disk SSD needs to be subjected to data mirroring (i.e. physical data extraction). At this time, not only the data mirroring of the logical layer needs to be performed, but also the physical mirroring (i.e., the physical data extraction) needs to be performed, and the physical mirroring manner can extract the physical data more comprehensively. In the prior art, a simple and practical method for extracting physical data of a solid state disk without extra cost is not available.
Disclosure of Invention
The invention provides a method for extracting solid state disk physical data, which solves the technical problem of solid state disk physical data extraction by analyzing basic parameters of a Solid State Disk (SSD), calculating to obtain the number of channels, the number of chips per channel, the number of blocks per chip, the number of pages per block and the page size of the SSD, and circularly extracting the physical data of the SSD. The invention comprises the following steps:
s100: judging whether the solid state disk is normally ready, if so, executing the step S200, otherwise, ending the process;
s200: acquiring the extraction authority of the physical data of the solid state disk;
s300: analyzing basic parameters of the solid state disk;
s400: the method for circularly extracting the physical data of the solid state disk comprises the following steps:
s401: acquiring a minimum unit of the extracted physical data;
s402: acquiring data of the physical page of the solid state disk;
s403: and extracting the physical data of the solid state disk.
Preferably, the step S100 includes the steps of:
s101: connecting the solid state disk to a computer by adopting an SATA interface;
s102: and judging whether the solid state disk is ready, if so, executing the step S200, otherwise, ending the process.
Preferably, the step S200 includes the steps of:
s201: acquiring attributes of the solid state disk, including whether locking is performed, a firmware mode, a logic access authority and a physical access authority;
s202: judging whether the physical access authority exists, if so, executing the step S300, otherwise, executing the step S203;
s203: acquiring a microcode file of the solid state disk and writing the microcode file into the solid state disk through a computer;
s204: obtaining the attributes of the solid state disk again, wherein the attributes comprise whether locking is carried out or not, a firmware mode, a logic access authority and a physical access authority;
s205: and judging whether the mobile terminal has the physical access right again, if so, executing the step S300, otherwise, exiting the process.
Preferably, the step S300 includes the steps of:
s301: acquiring basic parameters of the solid state disk, wherein the basic parameters comprise physical attribute parameters, and the physical attribute parameters comprise the number of physical channels, the number of chips per channel, the number of blocks per chip, the number of pages per block and the page size;
s302: analyzing basic parameters including obtaining physical channel number, chip number per channel, block number per chip, and page size, wherein,
acquiring the content of the 12 th byte in the basic parameter, right shifting the content by 3 bits, performing OR operation on the content and 0x07, and adding 1 to the obtained result to obtain the number of physical channels;
acquiring the content of the 12 th byte in the basic parameters, carrying out OR operation on the content and 0x7, and adding 1 to the obtained result to be used as the number of chips in each channel;
obtaining the 17 th byte content in the basic parameter multiplied by 0x100 and added with the 18 th byte content as the number of blocks of each chip;
acquiring the content of the 4 th byte in the basic parameter and multiplying the result by 0x200 to be used as the page size;
s303: sequentially executing a first writing instruction and a first reading instruction to acquire the page number of each block of the solid state disk, wherein,
executing the first writing instruction at the computer end: the values of the instruction register of the first write instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA respectively, the size of the buffer is 512 bytes, the first byte of the buffer is 0xF0, the second byte of the buffer is 0x2A, the third byte to the sixth byte are offset sizes stored in a big end format, the data of the twelfth byte is 0x1, the 509 th byte to the 512 th byte are 0x55AA55AA, and the offset size of the solid state disk is a fixed value;
executing the first reading instruction at the computer end: the values of the instruction register of the first read instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xC8, the size of the data buffer is 512, the data is arbitrary, and the 0x3B byte content and the 0x3C byte content in the read 512-byte content are the page number of each block.
The step S401 includes the steps of: and acquiring the channel value of the solid state disk and the number of chips contained in each channel, wherein the minimum unit is a single chip.
Preferably, the step S402 includes:
s4021: sending the acquired parameter information to the solid state disk by adopting a second write instruction, wherein the parameter information comprises a channel number, a chip number, a block number and a page number of a page:
executing the second write instruction at the computer end, wherein the values of an instruction register of the second write instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA, the buffer size is 512 bytes, the contents of the first byte and the second byte of the buffer are 0xF0 and 0x0A respectively, the content of the fourth byte is a block number, the content of the fifth byte is lower eight-bit data of a page number, the content of the eighth byte is higher eight-bit data of the page number, the content of the ninth byte is 0x01, the content of the eleventh byte is chip number left-shifted by three bits plus a channel number, the content of the twelfth byte is a page size, and the content of the last four bytes of the buffer is 0x55AA55AA, wherein the unit of the page size is a sector;
s4022: reading page data of the solid state disk by adopting a second reading instruction: and executing the second read instruction at the computer end, wherein the values of the instruction register of the second read instruction are 0x00,0x81,0xAA,0x55,0x00,0xE0 and 0xC8, the buffer size is 0x10200 bytes, the content is an arbitrary value, and the read content is data of a physical page.
Preferably, the step S403 includes:
respectively traversing the 0 th block to the maximum block in each chip, wherein the block number of the maximum block is the block number of the chip;
respectively traversing from the 0 th page to the maximum page in each block, wherein the page number of the maximum page is the page number of the block;
and extracting the physical data of each block and each page in the block to acquire the physical data of the solid state disk.
The method has the beneficial effects that: compared with a chip data extraction method, the method has the advantages of shorter extraction time, smaller extraction risk, no need of verification and repair of data, no need of decryption of data and the like.
Drawings
FIG. 1 is a general flow diagram of a method provided by the present invention;
fig. 2 is a diagram illustrating an example of a data structure of basic parameters of a solid state disk according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of a data structure of basic parameters of a solid state disk according to an embodiment of the present invention;
FIG. 4 is a result diagram illustrating the analysis of basic parameters according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an example of a structure of buffer data of a second write command according to an embodiment of the present invention.
Detailed Description
The invention takes an SM2258G master-controlled solid state disk (namely, a master control chip of the solid state disk is an SM2258G series) as an example, and provides a method for extracting physical data of the solid state disk. Fig. 1 shows a general flow chart of the method provided by the present invention. As shown in fig. 1, the method comprises the following steps:
s100: judging whether the solid state disk is normally ready, if so, executing the step S200, otherwise, ending the process;
step S100 includes the steps of:
s101: connecting the solid state disk to a computer by adopting an SATA interface;
s102: and judging whether the solid state disk is ready, if so, executing the step S200, otherwise, ending the process.
S200: acquiring the extraction authority of the physical data of the solid state disk;
s201: acquiring attributes of the solid state disk, including whether locking is performed, a firmware mode, a logic access authority and a physical access authority;
s202: judging whether the physical access authority exists, if so, executing step S300, otherwise, executing step S203;
fig. 2 is a diagram illustrating an example of a data structure of basic parameters of a solid state disk in an embodiment provided in the present invention. As shown in fig. 2, the content of the fifth byte in the read data, as shown in the rectangular box in fig. 2, is 0x00, which indicates that there is no physical access right of the solid state disk currently, and the flow proceeds to step S203; if the content of the fifth byte in the read data is 0x01, which indicates that the solid state disk has the physical access right, the flow advances to step S300.
S203: acquiring a microcode file of the solid state disk and writing the microcode file into the solid state disk through a computer;
s204: obtaining the attributes of the solid state disk again, wherein the attributes comprise whether locking is carried out or not, a firmware mode, a logic access authority and a physical access authority;
s205: and judging whether the mobile terminal has the physical access right again, if so, executing the step S300, and otherwise, exiting the process.
Fig. 3 is a diagram illustrating an example of a data structure of basic parameters of a solid state disk in an embodiment provided in the present invention. As shown in fig. 3, after the microcode file is written into the solid state disk by the computer, the content of the fifth byte in the data is read, and the content shown in the rectangular frame in fig. 3 becomes 0x01, which indicates that the physical access right of the solid state disk is currently possessed, and the flow proceeds to step S300.
If the content of the fifth byte in the read data is still 0x00, it indicates that there is no physical access right of the solid state disk, that is, it indicates that the physical access right of the solid state disk cannot be obtained, and then the process ends.
S300: analyzing the basic parameters of the solid state disk, wherein the step S300 comprises the following steps:
s301: acquiring basic parameters of the solid state disk, wherein the basic parameters comprise physical attribute parameters, and the physical attribute parameters comprise the number of physical channels, the number of chips of each channel, the number of blocks of each chip, the number of pages of each block and the page size;
s302: analyzing basic parameters including obtaining physical channel number, chip number per channel, block number per chip, and page size, wherein,
acquiring the content of the 12 th byte in the basic parameter, right shifting the content by 3 bits, and performing OR operation on the content and 0x07, wherein the sum of 1 of the obtained result is used as the number of physical channels;
acquiring the content of the 12 th byte in the basic parameters, carrying out OR operation on the content and 0x7, and adding 1 to the obtained result to obtain the number of chips in each channel;
obtaining the 17 th byte content in the basic parameter multiplied by 0x100 and added with the 18 th byte content as the number of blocks of each chip;
acquiring the content of the 4 th byte in the basic parameter and multiplying the result by 0x200 to be used as the page size;
s303: and sequentially executing a first writing instruction and a first reading instruction to acquire the number of pages of each block of the solid state disk, wherein,
executing a first writing instruction at the computer end: the values of the instruction register of the first write instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA, the size of the buffer area is 512 bytes, the first byte of the buffer area is 0xF0, the second byte of the buffer area is 0x2A, the third byte to the sixth byte are offset sizes stored in a big end format, the data of the twelfth byte is 0x1, the 509 byte to the 512 byte are 0x55AA55AA, and the offset size of the solid state disk is a fixed value;
executing a first read instruction at the computer end: the values of the command registers of the first read command are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xC8, respectively, the size of the data buffer area is 512, the data is arbitrary, and the 0x3B byte content and the 0x3C byte content in the read 512 byte content are each page number.
FIG. 4 is a diagram illustrating a result of parsing basic parameters in one embodiment provided by the present invention. Through the above steps S301 to S303, the number of channels, the number of chips per channel, the number of blocks per chip, the number of pages per block, and the page size of the solid state disk are obtained.
S400: the method for circularly extracting the physical data of the solid state disk comprises the following steps:
s401: acquiring the minimum unit of the extracted physical data: and acquiring the channel value of the solid state disk and the number of chips contained in each channel, wherein the minimum unit is a single chip.
S402: acquiring data of a physical page of the solid state disk, wherein the step S402 includes:
s4021: and sending the acquired parameter information to the solid state disk by adopting a second write instruction, wherein the parameter information comprises a channel number, a chip number, a block number and a page number of a page:
executing a second write command at the computer end, wherein the values of a command register of the second write command are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA respectively, the buffer size is 512 bytes, the contents of the first byte and the second byte of the buffer are 0xF0 and 0x0A respectively, the content of the fourth byte is a block number, the content of the fifth byte is lower eight-bit data of a page number, the content of the eighth byte is higher eight-bit data of the page number, the content of the ninth byte is 0x01, the content of the eleventh byte is chip number left-shifted by three plus a channel number, the content of the twelfth byte is a page size, and the content of the last four bytes of the buffer is 0x55AA55AA, wherein the unit of the page size is a sector;
FIG. 5 is a diagram illustrating an example of a structure of buffer data of a second write command according to an embodiment of the present invention. As shown in fig. 5, the size of the buffer is 512 bytes, the contents of the first and second bytes of the buffer are 0xF0 and 0x0A, respectively, the content of the fourth byte is a block number, the content of the fifth byte is lower eight bits of data of a page number, the content of the eighth byte is upper eight bits of data of the page number, and the contents of the last four bytes of the buffer are 0x55 AA.
S4022: reading page data of the solid state disk by adopting a second reading instruction: the computer executes a second read command, the values of the command registers of the second read command are 0x00,0x81,0xAA,0x55,0x00,0xE0 and 0xC8, respectively, the buffer size is 0x10200 bytes, the content is an arbitrary value, and the read content is data of a physical page.
S403: extracting physical data of the solid state disk, wherein step S403 includes:
respectively traversing the 0 th block to the maximum block in each chip, wherein the block number of the maximum block is the block number of the chip;
respectively traversing from the 0 th page to the maximum page in each block, wherein the page number of the maximum page is the page number of the block;
and extracting the physical data of each block and each page in the block to acquire the physical data of the solid state disk.
The method solves the technical problem that no method for extracting the physical data of the solid state disk, which is simple and practical and does not need extra cost, exists in the prior art.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations are possible to those skilled in the art in light of the above teachings, and that all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

Claims (6)

1. A method for extracting physical data of a solid state disk is characterized by comprising the following steps:
s100: judging whether the solid state disk is normally ready, if so, executing the step S200, otherwise, ending the process;
s200: acquiring the extraction authority of the physical data of the solid state disk;
s300: analyzing the basic parameters of the solid state disk, wherein the step S300 includes the following steps:
s301: acquiring basic parameters of the solid state disk, wherein the basic parameters comprise physical attribute parameters, and the physical attribute parameters comprise the number of physical channels, the number of chips of each channel, the number of blocks of each chip, the number of pages of each block and the page size;
s302: analyzing basic parameters including obtaining physical channel number, chip number per channel, block number per chip, and page size, wherein,
acquiring the content of the 12 th byte in the basic parameter, right shifting the content by 3 bits, and performing OR operation on the content and 0x07, wherein the sum of 1 of the obtained result is used as the number of physical channels;
acquiring the content of the 12 th byte in the basic parameters, carrying out OR operation on the content and 0x7, and adding 1 to the obtained result to obtain the number of chips in each channel;
obtaining the 17 th byte content in the basic parameter multiplied by 0x100 and added with the 18 th byte content as the number of blocks of each chip;
acquiring the content of the 4 th byte in the basic parameter and multiplying the result by 0x200 to be used as the page size;
s303: sequentially executing a first writing instruction and a first reading instruction to acquire the page number of each block of the solid state disk, wherein,
executing the first writing instruction at the computer end: the values of the instruction register of the first write instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA respectively, the size of the buffer is 512 bytes, the first byte of the buffer is 0xF0, the second byte of the buffer is 0x2A, the third byte to the sixth byte are offset sizes stored in a big end format, the data of the twelfth byte is 0x1, the 509 th byte to the 512 th byte are 0x55AA55AA, and the offset size of the solid state disk is a fixed value;
executing the first reading instruction at the computer end: the values of the instruction register of the first read instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xC8 respectively, the size of the data buffer area is 512, the data is arbitrary, and the 0x3B byte content and the 0x3C byte content in the read 512 byte content are each page number;
s400: the method for circularly extracting the physical data of the solid state disk comprises the following steps:
s401: acquiring a minimum unit of the extracted physical data;
s402: acquiring data of the physical page of the solid state disk, wherein the step S402 includes:
s4021: sending the acquired parameter information to the solid state disk by adopting a second write instruction, wherein the parameter information comprises a channel number, a chip number, a block number and a page number of a page:
executing the second write instruction at the computer end, wherein the values of an instruction register of the second write instruction are 0x00,0x01,0xAA,0x55,0x00,0xE0 and 0xCA, the buffer size is 512 bytes, the contents of the first byte and the second byte of the buffer are 0xF0 and 0x0A respectively, the content of the fourth byte is a block number, the content of the fifth byte is lower eight-bit data of a page number, the content of the eighth byte is higher eight-bit data of the page number, the content of the ninth byte is 0x01, the content of the eleventh byte is chip number left-shifted by three bits plus a channel number, the content of the twelfth byte is a page size, and the content of the last four bytes of the buffer is 0x55AA55AA, wherein the unit of the page size is a sector;
s4022: reading page data of the solid state disk by adopting a second reading instruction: executing the second read instruction at the computer end, wherein the values of the instruction register of the second read instruction are 0x00,0x81,0xAA,0x55,0x00,0xE0 and 0x8 respectively, the size of the buffer area is 0x10200 bytes, the content is an arbitrary value, and the read content is data of a physical page;
s403: and extracting the physical data of the solid state disk.
2. The method for extracting physical data from a solid state disk according to claim 1, wherein the step S100 comprises the following steps:
s101: connecting the solid state disk to a computer by adopting an SATA interface;
s102: and judging whether the solid state disk is ready, if so, executing the step S200, otherwise, ending the process.
3. The method for extracting physical data from a solid state disk according to claim 1, wherein the step S200 comprises the following steps:
s201: acquiring attributes of the solid state disk, including whether locking is performed or not, a firmware mode, a logic access authority and a physical access authority;
s202: judging whether the physical access authority exists, if so, executing step S300, otherwise, executing step S203;
s203: acquiring a microcode file of the solid state disk and writing the microcode file into the solid state disk through a computer;
s204: obtaining the attributes of the solid state disk again, wherein the attributes comprise whether locking is carried out or not, a firmware mode, a logic access authority and a physical access authority;
s205: and judging whether the mobile terminal has the physical access right again, if so, executing the step S300, and otherwise, exiting the process.
4. The method according to claim 1, wherein the step S401 includes the following steps: and acquiring the channel value of the solid state disk and the number of chips contained in each channel, wherein the minimum unit is a single chip.
5. The method for extracting physical data from a solid state disk according to claim 1, wherein the step S403 includes:
respectively traversing the 0 th block to the maximum block in each chip, wherein the block number of the maximum block is the block number of the chip;
respectively traversing from the 0 th page to the maximum page in each block, wherein the page number of the maximum page is the page number of the block;
and extracting the physical data of each block and each page in the block to obtain the physical data of the solid state disk.
6. The method for extracting physical data of the solid state disk according to claim 1, wherein the main control chip of the solid state disk is in SM2258G series.
CN202011408813.6A 2020-12-04 2020-12-04 Method for extracting physical data of solid state disk Active CN112527195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011408813.6A CN112527195B (en) 2020-12-04 2020-12-04 Method for extracting physical data of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011408813.6A CN112527195B (en) 2020-12-04 2020-12-04 Method for extracting physical data of solid state disk

Publications (2)

Publication Number Publication Date
CN112527195A CN112527195A (en) 2021-03-19
CN112527195B true CN112527195B (en) 2023-01-06

Family

ID=74997624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011408813.6A Active CN112527195B (en) 2020-12-04 2020-12-04 Method for extracting physical data of solid state disk

Country Status (1)

Country Link
CN (1) CN112527195B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115758206B (en) * 2022-11-07 2023-05-16 武汉麓谷科技有限公司 Method for quickly searching last write end position of Norflash in ZNS solid state disk

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014138118A1 (en) * 2013-03-07 2014-09-12 Peddle Charles I High speed flash controllers
US9507523B1 (en) * 2012-10-12 2016-11-29 Western Digital Technologies, Inc. Methods, devices and systems for variable size logical page management in a solid state drive
WO2020052321A1 (en) * 2018-09-12 2020-03-19 华为技术有限公司 Data processing method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6631453B1 (en) * 2001-02-14 2003-10-07 Zecurity Secure data storage device
CN101727293B (en) * 2008-10-23 2012-05-23 成都市华为赛门铁克科技有限公司 Method, device and system for setting solid state disk (SSD) memory
CN101441604A (en) * 2008-12-12 2009-05-27 成都市华为赛门铁克科技有限公司 Solid hard disk and access protection method of the same
US9552175B2 (en) * 2011-02-08 2017-01-24 Diablo Technologies Inc. System and method for providing a command buffer in a memory system
CN111694764B (en) * 2020-05-29 2023-03-14 四川效率源信息安全技术股份有限公司 Data reading method of failed solid state disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9507523B1 (en) * 2012-10-12 2016-11-29 Western Digital Technologies, Inc. Methods, devices and systems for variable size logical page management in a solid state drive
WO2014138118A1 (en) * 2013-03-07 2014-09-12 Peddle Charles I High speed flash controllers
WO2020052321A1 (en) * 2018-09-12 2020-03-19 华为技术有限公司 Data processing method and system

Also Published As

Publication number Publication date
CN112527195A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US10127166B2 (en) Data storage controller with multiple pipelines
CN102662690B (en) Method and apparatus for starting application program
US20170364301A1 (en) Data deduplication
US11055176B1 (en) Storage devices hiding parity swapping behavior
US20130073816A1 (en) Method of storing data in a storage medium and data storage device including the storage medium
CN107423231B (en) Method for managing a memory device, memory device and controller
US20070168605A1 (en) Information storage device and its control method
CN110515549B (en) Data migration method and device
CN112527195B (en) Method for extracting physical data of solid state disk
US11176033B2 (en) Data storage devices and data processing methods
US20140365724A1 (en) System and method for converting disk partition format
CN103645862A (en) Initialization performance improvement method of redundant arrays of inexpensive disks
CN115328389A (en) Storage device, system and method for customizable metadata
US9213486B2 (en) Writing new data of a first block size to a second block size using a write-write mode
CN113360093A (en) Memory system and device
CN104102552A (en) Message processing method and device
CN111324414A (en) NVM storage medium simulator
US7610443B2 (en) Method and system for accessing audiovisual data in a computer
CN102867046A (en) Solid state disk based database optimization method and system
US20110022774A1 (en) Cache memory control method, and information storage device comprising cache memory
CN113360957B (en) Password extraction method of solid state disk with SM2246EN master control
CN103064803B (en) A kind of data read-write method of NAND Flash storage device and device
CN112286720A (en) Method for extracting deleted data after TRIM command is started by solid state disk controlled by SM2246EN
CN107870736B (en) Method and device for supporting non-linear flash memory larger than 4GB
TWI798726B (en) Method for accessing flash memory and flash memory controller and electronic device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant