A data recovery processing system and method based on chip
By conducting fault prediction and feature analysis on the target chip and backup chip, the prioritized backup chip is selected for data repair, which solves the problems of long time and low success rate of the traditional data recovery process, and achieves efficient and accurate data repair.
Patent Information
- Application Number
- CN202410909686.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional data recovery process takes a long time and has a low success rate. Especially in emergency tasks and real-time systems, it may cause the loss of important data and affect the normal operation of the system.
By obtaining the fault prediction results and historical feature information of the target chip and the backup chip, a simulation prediction model is established to select the prioritized backup chips, and analyze the position sequence marking and abnormal duration difference of the target chip data to determine whether the data needs to be repaired. According to the degree of urgency, the optimal backup chip is finally selected for data repair.
It improves the efficiency and timeliness of data repair, reduces resource waste and costs, enhances the accuracy of the data processing process, and improves the success rate of data repair.
Smart Images

Figure FT_1 
Figure FT_2
Abstract
Description
Technical Field
[0001] The present application relates to the field of data recovery technology, and in particular to a data recovery processing system and method based on a chip. Background Art
[0002] As the core component for computing and transmitting data, the stability and reliability of the chip are particularly important. However, due to the influence of various factors, chip damage has become a problem that cannot be ignored during system operation.
[0003] In traditional technologies, the data recovery process may take a long time, which may have a great impact on scenarios that require rapid data recovery (such as emergency task processing, real-time systems, etc.), and the success rate of data recovery may not be high due to physical damage to the chip, etc. This may lead to the loss of some important data and affect the normal operation of the system. Summary of the invention
[0004] In order to overcome the above-mentioned deficiencies of the prior art, the present application provides a data recovery processing system and method based on a chip.
[0005] In a first aspect, the present application provides a data recovery processing method based on a chip, the method comprising:
[0006] Acquire a target chip and all current backup chips, perform fault prediction on the target chip to obtain a target chip fault prediction result, and screen out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result;
[0007] Acquire all historical backup chips, analyze historical feature information of all historical backup chips to establish a simulation prediction model, and select a second pre-used backup chip from all current backup chips according to the test of the simulation prediction model;
[0008] Screening out a third pre-used backup chip from the first pre-used backup chip and the second pre-used backup chip, where the third pre-used backup chip refers to the same pre-used backup chip in the first pre-used backup chip and the second pre-used backup chip, and prioritizing the third pre-used backup chip to obtain a backup chip priority ranking result;
[0009] Marking the original data in the target chip with a position sequence number to obtain a position sequence marking result, analyzing the abnormal time difference between the time required for writing and reading the original data in the target chip, and outputting a maximum time difference;
[0010] According to the position sequence marking result, the data length difference and the data position sequence change arc of each position sequence data before and after reading of the target chip are analyzed respectively, and the maximum length difference and the maximum jump arc value are output. According to the maximum time difference, the maximum length difference and the maximum jump arc value, the urgency of repairing the current data after reading the original data in the target chip is determined;
[0011] Based on the urgency of repair, the best backup chip is screened out from the backup chip priority sorting results to obtain the best backup chip screening results, and the data repair results of the target chip performed by each backup chip in the best backup chip screening results are judged to output the data re-repair judgment result or the data repair success result.
[0012] Preferably, the surrounding environment status information and historical fault record information of the target chip are obtained, and the current abnormal fault of the target chip is predicted according to the surrounding environment status information and the historical fault record information to obtain the target chip fault prediction result;
[0013] Based on the target chip fault prediction result, predicting data faults on original data in the target chip to obtain original data fault prediction results;
[0014] Count all current backup chips of the original data in the backed-up target chip, evaluate the risk of all current backup chips being affected according to the target chip failure prediction result, and output the failure risk data set;
[0015] Based on the fault spreading risk data set, the integrity of the backup data in all current backup chips is judged, and a backup data integrity judgment result set is output;
[0016] Based on the backup data integrity judgment result set, a first pre-used backup chip whose backup data is still complete is screened out from all current backup chips.
[0017] Preferably, all historical backup chips are obtained, and specific backup areas of all historical backup chips are identified to obtain a historical backup area identification result set;
[0018] According to the historical fault record information, statistics are collected on the fault damage extents of all backup chips affected in history to obtain a historical damage extent data set;
[0019] Establishing a simulation prediction model based on the historical backup area identification result set and the historical impact damage degree data set;
[0020] Get the current backup area identification result set;
[0021] According to the historical fault record information, predict the fault damage degree of all current backup chips to obtain a current damage degree data set;
[0022] All current backup chips, the current backup area identification result set and the current affected damage degree data set are input into the simulation prediction model for testing, and the second pre-use backup chip is output.
[0023] Preferably, the same pre-used backup chip is selected from the first pre-used backup chip and the second pre-used backup chip, and a third pre-used backup chip is output;
[0024] Obtaining the remaining memory capacity, backup mode, and hardware and software performance of each backup chip in the third pre-used backup chip;
[0025] Combining the remaining memory capacity, backup method, hardware and software performance and current impact damage degree into an efficiency influencing factor set;
[0026] Based on the efficiency influencing factor set, the third pre-used backup chips are prioritized in order of data repair efficiency to obtain a backup chip priority ranking result.
[0027] Preferably, the original data in the target chip are numbered and marked with position sequence numbers to obtain position sequence marking results;
[0028] Obtain the first required time from writing to reading of each position series data in the target chip under normal operation in multiple historical periods;
[0029] Calculate the average time required for each position series data from writing to reading according to the first required time, and output an average required time data set according to the average required time;
[0030] Based on the average required time data set, time-marking the original data of each marked position sequence in the target chip to obtain a time-marking result;
[0031] Based on the time marking result, preset the corresponding time determination threshold to obtain a preset time determination threshold set;
[0032] Acquire a second required time length from writing to reading of each position sequence data of the target chip, and output a second required time length set according to the second required time length;
[0033] Comparing the second required time length set with the preset time determination threshold set one by one to obtain a time comparison result set, and filtering out a time anomaly result set from the time comparison result set;
[0034] Calculate the difference between each abnormal time in the time abnormality result set and the corresponding average required time in the average required time data set to obtain a time difference data set;
[0035] The maximum time difference value is screened out from the duration difference data set.
[0036] Preferably, the original data length of each position sequence data of the target chip is obtained, and according to the original data length, an original data length set is output;
[0037] Obtaining a current data length set after reading the original data in the target chip, comparing the original data length set with the current data length set one by one to obtain a length comparison result set, and filtering out an abnormal length result set from the length comparison result set;
[0038] Calculate the difference between each abnormal length in the length abnormal result set and the corresponding original data length in the original data length set to obtain a length difference data set;
[0039] Filter out the maximum length difference from the length difference statistics data set;
[0040] Obtaining a new position sequence after reading the original data in the target chip, and comparing the position sequence marking result with the new position sequence to obtain a difference position sequence result;
[0041] Based on the difference position sequence result, the position jump radians of the difference position sequence are counted, and according to the position jump radians, a position jump radian set is output, and the maximum jump radian value is screened out from the position jump radian set;
[0042] The urgency of repairing the current data after the original data in the target chip is read is determined according to the maximum time difference, the maximum length difference and the maximum jump arc value.
[0043] Preferably, based on the urgency of repair, at least three backup chips ranked top are selected from the backup chip priority sorting results, and the optimal backup chip screening result is output;
[0044] Compare and repair the backup data of the backup chip in the optimal backup chip screening result with the current data after the original data in the target chip is read to obtain a data repair result set;
[0045] Matching the repaired data in the data repair result set with each other in terms of overlap to obtain an overlap data set;
[0046] A coincidence determination threshold is preset, and when at least two coincidence data in the coincidence data set are smaller than the preset coincidence determination threshold, the data is output to re-repair the determination result;
[0047] When there are at most two coincidence data in the coincidence data set that are less than a preset coincidence determination threshold, a data repair success result is output.
[0048] In a second aspect, a data recovery processing system based on a chip includes:
[0049] A first analysis unit is used to obtain a target chip and all current backup chips, perform fault prediction on the target chip to obtain a target chip fault prediction result, and screen out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result;
[0050] The second analysis unit is used to obtain all historical backup chips, analyze historical feature information of all historical backup chips to establish a simulation prediction model, and select the second pre-used backup chip from all current backup chips according to the test of the simulation prediction model;
[0051] A pre-use ranking unit is used to select a third pre-use backup chip from the first pre-use backup chip and the second pre-use backup chip, where the third pre-use backup chip refers to the same pre-use backup chip in the first pre-use backup chip and the second pre-use backup chip, and prioritize the third pre-use backup chip to obtain a backup chip priority ranking result;
[0052] The time difference analysis unit is used to mark the original data in the target chip with a number of the position sequence to obtain the position sequence marking result, analyze the abnormal time difference between the time required for writing and reading the original data in the target chip, and output the maximum time difference;
[0053] The repair urgency judgment unit is used to analyze the data length difference and the data position sequence change arc of each position sequence data before and after reading the target chip according to the position sequence marking result, output the maximum length difference and the maximum jump arc value, and judge the urgency of repairing the current data after reading the original data in the target chip according to the maximum time difference, the maximum length difference and the maximum jump arc value;
[0054] The repair result judgment unit is used to select the best backup chip from the backup chip priority sorting results according to the urgency of the repair, obtain the best backup chip screening results, judge the data repair results of the target chip by each backup chip in the best backup chip screening results, and output the data re-repair judgment result or the data repair success result.
[0055] Compared with the prior art, the present invention has the following characteristics and beneficial effects:
[0056] Through two different analysis methods, the backup chips to which the backup data is still complete are predicted from all the backup chips, so as to reduce the impact of the impending failure of the target chip on some backup chips, resulting in the inability of some backup chips to repair data, that is, the success rate of data repair is low. The final pre-used backup chip is selected from the pre-used backup chips selected by the two analyses, which improves the efficiency of subsequent data repair work. In order to make the subsequent data repair work efficient and timely, the original data in the target chip is marked with a position sequence, and various conditions such as abnormal writing to reading time and abnormal length after data reading are judged, so as to analyze the data abnormality of the original data in the target chip after reading, and the urgency of data repair is required, so as to improve the timeliness of data repair work, reduce resource waste and cost, and make reasonable use of resource information. Finally, in order to improve the success rate of data repair, the best several backup chips are selected to repair the target chip, and the final data repair results are compared and analyzed with each other, so as to reduce the large error caused by the data repair processing of the single data backup chip, and enhance the accuracy of the entire data processing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a flowchart of a data recovery method based on a chip mainly embodied in this embodiment.
[0058] Figure 2 This is a structural block diagram of a data recovery processing system based on a chip mainly embodied in this embodiment. DETAILED DESCRIPTION
[0059] The present invention is further described in detail below in conjunction with the following examples.
[0060] Reference Figure 1 , a data recovery processing system and method based on a chip, the method comprising the following steps:
[0061] S1. Obtain a target chip and all current backup chips, perform fault prediction on the target chip to obtain a target chip fault prediction result, and screen out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result.
[0062] S2. Obtain all historical backup chips, analyze historical feature information of all historical backup chips to establish a simulation prediction model, and select a second pre-use backup chip from all current backup chips based on the test of the simulation prediction model.
[0063] S3. Select a third pre-used backup chip from the first pre-used backup chip and the second pre-used backup chip, where the third pre-used backup chip is the same pre-used backup chip in the first pre-used backup chip and the second pre-used backup chip, and prioritize the third pre-used backup chip to obtain a backup chip priority ranking result.
[0064] S4. Mark the original data in the target chip with position sequence numbers to obtain position sequence marking results, analyze the abnormal time difference between the time required for writing and reading the original data in the target chip, and output the maximum time difference.
[0065] S5. According to the position sequence marking results, the data length difference and the data position sequence change arc before and after the reading of each position sequence data of the target chip are analyzed respectively, and the maximum length difference and the maximum jump arc value are output. According to the maximum time difference, the maximum length difference and the maximum jump arc value, the urgency of repairing the current data after the original data in the target chip is determined.
[0066] S6. Based on the urgency of the repair, select the best backup chip from the backup chip priority sorting results to obtain the best backup chip screening results, judge the data repair results of the target chip by each backup chip in the best backup chip screening results, and output the data re-repair judgment result or the data repair success result.
[0067] Specifically, firstly, the target chip's impending failure is predicted based on its own characteristic information, and then the failure impact on all currently backed-up chips is evaluated based on the failure characteristics. When the target chip's failure damage type is large, or the current backup chip's location area is close to the target chip, it is very likely to be affected, which may cause the backup data in the current backup chip to lose integrity, and finally cause the subsequent data repair process to fail to complete normally, making the success rate of data repair extremely low and wasting resources. Therefore, through two methods of prediction and analysis, the backup chips whose backup data are still complete are screened out from all current backup chips to improve resource utilization and subsequent data repair. In order to improve the efficiency of the processing work, and in order to make the subsequent data repair processing work timely, the urgency of the data repair required by the target chip is judged, that is, the change status of the position sequence of the original data in the target chip after reading, the time elapsed from data writing to reading, and the length change status of the data after being read are comprehensively analyzed to determine the urgency of the data repair required by the target chip. Finally, according to the urgency, the most efficient multiple backup chips are selected again from the multiple optimal backup chips predicted and selected above, and finally the repair processing is carried out, and the repaired data results are compared with each other to determine whether the final data repair is successful or not based on the overlap of the comparison, which once again guarantees the success rate of data repair.
[0068] The specific step S1 includes the following sub-steps:
[0069] The surrounding environment status information and historical fault record information of the target chip are obtained, and the current abnormal fault of the target chip is predicted according to the surrounding environment status information and the historical fault record information to obtain the target chip fault prediction result.
[0070] Based on the target chip fault prediction result, data faults are predicted for the original data in the target chip to obtain the original data fault prediction result.
[0071] Statistics are collected on all current backup chips that have backed up the original data in the target chip. Based on the target chip fault prediction results, the risk of all current backup chips being affected is evaluated, and a fault risk dataset is output.
[0072] Based on the fault spreading risk data set, the integrity of the backup data in all current backup chips is judged, and the backup data integrity judgment result set is output.
[0073] Based on the backup data integrity judgment result set, a first pre-used backup chip whose backup data is still complete is selected from all current backup chips.
[0074] Specifically, such as the surrounding environment conditions of the target chip (including the target chip's own temperature, the humidity, vibration, and radiation of the surrounding environment), historical fault record information (such as thermal damage caused by excessive temperature, physical damage: cracks, fractures), if the target chip's own temperature is high and there is thermal damage in historical faults, then the target chip fault prediction result (thermal damage faults may occur), if all current backup chips (chip 1, chip 2, chip 3, chip 4, chip 5), whether all current backup chips are affected is evaluated. For example, the distance between chips will affect the risk of fault spread. If the distance between the target chip and chip 1 is 5 cm, the distance between the target chip and chip 2 is 7 cm, the distance between the target chip and chip 3 is 10 cm, the distance between the target chip and chip 4 is 12 cm, and the distance between the target chip and chip 5 is 15 cm, then the data integrity judgment result set (assessment of chip 1) can be backed up based on the distance and risk comparison table. The risk of impact of chip 1 is 7%, the risk of impact of chip 2 is 6%, the risk of impact of chip 3 is 5%, the risk of impact of chip 4 is 3%, and the risk of impact of chip 5 is 2%). The integrity of the backup data in all current backup chips is judged. If the requirement condition for the integrity of the backup data in the backup chip is that the risk of impact does not exceed 5%, the first pre-used backup chip (i.e., chip 1, chip 2, and chip 3) can be obtained.
[0075] The specific step S2 includes the following sub-steps:
[0076] All historical backup chips are obtained, and specific backup areas of all historical backup chips are identified to obtain a historical backup area identification result set.
[0077] According to the historical fault record information, the damage degree of the faults that affected all the backup chips in the history is counted to obtain the historical damage degree data set.
[0078] A simulation prediction model is established based on the historical backup area identification result set and the historical impact damage degree data set.
[0079] Get the current backup region ID result set.
[0080] According to the historical fault record information, the fault damage degree of all the backup chips currently affected is predicted to obtain the current damage degree data set.
[0081] All current backup chips, the current backup area identification result set and the current affected damage degree data set are input into the simulation prediction model for testing, and the second pre-use backup chip is output.
[0082] Specifically, if all the historical backup chips are (chip 6, chip 7, chip 8, chip 9, chip 10), the historical backup area identification result set (if it is 6a, 7b, 8c, 9d, 10e, the number represents which chip, and the letter represents the area where the backup data in the chip is located), the degree of damage of the faults affected by all the historical backup chips is statistically analyzed to obtain a historical damage degree data set (that is, based on the historical fault information and the fault information of all the historical backup chips in the same historical period, according to the relationship between the fault information of each historical backup chip and the historical fault information of the target chip, the historical damage degree of the historical backup chip is statistically analyzed, if it is 5%, 8%, 10%, 12%, and 15% respectively), according to the historical backup The backup area identification result set and the historical impact and damage degree data set are used to establish a simulation prediction model (that is, for example, based on two independent variable factors, a quadratic function is established). Based on the information of these two factors, it is possible to judge whether the backup data in the backup chip is affected by data damage. The same as the above steps, all current backup chips, the current backup area identification result set and the current impact and damage degree data set are collected, and these data information are input into the above-mentioned trained simulation prediction model for testing to obtain which backup chips among all current backup chips (chip 1, chip 2, chip 3, chip 4, chip 5) have backup data that has not been affected and damaged, that is, the integrity of the backup data is still retained, and the second pre-used backup chip (if it is chip 1, chip 3, chip 4).
[0083] The specific step S3 includes the following sub-steps:
[0084] The same pre-used backup chip is selected from the first pre-used backup chip and the second pre-used backup chip, and a third pre-used backup chip is output.
[0085] The remaining memory capacity, backup mode, and hardware and software performance of each backup chip in the third pre-used backup chip are obtained.
[0086] The remaining memory capacity, backup method, hardware and software performance and the current impact damage degree are combined into a set of efficiency influencing factors.
[0087] Based on the efficiency influencing factor set, the third pre-used backup chips are prioritized in order of data repair efficiency to obtain a backup chip priority ranking result.
[0088] Specifically, if the first pre-used backup chip (chip 1, chip 2 and chip 3) and the second pre-used backup chip (chip 1, chip 3, chip 4) analyzed above are known, then the third pre-used backup chip (chip 1 and chip 3) is used to obtain the remaining memory capacity (i.e., the space available for storing the remaining data excluding the data contained in itself and the backup data), backup method (such as backup partition table) and hardware and software performance (the hardware and software performance in the chip usually refers to the processing power of the hardware device and the running efficiency of the software program) of each backup chip in the third pre-used backup chip, as well as the current degree of damage. The above four categories of factor information will have different degrees of influence on the subsequent data repair rate of the backup chip. The third pre-used backup chips (for example, the above-mentioned backup chips are screened and processed, if the last third pre-used backup chips are chip 1, chip 3, chip 4, chip 6, chip 7, chip 10) are arranged in order of priority in terms of data repair efficiency to obtain the backup chip priority ranking result (if the priority order is chip 3, chip 6, chip 4, chip 1, chip 10, chip 7).
[0089] The specific step S4 includes the following sub-steps:
[0090] The original data in the target chip are numbered and marked with position sequence numbers to obtain position sequence marking results.
[0091] The time required for the first time from writing to reading of each position series data in the target chip under normal operation in multiple historical periods is obtained.
[0092] According to the first required time, the average required time from writing to reading of each position series data is calculated, and according to the average required time, an average required time data set is output.
[0093] Based on the average required time data set, the original data of each marked position sequence in the target chip is time-stamped to obtain the time-stamping result.
[0094] Based on the time marking result, the corresponding time determination threshold is preset to obtain a preset time determination threshold set.
[0095] A second required time length from writing to reading of each position sequence data of the target chip is obtained, and a second required time length set is output according to the second required time length.
[0096] The second required time length set is compared one by one with the preset time determination threshold set to obtain a time comparison result set, and a time anomaly result set is screened out from the time comparison result set.
[0097] The difference between each abnormal time in the time anomaly result set and the corresponding average required time in the average required time data set is calculated to obtain the time difference data set.
[0098] Filter out the maximum time difference from the duration difference dataset.
[0099] Specifically, such as the position sequence marking result (if the original data in the target chip is abcdefgh, the original data is numbered and marked as a1, b2, c3, d4, e5, f6, g7, h8 after the position sequence is processed), the first required time (such as the time from the writing to the reading of data a at 7:00 a.m. in the historical period is 1 second, the time from the writing to the reading at 7:10 a.m. in the historical period is 3 seconds, and the time from the writing to the reading at 7:20 a.m. in the historical period is 4 seconds, and the same applies to other data. No further explanation is given here), calculate the average time required for each position series data from writing to reading (if the historical required time of the above-mentioned data a is 1 second, 3 seconds and 4 seconds respectively, the calculated average required time is 4 seconds), the average required time data set (if the average required time for data a is 4 seconds, the average required time for data b is 5 seconds, b: 4 seconds, c: 6 seconds, d: 3 seconds, e: 4 seconds, f: 5 seconds, g: 6 seconds, h: 3 seconds), time-stamp the original data of each marked position sequence in the target chip to obtain the time-stamping result (i.e., the average required time analyzed above is marked with time digits), a preset time determination threshold set (such as the first preset time determination threshold: 5 seconds, the second preset time determination threshold: 4 seconds, the third preset time determination threshold: 6 seconds, the fourth preset time determination threshold: 3 seconds, the fifth preset time determination threshold: 4 seconds, the sixth preset time determination threshold: 5 seconds, the seventh preset time determination threshold: 6 seconds, the eighth preset time determination threshold: 3 seconds), the second required time length set (if they are a: 2, b: 5 seconds, b: 6 seconds, c: 6 seconds, d: 5 seconds, e: 8 seconds, f: 2 seconds, g: 6 seconds, h: 4 seconds), a time length difference data set (among which a, b, d, e, f, h have time length anomalies, and their respective time length difference data are 2 seconds, 1 second, 2 seconds, 3 seconds, 4 seconds, 1 second), and a maximum time difference value (i.e., 4 seconds).
[0100] The specific step S5 includes the following sub-steps:
[0101] The original data length of each position sequence data of the target chip is obtained, and the original data length set is output according to the original data length.
[0102] Obtain the current data length set after reading the original data in the target chip, compare the original data length set with the current data length set one by one to obtain a length comparison result set, and filter out the length abnormality result set from the length comparison result set.
[0103] The difference between each abnormal length in the length abnormality result set and the corresponding original data length in the original data length set is calculated to obtain a length difference data set.
[0104] Filter out the maximum length difference from the length difference statistics data set.
[0105] The new position sequence after reading the original data in the target chip is obtained, and the position sequence marking result is compared with the new position sequence to obtain the difference position sequence result.
[0106] Based on the difference position sequence results, the position jump radians of the difference position sequence are counted, and according to the position jump radians, a position jump radian set is output, and the maximum jump radian value is screened out from the position jump radian set.
[0107] According to the maximum time difference, the maximum length difference and the maximum jump arc value, the urgency of repairing the current data after the original data in the target chip is determined.
[0108] Specifically, for example, the original data length set (if the data length of a is 100KB, b: 80KB, c: 80KB, d: 90KB, e: 70KB, f: 120KB, g: 100KB, h: 150KB), obtain the current data length set after the original data in the target chip is read (if they are a: 100KB, b: 100KB, c: 80KB, d: 110KB, e: 120KB, f: 100KB, g: 130KB, h: 130KB), compare each abnormal length in the length abnormality result set with the original data length set The length difference data set is obtained by calculating the difference of the corresponding original data length (the data length anomalies are: b, d, e, f, g, h, and the corresponding length differences are: 20KB, 20KB, 50KB, 20KB, 30KB, 20KB), and the maximum length difference (that is, 50KB) is selected from the length difference data set. The new position sequence after the original data in the target chip is read is obtained (if it is a2, b1, c5, d4, e8, f7, g6, h3), and the position sequence is marked as a1, b2, c3, d4, e 5, f6, g7, h8) are compared with the new position sequence (a2, b1, c5, d4, e8, f7, g6, h3) to obtain the difference position sequence results (a jumps 1, b jumps 1, c jumps 2, e jumps 3, f jumps 1, g jumps 1, h jumps 5), the position jump arc set (that is, the position jump arcs are a: 1 / 8, b: 1 / 8, c: 1 / 4, e: 3 / 8, f: 1 / 8, g: 1 / 8, h: 5 / 8), and the maximum jump arc value (that is, h: 5 / 8) is selected from the position jump arc set. According to the maximum time difference, maximum length difference and maximum The jump arc value is used to determine the urgency of repairing the current data after the original data in the target chip is read (i.e., according to the time difference quota-urgency comparison table, the length difference quota-urgency comparison table, and the position sequence jump arc-urgency comparison table, if the corresponding urgency of repair is 80%, 85%, and 90%, respectively, then the comprehensive urgency is 85%. According to the value-level matching table: if 80% or less is the first-level urgency, 80%-90% is the second-level urgency, and more than 90% is the third-level urgency, then it can be determined that the urgency of the data to be repaired in the current target chip is the second level).
[0109] The specific step S6 includes the following sub-steps:
[0110] Based on the urgency of repair, at least three backup chips with the highest ranking are selected from the backup chip priority sorting results, and the optimal backup chip screening result is output.
[0111] The backup data of the backup chip in the optimal backup chip screening result is compared and repaired with the current data after the original data in the target chip is read to obtain a data repair result set.
[0112] The repaired data in the data repair result set are matched with each other in terms of overlap to obtain an overlap data set.
[0113] A coincidence determination threshold is preset, and when there are at least two coincidence data in the coincidence data set that are less than the preset coincidence determination threshold, the data is output to re-repair the determination result.
[0114] When there are at most two coincidence data in the coincidence data set that are less than the preset coincidence determination threshold, a data repair success result is output.
[0115] Specifically, for example, at least three backup chips with the highest ranking are selected from the backup chip priority sorting results (chip 3, chip 6, chip 4, chip 1, chip 10, chip 7) (if the four optimal backup chips are chip 3, chip 6, chip 4, and chip 1, the optimal backup chip screening result is obtained), a data repair result set (if the four data repair results are chip 3: abcdefgh, chip 6: abbdefgg, chip 4: abcdefgh, chip 1: abcdefgh), and the repair data in the data repair result set are matched with each other in terms of overlap to obtain an overlap data set (for example, the overlap after comparison between chip 3 and chip 6 is 80%, the overlap after comparison between chip 3 and chip 4 is 100%, the overlap after comparison between chip 3 and chip 1 is 100%, and the overlap after comparison between chip 3 and chip 1 is 100%). After comparing chip 6 with chip 4, the overlap is 80%, after comparing chip 6 with chip 1, the overlap is 80%, and after comparing chip 4 with chip 1, the overlap is 100%), a preset overlap judgment threshold (if set to 100%), when there are at least two overlap data in the overlap data set that are less than the preset overlap judgment threshold, the data re-repair judgment result is output (according to the data in the above example, it can be judged that the success rate of the data repair result has not been reached, so a secondary data re-repair is required), when there are at most two overlap data in the overlap data set that are less than the preset overlap judgment threshold, the data repair success result is output (that is, if there are at most two data repair results whose comparison overlap does not meet the standard, it may be a small error when the corresponding backup chip performs data repair, and finally the remaining repair data that meets the standard can be extracted).
[0116] A data recovery processing system based on a chip, by applying a data recovery processing method based on a chip as described above, comprises a first analysis unit, a second analysis unit, a pre-use arrangement unit, a time difference analysis unit, a repair emergency judgment unit and a repair result judgment unit, with reference to Figure 2, obtain all historical backup chips through the first analysis unit, analyze the historical feature information of all historical backup chips to establish a simulation prediction model, and screen out the second pre-used backup chip from all current backup chips according to the test of the simulation prediction model; obtain all historical backup chips through the second analysis unit, analyze the historical feature information of all historical backup chips to establish a simulation prediction model, and screen out the second pre-used backup chip from all current backup chips according to the test of the simulation prediction model; screen out the third pre-used backup chip from the first pre-used backup chip and the second pre-used backup chip through the pre-use arrangement unit, the third pre-used backup chip refers to the same pre-used backup chip in the first pre-used backup chip and the second pre-used backup chip, and prioritize the third pre-used backup chip to obtain the backup chip priority ranking result; perform position sequence analysis on the original data in the target chip through the time difference analysis unit The position sequence marking result is obtained by numbering, and the abnormal time difference between the time required for writing and reading the original data in the target chip is analyzed, and the maximum time difference is output; the repair emergency judgment unit analyzes the data length difference and the data position sequence change arc before and after the reading of each position sequence data of the target chip according to the position sequence marking result, and outputs the maximum length difference and the maximum jump arc value, and judges the urgency of repairing the current data after the original data in the target chip is read according to the maximum time difference, the maximum length difference and the maximum jump arc value; the repair result judgment unit selects the optimal backup chip from the backup chip priority sorting result according to the urgency of repair to obtain the optimal backup chip screening result, and judges the data repair result of the target chip by each backup chip in the optimal backup chip screening result, and outputs the data re-repair judgment result or the data repair success result.
[0117] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A data recovery processing method based on a chip, characterized in that: The following steps are involved: Acquire a target chip and all current backup chips, perform fault prediction on the target chip to obtain a target chip fault prediction result, and screen out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result; Acquire all historical backup chips, analyze historical feature information of all historical backup chips to establish a simulation prediction model, and select a second pre-used backup chip from all current backup chips according to the test of the simulation prediction model; Screening out a third pre-used backup chip from the first pre-used backup chip and the second pre-used backup chip, where the third pre-used backup chip refers to the same pre-used backup chip in the first pre-used backup chip and the second pre-used backup chip, and prioritizing the third pre-used backup chip to obtain a backup chip priority ranking result; Marking the original data in the target chip with a position sequence number to obtain a position sequence marking result, analyzing the abnormal time difference between the time required for writing and reading the original data in the target chip, and outputting a maximum time difference; According to the position sequence marking result, the data length difference and the data position sequence change arc of each position sequence data before and after reading of the target chip are analyzed respectively, and the maximum length difference and the maximum jump arc value are output. According to the maximum time difference, the maximum length difference and the maximum jump arc value, the urgency of repairing the current data after reading the original data in the target chip is determined; Based on the urgency of repair, the best backup chip is screened out from the backup chip priority sorting results to obtain the best backup chip screening results, and the data repair results of the target chip performed by each backup chip in the best backup chip screening results are judged to output the data re-repair judgment result or the data repair success result.
2. The method for recovering data in a chip according to claim 1, characterized in that: The steps of obtaining a target chip and all current backup chips, performing fault prediction on the target chip to obtain a target chip fault prediction result, and screening out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result are specifically as follows: Acquire ambient environment status information and historical fault record information of the target chip, and predict the current abnormal fault of the target chip according to the ambient environment status information and the historical fault record information to obtain a target chip fault prediction result; Based on the target chip fault prediction result, predicting data faults on original data in the target chip to obtain original data fault prediction results; Count all current backup chips of the original data in the backed-up target chip, evaluate the risk of all current backup chips being affected according to the target chip failure prediction result, and output the failure risk data set; Based on the fault spreading risk data set, the integrity of the backup data in all current backup chips is judged, and a backup data integrity judgment result set is output; Based on the backup data integrity judgment result set, a first pre-used backup chip whose backup data is still complete is screened out from all current backup chips.
3. The method for recovering data in a chip according to claim 2, characterized in that: The steps of obtaining all historical backup chips, analyzing historical feature information of all historical backup chips to establish a simulation prediction model, and selecting a second pre-used backup chip from all current backup chips according to the test of the simulation prediction model are specifically as follows: Acquire all historical backup chips, and identify the backup specific areas of all historical backup chips to obtain a historical backup area identification result set; According to the historical fault record information, statistics are collected on the fault damage extents of all backup chips affected in history to obtain a historical damage extent data set; Establishing a simulation prediction model based on the historical backup area identification result set and the historical impact damage degree data set; Get the current backup area identification result set; According to the historical fault record information, predict the fault damage degree of all current backup chips to obtain a current damage degree data set; All current backup chips, the current backup area identification result set and the current affected damage degree data set are input into the simulation prediction model for testing, and the second pre-use backup chip is output.
4. The method for recovering data in a chip according to claim 3, characterized in that: The step of selecting a third pre-used backup chip from the first pre-used backup chip and the second pre-used backup chip, wherein the third pre-used backup chip refers to the same pre-used backup chip in the first pre-used backup chip and the second pre-used backup chip, and prioritizing the third pre-used backup chip to obtain a backup chip priority ranking result is specifically: Filter out identical pre-used backup chips from the first pre-used backup chips and the second pre-used backup chips, and output a third pre-used backup chip; Obtaining the remaining memory capacity, backup mode, and hardware and software performance of each backup chip in the third pre-used backup chip; Combining the remaining memory capacity, backup method, hardware and software performance and current impact damage degree into an efficiency influencing factor set; Based on the efficiency influencing factor set, the third pre-used backup chips are prioritized in order of data repair efficiency to obtain a backup chip priority ranking result.
5. The chip-based data recovery method according to claim 1, characterized in that: The steps of performing position sequence numbering on the original data in the target chip to obtain a position sequence marking result, performing abnormal time difference analysis on the time required for writing to reading the original data in the target chip, and outputting the maximum time difference are specifically as follows: Performing position sequence numbering on the original data in the target chip to obtain a position sequence marking result; Obtain the first required time from writing to reading of each position series data in the target chip under normal operation in multiple historical periods; Calculate the average time required for each position series data from writing to reading according to the first required time, and output an average required time data set according to the average required time; Based on the average required time data set, time-marking the original data of each marked position sequence in the target chip to obtain a time-marking result; Based on the time marking result, preset the corresponding time determination threshold to obtain a preset time determination threshold set; Acquire a second required time length from writing to reading of each position sequence data of the target chip, and output a second required time length set according to the second required time length; Comparing the second required time length set with the preset time determination threshold set one by one to obtain a time comparison result set, and filtering out a time anomaly result set from the time comparison result set; Calculate the difference between each abnormal time in the time abnormality result set and the corresponding average required time in the average required time data set to obtain a time difference data set; The maximum time difference value is screened out from the duration difference data set.
6. The method for recovering data in a chip according to claim 5, characterized in that: According to the position sequence marking result, the data length difference and the data position sequence change arc of each position sequence data before and after reading the target chip are analyzed respectively, and the maximum length difference and the maximum jump arc value are output. According to the maximum time difference, the maximum length difference and the maximum jump arc value, the steps of judging the urgency of repairing the current data after reading the original data in the target chip are specifically as follows: Obtaining the original data length of each position sequence data of the target chip, and outputting an original data length set according to the original data length; Obtaining a current data length set after reading the original data in the target chip, comparing the original data length set with the current data length set one by one to obtain a length comparison result set, and screening out an abnormal length result set from the length comparison result set; Calculate the difference between each abnormal length in the length abnormal result set and the corresponding original data length in the original data length set to obtain a length difference data set; Filter out the maximum length difference from the length difference statistics data set; Obtaining a new position sequence after reading the original data in the target chip, and comparing the position sequence marking result with the new position sequence to obtain a difference position sequence result; Based on the difference position sequence result, the position jump radians of the difference position sequence are counted, and according to the position jump radians, a position jump radian set is output, and the maximum jump radian value is screened out from the position jump radian set; The urgency of repairing the current data after the original data in the target chip is read is determined according to the maximum time difference, the maximum length difference and the maximum jump arc value.
7. The method for recovering data in a chip according to claim 6, characterized in that: Based on the urgency of repair, the optimal backup chip is screened out from the backup chip priority sorting result to obtain the optimal backup chip screening result, and according to the data repair result of each backup chip in the optimal backup chip screening result, the data re-repair judgment result or the data repair success result is output, specifically, the steps of: Based on the urgency of repair, at least three backup chips with the highest ranking are selected from the backup chip priority sorting results, and an optimal backup chip screening result is output; Compare and repair the backup data of the backup chip in the optimal backup chip screening result with the current data after the original data in the target chip is read to obtain a data repair result set; Matching the repaired data in the data repair result set with each other in terms of overlap to obtain an overlap data set; A coincidence determination threshold is preset, and when at least two coincidence data in the coincidence data set are smaller than the preset coincidence determination threshold, the data is output to re-repair the determination result; When there are at most two coincidence data in the coincidence data set that are less than a preset coincidence determination threshold, a data repair success result is output.
8. A data recovery processing system based on a chip, characterized in that: The system is used to implement a data recovery processing method based on a chip as described in any one of claims 1 to 7, comprising: A first analysis unit is used to obtain a target chip and all current backup chips, perform fault prediction on the target chip to obtain a target chip fault prediction result, and screen out a first pre-used backup chip based on the fault impact of all current backup chips according to the target chip fault prediction result; The second analysis unit is used to obtain all historical backup chips, analyze historical feature information of all historical backup chips to establish a simulation prediction model, and select the second pre-used backup chip from all current backup chips according to the test of the simulation prediction model; A pre-use ranking unit is used to select a third pre-use backup chip from the first pre-use backup chip and the second pre-use backup chip, where the third pre-use backup chip refers to the same pre-use backup chip in the first pre-use backup chip and the second pre-use backup chip, and prioritize the third pre-use backup chip to obtain a backup chip priority ranking result; The time difference analysis unit is used to mark the original data in the target chip with a number of the position sequence to obtain the position sequence marking result, analyze the abnormal time difference between the time required for writing and reading the original data in the target chip, and output the maximum time difference; The repair urgency judgment unit is used to analyze the data length difference and the data position sequence change arc of each position sequence data before and after reading the target chip according to the position sequence marking result, output the maximum length difference and the maximum jump arc value, and judge the urgency of repairing the current data after reading the original data in the target chip according to the maximum time difference, the maximum length difference and the maximum jump arc value; The repair result judgment unit is used to select the best backup chip from the backup chip priority sorting results according to the urgency of the repair, obtain the best backup chip screening results, judge the data repair results of the target chip by each backup chip in the best backup chip screening results, and output the data re-repair judgment result or the data repair success result.
Citation Information
Patent Citations
Security chip processor of fault redundancy mechanism and processing method
CN112506718A
Computing chip testing method and system, computer equipment and storage medium
CN115658400A
