IP Library Granted Patent US 8,468,321
Granted Patent B2
US 8,468,321 · App. 12/754,769 · Granted Jun 18, 2013

Method relocating code objects and disc drive using same

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 8,468,321
App. No.
12/754,769
Granted
Jun 18, 2013
Kind
B2
Abstract

A data storage device and a software method using same are described. The method dynamically relocates and includes; upon receiving a requirement to load a new code object to a first storage medium, allocating a dynamic relocation region of the first storage medium, writing information related a task to be performed in relation to the dynamic relocation region to a second storage medium, selecting the new code object from a plurality of code objects stored in the second storage medium, and loading the selected new code object to the allocated dynamic relocation region, and generating information for performing a task associated with the loaded new code object.

Claims (31)

1. A method comprising:

receiving a requirement to load a new code object to a first storage medium;

allocating an area of the first storage medium containing an old code object as a dynamic relocation region when there is insufficient space to load the new code object to the first storage medium;

storing the old code object to a second storage medium;

writing the new code object to the allocated dynamic relocation region;

prior to executing a task associated with the loaded new code object:

loading task control block information and stack information from the second storage medium when the new code object has been previously executed; and

generating task control block information and stack information when the new code object has not been previously executed.

2. The method of claim 1 , wherein allocating of the dynamic relocation region comprises allocating the dynamic relocation region based on a priority sequence of tasks loaded to the first storage medium, wherein a task having lower priority is earlier selected as the old code object.

3. The method of claim 1 , wherein the first storage medium comprises a random access memory and the second storage medium comprises a disc.

4. The method of claim 3 , further comprising writing task control block information and stack information related to a task associated with the old code object that has previously been performed in a maintenance cylinder region of the disc.

5. The method of claim 1 , further comprising storing task control block information and stack information related to a task associated with the old code object that has previously been performed in the second storage medium.

6. The method of claim 1 wherein the second storage medium is a separate nonvolatile memory from the first storage medium.

7. A device comprising:

a first storage medium;

a second storage medium;

a processor configured to:

receive a command to load a new code object to the first storage medium;

allocate an area of the first storage medium containing an old code object as a dynamic relocation region when there is insufficient space to load the new code object to the first storage medium;

store the old code object to the second storage medium;

write the new code object to the allocated dynamic relocation region; and

prior to executing a task associated with the loaded new code object:

load task control block information and stack information from the second storage medium when the new code object has been previously executed; and

generate task control block information and stack information when the new code object has not been previously executed.

8. The device of claim 7 , wherein the processor comprises:

a code object management unit configured to manage position information for code objects, task control block information, and stack information associated with performing tasks related to the code objects.

9. The device of claim 7 , wherein the processor is further configured to store information related to a task associated with the old code object that has previously been performed in the second storage medium.

10. The device of claim 7 , wherein the processor is further configured to allocate the dynamic relocation region based on a priority sequence of tasks associated with code objects loaded to the first storage medium, wherein a code object associated with a task having lower priority is earlier selected as the old code object.

11. The device of claim 7 , wherein the first storage medium comprises a random access memory and the second storage medium comprises a disc.

12. The device of claim 7 wherein the second storage medium is a separate nonvolatile memory from the first storage medium.

13. The device of claim 7 further comprising a system-on-chip which includes the first storage medium.

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE ERRONEOUSLY FILED NO. 7255478 FROM SCHEDULE PREVIOUSLY RECORDED AT REEL: 028153 FRAME: 0689. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Oct 5, 2016
From: SAMSUNG ELECTRONICS CO., LTD.
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 040001/0920 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 3, 2012
From: SAMSUNG ELECTRONICS CO., LTD.
To: SEAGATE TECHNOLOGY INTERNATIONAL
Reel/Frame 028153/0689 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 14, 2010
From: PARK, JUN-BUM
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 024230/0997 →