KR20050023761A - method for upgrading device by using tftp in the system depending on manager's command - Google Patents

method for upgrading device by using tftp in the system depending on manager's command Download PDF

Info

Publication number
KR20050023761A
KR20050023761A KR1020030061158A KR20030061158A KR20050023761A KR 20050023761 A KR20050023761 A KR 20050023761A KR 1020030061158 A KR1020030061158 A KR 1020030061158A KR 20030061158 A KR20030061158 A KR 20030061158A KR 20050023761 A KR20050023761 A KR 20050023761A
Authority
KR
South Korea
Prior art keywords
upgrade
operator
processor
tftp
command
Prior art date
Application number
KR1020030061158A
Other languages
Korean (ko)
Inventor
윤선희
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020030061158A priority Critical patent/KR20050023761A/en
Publication of KR20050023761A publication Critical patent/KR20050023761A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE: A method for upgrading devices of an access gateway using the TFTP(Trivial File Transfer Protocol) on a system by operator commands is provided to permit a device processor of the system to perform upgrade as an operator directly issues an upgrade command in a remote place. CONSTITUTION: The operator in the remote place requests the upgrade through the operator command by connecting to the system(S61). A main processor of the system receiving an upgrade request analyzes the operator command and transfers analyzed operator request information to the corresponding device processor(S62). The processor device requests an upgrade file requested from the operator to the main processor by operating the TFTP(S63). The main processor performs the upgrade by transferring the upgrade file to the device processor through the TFTP(S64).

Description

운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법{method for upgrading device by using tftp in the system depending on manager's command}Method for upgrading device by using tftp in the system depending on manager's command}

본 발명은 시스템에서 디바이스들을 업그레이드하는 방법에 관한 것으로, 특히 엑세스 게이트웨이와 같은 시스템에서의 디바이스들을 업그레이드하는 경우 운용자 명령어 하나로 여러 디바이스들을 업그레이드 할 수 있게 하는 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법에 관한 것이다.The present invention relates to a method for upgrading devices in a system, and in particular, when upgrading devices in a system such as an access gateway, a device upgrade using a TIF in a system by an operator command that enables multiple devices to be upgraded with one operator command. It is about a method.

종래에 시스템에서 디바이스를 업그레이드하는 방법은 시스템이 있는 현지에 직접 가서 사용자 PC를 시스템에 연결하여 디바이스들을 업그레이드하는 방법을 이용하고 있다.Conventionally, a method of upgrading a device in a system uses a method of upgrading devices by directly going to a site where a system is located and connecting a user PC to the system.

도 1은 종래에 시스템의 디바이스들을 업그레이드하는 방법을 위한 이해도인데, 이를 참조하여 디바이스들을 업그레이드하는 방법에 관한 실시예를 상세히 설명한다.1 is a prior art understanding of a method for upgrading devices of a system, with reference to this will be described in detail an embodiment of a method for upgrading devices.

운용자가 직접 시스템이 설치된 현지에 가서 업그레이드를 할 디바이스 프로세서(1)에 운용자 PC(3)를 연결하여 업그레이드를 할 수 있다. 즉, 운용자 PC(3)에 업그레이드 할 Firmware를 저장했다가 업그레이드가 되어야 할 디바이스 프로세서(1)에 연결하여 직접 업그레이드를 해 주는 것이다. The operator can upgrade by connecting the operator PC (3) to the device processor (1) to be upgraded by going directly to the site where the system is installed. In other words, the firmware to be upgraded is stored in the operator PC 3 and connected directly to the device processor 1 to be upgraded.

상기 방법으로 업그레이드를 한다면, 운용자가 업그레이드를 할 디바이스 프로세서(1)를 각각 찾아서 직접 모두 개별적으로 운용자 PC(3)를 연결하여 직접 업그레이드를 하여야 한다.When upgrading in the above manner, the operator must find the device processor (1) to be upgraded, and each must directly upgrade by connecting the operator PC (3) individually.

또, 시스템 운용자가 디바이스 프로세서(시스템 클라이언트)(1)에 새로운 버젼의 Firmware가 필요하다고 인정되는 경우 디바이스 프로세서(1)에 수동으로 직접 tftp의 구동을 시작해야 한다고 디바이스 프로세서(시스템 클라이언트)(1)에 알린 후에야 비로소 메인 프로세서(시스템 서버)(2)와 tftp를 통하여 업그레이드를 한다.In addition, when the system operator is deemed that a new version of the firmware is required for the device processor (system client) 1, the device processor (system client) (1) should manually start tftp directly to the device processor (1). Only after it is notified will you upgrade via the main processor (system server) (2) and tftp.

이 경우, 시스템 운영자로부터 수동으로 tftp 구동을 시작한 디바이스 프로세서(시스템 클라이언트)(1)는 메인 프로세서(시스템 서버)(2)에게 RRQ나 WRQ를 요청을 한다.In this case, the device processor (system client) 1, which has manually started tftp operation from the system operator, requests the main processor (system server) 2 for RRQ or WRQ.

그러면, 메인 프로세서(시스템 서버)(2)는 해당 데이터를 보내거나 에러 메시지를 디바이스 프로세서(시스템 클라이언트)(1)에게 보내고, 클라이언트는 다시 수신한 것에 대한 답으로 해당 데이터를 메인 프로세서(시스템 서버)에게 전송을 한다. 이와 같은 메인 프로세서와 디바이스 프로세서간의 송수신은 해당 전송 블록이 끝날 때까지 반복을 하고 디바이스 프로세서의 업그레이드를 마친다.Then, the main processor (system server) 2 sends the data or sends an error message to the device processor (system client) 1, and the client sends the data in response to receiving it again. Send to. The transmission and reception between the main processor and the device processor is repeated until the end of the corresponding transport block and the device processor is upgraded.

이상과 같이 종래에는 시스템의 디바이스 프로세서를 업그레이드를 하고자 하는 경우는 디바이스 프로세서에 수동으로 포트를 연결하여 tftp를 하는 문제점이 발생을 한다.As described above, when a device processor of a system is to be upgraded, a problem of tftp is generated by manually connecting a port to the device processor.

한편, 다른 시스템과 다르게 엑세스 게이트웨이 시스템에서는 디바이스 프로세서에서 자동으로 메인 프로세서에게 새로운 버젼의 firmware를 요청한다는 것은 문제가 있고, 운용자가 새로운 버젼의 firmware가 필요하다고 판단했을 경우에는 디바이스 프로세서에 수동으로 직접 tftp의 구동을 시작해야 한다고 디바이스 프로세서에게 알린 후 비로소 tftp를 구동하는 불편한 점이 있다.On the other hand, unlike other systems, the access gateway system has a problem that the device processor automatically requests a new version of firmware from the main processor, and if the operator determines that a new version of firmware is required, the user manually manually tftps the device processor. It is inconvenient to run tftp after notifying the device processor that it should start running.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 제안된 것으로서, 원격에서 운용자가 운용자 명령어를 이용하여 직접 업그레이드 명령을 내리고 이에 따라 시스템의 디바이스 프로세서가 업그레이드를 할 수 있게 하는 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법을 제공함에 그 목적이 있다.The present invention has been proposed in order to solve the above-mentioned conventional problems, and in the system by the operator command to remotely issue an upgrade command directly by the operator using the operator command and accordingly allow the device processor of the system to upgrade. An object of the present invention is to provide a device upgrade method using TIF.

상기와 같은 기술적 과제를 해결하기 위하여 제안된 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법의 구성수단은,In order to solve the above technical problem, the constituent means of the device upgrade method using TIF in the system by the operator's command proposed by the present invention,

시스템에 실장된 디바이스들의 업그레이드 방법에 있어서,In the upgrade method of devices mounted in the system,

운용자가 원격지에서 시스템에 접속을 하여 운용자 명령어를 통해 업그레이드를 요청하는 1단계와;A first step in which an operator accesses a system from a remote place and requests an upgrade through an operator command;

상기 업그레이드 요청을 받은 시스템의 메인 프로세서가 운용자 명령어를 분석하여 해당 디바이스 프로세서에게 분석된 운용자 요청 정보를 전달하는 2단계와;A second step of analyzing, by the main processor of the system receiving the upgrade request, the operator command and delivering the analyzed operator request information to the corresponding device processor;

상기 운용자 요청 정보를 전달받은 시스템의 디바이스 프로세서가 tftp를 구동하여 메인 프로세서에게 운용자가 요구한 업그레이드 파일을 요청하는 3단계와;A step 3 of requesting, by the device processor of the system receiving the operator request information, an upgrade file requested by the operator from the main processor by running tftp;

상기 메인 프로세서가 업그레이드 파일을 tftp를 이용하여 디바이스 프로세서에게 전달하여 업그레이드하는 4단계;를 포함하여 이루어진 것을 특징으로 하고,And transmitting, by the main processor, the upgrade file to the device processor using tftp to upgrade.

상기 디바이스의 업그레이드가 완료되면 메인 프로세서가 운용자에게 업그레이드 완료 메시지를 전달하는 단계를 더 포함하여 이루어진 것을 특징으로 하고,When the upgrade of the device is completed, characterized in that the main processor further comprises the step of delivering an upgrade completion message to the operator,

상기 디바이스를 업그레이드하는 4단계는, Step 4 of upgrading the device,

디바이스 프로세서의 요청에 따라 메인 프로세서가 메모리 내의 업그레이드 파일을 찾아 읽어들이는 과정과, 상기 업그레이드 파일을 디바이스 프로세서에 전달하는 과정과, 상기 업그레이드 파일로 해당 디바이스를 업그레이드하는 과정을 포함하여 이루어진 것을 특징으로 하고,At the request of the device processor, the main processor searches for and reads the upgrade file in the memory, transferring the upgrade file to the device processor, and upgrading the device with the upgrade file. and,

상기 업그레이드 파일을 메인 프로세서가 디바이스 프로세서에 전달하는 과정에서 장애 발생으로 전달이 되지 못하는 경우, 디바이스 프로세서가 업그레이드 프로세서에게 에러 메시지를 전달하는 것을 특징으로 하고,When the upgrade file is not delivered due to a failure while the main processor delivers the upgrade file to the device processor, the device processor delivers an error message to the upgrade processor.

상기 운용자 명령어에는, 시스템 ID, 쉘프 ID, 업그레이드 파일명, 슬롯 위치값, 보드타입에 대한 정보를 포함하는 것을 특징으로 하고,The operator command includes a system ID, a shelf ID, an upgrade file name, a slot position value, and information about a board type.

상기 운용자 명령어 중 보드타입은, 운용자 명령어의 오류 여부를 판단하는데 사용되고, 운용자 명령어에 선택적으로 포함되는 것을 특징으로 한다.The board type of the operator command is used to determine whether an operator command is an error, and is selectively included in the operator command.

이하, 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법에 관한 바람직할 실시예를 상세히 설명한다.Hereinafter, a preferred embodiment of a device upgrade method using TFT in the system according to the present inventor's command will be described in detail.

우선 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법의 구성도를 보여주는 도 2의 (a)를 참조하여 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법에 관한 구성요소들과 이들의 작동에 대해서 간단히 살펴보고 계속해서 실시예를 설명한다.First, with reference to (a) of FIG. 2, which shows a block diagram of a device upgrade method using a TIF in a system according to the present inventor's command, the components of the device upgrade method using a TFT in the system according to the present inventor's command The following briefly discusses and their operation and describes the embodiment.

먼저, 시스템 운용자에 의해 시스템의 디바이스들을 업그레이드하는 경우, 도 2의 (a)에서 보여주는 것처럼 각 종 시스템 또는 수개의 엑세스 게이트웨이의 디바이스들이 업그레이드 대상이 될 수 있다. 그러나 각 시스템의 디바이스들을 업그레이드하는 방법을 동일하므로 이하에서는 하나의 시스템(시스템 1)에 대한 업그레이드 방법을 설명한다.First, when upgrading devices of the system by the system operator, devices of various systems or several access gateways may be upgraded as shown in FIG. However, since the method of upgrading the devices of each system is the same, the following describes an upgrade method for one system (System 1).

시스템 운용자(10)는 직접 해당 시스템이 설치된 현지를 가지 않고 원격에서 시스템(엑세스 게이트웨이 등)의 디바이스 프로세서(30)들을 업그레이드를 하기 위해 명령을 하는 역할을 하며, 이때 미리 정해진 MMS(운용자 명령어)를 이용하여 업그레이드 명령을 한다.The system operator 10 performs a command to upgrade the device processors 30 of the system (access gateway, etc.) from a remote location without directly installing the corresponding system. In this case, a predetermined MMS (operator command) is executed. Use the upgrade command.

메인 프로세스(20)는 원격에 있는 운용자(10)로부터 MMS(운용자 명령어)를 전달받아 이를 분석하여 해당 디바이스 프로세서(시스템 클라이언트)(30)에게 분석한 내용(업그레이드 파일명 등)을 전달하고, 디바이스 프로세서(시스템 클라이언트)(30)로부터 업그레이드 파일 요청이 있는 경우에는 해당 파일을 메모리에서 찾아서 내려주는 작동을 한다.The main process 20 receives an MMS (operator command) from the remote operator 10 and analyzes the received MMS (operator command) and transmits the analyzed content (upgrade file name, etc.) to the corresponding device processor (system client) 30, and the device processor. When there is a request for an upgrade file from the (system client) 30, the file is searched for from the memory and then lowered.

디바이스 프로세서(30)는 새로운 버젼의 firmware로 업그레이드 될 구성요소이다. 이는 메인 프로세서(20)에게 tftp를 구동하여 필요한 파일을 내려받아 업그레이드를 하며 시스템의 클라이언트(30)로서 작동을 한다.The device processor 30 is a component to be upgraded with a new version of firmware. It runs tftp to the main processor 20, downloads the necessary files, upgrades, and operates as a client 30 of the system.

메모리(40)는 각 종 시스템의 디바이스들을 위한 프로그램들을 저장하고 있는 저장 수단이다. 즉, 업그레이드 파일들을 저장하고 있다가 운용자에 의하여 업그레이드 명령이 있는 경우 해당 파일이 업그레이드 대상인 디바이스에 전달이 된다. The memory 40 is a storage means for storing programs for devices of various systems. That is, the upgrade files are stored, and if there is an upgrade command by the operator, the file is delivered to the device to be upgraded.

한편, 상기 메모리에 저장이 되어 있는 각 종 업그레이드 파일들은 EMS(50)에 의해 관리되고 제공된다. 즉, EMS는 시스템 내에서 필요로 하는 각종 펌웨어를 망을 통하여 시스템에 전달하게 되고, 이 전달받은 펌웨어는 시스템 메모리에 저장되고 있다가 시스템 업그레이드 요청이 있는 경우 이를 제공된다. Meanwhile, various upgrade files stored in the memory are managed and provided by the EMS 50. That is, the EMS delivers various firmware required in the system to the system through the network, and the received firmware is stored in the system memory and provided when a system upgrade request is requested.

디바이스 프로세서(시스템 클라이언트)(30)는 tftp를 이용하여 메인 프로세서(시스템 서버)(20)로부터 업그레이드 파일을 내려받게 되는데, 이 tftp는 ftp 일종으로 ftp보다 단순하고 작은 코드만으로 구현되도록 설계되며 디스크 없는 시스템에서 운영 체제 이미지를 다운로드하는 프로토콜로써 흔히 사용되어지는 것이다.The device processor (system client) 30 downloads the upgrade file from the main processor (system server) 20 by using tftp. This tftp is a type of ftp that is designed to be implemented with simpler and smaller code and is diskless. It is commonly used as a protocol to download operating system images from a system.

기존 ftp 서버에서 파일에 접속하기 위해서는 사용자 계정과 암호가 필요하지만 tftp 서버는 이런 계정과 암호가 없이 파일에 접근할 수 있어 기존 ftp 서버보다 간단하게 파일을 전달할 수 있으므로 소프트웨어 자동 업그레이드 방식에 적당하다고 할 것이다.A user account and password are required to access files from the existing ftp server, but the tftp server can access files without these accounts and passwords, making it easier to transfer files than the existing ftp server. will be.

한편, 업그레이드될 디바이스는 운용자 명령어에 의하여 구체적으로 정해지는데, 도 2의 (b)에서처럼 시스템 클라이언트는 수개의 쉘프(도면에서는 3개의 쉘프로 구성됨)로 이루어져 있고, 각 쉘프는 수개의 슬롯(도면에서는 5개의 슬롯으로 구성됨)으로 구성되어 있으며, 각 슬롯은 각각의 해당 타입을 가지는 보드로 구성되어 있는 것이다. On the other hand, the device to be upgraded is specifically determined by the operator command. As shown in FIG. It consists of five slots), and each slot is composed of boards having their respective types.

상기와 같은 작용을 하는 구성요소로 이루어진 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법의 동작 절차에 대하여 도 3을 참조하여 설명하면 다음과 같다.An operation procedure of the device upgrade method using TIF in the system according to the present invention, which is an operator command having the above-described components, will be described with reference to FIG. 3.

시스템 운용자는 운용자 명령어를 통해 업그레이드를 요청한다. 즉, 운용자는 시스템 디바이스 프로세서(시스템 클라이언트)를 업그레이드하기 위해 운용자 명령어(MMS)를 입력하는 방법으로 업그레이드를 요청을 시스템에 전송한다(S61).The system operator requests the upgrade through the operator command. That is, the operator sends an upgrade request to the system by inputting an operator command (MMS) to upgrade the system device processor (system client) (S61).

상기 시스템 운용자로부터 업그레이드 요청을 받은 시스템의 메인 프로세서는 운용자 명령어를 분석하여 분석된 운용자 요청 정보를 디바이스 프로세서에게 전달을 하게 된다. 상기 메인 프로세서는 전달 받은 운용자 명령어를 통하여 업그레이드 대상이 되는 디바이스를 알아내어 해당 디바이스 프로세서에게 운용자 요청 정보를 전달하는 것이다(S62).The main processor of the system receiving the upgrade request from the system operator analyzes operator commands and delivers the analyzed operator request information to the device processor. The main processor detects a device to be upgraded through the received operator command and delivers operator request information to the corresponding device processor (S62).

상기 메인 프로세서로부터 운용자 요청 정보를 전달 받은 디바이스 프로세서는 tftp를 구동하여 메인 프로세서에게 업그레이드 파일을 요청한다. 즉, 운용자가 원격에서 운용자 명령에 의해 시스템 업그레이드 요청하면, 업그레이드 대상이 되는 디바이스 프로세서에서 펌웨어를 전달받아 업그레이드를 하기위해 tftp를 구동하게 되는 것이다(S63).The device processor, which receives the operator request information from the main processor, drives tftp to request an upgrade file from the main processor. That is, when an operator requests a system upgrade remotely by an operator command, the driver receives t firmware from the device processor to be upgraded and drives tftp to upgrade (S63).

상기 디바이스 프로세서의 요청에 따라 메인 프로세서가 업그레이드 파일을 tftp를 이용하여 디바이스 프로세서에게 전달하여 업그레이드를 하게 된다(S64). In response to the request of the device processor, the main processor transfers the upgrade file to the device processor using tftp for upgrade.

다음은, 상기와 같은 작동 절차를 가지는 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법에 관한 구체적인 절차 흐름도를 보여주는 도 4를 참조하여 바람직한 실시예를 설명한다.Next, a preferred embodiment will be described with reference to FIG. 4, which shows a detailed flowchart of a device upgrade method using TIF in a system according to the present invention.

먼저, 원격에서 시스템의 디바이스 프로세서(시스템 클라이언트)를 업그레이드를 하기 위해 시스템 운용자는 운용자 PC에서 통신 소프트웨어를 실행하여 시스템에 접속을 시도한다(S71). 이때의 접속은 TCP를 통해서 원격지에 있는 시스템의 IP 어드레스와 미리 약속된 통신 포트로 접속을 한다. First, in order to remotely upgrade the device processor (system client) of the system, the system operator attempts to access the system by executing communication software on the operator PC (S71). At this time, the connection is made through TCP to the IP address of the remote system and the communication port previously reserved.

상기 운용자 PC와 시스템간에 접속이 이루어지면 시스템 운용자는 시스템 디바이스 프로세서(시스템 클라이언트)를 업그레이드하기 위한 운용자 명령어(MMS)를 입력하는 방법으로 업그레이드를 요청 정보를 시스템에 전송한다(S72).When a connection is made between the operator PC and the system, the system operator transmits the upgrade request information to the system by inputting an operator command (MMS) for upgrading the system device processor (system client) (S72).

상기 운용자 명령어는 [(SYS, SID), FNAME, CID, DEV]의 형태로 입력이 되는데 SYS는 시스템 ID를 의미하고, SID는 쉘프 ID를 의미하고, FNAME은 업그레이드 파일명을 의미한다. 그리고 CID는 슬롯의 위치값을 나타내고, DEV는 보드 타입을 나타내는 명령어이다. 이와 같이 업그레이드될 시스템 클라이언트 정보와 펌웨어에 대한 정보를 운용자 명령어를 통하여 시스템 클라이언트에게 전달하게 된다. 한편, 상기 FNAME에는 업그레이드 파일의 이름, 버젼 그리고 보드 타입을 포함하고, 슬롯의 위치값은 시스템 클라이언트의 쉘프내 보드의 위치 정보를 나타낸다. The operator command is input in the form of [(SYS, SID), FNAME, CID, DEV], where SYS stands for system ID, SID stands for shelf ID, and FNAME stands for upgrade file name. The CID indicates the position value of the slot and the DEV indicates the board type. As such, the information about the system client and the firmware to be upgraded is transmitted to the system client through an operator command. On the other hand, the FNAME includes the name, version and board type of the upgrade file, the position value of the slot indicates the position information of the board in the shelf of the system client.

한편, 보드 타입은 운용자 명령어가 오류인지를 판단하기 위하여 사용되어 지는데, 운용자 명령어에 DEV가 보드 타입을 나타내고 FNAME에 보드 타입 정보를 포함하고 있으므로 이 두개의 정보를 비교하여 운용자 명령어가 오류인지를 판단할 수 있는 것이다. 따라서, 특별히 운용자 명령어가 오류인지를 판단하지 않거나 판단이 불필요할 때에는 운용자 명령어에 DEV를 포함하지 않아도 된다. 즉, DEV는 운용자 명령어에 선택적으로 포함시킬 수 있다.On the other hand, the board type is used to determine if an operator command is an error. Since DEV indicates a board type in the operator command and includes board type information in the FNAME, the board type is compared to determine whether the operator command is an error. You can do it. Therefore, it is not necessary to include DEV in the operator command especially when it is not determined whether the operator command is an error or when the judgment is unnecessary. That is, DEV can optionally be included in operator commands.

상기 업그레이드 요청 정보를 담고 있는 운용자 명령어를 전송 받은 시스템의 메인 프로세서(시스템 서버)는 이를 분석을 한다(S73). 분석 결과 운용자 명령어에 DEV가 포함되어 있는 경우에는 운용자 명령어가 옳은지(오류가 있는지) 판단을 하여 오류가 있는 경우에는 오류(에러) 메시지를 시스템 운용자에게 전달을 하여 옳은 운용자 명령어를 요청을 하게 되는 것이고(S74, S75), 운용자 명령어가 옳은 경우에는 업그레이드 요청 정보를 시스템 클라이언트에게 전달한다. 전달될 분석된 명령어의 내용은 업그레이드 파일명, 슬롯 위치값, 보드 타입 등이 포함되어 있을 것이다(S74, S76).The main processor (system server) of the system that receives the operator command containing the upgrade request information analyzes it (S73). As a result of analysis, if DEV is included in the operator command, it is determined whether the operator command is correct (if there is an error). If there is an error, an error (error) message is transmitted to the system operator to request the correct operator command. If the operator command is correct (S74, S75), the upgrade request information is transmitted to the system client. The contents of the analyzed command to be delivered will include the upgrade file name, slot location value, board type, etc. (S74, S76).

상기 운용자 명령어를 분석한 메인 프로세서(시스템 서버)는 분석된 내용(업그레이드 요청 정보)을 해당 디바이스 프로세서(시스템 클라이언트)에게 SNMP를 통해서 전달한다(S64). SNMP(Single Network Management Protocol)는 네트워크 관리 도구로서 관리 기능 중에 자동 업그레이드 기능이 있다.The main processor (system server) analyzing the operator command transmits the analyzed content (upgrade request information) to the corresponding device processor (system client) through SNMP (S64). SNMP (Single Network Management Protocol) is a network management tool with automatic upgrade among management functions.

상기 운용자의 업그레이드 요청 정보를 전달받은 디바이스 프로세서(시스템 클라이언트)는 업그레이드 파일을 내려받기 위하여 tftp를 구동하기 시작하고 메인 프로세스(시스템 서버)에게 운용자가 요구한 업그레이드 파일을 요청을 한다. 즉, RRQ(Read Request) 신호를 보내어 전송받을 파일명과 데이터 전송 방식(모드 타입)에 관한 정보를 전송한다. 모드 타입이란 데이터 송수신을 아스키로 할 것인가 바이너리(binary)로 할 것인가를 결정하는 정보이다(S77, S78).The device processor (system client) receiving the upgrade request information of the operator starts to run tftp to download the upgrade file and requests the main process (system server) for the upgrade file requested by the operator. That is, it sends a read request (RRQ) signal and transmits a file name to be transmitted and information on a data transmission method (mode type). The mode type is information for determining whether to transmit or receive data to ASCII or binary (S77, S78).

그런 다음, 상기 메인 프로세서(시스템 서버)는 운용자가 요청한 업그레이드 파일을 메인 프로세서(시스템 서버)의 디스크(메모리)에서 찾아 읽어들인 후, tftp를 이용하여 디바이스 프로세서(시스템 클라이언트)에게 상기 업그레이드 파일을 전송하게 된다(S79, S80). 한편, 상기 메모리에 저장되어 있는 업그레이드 파일은 EMS에 의해 관리되고 시스템에 필요한 펌웨어들은 망을 통하여 EMS로부터 전달받아 시스템 주 메모리에 저장을 한다.Then, the main processor (system server) finds and reads the upgrade file requested by the operator from the disk (memory) of the main processor (system server), and transmits the upgrade file to the device processor (system client) using tftp. (S79, S80). On the other hand, the upgrade file stored in the memory is managed by the EMS and the firmware required for the system is received from the EMS through the network and stored in the system main memory.

상기와 같이 업그레이드 파일은 메인 프로세서로부터 디바이스 프로세서로 전송이 이루어 지는데, 이때 파일 전송은 파일 전송이 완료될 때까지 512 바이트씩 이루어진다. 상기 파일 전송 과정에서 장애 발생으로 업그레이드 파일이 전송되지 않으면 디바이스 프로서세는 상기 메인 프로세서에게 전송 에러를 알려주기 위하여 에러 메시지를 전달을 한다.As described above, the upgrade file is transferred from the main processor to the device processor. In this case, the file transfer is performed by 512 bytes until the file transfer is completed. If the upgrade file is not transmitted due to a failure in the file transfer process, the device process transmits an error message to inform the main processor of the transmission error.

상기 디바이스 프로세서(시스템 클라이언트)에서 업그레이드 파일을 다 내려받으면 업그레이드 대상이 되는 해당 디바이스는 새로운 업그레이드 파일로 업그레이드된다(S81). When the upgrade file is downloaded from the device processor (system client), the corresponding device to be upgraded is upgraded to a new upgrade file (S81).

상기와 같이 해당 디바이스에 대하여 업그레이드가 완료되면 메인 프로세서(시스템 서버)는 운용자에게 업그레이드가 완료되었음을 알리는 메시지를 전달함으로써 해당 디바이스에 대한 업그레이드가 완료되는 것이다(S82).When the upgrade is completed for the corresponding device as described above, the main processor (system server) transmits a message indicating that the upgrade is completed to the operator, thereby completing the upgrade for the corresponding device (S82).

다음은, 파일 전송에 따른 절차에 대해 이해를 돕고자 도 5를 참조하여 메인 프로세서와 디바이스 프로세서간의 데이터 송수신에 관한 흐름을 간략히 살펴본다.Next, the flow of data transmission and reception between the main processor and the device processor will be briefly described with reference to FIG. 5 to help understand the procedure of file transfer.

먼저, 운용자 명령어를 분석한 메인 프로세서는 디바이스 프로세서에게 운용자 요청 정보를 전달하게 되는데, 전달되는 정보는 펌웨어 이름과 버젼 그리고 보드 타입 정보를 포함하고 있는 화일명(운용자 명령어 중 FNAME에 해당)과 슬롯 위치 값과 보드 타입에 관한 것이다.First, the main processor that analyzes the operator instructions sends the operator request information to the device processor, which includes the firmware name and version, and the file name (corresponding to the FNAME among the operator instructions) and the slot position value. And board type.

상기 운용자 요청 정보를 전달받은 디바이스 프로세서는 tftp를 구동하고 메인 프로세서에게 RRQ 신호를 전달하게 되는데, 이 RRQ에는 업그레이드 파일 이름과 모드 타입(아스키 또는 바이너리)에 관한 정보를 담고 있다.The device processor receiving the operator request information runs tftp and transmits an RRQ signal to the main processor. The RRQ includes information about an upgrade file name and a mode type (ascii or binary).

상기 RRQ 신호를 전달받은 메인 프로세서는 RRQ의 정보를 해독하여 해당 업그레이드 파일을 메모리로부터 찾아 읽어들여 한번에 512 바이트씩 해당 모드 타입으로 디바이스 프로세서에게 전달을 하다.The main processor, having received the RRQ signal, decodes the information of the RRQ, finds and reads the upgrade file from the memory, and transfers the upgrade file to the device processor 512 bytes at a time.

상기 업그레이드 파일 전송이 완료될 때까지 메인 프로세서와 디바이스 프로세서는 본 발명에 따른 데이터 송수신의 수행과정을 보여주는 구성도인 도 5에서 보여주는 것처럼 해당 신호를 전송을 하게 되는데, 구체적으로 디바이스 프로세서는 해당 데이터가 성공적으로 수신이 된 경우에는 Ack 신호를 메인 프로세서에게 전달하고, 수신이 실패한 경우에는 Error 메시지를 전달하여 해당 데이터 재전송을 요구한다. 한편, 메인 프로세서는 상기 디바이스 프로세서로부터 Ack 신호를 받은 경우에는 다음 해당 데이터를 전송을 하고, 디바이스 프로세서로부터 Ack 신호 또는 Error 메시지를 받지 못한 경우에는 데이터 전송을 할 수 없다는 Error 메시지를 디바이스 프로세서에게 전달을 하게 되는 과정을 수행한다.Until the upgrade file transmission is completed, the main processor and the device processor transmit a corresponding signal as shown in FIG. 5, which is a block diagram showing a process of performing data transmission and reception according to the present invention. If the reception is successful, Ack signal is transmitted to the main processor. If reception fails, an error message is sent to request the data retransmission. On the other hand, when the main processor receives the Ack signal from the device processor, the next processor transmits the corresponding data, and if the Ack signal or the error message is not received from the device processor, the main processor transmits an error message to the device processor that the data cannot be transmitted. Perform the process of doing so.

상기와 같이 메인 프로세서와 디바이스 프로세서간에 데이터 송수신을 수행하고 업그레이드 파일이 모두 전송이 된 경우에는 메인 프로세서는 파일 전송의 완료(End) 메시지를 디바이스 프로세서에게 전달을 하고, 디바이스 프로세서는 완료 메시지를 성공적으로 수신했다는 Ack 신호를 메인 프로세서에 전달함으로써 업그레이드 파일 전송을 완료한다. When the data transmission and reception are performed between the main processor and the device processor as described above, and all upgrade files are transmitted, the main processor transmits an end message of the file transfer to the device processor, and the device processor successfully transmits the completion message. The upgrade file transfer is completed by transmitting the acknowledge signal to the main processor.

이상과 같이 살펴본 바와 같이 원격에 있는 운용자가 운용자 명령어만으로 시스템의 디바이스를 업그레이드 할 수 있게 된다. 즉, 원격의 운용자가 시스템의 메인 프로세서에게 운용자 명령어를 전달하면 메인 프로세서는 이를 분석하여 해당 디바이스 프로세서에게 분석된 운용자 명령어 정보를 전달한다. 그러면 디바이스 프로세서는 tftp를 구동한 후, 메인 프로세서에게 RRQ(Read Request)신호를 보내어 업그레이드 파일명과 보드타입에 관한 정보를 전달한다. 그런 후, 메인 프로세서와 디바이스 프로세서간에는 파일 전송이 완료될 때까지 데이터 전송을 주고 받게되고(이때 데이터 전송의 성공여부를 알리기 위하여 Ack 신호 또는 에러 신호를 서로 주고받게 된다) 해당 업그레이드 파일 전송이 완료됨에 따라 디바이스 업그레이드 절차는 종료되는 것이다 .As described above, the remote operator can upgrade the device of the system with only the operator command. That is, when a remote operator delivers an operator command to the main processor of the system, the main processor analyzes it and delivers the analyzed operator command information to the corresponding device processor. The device processor then runs tftp and sends an RRQ (Read Request) signal to the main processor, passing the upgrade file name and board type information. Then, the data transfer is exchanged between the main processor and the device processor until the file transfer is completed (in this case, an Ack signal or an error signal is exchanged to indicate whether the data transfer is successful) and the upgrade file transfer is completed. As a result, the device upgrade procedure ends.

상기와 같은 구성수단과 실시예를 가지는 본 발명에 의한 경우, 원격지에서 운용자 명령어(MMS)를 이용하여 디바이스 프로세서(시스템 클라이언트)에게 firmware upgrade 시작 요청을 함으로써 직접 시스템이 있는 곳까지 가지 않아도 되고, 수동으로 포트를 연결하여 업그레이드를 하는 불편함을 해소하는 효과가 있다.According to the present invention having the above-described configuration means and embodiments, it is not necessary to go to the system directly by making a firmware upgrade start request to the device processor (system client) using an operator command (MMS) at a remote location. It is effective in eliminating the inconvenience of upgrading by connecting ports.

도 1은 종래의 디바이스 프로세스의 업그레이드 방법에 관한 이해도이다.1 is an understanding of an upgrade method of a conventional device process.

도 2는 본 발명인 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법의 구성도이다.Figure 2 is a block diagram of a device upgrade method using a TIF in the system according to the inventor command.

도 3은 운용자 명령에 의한 시스템에서 티에프티피를 이용한 디바이스 업그레이드 방법의 절차 흐름도이다.3 is a flowchart illustrating a method of upgrading a device using TTF in a system by an operator command.

도 4는 본 발명의 실시예에 따른 절차 흐름도이다.4 is a process flow diagram according to an embodiment of the present invention.

도 5는 본 발명에 따른 데이터 송수신의 수행과정을 보여주는 구성도이다.5 is a block diagram showing a process of performing data transmission and reception according to the present invention.

Claims (6)

시스템에 실장된 디바이스들의 업그레이드 방법에 있어서,In the upgrade method of devices mounted in the system, 운용자가 원격지에서 시스템에 접속을 하여 운용자 명령어를 통해 업그레이드를 요청하는 1단계와;A first step in which an operator accesses a system from a remote place and requests an upgrade through an operator command; 상기 업그레이드 요청을 받은 시스템의 메인 프로세서가 운용자 명령어를 분석하여 해당 디바이스 프로세서에게 분석된 운용자 요청 정보를 전달하는 2단계와;A second step of analyzing, by the main processor of the system receiving the upgrade request, the operator command and delivering the analyzed operator request information to the corresponding device processor; 상기 운용자 요청 정보를 전달받은 시스템의 디바이스 프로세서가 tftp를 구동하여 메인 프로세서에게 운용자가 요구한 업그레이드 파일을 요청하는 3단계와;A step 3 of requesting, by the device processor of the system receiving the operator request information, an upgrade file requested by the operator from the main processor by running tftp; 상기 메인 프로세서가 업그레이드 파일을 tftp를 이용하여 디바이스 프로세서에게 전달하여 업그레이드하는 4단계;를 포함하여 이루어진 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.And transmitting, by the main processor, the upgrade file to the device processor using tftp to upgrade the device processor. 청구항 1에 있어서,The method according to claim 1, 상기 디바이스의 업그레이드가 완료되면 메인 프로세서가 운용자에게 업그레이드 완료 메시지를 전달하는 단계를 더 포함하여 이루어진 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.When the upgrade of the device is completed, the main processor further comprises the step of delivering an upgrade completion message to the operator device upgrade method using a tftp in the system by the operator command, characterized in that made. 청구항 1에 있어서, 상기 디바이스를 업그레이드하는 4단계는, The method of claim 1, wherein the fourth step of upgrading the device, 디바이스 프로세서의 요청에 따라 메인 프로세서가 메모리 내의 업그레이드 파일을 찾아 읽어들이는 과정과, 상기 업그레이드 파일을 디바이스 프로세서에 전달하는 과정과, 상기 업그레이드 파일로 해당 디바이스를 업그레이드하는 과정을 포함하여 이루어진 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.At the request of the device processor, the main processor searches for and reads the upgrade file in the memory, transferring the upgrade file to the device processor, and upgrading the device with the upgrade file. How to upgrade device using tftp on system by operator command. 청구항 3에 있어서,The method according to claim 3, 상기 업그레이드 파일을 메인 프로세서가 디바이스 프로세서에 전달하는 과정에서 장애 발생으로 전달이 되지 못하는 경우, 디바이스 프로세서가 메인 프로세서에게 에러 메시지를 전달하는 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.If the upgrade file is not delivered due to a failure while the main processor delivers the device processor, the device processor transmits an error message to the main processor. . 청구항 1에 있어서,The method according to claim 1, 상기 운용자 명령어에는, 시스템 ID, 쉘프 ID, 업그레이드 파일명, 슬롯 위치값, 보드타입에 대한 정보를 포함하는 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.The operator command includes a system ID, a shelf ID, an upgrade file name, a slot position value, and information about a board type. Device upgrade method using tftp in a system by an operator command. 청구항 5에 있어서,The method according to claim 5, 상기 운용자 명령어 중 보드타입은, 운용자 명령어의 오류 여부를 판단하는데 사용되고, 운용자 명령어에 선택적으로 포함되는 것을 특징으로 하는 운용자 명령에 의한 시스템에서 tftp를 이용한 디바이스 업그레이드 방법.The board type of the operator command is used to determine whether an error of the operator command, the device upgrade method using a tftp in the system by the operator command, characterized in that it is optionally included in the operator command.
KR1020030061158A 2003-09-02 2003-09-02 method for upgrading device by using tftp in the system depending on manager's command KR20050023761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030061158A KR20050023761A (en) 2003-09-02 2003-09-02 method for upgrading device by using tftp in the system depending on manager's command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030061158A KR20050023761A (en) 2003-09-02 2003-09-02 method for upgrading device by using tftp in the system depending on manager's command

Publications (1)

Publication Number Publication Date
KR20050023761A true KR20050023761A (en) 2005-03-10

Family

ID=37231231

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030061158A KR20050023761A (en) 2003-09-02 2003-09-02 method for upgrading device by using tftp in the system depending on manager's command

Country Status (1)

Country Link
KR (1) KR20050023761A (en)

Similar Documents

Publication Publication Date Title
CN100391176C (en) Method and system for remote updating function of domestic apparatus
AU742817B2 (en) Process and apparatus for downloading data from a server computer to a client computer
EP3200072B1 (en) Method for updating terminal system, terminal and system
CN1675621A (en) Method and apparatus for booting with remote configuration data
EP1093054B1 (en) Method for installing software components at a user-terminal, related devices and related software modules
JP4204891B2 (en) Data upgrade method for switching device in layer-2 network environment
CN112104477A (en) Online updating method and system for firmware of electric control end and WiFi module
JP2005025764A (en) Dynamic java push control apparatus and method therefor
KR100524588B1 (en) succeeding method of data in mobile
KR20050023761A (en) method for upgrading device by using tftp in the system depending on manager's command
KR100566226B1 (en) How to download system code of network equipment using SNP
KR100429801B1 (en) System for automatically upgrading software of network unit
CN100440145C (en) Method for carrying out an update in a program-controlled device, program-controlled device, and program code that can be executed in a web browser
KR100721407B1 (en) Method And System For Integratedly Managing Service
KR100795185B1 (en) Method of program down load in client/server environment
KR100374332B1 (en) Apparatus and method for upgrading the gateway online
KR100939130B1 (en) System and method for supporting upgrade protocol
JP2010287920A (en) Mobile terminal apparatus, communication system, server, method of controlling the same, and program
JP2000010786A (en) Server-client communication device and program downloading method using same device
KR100741369B1 (en) Method for controlling the computer with remote
KR100357637B1 (en) Image loading method of internet communication equipment
CN115632945A (en) Version synchronization method, device, equipment and medium
JP4940829B2 (en) Version management system, transmission apparatus, version management method and program
KR20060065240A (en) Controlled device including agent, control apparatus thereof and method for upgrading agent automatically
KR20020025534A (en) Loading Method of File in System Using Internet

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid