KR100279559B1 - How to transfer switch software using LAN - Google Patents

How to transfer switch software using LAN Download PDF

Info

Publication number
KR100279559B1
KR100279559B1 KR1019980063781A KR19980063781A KR100279559B1 KR 100279559 B1 KR100279559 B1 KR 100279559B1 KR 1019980063781 A KR1019980063781 A KR 1019980063781A KR 19980063781 A KR19980063781 A KR 19980063781A KR 100279559 B1 KR100279559 B1 KR 100279559B1
Authority
KR
South Korea
Prior art keywords
exchange
file
software
cdt
information
Prior art date
Application number
KR1019980063781A
Other languages
Korean (ko)
Other versions
KR20000047032A (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 KR1019980063781A priority Critical patent/KR100279559B1/en
Publication of KR20000047032A publication Critical patent/KR20000047032A/en
Application granted granted Critical
Publication of KR100279559B1 publication Critical patent/KR100279559B1/en

Links

Classifications

    • 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/20Network management software packages
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

본 발명은 정보통신기술의 컴퓨터와 교환장치의 통합구축(CTI) 기술의 LAN을 이용한 교환기 소프트웨어 전송 방법을 제공한다. 중앙집중과금(CAMA)을 위한 CDT(Charging Data Transmitter)장비를 이용하는 본 발명은, 교환기의 소프트웨어나 데이터의 보존을 위하여 CDT가 백업을 수행하고, 이때 중앙켬퓨터에서 운용보전망을 통하여 교환기가 설치된 국소의 CDT에 소프트웨어를 전송하면, 해당 국소에서는 소프트웨어를 전달받아 디스크에 저장함으로써 백업의 경제성 및 무인화, 자동화를 실현을 가능케하는 교환기 소프트웨어 원격 전송 전달 방법이다., 본 발명에서 구현된 GUI를 통하여 명령을 수행하거나, 또는 교환기 운용자가 MMC를 통하여 교환기 소프트웨어 전송 명령을 전달하면 교환기와 CDT사이에 파일 송수신됨으로써 운용자가 백업을 받아두는 경우에는 CDT에서 운용자가 지정한 주기로, 지정한 시각에 교환기의 파일 송수신을 시작할 수있으며, 운용자가 필요하다고 판단될 때에는 언제든지 백업을 수행할 수 있다. 또한, 데이터 링크계층만이 구현된 단순한 네크워크 구조에서의 파일전송과 이를 응용한 교환기 소프트웨어의 유지보수, 이중화로 설계된 시스팀에서 기존의 이중화에 종속적인 이중화 제어가 가능하고, 이를 응용한 교환기와 교환기에 사이에 연결된 외부장치의 이중화도 제어가능하다.The present invention provides a switch software transmission method using a LAN of an integrated communication (CTI) technology of a computer and an exchange device of an information communication technology. In the present invention using the CDT (Charging Data Transmitter) equipment for the centralized charging (CAMA), the CDT performs a backup for the preservation of the software or data of the exchange, and at this time, the local exchange is installed through the operating network in the central computer It is a remote software transfer method of the exchanger software that makes it possible to realize economical, unmanned, and automated backup by transferring the software to the CDT and storing the software in a local area. The command is implemented through a GUI implemented in the present invention. Alternatively, when the exchange operator transmits the exchange software transfer command through the MMC, a file may be exchanged between the exchange and the CDT, and if the operator has a backup, the exchange may start transmitting or receiving the file at the specified time in the CDT. And when deemed necessary, You can perform a backup at any time. In addition, file transfer in a simple network structure where only the data link layer is implemented, maintenance of the exchange software using the same, and redundancy control that is dependent on existing redundancy can be performed in a system designed for redundancy. Redundancy of external devices connected between them is also controllable.

Description

LAN을 이용한 교환기 소프트웨어 전송 방법How to transfer switch software using LAN

본 발명은 정보통신기술의 컴퓨터와 교환장치의 통합구축(CTI:Computer Telephony Integration) 기술에 관한 것이다. 보다 구체적으로, 본 발명은 전국적으로 구축된 운용보전망에 연결되어 있고 교환기와는 LAN(Local Area Network)으로 연결된 중앙집중과금(CAMA: Centralized Automatic Message Account)을 위한 CDT(Charging Data Transmitter)를 이용하여 교환기 소프트웨어를 원격지로 부터 전송받아 교환기에 전달하는 방법으로 교환기 소프트웨어 변경함으로써, 교환기의 소프트웨어나 데이터의 보존을 위하여 이 CDT가 자동적으로 백업을 수행하는 LAN을 이용한 교환기 소프트웨어 전송 방법에 관한 것이다.The present invention relates to a computer telephony integration (CTI) technology of information and communication technology. More specifically, the present invention uses a Charging Data Transmitter (CDT) for a Centralized Automatic Message Account (CAMA) connected to an operation preservation network established nationwide and connected to a local area network (LAN) with an exchange. The present invention relates to a method of transmitting an exchange software using a local area network (LAN) in which the CDT automatically performs backup for the preservation of the software or data of the exchange by changing the exchange software by receiving the exchange software from a remote site and transferring the exchange software to the exchange.

서비스의 안정성 및 서비스의 지속성을 확보하기 위하여 많은 유지보수 기능을 가지는 교환기는 소프트웨어 및 데이터는 서비스의 안정성 및 지속성을 보장하기 위해 교환기 소프트웨어나 가입자나 중계선, 기타 교환기용 데이터가 주기적으로 백업(backup)을 받는다. 이 백업 받은 데이터는 데이터의 연속성이 보장되도록 보존하여야만 신규 소프트웨어 적용시나 데이터베이스 구조 변경시 재 사용될 수있다. 또 교환기 소프트웨어도 교환기 디스크에 존재하는 파일의 손상이나 백업된 데이터의 보존을 위하여 주기적으로 백업을 받아야 한다.In order to ensure the stability of the service and the continuity of the service, the exchange which has many maintenance functions, the software and data are periodically backed up by the exchange software or the data for the subscriber, the trunk line and other exchanges to ensure the stability and continuity of the service. Receives. This backed up data should be preserved to ensure data continuity so that it can be reused when new software is applied or when the database structure is changed. In addition, the exchange software should be backed up periodically to preserve the data backed up or to damage files on the exchange disk.

이런 일련의 작업들은 모두 MT(Magnetic Tape)를 이용하여 이루어지고 MTU(Magnetic Tape Unit)를 수동으로 조작한후 교환기에서 사용하는 MMC(Man-Machine Command)를 이용하여 백업 작업을 수행한다.This series of tasks are all performed using MT (Magnetic Tape), manually operated MTU (Magnetic Tape Unit), and then backed up using the Man-Machine Command (MMC) used by the exchange.

또 새로운 서비스를 시작하거나 망구조의 변화, 문제점에 대한 보완작업 등의 지속적인 소프트웨어 변경으로 인하여 교환기에 새로운 소프트웨어를 적용하는 일이 빈번해지고 있다. 새로운 소프트웨어 적용 작업도 또한 MT를 이용한다.In addition, due to continuous software changes such as starting new services, changing network structures, and making up for problems, the application of new software to exchanges is becoming more frequent. New software applications also use MT.

위에서 언급한 작업들에 있어서는 MT의 훼손으로 백업받은 데이터가 손상되면 변경된 데이터를 다시 수작업해야하는 문제가 발생할 뿐만아니라 신규 소프트웨어를 담은 MT가 손상되거나 훼손되어 원하는 시간에 서비스를 지속할 수 없는 상태가 발생되기도 하며 백업을 받아 놓은 MT의 백업 테입(tape)를 제작하는 일이 발생하기도 한다. 게다가 운용중인 시스팀에 영향을 최소화하기 위하여 최한시인 새벽에만 실행해야하는 불편함도 있었다. 또 MTU의 동작 속도가 교환기에서는 빠르지 않기 때문에 백업 시간이 장시간 소요되고, 백업작업 시간동안 데이터의 변경은 불가능하여 교환기 운용이 효율이 떨어지며 백업될 데이터가 많을경우엔 한 개의 교환기에서 3~4개의 MT를 사용하므로 전국적으로는 소요되는 MT량도 많았다.In the above-mentioned operations, if the data backed up due to the damage of the MT is damaged, not only does the user have to rework the changed data, but also the MT containing the new software is damaged or damaged, and thus the service cannot be continued at the desired time. In some cases, a backup tape of an MT that has been backed up may be produced. In addition, to minimize the impact on the system in operation, it was inconvenient to be executed only at dawn, the minimum time. In addition, since the operation speed of the MTU is not fast at the exchange, it takes a long time to backup, and it is impossible to change the data during the backup operation time, which makes the operation of the exchange less efficient. Since the amount of MT was used nationwide.

따라서 MT의 훼손으로 백업받은 데이터가 손상되지 않도록 교환기 소프트웨어 및 데이터의 백업 방법이나 새로운 교환기 소프트웨어 적용에 좀더 빠르고, 신뢰성있는 백업받은 데이터의 손상방지하는 것이 본 발명의 제1 목적이다.Accordingly, it is a first object of the present invention to prevent corruption of backup data more quickly and reliably in exchange software and data backup method or application of new exchange software so that the data backed up by MT damage is not damaged.

또 교환기 소프트웨어는 파일단위로 교환기 자체의 디스크에 존재하고 교환기의 데이터 또한 변경된 후 교환기 디스크에 저장되고, 교환기의 유지보수용 프로세서는 교환기 전체의 유지보수 기능을 담당하고 과금 데이터 수집을 담당하는 프로세서로 교환기 소프트웨어 유지보수에 많은 자원(Computing Resource)를 할당하지 못한다.In addition, the exchange software exists on the exchange's own disk on a file basis, and after the exchange's data is changed and stored on the exchange's disk, the exchange's maintenance processor is a processor that performs the maintenance function of the entire exchange and collects billing data. Not allocating a lot of resources to the exchange software maintenance.

따라서 본 발명에서는 교환기에 부하를 많이 주지 않는 단순한 방법으로 파일을 전송할수 있게 교환기와 CDT에 구현하여 교환기 소프트웨어 전송을 수행하고, 교환기와 CDT간의 파일전송을 위하여 데이터 링크계층(Data Link Layer)만을 이용한 프로토콜(SFTP:Simple File Transfer Protocol)을 제공하는 것이 본 발명의 제2목적이다.Therefore, in the present invention, the switch and the CDT are implemented so that the file can be transferred in a simple manner that does not place a heavy load on the switch. The switch software transfer is performed, and only the data link layer is used for the file transfer between the switch and the CDT. It is a second object of the present invention to provide a Simple File Transfer Protocol (SFTP).

도 1는 본 발명이 시행되는 CDT와 교환기의 개략도,1 is a schematic diagram of a CDT and an exchanger in which the present invention is implemented;

도 2는 본 발명의 소프트웨어 전송방법에 따른 파일전송 방법의 처리 흐름도,2 is a flowchart illustrating a file transfer method according to the software transfer method of the present invention;

도 3는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 구성도,3 is a configuration diagram of a protocol according to a software transmission method of the present invention;

도 4는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 파일 전송 시작 메시지와4 is a file transfer start message of a protocol according to a software transfer method of the present invention;

파일 전송 시작 메시지에 대한 응답신호의 구조도,Structure diagram of response signal to file transfer start message,

도 5는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 신규 파일 전송 시작 메시지와5 shows a new file transfer start message of a protocol according to the software transfer method of the present invention;

새 파일 전송 시작 메시지에 대한 응답신호의 구조도,Structure diagram of response signal for new file transfer start message,

도 6는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 파일 데이터 전송 메시지 구조도,6 is a structure diagram of a file data transmission message of a protocol according to a software transmission method of the present invention;

도 7는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 신규 파일 전송 완료 메시지 구조도,7 is a structure diagram of a new file transfer complete message of a protocol according to a software transfer method of the present invention;

도 8는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 파일 전송 종료 메시지 구조도,8 is a structure diagram of a file transfer end message of a protocol according to a software transfer method of the present invention;

도 9는 본 발명의 소프트웨어 전송방법에 따른 프로토콜의 파일 전송 중지 메시지 구조도, 및,9 is a structural diagram of a file transfer stop message of a protocol according to a software transfer method of the present invention;

도 10는 본 발명의 소프트웨어 전송방법에 따른 부기능 이중화 처리방식의 기능처리 흐름도.10 is a functional processing flowchart of a sub-function duplication processing method according to the software transmission method of the present invention.

현재 교환기에는 중앙집중과금(CAMA: Centralized Automatic Message Account)을 위한 CDT(Charging Data Transmitter)가 설치되어 있는데, 이 장비는 전국적으로 구축된 운용보전망에 연결되어 있고 교환기와는 LAN(Local Area Network)으로 연결된 컴퓨터이다.Currently, the exchange is equipped with a charging data transmitter (CDT) for Centralized Automatic Message Account (CAMA), which is connected to a national network of operations, and is connected to the local area network (LAN). Connected computer.

본 발명에서는 이 중앙 집중장비를 이용하여 교환기 소프트웨어를 원격지로 부터 전송받아 교환기에 전달하는 방법으로 교환기 소프트웨어 변경을 위한 대안을 제시하였고, 교환기의 소프트웨어나 데이터의 보존을 위하여 이 CDT가 자동적으로 백업을 수행하는 방법으로 백업의 경제성 및 무인화, 자동화를 실현하였다.The present invention proposes an alternative for changing the exchange software by transferring the exchange software from a remote site to the exchange using the centralized equipment, and the CDT automatically backs up to preserve the exchange software or data. In this way, the economics, unmanned and automated backups were realized.

또 본 발명에서는 교환기 소프트웨어를 제작하는 중앙의 켬퓨터에서 운용보전망을 통하여 교환기가 설치된 국소의 CDT에 소프트웨어를 전송하고 해당 국소에서는 소프트웨어를 전달받아 디스크에 저장한다. 그때 원격지에서 운용보전망을 통하여 CDT에 접속한 운용자나 국소의 운용자가 교환기에 소프트웨어를 적용할 것을 명령하면 CDT와 교환기간의 데이터 전달방식에 따라 교환기에 적용한다.In the present invention, the software is transmitted to a local CDT in which a switch is installed through an operation preservation network in a central on-machine producing the switch software, and the software is received and stored in a disk. At that time, when an operator or a local operator who accesses the CDT remotely instructs the exchange to apply the software to the exchange, it is applied to the exchange according to the data transfer method of the CDT and the exchange period.

중앙의 컴퓨터는 교환기 고급언어로 작성된 프로그램을 실행가능한 바이너리(binary) 파일로 컴파일하고 운용보전망을 통하여 전국에 설치된 CDT중 운용자가 지정한 CDT에 전송하면, CDT는 파일을 받아 자신의 디스크에 저장해둔다.The central computer compiles the program written in the exchange high-level language into an executable binary file and transmits it to the CDT designated by the operator among CDTs installed nationwide through the operation preservation network, and the CDT receives the file and stores it on its own disk. .

운용자가 원격으로 CDT에 접속해서 교환기 소프트웨어 변경 명령을 수행하거나, 본 발명에서 구현된 GUI(Graphical User Interface)를 통하여 명령을 수행하나, 또는 교환기 운용자가 MMC를 통하여 교환기 소프트웨어 전송 명령을 전달하면 교환기와 CDT사이에 파일 송수신이 시작된다.The operator remotely accesses the CDT to perform the exchange software change command, or performs the command through the GUI (Graphical User Interface) implemented in the present invention, or if the exchange operator transmits the exchange software transfer command through the MMC, File transfer between the CDTs begins.

또 교환기 소프트웨어 및 데이터의 보존을 위하여 운용자가 백업을 받아두는 경우에는 CDT에서 운용자가 지정한 주기로, 지정한 시각에 교환기의 파일 송수신을 시작할수있으며 운용자가 필요하다고 판단될때에는 언제든지 백업을 수행할 수 있다.In addition, if the operator has a backup for preservation of the exchange software and data, the CDT can start transmitting and receiving the file at the designated time at the interval specified by the operator.

교환기는 안정적인 서비스 방법의 하나로 이중화 방법을 사용하고 위 기능 또한 기능 자체의 안정적인 서비스 제어를 위하여 소프트웨어적인 이중화 기능이 필요하지만 CAMA 기능에서 이미 장비의 이중화를 사용중이므로 CAMA 기능에 영향을 최소화 하기 위한 이중화 방법이 필요하다. 그러므로 본 발명에서는 타 기능에 종속적인 이중화 제어 방식을 고안하여 타 기능에 영향을 크게 미치지 않으면서 이중화방식을 지원하여 안정적인 운용이 가능하도록 하였다.The exchange uses the duplication method as one of the stable service methods and the above functions also require software duplication for stable service control of the function itself, but since the CAMA function already uses duplication of equipment, duplication method to minimize the effect on the CAMA function This is necessary. Therefore, in the present invention, by devising a redundancy control method that is dependent on other functions, it is possible to perform a stable operation by supporting the redundancy method without significantly affecting other functions.

따라서, 본 발명은 MT를 이용한 방법보다 신뢰성, 속도, 경제성 측면에서 우수하므로 기존에 교환기 소프트웨어 변경시 소요되던 시간을 단축하여 서비스 중단 시간이 짧아지는 장점이 있으며 원격지에서 작업이 가능하므로 경제성 측면에서도 유리하다.Therefore, the present invention has advantages in terms of reliability, speed, and economy compared to the method using MT, which shortens the time required for changing the exchange software in the past, thereby shortening the service interruption time, and it is advantageous in terms of economics as it can be operated remotely. Do.

또 MT를 이용한 데이터의 백업은 백업 수행중에는 교환기 내부 데이터베이스(Database)의 변경이 불가능하여 백업 수행동안 변경된 데이터가 보존되지 않는 시간이 길어지는 단점이있었으나 본 발명은 백업 수행시간이 짧아 위의 단점이 보완된다.In addition, the backup of the data using MT has a disadvantage in that it is impossible to change the internal database of the exchange during the backup, so that the changed data is not preserved during the backup. However, the present invention has the shortcoming of the backup. Is complemented.

교환기 소프트웨어 전송 방법에 따라, 교환기 소프트웨어는 교환기 내부의 데이터나 소프트웨어 자체의 보존을 위하여 주기적으로 데이터를 백업 받고, 신규 서비스 등장이나 문제점에 대한 보완, 신규 기능 추가등으로 빈번히 변경된다.In accordance with the exchange software transfer method, the exchange software is periodically backed up for the preservation of the data in the exchange or the software itself, and is frequently changed due to the appearance of new services, the correction of problems, and the addition of new functions.

이런 교환기 소프트웨어의 유지보수 작업은 서비스의 중단 시간을 최소화 하여야 하고, 신뢰성 있는 방법으로 신속히 이루어져야 만 한다.Maintenance work on such exchange software should be minimized and service should be done quickly and in a reliable manner.

그러나 본 발명 이전의 교환기 소프트웨어 변경이나 백업 방식은 많은 시간 및 인력이 소요되고 작업 절차나 방법이 까다로워 운용자가 불편을 느끼고, 인력의 지속적인 투입으로 망효율 측면에서 불리한 요소로 작용하였다.However, the exchange software change or backup method before the present invention takes a lot of time and manpower, and the operation procedure or method is difficult, which makes the operator feel uncomfortable.

따라서 본 발명의교환기 소프트웨어 전송 방법에서는 CAMA기능에서 사용중인 CDT를 이용한 교환기 소프트웨어의 효율적인 유지보수 방법을 제시하였다. CAMA기능은 교환기에 연결된 CDT가 교환기로 부터 과금 데이터를 전송받아 CDT 디스크에 저장한후 X.25망을 통하여 과금의 정산을 맡은 중앙의 전산시스팀으로 자동으로 전송하는 기능이다.Therefore, in the exchange software transmission method of the present invention, an efficient maintenance method of the exchange software using the CDT used in the CAMA function is proposed. The CAMA function is a function that the CDT connected to the exchange receives the charging data from the exchange, stores it on the CDT disk, and then automatically transfers the charge to the central computer system that settles the charge through the X.25 network.

교환기 소프트웨어는 파일단위로 교환기 자체의 디스크에 존재하고 교환기의 데이터 또한 변경된 후 교환기 디스크에 저장되고, 교환기의 유지보수용 프로세서는 교환기 전체의 유지보수 기능을 담당하고 과금 데이터 수집을 담당하는 프로세서로 교환기 소프트웨어 유지보수에 많은 자원(Computing Resource)를 할당하지 못한다.The exchange software resides on the exchange itself's disk on a file-by-file basis and the exchange's data is also changed and stored on the exchange's disk.The exchange's maintenance processor is the processor responsible for the entire exchange's maintenance functions and charging data collection. Can't allocate a lot of computing resources for software maintenance.

따라서 본 발명에서는 교환기에 부하를 많이 주지 않는 단순한 방법으로 파일을 전송할수 있는 방법을 발명하여 교환기와 CDT에 구현하여 교환기 소프트웨어 전송을 수행한다. 또 교환기의 특성상 상용 파일 전송 프로토콜의 모든 기능을 수용하지 못하므로 본 발명에서는 교환기와 CDT간의 파일전송을 위하여 데이터 링크계층(Data Link Layer)만을 이용한 프로토콜(SFTP:Simple File Transfer Protocol)을 고안하였다.Accordingly, the present invention invents a method of transferring a file by a simple method that does not place a heavy load on the switch, and implements the switch software by implementing the switch and the CDT. In addition, the present invention devised a protocol (SFTP: Simple File Transfer Protocol) using only the data link layer (File Link Layer) for the file transfer between the exchange and the CDT, because it does not accommodate all the functions of the commercial file transfer protocol.

교환기는 유지보수를 담당하는 프로세서가 이중화 되어있으며 이 이중화된 프로세서에 이중화된 CDT가 연결되어 있다. 이중화된 CDT는 교환기와 연결된 4개의 이더넷 카드(Ethernet card)를 실장하고 있으며 운용체계로는 SUN사의 Solaris(2.4.1이상)을 사용한다. 전술한것처럼 교환기 프로세서와 CDT가 각각 이중화 되어있으므로 교환기와 CDT사이의 물리계층(Physical Layer)인 LAN의 이중화 상태관리가 필요하다. 게다가 CAMA 기능에서 이중화 개념으로 사용중이므로 CAMA 기능에서 사용중인 이중화 방식에 영향을 최소화하고 자체적으로 이중화를 지원할수 있는 방법이 필요하여 본 발명에서는 타기능의 이중화 방식에 종속적인 이중화 방식을 취하였다.The exchange has a redundant processor that is responsible for maintenance and a redundant CDT connected to the redundant processor. Redundant CDT implements four Ethernet cards connected to the exchange and uses SUN's Solaris (2.4.1 or later) as the operating system. As described above, since the exchange processor and the CDT are redundant, it is necessary to manage the redundant state of the LAN, which is a physical layer between the exchange and the CDT. In addition, since it is being used as a concept of redundancy in the CAMA function, there is a need for a method capable of minimizing the influence on the redundancy method used in the CAMA function and supporting the redundancy by itself.

또 CDT 운용자나 교환기 운용자 모두 교환기 소프트웨어 유지보수를 수행할수 있게하기위하여 CDT측에서는 GUI를 이용한 사용자 정합을 구현하였으며 교환기에서는 MMC(Man-Machine Command)를 통한 사용자 정합 방법도 사용하였다. 또 원격에서 접속한 운용자는 망의 특성상 GUI 정합 환경이 불가능하므로 원격 운용자용 사용자 정합 기능을 구현하였다.In addition, in order to enable both the CDT operator and the exchange operator to perform the exchange software maintenance, the CDT side implemented the user registration using the GUI, and the exchange used the user registration method through the man-machine command (MMC). In addition, the GUI interfaced environment is impossible for the operator who is connected remotely, so the user registration function is implemented for the remote operator.

이제 본 발명에 의한 교환기와 CDT간의 파일전송 방법을 설명하면 다음과 같다.Now, a file transfer method between an exchange and a CDT according to the present invention will be described.

전자교환기는 전자교환기에 연결된 CDT와 CDT에 연결된 LAN(Local Area Network)의 상태를 주기적으로 주고받으며 교환기 및 LAN, CDT 상태를 파악하고 현재 상태에 대한 정보를 운용자가 요구하거나 상태 변화시 그 정보를 운용자에게 통보한다. 교환기 내부에서는 교환기 메시지를 이용하여 운용자에게 통보하고 CDT에서는 X-window를 이용한 GUI(Graphical User Interface)를 통하여 운용자에게 통보한다.The e-Exchange exchanges the status of the CDT connected to the e-Exchanger and the local area network (LAN) connected to the CDT periodically, and checks the state of the exchange, LAN and CDT, and requests the information on the current state or when the operator changes or changes the state. Notify the operator. The inside of the exchange notifies the operator using the exchange message, and the CDT notifies the operator through the graphical user interface (GUI) using X-window.

CDT 사용자가 GUI를 통하여 교환기 소프트웨어의 전송 또는 수신을 실행하면 내부 소프트웨어에 의해 교환기로 전달된다. 이 정보를 수신한 교환기는 교환기와 CDT간의 파일 전송을 담당할 프로세스를 생성하여, 교환기 소프트웨어를 CDT와 SFTP를 이용하여 디스크 파일을 읽어 송수신을 시작한다. 송수신 도중 오류가 발생시 에러의 종류에 따라 치명적인 에러의 경우에는 CDT로의 파일 송수신 작업을 중지하고 일부데이터의 유실이나 손상 등에 대하여는 SFTP에 정의한 방법으로 에러를 보정한다.When the CDT user executes the transmission or reception of the exchange software via the GUI, it is delivered by the internal software to the exchange. Receiving this information, the exchange creates a process to handle the file transfer between the exchange and the CDT, and the exchange software reads the disk file using the CDT and SFTP and starts transmitting and receiving. If an error occurs during transmission or reception, in case of a fatal error, the file transmission / reception operation to the CDT is stopped and the error is corrected by the method defined in SFTP for loss or damage of some data.

또 교환기 운용자가 MMC(Man-Machine Command)를 통하여 교환기 소프트웨어 송신 또는 수신 요구를 실행하면 CDT에서는 정해진 디렉토리의 파일을 교환기로 전송을 시작하고 전송 시작 사실을 GUI 프로세스에 알리면 GUI 프로세스는 현재 파일 전송 상태 및 각종 정보를 화면으로 출력하여 운용자에게 알린다. 또 CDT에서 자동 파일 송수신 동작 시작 시간을 지정하면 지정된 시간에 파일 송수신을 시작한다.When the exchange operator executes the exchange software send or receive request through the Man-Machine Command (MMC), the CDT starts transferring the files in the specified directory to the exchange and notifies the GUI process that the transfer has started. And outputs a variety of information to the screen to inform the operator. In addition, if the CDT designates the start time of the automatic file transmission / reception operation, the file transmission starts at the designated time.

본 발명에 따른 CDT를 이용한 교환기 소프트웨어 전송방법은, 교환기와 CDT간에 상태관리 및 상호 정보 교환을 통한 준비 단계인 제 1단계와 상호간의 교환기 소프트웨어 송수신 요구를 접수하여 교환기 파일을 송수신하는 제2단계를 포함한다.The switch software transmission method using the CDT according to the present invention includes a first step, which is a preparation step through state management and mutual information exchange between the exchange and the CDT, and a second step of receiving and transmitting the exchange software file by receiving the exchange software request. Include.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

도 1는 본 발명이 시행되는 전자교환기와 CDT와의 연동환경도이다.1 is an interlocking environment diagram of an electronic exchanger and a CDT in which the present invention is implemented.

도면에서와 같이 본 CDT를 이용한 교환기 소프트웨어 전송을 위한 환경은 CDT(100)와 이더넷 정합된 전자교환기(200)로 구성된다.As shown in the figure, the environment for the exchange software transfer using the CDT is composed of the CDT 100 and the Ethernet-exchanged electronic exchange 200.

CDT(100)와 전자교환기(200)는 동축케이블로 연결된다. 예시에 사용된 전자교환기는 본 발명의 작업처리를 위하여 정합회로(8), 제어부(2), 파일 송수신 처리부(10)로 구성되고, 이중화를 위하여 2대의 켬퓨터로 연결된다.두 개의 CDT(100)는 각각 2개의 망정합회로(8)를 실장한다.The CDT 100 and the electron exchanger 200 are connected by coaxial cable. The electronic exchange used in the example is composed of a matching circuit 8, a control unit 2, and a file transmission / reception processing unit 10 for work processing of the present invention, and connected to two on-computers for redundancy. Two CDTs 100 ) Mounts two network matching circuits 8, respectively.

이에 상기한 구성요소의 기능을 살펴보면 아래와 같다.Looking at the function of the above components as follows.

교환기는 CDT(100)와 IEEE802.3을 이용한 링크로 연동되고 교환기의 유지보수 프로세서 내부에 정합회로(8)를 실장한다. 교환기의 정합회로(8)는 프로세서 보드내부의 프로그램에 의하여 제어되고 교환기 O/S(9)(Operating System)(9)와 데이터를 송수신한다. 이때 송수신되는 데이터는 이더넷헤더(Ethernet Header)와 사용자 데이터로 구성된다.The exchange interlocks with the CDT 100 and links using IEEE802.3 and mounts the matching circuit 8 inside the maintenance processor of the exchange. The matching circuit 8 of the exchanger is controlled by a program inside the processor board and transmits and receives data to and from the exchanger O / S 9 (Operating System) 9. At this time, the data transmitted and received is composed of the Ethernet header (Ethernet Header) and the user data.

교환기 O/S(9)는 CDT(100)로부터 전달된 메시지중 상태관리에 관한 메시지는 상태관리부(2)으로 전달하고 파일 송수신을 위한 데이터는 파일 송수신부(10)로 전달한다. 이때 교환기 O/S(9)는 이더넷 헤더 정보의 어드레스(address)를 분석하여 상태관리 메시지나 파일 송수신 데이터임을 판단한다.The exchanger O / S 9 transmits a message related to state management among the messages transmitted from the CDT 100 to the state management unit 2 and transmits data for file transmission and reception to the file transmission and reception unit 10. At this time, the exchange O / S 9 analyzes the address of the Ethernet header information and determines that the message is a status management message or file transmission / reception data.

O/S(9)로 부터 상태관리 메시지를 수신받은 상태관리부 및 제어부(2)는 메시지 내용을 분석하여 정보의 변경 여부 등을 판단하고, 변경시 관련 데이터베이스에 저장하고 사용자부 및 출력메시지부(11)로 상태변경 메시지를 출력한다. 또 상태 변경시 변경된 상태에 적합하게 상태관리를 수행하는 프로세스를 수행시킨다. 상태관리 프로세스에 의해 생성된 프로세스는 주기적으로 CDT(100)의 상태정보 및 디스크 사용량, 프로세스 정보, 작업정보 등을 주고 받는다. 또 CDT(100)에서 수신한 파일 송수신 요구를 접수받아 파일 송수신부(10)로 파일 송수신 시작을 알린다.The state management unit and the control unit 2 receiving the state management message from the O / S (9) analyzes the contents of the message to determine whether the information has been changed, etc. 11) outputs the status change message. In addition, when the state changes, it performs the process of performing state management appropriately to the changed state. The process generated by the state management process periodically exchanges state information, disk usage, process information, work information, etc. of the CDT 100. In addition, the file transmission / reception request received by the CDT 100 is received and the file transmission / reception unit 10 notifies the start of file transmission / reception.

파일 송수신부(10)는 상태제어부(2)로부터 파일 송수신시작 통보를 분석하여 파일 송신이나 수신을 구별하여 작업을 수행한다. 파일 송신 시작 통보일 경우는 교환기 소프트웨어를 변경시키기 위하여 시작되는 기능으로 교환기는 CDT(100)와 프로토콜(SFTP:Simple File Transfer Protocol)에 의하여 파일을 전송받기 시작한다. 각각의 파일의 송신을 완료할때마다 출력메시지부(11)로 메시지를 넘겨주어 출력메시지부(11)가 메시지를 출력하도록 한다.The file transmission / reception unit 10 analyzes the file transmission / reception start notification from the state control unit 2 to distinguish a file transmission or reception and perform a task. If the file transmission start notification is a function started to change the exchange software, the exchange starts to receive the file by the CDT 100 and the Simple File Transfer Protocol (SFTP). Each time the transmission of each file is completed, the message is delivered to the output message unit 11 so that the output message unit 11 outputs the message.

또 CDT(100)로 부터 파일 수신요구 메시지를 수신받으면 교환기는 디스크에 존재하는 파일 정보를 읽어 전송해 줄 파일 정보를 송신후 CDT(100)에서 파일 송신 준비완료 상태라고 판단되면 SFTP를 이용하여 파일 전송을 시작한다. 각각의 파일 전송을 완료할때마다 출력메시지부(11)로 메시지를 출력하여 수행내용을 출력한다.In addition, when receiving a file reception request message from the CDT 100, the exchange transmits file information to read and transmit file information existing on the disk. Start the transfer. Whenever each file transfer is completed, a message is output to the output message unit 11 to output the execution contents.

사용자 명령어부 및 출력메시지부(11)는 교환기 운용자로 부터 파일 송수신 요구 시작 또는 중지를 입력받아 파일 송수신부(10)로 전달하여 파일 송수신부(10)가 파일 송수신을 중지하도록 하거나 시작하도록 하는 기능을 갖고, 교환기 운용자가 현재 파일 송수신 정보나 상태 정보, 작업 정보의 출력 요구를 운용자 터미널(1)로 부터 수신하여 상태관리부 및 제어부(2)으로 전달하고, 상태처리부(2)에서 수신한 정보를 출력(1,12)한다.The user command unit and the output message unit 11 receives a file transmission / reception request start or stop from the exchange operator and transfers the file transmission / reception unit 10 to the file transmission / reception unit 10 to stop or start the file transmission / reception. The exchange operator receives a request for outputting current file transmission / reception information, status information, or job information from the operator terminal 1 to the status management unit and the control unit 2, and transmits the information received from the state processing unit 2 Output (1, 12).

도 2는 데이터링크 계층을 이용한 파일전송 방법에 관한 예시도이다. 본 발명에 따른 처리흐름을 나타내는 도 2는 도 2 내지 도 9를 참조하여 설명 한다.2 is an exemplary diagram of a file transfer method using a data link layer. 2 showing a process flow according to the present invention will be described with reference to FIGS.

본 발명의 데이터링크 계층을 이용한 파일전송 방법은 SFTP(Simple File Transfer Protocol)를 이용하며 파일 전송 프로토콜에 관하여 설명하면 아래와 같다. SFTP는 데이터링크 계층(RS-232C, Ethernet, Token Ring, 모뎀, 무선모뎀 등과 같이 한 시스템과 다른 시스템을 연결하여 data의 송수신을 허용하는 모든 link)에서 파일을 직접 송수신할 수 있는 프로토콜이다. 본 발명에 의하여, 데이터링크 계층에서 직접 송수신 데이터 포맷을 작성하여 사용하여 송수신 하며 신뢰할 수 있는 화일송수신 방법을 제공하는 SFTP 프로토콜은 데이터링크가 connectionless또는 connection-oriented 동작 모두를 가정하여 어떠한 데이터링크에서도 동작할 수 있는 방식으로, 신뢰할 수 있는 정보의 교환을 위해서 응용 프로그램에서 송수신된 패킷이 상대편에게 정확히 전달되도록 송수신시 각 패킷에 대한 응답(ACK)신호를 사용한다. 만일 송신한 패킷이 정확히 수신되었다는 신호를 받지 못하면 자동적으로 재전송을 수행한다.The file transfer method using the data link layer of the present invention uses the Simple File Transfer Protocol (SFTP) and the file transfer protocol will be described below. SFTP is a protocol that can directly send and receive files in the data link layer (all links that allow transmission and reception of data by connecting one system to another such as RS-232C, Ethernet, Token Ring, modem, and wireless modem). According to the present invention, the SFTP protocol which directly transmits and receives data formats by using the data link layer, provides a reliable file transmission method, and operates on any data link assuming that the data link is both connectionless and connection-oriented. In this way, in order to exchange reliable information, an ACK signal for each packet is used during transmission and reception so that packets transmitted and received by an application program are correctly transmitted to the other party. If the transmitted packet is not received correctly, retransmission is performed automatically.

또, SFTP는 파일전송을 신뢰성있게 수행하기 위하여 제어 신호 및 제어신호에 대한 응답신호로 구성되며 이를 도표화하면 이후에 설명될 도 3와 같다.In addition, SFTP is composed of a control signal and a response signal to the control signal in order to reliably perform file transfer, which is shown in FIG.

도 2에 있어서 START_XFER(파일 송수신 시작 메시지)(13)의 제어신호는 파일의 송수신 시작 및 송수신할 파일 정보를 송수신할 목적으로 사용하는 신호이다. 도 4에 나타나 있는 데이터의 구조를 통해 알 수 있는 바와 같이, 그 START_XFER(13)에 대한 승인 신호가, 정상적인 파일 송수신을 수행할수 있을경우에는 START_XFER_ACK(파일 송수신 시작 응답 메시지)(14)가 승인신호로 사용되고 그렇지 않을 경우엔 STOP_XFER(파일 전송 중지 메시지)(34)신호를 수신 받을수 있다.In Fig. 2, the control signal of the START_XFER (file transmission and reception start message) 13 is a signal used for the purpose of transmitting and receiving a file and for transmitting and receiving file information to be transmitted and received. As can be seen from the data structure shown in Fig. 4, when the acknowledgment signal for the START_XFER 13 is able to perform normal file transmission and reception, the START_XFER_ACK (file transmission and reception start response message) 14 receives the acknowledgment signal. If not, it can receive STOP_XFER (file transfer stop message) signal 34.

도 4의 제어신호 구조에서 신호종류(36)는 신호종류를 구분할수 있는 미리 정해진 값이며 전송 파일 종류(37)는 파일의 종류를 나타내는 값으로 교환기와 파일 송수신할때에는 교환기 실행프로그램, 메시지 관련 데이터 파일, 교환기 내부 데이터베이스와 관련된 데이터등으로 분류된다. 전송 파일 갯수(38)는 송수신할 파일의 갯수를 나타내는 값이며 송수신할 파일의 갯수가 8개 미만일경우에는 전송파일 종류(37)에 정해진 값으로 설정 후 파일이름(39)와 파일크기(40)에 순차적으로 파일 이름 및 크기 값을 설정한다. 압축파일 포함여부(41)는 교환기 프로그램중 압축한 파일을 포함하면 설정하고 그렇지 않으면 사용하지 않는 값이고 디렉토리는 교환기에서 CDT(100)로 파일 정보를 송신할 때 사용하는 값으로 CDT(100)내부의 특정 디렉토리를 칭하는 문자열이다. 또 제어신호의 신뢰성을 보장하기 위하여 제어신호는 신호자체의 데이터값의 합을 나타내는 체크섬(checksum)(43)을 표시한다.In the control signal structure of FIG. 4, the signal type 36 is a predetermined value that can distinguish the signal type, and the transmission file type 37 is a value indicating the type of the file. Files, data related to the exchange internal database, and so on. The number of files to be transmitted 38 is a value indicating the number of files to be transmitted and received. If the number of files to be transmitted and received is less than eight, the file name 39 and the file size 40 are set after setting the values to the file type 37 to be transmitted. Set file name and size values sequentially. Set whether to include the compressed file 41 is a value that is set when the compressed file includes the compressed file, otherwise it is not used, and the directory is a value used when transmitting file information from the exchange to the CDT 100. A string that refers to a specific directory in. In order to ensure the reliability of the control signal, the control signal displays a checksum 43 representing the sum of the data values of the signal itself.

제 3도의 NEW_FILE_XFER(신규 파일 전송 시작 메시지)(26) 신호는 파일 내용의 송신을 시작하기전 파일의 정보를 상대편에 통보하기 위한 제어 신호로 정상 파일 송수신이 가능하고 파일 정보를 정상적으로 수신하였으면 응답신호로 NEW_FILE_XFER_ACK(신규 파일 전송 시작 응답 메시지)(27)을 수신받고 상태편의 원인으로 파일 전송을 수행하지 못할 경우에는 상태편에서 송신하는 STOP_XFER(34)를 수신받을수 있다. NEW_FILE_XFER(26) 제어신호의 데이터 구조는 도 5도에 나타나있으며 제 5도에서 신호종류(44)는 NEW_FILE_XFER(26) 제어신호임을 나타내는 정해진 값이고 파일번호(45)는 파일 송수신 일련번호이며 파일 크기(46) 및 파일 버전명(47), 파일 이름(48)은 파일에 관한 정보이며 압축파일(49)는 압축 파일일 때 채우는 값이다. 또 제어신호의 무결성을 보장하기 위하여 checksum(50) 값을 둔다.NEW_FILE_XFER (New File Transfer Start Message) 26 of FIG. 3 is a control signal for notifying the other party of the file information before starting to transmit the contents of the file. If a NEW_FILE_XFER_ACK (new file transfer start response message) 27 is received and the file transfer cannot be performed due to the cause of the state side, the STOP_XFER 34 transmitted from the state side can be received. The data structure of the NEW_FILE_XFER (26) control signal is shown in FIG. 5, and in FIG. 5, the signal type 44 is a predetermined value indicating that it is a NEW_FILE_XFER (26) control signal, and the file number 45 is a file transmission / reception serial number and a file size. (46), the file version name 47, and the file name 48 are information about the file, and the compressed file 49 is a value to be filled in when the compressed file is a compressed file. In addition, the checksum (50) value is set to guarantee the integrity of the control signal.

제 3도의 XFER(파일 데이터 전송 메시지)(28) 제어 신호는 실제 파일의 내용을 전송할 때 전송하는 신호로 제 6도에서 나타낸 것 처럼 파일의 실제 데이터임을 나타내는 신호종류(51) 및 전송 시작이후 부터 누적된 일련번호를 나타내는 순서번호(52), 현재 전송되는 데이터의 크기를 나타내고 1에서 1024까지의 값을 갖는 크기(53), 파일의 내용을 최대 1024까지 전송하는 전송 데이터(55), 전송 데이터의 합을 표시하는 checksum(54)로 구성된다. 이 제어신호의 응답으로 XFER_ACK(파일 데이터 전송 응답 메시지)(29)를 수신받으며 비정상적인 경우에는 STOP_XFER(34)를 수신받을 수 있다.The XFER (file data transfer message) 28 control signal of FIG. 3 is a signal transmitted when the contents of the actual file are transmitted, and the signal type 51 indicating the actual data of the file as shown in FIG. A sequence number 52 representing the accumulated serial number, a size 53 representing the size of the currently transmitted data and having a value from 1 to 1024, transmission data 55 for transferring the contents of the file up to 1024, transmission data It consists of a checksum (54) indicating the sum of. In response to this control signal, XFER_ACK (file data transfer response message) 29 is received, and in abnormal cases, STOP_XFER 34 may be received.

제 3도의 ONE_FILE_END(신규 파일 전송 완료 메시지)(30) 신호는 한 개의 파일 전송이 끝난후 한 개 파일의 전송이 끝났음을 상대편에 통보하기 위한 신호로 이를 수신한 상태편은 ONE_FILE_END_ACK(신규 파일 전송 완료 응답 메시지)(31)을 수신받고 비정상적인 경우에는 STOP_XFER(34)를 수신받을수 있다. ONE_FILE_END(30) 제어신호의 구조는 도 7도에 나타나 있으며 제 7도의 신호종류(56)은 ONE_FILE_END(30) 신호임을 나타내는 값으로 채우고 상태(57)은 전송 결과를 표시하는 값으로 정해진 오류값으로 채운다.The ONE_FILE_END (new file transfer completion message) 30 signal of FIG. 3 is a signal for notifying the other party that one file transfer is completed after one file transfer is completed, and the received status is ONE_FILE_END_ACK (new file transfer completed). Response message) 31, and in case of abnormality, STOP_XFER 34 may be received. The structure of the ONE_FILE_END 30 control signal is shown in FIG. 7 and the signal type 56 of FIG. 7 is filled with a value indicating that it is a ONE_FILE_END 30 signal, and the state 57 is an error value determined as a value indicating a transmission result. Fill it.

제 3도의 END_XFER(파일 전송 완료 메시지)(32) 제어신호는 파일 송수신 작업이 모두 끝났음을 나타내는 신호로 이 신호는 END_XFER_ACK(파일 전송 완료 응답 메시지)(33) 이외의 응답신호는 수신받지 않는다.END_XFER(30) 신호는 신호종류(59) 및 checksum(60) 만으로 구성된다.The control signal of the END_XFER (file transfer completion message) 32 of FIG. 3 is a signal indicating that all the file transmission / reception operations are completed. This signal is not received a response signal other than the END_XFER_ACK (file transfer completion response message) 33.END_XFER (30) The signal consists only of the signal type 59 and the checksum 60.

위에서 설명한 제어신호 및 응답신호는 파일을 주고 받기 위하여 정해진 규칙을 가지며 SFTP 프로토콜은 제어신호 및 응답신호, 그리고 파일을 송수신하기 위하여 제어신호 및 응답신호의 순서가 결정되어 있는 프로토콜이다.The control signal and the response signal described above have a predetermined rule for sending and receiving a file, and the SFTP protocol is a protocol in which the control signal and the response signal and the order of the control signal and the response signal are determined to transmit and receive a file.

SFTP를 이용한 파일 송수신 과정을 상세히 설명하면 아래와 같다.The file transmission and reception process using SFTP will be described in detail below.

파일전송요구는 다음의 두 종류가 있을 수 있다. 제1의 방법은 시스템 A가 시스템 B의 요구로 파일전송을 하는 경우이고, 제 2의 방법은 시스템 A가 시스템 B에 자신이 파일을 보내겠다고 요구하는 경우이다. 제1의 방법의 경우는 시스템 B는 시스템 A에 파일 전송시작을 요구하면 시스템 A는 전송을 시작한다는 신호로 START_XFER(13)를 전송한다. 만일 시스템 A가 시스템 B의 요구를 수용할 수 없다면 STOP_XFER(34)로 응답한다. 제2의 방법의 경우는 시스템 A가 시스템 B의 요구 없이 파일을 전송하는 경우로 시스템 B가 START_XFER_ACK(14)로 응답하면 시스템 A는 다음의 단계로 천이할 수 있다. 만일 시스템 B가 파일을 수신할 수 없는 상태라면 STOP_XFER(34)로 응답할 수 있다. STOP_XFER(34)를 받은 시스팀은 STOP_XFER_ACK(35)를 전송하고 파일전송을 중지한다. 파일의 전송 중지요청은 시스팀 A또는 시스팀 B 모두 요청할 수 있다.There are two types of file transfer requests. The first method is a case where system A makes a file transfer at the request of system B, and the second method is a case where system A requests that system B send its own file. In the case of the first method, when system B requests file transfer start from system A, system A transmits START_XFER (13) as a signal to start the transfer. If System A cannot accept the request of System B, it responds with STOP_XFER (34). In the case of the second method, the system A transmits a file without the request of the system B. If the system B responds with a START_XFER_ACK 14, the system A may transition to the next step. If System B is unable to receive the file, it can respond with STOP_XFER 34. The system receiving the STOP_XFER (34) sends the STOP_XFER_ACK (35) and stops the file transfer. The request to stop the file transfer can be requested by both System A and System B.

START_XFER_ACK(14)를 받은 시스팀은 NEW_FILE_XFER(15)신호를 보냄으로서 새로운 파일이 전송됨을 상대편 시스팀에 알린다. 상대편 시스팀은 이신호에 NEW_FILE_XFER_ACK(16) 또는 STOP_XFER(34)로 응답한다. NEW_FILE_XFER_ACK(16)를 받은 시스팀은 XFER(17) 신호를 전송하여 전송할 파일의 데이터를 전송한다. 수신 시스팀은 XFER_ACK(18)를 보내어 수신된 데이터가 정확하다는 것을 송신측에 알린다. 이때도 수신측은 STOP_XFER(34)를 보내어 전송을 중지할 수 있다. STOP_XFER(34)를 받은 측은 즉시 STOP_XFER_ACK(35)로 응답하고 전송을 중지한다. 이과정은 현재 전송하는 의 송신이 끝날때까지 반복된다. 송신이 끝나면 ONE_FILE_END(19)신호를 수신측에 보내의 의 송신이 끝났슴을 알린다. 수신측은 정상적으로 수신이 되었다면 ONE_FILE_END_ACK(20)를 보내거나 STOP_XFER(34)를 전송할 수 있다.The system receiving the START_XFER_ACK (14) sends the NEW_FILE_XFER (15) signal to inform the other system that a new file is being sent. The opposing system responds to this signal with NEW_FILE_XFER_ACK (16) or STOP_XFER (34). The system that receives NEW_FILE_XFER_ACK (16) transmits the XFER (17) signal to transmit the data of the file to be transmitted. The receiving system sends XFER_ACK 18 to inform the transmitting side that the received data is correct. In this case, the receiving side may also send STOP_XFER 34 to stop the transmission. The side receiving the STOP_XFER 34 immediately responds with STOP_XFER_ACK 35 and stops the transmission. This process is repeated until the transmission of the current transmitting end. When the transmission is completed, the ONE_FILE_END (19) signal is sent to the receiver to indicate that the transmission of the has been completed. The receiving side may send ONE_FILE_END_ACK 20 or STOP_XFER 34 if it is normally received.

송신측은 송신할 다음 이 있는지 조사하여 송신할 이 있다면 다음 에 대한 NEW_FILE_XFER(21)신호를 수신측으로 전송한다. 이 과정은 전체 의 전송이 끝날때 까지 반복된다. 모든 의 전송이 성공적으로 이루어 지면 송신측은 END_XFER(22)를 전송하여 전송이 끝났슴을 수신단에 알리고, 수신단은 END_XFER_ACK(23)로 응답하거나 STOP_XFER(34)를 전송할 수 있다.The sender checks if there is a next time to send and sends a NEW_FILE_XFER (21) signal for the next time if there is a time to send. This process is repeated until the entire transfer is complete. If all of the transmissions are successful, the sender transmits END_XFER 22 to inform the receiving end that the transmission is completed. The receiving end can respond with END_XFER_ACK 23 or send STOP_XFER 34.

정상적으로 파일 송수신중 XFER(28) 신호의 전송데이터(55)를 수신하였다면 XFER_ACK(29)로 정상 수신을 통보하지만 데이터링크상의 결함이나 소프트웨어 오류, 대이터의 유실등으로 데이터를 수신하지 못하는 등의 오류가 발생할수 있다. 따라서 이런 원인에 의한 오류를 극복하기 위하여 아래와 같은 과정으로 오류를 보정한다.If the transmission data 55 of the XFER 28 signal is received during normal file transmission and reception, the XFER_ACK 29 notifies the normal reception, but the error such as a failure in data link, software error, loss of data, etc. May occur. Therefore, in order to overcome the error caused by this cause, the error is corrected by the following process.

수신측은 전송이 시작된 후 일정한 시간이 경과 후에도 다음 data가 오지 않거나 XFER(28) 신호의 순서번호(52)가 중복되거나 일련순서가 아니면 패킷의 손실로 간주하여 이전에 전송한 패킷을 한번 더 전송한다. 송신측은 수신된 패킷을 기준으로 다음에 전송 할 패킷을 결정한다. 하나의 의 수신이 완료된 경우(ONE_FILE_END(30)수신후) 수신측은 다음 을 전송하라는 의미로 ONE_FILE_END_ACK(31)를 전송한다. 이때 수신측이 현재 수신한 을 다시 수신하고 싶다면 ONE_FILE_END_ACK(31)의 상태(51) 필드를 1로 설정함으로써 재전송을 요구할 수 있다. 재전송은 일반 의 전송과 같은 과정을 따른다. 또한 송수신측 모두 어느때나 정지 이유를 설정하고, 전송의 중지를 요구할 수 있으며, STOP_XFER(34)를 수신한 측은 STOP_XFER_ACK(35)를 송신한 후 즉시 전송을 중지하게 된다.If the next data does not come after a certain time has elapsed since the transmission starts, or if the sequence number 52 of the XFER (28) signal is duplicated or not in the serial sequence, the receiver regards the packet as lost and transmits the previously transmitted packet once more. . The sender decides the next packet to transmit based on the received packet. When one reception is completed (after receiving ONE_FILE_END (30)), the receiver transmits ONE_FILE_END_ACK (31) to transmit the next. At this time, if the receiving side wants to receive the currently received, it may request retransmission by setting the state 51 field of the ONE_FILE_END_ACK 31 to 1. Retransmission follows the same process as normal transmission. In addition, both the transmitting and receiving sides can set the stop reason at any time and request the transmission to be stopped, and the side receiving the STOP_XFER 34 stops the transmission immediately after transmitting the STOP_XFER_ACK 35.

제 10는 부기능 이중화 처리를 예시한 도면이다.10 is a diagram illustrating sub-function duplication processing.

부기능 이중화 처리는 기존의 이중화 시스팀을 주기능 이중화 시스팀이라고 하면, 주기능 이중화 시스팀상에서 자체적인 이중화를 구현해야할 필요성이 있을 때 사용하는 방법으로 주기능의 이중화 상태에 따라 이중화 처리를 하는 기능이다.Sub-function duplication processing is used when the existing duplication system is called main function duplication system and needs to implement its own duplication on main function duplication system.

부기능 이중화처리 기능은 다음과 같이 이루어진다.Sub-function redundancy processing is as follows.

먼저 시스팀에 수신된 정보가 주기능 시스팀의 이중화 상태를 관리하는 정보인지 판단하여 주기능 시스팀의 이중화상태관리 정보가 아니면 무시한다(65). 만일 주기능시스팀의 이중화관리 정보이면 이전의 주기능 시스팀의 상태관리정보 데이터와 비교하여 주시스팀의 상태가 변경(66)되었는지 검사한다. 주 기능 시스팀의 상태정보가 변경되지 않았다면 현재 부기능 시스팀이 STANDBY모드로 동작(70)하는지 확인한다. 만일 현재 부기능 시스팀이 STANDBY모드가 아니면(ACTIVE모드) 부시스팀의 STANDBY모드에 현재의 부시스팀의 상태정보를 전송(71)한다. 현재 부기능 시스팀이 STANDBY모드이면 상태관리정보를 무시한다.First, it is determined whether the information received by the system is information that manages the redundancy status of the main function system, and if it is not the redundancy status management information of the main function system (65). If the redundant management information of the main function system is compared with the state management information data of the previous main function system, it is checked whether the state of the watchdog steam has been changed (66). If the status information of the main function system has not changed, check whether the current sub function system operates in STANDBY mode (70). If the current sub-function system is not in STANDBY mode (ACTIVE mode), the current bush steam status information is transmitted (71) to the STANDBY mode of the bush steam. Status management information is ignored if the current subsystem is in STANDBY mode.

주기능 시스팀의 상태정보가 변경되었다면 주기능 시스팀에 ACTIVE와 STANDBY시스팀 모두 존재(67)하는지 확인한다. 주기능 시스팀에 ACTIVE만 존재하면 현재 시스팀이 주기능 시스팀의 ACTIVE인지(68) 확인한다. 주기능 시스팀이 ACTIVE라면 부기능의 ACTIVE시스팀으로 설정(72)한다. 만일 현재 시스팀이 주기능 시스팀의 ACTIVE가 아니면 상태정보를 무시한다.If the status information of the main function system has changed, check that both the ACTIVE and STANDBY systems exist (67) in the main function system. If only the ACTIVE exists in the main function system, it verifies that the current system is ACTIVE of the main function system (68). If the main function system is ACTIVE, set it as the sub function ACTIVE system (72). If the current system is not the active system of the main function system, the status information is ignored.

주기능 시스팀에 ACTIVE와 STANDBY 시스팀 모두 존재하면 현재 시스팀이 주시스팀의 ACTIVE인지 조사(69)한다. 만일 현재 시스팀이 주기능 시스팀의 ACTIVE가 아니면 부기능의 ACTIVE로 설정(72)하고 부기능의 STANDBY 시스팀에 현재 부시스팀의 상태를 정보를 전송한다. 그러나 현재 시스팀이 주기능 시스팀의 ACTIVE이면 부기능의 STANDBY 시스팀(73)으로 설정한다.If both the ACTIVE and STANDBY systems exist in the main function system, the system checks whether the current system is the active team's activity (69). If the current system is not ACTIVE of the main function system, it is set as ACTIVE of the sub function (72) and the current status of the bush steam is transmitted to the STANDBY system of the sub function. However, if the current system is the ACTIVE of the main function system, it is set as the STANDBY system 73 of the sub function.

본 발명에 따른 교환기의 소프트웨어 전송 방법은 전자교환기(200) 소프트웨어 유지보수를 위하여 투입되는 인력 및 시간, 비용을 감소시키며 별도의 저장매체를 이용하여 주기적으로 교환기 소프트웨어나 데이터의 백업을 제작해야하는 번거로움울 줄일수 있는 잇점이 있다.The software transmission method of the exchange according to the present invention reduces the manpower, time and cost input for the electronic exchange 200 software maintenance, and hassle to make a backup of the exchange software or data periodically using a separate storage medium. There is an advantage to reduce wool.

본 발명은, 데이터 링크계층만이 구현된 단순한 네크워크 구조에서의 파일전송 방법과 이를 응용한 교환기 소프트웨어의 유지보수, 이중화로 설계된 시스팀에서 기존의 이중화에 종속적인 이중화 제어방식과 이를 응용한 교환기와 교환기에 연결된 외부장치의 이중화 제어방법이다. 이에 따라, 교환기 소프트웨어 및 데이터의 유지보수 비용을 절감하고 유지보수의 신뢰성과 신속성 및 서비스의 연속성을 확보하고 부수적으로 교환기 운용자들의 편리성을 도모한다.The present invention provides a file transfer method in a simple network structure in which only the data link layer is implemented, and a redundant control scheme dependent on existing redundancy in a system designed for maintenance and redundancy of the exchange software using the same, and an exchange and a switch using the same. Redundancy control method of external device connected to. This reduces maintenance costs of the exchange software and data, ensures reliability and speed of maintenance, continuity of service, and consequently promotes the convenience of exchange operators.

Claims (10)

교환기 소프트웨어 전송 방법에 있어서,In the exchange software transfer method, 과금전송장치(CDT; 100)와 전자 교환기(200)를 구비하는데, 상기 CDT(100)는 상기 전자 교환기(200)와 연결되어,And a charge transfer device (CDT) 100 and an electronic exchange 200, wherein the CDT 100 is connected to the electronic exchange 200, 사용자 명령 및 파일 송수신부(3)가 사용자 명령 및 파일을 송신 및 수신하는 단계;Transmitting and receiving a user command and file by the user command and file transmission / reception unit 3; GUI인터페이스(5) 에 의하여 사용자 명령 입출력기능을 하는 단계;Performing a user command input / output function by the GUI interface 5; 상기 송신 및 수신 메시지 처리부(7)를 구비하고, 상기 파일 송수신부(3) 및 상기 상태관리부(6)가 상기 (5) 및 상기(7)사이에서 (7)에 의하여 분석, 분리되어 전달된 데이터 패킷에따라 상태 패킷인경우 (6), 상태 패킷이외의 패킷인 경우 (3)이 기능을 하는 단계;The transmission and reception message processing unit 7 is provided, and the file transmission and reception unit 3 and the state management unit 6 are analyzed, separated, and transmitted between the (5) and the (7) by (7). (6) functioning in the case of a status packet according to the data packet, and (3) in the case of packets other than the status packet; 교환기O/S(9)가 제공하는 LAN 정합 기능을 이용하여 상태제어부(2)가 CDT(100)로부터 전달된 메시지중 상태관리에 관한 메시지를 전달하는 단계;Transmitting, by the state controller 2, a state management message among the messages transmitted from the CDT 100 by using a LAN matching function provided by the exchange O / S 9; 상기 상태처리부(2)로부터 파일 송수신 시작 통보를 분석하여 파일 송신이나 수신을 구별하여 파일 송수신부(10)에 의하여 작업을 수행할 데이터를 전달하는 단계; 및,Analyzing the file transmission and reception start notification from the state processor (2) to discriminate file transmission or reception and to transmit data to be performed by the file transmission / reception unit (10); And, 상기 O/S(9)로 부터 메시지를 수신받은 상태관리부 및 제어부(2)는 메시지 내용을 분석하여 정보의 변경 여부 등을 판단하는 단계;Receiving a message from the O / S (9), the state manager and the controller (2) analyzing the content of the message to determine whether or not to change the information; 사용자 명령어 및 출력 메시지 처리부(11)가 상기 상태 제어부(2) 및 상기 파일 송수신부(10)의 메시지를 받아 출력장치(1)과 (12)로 출력하는 단계; 및,A user command and output message processing unit (11) receiving the messages from the state control unit (2) and the file transceiving unit (10) and outputting them to the output devices (1) and (12); And, 상태변경 메시지를 출력하는 단계를 구비하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.And outputting a status change message. 제 1 항에 있어서,The method of claim 1, 상기 사용자 명령및 화일 송수신 단계에서 송신 및 수신 메시지 처리부(7)가 파일 송신 시작을 통보할 경우는 교환기 소프트웨어를 변경시키는 단계; 및,Changing the switch software when the transmission and reception message processing unit (7) notifies the start of file transmission in the user command and file transmission / reception step; And, 상기 교환기(200)는 CDT(100)와 SFTP 프로토콜에 의하여 파일을 전송받는 단계를 포함하는 것를 특징으로 하는 교환기 소프트웨어 전송 방법.The exchanger (200) is characterized in that it comprises the step of receiving a file by the CDT (100) and SFTP protocol. 제 1 항에 있어서,The method of claim 1, 상기 사용자 명령 및 파일 송수신부 단계에서 출력메시지부(11)는 교환기 운용자로 부터 파일 송수신 요구 시작 또는 중지를 입력받아 파일 송수신부(10)로 전달하여 파일 송수신부(10)가 파일 송수신을 중지하거나 시작하는 단계; 및,In the user command and file transmission / reception unit stage, the output message unit 11 receives a file transmission / reception request start or stop from the exchange operator and transfers the file transmission / reception unit 10 to the file transmission / reception unit 10 to stop transmission or reception of the file. Starting step; And, 각각의 파일의 송신을 완료할때마다 메시지를 출력하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.And outputting a message each time the transmission of each file is completed. 제 1 항에 있어서,The method of claim 1, 상기 사용자 명령을 입출력하는 단계에서 교환기(200)는 현재 파일 송수신 정보나 상태 정보, 작업 정보의 출력 요구를 운용자 터미널(1)로 부터 수신하여 상태관리부 및 제어부(2)로 전달하는 단계; 및,In the step of inputting and outputting the user command, the switch 200 receives a request for outputting current file transmission / reception information, status information and job information from the operator terminal 1 and transmits the request to the status manager and the controller 2; And, 상태처리부(2)에서 수신한 정보를 출력(1,12)하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.And (1, 12) outputting the information received by the state processor (2). 제 1 항에 있어서,The method of claim 1, 상기 상태관리부 및 제어부(2)는 메시지 내용을 분석하여 정보의 변경 여부 등을 판단하는 단계에서 전자교환기(200) 및 CDT(100)간에 존재하는 이중화 방식에 종속되어 자체적으로 이중화를 제어하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.The state management unit and the control unit 2 is dependent on the duplication method existing between the electronic exchange 200 and the CDT 100 in the step of analyzing the content of the message to determine whether the information changes, etc. And exchanger software transfer method. 제 1 항에 있어서,The method of claim 1, 상기 파일 송수신부(10)에 의하여 작업을 수행할 데이터를 전달하는 단계에서 CDT(100)나 교환기의 운용자 요구시, 또는 교환기 소프트웨어 및 데이터 보존을 위하여 실행하는 덤프작업시 CDT(100) 백업이나 교환기 소프트웨어의 변경을 실행하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.CDT 100 backup or exchange at the request of the operator of the CDT 100 or the exchange in the step of transferring the data to perform the operation by the file transmission and reception unit 10, or during the dump operation performed for the exchange software and data preservation And executing a change of the software. 제 1 항에 있어서,The method of claim 1, 상기 교환기와 CDT(100)간 파일의 송수신은 SFTP의 제어방식이고, 제어 메시지와 응답 메시지는 파일 송수신하는 단계를 포함하는 것을 특징으로 하는 교환기 소프트웨어 전송 방법.Transmitting and receiving of a file between the exchange and the CDT (100) is a control method of SFTP, the control message and the response message, characterized in that it comprises the step of transmitting and receiving the file, the software software. 부기능 이중화 처리에 있어서,In the sub-function duplication process, 시스팀에 수신된 정보가 주기능 시스팀의 이중화 상태를 관리하는 정보인지 판단하는 단계(스텝 65);Determining whether the information received by the system is information for managing the redundancy state of the main function system (step 65); 주기능 시스팀의 이중화상태관리 정보가 아니면 무시하는 단계(65);Disregarding the duplication status management information of the main function system (65); 만일 주기능시스팀의 이중화관리 정보이면 이전의 주기능 시스팀의 상태관리정보 데이터와 비교하여 주시스팀의 상태가 변경되었는지 검사하는 단계(66);If the redundant management information of the main function system, comparing the state management information data of the previous main function system to check whether the state of the watchdog steam has been changed (66); 주기능 시스팀의 상태정보가 변경되었다면 주기능 시스팀에 ACTIVE와 STANDBY시스팀 모두 존재하는지 확인하는 단계(67);If the status information of the main function system is changed, checking whether both the ACTIVE and STANDBY systems exist in the main function system (67); 주기능 시스팀에 ACTIVE와 STANDBY 시스팀 모두 존재하면 현재 시스팀이 주시스팀의 ACTIVE인지 조사하는 단계(69);If both the ACTIVE and STANDBY systems are present in the main function system, checking whether the current system is the active team's activity (69); 만일 현재 시스팀이 주기능 시스팀의 ACTIVE가 아니면 부기능의 ACTIVE로 설정하는 단계(72);If the current system is not the ACTIVE of the main function system, setting it to ACTIVE of the sub function (72); 부기능의 STANDBY 시스팀에 현재 부시스팀의 상태를 정보를 전송하는 단계(74);Transmitting information (74) of the status of the current bush steam to the STANDBY system of the sub function; 상기 조사단계(69)에서 ACTIVE 이면, 현재 시스팀이 주기능 시스팀의 ACTIVE이면 부기능의 STANDBY 시스팀으로 설정하는 단계(73); 및,Setting 73 as a sub function STANDBY system if the current system is ACTIVE if the current system is ACTIVE in the investigation step 69; And, 상태처리를 종료하는 단계(75)를 포함하는 것을 특징으로 하는 이중화 처리방법.And terminating the state processing (75). 제 8 항에 있어서,The method of claim 8, 상기 단계967)에서 주기능 시스팀에 ACTIVE만 존재하면 현재 시스팀이 주기능 시스팀의 ACTIVE인지 확인하는 단계(68);If only ACTIVE exists in the main function system in step 947), checking whether the current system is ACTIVE of the main function system (68); 주기능 시스팀이 ACTIVE라면 부기능의 ACTIVE시스팀으로 설정(72)하는 단계(72); 및,Setting 72 as the sub function ACTIVE system if the main function system is ACTIVE; And, 만일 현재 시스팀이 주기능 시스팀의 ACTIVE가 아니면 상태정보를 무시하는 단계를 포함하는 것을특징으로 하는 이중화 처리방법.If the current system is not the active system of the main function system, the duplication processing method comprising the step of ignoring the status information. 제 8 항에 있어서,The method of claim 8, 상기 단계(66)에서 주 기능 시스팀의 상태정보가 변경되지 않았다면 현재 부기능 시스팀이 STANDBY모드로 동작하는지 확인하는 단계(70);Checking whether the current sub function system is operating in the STANDBY mode if the state information of the main function system has not been changed in step 66; 만일 현재 부기능 시스팀이 STANDBY모드가 아니면(ACTIVE모드) 부시스팀의 STANDBY모드에 현재의 부시스팀의 상태정보를 전송하는 단계(71); 및,If the current sub-function system is not in the STANDBY mode (ACTIVE mode), transmitting the current bush steam status information to the STANDBY mode of the bush steam (71); And, 현재 부기능 시스팀이 STANDBY모드이면 상태관리정보를 무시하는 단계를 포함하는 것을 특징으로 하는 이중화 처리방법.If the current sub-function system is in STANDBY mode, the redundancy processing method comprising the step of ignoring the status management information.
KR1019980063781A 1998-12-31 1998-12-31 How to transfer switch software using LAN KR100279559B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980063781A KR100279559B1 (en) 1998-12-31 1998-12-31 How to transfer switch software using LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980063781A KR100279559B1 (en) 1998-12-31 1998-12-31 How to transfer switch software using LAN

Publications (2)

Publication Number Publication Date
KR20000047032A KR20000047032A (en) 2000-07-25
KR100279559B1 true KR100279559B1 (en) 2001-02-01

Family

ID=19570336

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980063781A KR100279559B1 (en) 1998-12-31 1998-12-31 How to transfer switch software using LAN

Country Status (1)

Country Link
KR (1) KR100279559B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010057838A (en) * 1999-12-23 2001-07-05 박종섭 Method for deleting and back-up charging file of billing mediation device in an exchange
KR100365796B1 (en) * 2000-08-17 2002-12-27 삼성전자 주식회사 User programming system for the key telephone system through the web server

Also Published As

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

Similar Documents

Publication Publication Date Title
US6438707B1 (en) Fault tolerant computer system
US5049873A (en) Communications network state and topology monitor
CA1313561C (en) Communications network state and topology monitor
JP2864741B2 (en) Communication system that guarantees data integrity
CN101621819A (en) Information synchronization detection method for active-standby switching interface module, network element system and link
EP0409604A2 (en) Processing method by which continuous operation of communication control program is obtained
KR100279559B1 (en) How to transfer switch software using LAN
CN112055088A (en) Optical gate-based file reliable transmission system and method thereof
EP0607660B1 (en) Data processing system
JP3371953B2 (en) USB network configuration system
JP3164147B2 (en) Network management device configuration information management method and managed device
Cisco CIP System Error Messages
Cisco CIP System Error Messages
Cisco CIP-ADAPTER to CIP-IPC_CBUS
JP3025732B2 (en) Control method of multiplex computer system
JP3101125B2 (en) Remote management system for image forming equipment
JP4128667B2 (en) Information backup system
KR100304364B1 (en) Method for operation and management data processing in switching system
CN113259404B (en) Industrial communication middleware based on TCP/IP protocol and use method thereof
KR100299057B1 (en) Method for ontrol data processing in switching system
JP3024556B2 (en) Revision number check system, revision number check device and revision number check method
EP0608605A1 (en) Communication handler for a data processing system
CN112235086A (en) Ethernet packet capturing device of VxWorks operating system based on upper computer storage
JPH0997237A (en) Input telegraphic message guaranteeing method for on-line transaction processing system
KR19980047753A (en) How to collect and manage faults

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: 20121101

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20131101

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee