IP Library Granted Patent US 11,995,436
Granted Patent B2
US 11,995,436 · App. 17/768,155 · Granted May 28, 2024

Out-of-band updating method and system of expander

Inventors: Hongrui Han (Shandong, CN); Leijun Hu (Shandong, CN)
Assignee: INSPUR ELECTRONIC INFORMATION INDUSTRY CO., LTD.
G06F8/654G06F1/3268G06F11/1004G06F13/4022G06F3/0628
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 11,995,436
App. No.
17/768,155
Granted
May 28, 2024
Kind
B2
Abstract

An out-of-band updating method and system of an Expander, applied to a controller connected to the expander by means of a communication bus. The method comprises: receiving firmware updating data sent by a user (S 101 ); fragmenting the firmware updating data (S 102 ); and only when determining that the expander is in an idle state, sending the fragmented data until each piece of data is sent to the Expander, such that the expander completely receiving the firmware updating data completes updating by restarting (S 103 ). The data transmission speed is facilitated to be improved, the normal operation of a service is ensured, and the conditions of influencing state monitoring and log loss are avoided.

Claims (42)

1. An expander out-of-band update method, applied to a controller connected to an expander through a communication bus, the method comprising:

receiving firmware update data sent by a user;

fragmenting the firmware update data; and

sending the fragmented data only when it is determined that the expander is in an idle state until each data fragment is sent to the expander, so that the expander receiving the firmware update data completes an update through a restart.

2. The expander out-of-band update method according to claim 1 , wherein the step of sending the fragmented data only when the expander is in an idle state comprises:

determining that the expander is in the idle state when continuous utilization of a CPU of the expander is lower than a first threshold, and sending the fragmented data only when it is determined that the expander is in the idle state.

3. The expander out-of-band update method according to claim 1 , wherein the step of sending the fragmented data only when the expander is in an idle state comprises:

determining that the expander is in the idle state when bus utilization of the communication bus is lower than a second threshold, and sending the fragmented data only when it is determined that the expander is in the idle state.

4. The expander out-of-band update method according to claim 1 , wherein the step of fragmenting the firmware update data comprises:

acquiring an average bus interval time, and determining a fragment size corresponding to the average bus interval time according to a preset corresponding relationship; and

fragmenting the firmware update data, a size of each data fragment being equal to the determined fragment size;

wherein the fragment size in the corresponding relationship is positively correlated with the average bus interval time.

5. The expander out-of-band update method according to claim 4 , wherein the fragment size in the corresponding relationship is equal to a product of the average bus interval time and a data transmission rate of the communication bus.

6. The expander out-of-band update method according to claim 1 , wherein the step of fragmenting the firmware update data comprises:

acquiring an average bus interval time, and determining a fragment size corresponding to the currently acquired average bus interval time according to a preset corresponding relationship;

updating the average bus interval time and the corresponding fragment size according to a preset first time interval; and

fragmenting the firmware update data according to a preset second time interval, during each fragmentation, a size of the data fragment being equal to the currently determined fragment size;

wherein the fragment size in the corresponding relationship is positively correlated with the average bus interval time.

7. The expander out-of-band update method according to claim 1 , subsequent to the step of receiving firmware update data sent by a user, further comprising:

acquiring an upgrade mode;

performing the operation of fragmenting the firmware update data when the acquired upgrade mode is an idle upgrade mode; and

performing an upgrade process based on continuous sending of the firmware update data when the acquired upgrade mode is a continuous upgrade mode.

8. The expander out-of-band update method according to claim 1 , subsequent to the step of receiving firmware update data sent by a user, further comprising:

compressing the received firmware update data; and

correspondingly, the step of fragmenting the firmware update data comprising:

fragmenting the compressed firmware update data.

9. The expander out-of-band update method according to claim 8 , further comprising:

adding a check value for each data fragment after fragmentation, so that the expander, after receiving any data fragment, feeds check failure of the data fragment back to the controller for resending the data fragment.

10. The expander out-of-band update method according to claim 1 , wherein the firmware update data further carries integrity check information; and

correspondingly, subsequent to the step of receiving firmware update data sent by a user, the method further comprises:

checking the received firmware update data through the integrity check information, and terminating the upgrade process when the check fails.

11. The expander out-of-band update method according to claim 10 , wherein the firmware update data further carries validity check information and version applicable-scope information; and

correspondingly, subsequent to the step of receiving firmware update data sent by a user, the method further comprises:

acquiring attribute parameter information and version information of the expander; and

terminating the upgrade process when the acquired attribute parameter information of the expander does not conform to the validity check information or the acquired version information of the expander does not conform to the version applicable-scope information.

12. The expander out-of-band update method according to claim 1 , wherein the step of sending the fragmented data only when it is determined that the expander is in an idle state until each data fragment is sent to the expander, so that the expander receiving the firmware update data completes an update through a restart comprises:

sending the fragmented data only when it is determined that the expander is in the idle state until each data fragment is sent to the expander, so that the expander receiving the firmware update data completes the update through the restart after receiving a restart command.

13. The expander out-of-band update method according to claim 1 , subsequent to the step of fragmenting the firmware update data, further comprising:

generating a corresponding unique check value for each data fragment according to a preset algorithm;

acquiring each unique check value stored during a previous out-of-band update of the expander; and

for each unique check value generated this time, when the unique check value is the same as any unique check value stored, canceling the sending of a data fragment corresponding to the unique check value and sending event information to the expander.

14. The expander out-of-band update method according to claim 1 , wherein the controller is connected to a plurality of expanders, so as to update the connected expanders in batches in a one-by-one update or broadcast update manner after the firmware update data is received.

Assignments (4)
LICENSE Recorded Jun 30, 2026
From: IEIT SYSTEMS CO., LTD
To: AIVRES SYSTEMS INC.
Reel/Frame 075857/0939 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE'S NAME AND ADDRESS PREVIOUSLY RECORDED AT REEL: 59968 FRAME: 316. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 27, 2024
From: HAN, HONGRUI; HU, LEIJUN
To: INSPUR ELECTRONIC INFORMATION INDUSTRY CO., LTD.
Reel/Frame 069068/0293 →
CORRECTIVE ASSIGNMENT TO CORRECT THE RECEIVING PARTY DATA PREVIOUSLY RECORDED AT REEL: 59968 FRAME: 316. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Apr 9, 2024
From: HAN, HONGRUI; HU, LEIJUN
To: INSPUR ELECTRONIC INFORMATION INDUSTRY CO., LTD.
Reel/Frame 067042/0426 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2022
From: HAN, HONGRUI; HU, LEIJUN
To: INSPUR ELECTRONIC INFORMATION UNDUSTRY CO., LTD.
Reel/Frame 059968/0316 →
Priority Claims (1)
CN 201911207219.8 · Nov 29, 2019 · national
Continuity (1)
Related Publication 20240095019A1 · Mar 21, 2024