RAID parameter configuration method and system

By understanding the user's storage focus, building a RAID parameter space, and providing non-technical solution explanations and slider adjustments, the problem of non-professional users having difficulty configuring RAID parameters is solved, enabling users to configure storage independently and confidently, and improving the user experience.

CN120687030AActive Publication Date: 2025-09-23BEIJING WEIYE ZECHENG CLOUD COMPUTING CO LTD

Patent Information

Application Number
CN202510681395.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-09-23
Estimated Expiration
2045-05-26

AI Technical Summary

Technical Problem

Non-professional users find it difficult to understand and configure RAID parameters, which may lead to the selection of inappropriate configuration solutions and even cause data loss or poor performance.

Method used

By obtaining the user's storage focus, determining the utility function weight, constructing the RAID parameter space, providing non-technical solution explanations and slider adjustments, updating the recommended solution until the user is satisfied, and performing RAID creation and formatting.

Benefits of technology

It reduces configuration difficulty, allowing users to independently and confidently complete storage configuration that meets their needs, avoiding misoperation and poor performance, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120687030A_ABST
    Figure CN120687030A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of computers, and discloses an RAID (redundant array of independent disks) parameter configuration method and system.The RAID parameter configuration method comprises the steps of obtaining a storage emphasized direction selected by a user, determining a utility function weight, determining an RAID parameter space according to the number of hard disks, searching an optimal RAID parameter combination, generating non-technical scheme interpretation and displaying the non-technical scheme interpretation to the user, and providing a slider to adjust the weight. According to the method, the problems that non-professional users are difficult to understand RAID technical parameters and lack in deep non-technical interpretation and convenient adjustment modes in the prior art are solved, the configuration difficulty is reduced, the users can autonomously complete storage configuration, and the user experience is improved. The method has the advantages that the difficulty of configuring the multi-hard-disk network storage device by a non-professional user is reduced, and the user can autonomously and confidently complete the storage configuration meeting the requirement of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a RAID parameter configuration method and system. Background Art

[0002] Currently, network-attached storage (NAS) devices are widely used for their convenient data storage and sharing capabilities. These devices feature multiple hard drive bays, allowing users to configure RAID to increase storage capacity, performance, or data security. However, for users without a professional storage technology background, the concepts and parameters involved in RAID technology can be difficult to understand. Traditional storage device configuration interfaces directly present these technical parameters, requiring users to make professional judgments and choices. This presents significant challenges for non-expert users, potentially leading to inappropriate configuration options and even data loss or poor performance due to misoperation.

[0003] To lower the configuration barrier, some network storage devices offer a configuration wizard upon initial startup, attempting to guide users through non-technical questions. For example, they might inquire about the number of hard drives they plan to install and their primary storage priorities. Based on the user's initial input, the system might generate a preliminary RAID configuration recommendation based on pre-set rules.

[0004] Although recommended solutions may attempt to use non-technical language, users may still feel unfamiliar and confused when presented with technical names like "RAID 6." They may be unsure whether the recommended solution fully meets their needs or wish to understand how the recommended solution compares to other possible solutions in terms of capacity and performance, as well as the trade-offs between different features. Users often seek a deeper understanding of the implications and impact of the recommended solution, allowing them to fine-tune it based on their own experience or further reflection to find the right balance for them.

[0005] In view of the above problems, the existing technology is in urgent need of improvement. Summary of the Invention

[0006] The purpose of this application is to provide a RAID parameter configuration method and system, which has the advantage of reducing the difficulty for non-professional users to configure multi-hard disk network storage devices, allowing users to independently and confidently complete storage configuration that meets their needs.

[0007] This application provides a RAID parameter configuration method for scheduling garbage transport fleets within urban areas. The method includes the following steps: A1. Obtain the user's selected storage focus and use it to determine the initial weights for each performance score item in the utility function from a mapping rule base. Storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the pros and cons of different RAID parameter combinations. A2. Determine a set of feasible RAID levels based on the number of hard drives installed in the network storage device. For each RAID level, pre-set a stripe size range and a cache policy option set to form a RAID parameter space. A3. Search the RAID parameter space for the RAID parameter combination that maximizes the utility function after determining the initial weight set, and obtain a recommended RAID solution. A4. Based on the recommended RAID solution, extract the corresponding language description from the non-technical description template library, calculate the solution performance indicators, and generate a non-technical solution explanation; A5. Provide non-technical solution explanations to users in text and diagram form, and provide slider controls for adjusting the trade-offs between data security, storage capacity, and access speed. A6. When the user adjusts the slider control, the weights of the different terms in the utility function are adjusted based on the slider position to update the recommended RAID solution. Steps A4 and A5 are then repeated to update the displayed non-technical solution explanation. A7. Upon receiving the user's confirmation instruction for the recommended RAID solution, the RAID creation and formatting operations are performed, and the configuration progress is displayed in non-technical text.

[0008] Furthermore, the present application also proposes that step A1 includes: A101. Obtain the storage focus direction selected by the user; A102 presents detailed options associated with the user's selected storage focus; detailed options include backup frequency, data recovery speed, acceptable data loss, storage file type, expected storage growth rate, number of concurrent users, and maximum single file size; A103. Collect the user's selection results for the refinement options; A104. Based on the user's selection of the refined options, the initial weights of each performance score item in the utility function are adjusted to obtain a utility function after the initial weight set is determined; the performance score items include a data security score, a storage capacity score, and an access speed score.

[0009] Furthermore, the present application also proposes that step A2 includes: A201. Obtain the number of hard disks currently installed on the network storage device as the number of valid hard disks; A202. Based on the effective number of hard disks, query the preset RAID level and the number of hard disk correspondence table to determine the effective number of hard disks supported by the RAID level set; A203 for each RAID level in the determined RAID level set, from the preset stripe size range lookup table, extract the stripe size range corresponding to the RAID level, and according to the preset cache policy option table, determine the cache policy option set supported by the RAID level; A204. The obtained RAID level set, stripe size range, and cache strategy option set are used as the final RAID parameter space.

[0010] Furthermore, the present application also proposes that after step A201 and before step A02, the following steps are also included: A205. If the user chooses to start future hard disk expansion planning, the estimated maximum number of hard disks in the future hard disk expansion plan is extracted to correct the number of valid hard disks.

[0011] Furthermore, the present application also proposes that step A3 includes: A301. For each RAID parameter combination in the RAID parameter space, according to the preset performance evaluation model, calculate the performance score of the RAID parameter combination in three dimensions: data security, storage capacity, and access speed, and obtain a performance score vector; A302. Based on the determined initial weight set, the calculated performance score vector is weighted and summed to obtain the utility function value of the RAID parameter combination; A303. Compare the utility function values ​​of all RAID parameter combinations in the RAID parameter space and determine the RAID parameter combination with the largest utility function value as the recommended RAID solution; the recommended RAID solution includes specific RAID level, stripe size and cache strategy parameters.

[0012] Furthermore, the present application also proposes that step A4 includes: A401. Evaluate the user's comprehension level based on their historical operation data, device usage habits, and feedback information; A402. Based on the user's comprehension ability level, select a non-technical description template sub-library that matches the user's comprehension ability level from a hierarchical non-technical description template library; the hierarchical non-technical description template library is pre-divided into multiple non-technical description template sub-libraries based on the user's comprehension ability level, each non-technical description template sub-library containing non-technical description templates with varying levels of detail and expression methods; A403 extracts the language description corresponding to the recommended RAID solution from the selected non-technical description template sub-library and, based on the recommended RAID solution, calls a preset performance calculation module to calculate the available capacity, fault tolerance, and read / write performance indicators to obtain solution performance indicator data. A404. The extracted language description and solution performance indicator data are combined to generate a non-technical solution explanation according to solution explanation generation rules that match the user's comprehension ability level; wherein the solution explanation generation rules include: adjusting the complexity of the diagram and the frequency of use of professional terms for users with different comprehension ability levels.

[0013] Furthermore, the present application also proposes that step A404 includes: Obtaining diagram complexity levels and terminology frequency levels that match user comprehension levels; Based on the complexity level of the diagram, select a diagram of the corresponding complexity from the preset diagram library; the diagram library contains RAID scheme diagrams of different complexity levels, data read and write flow charts, and performance comparison charts; Adjust the frequency of use of professional terms in the extracted language description according to the frequency level of professional terms; The selected diagrams and adjusted language descriptions, as well as the calculated solution performance indicator data, are combined to generate a non-technical solution explanation.

[0014] Furthermore, the present application also proposes that step A6 includes: A601. Monitor user adjustments to the slider control and obtain the current position of the slider in terms of data security, storage capacity, and access speed. A602. Based on the current position of the slider, combined with a preset weight mapping function, new values ​​for the data security weight, storage capacity weight, and access speed weight in the utility function are calculated. The weight mapping function is a piecewise linear function that maps the slider position to a weight between 0 and 1. Different segments correspond to different mapping slopes, controlling the sensitivity of the weight adjustment. A603. Based on the newly calculated weights and the parameter combinations of the recommended RAID solutions from the previous search, a local RAID parameter search space is constructed. This local search space is implemented by limiting the adjustment range of the stripe size and cache policy, with the adjustment range proportional to the movement distance of the slider. A604. Re-search within the local RAID parameter search space for a RAID parameter combination that maximizes the value of the new utility function, thereby obtaining an updated recommended RAID solution; the new utility function is a utility function that applies the newly calculated weight values; A605. Repeat steps A4 and A5 for the updated recommended RAID solution to update the non-technical solution explanation presented.

[0015] Furthermore, the present application also proposes that step A7 includes: A701. After receiving the user's confirmation instruction for the recommended RAID solution, lock the user interface and prohibit modification operations; A702. Create a RAID array based on the recommended RAID level, stripe size, and cache policy. Monitor the creation status and obtain the progress. A703. Convert RAID creation progress to non-technical text, display it in real time on the user interface, and dynamically update the progress bar based on the creation progress. After A704.RAID array is created, format the RAID array and monitor the formatting status in the background to obtain the formatting progress. A705. Convert formatting progress to non-technical text, display it in real time on the user interface, and dynamically update the formatting progress bar based on the formatting progress. After the A706.RAID array is formatted, the user interface is unlocked, prompting the configuration to be complete and displaying the available capacity and health status of the RAID array.

[0016] Furthermore, the present application also proposes a RAID parameter configuration system for guiding non-professional users to complete storage configuration when initializing a multi-hard disk network storage device. The system includes: The weight determination module is used to obtain the user's selected storage focus and determine the initial weight set for each performance score item in the utility function from the mapping rule base. The storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the advantages and disadvantages of different RAID parameter combinations. A parameter space determination module is used to determine a feasible RAID level set based on the number of hard disks installed in the network storage device, and preset a stripe size range and a cache strategy option set for each RAID level to form a RAID parameter space; A solution search module is used to search for a RAID parameter combination that maximizes the function value of the utility function after determining the initial weight set in the RAID parameter space, and obtain a recommended RAID solution; The solution explanation module is used to extract the corresponding language description from the non-technical description template library based on the recommended RAID solution, calculate the solution performance indicator data, and generate a non-technical solution explanation; Solution presentation module, which presents non-technical solution explanations to users in text and graphic form, and provides slider controls for adjusting the trade-offs between data security, storage capacity, and access speed; A weight adjustment module, configured to adjust the weights of different items in the utility function according to the position of the slider when the user adjusts the slider control, thereby updating the recommended RAID solution and causing the solution explanation module and solution presentation module to repeat corresponding operations, thereby updating the displayed non-technical solution explanation; The configuration execution module is used to execute RAID creation and formatting operations when receiving a user's confirmation instruction for the recommended RAID solution, and display the configuration progress in non-technical text.

[0017] Beneficial effects: The present application provides a RAID parameter configuration method and system, which obtains the storage focus selected by the user, determines the utility function weight, determines the RAID parameter space according to the number of hard disks, searches for the best RAID parameter combination, generates a non-technical solution explanation and displays it to the user, provides a slider to adjust the weight, updates the recommended solution and explanation, and finally executes RAID creation and formatting. It solves the problems in the prior art that non-professional users have difficulty understanding RAID technical parameters, lack of in-depth non-technical explanations and convenient adjustment methods, reduces the configuration difficulty, and enables users to complete storage configuration independently. It has the advantages of reducing the difficulty for non-professional users to configure multi-hard disk network storage devices and enabling users to independently and confidently complete storage configuration that meets their needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flowchart of the RAID parameter configuration method provided in an embodiment of the present application.

[0019] Figure 2 This is a structural diagram of the RAID parameter configuration system provided in an embodiment of the present application.

[0020] Explanation of numbers: 1. Weight determination module; 2. Parameter space determination module; 3. Solution search module; 4. Solution interpretation module; 5. Solution display module; 6. Weight adjustment module; 7. Configuration execution module. DETAILED DESCRIPTION

[0021] The technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of the embodiments. The components of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application for protection, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the scope of protection of this application.

[0022] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0023] refer to Figure 1 This application proposes a RAID parameter configuration method for scheduling garbage transport fleets within urban areas. The method includes the following steps: A1. Obtain the user's selected storage focus and use it to determine the initial weights for each performance score item in the utility function from a mapping rule base. Storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the pros and cons of different RAID parameter combinations. A2. Determine a set of feasible RAID levels based on the number of hard drives installed in the network storage device. For each RAID level, pre-set a stripe size range and a cache policy option set to form a RAID parameter space. A3. Search the RAID parameter space for the RAID parameter combination that maximizes the utility function after determining the initial weight set, and obtain a recommended RAID solution. A4. Based on the recommended RAID solution, extract the corresponding language description from the non-technical description template library, calculate the solution performance indicators, and generate a non-technical solution explanation; A5. Provide non-technical solution explanations to users in text and diagram form, and provide slider controls for adjusting the trade-offs between data security, storage capacity, and access speed. A6. When the user adjusts the slider control, the weights of the different terms in the utility function are adjusted based on the slider position to update the recommended RAID solution. Steps A4 and A5 are then repeated to update the displayed non-technical solution explanation. A7. Upon receiving the user's confirmation instruction for the recommended RAID solution, the RAID creation and formatting operations are performed, and the configuration progress is displayed in non-technical text.

[0024] Among them, storage emphasis refers to the user's preference for storage solutions in the three dimensions of data security, storage capacity, and access speed. It can be implemented through a preset option list, questionnaire, or natural language input. For example, radio buttons can be used to allow users to select "data security first," "storage capacity first," or "access speed first." It is mainly used to obtain the user's initial configuration intention and provide an initial direction for subsequent solution recommendations.

[0025] The utility function refers to a mathematical model used to quantitatively evaluate the pros and cons of different RAID parameter combinations. It can be implemented using a weighted summation model, a multi-objective optimization model, or a rule-based scoring model. For example, the data security score, storage capacity score, and access speed score are added together according to different weights. It is mainly used to quantitatively evaluate potential RAID configuration solutions in order to select the optimal one.

[0026] Among them, the RAID parameter space refers to a set of all feasible RAID configuration schemes determined according to the hardware conditions of the device. Each scheme consists of parameters such as RAID level, stripe size and cache policy. It can be implemented using pre-calculated lookup tables, dynamically generated parameter lists or constraint-based parameter combination generators. For example, all supported RAID levels and their corresponding stripe size ranges and cache policy options are listed according to the number of hard drives. It is mainly used to limit the scope of the scheme search and ensure the feasibility of the recommended scheme.

[0027] Among them, the non-technical description template library refers to a pre-stored text collection used to convert technical RAID solutions into language that is easy for users to understand. It can be implemented using structured text templates, natural language sentence libraries, or rule-based text generation systems. For example, it contains template statements that describe the characteristics of different RAID levels and the meaning of performance indicators. It is mainly used to generate user-friendly solution explanations to reduce the difficulty for users to understand technical solutions.

[0028] Among them, the slider control refers to a graphical user interface element that allows users to adjust the value or ratio by dragging the slider. Here it is used to adjust the trade-off ratio of the three key aspects of data security, storage capacity and access speed. It can be implemented using the slider component provided by the standard GUI library, a customized drag-and-drop control or an adjustment interface based on touch gestures. It is mainly used to provide an intuitive and convenient way for users to fine-tune the recommended plan and achieve personalized configuration.

[0029] Displaying configuration progress in non-technical text means converting technical background operation status and progress information into text descriptions that are easy for users to understand during the RAID creation and formatting process. This can be achieved by using preset progress description statements, a mapping table between status codes and texts, or an event-triggered text update mechanism. For example, it can display "Creating RAID array (25%)" or "Formatting completed". It is mainly used to provide users with real-time feedback on the status of the configuration process and alleviate their waiting anxiety.

[0030] The core innovation of this application lies in the introduction of a utility function based on user focus for initial solution search, combined with non-technical solution explanations and an interactive weight adjustment mechanism based on slider controls, thereby guiding non-professional users to configure RAID parameters and allowing users to perform intuitive and iterative solution fine-tuning, significantly lowering the configuration threshold and improving the user experience.

[0031] Specifically, the method first obtains the user's initial storage priorities and converts them into initial weights for performance items in the utility function. Simultaneously, all feasible RAID levels, stripe size ranges, and caching strategies are determined based on the number of hard drives installed in the device, thereby constructing a complete RAID parameter space. Next, within this parameter space, the system searches for the RAID parameter combination that maximizes the utility function value based on the initial weights, resulting in a preliminary recommendation. To facilitate user understanding, the system translates the technical recommendations into non-technical descriptions and performance metrics, supplemented by graphical representations. Key to this approach is the provision of a slider control, allowing users to intuitively adjust the trade-off between data security, storage capacity, and access speed. As the user adjusts the slider, the system dynamically adjusts the weights of the corresponding items in the utility function based on the slider position. Based on the new weights, the system re-searches the optimal solution within the local parameter space and immediately updates the non-technical explanation presented to the user. This process continues iteratively until the user finds a satisfactory solution. Finally, after the user confirms the recommended solution, the system performs the actual RAID creation and formatting operations, displaying the configuration progress in real-time in non-technical text format. The entire process guides users to complete the configuration step by step by hiding complex RAID technical parameters under a user-friendly interactive interface and intelligent recommendation logic.

[0032] Through the above solution, this application effectively solves the problem of non-professional users having difficulty configuring appropriate RAID parameters when initializing multi-hard drive network storage devices. This method uses a guided, non-technical interactive approach to transform complex RAID technical parameters into easily understood concepts and intuitive adjustments, significantly lowering the configuration threshold. Users can make initial selections and subsequent fine-tuning based on their actual needs, making it easier to obtain a storage solution that meets their expectations. This avoids poor performance or data loss caused by misoperation or inappropriate selection, improving the user experience and configuration success rate.

[0033] In some embodiments, step A1 comprises: A101. Obtain the storage focus direction selected by the user; A102 presents detailed options associated with the user's selected storage focus; detailed options include backup frequency, data recovery speed, acceptable data loss, storage file type, expected storage growth rate, number of concurrent users, and maximum single file size; A103. Collect the user's selection results for the refinement options; A104. Based on the user's selection of the refined options, the initial weights of each performance score item in the utility function are adjusted to obtain a utility function after the initial weight set is determined; the performance score items include a data security score, a storage capacity score, and an access speed score.

[0034] Refinement options refer to a series of more specific and detailed choices provided to gain a deeper understanding of a user's specific needs within a specific storage focus. This can be implemented as a list of pre-set questions or an interactive questionnaire. Adjusting the initial weights of each performance score item in the utility function refers to modifying the weights of the values ​​representing the importance of data security, storage capacity, and access speed based on the user's input into the refinement options to more accurately reflect the user's personalized preferences. This adjustment can be achieved by consulting a pre-set mapping table, applying a calculation formula, or inferring based on a machine learning model.

[0035] Specifically, the solution first obtains the user's initial selection of a storage priority, such as data security, storage capacity, or access speed. Then, based on the user's selected priority, the system presents the user with a series of targeted, refined options. These refined options are designed to further explore the user's specific needs within that priority from multiple dimensions. For example, if the user prioritizes data security, the system might inquire about backup frequency, data recovery speed, and acceptable data loss; if the user prioritizes storage capacity, the system might inquire about the expected storage growth rate and stored file types; and if the user prioritizes access speed, the system might inquire about the number of concurrent users and the maximum size of a single file. The system collects the user's specific selections for these refined options. Finally, based on the user's selections, the system adjusts the initial weights of the corresponding data security, storage capacity, and access speed scores in the utility function. In this way, the user's more refined needs are translated into adjustments to the utility function weights, enabling the utility function to more accurately assess the suitability of different RAID parameter combinations for the user. As a result, during the subsequent RAID parameter search, the system can find a RAID solution that better matches the user's actual expectations based on this utility function that more accurately reflects their needs. By adding detailed requirements collection and weight adjustment steps to the initial focus, this solution effectively improves the personalization and accuracy of the initial recommendation, addressing the problem of biased recommendations caused by relying solely on broad focus areas.

[0036] Through the above scheme, this application can more accurately capture the user's personalized needs by introducing refined options and adjusting the initial weights of the performance score items in the utility function according to the user's choices, overcoming the shortcomings of relying solely on broad storage focus to determine the initial weights, enabling the system to generate initial RAID solution recommendations that are more in line with the user's actual expectations, thereby improving configuration accuracy and user satisfaction.

[0037] In some embodiments, step A2 comprises: A201. Obtain the number of hard disks currently installed on the network storage device as the number of valid hard disks; A202. Based on the effective number of hard disks, query the preset RAID level and the number of hard disk correspondence table to determine the effective number of hard disks supported by the RAID level set; A203 for each RAID level in the determined RAID level set, from the preset stripe size range lookup table, extract the stripe size range corresponding to the RAID level, and according to the preset cache policy option table, determine the cache policy option set supported by the RAID level; A204. The obtained RAID level set, stripe size range, and cache strategy option set are used as the final RAID parameter space.

[0038] The "effective number of hard drives" refers to the number of hard drives used to build a RAID array. This number can be determined by obtaining the number of hard drives currently installed on the device, or it can be adjusted based on the user's future expansion plans. The "preset RAID level-to-hard drive number correspondence table" refers to a lookup table that stores the minimum and maximum number of hard drives required or supported by different RAID levels. This table can be implemented using a database, configuration file, or hard-coded data structure. The "RAID level set" refers to a list of RAID levels that can be built based on the current hardware configuration, selected from the correspondence table based on the effective number of hard drives, such as RAID0, RAID1, and RAID5. The "preset stripe size range" lookup table refers to a lookup table that stores the recommended or allowed stripe size ranges for different RAID levels. This table can be implemented using a database or configuration file. The "stripe size range" refers to a set of stripe sizes recommended or allowed by the system for a specific RAID level, such as {16KB, 32KB, 64KB, 128KB}. The "preset cache policy option table" refers to a lookup table that stores the recommended or allowed cache policy options for different RAID levels or application scenarios. This table can be implemented using a database or configuration file. The cache policy option set refers to the set of cache policies recommended or allowed by the system for a specific RAID level, such as {Write-back, Write-through}. The RAID parameter space is the set of all possible RAID parameter combinations, consisting of a defined set of RAID levels, the range of stripe sizes corresponding to each RAID level, and the cache policy option set. This space provides the basis for subsequent solution search.

[0039] Through the above scheme, this application provides a systematic approach to constructing a RAID parameter space. Based on the current hardware configuration (number of hard drives) and pre-set compatibility and recommended parameter information, this method identifies all feasible RAID levels and the reasonable stripe size range and caching policy options for each level. This effectively narrows the range of potential configuration options, eliminating incompatible or non-recommended parameter combinations, thereby constructing a structured, meaningful, and searchable parameter space. This parameter space provides clear input for subsequent intelligent search algorithms, enabling the system to find an optimized RAID configuration solution for non-expert users while meeting hardware constraints and technical specifications, reducing the complexity and potential for error in user configuration.

[0040] In some preferred embodiments, after step A201 and before step A02, the method further includes: A205. If the user chooses to start future hard disk expansion planning, the estimated maximum number of hard disks in the future hard disk expansion plan is extracted to correct the number of valid hard disks.

[0041] Among them, the future hard disk expansion plan refers to the user's pre-set plan or expectation regarding the possible increase in the number of hard disks in the future. It can be implemented by the user manually entering the expected maximum number of hard disks in the configuration interface, or it can be implemented by the system automatically generating it based on the user's historical purchase records, device usage habits, or preset expansion templates. The expected maximum number of hard disks refers to the total number of hard disks that the user expects to install in the device after future expansion. This number is used to adjust the hard disk number benchmark that the system uses when determining the RAID level set. Correcting the effective hard disk number refers to adjusting or replacing the effective hard disk number that was originally determined only based on the current number of installed hard disks according to the expected maximum number of hard disks in the future hard disk expansion plan selected by the user, so that the subsequent RAID level determination process can take into account the future hard disk configuration.

[0042] Specifically, this modification not only takes into account the current system status, but also considers the user's future expansion intentions, making the initial configuration more flexible and adaptable. This solution is combined with the technical solution of determining a feasible RAID level set based on the number of hard drives installed in the network storage device, and presetting a stripe size range and cache policy option set for each RAID level to form a RAID parameter space. This allows the determination of the parameter space to be based not only on the current hardware, but also to proactively consider future hardware configurations, thereby being able to recommend RAID solutions that are more adaptable to future expansion in subsequent solution searches. This avoids the need for users to reconfigure the RAID array after adding hard drives, thereby improving configuration flexibility and user experience.

[0043] In some embodiments, step A3 comprises: A301. For each RAID parameter combination in the RAID parameter space, according to the preset performance evaluation model, calculate the performance score of the RAID parameter combination in three dimensions: data security, storage capacity, and access speed, and obtain a performance score vector; A302. Based on the determined initial weight set, the calculated performance score vector is weighted and summed to obtain the utility function value of the RAID parameter combination; A303. Compare the utility function values ​​of all RAID parameter combinations in the RAID parameter space and determine the RAID parameter combination with the largest utility function value as the recommended RAID solution; the recommended RAID solution includes specific RAID level, stripe size and cache strategy parameters.

[0044] The RAID parameter combination refers to a specific configuration option in the RAID parameter space, including a specific RAID level, a selected stripe size, and a selected caching policy. It can be represented by a tuple or object containing a RAID level identifier, a stripe size value, and a caching policy identifier. The preset performance evaluation model refers to the calculation rules or algorithms used to quantitatively evaluate the performance of a RAID parameter combination across different performance dimensions. This model can be implemented using a lookup table based on theoretical calculation formulas, simulation results, or actual test data. The performance score vector refers to a numerical vector whose components represent the quantitative scores of a specific RAID parameter combination across preset performance dimensions such as data security, storage capacity, and access speed. It can be represented by an array or list containing multiple floating-point values. The determined initial weight set refers to a set of initial weight values ​​used to measure the importance of different performance dimensions, determined based on the user's storage priority selection. It can be represented by a numerical vector containing weights corresponding to data security, storage capacity, and access speed. The utility function value refers to the calculated value of the utility function. For a utility function that adds the data security score, storage capacity score, and access speed score according to different weights, the single value obtained by weighted summation of the performance score vectors of RAID parameter combinations is the utility function value. This value is used to comprehensively measure the performance of the combination after considering user preferences. It can be represented as a floating-point value. The recommended RAID solution refers to the RAID parameter combination with the maximum utility function value found in the RAID parameter space. It represents the optimal storage configuration recommendation based on the current user preferences. It can be represented as structured data containing specific RAID level, stripe size, and cache policy parameters.

[0045] This solution is combined with the steps of determining the parameter space and obtaining user preferences, so that the system can find a solution that meets the hardware conditions and best meets the user's needs among all feasible configurations, thereby overcoming the problem in the prior art that the recommended solution is not personalized enough or difficult for users to understand and adjust. Through the above solution, the present application provides a systematic method for finding the optimal RAID parameter combination in a determined RAID parameter space based on a preset performance evaluation model and user-personalized weight settings. Through quantitative evaluation, weighted synthesis and comparative selection, this method can automatically identify the RAID configuration that best meets the user's needs in terms of data security, storage capacity and access speed, thereby solving the problem that non-professional users find it difficult to understand and select a suitable RAID solution, simplifying the storage configuration process, and improving the pertinence and effectiveness of the configuration results.

[0046] In some embodiments, step A4 comprises: A401. Evaluate the user's comprehension level based on their historical operation data, device usage habits, and feedback information; A402. Based on the user's comprehension ability level, select a non-technical description template sub-library that matches the user's comprehension ability level from a hierarchical non-technical description template library; the hierarchical non-technical description template library is pre-divided into multiple non-technical description template sub-libraries based on the user's comprehension ability level, each non-technical description template sub-library containing non-technical description templates with varying levels of detail and expression methods; A403 extracts the language description corresponding to the recommended RAID solution from the selected non-technical description template sub-library and, based on the recommended RAID solution, calls a preset performance calculation module to calculate the available capacity, fault tolerance, and read / write performance indicators to obtain solution performance indicator data. A404. The extracted language description and solution performance indicator data are combined to generate a non-technical solution explanation according to solution explanation generation rules that match the user's comprehension ability level; wherein the solution explanation generation rules include: adjusting the complexity of the diagram and the frequency of use of professional terms for users with different comprehension ability levels.

[0047] Among them, in step A401, evaluating the user's level of understanding ability refers to judging the user's understanding or cognitive level of technical concepts by analyzing the user's behavior patterns in the system, usage habits of device functions, and feedback information provided actively or passively by the user. This can be achieved through rule-based analysis, machine learning models, or user questionnaires.

[0048] In step A402, the hierarchical non-technical description template library refers to a collection of texts explaining various RAID solutions. These texts are organized and categorized according to different user comprehension levels and can be stored in a database, file system, or memory structure. A non-technical description template sub-library refers to a subset of the hierarchical non-technical description template library corresponding to a specific user comprehension level. The sub-library contains description templates with a level of detail and expression appropriate for that level. The sub-library can be organized using a directory structure, tag classification, or indexing mechanism. The non-technical description template sub-library matching the user comprehension level refers to a subset of the hierarchical non-technical description template library that contains description templates that are most suitable for users at that level, selected based on the assessed user comprehension level. Non-technical description templates with different levels of detail and expression refer to the existence of multiple different explanation texts for the same RAID solution or technical concept. Some texts provide a basic introduction to the concept, others provide more technical details, some use simple analogies, and others employ more rigorous language. These differences are reflected in the amount of information, the use of specialized terminology, and the complexity of sentence structure.

[0049] In step A403, the preset performance calculation module refers to a software or hardware unit whose function is to output quantitative indicators of the solution in terms of available capacity, fault tolerance, and read / write performance based on the input RAID solution parameters and a predetermined calculation model or formula. This module can be implemented using independent computing services, library function calls, or hardware acceleration units. The solution performance indicator data refers to the specific numerical values ​​or evaluation results of the recommended RAID solution in terms of available capacity, fault tolerance, and read / write performance, obtained by the performance calculation module.

[0050] In step A404, the solution explanation generation rules that match the user's level of comprehension refer to a set of logic or algorithms used to guide how to combine the extracted language description and the calculated performance indicator data into the final solution explanation. This set of rules adjusts the presentation of the explanation based on the user's level of comprehension, and can be implemented using conditional judgment logic, template filling algorithms, or content organization strategies. Adjusting the complexity of diagrams and the frequency of use of professional terms refers to selecting schematic diagrams or flow charts of different levels of detail for display based on the user's level of comprehension when generating solution explanations, and controlling the number of times professional technical terms are used in the text description or whether they are explained.

[0051] Specifically, this solution addresses the issue of varying user comprehension abilities by assessing user comprehension levels and selecting appropriate description templates and generation rules based on the assessment results, thereby providing solution explanations that better meet user needs. First, the user's comprehension level is assessed based on historical user operation data, device usage habits, and feedback. This assessment method allows users to understand their actual cognitive level and provides a basis for subsequent differentiated explanations. Second, a matching subset of the user's comprehension level is selected from a hierarchical non-technical description template library. This hierarchical template library ensures that users with different comprehension abilities receive explanations appropriate to their cognitive level, avoiding information overload or information insufficiency. Then, the language description corresponding to the recommended RAID solution is extracted from the selected template subset, and solution performance metrics are calculated. This step ensures the accuracy and completeness of the solution explanation, providing users with comprehensive information. Finally, the extracted language description and performance metrics are combined according to solution explanation generation rules that match the user's comprehension level. The solution explanation generation rules, particularly those that adjust the complexity of diagrams and the frequency of technical terminology, are key to achieving differentiated explanations. For users with limited comprehension skills, simpler diagrams and fewer specialized terms can reduce the level of comprehension. For users with stronger comprehension skills, more detailed diagrams and specialized terminology can be provided to meet their needs for a deeper understanding of the solution details. This solution, as part of a RAID parameter configuration method, is combined with the steps in that method to determine a recommended RAID solution. This allows the entire configuration process to not only provide users with an optimized recommended solution, but also clearly explain the solution's meaning, performance, and trade-offs in a way that users can understand. This significantly improves the success rate and satisfaction of non-professional users in completing complex storage configurations, resolving the existing issue of users struggling with independent configuration due to a lack of understanding of technical details.

[0052] Through the above solution, this application can provide customized RAID solution explanations based on the user's actual understanding ability, enabling non-professional users to more accurately and deeply understand the meaning, performance characteristics, and trade-offs between different solutions of the recommended solution, thereby helping users make storage configuration decisions that better meet their own needs, reducing the risk of users making misoperations or selecting inappropriate solutions due to lack of understanding of technical details, and improving user experience and configuration efficiency.

[0053] Furthermore, step A404 may include: Obtaining diagram complexity levels and terminology frequency levels that match user comprehension levels; Based on the complexity level of the diagram, select a diagram of the corresponding complexity from the preset diagram library; the diagram library contains RAID scheme diagrams of different complexity levels, data read and write flow charts, and performance comparison charts; Adjust the frequency of use of professional terms in the extracted language description according to the frequency level of professional terms; The selected diagrams and adjusted language descriptions, as well as the calculated solution performance indicator data, are combined to generate a non-technical solution explanation.

[0054] The diagram complexity level refers to the grading of the amount of information, level of detail, and degree of use of specialized symbols in diagrams used to describe RAID solutions. This level can be represented by multiple preset complexity levels (e.g., low, medium, and high), with each level corresponding to a collection of diagrams with different styles and content within the diagram library. The term frequency level refers to the number or proportion of specialized technical terms allowed in non-technical solution explanations. This level can be controlled using a percentage threshold or a preset frequency level (e.g., very low, low, medium, and high). The preset diagram library is a collection of pre-prepared visual materials used to explain RAID solutions. The diagrams in this library are categorized and stored according to different complexity levels and can include static images, animated diagrams, or interactive charts. Adjusting the frequency of specialized terminology in the extracted descriptions involves post-processing the original description text extracted from the template sub-library to identify specialized terms and replace, delete, or supplement them with explanatory information based on the target frequency level. This can be achieved using natural language processing techniques, a synonym dictionary, or preset term replacement rules.

[0055] Specifically, this solution aims to fine-tune the generated non-technical solution explanations to better match user comprehension capabilities. Rather than simply selecting a template subset, this approach leverages fine-grained control across two dimensions: diagram complexity and terminology frequency. First, the solution determines diagram complexity and terminology frequency levels that match the user's comprehension capabilities. This is the prerequisite for fine-tuning the solution. Different user comprehension capabilities correspond to different diagram complexity and terminology preferences, providing a basis for subsequent adjustments. Second, based on the diagram complexity level, a corresponding diagram is selected from a pre-set diagram library. This library includes RAID solution diagrams, data read / write flow charts, and performance comparison charts of varying complexity, providing a rich resource for selecting appropriate diagrams. By selecting diagrams that match user comprehension capabilities, users can avoid confusion caused by overly complex or overly simple diagrams. Finally, the frequency of terminology in the extracted language descriptions is adjusted based on the terminology frequency level. This means that, based on the extracted language descriptions, the use of terminology is further adjusted to suit the user's comprehension capabilities. Finally, the selected diagrams, adjusted verbal descriptions, and calculated solution performance metrics are combined to generate a non-technical solution explanation. This means that the solution explanation presented to the user is fine-tuned, incorporating both diagrams that match the user's comprehension level and adjusted verbal descriptions to better meet their needs. This approach, combined with the selection of template sub-libraries based on the user's comprehension level, forms a hierarchical, progressive mechanism for generating non-technical explanations. Building on the initial, template sub-library-based explanation framework, this approach further optimizes the match between solution explanations and user comprehension levels by making more detailed adjustments to diagrams and verbal descriptions. This combination enables the system to generate solution explanations tailored to the user's specific situation, both in line with their overall comprehension level and with easily digestible details, thereby improving their understanding and acceptance of recommended solutions.

[0056] Through the above scheme, this application can fine-tune the complexity of the diagrams and the use of professional terms in the non-technical solution explanation according to the user's specific understanding ability, thereby generating a solution explanation that is easier for users to understand, improving the user's understanding of the recommended RAID solution, and reducing the difficulty of storage configuration for non-professional users.

[0057] In some embodiments, step A6 includes: A601. Monitor user adjustments to the slider control and obtain the current position of the slider in terms of data security, storage capacity, and access speed. A602. Based on the current position of the slider, combined with a preset weight mapping function, new values ​​for the data security weight, storage capacity weight, and access speed weight in the utility function are calculated. The weight mapping function is a piecewise linear function that maps the slider position to a weight between 0 and 1. Different segments correspond to different mapping slopes, controlling the sensitivity of the weight adjustment. A603. Based on the newly calculated weights and the parameter combinations of the recommended RAID solutions from the previous search, a local RAID parameter search space is constructed. This local search space is implemented by limiting the adjustment range of the stripe size and cache policy, with the adjustment range proportional to the movement distance of the slider. A604. Re-search within the local RAID parameter search space for a RAID parameter combination that maximizes the value of the new utility function, thereby obtaining an updated recommended RAID solution; the new utility function is a utility function that applies the newly calculated weight values; A605. Repeat steps A4 and A5 for the updated recommended RAID solution to update the non-technical solution explanation presented.

[0058] The current position values ​​of the sliders in the three dimensions of data security, storage capacity, and access speed refer to the indicator values ​​corresponding to the positions of the sliders on the three sliders representing data security, storage capacity, and access speed.

[0059] The weight mapping function refers to a mathematical relationship or lookup table that converts an input value (here, the slider position value) into an output value (here, the weight value). It can be implemented using a piecewise linear function, which divides the input range into multiple intervals and uses a different linear formula for mapping in each interval, thereby achieving fine control over the mapping sensitivity.

[0060] Among them, the local RAID parameter search space refers to a set of RAID parameters with a limited range. This set is a subset of the entire RAID parameter space. Its construction can be achieved by limiting the value range of parameters such as stripe size and cache strategy. The size of this range can be associated with the movement distance of the slider. For example, the larger the movement distance, the larger the allowable adjustment range.

[0061] Specifically, the solution first monitors user adjustments to the slider, obtaining real-time user preference input across three dimensions: data security, storage capacity, and access speed. These inputs are expressed as slider position values. Next, based on these position values, the system uses a pre-defined piecewise linear weight mapping function to calculate new values ​​for each performance weight in the utility function. The use of a piecewise linear function allows the weights to exhibit non-uniform sensitivity to slider position changes, such as slow changes when the user's preferences are neutral and rapid changes at extremes. This prevents small adjustments from causing drastic weight fluctuations. Based on these newly calculated weights and the parameters of the system's last recommended RAID solution, the system constructs a local RAID parameter search space. This local space does not search across all possible RAID parameter combinations, but rather, centers around the parameters of the last recommended solution and limits the adjustment range for parameters such as stripe size and caching policy. The size of this adjustment range is proportional to the distance the user moves the slider. This means that when the user makes small adjustments, the search space is small, and the system only considers options that are very close to the current solution. However, when the user makes large adjustments, the search space expands, allowing the system to explore more distant parameter combinations. This local search space construction significantly narrows the search scope and reduces computational effort. The system then uses the newly weighted utility function within this local search space to re-search for the RAID parameter combination that maximizes the utility function, resulting in an updated recommended RAID solution (see step A3 for details). Finally, based on this updated recommendation, the system repeats the steps of generating and presenting a non-technical explanation, presenting the new solution and its impact in a user-friendly manner. This approach enables the system to quickly respond and provide smooth transitions in recommendations as users adjust their preferences, significantly improving the user experience. This approach, combined with the previous steps of establishing an initial utility function, determining the parameter space, conducting an initial search, and presenting a non-technical explanation, forms a complete RAID configuration process that supports iterative user adjustments. This approach provides dynamic adjustment and optimization capabilities, allowing users to fine-tune the initial recommendations through intuitive interactions to find a final configuration that best suits their needs.

[0062] Through the above scheme, the present application realizes that when the user adjusts the slider, the system can quickly update the recommended RAID scheme according to the changes in user preferences. In addition, due to the use of piecewise linear weight mapping and local search space construction based on moving distance, the change process of the recommended scheme is smoother and continuous, avoiding drastic jumps in the scheme during adjacent adjustments, thereby significantly improving the interactive experience and satisfaction of non-professional users when performing RAID configuration.

[0063] In some embodiments, step A7 includes: A701. After receiving the user's confirmation instruction for the recommended RAID solution, lock the user interface and prohibit modification operations; A702. Create a RAID array based on the recommended RAID level, stripe size, and cache policy. Monitor the creation status and obtain the progress. A703. Convert RAID creation progress to non-technical text, display it in real time on the user interface, and dynamically update the progress bar based on the creation progress. After A704.RAID array is created, format the RAID array and monitor the formatting status in the background to obtain the formatting progress. A705. Convert formatting progress to non-technical text, display it in real time on the user interface, and dynamically update the formatting progress bar based on the formatting progress. After the A706.RAID array is formatted, the user interface is unlocked, prompting the configuration to be complete and displaying the available capacity and health status of the RAID array.

[0064] Among them, converting the RAID creation progress into non-technical text refers to converting the creation progress information obtained in the background, which is usually expressed in percentages or technical status codes, into a natural language description that is easy for users to understand. It can be implemented using a preset mapping table of progress stages and text descriptions. For example, 0%-10% is mapped to "preparing the hard disk" and 10%-50% is mapped to "creating storage space." Dynamically updating the creation progress bar refers to displaying a graphical progress bar element on the user interface, and the filling level or status of the element will be updated in real time as the creation progress obtained in the background changes. It can be implemented using the progress bar control provided by the graphical interface library, and its current progress value is set through the programming interface. Converting the formatting progress into non-technical text and dynamically updating the formatting progress bar are similar to the above-mentioned creation process, which is to present the progress information of the formatting process in a user-friendly manner.

[0065] Specifically, this technical solution aims to address the issue of users having difficulty understanding the configuration progress during the RAID creation and formatting process. It enhances the user experience by displaying non-technical text and a dynamic progress bar. First, after the user confirms the recommended RAID solution, the user interface is locked, prohibiting modifications. This prevents user errors during the configuration process and ensures smooth configuration. Then, based on the recommended RAID level, stripe size, and cache policy, the RAID array is created. The background monitors the creation status and obtains the creation progress. This is a core step in the configuration process and directly affects the RAID array creation results. Background monitoring of the creation status allows for real-time creation progress, providing data support for subsequent progress display. Next, the RAID creation progress is converted into non-technical text and displayed in real time on the user interface. The progress bar is dynamically updated based on the creation progress. This is the key aspect of this solution. By converting technical terminology into non-technical text, users can understand the configuration status and alleviate their anxiety. Furthermore, the dynamically updated progress bar provides a visual display of the configuration progress, further enhancing the user experience. After the RAID array is created, it is formatted. The background monitors the formatting status and obtains the formatting progress. Formatting is a necessary step in creating a RAID array. By monitoring the formatting status in the background, real-time formatting progress can be obtained, providing data support for subsequent progress displays. The formatting progress is converted into non-technical text and displayed in real time on the user interface. A progress bar dynamically updates based on the progress of the formatting process. Similar to the RAID creation progress display, converting technical terms into non-technical text helps users understand the formatting process and alleviates user anxiety. Furthermore, the dynamically updating progress bar provides a visual display of the formatting progress, further enhancing the user experience. Finally, after the RAID array is formatted, the user interface is unlocked, a configuration completion message is displayed, and the RAID array's available capacity and health status are displayed. This unlocks the user interface, allowing the user to begin using the RAID array. The configuration completion message confirms the completion of the configuration process. The display of the RAID array's available capacity and health status provides users with basic information about the RAID array, facilitating subsequent operations. This solution, combined with the method of providing recommended RAID solutions and explaining them in non-technical text, creates a complete, user-friendly configuration process from solution recommendation, understanding, to implementation feedback. This significantly lowers the barrier to entry for non-expert users to configure multi-drive network storage devices.

[0066] Through the above solution, this application enables users to clearly understand the current configuration status during the RAID creation and formatting process, avoiding the confusion and anxiety caused by not understanding professional terminology. Through real-time feedback from non-technical text and a dynamic progress bar, the user experience is enhanced, allowing non-expert users to more confidently and smoothly complete the storage configuration of multi-drive network storage devices.

[0067] refer to Figure 2 This application also proposes a RAID parameter configuration system for guiding non-professional users to complete storage configuration when initializing a multi-hard disk network storage device. The system includes: Weight determination module 1 is used to obtain the user's selected storage focus and determine the initial weight set for each performance score item in the utility function from the mapping rule base. The storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the advantages and disadvantages of different RAID parameter combinations (refer to step A1 above for the specific process). Parameter space determination module 2 is used to determine a set of feasible RAID levels based on the number of hard disks installed in the network storage device, and preset a stripe size range and a cache policy option set for each RAID level to form a RAID parameter space (for details, refer to step A2 above); Solution search module 3 is used to search in the RAID parameter space for a RAID parameter combination that maximizes the function value of the utility function after determining the initial weight set, and obtain a recommended RAID solution (for details, refer to step A3 above); Solution explanation module 4 is used to extract the corresponding language description from the non-technical description template library based on the recommended RAID solution, calculate the solution performance indicator data, and generate a non-technical solution explanation (the specific process is referred to step A4 above); Solution Presentation Module 5, which presents non-technical solution explanations to users in text and graphic form, and provides a slider control for adjusting the trade-off between data security, storage capacity, and access speed (refer to step A5 above for the specific process); Weight adjustment module 6 is configured to adjust the weights of different items in the utility function according to the position of the slider when the user adjusts the slider control, thereby updating the recommended RAID solution and causing solution explanation module 4 and solution presentation module 5 to repeat corresponding operations, thereby updating the displayed non-technical solution explanation (for the specific process, refer to step A6 above); The configuration execution module 7 is used to execute RAID creation and formatting operations upon receiving a user confirmation instruction for the recommended RAID solution, and display the configuration progress in non-technical text (for the specific process, refer to step A7 above).

[0068] As an embodiment, the solution of the present application is specifically implemented as follows: the system can be implemented as a software application running on the main processor of a network storage device. The weight determination module 1, parameter space determination module 2, solution search module 3, solution interpretation module 4, solution display module 5, weight adjustment module 6 and configuration execution module 7 can be implemented as different classes or functions in the software. The mapping rule library and non-technical description template library can be stored as JSON files on the device's internal storage or entries in an SQLite database. The utility function can be implemented as a calculation function in the software code. The parameter space determination module 2 can call the operating system interface to obtain the number of hard disks and refer to the preset configuration data structure to determine the feasible RAID parameter range. The solution search module 3 can traverse each parameter combination in the parameter space, call the utility function to calculate its score, and select the combination with the highest score as the recommended solution. The solution interpretation module 4 can select the corresponding text segment from the template library based on the parameters of the recommended solution, call the performance calculation function to calculate indicators such as available capacity and fault tolerance, and then combine the text and indicator data to generate an explanation string. The solution display module 5 can be implemented as a web server, which provides a configuration interface to the user browser through the HTTP protocol. The interface contains HTML elements such as text areas, image display areas and sliders. The weight adjustment module 6 can be implemented by the front-end JavaScript code, which listens to the onchange event of the slider and sends the slider position to the back-end. The back-end updates the weight according to the position, re-triggers the solution search and interpretation process, and sends the updated interpretation back to the front-end for display. The configuration execution module 7 can call the RAID management tool (such as the mdadm command under the Linux system) and the file system tool (such as the mkfs command) provided by the device operating system to perform creation and formatting operations, and parse the output information of these tools, convert it into non-technical text and progress percentage, and send it to the front-end interface for display in real time through Websocket or other means.

[0069] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A RAID parameter configuration method for guiding non-professional users to complete storage configuration when initializing a multi-hard disk network storage device, characterized in that: The method includes: A1. Obtain the user's selected storage focus and use it to determine the initial weights for each performance score item in the utility function from a mapping rule base. Storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the pros and cons of different RAID parameter combinations. A2. Determine a set of feasible RAID levels based on the number of hard drives installed in the network storage device. For each RAID level, pre-set a stripe size range and a cache policy option set to form a RAID parameter space. A3. Search the RAID parameter space for the RAID parameter combination that maximizes the utility function after determining the initial weight set, and obtain a recommended RAID solution. A4. Based on the recommended RAID solution, extract the corresponding language description from the non-technical description template library, calculate the solution performance indicators, and generate a non-technical solution explanation; A5. Provide non-technical solution explanations to users in text and diagram form, and provide slider controls for adjusting the trade-offs between data security, storage capacity, and access speed. A6. When the user adjusts the slider control, the weights of the different terms in the utility function are adjusted based on the slider position to update the recommended RAID solution. Steps A4 and A5 are then repeated to update the displayed non-technical solution explanation. A7. Upon receiving the user's confirmation instruction for the recommended RAID solution, the RAID creation and formatting operations are performed, and the configuration progress is displayed in non-technical text.

2. A RAID parameter configuration method according to claim 1, characterized in that: Step A1 includes: A101. Obtain the storage focus direction selected by the user; A102 presents detailed options associated with the user's selected storage focus; detailed options include backup frequency, data recovery speed, acceptable data loss, storage file type, expected storage growth rate, number of concurrent users, and maximum single file size; A103. Collect the user's selection results for the refinement options; A104. Based on the user's selection of the refined options, adjust the initial weights of each performance score item in the utility function to obtain a utility function after determining the initial weight set; the performance score items include a data security score, a storage capacity score, and an access speed score.

3. The RAID parameter configuration method according to claim 1, wherein: Step A2 includes: A201. Obtain the number of hard disks currently installed on the network storage device as the number of valid hard disks; A202. Based on the effective number of hard disks, query the preset RAID level and the number of hard disk correspondence table to determine the effective number of hard disks supported by the RAID level set; A203 for each RAID level in the determined RAID level set, from the preset stripe size range lookup table, extract the stripe size range corresponding to the RAID level, and according to the preset cache policy option table, determine the cache policy option set supported by the RAID level; A204. The obtained RAID level set, stripe size range, and cache strategy option set are used as the final RAID parameter space.

4. A RAID parameter configuration method according to claim 3, characterized in that: After step A201 and before step A02, the following steps are further included: A205. If the user chooses to start future hard disk expansion planning, the estimated maximum number of hard disks in the future hard disk expansion plan is extracted to correct the effective number of hard disks.

5. A RAID parameter configuration method according to claim 3, characterized in that: Step A3 includes: A301. For each RAID parameter combination in the RAID parameter space, according to the preset performance evaluation model, calculate the performance score of the RAID parameter combination in three dimensions: data security, storage capacity, and access speed, and obtain a performance score vector; A302. Based on the determined initial weight set, the calculated performance score vector is weighted and summed to obtain the utility function value of the RAID parameter combination; A303. Compare the utility function values ​​of all RAID parameter combinations in the RAID parameter space and determine the RAID parameter combination with the largest utility function value as the recommended RAID solution; the recommended RAID solution includes specific RAID level, stripe size and cache strategy parameters.

6. The RAID parameter configuration method according to claim 1, wherein: Step A4 includes: A401. Evaluate the user's comprehension level based on their historical operation data, device usage habits, and feedback information; A402. Based on the user's comprehension ability level, select a non-technical description template sub-library that matches the user's comprehension ability level from a hierarchical non-technical description template library; the hierarchical non-technical description template library is pre-divided into multiple non-technical description template sub-libraries based on the user's comprehension ability level, each non-technical description template sub-library containing non-technical description templates with varying levels of detail and expression methods; A403 extracts the language description corresponding to the recommended RAID solution from the selected non-technical description template sub-library and, based on the recommended RAID solution, calls a preset performance calculation module to calculate the available capacity, fault tolerance, and read / write performance indicators to obtain solution performance indicator data. A404. The extracted language description and solution performance indicator data are combined to generate a non-technical solution explanation according to solution explanation generation rules that match the user's comprehension ability level; wherein the solution explanation generation rules include: adjusting the complexity of the diagram and the frequency of use of professional terms for users with different comprehension ability levels.

7. A RAID parameter configuration method according to claim 6, characterized in that: Step A404 includes: Obtaining diagram complexity levels and terminology frequency levels that match user comprehension levels; According to the complexity level of the diagram, a diagram of corresponding complexity is selected from a preset diagram library; the diagram library contains RAID scheme diagrams of different complexity levels, data read and write flow charts, and performance comparison charts; Adjust the frequency of use of professional terms in the extracted language description according to the frequency level of professional terms; The selected diagrams and adjusted language descriptions, as well as the calculated solution performance indicator data, are combined to generate a non-technical solution explanation.

8. The RAID parameter configuration method according to claim 1, wherein: Step A6 includes: A601. Monitor user adjustments to the slider control and obtain the current position of the slider in terms of data security, storage capacity, and access speed. A602. Based on the current position of the slider, combined with a preset weight mapping function, new values ​​for the data security weight, storage capacity weight, and access speed weight in the utility function are calculated. The weight mapping function is a piecewise linear function that maps the slider position to a weight between 0 and 1. Different segments correspond to different mapping slopes, controlling the sensitivity of the weight adjustment. A603. Based on the newly calculated weights and the parameter combinations of the recommended RAID solutions from the previous search, a local RAID parameter search space is constructed. This local search space is implemented by limiting the adjustment range of the stripe size and cache policy, with the adjustment range proportional to the movement distance of the slider. A604. Re-search within the local RAID parameter search space for a RAID parameter combination that maximizes the value of the new utility function, thereby obtaining an updated recommended RAID solution; the new utility function is a utility function that applies the newly calculated weight values; A605. Repeat steps A4 and A5 for the updated recommended RAID solution to update the non-technical solution explanation presented.

9. The RAID parameter configuration method according to claim 1, wherein: Step A7 includes: A701. After receiving the user's confirmation instruction for the recommended RAID solution, lock the user interface and prohibit modification operations; A702. Create a RAID array based on the recommended RAID level, stripe size, and cache policy. Monitor the creation status and obtain the progress. A703. Convert RAID creation progress to non-technical text, display it in real time on the user interface, and dynamically update the progress bar based on the creation progress. After A704.RAID array is created, format the RAID array and monitor the formatting status in the background to obtain the formatting progress. A705. Convert formatting progress to non-technical text, display it in real time on the user interface, and dynamically update the formatting progress bar based on the formatting progress. After the A706.RAID array is formatted, the user interface is unlocked, prompting the configuration to be complete and displaying the available capacity and health status of the RAID array.

10. A RAID parameter configuration system for guiding non-professional users to complete storage configuration when initializing a multi-hard disk network storage device, characterized in that: The system includes: The weight determination module is used to obtain the user's selected storage focus and determine the initial weight set for each performance score item in the utility function from the mapping rule base. The storage focus includes data security, storage capacity, and access speed. The utility function is used to evaluate the advantages and disadvantages of different RAID parameter combinations. A parameter space determination module is used to determine a feasible RAID level set based on the number of hard disks installed in the network storage device, and preset a stripe size range and a cache strategy option set for each RAID level to form a RAID parameter space; A solution search module is used to search for a RAID parameter combination that maximizes the function value of the utility function after determining the initial weight set in the RAID parameter space, and obtain a recommended RAID solution; The solution explanation module is used to extract the corresponding language description from the non-technical description template library based on the recommended RAID solution, calculate the solution performance indicator data, and generate a non-technical solution explanation; Solution presentation module, which presents non-technical solution explanations to users in text and graphic form, and provides slider controls for adjusting the trade-offs between data security, storage capacity, and access speed; A weight adjustment module, configured to adjust the weights of different items in the utility function according to the position of the slider when the user adjusts the slider control, thereby updating the recommended RAID solution and causing the solution explanation module and solution presentation module to repeat corresponding operations, thereby updating the displayed non-technical solution explanation; The configuration execution module is used to execute RAID creation and formatting operations when receiving a user's confirmation instruction for the recommended RAID solution, and display the configuration progress in non-technical text.

Citation Information

Patent Citations

  • Method and device for establishing redundant array of independent hard disks and medium

    CN113870938A

  • Automatic parameter generation method and device in RAID verification and storage medium

    CN115587556A

  • System, method, and computer program for explicitly tunable I / O device controller

    US20020095532A1

  • Workload-adaptive storage system with static allocation

    US20070073969A1

Cited By

  • Dynamic data driven adaptive content generation and risk control method and system and medium

    CN121030098A