A method for real-time backup and recovery of data of solid state hard disk

Through real-time monitoring of processor performance and intelligent task allocation, the problems of untimely load balancing and low processing efficiency in the existing technology are solved, and the performance and reliability of the solid-state drive data processing system are improved.

CN118567911BActive Publication Date: 2024-10-22JIANGSU HUACUN ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410996027.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-22
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Existing technology cannot monitor processor performance in real time and is difficult to adapt to dynamic changes, resulting in untimely load balancing, low processing efficiency, and affecting system stability and user experience.

Method used

Obtain processor information by connecting the data processing system, establish the main processor and sub-processor identification, configure the central monitoring system for real-time performance monitoring, configure mapping thresholds for load balancing evaluation, establish a decision-making network for task allocation, and realize intelligent task allocation and distribution. storage backup.

Benefits of technology

It effectively improves the performance, reliability and availability of the data processing system, solves the problems of untimely load balancing and low processing efficiency, and ensures system stability and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567911B_ABST
    Figure CN118567911B_ABST
Patent Text Reader

Abstract

The present application provides a method for real-time data backup and recovery of a solid-state hard disk, which relates to the field of data processing technology, including: obtaining processor information, classifying and establishing main and secondary processor identifications; configuring a central monitoring system for performance monitoring and establishing real-time results; setting a mapping threshold for the processor, combining the real-time monitoring results to perform load balancing evaluation, and generating balanced storage tasks; using a decision network to perform additional task execution evaluation, assigning tasks through a fitness function, and realizing distributed storage backup and data recovery. This application can solve the problem of untimely load balancing and low processing efficiency caused by the inability to monitor processor performance in real time and difficulty in adapting to dynamic changes in the prior art. By means of processor classification and identification management, real-time performance monitoring and load balancing, intelligent task allocation and decision-making, and distributed storage backup and data recovery, the performance, reliability and availability of the data processing system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method for real-time data backup and recovery of a solid state drive. Background Art

[0002] As a new type of storage device with high speed, low power consumption, no noise and no mechanical parts, the real-time data backup and recovery method of solid-state hard disk is particularly important in the current digital era. Although solid-state hard disks have advantages such as fast reading and writing speed and good shock resistance, they also face the risk of data loss, such as hardware failure, human error, virus attack, etc. Real-time data backup is one of the key measures to ensure business continuity. Once the main storage device fails, the backup data can be quickly taken over to ensure that the business is not affected.

[0003] At present, existing technical solutions or systems have achieved certain results in practical applications. However, after in-depth analysis of their operating mechanisms and actual effects, the existing technologies have unstable performance and slow response speed when processing complex tasks or facing large-scale data due to design limitations, imperfect algorithms or hardware equipment constraints. This problem further affects the efficiency of data processing, making it impossible to meet application scenarios with high real-time requirements, and also increases the cost of system maintenance and upgrades.

[0004] In summary, the existing technology is unable to monitor processor performance in real time and is difficult to adapt to dynamic changes, resulting in untimely load balancing and low processing efficiency, which further affects the stability of the overall system operation and user experience. Summary of the invention

[0005] The purpose of this application is to provide a real-time data backup and recovery method for a solid-state hard disk, so as to solve the problem that the prior art cannot monitor processor performance in real time and is difficult to adapt to dynamic changes, resulting in untimely load balancing and low processing efficiency.

[0006] In view of the above problems, the present application provides a method for real-time data backup and recovery of a solid state drive.

[0007] The present application provides a method for real-time data backup and recovery of a solid-state hard disk, wherein the method for real-time data backup and recovery of a solid-state hard disk includes: connecting to a data processing system, obtaining processor information of the data processing system, classifying processors according to the processor information, and establishing a main processor identifier and a secondary processor identifier; configuring a central monitoring system, monitoring processor performance in the data processing system through the central monitoring system, and establishing real-time performance monitoring results; configuring mapping thresholds of each processor, performing load balancing trigger evaluation through the mapping thresholds and real-time performance monitoring results, and establishing balanced storage tasks; establishing a decision network, inputting the real-time performance monitoring results into the decision network, and performing additional task execution evaluation of each processor; establishing a fitness function according to the adaptation evaluation results, performing task allocation of balanced storage tasks through the fitness function, and generating task allocation results, wherein the task allocation includes task priority allocation according to the main processor identifier and the secondary processor identifier; performing distributed storage backup of balanced storage tasks according to the task allocation results, and performing data recovery of the distributed storage backup results after triggering preset conditions.

[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0009] By connecting to the data processing system, the processor information of the data processing system is obtained, the processor is classified according to the processor information, and the main processor identification and the secondary processor identification are established; a central monitoring system is configured, and the processor performance in the data processing system is monitored through the central monitoring system to establish a real-time performance monitoring result; the mapping threshold of each processor is configured, and the load balancing trigger evaluation is performed through the mapping threshold and the real-time performance monitoring result to establish a balanced storage task; a decision network is established, and the real-time performance monitoring result is input into the decision network to perform the additional task execution evaluation of each processor; a fitness function is established according to the adaptation evaluation result, and the task allocation of the balanced storage task is performed through the fitness function to generate a task allocation result, wherein the task allocation includes the task priority allocation according to the main processor identification and the secondary processor identification; a distributed storage backup of the balanced storage task is performed according to the task allocation result, and after the preset condition is triggered, the data recovery of the distributed storage backup result is performed, which effectively solves the problem that the prior art cannot monitor the processor performance in real time and is difficult to adapt to dynamic changes, resulting in untimely load balancing and low processing efficiency, and improves the performance, reliability and availability of the data processing system through processor classification and identification management, real-time performance monitoring and load balancing, intelligent task allocation and decision-making, and distributed storage backup and data recovery.

[0010] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0012] Figure 1 A flowchart of a method for real-time data backup and recovery of a solid-state hard disk according to the present application;

[0013] Figure 2 A flowchart of generating task allocation results in a real-time data backup and recovery method for a solid-state hard disk in the present application. DETAILED DESCRIPTION

[0014] The present application provides a method for real-time data backup and recovery of solid-state hard disks, thereby solving the problems of the prior art in which the load balancing is not timely and the processing efficiency is low due to the inability to monitor the processor performance in real time and the difficulty in adapting to dynamic changes. The application improves the performance, reliability and availability of the data processing system through processor classification and identification management, real-time performance monitoring and load balancing, intelligent task allocation and decision-making, and distributed storage backup and data recovery.

[0015] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.

[0016] Please refer to the attached Figure 1 The present application provides a method for real-time data backup and recovery of a solid state drive, wherein the method for real-time data backup and recovery of a solid state drive specifically comprises the following steps:

[0017] S1: Connecting to a data processing system, acquiring processor information of the data processing system, classifying processors according to the processor information, and establishing a main processor identifier and a secondary processor identifier.

[0018] Specifically, use network protocols such as TCP / IP or dedicated interfaces such as API to connect to the data processing system to ensure that the operating status of the system can be accessed and monitored. Collect detailed information about each processor in the system, including model, performance parameters such as CPU speed, number of cores, cache size, current load, historical usage records, etc. Classify the processors based on the collected processor information. The basis for classification may include processor performance, function, reliability, etc. For example, high-performance processors may be classified as primary processors, while those with slightly lower performance are used as secondary processors. Establish unique identifiers for the classified processors, namely the primary processor identifier and the secondary processor identifier. These identifiers will be used for subsequent task allocation and resource management.

[0019] S2: configuring a central monitoring system, monitoring processor performance in the data processing system through the central monitoring system, and establishing real-time performance monitoring results.

[0020] Specifically, according to the actual needs of the data processing system, select the appropriate central monitoring system tool. Deploy the selected central monitoring system in the data processing system, and perform necessary configuration and debugging to ensure that it can operate normally and collect accurate processor performance indicators. The data center monitoring system can monitor the operating status of each processor in the system in real time. Determine the processor performance indicators that need to be monitored, such as CPU usage, memory occupancy, I / O operation frequency, network throughput, etc. These indicators can fully reflect the real-time performance status of the processor. Through the central monitoring system, the performance indicator data of each processor is collected in real time. In-depth analysis and processing of the collected processor performance indicator data. Calculate the real-time performance monitoring results of the processor, such as performance score, load status, etc.

[0021] S3: configuring a mapping threshold of each processor, performing load balancing trigger evaluation based on the mapping threshold and real-time performance monitoring results, and establishing a balanced storage task.

[0022] Specifically, one or more mapping thresholds are configured for each processor in the data processing system. These thresholds represent the performance level or load capacity limit of the processor and are used to determine whether the processor is in an overloaded or inefficient state. The central monitoring system is used to collect performance indicator data of each processor in real time, such as CPU usage, memory occupancy, etc., to obtain the real-time performance status of the processor. The real-time performance monitoring results are compared with the configured mapping thresholds. If the performance indicator of a processor exceeds its corresponding mapping threshold, it is considered that the processor is in an overloaded state and the load balancing mechanism needs to be triggered. Once the load balancing mechanism is triggered, a balanced storage task is established. These tasks are intended to transfer part or all of the workload on the overloaded processor to other processors with lower loads to achieve a balanced distribution of the load. Based on the real-time performance and mapping threshold of the processor, the balanced storage tasks are intelligently assigned to the appropriate processor. The assigned processor will perform these tasks to reduce the burden on the overloaded processor.

[0023] S4: Establish a decision network, input the real-time performance monitoring results into the decision network, and perform additional task execution evaluation of each processor.

[0024] Specifically, the decision network is a model based on machine learning or deep learning, which can make decisions or predictions based on input data. In this embodiment, the decision network is used to evaluate the ability of each processor to perform additional tasks. The real-time performance monitoring results collected by the central monitoring system are provided to the decision network as input data. These data include performance indicators such as the CPU usage rate, memory occupancy rate, and I / O operation frequency of the processor. The decision network will evaluate the ability of each processor to perform additional tasks based on the input real-time performance monitoring results. The result of the evaluation may be a score, a probability, or a ranking, indicating the suitability of the processor to perform additional tasks. When performing the evaluation of additional tasks, the decision network also needs to consider other factors, such as the historical performance record of the processor, the fluctuation of the current load, the overall resource status of the system, etc. The decision network will output the evaluation results of each processor performing additional tasks, which can be used for subsequent task allocation and resource scheduling.

[0025] S5: Establishing a fitness function according to the adaptation evaluation result, performing task allocation of balanced storage tasks through the fitness function, and generating a task allocation result, wherein the task allocation includes task priority allocation according to the main processor identifier and the secondary processor identifier.

[0026] Specifically, the fitness function is used to quantify the fitness or suitability of each processor when performing a specific task. Combined with the processor's performance indicators (such as CPU usage, memory occupancy, I / O capacity, etc.), historical performance, current load, task priority, task resource requirements, etc. For example, a weighted sum method can be used to assign different weights to different performance indicators according to their importance to task execution. The adaptation evaluation results output by the decision network are used as an input to the fitness function. These results may be a score, probability, or ranking, indicating the suitability of the processor to perform a specific task. In the calculation of the fitness function, the adaptation evaluation results are combined with other performance indicators, and the tasks are sorted using the fitness function. Tasks with high fitness should be assigned first. According to the main processor identifier and the secondary processor identifier, high-priority or high-resource-demand tasks are assigned to the main processor first. If the main processor is overloaded, consider assigning the task to the secondary processor. During the task allocation process, the processor load is monitored in real time to ensure that the tasks are evenly distributed among the processors to avoid overloading a single processor. According to the real-time performance monitoring results of the processor and the fitness function, the task allocation strategy is dynamically adjusted. For example, when a processor is overloaded, you can stop assigning new tasks to it, or migrate some tasks to processors with lower loads. Establish a feedback mechanism to continuously optimize the fitness function and task allocation algorithm based on the results of task execution and the overall performance of the system. Generate the final task allocation result. The result should include a list of tasks that each processor should perform and the order in which the tasks should be executed. Output the task allocation result to the task scheduler or resource manager of the data processing system so that the system can execute tasks according to the allocation result.

[0027] S6: Perform distributed storage backup of the balanced storage task according to the task allocation result, and perform data recovery of the distributed storage backup result after the preset condition is triggered.

[0028] Specifically, the task allocation results generated by the task allocation algorithm are obtained, including the list of tasks that each processor should perform and the order in which the tasks should be executed. The data to be backed up is sliced ​​so that it can be distributed on different storage nodes. According to the task allocation results, appropriate storage nodes are selected for data storage. This can be based on factors such as node availability, performance, and geographical location. The data slices are copied to the selected storage nodes, and the data distribution between the nodes is ensured to be balanced to avoid single point overload. The backup metadata, including the location of the data slices, storage node information, backup time, etc., is maintained for subsequent data recovery. The preset conditions that need to trigger data recovery are defined, such as storage node failure, data loss, human error, etc. Whether the preset conditions are met is detected in real time or regularly. This is achieved through monitoring systems, log analysis, fault alarms, etc. Once the preset conditions are detected, the data recovery mechanism is triggered. According to the backup metadata and system status, a data recovery plan is formulated. This includes determining the data slices that need to be restored, selecting available storage nodes as recovery sources, etc. The data slices are obtained from the selected storage nodes, and data reconstruction and reorganization are performed to restore the original data. The recovered data is verified to ensure its integrity and consistency.

[0029] Furthermore, step S4 of the present application also includes:

[0030] Analyze the real-time performance monitoring results to establish real-time load, memory usage, and storage availability; obtain the historical usage information of each processor, perform multi-dimensional feature extraction based on the historical usage information, and establish a reliability score based on the multi-dimensional feature extraction results; configure the decision network as follows: ;in, Characterization The processor ratings, Characterization The real-time load of the processor, Characterization Memory usage of each processor, Characterization memory availability per processor, Characterization The reliability score of the processors, is a binary variable, where the main processor =1, secondary processor =0, is a negative value, which is used to constrain the backup task participation ratio of the main processor. , , , are weight coefficients for real-time load, memory usage, storage availability, and reliability score, respectively; the real-time load, memory usage, storage availability, reliability score, and processor type are input into the decision network to perform additional task execution evaluation on each processor.

[0031] Specifically, real-time load data is obtained, which reflects the current working intensity of the processor. Memory usage is monitored and recorded, which is an important indicator for measuring the utilization of processor resources. The availability of the storage system is checked to ensure that data can be read and written smoothly. The historical usage information of each processor is collected, including load records, fault history, maintenance status, etc. Multi-dimensional feature extraction is performed on these historical data, for example, the load fluctuation rate, the average time between faults, etc. are calculated. According to the extracted features, a decision network is configured, which comprehensively considers the real-time load, memory usage, storage availability, and reliability score of the processor. In the scoring formula, binary variables are introduced to distinguish between the main processor and the secondary processor, and the proportion of the main processor participating in the backup task is limited by negative value constraints. Weight coefficients are set for the real-time load, memory usage, storage availability, and reliability score to reflect their importance in the task execution evaluation. The real-time load, memory usage, storage availability, reliability score, and processor type are input as input parameters into the decision network. The score of each processor is calculated. Based on the scoring results, the ability of each processor to perform additional tasks is evaluated, and task allocation recommendations are generated.

[0032] Further, if Figure 2 As shown, step S5 of the present application also includes:

[0033] Obtain the independent load constraints of each processor and the allocation quantity constraints of the tasks; use the independent load constraints and the allocation quantity constraints as limit constraints, perform task allocation, and establish an initial task allocation result; perform allocation adaptation evaluation of the initial task allocation result through the fitness function, and establish an allocation adaptation evaluation result; perform iterative optimization according to the allocation adaptation evaluation result, and generate a task allocation result based on the iterative optimization result.

[0034] Specifically, the independent load constraints of each processor are obtained, which indicates the maximum load that each processor can bear. At the same time, the task allocation quantity constraints are obtained, which indicates the maximum number of tasks that can be allocated to each processor or processor group. The independent load constraints and the allocation quantity constraints are used as limit conditions to ensure that these constraints are not exceeded during the task allocation process. According to these constraints and the current system status, such as the real-time load of the processor, memory usage, etc., the initial task allocation is performed and the initial task allocation result is established. The initial task allocation result is evaluated using the fitness function. The fitness function comprehensively considers multiple factors, such as the processor load, memory usage, storage availability, reliability score, and task priority. According to the calculation result of the fitness function, the allocation adaptation evaluation result is established, which indicates the adaptability of the initial task allocation scheme to the overall performance of the system. According to the allocation adaptation evaluation result, iterative optimization is performed. In each iteration, the task allocation scheme is tried to be adjusted to improve the evaluation result of the fitness function. The iterative optimization process will continue until a task allocation scheme that meets all constraints and has the highest fitness is found. Based on the final iterative optimization result, the final task allocation result is generated. The result represents the list of tasks that each processor should execute and the execution order of the tasks under the current system state.

[0035] Furthermore, the present application also includes:

[0036] The initial task allocation result is proportionally divided according to the allocation adaptation evaluation result, and a following solution set, an optimal solution set and a local optimal solution are established; random perturbations are configured, and a following update of the following solution set is performed based on the random perturbations and the optimal solution set to generate a following update result; fine-tuning and updating of the optimal solution set is performed through the local optimal solution to generate a fine-tuning update result; fitness evaluation and elimination are performed based on the following update result, the fine-tuning update result, the local optimal solution and the newly added random solution, and a round of iteration is completed according to the retained result.

[0037] Specifically, the initial task allocation results are proportionally divided according to the allocation fitness evaluation results. According to the segmentation results, the following solution set, the optimal solution set and the local optimal solution are established respectively. The following solution set contains those solutions with good fitness evaluation but still have room for improvement, the optimal solution set contains the solutions with high fitness currently found, and the local optimal solution is the solution with the highest fitness currently found. Configure random perturbations, which can be minor adjustments to the task allocation scheme, such as changing the execution processor of a task, adjusting the execution order of tasks, etc. Based on random perturbations and the optimal solution set, the following solution set is followed and updated. Try to move the solutions in the following solution set closer to the solutions in the optimal solution set while maintaining a certain diversity. Generate a following update result, which contains the new solutions after random perturbations and following updates. Use the local optimal solution to fine-tune and update the optimal solution set. This can be achieved by comparing the solutions in the optimal solution set with the local optimal solution and trying to move the solutions in the optimal solution set closer to the local optimal solution. Generate a fine-tuning update result, which contains the new solutions after fine-tuning and updating. Fitness evaluation is performed based on the follow-up update results, fine-tuning update results, local optimal solutions, and newly added random solutions. This means that we calculate the fitness function values ​​of these solutions and evaluate their pros and cons based on these values. Elimination is performed based on the fitness evaluation results, retaining solutions with higher fitness and eliminating solutions with lower fitness. A round of iteration is completed based on the retained results, which includes updating the follow-up solution set, the optimal solution set, and the local optimal solution, and preparing for the next round of iterations.

[0038] Furthermore, the present application also includes:

[0039] Perform iterative monitoring of iterative optimization and generate an iterative cycle correlation coefficient; perform distribution evaluation on the results of each round of iterative optimization, and establish update steps for follow-up updates and fine-tuning updates based on the distribution evaluation results and the iterative cycle correlation coefficient; and complete the iterative update of the corresponding round of iterations based on the update step.

[0040] Specifically, in the iterative optimization process, the changes in the iteration cycle are monitored in real time, including the number of iterations, the time consumption of each iteration, etc. According to the changes in the iteration cycle, the iteration cycle correlation coefficient is generated. This coefficient reflects the relationship between the iteration cycle and the degree of optimization of the task allocation result. The distribution evaluation is performed on the results of each round of iterative optimization to evaluate the distribution of the solution set in space, including the density and diversity of the solution. According to the distribution evaluation results and the iteration cycle correlation coefficient, the update step size of the follow-up update and the fine-tuning update is established. The update step size determines the amplitude and direction of the update of the follow-up solution set and the optimal solution set in the next round of iteration. According to the established update step size, the follow-up solution set and the optimal solution set are updated. This includes adjusting the solutions in the solution set to make them closer to the optimal solution while maintaining the diversity and exploration of the solution set. After completing the update of the corresponding round of iterations, enter the next round of iterations and continue the iterative optimization process until the stop condition is met, such as reaching the maximum number of iterations and the fitness of the solution set is no longer improved.

[0041] Furthermore, step S6 of the present application also includes:

[0042] Configure idle time preset conditions, where the idle time preset conditions are trigger conditions that the processor performance meets the idle time threshold; establish immediate trigger conditions, where the immediate trigger conditions are trigger conditions for abnormal termination of the processor; when the idle time preset conditions and / or the immediate trigger conditions are triggered, perform data recovery of the distributed storage backup results.

[0043] Specifically, determine the idle performance threshold of the processor, which should be set based on the normal load of the processor, memory usage, storage availability and other indicators. Set the idle preset condition, that is, when the performance of the processor meets the idle threshold, the condition is triggered. Determine the judgment criteria for abnormal termination of the processor, such as processor crash, inability to respond to requests, task execution failure, etc. Set the immediate trigger condition, that is, when the processor abnormally terminates, the condition is triggered. When the idle preset condition and / or the immediate trigger condition are triggered, start the data recovery operation of the distributed storage backup result. First, check the backup data in the distributed storage system to ensure the integrity and consistency of the backup data. According to the storage location and recovery requirements of the backup data, formulate a data recovery plan. Execute the data recovery plan to restore the backup data to the specified processor or storage location. Verify the results of the data recovery to ensure that the recovered data is consistent with the original data and can be used normally in the system. After the data recovery is completed, perform a comprehensive inspection to ensure that there are no other potential problems or failures. Monitor the performance and status of the processor to ensure stable operation of the system and be prepared to deal with possible abnormal situations.

[0044] Furthermore, the present application also includes:

[0045] Perform storage load analysis based on task allocation results and establish load analysis results; determine whether to activate temporary storage based on load analysis results; when temporary storage is activated, perform storage reconstruction based on temporary storage on task allocation results, and perform distributed storage backup of balanced storage tasks based on storage reconstruction results.

[0046] Specifically, according to the task allocation results, analyze the load of each storage node. Consider factors such as the storage requirements, read and write frequency, and data size of the task. Establish load analysis results, including the current load of each storage node, the expected load growth, etc. According to the load analysis results, evaluate whether additional storage resources are needed. If the load of one or some storage nodes exceeds the preset threshold, or the expected load growth will exceed the node capacity, consider activating temporary storage. After deciding to activate temporary storage, perform storage reconstruction on the task allocation results. Migrate the data of some tasks to the temporary storage node to reduce the load of other nodes. Consider factors such as data access frequency and importance, and reasonably arrange the distribution of data between temporary storage and other nodes. Based on the storage reconstruction results, perform distributed storage backup of balanced storage tasks. Ensure that the backup data is reasonably distributed among multiple nodes to improve data reliability and availability. Regularly check and update the backup data to ensure its consistency with the original data. After the storage reconstruction and backup are completed, continuously monitor the storage load and performance of the system. Adjust the task allocation and storage strategy according to the actual situation to keep the system in the best state.

[0047] Furthermore, the present application also includes:

[0048] The data recovery is monitored and a recovery data set is established; when the verification result of the recovery data set and the distributed storage backup result is a passing result, the recovery is completed.

[0049] Specifically, during the data recovery process, recovery monitoring is implemented to track the progress and status of the recovery. Monitoring includes checking the amount of data recovered, the recovery speed, the integrity of the recovered data, etc. Any anomalies or errors in the recovery process are recorded and handled in a timely manner. During the data recovery process, the recovered data is collected and organized into a recovery data set. Ensure that the recovery data set contains all the data that needs to be recovered, and that the format and structure of the data are consistent with the original data. Verify the recovery data set with the distributed storage backup results to ensure that the recovered data is consistent with the backup data. The verification process may include comparing the hash value, checksum or other unique identifier of the data. If the verification result shows that the recovery data set is consistent with the backup data, the verification result is passed. When the verification result of the recovery data set and the distributed storage backup result is passed, the data recovery can be confirmed to be complete.

[0050] In summary, the real-time data backup and recovery method of a solid-state hard disk provided by the present application has the following technical effects:

[0051] By connecting to the data processing system, the processor information of the data processing system is obtained, the processor is classified according to the processor information, and the main processor identification and the secondary processor identification are established; a central monitoring system is configured, and the processor performance in the data processing system is monitored through the central monitoring system to establish a real-time performance monitoring result; the mapping threshold of each processor is configured, and the load balancing trigger evaluation is performed through the mapping threshold and the real-time performance monitoring result to establish a balanced storage task; a decision network is established, and the real-time performance monitoring result is input into the decision network to perform the additional task execution evaluation of each processor; a fitness function is established according to the adaptation evaluation result, and the task allocation of the balanced storage task is performed through the fitness function to generate a task allocation result, wherein the task allocation includes the task priority allocation according to the main processor identification and the secondary processor identification; a distributed storage backup of the balanced storage task is performed according to the task allocation result, and after the preset condition is triggered, the data recovery of the distributed storage backup result is performed, which effectively solves the problem that the prior art cannot monitor the processor performance in real time and is difficult to adapt to dynamic changes, resulting in untimely load balancing and low processing efficiency, and improves the performance, reliability and availability of the data processing system through processor classification and identification management, real-time performance monitoring and load balancing, intelligent task allocation and decision-making, and distributed storage backup and data recovery.

[0052] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0053] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A method for real-time data backup and recovery of a solid state hard disk, characterized in that: The method for real-time data backup and recovery of a solid state hard disk comprises: Connecting to the data processing system, obtaining processor information of the data processing system, classifying the processors according to the processor information, and establishing a main processor identifier and a secondary processor identifier; Configure a central monitoring system, monitor processor performance in the data processing system through the central monitoring system, and establish real-time performance monitoring results; Configure the mapping threshold of each processor, perform load balancing trigger evaluation based on the mapping threshold and real-time performance monitoring results, and establish a balanced storage task; Establishing a decision network, inputting the real-time performance monitoring results into the decision network, and performing additional task execution evaluation of each processor; Establishing a fitness function according to the adaptation evaluation result, performing task allocation of balanced storage tasks through the fitness function, and generating a task allocation result, wherein the task allocation includes task priority allocation according to the main processor identifier and the secondary processor identifier; Perform distributed storage backup of balanced storage tasks according to the task allocation results, and perform data recovery of distributed storage backup results after triggering preset conditions; The step of inputting the real-time performance monitoring result into the decision network and performing additional task execution evaluation of each processor further includes: Analyze real-time performance monitoring results to establish real-time load, memory usage, and storage availability; Acquire historical usage information of each processor, perform multi-dimensional feature extraction based on the historical usage information, and establish a reliability score based on the multi-dimensional feature extraction result; Configure the decision network as follows: ; in, Characterization Processor ratings, Characterization The real-time load of the processor, Characterization Memory usage of each processor, Characterization memory availability per processor, Characterization The reliability score of the processors, is a binary variable, where the main processor , subprocessor , is a negative value, which is used to constrain the backup task participation ratio of the main processor. They are the weight coefficients of real-time load, memory usage, storage availability, and reliability score respectively; The real-time load, memory usage, storage availability, reliability score, and processor type are input to the decision network to perform additional task execution evaluation of each processor.

2. The method for real-time data backup and recovery of a solid state hard disk as claimed in claim 1, characterized in that: The step of performing balanced storage task allocation by using a fitness function to generate a task allocation result also includes: Obtain the independent load constraints of each processor and the assigned quantity constraints of tasks; Using the independent load constraint and the allocation quantity constraint as limit constraints, executing task allocation, and establishing an initial task allocation result; Performing allocation adaptation evaluation of the initial task allocation result by using the fitness function to establish an allocation adaptation evaluation result; Iterative optimization is performed according to the allocation adaptation evaluation results, and task allocation results are generated based on the iterative optimization results.

3. A method for real-time data backup and recovery of a solid state hard disk as claimed in claim 2, characterized in that: The iterative optimization according to the allocation adaptation evaluation result also includes: Proportionally splitting the initial task allocation result according to the allocation adaptation evaluation result, and establishing a follow-up solution set, an optimal solution set and a local optimal solution; configuring random disturbance, performing a follow-up update of the follow-up solution set based on the random disturbance and the optimal solution set, and generating a follow-up update result; Fine-tune and update the optimal solution set through the local optimal solution to generate a fine-tune update result; Fitness evaluation and elimination are performed based on the follow-up update results, fine-tuning update results, local optimal solutions and newly added random solutions, and a round of iteration is completed based on the retained results.

4. A method for real-time data backup and recovery of a solid state hard disk as claimed in claim 3, characterized in that: Also includes: Perform iterative monitoring of iterative optimization and generate iterative cycle correlation coefficients; Perform distribution evaluation on the results of each round of iterative optimization, and establish the update step size of follow-up update and fine-tuning update based on the distribution evaluation results and the correlation coefficient of the iteration cycle; The iterative update of the corresponding round of iterations is completed according to the update step size.

5. The method for real-time data backup and recovery of a solid state hard disk as claimed in claim 1, characterized in that: The method of performing distributed storage backup of balanced storage tasks according to the task allocation result and performing data recovery of the distributed storage backup result after triggering a preset condition also includes: Configuring an idle time preset condition, wherein the idle time preset condition is a trigger condition that the performance of the processor meets an idle time threshold; Establishing an immediate trigger condition, wherein the immediate trigger condition is a trigger condition for abnormal termination of the processor; When the idle preset conditions and / or the immediate trigger conditions are triggered, data recovery of the distributed storage backup results is performed.

6. The method for real-time data backup and recovery of a solid state hard disk as claimed in claim 1, characterized in that: Also includes: Perform storage load analysis based on task allocation results and establish load analysis results; Determine whether to activate temporary storage based on load analysis results; When the temporary storage is activated, the task allocation result is reconstructed based on the temporary storage, and the distributed storage backup of the balanced storage task is performed according to the storage reconstruction result.

7. The method for real-time data backup and recovery of a solid state hard disk as claimed in claim 1, characterized in that: Also includes: Perform recovery monitoring on data recovery and establish recovery data set; When the verification result of the restored data set and the distributed storage backup result is a passing result, the restoration is completed.