Data manual obtaining method of flash memory particles, data manual obtaining equipment and medium
By reading the number of flash memory particles and matching, obtaining the manufacturer's instruction set for instruction adaptation processing, and generating a data sheet, it solves the problem of low efficiency of developers operating flash memory particles without a data sheet, and realizes a method of quickly obtaining data sheets and improves development efficiency.
Patent Information
- Application Number
- CN202411964834.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2044-12-30
AI Technical Summary
When a developer gets the flash memory particles but does not get their data sheet, how to ensure that the device or system can identify and operate the flash memory particles correctly lead to inefficient development.
The number of the flash memory particles is read and matched based on the number set associated with the pre-stored data sheet. If the match fails, the manufacturer's information is matched based on the number definition information, and the manufacturer's instruction set is obtained for instruction adaptation processing, and a data sheet is generated.
It realizes the rapid acquisition of flash particles' data sheets without data sheets, improves development efficiency and reduces the problem of low development efficiency caused by manual query.
Smart Images

Figure CN119943122A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of storage technology, and in particular to a method for obtaining a data manual of a flash memory particle, a device for obtaining a data manual, and a medium. Background Art
[0002] When developers get a flash chip but don't have its datasheet (detailed technical specifications and data sheet), they face a challenge: how to ensure that their device or system can recognize and correctly operate the flash chip. Usually, developers refer to the datasheets of other chips that are similar to the current chip (such as brand, model or series) to understand the basic characteristics of the flash chip.
[0003] However, due to the wide variety of flash particles and frequent model updates, matching and analysis based on manual experience takes a lot of time, resulting in inefficiency in the overall development process (including flash memory particle adaptation, system integration, etc.).
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present application is to provide a method, device and medium for obtaining a data sheet of a flash memory particle, aiming to solve the technical problem of relying on manual experience to analyze the flash memory particles, resulting in low efficiency in the development and use of the flash memory particles.
[0006] To achieve the above object, the present application proposes a method for obtaining a data sheet of a flash memory particle, the method comprising:
[0007] If the flash memory number of the flash memory particle to be processed is read, a matching comparison is performed based on the flash memory number and a number set associated with the pre-stored data manual to obtain a matching result;
[0008] If the matching result is a matching failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain a manufacturer information matching result;
[0009] If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information;
[0010] Perform instruction adaptation processing on the flash memory particles to be processed based on the manufacturer's instruction set, and generate a data sheet for the flash memory particles to be processed according to the adaptation result.
[0011] In one embodiment, if the matching result is a matching failure, after the step of matching the manufacturer information of the flash memory number based on the number definition information of the flash memory number to obtain the manufacturer information matching result, the method further includes:
[0012] If the manufacturer information matching result is a matching failure, performing instruction adaptation processing on the flash memory particle to be processed based on the pre-stored first instruction set to obtain an instruction adaptation result, wherein when the manufacturer information matching result is a matching failure, the predefined instruction set associated with the manufacturer information is the first instruction set;
[0013] If the instruction adaptation result is a successful match, the manufacturer information is determined based on the successfully matched target operation instruction, and the step of obtaining the manufacturer instruction set corresponding to the manufacturer information is executed.
[0014] In one embodiment, if the manufacturer information matching result is a matching failure, after the step of performing instruction adaptation processing on the flash memory particle to be processed based on the pre-stored first instruction set and obtaining the instruction adaptation result, the method further includes:
[0015] If the instruction adaptation result is a match failure, determine the pre-stored operation instructions of the second instruction set, and perform instruction adaptation processing on the operation instructions of the second instruction sets of all manufacturers based on a preset order, where the second instruction set is all instruction sets corresponding to the manufacturer;
[0016] After the operation instructions of the second instruction set have completed instruction adaptation processing, the instruction matching degree and instruction matching experiment report corresponding to the instruction sets of all manufacturers are obtained;
[0017] In response to the operation instruction of the control interface, the instruction matching degree and the data manual of the flash memory particle to be processed corresponding to the instruction matching experiment report are determined.
[0018] In one embodiment, the method further comprises:
[0019] If the flash memory number of the flash memory particle to be processed fails to be read, a step of performing instruction adaptation processing on the flash memory particle to be processed based on a pre-stored first instruction set to obtain an instruction adaptation result is executed.
[0020] In one embodiment, if the matching result is a successful match, the data book corresponding to the successfully matched number is used as the data book of the flash memory particle to be processed.
[0021] In one embodiment, if the flash memory number of the flash memory particle to be processed is read, before the step of matching and comparing the flash memory number with the number set associated with the pre-stored data manual to obtain the matching result, the step further includes:
[0022] When the flash memory particle to be processed is obtained, the flash memory number of the flash memory particle to be processed is read based on the pre-stored operation command line.
[0023] In one embodiment, when a flash memory particle to be processed is obtained, before the step of reading the flash memory number of the flash memory particle to be processed based on a pre-stored operation command line, the method further includes:
[0024] Receive and store all instruction sets of each manufacturer corresponding to the existing data manual, and predefined instruction sets corresponding to the manufacturer information; or
[0025] Obtain all instruction sets of each manufacturer corresponding to the pre-stored data manual, and obtain the pre-defined instruction sets corresponding to the manufacturer information.
[0026] In one embodiment, if the matching result is successful, after the step of using the data book corresponding to the successfully matched number as the data book of the flash memory particle to be processed, the method further includes:
[0027] Output the data sheet of the flash memory particles to be processed.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a data manual acquisition device for flash memory particles, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the data manual acquisition method for flash memory particles as described above.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the method for obtaining the data manual of the flash memory particles as described above are implemented.
[0030] One or more technical solutions proposed in this application have at least the following technical effects:
[0031] First, the flash memory number of the flash memory particle to be processed is read, and after reading the flash memory number, the number set of its known data manual is matched and compared to obtain a matching result. If the matching result is a matching failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain the manufacturer information matching result. If the manufacturer information matching result is a matching success, the manufacturer instruction set corresponding to the manufacturer information is obtained, and the instruction adaptation processing is performed on the flash memory particle to be processed through the manufacturer instruction set, and finally the data manual of the flash memory particle to be processed is generated according to the instruction adaptation result. Based on this, the data manual of the flash memory particle to be processed can be quickly obtained based on an automatic query method without obtaining the datasheet of the flash memory particle to be processed, reducing the overall low development efficiency of the flash memory particles due to manual query, thereby improving the overall development efficiency of these flash memory particles when there are a large number of unidentified flash memory particles. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A flowchart of a first embodiment of a method for obtaining a data manual of a flash memory particle of the present application;
[0035] Figure 2 A flowchart diagram of a second embodiment of a method for obtaining a data manual of a flash memory particle of the present application;
[0036] Figure 3 A flowchart diagram of a third embodiment of a method for obtaining a data manual of a flash memory particle of the present application;
[0037] Figure 4 A schematic diagram of a flow chart of a method for obtaining a data manual of a flash memory particle provided in an embodiment of the present application;
[0038] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the method for obtaining the data manual of the flash memory particles in the embodiment of the present application.
[0039] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0040] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0041] Flash, also known as flash memory particles or flash memory, is a non-volatile memory (NVM). Datasheet, or data manual, is a document that describes the technical specifications and performance of an electronic device or component in detail. Datasheets are usually provided by manufacturers to guide users on how to correctly use and select the device or component. Among them, the datasheet usually contains the following information: basic parameters and specifications of the device or component, such as size, weight, power consumption, etc.; electrical characteristics, such as input / output voltage, current, impedance, etc.; performance indicators, such as read and write speed, storage capacity, reliability, etc.; usage methods and precautions, such as connection methods, working environment, operating temperature, etc.; package and pin information, such as pin arrangement, pin function, etc.
[0042] Specifically, the datasheet is an important reference material for Flash memory. It provides detailed technical specifications and performance information of Flash memory, helping users understand the characteristics and usage conditions of Flash memory, so as to correctly select and use Flash memory. Among them, the datasheet provides technical support information of Flash memory, such as pin functions, electrical characteristics, etc. This information is crucial for users when designing circuits and writing drivers.
[0043] When developers get a flash chip but don't have its datasheet, they face a challenge: how to ensure that their device or system can recognize and correctly operate the flash chip. Usually, developers refer to the datasheets of other chips that are similar to the current chip (such as brand, model or series) to understand the basic characteristics of the flash chip.
[0044] However, due to the wide variety of flash particles and frequent model updates, matching and analysis based on manual experience takes a lot of time, resulting in inefficiency in the overall development process (including flash memory particle adaptation, system integration, etc.).
[0045] Therefore, without obtaining the datasheet, it is necessary to quickly form a basic user manual for the flash, thereby improving the overall development efficiency of the flash.
[0046] The main solution of the embodiment of the present application is: if the flash memory number of the flash memory particle to be processed is read, a matching result is obtained based on the flash memory number and the number set associated with the pre-stored data manual;
[0047] If the matching result is successful, the data sheet corresponding to the successfully matched number is used as the data sheet of the flash memory particle to be processed.
[0048] Specifically, the flash memory number of the flash memory particle to be processed is matched with the number set of the existing data manual, and when the matching result is successful, it means that the flash memory number of the flash memory particle to be processed matches a number applicable to the data manual, that is, the data manual is applicable to the flash memory particle to be processed. Subsequently, the data manual of the flash memory particle to be processed is determined based on the matched number, so that the developer can accurately process the flash memory particle to be processed based on the data manual, thereby improving the overall development process of the flash memory particles.
[0049] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a data manual acquisition device for flash memory particles, etc. The following takes the data manual acquisition device for flash memory particles as an example to illustrate this embodiment and the following embodiments.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The present application embodiment provides a method for obtaining a data manual of a flash memory particle, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for obtaining the data manual of the flash memory particle of the present application.
[0052] In this embodiment, the method for obtaining the data manual of the flash memory particle includes steps S10 to S40:
[0053] Step S10: If the flash memory number of the flash memory particle to be processed is read, a matching comparison is performed based on the flash memory number and a number set associated with the pre-stored data manual to obtain a matching result.
[0054] It should be noted that the data sheet information of the flash memory particle to be processed refers to the datasheet of the flash memory particle to be processed, the flash memory particle to be processed refers to an unknown flash particle, that is, a flash particle without a datasheet, and the flash number refers to the flash ID of the flash memory particle to be processed.
[0055] In this embodiment, in an actual development scenario, if there is no datasheet for the flash memory particle, it is usually necessary for the developer to spend a lot of time analyzing and matching the flash memory particle, and the processing cycle is long, which affects the overall development efficiency of the flash memory particle. Based on this, it is necessary to first read the flash memory number of the flash memory particle to be processed, so as to match the corresponding datasheet based on the read flash memory number, or to obtain the manufacturer information corresponding to the flash memory particle, and then perform datasheet matching processing based on the manufacturer information. Thus, the flash memory particle to be processed is processed based on the acquired datasheet adapted to the flash memory particle to be processed. In this process, the operator does not need to perform manual analysis and adaptation of the data, thereby improving the processing efficiency of the flash memory particle. Among them, the flash memory number of the flash memory particle to be processed can be obtained by command number or detection tool detection method.
[0056] Furthermore, after reading the flash memory number, it is necessary to match and compare the flash memory number with the number set associated with the pre-stored data sheet, wherein the pre-stored data sheet refers to the currently known datasheet, which will indicate which flash the datasheet is applicable to, that is, a datasheet may correspond to multiple different flashes, and a flash memory number corresponds to a unique datasheet. Therefore, after reading the flash memory number, the flash memory number is matched with a number in the known datasheet. If the flash memory number is the same as a number in the known datasheet, it means that the match is successful, that is, the datasheet of the flash memory particle to be processed is the datasheet that has been successfully matched. Otherwise, it is considered that the match has failed.
[0057] Step S20: If the matching result is a matching failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain a manufacturer information matching result.
[0058] It should be noted that if the match fails, it means that the existing data sheet information is not compatible with the flash memory particles to be processed, so it is necessary to determine the data sheet of the flash memory particles to be processed through other processing methods. Specifically, the manufacturer information of the flash memory particles can be automatically parsed, and the instructions can be adapted based on the obtained manufacturer information to generate a data sheet that matches the flash memory particles to be processed.
[0059] The number definition information of the flash memory number refers to the identity information of the flash memory particle to be processed queried through the ID Dedinition command. The identity information includes but is not limited to manufacturer information, storage model, storage capacity, sector / block information, feature support, version information and temperature range.
[0060] Therefore, in this embodiment, after executing the ID Dedinition instruction, the manufacturer information of the flash memory particles to be processed can be viewed based on the queried information, so as to further determine its data sheet through the manufacturer information. Among them, the process of matching the manufacturer information can be to match the code identifying the manufacturer information with the known manufacturer code after reading the relevant information through the ID Dedinition instruction, so as to obtain the manufacturer information matching result of successful matching or failed matching. It can be understood that if the matching fails, it means that the corresponding manufacturer information of the flash memory particles to be processed is hidden, damaged or modified in some way when they leave the factory. At this time, it is necessary to adapt it through other methods such as instructions based on known manufacturers to determine its manufacturer information.
[0061] Step S30: If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information.
[0062] It should be noted that the manufacturer's instruction set is usually obtained by sorting out the operating instructions of various flash memory manufacturers based on the data manuals of existing flash memory particles and past historical work experience. The instruction set is information pre-stored locally or in the cloud.
[0063] In this embodiment, if the manufacturer information matches successfully, the manufacturer instruction set of the flash memory particles corresponding to the manufacturer can be directly obtained from the local or cloud, so as to perform instruction adaptation verification processing based on the manufacturer instruction set.
[0064] Step S40, performing instruction adaptation processing on the flash memory particles to be processed based on the manufacturer's instruction set, and generating a data manual for the flash memory particles to be processed according to the adaptation result.
[0065] It can be understood that if the flash memory particle to be processed is a flash memory particle a of manufacturer A, there will usually be instructions that are compatible with it in the manufacturer's instruction set. Therefore, it is necessary to first obtain the manufacturer's instruction set, and then determine the compatibility of each instruction in the instruction set with the flash memory particle one by one, that is, determine whether the flash memory particle to be processed can execute or respond to a certain instruction in the manufacturing instruction set, and each processed instruction will generate an adaptation result, each adaptation result will be stored and recorded locally, and finally the adaptation result of the instruction adaptability of the manufacturer's instruction set will be obtained.
[0066] In this embodiment, after obtaining the adaptation result, it is necessary to analyze the adaptation result to form a data manual for the flash memory particles to be processed. For example, when certain instructions pass the verification, the read and write type and other information retrieved by the instruction are determined, and then the data manual for the flash memory particles to be processed is generated based on this information.
[0067] The present embodiment provides a method for obtaining a data manual of a flash memory particle. After a matching result between a flash memory number and a number set associated with a pre-stored data manual is a matching failure, definition information of the flash memory number is read, and after matching the definition information to the manufacturer information, instruction adaptation processing is performed based on the manufacturer instruction set corresponding to the manufacturer information, thereby generating a data manual based on the adaptation result, thereby improving the flexibility of obtaining the data manual through the flash memory number, and at the same time reducing human interference based on automated adaptation processing, thereby improving the development and use efficiency of the flash memory particles to be processed.
[0068] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 After step S20, the method for obtaining the data manual of the flash memory particle further includes steps S50 to S60:
[0069] Step S50: If the manufacturer information matching result is a matching failure, an instruction adaptation process is performed on the flash memory particle to be processed based on the pre-stored first instruction set to obtain an instruction adaptation result.
[0070] It should be noted that when the manufacturer information matching result is a matching failure, the predefined instruction set associated with the manufacturer information is the first instruction set. Among them, when the manufacturer information matching result is a matching failure, it means that the manufacturer information of the flash memory particle is hidden, damaged or modified, and this type of flash memory particle is usually a flash memory particle customized by the manufacturer, and is not a common type of flash memory particle. Therefore, the predefined instruction set is a pre-stored special instruction set based on the accumulated development experience of the main control manufacturer, or a customized special instruction set obtained through commercial exchanges. The specific content of the special instruction set is not limited in this application. The instruction adaptation results include a successful match and a failed match, wherein a successful match indicates that the flash memory particle to be processed belongs to a special flash memory particle produced by a certain manufacturer.
[0071] Therefore, in this embodiment, if the manufacturer information matching result is a match failure, the pre-stored first instruction set is used to preferentially perform instruction adaptation processing on the flash memory particle to be processed, thereby obtaining a corresponding instruction adaptation result, so as to determine the manufacturer information of the flash memory particle to be processed based on the instruction adaptation result, while avoiding direct adaptation based on all known instruction sets of all manufacturers, thereby reducing the computational complexity.
[0072] It is understandable that different manufacturers correspond to different first instruction sets, and the first instruction sets are usually selected in turn for adaptation until all instructions are unmatched or the manufacturer information that successfully matches is found.
[0073] Step S60: If the instruction adaptation result is a successful match, the manufacturer information is determined based on the successfully matched target operation instruction, and the step of obtaining the manufacturer instruction set corresponding to the manufacturer information is executed.
[0074] In this embodiment, when the instruction adaptation result is a successful match, the manufacturer information corresponding to the successfully matched target operation instruction can be determined, and then the manufacturer information is used as the manufacturer information of the flash memory particle to be processed, and then the processing action of step S40 is executed. When the manufacturer information match fails, the manufacturer information is determined based on other processing methods, thereby improving the flexibility of determining the data manual.
[0075] The present embodiment provides a method for obtaining a data manual of a flash memory particle, which performs instruction adaptation on the flash memory particle to be processed based on a special instruction set of a known manufacturer, so that a successful matching result determines that the flash memory particle to be processed is a particle of a special signal produced by a certain manufacturer, so as to generate a data manual for the flash memory particle to be processed based on the manufacturer information, thereby improving the flexibility of obtaining a data manual through a flash memory number, and reducing human interference based on automated adaptation processing, thereby improving the development and use efficiency of the flash memory particles to be processed.
[0076] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the second embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 3 After step S50, the method for obtaining the data manual of the flash memory particle further includes steps S70 to S90:
[0077] Step S70: If the instruction adaptation result is a match failure, determine the pre-stored operation instructions of the second instruction set, and perform instruction adaptation processing on the operation instructions of the second instruction sets of all manufacturers based on a preset order.
[0078] It should be noted that the second instruction set is all instruction sets corresponding to the manufacturer. If there are ten manufacturers, there are ten corresponding second instruction sets. If the instruction adaptation processing result is a match failure, it means that the flash memory particles to be processed are not particles of a special model produced by the manufacturer. Therefore, all instruction sets corresponding to the manufacturer can be determined, and then adaptation processing can be performed through all instruction sets to generate the corresponding data manual.
[0079] Specifically, in this process, it is necessary to poll and traverse all the operating instructions of the manufacturer to obtain the instruction matching degree and instruction matching experimental report corresponding to each instruction. For example, a data manual is generated based on the manufacturer information corresponding to the instruction with the highest matching degree and the experimental reports of all operating instructions.
[0080] Furthermore, in this embodiment, in order to reduce the computational complexity, when the operation instructions of the second instruction set are adapted, the entire instruction set of manufacturer A is not directly traversed, but a certain operation instruction a (all manufacturers contain this instruction) is traversed from manufacturer A to manufacturer Z to determine which manufacturers' operation instructions are adapted, thereby narrowing the matching range of manufacturer data. For example, the operation instructions a of manufacturers C to H can all be adapted to the flash memory particles to be processed, and at this time, the adaptation range of the operation instructions is narrowed to manufacturers C to H. Therefore, when the instruction adaptation result is a match failure, the operation instructions in the second instruction set are first determined, and then the operation instructions of the second instruction set contained by the manufacturer are adapted according to a preset order such as the manufacturer number order or the pinyin initials order.
[0081] In this embodiment, when the manufacturer information does not match and the special instruction information does not match, the entire instruction set of the manufacturer is traversed, and the manufacturer information is filtered through one of the subsets of the entire instruction set in turn, thereby reducing the computational complexity and improving the efficiency of generating the data manual.
[0082] Step S80, after the instruction adaptation process is completed for all the operation instructions of the second instruction set, the instruction matching degree and instruction matching experiment report corresponding to the instruction sets of all manufacturers are obtained.
[0083] In this embodiment, the instruction sets of all manufacturers will output instruction matching scores and corresponding instruction matching experiment reports, wherein the more matching instructions there are, the higher the instruction matching score is, and the more accurate the data in the instruction matching experiment report is.
[0084] Step S90, in response to the operation instruction of the control interface, determining the instruction matching degree and the data manual of the flash memory particle to be processed corresponding to the instruction matching experiment report.
[0085] In this embodiment, after the matching process, the user is required to participate in the evaluation in order to obtain the data manual of the flash memory particle. Therefore, the control instructions output by the corresponding user in the control interface, such as the determination instructions for generating the data manual of the flash memory particle to be processed, can be used to enable the data manual acquisition device to obtain the data manual of the flash memory particle to be processed.
[0086] Based on the second embodiment of the present application, in a fourth embodiment of the present application, the method for obtaining a data manual of a flash memory particle further includes step S100:
[0087] Step S100, if the flash memory number of the flash memory particle to be processed fails to be read, a step of performing instruction adaptation processing on the flash memory particle to be processed based on a pre-stored first instruction set to obtain an instruction adaptation result.
[0088] In this embodiment, if the flash memory number reading fails, it means that the flash memory number of the current flash memory particle to be processed is hidden and cannot be effectively read. It is understandable that if the flash memory number of the flash memory particle is hidden, it is generally believed that the flash memory particle to be processed is a particle of a special model produced by the manufacturer, that is, it can respond to special operation instructions. Therefore, it is necessary to execute step S60 to perform instruction adaptation processing on the flash memory particle to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result. Therefore, when the flash memory number of the flash memory particle to be processed fails to be read, the data manual of the flash memory particle to be processed is obtained based on other processing methods, thereby improving the flexibility of data manual generation. At the same time, based on the automatic matching and adaptation processing of the instruction, there is no need for the user to perform manual processing, thereby improving the development and use efficiency of the flash memory particles to be processed.
[0089] Based on the first embodiment of the present application, in the fifth embodiment of the present application, after step S10, step S110 is further included:
[0090] Step S100: If the matching result is successful, the data book corresponding to the successfully matched number is used as the data book of the flash memory particle to be processed.
[0091] In this embodiment, the matching process can be understood as querying and matching in the number set to confirm whether there is a number that is the same as the flash memory number of the flash memory particle to be processed. When the flash memory number of the flash memory particle to be processed matches a number in the number set, it means that the flash memory particles corresponding to the two numbers are the same or compatible. Therefore, the data manual associated with the number is also applicable. Based on this, the obtained flash memory number is matched and compared with the pre-stored number set to obtain a matching result. Once the match is successful, the data manual corresponding to the flash memory particle can be immediately obtained, thereby avoiding the time of searching and reading a large number of documents, thereby optimizing resource utilization and improving the development and use efficiency of flash memory particles.
[0092] After obtaining the data sheet of the flash memory particle to be processed, the user can perform adaptation support processing on the flash memory particle to be processed based on the data sheet. The specific adaptation support processing method is not limited in this application.
[0093] This embodiment provides a method for obtaining a data manual of a flash memory particle, which matches the read flash memory number of the flash memory particle to be processed with the number set of the existing data manual, and when the matching result is successful, it indicates that the flash memory number of the flash memory particle to be processed matches a certain number applicable to the data manual, that is, the data manual is applicable to the flash memory particle to be processed. Based on this, the data manual of the flash memory particle to be processed whose data manual is in an unknown state can be quickly obtained, thereby improving the development and use efficiency of the flash memory particle.
[0094] Based on the first embodiment of the present application, in the sixth embodiment of the present application, before step S10, step S01 is further included:
[0095] Step S01, when a flash memory particle to be processed is obtained, the flash memory number of the flash memory particle to be processed is read based on a pre-stored operation command line.
[0096] For example, if the developer configures a pre-stored command line read flash ID, the device can directly read the memory number of the flash memory particle to be processed through the command line. Optionally, the flash memory number of the flash memory particle to be processed can also be read through other command lines, and this application does not limit the content of the command line.
[0097] In another optional implementation, the flash memory number can also be obtained through a third-party detection tool, that is, the flash memory particles to be processed are sent to the detection tool, and the flash memory number is determined based on the feedback result of the detection tool. Among them, the data manual acquisition device of the flash memory particles can be connected to the third-party processing software, and then the flash memory number is detected based on the third-party processing software, or the detection processing is performed through the detection plug-in.
[0098] The flash memory number of the flash memory particle to be processed is obtained through a pre-stored command line, so as to obtain an accurate flash memory number, and then the processing is performed based on the flash memory number.
[0099] Furthermore, before step S01, all instruction sets of various manufacturers corresponding to the existing data manuals and predefined instruction sets corresponding to the manufacturer information may be received and stored.
[0100] It is understandable that before obtaining a certain unknown flash memory particle to be processed, the user usually needs to form an initial instruction set for each flash memory model based on the existing data manual, and then form all the instruction sets of each manufacturer and predefined special operation instruction sets based on the instruction sets of each flash model and historical usage experience. Finally, these instruction information are input into the cloud or data manual acquisition device, so that if the flash memory number of the flash memory particle to be processed is not obtained or the manufacturer information of the flash memory particle to be processed is not obtained, instruction adaptation processing can be performed based on these instruction sets, thereby improving the flexibility when obtaining the data manual.
[0101] Optionally, all instruction sets of various manufacturers corresponding to pre-stored data manuals may be obtained, as well as pre-defined instruction sets corresponding to manufacturers, so as to automatically generate corresponding instruction sets based on the existing data manual information.
[0102] Further, based on any of the above embodiments, after obtaining the data manual of the flash memory particle to be processed, it is necessary to output the data manual of the flash memory particle to be processed. Therefore, if the matching result of the flash memory number and the number set associated with the pre-stored data manual is a successful match, and the data manual corresponding to the successfully matched number is used as the data manual of the flash memory particle to be processed, the data manual is output to facilitate the user to perform instruction adaptation support processing. In addition, after obtaining the data manual in other processing methods, the data manual can be output.
[0103] For example, in order to help understand the implementation process of the method for obtaining the data manual of the flash memory particle obtained by combining all the above embodiments, please refer to Figure 4 , Figure 4 A flowchart of a method for obtaining a data sheet of a flash memory particle obtained by combining all processing methods is provided, specifically:
[0104] When processing, the user first forms the instruction set of each flash model based on the existing datasheet, and then forms the original instruction set of each flash and the special operation instruction set, i.e., the pre-stored first instruction set and the second instruction set, according to the instruction set of each model and past work experience, and then stores these instruction sets in the data manual acquisition device of the flash memory particles. Furthermore, after the device obtains the flash memory particles that are not configured with the data manual, it can read the flash memory number first through the pre-stored or developer-entered command line 90h read flash ID, and after reading the flash memory number, match it based on the flash memory number and the number set of the existing data manual. If the flash memory number matches successfully, then based on the successfully matched number, the data manual of the flash memory particle to be processed is obtained and output, so that the user can adapt and support the flash memory particles to be processed.
[0105] In addition, when the flash memory number is not matched, the number definition information of the flash memory number is queried through the ID Definition method, and the manufacturer information of the flash memory particles to be processed is queried based on the number definition information. After the manufacturer information is queried, the manufacturer information is determined and the instruction set of the manufacturer information is obtained. Then, the instruction compatibility of each instruction in the instruction set with the flash memory particles is determined one by one. Finally, based on the compatibility, the experimental results are analyzed to obtain the data manual of the flash memory particles to be processed. After obtaining the data manual, the data manual can be output so that the user can perform adaptation support processing on the flash memory particles to be processed.
[0106] Furthermore, if the manufacturer information of the flash memory particles to be processed is not found, it is necessary to poll and traverse the manufacturer's special operation instructions, so as to determine its manufacturer information based on the adaptability of the special operation instructions. If the instruction adaptation is successful, the manufacturer information can be determined and the instruction adaptation processing can be performed. If the instruction adaptation fails, it is necessary to traverse and poll the instruction sets of all manufacturers, generate the instruction matching score and instruction matching experiment report of each manufacturer's instruction set, and finally, senior engineers will participate in the evaluation to obtain the data manual of the flash memory particles to be processed, and the processing equipment can directly obtain the data manual determined by the senior engineers.
[0107] Furthermore, in the process of reading the flash memory number, if the flash memory number is not read, it is necessary to poll and traverse the manufacturer's special operation instructions, so as to determine its manufacturer information based on the adaptability of the special operation instructions.
[0108] Based on this, when there is no data manual for the flash memory particle to be processed, its corresponding data manual can be quickly obtained, so that the flash memory particle can be processed based on the acquired data manual compatible with the flash memory particle to be processed, thereby improving the development and use process of the flash memory particle.
[0109] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for obtaining the data manual of the flash memory particles of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0110] The present application provides a data manual acquisition device for flash memory particles, the data manual acquisition device for flash memory particles comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data manual acquisition method for the flash memory particles in the first embodiment described above.
[0111] Reference below Figure 5 , which shows a structural schematic diagram of a data manual acquisition device for flash memory particles suitable for implementing an embodiment of the present application. Figure 5 The data sheet acquisition device for the flash memory particles shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0112] like Figure 5 As shown, the data manual acquisition device for flash memory particles may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the data manual acquisition device for flash memory particles are also stored in RAM1004. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the data manual acquisition device of the flash memory particles to communicate wirelessly or wired with other devices to exchange data. Although the data manual acquisition device of the flash memory particles with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0113] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0114] The data manual acquisition device for flash memory particles provided by the present application adopts the data manual acquisition method for flash memory particles in the above embodiment, which can solve the technical problem of relying on manual experience to analyze flash memory particles, resulting in low efficiency in the development and use of flash memory particles. Compared with the prior art, the beneficial effects of the data manual acquisition device for flash memory particles provided by the present application are the same as the beneficial effects of the data manual acquisition method for flash memory particles provided by the above embodiment, and the other technical features of the data manual acquisition device for flash memory particles are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0115] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0116] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0117] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the data manual acquisition method of the flash memory particles in the above-mentioned embodiment.
[0118] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, an SD card (Secure Digital Memory Card), an eMMC (embedded MultiMediaCard), a UFS (Universal Flash Storage), an SSD (Solid State Drive), but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0119] The computer-readable storage medium may be included in the data manual acquisition device of the flash memory particle; or may exist independently without being assembled into the data manual acquisition device of the flash memory particle.
[0120] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the data manual acquisition device of the flash memory particle, the data manual acquisition device of the flash memory particle: if the flash memory number of the flash memory particle to be processed is read, a matching comparison is performed based on the flash memory number and a number set associated with the pre-stored data manual to obtain a matching result;
[0121] If the matching result is a matching failure, the manufacturer information of the flash memory number is matched based on the number definition information of the flash memory number to obtain a manufacturer information matching result;
[0122] If the manufacturer information matching result is a successful match, obtain the manufacturer instruction set corresponding to the manufacturer information;
[0123] Perform instruction adaptation processing on the flash memory particles to be processed based on the manufacturer's instruction set, and generate a data sheet for the flash memory particles to be processed according to the adaptation result.
[0124] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0127] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the data manual acquisition method of the above-mentioned flash memory particles, and can solve the technical problem of low efficiency in the development and use of flash memory particles due to analysis of flash memory particles by manual experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the data manual acquisition method of the flash memory particles provided by the above-mentioned embodiment, and will not be described in detail here.
Claims
1. A method for obtaining a data sheet of a flash memory particle, characterized in that: The method comprises: If the flash memory number of the flash memory particle to be processed is read, a matching comparison is performed based on the flash memory number and a number set associated with the pre-stored data manual to obtain a matching result; If the matching result is a matching failure, matching the manufacturer information of the flash memory number based on the number definition information of the flash memory number to obtain a manufacturer information matching result; If the manufacturer information matching result is a successful match, obtaining a manufacturer instruction set corresponding to the manufacturer information; Instruction adaptation processing is performed on the flash memory particles to be processed based on the manufacturer instruction set, and a data manual of the flash memory particles to be processed is generated according to the adaptation result.
2. The method for obtaining a data sheet of a flash memory particle according to claim 1, characterized in that: If the matching result is a matching failure, after the step of matching the manufacturer information of the flash memory number based on the number definition information of the flash memory number to obtain the manufacturer information matching result, the method further includes: If the manufacturer information matching result is a matching failure, performing instruction adaptation processing on the flash memory particle to be processed based on a pre-stored first instruction set to obtain an instruction adaptation result, wherein when the manufacturer information matching result is a matching failure, the predefined instruction set associated with the manufacturer information is the first instruction set; If the instruction adaptation result is a successful match, the manufacturer information is determined based on the successfully matched target operation instruction, and the step of obtaining the manufacturer instruction set corresponding to the manufacturer information is performed.
3. The method for obtaining a data sheet of a flash memory particle according to claim 2, characterized in that: If the manufacturer information matching result is a matching failure, after the step of performing instruction adaptation processing on the flash memory particles to be processed based on the pre-stored first instruction set to obtain the instruction adaptation result, the method further includes: If the instruction adaptation result is a match failure, determining the operation instructions of the pre-stored second instruction set, and performing instruction adaptation processing on the operation instructions of the second instruction set of all manufacturers based on a preset order, where the second instruction set is all instruction sets corresponding to the manufacturer; After the operation instructions of the second instruction set have all completed instruction adaptation processing, obtaining instruction matching degrees and instruction matching experiment reports corresponding to the instruction sets of all manufacturers; In response to the operation instruction of the control interface, the instruction matching degree and the data manual of the flash memory particle to be processed corresponding to the instruction matching experiment report are determined.
4. The method for obtaining a data sheet of a flash memory particle according to claim 2, characterized in that: The method further comprises: If the flash memory number of the flash memory particle to be processed fails to be read, the step of performing instruction adaptation processing on the flash memory particle to be processed based on the pre-stored first instruction set to obtain an instruction adaptation result is executed.
5. The method for obtaining a data sheet of a flash memory particle according to claim 1, characterized in that: After the step of reading the flash memory number of the flash memory particle to be processed and performing a matching comparison based on the flash memory number and the number set associated with the pre-stored data manual to obtain a matching result, the method further includes: If the matching result is a successful match, the data sheet corresponding to the successfully matched number is used as the data sheet of the flash memory particle to be processed.
6. The method for obtaining a data sheet of a flash memory particle according to claim 1, characterized in that: Before the step of reading the flash memory number of the flash memory particle to be processed and performing a matching comparison based on the flash memory number and the number set associated with the pre-stored data manual to obtain a matching result, the step further includes: When the flash memory particle to be processed is obtained, the flash memory number of the flash memory particle to be processed is read based on a pre-stored operation command line.
7. The method for obtaining a data sheet of a flash memory particle according to claim 6, characterized in that: When the flash memory particle to be processed is obtained, before the step of reading the flash memory number of the flash memory particle to be processed based on a pre-stored operation command line, the step further includes: Receive and store all instruction sets of each manufacturer corresponding to the existing data manual, and predefined instruction sets corresponding to the manufacturer information; or Obtain all instruction sets of each manufacturer corresponding to the pre-stored data manual, and obtain the pre-defined instruction sets corresponding to the manufacturer information.
8. The method for obtaining a data sheet of a flash memory particle according to any one of claims 1 to 7, characterized in that: After the step of using the data sheet corresponding to the successfully matched number as the data sheet of the flash memory particle to be processed if the matching result is successful, the method further includes: Output the data sheet of the flash memory particle to be processed.
9. A device for acquiring a data manual of a flash memory particle, characterized in that: The data manual acquisition device of the flash memory particle includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data manual acquisition method of the flash memory particle according to any one of claims 1 to 8.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for obtaining a data manual of a flash memory particle according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Flash memory management algorithm debugging method, system and equipment and readable storage medium
CN115576766A
Message registration and subscription method and system
CN115904751A
Manual generation method and device, electronic equipment and storage medium
CN116303999A
Flash memory data recovery method and device, solid state disk and storage medium
CN116737451A
Flash memory test method and device, storage medium and computer equipment
CN119152924A
Cited By
Extensible NAND interface control microinstruction processor and method thereof
CN121680939A