KR20030015789A - Method for File Downloading in Agent - Google Patents

Method for File Downloading in Agent Download PDF

Info

Publication number
KR20030015789A
KR20030015789A KR1020010049692A KR20010049692A KR20030015789A KR 20030015789 A KR20030015789 A KR 20030015789A KR 1020010049692 A KR1020010049692 A KR 1020010049692A KR 20010049692 A KR20010049692 A KR 20010049692A KR 20030015789 A KR20030015789 A KR 20030015789A
Authority
KR
South Korea
Prior art keywords
file
agent
program file
program
received
Prior art date
Application number
KR1020010049692A
Other languages
Korean (ko)
Other versions
KR100456978B1 (en
Inventor
정현경
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR10-2001-0049692A priority Critical patent/KR100456978B1/en
Publication of KR20030015789A publication Critical patent/KR20030015789A/en
Application granted granted Critical
Publication of KR100456978B1 publication Critical patent/KR100456978B1/en

Links

Classifications

    • 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]
    • 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/02Standardisation; Integration
    • H04L41/024Standardisation; Integration using relational databases for representation of network management data, e.g. managing via structured query language [SQL]
    • 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/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE: A method for downloading a file of an agent is provided to request the transfer of a file necessary for agent operations to an EMS(Element Management System) when the agent is started, and to download the program file using a TFTP(Trivial File Transfer Protocol). CONSTITUTION: If an agent is initially started(S10), a file processor of the agent delivers a file transfer request message to an EMS(S12). The agent sequentially receives setup request messages including information of a program file to be received from the EMS(S14). The agent transmits a get response message, that is a response message to the setup request messages, whenever receiving the setup request messages, and reflects information of the program file included in the setup request messages in an MIB(Management Information Base)(S16). If a start flag is received from the EMS(S18), the agent drives a TFTP to set up connection with a TFTP demon(S20). Th agent searches the program file in a directory storing the program file(S22), and divides the searched file into blocks having a predetermined size to receive the divided file in UDP(User Datagram Protocol) packets(S24). Whether the received file is normal is checked(S26). If so, a type of the program file is analyzed(S28) and the program file is processed to have a type usable in the agent(S30). The processed program file is accumulated in a predetermined memory area(S32) and operated by cases(S34).

Description

에이전트의 파일 다운로드 방법{Method for File Downloading in Agent}Method for File Downloading in Agent}

본 발명은 에이전트의 파일 다운로드 방법에 관한 것으로서, 특히 에이전트가 TFTP 프로토콜을 이용하여 망 관리 시스템으로부터 동작에 필요한 파일을 다운로드받아 시동될 수 있도록 하는 에이전트의 파일 다운로드 방법에 관한 것이다.The present invention relates to a file download method of an agent, and more particularly, to a file download method of an agent to enable the agent to download and start a file required for operation from a network management system using the TFTP protocol.

일반적으로 에이전트는 관리 객체를 이용하여 통신망 요소를 직접 관리하는 것으로, 교환기에서 장애 사건 메시지가 발생하면 에이전트는 장애가 발생한 자원에 해당하는 관리 객체 인스턴스(Managed Object Instance)들의 장애 상태를 반영시키고, 장애가 해제되는 사건 메시지가 발생하면 해당 자원에 해당하는 관리 객체 인스턴스들의 장애 상태를 해제시키는 데, 관리 객체 인스턴스들은 MIB(Management Information Base) 구조로 정보가 저장되어 에이전트에 의해 관리된다.In general, the agent directly manages network elements using a managed object. When a failure event message occurs at the exchange, the agent reflects the failure status of the managed object instances corresponding to the failed resource, and the failure is released. When an event message occurs, the management object instances corresponding to the resource are released. The management object instances are stored in a management information base (MIB) structure and managed by an agent.

전술한 바와 같이 통신망 요소를 직접 관리하는 에이전트는, 에이전트의 동작 제어에 필요한 각종 프로그램들을 내장하고 있어야 하는 데, 종래에는 처음 시동하는 상태에서 시스템 운용자에 의해 삽입된 디스크(에이전트의 동작 제어에 필요한 각종 프로그램들이 적재되어 있는 디스크)로부터 해당 프로그램들을 다운로드받은 후, 다운로드받은 프로그램들을 이용하여 동작을 수행한다.As described above, the agent that directly manages the communication network elements should have various programs necessary for controlling the operation of the agent. In the past, a disk inserted by a system operator in the first startup state (various necessary for controlling the operation of the agent) is required. After the corresponding programs are downloaded from the disk in which the programs are loaded, the downloaded programs are used to perform an operation.

따라서, 시스템 운용자는 에이전트를 시동시키기 위해 에이전트의 동작 제어에 필요한 각종 프로그램들이 적재되어 있는 디스크를 가지고 다니면서 분산 설치되어 있는 에이전트를 시동시켜야 한다.Therefore, the system operator must start a distributed agent while carrying a disk on which various programs necessary for controlling the operation of the agent are loaded to start the agent.

그리고, 에이전트의 기능을 업데이트시키고 하는 경우에는 시스템 운용자가 업데이트된 프로그램 파일이 적재된 디스크를 가지고 다니면서, 에이전트의 소정 메모리 영역에 저장되어 있는 기존 프로그램 파일을 지우고 디스크에 적재되어 있는 업데이트된 프로그램 파일을 새로 저장하여 에이전트의 기능을 업데이트시킨다.When updating the function of the agent, the system operator carries a disk loaded with the updated program file, deletes the existing program file stored in the predetermined memory area of the agent and deletes the updated program file loaded on the disk. Update the agent's functionality by saving a new one.

이상에서 살펴본 바와 같이, 종래에는 에이전트를 시동시키거나 업데이트시키는 경우에 시스템 운용자가 에이전트가 설치되어 있는 곳까지 직접 찾아가서 에이전트의 동작 제어에 필요한 프로그램들을 다운로드시켜 에이전트를 시동시키거나 업데이트시켜야 하는 문제점이 있다.As described above, conventionally, when starting or updating an agent, a system operator directly goes to the place where the agent is installed, and downloads programs necessary for controlling the operation of the agent to start or update the agent. have.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 에이전트가 초기 시동되면, 망 관리 시스템으로 에이전트 동작에 필요한 파일 전송을 요청하여 동작에 필요한 프로그램 파일을 TFTP 파일 전송 프로토콜을 이용하여 다운로드받아 동작될 수 있도록 하는 에이전트의 파일 다운로드 방법을 제공함에 그 목적이 있다.The present invention has been made to solve the above-described problems, when the agent is initially started, it requests the file transfer required for the agent operation to the network management system to download the program file necessary for the operation using the TFTP file transfer protocol to operate The purpose is to provide a file download method of the agent to enable.

도 1은 본 발명에 따른 에이전트의 파일 다운로드 방법이 적용되는 통신 관리망의 구조를 보인 도.1 is a diagram showing a structure of a communication management network to which a file download method of an agent according to the present invention is applied.

도 2 및 도 3은 본 발명에 따른 에이전트의 파일 다운로딩 방법을 설명하기 위한 플로우챠트.2 and 3 are flowcharts for explaining a file downloading method of the agent according to the present invention.

*** 도면의 주요 부분에 대한 부호의 설명 ****** Explanation of symbols for the main parts of the drawing ***

10. EMS(Element Management System),10.EMS (Element Management System),

15. TFTP 디몬(Trivial File Transfer Protocol Demon),15. TFTP daemon (Trivial File Transfer Protocol Demon),

20. 에이전트,23. 인터페이스부,20. Agents, 23. Interface,

25. 파일 처리부,27. MIB(Management Information Base) 처리부25. File processing unit, 27. Management Information Base (MIB) Processing Unit

전술한 목적을 달성하기 위한 본 발명에 따른 에이전트의 파일 다운로드 방법은, 에이전트가 처음 시동되면, 상기 에이전트가 작동하는 데 필요한 프로그램 파일의 전송을 망 관리 시스템으로 요청하는 과정과; 상기 파일 전송 요청에 따라 상기 망 관리 시스템으로부터, 전송받을 프로그램 파일의 정보를 포함하는 설정 요청 메시지들을 차례로 전송받는 과정과; 상기 차례로 전송받은 설정 요청 메시지에 포함되어 있는 상기 파일 정보를 로딩을 관할하는 MIB에 반영시키는 과정과; 상기 망 관리 시스템으로부터 상기 파일 정보를 모두 전송받으면 TFTP 파일 전송 프로토콜을 구동시켜 TFTP 디몬에 접속하여 전송받을 프로그램 파일이 저장되어 있는 디렉토리에서 상기 설정 요청 메시지를 통해 얻어진 이름의 파일을 찾아 일정 크기의 블록으로 분할하여 전송받아 오는 과정과; 상기 전송받은 프로그램 파일이 정상인 지를 확인하여, 정상인 경우에는 상기 전송받은 프로그램 파일을 상기 에이전트에서 사용할 수 있는 형태로 처리하여 소정 메모리 영역에 적재시키는 과정을 포함하여 이루어진다.The file download method of the agent according to the present invention for achieving the above object comprises the steps of: requesting a network management system to transmit a program file necessary for the agent to operate when the agent is first started; Receiving, in response to the file transfer request, a setup request message including information of a program file to be transmitted, from the network management system; Reflecting the file information included in the setup request message which is sequentially transmitted to the MIB that manages loading; When all the file information is received from the network management system, the TFTP file transfer protocol is activated to access a TFTP daemon to find a file of a name obtained through the configuration request message in a directory in which a program file to be transmitted is stored, and a block having a predetermined size. Splitting and receiving the data; Checking whether the received program file is normal, and if the received program file is normal, processing the received program file in a form usable by the agent and loading the program file in a predetermined memory area.

그리고, 상기 망 관리 시스템으로부터 동작에 필요한 프로그램 파일을 전송받아 동작을 수행하던 중에, 상기 망 관리 시스템으로부터 업데이트된 프로그램 파일의 정보를 포함하는 설정 요구 메시지들을 차례로 전송받는 과정과; 상기 차례로 전송받은 설정 요청 메시지에 포함되어 있는 상기 파일 정보를 상기 MIB에 반영시키는 과정과; 상기 망 관리 시스템으로부터 상기 파일 정보를 모두 전송받으면 TFTP 파일 전송 프로토콜을 구동시켜 TFTP 디몬에 접속하여 전송받을 프로그램 파일이 저장되어 있는 디렉토리에서 상기 설정 요청 메시지를 통해 얻어진 이름의 파일을 찾아 일정 크기의 블록으로 분할하여 전송받아 오는 과정과; 상기 전송받은 프로그램 파일이 정상인 지를 확인하여, 정상인 경우에는 현재 실행되고 있는 프로그램 파일이 상기 전송받은 프로그램 파일로 갱신되어야 하는 지를 판단하는 과정과; 상기 판단결과 갱신이 필요한 경우에는 상기 전송받은 프로그램 파일을 상기 에이전트에서 사용할 수 있는 형태로 처리하여 소정 메모리 영역에 적재시키는 과정을 더 포함하여 이루어지는 것을 특징으로 한다.And receiving a program request message including information of an updated program file from the network management system in sequence while receiving a program file necessary for the operation from the network management system. Reflecting the file information included in the setup request message received in sequence to the MIB; When all the file information is received from the network management system, the TFTP file transfer protocol is activated to access a TFTP daemon to find a file of a name obtained through the configuration request message in a directory in which a program file to be transmitted is stored, and a block having a predetermined size. Splitting and receiving the data; Checking whether the received program file is normal, and if it is normal, determining whether the currently executing program file should be updated with the received program file; If it is necessary to update the determination result, the method may further include processing the received program file in a form that can be used by the agent and loading the program file into a predetermined memory area.

이하에서는 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 에이전트의 파일 다운로드 방법에 대해서 상세하게 설명한다.Hereinafter, a file download method of an agent according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 에이전트의 파일 다운로드 방법이 적용되는 통신 관리망의 구조를 보인 도로, 망 관리 시스템(Element Management System;이하, EMS라 한다)(10)과, 에이전트(20)를 구비하여 이루어진다.1 is a diagram illustrating a structure of a communication management network to which a file download method of an agent according to the present invention is applied, including an element management system (hereinafter, referred to as EMS) 10, and an agent 20. Is done.

이와 같은 구성에 있어서, EMS(10)는 운용자에 의한 관리 명령어들을 물리적 혹은 논리적으로 분할되어 있는 에이전트들로 SNMP(Small Network Management Protocol)를 이용하여 데이터 통신망을 통해 전달하여 해당 교환기에 대한 명령어를 수행시키고, 그 수행 결과나 교환기의 상태 보고들을 수집, 평가하여 유용한 망 관리 정보를 생성하는 역할을 담당한다.In this configuration, the EMS 10 delivers the management commands by the operator to the agents that are physically or logically divided through the data communication network using SNMP (Small Network Management Protocol) to perform commands for the corresponding exchange. It is responsible for generating useful network management information by collecting and evaluating the performance results and status reports of the exchange.

전술한, EMS(10)는 에이전트(20)로부터 요구되는 TFTP(Trivial File Transfer Protocol) 메시지를 받아 처리하는 TFTP 디몬(demon)(15)를 구비하여 이루어진다.The EMS 10 described above includes a TFTP daemon 15 that receives and processes a Trivial File Transfer Protocol (TFTP) message required from the agent 20.

그리고, 에이전트(20)는 관리 대상이 되는 교환기를 객체 지향 모델에 의해 모델링된 관리 객체(Managed Object)를 사용하여 교환기와 동일한 형상, 상태 정보를 관리하고 있으며, EMS(10)로부터의 요구에 대해 관리하고 있는 관리 객체로부터 정보를 얻거나 교환기로부터 직접 수집하여 EMS(10)에게 전달한다.The agent 20 manages the same shape and state information as that of the exchanger by using a managed object modeled by an object-oriented model on the exchanger to be managed, and responds to a request from the EMS 10. Information is obtained from the managed object being managed or collected directly from the exchange and forwarded to the EMS 10.

전술한, 에이전트(20)는 인터페이스부(23)와, 파일 처리부(25)와, MIB 처리부(27)를 구비하여 이루어지는 데, 인터페이스부(23)는 EMS(10)와의 SNMP 메시지 송수신을 처리하고, 파일 처리부(25)는 TFTP 프로토콜을 이용하여 EMS(10)로부터파일을 다운로드받고, MIB 처리부(27)는 EMS(10)와 주고받는 SNMP 메시지를 MIB에 반영한다.The agent 20 described above includes an interface unit 23, a file processing unit 25, and a MIB processing unit 27. The interface unit 23 processes SNMP messages to and from the EMS 10. The file processor 25 downloads a file from the EMS 10 using the TFTP protocol, and the MIB processor 27 reflects the SNMP message exchanged with the EMS 10 to the MIB.

도 2 및 도 3은 본 발명에 따른 에이전트의 파일 다운로딩 방법을 설명하기 위한 플로우챠트이다.2 and 3 are flowcharts for explaining a file downloading method of the agent according to the present invention.

우선, 에이전트(20)가 에이전트(20)의 동작을 위해 EMS(10)로부터 전송받을 수 있는 프로그램으로는 응용 프로그램과, 운영체제(OS) 프로그램, 운영체제(OS) 쉘(SHELL), MIB 파일 등이 될 수 있으며, 필요에 따라 IAD(Integrated Access Device) 장비 동작 프로그램, 에이전트의 각종 하드웨어 장비의 동작에 필요한 펌웨어(Firmware) 등이 추가로 정의될 수 있다. 즉, 에이전트(20)는 에이전트(20)에서 필요로 하는 어떠한 파일이라도 추가 정의하여 EMS(10)로부터 전송받을 수 있다.First, a program that the agent 20 can receive from the EMS 10 for the operation of the agent 20 includes an application program, an operating system (OS) program, an operating system shell (SHELL), and a MIB file. If necessary, an integrated access device (IAD) device operation program, firmware required for the operation of various hardware devices of the agent, and the like may be further defined. In other words, the agent 20 may further define any file required by the agent 20 and receive it from the EMS 10.

본 실시예에서는 에이전트(20)의 초기 시동시 에이전트(20)가 필수적으로 필요로 하는 응용 프로그램과, 운영체제(OS) 프로그램, 운영체제(OS) 쉘, MIB 파일을 전송받는 경우에 대해서 예시적으로 설명하기로 한다.In this embodiment, an application program, which is necessary for the agent 20 at the initial startup of the agent 20, an operating system (OS) program, an operating system (OS) shell, and a case of receiving a MIB file will be described. Let's do it.

즉, 에이전트(20)가 처음 시동되면, 에이전트(20)의 파일 처리부(25)는 에이전트(20)가 작동하는 데 필요한 프로그램 파일(예를 들어, 응용 프로그램)을 EMS(10)에서 지원받기 위해서, 인터페이스부(23)를 통해 EMS(10)로 파일 전송을 요청하는 파일 전송 요청 메시지를 SNMP 프로토콜을 이용하여 트랩(Trap)으로 전달한다(S10, S12).That is, when the agent 20 is first started, the file processing unit 25 of the agent 20 may receive the program file (eg, an application program) necessary for the agent 20 to operate in the EMS 10. In operation S10 and S12, the file transfer request message requesting the file transfer to the EMS 10 through the interface unit 23 is transferred to the trap using the SNMP protocol.

상기한 과정 S12에서 에이전트(20)는 사전에 입력되어 있는 EMS(10)의 IP 어드레스를 이용하여 자신의 시동 정보를 알림과 동시에 작동에 필요한 프로그램을 요청하는 트랩 메시지를 EMS(10)로 전송한다. 여기서, 트랩 메시지의 내부 파라미터는 EMS(10)와 에이전트(20) 간에 유동적으로 정의할 수 있다.In step S12, the agent 20 transmits a trap message to the EMS 10 requesting a program necessary for the operation at the same time as the notification of its own startup information using the IP address of the EMS 10 previously input. . Herein, the internal parameter of the trap message may be flexibly defined between the EMS 10 and the agent 20.

한편, 상기한 과정 S12에서 처음 시동된 에이전트(20)로부터 파일 전송 요청 메시지를 전송받은 EMS(10)는 파일 전송 요청을 수행한 에이전트(20)가 해당 프로그램 파일을 TFTP 프로토콜을 이용하여 전송받을 수 있도록, 전송받을 프로그램 파일의 정보들, 예를 들어, 해당 프로그램 파일의 이름, 해당 프로그램 파일의 크기, 파일 전송의 오류가 있는 지를 확인할 수 있게 하는 체크섬(checksum) 값, 해당 프로그램 파일을 전송받기 시작하라는 스타트 플래그 등을 SNMP 프로토콜을 이용하여 설정 요청 메시지(SETREQUEST)로 차례로 에이전트(20)로 전달한다.Meanwhile, the EMS 10 receiving the file transfer request message from the agent 20 initially started in step S12 may receive the program file transmitted by the agent 20 using the TFTP protocol. Information of the program file to be transferred, for example, the name of the program file, the size of the program file, a checksum value that allows to check whether there is an error in the file transfer, or the start of receiving the program file. The start flag and the like are transmitted to the agent 20 in order as a setup request message (SETREQUEST) using the SNMP protocol.

상기한 과정 S12에서 EMS(10)로 파일 전송을 요청한 에이전트(20)는 전송받을 프로그램 파일의 정보가 포함되어 있는 설정 요청 메시지들을 EMS(10)로부터 차례로 전송받으면, 설정 요청 메시지를 받을 때마다 설정 요청 메시지에 대한 응답 메시지로 겟 응답 메시지를 EMS(10)로 전송하고, 차례로 전송받은 설정 요청 메시지에 포함되어 있는 전송받을 프로그램 파일의 정보를 로딩을 관할하는 MIB에 반영한다(S14, S16).When the agent 20 requesting the file transfer to the EMS 10 in step S12 receives the setup request messages including the program file information to be transmitted from the EMS 10 in turn, the agent 20 sets up each time the setup request message is received. The get response message is transmitted to the EMS 10 as a response message to the request message, and the information of the program file to be transmitted included in the received setup request message is reflected to the MIB in charge of loading (S14 and S16).

이후, EMS(10)로부터 해당 프로그램 파일을 전송받기 시작하라는 스타트 플래그를 포함하는 설정 요청 메시지를 전달받으면, 에이전트(20)는 TFTP 파일 전송 프로토콜을 구동시켜 TFRP 디몬(15)과의 접속 연결을 설정하고, TFTP 디몬(15)과 접속 연결된 에이전트(20)는 EMS(10)에서 전송받을 프로그램 파일(예를 들어, 응용프로그램)이 저장되어 있는 디렉토리에서 설정 요청 메시지(SETREQUEST)를 통해 얻어진 이름의 파일을 검색한 후, 검색된 파일을 일정 크기(512byte)의 블록으로 분할하여 비접속형인 UDP(User Datagram Protocol) 패킷으로 전송받아 온다(S18, S20, S22, S24).Subsequently, upon receiving a setup request message including a start flag to start receiving the corresponding program file from the EMS 10, the agent 20 establishes a connection connection with the TFRP daemon 15 by driving the TFTP file transfer protocol. In addition, the agent 20 connected to the TFTP daemon 15 may have a file whose name is obtained through a setup request message SETREQUEST in a directory in which a program file (for example, an application program) to be transmitted from the EMS 10 is stored. After searching, the file is divided into blocks of a predetermined size (512 bytes) and received as UDP (User Datagram Protocol) packets which are disconnected (S18, S20, S22, S24).

이후에는 체크섬 값을 이용하여 상기한 과정 S24에서 EMS(10)로부터 전송받은 파일이 정상인 지를 확인하고, 전송받은 파일이 정상인 경우에는 상기한 과정 S에서 전송받은 프로그램 파일의 종류를 분석한 후, 전송받은 프로그램 파일을 에이전트(20)에서 사용할 수 있는 형태로 파일 처리한다(S26, S28, S30).Thereafter, the checksum value is used to check whether the file received from the EMS 10 is normal in step S24. If the received file is normal, the type of the program file received in step S24 is analyzed. The received program file is processed in a form that can be used by the agent 20 (S26, S28, S30).

상기한 과정 S30에서 파일 처리된 프로그램 파일을 소정 메모리 영역에 적재시킨 후, 해당 프로그램 파일을 용도에 맞게 케이스별로 나누어 동작시킨다(S32, S34).After loading the program file processed in the above step S30 into a predetermined memory area, the program file is divided into cases according to the purpose for operation (S32, S34).

한편, 운영체제(OS) 프로그램, 운영체제(OS) 쉘도 전술한 응용 프로그램 파일 전송 과정과 동일한 과정을 통해 EMS(10)로부터 전송받는다.On the other hand, the operating system (OS) program, the operating system (OS) shell is also received from the EMS 10 through the same process as the above-described application program file transfer process.

다만, MIB 파일은 전송받을 경우에는 MIB 파일의 크기가 크기 때문에 압축된 MIB 파일을 전송받게 되는 데, 압축된 파일을 풀었을 때, 데이터를 읽어내는 방식 등과 같은 다른 정보가 필요하게 된다. 따라서, 이러한 정보를 싣고 있는 정보 파일을 MIB 파일을 전송받기 이전에 EMS(10)로부터 전송받게 되는 데, 이러한 정보 파일과 MIB 파일도 전술한 응용 프로그램 파일 전송 과정과 동일한 과정을 통해 EMS(10)로부터 전송받는다.However, when the MIB file is received, the size of the MIB file is large, and thus the compressed MIB file is received. When the compressed file is unpacked, other information such as a method of reading data is required. Accordingly, the information file carrying such information is received from the EMS 10 before receiving the MIB file. The information file and the MIB file are also transmitted through the same process as the above-described application file transfer process. Received from

전술한 바와 같이, 에이전트(20)가 초기 시동되면서, EMS(10)로부터 에이전트(20)의 동작에 필요한 프로그램 파일을 전송받아, 전송받은 프로그램 파일에 의거하여 동작을 수행하던 중에, 도3에 도시하는 바와 같이, EMS(10)로부터 업데이트된 프로그램 파일의 정보가 포함되어 있는 설정 요구 메시지들을 차례로 전송받으면, 설정 요청 메시지를 전송받을 때마다 설정 요청 메시지에 대한 응답 메시지로 겟 응답 메시지를 EMS(10)로 전송하고, 차례로 전송받은 설정 요청 메시지에 포함되어 있는 업데이트된 프로그램 파일의 정보를 로딩을 관할하는 MIB에 반영한다(S36, S38).As described above, while the agent 20 is initially started up, while receiving a program file necessary for the operation of the agent 20 from the EMS 10 and performing an operation based on the received program file, it is shown in FIG. As described above, when receiving the setup request messages including the updated program file information from the EMS 10 in sequence, the EMS 10 receives the get response message as a response message to the setup request message each time the setup request message is received. ) And sequentially reflect the information of the updated program file included in the received configuration request message to the MIB that manages loading (S36, S38).

이후, EMS(10)로부터 해당 프로그램 파일을 전송받기 시작하라는 스타트 플래그를 포함하는 설정 요청 메시지를 전달받으면, 에이전트(20)는 TFTP 파일 전송 프로토콜을 구동시켜 TFTP 디몬(15)과의 접속 연결을 설정하고, TFTP 디몬(15)과 접속 연결된 에이전트(20)는 EMS(10)에서 업데이트된 프로그램 파일이 저장되어 있는 디렉토리에서 설정 요청 메시지(SETREQUEST)를 통해 얻어진 이름의 파일을 검색한 후, 검색된 파일을 일정 크기(512byte)의 블록으로 분할하여 비접속형인 UDP(User Datagram Protocol) 패킷으로 전송받아 온다(S40, S42, S44, S46).Subsequently, upon receiving a setting request message including a start flag to start receiving the corresponding program file from the EMS 10, the agent 20 sets up a connection connection with the TFTP daemon 15 by driving the TFTP file transfer protocol. In addition, the agent 20 connected to the TFTP daemon 15 searches for a file having a name obtained through a setting request message SETREQUEST in a directory in which the program file updated by the EMS 10 is stored, and then retrieves the retrieved file. It is divided into blocks of a predetermined size (512 bytes) and received as UDP (User Datagram Protocol) packets that are not connected (S40, S42, S44, S46).

이후에는 상기한 과정 S46에서 EMS(10)로부터 전송받은 파일이 정상인 지를 확인하고, 전송받은 파일이 정상인 경우에는 상기한 과정 S에서 전송받은 프로그램 파일의 종류를 분석한 후, 현재 실행되고 있는 프로그램 파일이 상기한 과정 S에서 수신한 프로그램 파일로 갱신되어야 하는 지를 판단하여, 갱신이 필요한 경우에는 상기한 과정 S에서 전송받은 프로그램 파일을 에이전트(20)에서 사용할 수 있는 형태로 파일 처리한다(S48, S50, S52, S54).Thereafter, the process S46 checks whether the file received from the EMS 10 is normal. If the file received is normal, the program file received in the process S is analyzed, and the program file currently being executed. It is determined whether the program file received in the above-described process S should be updated, and if an update is necessary, the program file received in the above-described process S is processed in a form that can be used by the agent 20 (S48, S50). , S52, S54).

상기한 과정 S54에서 파일 처리된 프로그램 파일을 해당 메모리 영역에 적재시킨 후, 해당 프로그램 파일을 용도에 맞게 케이스별로 나누어 동작시킨다(S56, S58).After loading the program file processed in the above step S54 into the memory area, the program file is divided into cases according to the purpose for operation (S56, S58).

본 발명의 에이전트의 파일 다운로드 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수 있다.The file download method of the agent of the present invention is not limited to the above-described embodiments, and may be modified and implemented in various ways within the scope of the technical idea of the present invention.

이상에서 설명한 바와 같은 본 발명의 에이전트의 파일 다운로드 방법에 따르면, 에이전트가 초기 시동되면, 망 관리 시스템으로 에이전트 동작에 필요한 파일 전송을 요청하고, 파일 전송 요청에 따라 망 관리 시스템으로부터 TFTP 파일 전송 프로토콜을 이용하여 다운로드받은 에이전트의 동작에 필요한 프로그램 파일에 의거하여 동작을 수행함으로써, 에이전트를 동작시키거나 업데이트시키기 위해 시스템 운용자가 분산 설치되어 있는 에이전트를 직접 찾아가지 않아도 된다. 그리고, 망 관리 시스템에서 에이전트의 동작 프로그램을 원격으로 일괄 관리할 수 있게 된다.According to the file download method of the agent of the present invention as described above, when the agent is initially started, it requests a file transfer required for the operation of the agent to the network management system, and in accordance with the file transfer request TFTP file transfer protocol from the network management system By performing an operation based on a program file necessary for the operation of the downloaded agent, the system operator does not have to directly search for an agent that is distributedly installed to operate or update the agent. In addition, the network management system can remotely manage the operation programs of the agents.

Claims (4)

에이전트가 처음 시동되면, 상기 에이전트가 작동하는 데 필요한 프로그램 파일의 전송을 망 관리 시스템으로 요청하는 과정과;Requesting the network management system to transmit a program file required for the agent to operate when the agent is first started; 상기 파일 전송 요청에 따라 상기 망 관리 시스템으로부터, 전송받을 프로그램 파일의 정보를 포함하는 설정 요청 메시지들을 차례로 전송받는 과정과;Receiving, in response to the file transfer request, a setup request message including information of a program file to be transmitted, from the network management system; 상기 차례로 전송받은 설정 요청 메시지에 포함되어 있는 상기 파일 정보를 로딩을 관할하는 MIB에 반영시키는 과정과;Reflecting the file information included in the setup request message which is sequentially transmitted to the MIB that manages loading; 상기 망 관리 시스템으로부터 상기 파일 정보를 모두 전송받으면 TFTP 파일 전송 프로토콜을 구동시켜 TFTP 디몬에 접속하여 전송받을 프로그램 파일이 저장되어 있는 디렉토리에서 상기 설정 요청 메시지를 통해 얻어진 이름의 파일을 찾아 일정 크기의 블록으로 분할하여 전송받아 오는 과정과;When all the file information is received from the network management system, the TFTP file transfer protocol is activated to access a TFTP daemon to find a file of a name obtained through the configuration request message in a directory in which a program file to be transmitted is stored, and a block having a predetermined size. Splitting and receiving the data; 상기 전송받은 프로그램 파일이 정상인 지를 확인하여, 정상인 경우에는 상기 전송받은 프로그램 파일을 상기 에이전트에서 사용할 수 있는 형태로 처리하여 소정 메모리 영역에 적재시키는 과정을 포함하여 이루어지는 에이전트의 파일 다운로드 방법.Checking whether the received program file is normal, and if it is normal, processing the received program file in a form usable by the agent and loading the file in a predetermined memory area. 제 1항에 있어서, 상기 프로그램 파일은,The method of claim 1, wherein the program file, 응용 프로그램, 운영체지 프로그램, 운영체제 쉘(Shell), MIB 파일로 이루어지는 것을 특징으로 하는 에이전트의 파일 다운로드 방법.The file download method of an agent, comprising an application program, an operating system program, an operating system shell, and a MIB file. 제 1항에 있어서, 상기 파일 정보는,The method of claim 1, wherein the file information, 상기 망 관리 시스템에서 전송받을 프로그램 파일의 이름, 상기 프로그램 파일의 크기, 상기 프로그램 파일에 오류가 있는 지를 확인할 수 있게 하는 체크섬 값, 상기 프로그램 파일을 전송받기 시작하라는 스타트 플래그로 이루어지는 것을 특징으로 하는 에이전트의 파일 다운로드 방법.An agent comprising a name of a program file to be transmitted from the network management system, a size of the program file, a checksum value for identifying whether the program file has an error, and a start flag to start receiving the program file How to download files. 제 1항에 있어서, 상기 망 관리 시스템으로부터 동작에 필요한 프로그램 파일을 전송받아 동작을 수행하던 중에, 상기 망 관리 시스템으로부터 업데이트된 프로그램 파일의 정보를 포함하는 설정 요구 메시지들을 차례로 전송받는 과정과;The method of claim 1, further comprising: sequentially receiving setting request messages including information of an updated program file from the network management system while performing an operation by receiving a program file necessary for operation from the network management system; 상기 차례로 전송받은 설정 요청 메시지에 포함되어 있는 상기 파일 정보를 상기 MIB에 반영시키는 과정과;Reflecting the file information included in the setup request message received in sequence to the MIB; 상기 망 관리 시스템으로부터 상기 파일 정보를 모두 전송받으면 TFTP 파일 전송 프로토콜을 구동시켜 TFTP 디몬에 접속하여 전송받을 프로그램 파일이 저장되어 있는 디렉토리에서 상기 설정 요청 메시지를 통해 얻어진 이름의 파일을 찾아 일정 크기의 블록으로 분할하여 전송받아 오는 과정과;When all the file information is received from the network management system, the TFTP file transfer protocol is activated to access a TFTP daemon to find a file of a name obtained through the configuration request message in a directory in which a program file to be transmitted is stored, and a block having a predetermined size. Splitting and receiving the data; 상기 전송받은 프로그램 파일이 정상인 지를 확인하여, 정상인 경우에는 현재 실행되고 있는 프로그램 파일이 상기 전송받은 프로그램 파일로 갱신되어야 하는 지를 판단하는 과정과;Checking whether the received program file is normal, and if it is normal, determining whether the currently executing program file should be updated with the received program file; 상기 판단결과 갱신이 필요한 경우에는 상기 전송받은 프로그램 파일을 상기 에이전트에서 사용할 수 있는 형태로 처리하여 소정 메모리 영역에 적재시키는 과정을 더 포함하여 이루어지는 것을 특징으로 하는 에이전트의 파일 다운로드 방법.If the determination result is required to be updated, further comprising the step of processing the received program file in a form usable by the agent and loading it in a predetermined memory area.
KR10-2001-0049692A 2001-08-17 2001-08-17 Method for File Downloading in Agent KR100456978B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0049692A KR100456978B1 (en) 2001-08-17 2001-08-17 Method for File Downloading in Agent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0049692A KR100456978B1 (en) 2001-08-17 2001-08-17 Method for File Downloading in Agent

Publications (2)

Publication Number Publication Date
KR20030015789A true KR20030015789A (en) 2003-02-25
KR100456978B1 KR100456978B1 (en) 2004-11-10

Family

ID=27719627

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0049692A KR100456978B1 (en) 2001-08-17 2001-08-17 Method for File Downloading in Agent

Country Status (1)

Country Link
KR (1) KR100456978B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030022497A (en) * 2001-09-10 2003-03-17 한빛전자통신 주식회사 Method of Downloading Programs in the WCDMA Asynchronous System
KR100414671B1 (en) * 2002-02-14 2004-01-07 삼성전자주식회사 Method for automatically remote upgrading software of cable modem
KR20040008007A (en) * 2002-07-15 2004-01-28 에임텍 주식회사 Method of upgrading firmware for wireless terminal
KR100904961B1 (en) * 2007-09-28 2009-06-26 주식회사 아카넷티비 System for monitoring operation of data broadcasting application in cable broadcasting environment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19741870A1 (en) * 1997-09-23 1999-03-25 Cit Alcatel Method for distributing data packets of operating software
KR100268220B1 (en) * 1998-07-30 2000-10-16 윤종용 Protocol for downloading configuration data to base station
KR100304927B1 (en) * 1998-11-03 2001-09-24 서평원 Method of Realizing SNMP Agent Interface in the System COmposed of Many Boards
KR100566226B1 (en) * 1998-12-26 2006-05-25 삼성전자주식회사 How to download system code of network equipment using SNP
KR100575996B1 (en) * 1998-12-28 2006-10-04 삼성전자주식회사 How to Upgrade Image Files to Run the System
KR100480296B1 (en) * 1999-03-26 2005-04-06 삼성전자주식회사 Method for implementing managed object for file transfer access and management in telecommunication management network
KR100340210B1 (en) * 2000-02-22 2002-06-12 김주덕 Program download method of subscriber transmitting station
KR20020069669A (en) * 2001-02-27 2002-09-05 삼성전자 주식회사 Network management apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030022497A (en) * 2001-09-10 2003-03-17 한빛전자통신 주식회사 Method of Downloading Programs in the WCDMA Asynchronous System
KR100414671B1 (en) * 2002-02-14 2004-01-07 삼성전자주식회사 Method for automatically remote upgrading software of cable modem
KR20040008007A (en) * 2002-07-15 2004-01-28 에임텍 주식회사 Method of upgrading firmware for wireless terminal
KR100904961B1 (en) * 2007-09-28 2009-06-26 주식회사 아카넷티비 System for monitoring operation of data broadcasting application in cable broadcasting environment

Also Published As

Publication number Publication date
KR100456978B1 (en) 2004-11-10

Similar Documents

Publication Publication Date Title
WO2021217871A1 (en) Method and apparatus for deploying micro service cluster, computer device and storage medium
US7127526B1 (en) Method and apparatus for dynamically loading and managing software services on a network device
US6871223B2 (en) System and method for agent reporting in to server
US7197545B1 (en) Techniques for dynamically loading modules for devices discovered in a storage network
EP1635257A2 (en) System method and medium for configuring client computers to operate disconnected from a server computer while using a master instance of the operating system
US20100306337A1 (en) Systems and methods for cloning target machines in a software provisioning environment
JP2009070375A (en) System and method for custom installation of operating system on remote client
JPH11249900A (en) Computer system, boot method for system and recording medium
US7143405B2 (en) Methods and arrangements for managing devices
WO2005069544A1 (en) Automatic update system and method for using a meta mib
WO2009117921A1 (en) Distributed network management system, network management server and method
US20020091720A1 (en) Methods and arrangements for providing improved software version control in managed devices
CN114115917A (en) Operating system installation method and device
KR100456978B1 (en) Method for File Downloading in Agent
JP2013232221A (en) Apparatus management system, control method of apparatus management system, and apparatus information acquisition program
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
CN111726367A (en) User equipment CPE access binding method, device, system and equipment
CN112685102B (en) Gateway plug-in hot loading method, device, equipment and medium
JP2003228486A (en) Method and system for managing software, and program
Cisco PXM Backup Boot Procedures
Cisco Release Notes for Cisco Element Management Framework v3.2
Cisco Backup Boot Procedures
Cisco Backup Boot Procedures
Cisco PXM1E Backup Boot Procedures
WO2024053107A1 (en) Robot control system, control device, computer program, and update processing method for control software

Legal Events

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

Payment date: 20081031

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee