KR100892286B1 - Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method - Google Patents

Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method Download PDF

Info

Publication number
KR100892286B1
KR100892286B1 KR1020070100026A KR20070100026A KR100892286B1 KR 100892286 B1 KR100892286 B1 KR 100892286B1 KR 1020070100026 A KR1020070100026 A KR 1020070100026A KR 20070100026 A KR20070100026 A KR 20070100026A KR 100892286 B1 KR100892286 B1 KR 100892286B1
Authority
KR
South Korea
Prior art keywords
partition
application
setting
embedded system
embedded
Prior art date
Application number
KR1020070100026A
Other languages
Korean (ko)
Other versions
KR20080052340A (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 한국전자통신연구원
Publication of KR20080052340A publication Critical patent/KR20080052340A/en
Application granted granted Critical
Publication of KR100892286B1 publication Critical patent/KR100892286B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Abstract

본 발명의 실시예에 의한 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법은, 임베디드 시스템에 대해 적어도 하나 이상의 파티션이 설정되는 단계와; 상기 적어도 하나 이상의 파티션 구조로 구현되는 임베디드 시스템에 설치되는 응용 프로그램의 위치가 설정되는 단계와; 상기 임베디드 시스템에 설치된 응용 프로그램 간의 의존성 여부 및 상기 응용 프로그램의 설치 위치에 의한 시스템 안정성이 검사되는 단계와; 상기 시스템 안정성 검사가 실행된 후 시스템이 안정한 설정인지 여부가 결정되는 단계가 포함됨을 특징으로 한다. In accordance with another aspect of the present invention, there is provided a method for integrating an embedded system to support multiple partition dependencies, the method including: setting at least one partition for an embedded system; Setting a location of an application installed in an embedded system implemented with the at least one partition structure; Checking system dependence by dependencies between applications installed in the embedded system and the installation location of the application; And after the system stability check is executed, determining whether the system is in a stable setting.

다중 파티션 의존성, 임베디드 시스템 Multi-partition dependency, embedded system

Description

다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법{Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method}Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method}

본 발명은 시스템 통합 설정 방법에 관한 것으로, 특히 다중 디스크 파티션 구조를 가지는 시스템 상에서 컴퓨터 운영체제인 리눅스의 응용 소프트웨어 간의 의존성 설정에 상기 디스크 파티션 구조 간의 의존성까지 고려한 임베디드 시스템 통합 설정 방법에 관한 것이다. The present invention relates to a system integration configuration method, and more particularly, to an embedded system integration configuration method considering dependency between the disk partition structure and the dependency configuration between the application software of a computer operating system Linux on a system having a multiple disk partition structure.

임베디드 시스템(Embdded system)은 특정한 응용 프로그램을 수행하거나 범용으로 사용되는 환경이 아닌 특정환경에 특화된 컴퓨터 시스템을 말한다. 휴대폰, 가정용 게임기, 디지털 TV 등이 대표적인 임베디드 시스템이며, 점점 임베디드 시스템 장치의 요구 기능이 복잡해짐에 따라서 전통적으로 운영체제 없이 작동되던 임베디드 시스템에서 현대적인 운영체제를 탑재한 임베디드 시스템으로 발전하고 있다.An embedded system is a computer system that is specialized in a specific environment, not an environment for executing a specific application or being used for general purposes. Mobile phones, home game consoles, and digital TVs are typical embedded systems, and as the required functions of embedded system devices become more complex, they are evolving from embedded systems that have traditionally operated without operating systems to embedded systems with modern operating systems.

또한, 임베디드 시스템은 개인용 컴퓨터와 달리 사용용도에 따라서 다양한 프로세서와 메모리, 주변기기로 구성되어 있으며, 특정 용도에 기능을 제한하여 시 스템을 구성하기에 대부분 저장용량이 작고, 처리속력이 빠르지 않은 중앙처리 장치를 사용한다. 이렇게 다양한 구성을 가질 수 있는 임베디드 시스템에 사용되는 운영체계(OS: Operating System)으로서 리눅스(Linux)를 선택하는 시도가 많이 이루어 지고 있다. In addition, unlike a personal computer, an embedded system is composed of various processors, memory, and peripheral devices depending on the purpose of use.In general, the embedded system has a small storage capacity and a fast processing speed because it limits the function to a specific use. Use the device. Many attempts have been made to select Linux as an operating system (OS) used in embedded systems that can have various configurations.

상기 리눅스는 대형 기종에서나 작동하던 운영체계인 유닉스를 소형 PC에서도 작동할 수 있도록 만든 컴퓨터 기본 운영체계이다. 리눅스는 프로그램 소스코드가 공개돼 있어 프로그래머가 원하는 대로 특정기능을 추가할 수 있고, 더욱이 어느 플랫폼에도 포팅이 가능하다는 장점이 있다. 특히, 리눅스는 프로그램 소스 코드가 무료로 공개돼 있어 제품의 단가를 낮출 수 있는 장점이 있다.Linux is a basic computer operating system that makes Unix, the operating system that used to work on large models, to run on small PCs. Linux has the advantage that the program source code is open so that programmers can add specific features as they wish, and even port them to any platform. In particular, Linux has the advantage of lowering the cost of the product because the program source code is freely available.

한편, 임베디드 시스템의 제한적인 환경으로 인해 시스템에 설치될 응용 프로그램과 커널(Kernel)의 기능 중 필요한 것만 선택하여 설치할 수 있는 개발환경이 필요하다. On the other hand, due to the limited environment of the embedded system, a development environment that can select and install only the necessary functions among application programs and kernel functions to be installed in the system is needed.

상기 커널은 컴퓨터 운영체계의 가장 중요한 핵심으로서, 운영체계의 다른 모든 부분에 여러 가지 기본적인 서비스를 제공한다. 일반적으로, 커널에는 종료된 입출력 연산 등의 커널의 서비스를 경쟁적으로 요구하는 모든 요청들을 처리하는 인터럽트 처리기와 어떤 프로그램들이 어떤 순서로 커널의 처리시간을 공유할 것인지를 결정하는 스케줄러 및 스케줄이 끝나면 실제로 각 프로세스들에게 컴퓨터의 사용권을 부여하는 수퍼바이저 등이 포함되어 있다. The kernel is the most important core of the computer operating system and provides several basic services to all other parts of the operating system. In general, the kernel has an interrupt handler that handles all requests that competitively require kernel services, such as terminated I / O operations, and a scheduler that determines which programs will share the kernel's processing time and in what order. It includes a supervisor that gives each process a license to the computer.

커널은 또한, 메모리나 저장장치 내에서 운영체계의 주소공간을 관리하고, 이들을 모든 주변장치들과 커널의 서비스들을 사용하는 다른 사용자들에게 고루 나 누어주는 메모리 관리자를 가지고 있다. 커널의 서비스는 운영체계의 다른 부분이나 스템 호출이라고 알려진 일련의 프로그램 인터페이스들을 통해 요청된다. 커널을 유지하기 위한 코드는 지속적으로 사용되기 때문에, 보통 커널은 자주 사용되지 않는 운영체계의 나머지 부분에 의해 덮어 씌워져 훼손되지 않도록 보호된 메모리 영역에 적재된다.The kernel also has a memory manager that manages the operating system's address space in memory or storage and distributes it to all peripherals and other users of the kernel's services. Kernel services are requested through different parts of the operating system or through a set of program interfaces known as system calls. Because the code to maintain the kernel is used continuously, the kernel is usually loaded in a memory area that is protected from being corrupted by being overwritten by the rest of the infrequently used operating system.

리눅스 커널과 응용 프로그램의 설정 간에는 서로 의존 관계가 있는 경우가 많아 리눅스 커널과 응용 프로그램의 설정에 어려움이 있다. 예컨대, 특정 응용프로그램이 제대로 동작하기 위해서는 리눅스 커널의 옵션 A가 선택되어 있어야 하는 경우를 말한다. 또한, 이와 같은 의존 관계는 응용 프로그램 간에도 있을 수 있다. There are many dependencies between the Linux kernel and application settings, which makes it difficult to configure the Linux kernel and applications. For example, option A of the Linux kernel must be selected for certain applications to work properly. Such dependencies can also exist between applications.

이러한 의존 관계로 인한 설정의 어려움을 극복하기 위해서 설정 과정 중에 의존성 검사가 가능하도록 하기 위한 컴퓨터 언어로서 CML2(Configuration Menu Language 2)나 EDC(Embedix Component Description)가 개발되었다. In order to overcome the difficulties of configuration due to such dependency, configuration menu language 2 (CML2) or embedded component description (EDC) has been developed as a computer language for enabling dependency checking during the configuration process.

즉, 임베디드 시스템의 특성상 다양한 환경이 존재할 수 있으며, 이렇게 다양한 환경하에서 효율적이고 간편하게 임베디드 시스템 개발을 위해서 자동화된 설정 프로그램을 사용하여 작업의 효율을 높인다.That is, due to the characteristics of the embedded system, various environments may exist, and in such a diverse environment, an automated configuration program is used to efficiently and easily develop an embedded system, thereby increasing work efficiency.

그러나, 기존의 임베디드 시스템 설정 도구는 단일 파티션 구조의 시스템을 가정하여 제작되어 있고, 응용 프로그램 간의 의존성만 설정되어 있기 때문에 파티션별로 나누어진 환경에서 즉, 파티션이 분리된 구조의 시스템에서는 시스템의 기본 기능을 상실하는 경우가 발생할 수 있다는 문제가 있다.However, the existing embedded system configuration tool is designed assuming a system with a single partition structure, and since only dependencies between applications are set, the basic function of the system in a partitioned environment, that is, a system with a partitioned structure, is established. There is a problem that a case can be lost.

본 발명은 임베디드 시스템의 설정 및 응용 프로그램의 구성에 있어서, 응용 소프트웨어 간의 의존성 설정뿐 아나라, 다중 디스크 파티션(multi disc partition) 구조를 가지는 임베디드 시스템 상에서 각 파티션에 설치되는 응용 프로그램의 설치 위치 의존성까지 고려함으로써, 일부 파티션이 분리되어도 전체 시스템 작동에는 문제가 없도록 자동화된 기술적 요구 사항을 제공하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법을 제공함에 그 목적이 있다. The present invention not only sets the dependencies between the application software in the configuration of the embedded system and the configuration of the application program, but also the installation location dependency of the application program installed in each partition on the embedded system having a multi disc partition structure. The objective is to provide an integrated system integration setup method that supports multiple partition dependencies that provide automated technical requirements so that even if some partitions are separated, there is no problem with the overall system operation.

상기 목적을 달성하기 위하여 본 발명의 실시예에 의한 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법은, 임베디드 시스템에 대해 적어도 하나 이상의 파티션이 설정되는 단계와; 상기 적어도 하나 이상의 파티션 구조로 구현되는 임베디드 시스템에 설치되는 응용 프로그램의 위치가 설정되는 단계와; 상기 임베디드 시스템에 설치된 응용 프로그램 간의 의존성 여부 및 상기 응용 프로그램의 설치 위치에 의한 시스템 안정성이 검사되는 단계와; 상기 시스템 안정성 검사가 실행된 후 시스템이 안정한 설정인지 여부가 결정되는 단계가 포함됨을 특징으로 한다. In order to achieve the above object, an embedded system integration setting method supporting multiple partition dependencies according to an embodiment of the present invention includes: setting at least one partition for an embedded system; Setting a location of an application installed in an embedded system implemented with the at least one partition structure; Checking system dependence by dependencies between applications installed in the embedded system and the installation location of the application; And after the system stability check is executed, determining whether the system is in a stable setting.

또한, 상기 시스템이 안정한 설정인지 여부가 결정된 후, 상기 시스템이 안정한 설정이 아닌 경우에는 경고 메시지를 출력하는 단계가 더 포함됨을 특징으로 한다.The method may further include outputting a warning message when the system is not stable after determining whether the system is stable.

또한, 상기 시스템이 안정한 설정인지 여부가 결정된 후, 시스템의 통합 설정이 완료되었는지 확인하는 단계와; 상기 통합 설정이 완료된 경우 상기 해당 설정으로 임베디드 시스템 이미지가 생성되는 단계가 더 포함됨을 특징으로 한다.And after determining whether the system is in a stable setting, checking whether the integrated setting of the system is completed; When the integration setting is completed, the method further comprises the step of generating an embedded system image with the corresponding setting.

또한, 상기 임베디드 시스템의 소정 파티션에 설치되는 응용 프로그램의 경우 각 응용 프로그램마다 패키지화되고, 상기 각각 패키지에는 응용 프로그램 간의 의존성 및 기본정보로서의 위치 정보가 기술됨을 특징으로 한다. In addition, an application program installed in a predetermined partition of the embedded system is packaged for each application program, wherein each package is characterized in that the dependency between application programs and location information as basic information are described.

또한, 상기 시스템 안정성이 검사되는 단계에서, 제 1응용 프로그램이 위치한 파티션이 Unremovable이고, 상기 제 1응용 프로그램이 의존하는 제 2응용 프로그램이 위치한 파티션이 Removable일 경우, 상기 시스템은 불안정한 상태로 검사됨을 특징으로 한다.In addition, when the system stability is checked, if the partition in which the first application is located is Unremovable and the partition in which the second application is dependent on the first application is Removable, the system is checked as unstable. It features.

이상에서 설명한 바와 같이, 본 발명은 기존의 설정 시스템에서 제공한 단순 응용 프로그램간의 의존성 계산뿐만 아니라 응용 프로그램이 설치될 위치와 다중 파티션구조를 가진 시스템에서의 시스템 안정성을 검증할 수 있는 방법으로서, 이를 통해 다양한 구조와 환경상에서 개발자는 손쉽게 자신이 설정한 시스템의 안정성을 손쉽게 검증할 수 있게 되어 개발 효율을 높일 수 있다는 장점이 있다.As described above, the present invention is a method for verifying system stability in a system having a multi-partition structure and a location where an application is installed, as well as calculating dependencies between simple applications provided by an existing configuration system. Through the various structures and environments, developers can easily verify the stability of the system they set up, which has the advantage of improving development efficiency.

이하, 첨부된 도면을 참고하여 본 발명의 실시예를 보다 상세히 설명하도록 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 의한 임베디드 시스템에서 다중 파티션 구조를 기술하는 방법을 나타내는 도면이다. 1 is a view showing a method for describing a multi-partition structure in an embedded system according to an embodiment of the present invention.

임베디드 시스템에 설정된 파티션 정보는 도 1에 도시된 바와 같이 6개의 필드에 소정의 정보가 각각 기재됨으로써 기술된다. The partition information set in the embedded system is described by describing predetermined information in six fields as shown in FIG. 1.

도 1을 참조하면, 첫번째 필드는 각각 파티션을 구분하는 구분자(도 1의 QPLUS_STORAGE_0; QPLUS_STORAGE_1; QPLUS_STORAGE_2), 두번째 필드는 해당 파티션의 실질적 기기 위치를 표현하는 구분자(도 1의 /dev/mtdblock0; /dev/mtd00; /dev/xxxx), 세번째 필드는 해당 파티션이 시스템에 마운트 되는 디렉토리(도 1의 /; /usr; /usr/local), 네번째 필드는 파티션 크기(도 1의 10000000; 35480000; 1020300), 다섯번째 필드는 해당 파티션이 최종 이미지화될 때 변환될 파일 시스템 타입(도 1의 jffs2; jffs2; ramdisk), 여섯번째 필드는 해당 파티션의 속성(도 1의 Unremovable; Unremovable; Unremovable)이다. Referring to FIG. 1, the first field is a delimiter for each partition (QPLUS_STORAGE_0; QPLUS_STORAGE_1; QPLUS_STORAGE_2), and the second field is a delimiter representing the actual device location of the partition (/ dev / mtdblock0; / dev / mtd00; / dev / xxxx), the third field is the directory where the partition is mounted on the system (/; / usr; / usr / local in FIG. 1), and the fourth field is the partition size (10000000 in FIG. 1; 35480000; 1020300). The fifth field is the file system type (jffs2; jffs2; ramdisk of FIG. 1) to be converted when the partition is finally imaged, and the sixth field is an attribute of the partition (Unremovable; Unremovable; Unremovable of FIG. 1).

이 때. 본 발명의 실시예에서는 다중 디스크 파티션(multi disc partition) 구조를 가지는 임베디드 시스템 상에서 각 파티션에 설치되는 응용 프로그램의 설치 위치 의존성까지 고려하기 위하여 상기 6개의 필드 중 세번째 필드와 여섯번째 필드를 활용함을 특징으로 한다.At this time. In the embodiment of the present invention, the third field and the sixth field of the six fields are utilized to consider the installation location dependence of the application installed in each partition on the embedded system having the multi disc partition structure. It features.

상기 여섯번째 필드인 해당 파티션의 속성은 removable과 unremovable로 구분된다.The attributes of the partition, the sixth field, are divided into removable and unremovable.

여기서, 상기 removable은 시스템이 작동될 때 분리될 수 있는 파티션을 나타내며, 상기 unremovable은 시스템이 작동되는 동안 분리되지 않는 파티션을 나타낸다. Here, removable represents a partition that can be detached when the system is operating, and unremovable represents a partition that is not detachable while the system is operating.

또한, 상기 세번째 필드인 해당 파티션이 시스템에 마운트되는 디렉토리 즉, 해당 파티션이 실제 기기에 설정될 때 적용되는 디렉토리를 지칭하며, 이 정보는 어플리케이션들의 의존성 관계를 구성함에 있어 중요한 정보가 된다.In addition, the third field, which is the directory in which the partition is mounted on the system, that is, the directory applied when the partition is set in the actual device, is used. This information is important information in forming a dependency relationship between applications.

도 2는 본 발명의 실시예에서 응용 프로그램 간의 의존성과 해당 응용 프로그램이 설치될 위치를 기술하는 방법을 나타내는 도면이다.FIG. 2 is a diagram for describing a dependency between application programs and a method of describing a location where an application program is installed in an embodiment of the present invention.

임베디드 시스템에 설치되는 응용 프로그램의 경우에는 각 응용 프로그램마다 패키지화되고, 상기 각각 패키지에는 도 2에 도시된 바와 같이 응용 프로그램 간의 의존성 및 기본정보가 기술된다. In the case of an application program installed in an embedded system, each application program is packaged for each application program, and each package describes dependency and basic information between the application programs as shown in FIG. 2.

즉, 상기 정보에는 "A 응용 프로그램이 작동되기 위해서는 B 응용 프로그램이 필요하다" 식의 표현으로 응용 프로그램 간의 의존성이 기술되어 있으며, 또한, 해당 어플리케이션이 설치된 위치도 같이 기술된다.That is, the above information describes the dependencies between the application programs in the expression "A application program requires B application program to operate", and also describes the location where the application is installed.

본 발명의 실시예는 상기 도 2에 도시된 바와 같이 기술된 응용 프로그램 간의 의존성 정보를 토대로 각 응용 프로그램이 설치되는 위치에 따라서 특정 파티션이 시스템 실행 중에 분리가 되어도 전체 시스템이 작동 가능하게 하도록 응용 프로그램이 설치될 위치나 파티션을 설정할 때, 하기된 도 3의 규칙을 참조하여 사용자에게 현재 설정내용에 대해서 전체 시스템이 문제가 발생할 수 있는 가능성을 보여줌을 그 특징으로 한다. An embodiment of the present invention provides an application program to enable the entire system to operate even if a specific partition is separated while the system is running, depending on the location where each application is installed based on the dependency information between the applications described as shown in FIG. When setting the location or partition to be installed, the user can be referred to the rules of FIG. 3 below to show the user the possibility that a problem may occur in the entire system with respect to the current configuration.

즉, 상황에 따라서 사용자가 의도적으로 시스템의 불안정함을 감수하고 셋팅하는 경우도 있을 수 있으므로, 현재 설정내용에 대해서 전체 시스템이 문제가 발 생할 수 있는 가능성에 대해 단순 경고 메시지만 출력해서 현재 설정의 상태만 보여줌으로서 실제 시스템의 통합 설정은 이를 수행하는 사용자에게 판단을 맡기도록 한다.In other words, depending on the situation, the user may intentionally set the system instability and set it. Therefore, a simple warning message is output about the possibility that the whole system may have a problem with the current setting contents. By showing only the state, the integration of the actual system leaves the decision to the user who does it.

도 3은 본 발명의 실시예에서 응용 프로그램 간의 설치 위치에 따른 전체 임베디드 시스템의 안정성 검증을 나타내는 도표이다. 3 is a diagram illustrating the stability verification of the entire embedded system according to the installation location between the applications in the embodiment of the present invention.

도 3 도시된 각각의 상태에 대한 설명은 하기된 바와 같다. Description of each state shown in FIG. 3 is as follows.

먼저 응용 프로그램 A가 응용 프로그램 B에 의존할 경우 즉, 패키지 A가 패키지B에 의존할 경우(Pa → Pb), 응용 프로그램 A가 위치한 파티션이 Unremovable이고 응용 프로그램B가 위치한 파티션이 Unremovable이라면, 의존되는 프로그램들이 실행시간에 분리가 될 경우가 없으므로 안정 상태이다(a).First, if application A depends on application B, that is, package A depends on package B (P a → P b ), if the partition where application A is located is Unremovable and the partition where application B is located is Unremovable, It is stable because dependent programs are not separated at runtime (a).

또한, 응용 프로그램 A가 위치한 파티션이 removable이고, 응용 프로그램B가 위치한 파티션이 Unremovable일 경우, 응용 프로그램 A의 실행에 필요한 프로그램인 B는 실행 시간 동안 시스템에 계속 존재하므로 사용자 의도에 따라서 응용 프로그램 A를 실행시간에 분리하는 것이 되므로 시스템은 안정 상태이다(b). In addition, if the partition where application A is located is removable and the partition where application B is located is Unremovable, B, a program necessary to execute application A, will exist on the system for the duration of the execution time. The system is in a stable state because it is separated at run time (b).

그러나, 응용 프로그램 A가 위치한 파티션이 Unremovable이면서, 의존하는 응용 프로그램 B가 위치한 파티션이 Removable일 경우, 상기 응용 프로그램 A가 실행할 때 필요한 응용 프로그램 B가 실행중 분리가 될 수 있으므로, 시스템은 불안정한 상태이다(c). However, if the partition in which application A is located is Unremovable and the partition in which dependent application B is located is Removable, the system is in an unstable state because application B, which is required when the application A is running, may become detached during execution. (c).

반면에 응용 프로그램 A, B가 위치한 파티션이 모두 Removable일 경우에는 시스템은 불안정 상태라 볼 수 있지만, 이 상태는 사용자 의도가 반영이 된 상태라보고 안정상태로 정의할 수 있다(d).On the other hand, if the partitions where the applications A and B are located are all removable, the system can be considered as unstable, but this state can be defined as a stable state, reflecting user intention (d).

도 4는 본 발명의 실시예에 의한 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법을 나타내는 순서도이다. 4 is a flowchart illustrating a method for integrating an embedded system supporting multiple partition dependencies according to an exemplary embodiment of the present invention.

앞서 도 1 내지 도 3을 통해 설명한 내용에 기반하여 다중 파티션 의존성을 지원하는 임베디드 시스템의 통합 설정 방법은 하기된 바와 같이 동작된다. Based on the contents described above with reference to FIGS. 1 to 3, an integrated configuration method of an embedded system supporting multiple partition dependencies operates as described below.

도 4를 참조하면, 먼저 임베디드 시스템에 대해 적어도 하나 이상의 파티션이 설정된다(S01).Referring to FIG. 4, first, at least one partition is set for an embedded system (S01).

즉, 본 발명의 실시예에 의한 임베디드 시스템은 다중 디스크 파티션(multi disc partition) 구조로 구현됨을 특징으로 하며, 상기 다중 디스크 파티션 구조의 임베디드 시스템에 설정된 파티션 정보는 앞서 도 1에 도시된 바와 같이 6개의 필드에 소정의 정보가 각각 기재됨으로써 기술된다.That is, the embedded system according to the embodiment of the present invention is implemented in a multi disc partition structure, and the partition information set in the embedded system of the multi disc partition structure is 6 as shown in FIG. The predetermined information is described in each of the three fields.

다음으로 상기 다중의 파티션으로 구현되는 임베디드 시스템에 설치되는 응용 프로그램의 위치가 설정된다(S02). Next, the location of the application installed in the embedded system implemented with the multiple partitions is set (S02).

이 때, 상기 임베디드 시스템의 소정 파티션에 설치되는 응용 프로그램의 경우 각 응용 프로그램마다 패키지화되고, 상기 각각 패키지에는 도 2에 도시된 바와 같이 응용 프로그램 간의 의존성 및 기본정보로서의 위치 정보가 기술된다. In this case, an application program installed in a predetermined partition of the embedded system is packaged for each application program, and each package describes dependency between the application programs and location information as basic information as shown in FIG. 2.

즉, 상기 정보에는 해당 응용 프로그램이 설치된 파티션의 위치 정보가 포함 된다.That is, the information includes the location information of the partition where the application is installed.

다음으로는 상기 임베디드 시스템에 설치된 응용 프로그램 간의 의존성 여부 및 상기 응용 프로그램의 설치 위치에 의한 시스템 안정성이 검사된다(S03).Next, the system stability by the dependence between the applications installed in the embedded system and the installation location of the application is checked (S03).

상기 응용 프로그램 간의 의존성 여부는 도 2를 통해 설명한 바와 같이 각 패키지화된 응용 프로그램의 정보를 통해 확인할 수 있다.As described above with reference to FIG. 2, the dependency between the application programs may be confirmed through information of each packaged application program.

즉, 상기 각각 패키지에는 도 2에 도시된 바와 같이 응용 프로그램 간의 의존성 및 기본정보가 기술된다. 상기 정보에는 "A 응용 프로그램이 작동되기 위해서는 B 응용 프로그램이 필요하다" 식의 표현으로 응용 프로그램 간의 의존성이 기술되어 있다.That is, in each of the packages, dependency and basic information between application programs are described as shown in FIG. The above information describes the dependencies between the applications in the expression "A application program requires B application program to operate."

또한, 본 발명의 실시예는 상기 도 2에 도시된 바와 같이 기술된 응용 프로그램 간의 의존성 정보를 토대로 각 응용 프로그램이 설치되는 위치에 따라서 특정 파티션이 시스템 실행 중에 분리가 되어도 전체 시스템이 안정적으로 동작할 수 있는지 시스템의 안정성을 검사한다. In addition, according to the embodiment of the present invention, the entire system may be stably operated even when a specific partition is separated while the system is running, based on the location of each application installed based on the dependency information between the applications described as shown in FIG. Check the system for stability.

이는 상기 응용 프로그램 간의 의존성 정보 및 상기 도 1에서 설명한 여섯번째 필드로서 removable과 unremovable로 구분되는 해당 파티션의 속성에 근거하여 도 3에 도시된 도표를 통해 구현된다. This is implemented through the diagram shown in FIG. 3 based on dependency information between the application programs and attributes of the partition divided into removable and unremovable as the sixth field described in FIG.

즉, 일 예로 응용 프로그램 A, B가 각각 상이한 파티션에 위치됨을 가정하여, 먼저 응용 프로그램 A가 응용 프로그램 B에 의존할 경우 즉, 패키지 A가 패키지B에 의존할 경우(Pa → Pb), 응용 프로그램 A가 위치한 파티션이 Unremovable이고 응용 프로그램B가 위치한 파티션이 Unremovable이라면, 의존되는 프로그램들이 실행시간에 분리가 될 경우가 없으므로 안정 상태가 된다.That is, for example, assuming that applications A and B are located in different partitions, first, when application A depends on application B, that is, when package A depends on package B (P a → P b ), If the partition where application A is located is Unremovable and the partition where application B is located is Unremovable, then the dependent programs are not separated at run time and thus become stable.

또한, 응용 프로그램 A가 위치한 파티션이 removable이고, 응용 프로그램B가 위치한 파티션이 Unremovable일 경우, 응용 프로그램 A의 실행에 필요한 프로그램인 B는 실행 시간 동안 시스템에 계속 존재하므로 사용자 의도에 따라서 응용 프로그램 A를 실행시간에 분리하는 것이 되므로 시스템은 안정 상태가 된다.In addition, if the partition where application A is located is removable and the partition where application B is located is Unremovable, B, a program necessary to execute application A, will exist on the system for the duration of the execution time. The system is stable because it is separated at run time.

그러나, 응용 프로그램 A가 위치한 파티션이 Unremovable이면서, 의존하는 응용 프로그램 B가 위치한 파티션도 Removable일 경우, 상기 응용 프로그램 A가 실행할 때 필요한 응용 프로그램 B가 실행중 분리가 될 수 있으므로, 시스템은 불안정한 상태가 된다. However, if the partition in which application A is located is Unremovable and the partition in which dependent application B is located is also Removable, the system is in an unstable state because application B, which is required when the application A is running, may become detached during execution. do.

반면에 응용 프로그램 A, B가 위치한 파티션이 모두 Removable일 경우에는 시스템은 불안정 상태라 볼 수 있지만, 이 상태는 사용자 의도가 반영이 된 상태라보고 안정상태로 정의할 수 있다.On the other hand, if the partitions where the applications A and B are located are all removable, the system can be considered as unstable, but this state can be defined as a stable state that reflects the user's intention.

이와 같이 응용 프로그램의 설치 위치에 따른 시스템 안정성 검사가 실행된 후 시스템이 안정한 설정인지 여부가 결정(S04)된 이후, 시스템이 안정한 설정이 아닌 경우에는 경고 메시지를 출력한다(S05).After determining whether the system is stable after executing the system stability check according to the installation location of the application program as described above (S04), if the system is not stable setting, a warning message is output (S05).

즉, 상황에 따라서 사용자가 의도적으로 시스템의 불안정함을 감수하고 셋팅하는 경우도 있을 수 있으므로, 현재 설정내용에 대해서 전체 시스템이 문제가 발생할 수 있는 가능성에 대해 단순 경고 메시지만 출력해서 현재 설정의 상태만 보여줌으로서 실제 시스템의 통합 설정은 이를 수행하는 사용자에게 판단을 맡기도록 한다.In other words, depending on the situation, the user may intentionally set the system instability and set it. Therefore, the current state of the current setting is displayed by outputting a simple warning message about the possibility that the whole system may have a problem with respect to the current setting. By showing only the integration of the actual system, it is up to the user to do this.

다음으로는 시스템의 통합 설정이 완료되었는지 확인한 후(S06), 통합 설정이 완료되었으면 상기 해당 설정으로 임베디드 시스템 이미지를 생성하고(S07), 그렇지 않은 경우 즉, 통합 설정이 완료되지 않은 경우에는 최초 임베디드 시스템의 파티션 설정 단계(S01)로 피드백된다.Next, after confirming that the integration setting of the system is completed (S06), if the integration setting is completed, generate an embedded system image with the corresponding setting (S07), otherwise, that is, if the integration setting is not completed, the first embedded The system feeds back to the partition setting step S01 of the system.

즉, 사용자의 판단에 의해 실제 시스템의 통합 설정 여부가 결정되므로, 사용자가 설정 완료를 수행하지 않을 경우에는 처음 단계로 피드백되는 것이다.That is, since the determination of the integration of the actual system is determined by the user's judgment, when the user does not complete the setting, the feedback is fed back to the first step.

이상 설명한 본 발명의 실시예에 의한 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. The integrated system integrated configuration method for supporting multiple partition dependencies according to the embodiments of the present invention described above may be embodied as computer readable codes on a computer readable recording medium.

컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 유형의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는, ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장 장치 등이 있으며, 또한 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드로 저장되고 실행될 수 있다.Computer-readable recording media include any type of recording device that stores data that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disks, optical data storage devices, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). It includes being. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본 질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

도 1은 본 발명의 실시예에 의한 임베디드 시스템에서 다중 파티션 구조를 기술하는 방법을 나타내는 도면.1 is a diagram illustrating a method for describing a multi-partition structure in an embedded system according to an embodiment of the present invention.

도 2는 본 발명의 실시예에서 응용 프로그램 간의 의존성과 해당 응용 프로그램이 설치될 위치를 기술하는 방법을 나타내는 도면.2 is a diagram illustrating a method for describing dependencies between applications and a location where the corresponding applications will be installed in an embodiment of the present invention.

도 3은 본 발명의 실시예에서 응용 프로그램 간의 설치 위치에 따른 전체 임베디드 시스템의 안정성 검증을 나타내는 도표.Figure 3 is a diagram showing the stability verification of the entire embedded system according to the installation location between applications in the embodiment of the present invention.

도 4는 본 발명의 실시예에 의한 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법을 나타내는 순서도.4 is a flowchart illustrating a method for integrating an embedded system supporting multiple partition dependencies according to an exemplary embodiment of the present invention.

Claims (5)

임베디드 시스템에 대해 적어도 하나 이상의 파티션이 설정되는 단계와;Establishing at least one partition for the embedded system; 상기 적어도 하나 이상의 파티션 구조로 구현되는 임베디드 시스템에 설치되는 응용 프로그램의 위치가 설정되는 단계와;Setting a location of an application installed in an embedded system implemented with the at least one partition structure; 상기 임베디드 시스템에 설치된 응용 프로그램 간의 의존성 여부 및 상기 응용 프로그램의 설치 위치에 의한 시스템 안정성이 검사되는 단계와;Checking system dependence by dependencies between applications installed in the embedded system and the installation location of the application; 상기 시스템 안정성 검사가 실행된 후 시스템이 안정한 설정인지 여부가 결정되는 단계가 포함됨을 특징으로 하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법.And determining whether the system is in a stable setting after the system stability check is executed. 제 1항에 있어서,The method of claim 1, 상기 시스템이 안정한 설정인지 여부가 결정된 후, 상기 시스템이 안정한 설정이 아닌 경우에는 경고 메시지를 출력하는 단계가 더 포함됨을 특징으로 하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법.And determining whether the system is in a stable setting, and outputting a warning message if the system is not in a stable setting. 제 1항에 있어서,The method of claim 1, 상기 시스템이 안정한 설정인지 여부가 결정된 후, 시스템의 통합 설정이 완료되었는지 확인하는 단계와;After determining whether the system is in a stable setting, checking whether the integrated setting of the system is completed; 상기 통합 설정이 완료된 경우 상기 해당 설정으로 임베디드 시스템 이미지 가 생성되는 단계가 더 포함됨을 특징으로 하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법.When the integration setting is completed, the embedded system integrated configuration method for supporting multiple partition dependencies, characterized in that further comprising the step of generating an embedded system image with the corresponding setting. 제 1항에 있어서,The method of claim 1, 상기 임베디드 시스템의 소정 파티션에 설치되는 응용 프로그램의 경우 각 응용 프로그램마다 패키지화되고, 상기 각각 패키지에는 응용 프로그램 간의 의존성 및 기본정보로서의 위치 정보가 기술됨을 특징으로 하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법.An application program installed in a predetermined partition of the embedded system is packaged for each application program, and each package includes an integrated system integrated configuration supporting multiple partition dependencies, wherein dependency information between applications and location information as basic information are described. Way. 제 1항에 있어서,The method of claim 1, 상기 시스템 안정성이 검사되는 단계에서, 제 1응용 프로그램이 위치한 파티션이 Unremovable이고, 상기 제 1응용 프로그램이 의존하는 제 2응용 프로그램이 위치한 파티션이 Removable일 경우, 상기 시스템은 불안정한 상태로 검사됨을 특징으로 하는 다중 파티션 의존성을 지원하는 임베디드 시스템 통합 설정 방법.In the checking of the system stability, if the partition in which the first application is located is Unremovable, and the partition in which the second application is dependent on the first application is Removable, the system is checked in an unstable state. How to set up an embedded system integration that supports multiple partition dependencies.
KR1020070100026A 2006-12-05 2007-10-04 Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method KR100892286B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20060122340 2006-12-05
KR1020060122340 2006-12-05

Publications (2)

Publication Number Publication Date
KR20080052340A KR20080052340A (en) 2008-06-11
KR100892286B1 true KR100892286B1 (en) 2009-04-07

Family

ID=39807171

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070100026A KR100892286B1 (en) 2006-12-05 2007-10-04 Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method

Country Status (1)

Country Link
KR (1) KR100892286B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078968A (en) 1997-10-03 2000-06-20 Vicom Systems, Inc. Platform-independent communications protocol supporting communications between a processor and subsystem controller based on identifying information
US6665786B2 (en) 1998-09-21 2003-12-16 Microsoft Corporation Dynamic disk partition management
US20040015946A1 (en) 2000-06-01 2004-01-22 Moddy Te'eni Method for resolving dependency conflicts among multiple operative entities within a computing environment
WO2007081508A1 (en) * 2006-01-12 2007-07-19 Microsoft Corporation Build-time enforcement of architectural partitioning in computer application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078968A (en) 1997-10-03 2000-06-20 Vicom Systems, Inc. Platform-independent communications protocol supporting communications between a processor and subsystem controller based on identifying information
US6665786B2 (en) 1998-09-21 2003-12-16 Microsoft Corporation Dynamic disk partition management
US20040015946A1 (en) 2000-06-01 2004-01-22 Moddy Te'eni Method for resolving dependency conflicts among multiple operative entities within a computing environment
WO2007081508A1 (en) * 2006-01-12 2007-07-19 Microsoft Corporation Build-time enforcement of architectural partitioning in computer application

Also Published As

Publication number Publication date
KR20080052340A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
JP6912583B2 (en) Service processing method and equipment
US10768994B2 (en) Method and system for modeling and analyzing computing resource requirements of software applications in a shared and distributed computing environment
US8601449B2 (en) Cross-platform application framework
TWI273503B (en) A method, system, and storage medium for providing life-cycle management of grid services
US7174361B1 (en) Scripting task-level user-interfaces
JP5969610B2 (en) Distributed resource management in portable computing devices
US20120011496A1 (en) Service providing apparatus, service providing system, method of processing data in service providing apparatus, and computer program
CN109614167B (en) Method and system for managing plug-ins
US8713582B2 (en) Providing policy-based operating system services in an operating system on a computing system
KR20070049166A (en) System and method for extraction and creation of application meta-information within a software application repository
CN111475227B (en) Business plug-in loading implementation method and device and terminal equipment
TW201411387A (en) Updating hardware libraries for use by applications on a computer system with an FPGA coprocessor
US8918776B2 (en) Self-adapting software system
US7295952B1 (en) Enabling high availability and load balancing for JMX Mbeans
US20070282801A1 (en) Dynamically creating and executing an application lifecycle management operation
JP2006164265A (en) Enablement of resource sharing between subsystems
US8484616B1 (en) Universal module model
US11392359B2 (en) Non specification supported application deployment descriptors and web application deployment descriptors
US20070074202A1 (en) Program product installation
JP5209058B2 (en) Methods for creating software components
CN116028163A (en) Method, device and storage medium for scheduling dynamic link library of container group
KR100892286B1 (en) Multi Partition dependency supported Embedded Linux Kernel and Application Configuration method
US8353013B2 (en) Authorized application services via an XML message protocol
KR20070061098A (en) Web-based development environment providing system and method for integrated configuration of embedded linux kernel and application
CN114338580B (en) Public number project development method, device and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20160330

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170330

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20180329

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20190328

Year of fee payment: 11