JP5564314B2 - コードの動的再配置方法及びこれを利用した装置 - Google Patents
コードの動的再配置方法及びこれを利用した装置 Download PDFInfo
- Publication number
- JP5564314B2 JP5564314B2 JP2010087530A JP2010087530A JP5564314B2 JP 5564314 B2 JP5564314 B2 JP 5564314B2 JP 2010087530 A JP2010087530 A JP 2010087530A JP 2010087530 A JP2010087530 A JP 2010087530A JP 5564314 B2 JP5564314 B2 JP 5564314B2
- Authority
- JP
- Japan
- Prior art keywords
- code object
- storage medium
- information
- loaded
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/24—Loading of the microprogram
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44584—Portable applications, i.e. making applications self-contained, e.g. U3 standard
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/454—Multi-language systems; Localisation; Internationalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/461—Saving or restoring of program or task context
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Stored Programmes (AREA)
Description
前記動的再配置領域に書込まれる新たなコードオブジェクトが以前に行われたコードオブジェクトである場合には、前記第2記録媒体に保存されているタスクに関する情報として、前記新たなコードオブジェクトについてのタスク実行に必要な情報を生成させることが望ましい。
したがって、ブーティング過程を行えば、RAM 130にローディングされたコードオブジェクトを利用して、ディスクドライブを動作させられる。
これらの方式によって、HDDがブーティングされて行われている途中で、コードオブジェクトの動的再配置を行える。
ディスクドライブがブーティングされて、RAM 130にディスクドライブ動作に必要なコードオブジェクトがローディングされて動作する途中で、ディスクドライブでMP3プレーヤー機能を実行させようとする要求が発生すれば、プロセッサー110は、前述したようなコードオブジェクトの動的再配置方式によって、メディア150に保存されているMP3デコーディングコード150−1をRAM 130にローディングさせる。
120 ROM
130 RAM
140 メディアインターフェース(MEDIA I/F)
150 メディア(MEDIA)
160 ホストインターフェース(HOST I/F)
170 ホスト機器(HOST)
180 外部インターフェース(External I/F)
190 バス(BUS)
Claims (11)
- 第1の記憶媒体と、
第2の記憶媒体と、
プロセッサとを備え、
前記プロセッサは、
新たなコードオブジェクトを前記第1の記憶媒体へローディングするための指令を受信し、
前記新たなコードオブジェクトを前記第1の記憶媒体へローディングするための十分な空間がない場合に、古いコードオブジェクトを含む前記第1の記憶媒体の領域を動的再配置領域として割り当て、
前記古いコードオブジェクトに関連するタスクに関するタスク制御ブロック情報およびスタック情報を前記第2の記憶媒体へ記憶し、
割り当てられた前記動的再配置領域に前記新たなコードオブジェクトを書込み、
ローディングされた前記新たなコードオブジェクト関連するタスクを実行するのに先立って、
前記新たなコードオブジェクトが以前に実行されたコードオブジェクトの場合には、タスク制御ブロック情報およびスタック情報を前記第2の記憶媒体からローディングし、
前記新たなコードオブジェクトが以前に実行されたコードオブジェクトではない場合には、タスク制御ブロック情報およびスタック情報を初期化する、装置。 - 前記プロセッサは、
コードオブジェクトについての位置情報、タスク制御ブロック情報、および前記コードオブジェクトに関するタスク実行に関連したスタック情報を管理するように構成されたコードオブジェクト管理システムを含む、請求項1に記載の装置。 - 前記プロセッサは、前記第1の記憶媒体にローディングされたコードオブジェクトに関連したタスクの優先順位に基づいて、前記動的再配置領域を割り当てるようにさらに構成される、請求項1に記載の装置。
- 前記第1の記憶媒体は、ランダムアクセスメモリを含み、
前記第2の記憶媒体は、ディスクを含む、請求項1に記載の装置。 - 前記第2の記憶媒体は、前記第1の記憶媒体から分離した不揮発性メモリである、請求項1に記載の装置。
- 前記第1の記憶媒体を含むシステムオンチップをさらに備える、請求項1に記載の装置。
- 新たなコードオブジェクトを第1の記憶媒体へローディングするための要求を受信するステップと、
前記新たなコードオブジェクトを前記第1の記憶媒体へローディングするための十分な空間がない場合に、古いコードオブジェクトを含む前記第1の記憶媒体の領域を動的再配置領域として割り当てるステップと、
前記古いコードオブジェクトに関連するタスクに関するタスク制御ブロック情報およびスタック情報を第2の記憶媒体へ記憶するステップと、
割り当てられた前記動的再配置領域に前記新たなコードオブジェクトを書込むステップと、
ローディングされた前記新たなコードオブジェクト関連するタスクを実行するのに先立って、
前記新たなコードオブジェクトが以前に実行されたコードオブジェクトの場合には、タスク制御ブロック情報およびスタック情報を前記第2の記憶媒体からローディングするステップと、
前記新たなコードオブジェクトが以前に実行されたコードオブジェクトではない場合には、タスク制御ブロック情報およびスタック情報を初期化するステップとを含む、方法。 - 前記動的再配置領域を割り当てるステップは、前記第1の記憶媒体にローディングされたタスクの優先順位に基づいて、前記動的再配置領域を割り当てるステップを含み、
より低い優先順位を有するタスクは、前記古いコードオブジェクトとしてより早く選択される、請求項7に記載の方法。 - 前記第1の記憶媒体は、ランダムアクセスメモリを含み、
前記第2の記憶媒体は、ディスクを含む、請求項7に記載の方法。 - 以前に実行された前記古いコードオブジェクトに関連するタスクに関するタスク制御ブロック情報およびスタック情報を、前記ディスクのメンテナンスシリンダ領域に書込むステップをさらに含む、請求項9に記載の方法。
- 前記第2の記憶媒体は、前記第1の記憶媒体から分離した不揮発性メモリである、請求項7に記載の方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020090029492A KR101663545B1 (ko) | 2009-04-06 | 2009-04-06 | 코드의 동적 재배치 방법 및 이를 이용한 디스크 드라이브 |
| KR10-2009-0029492 | 2009-04-06 |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2010244679A JP2010244679A (ja) | 2010-10-28 |
| JP2010244679A5 JP2010244679A5 (ja) | 2013-07-04 |
| JP5564314B2 true JP5564314B2 (ja) | 2014-07-30 |
Family
ID=42289788
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010087530A Expired - Fee Related JP5564314B2 (ja) | 2009-04-06 | 2010-04-06 | コードの動的再配置方法及びこれを利用した装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US8468321B2 (ja) |
| EP (1) | EP2239660A1 (ja) |
| JP (1) | JP5564314B2 (ja) |
| KR (1) | KR101663545B1 (ja) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110990072A (zh) * | 2019-11-08 | 2020-04-10 | 杭州智控网络有限公司 | 价签屏幕多驱动动态加载方法 |
| CN112860444B (zh) * | 2021-04-26 | 2021-08-20 | 腾讯科技(深圳)有限公司 | 内存调用信息的确定方法和装置、存储介质及电子设备 |
Family Cites Families (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2776809B2 (ja) * | 1987-05-29 | 1998-07-16 | 株式会社日立製作所 | データ退避方式 |
| US6279108B1 (en) * | 1987-06-02 | 2001-08-21 | Seagate Technology Llc | Programmable microcontroller architecture for disk drive system |
| JPH01222335A (ja) * | 1988-03-01 | 1989-09-05 | Hitachi Ltd | マルチタスク処理方式 |
| KR100322573B1 (ko) * | 1998-06-19 | 2002-03-08 | 윤종용 | 주기억장치와 보조기억장치사이의 스와핑 장치및 방법, 그 장치를 채용한 웹비디오 폰 |
| GB9825102D0 (en) * | 1998-11-16 | 1999-01-13 | Insignia Solutions Plc | Computer system |
| KR20000039273A (ko) | 1998-12-11 | 2000-07-05 | 윤종용 | 바이오스 코드를 갖는 저장 매체를 구비한 컴퓨터 시스템 및이의 동작 방법 |
| DE10040974A1 (de) * | 2000-08-22 | 2002-03-14 | Giesecke & Devrient Gmbh | Verfahren zur virtuellen Vergrößerung des Stacks eines tragbaren Datenträgers |
| FR2817055B1 (fr) | 2000-11-22 | 2003-02-14 | Gemplus Card Int | Execution d'une application dans un objet electronique portable a faible capacite de memoire |
| US20020083160A1 (en) | 2000-12-21 | 2002-06-27 | Don Middleton | Method and apparatus for managing applications and data in a mobile device |
| US20020128068A1 (en) * | 2001-03-09 | 2002-09-12 | Randall Whitten Jon Marcus | Method and apparatus for managing data in a gaming system |
| KR20020078229A (ko) | 2001-04-06 | 2002-10-18 | 엘지전자 주식회사 | 임베디드 시스템의 메모리 제어방법 |
| US20040168078A1 (en) * | 2002-12-04 | 2004-08-26 | Brodley Carla E. | Apparatus, system and method for protecting function return address |
| JP2004272393A (ja) * | 2003-03-05 | 2004-09-30 | Matsushita Electric Ind Co Ltd | Cpu内蔵型lsiおよびこれを用いた光ディスク装置並びにlsi装置 |
| JP2005189907A (ja) * | 2003-12-24 | 2005-07-14 | Toshiba Corp | ディスク装置 |
| JP2005338952A (ja) * | 2004-05-24 | 2005-12-08 | Sony Corp | プログラム分岐方法 |
| US7398381B2 (en) | 2004-12-10 | 2008-07-08 | Intel Corporation | Utilizing paging to support dynamic code updates |
| US20060225060A1 (en) * | 2005-01-19 | 2006-10-05 | Khalid Goyan | Code swapping in embedded DSP systems |
| US7613876B2 (en) * | 2006-06-08 | 2009-11-03 | Bitmicro Networks, Inc. | Hybrid multi-tiered caching storage system |
| KR100801014B1 (ko) * | 2006-08-21 | 2008-02-04 | 삼성전자주식회사 | Dos 부트 프로그램을 내장한 디스크를 구비하는 하드 디스크 드라이브와 그를 포함하는 컴퓨터 시스템, 상기 하드 디스크 드라이브의 펌웨어 다운로드 방법 및 그를 포함하는 기록 매체 |
| US8719498B2 (en) * | 2007-08-24 | 2014-05-06 | Samsung Electronics Co., Ltd. | Data storage device and data providing method therein |
| US8321874B2 (en) * | 2008-09-30 | 2012-11-27 | Microsoft Corporation | Intelligent context migration for user mode scheduling |
-
2009
- 2009-04-06 KR KR1020090029492A patent/KR101663545B1/ko not_active Expired - Fee Related
-
2010
- 2010-04-06 EP EP10159114A patent/EP2239660A1/en not_active Withdrawn
- 2010-04-06 US US12/754,769 patent/US8468321B2/en not_active Expired - Fee Related
- 2010-04-06 JP JP2010087530A patent/JP5564314B2/ja not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| EP2239660A1 (en) | 2010-10-13 |
| US20100257311A1 (en) | 2010-10-07 |
| JP2010244679A (ja) | 2010-10-28 |
| KR101663545B1 (ko) | 2016-10-07 |
| US8468321B2 (en) | 2013-06-18 |
| KR20100111100A (ko) | 2010-10-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9009433B2 (en) | Method and apparatus for relocating data | |
| US9830939B1 (en) | Workload balancing for multiple actuators | |
| US7461202B2 (en) | Method and apparatus using hard disk drive for enhanced non-volatile caching | |
| KR100801015B1 (ko) | 하이브리드 하드 디스크 드라이브와 데이터 저장 방법 | |
| US9063659B2 (en) | Method and apparatus for data sector cluster-based data recording | |
| KR101854206B1 (ko) | 라이트 방법 및 그 방법을 이용하는 저장 장치 | |
| KR101874324B1 (ko) | 리드 또는 라이트 동작 제어 방법, 그 방법을 이용하는 저장 장치 및 컴퓨터 시스템 | |
| KR20130007357A (ko) | 주소 사상 정보 관리 방법 이를 적용한 저장 장치 | |
| US20120072755A1 (en) | Method of controlling operation mode of storage device, and storage device implementing the storage | |
| KR20020011996A (ko) | 디스크 드라이브 제어기 회로 및 결함이 있고/있거나원하지 않는 섹터들을 공전하는 방법 | |
| KR101674015B1 (ko) | 데이터 저장 매체 액세스 방법과 그와 같은 기능을 갖는 데이터 저장 장치 및 기록 매체 | |
| US20130031317A1 (en) | Method and apparatus for redirecting data writes | |
| KR20120121742A (ko) | 주소 사상 정보 관리 방법, 디스크 드라이브에서의 액세스 방법, 네트워크를 통한 주소 사상 정보 관리 방법과 이를 적용한 저장 장치, 컴퓨터 시스템 및 저장매체 | |
| US20080025706A1 (en) | Information recording apparatus and control method thereof | |
| KR20120121741A (ko) | 데이터 리드 방법 및 이를 적용한 저장 장치 | |
| KR20060042133A (ko) | 데이터 기억 장치, 그 제어 방법 및 자기 디스크 기억 장치 | |
| JP5598984B2 (ja) | ライト欠陥復旧方法、データ保存装置及び記録媒体 | |
| JP5564314B2 (ja) | コードの動的再配置方法及びこれを利用した装置 | |
| US9389803B2 (en) | Method for controlling interface operation and interface device applying the same | |
| CN110289022B (zh) | 盘装置 | |
| JP2007034537A (ja) | 複合型記憶装置、データ書込方法及びプログラム | |
| KR20110048776A (ko) | 기록매체의 디펙 처리 방법과 이를 적용한 데이터 저장 장치 및 저장매체 | |
| JP2011076707A (ja) | 記録媒体のゾーンレイアウト設定方法、データ記録装置、ディスクドライブ及び記録媒体 | |
| JP2014142748A (ja) | 記憶装置およびその制御方法 | |
| US20150026427A1 (en) | Data reassign method and storage device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20130401 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130405 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130405 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130520 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131008 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140106 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140422 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140521 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140610 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140616 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5564314 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |