A processing system and method for online firmware upgrade transmission failure of hard disk

By designing a processing system for online upgrade and transmission failure of hard disk firmware, the problem of failure reasons in the existing technology cannot be identified and feedback, and rapid failure diagnosis and fault response are achieved, and the reliability and efficiency of online upgrade of hard disk firmware is improved.

CN119557144BActive Publication Date: 2025-05-30SHENZHEN QUANXING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510112440.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-05-30
Estimated Expiration
2045-01-24

AI Technical Summary

Technical Problem

During the online upgrade of hard disk firmware in the existing technology, the specific reasons for the failure of transmission cannot be effectively identified and feedback, resulting in difficulty in troubleshooting problems.

Method used

A processing system based on online upgrade and transmission failure of hard disk firmware is designed, including data monitoring module, failure analysis module, failure response decision module, fault processing module and feedback module. By collecting hard disk model, transmitting data and other information, analyzing the cause of failure, and deciding whether to start the fault response and feedback.

Benefits of technology

It achieves rapid feedback on the causes of failures, simplifies the problem investigation process, and improves the reliability and efficiency of online upgrades of hard disk firmware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557144B_ABST
    Figure CN119557144B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of hard disk data storage and transmission, and discloses a processing system and method for the failure of online upgrade and transmission of hard disk firmware, including a data monitoring module, a failure analysis module, a failure response decision module, a fault handling module and a feedback module. The data monitoring module includes a hard disk model acquisition unit and a transmission data acquisition unit. The system analyzes the cause of failure by collecting the model of the current hard disk, the total number of times and the number of successful times of online upgrade of the hard disk firmware of the current model, collecting the transmission throughput, memory occupancy rate, CPU usage rate and data verification integrity rate, and combining the upgrade success rate of the hard disk of the current model, the transmission situation during the hard disk upgrade process, and the usage of memory and CPU. After determining the cause of failure, a fault response is initiated and a re-upgrade is performed. At the same time, the number of re-upgrades is limited. When the limit value is reached, the re-upgrade is stopped and feedback is given to the user and the developer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hard disk data storage and transmission, and specifically provides a processing system and method for the failure of online firmware upgrade transmission of a hard disk. Background Art

[0002] Hard disk firmware, also known as Firmware, is a software program stored on a small memory chip inside the hard disk. It is responsible for guiding and controlling the operation of the hard disk. The firmware is responsible for tasks such as driving, controlling, decoding, transmitting, and detecting. For example, it manages the storage location of data, records defective sectors that have been damaged, avoids using these bad defective sectors during operation, and records the temperature or errors that occur during the operation of the hard disk. A hard disk without firmware is just a pile of mechanical and electronic components and cannot operate normally, let alone read and write data in it. Generally speaking, the hard disk firmware is a key component for the normal operation of the hard disk, and it is responsible for guiding and controlling the interaction between various internal components of the hard disk. By upgrading the firmware, the performance and compatibility of the hard disk can be improved. However, the existing technology only gives the result of whether the online firmware upgrade of the hard disk is successful or failed, and does not give the specific reasons for the upgrade transmission failure and the corresponding data feedback, resulting in difficulties in troubleshooting problems. Summary of the Invention

[0003] Aiming at the deficiencies of the existing technology, the present invention provides a processing system and method for the failure of online firmware upgrade transmission of a hard disk, which has the advantages of quickly feedbacking the failure reasons and solves the above technical problems.

[0004] To achieve the above object, the present invention provides the following technical solution: A processing system for the failure of online firmware upgrade transmission of a hard disk, including a data monitoring module, a failure analysis module, a failure response decision module, a fault handling module, and a feedback module;

[0005] The data monitoring module includes a hard disk model collection unit and a transmission data collection unit. The hard disk model collection unit is used to collect the model of the current hard disk, the total number of times and the number of successful times of online firmware upgrade for the current model hard disk. The transmission data collection unit is used to collect the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate during the online upgrade transmission process of the hard disk firmware. The data monitoring module sends the collected model of the current hard disk and the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate to the failure analysis module for analysis;

[0006] The failure analysis module includes a hard disk upgrade failure analysis unit and a hardware analysis unit. The hard disk upgrade failure analysis is used to determine the success probability of online upgrade by combining the model of the current hard disk. The hardware analysis unit is used to obtain the hard disk upgrade environment rating by combining the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate. The failure analysis module sends the success probability of online upgrade and the hard disk upgrade environment rating to the failure response decision module;

[0007] The failure response decision module inputs the success probability of online upgrade and the hard disk upgrade environment rating into a decision-making function, and the failure response decision module determines whether to initiate a fault response. If a fault response is initiated, the fault handling module is called. The fault handling module determines whether the number of times of initiating the fault response exceeds the retry limit value. If it does not exceed, it continues to execute. If it exceeds, the feedback module is called to give feedback to the user and the developer. If a fault response is not initiated, the feedback module is called to give feedback to the user.

[0008] As a preferred technical solution of the present invention, the expression for the hard disk model acquisition unit to collect the model of the current hard disk, the total number of times of online upgrade of the hard disk firmware for the current model, and the number of successful times is as follows:

[0009]

[0010] Among them, respectively represent the th model the total number of times of online upgrade of the hard disk firmware in the hard disk of, , the th model the total number of times of online upgrade of the hard disk firmware in the hard disk of, , the th model the total number of times of online upgrade of the hard disk firmware in the hard disk of. represents the hard disk of model .

[0011] As a preferred technical solution of the present invention, the expression for the transmission data acquisition unit to collect the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate during the online upgrade transmission process of the hard disk firmware is as follows:

[0012]

[0013] Among them, represents the collected transmission data set, represents the transmission throughput, represents the memory occupancy rate, represents usage rate, Indicates the data verification integrity rate, Indicates the transmission duration.

[0014] As a preferred technical solution of the present invention, the memory occupancy rate has the following specific expression:

[0015]

[0016] wherein, represents the used memory, represents the total memory, represents the memory occupancy rate;

[0017] The usage rate has the following expression:

[0018]

[0019] wherein, represents the usage rate, represents the transmission duration, represents the usage duration.

[0020] As a preferred technical solution of the present invention, the transmission throughput has the following expression:

[0021]

[0022] wherein, represents the transmission duration, represents the transmission throughput, represents the amount of transmitted data;

[0023] The data verification integrity rate has the following expression:

[0024]

[0025] wherein, represents the amount of transmitted data, represents the data verification integrity rate, represents the amount of completely transmitted data.

[0026] As a preferred technical solution of the present invention, the specific expression for analyzing the failure of hard disk upgrade and judging the success probability of online upgrade in combination with the current hard disk model is as follows:

[0027]

[0028] wherein, represents the The total number of online upgrades of the hard disk firmware in a hard disk of a model, represents the total number of models, represents the current model The success probability of the online upgrade of the hard disk firmware in the hard disk of a model, represents the sum of the total number of online upgrades of the hard disk firmware in the hard disk of a model.

[0029] As a preferred technical solution of the present invention, the specific expression for the hardware analysis unit to obtain the hard disk upgrade environment rating by combining the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate is as follows:

[0030] Among them, represents the hard disk upgrade environment rating, represents the hardware rating, represents the transmission rating;

[0031] The specific expression of the hardware rating is as follows:

[0032]

[0033] Among them, represents the memory occupancy rate, represents the usage rate, represents the resource usage threshold;

[0034] The specific expression of the transmission rating is as follows:

[0035]

[0036] Among them, represents the transmission threshold, represents the data integrity threshold, represents the transmission throughput, represents the data verification integrity rate.

[0037] As a preferred technical solution of the present invention, the expression of the decision-making judgment function is as follows:

[0038]

[0039] Among them, represents not starting a fault response, represents starting a fault response, represents the decision-making judgment function, represents the success probability threshold, represents the current model The success probability of online upgrade of hard disk firmware in the hard disk, represents the rating of the hard disk upgrade environment.

[0040] As a preferred technical solution of the present invention, the expression for the fault handling module to determine whether the number of times of starting the fault response exceeds the retry limit value is as follows:

[0041]

[0042] where, indicates that the retry limit value is exceeded, indicates that the retry limit value is not exceeded, represents the judgment function, represents the retry upper limit, represents the current number of retries.

[0043] The present invention also provides a method for handling transmission failures in online upgrade of hard disk firmware, including the following steps:

[0044] Step 1: Collect the model of the current hard disk, the total number of times and the number of successful times of online upgrade of the hard disk firmware of the current model, and also collect the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate;

[0045] Step 2: Determine the success probability of the online upgrade in combination with the model of the current hard disk, and obtain the hard disk upgrade environment rating in combination with the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate;

[0046] Step 3: Input the success probability of the online upgrade and the hard disk upgrade environment rating into the decision-making judgment function, and the failure response decision module determines whether to start the fault response. If the fault response is started, then execute Step 4. If the fault response is not started, then call the feedback module to give feedback to the user;

[0047] Step 4: Call the fault handling module, and the fault handling module determines whether the number of times of starting the fault response exceeds the retry limit value. If it does not exceed, then continue to execute. If it exceeds, then call the feedback module to give feedback to the user and the developer.

[0048] Compared with the prior art, the present invention provides a system and method for handling transmission failures in online upgrade of hard disk firmware, having the following beneficial effects:

[0049] The present invention analyzes the failure cause by collecting the model of the current hard disk, the total number of times and the number of successful times of online firmware upgrade of the current model hard disk, collecting the transmission throughput, memory occupancy rate, CPU usage rate and data verification integrity rate, and combining the upgrade success rate of the current model hard disk, the transmission situation during the hard disk upgrade process, and the usage of memory and CPU. After determining the failure cause, a fault response is initiated and a re-upgrade is performed. At the same time, the number of re-upgrades is limited. When the limit value is reached, the re-upgrade is stopped and feedback is given to the user and the developer. Brief Description of the Drawings

[0050] Figure 1 It is a schematic diagram of the system framework of the present invention;

[0051] Figure 2 It is a schematic diagram of the process of the present invention. Detailed Embodiment

[0052] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0053] Please refer to Figures 1-2 , a processing system based on the failure of online firmware upgrade of a hard disk, including a data monitoring module, a failure analysis module, a failure response decision module, a fault handling module and a feedback module;

[0054] The data monitoring module includes a hard disk model acquisition unit and a transmission data acquisition unit. The hard disk model acquisition unit is used to collect the model of the current hard disk, the total number of times and the number of successful times of online firmware upgrade of the current model hard disk. The expressions for the hard disk model acquisition unit to collect the model of the current hard disk, the total number of times and the number of successful times of online firmware upgrade of the current model hard disk are as follows:

[0055]

[0056] Among them, respectively represent the total number of times of online firmware upgrade of the hard disk in the th model , , the total number of times of online firmware upgrade of the hard disk in the th model , , the total number of times of online firmware upgrade of the hard disk in the th model The total number of online upgrades of the hard disk firmware in the hard disk, where the total number represents the sum of the number of successful and failed upgrades during the upgrade process. If there are 3 failures and 1 success, then , if there are no failures and 1 success, then , Indicates the model of the hard disk. The transmission data acquisition unit is used to collect the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate during the online upgrade transmission process of the hard disk firmware. The data monitoring module sends the collected model of the current hard disk and the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate to the failure analysis module for analysis. The expressions for the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate collected by the transmission data acquisition unit during the online upgrade transmission process of the hard disk firmware are as follows:

[0057]

[0058] Among them, Indicates the collected transmission data set, Indicates the transmission throughput, Indicates the memory occupancy rate, Indicates Usage rate, Indicates the data verification integrity rate, Indicates the transmission duration, and the memory occupancy rate The specific expression is as follows:

[0059]

[0060] Among them, Indicates the used memory, Indicates the total memory, Indicates the memory occupancy rate, Usage rate The expression is as follows:

[0061]

[0062] Among them, Indicates Usage rate, Indicates the transmission duration, Indicates Usage duration, and the transmission throughput The expression is as follows:

[0063]

[0064] Among them, Indicates the transmission duration, Indicates the transmission throughput, Indicates the amount of transmitted data;

[0065] Data verification integrity rate The expression is as follows:

[0066]

[0067] Wherein, Indicates the amount of transmitted data, Indicates the data verification integrity rate, Indicates the amount of completely transmitted data;

[0068] The failure analysis module includes a hard disk upgrade failure analysis unit and a hardware analysis unit. The hard disk upgrade failure analysis is used to judge the success probability of online upgrade in combination with the model of the current hard disk. The hardware analysis unit is used to obtain the hard disk upgrade environment rating by combining the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate. The failure analysis module sends the success probability of online upgrade and the hard disk upgrade environment rating to the failure response decision module. The specific expression for the hard disk upgrade failure analysis to judge the success probability of online upgrade in combination with the model of the current hard disk is as follows:

[0069]

[0070] Wherein, Indicates the th model The total number of online upgrades of the hard disk firmware in the hard disk of, Indicates the total number of models, Indicates the current model The success probability of online upgrade of the hard disk firmware in the hard disk of, Indicates the model The sum of the total number of online upgrades of the hard disk firmware in the hard disk of. The specific expression for the hardware analysis unit to obtain the hard disk upgrade environment rating by combining the transmission throughput, memory occupancy rate, CPU usage rate, and data verification integrity rate is as follows:

[0071]

[0072] Wherein, Indicates the hard disk upgrade environment rating, Indicates the hardware rating, Indicates the transmission rating;

[0073] Hardware rating The specific expression is as follows:

[0074]

[0075] Wherein, Indicates the memory occupancy rate, Indicates Usage rate represents the resource usage threshold. When it indicates that the CPU and memory usage rates are too high during the upgrade transmission, resulting in a slow process. It indicates that the CPU and memory are used normally during the upgrade transmission;

[0076] Transmission rating The specific expression is as follows:

[0077]

[0078] Among them, represents the transmission threshold, represents the data integrity threshold, represents the transmission throughput, represents the data verification integrity rate, indicates that the transmission throughput is too low during the transmission process, or the data integrity of the transmitted data is relatively low. 0 indicates that both the transmission throughput and the data integrity of the transmitted data are normal during the transmission process.

[0079] The failure response decision module inputs the success probability of the online upgrade and the hard disk upgrade environment rating into the decision-making judgment function, and the failure response decision module determines whether to initiate a failure response. If a failure response is initiated, the failure handling module is called. The failure handling module determines whether the number of times of initiating the failure response exceeds the retry limit value. If it does not exceed, the process continues. If it exceeds, the feedback module is called to provide feedback to the user and the developer. If a failure response is not initiated, the feedback module is called to provide feedback to the user. The expression of the decision-making judgment function is as follows:

[0080]

[0081] Among them, indicates not to initiate a failure response, indicates to initiate a failure response, represents the decision-making judgment function, represents the success probability threshold, represents the current model of the success probability of the online upgrade of the hard disk firmware in the hard disk, represents the hard disk upgrade environment rating. The expression for the failure handling module to determine whether the number of times of initiating the failure response exceeds the retry limit value is as follows:

[0082]

[0083] Among them, indicates exceeding the retry limit value when indicates not exceeding the retry limit value when Represents a judgment function, Represents the retry upper limit, Represents the current number of retries. When the upgrade still fails after reaching the upper limit of retries, feedback is given to the user. Indicates that the upgrade success rate of the hard disk firmware of this model a is relatively low, and feedback on the hard disk model problem is given.

[0084] The present invention also provides a method for handling the failure of online upgrade transmission of hard disk firmware, including the following steps:

[0085] Step 1: Collect the model of the current hard disk, the total number of times and the number of successful times of online upgrade of the hard disk firmware of the current model, and also collect the transmission throughput, memory occupancy rate, CPU usage rate and data verification integrity rate;

[0086] Step 2: Combine the model of the current hard disk to judge the success probability of online upgrade, and obtain the hard disk upgrade environment rating by combining the transmission throughput, memory occupancy rate, CPU usage rate and data verification integrity rate;

[0087] Step 3: Input the success probability of online upgrade and the hard disk upgrade environment rating into the decision-making judgment function, and the failure response decision module determines whether to initiate a fault response. If a fault response is initiated, step 4 is executed. If no fault response is initiated, the feedback module is called to give feedback to the user.

[0088] Step 4: Call the fault handling module. The fault handling module determines whether the number of times of initiating a fault response exceeds the retry limit value. If it does not exceed, continue to execute. If it exceeds, the feedback module is called to give feedback to the user and the developer.

[0089] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A system for processing transmission failure based on online upgrade of hard disk firmware, characterized in that: It includes data monitoring module, failure analysis module, failure response decision module, fault handling module and feedback module; The data monitoring module includes a hard disk model acquisition unit and a transmission data acquisition unit. The hard disk model acquisition unit is used to acquire the model of the current hard disk and the total number of times and the number of successes of the online upgrade of the hard disk firmware of the current model. The transmission data acquisition unit is used to acquire the transmission throughput, memory occupancy rate, CPU usage rate and data verification completeness rate during the online upgrade transmission of the hard disk firmware. The data monitoring module sends the acquired model of the current hard disk and the transmission throughput, memory occupancy rate, CPU usage rate and data verification completeness rate to the failure analysis module for analysis; The failure analysis module includes a hard disk upgrade failure analysis unit and a hardware analysis unit. The hard disk upgrade failure analysis unit is used to determine the success probability of online upgrade in combination with the current hard disk model. The hardware analysis unit is used to obtain the hard disk upgrade environment rating in combination with the transmission throughput, memory occupancy rate, CPU usage rate and data verification integrity rate. The failure analysis module sends the success probability of online upgrade and the hard disk upgrade environment rating to the failure response decision module; The failure response decision module inputs the success probability of the online upgrade and the hard disk upgrade environment rating into the decision judgment function, and the failure response decision module determines whether to start the fault response. If the fault response is started, the fault processing module is called, and the fault processing module determines whether the number of times the fault response is started exceeds the retry number limit value. If not, the execution continues. If exceeded, the feedback module is called to provide feedback to users and developers. If the fault response is not started, the feedback module is called to provide feedback to the user.

2. A processing system based on hard disk firmware online upgrade transmission failure according to claim 1, characterized in that: The hard disk model acquisition unit acquires the model of the current hard disk and the total number of times the current model performs online upgrade of the hard disk firmware as follows: ; in, Indicates Models The total number of online upgrades of the hard disk firmware in the hard disk; Indicates Models The total number of online upgrades of the hard disk firmware in the hard disk; Indicates Models The total number of online upgrades of the hard disk firmware in the hard disks, Indicates the model of hard disk.

3. A processing system based on hard disk firmware online upgrade transmission failure according to claim 2, characterized in that: The transmission data acquisition unit acquires the transmission throughput, memory occupancy, CPU usage and data verification integrity rate during the online upgrade transmission of the hard disk firmware as follows: ; in, represents the collected transmission data set, represents the transmission throughput, Indicates the memory usage. express Utilization rate, Indicates the data verification completeness rate, Indicates the transmission duration.

4. A processing system based on hard disk firmware online upgrade transmission failure according to claim 3, characterized in that: The memory usage The specific expression is as follows: ; in, Indicates the memory used. Indicates the total memory, Indicates memory usage; Said Utilization The expression is as follows: ; in, express Utilization rate, Indicates the transmission time. express Duration of use.

5. The system for processing transmission failure based on online upgrade of hard disk firmware according to claim 3, characterized in that: The transmission throughput The expression is as follows: ; in, Indicates the transmission time. represents the transmission throughput, Indicates the amount of data transferred; The data verification completeness rate The expression is as follows: ; in, Indicates the amount of data transferred. Indicates the data verification completeness rate, Indicates the amount of data transferred completely.

6. The system for processing transmission failure based on online upgrade of hard disk firmware according to claim 3, characterized in that: The specific expression for the hard disk upgrade failure analysis combined with the current hard disk model to determine the success probability of online upgrade is as follows: ; in, Indicates Models The total number of online upgrades of the hard disk firmware in the hard disks, Indicates the total number of models, Indicates the current model The success rate of online upgrade of the hard disk firmware in the hard disk, Indicates the model The total number of online upgrades of the hard disk firmware in the hard disks.

7. A processing system based on transmission failure of online hard disk firmware upgrade according to claim 6, characterized in that: The hardware analysis unit combines the transmission throughput, memory occupancy, CPU usage and data verification integrity rate to obtain a specific expression for the hard disk upgrade environment rating as follows: ; in, Indicates the hard disk upgrade environment rating. Indicates the hardware rating, Indicates the transmission rating; Said Hardware Rating The specific expression is as follows: ; in, Indicates the memory usage. express Utilization rate, Indicates the resource usage threshold; The transmission rating The specific expression is as follows: ; in, represents the transmission threshold, represents the data completeness threshold, represents the transmission throughput, Indicates the data verification completeness rate.

8. The system for processing transmission failure based on online upgrade of hard disk firmware according to claim 1, characterized in that: The expression of the decision judgment function is as follows: ; in, Indicates that the fault response is not started. Indicates the start of fault response. represents the decision function, represents the success probability threshold, Indicates the current model The success rate of online upgrade of the hard disk firmware in the hard disk, Indicates the hard disk upgrade environmental rating.

9. The system for processing transmission failure based on online upgrade of hard disk firmware according to claim 1, characterized in that: The expression used by the fault processing module to determine whether the number of times a fault response is initiated exceeds the limit of the number of retries is as follows: ; in, When it exceeds the retry limit, When it is, it means that the retry limit value has not been exceeded. represents the judgment function, Indicates the retry limit. Indicates the current number of retries.

10. A method for processing a transmission failure based on an online upgrade of a hard disk firmware, using a processing system for processing a transmission failure based on an online upgrade of a hard disk firmware according to any one of claims 1 to 9, characterized in that: The following steps are involved: Step 1: Collect the current hard disk model and the total number of online hard disk firmware upgrades and the number of successful upgrades for the current model, as well as the transmission throughput, memory usage, CPU usage, and data verification completeness rate; Step 2: Determine the success probability of online upgrade based on the current hard disk model, and obtain the hard disk upgrade environment rating based on the transmission throughput, memory usage, CPU usage, and data verification integrity rate; Step 3: Based on the success probability of online upgrade and the hard disk upgrade environment rating, the decision function is inputted, and the failure response decision module determines whether to initiate the fault response. If the fault response is initiated, step 4 is executed. If the fault response is not initiated, the feedback module is called to provide feedback to the user. Step 4: Call the fault handling module, which determines whether the number of times the fault response is started exceeds the retry limit. If not, continue to execute. If so, call the feedback module to provide feedback to users and developers.

Citation Information

Patent Citations

  • Firmware upgrading method and device, storage medium, electronic equipment and computer program product

    CN118394388A

  • Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices

    US20200012488A1