KR20060067076A - Method for loading program in master-slave processor system and apparatus thereof - Google Patents
Method for loading program in master-slave processor system and apparatus thereof Download PDFInfo
- Publication number
- KR20060067076A KR20060067076A KR1020050020795A KR20050020795A KR20060067076A KR 20060067076 A KR20060067076 A KR 20060067076A KR 1020050020795 A KR1020050020795 A KR 1020050020795A KR 20050020795 A KR20050020795 A KR 20050020795A KR 20060067076 A KR20060067076 A KR 20060067076A
- Authority
- KR
- South Korea
- Prior art keywords
- processor
- slave processor
- slave
- operating system
- loading
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 방법 및 그 장치는 주 프로세서와 종 프로세서로 구성되는 이중화 프로세서 시스템의 동작 방법에 있어서, 주 프로세서의 구동과 동시에 종 프로세서의 구동을 제어하는 단계; 주 프로세서의 운영체제와 응용 프로그램을 구동하고 종 프로세서의 메모리에 종 프로세서의 운영체제와 응용 프로그램들을 로딩한 후 상기 제어를 해제하는 단계; 및 종 프로세서의 운영체제 및 응용 프로그램이 구동되는 단계;를 포함하는 것을 특징으로 하며, 네트워크와 같은 통신 프로토콜이 필요하지 않으므로 로딩 시간 및 자원을 효율적으로 사용할 수 있으며 또한 종 프로세서의 운영체제나 응용 프로그램이 변경 시 업그레이드가 용이해 진다.A program loading method and apparatus thereof in a redundant processor system according to the present invention, comprising: a method of operating a dual processor system including a main processor and a slave processor, the method comprising: controlling driving of a slave processor simultaneously with driving of the master processor; Releasing the control after operating the operating system and the application program of the main processor and loading the operating system and the application programs of the slave processor into the memory of the slave processor; And operating an operating system and an application program of the slave processor, and since a communication protocol such as a network is not required, the loading time and resources can be efficiently used, and the operating system or application of the slave processor is changed. Upgrading becomes easy.
Description
도 1은 종래 주종 프로세서 시스템의 구성을 간략하게 보여주는 구성도이다.1 is a configuration diagram briefly illustrating a configuration of a conventional master / slave processor system.
도 2는 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 장치 구성 블럭도이다.2 is a block diagram illustrating a program loading device in a redundant processor system according to the present invention.
도 3은 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 과정을 보여주는 흐름도이다.3 is a flowchart illustrating a program loading process in a redundant processor system according to the present invention.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
210 ; 주 프로세서, 220 ; 종 프로세서210; Main processor, 220; Bell processor
211, 222 : 리셋제어부 211, 222: reset control unit
213, 223 : 메모리 액세스부213, 223: memory access unit
214, 224 ; 메모리214, 224; Memory
본 발명은 주종 프로세서 시스템에서 프로그램을 로딩하는 방법 및 그 장치에 관한 것으로, 특히 종 프로세서의 프로그램 로딩을 주 프로세서에서 관리하는 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for loading a program in a master processor system, and more particularly, to a method and apparatus for managing a program loading of a slave processor in a main processor.
도 1은 종래 주종 프로세서 시스템의 일부 구성도이다. 도 1을 참조하여 종래 주종 프로세서 시스템의 운영체제 로딩 방법을 설명하면 다음과 같다. 종래의 주 프로세서 혹은 싱글 프로세서 시스템(110)에는 부트 로더(Boot Loader, 111; 또는, 부우터(booter)라고도 칭함)라는 프로그램이 구비되어 있다. 이러한 부트 로더(111)는 시스템(110)의 파워 온(power-on)시 비휘발성(Non-Volatile) 메모리에 저장된 운영체제(Operating System)(112)를 메모리에 복사한다. 그리고 상기 시스템(110)의 제어를 운영체제(112)로 넘겨줌으로써 운영체제(112)와 응용 블록(113)에 의하여 응용 프로그램들이 수행되도록 한다.1 is a block diagram of a conventional master processor system. Referring to Figure 1 describes the operating system loading method of a conventional master processor system as follows. A conventional main processor or
종래의 종 프로세서 시스템(120)은 다음과 같이 운영체제(122) 및 응용 블록(123)를 갱신한다. 먼저 종 프로세서 시스템(120)은 부트 로더(121)로 부팅 한 후 네트워크를 이용하여 주 프로세서(110)에게 종 프로세서의 운영체제와 응용 프로그램의 다운로드를 요청한다. 그 후 종 프로세서 시스템(120)은 주 프로세서(110) 혹은 부트 서버(도시되지 않음)의 응용 블록(112)과 통신하여 운영체제와 응용 블록을 다운로드(103) 한다. 시스템 내부에 충분한 크기의 비휘발성 메모리를 갖는 경우 향후 다운로드 된 프로그램으로 부팅 할 수 있도록 비휘발성 메모리에 다운로드 된 이미지를 저장하는 과정을 더 거치게 된다. The conventional
이와 같은 방법으로 프로그램을 로딩하는 경우에는, 항상 새로운 버전을 사용할 수 있는 이점이 있으나, 네트워크 자원을 이용하여 다운로드 해야 하므로 네트워크 자원이 많지 않은 경우 문제가 발생할 수 있으며, 시간이 많이 소요되는 문 제가 있다. 또한 네트워크가 사용 불가능 한 경우 종래의 방법은 종 프로세서 시스템(12)의 서비스 불가(out of service) 시간이 길어지게 되는 문제가 있다.When loading a program in this way, there is an advantage that you can always use the new version, but since you have to download by using network resources, there may be problems when the network resources are not enough, and there is a time-consuming problem. . In addition, when the network is unavailable, the conventional method has a problem that the out-of-service time of the slave processor system 12 becomes long.
본 발명이 이루고자 하는 기술적 과제는 상기와 같은 문제점을 해소하기 위하여 주/종 프로세서로 이루어지는 이중화 시스템에 사용자의 개입 없이 효율적으로 자원을 사용하여 프로그램을 로딩할 수 있는 방법 및 장치를 제공함에 있다. SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a method and apparatus for efficiently loading a program using resources without a user's intervention in a redundant system consisting of master / slave processors to solve the above problems.
상기의 기술적 과제를 이루기 위하여 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 방법은 주 프로세서와 종 프로세서로 구성되는 이중화 프로세서 시스템의 동작 방법에 있어서, 주 프로세서의 구동과 동시에 종 프로세서의 구동을 제어하는 단계; 주 프로세서의 운영체제와 응용 프로그램을 구동하고 종 프로세서의 메모리에 종 프로세서의 운영체제와 응용 프로그램들을 로딩한 후 상기 제어를 해제하는 단계; 및 종 프로세서의 운영체제 및 응용 프로그램이 구동되는 단계;를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, a program loading method in a dual processor system according to the present invention is a method of operating a dual processor system including a main processor and a slave processor. step; Releasing the control after operating the operating system and the application program of the main processor and loading the operating system and the application programs of the slave processor into the memory of the slave processor; And operating the operating system and the application program of the slave processor.
상기의 기술적 과제를 이루기 위하여 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 장치는 주 프로세서 장치와 보조 프로세서장치를 가지는 시스템에 있어서 주 프로세서의 소정의 제어신호에 의하여 종 프로세서의 리셋 여부를 결정하는 리셋제어부; 종 프로세서 장치의 메모리에 억세스하여 그 내용을 읽거나 쓸 수 있는 메모리 억세스부;를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, a program loading device in a redundant processor system according to the present invention is a reset for determining whether to reset a slave processor according to a predetermined control signal of a main processor in a system having a main processor device and a coprocessor device. Control unit; And a memory access unit for accessing the memory of the slave processor device and reading or writing its contents.
이하, 첨부된 도면을 참조하면서 본 발명의 바람직한 일 실시예를 상세히 설 명하도록 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 장치 구성 블럭도이고, 도 3은 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 과정을 보여주는 흐름도이다.2 is a block diagram illustrating a program loading apparatus in a redundant processor system according to the present invention, and FIG. 3 is a flowchart illustrating a program loading process in the redundant processor system according to the present invention.
도 2를 참조하면, 주 프로세서 장치(210)는 주 프로세서(211), 리셋 제어부(212), 메모리 억세스부(213), 그리고 메모리(214)를 포함한다. 이러한 구조는 종 프로세서 장치(220)에도 동일하여, 종 프로세서(221), 리셋 제어부(222), 메모리 억세스부(223), 그리고 메모리(224)를 포함한다.Referring to FIG. 2, the
주 프로세서(211)는 리셋제어부(212)를 통하여 종 프로세서(221)의 리셋 신호를 제어 할 수 있으며, 메모리 억세스부(213)는 보조 프로세서(221)의 메모리(224)에 직접 읽고 쓰는 접근이 가능하다. The
이상과 같은 논의는 종 프로세서 장치(220)가 주 프로세서로서의 기능을 수행하게 되는 경우에는 주 프로세서 장치(210)가 종 프로세서의 기능을 수행하는 것으로 확장되어 이중화 시스템 구조를 형성하게 된다.As described above, when the
이제 도 3을 참조하면서 주종 프로세서 시스템의 프로그램 로딩의 일 실시예에 관하여 설명하도록 한다. 도 3을 참조하면, 본 발명의 실시예에 따른 종 프로세서의 프로그램 변경은 다음과 같이 동작한다.Referring now to Figure 3 will be described with respect to an embodiment of the program loading of the predominant processor system. Referring to FIG. 3, program change of a slave processor according to an embodiment of the present invention operates as follows.
주 프로세서 (211)에 전원이 인가되어 구동이 시작(S301단계)되면 종 프로세서(221)의 리셋 신호를 유지하여 종 프로세서가 부팅이 불가능한 상태가 되도록 한다(S302단계). 다음으로 주 프로세서의 운영체제가 기동되고(S303단계), 주 프로세 서에서 응용 프로그램이 실행된다(S304단계). 주 프로세서의 응용 프로그램은 종 프로세서의 메모리(224)에 운영체제와 응용 프로그램을 기록(S305단계)한 다음, 종 프로세서(221)의 리셋 신호를 해제한다(S306단계). When power is supplied to the
리셋 신호가 해제된 종 프로세서(221)는 메모리에 기록된 프로그램으로 분기를 수행하여 운영체제를 기동(S307단계)한 후 응용 프로그램을 실행(S308단계)하게 됨으로써 주종 프로세서간의 프로그램 로딩이 종료된다.When the reset signal is released, the
위에서 설명한 바와 같이 본 발명은 종 프로세서에서 리셋 제어부를 통해 주 프로세서의 리셋 신호와 메모리 읽고 쓰기 기능을 수행함으로써 대칭적 구성을 가지게 되어 이중화 시스템으로 기능을 수행한다.As described above, the present invention has a symmetrical configuration by performing a reset signal and a memory read / write function of the main processor through a reset controller in the slave processor, thereby performing a function as a redundant system.
본 발명에 따른 주종 프로세서 시스템에서의 프로그램 로딩 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현할 수 있다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있으며, 또한 인터넷을 통한 전송과 같이 캐리어 웨이브의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수도 있다.The program loading method in the master / slave processor system according to the present invention may be embodied as computer readable codes on a computer readable recording medium. Computer-readable recording media include all kinds of recording devices that store data that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and also include those implemented in the form of carrier waves such as transmission over the Internet. 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.
한편 본 발명의 상세한 설명에서는 구체적인 실시예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이 다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다. Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined not only by the claims below, but also by those equivalent to the claims.
상기에서 설명한 바와 같이 본 발명에 의한 이중화 프로세서 시스템에서의 프로그램 로딩 방법 및 그 장치에 의하면, 네트워크와 같은 통신 프로토콜이 필요하지 않으므로 로딩 시간 및 자원을 효율적으로 사용할 수 있다. 또한 종 프로세서의 운영체제나 응용 프로그램이 변경 시 업그레이드가 용이해 지며, 선택적으로 종 프로세서에서 운영체제나 응용 프로그램 저장을 위한 비휘발성 메모리가 불필요해 진다.As described above, according to the program loading method and apparatus in the redundant processor system according to the present invention, since a communication protocol such as a network is not required, the loading time and resources can be efficiently used. In addition, upgrades are made when the operating system or application of the slave processor changes, and optionally, nonvolatile memory for storing the operating system or application programs on the slave processor is eliminated.
Claims (5)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20040105418 | 2004-12-14 | ||
KR1020040105418 | 2004-12-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20060067076A true KR20060067076A (en) | 2006-06-19 |
Family
ID=37161697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050020795A KR20060067076A (en) | 2004-12-14 | 2005-03-12 | Method for loading program in master-slave processor system and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20060067076A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130095142A (en) * | 2012-02-17 | 2013-08-27 | 인포뱅크 주식회사 | Recording medium, method and device for program execution |
KR20130097826A (en) * | 2012-02-26 | 2013-09-04 | 인포뱅크 주식회사 | Recording medium, method and device for program operation |
KR20180033154A (en) * | 2018-03-21 | 2018-04-02 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034355A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034354A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
-
2005
- 2005-03-12 KR KR1020050020795A patent/KR20060067076A/en not_active Application Discontinuation
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130095142A (en) * | 2012-02-17 | 2013-08-27 | 인포뱅크 주식회사 | Recording medium, method and device for program execution |
KR20130097826A (en) * | 2012-02-26 | 2013-09-04 | 인포뱅크 주식회사 | Recording medium, method and device for program operation |
KR101869425B1 (en) * | 2012-02-26 | 2018-06-20 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180033154A (en) * | 2018-03-21 | 2018-04-02 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034355A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
KR20180034354A (en) * | 2018-03-21 | 2018-04-04 | 인포뱅크 주식회사 | Recording Medium, Method and Device For Program Operation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6205558B1 (en) | Recovery of file systems after modification failure | |
US10067835B2 (en) | System reset | |
CN101650660B (en) | Booting a computer system from central storage | |
CN103198450B (en) | Image processing system | |
JP4810172B2 (en) | Control device, version upgrade method, and program | |
US20100268867A1 (en) | Method and apparatus for updating firmware as a background task | |
KR20010006749A (en) | Storing system-level mass storage configuration data in non-volatile memory on each mass storage device to allow for reboot/power-on reconfiguration of all installed mass storage devices to the same configuration as last use | |
KR20080001268A (en) | Portable device and method supporting multi operating system | |
US20110010532A1 (en) | Booting method and computer system using the booting method | |
KR20060067076A (en) | Method for loading program in master-slave processor system and apparatus thereof | |
US6523103B2 (en) | Disablement of a write filter stored on a write-protected partition | |
JP5578811B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP2009230433A (en) | Network booting device, program and method | |
JPH07191835A (en) | Computer system | |
JP2005182812A (en) | System and method for storing image file in computer system | |
US7287104B2 (en) | Interface circuit for card-type memory, ASIC including interface circuit, and image forming apparatus including ASIC | |
KR20100050098A (en) | Image processing apparatus and control method thereof | |
CN110515665B (en) | Starting method, system and device of processor system | |
JP2010282645A (en) | Linux program start-up system | |
JP7491765B2 (en) | Firmware update system and firmware update method | |
KR100545796B1 (en) | Method and apparatus for changing operating system of embedded system using server push (PSH) | |
KR20040083236A (en) | Method for upgrading program recorded on memory | |
JPH1153175A (en) | Data processor, data processing method of the same and storage medium in which program readable by computer is stored | |
JP7375643B2 (en) | In-vehicle information processing device, control method and computer program | |
JP2006126987A (en) | Image processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |