Processing system and method based on online upgrade transmission failure of hard disk firmware
By designing the hard disk firmware online upgrade processing system, collecting and analyzing the hard disk model and transmitting data information, identifying the cause of failure and determining the fault response, the problem of failure in the existing technology cannot be identified and feedback, and the efficiency of fault processing is improved.
Patent Information
- Application Number
- CN202510112440.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2045-01-24
AI Technical Summary
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.
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.
It quickly identifies and feedbacks the reasons for the online upgrade of hard disk firmware, simplifies the problem detection process, and improves the efficiency of fault handling.
Smart Images

Figure CN119557144A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hard disk data storage transmission, and in particular to a processing system and method based on hard disk firmware online upgrade transmission failure. 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 work of the hard disk. The firmware is responsible for driving, controlling, decoding, transmitting, detecting, etc., such as managing the storage location of data, recording damaged defective sectors, avoiding the use of these bad defective sectors again during use, recording the temperature of the hard disk during operation or errors, etc. A hard disk without firmware is just a pile of mechanical and electronic components that cannot operate normally, let alone read and write data in it. In general, hard disk firmware is a key component for the normal operation of the hard disk. It is responsible for guiding and controlling the interaction between the various internal components of the hard disk. Through firmware upgrades, the performance and compatibility of the hard disk can be improved, but the current existing technology only gives the results of the success or failure of the hard disk firmware online upgrade, and does not give the specific reasons for the upgrade transmission failure and the corresponding data feedback, which makes it difficult to troubleshoot the problem. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention provides a system and method for processing transmission failure based on online upgrade of hard disk firmware, which has the advantages of rapid feedback of failure causes and solves the above technical problems.
[0004] To achieve the above object, the present invention provides the following technical solutions: a processing system based on transmission failure of online upgrade of hard disk firmware, comprising a data monitoring module, a failure analysis module, a failure response decision module, a fault processing module and a 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.
[0005] As a preferred technical solution of the present invention, the hard disk model acquisition unit acquires the model of the current hard disk and the total number of times the hard disk firmware is upgraded online by the current model and the expression of the number of successes is as follows:
[0006] in, Respectively represent Models The total number of online upgrades of the hard disk firmware in the hard disks, , No. Models The total number of online upgrades of the hard disk firmware in the hard disks, , No. Models The total number of online upgrades of the hard disk firmware in the hard disks, Indicates the model of hard disk.
[0007] As a preferred technical solution of the present invention, the transmission data acquisition unit collects the transmission throughput, memory occupancy, CPU usage and data verification integrity rate during the online upgrade transmission of the hard disk firmware, and the expressions are as follows:
[0008] 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.
[0009] As a preferred technical solution of the present invention, the memory occupancy rate The specific expression is as follows:
[0010] in, Indicates the memory used. Indicates the total memory, Indicates memory usage; Said Utilization The expression is as follows:
[0011] in, express Utilization rate, Indicates the transmission time. express Duration of use.
[0012] As a preferred technical solution of the present invention, the transmission throughput The expression is as follows:
[0013] 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:
[0014] in, Indicates the amount of data transferred. Indicates the data verification completeness rate, Indicates the amount of data transferred completely.
[0015] As a preferred technical solution of the present invention, the specific expression of the hard disk upgrade failure analysis combined with the current hard disk model to determine the success probability of online upgrade is as follows:
[0016] 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.
[0017] As a preferred technical solution of the present invention, 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:
[0018] in, Indicates the memory usage. express Utilization rate, Indicates the resource usage threshold; The transmission rating The specific expression is as follows:
[0019] in, represents the transmission threshold, represents the data completeness threshold, represents the transmission throughput, Indicates the data verification completeness rate.
[0020] As a preferred technical solution of the present invention, the expression of the decision judgment function is as follows:
[0021] 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.
[0022] As a preferred technical solution of the present invention, the expression used by the fault processing module to determine whether the number of times a fault response is initiated exceeds the limit value of the number of retries is as follows:
[0023] 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.
[0024] The present invention also provides a method for processing a transmission failure based on an online upgrade of a hard disk firmware, comprising the following steps: 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.
[0025] Compared with the prior art, the present invention provides a system and method for processing transmission failure based on online upgrade of hard disk firmware, which has the following beneficial effects: The present invention collects the model of the current hard disk and the total number of online upgrades of the hard disk firmware of the current model and the number of successful upgrades, and also collects transmission throughput, memory occupancy, CPU usage and data verification completeness rate, and analyzes the cause of failure in combination with the hard disk upgrade success rate of the current model and the transmission conditions existing in the hard disk upgrade process as well as the memory and CPU usage conditions. After determining the cause of failure, the present invention starts a fault response and re-upgrades, and at the same time limits the number of re-upgrades. When the limit value is reached, the re-upgrade is stopped, and feedback is given to users and developers. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a schematic diagram of the system framework of the present invention; Figure 2 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] See also Figure 1-Figure 2 ,A processing system based on the transmission failure of online upgrade of hard disk firmware, includes a data monitoring module, a failure analysis module, a failure response decision module, a fault handling module and a feedback module;
[0029] 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 and the total number of online hard disk firmware upgrades and the number of successful hard disk firmware upgrades for the current model. The expression for the hard disk model acquisition unit to collect the model of the current hard disk and the total number of online hard disk firmware upgrades and the number of successful hard disk firmware upgrades for the current model is as follows:
[0030] in, Respectively represent Models The total number of online upgrades of the hard disk firmware in the hard disks, , No. Models The total number of online upgrades of the hard disk firmware in the hard disks, , No. Models The total number of online upgrades of the hard disk firmware in the hard disk. The total number here represents the sum of the number of successes and failures during the upgrade process. If there are 3 failures and 1 success, then , if it succeeds once without failure, then , Indicates the model The transmission data acquisition unit is used to collect the transmission throughput, memory occupancy, CPU usage and data verification completeness rate of the hard disk firmware during the online upgrade transmission process. The data monitoring module sends the collected current hard disk model and transmission throughput, memory occupancy, CPU usage and data verification completeness rate to the failure analysis module for analysis. The transmission data acquisition unit collects the transmission throughput, memory occupancy, CPU usage and data verification completeness rate of the hard disk firmware during the online upgrade transmission process as follows:
[0031] 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 time and memory usage The specific expression is as follows:
[0032] in, Indicates the memory used. Indicates the total memory, Indicates the memory usage. Utilization The expression is as follows:
[0033] in, express Utilization rate, Indicates the transmission time. express Usage time, transmission throughput The expression is as follows:
[0034] in, Indicates the transmission time. represents the transmission throughput, Indicates the amount of data transferred; Data verification completeness rate The expression is as follows:
[0035] in, Indicates the amount of data transferred. Indicates the data verification completeness rate, Indicates the amount of data transferred completely; 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 upgrades 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, CPU usage, and data verification integrity rate. The failure analysis module sends the online upgrade success probability and the hard disk upgrade environment rating to the failure response decision module. The specific expression of the hard disk upgrade failure analysis determining the success probability of online upgrades in combination with the current hard disk model is as follows:
[0036] 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 hardware analysis unit combines the transmission throughput, memory usage, CPU usage and data verification integrity rate to obtain the specific expression of the hard disk upgrade environment rating as follows:
[0037] in, Indicates the hard disk upgrade environment rating. Indicates the hardware rating, Indicates the transmission rating; Hardware Rating The specific expression is as follows:
[0038] in, Indicates the memory usage. express Utilization rate, Indicates the resource usage threshold. If the CPU and memory usage is too high during the upgrade process, the process will be slow. This indicates that the CPU and memory usage are normal during the upgrade transmission process; Transmission Rating The specific expression is as follows:
[0039] in, represents the transmission threshold, represents the data completeness threshold, represents the transmission throughput, Indicates the data verification completeness rate, Indicates that the transmission throughput is too low or the transmitted data integrity is low during the transmission process. 0 means that the transmission throughput and data integrity during transmission are normal.
[0040] The failure response decision module inputs the success probability of 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 handling module is called to determine whether the number of times the fault response is started exceeds the retry limit. If not, the execution continues. If it exceeds, 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 users. The expression of the decision judgment function is as follows:
[0041] 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 environment rating. The expression used by the fault handling module to determine whether the number of times the fault response is started exceeds the retry limit is as follows:
[0042] 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. If the upgrade still fails after the upper limit is reached, feedback will be given to the user. This indicates that the upgrade success rate of the hard disk firmware of model a is low, indicating a problem with the hard disk model.
[0043] The present invention also provides a method for processing a transmission failure based on an online upgrade of a hard disk firmware, comprising the following steps: 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.
[0044] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that 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 hard disk firmware is upgraded online by the current model and the expression of the number of successes is as follows: in, Respectively represent the first model The total number of online upgrades of the hard disk firmware in the hard disks, , No. The total number of online upgrades of the hard disk firmware in the hard disk models, , No. 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 success probability of online upgrade of hard disk firmware in the current model of 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
Firmware upgrade management method and device, equipment and storage medium
CN118535195A
DSP online upgrading processing method and system based on CAN communication and medium
CN118860449A
Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices
US20200012488A1
Cited By
Terminal upgrading method and device based on traceability and result verification, and terminal equipment
CN121785633A