# US 2014/0208006 A1 · Apparatus and method for extending memory in terminal

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

- Number: US 2014/0208006 A1
- Document ID: US20140208006A1
- Status: Published application
- Kind: A1
- Application number: 14/155,829
- Filed: 2014-01-15
- Published: 2014-07-24
- Earliest claimed: 2013-01-18
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sung-Hwan YUN; Sei-Jin KIM
- Web page: https://patentgrep.com/patent/US20140208006A1

## CPC

- G11C 7/1075: {for multiport memories each having random access ports and serial ports, e.g. video RAM}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 13/382: {using universal interface adapter}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and a method capable of selectively extending a memory in a terminal are provided. The apparatus includes a socket unit into which an external memory having a built-in Random Access Memory (RAM) is inserted, and a controller that performs a control operation for moving data stored in a RAM of the terminal to the RAM of the external memory and for securing available space of the RAM of the terminal, when the external memory having the built-in RAM is inserted into the socket unit.

## Claims

### Claim 1

An apparatus that extends a memory in a terminal, the apparatus comprising:
a socket unit into which an external memory having a built-in Random Access Memory (RAM) is inserted; and
a controller that performs a control operation for moving data stored in a RAM of the terminal to the RAM of the external memory and for securing available space of the RAM of the terminal, when the external memory having the built-in RAM is inserted into the socket unit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the socket unit includes terminals configured to recognize the external memory having the built-in RAM when the external memory having the built-in RAM is inserted into the socket unit.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the controller includes a Universal Flash Storage (UFS) interface configured to move data between the RAM of the external memory and the RAM of the terminal at a high speed when the external memory having the built-in RAM is inserted into the socket unit.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the controller performs a control operation for swapping in/out data in a unit of page between the RAM of the terminal and the RAM of the external memory by using a swap.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the controller performs a control operation for receiving particular information from the external memory inserted into the socket unit, when a system booting operation is performed in the terminal, and
wherein the controller performs a control operation for registering the RAM of the external memory as a block device and for swapping in/out data between the RAM of the terminal and the RAM of the external memory by using a swap, when the controller determines, based on the received particular information, that the external memory has the built-in RAM.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein, when available space is insufficient in the RAM of the terminal when a request is made for recording new data or a new code, the controller performs a control operation for swapping out data, which has a lowest frequency of use among data stored in the RAM of the terminal, from the RAM of the terminal to the RAM of the external memory, and performs a control operation for recording the new data or code within the available space of the RAM of the terminal which is secured by swapping out the data having the lowest frequency of use to the RAM of the external memory.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein, after the controller performs the control operation for swapping out the data stored in the RAM of the terminal to the RAM of the external memory, the controller performs a control operation for changing a storage position information of the data swapped out to the RAM of the external memory, and performs a control operation for recording the changed storage position information thereof in a page management table.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the controller performs a control operation for recording the data or code newly stored in the RAM of the terminal as data or code having a highest frequency of use.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein, when a request is made for reading data stored in the RAM of the external memory, the controller performs a control operation for swapping in the data stored in the RAM of the external memory from the RAM of the external memory to the RAM of the terminal and, performs a control operation for reading the data swapped in to the RAM of the terminal.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein, after performing the control operation for swapping in the data stored in the RAM of the external memory from the RAM of the external memory to the RAM of the terminal, the controller performs a control operation for changing a storage position information of the data swapped in to the RAM of the terminal and recording the changed storage position information thereof in a page management table.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the controller performs a control operation for recording the data, which has been swapped in from the RAM of the external memory to the RAM of the terminal, as data having a highest frequency of use.

### Claim 12

A method of extending a memory in a terminal, the method comprising:
determining a type of an external memory inserted into a socket unit of the terminal; and
securing available space of a Random Access Memory (RAM) of the terminal by moving data stored in the RAM of the terminal to a RAM of the external memory, when the external memory inserted into the socket unit of the terminal corresponds to an external memory having a built-in RAM.

### Claim 13 (depends on 12)

The method of claim 12, wherein data is moved at a high speed between the RAM of the external memory and the RAM of the terminal through a Universal Flash Storage (UFS) interface, when the external memory having the built-in RAM is inserted into the socket unit.

### Claim 14 (depends on 12)

The method of claim 12, wherein data is swapped in/out in a unit of page between the RAM of the terminal and the RAM of the external memory by using a swap.

### Claim 15 (depends on 12)

The method of claim 12, wherein the determining of the type of the external memory comprises:
receiving particular information from the external memory through terminals configured to recognize the external memory having the built-in RAM which is included in the socket unit, when a system booting operation is performed in the terminal; and
determining whether the external memory inserted into the socket unit corresponds to the external memory having the built-in RAM, based on the particular information received from the external memory.

### Claim 16 (depends on 12)

The method of claim 12, wherein the securing of the available space comprises registering the RAM of the external memory as a block device and swapping in/out data between the RAM of the terminal and the RAM of the external memory by using a swap, when the external memory is determined to have the built-in RAM.

### Claim 17 (depends on 12)

The method of claim 12, wherein the securing of the available space comprises:
when available space is insufficient in the RAM of the terminal when a request is made for recording new data or a new code, swapping out data, which has a lowest frequency of use among data stored in the RAM of the terminal, from the RAM of the terminal to the RAM of the external memory; and
recording the new data or code within the available space of the RAM of the terminal which is secured by swapping out the data having the lowest frequency of use to the RAM of the external memory.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
after swapping out the data stored in the RAM of the terminal from the RAM of the terminal to the RAM of the external memory, changing a storage position information of the data swapped out to the RAM of the external memory, and recording the changed storage position information thereof in a page management table.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
recording the data or code newly stored in the RAM of the terminal as data or code having a highest frequency of use.

### Claim 20 (depends on 12)

The method of claim 12, further comprising:
when a request is made for reading the data stored in the RAM of the external memory, swapping in data stored in the RAM of the external memory from the RAM of the external memory to the RAM of the terminal; and
reading the data swapped in to the RAM of the terminal.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
after swapping in the data stored in the RAM of the external memory from the RAM of the external memory to the RAM of the terminal, changing a storage position information of the data swapped in to the RAM of the terminal, and recording the changed storage position information thereof in a page management table.

### Claim 22 (depends on 20)

The method of claim 20, further comprising:
recording the data, which has been swapped in from the RAM of the external memory to the RAM of the terminal, as data having a highest frequency of use.

### Claim 23 (depends on 12)

A non-transitory processor-readable recording medium recording a program, that when executed, causes at least one processor to perform the method of claim 12.
