KR100298589B1 - How to Manage Path Change Data in Optical Systems - Google Patents

How to Manage Path Change Data in Optical Systems Download PDF

Info

Publication number
KR100298589B1
KR100298589B1 KR1019980062917A KR19980062917A KR100298589B1 KR 100298589 B1 KR100298589 B1 KR 100298589B1 KR 1019980062917 A KR1019980062917 A KR 1019980062917A KR 19980062917 A KR19980062917 A KR 19980062917A KR 100298589 B1 KR100298589 B1 KR 100298589B1
Authority
KR
South Korea
Prior art keywords
path
data
processing
optical system
judging
Prior art date
Application number
KR1019980062917A
Other languages
Korean (ko)
Other versions
KR20000046240A (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 KR1019980062917A priority Critical patent/KR100298589B1/en
Publication of KR20000046240A publication Critical patent/KR20000046240A/en
Application granted granted Critical
Publication of KR100298589B1 publication Critical patent/KR100298589B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/032Arrangements for fault recovery using working and protection systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • H04B10/0771Fault location on the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • H04B10/275Ring-type networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

본 발명은 광 시스템의 경로 절체 및 경로 데이터 관리 방법에 관한 것으로, 특히 링(Ring)형 광 네트워크(Network)의 경로 설정 데이터를 효율적으로 관리함으로서, 광 시스템의 하드웨어에 미치는 영향을 최소화하고, 최단 시간에 경로를 절체 할 수 있도록 하여, 광시스템의 신뢰성을 확보하는 것에 관한 것이며, 광 시스템의 자동 경로 절체 방법은, 광선로에 장애가 발생하였는지 판단하는 첫 번째 판단 단계와, 상기의 첫 번째 판단 단계에서, 선로 장애가 없을 경우, 경로에 장애가 있는지 판단하는 두 번째 판단 단계와, 상기 두 번째 판단 단계에서, 경로에 장애가 없으면, 상기 첫 번째 판단 단계로 궤환하고, 경로에 장애가 있을 경우, 이전에 수행된 경로에 이상이 없는지 판단하는 세 번째 판단 단계와, 상기 세 번째 판단 단계에서, 이전에 수행하였던 경로에 이상이 없으면, 상기 첫 번째 판단 단계로 궤환하고, 이전에 수행하였던 경로에 이상이 있을 경우, 경로를 절체 하여야 되는 조건인지를 판단하는 네 번째 판단 단계와, 상기 네 번째 판단 단계에서, 경로를 절체 할 조건이 아니면, 상기 첫 번째 판단 단계로 궤환하고, 경로를 절체 할 조건이면, 먼저 입력된 경로 절체 조건부터 먼저 출력하여 처리하도록 하는 요구 큐 메시지를 작성하는 첫 번째 처리 단계와, 상기 첫 번째 처리 단계에 의한 요구 큐 메시지를 처리하는 해당 서브루틴으로 전송 한 후, 상기 첫 번째 판단 단계로 궤환 하는 두 번째 처리 단계로 구성되는 것을 특징으로 하고, 광 시스템의 수동 경로 절체 방법은, 수동 절체 요구가 있는지 판단하는 아홉 번째 판단 단계와, 상기의 아홉 번째 판단 단계에서, 수동 절체 요구가 있으면, 절체를 할 수 있는지 판단하는 열 번째 판단 단계와, 상기의 열 번째 판단 단계에서, 먼저 입력된 절체 요구부터 먼저 출력하여 수행하는 큐 메시지를 작성하는 아홉 번째 판단 단계와, 상기의 아홉 번째 판단 단계에서 작성된 큐 메시지를 처리할 수 있는 서브루틴으로 송부 하는 열 번째 처리 단계와, 상기 열 번째 처리 단계에 의한 절체의 결과가 적합한지 판단하는 열한 번째 판단 단계와, 상기 열한 번째 판단 단계에서 결과가 적합하면, 성공의 보고를 하고 종료하는 열한 번째 처리 단계로 구성되는 것을 특징으로 하고, 광 시스템의 경로 초기화 방법은, 백업 데이터를 로드하는 열세 번째 처리 단계와, 상기의 열세 번째 처리 단계에서 로드된 백업 데이터를 선별 및 선택하는 열네 번째 처리 단계와, 상기의 단계에서 선택된 데이터가 경로를 초기화하기에 적합한지 비교하여 적당하지 않으면, 열세 번째 판단 단계로 진행하는 열두 번째 판단 단계와, 상기의 단계에서 적합한 데이터로 판단되면, 해당 데이터로서, 경로를 초기화하는 열 다섯 번째 처리 단계와, 상기의 단계에서 초기화한 경로가 마지막 경로인지 판단하여 아니면, 상기 열두 번째 판단 단계로 궤환 하는 열세 번째 판단 단계와, 상기의 열세 번째 판단 단계에서, 마지막 경로이면, 메모리에 백업하고 종료 단계로 진행하는 열 여섯 번째 처리 단계로 구성되는 것을 특징으로 한다.The present invention relates to a path switching and path data management method of an optical system. In particular, by efficiently managing the routing data of a ring-type optical network, the effect on the hardware of the optical system is minimized and The present invention relates to ensuring reliability of an optical system by allowing a path to be switched in time, and an automatic path switching method of an optical system includes a first judgment step of determining whether an optical path has failed or a first judgment step. In the second judgment step, if there is no line failure, and in the second judgment step, if there is no obstacle in the path, the second judgment step is returned. The third judging step of judging whether there is no abnormality, and in the third judging step, If there is no abnormality in the path, it returns to the first judgment step, and if there is an error in the previously performed path, a fourth judgment step of determining whether the path should be changed, and the fourth judgment step, If it is not a condition to switch to, the first determination step, and if the condition to switch the path, the first processing step of creating a request queue message to output and process from the input path switching condition first, and the first And a second processing step of returning the request queue message by the first processing step to the corresponding subroutine for processing, and then feeding back to the first determination step. In the ninth judgment step of judging whether there is a request, and in the ninth judgment step, if there is a manual transfer request, In the tenth judging step of judging whether or not a sieve can be performed, in the tenth judging step, in the ninth judging step of writing a queue message to be outputted and performed first from the first transfer request, and in the ninth judging step The tenth processing step of sending the created queue message to a subroutine capable of processing, the eleventh judging step of judging whether the result of the transfer by the tenth processing step is suitable, and the result of the eleventh judging step, And an eleventh processing step of reporting success and reporting of success, wherein the optical system path initialization method includes a thirteenth processing step of loading backup data and a backup data loaded in the thirteenth processing step. A fourteenth processing step of screening and selecting the data; If it is not appropriate to compare to the first, the twelfth judgment step proceeds to the thirteenth judgment step, and if it is determined that the appropriate data in the above step, the fifteenth processing step of initializing the path as the corresponding data, and the above step In the thirteenth judging step of returning to the twelfth judging step, or in the thirteenth judging step, if it is the last path, the sixteenth step of backing up to memory and proceeding to the end step is determined. It is characterized by consisting of processing steps.

Description

광 시스템의 경로 절체 및 데이터 관리 방법Path Changes and Data Management Methods in Optical Systems

본 발명은 광 시스템의 경로 절체 및 경로 데이터 관리 방법에 관한 것으로, 특히 링(Ring)형 광 네트워크(Network)의 경로 설정 데이터를 효율적으로 관리함으로서, 광 시스템의 하드웨어에 미치는 영향을 최소화하고, 최단 시간에 경로를 절체 할 수 있도록 하여, 광 시스템의 신뢰성을 확보하는 것에 관한 것이다.The present invention relates to a path switching and path data management method of an optical system. In particular, by efficiently managing the routing data of a ring-type optical network, the effect on the hardware of the optical system is minimized and It is about ensuring the reliability of the optical system by allowing the path to be switched in time.

광 시스템은 사용 주파수 대역이 넓으므로, 많은 통신 채널을 동시에 수용할 수 있고, 데이터 신호의 전송에 적은 전력이 소요되며, 한 번에 전송할 수 있는 거리가 길며, 통신 케이블의 굵기 등 크기를 줄일 수 있고, 데이터 전송 속도의 초고속 화가 가능한 등의 장점이 있는 광 케이블을 광신호 전송 선로를 사용하는 것으로서, 하나의 광 케이블에 많은 수의 가입자 채널을 전송 할 수 있음으로 인하여, 상기 광 케이블에 장애가 발생하게 되면 일시에 많은 가입자들이 통신을 할 수 없게 됨으로 인한 통신 장애가 발생하게 된다.Since the optical system has a wide frequency band, it can accommodate many communication channels at the same time, requires less power to transmit data signals, has a long distance to transmit at a time, and reduces the size of the communication cable. And using an optical signal transmission line for an optical cable having an advantage such as an extremely high speed of data transmission rate, and because a large number of subscriber channels can be transmitted to one optical cable, a failure occurs in the optical cable. This causes communication failure due to the inability of many subscribers to communicate at one time.

이러한 광 시스템의 망(Network) 구성에서, 특히, 링 네트워크(Ring Network) 구성에서, 원격지에 위치한 국사의 광 시스템에서 발생할 수 있는 회선 장애에 대비하여, 에비 회선을 구축하고, 필요시에 회선 절체 및 데이터 전송 경로의 절체인 채널 절체를 하게 된다.In the network configuration of such an optical system, in particular, in a ring network configuration, in the case of a line failure that may occur in an optical system of a remote office located in a remote location, an EBI circuit is established and, when necessary, a circuit switching is performed. And channel switching, which is a switching of the data transmission path.

이와 같은 광선로의 경로 절체에 있어서, 특히, 링형 네트워크에서의 경로 절체를 최단 시간에 이루어지게 하고, 또한, 광 시스템의 운용에 따른 데이터를 효율적으로 관리함으로서, 광 시스템의 운용을 최적화 하여, 하드웨어(Hard Ware)에 의한 영향을 최소화하도록 한다.In the path switching of the optical path, in particular, the path switching in the ring network is performed in the shortest time, and the data system can be efficiently managed to optimize the operation of the optical system, Minimize the influence of Hard Ware.

이하, 첨부된 도면을 참조하여 종래의 기술에 의한 광 시스템에서의 경로 절체 및 데이터 관리 방법을 설명한다.Hereinafter, a path switching and data management method in an optical system according to the related art will be described with reference to the accompanying drawings.

도1 은 종래의 방법에 의한 광 시스템에서의 경로 자동 절체 수행 방법의 순서도 이고, 도2 는 종래의 방법에 의한 광 시스템에서의 경로 수동 절체 수행 방법의 순서도 이고, 도3 은 종래의 방법에 의한 광 시스템에서의 경로 초기화 방법의 순서도 이다.1 is a flowchart of a method for performing automatic path switching in an optical system according to a conventional method, and FIG. 2 is a flowchart of a method for performing manual path switching in an optical system according to a conventional method. This is a flowchart of a path initialization method in an optical system.

도1 에 도시된 것과 같이 광 시스템에서의 광선로 또는 광신호 전송 채널에 장애가 발생되어 종래의 기술에 의한 경로 자동 절체 방법은, 현재 운용 중인 광선로에 장애가 발생하였는지 판단하는 제1 판단 단계(S11)와,As shown in FIG. 1, a failure occurs in an optical path or an optical signal transmission channel in the optical system, and according to the prior art, the automatic path switching method according to the related art includes a first determination step S11 of determining whether a failure occurs in an optical path in operation. Wow,

상기의 제1 판단 단계(S11)에서 장애가 발생되지 않은 경우는 상기 제1 판단 단계(S11)로 궤환하고, 장애가 발생된 경우에 경로가 자동 절체 되었는지 판단하는 제2 판단 단계(S12)와,A second determination step (S12) of returning to the first determination step (S11) when the failure has not occurred in the first determination step (S11), and determining whether the path is automatically switched when the failure occurs;

상기 제2 판단 단계(S12)에서 경로의 절체가 가능하지 않으면, 상기 제1 판단 단계(S11)로 궤환하고, 경로의 자동 절체가 가능하면, 여러 가지의 경로 절체 조건 중, 가장 적절한 경로로 자동 절체 되도록 조건을 확인하는 제1 처리 단계(S13)와,If switching of the path is not possible in the second determination step (S12), it is fed back to the first determination step (S11), and if automatic switching of the path is possible, the automatic switching to the most suitable path among the various path switching conditions is performed. A first processing step (S13) for checking a condition to be transferred;

상기 제1 처리 단계(S13)에서 결정된 경로 절체 조건을 이용하여 경로의 절체를 수행하는 제2 처리 단계(S14)와,A second processing step S14 for performing the transfer of the path using the path switching condition determined in the first processing step S13,

상기 제2 처리 단계(S14)에 의하여, 변경된 경로의 상태 데이터를 절체된 광 경로(또는 채널)에 관련된 모든 소프트웨어(Soft Wear) 작업인 다른 타스크(Task)에 보고 한 후, 상기 제1 판단 단계(S11)로 궤환 하는 제3 처리 단계(S15)로 구성된다.In the second processing step S14, after reporting the changed state data of the changed path to another task which is all of the Soft Wear tasks related to the transferred optical path (or channel), the first determination step It consists of a 3rd process step S15 which returns to S11.

따라서, 광선로를 이용한 광 시스템의 통신 경로 또는 채널에 장애가 발생하였을 경우, 최적의 경로 절체 조건을 결정하고, 경로의 자동 절체를 수행 한 후, 해당 경로를 이용하는 모든 다른 타스크(Task)에 변경된 경로에 대한 상태 데이터를 통보 또는 보고함으로서, 광 시스템은 바뀐 경로를 이용하여, 통신을 하게 되고, 다시, 경로에 이상이 있는지 판단하는 무한 루프(Infinite Loop)를 수행한다.Therefore, if there is a failure in the communication path or channel of the optical system using the optical path, the optimal path switching condition is determined, the automatic switching of the path is performed, and then the path changed to all other tasks using the path. By notifying or reporting status data for the optical system, the optical system communicates using the changed path, and again, performs an infinite loop to determine whether there is an error in the path.

도2 에서 볼 수 있듯이 종래의 기술에 의한 경로의 수동 절체는 광 시스템 운용자에 의한 유지 보수 및 점검 등 운용자의 요구에 의하여, 수행하는 것으로서, 수동 절체의 요구가 있는지 판단하는 제3 판단 단계(S21)와,As can be seen in Figure 2, the manual switching of the path according to the prior art is performed by the operator's request, such as maintenance and inspection by the optical system operator, to determine whether there is a manual switching request (S21). )Wow,

상기의 제3 판단 단계(S21)에서 수동 절체의 요구가 없을 경우는 실패(Fail) 메시지를 운용자에게 보고하고, 종료하는 제6 처리 단계(S26)로 진행한다.If there is no request for manual transfer in the third determination step (S21), a failure message is reported to the operator, and the process proceeds to a sixth processing step (S26).

그러나, 광 시스템 운용자에 의한 수동 절체의 요구가 있을 경우, 경로의 절체가 가능한지 판단하는 제4 판단 단계(S22)로 진행한다.However, if there is a request for manual switching by the optical system operator, the process proceeds to a fourth determination step S22 in which it is possible to determine whether switching of the path is possible.

상기의 제4 판단 단계(S22)에서 절체 할 경로가 없거나, 다른 경로에 모두 장애가 발생하는 등의 원인에 의하여, 경로 절체가 불가능하다고 판단되면, 상기의 제6 처리 단계(S26)로 진행하여, 실패 메시지를 보고하고, 종료한다.If it is determined in the fourth determination step S22 that there is no path to be transferred or if a path is impossible due to a failure in all other paths, the process proceeds to the sixth processing step S26. Report a failure message and exit.

그러나, 상기의 제4 판단 단계(S22)에 의하여, 경로의 절체가 가능하다고 판단되면, 경로 절체를 수행하는 제4 처리 단계(S23)로 진행한다.However, if it is determined by the fourth determination step S22 that the path is changeable, the process proceeds to a fourth processing step S23 for performing path switching.

상기의 제4 처리 단계(S23)에 의한 경로의 절체가 잘 수행되었는지 판단하는 제5 판단 단계(S24)와,A fifth determination step S24 of determining whether the transfer of the path by the fourth processing step S23 is performed well;

상기의 제5 판단 단계(S24)에서, 절체된 경로의 상태 데이터 결과가 기대치 이하인 경우는 상기 제6 처리 단계(S26)로 진행하여, 실패 결과 보고를 하고, 종료한다.In the fifth determination step (S24), if the state data result of the switched path is less than the expected value, the process proceeds to the sixth processing step (S26), reports a failure result, and ends.

그러나, 상기의 제5 판단 단계(S24)에서 판단 결과, 절체된 경로의 데이터가 기대치와 일치할 경우, 제5 처리 단계(S25)로 진행하여, 성공하였다는 보고와 함께 운용자의 요구에 의한 수동 경로 절체를 종료를 하게 된다.However, if the determination result in the fifth determination step (S24), the data of the transferred route is in accordance with the expected value, the process proceeds to the fifth processing step (S25), with a report of success and manual by the operator's request Path switching is terminated.

따라서, 광 시스템 운용자는 망(Net Wrok)을 유지 보수하면서, 상태가 나쁜 경로 또는 운용을 위하여, 경로를 절체 할 필요가 있을 경우, 경로 절체를 할 수 있으며, 수동 경로 절체에 의한 결과를 보고 받게 된다.Therefore, the optical system operator can maintain the Net Wrok and change the route if there is a need to change the route for bad path or operation, and receive the result of the manual route change. do.

도3 에서 볼 수 있듯이 종래의 기술에 의한 광 시스템의 경로 초기화 과정은, 메모리 장치, 특히, EEPROM으로 이루어진 메모리 장치에 기록된 여러 가지의 백업 데이터(Back Data)로부터 경로 데이터를 읽어 들이는 제7 처리 단계(S31)와, 상기의 제7 처리 단계(S31)로부터 읽어 들인(Load) 백업 데이터로부터, 가장 적절한 경로 데이터를 선별 및 선택하는 제8 처리 단계(S32)와,As shown in FIG. 3, the path initialization process of the optical system according to the related art includes a seventh step of reading path data from various backup data recorded in a memory device, in particular, a memory device consisting of an EEPROM. An eighth processing step S32 for selecting and selecting the most appropriate route data from the processing step S31 and the backup data loaded from the seventh processing step S31;

상기의 제8 처리 단계(S32)로부터 선택된 최적의 경로 데이터를 이용하여, 경로를 재 설정하는 즉, 초기화하는 제9 처리 단계(S33)와,A ninth processing step S33 for resetting, i.e., resetting, the path using the optimal path data selected from the eighth processing step S32;

상기의 제9 처리 단계(S33)에 의하여 초기화된 경로의 데이터를 EEPROM 메모리에 백업(Back Up)용으로 기록하는 제10 처리 단계(S34)와,A tenth processing step S34 for recording data of the path initialized by the ninth processing step S33 in the EEPROM memory for backup;

상기의 제10 처리 단계(S34)까지 초기화하고, 백업된 경로가 광 시스템의 해당 망(Net Work)에 모든 경로 중, 마지막 경로인가를 판단하는 제6 판단 단계(S35)와,A sixth determination step S35 for initializing until the tenth processing step S34 and determining whether the backed up path is the last of all paths in the corresponding network of the optical system;

상기의 제6 판단 단계(S35)에서, 아직 초기화하지 않은 경로가 있을 경우, 상기 제9 처리 단계(S33)로 궤환 하여, 초기화 및 해당 데이터를 백업하는 과정을 반복하고, 다시 상기 제6 판단 단계(S35)에서 판단하여, 모든 경로를 초기화하고, 해당 데이터를 백업하였으면, 종료 단계로 진행한다.In the sixth determination step (S35), if there is a path not yet initialized, the process returns to the ninth processing step (S33), repeats the initialization and backup of the corresponding data, and again, the sixth determination step If it is determined in S35 that all the paths are initialized and the corresponding data is backed up, the process proceeds to the end step.

따라서, 광 시스템의 모든 경로를 백업된 데이터와 비교하여, 초기화 이전에 운영하였던 상태와 가장 근접한 환경의 새로운 경로로서, 초기화시키고, 해당 데이터를 EEPROM 하드웨어에 백업하게 된다.Therefore, all paths of the optical system are compared with the backed up data, and are initialized as new paths in the environment closest to the state operated before the initialization, and the data is backed up to the EEPROM hardware.

이하, 상기와 같은 구성에 의한 종래 기술의 경로 절체 및 데이터 관리 방법의 작용을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the operation of the path switching and data management method of the related art by the above configuration will be described in detail with reference to the accompanying drawings.

광 시스템의 경로 절체는 도1과 같이 시스템의 광선로 또는 데이터 경로에 발생하는 장애를 자동 검출하여 경로의 절체를 자동으로 수행하고, 도2와 같이 시스템 운용자에 의하여 수동으로 경로 절체를 수행하고, 도3과 같이 시스템 초기화 시에 백업된 경로 설정 데이터를 로드(Load)하여, 시스템을 초기화하는 것으로 구분된다.Path switching of the optical system automatically detects a failure occurring in the optical path or data path of the system as shown in FIG. 1 and automatically performs the path switching, and manually performs a path switching by the system operator as shown in FIG. As shown in FIG. 3, the path setting data backed up at the time of system initialization is loaded to initialize the system.

시스템을 처음 시작하게 되면, 경로 설정 데이터들은 S31 단계에서 모두 읽혀진다. S32 단계에서 이렇게 읽어 들여진 데이터들 중에서 그 내용이 서로 일치하는 데이터를 찾는다. 이때, 일치하는 데이터를 찾을 수 없으면, 프로세서가 마지막으로 백업한 메모리의 데이터를 선택한다. 이렇게 선택된 데이터들로 시스템의 데이터 경로가 각각 초기화되고, 초기화 된 각 경로의 데이터는 EEPROM의 하드웨어에 백업된다. 이러한 방법으로 모든 경로에 대한 초기화가 이루어진다.When the system is first started, all routing data is read in step S31. In step S32, among the data read in this way, find the data whose contents match each other. If no matching data is found, the processor selects the data in the memory backed up last. The data path of the system is initialized with the selected data, and the data of each initialized path is backed up to the hardware of EEPROM. In this way, all paths are initialized.

상기와 같이 초기화가 이루어진 광 시스템은 운용 상태에서 광선로 및 데이터 경로에 장애가 발생하여 데이터 경로가 자동으로 경로 절체를 수행하여야 하는 경우가 발생하게 된다. 운용 중인 네트워크 선로 상에서 잡음이 발생하거나, 또는 원격 시스템의 회로 이상이나 광선로의 단절로 인하여 장애가 발생하면, 시스템은 이러한 장애를 자동으로 감지한다. 이때, S11 단계에서 광선로 및 데이터 경로에 장애가 발생했는지를 판단한다. 여기에서 장애가 있다고 판단될 경우에는 다음 S12 단계에서 현재 장애가 발생한 경로에 대하여 경로 절체가 가능한지를 판단하게 된다. 이 때 경로 절체가 불가능할 경우에는 절체를 수행하지 않는다. 경로 절체가 가능할 경우에는 S13 단계에서 경로 절체 조건을 결정한 후, S14 단계에서 경로 절체를 수행한다. 이렇게 경로 절체를 수행하여 다른 경로에서 데이터를 수신하는 상태의 변화를 다른 소프트웨어 타스크로 알려주기 위하여 서브루틴들을 호출한다.The optical system initialized as described above may cause a failure of the optical path and the data path in the operating state, so that the data path should automatically perform the path switching. If a noise occurs on an active network line, or if a failure occurs due to a circuit failure or disconnection of a remote system, the system automatically detects this failure. At this time, it is determined whether a failure occurs in the optical path and the data path in step S11. If it is determined that there is a failure in the next step S12 it is determined whether the path switching is possible for the path where the current failure occurs. At this time, if path switching is impossible, no switching is performed. If path switching is possible, the path switching condition is determined in step S13, and then path switching is performed in step S14. In this way, subroutines are called to inform other software tasks of the change of state that receives data from other paths.

시스템에 장애가 발생하지 않을 경우, 운용자가 시스템을 증설하거나, 또는 하드웨어의 수리를 위하여 한쪽 광선로를 끊어야 할 경우에 운용자는 수동 경로 절체를 수행하게 된다. 이 경우에 운용자는 수동 경로 절체를 요구하게 되고, S21 단계에서 수동 절체 요구를 판단하게 된다. 수동 절체 요구가 있을 경우에는 S22 단계에서 현재의 경로 상태에서 수동 절체가 가능한지를 판단하게 된다. 수동 절체 요구에 오류가 있었거나, 절체가 불가능할 경우에는 S26 단계에서 오류에 의한 종료 및 보고를 하게 되고, 경로 절체가 가능할 경우에는 S23 단계에서 경로 절체를 수행한다. 경로 절체를 수행한 이후에는 수행한 경로 절체가 올바르게 이루어졌는지 확인하기 위해서 S24 단계에서 경로 절체 결과를 판단한다. 이때 기대한 결과치와 일치하면 S25 단계에서 정상 종료하고 그렇지 않을 경우에는 S26 단계에서 오류 종료한다.If the system does not fail, the operator performs manual path switching when the operator adds the system or breaks one side of the line to repair the hardware. In this case, the operator requests manual path switching, and determines the manual switching request in step S21. If there is a manual transfer request, it is determined whether manual transfer is possible in the current path state in step S22. If there is an error in the manual transfer request or if the transfer is impossible, the terminal ends and reports the error in step S26. If the transfer is possible, the path transfer is performed in step S23. After the path switching is performed, the path switching result is determined in step S24 to check whether the path switching is performed correctly. At this time, if it matches the expected result, it terminates normally in step S25, otherwise it ends in error S26.

이러한 종래의 기술에서는 초기화 시, S32 단계 이후 로드 한 경로 백업 데이터를 현재의 시스템의 상태와 비교하지 않기 때문에, 시스템의 백업 데이터가 정상적이지 않을 경우, 일시적인 서비스의 장애를 초래할 수 있으며, 각 경로 초기화를 수행할 때마다, S35 단계에서 EEPROM에 백업하기 때문에, 백업 메모리의 수명을 단축시킬 수가 있다. 데이터 경로에 장애가 발생하거나 광선로에 장애가 발생하여 자동 경로 절체를 수행할 경우에는 먼저 전체 과정이 일정한 시간 간격으로 무한 루프(Infinite Loop)를 수행하기 때문에, 전체 프로세스를 빠르게 수행시키기 어려우며, 모든 장애에 대하여 검출하는 루프의 순서대로 경로 절체가 수행되기 때문에, 긴급한 장애가 발생하였을 경우에 대비할 수 없으며, 어떠한 장애이던 현재의 루프가 처리해야 할 경로의 순서가 될 때까지 처리 순서를 기다려야만 하며, 하나의 순차적인 구조에서 수행 시간이 오래 걸리는 서브루틴을 호출하게 되어 있으므로(S15), 전체적인 경로 절체의 시간이 지연됨으로 인한 서비스의 장애가 발생하거나 잡음이 발생할 수 있다. 더군다나 다른 소프트웨어 타스크들이 경로 자동 절체를 수행하는 타스크의 우선 순위보다 높을 경우에는 빠른 시간 안에 경로 절체를 수행하기는 어려우며, 이 문제를 해결하기 위해서는 경로 절체 타스크의 실행 우선 순위를 다른 타스크보다 항상 높게 해주어야 하므로, 전체적인 소프트웨어의 구조에 악영향을 미치게 되고, 운용자가 수동 절체를 요구하는 과정에 있어서도, 그 수행이 경로에 장애가 발생하여 수행되는 자동 절체와 상충될 수 있기 때문에, 실제 경로의 절체가 수행되지 않는 문제가 있었다.In this conventional technique, since the path backup data loaded after the S32 step is not compared with the state of the current system at the time of initialization, if the backup data of the system is not normal, a temporary service failure may occur. Each time is performed, the backup memory is backed up to the EEPROM in step S35, thereby reducing the life of the backup memory. In case of automatic path switching because of failure of data path or failure of optical path, it is difficult to execute the entire process quickly because the entire process first performs infinite loop at regular time intervals. Because path switching is performed in the order of loops to detect, it is not possible to prepare for an emergency failure, and must wait for the processing sequence until the current loop becomes a sequence of paths to deal with. Since a subroutine that takes a long time to be executed in the structure is called (S15), a service failure or noise may occur due to a delay of the overall path switching time. Furthermore, if other software tasks are higher than the priority of the task that performs automatic path switching, it is difficult to perform the path switching in a short time. To solve this problem, the priority of the path switching task should always be higher than that of other tasks. Therefore, the overall software structure is adversely affected, and even in the process of requiring manual switching by the operator, since the execution may conflict with automatic switching performed due to a failure of the path, the actual switching of the path is not performed. There was a problem.

본 발명은 상기의 종래 기술과 같이, 초기화시 하드웨어의 접근을 자주 하여 하드웨어(EEPROM)의 수명을 단축시키는 것을 배제하도록 하고, 로드한 데이터를 시스템의 현재 상태와 비교하여 시스템의 초기화를 최적화하며, 광선로와 데이터 경로에 장애가 발생하여 자동 절체를 수행하여야 하는 과정에서 긴급한 장애에 대한 자동 절체를 신속하게 처리하지 못하는 것을 보완하며, 경로 절체 수행 시간을 최소화하여 서비스의 단속 시간을 최소화하도록 하며, 경로 절체의 주체를 하나로 통일하여 경로 절체의 신뢰성을 높이는데 그 목적이 있다.The present invention, like the prior art described above, excludes shortening the life of hardware (EEPROM) by frequently accessing the hardware during initialization, and optimizes the initialization of the system by comparing the loaded data with the current state of the system, Compensation for failing to automatically handle automatic transfer of emergency failure in the process of automatic transfer due to the failure of the optical path and data path, minimize service interruption time by minimizing route transfer time, and route transfer Its purpose is to increase the reliability of the path switching by unifying the subjects into one.

도1 은 종래의 방법에 의한 광 시스템에서의 경로 자동 절체 수행 방법의 순서도 이고,1 is a flowchart of a method for performing automatic path switching in an optical system according to a conventional method;

도2 는 종래의 방법에 의한 광 시스템에서의 경로 수동 절체 수행 방법의 순서도 이고,2 is a flowchart of a method for manually performing path switching in an optical system according to a conventional method;

도3 은 종래의 방법에 의한 광시스템에서의 경로 초기화 방법의 순서도이고,3 is a flowchart of a path initialization method in an optical system according to a conventional method,

도4a 는 본 발명에 의한 광시스템의 경로 자동절체 요구 방법의 순서도이고,4A is a flowchart of a method for automatically switching a path of an optical system according to the present invention;

도4b 는 본 발명에 의한 광시스템의 경로 자동절체 수행 방법의 순서도이고,4b is a flowchart of a method for performing automatic path switching in an optical system according to the present invention;

도4c 는 본 발명에 의한 광시스템의 경로 자동절체 보고 방법의 순서도이고,4c is a flowchart of a method for automatically reporting a path change in an optical system according to the present invention;

도5 는 본 발명에 의한 광시스템의 경로 수동 절체 수행 방법의 순서도이고,5 is a flowchart of a method for manually performing path switching in an optical system according to the present invention;

도6 은 본 발명에 의한 광 시스템의 경로 초기화 방법의 순서도 이다.6 is a flowchart of a path initialization method of an optical system according to the present invention.

상기한 목적을 달성하기 위하여 안출한 본 발명은, 경로의 절체를 수행하는데 있어서, 수행 시간을 단축하고, 일정한 절체 시간을 보장하기 위하여, LIFO(Last In First Out)와 FIFO(First In First Out)를 사용하여, 우선 순위대로 처리하게 하였으며, 경보를 검출하는 과정도, 광선로와 경로의 순서로 나누어 우선 순위에 따라, 수행될 수 있게 하고, 우선 순위가 높은 타스크와의 동시 수행을 최대한 배제하여, 우선적으로 경로의 절체를 수행할 수 있도록 하고, 또한, 경로 설정 데이터를 관리하는데 있어서, 서비스와 직접 관련되는 경로의 설정 상태를 최대한 광 시스템의 구성 상태와 시스템 운용 상태에 반영하여 관리함으로서, 정확한 경로를 설정할 수 있게 하는 것으로서, 광 시스템의 자동 경로 절체 방법은, 광선로에 장애가 발생하였는지 판단하는 첫 번째 판단 단계와, 상기의 첫 번째 판단 단계에서, 선로 장애가 없을 경우, 경로에 장애가 있는지 판단하는 두 번째 판단 단계와, 상기 두 번째 판단 단계에서, 경로에 장애가 없으면, 상기 첫 번째 판단 단계로 궤환하고, 경로에 장애가 있을 경우, 이전에 수행된 경로에 이상이 없는지 판단하는 세 번째 판단 단계와, 상기 세 번째 판단 단계에서, 이전에 수행하였던 경로에 이상이 없으면, 상기 첫 번째 판단 단계로 궤환하고, 이전에 수행하였던 경로에 이상이 있을 경우, 경로를 절체 하여야 되는 조건인지를 판단하는 네 번째 판단 단계와, 상기 네 번째 판단 단계에서, 경로를 절체 할 조건이 아니면, 상기 첫 번째 판단 단계로 궤환하고, 경로를 절체 할 조건이면, 먼저 입력된 경로 절체 조건부터 먼저 출력하여 처리하도록 하는 요구 큐 메시지를 작성하는 첫 번째 처리 단계와, 상기 첫 번째 처리 단계에 의한 요구 큐 메시지를 처리하는 해당 서브루틴으로 전송 한 후, 상기 첫 번째 판단 단계로 궤환 하는 두 번째 처리 단계로 구성되는 것을 특징으로 하고,The present invention devised to achieve the above object, in performing the transfer of the path, in order to shorten the execution time and ensure a constant transfer time, LIFO (Last In First Out) and FIFO (First In First Out) , The process of detecting an alarm can be performed according to the priority by dividing the order of the optical path and the path, and excluding the simultaneous execution with the high priority task as much as possible, First of all, the path switching can be performed first, and in managing the path setting data, the path setting directly related to the service is managed by reflecting the configuration state of the optical system and the system operation state as much as possible. The automatic path switching method of the optical system is to determine whether the optical path has failed. In the first judging step, if there is no line disturbance, a second judging step of judging whether there is an obstacle in the path, and in the second judging step, if there is no obstacle in the path, returns to the first judging step, If there is an obstacle in the third judgment step of determining whether there is no abnormality in the previously performed path, and if there is no problem in the previously performed path in the third judgment step, it is fed back to the first judgment step, and If there is an abnormality in the path that was performed, the fourth judgment step of determining whether the path should be changed, and in the fourth judgment step, return to the first judgment step if the path is not a condition to be transferred. Is the condition to switch to, the first to create a request queue message that outputs and processes the path input condition first. And a second processing step of transmitting the request queue message according to the first processing step to a corresponding subroutine for processing, and then feeding back to the first determination step.

광 시스템의 수동 경로 절체 방법은, 수동 절체 요구가 있는지 판단하는 아홉 번째 판단 단계와, 상기의 아홉 번째 판단 단계에서, 수동 절체 요구가 있으면, 절체를 할 수 있는지 판단하는 열 번째 판단 단계와, 상기의 열 번째 판단 단계에서, 먼저 입력된 절체 요구부터 먼저 출력하여 수행하는 큐 메시지를 작성하는 아홉 번째 판단 단계와, 상기의 아홉 번째 판단 단계에서 작성된 큐 메시지를 처리할 수 있는 서브루틴으로 송부 하는 열 번째 처리 단계와, 상기 열 번째 처리 단계에 의한 절체의 결과가 적합한지 판단하는 열한 번째 판단 단계와, 상기 열한 번째 판단 단계에서 결과가 적합하면, 성공의 보고를 하고 종료하는 열한 번째 처리 단계로 구성되는 것을 특징으로 하고,In the passive path switching method of the optical system, the ninth determination step of determining whether there is a manual transfer request, the tenth determination step of determining whether the transfer can be performed if there is a manual transfer request in the ninth determination step, and In the tenth judging step of, the ninth judging step of creating a queue message to be outputted and performed first from the first transfer request, and a column for sending the queue message created in the ninth judging step to a subroutine capable of processing An eleventh determination step for determining whether the result of the transfer by the tenth processing step is suitable, and an eleventh processing step for reporting success and ending if the result is suitable in the eleventh determination step. Characterized in that

광 시스템의 경로 초기화 방법은, 백업 데이터를 로드하는 열세 번째 처리 단계와, 상기의 열세 번째 처리 단계에서 로드된 백업 데이터를 선별 및 선택하는 열네 번째 처리 단계와, 상기의 단계에서 선택된 데이터가 경로를 초기화하기에 적합한지 비교하여 적당하지 않으면, 열세 번째 판단 단계로 진행하는 열두 번째 판단 단계와, 상기의 단계에서 적합한 데이터로 판단되면, 해당 데이터로서, 경로를 초기화하는 열 다섯 번째 처리 단계와, 상기의 단계에서 초기화한 경로가 마지막 경로인지 판단하여 아니면, 상기 열두 번째 판단 단계로 궤환 하는 열세 번째 판단 단계와, 상기의 열세 번째 판단 단계에서, 마지막 경로이면, 메모리에 백업하고 종료 단계로 진행하는 열 여섯 번째 처리 단계로 구성되는 것을 특징으로 한다.A path initialization method of an optical system includes: a thirteenth processing step of loading backup data, a fourteenth processing step of selecting and selecting backup data loaded in the thirteenth processing step, and the data selected in the step If not suitable for initializing, if it is not suitable, the twelfth judgment step proceeds to the thirteenth judgment step, and if it is determined that the data is suitable in the above step, the fifteenth processing step of initializing the path as the corresponding data; In the step 13, if it is determined whether the path initialized is the last path, or the thirteenth judgment step of returning to the twelfth judgment step, and if the last path in the thirteenth judgment step, the row is backed up to the memory and proceeds to the end step. It is characterized by consisting of a sixth processing step.

이하, 첨부된 도면을 참조하여 본 발명의 광 시스템의 경로 절체 및 데이터 관리 방법을 설명한다.Hereinafter, with reference to the accompanying drawings will be described a path switching and data management method of the optical system of the present invention.

도4a 는 본 발명에 의한 광 시스템의 경로 자동 절체 요구 방법의 순서도 이고, 도4b 는 본 발명에 의한 광 시스템의 경로 자동 절체 수행 방법의 순서도 이고, 도4c 는 본 발명에 의한 광 시스템의 경로 자동 절체보고 방법의 순서도 이고, 도5 는 본 발명에 의한 광 시스템의 경로 수동 절체 수행 방법의 순서도 이고, 도6 은 본 발명에 의한 광 시스템의 경로 초기화 방법의 순서도 이다.Figure 4a is a flow chart of the automatic path switching request method of the optical system according to the present invention, Figure 4b is a flow chart of the automatic path switching method of the optical system according to the present invention, Figure 4c is a path automatic of the optical system according to the present invention FIG. 5 is a flowchart of a method for performing manual path switching of an optical system according to the present invention, and FIG. 6 is a flowchart of a path initialization method of an optical system according to the present invention.

광 시스템의 경로 절체 방법에 있어서, 자동 경로 절체 방법은 광선로에 장애가 발생하였는지 판단하는 첫 번째 판단 단계(S41)와,In the path switching method of the optical system, the automatic path switching method is the first determination step (S41) of determining whether the failure of the optical path;

상기 첫 번째 판단 단계(S41)에서 선로에 장애가 있을 경우, 선로를 절체 하여야 되는 조건인지를 판단하는 다섯 번째 판단 단계(S43)와,A fifth judgment step (S43) of determining whether a condition is required to transfer the track when there is an obstacle in the first judgment step (S41);

상기의 다섯 번째 판단 단계(S43)에서, 선로를 절체 하여야 하는 조건이면, 상기 두 번째 판단 단계(S42)로 궤환하고, 선로를 절체 하여야 하는 경우, 마지막 입력된 경로 절체 조건부터 먼저 출력하여 처리하도록 하는 요구 큐 메시지를 작성하는 세 번째 처리 단계(S45)와,In the fifth determination step (S43), if the line is to be switched condition, the second judgment step (S42), and if the line is to be switched, the last input path switching condition to output first to process A third processing step (S45) for creating a request queue message,

상기의 세 번째 처리 단계(S45)에서 작성된 요구 큐 메시지를 처리하는 해당 서브루틴으로 전송 한 후, 상기 첫 번째 판단 단계(S41)로 궤환 하는 네 번째 처리 단계(S47)와,A fourth processing step S47 for transmitting the request queue message created in the third processing step S45 to the corresponding subroutine for processing, and then feeding back to the first judging step S41;

상기의 첫 번째 판단 단계(S41)에서, 선로 장애가 없을 경우, 경로에 장애가 있는지 판단하는 두 번째 판단 단계(S42)와,In the first determination step (S41), when there is no line failure, the second determination step (S42) for determining whether there is a failure in the path,

상기 두 번째 판단 단계(S42)에서, 경로에 장애가 없으면, 상기 첫 번째 판단 단계(S41)로 궤환하고, 경로에 장애가 있을 경우, 이전에 수행된 경로에 이상이 없는지 판단하는 세 번째 판단 단계(S44)와,In the second determination step (S42), if there is no obstacle in the path, it is fed back to the first determination step (S41), and if there is a failure in the path, the third determination step (S44) to determine whether there is no problem in the previously performed path. )Wow,

상기 세 번째 판단 단계(S44)에서, 이전에 수행하였던 경로에 이상이 없으면, 상기 첫 번째 판단 단계(S41)로 궤환하고, 이전에 수행하였던 경로에 이상이 있을 경우, 경로를 절체 하여야 되는 조건인지를 판단하는 네 번째 판단 단계(S46)와,In the third determination step (S44), if there is no problem in the previously performed path, it is returned to the first decision step (S41), and if there is an error in the previously performed path, whether the path should be changed. A fourth judgment step (S46) of judging

상기 네 번째 판단 단계(S46)에서, 경로를 절체 할 조건이 아니면, 상기 첫 번째 판단 단계(S41)로 궤환하고, 경로를 절체 할 조건이면, 먼저 입력된 경로 절체 조건부터 먼저 출력하여 처리하도록 하는 요구 큐 메시지를 작성하는 첫 번째 처리 단계(S48)와,In the fourth determination step (S46), if it is not a condition to change the path, it is fed back to the first determination step (S41), and if the condition to change the path, first outputting and processing from the first path switching condition inputted first The first processing step of creating a request queue message (S48),

상기 첫 번째 처리 단계(S48)에 의한 요구 큐 메시지를 처리하는 해당 서브루틴으로 전송 한 후, 상기 첫 번째 판단 단계(S41)로 궤환 하는 두 번째 처리 단계(S49)로 구성되고,And a second processing step (S49) for returning to the first determination step (S41) after transmitting the request queue message by the first processing step (S48) to the corresponding subroutine,

상기 두 번째 처리 단계(S49)와 네 번째 처리 단계(S47)의 요구 큐 메시지를 처리하는 서브루틴은, 요구 큐 메시지가 도착하였는지 판단하는 여섯 번째 판단 단계(S410)와,Subroutine for processing the request queue message of the second processing step (S49) and the fourth processing step (S47), the sixth determination step (S410) for determining whether the request queue message has arrived;

상기의 여섯 번째 판단 단계(S410)에서, 요구 큐 메시지가 도착하지 않았으면, 상기 여섯 번째 판단 단계(S410)로 궤환하고, 요구 큐 메시지가 도착하였으면, 요구 큐 메시지를 실행할 것인지 판단하는 일곱 번째 판단 단계(S411)와,In the sixth judging step (S410), if the request queue message has not arrived, return to the sixth judging step (S410), and if the request queue message has arrived, the seventh judging to determine whether to execute the request queue message. Step S411,

상기의 일곱 번째 판단 단계(S411)에서, 실행하지 않는 메시지로 판단되면, 상기 여섯 번째 판단 단계(S410)로 궤환하고, 실행할 메시지로 판단되면, 경로의 절체를 수행하는 다섯 번째 처리 단계(S412)와,In the seventh determination step (S411), if it is determined that the message does not execute, return to the sixth determination step (S410), and if it is determined that the message to be executed, the fifth processing step (S412) for performing the transfer of the path Wow,

상기 다섯 번째 처리 단계(S412)에 의한 경로 절체 데이터를 해당 경로를 이용하는 다른 타스크에 통보할 큐 메시지를 작성하는 여섯 번째 처리 단계(S413)와,A sixth processing step (S413) of creating a queue message for notifying other tasks using the corresponding path of the route switching data by the fifth processing step (S412);

상기 여섯 번째 처리 단계(S413)에 의한 타스크 큐 메시지를 해당 타스크에 통보하도록 처리하는 서브루틴으로 송부하고, 상기 여섯 번째 판단 단계(S410)로 궤환 하는 일곱 번째 처리 단계(S414)로 구성되고,And a seventh processing step (S414) for sending the task queue message by the sixth processing step (S413) to a subroutine for processing the notification to the task, and feeding back to the sixth determination step (S410).

상기 일곱 번째 처리 단계(S414)의 타스크 큐 메시지를 처리하는 서브루틴은, 타스크 큐가 도착하였는지 판단하여 도착하지 않았으면, 종료 단계로 진행하는 여덟 번째 판단 단계(S415)와,The subroutine for processing the task queue message of the seventh processing step (S414), if it does not arrive by determining whether the task queue has arrived, the eighth judgment step (S415) to proceed to the end step, and

상기 여덟 번째 판단 단계(S415)에서, 타스크 큐가 도착하였으면, 다른 타스크 서브루틴을 호출하여 경로 절체의 데이터를 송부 하는 여덟 번째 처리 단계(S416)로 구성되고,In the eighth determination step (S415), if the task queue has arrived, it consists of an eighth processing step (S416) of calling another task subroutine to send the data of the path switching,

광 시스템의 수동 경로 절체 방법은, 수동 절체 요구가 있는지 판단하는 아홉 번째 판단 단계(S51)와,The passive path switching method of the optical system includes a ninth determination step (S51) of determining whether there is a manual switching request;

상기의 아홉 번째 판단 단계(S51)에서, 수동 절체 요구가 있으면, 절체를 할 수 있는지 판단하는 열 번째 판단 단계(S52)와,In the ninth determination step (S51), if there is a manual transfer request, the tenth determination step (S52) for judging whether or not the transfer can be made, and

상기의 열 번째 판단 단계(S52)에서, 먼저 입력된 절체 요구부터 먼저 출력하여 수행하는 큐 메시지를 작성하는 아홉 번째 처리 단계(S53)와,In the tenth determination step (S52), the ninth processing step (S53) for creating a queue message to be output and performed first from the first transfer request, and

상기의 아홉 번째 처리 단계(S53)에서 작성된 큐 메시지를 처리할 수 있는 서브루틴으로 송부 하는 열 번째 처리 단계(S54)와,A tenth processing step S54 for sending the queue message created in the ninth processing step S53 to a subroutine capable of processing;

상기 열 번째 처리 단계(S54)에 의한 절체의 결과가 적합한지 판단하는 열한 번째 판단 단계(S55)와,An eleventh judgment step S55 for judging whether the result of the transfer by the tenth processing step S54 is appropriate;

상기 열한 번째 판단 단계(S55)에서 결과가 적합하면, 성공의 보고를 하고 종료하는 열한번째 처리 단계(S56)로 구성되고,If the result is appropriate in the eleventh determination step (S55), it consists of the eleventh processing step (S56) of reporting and ending of success,

상기 아홉 번째 판단 단계(S51)에서 수동 절체 요구가 없고, 상기 열 번째 판단 단계(S52)에서 절체 가능하지 않고, 또한, 상기 열한번째 판단 단계(S55)에서, 결과가 적합하지 않을 경우는 오류 보고를 하고, 종료하는 열두 번째 처리 단계(S57)와,If there is no manual transfer request in the ninth judgment step S51, no switchover is possible in the tenth judgment step S52, and in the eleventh judgment step S55, an error report is reported. And the twelfth processing step (S57) to end,

광 시스템의 경로 초기화 방법은, 백업 데이터를 로드(Load)하는 열세 번째 처리 단계(S61)와,The path initialization method of the optical system includes a thirteenth processing step (S61) of loading backup data,

상기의 열세 번째 처리 단계(S61)에서 로드된 백업 데이터를 선별 및 선택하는 열네 번째 처리 단계(S62)와,A fourteenth processing step S62 for sorting and selecting the backup data loaded in the thirteenth processing step S61;

상기의 열네번째 처리 단계(S62)에서 선택된 데이터가 경로를 초기화하기에 적합한지 비교하여 적당하지 않으면, 열세 번째 판단 단계(S65)로 진행하는 열두 번째 판단 단계(S63)와,A thirteenth determination step S63 of proceeding to the thirteenth determination step S65 if the data selected in the fourteenth processing step S62 is not suitable for comparison with the initialization;

상기의 열두 번째 판단 단계(S63)에서 적합한 데이터로 판단되면, 해당 데이터로서, 경로를 초기화하는 열 다섯 번째 처리 단계(S64)와,If it is determined that the data is suitable in the twelfth determination step (S63), as the data, the fifteenth processing step (S64) for initializing the path,

상기의 열 다섯 번째 처리 단계(S64)에서 초기화한 경로가 마지막 경로인지 판단하여 아니면, 상기 열두 번째 판단 단계(S63)로 궤환 하는 열세 번째 판단 단계(S65)와,Determining whether the path initialized in the fifteenth processing step (S64) is the last path; otherwise, the thirteenth determination step (S65) of returning to the twelfth determination step (S63),

상기의 열세 번째 판단 단계(S65)에서, 마지막 경로이면, 메모리에 백업하고 종료 단계로 진행하는 열 여섯 번째 처리 단계(S67)로 구성된다.In the thirteenth determination step (S65), if it is the last path, it consists of a sixteenth processing step (S67) which backs up to the memory and proceeds to the end step.

이하, 상기와 같은 구성에 의한 본 발명의 광 시스템의 경로 절체 및 데이터 관리 방법을 첨부된 도면을 참조하여 상세한 작용을 설명한다.Hereinafter, a detailed operation of the path switching and data management method of the optical system of the present invention having the above configuration will be described with reference to the accompanying drawings.

본 발명은, 초기화를 수행하는데 있어 백업된 데이터를 로드하는 단계(S61)와, 로드한 데이터들 중에서 일치하는 데이터를 선택하거나, 일치하는 데이터가 존재하지 않을 경우에는 프로세서가 마지막 백업한 데이터를 선택하는 단계(S62)와, 선택된 데이터를 현재의 시스템 상태와 비교하여 초기화하여도 시스템에 문제를 일으키지 않을지를 판단하는 단계(S63)와, 각 경로를 초기화하는 단계(S64)와, 마지막 경로인지 판단하는 단계(S65)와, 모든 경로의 초기화가 끝난 이후에 EEPROM에 백업하는 단계(S67)로 이루어진다.According to the present invention, in performing initialization, the step of loading the backed up data is selected (S61), and the matching data is selected from among the loaded data, or when the matching data does not exist, the processor selects the last backed up data. (S62), determining whether the selected data will not cause a problem even if the initializing is compared with the current system state (S63), initializing each path (S64), and determining whether it is the last path. And step S67 of backing up to the EEPROM after all paths have been initialized.

광선로와 데이터 경로에 장애가 발생하여 자동으로 수행되는 경로 절체는, 먼저 경로 절체의 주체를 하나로 하여 경로 절체의 순서를 일원화하였고, 경로 절체 주체는 큐 메시지(Queue Message)로 경로 절체 요구를 받도록 하였으며, 이러한 경로 절체 요구 큐 메시지는 장애의 처리 등급에 따라 FIFO또는 LIFO로 처리하도록 하였으며, 장애의 검출 단계를 광 경로의 장애와 데이터 경로의 장애로 구분하여 장애 등급에 따라 신속하게 경로 절체를 수행할 수 있게 하였으며, 큐 메시지로 경로 절체 요구를 하기 때문에 다른 타스크의 수행에 큰 영향을 받지 않게 되었으며, 일정한 경로 절체 수행 시간과 최소한의 수행 시간을 보장할 수 있게 되었다.The path switching, which is automatically performed due to the failure of the optical path and data path, first unifies the order of path switching by using one of the path switching bodies, and the path switching subject receives the request for path switching with a queue message. These path change request queue messages are handled by FIFO or LIFO according to the level of fault handling, and the path detection can be performed quickly according to the level of failure by classifying the fault detection stage into the fault of the optical path and the fault of the data path. Since the path switching request is made with a queue message, it is not influenced by the execution of other tasks, and the constant path switching execution time and the minimum execution time can be guaranteed.

경로 절체의 수행 이후에 간혹 발생되는 경로 절체 오류를 플래그에 저장하도록 하여 다음 경로 절체 단계에서 재 수행하게 함으로써 경로 절체의 신뢰성을 높이고, 다른 타스크로의 보고 역시 큐 메시지를 사용하여 비동기적으로 수행되므로 경로 절체의 수행 시간에 영향을 미치지 않도록 한다.Since path switching errors, which sometimes occur after the path switching, are stored in a flag, are re-done in the next path switching step to increase the reliability of path switching, and reporting to other tasks is also performed asynchronously using queue messages. Do not affect the execution time of path switching.

또한, 수동 경로 절체 요구에 있어서도, 경로의 절체 요구를 FIFO 큐 메시지를 통하여 하므로, 자동 경로 절체 수행과 상충될 수 있는 가능성을 최대한 배제하였고, 자동 경로 절체의 수행 시간을 최소화하는데 그 영향을 극소화하도록 한다.In addition, in the manual path switching request, since the path switching request is made through the FIFO queue message, the possibility of conflict with the automatic path switching is eliminated to the maximum, and the effect of minimizing the execution time of the automatic path switching is minimized. do.

상기와 같은 구성의 운용자에 의한 강제 경로 절체 방법, 역시, 중요한 통신 채널인 경로를 수동 절체 처리함으로서, 시험, 유지 보수 등에 적합하게 활용 할 수 있게 하였으며, 또한, 경로를 절체 하는 과정에서 절체된 경로에 장애가 다시 발생하였을 경우, 경로 절체를 다시 할 수 있도록 함으로서, 절체에 대한 시스템의 신뢰성을 향상시켰다.Forced path switching method by the operator of the configuration as described above, also through the manual transfer process of the important communication channel, so that it can be properly used for testing, maintenance, etc. Also, the path changed in the process of switching the path If the fault occurs again, the path switching can be performed again, thereby improving the reliability of the system.

상기와 같이 구성된 본 발명의 광선로 경로 변경 및 관리 방법은 LIFO, FIFO를 사용하여 절체의 수행 시간을 최소로 하고, 절체 중에 발생되는 장애에 대비하여 플래그를 발생하게 함으로서, 절체에 대한 신뢰성을 향상시켰으며, 절체된 선로 또는 경로의 정보 데이터를 각 타스크에 보고하는 전용 서브루틴에 통보함으로서, 우선적으로 경로 보호를 위한 절체가 이루어지게 하며 불필요한 대기 시간을 단축하고, 초기화 설정에서, 최적의 데이터를 추출함으로서, 정확한 경로를 설정하게 하고, 하드웨어의 수명을 연장하는 효과가 있다.The optical path change and management method of the present invention configured as described above minimizes the execution time of the transfer using LIFO and FIFO, and generates a flag in preparation for a failure occurring during the transfer, thereby improving reliability of the transfer. By notifying the dedicated subroutine that reports the changed data of the track or the route to each task, the transfer is first made for the protection of the route, the unnecessary waiting time is reduced, and the optimal data is set in the initialization setting. Extraction has the effect of setting the correct path and extending the life of the hardware.

Claims (7)

제1 및 제2 광신호 송수신부, 시스템제어부, 경로 관리부, 백업부, 음성 및 데이터처리부로 이루어지는 광 시스템의 자동 경로 절체 방법에 있어서, 상기 시스템 제어부에 의하여 상기 제1 및 제2 광신호 송수신부를 제어하므로써, 해당 광선로에 장애가 발생하였는지 판단하는 제1 단계와, 상기의 제1 단계에서, 해당 광선로에 장애가 없을 경우, 상기 경로 관리부를 제어하여 해당 경로에 장애가 있는지 판단하는 제2 단계와, 상기 제2 단계에서, 해당 경로에 장애가 없으면, 상기 제1 단계로 궤환하고, 해당 경로에 장애가 있을 경우, 이전에 수행된 경로에 장애가 없는지 판단하는 제3 단계와, 상기 제3 단계에서, 이전에 수행하였던 경로에 장애가 없으면, 상기 제1 단계로 궤환하고, 이전에 수행하였던 경로에 이상이 있을 경우, 해당 경로를 절체하여야 되는 조건인지를 판단하는 제4 단계와, 상기 제4 단계에서, 경로를 절체할 조건이 아니면, 상기 제1 단계로 궤환하고, 경로를 절체하는 조건이면, 먼저 입력된 경로 절체 조건부터 먼저 출력하여 처리하도록 해당 요구 큐메시지 작성하는 제5 단계와, 상기 제5 단계에서 작성된 요구 큐메시지는 해당 서브루틴으로 전송하여 관련된 처리를 한 후, 상기 제1 단계로 궤환하는 제6 단계가 포함되어 구성되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.In the automatic path switching method of the optical system comprising a first and a second optical signal transceiver, a system controller, a path management unit, a backup unit, a voice and a data processing unit, the system control unit by the first and second optical signal transceiver By controlling, a first step of determining whether a failure occurs in the corresponding optical path, and in the first step, if there is no failure in the corresponding optical path, a second step of controlling the path management unit to determine whether there is a failure in the corresponding path; In step 2, if there is no obstacle in the corresponding path, returning to the first step, and if there is an obstacle in the corresponding path, determining whether there is no obstacle in the previously performed path, and in the third step, If there is no obstacle in the path, it returns to the first step, and if there is an error in the previously performed path, the path must be changed. In the fourth step of determining whether the condition is a condition, and in the fourth step, if the condition is not a condition for switching the path, it is fed back to the first step, and if the condition is a condition for switching the path, the first path switching condition is first outputted and processed. And a fifth step of creating a corresponding request queue message, and a sixth step of sending a request queue message generated in the fifth step to a corresponding subroutine to perform related processing and then returning to the first step. Characterized in the path switching data management method of the optical system. 제1항에 있어서, 상기 제1 단계에서 광선로에 장애가 있을 경우, 상기 시스템 제어부에 의하여 선로를 절체하여야 되는 조건인지를 판단하는 제7 단계와, 상기의 제7 단계에서, 광선로를 절체하지 않는 조건이면, 상기 제2 단계로 궤환하고, 광선로를 절체하여야 하는 경우, 마지막 입력된 경로 절체 조건부터 먼저 출력 처리하도록 해당 요구 큐메시지 작성하는 제8 단계와, 상기의 제8 단계에서 작성된 요구 큐메시지 해당 서브루틴으로 전송하여 처리 한 후, 상기 제1 단계로 궤환하는 제9 단계가 포함되어 구성되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.The method of claim 1, wherein when there is a failure in the optical path in the first step, the seventh step of determining whether the line should be changed by the system controller, and in the seventh step, the condition of not switching the light path In this case, when the feedback is returned to the second step and the optical path is to be switched, the eighth step of creating a corresponding request queue message is first outputted from the last input path switching condition, and the request queue message created in the eighth step corresponds. And a ninth step of returning to the first step after transmitting and processing the subroutine. 제1항 및 제2항에 있어서, 상기 제6 단계와 제9 단계의 요구 큐메시지 처리하는 서브루틴은, 상기 시스템 제어부에 의하여 요구 큐메시지가 도착하였는지 판단하는 제10 단계와, 상기의 제10 단계에서, 요구 큐메시지가 도착하지 않았으면, 궤환하여 다시 판단하고, 요구 큐메시지가 도착하였으면, 요구 큐메시지 실행할 것인지 판단하는 제11 단계와, 상기의 제11 단계에서, 실행하지 않는 메시지로 판단되면, 상기 제10 단계로 궤환하고, 실행할 메시지로 판단되면, 해당 경로 절체를 수행하는 제12 단계와, 상기 제12 단계에 의한 경로 절체 데이터를, 해당 경로를 이용하는 다른 타스크에, 피포에 의한 선입선출로 통보할 큐메시지 작성하는 제13 단계와, 상기 제13 단계에 의한 타스크 큐메시지 피포에 의한 선입선출로 해당 서브루틴에 송부하여 해당 타스크에 통보하도록 처리하고, 상기 제10 단계로 궤환하는 제14 단계가 포함되어 구성되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.The method according to claim 1 or 2, wherein the subroutine for processing the request queue messages of the sixth and ninth stages comprises: a tenth step of determining whether a request queue message has arrived by the system control unit; In the step, if the request queue message has not arrived, it is fed back and judges again. If the request queue message arrives, the eleventh step of determining whether to execute the request queue message, and in step 11 above, it is determined that the message is not executed. If it is determined that the message is to be executed and the message is executed, the twelfth step of performing the path switching and the path switching data according to the twelfth step are pre-empted by another application using the path. The thirteenth step of creating a cue message to be notified by election, and the first-in, first-out by the task queue message parcel according to the thirteenth step is sent to the subroutine to send the task Processing to notify, and path switching data management method for an optical system, characterized in that the configuration includes the step of claim 14, fed back to the step 10. 제3항에 있어서, 상기 제14 단계의 타스크 큐메시지 처리하는 서브 루틴은, 해당 타스크 큐가 도착하였는지 판단하여 도착하지 않았으면, 종료 단계로 진행하는 제15 단계와, 상기 제15 단계에서, 타스크 큐가 도착하였으면, 해당되는 다른 타스크 서브 루틴을 호출하여 경로 절체의 데이터를 송부하는 제16 단계가 포함되어 구성되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.The method of claim 3, wherein the subroutine that processes the task queue message of the fourteenth step determines whether or not the task queue has arrived, and if not, proceeds to a terminating step; and in the fifteenth step, the task And when the queue arrives, calling a corresponding other task subroutine to send the data of the path switching, wherein the path switching data management method of the optical system is configured. 제1 및 제2 광신호 송수신부, 시스템제어부, 경로 관리부, 백업부, 음성 및 데이터처리부로 이루어지는 광 시스템의 수동 경로 절체 방법에 있어서, 상기 시스템 제어부는 운용자에 의한 수동 절체 요구가 있는지 판단하는 제17 단계와, 상기의 제17 단계에서, 수동 절체 요구가 있으면, 절체를 할 수 있는지 판단하는 제18 단계와, 상기의 제18 단계에서, 먼저 입력된 절체 요구부터 먼저 출력하도록 해당 큐메시지 작성하는 제19 단계와, 상기의 제19 단계에서 작성된 큐메시지 처리할 수 있는 해당 서브루틴으로 송부하는 제20 단계와, 상기 제20 단계에 의하여 송부된 큐메시지에 의한 절체의 해당 결과가 적합한지를 시스템 제어부에서 판단하는 제21 단계와, 상기 제21 단계에서 해당 결과가 적합하면, 절체의 성공보고를 하고 종료하는 제22 단계가 포함되어 구성되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.In the manual path switching method of the optical system comprising the first and second optical signal transmission and reception unit, system control unit, path management unit, backup unit, voice and data processing unit, the system control unit determines whether there is a manual transfer request by the operator; In step 17 and the seventeenth step, if there is a manual transfer request, an eighteenth step of determining whether a transfer can be performed; and in the eighteenth step, a corresponding cue message is generated so that the first transfer request is output first. A system control unit for determining whether the corresponding result of the transfer by the cue message sent by the twentieth step and the twentieth step that is sent to the corresponding subroutine capable of processing the cue message created in the nineteenth step and the twelfth step are suitable. A twenty-first step of judging from the; and a twenty-second step of reporting success of the transfer and ending if the corresponding result is suitable in the twenty-first step; Path switching data management method for an optical system, characterized in that the sex. 제5항에 있어서, 상기 제17 단계에서, 수동 절체 요구가 없는 경우와, 상기 제18 단계에서, 절체 가능하지 않는 경우와, 상기 제21 단계에서, 결과가 적합하지 않을 경우는 해당 오류 보고를 발생하고 종료하는 제23 단계가 더 포함되는 것을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.6. The method of claim 5, wherein in the seventeenth step, when there is no manual transfer request, in the eighteenth step, when the transfer is not possible, and in the twenty-first step, the result is not suitable, the corresponding error report is reported. And a twenty-third step of generating and terminating it. 제1 및 제2 광신호 송수신부, 시스템제어부, 경로 관리부, 백업부, 음성 및 데이터처리부로 이루어지는 광 시스템의 경로 초기화 방법에 있어서, 상기 시스템 제어부는 백업부로부터 백업 데이터를 로드하는 제24 단계와, 상기의 제24 단계에서 백업부로부터 로드된 백업 데이터를 선별 및 선택하는 제25 단계와, 상기의 단계에서 선택된 데이터가 경로를 초기화하기에 적합한지를 시스템 제어부에서 판단하는 제26 단계와, 상기의 판단단계에서 경로를 초기화하기에 적합한 데이터로 판단되면, 해당 데이터를 이용하여 해당 경로를 초기화하는 제27 단계와, 상기 시스템 제어부는 제26 단계에서 경로를 초기화하기에 적합하지 않다고 판단되는 경우와, 상기 제27 단계에서 초기화한 경로의 데이터를 인가 받은 경우, 상기 해당 경로가 마지막 경로가 아닌지를 판단하고, 마지막 경로가 아닌 경우는, 상기 제26 단계로 궤환하는 제28 단계와, 상기의 제28 단계에서, 상기 해당 경로가 마지막 경로이면, 백업부에 백업하고 종료 단계로 진행하는 제29 단계가 포함되어 이루어지는 구성을 특징으로 하는 광 시스템의 경로 절체 데이터 관리 방법.A path initialization method of an optical system comprising first and second optical signal transceivers, a system controller, a path manager, a backup, a voice, and a data processor, the system controller comprising: a twenty-fourth step of loading backup data from a backup; A twenty-fifth step of selecting and selecting backup data loaded from the backup unit in the twenty-fourth step; and a twenty-sixth step of determining, by the system controller, whether the data selected in the above-described step is suitable for initializing a path; When it is determined that the data is suitable for initializing the path in the determining step, the 27th step of initializing the path using the data, and the system controller determines that the path is not suitable for initializing the path in step 26; If the data of the path initialized in step 27 is received, whether the corresponding path is not the last path. If it is determined that the path is not the last path, step 28 returns to the 26th step; and in step 28, if the corresponding path is the last path, the step 29 is backed up to the backup unit and proceeds to the end step. Path switching data management method of the optical system, characterized in that the configuration comprises a.
KR1019980062917A 1998-12-31 1998-12-31 How to Manage Path Change Data in Optical Systems KR100298589B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980062917A KR100298589B1 (en) 1998-12-31 1998-12-31 How to Manage Path Change Data in Optical Systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980062917A KR100298589B1 (en) 1998-12-31 1998-12-31 How to Manage Path Change Data in Optical Systems

Publications (2)

Publication Number Publication Date
KR20000046240A KR20000046240A (en) 2000-07-25
KR100298589B1 true KR100298589B1 (en) 2001-10-29

Family

ID=19569532

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980062917A KR100298589B1 (en) 1998-12-31 1998-12-31 How to Manage Path Change Data in Optical Systems

Country Status (1)

Country Link
KR (1) KR100298589B1 (en)

Also Published As

Publication number Publication date
KR20000046240A (en) 2000-07-25

Similar Documents

Publication Publication Date Title
US7161901B2 (en) Automatic load balancing in switch fabrics
EP0198020B1 (en) Data communication network
US6385665B1 (en) System and method for managing faults in a data transmission system
EP0681405A1 (en) System for diverting signalling link traffic in a common channel signalling system
JPS60501286A (en) communication network
US6810496B1 (en) System and method for troubleshooting a network
EP0580938B1 (en) Duplex communication control device
KR100448709B1 (en) Data bus system and method for controlling the same
KR100298589B1 (en) How to Manage Path Change Data in Optical Systems
KR970004787B1 (en) Path testing and/or monitoring within a multiple mode telecommunication system
US5421002A (en) Method for switching between redundant buses in a distributed processing system
US7162667B2 (en) Method for preventing total failure of a processing unit for protocol information
US20070223369A1 (en) Cable misconnection detection system and method
GB1565489A (en) Method of and apparatus for locating faults in a centrally controlled electrical system
US7414965B2 (en) Hitless protection switching
US7489627B2 (en) Telecommunication network and upgrading method therefore
KR100303344B1 (en) A method for managing protocol and system switching priority for system redundancy
KR100422154B1 (en) A decision method of alarm signal priority for communication system
JP3583090B2 (en) Orderwire communication system and communication failure detection method therefor
JP2826774B2 (en) Data transfer device
KR100827065B1 (en) Network error management system
JPH04252533A (en) Fault notice system
JPH0697940A (en) Lan connection processor
JP2699900B2 (en) Fault information collection device
US8462007B2 (en) Monitoring device, information processing apparatus, and alarm signal output method having an alarm storage unit for storing alarm signals for itself and other units

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee