KR101624170B1 - Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file - Google Patents

Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file Download PDF

Info

Publication number
KR101624170B1
KR101624170B1 KR1020140025028A KR20140025028A KR101624170B1 KR 101624170 B1 KR101624170 B1 KR 101624170B1 KR 1020140025028 A KR1020140025028 A KR 1020140025028A KR 20140025028 A KR20140025028 A KR 20140025028A KR 101624170 B1 KR101624170 B1 KR 101624170B1
Authority
KR
South Korea
Prior art keywords
registry
ini
value
file
key
Prior art date
Application number
KR1020140025028A
Other languages
Korean (ko)
Other versions
KR20150103504A (en
Inventor
최백준
마영곤
Original Assignee
주식회사 틸론
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 주식회사 틸론 filed Critical 주식회사 틸론
Priority to KR1020140025028A priority Critical patent/KR101624170B1/en
Publication of KR20150103504A publication Critical patent/KR20150103504A/en
Application granted granted Critical
Publication of KR101624170B1 publication Critical patent/KR101624170B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing

Abstract

본 출원은 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체에 관한 것으로서, 특히 본 발명의 일 실시예에 의한 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법은, 상기 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하는 레지스트리분석단계; 상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하는 INI형식지정단계; 및 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 파싱(parsing)단계를 포함할 수 있다. The present invention relates to a registry conversion method for converting a registry of Windows into an INI file of a heterogeneous operating system, a computer device, and a recording medium readable by a computer. More particularly, the present invention relates to a registry of Windows, , A method of extracting a hierarchy structure between a key and a subkey of the registry and a type of a registry value stored in the key or subkey Registry analysis phase; A directory path of the INI file corresponding to the hierarchical structure of the registry is set to specify the format of the file name of the INI file and stored in the INI file according to the type of the registry value An INI format specifying step for specifying the type of the INI value; And generating an INI file having a directory path and a filename of the specified format using the keys and subkeys of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in the value of the INI value And a parsing step of matching and storing the name and the value data.

Description

윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체 {Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a registry conversion method for converting a Windows registry into an INI file of a heterogeneous operating system, a computer device, and a recording medium readable from a computer.

본 출원은 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체에 관한 것으로서, 특히 대량의 레지스트리를 사용자가 원하는 형식의 INI파일로 신속하고 정확하게 변환할 수 있는 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체에 관한 것이다.
The present invention relates to a registry conversion method for converting a registry of Windows into an INI file of a heterogeneous operating system, a computer device, and a recording medium readable by a computer, and more particularly to a method and apparatus for quickly and accurately converting a large amount of registry into an INI file of a desired format To a registry conversion method for converting a Windows registry into an INI file of a heterogeneous operating system, a computer device, and a computer readable recording medium.

레지스트리는 운영체제 내에서 운영되는 각종 응용소프트웨어 등의 세팅이나 옵션을 저장하기 위한 데이터베이스에 해당한다. 레지스트리는 모든 프로그램 및 하드웨어 세팅 및 상수값을 단일한 파일 구조에 위치시키도록 기능한다. 레지스트리는 2개의 기본 요소로 키(key) 및 레지스트리 밸류(value)를 포함한다. 레지스트리의 키는 파일폴더와 유사하다. 각각의 키는, 추가적인 서브키를 포함할 수 있는 서브키를 포함한다. 레지스트리 밸류는 레지스트리의 키 내부에 저장된 밸류명칭과 밸류데이터의 쌍을 포함한다. 밸류데이터는, 스트링값, 2진데이터, 부호 미표시 32비트 정수, unicode값, 멀티-스트링값, 리스트 및 64 비트 정수값을 가질 수 있다.
The registry corresponds to a database for storing settings and options of various application software operating in the operating system. The registry functions to place all program and hardware settings and constant values into a single file structure. The registry contains two basic elements, a key and a registry value. The keys in the registry are similar to file folders. Each key includes a subkey that may include an additional subkey. The registry value contains a pair of value name and value data stored in the key of the registry. Value data may have string values, binary data, 32-bit integers not represented, unicode values, multi-string values, lists, and 64-bit integer values.

공개특허공보 10-2011-0079762호 (2011.07.07)Published Patent Application No. 10-2011-0079762 (July 7, 2011)

본 출원은, 대량의 레지스트리를 사용자가 원하는 형식의 INI파일로 신속하고 정확하게 변환할 수 있는, 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체를 제공하고자 한다.
The present invention relates to a registry conversion method for converting a registry of Windows into an INI file of a heterogeneous operating system capable of quickly and accurately converting a large amount of registry into an INI file of a desired format by a user, .

본 발명의 일 실시예에 의한 레지스트리변환방법은, 윈도우즈(WINDOWS™)의 레지스트리(registry)를 이기종(heterogeneous) 운영체제의 INI(initialization)파일로 변환하는 레지스트리변환방법에 관한 것으로서, 상기 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하는 레지스트리분석단계; 상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하는 INI형식지정단계; 및 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 파싱(parsing)단계를 포함할 수 있다. A registry conversion method according to an embodiment of the present invention is a registry conversion method for converting a registry of WINDOWS ™ into an INI (initialization) file of a heterogeneous operating system, a registry analyzing step of extracting a hierarchical structure between a key and a subkey and a type of a registry value stored in the key or subkey; A directory path of the INI file corresponding to the hierarchical structure of the registry is set to specify the format of the file name of the INI file and stored in the INI file according to the type of the registry value An INI format specifying step for specifying the type of the INI value; And generating an INI file having a directory path and a filename of the specified format using the keys and subkeys of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in the value of the INI value And a parsing step of matching and storing the name and the value data.

여기서 상기 레지스트리분석단계는, 상기 레지스트리에 포함된 키와 상기 키에 포함된 서브키 사이의 부모-자식 관계를 이용하여 상기 레지스트리의 계층적 구조를 추출할 수 있다. Here, the step of analyzing the registry may extract the hierarchical structure of the registry using the parent-child relationship between the key included in the registry and the subkey contained in the key.

여기서 상기 레지스트리분석단계는, 상기 레지스트리의 키 또는 서브키에 포함된 레지스트리밸류의 종류로 문자열, 이진값, DWORD, 심볼링크, 다중 문자열값, 리소스 목록, 리소스 서술자, 리소스 요구목록, QWORD를 포함할 수 있다. The registry analyzing step may include a string value, a binary value, a DWORD, a symbol link, a multi-string value, a resource list, a resource descriptor, a resource request list, and a QWORD in a type of a registry value included in a key or a sub key of the registry .

여기서 상기 INI형식지정단계는, 하나의 디렉토리 내부에 복수개의 INI파일을 포함하도록 상기 INI파일의 디렉토리 패스를 설정하고, 상기 레지스트리의 키와 상기 키에 포함되는 서브키를 각각 언더바로 연결한 형태를 상기 INI파일의 파일명의 형식을 지정할 수 있다. Here, the INI format designation step may include setting a directory path of the INI file so as to include a plurality of INI files in one directory, and connecting the key of the registry and the subkeys included in the key to each other, The format of the file name of the INI file can be specified.

여기서 상기 INI형식지정단계는, 상기 레지스트리의 키와 서브키 사이의 계층구조에 따라 상기 INI파일이 부모-자식 관계의 디렉토리를 가지도록 상기 디렉토리 패스를 설정하고, 상기 레지스트리의 최하단 서브키를 상기 INI파일의 파일명으로 설정하도록 상기 INI파일의 형식을 지정할 수 있다. Wherein the INI format designation step sets the directory path so that the INI file has a parent-child relationship directory according to a hierarchical structure between a key of the registry and a subkey, The format of the INI file can be specified so as to set the file name of the file.

여기서 상기 INI형식지정단계는, 상기 INI파일에 포함되는 섹션의 섹션명을 기 설정된 형식에 따라 설정하는 단계를 더 포함할 수 있다.
The INI format designation step may further include setting a section name of a section included in the INI file according to a predetermined format.

본 발명의 일 실시예에 의하면, 상술한 방법을 실행하기 위한 프로그램이 기록된, 컴퓨터에서 판독가능한 기록매체가 있을 수 있다.
According to an embodiment of the present invention, there may be a computer-readable recording medium on which a program for executing the above-described method is recorded.

본 발명의 일 실시예에 의한 컴퓨터 장치는, 윈도우즈(WINDOWS™)의 레지스트리(registry)를 이기종(heterogeneous) 운영체제의 INI(initialization)파일로 변환하는 컴퓨터 장치에 관한 것으로서, 상기 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하는 레지스트리분석모듈; 상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하는 INI형식지정모듈; 및 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 파싱(parsing)모듈을 포함할 수 있다.
A computer apparatus according to an embodiment of the present invention is a computer apparatus for converting a registry of WINDOWS ™ into an INI (initialization) file of a heterogeneous operating system, A registry analysis module for extracting a hierarchical structure between a key and a subkey and a type of a registry value stored in the key or subkey; A directory path of the INI file corresponding to the hierarchical structure of the registry is set to specify the format of the file name of the INI file and stored in the INI file according to the type of the registry value An INI formatting module for specifying the type of INI value; And generating an INI file having a directory path and a filename of the specified format using the keys and subkeys of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in the value of the INI value And a parsing module for matching and storing the name and the value data.

본 발명의 일 실시예에 의한 컴퓨터 장치는, 프로세서; 및 상기 프로세서에 커플링된 메모리를 포함할 수 있으며, 상기 메모리는 상기 프로세서에 의하여 실행되도록 구성되는 하나 이상의 모듈을 포함하고, 상기 하나 이상의 모듈은, 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하고; 상기 레지스트리의 계층적 구조에 대응하는 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하며; 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 명령어를 포함할 수 있다.
A computer apparatus according to an embodiment of the present invention includes: a processor; And a memory coupled to the processor, the memory including one or more modules configured to be executed by the processor, wherein the one or more modules include a registry key and a subkey, Extracting a key depth and a type of a registry value stored in the key or subkey; A directory path of an INI file corresponding to the hierarchical structure of the registry is set to specify a format of a file name of the INI file and an INI file stored in the INI file according to the type of the registry value, Specifies the type of value; Generating an INI file having a directory path and a filename of the specified format using the key and sub key of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in a value name of the INI value And < RTI ID = 0.0 > value data. ≪ / RTI >

덧붙여 상기한 과제의 해결수단은, 본 발명의 특징을 모두 열거한 것이 아니다. 본 발명의 다양한 특징과 그에 따른 장점과 효과는 아래의 구체적인 실시형태를 참조하여 보다 상세하게 이해될 수 있을 것이다.
In addition, the means for solving the above-mentioned problems are not all enumerating the features of the present invention. The various features of the present invention and the advantages and effects thereof will be more fully understood by reference to the following specific embodiments.

본 발명의 일 실시예에 의한 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체에 의하면, 대량의 레지스트리를 사용자가 원하는 형식의 INI파일로 신속하고 정확하게 변환할 수 있다. According to the registry conversion method, the computer device, and the computer readable recording medium for converting a Windows registry into an INI file of a heterogeneous operating system according to an embodiment of the present invention, It can be converted accurately.

특히, 본 발명의 일 실시예에 의한 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체에 의하면, 윈도우즈 프로그램을 이기종의 운영체제로 이식(porting)하는 경우에, 레지스트리에 대응하는 데이터베이스를 생성하기 위한 필요한 시간과 비용, 인력 등의 소요를 최소화할 수 있다.
In particular, according to the registry conversion method, the computer apparatus, and the computer-readable recording medium for converting a Windows registry into an INI file of a heterogeneous operating system according to an embodiment of the present invention, the Windows program is ported to a heterogeneous operating system In this case, it is possible to minimize the time and cost required for creating a database corresponding to the registry, the labor, and the like.

도1 및 도2는 본 발명의 일 실시예에 의한 컴퓨터 장치를 나타내는 블록도이다.
도3은 본 발명의 일 실시예에 의한 레지스트리 변환방법을 나타내는 순서도이다.
1 and 2 are block diagrams showing a computer apparatus according to an embodiment of the present invention.
3 is a flowchart illustrating a registry conversion method according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 바람직한 실시예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시예를 상세하게 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. 또한, 유사한 기능 및 작용을 하는 부분에 대해서는 도면 전체에 걸쳐 동일한 부호를 사용한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, in order that those skilled in the art can easily carry out the present invention. In the following detailed description of the preferred embodiments of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In the drawings, like reference numerals are used throughout the drawings.

덧붙여, 명세서 전체에서, 어떤 부분이 다른 부분과 '연결'되어 있다고 할 때, 이는 '직접적으로 연결'되어 있는 경우뿐만 아니라, 그 중간에 다른 소자를 사이에 두고 '간접적으로 연결'되어 있는 경우도 포함한다. 또한, 어떤 구성요소를 '포함'한다는 것은, 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다.
In addition, in the entire specification, when a part is referred to as being 'connected' to another part, it may be referred to as 'indirectly connected' not only with 'directly connected' . Also, to "include" an element means that it may include other elements, rather than excluding other elements, unless specifically stated otherwise.

도1은 본 발명의 일 실시예에 의한 컴퓨터 장치를 나타내는 블록도이다.1 is a block diagram illustrating a computer apparatus according to an embodiment of the present invention.

도1을 참조하면, 본 발명의 일 실시예에 의한 컴퓨터 장치(100)는 레지스트리분석모듈(110), INI형식지정모듈(120) 및 파싱모듈(130)을 포함할 수 있다. Referring to FIG. 1, a computer apparatus 100 according to an exemplary embodiment of the present invention may include a registry analysis module 110, an INI format specification module 120, and a parsing module 130.

이하, 도1을 참조하여 본 발명의 일 실시예에 의한 컴퓨터 장치를 설명한다.
Hereinafter, a computer apparatus according to an embodiment of the present invention will be described with reference to FIG.

레지스트리(r, Registry)는 마이크로소프트(Microsoft)사의 운영체제(OS: Operation System)인 윈도우즈(Windows™)의 설정과 선택항목 등이 저장되는 데이터베이스에 해당한다. 즉, 레지스트리(r)에는 컴퓨터 장치의 모든 하드웨어, 운영체제 소프트웨어, 응용소프트웨어 등에 대한 정보와 설정이 저장될 수 있다. 예를들어, 컴퓨터 장치에 포함되는 프로세서의 종류, 메모리의 용량, 접속된 주변장치의 정보, 시스템 매개변수, 응용소프트웨어에서 취급하는 파일의 종류와 각종 매개변수 등이 저장될 수 있다. The registry (r, Registry) corresponds to a database in which settings and options of Windows (Windows ™), an operating system of Microsoft, are stored. That is, in the registry (r), information and settings of all hardware, operating system software, application software, and the like of the computer device can be stored. For example, the type of the processor included in the computer device, the capacity of the memory, the information of the connected peripheral devices, the system parameters, the types of files handled by the application software, and various parameters can be stored.

구체적으로, 레지스트리(r)에는 키(key)와 레지스트리밸류(value)의 두 가지 기본요소가 포함될 수 있다. 먼저, 키는 내부에 서브키(subkey)를 포함하는 부모-자식관계의 계층적인 구조를 형성할 수 있다. 예를들어, Software\Microsoft\Windows로 레지스트리(r)의 키를 표현할 수 있으며, 여기서, 키에 해당하는 "Softeware"는 서브키로 "Microsoft"를 가지고, "Microsoft"는 서브키로 "Windows"를 가진다. 여기서, 각각의 키와 서브키 사이의 계층 수준을 표시하기 위하여 "\" (백슬래시)를 사용할 수 있으며, 키와 서브키는 윈도우즈 탐색기의 폴더와 유사한 형태로 표현될 수 있다. 여기서, 상기 키의 내부에는 매개변수인 레지스트리밸류가 저장되어 있을 수 있으며, 상기 레지스트리밸류는 밸류명칭과 밸류데이터로 나타낼 수 있다. 예를들어, 상기 레지스트리밸류의 밸류명칭은 "server"일 수 있으며, 상기 "server"의 밸류데이터는 "192.0.2.42"일 수 있다. 여기서, 상기 밸류데이터는 문자열이나 이진수 등의 다양한 종류의 데이터를 가질 수 있으며, 표1에 예시한 종류의 데이터를 가질 수 있다.
Specifically, the registry r may include two basic elements: a key and a registry value. First, a key may form a hierarchical structure of a parent-child relationship including a subkey within the key. For example, Software \ Microsoft \ Windows can represent the key of the registry (r), where "Softeware" with the key "Microsoft" as the subkey and "Microsoft" with the subkey "Windows" . Here, a "\" (backslash) can be used to indicate the hierarchy level between each key and the subkey, and the keys and subkeys can be represented in a form similar to a folder in Windows Explorer. Herein, the registry value as a parameter may be stored in the key, and the registry value may be represented by a value name and value data. For example, the value name of the registry value may be "server", and the value data of the "server" may be "192.0.2.42". Here, the value data may have various kinds of data such as a character string and a binary number, and may have data of the types shown in Table 1. [

00 REG_NONEREG_NONE 종류없음No kind 1One REG_SZREG_SZ 문자열 값String value 22 REG_EXPAND_SZREG_EXPAND_SZ 확장가능한 문자열값Expandable string value 33 REG_BINARYREG_BINARY 이진값Binary value 44 REG_DWORD / REG_DWORD_LITTLE_ENDIANREG_DWORD / REG_DWORD_LITTLE_ENDIAN DWORD 값 (32bit) - 리틀 엔디언DWORD Value (32bit) - Little Endian 55 REG_DWORD_BIG_ENDIANREG_DWORD_BIG_ENDIAN DWORD 값 (32bit) - 빅 엔디언DWORD Value (32bit) - Big Endian 66 REG_LINKREG_LINK 심볼 링크 (유니코드)Symbolic link (Unicode) 77 REG_MULTI_SZREG_MULTI_SZ 다중문자열 값Multi-string value 88 REG_RESOURCE_LISTREG_RESOURCE_LIST 리소스 목록List of resources 99 REG_FULL_RESOURCE_DESCRIPTORREG_FULL_RESOURCE_DESCRIPTOR 리소스 서술자Resource descriptor 1010 REG_ RESOURCE_REQUIREMENTS_LISTREG_ RESOURCE_REQUIREMENTS_LIST 리소스 요구 목록List of resource requirements 1111 REG_QWORD / REG_QWORD_LITTLE_ENDIANREG_QWORD / REG_QWORD_LITTLE_ENDIAN QWORD 값 (64bit)QWORD value (64bit)

레지스트리(r)는 마이크로소프트사에서 개발한 윈도우즈라는 운영체제에서 활용하는 것으로서, 윈도우즈 이외의 운영체제에서는 INI파일(i)을 이용하여 상기 레지스트리(r)의 역할을 대신할 수 있다. INI파일(i)은 설정파일에 대한 de facto 표준에 해당하는 것으로서, 단순한 구조의 텍스트 파일로 이루어질 수 있다. 상기 INI파일(i)은 "*.ini"의 파일 확장자를 가질 수 있으며, 이외에도 "*.cfg", "*.conf", "*.txt" 등의 확장자를 가질 수 있다. The registry (r) is used in an operating system called Windows which is developed by Microsoft Corporation, and it can replace the role of the registry (r) by using an INI file (i) in an operating system other than Windows. The INI file (i) corresponds to the de facto standard for the configuration file, and can be a simple text file. The INI file (i) may have a file extension of "* .ini", and may have extensions such as "* .cfg", "* .conf", "* .txt"

INI파일(i) 내에는 매개 변수인 INI밸류가 저장될 수 있으며, 상기 INI밸류는 밸류명칭과 밸류데이터를 가질 수 있다. 예를들어, INI밸류의 밸류명칭은 "server", 밸류데이터는 "192.0.2.42"일 수 있으며, 이 경우 "server = 192.0.2.42"로 표현할 수 있다. 여기서, INI 파일(i)은 임의의 섹션명을 가지는 복수개의 섹션으로 구분될 수 있으며, 상기 섹션 내에는 복수개의 INI밸류가 포함될 수 있다. 상기 섹션명은 "[]"으로 구분될 수 있다. 예를들면, 상기 INI파일(i) 내에는 아래와 같은 섹션과 INI밸류가 포함될 수 있다. In the INI file (i), a parameter INI value can be stored, and the INI value can have a value name and value data. For example, the value name of the INI value may be "server" and the value data may be "192.0.2.42", which in this case can be expressed as "server = 192.0.2.42". Here, the INI file (i) may be divided into a plurality of sections having an arbitrary section name, and a plurality of INI values may be included in the section. The section name may be divided into "[]". For example, the following section and INI value may be included in the INI file (i).

[owner] [owner]

Name = 홍길동Name = Hong Gil-dong

Organization = 최고의 제품
Organization = Best Product

[database][database]

server = 192.0.2.42 server = 192.0.2.42

port = 143 port = 143

file = "acme payroll.dat"
file = "acme payroll.dat"

즉, "owner" 섹션에는 밸류명칭이 "Name", "Organization"인 INI밸류를 포함하고, "Name"의 밸류데이터는 "홍길동", "Organizatoin"의 밸류데이터는 "최고의 제품"에 해당한다. 또한, "database" 섹션에는 밸류명칭이 "server", "port", "file"인 INI밸류를 포함하고, "server"의 밸류데이터는 "192.0.2.42", "port"의 밸류데이터는 "143", "file"의 밸류데이터는, "acme payroll.dat"에 해당한다. 상기 예시에서 나타난 바와 같이, 상기 INI밸류의 밸류데이터는 문자열이나, DWORD 등의 종류를 가질 수 있으며, 이외에도 상기 INI밸류의 밸류데이터는 문자열, 이진값, DWORD, 심볼링크, 다중 문자열값, 리소스 목록, 리소스 서술자, 리소스 요구목록, QWORD 등을 포함할 수 있다.
That is, the "owner" section includes the INI values whose value names are "Name" and "Organization", and the value data of "Name" corresponds to "Best product" of the value data of "Hong Kil Dong" and "Organizatoin". In addition, the "database" section includes the INI values whose value names are "server", "port", "file", the value data of "server" is "192.0.2.42" and the value data of "port""and the value data of" file "corresponds to" acme payroll.dat ". As shown in the above example, the value data of the INI value may have a character string, a DWORD, and the like. In addition, the value data of the INI value may include a string, a binary value, a DWORD, a symbol link, , A resource descriptor, a resource requirement list, a QWORD, and the like.

일반적으로, 동일한 운영체제 상에서 프로그램을 사용하는 경우에는 문제가 없으나, 윈도우즈의 레지스트리(r)를 이용하는 프로그램을 리눅스(Linux)나 유닉스(Unix), Mac OS 등의 이종(heterogeneous)의 운영체제로 이식(porting)하는 경우에는 문제가 발생할 수 있다. 즉, 윈도우즈 이외의 다른 운영체제에는 레지스트리(r)가 포함되지 않으므로, 상기 레지스트리(r)를 참조하여 동작하는 프로그램의 경우에는 정상적으로 동작하지 않을 수 있다. 종래에는, 상기 레지스트리(r)에 대응하는 별도의 데이터베이스를 생성하여, 상기 데이터베이스가 상기 레지스트리(r)를 대신하도록 하는 방식으로 프로그램을 이식하였다. 하지만, 상기 데이터베이스를 설정하기 위해서는, 상기 이종 운영체제에 맞는 DB저장방식을 개별적으로 선정해야 하고, 상기 레지스트리(r)로부터 데이터를 파싱(parsing)하여 상기 데이터베이스에 저장하는 로직(logic)을 별도로 개발해야 하는 등 추가적인 작업이 필요하였다. 즉, 상기 레지스트리에 대응하는 데이터베이스를 생성하기 위한 시간과 비용, 인력 등이 소요되며, 특히 대용량의 레지스트리를 포함하는 경우에는 더 많은 시간과 비용 등이 요구되는 등의 문제가 있었다. Generally, there is no problem when using the program on the same operating system, but porting a program using the Windows registry (r) to a heterogeneous operating system such as Linux, Unix, or Mac OS ) Can cause problems. That is, since the operating system other than Windows does not include the registry r, it may not operate normally in the case of a program operating with reference to the registry r. Conventionally, a separate database corresponding to the registry r is created, and the program is ported in such a manner that the database replaces the registry r. However, in order to set the database, it is necessary to separately select a DB storage method suitable for the heterogeneous operating system, to separately develop logic for parsing data from the registry r and storing the parsed data in the database And additional work was required. That is, the time, cost, manpower, and the like for creating a database corresponding to the registry are required. In particular, when a large-capacity registry is included, more time and cost are required.

반면에, 본 발명의 일 실시예에 의한 윈도우즈의 레지스트리를 이기종 운영체제의 INI파일로 변환하는 레지스트리변환방법, 컴퓨터 장치 및 컴퓨터에서 판독가능한 기록매체를 활용하면, 윈도우즈의 레지스트리를 사용자가 지정한 형식에 따라 자동으로 INI 파일로 마이그레이션(migration)할 수 있으므로, 신속하고 정확한 변환이 가능하다.
On the other hand, by utilizing a registry conversion method, a computer device, and a computer-readable recording medium for converting a Windows registry into an INI file of a heterogeneous operating system according to an embodiment of the present invention, It can be automatically migrated to an INI file, enabling fast and accurate conversion.

구체적으로, 본 발명의 일 실시예에 의한 컴퓨터 장치(100)의 레지스트리분석모듈(110)은, 레지스트리(r)의 키와 서브키 사이의 계층적 구조와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류를 추출할 수 있다. 앞서 살핀 바와 같이, 레지스트리(r)에는 키와 레지스트리밸류가 기본요소로 포함되며, 상기 키는 내부에 서브키를 포함하는 계층적인 구조를 형성할 수 있다. 즉, 레지스트리(r)에는 복수개의 키가 포함될 수 있으며, 각각의 키는 계층별로 복수개의 서브키들을 포함할 수 있다. 따라서, 상기 레지스트리(r)의 키는 트리형태의 계층구조를 가질 수 있으며, 상기 계층구조를 형성하는 키와 서브키, 또는 서브키와 서브키 사이에는 부모-자식 관계가 형성될 수 있다. 예를들어, 특정한 레지스트리밸류의 키를 "software\Microsoft\Windows"와 같이 표시할 수 있으며, 이 경우 최상위 계층은"software"에 해당하고, "Microsoft", "Windows" 순으로 계층이 낮아지며, "Windows"는 최하위 계층에 해당한다. 여기서, 각각의 키와 서브키 사이의 계층 즉, 부모-자식 관계는 "\"(백슬래시)로 구별할 수 있으며, 높은 계층의 키일수록 먼저 기재될 수 있다. 따라서, 상기 레지스트리의 키를 분석하면 각각의 계층적인 순서를 파악할 수 있으며, 상기 최상위 계층인 "Software"의 밑으로 계층적으로 형성된 서브키의 개수를 파악할 수 있다. 즉, 상기 레지스트리분석모듈(110)를 이용하면, 상기 레지스트리에 포함된 키와 상기 키에 포함된 서브키 사이의 부모-자식 관계를 통하여, 상기 레지스트리의 계층적 구조를 추출할 수 있다. Specifically, the registry analysis module 110 of the computer apparatus 100 according to an exemplary embodiment of the present invention includes a hierarchical structure between a key of a registry r and a sub key, a registry stored in the key or sub key, The value type can be extracted. As described above, the registry (r) includes a key and a registry value as basic elements, and the key can form a hierarchical structure including a sub key in the registry. That is, the registry r may include a plurality of keys, and each key may include a plurality of subkeys for each layer. Accordingly, the key of the registry r may have a tree-like hierarchy, and a parent-child relationship may be formed between the key and the sub-key forming the hierarchical structure, or between the sub-key and the sub-key. For example, the key for a particular registry value can be displayed as "software \ Microsoft \ Windows", where the top tier corresponds to "software", the tier to "Microsoft" Windows "is the lowest layer. Here, the hierarchy between each key and the subkey, that is, the parent-child relationship, can be distinguished by a "\ " (backslash). Therefore, by analyzing the key of the registry, each hierarchical order can be grasped, and the number of subkeys formed hierarchically below the highest layer "Software" can be grasped. That is, by using the registry analysis module 110, the hierarchical structure of the registry can be extracted through the parent-child relationship between the key included in the registry and the subkey contained in the key.

레지스트리(r)의 키 또는 서브키에는 레지스트리밸류가 저장될 수 있으며, 상기 레지스트리밸류는 밸류명칭과 밸류데이터로 표현될 수 있다. 특히, 상기 밸류데이터는 표1에 도시한 바와 같이, 다양한 종류의 데이터로 표현될 수 있으며, 상기 밸류데이터가 어떠한 종류의 데이터에 해당하는지 여부는 상기 레지스트리밸류에 미리 설정되어 있을 수 있다. 따라서, 상기 레지스트리분석모듈(110)은 레지스트리밸류를 분석하여 상기 밸류데이터가 어떠한 종류의 데이터에 해당하는지 여부를 추출할 수 있다. 여기서, 상기 레지스트리의 키 또는 서브키에 포함된 레지스트리밸류는 문자열, 이진값, DWORD, 심볼링크 다중 문자열값, 리소스 목록, 리소스 서술자, 리소스 요구목록, QWORD 등의 다양한 종류를 포함할 수 있다.
The registry value can be stored in the key or sub key of the registry r, and the registry value can be expressed by the value name and the value data. In particular, as shown in Table 1, the value data may be represented by various types of data, and it may be preset in the registry value whether the value data corresponds to what kind of data. Therefore, the registry analysis module 110 can analyze whether the value data corresponds to what kind of data by analyzing the registry value. Here, the registry value included in the key or sub key of the registry may include various types such as a string, a binary value, a DWORD, a symbol link multi-string value, a resource list, a resource descriptor, a resource request list, and a QWORD.

INI형식지정모듈(120)에서는, 상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일(i)의 디렉토리패스를 설정할 수 있으며, 상기 디렉토리패스에 따라 상기 INI파일(i)의 파일명의 형식을 지정할 수 있다. 또한, 상기 레지스트리밸류의 종류에 따라 상기 INI파일(i)에 저장되는 INI밸류의 종류를 지정할 수 있다. 즉, 상기 레지스트리분석모듈(110)을 통하여 상기 레지스트리(r)의 계층적인 구조와 상기 레지스트리밸류의 종류를 파악했으므로, 이를 바탕으로 상기 레지스트리에 대응하는 INI파일(i)을 생성하기 위한 INI파일의 형식을 지정할 수 있다. In the INI format designation module 120, a directory path of the INI file (i) corresponding to the hierarchical structure of the registry can be set, and the format of the file name of the INI file (i) can be specified have. In addition, the kind of the INI value stored in the INI file (i) can be specified according to the kind of the registry value. That is, since the hierarchical structure of the registry r and the kind of the registry value are grasped through the registry analysis module 110, the INI file for generating the INI file (i) corresponding to the registry You can specify the format.

먼저, 상기 INI형식지정모듈(120)은, 상기 INI 파일(i)의 디렉토리 패스를 설정할 수 있으며, 상기 디렉토리 패스에 따라 상이한 형식으로 상기 INI파일(i)의 파일명을 생성하도록, 파일명의 형식을 지정할 수 있다. First, the INI format designation module 120 can set a directory path of the INI file (i), and sets the format of the file name so as to generate the file name of the INI file (i) in a different format according to the directory path Can be specified.

구체적으로, 상기 INI 파일(i)의 디렉토리 패스는, 하나의 디렉토리 내부에 복수개의 INI파일(i)을 포함하도록 설정할 수 있다. 레지스트리(r)의 경우에는 키와 서브키가 계층적인 구조를 형성하여 트리구조를 이루고 있으나, INI파일(i)의 경우에는 트리구조로 표현하지 않고, 하나의 디렉토리 내부에 복수개의 INI파일(i)을 가지는 형태로 생성할 수 있다. 다만, 레지스트리(r)에서 계층구조로 표현된 각각의 키와 서브키들을 표현하기 위하여, 상기 INI형식지정모듈(120)은 상기 레지스트리의 키와 상기 키에 포함되는 서브키를 각각 언더바(_)로 연결한 형태를 상기 INI파일(i)의 파일명의 형식으로 지정할 수 있다. 예를들어, 레지스트리의 키가 "Software\Microsoft\Windows"인 경우에는, INI파일(i)의 파일명을 "Software_Microsoft_Windows.ini"의 형식으로 생성하도록, 파일명의 형식을 지정할 수 있다. 여기서, 상기 언더바는 키와 서브키를 연결하여 파일명을 생성하기 위한 것이므로, 상기 언더바 이외에 상이한 문자나 기호 등을 활용하는 것도 가능하다. Specifically, the directory path of the INI file (i) can be set to include a plurality of INI files (i) in one directory. In the case of the registry r, the key and the sub key form a hierarchical structure to form a tree structure. However, in the case of the INI file (i), a plurality of INI files i ). ≪ / RTI > In order to express each key and subkeys expressed in a hierarchical structure in the registry r, the INI type designation module 120 assigns a key of the registry and a subkey contained in the key to an underbar ) Can be specified in the format of the file name of the INI file (i). For example, if the key of the registry is "Software \ Microsoft \ Windows", the format of the file name can be specified so that the file name of the INI file (i) is generated in the format of "Software_Microsoft_Windows.ini". Here, since the underbar is for generating a file name by connecting a key and a sub key, it is also possible to use a different character or symbol in addition to the underbar.

한편, 상기 INI형식지정모듈(120)은, 상기 INI 파일(i)의 디렉토리 패스를, 상기 레지스트리와 유사하게, 계층구조를 포함하여 형성할 수 있다. 즉, 상기 레지스트리의 키와 서브키 사이의 계층구조에 따라, 상기 INI파일(i)이 부모-자식 관계의 디렉토리를 가지도록 상기 디렉토리 패스를 설정하는 것이 가능하다. 이 경우, 상기 INI파일(i)의 파일명의 형식은, 상기 레지스트리(r)의 최하단 서브키를 상기 INI파일(i)의 파일명으로 설정하도록 지정할 수 있다. 예를들어, 레지스트리(r)의 키가 "Software\Microsoft\Windows"인 경우에는, C:\ini_files\Software\Microsoft\Windows의 디렉토리를 생성할 수 있으며, 상기 디렉토리에 저장되는 INI파일(i)의 파일명은 최하단 서브키에 해당하는 "Windows.ini"를 가지도록 파일명의 형식을 지정할 수 있다. Meanwhile, the INI format designation module 120 may form a directory path of the INI file (i) including a hierarchical structure similar to the registry. That is, it is possible to set the directory path so that the INI file (i) has a parent-child relationship directory according to a hierarchical structure between the key of the registry and the subkey. In this case, the format of the file name of the INI file (i) may be specified so that the bottom-level subkey of the registry (r) is set to the file name of the INI file (i). For example, if the key of the registry (r) is "Software \ Microsoft \ Windows", a directory of C: \ ini_files \ Software \ Microsoft \ Windows can be created, and the INI file (i) The file name of the file name can be specified so as to have "Windows.ini" corresponding to the lowermost subkey.

추가적으로, 앞서 살핀 바와 같이, 상기 INI파일(i)에는 섹션을 포함할 수 있으므로, 생성하는 INI파일(i)에 포함되는 섹션의 섹션명을 설정할 필요가 있다. 예를들어, 미리 임의의 섹션명을 생성하여 저장한 후 순차적으로 상기 섹션명을 적용하거나, 레지스트리(r)의 최하위 계층의 서브키에 일련번호를 붙이는 등의 방식으로 상기 섹션명을 생성할 수 있다. 즉, 상기 INI형식지정모듈(120)은 상기 INI파일(i)에 포함되는 섹션의 섹션명을 기 설정된 형식에 따라 설정할 수 있다.
Additionally, as discussed above, since the INI file (i) can include a section, it is necessary to set the section name of the section included in the INI file (i) to be generated. For example, an arbitrary section name may be generated and stored in advance, and then the section name may be sequentially applied, or the section name may be generated by attaching a serial number to a subkey of the lowest hierarchy of the registry (r) have. That is, the INI format specifying module 120 may set the section name of the section included in the INI file (i) according to a predetermined format.

파싱모듈(130)은, 상기 레지스트리(r)의 키와 레지스트리밸류 등을 추출할 수 있으며, 상기 추출한 키와 레지스트리밸류를 이용하여 상기 INI파일(i)을 생성할 수 있다. 구체적으로, 상기 레지스트리(r)에서 추출한 상기 레지스트리(r)의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일(i)을 생성할 수 있으며, 상기 레지스트리(r)에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 상기 INI파일(i)에 저장할 수 있다.The parsing module 130 can extract the key and registry value of the registry r and generate the INI file i using the extracted key and the registry value. Specifically, an INI file (i) having a directory path and a filename of the specified format can be generated using the key and the sub key of the registry r extracted from the registry r, The value name and value data of the extracted registry value may be matched with the value name and value data of the INI value and stored in the INI file (i).

먼저, 상기 파싱모듈(130)은 상기 INI형식지정모듈(120)에서 설정한 디렉토리 패스에 따라 상기 INI파일(i)을 저장할 디렉토리를 생성할 수 있다. 즉, 하나의 디렉토리 내부에 복수개의 INI파일(i)을 포함하는 형식으로 디렉토리패스를 설정한 경우에는, 상기 INI파일(i)을 저장하기 위한 하나의 디렉토리를 새로 생성하거나 기존의 디렉토리 중 하나를 상기 INI파일(i)을 저장하기 위한 디렉토리로 설정할 수 있다. 반면에, 레지스트리(r)와 유사하게 계층적구조를 포함하는 형식으로 디렉토리패스를 설정한 경우에는, 상기 레지스트리(r)의 키와 서브키 사이의 계층구조에 따라, 부모-자식 관계의 디렉토리를 가지도록 각각의 디렉토리를 생성할 수 있다. First, the parsing module 130 may generate a directory for storing the INI file (i) according to the directory path set by the INI format designating module 120. That is, when a directory path is set in a format including a plurality of INI files (i) in one directory, one directory for storing the INI file (i) is newly created or one of the existing directories It can be set as a directory for storing the INI file (i). On the other hand, when the directory path is set in a format including a hierarchical structure similar to the registry r, the directory of the parent-child relationship is set according to the hierarchical structure between the key of the registry r and the subkey You can create each directory to have.

이후, 상기 파싱모듈(130)은 각각의 디렉토리 패스에 대응하여 지정된 파일명의 형식에 따라 INI파일(i)을 생성할 수 있다. 즉, 상기 하나의 디렉토리 내부에 복수개의 INI파일(i)을 포함하도록 디렉토리 패스를 설정한 경우에는, 상기 INI파일(i)이 상기 레지스트리의 키와 서브키를 각각 언더바로 연결한 형태의 파일명을 가지도록, 상기 INI파일(i)을 생성할 수 있다. 또한, 상기 계층적 구조를 가지도록 디렉토리 패스를 설정하는 경우에는, 상기 레지스트리(r)의 키가 가지는 계층적 구조 중에서 최하위에 해당하는 서브키를 상기 INI파일(i)의 파일명으로 설정하여 상기 INI파일(i)을 생성할 수 있다. Thereafter, the parsing module 130 may generate the INI file (i) according to the format of the specified file name corresponding to each directory path. That is, when the directory path is set so as to include a plurality of INI files (i) in the one directory, the INI file (i) has a file name in which the key of the registry and the subkey are directly under- , The INI file (i) can be generated. When the directory path is set to have the hierarchical structure, a subkey corresponding to the lowest hierarchical structure of the key of the registry (r) is set as the file name of the INI file (i), and the INI The file (i) can be generated.

상기 INI파일(i)이 생성되면, 상기 파싱모듈(130)은 상기 INI파일(i)에 대응하는 각각의 레지스트리(r) 키에 저장된 레지스트리밸류를 상기 IN파일(i)의 INI밸류와 매칭시켜 저장할 수 있다. 즉, 상기 레지스트리(r)에서 추출한 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장할 수 있다. 여기서, 상기 INI파일(i)에 포함되는 섹션은, 앞서 살핀바와 같이, 기 설정된 형식에 따라 생성되는 섹션명을 가지도록 자동으로 생성될 수 있으며, 상기 생성된 섹션 내에 상기 INI밸류의 밸류명칭 및 밸류데이터가 매칭될 수 있다.
When the INI file (i) is generated, the parsing module 130 matches the registry value stored in each registry (r) key corresponding to the INI file (i) with the INI value of the IN file (i) Can be stored. That is, the value name and value data of the registry value extracted from the registry r may be matched with the value name and value data of the INI value. Here, the section included in the INI file (i) may be automatically generated so as to have a section name generated according to a predetermined format, as described above, and the value name of the INI value and Value data can be matched.

여기서, 본 발명의 일 실시예에 의한 컴퓨터 장치는, 도2에 도시한 바와 같이, 프로세서(10), 메모리(40) 등의 물리적인 구성을 포함하는 것일 수 있으며, 상기 메모리(40) 내에는 상기 프로세서(10)에 의하여 실행되도록 구성되는 하나 이상의 모듈이 포함될 수 있다. 구체적으로, 상기 하나 이상의 모듈에는, 레지스트리분석모듈, INI형식지정모듈 및 파싱모듈 등이 포함될 수 있다. Here, the computer apparatus according to an embodiment of the present invention may include a physical configuration such as a processor 10 and a memory 40 as shown in FIG. 2, One or more modules configured to be executed by the processor 10 may be included. In particular, the one or more modules may include a registry analysis module, an INI formatting module, a parsing module, and the like.

프로세서(10)는, 다양한 소프트웨어 프로그램과, 메모리(40)에 저장되어 있는 명령어 집합을 실행하여 여러 기능을 수행하고 데이터를 처리하는 기능을 수행할 수 있다. 주변인터페이스부(30)는, 컴퓨터 장치의 입출력 주변 장치를 프로세서(10), 메모리(40)에 연결할 수 있으며, 메모리 제어기(20)는 프로세서나 컴퓨터 장치의 구성요소가 메모리(40)에 접근하는 경우에, 메모리 액세스를 제어하는 기능을 수행할 수 있다. 실시예에 따라, 프로세서(10), 메모리 제어기(20) 및 주변인터페이스부(30)를 단일 칩 상에 구현하거나, 별개의 칩으로 구현할 수 있다. The processor 10 may perform various functions and data processing by executing various software programs and a set of instructions stored in the memory 40. [ The peripheral interface unit 30 may connect the input and output peripheral devices of the computing device to the processor 10 and the memory 40 and the memory controller 20 may be connected to the processor 40, In this case, it is possible to perform a function of controlling the memory access. According to the embodiment, the processor 10, the memory controller 20, and the peripheral interface unit 30 may be implemented on a single chip or may be implemented as separate chips.

메모리(40)는 고속 랜덤 액세스 메모리를 포함하거나, 하나 이상의 자기 디스크 저장 장치, 플래시 메모리 장치와 같은 불휘발성 메모리 등을 포함할 수 있다. 이외에도, 상기 메모리(40)에는, 프로세서(10)로부터 떨어져 위치하는 저장장치나, 인터넷 등의 통신 네트워크를 통하여 엑세스되는 네트워크 부착형 저장장치 등을 더 포함할 수 있다. The memory 40 may include high speed random access memory, or may include one or more magnetic disk storage devices, non-volatile memory such as flash memory devices, and the like. In addition, the memory 40 may further include a storage device located away from the processor 10 or a network-attached storage device accessed through a communication network such as the Internet.

도2에 도시한 바와 같이, 본 발명의 일 실시예에 의한 컴퓨터 장치는, 상기 메모리(40)에 운영체제를 비롯하여, 응용프로그램에 해당하는 레지스트리분석모듈, INI형식지정모듈 및 파싱모듈을 포함할 수 있다. 여기서, 각각의 모듈들은 상술한 기능을 수행하기 위한 명령어의 집합으로 메모리(40)에 저장될 수 있다. 따라서, 본 발명의 일 실시예에 의한 컴퓨터 장치는, 프로세서(10)가 상기 메모리(40)에 액세스하여 각각의 모듈에 대응하는 명령어를 실행할 수 있으며, 실행결과로 윈도우즈의 레지스트리를 INI파일로 변환할 수 있다. 다만, 상기 레지스트리분석모듈, INI형식지정모듈 및 파싱모듈에 대하여는 앞서 설명하였으므로, 여기서는 구체적인 설명을 생략한다.
As shown in FIG. 2, the computer apparatus according to an embodiment of the present invention may include a registry analysis module, an INI format designation module, and a parsing module corresponding to an application program, have. Here, each of the modules may be stored in the memory 40 as a set of instructions for performing the above-described functions. Thus, the computer device according to an embodiment of the present invention can be configured so that the processor 10 can access the memory 40 and execute commands corresponding to each module, and convert the Windows registry into an INI file can do. However, since the registry analysis module, the INI type designation module, and the parsing module have been described above, a detailed description thereof will be omitted here.

도3은 본 발명의 일 실시예에 의한 레지스트리변환방법을 나타내는 순서도이다. 3 is a flowchart illustrating a registry conversion method according to an embodiment of the present invention.

도3을 참조하면, 본 발명의 일 실시예에 의한 레지스트리변환방법은, 레지스트리분석단계(S100), INI형식지정단계(S200) 및 파싱단계(S300)를 포함할 수 있다. Referring to FIG. 3, the registry transformation method according to an embodiment of the present invention may include a registry analysis step (S100), an INI type designation step (S200), and a parsing step (S300).

이하, 도3을 참조하여 본 발명의 일 실시예에 의한 레지스트리변환방법을 설명한다.
Hereinafter, a method of converting a registry according to an embodiment of the present invention will be described with reference to FIG.

레지스트리분석단계(S100)에서는, 레지스트리의 키와 서브키 사이의 계층적 구조를 추출할 수 있으며, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류를 추출할 수 있다. 상기 레지스트리에는 키와 레지스트리밸류가 기본요소로 포함되며, 상기 키는 내부에 서브키를 포함하는 계층적인 구조를 형성할 수 있다. 즉, 상기 레지스트리의 키는 트리형태의 계층구조를 가질 수 있으며, 상기 계층구조를 형성하는 키와 서브키, 또는 서브키와 서브키 사이에는 부모-자식 관계가 형성될 수 있다. 예를들어, 특정한 레지스트리밸류의 키를 "Software\Microsoft\Windows"와 같이 표시할 수 있으며, 이 경우 최상위 계층은 "Software"에 해당하고, "Microsoft", "Windows" 순으로 계층이 낮아지며, "Windows"는 최하위 계층에 해당한다. 여기서, 각각의 키와 서브키 사이의 계층 즉, 부모-자식 관계는 "\" (백슬래시)로 구별할 수 있으며, 높은 계층의 키일수록 먼저 기재될 수 있다. 따라서, 상기 레지스트리분석단계(S100)에서는, 상기 레지스트리에 포함된 키와 상기 키에 포함된 서브키 사이의 부모-자식 관계를 통하여, 상기 레지스트리의 계층적 구조를 추출할 수 있다. In the registry analysis step S100, a hierarchical structure between a key and a sub key of the registry can be extracted, and the kind of the registry value stored in the key or sub key can be extracted. The registry includes a key and a registry value as basic elements, and the key may form a hierarchical structure including a sub key in the registry. That is, the keys of the registry may have a tree-like hierarchical structure, and a parent-child relationship may be formed between a key and a sub-key forming the hierarchical structure, or between a sub-key and a sub-key. For example, a particular registry value's key can be displayed as "Software \ Microsoft \ Windows", where the top level corresponds to "Software", the "Microsoft" Windows "is the lowest layer. Here, the hierarchy between each key and the subkey, that is, the parent-child relationship, can be distinguished by a "\ " (backslash). Accordingly, in the registry analysis step (S100), the hierarchical structure of the registry can be extracted through the parent-child relationship between the key included in the registry and the subkey contained in the key.

한편, 레지스트리의 키 또는 서브키에는 레지스트리밸류가 저장될 수 있으며, 상기 레지스트리밸류는 밸류명칭과 밸류데이터로 표현될 수 있다. 특히, 상기 밸류데이터가 가질 수 있는 데이터 타입(type)에는 다양한 종류가 있을 수 있으며, 상기 밸류데이터가 어떠한 종류의 데이터에 해당하는지 여부는 상기 레지스트리밸류에 미리 표시되어 있을 수 있다. 따라서, 상기 레지스트리분석단계(S100)에서는, 레지스트리밸류의 분석을 통하여 상기 밸류데이터가 어떠한 종류의 데이터에 해당하는지 여부를 추출할 수 있다. 여기서, 상기 레지스트리의 키 또는 서브키에 포함된 레지스트리밸류는 문자열, 이진값, DWORD, 심볼링크 다중 문자열값, 리소스 목록, 리소스 서술자, 리소스 요구목록, QWORD 등의 다양한 종류를 포함할 수 있다.
Meanwhile, a registry value may be stored in a key or a sub key of the registry, and the registry value may be expressed by a value name and value data. In particular, there may be various types of data types that the value data may have, and whether the value data corresponds to what kind of data may be displayed in advance in the registry value. Accordingly, in the registry analysis step (S100), it is possible to extract what kind of data the value data corresponds to through the analysis of the registry value. Here, the registry value included in the key or sub key of the registry may include various types such as a string, a binary value, a DWORD, a symbol link multi-string value, a resource list, a resource descriptor, a resource request list, and a QWORD.

INI형식지정단계(S200)에서는, 상기 레지스트리의 계층적 구조에 대응하는 상기 INI 파일의 디렉토리 패스를 설정하여, 상기 INI 파일의 파일명의 형식을 지정할 수 있으며, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정할 수 있다. 즉, 상기 레지스트리분석단계(S100)을 통하여 상기 레지스트리의 계층적인 구조와 상기 레지스트리밸류의 종류를 파악했으므로, 이를 바탕으로 상기 레지스트리에 대응하는 INI파일을 생성하기 위한 INI파일의 형식을 지정할 수 있다. In the INI format specification step (S200), a format of the file name of the INI file can be specified by setting a directory path of the INI file corresponding to the hierarchical structure of the registry, and the INI file And the type of INI value stored in the memory. That is, since the hierarchical structure of the registry and the kind of the registry value are grasped through the registry analysis step (S100), it is possible to specify the format of the INI file for generating the INI file corresponding to the registry.

먼저, 상기 INI형식지정단계(S200)에서는, 상기 INI 파일의 디렉토리 패스를 설정할 수 있으며, 상기 디렉토리 패스에 따라 상이한 형식으로 상기 INI파일의 파일명을 생성하도록, 파일명의 형식을 지정할 수 있다. In the INI format designation step (S200), a directory path of the INI file can be set, and a format of a file name can be specified to generate a file name of the INI file in a different format according to the directory path.

구체적으로, 상기 INI 파일의 디렉토리 패스는, 하나의 디렉토리 내부에 복수개의 INI파일을 포함하도록 설정할 수 있다. 다만, 레지스트리에서 계층구조로 표현된 각각의 키와 서브키들을 표현하기 위하여, 레지스트리의 키와 상기 키에 포함되는 서브키를 각각 언더바(_)로 연결한 형태를 상기 INI파일의 파일명의 형식으로 지정할 수 있다. 예를들어, 레지스트리의 키가 "Software\Microsoft\Windows" 인 경우에는, INI파일의 파일명을 "Software_Microsoft_Windows.ini"의 형식으로 생성하도록, 파일명의 형식을 지정할 수 있다. Specifically, the directory path of the INI file may be configured to include a plurality of INI files in one directory. However, in order to express each key and subkeys expressed in a hierarchical structure in the registry, a form in which a key of the registry and a subkey contained in the key are connected by an underbar (_), respectively, . For example, if the key in the registry is "Software \ Microsoft \ Windows", you can specify the format of the file name so that the file name of the INI file is created as "Software_Microsoft_Windows.ini".

한편, 상기 INI 파일의 디렉토리 패스를, 상기 레지스트리와 유사하게, 계층구조를 포함하여 형성하는 것도 가능하다. 즉, 상기 레지스트리의 키와 서브키 사이의 계층구조에 따라, 상기 INI파일이 부모-자식 관계의 디렉토리를 가지도록 상기 디렉토리 패스를 설정할 수 있다. 이 경우, 상기 INI파일의 파일명은, 상기 레지스트리의 최하단 서브키를 상기 INI파일의 파일명으로 지정할 수 있다. 예를들어, 레지스트리의 키가 "Softeware\Microsoft\Windows"인 경우에는, C:\ini_files\Software\Microsoft\Windows의 계층적인 디렉토리를 생성할 수 있으며, 상기 디렉토리에 저장되는 INI파일의 파일명은 최하단 서브키에 해당하는 "Windows.ini"를 가지도록 할 수 있다. The directory path of the INI file may be formed to include a hierarchical structure similar to the registry. That is, the directory path can be set so that the INI file has a parent-child relationship directory according to a hierarchical structure between a key and a subkey in the registry. In this case, the file name of the INI file can designate the lowest-order subkey of the registry as the file name of the INI file. For example, when the key of the registry is "Softeware \ Microsoft \ Windows", a hierarchical directory of C: \ ini_files \ Software \ Microsoft \ Windows can be created. The file name of the INI file stored in the directory is the lowest Windows.ini "corresponding to the sub key.

추가적으로, 상기 INI파일에는 섹션이 포함되므로, INI형식지정단계(S200)에서는, 기 설정된 형식에 따라 상기 섹션의 섹션명을 설정할 수 있다. 예를들어, 미리 임의의 섹션명을 생성하여 저장한 후 순차적으로 상기 섹션명을 적용하거나, 레지스트리의 최하위 계층의 서브키에 일련번호를 붙이는 등의 방식으로 상기 섹션명을 생성할 수 있다.
In addition, since the INI file includes a section, in the INI format designation step (S200), the section name of the section can be set according to a predetermined format. For example, an arbitrary section name may be generated and stored in advance and then the section name may be sequentially applied, or the section name may be generated by attaching a serial number to a subkey of the lowest hierarchy of the registry.

파싱단계(S300)에서는, 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장할 수 있다. In the parsing step S300, an INI file having the directory path and file name of the specified format is generated using the registry key and sub key extracted from the registry, and the value name and value data of the registry value extracted from the registry Can be matched and stored with the value name and value data of the INI value.

먼저, 상기 파싱단계(S300)은 상기 INI형식지정단계(S200)에서 설정한 디렉토리 패스에 따라 상기 INI파일을 저장할 디렉토리를 생성할 수 있다. 즉, 하나의 디렉토리 내부에 복수개의 INI파일을 포함하는 형식으로 디렉토리패스를 설정한 경우에는, 상기 INI파일을 저장하기 위한 하나의 디렉토리를 새로 생성하거나 기존의 디렉토리 중 하나를 상기 INI파일을 저장하기 위한 디렉토리로 설정할 수 있다. 반면에, 레지스트리와 유사하게 계층적구조를 포함하는 형식으로 디렉토리패스를 설정한 경우에는, 상기 레지스트리의 키와 서브키 사이의 계층구조에 따라, 부모-자식 관계의 디렉토리를 가지도록 각각의 디렉토리를 생성할 수 있다. The parsing step S300 may generate a directory for storing the INI file according to the directory path set in the INI format specification step S200. That is, when a directory path is set in a format including a plurality of INI files in one directory, one directory for storing the INI file is newly created, or one of the existing directories is used to store the INI file It can be set as a directory for. On the other hand, when a directory path is set in a format including a hierarchical structure similar to a registry, each directory is set to have a parent-child relationship directory according to the hierarchical structure between the key and the subkey in the registry Can be generated.

이후, 상기 파싱단계(S300)에서는, 각각의 디렉토리 패스에 대응하여 지정된 파일명의 형식에 따라 INI파일을 생성할 수 있다. 즉, 상기 하나의 디렉토리 내부에 복수개의 INI파일을 포함하도록 디렉토리 패스를 설정한 경우에는, 상기 INI파일이 상기 레지스트리의 키와 서브키를 각각 언더바로 연결한 형태의 파일명을 가지도록, 상기 INI파일을 생성할 수 있다. 또한, 상기 계층적 구조를 가지도록 디렉토리 패스를 설정하는 경우에는, 상기 레지스트리의 키가 가지는 계층적 구조 중에서 최하위에 해당하는 서브키를 상기 INI파일의 파일명으로 설정하여 상기 INI파일을 생성할 수 있다. Thereafter, in the parsing step (S300), the INI file can be generated according to the format of the specified file name corresponding to each directory path. That is, if a directory path is set to include a plurality of INI files in the one directory, the INI file may have a file name in which the key and the subkey of the registry are underlined, Can be generated. When the directory path is set to have the hierarchical structure, the INI file can be generated by setting a subkey corresponding to the lowest hierarchical structure of the key of the registry to the file name of the INI file .

상기 INI파일이 생성되면, 상기 파싱단계(S300)에서는 상기 INI파일에 대응하는 각각의 레지스트리 키에 저장된 레지스트리밸류를 상기 IN파일의 INI밸류와 매칭시켜 저장할 수 있다. 즉, 상기 레지스트리에서 추출한 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장할 수 있다. 여기서, 상기 INI파일에 포함되는 섹션은, 앞서 살핀바와 같이, 기 설정된 형식에 따라 생성되는 섹션명을 가지도록 자동으로 생성될 수 있으며, 상기 생성된 섹션 내에 상기 INI밸류의 밸류명칭 및 밸류데이터가 매칭될 수 있다.
When the INI file is generated, the parsing step (S300) may store the registry value stored in each registry key corresponding to the INI file with the INI value of the IN file and store the value. That is, the value name and value data of the registry value extracted from the registry can be matched to the value name and value data of the INI value and stored. Here, the section included in the INI file may be automatically generated so as to have a section name generated according to a predetermined format, as described above, and the value name and value data of the INI value Can be matched.

본 발명의 실시예에 따른 방법들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어, 컴퓨터에서 판독 가능한 기록매체에 기록될 수 있다. 상기 컴퓨터에서 판독 가능한 기록매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터에서 판독 가능한 기록매체에는 ROM, RAM, CD-ROM, 자기테이프, 플로피디스크, 광데이터 저장장치 등을 포함할 수 있으며, 캐리어 웨이브(예를들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한, 컴퓨터에서 판독가능한 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.
The methods according to embodiments of the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable recording medium. The computer readable recording medium may include a program command, a data file, a data structure, and the like, either singly or in combination. The computer readable recording medium may include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like, and may be implemented as a carrier wave (for example, transmission over the Internet) . In addition, the computer-readable recording medium may be distributed over a network-connected computer system so that computer readable codes can be stored and executed in a distributed manner.

본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다. 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 본 발명에 따른 구성요소를 치환, 변형 및 변경할 수 있다는 것이 명백할 것이다.
The present invention is not limited to the above-described embodiments and the accompanying drawings. It will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

10: 프로세서 20: 메모리제어부
30: 주변인터페이스부 40: 메모리부
100: 컴퓨터 장치 110: 레지스트리분석모듈
120: INI형식지정모듈 130: 파싱모듈
S100: 레지스트리분석단계 S200: INI형식지정단계
S300: 파싱단계
10: processor 20: memory controller
30: peripheral interface unit 40: memory unit
100: computer device 110: registry analysis module
120: INI format specification module 130: parsing module
S100: Registry analysis step S200: INI format specification step
S300: Parsing step

Claims (9)

윈도우즈(WINDOWS™)의 레지스트리(registry)를 이기종(heterogeneous) 운영체제의 INI(initialization)파일로 변환하는 레지스트리변환방법에 있어서,
레지스트리분석모듈이, 상기 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하는 레지스트리분석단계;
INI형식지정모듈이, 상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하는 INI형식지정단계; 및
파싱모듈이, 상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 파싱(parsing)단계를 포함하는 레지스트리변환방법.
A registry conversion method for converting a registry of WINDOWS (TM) into an INI (initialization) file of a heterogeneous operating system,
The registry analysis module analyzes the key depth of the registry and the subkeys and the type of the registry value stored in the key or subkey, ;
The INI format specifying module sets a directory path of the INI file corresponding to the hierarchical structure of the registry to designate the format of the file name of the INI file, An INI format designation step of designating an INI value type stored in the INI file; And
The parsing module generates an INI file having a directory path and a filename of the specified format using the key and sub key of the registry extracted from the registry and transmits the value name and value data of the registry value extracted from the registry to the INI And a parsing step of matching and storing the value name of the value and the value data.
제1항에 있어서, 상기 레지스트리분석단계는
상기 레지스트리분석모듈이, 상기 레지스트리에 포함된 키와 상기 키에 포함된 서브키 사이의 부모-자식 관계를 이용하여 상기 레지스트리의 계층적 구조를 추출하는 레지스트리변환방법.
2. The method of claim 1, wherein the step of analyzing the registry
Wherein the registry analysis module extracts a hierarchical structure of the registry using a parent-child relationship between a key contained in the registry and a subkey contained in the key.
제1항에 있어서, 상기 레지스트리분석단계는
상기 레지스트리의 키 또는 서브키에 포함된 레지스트리밸류의 종류로 문자열, 이진값, DWORD, 심볼링크, 다중 문자열값, 리소스 목록, 리소스 서술자, 리소스 요구목록, QWORD를 포함하는 레지스트리변환방법.
2. The method of claim 1, wherein the step of analyzing the registry
Binary value, a DWORD, a symbol link, a multi-string value, a resource list, a resource descriptor, a resource requirement list, and a QWORD in the type of the registry value included in the key or sub key of the registry.
제1항에 있어서, 상기 INI형식지정단계는
상기 INI형식지정모듈이, 하나의 디렉토리 내부에 복수개의 INI파일을 포함하도록 상기 INI파일의 디렉토리 패스를 설정하고, 상기 레지스트리의 키와 상기 키에 포함되는 서브키를 각각 언더바로 연결한 형태를 상기 INI파일의 파일명의 형식을 지정하는 레지스트리변환방법.
The method of claim 1, wherein the INI formatting step
Wherein the INI type designation module sets a directory path of the INI file so that the INI file includes a plurality of INI files in one directory and forms a form in which the key of the registry and the subkey included in the key are respectively under- A registry conversion method that specifies the format of file names in INI files.
제1항에 있어서, 상기 INI형식지정단계는
상기 INI형식지정모듈이, 상기 레지스트리의 키와 서브키 사이의 계층구조에 따라 상기 INI파일이 부모-자식 관계의 디렉토리를 가지도록 상기 디렉토리 패스를 설정하고, 상기 레지스트리의 최하단 서브키를 상기 INI파일의 파일명으로 설정하도록 상기 INI파일의 형식을 지정하는 레지스트리변환방법.
The method of claim 1, wherein the INI formatting step
Wherein the INI format designation module sets the directory path so that the INI file has a parent-child relationship directory according to a hierarchical structure between the key and the subkey in the registry, The format of the INI file is set so that the file name of the INI file is set.
제1항에 있어서, 상기 INI형식지정단계는
상기 INI형식지정모듈이, 상기 INI파일에 포함되는 섹션의 섹션명을 기 설정된 형식에 따라 설정하는 단계를 더 포함하는 레지스트리변환방법.
The method of claim 1, wherein the INI formatting step
Wherein the INI format specifying module sets a section name of a section included in the INI file according to a predetermined format.
제1항 내지 제6항 중 어느 한 항의 방법을 실행하기 위한 프로그램이 기록된 컴퓨터에서 판독가능한 기록매체.
A computer-readable recording medium on which a program for executing the method of any one of claims 1 to 6 is recorded.
윈도우즈(WINDOWS™)의 레지스트리(registry)를 이기종(heterogeneous) 운영체제의 INI(initialization)파일로 변환하는 컴퓨터 장치에 있어서,
상기 레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하는 레지스트리분석모듈;
상기 레지스트리의 계층적 구조에 대응하는 상기 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하는 INI형식지정모듈; 및
상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는 파싱(parsing)모듈을 포함하는 컴퓨터 장치.
1. A computer device for converting a registry of WINDOWS (TM) into an INI (initialization) file of a heterogeneous operating system,
A registry analysis module for extracting a hierarchical structure between a key and a subkey of the registry and a type of a registry value stored in the key or subkey;
A directory path of the INI file corresponding to the hierarchical structure of the registry is set to specify the format of the file name of the INI file and stored in the INI file according to the type of the registry value An INI formatting module for specifying the type of INI value; And
Generating an INI file having a directory path and a filename of the specified format using the key and sub key of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in a value name of the INI value And a parsing module for matching and storing the data with the value data.
프로세서; 및
상기 프로세서에 커플링된 메모리를 포함하는 것으로서,
상기 메모리는 상기 프로세서에 의하여 실행되도록 구성되는 하나 이상의 모듈을 포함하고,
상기 하나 이상의 모듈은,
레지스트리의 키(key)와 서브키(subkey) 사이의 계층적 구조(key depth)와, 상기 키 또는 서브키에 저장되는 레지스트리밸류의 종류(type)를 추출하고;
상기 레지스트리의 계층적 구조에 대응하는 INI파일의 디렉토리 패스(directory path)를 설정하여 상기 INI파일의 파일명(file name)의 형식을 지정하고, 상기 레지스트리밸류의 종류에 따라 상기 INI파일에 저장되는 INI밸류의 종류를 지정하며;
상기 레지스트리에서 추출한 상기 레지스트리의 키 및 서브키를 이용하여 상기 지정된 형식의 디렉토리 패스와 파일명을 가지는 INI파일을 생성하고, 상기 레지스트리에서 추출한 상기 레지스트리밸류의 밸류명칭 및 밸류데이터를 상기 INI밸류의 밸류명칭 및 밸류데이터로 매칭하여 저장하는
명령어를 포함하는 컴퓨터 장치.
A processor; And
A memory coupled to the processor,
The memory comprising one or more modules configured to be executed by the processor,
Wherein the one or more modules comprise:
Extracting a hierarchical structure between a key and a subkey in the registry and a type of a registry value stored in the key or subkey;
A directory path of an INI file corresponding to the hierarchical structure of the registry is set to specify a format of a file name of the INI file and an INI file stored in the INI file according to the type of the registry value, Specifies the type of value;
Generating an INI file having a directory path and a filename of the specified format using the key and sub key of the registry extracted from the registry and storing the value name and value data of the registry value extracted from the registry in a value name of the INI value And the value data
≪ / RTI >
KR1020140025028A 2014-03-03 2014-03-03 Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file KR101624170B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140025028A KR101624170B1 (en) 2014-03-03 2014-03-03 Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140025028A KR101624170B1 (en) 2014-03-03 2014-03-03 Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file

Publications (2)

Publication Number Publication Date
KR20150103504A KR20150103504A (en) 2015-09-11
KR101624170B1 true KR101624170B1 (en) 2016-05-25

Family

ID=54243689

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140025028A KR101624170B1 (en) 2014-03-03 2014-03-03 Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file

Country Status (1)

Country Link
KR (1) KR101624170B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102275191B1 (en) * 2019-11-01 2021-07-09 서울과학기술대학교 산학협력단 Storage System and Method in Windows Operating Systems for the General-Purpose Data Storage

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174215A1 (en) 2001-05-16 2002-11-21 Stuart Schaefer Operating system abstraction and protection layer
US6615278B1 (en) 1999-03-29 2003-09-02 International Business Machines Corporation Cross-platform program, system, and method having a global registry object for mapping registry equivalent functions in an OS/2 operating system environment
KR100796798B1 (en) 2007-03-12 2008-01-22 주식회사 셀런 O/s registry backup method in set-top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615278B1 (en) 1999-03-29 2003-09-02 International Business Machines Corporation Cross-platform program, system, and method having a global registry object for mapping registry equivalent functions in an OS/2 operating system environment
US20020174215A1 (en) 2001-05-16 2002-11-21 Stuart Schaefer Operating system abstraction and protection layer
KR100796798B1 (en) 2007-03-12 2008-01-22 주식회사 셀런 O/s registry backup method in set-top box

Also Published As

Publication number Publication date
KR20150103504A (en) 2015-09-11

Similar Documents

Publication Publication Date Title
US9218197B2 (en) Virtual machine image migration
EP2765508B1 (en) Installation method and installation device for application software
US8924954B2 (en) Application software installation method and application software installation apparatus
US9762439B2 (en) Configuration command template creation assistant using cross-model analysis to identify common syntax and semantics
US9183062B2 (en) Automated application reconfiguration
US10210191B2 (en) Accelerated access to objects in an object store implemented utilizing a file storage system
US10095731B2 (en) Dynamically converting search-time fields to ingest-time fields
US8185684B1 (en) Method and apparatus for resolving volume identifiers associated with a virtual machine
US9817592B1 (en) Using an intermediate virtual disk format for virtual disk conversion
US9767118B2 (en) Optimized UEFI file system with network file system compound statements
US9389879B2 (en) System and method for manipulating user-interface display items for web widgets
US10678652B1 (en) Identifying changed files in incremental block-based backups to backup indexes
US10019185B2 (en) System and method for copying directory structures
KR101624170B1 (en) Method, apparatus and computer-readable medium for converting Windows's registry data to heterogeneous operation system's INI file
US20140181238A1 (en) Access and control of mainframe-based data in non-mainframe format
CN102929662A (en) Network-based method for partitioning in batch
US20120254380A1 (en) Enabling Selective Policy Driven Propagation of Configuration Elements Between and Among a Host and a Plurality of Guests
US10146822B1 (en) Automated script generator for processing storage system data files
CN109144948B (en) Application file positioning method and device, electronic equipment and memory
JP2019008799A (en) System and method for merging source data from source application into target data of target application
US20240037068A1 (en) System and method of large file extraction
TWI601069B (en) File processing method and electronic apparatus
CN111045859B (en) Method, apparatus and computer program product for backing up virtual machines
CN108052654A (en) Data extraction method, device, equipment and storage medium
US20190012221A1 (en) Collaboration system protocol processing

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
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: 20200309

Year of fee payment: 5