# US 10,372,333 B2 · Electronic device and method for storing a file in a plurality of memories

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

- Number: US 10,372,333 B2
- Document ID: US10372333B2
- Status: Granted
- Kind: B2
- Application number: 14/734,351
- Filed: 2015-06-09
- Published: 2015-12-17
- Granted: 2019-08-06
- Earliest claimed: 2014-06-11
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sung Hwan Yun; Sei Jin Kim
- Web page: https://patentgrep.com/patent/US10372333B2

## CPC

- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0643: {Management of files}
- G06F 3/0683: {Plurality of storage devices}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device is provided. The electronic device includes a first memory, a second memory, and a control module configured, when a file storing event occurs, to divide a file inputted from outside of the electronic device into a plurality of files, to store a portion of the divided files in the first memory, and to store another portion of the divided files in the second memory, wherein one of the first memory and the second memory includes a header notifying a storage location of the divided files.

## Claims

### Claim 1

An electronic device comprising:
a first memory;
a second memory; and
at least one processor configured to:
receive a file storing event comprising a file for storing,
determine a current activity of the first memory and the second memory,
divide the file into a first plurality of files according to a first unit file size and a second plurality of files according to a second unit file size, wherein the first unit file size and the second unit file size are determined based on the current activity of the first memory and the second memory,
store the first plurality of files in the first memory, and
store the second plurality of files in the second memory,
wherein one of the first memory and the second memory comprises a header notifying a storage location of the plurality of files, and
wherein the current activity of the first memory and the second memory comprises at least one of a read operation or a write operation currently performed on the first memory and the second memory.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to:
generate a first file storing command for storing the first plurality of files in the first memory;
generate a second file storing command for storing the second plurality of files in the second memory; and
execute the first file storing command and the second file storing command at a same time.

### Claim 3 (depends on 1)

The electronic device of claim 1,
wherein the first plurality of files and the second plurality of files are stored by a chunk unit, and
wherein the header comprises information regarding a memory where the chunk unit is stored, information regarding a location that the chunk unit corresponds to in an entire file, and information regarding a size of the chunk unit.

### Claim 4 (depends on 1)

The electronic device of claim 1,
wherein the first memory and the second memory comprise:
a data area where data is stored; and
a metadata area comprising information regarding the stored data, and
wherein the header is stored in the data area.

### Claim 5 (depends on 1)

The electronic device of claim 1,
wherein the first memory and the second memory comprise:
a data area where data is stored; and
a metadata area comprising information regarding the stored data, and
wherein the metadata area comprises a flag indicating that a stored file is distributed in a plurality of memories.

### Claim 6 (depends on 1)

The electronic device of claim 1, wherein the first memory and the second memory have different file systems.

### Claim 7 (depends on 1)

The electronic device of claim 1,
wherein the first memory is built in the electronic device, and
wherein the second memory is detachable from the electronic device.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein the second memory is a universal flash storage (UFS) card.

### Claim 9 (depends on 1)

The electronic device of claim 1, further comprising at least one buffer configured to:
store the first plurality of files and the second plurality of files by a chunk unit; and
output the first plurality of files to the first memory and the second plurality of files to the second memory.

### Claim 10 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to:
receive a playback command to playback the file;
integrate the first plurality of files and the second plurality of files into the file by using information included in the header; and
playback the file.

### Claim 11

A method of file storing by an electronic device, the method comprising:
receiving, by at least one processor of the electronic device, a file storing event comprising a file for storing;
determining, by the at least one processor, a current activity of a first memory of the electronic device and a second memory of the electronic device;
dividing, by the at least one processor, the file into a first plurality of files according to a first unit file size and a second plurality of files according to a second unit file size, wherein the first unit file size and the second unit file size are determined based on the current activity of the first memory and the second memory;
storing the first plurality of files in the first memory;
storing the second plurality of files in the second memory; and
storing a header indicating a storage location of the plurality of files in one of the first memory and the second memory,
wherein the current activity of the first memory and the second memory comprises at least one of a read operation or a write operation currently performed on the first memory and the second memory.

### Claim 12 (depends on 11)

The method of claim 11, wherein the storing of the first plurality of files in the first memory and the storing of the second plurality of files in the second memory are performed at a same time.

### Claim 13 (depends on 11)

The method of claim 11,
wherein the first plurality of files and the second plurality of files are stored by a chunk unit, and
wherein the header comprises information regarding a memory where the chunk unit is stored, information regarding a location that the chunk unit corresponds to in an entire file, and information regarding a size of the chunk unit.

### Claim 14 (depends on 11)

The method of claim 11, wherein the storing of the header in the one of the first memory and the second memory comprises storing the header in a data area where data is stored and a metadata area comprising information regarding the stored data.

### Claim 15 (depends on 11)

The method of claim 11, further comprising, inserting a flag indicating that the file is distributed and stored in a plurality of memories into a first metadata area among a data area where data is stored and a second metadata area comprising information regarding stored data.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
storing the first plurality of files and the second plurality of files in at least one buffer by a chunk unit; and
outputting the first plurality of files to the first memory and the second plurality of files to the second memory.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
receiving a playback command to playback the file;
checking whether there is a flag indicating that the file is distributed and stored in metadata;
integrating the first plurality of files and the second plurality of files into the file by using information included in the header, when there is the flag; and
playing the file.

### Claim 18 (depends on 11)

A non-transitory computer-readable storage medium storing instructions that, when executed, cause at least one processor to perform the method of claim 11.
