KR100430422B1 - Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System - Google Patents

Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System Download PDF

Info

Publication number
KR100430422B1
KR100430422B1 KR10-2000-0066492A KR20000066492A KR100430422B1 KR 100430422 B1 KR100430422 B1 KR 100430422B1 KR 20000066492 A KR20000066492 A KR 20000066492A KR 100430422 B1 KR100430422 B1 KR 100430422B1
Authority
KR
South Korea
Prior art keywords
program
loading data
loader
data synchronization
program loading
Prior art date
Application number
KR10-2000-0066492A
Other languages
Korean (ko)
Other versions
KR20020036349A (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 KR10-2000-0066492A priority Critical patent/KR100430422B1/en
Publication of KR20020036349A publication Critical patent/KR20020036349A/en
Application granted granted Critical
Publication of KR100430422B1 publication Critical patent/KR100430422B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/241Arrangements for supervision, monitoring or testing with provision for checking the normal operation for stored program controlled exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/554Data synchronization

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법에 관한 것으로서, 메인 프로세서에서 OS, 쉘(Shell) 및 프로그램 로더의 로딩을 요구하는 메시지를 시스템 시작 로더로 송신하면, 상기 시스템 시작 로더는 상기 요구한 OS, 쉘 및 프로그램 로더를 상기 메인 프로세서로 송신하는 단계(a); 상기 수신한 프로그램 로더를 통해 중복 프로그램 로딩 데이터 동기화 요청 메시지를 상기 시스템 시작 로더로 전송하는 단계(b); 시스템 시작 로더에서, 상기 단계(b)에서 전송한 중복 프로그램 로딩 데이터 동기화 요청 메시지를 수신하고, 상기 메시지가 올바른 주소로 전송되었는지 여부를 판단하는 단계(c); 상기 단계(c)에서 올바른 주소로 전송되었을 경우, 중복 프로그램 로딩 데이터 동기화를 수행하고, 올바른 주소로 전송되지 않았을 경우 메시지를 폐기하는 단계(d); 중복 프로그램 로딩 데이터 동기화의 성공 여부에 대한 정보를 포함한 중복 프로그램 로딩 데이터 동기화 응답 메시지를 상기 메인 프로세서로 전송하는 단계(e); 및 상기 중복 프로그램 로딩 데이터 동기화 응답 메시지를 수신하여 동기화가 성공하였을 경우, 응용 프로그램의 로딩을 수행하고, 동기화가 실패하였을 경우 중복 프로그램 로딩 데이터 동기화 요청 메시지를 재송신하는 단계(f)를 포함하는 것을 특징으로 한다.The present invention relates to a method for synchronizing redundant program loading data between main processors in an exchange. When the main processor transmits a message requesting loading of an OS, a shell, and a program loader to a system start loader, the system start loader is configured to execute the above message. (A) transmitting the requested OS, shell and program loader to the main processor; (B) transmitting a duplicate program loading data synchronization request message to the system start loader through the received program loader; (C) receiving, at a system start loader, a duplicate program loading data synchronization request message sent in step (b) and determining whether the message has been sent to a correct address; Performing a duplicate program loading data synchronization when transmitted to the correct address in step (c), and discarding the message when not transmitted to the correct address; (E) transmitting a duplicate program loading data synchronization response message including information on whether the duplicate program loading data synchronization is successful to the main processor; And (f) receiving the duplicate program loading data synchronization response message and performing loading of an application program when the synchronization is successful, and resending the duplicate program loading data synchronization request message when the synchronization fails. It is done.

본 발명에 의한 방법에 의하면, 응용 프로그램의 로딩 및 실행은 중복 프로그램 로딩 데이터 동기화 이후에 이루어지므로 동기화에 시간이 걸리더라도 안정적으로 로딩이 이루어질 수 있다. 또한 동기화 실패 시에도 로딩이 중단되는 것을 방지하여 원활한 로딩이 가능하게 하고, 운용자에게 동기화의 실패를 인지하게 하여 적절한 조치를 가능하게 할 수 있으며, 응용 프로그램 블록들의 안정적인 실행을 가능하게 한다.According to the method according to the present invention, since the loading and execution of the application program is performed after the synchronization of the redundant program loading data, it can be stably loaded even if the synchronization takes time. In addition, it prevents the loading from being interrupted even when the synchronization fails, enabling the smooth loading, allowing the operator to recognize the failure of the synchronization, enabling appropriate actions, and enabling stable execution of the application blocks.

Description

교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법{Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System}Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System}

본 발명은 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법에 관한 것으로서, 더욱 상세하게는 중복 프로그램 로딩 데이터의 동기화를 요청하고 이를 확인하는 메시지 처리 방법을 통해 안정적인 메인 프로세서간 로딩을 하는데 적당하도록 한 중복 프로그램 로딩 데이터 동기화 방법에 관한 것이다.The present invention relates to a method for synchronizing redundant program loading data between main processors in an exchange. More particularly, the present invention provides a method for synchronizing redundant program loading data, and more specifically, to make stable inter-processor loading through a message processing method for requesting and confirming synchronization of redundant program loading data. A method for synchronizing program loading data.

도 1은 종래의 교환기에서 메인 프로세서간 로딩을 위한 시스템 구성을 도시한 것이다.1 shows a system configuration for loading between main processors in a conventional exchange.

도 1에 도시된 바와 같이, 종래의 메인 프로세서간 로딩을 위한 시스템은 시스템 관리 프로세서(11)와 메인 프로세서(12), 시스템 관리 프로세서에 연결된 하드디스크(13) 및 메인 프로세서에 연결된 메모리(14)를 포함하여 이루어진다.As shown in FIG. 1, a conventional system for loading between main processors includes a system management processor 11 and a main processor 12, a hard disk 13 connected to the system management processor, and a memory 14 connected to the main processor. It is made, including.

도 1에는 하나의 메인 프로세서만이 도시되어 있으나, 실제로는 복수개의 메인 프로세서가 시스템 관리 프로세서(11)에 연결되어 로딩을 하게 된다. 하드디스크(13)에는 시스템 관리 프로세서의 로딩에 필요한 프로그램 로딩 데이터인 "P_SMP"와 각각의 메인 프로세서의 로딩에 필요한 프로그램 로딩 데이터인 "P_MPn" 및 메인 프로세서들간에 중복되는 프로그램 로딩 데이터인 "P_REP"가 저장되어 있다. 시스템 관리 프로세서(11)와 하드디스크(14)는 스몰 컴퓨터 시스템 인터페이스(Small Computer System Interface)로 연결되어 있고, 시스템 관리 프로세서는 로딩에 필요한 프로그램 데이터를 하드디스크로 직접 요청할 수 있다. 그러나 메인 프로세서(12)는 하드디스크(14)로 직접 접근할 수 없으며, 시스템 관리 프로세서(11)와 프로세서간 커뮤니케이션(Inter Processor Communication, 이하 "IPC"라 함)으로 통신하여, 시스템 관리 프로세서(11)를 통해 하드디스크(14)로 접근할 수 있다. 시스템 관리 프로세서에는 시스템 시작 로더(미도시)가 구비되어 있어 메인 프로세서 및 기타 교환기 장비로 하드디스크에 저장된 로딩 시 필요한 프로그램 데이터를 전송하는 역할을 한다. 메인 프로세서(12)의 메모리(14)에는 시스템 관리 프로세서(11)를 통해 하드디스크(14)로부터 전송 받은 프로그램 로딩 데이터인 "P_MPn"이 저장된다.Although only one main processor is shown in FIG. 1, a plurality of main processors are actually connected to the system management processor 11 to be loaded. The hard disk 13 includes program loading data "P_SMP" for loading the system management processor, program loading data "P_MPn" for loading each main processor, and program loading data "P_REP" overlapping between the main processors. Is stored. The system management processor 11 and the hard disk 14 are connected to a small computer system interface, and the system management processor may directly request program data necessary for loading from the hard disk. However, the main processor 12 cannot directly access the hard disk 14, and communicates with the system management processor 11 through inter processor communication (hereinafter, referred to as “IPC”), thereby allowing the system management processor 11 to communicate with the hard disk 14. The hard disk 14 can be accessed through. The system management processor is provided with a system start loader (not shown) to transmit the program data necessary for loading stored in the hard disk to the main processor and other exchange equipment. The memory 14 of the main processor 12 stores program loading data "P_MPn" received from the hard disk 14 through the system management processor 11.

도 2는 종래의 메인 프로세서에서의 로딩 절차를 시스템 시작 로더와 메인 프로세서 별로 도시한 흐름도이다.2 is a flowchart illustrating a loading procedure of a conventional main processor for each system start loader and a main processor.

도 2에 도시된 바와 같이, 메인 프로세서가 시스템 시작 로더로 OS(Operating System)을 요구하는 메시지를 송신하면(S200), 시스템 시작 로더는 이를 수신하고(S201), 메인 프로세서로 요구한 OS를 송신한다(S202). 송신한 OS를 수신(S203)한 메인 프로세서는 시스템 시작 로더로 쉘(Shell)을 요구하는 메시지를 송신하고(S204), 시스템 시작 로더는 이를 수신하여(S205) 메인 프로세서로 요구한 쉘을 송신한다(S206). 메인 프로세서는 요구한 쉘을 수신하고(S207), 시스템 시작 로더로 응용 프로그램 로딩에 필요한 프로그램 로더를 요구하는 메시지를 송신한다(S208). 시스템 시작 로더는 메인 프로세서가 요구한 프로그램 로더를 송신하고(S210), 메인 프로세서는 프로그램 로더를 수신하여 응용 프로그램 로딩을 위해 이를 실행하고(S211), 프로그램 로딩 데이터의 로딩(S213)과 응용 프로그램의 로딩(S214) 및 응용 프로그램의 실행(S215) 작업이 이루어진다. 한편 시스템 시작 로더는 프로그램 로더가 송신된 것이 확인되면, 시스템 시작 로더는 중복 프로그램 로딩 데이터 동기화 작업을 수행한다(S212). 중복 프로그램 로딩 데이터 동기화에 대해 설명하면 다음과 같다.As shown in FIG. 2, when the main processor transmits a message requesting an operating system (OS) to the system start loader (S200), the system start loader receives the message (S201) and transmits an OS requested to the main processor. (S202). The main processor that has received the transmitted OS (S203) transmits a message requesting a shell to the system startup loader (S204), and the system startup loader receives it (S205) and transmits the requested shell to the main processor. (S206). The main processor receives the requested shell (S207), and transmits a message requesting a program loader necessary for loading an application program to the system startup loader (S208). The system start loader transmits a program loader requested by the main processor (S210), and the main processor receives the program loader and executes it for application loading (S211), loading of program loading data (S213) and Loading (S214) and execution of the application (S215) are performed. On the other hand, when it is confirmed that the system start loader has transmitted the program loader, the system start loader performs a duplicate program loading data synchronization operation (S212). Duplicate program loading data synchronization is described as follows.

기존의 교환기에서 중복 테이블의 경우 메인 프로세서들에 실장되는 "P_MPn"과 시스템 관리 프로세서에 연결된 하드디스크에 실장되는 "P_REP"라는 서로 다른 이름을 가지는 프로그램 로딩 데이터에 저장이 된다. 만일 운용 중에 "P_MPn"의 중복 테이블의 값이 변경되게 되면, 이 값은 시스템 관리 프로세서의 "P_REP"와 메인 프로세서들의 메모리에 저장되어 있는 "P_MPn"에는 반영이 되나 시스템 관리 프로세서에 연결된 하드디스크의 "P_MPn"에는 반영되지 않는다. 이와 같이 하드디스크의 "P_MPn"에 반영되지 않는 이유는 지나친 로드를 방지하기 위함이다. 따라서 메인 프로세서들의 재 시동 시에는 메인 프로세서들이 운용 중에 변경했던 값들은 "P_REP"에만 존재하게 된다. 따라서 메인 프로세서들의 재 시작 시 전송되는 하드디스크의 "P_MPn"에는 변경된 값이 반영되어야 하므로 이를 전송하기 전에 하드디스크의 "P_MPn"과 "P_REP"의 중복 테이블의 값들을 일치시켜야 하는데 이를 중복 프로그램 로딩 데이터 동기화라 한다.In the existing exchange, duplicate tables are stored in program loading data having different names of "P_MPn" mounted on the main processors and "P_REP" mounted on the hard disk connected to the system management processor. If the value of the duplicate table of "P_MPn" is changed during operation, this value is reflected in "P_REP" of the system management processor and "P_MPn" stored in the memory of the main processors. It is not reflected in "P_MPn". The reason why this is not reflected in the "P_MPn" of the hard disk is to prevent excessive load. Therefore, when the main processors are restarted, the values changed by the main processors during operation are only present in "P_REP". Therefore, the changed value should be reflected in the "P_MPn" of the hard disk transmitted when the main processors are restarted. Therefore, the values of the duplicate table of "P_MPn" and "P_REP" of the hard disk must be matched before the transfer. This is called synchronization.

전술한 종래의 교환기에서 중복 프로그램 로딩 데이터 동기화 방법은 다음과 같은 문제점들이 제기될 수 있다.In the above-described conventional exchange, the method of synchronizing redundant program loading data may pose the following problems.

시스템 시작 로더가 일방적으로 프로그램 로더의 송신이 끝나자마자 중복 프로그램 로딩 데이터의 동기화를 수행하므로 중복 프로그램 로딩 데이터 동기화에 오랜 시간이 걸릴 경우, 시스템 시작 로더와 프로그램 로더간의 동기화가 깨짐으로 인해서 로딩이 정상적으로 수행되지 않을 가능성이 있으며, 만일 로딩이 정상적으로 수행된다고 해도 중복 프로그램 로딩 데이터 동기화가 정상적으로 이루어지지 않은 경우 응용 프로그램 블록들의 정상적인 동작 및 서비스를 보장할 수 없는 문제점이 있다.Since the system start loader unilaterally synchronizes the duplicate program loading data as soon as the program loader has been sent, the loading is normally performed because the synchronization between the system start loader and the program loader is broken when it takes a long time to synchronize the duplicate program loading data. There is a possibility that the normal operation and service of the application program blocks cannot be guaranteed if the redundant program loading data synchronization is not normally performed even if the loading is normally performed.

본 발명은 상기한 바와 같은 종래기술의 문제점을 해결하기 위해, 종래와 같이 일방적으로 프로그램 로딩 데이터 동기화를 수행하지 않고, 중복 프로그램 로딩 데이터의 동기화를 요청하고 이를 확인하는 메시지 처리 방법을 통해 중복 프로그램 로딩 데이터 동기화를 수행하는 방법을 제안하는 것을 그 목적으로 한다.The present invention, in order to solve the problems of the prior art as described above, duplicate program loading through a message processing method for requesting and confirming the synchronization of the duplicate program loading data, without unilaterally performing program loading data synchronization as conventionally It is an object of the present invention to propose a method of performing data synchronization.

본 발명의 또 다른 목적은, 중복 프로그램 로딩 데이터 동기화 과정 중 에러가 발생할 경우, 에러에 대한 처리방법을 제안하는 것이다.Another object of the present invention is to propose a method for handling an error when an error occurs during a duplicate program loading data synchronization process.

도 1은 종래의 교환기에서 메인 프로세서간 로딩을 위한 시스템 구성을 도시한 것,1 shows a system configuration for loading between main processors in a conventional exchange,

도 2는 종래의 메인 프로세서에서의 로딩 절차를 시스템 시작 로더와 메인 프로세서별로 도시한 흐름도,2 is a flowchart illustrating a loading procedure of a conventional main processor according to a system start loader and a main processor;

도 3은 본 발명의 바람직한 실시예에 따른 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법의 흐름도,3 is a flowchart of a method for synchronizing redundant program loading data between main processors according to an embodiment of the present invention;

도 4는 본 발명의 바람직한 실시예에 따른 중복 프로그램 로딩 데이터 동기화 요청 메시지 형식의 일례를 나타낸 것.4 illustrates an example of a duplicate program loading data synchronization request message format according to a preferred embodiment of the present invention.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 의한 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법은 메인 프로세서에서 OS, 쉘(Shell) 및 프로그램 로더의 로딩을 요구하는 메시지를 시스템 시작 로더로 송신하면, 상기 시스템 시작 로더는 상기 요구한 OS, 쉘 및 프로그램 로더를 상기 메인 프로세서로 송신하는 단계(a); 상기 수신한 프로그램 로더를 통해 중복 프로그램 로딩 데이터 동기화 요청 메시지를 상기 시스템 시작 로더로 전송하는 단계(b); 시스템 시작 로더에서, 상기 단계(b)에서 전송한 중복 프로그램 로딩 데이터 동기화 요청 메시지를 수신하고, 상기 메시지가 올바른 주소로 전송되었는지 여부를 판단하는 단계(c); 상기 단계(c)에서 올바른 주소로 전송되었을 경우, 중복 프로그램 로딩 데이터 동기화를 수행하고, 올바른 주소로 전송되지 않았을 경우 메시지를 폐기하는 단계(d); 중복 프로그램 로딩 데이터 동기화의 성공 여부에 대한 정보를 포함한 중복 프로그램 로딩 데이터 동기화 응답 메시지를 상기 메인 프로세서로 전송하는 단계(e); 및 상기 중복 프로그램 로딩 데이터 동기화 응답 메시지를 수신하여 동기화가 성공하였을 경우, 응용 프로그램의 로딩을 수행하고, 동기화가 실패하였을 경우 중복 프로그램 로딩 데이터 동기화 요청 메시지를 재송신하는 단계(f)를 포함하는 것을 특징으로 한다.In order to achieve the above object, the method for synchronizing the redundant program loading data between main processors in the exchange according to the present invention transmits a message requesting the loading of an OS, a shell, and a program loader from the main processor to the system start loader. (A) the system startup loader transmitting the requested OS, shell, and program loader to the main processor; (B) transmitting a duplicate program loading data synchronization request message to the system start loader through the received program loader; (C) receiving, at a system start loader, a duplicate program loading data synchronization request message sent in step (b) and determining whether the message has been sent to a correct address; Performing a duplicate program loading data synchronization when transmitted to the correct address in step (c), and discarding the message when not transmitted to the correct address; (E) transmitting a duplicate program loading data synchronization response message including information on whether the duplicate program loading data synchronization is successful to the main processor; And (f) receiving the duplicate program loading data synchronization response message and performing loading of an application program when the synchronization is successful, and resending the duplicate program loading data synchronization request message when the synchronization fails. It is done.

또한 본 발명은 상기 단계(b)의 중복 프로그램 로딩 데이터 동기화 요청 메시지 전송 전에, 프로그램 로더만 재 시동되었는지 여부를 판단하여, 프로그램 로더만 재 시동되었을 경우, 중복 프로그램 로딩 데이터 동기화를 수행하지 않고, 응용 프로그램의 로딩을 수행하는 단계를 더 포함하는 것을 특징으로 한다.In addition, the present invention determines whether only the program loader is restarted before transmitting the duplicate program loading data synchronization request message of step (b), if only the program loader is restarted, the application does not perform the duplicate program loading data synchronization, It further comprises the step of performing the loading of the program.

한편 본 발명은 상기 프로그램 로딩 데이터 동기화 과정이 계속적으로 실패하여 기 설정한 시간을 초과하면, 프로그램 로딩 데이터 동기화를 수행하지 않고 응용 프로그램의 로딩을 수행하는 단계를 더 포함하는 것을 특징으로 한다.On the other hand, the present invention is characterized in that it further comprises the step of performing the loading of the application program without performing the program loading data synchronization if the program loading data synchronization process continuously fails to exceed the predetermined time.

이하에서 첨부된 도면을 참조하여 본 발명에 의한 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법의 바람직한 실시예를 상세하게 설명한다.Hereinafter, exemplary embodiments of a method for synchronizing redundant program loading data between main processors in an exchange according to the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 바람직한 실시예에 따른 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법의 흐름도를 도시한 것이다.3 is a flowchart illustrating a method for synchronizing redundant program loading data between main processors according to an exemplary embodiment of the present invention.

도 3에 도시된 바와 같이, 우선 메인 프로세서는 시스템 시작 로더로 OS와 쉘 및 프로그램 로더의 로딩을 요구하는 메시지를 송신한다(S300). 메인 프로세서의 상기 메시지를 수신(S301)한 시스템 시작 로더는 메인 프로세서로 요구한 메인 프로세서에 해당하는 OS와 쉘 및 프로그램 로더를 송신하고(S302), 메인 프로세서는 이를 수신한다(S303).As shown in FIG. 3, the main processor first transmits a message requesting loading of an OS, a shell, and a program loader to the system start loader (S300). The system start loader that receives the message of the main processor (S301) transmits an OS, a shell, and a program loader corresponding to the main processor requested by the main processor (S302), and the main processor receives this (S303).

종래와 달리, 메인 프로세서는 프로그램 로더를 수신한 후 바로 프로그램 로딩 데이터 및 응용 프로그램을 로딩하지 않으며, 시스템 시작 로더도 일방적으로 프로그램 로딩 데이터 동기화 작업을 수행하지 않는다.Unlike the prior art, the main processor does not load the program loading data and the application program immediately after receiving the program loader, and the system startup loader does not unilaterally perform the program loading data synchronization task.

프로그램 로더를 수신한 후에 프로그램 로더는 메인 프로세서의 메모리에 프로그램 로딩 데이터가 존재하는지 여부를 판단한다(S304). 프로그램 로딩 데이터가 메모리에 존재하는지 여부를 판단하는 이유는 운용자의 제어 등으로 인해 프로그램 로더만 재 시동된 경우인가를 판단하기 위해서이다. 프로그램 로더만 재 시동된 경우에는 다른 블록들은 계속해서 프로그램 로딩 데이터를 갱신중에 있고, 다른 블록들이 프로그램 로딩 데이터를 갱신하는 도중에 중복 프로그램 로딩 데이터 동기화를 수행하게 되면 프로그램 로딩 데이터의 자료가 손상될 가능성이 크다. 따라서 이러한 경우에는 중복 프로그램 로딩 데이터 동기화를 수행하지 말아야 한다. 따라서 메인 프로세서의 메모리에 프로그램 로딩 데이터가 존재하는 경우에는 프로그램 로더만 재 시동된 경우이므로 프로그램 로딩 데이터 동기화 작업을 수행하지 않고, 그 후의 로딩 절차인 프로그램 로딩 데이터의 로딩(S314)과 응용 프로그램 로딩(S315) 및 응용 프로그램 실행(S316) 절차를 수행한다.After receiving the program loader, the program loader determines whether program loading data exists in the memory of the main processor (S304). The reason for determining whether the program loading data exists in the memory is to determine whether only the program loader is restarted due to the operator's control or the like. If only the program loader is restarted, the other blocks are continuously updating the program loading data, and if other program blocks perform duplicate program loading data synchronization while updating the program loading data, the data of the program loading data may be damaged. Big. Therefore, in such a case, duplicate program loading data synchronization should not be performed. Therefore, when program loading data exists in the memory of the main processor, only the program loader is restarted. Therefore, the program loading data is not loaded and the program loading data loading (S314) and the application loading ( S315) and the execution of the application program (S316).

메인 프로세서의 메모리에 프로그램 로딩 데이터가 존재하지 않는 경우에는 프로그램 로더만 재 시동된 경우가 아니므로 정상적인 중복 프로그램 로딩 데이터 동기화 절차가 진행되어야 한다. 이를 위해 메인 프로세서는 중복 프로그램 로딩 데이터 동기화 요청 메시지를 프로그램 로더로 전송한다(S305).If the program loading data does not exist in the memory of the main processor, since only the program loader is restarted, a normal duplicate program loading data synchronization procedure should be performed. To this end, the main processor transmits a duplicate program loading data synchronization request message to the program loader (S305).

도 4는 본 발명의 바람직한 실시예에 따른 중복 프로그램 로딩 데이터 동기화 요청 메시지 형식의 일례를 나타낸 것이다. 도 4에 도시된 바와 같이, 중복 프로그램 로딩 데이터 동기화 요청 메시지는 소스(Source) 프로세서 주소와 목적지 프로세서 주소 및 결과를 기입하는 필드를 포함하고 있다. 소스 프로세서 주소는 중복 프로그램 로딩 데이터 동기화를 수행한 시스템 관리 프로세서의 주소가 기입되며, 목적지 프로세서 주소에는 해당하는 메인 프로세서의 주소가 기입된다.4 illustrates an example of a duplicate program loading data synchronization request message format according to a preferred embodiment of the present invention. As shown in FIG. 4, the duplicate program loading data synchronization request message includes a source processor address, a destination processor address, and a field for writing a result. As the source processor address, the address of the system management processor which performed the duplicate program loading data synchronization is written, and the address of the corresponding main processor is written in the destination processor address.

시스템 시작 로더가 상기 중복 프로그램 로딩 데이터 동기화 요청 메시지를 수신하면 소스 프로세서 주소가 시스템 관리 프로세서의 주소와 일치하는지 여부를 확인한다(S307). 만약 일치하지 않는다면 상기 메시지를 폐기한다.When the system start loader receives the duplicate program loading data synchronization request message, it is determined whether the source processor address matches the address of the system management processor (S307). If it does not match, the message is discarded.

일치할 경우에는 중복 프로그램 로딩 데이터 동기화를 수행한다(S308). 동기화 절차 수행 후에는, 동기화 절차의 성공 여부에 대한 정보를 포함한 중복 프로그램 로딩 데이터 동기화 응답 메시지를 송신한다(S309). 중복 프로그램 로딩 데이터 동기화 응답 메시지는 도 4에 도시된 중복 프로그램 로딩 데이터 동기화 요청 메시지의 형식과 같다. 단 결과 필드에 중복 프로그램 로딩 데이터 동기화를 처리한 결과를 설정하게 되는 것이 다르다.If it matches, duplicate program loading data synchronization is performed (S308). After performing the synchronization procedure, a duplicate program loading data synchronization response message including information on whether the synchronization procedure is successful is transmitted (S309). The duplicate program loading data synchronization response message is in the form of a duplicate program loading data synchronization request message shown in FIG. The difference is that the result of processing duplicate program loading data synchronization is set in the result field.

메인 프로세서의 프로그램 로더는 중복 프로그램 로딩 데이터 동기화 응답 메시지를 수신하고(S310), 상기 수신한 메시지의 소스 프로세서 주소가 중복 프로그램 로딩 데이터 동기화를 수행한 시스템 관리 프로세서의 주소와 다르면 메시지를 폐기한다.The program loader of the main processor receives the duplicate program loading data synchronization response message (S310), and discards the message if the source processor address of the received message is different from the address of the system management processor that has performed the duplicate program loading data synchronization.

중복 프로그램 로딩 데이터의 동기화는 시스템 시작 로더에서 디스크의 장애등으로 인해 실패를 할 경우가 있다. 이러한 경우 여러 번에 걸쳐서 중복 프로그램 로딩 데이터 동기화를 수행하게 되는데, 이러한 과정이 반복될 경우 응용 프로그램 블록의 정상적인 로딩까지도 영향을 미치게 된다. 본 발명에서는 이와 같은 문제점을 해결하기 위해 중복 프로그램 로딩 데이터 동기화가 시작된 후 일정 시간 이후에는 타임아웃 신호를 발생시켜 계속적으로 동기화가 실패할 경우 다음 절차를 진행하도록 하는 방법을 제안한다.Synchronization of duplicate program loading data may fail due to a disk failure in the system startup loader. In this case, duplicate program loading data synchronization is performed several times. If this process is repeated, normal loading of the application program block is also affected. In order to solve such a problem, the present invention proposes a method for generating a timeout signal after a predetermined time after synchronization of redundant program loading data is started to proceed to the next procedure when synchronization fails continuously.

따라서 중복 프로그램 로딩 데이터 동기화 응답 메시지를 수신한 후에 기 설정된 시간이 경과하여 타임아웃 신호가 있게 되면, 운용자에게 중복 프로그램 로딩 데이터 동기화가 실패하였음을 알람 정보나 기타의 방법을 통해 알리고, 다음 절차를 진행하게 된다. 따라서 이러한 경우에는 중복 프로그램 로딩 데이터 동기화를 수행하지 않고, 프로그램 로딩 데이터의 로딩(S314)과 응용 프로그램 로딩(S315) 및 응용 프로그램 실행(S316) 절차를 수행한다. 타임아웃 신호가 있기 전이고, 중복 프로그램 로딩 데이터 동기화가 실패한 경우에는 계속적으로 타임아웃 신호가 있기 전까지 동기화 절차를 진행하며, 동기화가 성공한 경우에는(S313), 그 이후의 로딩 절차인 프로그램 로딩 데이터의 로딩(S314)과 응용 프로그램 로딩(S315) 및 응용 프로그램 실행(S316) 절차를 수행한다.Therefore, if there is a timeout signal after the preset time elapses after receiving the duplicate program loading data synchronization response message, the operator is notified by alarm information or other method that the duplicate program loading data synchronization has failed. Done. Therefore, in this case, the procedure of loading program loading data (S314), application program loading (S315), and application program execution (S316) is performed without performing duplicate program loading data synchronization. If there is a timeout signal and the synchronization of the redundant program loading data fails, the synchronization procedure is continued until the timeout signal is received. If the synchronization is successful (S313), the subsequent loading procedure is loading of the program loading data. In operation S314, application loading (S315) and application execution (S316) are performed.

이상에서 설명한 바와 같이, 본 발명에 의한 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법에 의하면, 시스템 시작 로더와 프로그램 로더간 중복 프로그램 로딩 데이터 동기화를 요구하는 메시지 처리를 통해 동기화가수행되어, 응용 프로그램의 로딩 및 실행은 중복 프로그램 로딩 데이터 동기화 이후에 이루어지므로 동기화에 시간이 걸리더라도 안정적으로 로딩이 이루어질 수 있다. 또한 동기화 실패 시에도 로딩이 중단되는 것을 방지하여 원활한 로딩이 가능하게 하고, 운용자에게 동기화의 실패를 인지하게 하여 적절한 조치를 가능하게 할 수 있으며, 응용 프로그램 블록들의 안정적인 실행을 가능하게 한다.As described above, according to the method of synchronizing the redundant program loading data between main processors in the exchange according to the present invention, the synchronization is performed by processing a message requesting the synchronization of the redundant program loading data between the system start loader and the program loader, and thus the application program. Since the loading and execution of the data is performed after the synchronization of the redundant program loading data, the loading can be performed stably even if the synchronization takes time. In addition, it prevents the loading from being interrupted even when the synchronization fails, enabling the smooth loading, allowing the operator to recognize the failure of the synchronization, enabling appropriate actions, and enabling stable execution of the application blocks.

Claims (4)

메인 프로세서에서 OS, 쉘(Shell) 및 프로그램 로더의 로딩을 요구하는 메시지를 시스템 시작 로더로 송신하면, 상기 시스템 시작 로더는 상기 요구한 OS, 쉘 및 프로그램 로더를 상기 메인 프로세서로 송신하는 단계(a);When the main processor sends a message requesting the loading of the OS, shell and program loader to the system startup loader, the system startup loader sends the requested OS, shell and program loader to the main processor (a ); 상기 수신한 프로그램 로더를 통해 중복 프로그램 로딩 데이터 동기화 요청 메시지를 상기 시스템 시작 로더로 전송하는 단계(b);(B) transmitting a duplicate program loading data synchronization request message to the system start loader through the received program loader; 시스템 시작 로더에서, 상기 단계(b)에서 전송한 중복 프로그램 로딩 데이터 동기화 요청 메시지를 수신하고, 상기 메시지가 올바른 주소로 전송되었는지 여부를 판단하는 단계(c);(C) receiving, at a system start loader, a duplicate program loading data synchronization request message sent in step (b) and determining whether the message has been sent to a correct address; 상기 단계(c)에서 올바른 주소로 전송되었을 경우, 중복 프로그램 로딩 데이터 동기화를 수행하고, 올바른 주소로 전송되지 않았을 경우 메시지를 폐기하는 단계(d);Performing a duplicate program loading data synchronization when transmitted to the correct address in step (c), and discarding the message when not transmitted to the correct address; 중복 프로그램 로딩 데이터 동기화의 성공 여부에 대한 정보를 포함한 중복 프로그램 로딩 데이터 동기화 응답 메시지를 상기 메인 프로세서로 전송하는 단계(e); 및(E) transmitting a duplicate program loading data synchronization response message including information on whether the duplicate program loading data synchronization is successful to the main processor; And 상기 중복 프로그램 로딩 데이터 동기화 응답 메시지를 수신하여 동기화가 성공하였을 경우, 응용 프로그램의 로딩을 수행하고, 동기화가 실패하였을 경우 중복 프로그램 로딩 데이터 동기화 요청 메시지를 재송신하는 단계(f)를 포함하는 것을 특징으로 하는 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화방법.Receiving the duplicate program loading data synchronization response message, if the synchronization is successful, performing the loading of the application program, if the synchronization fails, and resending the duplicate program loading data synchronization request message Duplicate program loading data synchronization method between main processors in an exchange. 제 1항에 있어서,The method of claim 1, 상기 단계(b)의 중복 프로그램 로딩 데이터 동기화 요청 메시지 전송 전에, 프로그램 로더만 재 시동되었는지 여부를 판단하여, 프로그램 로더만 재 시동되었을 경우, 상기 중복 프로그램 로딩 데이터 동기화를 수행하지 않고, 응용 프로그램의 로딩을 수행하는 단계를 더 포함하는 것을 특징으로 하는 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법.Before transmitting the duplicate program loading data synchronization request message of step (b), it is determined whether only the program loader is restarted, and when only the program loader is restarted, the application program is loaded without performing the duplicate program loading data synchronization. The method for synchronizing the redundant program loading data between main processors in the exchange further comprising the step of performing. 제 1항에 있어서,The method of claim 1, 상기 프로그램 로딩 데이터 동기화 과정이 계속적으로 실패하여 기 설정한 시간을 초과하면, 상기 프로그램 로딩 데이터 동기화를 수행하지 않고 응용 프로그램의 로딩을 수행하는 단계를 더 포함하는 것을 특징으로 하는 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법.If the program loading data synchronization process continues to fail and exceeds a preset time, the method further comprises the step of performing loading of an application program without performing the program loading data synchronization. Program loading data synchronization method. 제 2항에 있어서,The method of claim 2, 상기 프로그램 로더만 재 시동되었는지 여부의 판단은 상기 메인 프로세서의 메모리에 프로그램 로딩 데이터가 존재하는지 여부로 판단하는 것임을 특징으로 하는 교환기에서 메인 프로세서간 중복 프로그램 로딩 데이터 동기화 방법.The method of synchronizing duplicate program loading data between main processors in the exchanger comprises determining whether only the program loader is restarted or not, whether program loading data exists in the memory of the main processor.
KR10-2000-0066492A 2000-11-09 2000-11-09 Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System KR100430422B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066492A KR100430422B1 (en) 2000-11-09 2000-11-09 Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066492A KR100430422B1 (en) 2000-11-09 2000-11-09 Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System

Publications (2)

Publication Number Publication Date
KR20020036349A KR20020036349A (en) 2002-05-16
KR100430422B1 true KR100430422B1 (en) 2004-05-04

Family

ID=19698132

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0066492A KR100430422B1 (en) 2000-11-09 2000-11-09 Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System

Country Status (1)

Country Link
KR (1) KR100430422B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920014111A (en) * 1990-12-31 1992-07-30 경상현 How to Load User Program
KR19990025675A (en) * 1997-09-13 1999-04-06 유기범 Data Matching and Extraction Method in Private Exchange
KR19990047696A (en) * 1997-12-05 1999-07-05 유기범 Program loading method of electronic changer
KR19990047697A (en) * 1997-12-05 1999-07-05 유기범 Program loading method of electronic changer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920014111A (en) * 1990-12-31 1992-07-30 경상현 How to Load User Program
KR19990025675A (en) * 1997-09-13 1999-04-06 유기범 Data Matching and Extraction Method in Private Exchange
KR19990047696A (en) * 1997-12-05 1999-07-05 유기범 Program loading method of electronic changer
KR19990047697A (en) * 1997-12-05 1999-07-05 유기범 Program loading method of electronic changer

Also Published As

Publication number Publication date
KR20020036349A (en) 2002-05-16

Similar Documents

Publication Publication Date Title
US5758157A (en) Method and system for providing service processor capability in a data processing by transmitting service processor requests between processing complexes
JP3213766B2 (en) Replicate file update system
US20040059735A1 (en) Systems and methods for enabling failover in a distributed-object computing environment
WO1983002180A1 (en) Interface processor unit
US9330153B2 (en) System, method, and computer readable medium that coordinates between devices using exchange of log files
US5600808A (en) Processing method by which continuous operation of communication control program is obtained
JP2001034568A (en) Logical path establishing method, and storage medium
JPH11224207A (en) Computer constituting multi-cluster system
KR100430422B1 (en) Method for Synchronizing Overlapped Program Loading Data among Main Processors in Exchanging System
US6832336B2 (en) Method and apparatus for maintaining consistent data
Cisco
Cisco
Cisco CIP-LOADER to CIP-UTIL
JP2002373084A (en) Method for both exchanging states and detecting failure of duplex system
KR102482151B1 (en) System and method for transmitting and receiving data based on bridgehead network
JP2000353106A (en) Device and method for transferring data
JP3130892B2 (en) Redundant system
JPH05334162A (en) Data processing system
JP2000082006A (en) Information backup system
JP3424644B2 (en) Method of communication between processors
KR100790069B1 (en) Method for duplicating active designation data in duplication apparatus
KR100798997B1 (en) Restarting Method of Dual Processor
JP2006172385A (en) Computer system, method for calling storage management program and storage system
KR100661513B1 (en) Db managing device of the duplex processor system and controlling method therefore
KR100256564B1 (en) Method for initial-treatment between omi and agent

Legal Events

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

Payment date: 20120315

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee