KR100796798B1 - O/s registry backup method in set-top box - Google Patents
O/s registry backup method in set-top box Download PDFInfo
- Publication number
- KR100796798B1 KR100796798B1 KR1020070024160A KR20070024160A KR100796798B1 KR 100796798 B1 KR100796798 B1 KR 100796798B1 KR 1020070024160 A KR1020070024160 A KR 1020070024160A KR 20070024160 A KR20070024160 A KR 20070024160A KR 100796798 B1 KR100796798 B1 KR 100796798B1
- Authority
- KR
- South Korea
- Prior art keywords
- registry
- backup
- backrest
- top box
- file
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4435—Memory management
-
- 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/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/16—Protection against loss of memory contents
Abstract
Description
도 1은 본 발명에 따른 셋탑 박스의 구성을 도시한 블럭도,1 is a block diagram showing the configuration of a set-top box according to the present invention;
도 2는 본 발명에 따른 윈도우 CE 레지스트리 백업 개념을 도시한 도면,2 is a diagram illustrating a Windows CE registry backup concept according to the present invention;
도 3은 본 발명에 따른 셋탑 박스의 로딩 절차를 절차를 도시한 순서도,3 is a flowchart illustrating a procedure of a loading procedure of the set-top box according to the present invention;
도 4는 본 발명에 따른 셋탑 박스에서 레지스트리 백업 절차를 도시한 순서도이다.4 is a flowchart illustrating a registry backup procedure in a set-top box according to the present invention.
*도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10: 셋탑 박스 11: 키입력부10: set top box 11: key input
12: 마이크로프로세서 13: RAM12: microprocessor 13: RAM
14: 스토리지(DOM) 15: 셋탑 메인부14: Storage (DOM) 15: Set Top Main Section
본 발명은 셋탑 박스에 탑재되는 임베디드 운영체계의 레지스트리 백업 방법에 관한 것으로, 더욱 상세하게는 레지스트리 데이터를 텍스트 파일 형태로 백업하여 레지스트리값을 확인하거나 수정하기 용이하도록 하는 셋탑 박스에서 윈도우 CE 레지스트리 백업 방법에 관한 것이다.The present invention relates to a method for backing up a registry of an embedded operating system mounted on a set-top box, and more particularly, to a method for backing up a Windows CE registry in a set-top box that makes it easy to check or modify a registry value by backing up the registry data as a text file. It is about.
최근들어, 가전제품의 고기능화 및 지능화에 따라 IPTV나 위성방송수신기, 이동단말기 등에 임베디드 운영체계(O/S)가 탑재되는 추세이다. 임베디드 운영체계로 널리 사용되는 윈도우 CE는 Windows CE용 셋탑 박스의 레지스트리(Registry)를 저장함으로서 셋탑 박스가 다시 부팅 될 때에도 해당 해당 레지스트리(Registry) 값을 유지할 필요가 있다. 즉, 윈도우 CE는 임베디드 운영체계라는 특성상 하드 디스크(Hard disk)가 없는 경우가 많다. 이 경우 플레쉬 메모리 즉 DOM에 OS가 구동되거나 셋탑이 실행되는데 필요한 ID, PWD, WEB URL 등 필요한 정보를 저장해야 할 필요성이 생기게 된다. In recent years, embedded operating systems (O / S) are being installed in IPTVs, satellite broadcasting receivers, mobile terminals, etc. according to the high functionalization and intelligence of home appliances. Windows CE, which is widely used as an embedded operating system, stores the registry of the set-top box for Windows CE so that the registry value needs to be maintained even when the set-top box is rebooted. In other words, Windows CE does not have a hard disk because of its embedded operating system. In this case, there is a need to store necessary information such as ID, PWD, WEB URL, etc. required to run the OS or set-top in flash memory, that is, DOM.
종래에 레지스트리 백업을 위해 윈도우 시이(Windows CE)에서는 레지스트리 하이브 라는 기능을 사용한다. 레지스트리 하이브 기능은 레지스트리의 내용을 플레쉬 메모리로 저장하는 방법이다.Traditionally, Windows CE uses a registry hive to back up the registry. The registry hive function is a method of storing the contents of the registry into flash memory.
그런데 레지스트리 하이브 기능을 이용하면 플레쉬 메모리로 레지스트리를 저장하나 레지스트리의 형식이 바이러리 파일이므로 메모장 같은 텍스트 편집기를 이용하여 편집할수 없고, 해당 내용을 눈으로 보고 분석하기 어려운 문제점이 있다. 즉, 마이크로소프트사(Microsoft)에서 제공하는 레지스트리(registry) 저장방법은 이진수 형태의 파일이 눈으로 알아보기 힘들게 저장된다. By using the registry hive function, however, the registry is stored in flash memory. However, since the registry is a binary file, the registry cannot be edited using a text editor such as Notepad. In other words, in the registry storage method provided by Microsoft, a binary file is hardly recognized.
본 발명은 상기와 같은 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은 레지스트리 데이터를 텍스트 파일 형태로 백업하여 레지스트리 값을 확인하거나 수정하기 용이하도록 하는 셋탑 박스에서 운영체계의 레지스트리 백업 방법을 제공하는 것이다.The present invention has been proposed to solve the above problems, an object of the present invention to provide a registry backup method of the operating system in the set-top box to make it easy to check or modify the registry value by backing up the registry data in the form of a text file. It is.
상기와 같은 목적을 달성하기 위하여 본 발명의 방법은, 온/오프신호에 따라 셋탑 박스에 탑재된 임베디드 운영체계를 실행하는 방법에 있어서, 상기 셋탑 박스 온시에는 로딩과정을 수행하고, 상기 셋탑 박스 오프시에는 백업과정을 실행하되,In order to achieve the above object, the method of the present invention provides a method of executing an embedded operating system mounted on a set-top box according to an on / off signal. The backup process,
상기 로딩과정에서는 소정 스토리지(DOM)에 저장된 텍스트 타입 레지스트리 백업 파일을 읽어서 해당 정보를 레지스트리(Registry)에 저장하고,In the loading process, a text type registry backup file stored in a predetermined storage (DOM) is read, and the corresponding information is stored in a registry.
상기 백업과정에서는 소정 파일(backrest.ini)을 참조하여 레지스트리(Registry)의 값을 상기 스토리지(DOM)의 텍스트 타입 레지스트리 백업 파일로 저장하는 것을 특징으로 한다.In the backup process, a value of a registry is stored as a text type registry backup file of the storage DOM with reference to a predetermined file (restrest.ini).
또한 상기 로딩과정은, 운영체계를 로딩하는 단계; 상기 텍스트 타입의 레지스트리 백업 파일을 로드하여 레지스트리를 설정하는 단계; 상기 레지스트리 값에 따라 드라이버를 설정하는 단계; 및 상기 드라이버가 설정되면 상기 셋탑 박스를 동작시키기 위한 응용을 실행하는 단계로 구성되고, 상기 백업과정은, 소정 파일(backrest.ini)을 로드하는 단계; 소정 백업 프로그램을 실행하여 상기 파일(backrest.ini)을 참조하여 레지스트리의 값을 상기 스토리지(DOM)의 텍스트 타 입 레지스트리 백업 파일(backrest.txt)로 저장하는 단계로 구성된다.In addition, the loading process, the step of loading the operating system; Setting a registry by loading the text type registry backup file; Setting a driver according to the registry value; And executing an application for operating the set-top box when the driver is set, and the backup process includes: loading a predetermined file (backrest.ini); And executing a predetermined backup program to store a registry value as a text type registry backup file (backrest.txt) of the storage (DOM) with reference to the file (backrest.ini).
그리고 상기 소정 파일(Backrest.ini)은 저장할 레지스트리( registry)의 값(value)의 경로(path)를 갖고 있다.The predetermined file Backrest.ini has a path of a value of a registry to be stored.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 자세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 셋탑 박스의 구성을 도시한 블럭도이고, 도 2는 본 발명에 따른 윈도우 CE 레지스트리 백업 개념을 도시한 도면이다.1 is a block diagram showing the configuration of a set-top box according to the present invention, Figure 2 is a diagram showing a Windows CE registry backup concept according to the present invention.
IPTV 셋탑 박스나 위상방송 셋탑 박스와 같이 본 발명이 적용될 수 있는 통상의 셋탑 박스는 도 1에 도시된 바와 같이, 해당 메인 기능을 수행하는 셋탑 메인부(15)와, 사용자와의 인터페이스(UI)를 처리함과 아울러 사용자가 요구하는 바에 따라 셋탑 메인부(15)를 제어하는 제어부(11~14)로 구성된다. 제어부는 사용자들의 요구를 충족시키기 위해 고기능화되면서 마이크로프로세서(12), 키입력부(11), 메모리(13), 저장수단(14)으로 구성되며, 통상 윈도우 CE와 같은 임베디드 운영체계를 탑재하고 있다.A typical set-top box to which the present invention can be applied, such as an IPTV set-top box or a phase-broadcast set-top box, has a set-top
도 1을 참조하면, 셋탑 메인부(15)는 위성방송신호를 수신하거나 인터넷프로토콜방송을 수신하여 디스플레이하는 메인장치이고, 마이크로프로세서(12)는 전원이 온되면 롬(ROM)등에 저장된 펌웨어를 실행하여 스토리지(14)에 저장된 임베디드 운영체계 예컨대, 윈도우 CE를 메모리(RAM:13)에 로딩하여 운영체계를 실행함과 아 울러 셋탑 메인부(15)를 동작시키기 위한 응용 프로그램을 실행하여 키입력부(11)를 통해 입력되는 사용자 제어에 따라 셋탑 메인부(15)를 제어한다. 즉, 스토리지(14)는 상대적으로 용량이 크고 비휘발성인 메모리(DOM)로서, 소프트웨어가 저장되어 있으나 마이크로프로세서(12)가 접근하는데 시간이 걸리므로 고속으로 억세스할 수 있는 램(13)에 실행파일을 올려 놓고 실행한다.Referring to FIG. 1, the set-top
그리고 운영체계는 실행에 필요한 주요 설정 정보를 레지스트리에 저장하고 있는데, 레지스트리 값은 전원이 오프되더라도 보관되어야 하므로 도 2에 도시된 바와 같이 스토리지(14)에 백업된 데이터(backerst.txt;23)를 메모리의 O/S 레지스트리(24) 영역으로 로딩하는 과정과, 레지스트리(24)에 저장된 데이터를 백업하는 과정을 전원의 온/오프에 따라 반복적으로 실행한다. 이때 본 발명에 따른 레지스트리 백업 방법에서는 레지스트리 값을 텍스트 파일 형태로 백업하므로 백업된 레지스트리 값을 읽어 볼 수 있어 유지보수를 용이하게 할 수 있음과 아울러 텍스트 에디터를 이용하여 레지스트리 값을 쉽게 정정할 수 있다.In addition, the operating system stores key configuration information necessary for execution in the registry. Since the registry value should be kept even when the power is turned off, the data backed up to the storage 14 (backerst.txt; 23) as shown in FIG. The process of loading into the O /
도 2를 참조하면, 셋탑 박스의 전원이 온되면 본 발명에 따른 백 레스트로드(Backrest load;21)가 실행되어는 스토리지에 저장된 backrest.txt 파일(23)로부터 데이터를 가져와 실행가능한 바이너리값으로 레지스트리(24)에 저장하고(로딩과정), 전원이 오프되면 backrest.ini 파일(25)을 참조하여 레지스트리(24)에 저장된 바이너리값을 backrest.txt 파일(23)에 텍스트 형태로 백업한다(백업과정). 이와 같이 본 발명에 따르면 윈도우 시이(Windows CE)의 레지스트리를 "INI" 형태의 "TXT" 파일로 저장한다. 이를 위해 'backlist.ini'라는 INI 형태의 파일을 만들고, 해당 파일에는 저장하고자 하는 레지스트리(Rgistry)의 값이 위치한 경로(path)가 저장되어 있다. 이 'backrest.ini'를 읽어서 해당 레지스트리 경로(registry path)의 값을 backrest.txt로 저장하게 된다. 'backrest.txt'는 TXT 파일 형태로 외부의 TXT 편집기를 통하여 편집하기 용이하고, 사용자로 하여금 해당 내용을 보고 레지스트리(registry)의 값을 짐작할 수 있게 된다.Referring to FIG. 2, when the power of the set-top box is turned on, the backrest load (21) according to the present invention executes the data from the
도 3은 본 발명에 따른 셋탑 박스의 로딩 절차를 도시한 순서도이다.3 is a flowchart illustrating a loading procedure of the set-top box according to the present invention.
도 3을 참조하면, 셋탑 박스가 온되면 운영체계를 로딩한다(OS Load)(S301,S302). 운영체계 로드과정에서는 OS 이미지(Image)를 DOM 메모리(Memory)에서 읽어 들인다.Referring to FIG. 3, when the set-top box is turned on, an operating system is loaded (OS Load) (S301 and S302). The operating system load process loads the OS image from the DOM memory.
이어 본 발명에 따라 레지스트리를 관리하는 백레스트 프로그램을 실행(Run Backrest)한다(S303). 백레스트 실행은 DOM(14)에 저장된 레지스트리(registry )값을 읽기 위하여 백레스트(backrest)라는 프로그램을 시작하는 것이다.Then, according to the present invention, the backrest program for managing the registry is executed (Run Backrest) (S303). Backrest execution starts a program called backrest to read the registry values stored in the
이어 DOM(14)에 저장된 backrest.txt라는 파일을 읽어서 해당 정보를 OS의 레지스트리(Registry)에 설정한다(S304,S305).Subsequently, a file called backrest.txt stored in the
이어 드라이버를 설정(Set Driver)하는 과정에서 보드나 주변기기 등의 드라이버들을 설정한다(S306). 이때 각 드라이버(Driver)는 레지스트리의 값에 따라 동작한다.Subsequently, in the process of setting a driver, drivers such as a board or a peripheral device are set (S306). At this time, each driver operates according to the value of the registry.
이후, 응용 프로그램을 실행하여 셋탑 박스가 수행하고자 하는 메인 기능을 처리한다(S307).Thereafter, an application program is executed to process the main function to be performed by the set-top box (S307).
도 4는 본 발명에 따른 셋탑 박스에서 레지스트리 백업 절차를 도시한 순서 도이다.4 is a flowchart illustrating a registry backup procedure in a set-top box according to the present invention.
도 4를 참조하면, 사용자가 키입력을 통해 셋탑 박스를 오프하면 셋탑을 종료하기 시작한다(S401).Referring to FIG. 4, when the user turns off the set-top box through key input, the set-top starts to be terminated (S401).
먼저, 본 발명에 따라 레지스트리를 백업하는 프로그램인 백레스트를 실행하여 백레스트(backrest) 프로그램이 "backrest.ini"를 참조하여 레지스트리(Registry)의 값을 DOM(14)의 "backrest.txt"로 저장한다(S402~S404). 이때, "backrest.ini"는 저장할 레지스트리(registry)의 값(value)의 경로(path)를 갖고 있다.First, according to the present invention, the backrest, which is a program for backing up the registry, is executed so that the backrest program refers to "backrest.ini" and changes the value of the registry to "backrest.txt" of the
이어 레지스트리(Registry)를 저장하였으면 파워를 오프하여 셋탑을 종료한다(S405).Subsequently, if the registry is stored, the power is turned off to terminate the set-top (S405).
본 발명은 상기한 실시예에 한정되지 않으며, 본 발명이 속한 기술적 사상 내에서 당 분야의 통상의 지식을 가진 자에 의해 많은 변형이 가능함은 명백하다.The present invention is not limited to the above-described embodiments, and it is apparent that many modifications are possible by those skilled in the art within the technical spirit to which the present invention belongs.
이상에서 설명한 바와 같이, 본 발명에 따르면 레지스트리 값을 텍스트 파일 형태로 백업하므로 백업된 레지스트리 값을 읽어 볼 수 있어 유지보수를 용이하게 할 수 있음과 아울러 텍스트 에디터를 이용하여 레지스트리 값을 쉽게 정정할 수 있다.As described above, according to the present invention, since the registry values are backed up in the form of a text file, the backed up registry values can be read to facilitate maintenance, and the registry values can be easily corrected using a text editor. have.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070024160A KR100796798B1 (en) | 2007-03-12 | 2007-03-12 | O/s registry backup method in set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070024160A KR100796798B1 (en) | 2007-03-12 | 2007-03-12 | O/s registry backup method in set-top box |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100796798B1 true KR100796798B1 (en) | 2008-01-22 |
Family
ID=39218846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070024160A KR100796798B1 (en) | 2007-03-12 | 2007-03-12 | O/s registry backup method in set-top box |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100796798B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101624170B1 (en) | 2014-03-03 | 2016-05-25 | 주식회사 틸론 | Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file |
-
2007
- 2007-03-12 KR KR1020070024160A patent/KR100796798B1/en not_active IP Right Cessation
Non-Patent Citations (1)
Title |
---|
한국 공개특허공보 제1995-57206호(1995.12.26) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101624170B1 (en) | 2014-03-03 | 2016-05-25 | 주식회사 틸론 | Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8769256B2 (en) | Fast switching between multiple operating systems using standby state | |
KR101512252B1 (en) | Method of provisioning firmware in an operating system (os) absent services environment | |
CN105760200A (en) | Terminal device and system updating method thereof | |
KR101292429B1 (en) | Fast booting an operating system from an off state | |
CN103106092A (en) | System software updating method and device in terminal appliance | |
CN102360298A (en) | Software upgrading method of terminal equipment | |
EP3514686B1 (en) | Display apparatus and method of operating the same | |
KR101813641B1 (en) | Image forming apparatus and method for booting the same having hibernation function | |
US7418542B2 (en) | Rewritable, nonvolatile memory, electronic device, method of rewriting rewritable, nonvolatile memory, and storage medium having stored thereon rewrite program | |
RU2009105127A (en) | CHANGES IN THE CONDITION OF THE ENVIRONMENT FOR CHANGE OF FUNCTIONAL CAPABILITIES | |
KR100796798B1 (en) | O/s registry backup method in set-top box | |
US9851964B2 (en) | Process management providing operating mode switching within an electronic device | |
US8578368B2 (en) | Injecting a file from the bios into an operating system | |
US10007529B2 (en) | Data terminal running mode switching method, device, and data terminal | |
US7725705B2 (en) | Bios setting method | |
JP4608013B2 (en) | Computer device, computer start processing method, and computer start processing program | |
CN103902317A (en) | Operating method and electronic device | |
CN113721959A (en) | Information processing method and device and electronic equipment | |
US8694743B2 (en) | Information processing apparatus and method of backing up memory in said apparatus | |
CN111819859A (en) | Display device and operation method thereof | |
KR100588199B1 (en) | Method for recovering download mode in program download fail state of portable terminal, and portable terminal employing it | |
CN115525466A (en) | Log reading method, system, device, equipment and computer readable storage medium | |
CN111176793A (en) | Method, system, electronic device and storage medium for realizing cross-platform format conversion of virtual machine | |
CN114356659A (en) | Restarting method and apparatus, terminal device and storage medium | |
CN114064075A (en) | Application program updating method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120104 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20130115 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |