# US 2021/0334229 A1 · File transfer method, apparatus, device between bmcs and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0334229 A1
- Document ID: US20210334229A1
- Status: Published application
- Kind: A1
- Application number: 16/475,108
- Filed: 2018-12-26
- Published: 2021-10-28
- Earliest claimed: 2018-06-04
- Assignees: Zhengzhou Yunhai Information Technology Co., Ltd.
- Applicants: Zhengzhou Yunhai Information Technology Co., Ltd.
- Inventors: Xuelong WANG
- Web page: https://patentgrep.com/patent/US20210334229A1

## CPC

- G06F 13/362: with centralised access control
- G06F 2213/0016: Inter-integrated circuit (I2C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A file transfer method between BMCs is provided, to implement file transfer from a master BMC to a slave BMC. Firstly, a file to be transferred to the slave BMC is obtained. Then a communication connection with the slave BMC is established through an I2C bus. After the communication connection is established, the file is divided into multiple sub-files to meet transmission requirements of an IPMI. Finally, the sub-files are read, and the sub-files are sent to the slave BMC, so that the slave BMC combines the sub-files to obtain the file. A file transfer apparatus, device between BMCs and a storage medium corresponding to the method are further provided.

## Claims

### Claim 1

A file transfer method between BMCs, applied to a master BMC, comprising:
obtaining a file to be transferred to a slave BMC;
establishing a communication connection with the slave BMC through an I2C bus;
dividing the file into a plurality of sub-files to meet transmission requirements of an IPMI; and
reading the sub-files and sending the sub-files to the slave BMC, wherein the slave BMC combines the sub-files to obtain the file.

### Claim 2 (depends on 1)

The file transfer method between BMCs according to claim 1, wherein the obtaining a file to be transferred to a slave BMC comprises: obtaining a file to be transferred to the slave BMC from a memory buffer.

### Claim 3 (depends on 1)

The file transfer method between BMCs according to claim 1, wherein the establishing a communication connection with the slave BMC through an I2C bus comprises:
establishing a communication session with the slave BMC through the I2C bus; and
sending a test command on the IPMI to the slave BMC to determine that the communication connection with the slave BMC is successfully established.

### Claim 4 (depends on 1)

The file transfer method between BMCs according to claim 1, wherein the dividing the file into a plurality of sub-files comprises: dividing the file by taking 128 bytes as a unit to obtain the plurality of sub-files.

### Claim 5 (depends on 1)

The file transfer method between BMCs according to claim 1, wherein the reading the sub-files and sending the sub-files to the slave BMC comprises:
reading a first sub-file and sending the first sub-file to the slave BMC;
determining whether a return value from the slave BMC is received;
determining whether there is a remaining sub-file if the return value is received;
reading a next sub-file, sending the next sub-file to the slave BMC, and determining again whether a return value from the slave BMC is received, if there is a remaining sub-file; and
ending if there is no remaining sub-file.

### Claim 6

(canceled)

### Claim 7

A file transfer device between BMCs, comprising:
a memory, configured to store a computer program; and
a processor, configured to execute the computer program to implement operations of:
obtaining a file to be transferred to a slave BMC;
establishing a communication connection with the slave BMC through an I2C bus;
dividing the file into a plurality of sub-files to meet transmission requirements of an IPMI; and
reading the sub-files and sending the sub-files to the slave BMC, wherein the slave BMC combines the sub-files to obtain the file.

### Claim 8 (depends on 1)

A computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the file transfer method between BMCs according to claim 1.

### Claim 9

A file transfer method between BMCs, applied to a slave BMC, comprising:
responding to a request for establishing a communication connection sent by a master BMC through an I2C bus;
receiving, through an IPMI, a plurality of sub-files sent by the master BMC, wherein the plurality of sub-files are obtained by dividing a file to be transferred to the slave BMC; and
combining the plurality of sub-files to obtain the file.

### Claim 10

(canceled)

### Claim 11 (depends on 7)

The file transfer device between BMCs according to claim 7, wherein the obtaining a file to be transferred to a slave BMC comprises: obtaining a file to be transferred to the slave BMC from a memory buffer.

### Claim 12 (depends on 7)

The file transfer device between BMCs according to claim 7, wherein the establishing a communication connection with the slave BMC through an I2C bus comprises:
establishing a communication session with the slave BMC through the I2C bus; and
sending a test command on the IPMI to the slave BMC to determine that the communication connection with the slave BMC is successfully established.

### Claim 13 (depends on 7)

The file transfer device between BMCs according to claim 7, wherein the dividing the file into a plurality of sub-files comprises: dividing the file by taking 128 bytes as a unit to obtain the plurality of sub-files.

### Claim 14 (depends on 7)

The file transfer device between BMCs according to claim 7, wherein the reading the sub-files and sending the sub-files to the slave BMC comprises:
reading a first sub-file and sending the first sub-file to the slave BMC;
determining whether a return value from the slave BMC is received;
determining whether there is a remaining sub-file if the return value is received;
reading a next sub-file, sending the next sub-file to the slave BMC, and determining again whether a return value from the slave BMC is received, if there is a remaining sub-file; and
ending if there is no remaining sub-file.
