Method and system for controlling SSD mass production capacity and frequency and storage medium
The license file is strictly verified through five-fold verification and SM4 encryption algorithm. Combined with Ukey initialization and storage optimization, it solves the problems of arbitrary adjustment of SSD mass production capacity and times and data security, realizes precise control and data protection, and improves production reliability and security.
Patent Information
- Application Number
- CN202510803112.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-16
- Publication Date
- 2025-09-19
AI Technical Summary
The existing Ukey authorization solution lacks an effective binding mechanism for the coordinated control of SSD mass production capacity and frequency, resulting in arbitrary adjustments to production strategies, affecting market supply and demand balance and product quality. In addition, data security is insufficient and vulnerable to theft and tampering.
A five-fold verification mechanism is used to strictly verify the license file, including decryption, integrity verification, SN verification, and signature verification. The data is protected by the SM4 encryption algorithm. Combined with the initialization and storage structure optimization of Ukey, precise binding of capacity and number of times and data security are achieved.
It achieves precise, reliable and secure binding control of SSD mass production capacity and frequency, ensures the accuracy of production plans and the confidentiality and integrity of data, prevents data leakage and tampering, and improves production reliability and data security.
Smart Images

Figure CN120671199A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of solid-state drive manufacturing, and in particular to a method, system, and storage medium for controlling the capacity and number of times of mass production of SSDs. Background Art
[0002] In the field of solid-state drive (SSD) manufacturing, with the rapid development of information technology and the continuously increasing demand for storage in various electronic devices, the scale of SSD mass production is showing an increasing trend. Currently, the industry widely uses Ukey to authorize mass production tools, with the goal of ensuring the legality and security of mass production operations. However, existing Ukey-based authorization solutions have many significant issues that need to be addressed in the coordinated control of SSD mass production capacity and frequency.
[0003] Lack of coordinated control over mass production capacity and production runs: Currently, there's no mechanism to effectively tie mass production capacity and production runs together, allowing customers to arbitrarily change their production mix during the production process. For example, a company originally planned to authorize a customer to produce 1,000 480GB SSDs and 500 960GB SSDs to meet varying market demands and maintain a balanced supply and demand. However, because existing solutions lack the ability to link capacity and production runs, customers may arbitrarily adjust their production strategies to maximize profits, shifting resources from 480GB production to 960GB production. This results in 960GB production far exceeding the planned 500 units, while 480GB production falls below 1,000 units. This arbitrary adjustment not only disrupts the company's original production plan but also creates an imbalance in the supply and demand of SSDs of different capacities in the market. This leads to an oversupply of high-capacity products, resulting in a significant price drop, and a shortage of low-capacity products, impacting the overall market stability. Furthermore, deviating from production plans can lead to inappropriate process adjustments, affecting product quality and damaging the company's brand image.
[0004] Cause Analysis: The existing Ukey authorization mechanism focuses solely on licensing the use of mass production tools, failing to fully consider the correlation between mass production capacity and runs. It also lacks the logic and functionality to coordinate and manage the production runs corresponding to products with different capacity specifications. This allows customers to easily circumvent the capacity-running restrictions when operating mass production tools, adjusting the combination of production capacity and runs as desired.
[0005] Data security and integrity issues: The protection of data related to mass production capacity and frequency during storage and transmission on the UKey is clearly insufficient. This critical data is highly susceptible to theft and tampering during transmission, and can also be damaged by malicious attacks while stored on the UKey. Any data issues directly impact the accuracy and reliability of mass production capacity and frequency control, disrupting the entire production plan. For example, if capacity and frequency authorization data is tampered with during transmission, the capacity and quantity of products produced will be significantly different from the original plan, resulting in significant financial losses for the company.
[0006] Cause Analysis: Existing technologies lack sufficient emphasis on data security. Whether in the Ukey design phase or throughout the mass production process, insufficiently robust encryption algorithms were employed to effectively protect data related to mass production capacity and counts. Furthermore, a comprehensive and reliable integrity verification mechanism was not established. For example, during data transmission, only simple encryption methods may have been used, which is easily cracked, leading to data leakage or tampering. Furthermore, the capacity and count data stored in the Ukey lacked regular and rigorous integrity verification measures, making it impossible to detect malicious data modifications in a timely manner.
[0007] In summary, although the existing technology based on Ukey authorized mass production tools has guaranteed the legality of the use of mass production tools to a certain extent, it has serious deficiencies in the coordinated control of SSD mass production capacity and frequency, as well as data security. Summary of the Invention
[0008] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a method, system and storage medium for controlling the capacity and number of times of mass production of SSDs.
[0009] The object of the present invention is achieved through the following technical solutions: In a first aspect, the present invention provides: a method for controlling the capacity and number of SSD mass production, comprising the following steps: During the file import phase, the license file is decrypted using SM4 and then subjected to five-fold verification. If any verification fails, the current process ends and the reason for the failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is increased. If not, the capacity and number of mass productions are increased. The import record is then written to the Ukey, along with the HASH256 value of the imported license file, to complete the import. During the mass production verification phase, determine whether the Ukey is connected. If it is, select the mass production configuration and determine whether the XML configuration is encrypted. If it is encrypted, perform the license file verification. If the verification passes, execute the automatic mass production process according to the license file. Then determine the mass production type. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, determine whether the capacity of this mass production is equal to the original disk capacity. If so, no count check is performed. If not, a count check is performed.
[0010] Preferably, the mass production verification stage further includes the following steps: If the Ukey is not connected, the XML configuration is not encrypted, or the license file verification fails, the current process ends and the corresponding reason is prompted.
[0011] Preferably, the five-factor verification includes the following steps: Determine whether the HASH256 checksum file is damaged. If not, determine whether the Ukey's SN is consistent with the SN initially written into the Ukey. If they are consistent, determine whether the license file's SN is consistent with the Ukey's SN. If they are consistent, perform license file signature verification. If the signature verification passes, determine whether the license file is imported for the first time. If it is the first time to import, import the license file.
[0012] Preferably, the number of times checking includes the following steps: Read the license information in Ukey; Get the configured capacity and the number of selected disks; Determine whether the mass production quantity is less than the license count. If so, determine whether the license file is within the validity period. If so, wait for mass production to complete and determine whether it is successful. If so, decrement the capacity count corresponding to the license file by 1 and return to the automatic mass production process to execute subsequent steps.
[0013] Preferably, if the mass production quantity is greater than or equal to the license number or the license file is not within the validity period or the mass production is unsuccessful, the current process is terminated and the corresponding reason is prompted.
[0014] A third aspect of the present invention provides a system for controlling the capacity and number of SSD mass productions, characterized in that it is used to implement any of the above methods for controlling the capacity and number of SSD mass productions, including: The file import module is used to perform SM4 decryption on the license file and then perform five-fold verification. If any verification fails, the current process ends and the reason for the verification failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is accumulated. If not, the capacity and number of mass productions are added, and the import record is written to the Ukey, recording the HASH256 value of the imported license file to complete the import. The mass production verification module is used to determine whether the Ukey is connected. If the Ukey is connected, the mass production configuration is selected and whether the XML configuration is encrypted. If it is encrypted, the license file is verified. If the verification passes, the automatic mass production process is executed according to the license file; then the mass production type is determined. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, whether the capacity of this mass production is equal to the original disk capacity is determined. If it is equal, no count check is performed. If not, a count check is performed.
[0015] A third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned methods for controlling the capacity and number of SSD mass production is implemented.
[0016] The beneficial effects of the present invention are: 1) By integrating Ukey key information and strict verification, accurate, reliable and secure binding control of SSD mass production capacity and times can be achieved.
[0017] 2) Multiple checks are implemented at every stage from license file import to SSD mass production. These include license file decryption, integrity verification, SN verification, signature verification, and first-time import verification. During mass production, SSD capacity is verified against the corresponding capacity and number of times in the Ukey. These checks are intertwined to ensure system accuracy and security.
[0018] 3) License files utilize hash256 calculation, SM3 signature, and SM4 encryption, and Ukey data undergoes targeted initialization and rigorous verification. From R&D to production, transmission and storage, data confidentiality, integrity, and authenticity are guaranteed, preventing data theft, tampering, or forgery, and avoiding production disruptions caused by data issues. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flow chart of a method for controlling the capacity and number of SSD mass production; Figure 2 This is the flow chart for the file import phase; Figure 3 This is the flow chart of the mass production verification stage. DETAILED DESCRIPTION
[0020] The following will clearly and completely describe the technical solutions of the present invention in conjunction with the embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present invention.
[0021] See Figure 1-Figure 3 The first aspect of the present invention provides: a method for controlling the capacity and number of SSD mass production, comprising the following steps: During the file import phase, the license file is decrypted using SM4 and then subjected to five-fold verification. If any verification fails, the current process ends and the reason for the failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is increased. If not, the capacity and number of mass productions are increased. The import record is then written to the Ukey, along with the HASH256 value of the imported license file, to complete the import. During the mass production verification phase, determine whether the Ukey is connected. If it is, select the mass production configuration and determine whether the XML configuration is encrypted. If it is encrypted, perform the license file verification. If the verification passes, execute the automatic mass production process according to the license file. Then determine the mass production type. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, determine whether the capacity of this mass production is equal to the original disk capacity. If so, no count check is performed. If not, a count check is performed.
[0022] In this implementation, the following three tools are required: The License Tool is responsible for generating the crucial license file. It writes information such as the UKey's serial number, specific capacity, corresponding mass production run (e.g., 480GB - 1000 units, 960GB - 500 units), manufacturer ID, and expiration date into the file. Subsequently, a hash256 calculation is performed to generate a file digest for integrity verification. The file is signed using the SM3 algorithm to ensure source authenticity, and encrypted using the SM4 algorithm to prevent data leakage or tampering during transmission and storage.
[0023] Ukey Initialization Tool: Used to initialize the Ukey. First, re-write the Ukey's factory SN to strengthen identification. Then, separate areas are created within the Ukey to store the production count, capacity information, manufacturer ID, and the hash256 value of the imported license file, providing a foundation for subsequent precise control and verification.
[0024] License import tool: responsible for importing the license file into Ukey. Figure 2 The encrypted license file is first decrypted using SM4. The file integrity is then verified using HASH256 to ensure it has not been modified during transmission or storage. The UKey's SN is then double-checked to verify the consistency between the license file SN and the currently connected and internal SNs in the UKey. This prevents UKey replacement or impersonation, and prevents protocol packet capture from modifying the SN. The license file signature is then verified to ensure legitimacy, determine if it is being imported for the first time, and avoid data confusion. The number of times the UKey has the same capacity is checked and added or superimposed according to the rules to accurately bind capacity and times.
[0025] The License tool, Ukey initialization tool, and License import tool work closely together. The License tool integrates Ukey's SN number, number of mass production times, corresponding capacity and other key data to generate an encrypted license file; the Ukey initialization tool rationally plans the storage structure for Ukey and pre-stores relevant information; the License import tool is responsible for importing the License file into Ukey safely and accurately. This multi-tool collaboration and data integration method is the basis for achieving precise control. The present invention not only uses Ukey as a simple storage carrier, but also performs in-depth initialization settings on it, rationally divides the storage space to store various key data, and fully utilizes the security features of Ukey for identity authentication and data protection during data interaction.
[0026] In some embodiments, the mass production verification stage further includes the following steps: If the Ukey is not connected, the XML configuration is not encrypted, or the license file verification fails, the current process ends and the corresponding reason is prompted.
[0027] In some embodiments, the five-factor authentication includes the following steps: Determine whether the HASH256 checksum file is damaged. If not, determine whether the Ukey's SN is consistent with the SN initially written into the Ukey. If they are consistent, determine whether the license file's SN is consistent with the Ukey's SN. If they are consistent, perform license file signature verification. If the signature verification passes, determine whether the license file is imported for the first time. If it is the first time to import, import the license file.
[0028] In some embodiments, the number checking includes the following steps: Read the license information in Ukey; Get the configured capacity and the number of selected disks; Determine whether the mass production quantity is less than the license count. If so, determine whether the license file is within the validity period. If so, wait for mass production to complete and determine whether it is successful. If so, decrement the capacity count corresponding to the license file by 1 and return to the automatic mass production process to execute subsequent steps.
[0029] In this embodiment, during the SSD mass production phase, it is clear that only one Ukey can be connected. Figure 3 When you click "Mass Production," the system verifies the capacity and counts associated with the UKey. If the current SSD capacity matches the configured capacity, the count verification is skipped to improve efficiency. If not, the card will only be activated if the capacity matches the UKey capacity count for the current mass production, preventing overproduction. If the mass production line and post-production capacity are inconsistent and successful, the UKey capacity count is reduced by 1; if it fails, the count remains unchanged, ensuring accurate count statistics and reliable capacity and count binding control.
[0030] In some embodiments, if the mass production quantity is greater than or equal to the license number or the license file is not within the validity period or the mass production is unsuccessful, the current process is terminated and the corresponding reason is prompted.
[0031] A third aspect of the present invention provides a system for controlling the capacity and number of SSD mass productions, characterized in that it is used to implement any of the above methods for controlling the capacity and number of SSD mass productions, including: The file import module is used to perform SM4 decryption on the license file and then perform five-fold verification. If any verification fails, the current process ends and the reason for the verification failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is accumulated. If not, the capacity and number of mass productions are added, and the import record is written to the Ukey, recording the HASH256 value of the imported license file to complete the import. The mass production verification module is used to determine whether the Ukey is connected. If the Ukey is connected, the mass production configuration is selected and whether the XML configuration is encrypted. If it is encrypted, the license file is verified. If the verification passes, the automatic mass production process is executed according to the license file; then the mass production type is determined. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, whether the capacity of this mass production is equal to the original disk capacity is determined. If it is equal, no count check is performed. If not, a count check is performed.
[0032] A third aspect of the present invention provides: a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are loaded and executed by a processor, any of the above-mentioned methods for controlling the capacity and number of SSD mass production is implemented.
[0033] The foregoing description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein and should not be construed as excluding other embodiments. Rather, the present invention can be used in various other combinations, modifications, and environments and can be modified within the scope of the concept described herein through the above teachings or techniques or knowledge in the relevant field. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention are intended to be protected by the appended claims.
Claims
1. A method for controlling the capacity and number of SSD mass production, characterized by: The following steps are involved: During the file import phase, the license file is decrypted using SM4 and then subjected to five-fold verification. If any verification fails, the current process ends and the reason for the failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is increased. If not, the capacity and number of mass productions are increased. The import record is then written to the Ukey, along with the HASH256 value of the imported license file, to complete the import. During the mass production verification phase, determine whether the Ukey is connected. If it is, select the mass production configuration and determine whether the XML configuration is encrypted. If it is encrypted, perform the license file verification. If the verification passes, execute the automatic mass production process according to the license file. Then determine the mass production type. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, determine whether the capacity of this mass production is equal to the original disk capacity. If so, no count check is performed. If not, a count check is performed.
2. The method for controlling SSD mass production capacity and times according to claim 1, wherein: The mass production verification stage also includes the following steps: If the Ukey is not connected, the XML configuration is not encrypted, or the license file verification fails, the current process ends and the corresponding reason is prompted.
3. The method for controlling SSD mass production capacity and times according to claim 1, wherein: The five-factor verification includes the following steps: Determine whether the HASH256 checksum file is damaged. If not, determine whether the Ukey's SN is consistent with the SN initially written into the Ukey. If they are consistent, determine whether the license file's SN is consistent with the Ukey's SN. If they are consistent, perform license file signature verification. If the signature verification passes, determine whether the license file is imported for the first time. If it is the first time to import, import the license file.
4. The method for controlling SSD mass production capacity and times according to claim 1, wherein: The number of times check includes the following steps: Read the license information in Ukey; Get the configured capacity and the number of selected disks; Determine whether the mass production quantity is less than the license count. If so, determine whether the license file is within the validity period. If so, wait for mass production to complete and determine whether it is successful. If so, decrement the capacity count corresponding to the license file by 1 and return to the automatic mass production process to execute subsequent steps.
5. The method for controlling SSD mass production capacity and times according to claim 4, wherein: If the mass production quantity is greater than or equal to the license count, or the license file is not valid, or mass production fails, the current process ends and the corresponding reason is prompted.
6. A system for controlling the capacity and number of SSD mass production, characterized by: The method for controlling the capacity and number of times of mass production of an SSD according to any one of claims 1 to 5 comprises: The file import module is used to perform SM4 decryption on the license file and then perform five-fold verification. If any verification fails, the current process ends and the reason for the verification failure is prompted. After all five verifications pass, the license file is imported and a check is made to see if a license file with the same capacity exists in the Ukey. If so, the number of mass productions is accumulated. If not, the capacity and number of mass productions are added, and the import record is written to the Ukey, recording the HASH256 value of the imported license file to complete the import. The mass production verification module is used to determine whether the Ukey is connected. If the Ukey is connected, the mass production configuration is selected and whether the XML configuration is encrypted. If it is encrypted, the license file is verified. If the verification passes, the automatic mass production process is executed according to the license file; then the mass production type is determined. If the mass production type is RDT firmware, no count check is performed. If the mass production type is product firmware, whether the capacity of this mass production is equal to the original disk capacity is determined. If it is equal, no count check is performed. If not, a count check is performed.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are loaded and executed by the processor, the method for controlling the capacity and number of SSD mass production according to any one of claims 1 to 5 is implemented.