IP Library Granted Patent US 11,431,782
Granted Patent B2
US 11,431,782 · App. 16/475,106 · Granted Aug 30, 2022

Method, apparatus, and device for transmitting file based on BMC, and medium

Inventor: Xuelong Wang (Henan, CN)
Assignee: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY CO., LTD.
H04L67/06G06F13/42H04L67/02H04L67/1095H04L67/1097
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,431,782
App. No.
16/475,106
Granted
Aug 30, 2022
Kind
B2
Abstract

A method, an apparatus, and a device for transmitting a file based on a BMC, and a medium are provided. The method includes: receiving, by a second BMC, a preset command sent by a first BMC, where the preset command indicates that transmission of a file is to be initiated; parsing the preset command, and stopping an IPMI process running based on a UART interface in response to the preset command; and receiving, by using a communication function of the UART interface, a data file transmitted by the first BMC. With the method, when the data file is transmitted between the BMCs, the data file is not intercepted and verified by the preset command processing function of the IPMI process running based on the UART interface, and the IPMI process is prevented from being blocked and crashing, thereby implementing transmission of data files between BMCs.

Claims (29)

1. A method for transmitting a file between Baseboard Management Controllers (BMCs), comprising:

receiving, by a second BMC, a preset command sent by a first BMC, wherein the first BMC communicates with the second BMC through a Universal Asynchronous Receiver/Transmitter (UART) interface, and the preset command indicates that transmission of a file is to be initiated;

parsing the preset command, and stopping an Intelligent Platform Management Interface (IPMI) process in response to the preset command, wherein the IPMI process intercepts and verifies a control command received through the UART interface; and

receiving, by using a communication function of the UART interface, a data file transmitted by the first BMC.

2. The method according to claim 1 , wherein the parsing the preset command, and stopping the IPMI process in response to the preset command comprises:

parsing the preset command, and modifying a value of a preset flag variable from an initial value to a flag value in response to the preset command, and

monitoring the flag variable by using a preset process, and stopping the IPMI process by calling a system function when the value of the flag variable is the flag value.

3. The method according to claim 2 , wherein after the receiving, by using the communication function of the UART interface, the data file transmitted by the first BMC, the method further comprises:

modifying the value of the flag variable to the initial value, and restarting the IPMI process in the second BMC by calling the system function.

4. The method according to claim 2 , wherein after the stopping the IPMI process by calling the system function, the method further comprises:

recording, in a log file, a time instant at which the IPMI process is stopped and parameter information of the second BMC in correspondence with each other.

5. The method according to claim 2 , wherein the initial value is 1, and the flag value is 0.

6. The method according to claim 1 , wherein the data file is a mirror file of a bin type.

7. A device for transmitting a file between Baseboard Management Controllers (BMC), comprising:

a memory, configured to store a computer program; and

a processor, configured to execute the computer program to implement steps of:

receiving, by a second BMC, a preset command sent by a first BMC, wherein the first BMC communicates with the second BMC through a Universal Asynchronous Receiver/Transmitter (DART) interface, and the preset command indicates that transmission of a file is to be initiated,

parsing the preset command, and stop an Intelligent Platform Management Interface (IPMI) process in response to the preset command, wherein the IPMI process intercepts and verifies a control command received through the UART interface, and

receiving, by using a communication function of the UART interface, a data file transmitted by the first BMC.

8. The device according to claim 7 , wherein the parsing the preset command, and stopping the IPMI process in response to the preset command comprises:

parsing the preset command, and modifying a value of a preset flag variable from an initial value to a flag value in response to the preset command, and

monitoring the flag variable by using a preset process, and stopping the IPMI process by calling a system function when the value of the flag variable is the flag value.

9. The device according to claim 8 , wherein after the receiving, by using the communication function of the UART interface, the data file transmitted by the first BMC, the processor is further configured to execute the computer program to implement a step of:

modifying the value of the flag variable to the initial value, and restarting the IPMI process in the second BMC by calling the system function.

10. The device according to claim 8 , wherein after the stopping the IPMI process by calling the system function, the processor is further configured to execute the computer program to implement a step of:

recording, in a log file, a time instant at which the IPMI process is stopped and parameter information of the second BMC in correspondence with each other.

11. The device according to claim 8 , wherein the initial value is 1, and the flag value is 0.

12. The device according to claim 7 , wherein the data file is a mirror file of a bin type.

13. A non-transitory computer readable storage medium, storing a computer program, the computer program being executed by a processor to implement steps of the method for transmitting a file between Baseboard Management Controllers (BMCs) according to claim 1 .

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 Jun 30, 2019
From: WANG, XUELONG
To: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 049633/0724 →
Priority Claims (1)
CN 201810550860.0 · May 31, 2018 · national
Continuity (1)
Related Publication 20210337011A1 · Oct 28, 2021