IP Library Granted Patent US 12,254,320
Granted Patent B2
US 12,254,320 · App. 18/039,268 · Granted Mar 18, 2025

Method and system for processing instruction timeout, and device and medium

Inventor: Zhongke Yuan (Jiangsu, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F9/3861G06F3/0659G06F9/3004G06F3/0655G06F11/0757H04L43/16
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,254,320
App. No.
18/039,268
Granted
Mar 18, 2025
Kind
B2
Abstract

Disclosed are a method and system for processing an instruction timeout, a device and a storage medium. The method includes: in response to a timeout of an original instruction sent by a host end reaching a first threshold value, sending an abort instruction, and detecting whether the abort instruction times out; in response to the abort instruction timing out and the timeout of the original instruction reaching a second threshold value, sending a reset instruction to reset a target end; in response to the reset instruction timing out and the timeout of the original instruction reaching a maximum threshold value, removing the target end, and determining whether the original instruction is blocked at the target end; and in response to the original instruction not being blocked at the target end, returning an instruction error prompt to the host end.

Claims (33)

1. A method for processing an instruction timeout, comprising:

in response to a timeout of an original instruction sent by a host end reaching a first threshold value, sending an abort instruction, and detecting whether the abort instruction times out;

in response to the abort instruction timing out and the timeout of the original instruction reaching a second threshold value, sending a reset instruction to reset a target end;

in response to the reset instruction timing out and the timeout of the original instruction reaching a maximum threshold value, removing the target end, and determining whether the original instruction is blocked at the target end; and

in response to the original instruction not being blocked at the target end, returning an instruction error prompt to the host end.

2. The method according to claim 1 , further comprising:

in response to the timeout of the original instruction reaching a baseline threshold value that is less than the first threshold value, determining whether a target device supports a detecting instruction; and

in response to the target device supporting the detecting instruction, sending the detecting instruction to the target device, to detect whether the original instruction is lost.

3. The method according to claim 2 , further comprising:

in response to the original instruction being lost, sending a second reset instruction to recover a target LUN of the target device.

4. The method according to claim 2 , further comprising:

in response to the target device not supporting the detecting instruction, sending a response instruction to the target device to test whether a target LUN is capable of making a response.

5. A computing device, comprising:

at least one processor; and

a memory, the memory storing computer instructions operable in the processor, and the instructions, when executed by the processor, implementing the steps of the method according to claim 1 .

6. A non-transitory computer-readable storage medium, storing computer-readable instructions, the computer-readable instructions, when executed by a processor, implementing the steps of the method according to claim 1 .

7. The method according to claim 2 , wherein the baseline threshold value, the first threshold value, the second threshold value, and the maximum threshold value increase in sequence.

8. The method according to claim 2 , wherein the method further comprises:

when the host end sends an instruction to a disk, by using a system, recording sending time of the instruction, and then regularly inquiring a status and time consumption of the instruction through a timer.

9. The method according to claim 8 , wherein the method further comprises:

when it is found that the original instruction exceeds the baseline threshold value for a first time, sending an otur instruction to check responsiveness of the disk and whether the original instruction is lost.

10. The computing device according to claim 5 , further comprising:

in response to the timeout of the original instruction reaching a baseline threshold value that is less than the first threshold value, determining whether a target device supports a detecting instruction; and

in response to the target device supporting the detecting instruction, sending the detecting instruction to the target device, to detect whether the original instruction is lost.

11. The computing device according to claim 10 , further comprising:

in response to the original instruction being lost, sending a second reset instruction to recover a target LUN of the target device.

12. The computing device according to claim 10 , further comprising:

in response to the target device not supporting the detecting instruction, sending a response instruction to the target device to test whether a target LUN is capable of making a response.

13. The non-transitory computer-readable storage medium according to claim 6 , further comprising:

in response to the timeout of the original instruction reaching a baseline threshold value that is less than the first threshold value, determining whether a target device supports a detecting instruction; and

in response to the target device supporting the detecting instruction, sending the detecting instruction to the target device, to detect whether the original instruction is lost.

14. The non-transitory computer-readable storage medium according to claim 13 , further comprising:

in response to the original instruction being lost, sending a second reset instruction to recover a target LUN of the target device.

Assignments (2)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 29, 2023
From: YUAN, ZHONGKE
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 063786/0322 →
Priority Claims (1)
CN 202011417281.2 · Dec 7, 2020 · national
Continuity (1)
Related Publication 20230418616A1 · Dec 28, 2023
References Cited (15)
US 5961622A · Hudson · 1999 [cited by examiner]
US 7219268B2 · Adkisson · 2007 [cited by examiner]
US 9423960B2 · Fisher · 2016 [cited by examiner]
US 9940128B2 · Steinmacher-Burow · 2018 [cited by examiner]
US 9996262B1 · Nemawarkar · 2018 [cited by examiner]
US 10360033B2 · Greiner · 2019 [cited by examiner]
US 10620832B1 · Nemawarkar · 2020 [cited by examiner]
US 10708352B2 · Seo · 2020 [cited by examiner]
US 11086740B2 · Zou · 2021 [cited by examiner]
US 20120063326A1 · Rahman · 2012 [cited by examiner]
US 20200379760A1 · Jacobi · 2020 [cited by examiner]
CN 106372019A · 2017 [cited by applicant]
CN 109376029A · 2019 [cited by applicant]
CN 109741153A · 2019 [cited by applicant]
CN 112631659A · 2021 [cited by applicant]