KR100772178B1 - Method for links configuration and state management using shared memory - Google Patents

Method for links configuration and state management using shared memory Download PDF

Info

Publication number
KR100772178B1
KR100772178B1 KR1020060123778A KR20060123778A KR100772178B1 KR 100772178 B1 KR100772178 B1 KR 100772178B1 KR 1020060123778 A KR1020060123778 A KR 1020060123778A KR 20060123778 A KR20060123778 A KR 20060123778A KR 100772178 B1 KR100772178 B1 KR 100772178B1
Authority
KR
South Korea
Prior art keywords
link
information
configuration
state
information table
Prior art date
Application number
KR1020060123778A
Other languages
Korean (ko)
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 KR1020060123778A priority Critical patent/KR100772178B1/en
Application granted granted Critical
Publication of KR100772178B1 publication Critical patent/KR100772178B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/103Packet switching elements characterised by the switching fabric construction using a shared central buffer; using a shared memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A link configuration and state management method using a shared memory is provided to improve performance of an overall system by generating a shared memory and a link information table, adding and deleting a link, and recovering a generated failure. When a system starts, a link information table and a shared memory are generated and initialized(S01). A file regarding link configuration information of the system is read(S02) and sets link configuration and state information is set in the link information table(S03). A configuration state control process enters a standby state(S04). When a link configuration addition/deletion request command is received from the system or an operator(S05), it is checked whether the command link configuration addition request command(S06). In case of the link configuration addition request command, a process for adding link configuration is performed(S07) and sets the added link configuration information in the link information table(S08). In case of the link configuration deletion request command, a process for deleting a link configuration is performed(S10). A processing result is reported to a management system or the operator(S09). When failure generation or recovery information with respect to a link is received from a management system(S11), it is checked whether the information is the failure generation information(S12). In case of the failure generation information, a failure processing is executed(S13) and failure generation information is set in the link information table(S14). The failure generation information and the processing result are reported to the management system(S15).

Description

공유메모리를 이용한 링크 구성 및 상태 관리 방법{Method for links configuration and state management using shared memory}Method for links configuration and state management using shared memory}

도 1은, 본 발명의 일 실시예에 따른 라우팅 프로세서의 기본 구성도,1 is a basic configuration diagram of a routing processor according to an embodiment of the present invention;

도 2는, 본 발명의 일 실시예에 따른 링크 구성 및 상태 관리 방법을 나타낸 흐름도,2 is a flowchart illustrating a link configuration and a state management method according to an embodiment of the present invention;

도 3은, 본 발명의 일 실시예에 따른 링크 정보 테이블의 구성도,3 is a configuration diagram of a link information table according to an embodiment of the present invention;

도 4는, 본 발명의 일 실시예에 따른 공유메모리를 참조하여 링크 구성과 상태를 판단하고 명령 처리하는 순서를 나타낸 흐름도, 그리고4 is a flowchart illustrating a procedure of determining a link configuration and a state and processing a command with reference to a shared memory according to an embodiment of the present invention;

도 5는, 본 발명의 일 실시예에 따른 링크의 구성 및 상태 검색 함수의 동작 순서를 나타내는 흐름도이다. 5 is a flowchart illustrating a configuration of a link and an operation procedure of a state search function according to an embodiment of the present invention.

본 발명은 링크 구성 및 상태 관리 방법에 관한 것으로, 특히 각 프로세스가 그 내부의 메모리에 접근하는 것과 같이 신속하고 용이하게 링크의 구성 및 상태 정보에 접근하고 이용할 수 있는 공유메모리를 이용한 링크 구성 상태 관리 방법에 관한 것이다. The present invention relates to a link configuration and state management method. In particular, link configuration state management using a shared memory that can access and use link configuration and state information quickly and easily, such as each process accesses its internal memory. It is about a method.

일반적으로 PON(passive optical network) IP 액세스 라우터는 상용 라우팅 프로토콜들을 탑재하고 여기에 시스템 운용 관리를 위해 구성관리, 장애관리, 성능관리, 보안관리, 과금관리 등 여러 프로세스로 분산된 구조로 동작하며, 이 프로세스들은 필요에 따라 더 세분화되거나 통합될 수 있다. 이렇게 분산 프로세스들로 구성된 상태에서 특정 프로세스가 링크 구성 및 상태를 검사하기 위해, 종래에는 링크를 관리하는 특정 프로세스로 검사 요청 메시지를 송신하고 그 결과 메시지를 수신하여 확인하거나, 데이터베이스를 탑재하여 링크 구성과 상태를 공유하여 확인하는 방법을 사용하여 왔다. In general, a passive optical network (PON) IP access router is equipped with commercial routing protocols and operates in a distributed structure with several processes such as configuration management, fault management, performance management, security management, and billing management for system operation management. These processes can be further refined or integrated as needed. In order to check the link configuration and status in a state in which the distributed processes are configured, conventionally, a check request message is sent to a specific process managing a link and a result message is received and confirmed, or a link is mounted by mounting a database. It has been used to check the status by sharing the status.

전자의 링크 구성상태 요청 메시지를 송수신하여 확인하는 방법은 링크 구성과 상태를 관리하는 특정 프로세스와 확인하려는 프로세스 간 메시지 통신으로, 확인 결과에 대한 메시지 수신이 지연되거나 손실될 수 있다는 단점이 있으며, 후자의 데이터베이스 탑재하여 링크 구성과 상태를 공유하는 방법은 데이터베이스 탑재로 인한 주 메모리 낭비, 중앙처리장치(CPU) 부하 증가와 같은 문제점이 있다.The former method of sending and receiving a link configuration status request message is a message communication between a specific process that manages link configuration and status and a process to be verified, and has a disadvantage in that reception of a message on a result of a confirmation may be delayed or lost. The method of sharing the link configuration and state by mounting the database has problems such as main memory waste and increased CPU load due to the database.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 링크의 구성 및 상태 정보에 대해 각 프로세스 내의 데이터 접근과 같이 신속하고 용이하게 접근할 수 있는 공유메모리를 이용한 링크 구성 및 상태 관리 방법을 제공하는데 있다. An object of the present invention for solving the above problems is to provide a link configuration and state management method using a shared memory that can quickly and easily access the link configuration and state information, such as data access in each process. have.

상기와 같은 본 발명의 목적을 달성하기 위하여 본 발명의 공유메모리를 이용한 링크 구성 및 상태 관리 방법은, 복수의 프로세스들로 분산된 구조로 동작하는 시스템에서의 공유메모리를 이용한 링크 구성 및 상태 관리 방법에 있어서, 링크 정보 테이블 및 상기 링크 정보 테이블의 정보에 따라 할당되는 공유메모리를 생성하는 제1단계; 상기 링크 정보 테이블에 링크의 구성 및 상태에 대한 정보를 저장하는 제2단계; 링크의 구성 변경이 있는 경우 상기 링크 정보 테이블을 변경된 정보에 맞게 업데이트하는 제3단계; 및 링크의 상태 변경이 있는 경우 상기 링크 정보 테이블을 변경된 정보에 맞게 업데이트하는 제4단계를 포함한다.In order to achieve the object of the present invention as described above, the link configuration and state management method using the shared memory of the present invention is a link configuration and state management method using a shared memory in a system operating in a distributed structure with a plurality of processes. A first step of generating a shared memory allocated according to the link information table and the information of the link information table; A second step of storing information on a configuration and a state of a link in the link information table; A third step of updating the link information table according to the changed information when there is a configuration change of the link; And a fourth step of updating the link information table according to the changed information when there is a state change of the link.

이하 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있는 바람직한 실시예를 상세히 설명한다. 다만, 본 발명의 바람직한 실시예에 대한 동작 원리를 상세하게 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다. 또한, 도면 전체에 걸쳐 유사한 기능 및 작용을 하는 부분에 대해서는 동일한 도면 부호를 사용한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, in describing in detail the operating principle of the preferred embodiment of the present invention, if it is determined that the detailed description of the related known functions or configurations may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, the same reference numerals are used for parts having similar functions and functions throughout the drawings.

도 1은, 본 발명의 일 실시예에 따른 라우팅 프로세서의 개략적인 구성을 나타낸 도면이다. 도 1을 참조하면, 링크의 구성 및 상태를 제어하는 구성상태제어 프로세스(110), 기타 프로세스(120-1 내지 120-n) 및 공유메모리(100)로 구성된다.1 is a view showing a schematic configuration of a routing processor according to an embodiment of the present invention. Referring to FIG. 1, a configuration state control process 110 for controlling the configuration and state of a link, other processes 120-1 to 120-n, and a shared memory 100 are provided.

상기 구성상태제어 프로세스(110)는 링크 구성과 상태를 상기 공유메모리(100)에 관리하는 기능을 수행한다. 즉, 상기 공유메모리(100)를 생성 및 초기화하고 링크 구성 정보를 상기 공유메모리(100)에 저장하며, 링크 구성의 변경 또는 링크의 상태 변화 등에 대한 정보를 상기 공유메모리(100)상에서 관리한다. 이때, 링크 정보 테이블을 생성하여 링크의 구성 및 상태에 대한 관리를 할 수 있는데, 상기 링크 정보 테이블에 대해서는 아래에서 좀 더 자세하게 설명하기로 한다. 그리고 상기 기타 프로세스(120-1 내지 120-n)는 본 발명을 이용하는 시스템 또는 운용자 요구에 따른 명령 처리시에, 상기 공유메모리(100)에 접근하여 링크 구성과 상태를 판단하여 명령 처리를 수행하는 것으로, 기존의 구성관리, 장애관리, 성능관리, 보안관리, 과금관리 프로세스 등을 말한다.The configuration state control process 110 performs a function of managing the link configuration and state in the shared memory 100. That is, the shared memory 100 is generated and initialized, the link configuration information is stored in the shared memory 100, and the information on the link configuration change or the link state change is managed on the shared memory 100. At this time, the link information table may be generated to manage the configuration and state of the link. The link information table will be described in more detail below. The other processes 120-1 to 120-n may access the shared memory 100 to determine the link configuration and state and perform command processing at the time of command processing according to a system or operator's request using the present invention. It refers to the existing configuration management, failure management, performance management, security management, billing management process, and the like.

일반적인 경우 프로세스들은 다른 프로세스 등의 참조 영역에 접근할 수 없도록 메모리 상에 고유의 참조 영역이 할당되어 있지만, 본 실시예에서는 공유메모리(100)를 이용하여 각각의 프로세스들이 필요로 하는 링크 구성 및 상태 정보에 억세스할 수 있도록 한다. 이런 방법을 이용하여 일반적인 메모리를 사용하여 링크에 대한 정보를 송수신하거나, 데이터베이스를 이용하여 데이터베이스 관리 프로그램을 통해 정보에 억세스하는 시간, 자원 등의 낭비를 줄일 수 있게 되고, 링크의 구성 및 상태에 대한 정보 전송의 오류 위험을 낮출 수 있다.In a general case, although a unique reference area is allocated on a memory so that processes cannot access reference areas such as other processes, in this embodiment, the link configuration and state required by each process using the shared memory 100 are required. Make information accessible. By using this method, the general memory can be used to send and receive information on the link, or the database can be used to reduce the waste of time and resources to access the information through the database manager. The risk of error in information transmission can be lowered.

도 2는, 본 발명의 일 실시예에 따른 구성상태제어 프로세스(110)가 공유메모리를 생성하고 링크 구성 및 상태를 공유메모리에 관리하는 기능을 수행하는 흐름을 나타낸다. 도 2를 참조하면, 먼저 시스템 시작시 링크 정보 테이 블(ConfStsTable) 및 상기 링크 정보 테이블의 정보에 따라 할당되는 공유메모리(100)를 생성하고 초기화를 수행한다(S01). 그리고 시스템 내 링크 구성정보에 관한 파일을 읽어들이고(S02), 링크 구성 및 상태 정보를 상기 링크 정보 테이블에 설정한다(S03). 상기 링크 정보 테이블에 관해서는 도 3을 참조하여 설명하기로 한다.2 shows a flow in which the configuration state control process 110 according to an embodiment of the present invention performs a function of creating a shared memory and managing link configuration and state in the shared memory. Referring to FIG. 2, first, a link information table (ConfStsTable) and a shared memory 100 allocated according to the information of the link information table are generated and initialized at system startup (S01). Then, the file related to the link configuration information in the system is read (S02), and the link configuration and state information is set in the link information table (S03). The link information table will be described with reference to FIG. 3.

도 3은 본 발명의 일 실시예에 따른 링크 정보 테이블(300)의 구성을 나타내는 도면이다. 도 3을 참조하면, 상기 링크 정보 테이블(300)은 링크의 구성 및 상태를 관리하기 위한 테이블로서, 링크 번호 필드(310), 실장 정보 필드(320), 및 링크 상태 정보 필드(330)를 포함하여 구성된다.3 is a diagram illustrating a configuration of a link information table 300 according to an embodiment of the present invention. Referring to FIG. 3, the link information table 300 is a table for managing the configuration and state of a link. The link information table 300 includes a link number field 310, a mounting information field 320, and a link state information field 330. It is configured by.

상기 링크 번호 필드(310)의 'if_no'는 시스템 내 링크들을 구분하는 일련 번호를 나타낸다. 상기 'if_no'는 정수값(INTEGER) 또는 자연수 값을 가진다.'If_no' in the link number field 310 indicates a serial number for distinguishing links in the system. 'If_no' has an integer value (INTEGER) or a natural value.

상기 실장 정보 필드(320)의 'eq_info'는 라우터 등에서 서비스 목적으로 시스템에 실제 장착한 상태(실장: EQ) 또는 실제 장착하지 않은 상태(미실장: NOEQ)를 나타낸다. 예를 들어, 미실장 상태는 링크를 위한 장치 등의 링크 연결 단자에 연결은 하였으나 실제 링크로서 동작하지는 않는 경우 등을 나타낸다.'Eq_info' of the mounting information field 320 indicates a state (mounted: EQ) or a state not mounted (NOEQ) that is actually mounted in the system for service purposes in a router or the like. For example, the unmounted state indicates a case in which a connection is made to a link connecting terminal such as a device for a link but does not operate as a real link.

상기 링크 상태 정보 필드(330)의 'lk_sts'는 링크의 장애 발생 상태를 나타내는 것으로, 만일 특정 링크가 실장(EQ)인 경우 링크가 장애 없이 정상 동작하는 상태(NORM) 또는 링크에 장애가 발생한 상태(ABNORM)를 나타낸다. 반대로 특정 링크가 미실장(NOEQ)인 경우라면 상기 링크 상태 정보 필드(330)의 장애 상태 정보는 의미가 없다.'Lk_sts' in the link status information field 330 indicates a failure state of a link. If a specific link is mounted (EQ), the link operates normally without failure (NORM) or a failure state of the link ( ABNORM). On the contrary, when a specific link is NOEQ, the failure status information of the link status information field 330 is meaningless.

다시 도 2를 참조하면, 상기 링크 정보 테이블(300)의 생성 후에(S03) 구성상태제어 프로세스(110)는 대기 상태에 들어 간다(S04). 상기 대기 상태에서 본 발명의 시스템 또는 운용자 등으로부터 링크 구성 추가/삭제 요구 명령을 수신하면(S05) 링크 구성 추가 요구 명령인지를 검사한다(S06). Referring back to FIG. 2, after the generation of the link information table 300 (S03), the configuration state control process 110 enters the standby state (S04). When receiving the link configuration add / delete request command from the system or the operator of the present invention in the standby state (S05), it is checked whether or not the link configuration add request command (S06).

만일 링크 구성 추가 요구 명령이면, 링크 구성추가에 대한 처리를 수행하고(S07), 상기 링크 정보 테이블(300)에 추가된 링크 구성 정보를 설정한다(S08). 상기 링크 구성추가에 대한 처리는, 예를 들어, 상기 링크를 사용할 수 있도록 인터페이스 드라이버의 해당 정보를 활성화하는 등의 동작을 의미한다. 또한 상기 링크 정보 테이블(300)에의 링크 구성 정보 설정은, 해당 링크에 대한 정보 중 'eq_info' 항목을 'EQ'로 설정(SET)하는 방식으로 이루어진다.If the link configuration addition request command is performed, processing for link configuration addition is performed (S07), and link configuration information added to the link information table 300 is set (S08). The process of adding the link configuration means, for example, activating corresponding information of an interface driver so that the link can be used. In addition, the link configuration information is set in the link information table 300 by setting the 'eq_info' item in the information on the link to 'EQ'.

상기 단계(S06)의 검사결과 만일 링크 구성 삭제 요구 명령이면, 링크 구성삭제에 대한 처리를 수행하고(S10), 상기 링크 정보 테이블(300)에서 해당 링크에 대한 정보를 삭제한다(S08). 상기 링크 구성삭제에 대한 처리는, 예를 들어, 상기 링크를 사용할 수 없도록 인터페이스 드라이버의 해당 정보를 비활성화하는 등의 동작을 의미한다. 또한 상기 링크 정보 테이블(300)에서의 링크 구성 정보 삭제는, 해당 링크에 대한 정보 중 'eq_info' 항목을 'NOEQ'로 설정하는 방식으로 이루어진다. 그 후, 해당 링크 구성의 추가 또는 삭제에 따른 처리 결과를 본 발명의 관리 시스템이나 운용자에게 보고한 후(S09), 다시 상기 단계(S04)의 대기 상태로 들어간다.If the result of the check in step S06 is a link configuration deletion request command, a process for deleting a link configuration is performed (S10), and information about the corresponding link is deleted from the link information table 300 (S08). The process of deleting the link configuration means, for example, deactivating corresponding information of an interface driver so that the link cannot be used. In addition, deletion of link configuration information in the link information table 300 is performed by setting the 'eq_info' item in the information on the link to 'NOEQ'. Thereafter, the processing result according to the addition or deletion of the link configuration is reported to the management system or the operator of the present invention (S09), and then the process returns to the standby state of the step (S04).

상기 단계(S04)의 대기 상태에서 관리 시스템 등으로부터 링크에 대한 장애 발생 또는 복구 정보를 수신하면(S11), 장애 발생 정보인지를 검사한다(S12). 상기 단계(S12)에서의 검사결과 만일 장애 발생 정보이면 장애 발생 처리를 실행하고(S13), 상기 링크 정보 테이블(300)에 상기 장애 발생 정보를 설정한다(S14). 상기 장애 발생 처리는, 예를 들어, 해당 장애 발생 링크에 대한 표시를 하고, 관리 시스템 또는 운용자 등에게 상기 장애 발생 사실을 통지하며, 해당 링크에 대한 억세스를 금지하는 등의 행위가 될 수 있다. 또한 상기 링크 정보 테이블(300)에의 장애 발생 정보 설정은 장애가 발생한 해당 링크에 대한 정보 중 'lk_sts' 항목을 'ABNORM'로 설정하는 방식으로 이루어진다. 그 후, 장애 발생 정보 및 처리 결과를 관리 시스템 등에게 보고하고(S15), 상기 단계(S04)의 대기 상태로 들어간다.When receiving the failure occurrence or recovery information on the link from the management system or the like in the standby state of the step (S04) (S11), it is checked whether the failure occurrence information (S12). If the result of the check in step S12 is failure occurrence information, failure occurrence processing is executed (S13), and the failure occurrence information is set in the link information table 300 (S14). The failure processing may be, for example, an indication of a corresponding failure link, a notification of a failure occurrence to a management system or an operator, or the like, and prohibiting access to the corresponding link. In addition, the failure occurrence information setting in the link information table 300 is performed by setting the 'lk_sts' item to 'ABNORM' among information on the corresponding link in which the failure occurs. Thereafter, the failure occurrence information and the processing result are reported to the management system or the like (S15), and the standby state of the step S04 is entered.

반면, 상기 단계(S12)에서의 검사 결과 장애 복구 정보이면, 장애 복구 처리를 실행하고(S15), 상기 링크 정보 테이블에 상기 장애 복구 정보를 설정한다(S14). 상기 장애 복구 처리는, 예를 들어, 장애가 발생한 링크에 대한 표시를 삭제하고, 관리 시스템 등에게 장애의 복구 사실을 통지하며, 해당 링크에 대한 억세스를 허용하는 등의 행위가 될 수 있다. 또한 상기 링크 정보 테이블(300)에의 장애 복구 정보 설정은 장애가 복구된 해당 링크에 대한 정보 중 'lk_sts' 항목을 'NORM'로 설정하는 방식으로 이루어진다. 그 후, 장애 복구 및 처리 결과를 관리 시스템 등에게 보고하고(S15), 상기 단계(S04)의 대기 상태로 들어간다.On the other hand, if the result of the check in the step S12 is the failure recovery information, a failure recovery process is executed (S15), and the failure recovery information is set in the link information table (S14). The failure recovery processing may be, for example, deleting an indication of a failed link, notifying the management system or the like of the failure recovery, allowing access to the corresponding link, or the like. In addition, the failure recovery information is set in the link information table 300 by setting the 'lk_sts' item to 'NORM' among information on the corresponding link in which the failure is restored. After that, the failure recovery and processing result is reported to the management system or the like (S15), and the standby state of the step S04 is entered.

도 4는, 본 발명의 일 실시예에 따른 기타 프로세스(120-1 내지 120-n)가 명령 처리를 수행할 때 공유메모리를 참조하여 링크 구성과 상태를 판단하고 명령 처리하는 흐름을 나타낸 도면이다. 도 4를 참조하면, 먼저 본 발명의 링크 구성과 상 태를 관리하는 방법에 의하면, 시스템이 시작되면, 각 기타 프로세스(120-1 내지 120-n)들은, 구성상태제어 프로세스(110)가 생성한 링크 정보 테이블(300)을 열고(S21) 상기 링크 정보 테이블에 자기 프로세스를 연결한 후(S22), 명령어 처리 요구를 수신하는 대기 상태에 들어 간다(S23). 4 is a diagram illustrating a flow of determining and configuring a link configuration and state with reference to a shared memory when the other processes 120-1 to 120-n perform command processing according to an embodiment of the present invention. . Referring to FIG. 4, first, according to the method for managing link configuration and state of the present invention, when the system is started, each of the other processes 120-1 to 120-n is generated by the configuration state control process 110. After opening one link information table 300 (S21) and connecting its process to the link information table (S22), it enters a waiting state for receiving a command processing request (S23).

상기 대기 상태에서 관리 시스템 또는 운용자로부터 특정 링크에 관한 명령어 처리 요구를 수신하면(S24), 상기 명령에서 입력한 링크 번호(if_no)를 매개변수로 링크의 구성 및 상태 검색 함수(GetConfSts)를 호출하고(S25), 해당 링크에 대해 상기 호출한 함수의 결과가 'OK'인지를 검사한다(S26). 만일 상기 링크의 구성 및 상태 검색 함수의 결과값이 'OK'이면, 해당 링크에 대한 명령어 처리를 실행하고, 관리 시스템 또는 운용자 등에게 해당 링크의 상태에 대한 메시지(OK) 및 명령어 처리 결과에 대한 메시지를 출력한 후(S27), 상기 단계(S23)의 대기 상태에 들어간다. When the command processing request for a specific link is received from the management system or the operator in the standby state (S24), the link configuration and state search function (GetConfSts) is called with the link number (if_no) entered in the command as a parameter. (S25), it is checked whether the result of the called function is 'OK' for the link (S26). If the result of the configuration and status search function of the link is 'OK', the command processing for the link is executed, and a message about the status of the link (OK) and the command processing result are transmitted to the management system or the operator. After outputting the message (S27), the process enters the standby state of step S23.

반면, 상기 단계(S26)에서의 링크의 구성 및 상태 검색 함수의 결과값이 'OK'가 아니면, 링크가 정상이 아닐 경우에 수행하도록 설정된 처리 과정을 수행한다. 그리고 관리 시스템 또는 운용자에게 상기 링크의 구성 또는 상태가 정상이 아니라는 메시지(NOK) 및 해당 링크 상태에 따른 처리 결과 메시지를 출력한 후(S28), 상기 단계(S23)의 대기 상태에 들어간다. 상기 링크의 구성 및 상태 검색 함수의 동작에 대해서는 아래의 도 5를 참조하여 설명하기로 한다.On the other hand, if the result of the link configuration and status search function in step S26 is not 'OK', a process set to be performed when the link is not normal is performed. After outputting a message NOK indicating that the configuration or state of the link is not normal and a processing result message according to the link state (S28), the system enters the standby state of step S23. The configuration of the link and the operation of the state search function will be described with reference to FIG. 5 below.

도 5는, 본 발명의 일 실시예에 따른 링크의 구성 및 상태 검색 함수(GetConfSts)의 동작 순서를 나타내는 흐름도로서, 기타 프로세스(120-1 내지 120-n)가 명령 처리 수행 시 공유메모리(100)에 접근하여 링크 구성과 상태를 판단하는 과정을 나타낸다. 도 5를 참조하면, 특정 링크 번호(if-no)를 매개변수로 하여 상기 링크의 구성 및 상태 검색 함수가 호출되면, 상기 링크 번호(if_no)에 해당되는 링크 정보 테이블의 정보를 검색한다(S31). FIG. 5 is a flowchart illustrating a configuration of a link and an operation sequence of a status search function GetConfSts according to an embodiment of the present invention. The shared memory 100 is executed when other processes 120-1 to 120-n perform instruction processing. ) To determine link configuration and status. Referring to FIG. 5, when a configuration and status search function of the link is called with a specific link number (if-no) as a parameter, information of a link information table corresponding to the link number (if_no) is retrieved (S31). ).

그리고 해당 링크의 실장 정보(eq_info)가 실장(EQ)인지 검사한 후(S32), 해당 링크 구성이 실장(EQ)이면 링크 상태 정보(lk_sts)가 정상(NORM)인지를 검사하여(S33), 해당 링크 상태 정보가 정상이면 'OK'를 출력하고(S34), 링크 상태 정보가 정상이 아니면 'LK_ABNORM'을 출력한다(S36). 반면, 상기 단계(S32)에서 링크 구성 정보가 실장이 아니면 'NOEQ'를 출력한다(S35).After checking whether the link information (eq_info) of the link is implemented (EQ) (S32), and if the corresponding link configuration is implemented (EQ), it is checked whether the link status information (lk_sts) is normal (NORM) (S33). If the link state information is normal, 'OK' is output (S34). If the link state information is not normal, 'LK_ABNORM' is output (S36). On the other hand, if the link configuration information is not implemented in step S32, 'NOEQ' is output (S35).

이제까지 본 발명에 대하여 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment of 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. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. 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.

상기와 같은 본 발명의 공유메모리를 이용한 링크 구성 및 상태 관리 방법은, 공유메모리 및 링크 정보 테이블을 생성하고 링크의 구성 추가 및 삭제, 장애 발생 및 복구 처리를 함으로써, 링크 정보를 참조하고자 하는 프로세스가 해당 정보에 신속하고 용이하게 접근하고 이용할 수 있으며 인해 전체 시스템의 성능이 향상될 수 있다.In the link configuration and state management method using the shared memory of the present invention as described above, a process for referencing the link information by generating the shared memory and the link information table, adding and deleting the link configuration, generating a failure, and recovering the link is performed. You can access and use that information quickly and easily, which can improve the performance of your entire system.

Claims (12)

복수의 프로세스들로 분산된 구조로 동작하는 시스템에서의 공유메모리를 이용한 링크 구성 및 상태 관리 방법에 있어서,In the link configuration and state management method using a shared memory in a system operating in a distributed structure of a plurality of processes, 링크 정보 테이블 및 상기 링크 정보 테이블의 정보에 따라 할당되는 공유메모리를 생성하는 제1단계;A first step of generating a shared memory allocated according to the link information table and the information of the link information table; 상기 링크 정보 테이블에 링크의 구성 및 상태에 대한 정보를 저장하는 제2단계;A second step of storing information on a configuration and a state of a link in the link information table; 링크의 구성 변경이 있는 경우 상기 링크 정보 테이블을 변경된 정보에 맞게 업데이트하는 제3단계; 및A third step of updating the link information table according to the changed information when there is a configuration change of the link; And 링크의 상태 변경이 있는 경우 상기 링크 정보 테이블을 변경된 정보에 맞게 업데이트하는 제4단계를 포함하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And a fourth step of updating the link information table according to the changed information when there is a link state change. 제1항에 있어서, 상기 제1단계에서 생성하는 링크 정보 테이블은The method of claim 1, wherein the link information table generated in the first step is 각각의 링크에 대한 색인을 나타내는 링크 번호 필드, 해당 링크를 시스템에 장착한지 여부를 나타내는 실장 정보 필드, 및 링크의 상태를 나타내는 링크 상태 정보 필드를 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.A link configuration using a shared memory comprising a link number field indicating an index for each link, a mounting information field indicating whether a corresponding link is installed in the system, and a link status information field indicating a link status; State management method. 제2항에 있어서, 상기 제3단계에서 The method of claim 2, wherein in the third step 상기 링크의 구성 변경이 새로운 링크 구성의 추가인 경우 상기 링크 정보 테이블의 업데이트는, When the configuration change of the link is the addition of a new link configuration, the update of the link information table is performed. 상기 링크 정보 테이블의 상기 추가되는 링크에 관한 정보 중 실장 정보 필드의 정보를 해당 링크가 실제 장착된 상태를 나타내는 값으로 변경하는 방식으로 이루어지는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And a method of changing the information of the mounting information field among the information about the added link in the link information table to a value indicating a state in which the corresponding link is actually mounted. 제3항에 있어서, 상기 제3단계는 The method of claim 3, wherein the third step 상기 링크의 구성 변경이 새로운 링크 구성의 추가인 경우, 상기 링크를 사용할 수 있도록 인터페이스 드라이버의 해당 정보를 활성화하는 과정을 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.If the configuration change of the link is the addition of a new link configuration, the link configuration and state management method using a shared memory further comprising the step of activating the corresponding information of the interface driver to use the link. 제2항에 있어서, 상기 제3단계에서 The method of claim 2, wherein in the third step 상기 링크의 구성 변경이 새로운 링크 구성의 삭제인 경우 상기 링크 정보 테이블의 업데이트는, When the configuration change of the link is deletion of a new link configuration, the update of the link information table is performed. 상기 링크 정보 테이블의 상기 삭제되는 링크에 관한 정보 중 실장 정보 필드의 정보를 해당 링크가 실제 장착되지 않은 상태를 나타내는 값으로 변경하는 방식으로 이루어지는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.Link configuration and state management method using a shared memory, characterized in that for changing the information of the mounting information field of the information on the deleted link in the link information table to a value indicating that the link is not actually mounted; . 제5항에 있어서, 상기 제3단계는 The method of claim 5, wherein the third step 상기 링크의 구성 변경이 새로운 링크 구성의 삭제인 경우, 상기 링크를 사용할 수 없도록 인터페이스 드라이버의 해당 정보를 비활성화하는 과정을 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.If the configuration change of the link is a deletion of a new link configuration, further comprising deactivating corresponding information of an interface driver so that the link cannot be used. 제2항에 있어서, 상기 제4단계는The method of claim 2, wherein the fourth step 상기 링크의 상태 변경이 상기 공유메모리에 저장된 링크 구성의 장애 발생인 경우, 상기 장애가 발생한 링크에 대한 표시, 상기 장애 발생 사실 통지, 및 해당 링크에 대한 억세스 금지 중 하나 이상의 동작을 수행하는 과정을 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.If the state change of the link is a failure of a link configuration stored in the shared memory, performing the step of performing one or more of the indication of the failed link, the notification of the failure, and the prohibition of access to the link. Link configuration and state management method using a shared memory comprising a. 제7항에 있어서, 상기 제4단계에서의 업데이트는8. The method of claim 7, wherein the updating in the fourth step is 상기 링크 정보 테이블의 링크 상태 정보 필드의 값을 장애 발생 상태에 관한 값으로 변경하는 방식으로 이루어지는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And a link status information field of the link information table is changed to a value relating to a failure state. 제7항에 있어서, 상기 제4단계는 The method of claim 7, wherein the fourth step is 상기 링크의 상태 변경이 상기 발생한 장애에 대한 복구인 경우, 상기 장애가 발생한 링크에 대한 표시 해제, 상기 장애 복구 사실 통지, 및 해당 링크에 대한 억세스를 허용 중 하나 이상의 동작을 수행하는 과정을 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.If the state change of the link is recovery for the failure, the method further includes performing one or more operations of releasing the indication of the failed link, notifying of the failure recovery, and allowing access to the link. Link configuration and state management method using a shared memory, characterized in that. 제9항에 있어서, 상기 제4단계에서의 업데이트는The method of claim 9, wherein the updating in the fourth step is 상기 링크 정보 테이블의 링크 상태 정보 필드의 값을 정상 동작 상태에 관한 값으로 변경하는 방식으로 이루어지는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And changing a value of a link state information field of the link information table to a value related to a normal operation state. 제1항에 있어서,The method of claim 1, 상기 프로세스가 링크의 구성 및 상태 검색 함수를 이용하여 상기 링크 정보 테이블의 정보를 검색하고 해당 검색 결과를 출력하는 제5단계를 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And a fifth step of the process of retrieving information of the link information table by using a link configuration and state search function and outputting a corresponding search result. 제11항에 있어서,The method of claim 11, 상기 프로세스가 상기 제5단계에서의 출력 정보를 참조하여 특정 프로세스의 명령어 처리 결과를 출력하는 제6단계를 더 포함하는 것을 특징으로 하는 공유메모리를 이용한 링크 구성 및 상태 관리 방법.And a sixth step in which the process outputs a command processing result of a specific process with reference to the output information in the fifth step.
KR1020060123778A 2006-12-07 2006-12-07 Method for links configuration and state management using shared memory KR100772178B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060123778A KR100772178B1 (en) 2006-12-07 2006-12-07 Method for links configuration and state management using shared memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060123778A KR100772178B1 (en) 2006-12-07 2006-12-07 Method for links configuration and state management using shared memory

Publications (1)

Publication Number Publication Date
KR100772178B1 true KR100772178B1 (en) 2007-11-01

Family

ID=39060463

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060123778A KR100772178B1 (en) 2006-12-07 2006-12-07 Method for links configuration and state management using shared memory

Country Status (1)

Country Link
KR (1) KR100772178B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030002683A (en) * 2001-06-29 2003-01-09 엘지전자 주식회사 System and Method of Managing State Information Using Shared Memory Mapping Table

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030002683A (en) * 2001-06-29 2003-01-09 엘지전자 주식회사 System and Method of Managing State Information Using Shared Memory Mapping Table

Similar Documents

Publication Publication Date Title
US6457050B1 (en) System and method for dynamically restoring communications within a network
US7215970B2 (en) Messaging applications router
EP2102781B1 (en) Highly available cryptographic key storage (hacks)
US7954104B2 (en) Remote copy storage device system and a remote copy method to prevent overload of communication lines in system using a plurality of remote storage sites
CN105933391A (en) Node capacity expansion method, device and system
KR20060048930A (en) Communication system
US8250313B1 (en) Conflict avoidance in data store replication
CN112764956A (en) Database exception handling system, and database exception handling method and device
KR100489849B1 (en) Resource management system and resource management method
GB2284962A (en) Network system
KR100772178B1 (en) Method for links configuration and state management using shared memory
JP4673532B2 (en) Comprehensive alignment process in a multi-manager environment
CN106254445A (en) Message method and service end
JP2007025964A (en) Data location management server and data location management program
KR19980023766A (en) Subscription management device for personal communication service (PCS) and its method
US20060136522A1 (en) Computer system, storage management program call-up method, and storage system
CN104731684A (en) Dynamic document monitoring and protecting system based on drive filtering technology
US10263837B2 (en) Alarm method for multi-mode base station, multi-mode base station, and communication system
US7548965B2 (en) System and method for organizing network management information
CN113515765A (en) Authority management method, device, equipment and storage medium
JP3860587B2 (en) Multiprocessor device
CN116668467A (en) Resource access method and device, cloud hosting system and electronic equipment
KR19990018670A (en) How to manage lower nodes in network management system
KR100950487B1 (en) Network Management System and Operating Method thereof
JP4809438B2 (en) Device management system and device management object management method

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

Payment date: 20121011

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130923

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee