IP Library Granted Patent US 11,327,654
Granted Patent B2
US 11,327,654 · App. 16/475,103 · Granted May 10, 2022

Method and device for baseboard management controller mounting folder with KVM

Inventor: Xuelong Wang (Henan, CN)
Assignee: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY CO., LTD.
G06F3/0605G06F3/0614G06F3/0631G06F3/0635G06F3/0638G06F3/0674G06F11/0727G06F11/2087
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,327,654
App. No.
16/475,103
Granted
May 10, 2022
Kind
B2
Abstract

A method for a baseboard management controller mounting a folder with KVM includes following steps. A first size of a to-be-mounted folder is calculated. A second size of a mirror image file corresponding to the to-be-mounted folder is calculated based on the first size. A default storage path is allocated for the mirror image file, and it is obtained a remaining storage capacity of a disk where the default storage path is located. If the remaining storage capacity is less than the second size, a prompt dialog box, for selecting a user storage path for the mirror image file, is displayed to the user. If the remaining storage capacity of the disk where the default storage path or the user storage path is located is greater than the second size, the to-be-mounted folder is mounted to a server.

Claims (53)

1. A method for a baseboard management controller mounting a folder with Keyboard Video Mouse (KVM), the method being based on HTML5 language, the method comprising:

calculating a first storage capacity occupied by a to-be-mounted folder in a local computer selected by a user by traversing the to-be-mounted folder;

calculating a second storage capacity occupied by a mirror image file corresponding to the to-be-mounted folder based on the first storage capacity;

allocating a default storage path for the mirror image file in the local computer, and obtaining a remaining storage capacity of a disk of the local computer where the default storage path is located;

determining whether the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity;

in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity, mounting the to-be-mounted folder to a server; and

in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is not greater than the second storage capacity,

displaying a prompt dialog box, for selecting a user storage path for the mirror image file in the local computer, to the user,

storing the mirror image file in the local computer according to an inputted user storage path, and

mounting the to-be-mounted folder to the server in a case that a remaining storage capacity of a disk of the local computer where the user storage path is located is greater than the second storage capacity.

2. The method for a baseboard management controller mounting a folder with KVM according to claim 1 , wherein the calculating a second storage capacity occupied by a mirror image file corresponding to the to-be-mounted folder based on the first storage capacity comprises:

comparing the first storage capacity with 2 n with a case that an initial value of n is 1 and n increases by 1 every time, until the first storage capacity is less than 2 k for the first time, wherein n=1, 2, 3, . . . , k, and k is an integer; and

taking 2 k as the second storage capacity occupied by the mirror image file corresponding to the to-be-mounted folder.

3. The method for a baseboard management controller mounting a folder with KVM according to claim 2 , further comprising:

determining whether mounting success information fed back from the server is received; and

performing an alarm prompt in a case that the mounting success information fed back from the server is not received.

4. The method for a baseboard management controller mounting a folder with KVM according to claim 1 , wherein the allocating a default storage path for the mirror image file in the local computer and obtaining a remaining storage capacity of a disk of the local computer where the default storage path is located comprises:

obtaining a remaining storage capacity of each disk of the local computer, and determining a disk of the local computer having a remaining storage capacity greater than a preset capacity as a candidate disk for locating the default storage path; and

allocating the default storage path for the mirror image file with the disk of the local computer where the default storage path is located being the candidate disk, and determining a remaining storage capacity of the disk of the local computer where the default storage path is located.

5. A device for a baseboard management controller mounting a folder with Keyboard Video Mouse (KVM), the device comprising:

a mounting folder size calculation module configured to calculate a first storage capacity occupied by a to-be-mounted folder in a local computer selected by a user by traversing the to-be-mounted folder;

a mirror image file size calculation module configured to calculate a second storage capacity occupied by a mirror image file corresponding to the to-be-mounted folder based on the first storage capacity;

a path automatic allocation module configured to allocate a default storage path for the mirror image file in the local computer, and obtain a remaining storage capacity of a disk of the local computer where the default storage path is located;

a determination module configured to determine whether the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity;

a path selection module configured to, in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is less than the second storage capacity, display a prompt dialog box, for selecting a user storage path for the mirror image file in the local computer, to the user, and store the mirror image file in the local computer according to an inputted user storage path; and

a folder mounting module configured to mount the to-be-mounted folder to a server in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity or a remaining storage capacity of a disk of the local computer where the user storage path is located is greater than the second storage capacity.

6. The device for a baseboard management controller mounting a folder with KVM according to claim 5 , wherein the mirror image file size calculation module is configured to:

compare the first storage capacity with 2 n with a case that an initial value of n is 1 and n increases by 1 every time, until the first storage capacity is less than 2 k for the first time, wherein n=1, 2, 3, . . . , k, and k is an integer; and

take 2 k as the second storage capacity occupied by the mirror image file corresponding to the to-be-mounted folder.

7. The device for a baseboard management controller mounting a folder with KVM according to claim 6 , further comprising:

an alarm module configured to perform an alarm prompt in a case that mounting success information fed back from the server is not received.

8. The device for a baseboard management controller mounting a folder with KVM according to claim 7 , wherein the path automatic allocation module comprises:

a candidate disk determination submodule configured to obtain a remaining storage capacity of each disk of the local computer, and determine a disk of the local computer having a remaining storage capacity greater than a preset capacity as a candidate disk for locating the default storage path; and

an allocation submodule configured to allocate the default storage path for the mirror image file with the disk of the local computer where the default storage path is located being the candidate disk, and determine a remaining storage capacity of the disk of the local computer where the default storage path is located.

9. An apparatus for a baseboard management controller mounting a folder with Keyboard Video Mouse (KVM), comprising:

a memory storing computer programs; and

a processor configured to execute the computer programs to perform the method for a baseboard management controller mounting a folder with KVM according to claim 1 .

10. A computer readable storage medium storing programs for a baseboard management controller mounting a folder with Keyboard Video Mouse (KVM), wherein the programs, when executed by a processor, cause the processor to perform a method for a baseboard management controller mounting a folder with KVM, the method is based on HTML5 language, the method comprises:

calculating a first storage capacity occupied by a to-be-mounted folder in a local computer selected by a user by traversing the to-be-mounted folder;

calculating a second storage capacity occupied by a mirror image file corresponding to the to-be-mounted folder based on the first storage capacity;

allocating a default storage path for the mirror image file in the local computer, and obtaining a remaining storage capacity of a disk of the local computer where the default storage path is located;

determining whether the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity;

in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is greater than the second storage capacity, mounting the to-be-mounted folder to a server; and

in a case that the remaining storage capacity of the disk of the local computer where the default storage path is located is not greater than the second storage capacity,

displaying a prompt dialog box, for selecting a user storage path for the mirror image file in the local computer, to the user,

storing the mirror image file in the local computer according to an inputted user storage path, and

mounting the to-be-mounted folder to the server in a case that a remaining storage capacity of a disk of the local computer where the user storage path is located is greater than the second storage capacity.

11. The method for a baseboard management controller mounting a folder with KVM according to claim 2 , wherein the allocating a default storage path for the mirror image file in the local computer and obtaining a remaining storage capacity of a disk of the local computer where the default storage path is located comprises:

obtaining a remaining storage capacity of each disk of the local computer, and determining a disk of the local computer having a remaining storage capacity greater than a preset capacity as a candidate disk for locating the default storage path; and

allocating the default storage path for the mirror image file with the disk of the local computer where the default storage path is located being the candidate disk, and determining a remaining storage capacity of the disk of the local computer where the default storage path is located.

12. The method for a baseboard management controller mounting a folder with KVM according to claim 3 , wherein the allocating a default storage path for the mirror image file in the local computer and obtaining a remaining storage capacity of a disk of the local computer where the default storage path is located comprises:

obtaining a remaining storage capacity of each disk of the local computer, and determining a disk of the local computer having a remaining storage capacity greater than a preset capacity as a candidate disk for locating the default storage path; and

allocating the default storage path for the mirror image file with the disk of the local computer where the default storage path is located being the candidate disk, and determining a remaining storage capacity of the disk of the local computer where the default storage path is located.

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/0710 →
Priority Claims (1)
CN 201810106175 · Feb 2, 2018 · national
Continuity (1)
Related Publication 20210382623A1 · Dec 9, 2021