# US 2021/0334291 A1 · Kvm, and folder one-key mounting method, device, apparatus and medium applied in kvm

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

- Number: US 2021/0334291 A1
- Document ID: US20210334291A1
- Status: Published application
- Kind: A1
- Application number: 16/475,095
- Filed: 2018-06-19
- Published: 2021-10-28
- Earliest claimed: 2018-05-31
- Assignees: Zhengzhou Yunhai Information Technology Co., Ltd.
- Applicants: Zhengzhou Yunhai Information Technology Co., Ltd.
- Inventors: Xuelong WANG
- Web page: https://patentgrep.com/patent/US20210334291A1

## CPC

- G06F 16/273: {Asynchronous replication or reconciliation}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0617: {in relation to availability}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0673: {Single storage device}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A folder one-key mounting method includes: determining a size of a target folder when a one-key mounting instruction for the target folder is obtained; determining a size of a mirror image file based on the size of the target folder; determining a storage path of the mirror image file based on the size of the mirror image file; generating a target mirror image file corresponding to the target folder and the size of the mirror image file, and storing the target mirror image file in a position corresponding to the storage path; and mounting the target mirror image file to a server.

## Claims

### Claim 1

A folder one-key mounting method applied in a Keyboard Video Mouse (KVM), the method comprising:
determining a size of a target folder when a one-key mounting instruction for the target folder is obtained;
determining a size of a mirror image file based on the size of the target folder;
determining a storage path of the mirror image file based on the size of the mirror image file;
generating a target mirror image file corresponding to the target folder and the size of the mirror image file, and storing the target mirror image file in a position corresponding to the storage path; and
mounting the target mirror image file to a server.

### Claim 2 (depends on 1)

The folder one-key mounting method according to claim 1, wherein the determining a size of a target folder comprises:
traversing each file in the target folder, to determine a size of each file; and
accumulating the size of each file, to obtain the size of the target folder.

### Claim 3 (depends on 1)

The folder one-key mounting method according to claim 1, wherein the determining a size of a target folder comprises:
searching a preset information table for the size of the target folder, wherein the preset information table stores in advance an identifier of each folder and a size of each folder.

### Claim 4 (depends on 3)

The folder one-key mounting method according to claim 3, further comprising:
monitoring a variation of a file in each folder in a real time manner; and
when a variation of a file in a folder occurs, collecting variation information of the file and updating the information table based on the variation information of the file.

### Claim 5 (depends on 1)

The folder one-key mounting method according to claim 1, wherein the determining a size of a mirror image file based on the size of the target folder comprises:
determining a value of N based on the size of the target folder with 2NGB being greater than or equal to the size of the target folder, wherein N is a non-negative integer; and
determining 2NGB as the size of the mirror image file.

### Claim 6 (depends on 5)

The folder one-key mounting method according to claim 5, wherein the determining a value of N based on the size of the target folder comprises:
determining the value of N to be 0 in a case that the size of the target folder is not greater than 1 GB; and
determining the value of N to be a value meeting 2N−1 GB<S≤2NGB in a case that the size of the target folder is greater than 1 GB, wherein S represents the size of the target folder.

### Claim 7 (depends on 1)

The folder one-key mounting method according to claim 1, wherein
the determining a storage path of the mirror image file based on the size of the mirror image file comprises:
determining a plurality of storage paths of the mirror image file based on the size of the mirror image file; and
the storing the target mirror image file in a position corresponding to the storage path and mounting the target mirror image file to a server comprises:
storing the target mirror image file in a position corresponding to each of the plurality of storage paths, and mounting the target mirror image files stored in positions corresponding to the plurality of storage paths to different servers respectively.

### Claim 8 (depends on 1)

The folder one-key mounting method according to claim 1, wherein the determining a storage path of the mirror image file based on the size of the mirror image file comprises:
selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file.

### Claim 9 (depends on 8)

The folder one-key mounting method according to claim 8, wherein the selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file comprises:
determining a secret level of each path and a remaining storage capacity of a disk where each path is located;
selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file, to obtain a preliminary path set; and
selecting, from the preliminary path set, a path having a secret level which is the same as a level of the server as the storage path of the mirror image file.

### Claim 10 (depends on 8)

The folder one-key mounting method according to claim 8, wherein the selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file comprises:
determining a historical access frequency of each path and a remaining storage capacity of a disk where each path is located;
selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file, to obtain a preliminary path set; and
selecting, from the preliminary path set, a path having a lowest historical access frequency as the storage path of the mirror image file.

### Claim 11 (depends on 8)

The folder one-key mounting method according to claim 8, wherein the selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file comprises:
determining a secret level and a historical access frequency of each path and a remaining storage capacity of a disk where each path is located;
selecting, from all paths, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file, to obtain a first preliminary path set;
selecting, from the first preliminary path set, a path having a secret level which is the same as a level of the server, to obtain a second preliminary path set; and
selecting, from the second preliminary path set, a path having a lowest historical access frequency as the storage path of the mirror image file.

### Claim 12 (depends on 1)

The folder one-key mounting method according to claim 1, wherein the determining a storage path of the mirror image file based on the size of the mirror image file comprises:
determining a remaining storage capacity of a disk where a preset path is located;
determining whether the remaining storage capacity of the disk where the preset path is located is greater than the size of the mirror image file;
determining the preset path as the storage path of the mirror image file in a case that the remaining storage capacity of the disk where the preset path is located is greater than the size of the mirror image file; and
selecting, from paths other than the preset path, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file, in a case that the remaining storage capacity of the disk where the preset path is located is not greater than the size of the mirror image file.

### Claim 13 (depends on 12)

The folder one-key mounting method according to claim 12, wherein the preset path is a home path of a current user.

### Claim 14 (depends on 12)

The folder one-key mounting method according to claim 12, wherein the selecting, from paths other than the preset path, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file comprises:
selecting, by a user, from paths other than the preset path, a path located in a disk having a remaining storage capacity greater than the size of the mirror image file as the storage path of the mirror image file.

### Claim 15

A folder one-key mounting device applied in a Keyboard Video Mouse (KVM), the device comprising:
a folder size determining module, configured to determine a size of a target folder when a one-key mounting instruction for the target folder is obtained;
a file size determining module, configured to determine a size of a mirror image file based on the size of the target folder;
a storage path determining module, configured to determine a storage path of the mirror image file based on the size of the mirror image file;
a mirror image file generating module, configured to generate a target mirror image file corresponding to the target folder and the size of the mirror image file, and store the target mirror image file in a position corresponding to the storage path; and
a mirror image file mounting module, configured to mount the target mirror image file to a server.

### Claim 16 (depends on 15)

A Keyboard Video Mouse (KVM), comprising the folder one-key mounting device according to claim 15.

### Claim 17 (depends on 1)

A folder one-key mounting apparatus comprising:
a memory storing computer programs; and
a processor configured to execute the computer programs to perform the folder one-key mounting method according to claim 1.

### Claim 18

A computer readable storage medium storing computer programs, wherein the computer programs, when executed by a processor, cause the processor to perform a folder one-key mounting method applied in a Keyboard Video Mouse (KVM), the method comprises:
determining a size of a target folder when a one-key mounting instruction for the target folder is obtained;
determining a size of a mirror image file based on the size of the target folder;
determining a storage path of the mirror image file based on the size of the mirror image file;
generating a target mirror image file corresponding to the target folder and the size of the mirror image file, and storing the target mirror image file in a position corresponding to the storage path; and
mounting the target mirror image file to a server.
