Method, device, equipment and storage medium for improving flash production efficiency
By generating and serializing Flash attribute feature information and management tables, and using power-on position information to store mass production files, the problem of repetitive low-level scanning in Flash mass production is solved, enabling rapid verification and efficient mass production.
Patent Information
- Application Number
- CN202411706792.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-11-26
AI Technical Summary
In existing technologies, the data generated by low-level scanning during Flash mass production is not stored, which forces mass production testers to rerun the low-level scanning verification, seriously affecting mass production efficiency.
By performing a low-level format scan to generate Flash attribute feature information and management table, serialization operation is performed to generate mass production information files, which are then stored according to a preset storage path. The folder name is generated using the power-on location information, thus enabling the saving and quick retrieval of mass production information files and avoiding repeated low-level format scans.
It accelerates the verification and mass production process of Flash, reduces low-level scanning time from 2 hours to 1-2 minutes, improves mass production efficiency, and supports rapid iteration and parameter optimization of mass production tools.
Smart Images

Figure CN119806898B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flash memory technology, and in particular to a method, apparatus, device, and storage medium for improving the efficiency of flash mass production. Background Technology
[0002] NAND Flash (hereinafter referred to as Flash) is a mainstream storage medium widely used in various types of storage products, such as USB flash drives, SD cards, and solid-state drives. Storage products include storage controller chips, Flash memory, and PCBs, among which the storage controller chip is used to control the Flash memory to read and write data, and is one of the core key components of storage products.
[0003] For Flash memory to read and write data, a storage controller chip needs to be integrated with the Flash memory, and mass production tools are required for mass production. In actual mass production, the Flash memory may fail to meet customer requirements or fail to achieve the desired results. Because the data generated during the Flash low-level formatting scan is not stored externally, mass production testers need to rerun the low-level formatting scan after debugging the Flash memory to verify the results, which severely impacts the Flash memory's mass production efficiency. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, apparatus, device and storage medium for improving the mass production efficiency of Flash memory, thereby improving the mass production efficiency of Flash memory.
[0005] The first aspect of this application provides a method for improving Flash mass production efficiency, including:
[0006] Perform a low-level scan of the Flash memory to generate Flash attribute information and a management table;
[0007] The attribute feature information and the management table are serialized to generate a mass production information file;
[0008] Create a folder according to the preset storage path and store the mass production information file in the corresponding folder;
[0009] Read the power-on location information of the Flash memory, generate a location number based on the power-on location information, and use the location number as the folder name of the folder.
[0010] Further, in one preferred embodiment, the step of performing a low-level scan of the Flash to generate Flash attribute feature information and a management table includes:
[0011] Read the low-level scanning parameters of the mass production tool, wherein the low-level scanning parameters include: scan level, ECC level, optimization mode, and product settings;
[0012] Perform a write operation on the Flash according to the low-level scan parameters;
[0013] The data written to the Flash memory is obtained and compared with the original written information for verification. Based on the verification result, the attribute feature information of the Flash memory is parsed out.
[0014] A management table is created based on the attribute feature information, and the management table is written to.
[0015] Re-energize the Flash and format it.
[0016] Further, in one preferred embodiment, the step of serializing the attribute feature information and the management table to generate a mass production information file includes:
[0017] Define a structure;
[0018] Read the attribute feature information and the link order of the management table;
[0019] The mass production information file is created by filling the structure according to the linking order using a serialization function.
[0020] Further, in one preferred embodiment, after reading the power-on location information of the Flash memory, generating a location number based on the power-on location information, and using the location number as the filename of the folder, the method further includes:
[0021] The mass production information file is located according to the preset storage path;
[0022] Read the ID code information of the Flash at the current power-on location, and determine whether the ID code information of the Flash at the current power-on location matches the mass production information file. If yes, obtain the high-level formatting parameters of the mass production tool, and perform a high-level formatting scan on the Flash using the mass production information file; if no, generate and output the corresponding error code information.
[0023] A second aspect of this application provides an apparatus for improving Flash mass production efficiency, comprising:
[0024] The low-level formatting module is used to perform a low-level formatting scan of the Flash memory, generating attribute feature information and management tables for the Flash memory.
[0025] The serialization module is used to perform serialization operations on the attribute features and management table to generate a mass production information file;
[0026] The storage module is used to create folders according to preset storage paths and store the mass production information files in the corresponding folders;
[0027] A module is created to read the power-on location information of the Flash memory, generate a location number based on the power-on location information, and use the location number as the folder name of the folder.
[0028] Further, in one preferred embodiment, the low-level module includes:
[0029] The acquisition unit is used to acquire the low-level scanning parameters of the mass production tool, wherein the low-level scanning parameters include: scan level, ECC level, optimization mode, and product settings;
[0030] A writing unit is used to perform a writing operation on the Flash according to the low-level scan parameters;
[0031] The parsing unit is used to read the data written to the Flash and compare it with the original written information for verification. Based on the verification result, the attribute feature information of the Flash is parsed out.
[0032] The table unit is used to create a management table based on the attribute feature information and to write data to the management table.
[0033] The formatting unit is used to power on the Flash and format it.
[0034] Further, in one preferred embodiment, the serialization module includes:
[0035] Struct unit, used to define a structure;
[0036] A linked list reading unit is used to read the attribute feature information and the link order of the management table;
[0037] The generation unit is used to fill the structure according to the linking order using a serialization function to create a mass production information file.
[0038] Furthermore, in one preferred embodiment, it further includes:
[0039] The search module is used to locate the mass production information file according to the preset storage path;
[0040] The high-level scanning module is used to read the ID code information of the Flash at the current power-on position, determine whether the ID code information of the Flash at the current power-on position matches the mass production information file, and if so, obtain the high-level scanning parameters of the mass production tool and perform a high-level scanning of the Flash using the mass production information file; if not, generate and output the corresponding error code information.
[0041] A third aspect of this application provides an electronic device, comprising:
[0042] Processor; and
[0043] The memory stores executable code, which, when executed by the processor, causes the processor to perform the method described above for improving Flash mass production efficiency.
[0044] A fourth aspect of this application provides a computer-readable medium storing executable code, which, when executed by a processor, causes the processor to perform the method described above for improving Flash mass production efficiency.
[0045] The technical solution of this application includes: performing a low-level format scan of the Flash memory to generate attribute feature information and a management table; performing a serialization operation on the attribute feature information and the management table to generate a mass production information file; creating a folder according to a preset storage path and storing the mass production information file in the corresponding folder; reading the power-on position information of the Flash memory, generating a position number based on the power-on position information, and using the position number as the filename of the folder. Since the mass production information generated by the low-level format scan is stored in a folder on an external PC terminal after serialization, after the mass production tester debugs the Flash memory (i.e., modifies the mass production information file), they can return to the original storage path to retrieve the mass production information file and perform a high-level format scan on the Flash memory, thereby accelerating the verification and mass production of the Flash memory. Attached Figure Description
[0046] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is a flowchart illustrating a method for improving Flash mass production efficiency according to an embodiment of this application;
[0048] Figure 2 This is a flowchart illustrating a method for improving Flash mass production efficiency according to another embodiment of this application;
[0049] Figure 3 The diagram shown is a structural schematic of a device for improving Flash mass production efficiency according to an embodiment of this application.
[0050] Figure 4The diagram shown is a structural schematic of an apparatus for improving Flash mass production efficiency in another embodiment of this application.
[0051] Figure 5 The diagram shown is a structural schematic of an electronic device according to an embodiment of this application. Detailed Implementation
[0052] To facilitate understanding of the present invention, a more complete description of the invention is provided below with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and complete understanding of the disclosure of the invention.
[0053] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly attached to the other element or there may be an intervening element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used herein are for illustrative purposes only and do not represent the only possible implementation.
[0054] In related technologies, Flash memory may fail or fail to meet customer requirements during actual mass production. Because the data generated during Flash low-level formatting is not stored externally, mass production testers need to rerun the low-level formatting scan to verify the debugging results after debugging the Flash, which will seriously affect the mass production efficiency of Flash memory.
[0055] Therefore, in order to solve the above-mentioned technical problems, this application provides a method to improve the mass production efficiency of Flash memory, which can improve the mass production efficiency of Flash memory.
[0056] The technical solution of this application will be described in detail below with reference to the accompanying drawings.
[0057] Figure 1 The diagram shown is a flowchart illustrating a method for improving Flash mass production efficiency according to an embodiment of this application.
[0058] Please see Figure 1 A method to improve Flash mass production efficiency includes the following steps:
[0059] Step S110: Perform a low-level scan of the Flash to generate Flash attribute feature information and a management table.
[0060] It's important to note that Flash memory, as a storage medium, is hierarchically structured as LUN (Die), Plane, Block, and Page. Block is the smallest erase unit, while Page is the smallest write unit. Based on these physical structural characteristics, for a storage controller chip to read and write to Flash, it needs to understand these characteristics, i.e., the Flash's properties. Unlike other high-performance, high-computing chips, storage controller chips lack the performance to perform a full Flash scan. Therefore, they rely on the computing power of an external host (PC) to perform a low-level format scan. This low-level format scan is accomplished using mass production tools running on the PC.
[0061] Low-level formatting involves many processes, each of which is time-consuming. The purpose of low-level formatting is to identify the status of Flash blocks and pages, i.e., which blocks and pages are good and which are bad (essentially, the attribute characteristics of the Flash). However, the goal of low-level formatting is not only to identify bad blocks and pages, but also to establish partitions, capacities, block templates, page templates, etc., all based on the status of the blocks and pages. The second goal is to establish corresponding management tables based on the Flash's attribute characteristics and the operating standards disclosed in the Flash datasheet. These management tables record Flash management data, and when the storage product is powered on, the storage controller chip reads and loads these management tables in advance to manage the Flash.
[0062] Step S120: Perform serialization operation on attribute feature information and management table to generate mass production information file.
[0063] Serialization is the process of converting the state information of an object into a form that can be stored or transmitted. This process allows the object to be reconstructed (deserialized) in different environments.
[0064] In this embodiment, the mass production information can be serialized as follows: 1) Define a structure; 2) Read the attribute features and the linking order of the management table; 3) Use a serialization function to fill the structure according to the linking order to create a mass production information file.
[0065] First, define the structure. The structure is a data structure used to load Flash attribute feature information and management tables. In this embodiment, the structure includes: BlockInfo (block information), Prescan (pre-analysis information), TableData (table information), etc. Among them, BlockInfo is used to record the Block status, such as which Blocks are good and which Blocks are bad; Prescan is used to record Flash BadColumn, ECC (error correction bit depth), PageMask (page template) and other information; TableData is used to record Flash management table information, such as Partition (partition information), BootIndex (read-only table), Retry (retry table), etc.
[0066] During mass production, the attribute and management tables generated by Flash memory are distributed across random memory locations. Simply put, memory is a space containing several addresses, each corresponding to a piece of data. However, the capacity of each address is limited and may not fully accommodate all the data. For any overflowing data, another memory address is allocated for storage. This allocated address is random, not necessarily the next address after the current one. To ensure data integrity and continuity, a linking relationship is established between these memory addresses. For example, if data A is allocated three memory addresses: address 2, address 10, and address 55, these three addresses have the following linking relationship: address 2 — address 10 — address 55. Therefore, during the serialization process, the attribute feature information and the linking order of the management table's spatial addresses in memory are read. Based on the linking order, serialization functions (such as nlohmann / json, Pickle, Java.io.Serializable, System.Runtime.Serialization.Formatters.Binary, etc., all of which can achieve serialization, and the appropriate serialization function can be selected according to actual needs) are used to fill the structure, thereby ultimately creating the mass production information file. This is equivalent to summarizing and organizing the scattered Flash attribute feature information and management table distributed in memory into an ordered and complete information table.
[0067] Step S130: Create a folder according to the preset storage path and store the mass production information file in the corresponding folder.
[0068] It should be noted that after successfully serializing the mass production information file, it can be stored. In this embodiment, a folder is created according to a preset storage path. The preset storage path can be configured through the mass production tool. The mass production tester can choose a suitable storage path to create a folder according to the actual situation and store the mass production information file in that folder.
[0069] Step S140: Read the power-on position information of the Flash, generate a position number based on the power-on position information, and use the position number as the folder name of the folder.
[0070] It should be noted that in actual mass production, to maximize the efficiency of Flash production, mass production tools are typically equipped with multi-channel options. "Channel count" is equivalent to multiple power-on interfaces; each channel can connect to one Flash chip, meaning multiple Flash chips can be mass-produced simultaneously in a single process. However, even Flash chips of the same model have different physical structural characteristics. Therefore, each Flash chip in mass production should have its own dedicated mass production information file. In this embodiment, to differentiate between different Flash chips, the power-on location information is read, a location number is generated based on this information, and this location number is used as the filename for the folder.
[0071] If the test board is connected to three Flash chips simultaneously, and three folders have been successfully created according to the preset storage path, each containing a mass production information file, then the power-on position information of the Flash chips is read, and position numbers are generated based on the power-on position information, such as "01", "02", and "03". "01", "02", and "03" are the folder names corresponding to the three folders.
[0072] In this embodiment, since the mass production information generated by the low-level format scan is stored in a folder on an external PC terminal after serialization, after the mass production tester debugs the Flash (for example, the mass production tester changes the PageMask template of the mass production information file according to the customer's requirements to achieve the Flash capacity required by the customer), the mass production information file can be returned to the original storage path to perform a high-level format scan on the Flash without having to run a low-level format scan on the Flash again, which can accelerate the verification and mass production efficiency of the Flash.
[0073] It's important to note that due to the unique nature of the storage industry, storage product manufacturers, when mass-producing Flash memory, need to consider their own product requirements and the current mass production environment, and will therefore impose different mass production requirements on Flash. Flash is the most critical medium affecting the capacity, read / write speed, and yield of storage products. If the mass-produced Flash fails to meet the manufacturer's requirements for capacity, read / write speed, or yield, the storage controller chip designer will be required to promptly debug and verify the mass production solution. Therefore, the mass production information file generated by low-level formatting is the core file that mass production testers can use to quickly debug the Flash. The mass production information file records Flash attribute characteristics and management tables; it's a data table that visualizes the physical structure of the Flash. Mass production testers can understand the internal structure of the Flash through the parameter data in the mass production information file and, based on their years of Flash debugging experience, complete the debugging of the Flash according to the storage product manufacturer's mass production requirements.
[0074] For example, if after successful flash mass production, it's discovered that the flash capacity may not reach the customer's required 60GB, but only 32GB. (This is because the mass production plan prioritizes read and write speeds at the expense of some capacity. This is the inherent strategy of the mass production plan, not a flaw, but rather an inability to meet mass production requirements due to its inherent limitations.) In this case, mass production testers can locate the mass production information file in the corresponding folder based on the preset storage path and the flash's power-on location. Since flash capacity is related to the page template (PageMask), testers can modify the PageMask while ensuring the flash passes verification. For example:
[0075] Original page template PageMask: 0111 1101;
[0076] The revised page template PageMask: 1111 1101.
[0077] "0" represents a bad page, and "1" represents a good page. This is equivalent to adding one more page to each block of the current Flash memory, thereby increasing the Flash capacity. Even if configuring a bad page as a good page would cause data errors, these can be corrected using the Flash's ECC error correction code. The mass production information file is then saved. The debugged mass production information file is imported according to the original storage path, and the Flash can then proceed with mass production based on the updated file. Since the physical address allocated to the mass production information file within the Flash remains unchanged, when the Flash is powered on again for mass production, the storage control chip can still read and load it using the physical address allocated during the initial mass production. This eliminates the need to rerun all Flash process steps as in a low-level format scan, significantly accelerating Flash verification and mass production efficiency. Typically, a low-level format scan takes 2 hours, but according to the technical solution of this application, Flash mass production can be achieved in just 1-2 minutes, greatly improving mass production efficiency.
[0078] Furthermore, the technical solution of this application not only benefits storage product manufacturers but also greatly assists storage product designers, primarily in iterating mass production tool versions. Mass production tools, as software tools for mass-producing Flash (containing firmware code for mass production), also need to be updated to adapt to market changes. This requires that the mass production tools designed by various storage controller chip designers be compatible with as many new Flash models and operating systems as possible, while also meeting the mass production requirements of storage product manufacturers. Therefore, before the official release of a new version of the mass production tool, extensive batch verification is necessary. The technical solution of this application can effectively facilitate this process. Mass production testers can provide feedback to developers based on the various parameters in the mass production information file. That is, based on their years of experience debugging Flash, mass production testers can identify which parameters can be optimized and make changes in advance, then perform a high-level scan of the Flash to observe the changes in the mass production results. If the changes are effective, feedback can be provided to the developers for optimization and adjustments, accelerating the release time of the new version of the mass production tool.
[0079] Figure 2 The diagram shown is a flowchart illustrating a method for improving Flash mass production efficiency according to another embodiment of this application.
[0080] Please see Figure 2 A method to improve Flash mass production efficiency includes the following steps:
[0081] Step S210: Perform a low-level scan of the Flash to generate Flash attribute feature information and management table.
[0082] In this embodiment, when performing a low-level format scan on the Flash, it can be performed as follows: read the low-level format scan parameters of the mass production tool, wherein the low-level format scan parameters include: scan level, ECC level, optimization mode, and product settings; perform a write operation on the Flash according to the low-level format scan parameters; obtain the data written to the Flash and compare and verify it with the original write information, and parse the attribute characteristics of the Flash according to the verification result; establish a management table according to the attribute characteristics and write the management table; power on the Flash again and format the Flash.
[0083] It's important to note that the mass production interface allows configuration of low-level formatting scan parameters. Among these, the most crucial are scan level, ECC level, and optimization mode. Scan level represents the type of Flash scan, including factory scan, low-level formatting scan, high-level formatting scan, and clear + factory scan. Different scan types execute different operations on the Flash, resulting in varying time consumption. ECC level represents the allowed number of bit errors per kilobyte. For example, when ECC is configured to "30," it means that if the current page experiences errors of less than or equal to 30 bits per kilobyte, and these errors are corrected using ECC error correction codes, the current page is considered a good page; otherwise, it is a bad page. Optimization mode represents the overall Flash scanning strategy, including capacity priority, stability priority, and speed priority. For instance, when configured for capacity priority, the mass-produced Flash will have a relatively large capacity, but its speed and stability will be weaker; conversely, when configured for speed priority, the mass-produced Flash will have a relatively fast read / write speed, but its capacity will be smaller. The configuration of the optimization mode is selected based on the mass production requirements of the storage product manufacturer.
[0084] Once the parameters required for low-level formatting are configured, the low-level formatting scan of the Flash memory can be initiated. The scan first writes data to the Flash, then reads the written data and compares the two. Based on the comparison results, it parses the distribution locations of good blocks, bad blocks, good pages, and bad pages, thus completing the "construction" of basic Flash attribute characteristic information. Subsequently, a management table is created based on the attribute characteristic information and written to it. Finally, the Flash is powered on again and formatted, and the "operating system" for managing the Flash is burned into the Flash so that the storage controller chip can subsequently read and load it. This completes the low-level formatting scan of the Flash.
[0085] It's important to note that Flash memory, as a storage medium, is hierarchically structured as LUN (Die), Plane, Block, and Page. Block is the smallest erase unit, while Page is the smallest write unit. Based on these physical structural characteristics, for a storage controller chip to read and write to Flash, it needs to understand these characteristics, i.e., the Flash's properties. Unlike other high-performance, high-computing chips, storage controller chips lack the performance to perform a full Flash scan. Therefore, they rely on the computing power of an external host (PC) to perform a low-level format scan. This low-level format scan is accomplished using mass production tools running on the PC.
[0086] Low-level formatting involves many processes, each of which is time-consuming. The purpose of low-level formatting is to identify the status of Flash blocks and pages, i.e., which blocks and pages are good and which are bad (essentially, the attribute characteristics of the Flash). However, the goal of low-level formatting is not only to identify bad blocks and pages, but also to establish partitions, capacities, block templates, page templates, etc., all based on the status of the blocks and pages. The second goal is to establish corresponding management tables based on the Flash's attribute characteristics and the operating standards disclosed in the Flash datasheet. These management tables record Flash management data, and when the storage product is powered on, the storage controller chip reads and loads these management tables in advance to manage the Flash.
[0087] Step S220: Perform serialization operation on attribute feature information and management table to generate mass production information file.
[0088] For an explanation of the principles of "serialization", please refer to step S120, which will not be repeated here.
[0089] Step S230: Create a folder according to the preset storage path and store the mass production information file in the corresponding folder.
[0090] It should be noted that after successfully serializing the mass production information file, it can be stored. In this embodiment, a folder is created according to a preset storage path. The preset storage path can be configured through the mass production tool. The mass production tester can choose a suitable storage path to create a folder according to the actual situation and store the mass production information file in that folder.
[0091] Step S240: Read the power-on position information of the Flash, generate a position number based on the power-on position information, and use the position number as the folder name of the folder.
[0092] It should be noted that in actual mass production, to maximize the efficiency of Flash production, mass production tools are typically equipped with multi-channel options. "Channel count" is equivalent to multiple power-on interfaces; each channel can connect to one Flash chip, meaning multiple Flash chips can be mass-produced simultaneously in a single process. However, even Flash chips of the same model have different physical structural characteristics. Therefore, each Flash chip in mass production should have its own dedicated mass production information file. In this embodiment, to differentiate between different Flash chips, the power-on location information is read, a location number is generated based on this information, and this location number is used as the filename for the folder.
[0093] If the test board is connected to three Flash chips simultaneously, and three folders have been successfully created according to the preset storage path, each containing a mass production information file, then the power-on position information of the Flash chips is read, and position numbers are generated based on the power-on position information, such as "01", "02", and "03". "01", "02", and "03" are the folder names corresponding to the three folders.
[0094] Step S250: Locate the mass production information file according to the preset storage path.
[0095] Due to the unique nature of the storage industry, storage product manufacturers need to consider their own product requirements and the current mass production environment when mass-producing Flash memory, resulting in different mass production requirements. Flash memory is the most critical medium affecting the capacity, read / write speed, and yield of storage products. If the mass-produced Flash memory fails to meet the manufacturer's requirements for capacity, read / write speed, or yield, the storage controller chip designer will be required to promptly debug and verify the mass production solution. Therefore, the mass production information file generated by low-level formatting is the core file that mass production testers can use to quickly debug the Flash memory. The mass production information file records Flash memory attribute characteristics and management tables; it is a data table that visualizes the physical structure of the Flash memory. Mass production testers can use the parameter data in the mass production information file to complete the debugging of the Flash memory.
[0096] If, after successful flash production, it's discovered that the flash capacity may not meet the customer's requirement of 60GB, but is only 32GB, then mass production testers can locate the mass production information file in the corresponding folder according to the preset storage path and the flash's power-on location. Since the flash capacity is related to the page template (PageMask), mass production testers can modify the PageMask, ensuring the flash passes the comparison verification. For example:
[0097] Original page template PageMask: 0111 1101;
[0098] The revised page template PageMask: 1111 1101.
[0099] "0" represents a bad page, and "1" represents a good page. This is equivalent to adding one more page to each block of the current Flash memory, thereby increasing the Flash capacity. Even if configuring a bad page as a good page would cause data errors, these can be corrected using the Flash's ECC error correction code. The mass production information file is then saved. The debugged mass production information file is imported according to the original storage path, and the Flash can then proceed with mass production based on the updated file. Since the physical address allocated to the mass production information file within the Flash remains unchanged, when the Flash is powered on again for mass production, the storage control chip can still read and load the page using the physical address allocated during the initial mass production. Only the PageMask is different. This eliminates the need to rerun all Flash process steps as with low-level formatting, greatly accelerating Flash verification and mass production efficiency. Typically, low-level scanning takes 2 hours, but according to the technical solution of this application, Flash mass production can be achieved in just 1 to 2 minutes, which greatly helps in mass production efficiency.
[0100] Step S260: Read the ID code information of the Flash at the current power-on position, determine whether the ID code information of the Flash at the current power-on position matches the mass production information file. If yes, obtain the high-level formatting parameters of the mass production tool and perform a high-level formatting scan on the Flash using the mass production information file. If no, generate and output the corresponding error code information.
[0101] It's important to note that each Flash chip has its own unique mass production information file. During high-level formatting, this file must be used for mass production; otherwise, the Flash's attributes and characteristics will not match, leading to mass production failure. To minimize this risk, when mass production testers perform a high-level format, they read the Flash ID code at the current power-on position and check if it matches the ID code recorded in the mass production information file. If it does, the high-level formatting parameters for the mass production tool are obtained, and the Flash is scanned using the mass production information file. If not, a corresponding error code is generated and output. Since each Flash chip has a unique ID code recorded in the mass production information file, this method ensures a match between the Flash chip and the mass production information file, preventing mass production failures.
[0102] Corresponding to the aforementioned method embodiments, this application also provides an apparatus and corresponding embodiments for improving Flash mass production efficiency.
[0103] Figure 3 A schematic diagram of a device for improving Flash mass production efficiency according to an embodiment of this application is shown.
[0104] Please see Figure 3 A device 300 for improving Flash mass production efficiency includes: a low-level formatting module 310, a serialization module 320, a storage module 330, and a creation module 340. Wherein:
[0105] The low-level formatting module 310 is used to perform a low-level formatting scan of the Flash, generating attribute feature information and management tables for the Flash.
[0106] The serialization module 320 is used to serialize attribute feature information and management tables to generate mass production information files.
[0107] The storage module 330 is used to create folders according to preset storage paths and store mass production information files in the corresponding folders.
[0108] Module 340 is used to read the power-on position information of the Flash memory, generate a position number based on the power-on position information, and use the position number as the file name of the folder.
[0109] It should be noted that the method for improving Flash mass production efficiency implemented by the apparatus disclosed in this embodiment is the same as that described in the above embodiments, and therefore will not be described in detail here. Optionally, each module and the other operations or functions described above are respectively for implementing the methods in the foregoing embodiments.
[0110] Figure 4 A schematic diagram of a device for improving Flash mass production efficiency according to an embodiment of this application is shown.
[0111] Please see Figure 4 A device 300 for improving the efficiency of Flash mass production includes: a low-level formatting module 310, a serialization module 320, a storage module 330, a creation module 340, a search module 350, and a high-level formatting module 360.
[0112] The search module 350 is used to locate the mass production information file according to the preset storage path;
[0113] The high-level scanning module 360 is used to read the ID code information of the Flash at the current power-on position, determine whether the ID code information of the Flash at the current power-on position matches the mass production information file, if so, obtain the high-level scanning parameters of the mass production tool, and perform high-level scanning of the Flash using the mass production information file; if not, generate and output the corresponding error code information.
[0114] For functional descriptions of the low-level formatting module 310, serialization module 320, storage module 330, and creation module 340, please refer to [link / reference]. Figure 3 This will not be elaborated upon here.
[0115] Furthermore, in this embodiment, the low-level formatting module 310 includes: an acquisition unit 311, a writing unit 312, a parsing unit 313, a table unit 314, and a formatting unit 315.
[0116] The acquisition unit 311 is used to acquire the low-level scanning parameters of the mass production tool, wherein the low-level scanning parameters include: scan level, ECC level, optimization mode, and product settings.
[0117] The write unit 312 is used to perform write operations on the Flash according to the low-level scan parameters.
[0118] The parsing unit 313 is used to read the data written to the Flash and compare and verify it with the original written information. Based on the verification result, the attribute feature information of the Flash is parsed out.
[0119] Table unit 314 is used to create a management table based on attribute feature information and to write data into the management table.
[0120] The formatting unit 315 is used to power on the Flash and format the Flash.
[0121] Furthermore, in this embodiment, the serialization module 320 includes: a structure unit 321, a linked list reading unit 322, and a generation unit 323.
[0122] Structure unit 321 is used to define structures.
[0123] The linked list reading unit 322 is used to read attribute feature information and manage the linked order of the table.
[0124] The generation unit 323 is used to fill the structure according to the linking order using a serialization function to create a mass production information file.
[0125] It should be noted that the method for improving Flash mass production efficiency implemented by the apparatus disclosed in this embodiment is the same as that described in the above embodiments, and therefore will not be described in detail here. Optionally, each module and the other operations or functions described above are respectively for implementing the methods in the foregoing embodiments.
[0126] See Figure 5 Another embodiment of this application illustrates a computing electronic device 500 including a processor 510 and a memory 520.
[0127] The processor 510 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0128] The general-purpose processor can be a microprocessor or any conventional processor. Memory 520 can include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices.
[0129] The ROM can store static data or instructions required by the processor 510 or other modules of the computer. The permanent storage device can be a read-write storage device. The permanent storage device can be a non-volatile storage device that retains stored instructions and data even when the computer is powered off. In some embodiments, the permanent storage device uses a high-capacity storage device (e.g., magnetic or optical disk, flash memory) as the permanent storage device.
[0130] In other implementations, the persistent storage device can be a removable storage device (e.g., a floppy disk or optical drive). System memory can be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory can store some or all of the instructions and data required by the processor during runtime.
[0131] In addition, memory 520 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical discs may also be used.
[0132] In some embodiments, memory 520 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-high density optical disc, a flash memory card (e.g., SD card, mini SD card, and Micro-SD card), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wire. Executable code is stored on memory 520, which, when processed by processor 510, can cause processor 510 to perform some or all of the methods described above.
[0133] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.
[0134] Alternatively, this application may be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) storing executable code (or computer program or computer instruction code) thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the steps of the methods described above according to this application.
[0135] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
Claims
1. A method for improving Flash production efficiency, characterized in that, The method comprises the following steps: performing low-grade scanning on the Flash to generate attribute characteristic information and a management table of the Flash; serializing the attribute characteristic information and the management table to generate a production information file; creating a folder according to a preset storage path and storing the production information file into the corresponding folder; reading power-on position information of the Flash, generating a position serial number according to the power-on position information, and taking the position serial number as a folder name of the folder.
2. The method of claim 1, wherein, The step of performing low-grade scanning on the Flash to generate attribute characteristic information and a management table of the Flash comprises the following steps: reading low-grade scanning parameters of a production tool, wherein the low-grade scanning parameters comprise scanning levels, ECC levels, optimization modes and product settings; performing write operation on the Flash according to the low-grade scanning parameters; reading data written into the Flash and comparing the data with original write information to check the data, and analyzing attribute characteristic information of the Flash according to a checking result; establishing a management table according to the attribute characteristic information and writing the management table; re-powering the Flash and formatting the Flash.
3. The method of claim 1, wherein, The step of serializing the attribute characteristic information and the management table to generate a production information file comprises the following steps: defining a structure; reading a link order of the attribute characteristic information and the management table; filling the structure according to the link order by using a serialization function to create the production information file.
4. The method of claim 1, wherein, After the step of reading power-on position information of the Flash, generating a position serial number according to the power-on position information, and taking the position serial number as a folder name of the folder, the method further comprises the following steps: finding the production information file according to the preset storage path; reading ID code information of a current power-on position Flash, judging whether the ID code information of the current power-on position Flash matches the production information file, if yes, obtaining high-grade parameters of the production tool and performing high-grade scanning on the Flash by using the production information file, and if no, generating and outputting corresponding error code information.
5. An apparatus for improving Flash production efficiency, characterized by, The method comprises the following steps: a low-grade module for performing low-grade scanning on the Flash to generate attribute characteristic information and a management table of the Flash; a serialization module for serializing the attribute characteristic information and the management table to generate a production information file; a storage module for creating a folder according to a preset storage path and storing the production information file into the corresponding folder; a creating module for reading power-on position information of the Flash, generating a position serial number according to the power-on position information, and taking the position serial number as a folder name of the folder.
6. The apparatus of claim 5, wherein, The low-grade module comprises the following steps: an obtaining unit for obtaining low-grade scanning parameters of a production tool, wherein the low-grade scanning parameters comprise scanning levels, ECC levels, optimization modes and product settings; a write unit for performing write operation on the Flash according to the low-grade scanning parameters; an analyzing unit for reading data written into the Flash and comparing the data with original write information to check the data, and analyzing attribute characteristic information of the Flash according to a checking result; a table unit configured to establish a management table according to the attribute characteristic information and write the management table; a formatting unit configured to re-power the Flash and format the Flash.
7. The apparatus of claim 5, wherein, The serialization module comprises: a structure unit configured to define a structure; a linked list reading unit configured to read a link order of the attribute characteristic information and the management table; a generating unit configured to fill the structure according to the link order by using a serialization function and create a production information file.
8. The apparatus of claim 5, wherein, Further comprising: a searching module configured to search for the production information file according to the preset storage path; a high-grade module configured to read ID code information of a current power-on position Flash, judge whether the ID code information of the current power-on position Flash matches the production information file, if yes, acquire high-grade parameters of a production tool, and perform high-grade scanning on the Flash by using the production information file, and if no, generate and output corresponding error code information. 9.An electronic device comprising: a processor; and a memory having executable code stored thereon, wherein when the executable code is executed by the processor, the processor performs the method for improving Flash production efficiency according to any one of claims 1 to 4.
10. A computer readable medium storing executable code, characterized in that, The executable code is executed by the processor, and the processor performs the method for improving Flash production efficiency according to any one of claims 1 to 4.
Citation Information
Patent Citations
Apparatus, system, and method for accessing persistent files in non-execute-in-place flash memory
CN101208755A
Mass production testing of USB flash cards with various flash memory cells
US20080177922A1