# US 2014/0208019 A1 · Caching method and caching system using dual disks

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

- Number: US 2014/0208019 A1
- Document ID: US20140208019A1
- Status: Published application
- Kind: A1
- Application number: 13/863,385
- Filed: 2013-04-16
- Published: 2014-07-24
- Earliest claimed: 2013-01-18
- Assignees: Acer Incorporated
- Applicants: Acer Incorporated
- Inventors: Po-Wei Wu; Hsin-Yu Chen; Hsung-Pin Chang; Ta-Wei Chang
- Web page: https://patentgrep.com/patent/US20140208019A1

## CPC

- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 2212/1016: Performance improvement
- G06F 2212/217: Hybrid disk, e.g. using both magnetic and solid state storage devices
- G06F 2212/222: Non-volatile memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A caching method and a caching system using dual disks, adapted to an electronic apparatus having a first storage unit and a second storage unit, are provided, in which an access speed of the second storage unit is higher than that of the first storage unit. In the method, a data access to the first storage unit is monitored, a data category of the data in an access address of the data access is identified and whether the data category belongs to a cache category is determined. If the data category belongs to the cache category, an access count of the data in the access address being accessed is accumulated and whether the accumulated access count is over a threshold is determined. If the access count is over the threshold, the data in the access address is cached to the second storage unit.

## Claims

### Claim 1

A caching method using dual disks, adapted to an electronic apparatus having a first storage unit and a second storage unit, wherein an access speed of the second storage unit is higher than an access speed of the first storage unit, the method comprising:
monitoring a data access to the first storage unit;
identifying a data category of data in an access address of the data access and determining whether the data category belongs to one of at least one cache category;
if the data category belongs to the at least one cache category, accumulating an access count of the data in the access address being accessed and determining whether the accumulated access count is over a threshold; and
if the access count is over the threshold, caching the data in the access address to the second storage unit.

### Claim 2 (depends on 1)

The method according to claim 1, wherein before the step of identifying the data category of the data in the access address of the data access, the method further comprises:
requesting a host bus adapter (HBA) to obtain the access address of the data access.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the data of the at least one cache category comprises system service processes and general usage processes, or comprises the system service processes, the general usage processes and application frames.

### Claim 4 (depends on 1)

The method according to claim 1, wherein after the step of caching the data in the access address to the second storage unit, the method comprises:
receiving a sleep operation to enter a sleep mode after data in a buffer unit of the electronic apparatus is backed up to the second storage unit.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the step of backing up the data in the buffer unit of the electronic apparatus to the second storage unit comprises:
examining whether the data in the buffer unit is cached to the second storage unit; and
backing up data in the buffer unit which is uncached to the second storage unit to the second storage unit.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the data which is uncached to the second storage unit comprises applications and application software processes.

### Claim 7 (depends on 4)

The method according to claim 4, wherein after the step of backing up the data in the buffer unit of the electronic apparatus to the second storage unit, the method comprises:
receiving a resume operation to resume a normal operation mode after the data which is previously stored or backed up in the second storage unit is loaded to the buffer unit.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the step of loading the data which is previously stored or backed up in the second storage unit to the buffer unit comprises:
firstly loading the data in the second storage unit which belongs to the cache category to the buffer unit.

### Claim 9 (depends on 5)

The method according to claim 5, wherein the buffer unit comprises a random-access memory (RAM).

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first storage unit is a general type hard disk drive (HDD), and the second storage unit is a solid-state drive (SSD).

### Claim 11

A caching system using dual disks, comprising:
a monitoring module, configured to monitor a data access to a first storage unit;
an identification module, configured to identify a data category of data in an access address of the data access and determine whether the data category belongs to one of at least one cache category; and
a cache module, configured to accumulate an access count of the data in the access address being accessed if the data category belongs to the at least one cache category and cache the data in the access address to a second storage unit if the accumulated access count is over the threshold, wherein an access speed of the second storage unit is higher than an access speed of the first storage unit.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the identification module further requests a host bus adapter (HBA) to obtain the access address of the data access.

### Claim 13 (depends on 11)

The system according to claim 11, further comprising:
a sleep module, configured to receive a sleep operation to enter a sleep mode after data in a buffer unit is backed up to the second storage unit,
wherein the sleep module further examines whether the data in the buffer unit is cached to the second storage unit and backs up data in the buffer unit which is uncached to the second storage unit to the second storage unit.

### Claim 14 (depends on 13)

The system according to claim 13, wherein the data which is uncached to the second storage unit comprises applications and application software processes.

### Claim 15 (depends on 13)

The system according to claim 13, wherein the sleep module further receives a resume operation to resume a normal operation mode after the data which is previously stored or backed up in the second storage unit is loaded to the buffer unit,
wherein the sleep module further firstly load the data in the second storage unit which belongs to the cache category to the buffer unit.
