KR20080057688A - Method for booting operating system using of non volatile memory - Google Patents
Method for booting operating system using of non volatile memory Download PDFInfo
- Publication number
- KR20080057688A KR20080057688A KR1020060131284A KR20060131284A KR20080057688A KR 20080057688 A KR20080057688 A KR 20080057688A KR 1020060131284 A KR1020060131284 A KR 1020060131284A KR 20060131284 A KR20060131284 A KR 20060131284A KR 20080057688 A KR20080057688 A KR 20080057688A
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- operating system
- boot loader
- boot
- booting
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000008569 process Effects 0.000 claims abstract description 21
- 230000006266 hibernation Effects 0.000 claims abstract description 13
- 230000006870 function Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline or look ahead
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Description
도 1은 본 발명의 일 실시예에 따른 비휘발성 메모리를 이용한 운용체계 부팅 방법을 설명하기 위한 컴퓨터 시스템 구성도,1 is a configuration diagram of a computer system for explaining an operating system booting method using a nonvolatile memory according to an embodiment of the present invention;
도 2는 본 발명의 바람직한 실시예에 따른 비휘발성 메모리를 이용한 운영체계 부팅 방법을 설명하는 흐름도.2 is a flowchart illustrating a method for booting an operating system using a nonvolatile memory according to a preferred embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
100 : 비휘발성 메모리 102 : 부트 로더 영역100: nonvolatile memory 102: boot loader area
200 : 메인 메모리 201∼204 : 쓰레드200:
300∼306 : 디바이스300 to 306: device
본 발명은 컴퓨터 시스템이 적용되는 디지털 가전제품에서의 운영체계 부팅 기술에 관한 것으로, 특히 가전제품의 인스턴트 온(Instant On) 기술과 관련하여 부팅 소요 시간을 최소화하는데 적합한 비휘발성 메모리를 이용한 운영체계 부팅 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an operating system booting technology in a digital home appliance to which a computer system is applied. Particularly, an operating system booting method using a nonvolatile memory suitable for minimizing a booting time in connection with an instant on technology of a home appliance It is about a method.
퍼스널 컴퓨터들과 같은 컴퓨터 시스템들은, 컴퓨터 운영체계가 로딩되는 동안 초기화 프로시져(procedure)를 종종 이용한다. 일반적으로 컴퓨터 시스템용 운영체계는 자기 하드디스크 드라이브와 같은 비휘발성 저장매체 상에 저장되는데, 컴퓨터 시스템의 프로세서는 DRAM과 같은 주소화 메모리(addressable memory)인 소위 시스템 메모리로부터의 명령들을 실행한다.Computer systems, such as personal computers, often use an initialization procedure while the computer operating system is loading. In general, an operating system for a computer system is stored on a nonvolatile storage medium, such as a magnetic hard disk drive, in which the processor of the computer system executes instructions from so-called system memory, which is addressable memory such as DRAM.
상기 주소화 메모리를 초기화하기 위해, 소량의 비휘발성 부트-업 메모리(boot-up memory)가 전용 메모리에 일반적으로 제공된다. 전용 메모리는 운영체계의 처음 일부를 하드디스크 드라이브로부터 판독하고 그것을 시스템 메모리에 로딩하는데 사용되는 소위 기본 입/출력(BIOS) 프로그램과 같은 프로그램을 포함한다.In order to initialize the addressable memory, a small amount of nonvolatile boot-up memory is generally provided in dedicated memory. Dedicated memory includes programs such as so-called basic input / output (BIOS) programs that are used to read the first part of the operating system from the hard disk drive and load it into system memory.
이러한 운영체계의 일부는 이후 운영체계의 나머지 부분들을 로딩하고 초기화할 수 있다. 이 프로세스는 일반적으로 운영체계를 "부팅(booting)"하는 것으로 지칭된다. 컴퓨터가 자기 자신을 초기화하거나 "부팅"한 후, 컴퓨터는 일반적으로 사용자가 일부 프로그램이나 프로세스를 초기화할 준비가 된 디폴트(default) 상태에 있게 된다. 일반적으로 컴퓨터 시스템은 사용자의 과거 동작들에 상관없이 모든 초기화 동작 후에 동일한 상태에 있게 된다.Some of these operating systems can then load and initialize the rest of the operating system. This process is generally referred to as "booting" the operating system. After the computer initializes or "boots" itself, the computer is generally in a default state where the user is ready to initialize some program or process. In general, the computer system is in the same state after all initialization operations, regardless of past user actions.
한편, 하이버네이션이라 함은, 퍼스널 컴퓨터의 전원이 꺼짐과 동시에 직전까지 실행하던 작업 내용을 비휘발성 메모리인 하드디스크 드라이브(HDD)에 자동적으로 보존하는 기능을 말한다. 정지(suspend), 점유(resume)에서는 대기 상태라도 약간의 전력을 소비하기 때문에 정지 상태로 오랫동안 방치하면 데이터가 소실될 우려가 있으나, 하이버네이션 시스템에서는 기억용량을 유지하기 위해서 전력을 소모하지 않기 때문에 데이터 소실 염려는 없으며 절전 효과도 있다. 다만, 하드디스크 상에 데이터 보존용 영역(부트 로더(boot loader) 영역)을 미리 확보해야 하기 때문에 프로그램이나 데이터를 복제, 보존해 두는 것을 전제로 한 백업(backup)과는 다른 개념이다. 즉, 백업은 시스템의 파손이나 장애에 대비하기 위한 사전조치(데이터의 복제, 보존)이지만 하이버네이션은 실행 중인 작업 내용의 소실 방지를 위한 동시 조치라고 할 수 있다.On the other hand, the hibernation refers to a function of automatically saving work contents which have been executed until the time when the personal computer is turned off to the hard disk drive (HDD) which is a nonvolatile memory. In suspend and resume, some power is consumed even in the standby state. Therefore, data may be lost if left in the suspended state for a long time, but in hibernation system, data is not consumed to maintain memory capacity. There is no risk of loss and it also saves energy. However, since a data storage area (boot loader area) must be secured on the hard disk in advance, it is a different concept from a backup on the premise that a program or data is copied and stored. In other words, backup is a precautionary measure (copying and preserving data) in case of system breakdown or failure, but hibernation is a simultaneous measure to prevent the loss of work in progress.
요약하면, 일반적인 운영체계 부팅 기술은 OS(Operating System) 커널을 부트 로더에서 메인 프로세스 및 메인 메모리로 전달하는 일련의 초기화 과정을 거치나, 하이버네이션 시스템에서는 하드디스크와 같은 메인 메모리에 부트 로드 영역을 따로 마련하여 시스템의 전원을 끈 다음 다시 기동시킬 때 메인 프로세스 및 메인 메모리의 초기화 과정이 필요 없기 때문에, 부팅 속도가 빠르고 절전 효과를 기대할 수 있다.In summary, typical operating system booting techniques go through a series of initialization processes that pass the operating system (OS) kernel from the boot loader to the main process and main memory, whereas in a hibernation system, the boot load region is separated from main memory such as a hard disk. When the system is powered off and restarted, the initialization process of the main process and main memory is not necessary, so the booting speed is fast and the power saving effect can be expected.
다른 한편, 전자기술의 발달로 인해 최근 출시되는 디지털 가전제품에는 상기와 같은 운용체계를 기본적으로 탑재하고 있으며, 더 나아가서 인스턴트 온(즉시 시동) 기술과 관련된 하이버네이션 기법이 적용되고 있는 추세다.On the other hand, due to the development of electronic technology, recently released digital home appliances are basically equipped with the above operating system, and moreover, hibernation techniques related to instant on (immediate start) technology are being applied.
가전제품에서의 하이버네이션 기법은 일반적인 퍼스널 컴퓨터에서의 그것과는 차별화될 필요가 있다. 예컨대, 노트북에서 전원을 켜지 않은 상태로 DVD나 MP3를 재생하는 경우가 발생할 수 있으며, 이 경우, 퍼스널 컴퓨터에서의 하이버네이션 기법과 비교하여 보다 빠른 응답 시간과 향상된 부팅 기술이 요구된다.Hibernation techniques in home appliances need to be differentiated from those in ordinary personal computers. For example, a laptop may play DVDs or MP3s without powering on, which requires faster response times and improved booting techniques compared to hibernation techniques in personal computers.
본 발명은 상술한 종래 기술의 필요성을 감안한 것으로, 부트 로더가 실행되면 병렬 쓰레드 기법을 적용하여 디바이스 초기화를 수행함으로써 하이버네이션 기능 적용시 부팅 시간을 획기적으로 단축시킬 수 있는 비휘발성 메모리를 이용한 운용체계 부팅 방법을 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION In view of the necessity of the above-described prior art, an operating system booting using a nonvolatile memory that can dramatically shorten the booting time when a hibernation function is applied by performing a device initialization by applying a parallel thread technique when a boot loader is executed. The purpose is to provide a method.
본 발명의 다른 목적은, 시스템의 초기화 완료 후 부트 로더 영역에서 비휘발성 메모리로 메모리 투 메모리(memory to memory) 기법을 적용하여 메인 이미지를 전달함으로써 처리 속도를 향상시킬 수 있는 비휘발성 메모리를 이용한 운용체계 부팅 방법을 제공하는데 있다.Another object of the present invention is to use a non-volatile memory that can improve the processing speed by transferring a main image by applying a memory to memory technique to the non-volatile memory in the boot loader area after the initialization of the system To provide a way to boot the system.
이러한 목적을 달성하기 위한 본 발명의 바람직한 실시예에 따르면, 하이버네이션 기법이 적용되는 가전제품의 운영체계를 부팅하는 방법으로서, 운영체계 로더가 개시되면 부트 로더 실행이 완료되는지를 판단하는 단계와, 상기 부트 로더 실행이 완료되면 비휘발성 메모리의 부트 로더 영역을 제외하고 디바이스 초기화 과정을 진행하는 단계와, 디바이스 초기화 과정이 완료되면 상기 부트 로더 영역에서 상기 비휘발성 메모리로 메인 이미지를 전달하는 단계와, 메인 이미지 출력이 완료되면 메인 메모리의 부팅 과정을 완료하는 단계를 포함하는 비휘발성 메모리를 이용한 운영체계 부팅 방법을 제공한다.According to a preferred embodiment of the present invention for achieving this object, a method of booting an operating system of a home appliance to which the hibernation technique is applied, determining whether the boot loader execution is completed when the operating system loader is started; Performing a device initialization process excluding the boot loader area of the nonvolatile memory when execution of the boot loader is completed; transferring a main image from the boot loader area to the nonvolatile memory when the device initialization process is completed; When the image output is completed, the method provides a method of booting an operating system using nonvolatile memory, which includes completing a booting process of main memory.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다. 하기에서 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일 한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention. In the following description of the reference numerals to the components of the drawings, it should be noted that the same reference numerals for the same components, even if displayed on different drawings as possible.
도 1은 본 발명의 일 실시예에 따른 비휘발성 메모리를 이용한 운영체계 부팅 방법을 설명하기 위한 컴퓨터 시스템 구성도로서, 비휘발성 메모리(100), 메인 메모리(200), 디바이스(300, 302, 304, 306)를 포함한다.1 is a block diagram illustrating a computer system for explaining an operating system booting method using a nonvolatile memory according to an embodiment of the present invention. The
도 1에 도시한 바와 같이, 비휘발성 메모리(100)는 플래시 메모리(flash memory)로서, 전원이 꺼져도 기록상태를 유지하는 BIOS나 CMOS 등을 예로 들 수 있다.As shown in FIG. 1, the
이와 같은 비휘발성 메모리(100)에는, 본 실시예에 따라 시스템 부팅을 위한 부트 로더 영역(102)이 따로 마련되어 있으며, 후술하는 바와 같이 초기화가 완료되면 상기 부트 로더 영역(102)에서 비휘발성 메모리(100)로 메인 이미지를 전달한다. 즉, 동일한 메모리 영역 내에서 메모리 투 메모리 기법을 적용하여 메인 이미지를 전달함으로써, 처리 속도가 현저히 상승할 수 있다.The
메인 메모리(200)는 운영체계 로더가 개시되면 디바이스들(300, 302, 304, 306)의 초기화를 수행하는 역할을 하는 것으로, 본 실시예에 따르면 다중 파이프라인(pipeline) 개념의 병렬 쓰레드 기법이 적용되는 것을 특징으로 한다. 즉, 각각의 디바이스(300, 302, 304, 306)에 대한 초기화를 병렬 쓰레드로 처리함으로써 초기화 시간을 획기적으로 단축할 수 있다.The
도 2는 본 발명의 바람직한 실시예에 따른 비휘발성 메모리를 이용한 운영체계 부팅 방법을 설명하는 흐름도이다.2 is a flowchart illustrating an operating system booting method using a nonvolatile memory according to an exemplary embodiment of the present invention.
도 2에 도시한 바와 같이, 운영체계 로더가 개시되면(S200), 메인 메모리(200)에서는 부트 로더 실행이 완료되는지를 판단한다(S202).As shown in FIG. 2, when the operating system loader is started (S200), the
부트 로더 실행이 완료되면, 메인 메모리(200)는 비휘발성 메모리(100)의 부트 로더 영역(102)을 제외하고 디바이스 초기화 과정을 진행한다. 이때의 디바이스 초기화 과정은, 다중 파이프라인 개념의 병렬 쓰레드 기법이 적용되는 것을 특징으로 한다. 즉, 본 실시예에서는 각각의 디바이스(300, 302, 304, 306)에 대한 초기화를 병렬 쓰레드로 처리함으로써 초기화 시간을 획기적으로 단축할 수 있다.When execution of the boot loader is completed, the
이후, 메인 메모리(200)에서는 디바이스 초기화 과정이 완료되는지를 판단하고(S206), 디바이스 초기화 과정이 완료되면 부트 로더 영역(102)에서 비휘발성 메모리(100)로 메인 이미지를 전달한다(S208). 이때의 메인 이미지 전달은, 메모리 투 메모리 기법이 적용되는 것을 특징으로 한다. 즉, 동일한 메모리 영역 내에서 메인 이미지를 전달함으로써 처리 속도가 획기적으로 향상될 수 있다.Thereafter, the
메인 이미지 출력이 완료되면(S210), 메인 메모리(200)는 부팅을 완료하고 본 과정을 종료한다(S212).When the main image output is completed (S210), the
이상 설명한 바와 같이, 본 발명은 하이버네이션 기법이 적용되는 가전제품의 운영체계를 부팅함에 있어서 병렬 쓰레드 기법으로 디바이스를 초기화하고 부트 로더 영역에서 비휘발성 메모리로 메인 이미지를 전달하도록 구현한 것이다.As described above, the present invention is implemented to initialize the device in a parallel thread technique and to transfer the main image from the boot loader region to the nonvolatile memory in booting the operating system of the home appliance to which the hibernation technique is applied.
본 발명에 의하면, 하이버네이션 기법이 적용되는 가전제품의 운영체계를 부팅함에 있어서 병렬 쓰레드 기법으로 디바이스를 초기화하고 부트 로더 영역에서 비휘발성 메모리로 메인 이미지를 전달하도록 함으로써, 시스템 초기화 시간을 대폭적으로 단축시키고 처리 속도를 크게 향상시키는 효과가 있다.According to the present invention, by booting the operating system of the home appliance to which the hibernation technique is applied, by initializing the device by the parallel thread technique and transferring the main image from the boot loader region to the nonvolatile memory, the system initialization time can be drastically reduced. This has the effect of greatly improving the processing speed.
이상, 본 발명을 실시예에 근거하여 구체적으로 설명하였지만, 본 발명은 이러한 실시예에 한정되는 것이 아니라, 후술하는 특허청구범위의 기술적 사상과 범주 내에서 여러 가지 변형이 가능한 것은 물론이다.As mentioned above, although this invention was demonstrated concretely based on the Example, this invention is not limited to such an Example, Of course, various deformation | transformation are possible for it within the technical idea and the scope of a claim mentioned later.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060131284A KR20080057688A (en) | 2006-12-20 | 2006-12-20 | Method for booting operating system using of non volatile memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060131284A KR20080057688A (en) | 2006-12-20 | 2006-12-20 | Method for booting operating system using of non volatile memory |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080057688A true KR20080057688A (en) | 2008-06-25 |
Family
ID=39803436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060131284A KR20080057688A (en) | 2006-12-20 | 2006-12-20 | Method for booting operating system using of non volatile memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080057688A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100095904A (en) * | 2009-02-23 | 2010-09-01 | 삼성전자주식회사 | Computing system, booting method and code/data pinning method thereof |
KR20130097826A (en) * | 2012-02-26 | 2013-09-04 | 인포뱅크 주식회사 | Recording medium, method and device for program operation |
US9158475B2 (en) | 2009-05-22 | 2015-10-13 | Samsung Electronics Co., Ltd. | Memory apparatus and method therefor |
KR20180033154A (en) * | 2018-03-21 | 2018-04-02 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034354A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034355A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
-
2006
- 2006-12-20 KR KR1020060131284A patent/KR20080057688A/en not_active Application Discontinuation
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100095904A (en) * | 2009-02-23 | 2010-09-01 | 삼성전자주식회사 | Computing system, booting method and code/data pinning method thereof |
US8856503B2 (en) | 2009-02-23 | 2014-10-07 | Samsung Electronics Co., Ltd. | Computing system, booting method and code/data pinning method thereof |
US9158475B2 (en) | 2009-05-22 | 2015-10-13 | Samsung Electronics Co., Ltd. | Memory apparatus and method therefor |
KR20130097826A (en) * | 2012-02-26 | 2013-09-04 | 인포뱅크 주식회사 | Recording medium, method and device for program operation |
KR101869425B1 (en) * | 2012-02-26 | 2018-06-20 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180033154A (en) * | 2018-03-21 | 2018-04-02 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034354A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034355A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8464257B2 (en) | Method and system for reducing power loss to backup IO start time of a storage device in a storage virtualization environment | |
TWI436199B (en) | Method and controller for power management | |
JP5565778B2 (en) | Hibernate or suspend method and system utilizing non-volatile memory device | |
JP4422136B2 (en) | Storage device and activation method | |
TWI459294B (en) | Bios update method and computer system for using the same | |
JP5860543B2 (en) | Boot data loading | |
US9658863B2 (en) | Information processing apparatus and control method therefor | |
TW201525869A (en) | System and method for dual OS memory switching | |
KR20140118093A (en) | Apparatus and Method for fast booting based on virtualization and snapshot image | |
CN114879828A (en) | Firmware interface with persistent memory storage | |
US8996852B2 (en) | Electronic device and booting method thereof | |
KR20080057688A (en) | Method for booting operating system using of non volatile memory | |
TWI546661B (en) | Resuming a system using state information | |
KR100994723B1 (en) | selective suspend resume method of reducing initial driving time in system, and computer readable medium thereof | |
KR101582919B1 (en) | Electronic apparatus and booting method of the same | |
TWI522924B (en) | Electronic device and operating system switching method thereof | |
JP3702233B2 (en) | Information processing system and program execution mode control method | |
Song et al. | FSL: Fast system launch through persistent computing with nonvolatile memory | |
TWI569129B (en) | System suspend method, system resume method and computer system using the same | |
CN105224399A (en) | The method of electronic installation and switching operating system thereof | |
JP2014531099A (en) | Switching operating context | |
JP2004185316A (en) | Storage device assisting execution of computer program in half-activated or activated state | |
TWM515156U (en) | Computer starting system | |
JP2008203966A (en) | Information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |