Hard disk firmware upgrade transmission fault intelligent processing method and device
By calculating the success probability of hard disk firmware packet transmission and generating retry schemes, combined with real-time monitoring and adaptive adjustment, the passive response and static strategy problems in the hard disk firmware upgrade transmission process are solved. Predictive maintenance and collaborative diagnosis of hard disk firmware upgrade transmission are realized, improving upgrade efficiency and reliability.
Patent Information
- Application Number
- CN202511614760.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-02-13
AI Technical Summary
Existing technologies suffer from passive response, static strategies, isolated decision-making, and lack of knowledge accumulation during hard disk firmware upgrade transmission. This results in insufficient intelligence in modern data center environments characterized by large scale, heterogeneity, and high dynamism, leading to bottlenecks in upgrade efficiency and reliability.
By calculating the probability of successful transmission of the target firmware package, determining whether it is less than a threshold, delaying transmission and generating a retry scheme, and combining real-time monitoring and adaptive adjustment, dynamic decision-making is achieved using time series models and reinforcement learning to realize predictive maintenance and collaborative diagnosis.
It enables proactive prevention and in-process optimization of hard drive firmware upgrade transmission, avoids potential failures, improves upgrade efficiency and reliability, and dynamically adapts to complex environments.
Smart Images

Figure CN121523939A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of hard disk firmware upgrades, and in particular to a method and apparatus for intelligently handling hard disk firmware upgrade transmission failures. Background Technology
[0002] Hard drives are core storage components in data centers, enterprise servers, and personal computers. To ensure the stability, performance, and compatibility of hard drives, manufacturers regularly release firmware updates. The firmware upgrade process typically includes the following key steps: upgrade package distribution, transmission to the target hard drive, verification, flash memory writing, and a reboot to take effect. Among these, the transmission of the firmware package from the upgrade management console to the target hard drive is the first and most critical step in the upgrade process. In today's large-scale storage clusters, upgrade tasks often require simultaneous operations on hundreds or thousands of hard drives.
[0003] Hard disk firmware upgrades are a critical maintenance activity to ensure hard disk reliability and performance. While existing technologies have introduced automated retry mechanisms to handle hard disk firmware upgrade transmission failures, they still have fundamental limitations: (1) Passive response: Actions are only taken after a transmission failure occurs, lacking the ability to predict in advance. (2) Static strategy: Retry strategies (such as exponential backoff) have fixed parameters and cannot adapt to dynamic and complex environments. (3) Isolated decision-making: Fault handling for a single hard disk is isolated, failing to utilize the correlation information of other hard disks in the cluster for collaborative diagnosis. (4) Lack of knowledge accumulation: Processing experience cannot be effectively shared and reused between different hard disks and different clusters, and each system needs to accumulate experience from scratch. These limitations make existing solutions insufficient in terms of intelligence when facing large-scale, heterogeneous, and highly dynamic modern data center environments, resulting in bottlenecks in upgrade efficiency and reliability. Summary of the Invention
[0004] Based on this, it is necessary to propose an intelligent handling method and device for hard disk firmware upgrade transmission failures to address the following problems in the existing technology: (1) Passive response: Actions are only taken after a transmission failure occurs, lacking the ability to predict in advance. (2) Static strategy: Retry strategies (such as exponential backoff) have fixed parameters and cannot adapt to dynamic and complex environments. (3) Isolated decision-making: Fault handling for a single hard disk is isolated, failing to utilize the correlation information of other hard disks in the cluster for collaborative diagnosis. (4) Lack of knowledge accumulation: Processing experience cannot be effectively shared and reused among different hard disks and different clusters, and each system needs to accumulate experience from scratch.
[0005] The first technical solution of this invention is: A method for intelligently handling hard disk firmware upgrade transmission failures includes: when a transmission request to transmit a target firmware package to a target hard disk is received, calculating the probability of successful transmission of the target firmware package; determining whether the probability of successful transmission of the target firmware package is less than or equal to a preset target firmware package transmission probability threshold; if so, delaying the transmission of the target firmware package to the target hard disk and generating a target firmware package transmission retry scheme; transmitting the target firmware package to the target hard disk according to the target firmware package transmission retry scheme; and monitoring and adaptively adjusting the transmission behavior in real time during the transmission of the target firmware package to the target hard disk.
[0006] The second technical solution of this invention is: A smart device for handling hard disk firmware upgrade transmission failures includes: a transmission probability calculation module, used to calculate the probability of successful transmission of the target firmware package when a transmission request for transmitting a target firmware package to a target hard disk is received; a transmission probability judgment module, used to determine whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; a retry scheme generation module, used to delay the transmission of the target firmware package to the target hard disk and generate a target firmware package transmission retry scheme when the probability of successful transmission of the target firmware package is less than or equal to the target preset firmware package transmission probability threshold; a firmware data transmission module, used to transmit the target firmware package to the target hard disk according to the target firmware package transmission retry scheme; and a transmission process adjustment module, used to monitor and adaptively adjust the transmission behavior in real time during the transmission of the target firmware package to the target hard disk.
[0007] The third technical solution of this invention is: A computer device includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the following steps: When a transmission request to transmit a target firmware package to a target hard drive is received, the probability of successful transmission of the target firmware package is calculated; it is determined whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; if so, the transmission of the target firmware package to the target hard drive is delayed, and a target firmware package transmission retry scheme is generated; the target firmware package is transmitted to the target hard drive according to the target firmware package transmission retry scheme; during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time.
[0008] The fourth technical solution of this invention is: A computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the following steps: When a transmission request to transmit a target firmware package to a target hard drive is received, the probability of successful transmission of the target firmware package is calculated; it is determined whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; if so, the transmission of the target firmware package to the target hard drive is delayed, and a target firmware package transmission retry scheme is generated; the target firmware package is transmitted to the target hard drive according to the target firmware package transmission retry scheme; during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time.
[0009] Compared with the prior art, the present invention has the following beneficial effects: This invention first calculates the probability of successful transmission of the target firmware package when a transmission request to transmit the target firmware package to the target hard drive is received. Then, it determines whether the probability of successful transmission is less than or equal to a preset transmission probability threshold. If so, the transmission of the target firmware package to the target hard drive is delayed, and a retry scheme for the transmission is generated. Next, the target firmware package is transmitted to the target hard drive according to the retry scheme. Finally, during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time. Through prediction and dynamic decision-making, this invention can achieve pre-emptive prevention and in-process optimization of hard drive firmware upgrade transmission, avoiding potential failures rather than retrying after a failure occurs. Attached Figure Description
[0010] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] in: Figure 1 This is an implementation flowchart of one embodiment of the intelligent handling method for hard disk firmware upgrade transmission failure; Figure 2 This is a flowchart of another implementation of one embodiment of the intelligent handling method for hard disk firmware upgrade transmission failure in one example; Figure 3 This is a structural diagram of a specific embodiment of the intelligent processing device for hard disk firmware upgrade transmission failure. Figure 4This is a structural block diagram of one embodiment of a computer device. Detailed Implementation
[0012] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0013] Please see Figure 1 , combined Figure 1 It can be seen that the intelligent handling method for hard disk firmware upgrade transmission failure according to an embodiment of the present invention includes the following steps: Step S101: When a transmission request to transmit the target firmware package to the target hard disk is received, the probability of successful transmission of the target firmware package is calculated.
[0014] This step is a pre-transmission prediction step. It uses time-series models such as LSTM (Long Short-Term Memory) or Transformer to make short-term predictions on indicators such as network connectivity and response latency of the target hard drive, quantify the probability of successful transmission, and thus determine the best time to transmit, thereby avoiding risks from the source.
[0015] Step S102: Determine whether the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold.
[0016] The target preset firmware package transmission probability threshold is an empirical threshold and is not limited here. When the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold, it indicates that the transmission process will encounter significant obstacles and the probability of successful transmission is low.
[0017] Step S103: If the success probability of transmitting the target firmware package is less than or equal to the target preset firmware package transmission probability threshold, then delay the transmission of the target firmware package to the target hard disk and generate a target firmware package transmission retry scheme.
[0018] In this step, the steps for generating the target firmware packet transmission retry scheme include: First, the target system status parameters are acquired in real time. These parameters include the target's current network bandwidth utilization, the target hard disk IO request queue depth, and the target hard disk urgency coefficient corresponding to the remaining completion time of the target hard disk upgrade task.
[0019] In this step, the target system status parameter refers to the entire hardware and software environment of the system performing the hard disk firmware upgrade task, including the computer system, network, and storage infrastructure.
[0020] An I / O request (Input / Output Request) refers to an operation request in a computer system for transferring data between core components (such as CPU and memory) and external devices (such as disk, network, and keyboard). It involves instructions for reading or writing data and is the basic unit for a computer to process input and output.
[0021] Second, obtain the current system optimization goal, which is to minimize the upgrade completion time or minimize the impact on system business IO performance.
[0022] Third, the system optimization objective and the target system state parameters are input into a preset target reinforcement learning decision model, and the target custom combined retry parameters are output. The target custom combined retry parameters include the retry interval time, the maximum number of retries, and the data block size for a single retry.
[0023] Fourth, based on the target custom combination of retry parameters, generate the target firmware package transmission retry scheme.
[0024] Step S104: Transmit the target firmware package to the target hard disk according to the target firmware package transmission retry scheme.
[0025] This step dynamically outputs the optimal retry interval and number of attempts, rather than using a fixed strategy.
[0026] The following example illustrates this point: Scenario A: The goal is "delivery as quickly as possible" (i.e., minimizing upgrade completion time). For example, the package contains life-saving medicine. You might devise an "aggressive" plan: even though the recipient might not be there right now, I'll go upstairs and wait. If no one arrives after two minutes, I'll call the recipient directly to ask when they'll arrive, and I'll wait patiently at the door. Even if this temporarily prevents me from delivering other packages, it ensures this package is delivered as quickly as possible.
[0027] Scenario B: The goal is to "minimize the impact on others' work" (i.e., minimize the impact on business I / O performance). For example, the entire building is quietly taking an exam. You would devise a "conservative" plan. I will absolutely not go up and knock on doors now, so as not to disturb everyone. I will wait until the exam break (e.g., 30 minutes later) and then quietly deliver it up. If no one is home by then, I will not knock frequently, but instead leave a note for the recipient to contact me. Although this is slower, it ensures that the most important "exam" task is not disturbed.
[0028] For scenario A (fastest), your "retry parameters" are: extremely short retry interval (keep knocking / making phone calls), and a very high number of retries (never give up until the very end).
[0029] For scenario B (minimum impact), your "retry parameters" are: long retry interval (knock gently on the door every half hour), and few retries (only try 2 times, and if it doesn't work, try again on another day).
[0030] Step S105: During the process of transmitting the target firmware package to the target hard disk, the transmission behavior is monitored and adaptively adjusted in real time.
[0031] The essence of the pre-transmission prediction step in this invention lies in using big data and artificial intelligence for predictive maintenance. It moves beyond the simple, brute-force "try-fail-retry" approach, proactively selecting the optimal moment for action based on the highest probability of success through a data-driven method. This significantly reduces the occurrence of failures at the source. This is precisely the ingenuity and advancement of this invention compared to the blind transmission methods of existing technologies.
[0032] For example, consider an upgrade plan for hard drive A. The prediction module first analyzes the network latency sequence of hard drive A over the past 30 minutes. The LSTM model predicts a 90% probability of a latency spike in the next 2 minutes. Therefore, the system decides to delay the transmission for 2 minutes. After 2 minutes, the prediction window ends, the latency does indeed decrease, and the system initiates the transmission successfully on the first attempt. The innovative aspect is avoiding potential failures instead of waiting for a failure to occur before retrying.
[0033] Please see Figure 2 , combined Figure 2 It can be seen that the intelligent handling method for hard disk firmware upgrade transmission failure according to an embodiment of the present invention includes the following steps: Step S201: When a transmission request to transmit the target firmware package to the target hard disk is received, the historical operating data of the target hard disk and the current cluster network status data of the target hard disk are obtained.
[0034] This step involves calculating a set of custom retry parameters based on the current system optimization objective and real-time collected system state parameters using a preset reinforcement learning model.
[0035] Step S202: Input the target hard disk's historical operating data and the target's current cluster network status data into a preset target time-series prediction model for prediction, and calculate and output the probability of successful transmission of the target firmware package.
[0036] Step S203: Determine whether the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold.
[0037] Optionally, the target preset firmware package transmission probability threshold is not a fixed value, but is dynamically adjusted according to the current system optimization target: when the target is to minimize the upgrade completion time, a lower threshold is used to encourage transmission attempts; when the target is to minimize the impact on business IO performance, a higher threshold is used to avoid risks.
[0038] Step S204: If the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold, delay the transmission of the target firmware package to the target hard disk, and obtain the target system status parameters and the current system optimization target in real time.
[0039] This step includes: First, the target system status parameters are acquired in real time. These parameters include the target's current network bandwidth utilization, the target hard disk IO request queue depth, and the target hard disk urgency coefficient corresponding to the remaining completion time of the target hard disk upgrade task.
[0040] Second, obtain the current system optimization goal, which is to minimize the upgrade completion time or minimize the impact on system business IO performance.
[0041] Third, the system optimization objective and the target system state parameters are input into a preset target reinforcement learning decision model, and the target custom combined retry parameters are output. The target custom combined retry parameters include the retry interval time, the maximum number of retries, and the data block size for a single retry.
[0042] Fourth, based on the target custom combination of retry parameters, generate the target firmware package transmission retry scheme.
[0043] Optionally, this step involves modeling the transmission strategy formulation as an RL problem, with the system optimization objective (such as "fastest completion" or "minimum interference") serving as the reward function. The RL agent dynamically outputs the optimal retry interval and number of retry parameters based on the real-time environmental conditions (cluster load, IO pressure, etc.), rather than using a fixed strategy.
[0044] Step S205: Input the system optimization objective and the target system state parameters into the preset target reinforcement learning decision model, and output the target custom combined retry parameters. Based on the target custom combined retry parameters, generate the target firmware packet transmission retry scheme.
[0045] Optionally, the state space of the reinforcement learning decision model in this step is the system state parameters, and the action space is the retry parameter combination. If the objective is to minimize the upgrade completion time, the reward is negatively correlated with the remaining time of the upgrade task; if the objective is to minimize the impact on business IO performance, the reward is negatively correlated with the average latency of business IO during transmission.
[0046] Step S206: Transmit the target firmware package to the target hard disk according to the target firmware package transmission retry scheme.
[0047] Step S207: During the process of transmitting the target firmware package to the target hard disk, the transmission behavior is monitored and adaptively adjusted in real time.
[0048] In this embodiment, optionally, the system optimization objective and the target system state parameters are input into a preset target reinforcement learning decision model, and the target custom combination retry parameters are output, including: First, when the system optimization objective is to minimize the upgrade completion time, the objective reinforcement learning decision model outputs the first retry interval and the first retry count.
[0049] Second, when the system optimization objective is to minimize the impact on system business IO performance, the objective reinforcement learning decision model outputs a second retry interval and a second maximum number of retries, wherein the first retry interval is less than the second retry interval, and the first number of retries is less than the second number of retries.
[0050] In this embodiment, optionally, transmitting the target firmware package to the target hard disk according to the target firmware package transmission retry scheme includes: When a transmission failure occurs, the target firmware package is transmitted to the target hard disk according to the target custom combination retry parameters and the system optimization target. When the system optimization target is to minimize the upgrade completion time, retries are performed according to the first retry interval and the first number of retries. When the system optimization target is to minimize the impact on the system's business IO performance, retries are performed according to the second retry interval and the second number of retries.
[0051] In this embodiment, optionally, the step of real-time monitoring and adaptive adjustment of the transmission behavior during the transmission of the target firmware package to the target hard disk includes: During the transmission of the target firmware package to the target hard drive, network metrics and hard drive response are monitored in real time. If a performance degradation trend is observed, the transmission behavior is adaptively adjusted according to the target custom combination of retry parameters. If a transmission failure occurs, a graph neural network model is used to analyze the state of adjacent nodes of the target hard drive in the hard drive association graph to perform collaborative fault root cause analysis.
[0052] In this step, "performance" refers to key performance indicators (KPIs) that are directly related to the success of firmware package transmission, specifically including network performance degradation, hard disk response performance degradation, and transmission channel performance degradation.
[0053] Among them, 'performance degradation trend' refers to the fact that during the transmission process, the system samples the performance indicators of the network and hard drive at a fixed frequency, and within a continuous time window (such as the most recent 10 seconds), it calculates the rate of change of the moving average of the performance indicators or the slope of the linear regression within that window to determine whether the performance continues to deteriorate.
[0054] In this embodiment, optionally, the step of real-time monitoring and adaptive adjustment of the transmission behavior during the transmission of the target firmware package to the target hard disk includes: First, when a transmission failure of the target firmware package is detected, fault context information is obtained, which includes one or more of the following: fault triggering event, error code returned by the hard disk, and network quality indicators.
[0055] Second, based on the fault context information, the fault type is determined by a preset fault decision model, and a corresponding intelligent processing strategy is matched according to the fault type, wherein the intelligent processing strategy includes a retry strategy, a waiting strategy, or an abort strategy.
[0056] Third, the matching intelligent processing strategy is executed, wherein the retry strategy is an adaptive retry strategy, and its retry interval and / or number of retries are dynamically adjusted according to the fault type.
[0057] Fourth, the successful or failed transmission data of the target firmware package to the target hard drive is summarized into a knowledge vector, and updated to the target hard drive upgrade knowledge base through federated learning.
[0058] Optionally, this step involves encoding the processing experience of each hard drive or cluster into knowledge vectors. Through federated learning technology, without uploading the original data, only the model parameters are updated to optimize the global knowledge base, enabling new hard drives or clusters to quickly acquire the experience of "veterans".
[0059] For example, during peak business hours, an urgent hard drive security vulnerability needs to be patched. The system optimization goal is set as "minimizing upgrade completion time." The RL agent in the policy generator observes the current network congestion but judges that a short retry might succeed. Instead of using a conservative exponential backoff, it generates an "aggressive" strategy: quickly retrying three times at very short intervals (e.g., 100ms). The second retry succeeds, with the total time being much less than the traditional method. This demonstrates the creativity of the strategy: dynamically adapting to specific scenarios and goals, rather than remaining fixed.
[0060] Please see Figure 3 , combined Figure 3 It can be seen that the intelligent processing device 100 for hard disk firmware upgrade transmission failure according to an embodiment of the present invention includes: The transmission probability calculation module 10 is used to calculate the probability of successful transmission of the target firmware package when a transmission request to transmit the target firmware package to the target hard disk is received. The transmission probability judgment module 20 is used to determine whether the successful transmission probability of the target firmware package is less than or equal to the target preset firmware package transmission probability threshold. The retry scheme generation module 30 is used to delay the transmission of the target firmware package to the target hard disk and generate a target firmware package transmission retry scheme when the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold. Firmware data transmission module 40 is used to transmit the target firmware package to the target hard disk according to the target firmware package transmission retry scheme; The transmission process adjustment module 50 is used to monitor and adaptively adjust the transmission behavior in real time during the transmission of the target firmware package to the target hard disk.
[0061] Figure 4 An internal structural diagram of a computer device in one embodiment is shown. This computer device can specifically be a terminal or a server. Figure 4 As shown, the computer device includes a processor, a memory, and a network interface connected via a device bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores operating devices and may also store a computer program. When executed by the processor, this computer program enables the processor to implement the aforementioned intelligent handling method for hard disk firmware upgrade transmission failures. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute the aforementioned intelligent handling method for hard disk firmware upgrade transmission failures. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0062] In another embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the following steps: When a transmission request to transmit a target firmware package to a target hard drive is received, the probability of successful transmission of the target firmware package is calculated; it is determined whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; if so, the transmission of the target firmware package to the target hard drive is delayed, and a target firmware package transmission retry scheme is generated; the target firmware package is transmitted to the target hard drive according to the target firmware package transmission retry scheme; during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time.
[0063] In another embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the following steps: When a transmission request to transmit a target firmware package to a target hard drive is received, the probability of successful transmission of the target firmware package is calculated; it is determined whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; if so, the transmission of the target firmware package to the target hard drive is delayed, and a target firmware package transmission retry scheme is generated; the target firmware package is transmitted to the target hard drive according to the target firmware package transmission retry scheme; during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time.
[0064] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0065] This invention first calculates the probability of successful firmware package transmission when a transmission request to transmit a target firmware package to a target hard drive is received. Then, it determines whether the probability of successful transmission is less than or equal to a preset firmware package transmission probability threshold. If so, the transmission of the target firmware package to the target hard drive is delayed, and a retry scheme for the firmware package transmission is generated. Next, the target firmware package is transmitted to the target hard drive according to the retry scheme. Finally, during the transmission of the target firmware package to the target hard drive, the transmission behavior is monitored and adaptively adjusted in real time. This invention, through prediction and dynamic decision-making, can achieve pre-emptive prevention and in-process optimization of hard drive firmware upgrade transmission, avoiding potential failures rather than retrying after a failure occurs.
[0066] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0067] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for intelligently handling hard disk firmware upgrade transmission failures, characterized in that, include: When a transmission request to transmit the target firmware package to the target hard drive is received, the probability of successful transmission of the target firmware package is calculated. Determine whether the probability of successful transmission of the target firmware package is less than or equal to a target preset firmware package transmission probability threshold; If so, the transmission of the target firmware package to the target hard disk is delayed, and a retry scheme for the transmission of the target firmware package is generated; According to the target firmware package transmission retry scheme, the target firmware package is transmitted to the target hard disk; During the transmission of the target firmware package to the target hard disk, the transmission behavior is monitored and adaptively adjusted in real time.
2. The intelligent handling method for hard disk firmware upgrade transmission failures according to claim 1, characterized in that, When a transmission request to transmit the target firmware package to the target hard disk is received, the probability of successful transmission of the target firmware package is calculated, including: When a transmission request to transmit the target firmware package to the target hard disk is received, the historical operating data of the target hard disk and the current cluster network status data of the target hard disk are obtained. The target hard disk's historical operating data and the target's current cluster network status data are input into a preset target time-series prediction model for prediction, and the probability of successful transmission of the target firmware package is calculated and output.
3. The intelligent handling method for hard disk firmware upgrade transmission failures according to claim 1, characterized in that, The delay in transmitting the target firmware package to the target hard drive and the generation of a target firmware package transmission retry scheme include: When the probability of successful transmission of the target firmware package is less than or equal to the target preset firmware package transmission probability threshold, the transmission of the target firmware package to the target hard disk is delayed. Real-time acquisition of target system status parameters, including the target current network bandwidth utilization, target hard disk IO request queue depth, and target hard disk urgency coefficient corresponding to the remaining completion time of the target hard disk upgrade task; Obtain the current system optimization objective, which is to minimize the upgrade completion time or minimize the impact on system business I / O performance; The system optimization objective and the target system state parameters are input into a preset target reinforcement learning decision model, and the target custom combined retry parameters are output. The target custom combined retry parameters include the retry interval time, the maximum number of retries, and the data block size of a single retry. Based on the target custom combination of retry parameters, generate the target firmware package transmission retry scheme.
4. The intelligent handling method for hard disk firmware upgrade transmission failure according to claim 3, characterized in that, The system optimization objective and the target system state parameters are input into a preset target reinforcement learning decision model, and the target custom combination retry parameters are output, including: When the system optimization objective is to minimize the upgrade completion time, the objective reinforcement learning decision model outputs the first retry interval and the first retry count; When the system optimization objective is to minimize the impact on system business I / O performance, the objective reinforcement learning decision model outputs a second retry interval and a second maximum number of retries, wherein the first retry interval is less than the second retry interval, and the first number of retries is less than the second number of retries.
5. The intelligent handling method for hard disk firmware upgrade transmission failures according to claim 3, characterized in that, The step of transmitting the target firmware package to the target hard disk according to the target firmware package transmission retry scheme includes: When a transmission failure occurs, the target firmware package is transmitted to the target hard disk according to the target custom combination retry parameters and the system optimization target. When the system optimization target is to minimize the upgrade completion time, retries are performed according to the first retry interval and the first number of retries. When the system optimization target is to minimize the impact on the system's business IO performance, retries are performed according to the second retry interval and the second number of retries.
6. The intelligent handling method for hard disk firmware upgrade transmission failures according to claim 1, characterized in that, The process of transmitting the target firmware package to the target hard disk, including real-time monitoring and adaptive adjustment of the transmission behavior, includes: During the transmission of the target firmware package to the target hard drive, network metrics and hard drive response are monitored in real time. If a performance degradation trend is observed, the transmission behavior is adaptively adjusted according to the target custom combination of retry parameters. If a transmission failure occurs, a graph neural network model is used to analyze the state of adjacent nodes of the target hard drive in the hard drive association graph to perform collaborative fault root cause analysis.
7. The intelligent handling method for hard disk firmware upgrade transmission failures according to claim 1, characterized in that, The process of transmitting the target firmware package to the target hard disk, including real-time monitoring and adaptive adjustment of the transmission behavior, includes: When a transmission failure of the target firmware package is detected, fault context information is obtained, which includes one or more of the following: fault triggering event, error code returned by the hard disk, and network quality indicators. Based on the fault context information, the fault type is determined by a preset fault decision model, and a corresponding intelligent processing strategy is matched according to the fault type, wherein the intelligent processing strategy includes a retry strategy, a waiting strategy, or an abort strategy. The matching intelligent processing strategy is executed, wherein the retry strategy is an adaptive retry strategy, and its retry interval and / or number of retries are dynamically adjusted according to the fault type. The successful or failed transmission data of the target firmware package to the target hard drive is summarized into a knowledge vector, which is then updated to the target hard drive upgrade knowledge base through federated learning.
8. A smart device for handling hard disk firmware upgrade transmission failures, characterized in that, include: The transmission probability calculation module is used to calculate the probability of successful transmission of the target firmware package when a transmission request to transmit the target firmware package to the target hard disk is received. The transmission probability determination module is used to determine whether the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold. The retry scheme generation module is used to delay the transmission of the target firmware package to the target hard disk and generate a target firmware package transmission retry scheme when the success probability of the target firmware package transmission is less than or equal to the target preset firmware package transmission probability threshold. A firmware data transmission module is used to transmit the target firmware package to the target hard disk according to the target firmware package transmission retry scheme; The transmission process adjustment module is used to monitor and adaptively adjust the transmission behavior in real time during the transmission of the target firmware package to the target hard disk.
9. A computer-readable storage medium, characterized in that, The device stores a computer program, which, when executed by a processor, causes the processor to perform the intelligent handling method for hard disk firmware upgrade transmission failure as described in any one of claims 1-7.
10. A computer device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor causes the processor to perform the intelligent handling method for hard disk firmware upgrade transmission failure as described in any one of claims 1-7.