IP Library Granted Patent US 11,907,073
Granted Patent B2
US 11,907,073 · App. 18/034,057 · Granted Feb 20, 2024

Method and apparatus for data interaction between BIOS and BMC of server, and device

Inventors: Xiuqiang Sun (Shandong, CN); Jiaming Huang (Shandong, CN); Xuntang Li (Shandong, CN); Yingliang Qiao (Shandong, CN); Huatang Ban (Shandong, CN); Daotong Li (Shandong, CN); Shanbin Al (Shandong, CN); Fanyi Yao (Shandong, CN)
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
G06F11/142G06F11/076G06F11/1417
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,907,073
App. No.
18/034,057
Granted
Feb 20, 2024
Kind
B2
Abstract

A method and an apparatus for data interaction between a BIOS and a BMC of a server, a device and a readable storage medium. According to the state of an IPMI link between a BIOS and a BMC, it is determined whether to perform data interaction. At the same time, whether the BMC cannot be activated due to abnormalities are determined by confirming whether the number of times of restarting the server reaches preset threshold at the BDS stage of the BIOS. When the number of times of restarting the server reaches the preset threshold and the BMC is still not activated, the BMC is determined to be abnormal. When the number of times of restarting the server has not yet reached preset threshold, the BIOS performs the action of restarting system, wherein preset threshold is confirmed by a variable self-defined inside the BIOS and may be set freely.

Claims (42)

1. A method for data interaction between a BIOS and a BMC of a server, applied to the BIOS, comprising:

S 1 , when the server is powered on, obtaining a state of an IPMI link between the BIOS and the BMC to obtain a first state value; when the first state value is normal, entering S 2 ; and when the first state value is abnormal, entering S 3 ;

S 2 , performing data interaction with the BMC via the IPMI link and booting to a system;

S 3 , initializing the server and booting to a BDS stage, and obtaining the state of the IPMI link between the BIOS and the BMC again to obtain a second state value; when the second state value is normal, entering S 2 ; and when the second state value is abnormal, entering S 4 ;

S 4 , determining whether a number of times of restarting the server exceeds a preset threshold; when the number of times of restarting the server exceeds the preset threshold, entering S 5 ; and when the number of times of restarting the server does not exceed the preset threshold, entering S 6 ;

S 5 , determining that the BMC is abnormal, performing self-recovery according to target data in a local preset memory address space, and booting to the system; and

S 6 , executing a restarting command to control the server to restart and entering S 1 .

2. The method according to claim 1 , wherein after determining that the BMC is abnormal, the method further comprises:

outputting BMC abnormal prompt information via a serial port.

3. The method according to claim 1 , wherein executing the restarting command to control the server to restart and entering S 1 comprises:

executing the restarting command to control the server to restart, waiting for a preset time and entering S 1 .

4. The method according to claim 1 , wherein performing data interaction with the BMC via the IPMI link comprising:

sending hardware device information to the BMC via the IPMI link to display the hardware device information.

5. The method according to claim 1 , wherein performing data interaction with the BMC via the IPMI link comprising:

obtaining latest configuration information of a target function from the BMC via the IPMI link.

6. The method according to claim 5 , wherein performing self-recovery according to the target data in the local preset memory address space comprising:

reading NVRAM data from the local preset memory address space to obtain original configuration information of the target function.

7. The method according to claim 1 , wherein when the server is powered on for a first time, the BIOS obtains the state of the IPMI link between the server and the BMC via an IPMI protocol.

8. The method according to claim 1 , wherein a content of data interaction comprises: hardware device information transmitted by the BIOS to the BMC and data of functions of the BIOS transmitted by the BMC to the BIOS.

9. The method according to claim 8 , wherein when the BMC is determined to be abnormal, the BIOS is not capable of obtaining the data of the functions of the BIOS from the BMC.

10. A device for data interaction between a BIOS and a BMC of a server, comprising:

a memory configured for storing a computer program; and

a processor configured for executing the computer program to implement the method for the data interaction between the BIOS and the BMC of the server according to claim 1 .

11. The device according to claim 10 , wherein after determining that the BMC is abnormal, the method further comprises:

outputting BMC abnormal prompt information via a serial port.

12. The device according to claim 10 , wherein executing the restarting command to control the server to restart and entering S 1 comprises:

executing the restarting command to control the server to restart, waiting for a preset time and entering S 1 .

13. The device according to claim 10 , wherein performing data interaction with the BMC via the IPMI link comprising:

sending hardware device information to the BMC via the IPMI link to display the hardware device information.

14. The device according to claim 10 , wherein performing data interaction with the BMC via the IPMI link comprising:

obtaining latest configuration information of a target function from the BMC via the IPMI link.

15. The device according to claim 14 , wherein performing self-recovery according to the target data in the local preset memory address space comprising:

reading NVRAM data from the local preset memory address space to obtain original configuration information of the target function.

16. A non-transitory readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the method for the data interaction between the BIOS and the BMC of the server according to claim 1 .

17. The non-transitory readable storage medium according to claim 10 , wherein after determining that the BMC is abnormal, the method further comprises:

outputting BMC abnormal prompt information via a serial port.

18. The non-transitory readable storage medium according to claim 16 , wherein executing the restarting command to control the server to restart and entering S 1 comprises:

executing the restarting command to control the server to restart, waiting for a preset time and entering S 1 .

19. The non-transitory readable storage medium according to claim 16 , wherein performing data interaction with the BMC via the IPMI link comprising:

sending hardware device information to the BMC via the IPMI link to display the hardware device information.

20. The non-transitory readable storage medium according to claim 16 , wherein performing data interaction with the BMC via the IPMI link comprising:

obtaining latest configuration information of a target function from the BMC via the IPMI link.

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 Apr 26, 2023
From: SUN, XIUQIANG; HUANG, JIAMING; LI, XUNTANG; QIAO, YINGLIANG; BAN, HUATANG; LI, DAOTONG; AI, SHANBIN; YAO, FANYI
To: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Reel/Frame 063454/0959 →
Priority Claims (1)
CN 202011254073.5 · Nov 11, 2020 · national
Continuity (1)
Related Publication 20230393944A1 · Dec 7, 2023
Cited By (1)
US 12,423,186