A memory chip testing method and testing system

By monitoring changes in the power supply current of the memory chip and gradually increasing the preset time interval, the background operation startup time and time consumption of the memory chip are obtained, which solves the problem of being unable to obtain background operation information in the existing technology and achieves effective management of the memory chip. Testing and competitive analysis.

CN118430624BActive Publication Date: 2024-09-27合肥康芯威存储技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410881612.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-27
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Existing technology cannot effectively obtain information related to the background operations of memory chips, resulting in the inability to improve product quality and difficulty in detecting competing products.

Method used

By continuously writing data into the memory chip, monitoring changes in the power supply current, the startup time and time consumption of background operations are obtained, and by gradually increasing the preset time interval, the time consumption of background operations and the flash memory space released each time are obtained.

Benefits of technology

It achieves the acquisition of relevant data on the background operations of unknown memory chips, improving product quality and competitive product analysis capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118430624B
    Figure CN118430624B
Patent Text Reader

Abstract

The present invention provides a test method and a test system for a memory chip, and belongs to the field of storage technology. The test method for the memory chip comprises the following steps: continuously writing data into the memory chip until the memory chip enters a full dirty disk mode; re-writing data into the memory chip after a preset time interval; monitoring the write mode of the memory chip, and obtaining the high-performance write time when the memory chip first writes data with high performance and then enters a low-performance write mode; increasing the preset time interval, obtaining the high-performance write time again, until the high-performance write time is stable; and obtaining the background operation time according to the preset time interval when the high-performance write time is stable, and obtaining the flash memory space released each time by the background operation according to the stable high-performance write time and the speed of high-performance write data. Through the test method and the test system for the memory chip provided by the present invention, the relevant data of the background operation of the memory chip can be automatically obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of storage technology, and in particular relates to a test method and a test system for a storage chip. Background Art

[0002] Solid-state memory is a new type of storage device. It can be used to make a variety of storage chips, such as solid-state hard disks, embedded multimedia memory cards, universal flash storage, security cards and other storage chips. The host will perform foreground operations such as reading or writing to the storage chip, and data fragments will be generated during the reading and writing process. When the foreground operation of the storage chip is suspended for a period of time, the storage chip will need to perform background operations such as fragment recovery to ensure the read and write performance of the storage chip.

[0003] However, the startup time and working time of the background operation of each memory chip are all defined by the manufacturer. Therefore, when analyzing other manufacturers' products and improving the quality of their own products, it is impossible to effectively obtain relevant information about the background operation of the memory chip. Summary of the invention

[0004] The object of the present invention is to provide a memory chip testing method and a testing system, which can solve the problem of being unable to effectively obtain relevant information about the background operation of the memory chip.

[0005] To achieve the above object, the present invention provides a memory chip testing method and a testing system, and the memory chip testing method at least comprises the following steps:

[0006] Continuously writing data into the storage chip until the storage chip enters a fully dirty disk mode;

[0007] suspending writing data into the storage chip, and rewriting data into the storage chip after a preset time interval;

[0008] Monitoring the write mode of the memory chip, when the memory chip first writes data with high performance and then enters a low performance write mode, obtaining the high performance write time;

[0009] Increasing the preset time interval, and obtaining the high-performance writing time again until the high-performance writing time is stable; and

[0010] The background operation time is obtained according to the preset time interval when the high-performance writing time is stable, and the flash memory space released each time by the background operation is obtained according to the stable high-performance writing time and the speed of high-performance writing data.

[0011] In an embodiment of the present invention, the memory chip testing method further includes obtaining a start time of a background operation.

[0012] In one embodiment of the present invention, obtaining the start time of the background operation includes the following steps:

[0013] Continuously writing data into the storage chip until the storage chip enters a fully dirty disk mode;

[0014] suspending writing data into the memory chip and monitoring the power supply current of the flash memory end; and

[0015] When the power supply current of the flash memory terminal drops to zero, the timing starts, and until the power supply current recovers to a non-zero value, the timing time at this time is used as the start time of the background operation.

[0016] In one embodiment of the present invention, after obtaining the startup time of the background operation, the testing method of the storage chip also includes the following steps: when the power supply current returns to a non-zero value, re-timing until the power supply current drops to zero again, and using the timing time at this time as the time consumed by the background operation.

[0017] In an embodiment of the present invention, the initial preset time interval is equal to or greater than the start time of the background operation.

[0018] In one embodiment of the present invention, the method for determining whether the high-performance writing time is stable is as follows:

[0019] Compare the high performance write time in this cycle with the high performance write time in the previous cycle;

[0020] If the high-performance writing time in this cycle is greater than the high-performance writing time in the previous cycle, the high-performance writing time is unstable; and

[0021] If the high-performance write time in this cycle is equal to the high-performance write time in the previous cycle, the high-performance write time is stable.

[0022] In one embodiment of the present invention, when increasing the preset time interval, the preset time interval in this cycle is equal to the preset time interval in the previous cycle plus a step size.

[0023] In one embodiment of the present invention, obtaining the time consumption of the background operation includes the following steps:

[0024] The preset time interval when the high-performance writing time is stable and the start time of the background operation are used as the background operation time.

[0025] In one embodiment of the present invention, obtaining the flash memory space released each time by the background operation includes the following steps:

[0026] The product of the stable high-performance writing time and the high-performance writing data speed is used as the flash memory space released each time by the background operation.

[0027] The present invention also provides a memory chip testing system, and the testing system comprises:

[0028] a memory storing program instructions; and

[0029] The processor runs the program instructions to implement the test method of the storage chip as described above.

[0030] In summary, the present invention provides a memory chip testing method and testing system, which obtains the startup time of the background operation of the unknown memory chip and the background time consumption according to the change of the power supply current of the flash memory end, and can realize the background operation related tests of the unknown memory chip. At the same time, the background operation time consumption of the background operation and the space released each time by the background operation can be obtained by gradually increasing the preset time interval after the memory chip enters the full dirty disk mode. Therefore, through this application, when the design of the background operation of the memory chip is unclear, the relevant data of the background operation of the memory chip can be obtained, thereby realizing the detection of competing products. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0032] Figure 1 It is a schematic diagram of the structure of a storage chip in one embodiment of the present application.

[0033] Figure 2 It is a flow chart of a method for testing a memory chip in one embodiment of the present application.

[0034] Figure 3 yes Figure 2 The relationship between flash memory current and time corresponding to the test method flow shown.

[0035] Figure 4 It is a flow chart of a method for testing a memory chip in another embodiment of the present application.

[0036] Figure 5 yes Figure 2 The relationship between writing speed and time corresponding to the test method process shown is a graph.

[0037] Figure 6 It is a schematic diagram of the structure of a test system in an embodiment of the application. DETAILED DESCRIPTION

[0038] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are given in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thoroughly and comprehensively understood.

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0040] In the description of the present invention, it should be understood that the orientations or positional relationships indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", etc. are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The degrees indicated by "high" and "low" are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or component referred to must have high and low, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0041] See also Figure 1As shown, a controller 201 and a non-volatile storage unit 202 are provided in the storage chip 200. The controller 201 can execute a plurality of logic gates or control instructions implemented in hardware or firmware, and perform operations such as writing, reading and erasing data in the non-volatile storage unit 202 according to the instructions of the host 100. The non-volatile storage unit 202 stores data written by the host 100 and other necessary data such as a mapping table. The non-volatile storage unit 202 can be a NAND flash memory, a vertical NAND (VNAND), a NOR flash memory, a resistance random access memory (RRAM), a phase change memory (PRAM), a magnetoresistive random access memory (MRAM), a ferroelectric random access memory (FRAM) or a spin transfer torque random access memory (STT-RAM). The non-volatile storage unit 202 can include a storage cell array block connected to a word line, a string selection line, a ground selection line and a bit line. The non-volatile storage unit 202 can include a super block including a plurality of storage blocks. The plurality of storage blocks can include a plurality of pages. The non-volatile memory unit 202 may include a two-dimensional (2D) memory array block or a three-dimensional (3D) memory array block. Other types of non-volatile memory units 202 may also be used. In this embodiment, the structure of a NAND flash memory is used as an example for explanation, and the non-volatile memory unit 202 includes a plurality of flash memory blocks 203. It is understood that in other embodiments, other types of non-volatile memory unit 202 structures may also be used.

[0042] See also Figure 1As shown, the non-volatile storage unit 202 includes a plurality of flash memory blocks 203, and the flash memory blocks 203 may belong to the same memory die or to different memory die. Each flash memory block 203 has a plurality of physical pages, and each physical page has at least one physical sector, wherein the physical pages belonging to the same flash memory block 203 can be independently written and erased simultaneously. For example, each flash memory block 203 is composed of 128 physical pages, and each physical page has 8 physical sectors. That is, in an example where each physical sector is 512 bytes, the capacity of each physical page is 4 kilobytes (K). However, in one embodiment, each flash memory block 203 may be composed of 64 physical pages, 256 physical pages, or any other number of physical pages. Among them, the flash memory block 203 is the minimum unit of erasure. That is, each flash memory block 203 contains the minimum number of storage units that are erased together. The physical page is the smallest programmable unit. That is, the physical page is the smallest unit for writing data. However, in some embodiments, the minimum unit for writing data may also be a physical sector or other size. Each physical page generally includes a data bit area and a redundant bit area. The data bit area is used to store user data, and the redundant bit area is used to store system data (e.g., error checking and correction code).

[0043] See also Figure 1 As shown, in one embodiment of the present invention, the non-volatile storage cell 202 may include a single-level cell (SLC), a multi-level cell (MLC), a triple-level cell (Triple Level Cell), a quad-level cell (QLC), or a combination of two or more of these cells. Among them, a single-level cell can store, for example, 1 bit of data, a multi-level cell can store, for example, 2 bits of data, a triple-level cell can store, for example, 3 bits of data, and a quad-level cell can store, for example, 4 bits of data. Compared with a single-level cell and a multi-level cell, a triple-level cell and a quad-level cell store a larger amount of data, but a shorter erase life and relatively poor read and write performance. Therefore, in order to balance the performance, capacity and price of the storage chip 200, some flash memory blocks 203 of single-level cells or multi-level cells, and some flash memory blocks 203 of triple-level cells or quad-level cells are provided in the storage chip 200.

[0044] See also Figure 1As shown, in one embodiment of the present invention, a flash memory block 203 of a single-layer storage unit and a flash memory block 203 of a three-layer storage unit are provided in the storage chip 200. When data is written to the storage chip 200, the data written by the host 100 is first stored in the flash memory block 203 of the single-layer storage unit. When the single-layer storage unit is used up, the subsequent written data is stored in the flash memory block 203 of the three-layer storage unit. Therefore, in the early stage of the use of the storage chip 200, the read and write performance is very good. However, when the written data is directly stored in the flash memory block 203 of the three-layer storage unit in the later stage, the read and write performance decreases significantly. Therefore, when the storage chip 200 is idle, the firmware in the storage chip 200 will automatically move the data in the flash memory block 203 of the single-layer storage unit to the flash memory block 203 of the three-layer storage unit, and then release the flash memory block 203 of the single-layer storage unit. When the subsequent data is written, the data is stored in the flash memory block 203 of the single-layer storage unit.

[0045] See also Figure 1 As shown, in one embodiment of the present invention, the process of the host 100 writing data to the storage chip 200, reading data and erasing data is called the foreground operation, and the process of the firmware in the storage chip 200 moving data is called the background operation. Among them, the background operation also includes functions such as garbage collection. The background operation helps to reduce the delay of time-critical operations such as reading and writing. Therefore, in order to improve the read and write performance of the device, the background operation will be performed when the device is not performing foreground operations such as reading and writing. Therefore, usually in the firmware design of the storage chip 200, after the foreground operation is suspended for a certain period of time, for example, the host 100 stops sending commands for more than 100ms, the storage chip 200 will automatically start the background operation, and move the data in the flash memory block 203 of the single-layer storage unit to the flash memory block 203 of the three-layer storage unit, thereby releasing the flash memory block 203 of the single-layer storage unit, and providing an idle flash memory block 203 of the single-layer storage unit for the next host 100 write operation. In addition, when performing background operations, operations such as wear leveling, read interference or high error bit count will also be performed, which will result in a longer background operation time.

[0046] The present application provides a testing method for a memory chip, which can obtain the startup time of the memory chip background operation, the background operation time and the flash memory space released by each background operation, and then obtain the relevant data of the background operation of each type of memory chip required, conduct competitive product analysis, and thus improve product quality.

[0047] See also Figure 2 As shown, in one embodiment of the present invention, the memory chip testing method includes steps S101 to S104.

[0048] Step S101: continuously write data into the storage chip until the storage chip enters a fully dirty disk mode.

[0049] Step S102, suspending writing data into the storage chip and monitoring the power supply current of the flash memory end.

[0050] Step S103, when the power supply current of the flash memory drops to zero, start timing until the power supply current returns to a non-zero value, and use the timing time at this time as the start time of the background operation.

[0051] Step S104: when the power supply current returns to a non-zero value, the timing is restarted until the power supply current drops to zero again, and the timing time at this time is used as the time consumed by the background operation.

[0052] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, the storage chip 200 will start the background operation only after the flash memory block 203 of the single-layer storage unit is exhausted. If the background operation is started when the flash memory block 203 of the single-layer storage unit is not full, the write amplification will be increased, and the life of the flash memory block 203 in the storage chip 200 will be reduced. Therefore, when testing the relevant data of the background operation, it is necessary to fill the flash memory block 203 first, even if the storage chip 200 enters the full dirty disk mode. In step S101, data is continuously written to the storage chip 200 through the host 100, so that the storage chip 200 enters the full dirty disk mode. In this embodiment, the amount of the entire disk is, for example, 128GB, and the entire disk is filled at a random write speed of 4KB. Among them, the 4KB random write speed is 9MB / s. It takes at least 40 hours to fill the entire disk. Combined with Figure 3 As shown, when the memory chip 200 is in a writing state, the power supply current at the flash memory end is in a non-zero state.

[0053] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, after the memory chip 200 enters the full dirty disk mode, the write performance of the memory chip 200 reaches a stable state. At this time, the writing of data into the memory chip 200 is suspended. While the host 100 suspends writing data to the memory chip 200, it starts to monitor the power supply current of the flash memory end. When the foreground operation of the memory chip 200 stops, the power consumption of the flash memory end will drop to zero, and the power supply current of the flash memory end will drop to zero.

[0054] It should be noted that after the host sends the last instruction, the flash memory may need to continue running for a while, but this running time is very short and can be ignored.

[0055] See also Figure 1 and Figure 2 As shown, in one embodiment of the present invention, an oscilloscope can be used to capture the power supply current of the flash memory end of the memory chip 200 to monitor the power supply current of the flash memory end of the memory chip 200.

[0056] See also Figure 1 , Figure 2 and Figure 3 As shown, in one embodiment of the present invention, after the flash memory end completes the instruction, the power supply current of the flash memory end will drop to zero, and the power supply current of the flash memory end will not be restored to a non-zero value until the background operation is started. Therefore, after pausing to write data into the storage chip 200, the power supply current of the flash memory end is monitored. When the power supply current of the flash memory end drops to zero, the timing starts. Specifically, the timer in the host 100 or the storage chip 200 can be used for timing. When the power supply current of the flash memory end is restored to a non-zero value, it means that the storage chip 200 starts the background operation. At this time, the timer stops timing, and the timing time of the timer at this time is saved, which is the start time of the background operation.

[0057] See also Figure 1 , Figure 2 and Figure 3 As shown, in one embodiment of the present invention, after the timer is used to obtain the start time of the background operation, the timing time of the timer is cleared, and the timing is restarted when the power supply current at the flash memory end returns to a non-zero value. At this time, the power supply current at the flash memory end is a non-zero value, and the memory chip 200 performs the background operation. When the power supply current at the flash memory end drops from a non-zero value to zero again, the background operation of the memory chip 200 is completed. At this time, the timer stops timing, and the timing time of the timer at this time is the time consumed by the background operation.

[0058] See also Figure 1 , Figure 2 and Figure 3 As shown, in the present application, when the time taken for background operation is obtained through the change of power supply current, since the time taken for background operation is long, it is laborious to use an oscilloscope to capture the power supply current of the flash memory end for a long time. Therefore, obtaining the time taken for background operation through the change of power supply current will require a lot of manpower. Therefore, in another embodiment of the present invention, the test method such as steps S101 to S103 can be used first, that is, the start time of the background operation can be obtained through the change of power supply current, and then another method can be used to obtain the time taken for background operation and the flash memory space released each time for background operation.

[0059] See also Figure 1 As shown, in another embodiment of the present invention, the memory chip testing method further includes steps S201 to S206.

[0060] Step S201: continuously write data into the storage chip until the storage chip enters a fully dirty disk mode.

[0061] Step S202: suspend writing data into the storage chip, and rewrite data into the storage chip after a preset time interval.

[0062] Step S203: monitoring the write mode of the storage chip, and when the storage chip first writes data with high performance and then enters the low performance write mode, obtaining the high performance write time.

[0063] Step S204, determine whether the high-performance write time is stable. If the high-performance write time is stable, execute step S206. If the high-performance write time is unstable, execute step S205 and return to step S201 until the high-performance write time is stable.

[0064] Step S205: increase the preset time interval.

[0065] Step S206, obtaining the background operation time consumption according to the preset time interval when the high-performance writing time consumption is stable, and obtaining the flash memory space released each time by the background operation according to the stable high-performance writing time consumption and the speed of high-performance writing data.

[0066] See also Figures 1 to 4 As shown, in another embodiment of the present invention, step S201 is the same as step S101, and both are to continuously write data into the storage chip 200 so that the storage chip 200 enters the full dirty disk mode. After the storage chip 200 enters the full dirty disk mode, the writing of data into the storage chip 200 is suspended, and a preset time interval is waited. Among them, the preset time interval is equal to or greater than the start time of the background operation. If the preset time interval is less than the start time of the background operation, the storage chip 200 will not start the background operation, and the storage chip 200 will not enter the high-performance write mode in the subsequent process. Therefore, the preset time interval is set to be equal to or greater than the start time of the background operation to ensure that the storage chip 200 will start the background operation. In this embodiment, in order to ensure the accuracy of the acquired high-performance write time consumption, the initial preset time interval can be set to be equal to the start time of the background operation.

[0067] See also Figure 1 and Figure 4As shown, in one embodiment of the present invention, after a preset time interval, data is written into the storage chip 200 again. At this time, since the writing of data into the storage chip 200 was previously suspended, the storage chip 200 will start the background operation in the preset time interval to release part of the flash memory. Therefore, when writing data into the storage chip 200 again, the released flash memory block 203 of the single-layer storage unit or the flash memory block 203 of the multi-layer storage unit is first used to write data. At this time, the storage chip 200 is in a high-performance write mode and writes data with high performance. Afterwards, when the released flash memory block 203 of the single-layer storage unit or the flash memory block 203 of the multi-layer storage unit is filled with written data, data is written to the flash memory block 203 of the three-layer storage unit or the flash memory block 203 of the four-layer storage unit. At this time, the storage chip 200 is in a low-performance write mode and writes data with low performance. In this process, the storage chip 200 is in a high-performance write mode, and the time for writing data with high performance is the high-performance write time.

[0068] See also Figure 1 and Figure 4 As shown, it should be noted that, the high performance and low performance in the present application refer to the working state of the memory chip 200, and the write mode when the memory chip 200 uses the flash memory block 203 of a single-layer storage unit or the flash memory block 203 of a multi-layer storage unit to write data is called the high-performance write mode, and the write mode when the memory chip 200 uses the flash memory block 203 of a three-layer storage unit or the flash memory block 203 of a four-layer storage unit to write data is called the low-performance write mode.

[0069] See also Figure 1 and Figure 4 As shown, in one embodiment of the present invention, during the cycle, when the preset time interval is less than the sum of the background operation consumption and the background operation startup time, as the preset time interval increases, the high-performance write time gradually increases. When the preset time interval is equal to or greater than the sum of the background operation consumption and the background operation startup time, the preset time interval increases again, and the high-performance write time no longer increases, and it will be in a stable state.

[0070] See also Figure 1 and Figure 4 As shown, in one embodiment of the present invention, to determine whether the high-performance write time is stable, the high-performance write time in this cycle is compared with the high-performance write time in the previous cycle. If the high-performance write time in this cycle is greater than the high-performance write time in the previous cycle, the high-performance write time is unstable. If the high-performance write time in this cycle is equal to the high-performance write time in the previous cycle, the high-performance write time is stable during the previous cycle.

[0071] See also Figure 1 , Figure 4 and Figure 5 As shown, in a specific embodiment of the present invention, after entering the full dirty disk mode, in the first cycle, after the preset time interval T1, it will first enter the high-performance write mode, and after the high-performance write time T2, it will enter the low-performance write mode. Among them, the low-performance time T2 can be set arbitrarily, as long as it is greater than zero, and the low-performance time T2 in each writing process can remain unchanged. In the second cycle, the preset time interval T1 is increased, and the high-performance write time T2 increases accordingly. In the third cycle, the preset time interval T1 is increased again, and the high-performance write time T2 increases accordingly. And in the fourth cycle, after the preset time interval T1 is increased again, the high-performance write time T2 remains unchanged. Therefore, in the third cycle, the high-performance write time is stable.

[0072] It should be noted that the above-mentioned high-performance writing time stability is achieved in only three cycles for the convenience of understanding a specific embodiment. In the actual process of obtaining high-performance writing stability, the number of cycles is determined according to actual needs.

[0073] See also Figure 4 As shown, in one embodiment of the present invention, if the high-performance write time in this cycle is greater than the high-performance write time in the previous cycle, the high-performance write time is unstable, and the preset time interval needs to be increased. In this embodiment, when the preset time interval is increased, the preset time interval in this cycle is equal to the preset time interval in the previous cycle plus the step length. Among them, the step length is a preset constant. And the step length can be set according to specific needs. If the required background operation time is more accurate, the step length is set smaller.

[0074] See also Figure 4 As shown, in one embodiment of the present invention, the high-performance write time in this cycle is equal to the high-performance write time in the previous cycle, and the high-performance write time is stable during the previous cycle. When the high-performance write time is stable, the preset time interval during the cycle is equal to the sum of the start time of the background operation and the background operation time. Therefore, in this application, after obtaining the preset time interval for the high-performance write time to be stable, the difference between the preset time interval for the high-performance write time to be stable and the start time of the background operation is obtained as the background operation time.

[0075] See also Figure 4 As shown, in one embodiment of the present invention, the flash memory space released by the background operation each time is the product of the stable high-performance writing time and the high-performance writing speed. If the high-performance writing time is stable, the high-performance writing time is, for example, 10s, and the high-performance writing speed is, for example, 9MB / s, then the flash memory space released by the background operation each time is, for example, 90MB.

[0076] See also Figure 6 As shown, a memory chip testing system provided in an embodiment of the present application also includes a memory 302, a processor 301, and a program stored in the memory and executable on the processor, and the processor executes and implements the above-mentioned memory chip testing method.

[0077] See also Figure 6 As shown, the memory 302 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory may be used not only to store application software and various types of data installed in the electronic device, but also to temporarily store data that has been output or is to be output.

[0078] See also Figure 6 As shown, the processor 301 in some embodiments may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor is the control core (ControlUnit) of the vehicle-mounted device, and uses various interfaces and lines to connect various components of the entire vehicle-mounted device, and executes various functions of the vehicle-mounted device and processes data by running or executing programs or modules stored in the memory, and calling data stored in the memory.

[0079] The processor executes the operating system of the vehicle-mounted device and various installed application programs. The processor executes the application programs to implement the steps in the above method embodiment.

[0080] Exemplarily, the program may be divided into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules may be a series of program instruction segments capable of implementing specific functions, which are used to describe the execution process of the program in the vehicle-mounted device.

[0081] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, and includes a number of instructions for enabling a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to perform part of the functions of the lithium battery cold solder joint detection method of each embodiment of the present invention.

[0082] In summary, a testing method and testing system for a memory chip, the testing method for the memory chip includes continuously writing data into the memory chip until the memory chip enters a fully dirty disk mode. Afterwards, suspend writing data into the memory chip, and rewrite data into the memory chip after a preset time interval. After rewriting data into the memory chip, monitor the write mode of the memory chip, and when the memory chip first writes data with high performance and then enters a low-performance write mode, obtain the high-performance write time. Increase the preset time interval, and repeat the above steps to obtain the high-performance write time until the high-performance write time is stable. At this time, the background operation time is obtained based on the preset time interval when the high-performance write time is stable, and the flash memory space released each time by the background operation is obtained based on the stable high-performance write time and the speed of high-performance writing data.

[0083] The embodiments of the present invention disclosed above are only used to help illustrate the present invention. The embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method for testing a memory chip, It is characterized in that At least the following steps are included: Get the start time of background operation; Continuously writing data into the storage chip until the storage chip enters a fully dirty disk mode; Suspending writing data into the storage chip, and rewriting data into the storage chip after a preset time interval, and the initial preset time interval is equal to or greater than the start time of the background operation; Monitoring the write mode of the memory chip, when the memory chip first writes data with high performance and then enters a low performance write mode, obtaining the high performance write time; Increasing the preset time interval, and obtaining the high-performance writing time again until the high-performance writing time is stable; as well as The background operation time is obtained according to the preset time interval when the high-performance writing time is stable, and the flash memory space released each time by the background operation is obtained according to the stable high-performance writing time and the speed of high-performance writing data.

2. A memory chip testing method according to claim 1, It is characterized in that Obtaining the start time of the background operation includes the following steps: Continuously writing data into the storage chip until the storage chip enters a fully dirty disk mode; suspending writing data into the memory chip and monitoring the power supply current of the flash memory end; and When the power supply current of the flash memory terminal drops to zero, the timing starts, and until the power supply current recovers to a non-zero value, the timing time at this time is used as the start time of the background operation.

3. A method for testing a memory chip according to claim 2, It is characterized in that After obtaining the startup time of the background operation, the testing method of the storage chip also includes the following steps: when the power supply current returns to a non-zero value, re-timing until the power supply current drops to zero again, and using the timing time at this time as the time consumed by the background operation.

4. A memory chip testing method according to claim 1, It is characterized in that The method for judging whether the high-performance writing time is stable is as follows: Compare the high performance write time in this cycle with the high performance write time in the previous cycle; If the high-performance writing time in this cycle is greater than the high-performance writing time in the previous cycle, the high-performance writing time is unstable; as well as If the high-performance write time in this cycle is equal to the high-performance write time in the previous cycle, the high-performance write time is stable.

5. A memory chip testing method according to claim 1, It is characterized in that When increasing the preset time interval, the preset time interval in this cycle is equal to the preset time interval in the previous cycle plus the step size.

6. A memory chip testing method according to claim 1, It is characterized in that Obtaining the time consumed by the background operation includes the following steps: The preset time interval when the high-performance writing time is stable and the start time of the background operation are used as the background operation time.

7. A memory chip testing method according to claim 1, It is characterized in that Acquiring the flash memory space released each time by the background operation comprises the following steps: The product of the stable high-performance writing time and the high-performance writing data speed is used as the flash memory space released each time by the background operation.

8. A memory chip testing system, It is characterized in that The test system comprises: a memory storing program instructions; and The processor runs the program instructions to implement the test method of the storage chip as claimed in claim 1.