KR100350319B1 - Method of Self-loading Programs in the Communication System - Google Patents

Method of Self-loading Programs in the Communication System Download PDF

Info

Publication number
KR100350319B1
KR100350319B1 KR1019990053997A KR19990053997A KR100350319B1 KR 100350319 B1 KR100350319 B1 KR 100350319B1 KR 1019990053997 A KR1019990053997 A KR 1019990053997A KR 19990053997 A KR19990053997 A KR 19990053997A KR 100350319 B1 KR100350319 B1 KR 100350319B1
Authority
KR
South Korea
Prior art keywords
loading
file
program
loaded
information
Prior art date
Application number
KR1019990053997A
Other languages
Korean (ko)
Other versions
KR20010049072A (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 KR1019990053997A priority Critical patent/KR100350319B1/en
Publication of KR20010049072A publication Critical patent/KR20010049072A/en
Application granted granted Critical
Publication of KR100350319B1 publication Critical patent/KR100350319B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

본 발명은 통신 시스템(System)에서 프로그램(Program) 자체 로딩(Self-loading) 방법에 관한 것으로, 특히 프로그램을 로딩할 때에 해당 프로그램의 버전(Version)을 조사하여 불필요한 다운로드(Download) 작업을 제거하도록 한 통신 시스템에서 프로그램 자체 로딩 방법에 관한 것이다.The present invention relates to a method of self-loading a program in a communication system, and in particular, to remove unnecessary download tasks by examining a version of a corresponding program when loading a program. It relates to a method for loading a program itself in a communication system.

본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩 방법은 프로그램을 로딩하기 전에 버전 정보를 수신받아 다운로드 디렉토리(Directory)에 저장되어 있는 파일 헤더(File Header)의 버전과 비교하는 과정과; 상기 버전 비교 결과에 따라 자체 로딩 기능 또는 호스트(Host) 로딩 기능을 수행하는 과정을 포함하여 이루어진 것을 특징으로 한다.In the communication system according to an embodiment of the present invention, a method for loading a program itself may include: receiving version information before loading a program and comparing the version information with a version of a file header stored in a download directory; And performing a self loading function or a host loading function according to the version comparison result.

Description

통신 시스템에서 프로그램 자체 로딩 방법 {Method of Self-loading Programs in the Communication System}Method of Self-loading Programs in the Communication System

본 발명은 통신 시스템에서 프로그램 자체 로딩 방법에 관한 것으로, 특히 프로그램을 로딩할 때에 해당 프로그램의 버전(Version)을 조사하여 불필요한 다운로드(Download) 작업을 제거하도록 한 통신 시스템에서 프로그램 자체 로딩 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for loading a program itself in a communication system, and more particularly, to a method for loading a program itself in a communication system that checks a version of a corresponding program when the program is loaded to remove unnecessary download tasks. .

일반적으로, 통신 시스템에 있어서 프로그램의 로딩 요청이 있을 경우에 두 가지의 경우로 동작을 수행하게 된다. 즉, 하나는 해당 로딩할 파일(File)의 버전을 비교하지 않고 로딩을 수행하는 경우이며, 다른 하나는 로딩을 수행하기 이전에 파일의 버전을 비교하여 동일한 버전일 경우에 호스트로부터 로딩을 수행하지 않도록 하는 경우인데, 이때 실제적인 버전 비교는 수행하지 않았다.In general, when there is a request for loading a program in a communication system, two kinds of operations are performed. That is, one is loading without comparing the versions of the file to be loaded, and the other is not loading from the host when the versions are the same by comparing the versions of the file before loading. In this case, the actual version comparison was not performed.

첫 번째로, 로딩 요청 시에 버전의 검사 없이 로딩을 수행하는 경우에는 그 동작 수행이 간단한데, 외부로부터 로딩의 요청이 있을 때마다 무조건 호스트로부터 로딩을 수행하도록 해 준다. 해당 첫 번째의 경우에는 이전에 로딩되어 있는 프로그램과 동일한 버전의 프로그램일 경우에도 로딩을 수행하게 되므로, 동일한 프로그램의 로딩 작업을 불필요하게 반복하는 것이 되며, 이로 인해 자원을 비효율적으로 사용하고 로딩 시간의 낭비를 초래하게 된다.First, when loading is performed without checking the version at the time of loading request, the operation is simple. Whenever there is a request for loading from the outside, the loading is performed unconditionally from the host. In the first case, the loading is performed even if the program is the same version as the previously loaded program. Therefore, the loading operation of the same program is unnecessary, which in turn uses resources inefficiently and reduces the loading time. It causes waste.

두 번째로, 로딩 요청 시에 버전의 검사를 수행하는 경우에는 다음과 같이 동작을 수행한다.Secondly, when version checking is performed at the time of loading request, the following operation is performed.

먼저, 우선 로딩할 파일들의 리스트(List)를 요청하여 호스트로부터 해당 리스트를 수신받으며, 해당 리스트로부터 로딩할 파일들의 이름이나 버전 따위의 정보를 수집하여 파일 리스트를 생성시켜 준다.First, a list of files to be loaded is requested to receive a corresponding list from the host, and a file list is generated by collecting information such as names or versions of files to be loaded from the list.

이에, 해당 파일 리스트는 앞으로 로딩할 대상 파일을 찾을 때에 사용되는데, 로딩을 수행하면서도 로딩할 파일들에 대한 별도의 리스트를 관리하게 된다. 즉, 로딩 시에 로딩할 파일 리스트에서 다음 로딩의 대상 파일을 찾고 해당 파일의 정보를 가지고 로딩한 파일 리스트에 추가하고 로딩을 수행한 다음에는 로딩한 파일 리스트의 해당 파일에 대한 정보에 로딩되었음을 표시해 준다.Accordingly, the file list is used to find a target file to be loaded in the future, and manages a separate list of files to be loaded while performing loading. That is, when loading, it finds the target file of the next loading in the file list to be loaded, adds to the loaded file list with the information of the file, and after loading, it indicates that the loaded file is loaded in the information about the corresponding file in the loaded file list. give.

이 때, 로딩한 파일 리스트에 파일 엔트리(File Entry)를 추가한 후에 버전을 검사하는데, 즉 로딩할 파일 리스트에서의 파일과 로딩된 파일 리스트에서의 파일의 버전을 비교하는 것이다. 이와 같은 작업을 수행하는 이유는 주로 로딩을 받다가 도중에 연결이 끊어진 상황 시에 다시 연결이 복구되어 로딩 작업을 계속해서 이어서 할 경우에 이미 로딩이 완료된 파일에 대해서 로딩을 중복해서 수행하지 않도록 하기 위한 것이다. 여기서, 해당 로딩한 파일이란 모든 로딩 작업이 이미 완료된 이전의 로딩 작업에서의 로딩한 파일이 아니라 로딩 도중에 작업이 중단되었던 로딩 작업에서 로딩한 파일을 말한다.At this time, the version is checked after adding a file entry to the loaded file list, that is, comparing the file in the loaded file list with the version of the file in the loaded file list. The reason for doing this is mainly to avoid reloading a file that has already been loaded if the connection is restored when the connection is lost while the connection is lost. . Here, the loaded file is not a file loaded in a previous loading task in which all loading tasks are already completed, but a file loaded in a loading task in which the operation is interrupted during loading.

그러면, 이와 같은 버전의 검사를 수행하여 검사 결과로 버전이 동일하고 이미 로딩한 파일이라면 로딩 작업을 생략하고 로딩의 대상은 다음 파일로 넘어가게 된다. 따라서, 버전의 검사가 실제 파일의 버전이 업그레이드(Up-grade)된 경우에 대한 것이 아니다.Then, if the same version is checked and the file is already loaded as a result of the inspection, the loading operation is skipped and the target of loading is transferred to the next file. Thus, checking the version is not about when the version of the actual file is upgraded.

다시 말해서, 해당 두 번째의 경우에서는 실제 패키지(Package)의 사소한 변경으로 인해 빈번하게 패키지를 컴파일(Compile)하여 릴리즈(Release)를 만들어 줄 경우, 해당 사소한 변경이 있을 때마다 버전을 변경시켜 주는 데에 한계가 있다.In other words, in the second case, if a package is frequently compiled and released due to minor changes in the actual package, the version is changed whenever there is a minor change. There is a limit.

따라서, 커다란 변경이 아닌 경우에는 다운로드될 프로그램은 동일한 버전으로 유지하고 실제 버전의 검사를 수행하지 않는 경우가 더 많다. 또한, 버전을 검사할 경우에도 실제적으로 다운로드할 파일이 업그레이드된 경우에 부합하는 버전 검사가 아니라, 로딩 작업 도중에 만약 두 개의 파일을 로딩해야 할 경우, 한 개의 파일만 로딩한 상태에서 호스트와의 연결이 끊겼을 경우에 연결이 복구되어 로딩을 계속 수행할 때에 이미 다운로드한 첫 번째 파일을 재로딩하는 것을 방지하는 차원에서의 버전 검사를 말한다.Thus, unless it's a major change, the program to be downloaded is often kept at the same version and no checking of the actual version is performed. In addition, when checking the version, it is not the version check that is suitable when the file to be downloaded is actually upgraded. If two files are to be loaded during the loading operation, only one file is loaded and the host is connected. This is a version check in order to prevent reloading of the first file already downloaded when the connection is restored in case of a broken connection.

즉, 파일이 수정되어 다시 다운로드할 경우에는 첫 번째의 경우인 무조건 로딩하는 방법과 동일하다고 할 수 있으므로, 동일한 버전, 동일한 내용의 파일을 로딩할 경우에는 기존의 파일을 제거하고 다시 다운로드하는 동작을 중복하게 된다.In other words, when a file is modified and downloaded again, it can be said to be the same as the method of loading unconditionally, which is the first case. Therefore, when a file having the same version and the same content is loaded, the existing file is removed and downloaded again. Duplicate

이와 같이, 종래의 방식으로는 통신 시스템에서 프로그램의 로딩 요청이 있을 경우에 이전에 로딩되어 있던 프로그램과 동일한 버전의 프로그램일지라도 무조건 로딩을 수행하므로 동일한 프로그램에 대한 로딩 작업을 불필요하게 수행할 수 있으며, 이는 로딩에 필요한 자원들을 비효율적으로 사용하는 것이고 또한 로딩하는데 소요되는 시간의 낭비를 초래하는 문제점이 있다. 또한, 종래의 방식으로 버전 검사를 수행하더라도 충분한 신뢰성을 주지 못 하는 단점이 있다.As such, in the conventional method, when there is a loading request of a program in a communication system, even if a program of the same version as a previously loaded program is unconditionally loaded, a loading operation for the same program can be performed unnecessarily. This causes the problem of inefficient use of resources required for loading and waste of time required for loading. In addition, even if version checking is performed in a conventional manner, there is a disadvantage in that it does not give sufficient reliability.

전술한 바와 같은 문제점 또는 단점을 해결하기 위한 것으로, 본 발명은 통신 시스템에서 프로그램을 로딩할 때에 해당 프로그램의 버전 정보를 조사하여 동일한 버전인 경우(즉, 컴파일 시점이 동일한 경우)에는 로딩 작업 중 호스트로부터 다운로드하는 불필요한 작업을 제거하고 다른 버전인 경우(즉, 컴파일 시점이 다른 경우)에는 정확한 버전의 비교를 통해 호스트로부터의 로딩 작업을 수행하도록 함으로써, 로딩 시간을 단축하고 불필요한 작업의 수행으로 인한 자원과 시간의 낭비를 방지할 수 있을 뿐만 아니라 정확한 버전 검사에 의한 최근 프로그램을 신뢰성 있게 로딩할 수 있도록 하는데, 그 목적이다.In order to solve the above problems or disadvantages, the present invention is to check the version information of the corresponding program when loading the program in the communication system, if the same version (that is, when the compilation time is the same) host during the loading operation Eliminates unnecessary work from downloading from other versions (that is, when compilation time is different) and allows loading from the host to be performed by comparing the exact version, thus reducing loading time and reducing resources It is not only to prevent waste of time and time, but also to reliably load recent programs by accurate version checking.

도 1은 본 발명의 실시예에 따른 통신 시스템(System)에서 프로그램(Program) 자체 로딩(Self-loading)을 위한 시스템의 구성을 나타낸 블록도.1 is a block diagram showing the configuration of a system for self-loading a program in a communication system according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩 방법을 나타낸 플로우챠트.2 is a flowchart illustrating a program self loading method in a communication system according to an embodiment of the present invention.

도 3은 도 2에 있어 버전 비교 과정을 나타낸 플로우챠트.3 is a flowchart illustrating a version comparison process of FIG. 2.

도 4는 도 2에 있어 로딩 기능 수행 과정을 나타낸 플로우챠트.4 is a flowchart illustrating a process of performing a loading function in FIG. 2.

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

10 : 호스트(Host)10: Host

20 : 대상 프로세서(Processor)20: Target Processor

21 : IPC(Inter Process Communication)21: IPC (Inter Process Communication)

22 : IPC 클라이언트(Client)22: IPC Client

23 : 프로그램 로더(Loader)23: program loader

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩 방법은 프로그램을 로딩하기 전에 버전 정보를 수신받아 다운로드 디렉토리에 저장되어 있는 파일 헤더의 버전과 비교하는 과정과; 상기 버전 비교 결과에 따라 자체 로딩 기능 또는 호스트 로딩 기능을 수행하는 과정을 포함하여 이루어진 것을 특징으로 한다.In the communication system according to an embodiment of the present invention for achieving the above object, a method of loading a program itself includes: receiving version information before loading the program and comparing the version with a version of a file header stored in a download directory; And performing a self loading function or a host loading function according to the version comparison result.

여기서, 상기 버전 비교 과정은 호스트와 대상 프로세서간의 접속을 설정하고 초기화 로드(Load) 상태로 설정하는 단계와; 파일 리스트를 요청하여 파일 리스트 테이블을 수신하는 단계와; 상기 수신한 파일의 이름과 버전으로 파일 리스트를 재생성시켜 로딩할 파일을 찾는 단계와; 상기 로딩할 파일이 있는 경우에 첫 번째 로딩 플래그(Flag)를 확인하여 프로그램 파일인지를 확인하는 단계와; 상기 프로그램 파일의 로딩인 경우에 상기 첫 번째 로딩 플래그를 거짓으로 설정하고 버전 정보를 요청하는 단계와; 상기 버전 정보를 수신받아 다운로드 디렉토리에 있는 이전 파일의 버전과 비교하는 단계를 포함하여 이루어진 것을 특징으로 한다. 다르게는, 상기 버전 비교 과정은 상기 첫 번째 로딩 플래그를 확인하여 데이터 파일의 로딩인 경우에 해당 데이터 파일을 요청하여 수신하는 단계와; 데이터 로딩 플래그를 확인하여 상기 데이터 파일의 로딩이 완료되었는지를 확인하는 단계와; 상기 데이터 파일의 로딩이 완료되지 않은 경우에 상기 데이터 로딩 플래그를 거짓으로 설정한 후에 다음 로딩할 파일을 찾는 단계를 더 포함하여 이루어진 것을 특징으로 한다. 또한 다르게는, 상기 버전 비교 과정은 상기 로딩할 파일이 없는 경우 또는 상기 데이터 파일의 로딩이 완료된 경우에 로딩의 종료 작업을 수행하는 단계를 더 포함하여 이루어진 것을 특징으로 한다.The version comparison process may include establishing a connection between a host and a target processor and setting the connection to an initialization load state; Requesting a file list to receive a file list table; Regenerating a file list using the name and version of the received file to find a file to load; Checking whether a file is a program file by checking a first loading flag when there is a file to be loaded; Setting the first loading flag to false and requesting version information in case of loading of the program file; And receiving the version information and comparing it with a version of a previous file in a download directory. Alternatively, the version comparison process may include requesting and receiving a corresponding data file in the case of loading the data file by checking the first loading flag; Checking a data loading flag to determine whether loading of the data file is completed; If the loading of the data file is not completed, the step of setting the data loading flag to false and finding the next file to be loaded, characterized in that further comprises. Alternatively, the version comparison process may further include performing an end of loading operation when there is no file to be loaded or when loading of the data file is completed.

그리고, 상기 로딩 기능 수행 과정은 상기 비교한 버전이 동일한 경우에 자체 로딩 수행 상태로 설정하여 다운로드 디렉토리에 저장되어 있는 프로그램 파일을 사용하도록 하는 단계를 포함하여 이루어진 것을 특징으로 한다. 다르게는, 상기 로딩 기능 수행 과정은 상기 비교한 버전이 다른 경우에 로딩할 프로그램 파일을 요청하여 새로운 버전의 프로그램을 로딩하는 단계를 포함하여 이루어진 것을특징으로 한다. 또한 다르게는, 상기 로딩 기능 수행 과정은 자체 로딩 플래그를 확인하여 자체 로딩 수행 상태인지를 확인하는 단계와; 상기 자체 로딩 수행 상태인 경우 또는 로딩할 파일을 로딩한 후에 데이터 로딩 플래그를 확인하여 해당 파일의 로딩이 완료되었는지를 확인하는 단계와; 상기 파일의 로딩이 완료된 경우에 로딩의 종료 작업을 수행하는 단계를 더 포함하여 이루어진 것을 특징으로 한다. 또한 다르게는, 상기 로딩 기능 수행 과정은 상기 자체 로딩 수행 상태가 아닌 경우 또는 상기 파일의 로딩이 완료되지 않은 경우에 상기 데이터 로딩 플래그를 거짓으로 설정한 후에 다음 로딩할 파일을 찾는 단계를 더 포함하여 이루어진 것을 특징으로 한다.And, the process of performing the loading function is characterized in that it comprises a step of using the program file stored in the download directory to set the self-loading state when the comparison version is the same. Alternatively, the performing of the loading function may include requesting a program file to be loaded when the compared version is different and loading a new version of the program. Also, alternatively, the performing of the loading function may include checking a self loading flag to determine whether a self loading state is performed; Checking whether the loading of the corresponding file is completed by checking a data loading flag in the self loading state or after loading a file to be loaded; When the loading of the file is completed, characterized in that further comprising the step of performing the end of the loading operation. Alternatively, the loading function performing process may further include searching for a file to be loaded after setting the data loading flag to false when the file is not in the self loading state or when the loading of the file is not completed. Characterized in that made.

본 발명은 프로그램을 로딩하기 전에 버전 정보를 호스트에 요청하여 수신받아 다운로드한 파일을 저장하는 디렉토리(Directory)에 있는 해당 파일의 헤더(Header)와 비교하고 동일한 프로그램인지를 확인한 후에 다른 프로그램일 경우에만 다운로딩을 수행하도록 해 준다. 또한, 본 발명은 데이터 파일이 있는 경우에 호스트로 해당 파일을 요청해서 다운로드하도록 해 주는데, 현재의 스킴(Scheme) 상으로 압축을 풀어서 실행 프로세서를 구동시킬 파일과 데이터 파일의 두 개를 다운로드할 때에 해당 데이터 파일을 나중에 로딩하도록 해 준다. 따라서, 첫 번째 파일의 로딩인지 아니면 두 번째 파일의 로딩인지를 체크(Check)하여 첫 번째 파일의 로딩일 경우에 버전 정보를 요청하는 메시지(Message)를 호스트로 송출하고 두 번째 파일의 로딩일 경우에는 바로 해당 파일을 요청하는 메시지를호스트로 송출하도록 해 준다. 이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.According to the present invention, before loading a program, a request for version information is received from a host, compared with a header of a corresponding file in a directory in which a received and downloaded file is stored. Allows you to download. In addition, the present invention allows a file to be requested and downloaded to the host when there is a data file, which is decompressed onto the current scheme to download two files and a data file to run the execution processor. Allows you to load the data file later. Therefore, it checks whether the first file is loaded or the second file is loaded and sends a message requesting the version information to the host when the first file is loaded and when the second file is loaded. Will immediately send a message requesting the file to the host. Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩을 위한 구성으로는 도 1에 도시한 바와 같이, 크게 본체의 호스트(10)와 대상 프로세서(20)로 나눌 수 있는데, 해당 대상 프로세서(20) 내에는 IPC(21)와, IPC 클라이언트(22)와, 프로그램 로더(23)를 포함하여 이루어진다. 여기서, 도 1은 프로그램 자체 로딩을 위한 핵심적인 오브젝트(Object)만 도시하였으며, 그 외의 로딩에 필요하긴 하나 직접적인 관련이 없는 오브젝트는 설명의 편의상 생략하기로 한다.In the communication system according to an embodiment of the present invention, as shown in FIG. 1, a program for loading itself may be divided into a host 10 and a target processor 20 of a main body. The inside includes an IPC 21, an IPC client 22, and a program loader 23. Here, FIG. 1 illustrates only a core object for loading the program itself, and objects necessary for other loading but not directly related will be omitted for convenience of description.

상기 IPC(21)는 상기 대상 프로세서(20) 내의 블록들이 상기 호스트(10)와 메시지를 송수신할 수 있도록 실제적으로 전달 임무를 수행하는 블록으로서, 상기 IPC 클라이언트(22)의 요청에 따라 메시지 전달의 서비스를 제공해 준다.The IPC 21 is a block that actually performs a delivery task so that the blocks in the target processor 20 can transmit and receive a message with the host 10. The IPC 21 performs a message transmission at the request of the IPC client 22. Provide service.

상기 IPC 클라이언트(22)는 프로그램 로딩 시에 상기 호스트(10)와의 메시지 교환을 담당하는 인터페이스(Interface) 오브젝트로서, 상기 호스트(10)로의 메시지 전달 요청을 상기 IPC(21)에 인가하고 상기 IPC(21)를 통해 상기 호스트(10)의 메시지를 인가받아 필요한 작업을 수행하거나 작업에 따라 상기 프로그램 로더(23)로 전달해 준다.The IPC client 22 is an interface object that is in charge of exchanging messages with the host 10 when a program is loaded. The IPC client 22 applies a message transfer request to the host 10 to the IPC 21 and the IPC ( The host 10 receives a message from the host 10 to perform a necessary task or delivers the message to the program loader 23 according to the task.

상기 프로그램 로더(23)는 프로그램 로딩을 주도적으로 수행하는 오브젝트로서, 파일 리스트, 버전 정보, 실제 다운로드할 파일들 등을 요청하는 일을 수행한다.The program loader 23 is an object that predominantly performs program loading, and requests a file list, version information, files to be actually downloaded, and the like.

한편, 상기 대상 프로세서(20)의 프로그램 로딩 작업은 압축되어 있는 파일을 상기 호스트(10)로부터 다운로드받아서 임시 디렉토리에 저장해 두고 압축은 다른 디렉토리에 풀어서 해당 디렉토리에 있는 실행 파일을 구동시켜 주는데, 이때 상기 호스트(10)는 한번에 프로그램을 다운로드해 주는 것이 아니라 해당 다운로드해 줄 프로그램의 크기가 너무 크기 때문에 해당 프로그램을 몇 개로 쪼개서 여러 시퀀스(Sequence)로 나누고 해당 시퀀스를 하나씩 상기 대상 프로세서(20)로 송출하게 된다.Meanwhile, the program loading operation of the target processor 20 downloads the compressed file from the host 10 and stores it in a temporary directory, and decompresses it in another directory to drive the executable file in the corresponding directory. The host 10 does not download the program at once, but because the size of the program to be downloaded is too large, the host 10 splits the program into several sequences and sends the sequences to the target processor 20 one by one. do.

따라서, 상기 대상 프로세서(20)에서는 상기 시퀀스들을 수신하기 전에 헤더(Header)를 먼저 수신받아 파일 크기를 조사하며, 코드(즉, 시퀀스)를 수신받을 때마다 해당 수신받은 블록의 시퀀스 수(Number)를 조사하고 체크섬(Checksum)을 점검하는 등의 처리해야 할 작업상의 오버헤드(Overhead)가 따르게 되는데, 만약 동일한 버전의 동일 프로그램에 대해서도 해당 작업을 수행하게 되면 많은 자원과 시간의 낭비가 따르게 된다.Accordingly, the target processor 20 first receives a header and checks a file size before receiving the sequences, and each time a code (ie, a sequence) is received, the number of sequences of the corresponding block is received. This is accompanied by the overhead of the work to be processed, such as checking and checking the checksum. If the task is executed for the same program of the same version, a lot of resources and time are wasted.

그래서, 본 발명의 대상 프로세서(20)에서는 상기 불필요한 작업을 없애기 위해서 로딩하기 전에 상기 호스트(10)로부터 로딩할 프로그램의 버전을 사전에 약속한 신호, 즉 버전 정보를 포함하고 있는 신호를 수신받으며, 해당 로딩할 프로그램의 버전을 이미 로딩되어 있는 프로그램의 버전과 비교하여 로딩을 수행할 것인지 아니면 종래에 로딩했던 프로그램을 그대로 사용할 것인지를 결정하도록 한다.Thus, in order to eliminate the unnecessary work, the target processor 20 of the present invention receives a signal that promises a version of a program to be loaded in advance, that is, a signal including version information, from the host 10 before loading to eliminate unnecessary work. The version of the program to be loaded is compared with the version of the program that is already loaded to determine whether to perform the loading or to use the program that has been previously loaded.

다시 말해서, 상기 대상 프로세서(20)에서는 두 가지 형태의 로딩 기능을 지원하는데, 하나는 종래의 방법인 호스트 로딩이고 다른 하나는 호스트로부터 다운로드하지 않고 자체적으로 시스템에 저장하고 있던 프로그램을 사용하는 자체 로딩이다. 여기서, 해당 자체 로딩 기능은 로딩을 수행하기 전에 상기 호스트(10)로부터 로딩할 파일의 버전을 수신받아 이전의 로딩 작업에서 로딩했던 파일의 버전과 비교하여 동일한 버전인 경우에 상기 호스트(10)로부터 파일을 다운로드하지 않고 이전에 로딩했던 파일을 가지고 그대로 로딩 작업을 진행하는데, 즉 다운로드하는 작업을 생략한다. 그리고, 해당 호스트 로딩 기능은 로딩을 수행하기 전에 상기 호스트(10)로부터 로딩할 파일의 버전을 수신받아 이전의 로딩 작업에서 로딩했던 파일의 버전과 비교하여 서로 다른 버전인 경우에 종래의 기술과 같이 상기 호스트(10)로부터 다운로드받아 로딩을 수행한다. 이때, 해당 버전이라 함은 파일에 대해 명시적으로 명명된 버전(Character String)이 아니라 다운로드할 파일을 제작한 날짜를 의미하는 것으로 파일 헤더의 일부분을 말한다.In other words, the target processor 20 supports two types of loading functions, one of which is a host loading, which is a conventional method, and the other of which loads itself using a program stored in the system itself without being downloaded from the host. to be. Here, the self-loading function receives a version of a file to be loaded from the host 10 before performing the loading and compares it with the version of the file loaded in the previous loading operation. Instead of downloading the file, the loading operation proceeds with the previously loaded file, that is, the download operation is omitted. The host loading function receives the version of the file to be loaded from the host 10 before performing the loading and compares the version of the file with the file loaded in the previous loading operation. It downloads from the host 10 and performs loading. In this case, the version refers to the date of creation of the file to be downloaded, not the explicitly named version (Character String) for the file, and refers to a part of the file header.

본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩 방법을 도 2의 플로우챠트를 참고하여 설명하면 다음과 같다.A method of loading a program itself in a communication system according to an exemplary embodiment of the present invention will be described with reference to the flowchart of FIG. 2.

먼저, 대상 프로세서(20)에서는 프로그램을 로딩하기 전에 버전 정보를 호스트(10)에 요청하며, 해당 호스트(10)로부터 버전 정보를 수신받고 디렉토리에 저장되어 있는 이미 다운로드한 파일의 헤더에서 해당 파일의 버전을 판독하여 해당 수신받은 버전 정보와 비교한다(과정 S1).First, the target processor 20 requests the host 10 for version information before loading the program, receives the version information from the host 10, and checks the corresponding file in the header of the already downloaded file stored in the directory. The version is read and compared with the received version information (step S1).

이에, 상기 대상 프로세서(20)에서는 상기 제1과정(S1)에서 비교한 결과에 따라 자체 로딩 기능 또는 호스트 로딩 기능을 수행하도록 하는데, 즉 상기 비교한결과로 동일한 프로그램인 경우에는 자체 로딩 기능을 수행하도록 해 주고 상기 비교한 결과로 다른 프로그램인 경우에는 호스트 로딩 기능을 수행하도록 해 준다(과정 S2).In this case, the target processor 20 performs the self loading function or the host loading function according to the result of the comparison in the first process S1. That is, if the same program is the result of the comparison, the target processor 20 performs the self loading function. As a result of the comparison, in case of another program, the host loading function is performed (step S2).

첫 번째로, 상기 제1과정(S1)의 버전 비교 과정을 도 3의 플로우챠트를 참고하여 보다 상세히 살펴보면 다음과 같다.First, the version comparison process of the first process S1 will be described in more detail with reference to the flowchart of FIG. 3.

우선, 상기 호스트(10)와 대상 프로세서(20) 간의 접속을 설정하고 상태를 초기화 로드(Initial Load) 상태로 설정하는데, 즉 플래그들의 초기 값을 설정해 준다. 여기서, 해당 플래그는 자체 로딩 플래그, 데이터 로딩 플래그 및 첫 번째 로딩 플래그로 이루어져 자체 로딩 기능과 호스트 로딩 기능을 구분하여 처리할 수 있도록 해 주며, 해당 처리는 해당 플래그들의 참(True)/거짓(False) 값에 따라 이루어진다.First, the connection between the host 10 and the target processor 20 is established and the state is set to an initial load state, that is, an initial value of flags is set. Here, the flag consists of a self loading flag, a data loading flag, and a first loading flag so that the self loading function and the host loading function can be distinguished and processed, and the processing is true / false of the flags. ) Depends on the value.

다시 말해서, 상기 자체 로딩 플래그는 로딩할 유형이 자체 로딩인지 호스트 로딩인지를 나타낸다. 상기 데이터 로딩 플래그는 자체 로딩 시에 상기 호스트(10)로부터 데이터 파일을 로딩하기 위해서 사용하는 플래그로, 해당 값이 참이면 데이터 파일을 로딩하기 전의 상태이고 거짓이면 로딩한 후의 상태임을 나타낸다. 상기 첫 번째 로딩 플래그는 두 개의 파일, 즉 현재의 스킴 상으로 압축을 풀어서 실행 프로세서를 구동시킬 프로그램 파일과 데이터 파일을 로딩할 경우에 첫 번째 파일(예로, 프로그램 파일)의 로딩임을 나타내는 플래그로, 해당 값이 참이면 아직 아무 파일도 로딩하지 않은 상태로 첫 번째 파일을 로딩할 순서임을 나타내고 거짓이면 이미 첫 번째 파일을 로딩한 후에 두 번째 파일(예로, 데이터파일)을 로딩할 순서임을 나타낸다.In other words, the self loading flag indicates whether the type to be loaded is self loading or host loading. The data loading flag is a flag used to load a data file from the host 10 at the time of self loading. If the value is true, the data loading flag indicates a state before loading the data file and a state after loading if the value is true. The first loading flag is a flag indicating that the first file (for example, a program file) is loaded when loading a file and a data file to decompress two files, that is, a running processor by using the current scheme. If this value is true, it means that the first file is loaded without any file loaded yet. If it is false, it means that the second file (for example, data file) is loaded after the first file is loaded.

이 때, 상기 초기화 로드 상태에서 상기 자체 로딩 플래그의 값을 거짓으로 설정하고 상기 데이터 로딩 플래그의 값을 거짓으로 설정하고 상기 첫 번째 로딩 플래그의 값을 참으로 설정해 준다(단계 S1-1).At this time, in the initialization load state, the value of the self loading flag is set to false, the value of the data loading flag is set to false and the value of the first loading flag is set to true (step S1-1).

그런 후, 상기 대상 프로세서(20)에서 상기 호스트(10)로 파일 리스트를 요청한다(단계 S1-2). 그리고, 상기 호스트(10)에서는 상기 대상 프로세서(20)의 파일 리스트 요청에 따라 파일 리스트를 테이블(Table) 형태로 상기 대상 프로세서(20)로 송출해 준다.Thereafter, the target processor 20 requests a file list from the host 10 (step S1-2). The host 10 transmits the file list to the target processor 20 in the form of a table according to the file list request of the target processor 20.

이에, 상기 대상 프로세서(20)는 상기 호스트(10)로부터 인가되는 테이블 형태의 파일 리스트를 수신하며(단계 S1-3), 해당 수신한 파일의 이름과 버전으로 새롭게 파일 리스트를 생성시켜 준다(단계 S1-4). 그리고, 로딩할 파일을 해당 새로운 파일 리스트에서 찾는데, 이때 해당 로딩할 파일이 있는지를 확인한다(단계 S1-5).Accordingly, the target processor 20 receives a file list in the form of a table from the host 10 (step S1-3), and generates a new file list with the name and version of the received file (step S1-3). S1-4). Then, the file to be loaded is searched for in the corresponding new file list. At this time, it is checked whether there is a file to be loaded (step S1-5).

만약, 상기 제1-5단계(S1-5)에서 로딩할 파일이 있는 경우에는 프로그램 파일인지 아니면 데이터 파일인지를 확인하는데, 즉 첫 번째 로딩 플래그의 값이 참으로 설정되어 있는지를 확인한다(단계 S1-6).If there is a file to be loaded in step 1-5 (S1-5), it is checked whether it is a program file or a data file, that is, whether the value of the first loading flag is set to true (step S1-6).

이때, 상기 제1-6단계(S1-6)에서 첫 번째 파일(예로, 프로그램 파일)의 로딩일 경우, 즉 첫 번째 로딩 플래그의 값이 참으로 설정되어 있는 경우에는 첫 번째 로딩 플래그의 값을 거짓으로 재설정해 준 후(단계 S1-7), 버전 정보를 요청하는 메시지를 상기 호스트(10)로 송출해 준다(단계 S1-8). 그리고, 상기 호스트(10)에서는 상기 대상 프로세서(20)의 요청에 따라 버전 정보, 즉 다운로드할 프로그램의 제작 날짜(컴파일하여 압축한 날짜)에 대한 정보를 응답 메시지에 실어서 상기 대상 프로세서(20)로 송출해 준다.In this case, when loading the first file (for example, a program file) in the first to sixth steps (S1-6), that is, when the value of the first loading flag is set to true, the value of the first loading flag is set. After resetting to false (step S1-7), a message requesting version information is sent to the host 10 (step S1-8). In response to the request of the target processor 20, the host 10 loads version information, that is, information about a production date (compiled and compressed date) of a program to be downloaded, in the response message and the target processor 20. Send it out.

이에 따라, 상기 대상 프로세서(20)는 상기 호스트(10)로부터 버전 정보가 담긴 응답 메시지를 수신받아(단계 S1-9) 프로그램 로더(23)에서 해당 수신받은 응답 메시지를 조사하는데, 즉 다운로드 디렉토리에 있는 파일의 헤더에서 버전 정보를 판독하여 해당 수신받은 응답 메시지의 버전과 해당 다운로드 디렉토리에 있는 파일 헤더의 버전이 동일한지를 확인한다(단계 S1-10).Accordingly, the target processor 20 receives the response message containing the version information from the host 10 (step S1-9) and examines the received response message in the program loader 23, that is, in the download directory. The version information is read from the header of the file to check whether the version of the received response message is the same as the version of the file header in the download directory (step S1-10).

다시 말해서, 상기 제1-10단계(S1-10)에서 버전이 같은지를 검사하는 것은 이전에 로딩해 놓았던 프로그램의 앞 헤더 부분의 4바이트를 판독하여 상기 호스트(10)로부터 수신받은 4바이트(Byte)의 응답 메시지와 비교한 결과가 동일한 경우에 동일한 버전임을 의미하며, 해당 4바이트의 내용은 프로그램을 압축한 날짜이다.In other words, checking whether the versions are the same in steps 1-10 (S1-10) is to read 4 bytes of the header portion of the previous header of the previously loaded program and receive 4 bytes received from the host 10. ), If the result of comparison with the response message is the same, it means the same version, and the contents of the corresponding 4 bytes are the date of compressing the program.

다르게는, 상기 제1-6단계(S1-6)에서 두 번째 파일(예로, 데이터 파일)의 로딩일 경우, 즉 첫 번째 로딩 플래그의 값이 거짓으로 설정되어 있는 경우에는 해당 데이터 파일을 요청하는 메시지를 상기 호스트(10)로 송출하며(단계 S1-11), 이에 상기 호스트(10)로부터 데이터 파일의 헤더, 코드(Code) 및 종료(End)를 수신받는다(단계 S1-12). 이때, 파일의 크기가 클 경우에 상기 호스트(10)는 여러 시퀀스로 쪼개어서 순서대로 전달하게 되며, 해당 코드를 수신하는 동작은 모든 시퀀스들을 다 수신받을 때까지 반복 수행하게 된다. 여기서, 해당 코드란 바로 해당 시퀀스를 말하는 것이다.Alternatively, when the second file (eg, a data file) is loaded in step 1-6 (S1-6), that is, when the value of the first loading flag is set to false, the corresponding data file is requested. A message is sent to the host 10 (step S1-11), and a header, code, and end of a data file are received from the host 10 (step S1-12). In this case, when the file size is large, the host 10 splits the sequence into several sequences and transfers them in order, and the operation of receiving the corresponding code is repeatedly performed until all the sequences are received. Here, the code refers to the sequence.

즉, 상기 데이터 파일이 있는 경우에 상기 호스트(10)로 해당 데이터 파일을 요청해서 다운로드하도록 하는데, 만약에 프로그램 파일과 데이터 파일, 즉 두 개의 파일을 다운로드할 때에 해당 데이터 파일을 나중에 로딩하도록 해 준다.That is, when the data file exists, the host 10 requests the data file to download the data file. If the data file is downloaded, the data file is loaded later. .

그런 후, 상기 데이터 파일을 로딩하기 전의 상태인지, 즉 데이터 로딩 플래그의 값이 참으로 설정되어 있는지를 확인하는데(단계 S1-13), 이때 해당 제1-13단계(S1-13)에서 데이터 로딩 플래그의 값이 참으로 설정되어 있는 경우에는 해당 데이터 로딩 플래그의 값을 거짓으로 재설정해 준 후에 상기 제1-5단계(S1-5)로 전환하여 다음 로딩할 파일이 있는지를 재확인한다(단계 S1-14).Then, it is checked whether the data file is in a state before loading, that is, whether the value of the data loading flag is set to true (step S1-13), in which case the data loading in the corresponding step 11-13 (S1-13). If the value of the flag is set to true, after resetting the value of the corresponding data loading flag to false, the process returns to step 1-5 (S1-5) to check whether there is a next file to be loaded (step S1). -14).

반면에, 상기 제1-5단계(S1-5)에서 로딩할 파일이 없는 경우 또는 상기 제1-13단계(S1-13)에서 데이터 파일을 로딩한 후의 상태인 경우, 즉 데이터 로딩 플래그의 값이 거짓으로 설정되어 있는 경우에는 로딩의 종료 작업을 수행하는데, 즉 다운로드한 파일을 가지고 압축을 풀고 인스톨(Install) 작업을 수행하도록 해 준다(단계 S1-15).On the other hand, when there is no file to be loaded in the first step (S1-5) or the state after loading the data file in the first-first step (S1-13), that is, the value of the data loading flag If it is set to false, the end of the loading operation is performed, that is, the file is decompressed and installed with the downloaded file (step S1-15).

두 번째로, 상기 제2과정(S2)의 로딩 기능 수행 과정을 도 4의 플로우챠트를 참고하여 보다 상세히 살펴보면 다음과 같다.Secondly, the process of performing the loading function of the second process S2 will be described in more detail with reference to the flowchart of FIG. 4.

먼저, 상기 제1과정(S1)에서 비교한 결과로 동일한 버전의 동일한 프로그램인지를 확인한다(단계 S2-1). 이때, 해당 제2-1단계(S2-1)에서 동일한 프로그램이 아닌 경우, 즉 서로 다른 날짜에 컴파일한 프로그램인 경우에는 자체 로딩이 아니라 호스트 로딩이므로 첫 번째 파일과 두 번째 파일을 모두 로딩해야 하는데, 해당로딩할 파일들을 요청하는 메시지를 상기 호스트(10)로 송출하며(단계 S2-2), 이에 상기 호스트(10)로부터 해당 파일들의 헤더, 코드(Code) 및 종료(End)를 수신받아 상기 호스트(10)로부터 최근 버전의 실제 적용할 신뢰성 있는 프로그램을 로딩하게 된다(단계 S2-3).First, as a result of the comparison in the first step S1, it is checked whether the same program is the same version (step S2-1). In this case, when the program is not the same program in the corresponding step 2-1 (S2-1), that is, a program compiled on different dates, the first file and the second file should be loaded because the host is not the self-loading. Sends a message requesting files to be loaded to the host 10 (step S2-2), and receives a header, a code, and an end of the files from the host 10. From the host 10, a reliable program to actually apply the latest version is loaded (step S2-3).

반면에, 상기 제2-1단계(S2-1)에서 동일한 프로그램인 경우, 즉 서로 동일한 날짜에 컴파일한 프로그램인 경우에는 자체 로딩이므로 첫 번째 파일은 로딩하지 않아도 되는데, 자체 로딩 플래그의 값을 참으로 재설정하고 데이터, 즉 PLD(Programmable Logic Device) 데이터 파일은 별도로 상기 호스트(10)로부터 다운로드해야 하므로 데이터 로딩 플래그의 값을 참으로 재설정하고 첫 번째 리스트가 로드되었음을 나타내기 위해 첫 번째 로딩 플래그의 값을 참으로 다시 설정해 줌으로써, 상태를 자체 로딩 수행 상태로 설정해 준다(단계 S2-4). 즉, 상기 호스트(10)로부터 다시 로딩할 필요가 없으므로 임시 디렉토리 상에 이전에 로딩하여 압축해 놓은 상태의 프로그램 파일을 사용하도록 해 준다.On the other hand, in the case of the same program in step 2-1 (S2-1), that is, programs compiled on the same date, the first file does not need to be loaded because it is self-loading. And the data, ie PLD (Programmable Logic Device) data file, must be downloaded separately from the host 10, so reset the value of the data loading flag to true and indicate that the first list has been loaded. By setting again to true, the state is set to the self-loading execution state (step S2-4). That is, since there is no need to reload from the host 10, the program file of the previously loaded and compressed state on the temporary directory is used.

이 때, 압축되어 있는 파일을 임시 디렉토리에 저장하고 압축을 푸는 과정은 두 경우, 즉 상기 호스트(10)로부터의 로딩과 자체 로딩에 동일하게 행해지며, 해당 로딩할 파일들 중에 PLD 데이터 파일이 있을 경우에만 해당 데이터 파일을 상기 호스트(10)로부터 다운로드하도록 한다.At this time, the process of storing and decompressing the compressed file in a temporary directory is performed in two cases, namely, the loading from the host 10 and the self-loading, and the PLD data file among the files to be loaded. Only when the data file is to be downloaded from the host (10).

그런 후, 상기 자체 로딩 플래그의 값이 거짓인지를 확인한다(단계 S2-5).Then, it is checked whether the value of the self loading flag is false (step S2-5).

이에, 상기 제 2-3단계(S2-3)의 수행 후 또는 상기 제 2-5단계(S2-5)에서 상기 자체 로딩 플래그의 값이 참이면, 데이터 로딩 플래그의 값이 참으로 설정되어있는지를 확인한다(단계 S2-6).Therefore, if the value of the self loading flag is true after performing the second to third steps S2-3 or the second to five steps S2-5, whether the value of the data loading flag is set to true. Check (step S2-6).

이 때, 상기 제 2-5단계(S2-5)에서 상기 자체 로딩 플래그의 값이 거짓인 경우 또는 상기 제2-6단계(S2-6)에서 데이터 로딩 플래그의 값이 참인 경우에는 해당 데이터 로딩 플래그의 값을 거짓으로 재설정해 준 후에(단계 S2-7) 상기 제1과정(S1)의 제1-5단계(S1-5)로 전환하여 다음 로딩할 파일이 있는지를 재확인한다(단계 S2-8).At this time, when the value of the self loading flag is false in step 2-5 (S2-5) or when the value of the data loading flag is true in step 2-6 (S2-6), loading the corresponding data. After resetting the value of the flag to false (step S2-7), the process returns to the first to fifth steps S1-5 of the first step S1 to reconfirm whether there is a file to be loaded next (step S2-). 8).

반면에, 상기 제2-6단계(S2-6)에서 데이터 로딩 플래그의 값이 거짓인 경우에는 로딩의 종료 작업을 수행하는데, 즉 다운로드한 파일을 가지고 압축을 풀고 인스톨 작업을 수행하도록 해 준다(단계 S2-9).On the other hand, if the value of the data loading flag is false in step 2-6 (S2-6), the end of the loading operation is performed, that is, to decompress and install the downloaded file ( Step S2-9).

상술한 바와 같은 본 발명의 실시예에 따른 통신 시스템에서 프로그램 자체 로딩 방법은 지능망 프로세서의 운용 유지 보수에 적용되는데, 종래의 기술과 가장 큰 차이점은 로딩 전에 버전 정보를 호스트로 요청하여 수신받고 플래그 변수를 이용하여 다음의 처리를 결정한다는 것이다.In the communication system according to the embodiment of the present invention as described above, the program self loading method is applied to the operation maintenance of the intelligent network processor. The biggest difference from the conventional technology is that the request for version information is received by the host before loading and the flag variable is loaded. To determine the next process.

이상과 같이, 본 발명에 의해 로딩할 프로그램의 버전을 먼저 조사하여 동일한 버전의 프로그램일 경우에 로딩 작업 중 호스트로부터 다운로드하는 작업을 제거함으로써 불필요한 작업의 수행으로 인한 자원과 시간의 낭비를 방지할 수 있으며, 다른 버전일 경우에는 정확한 버전의 비교를 통해 호스트로부터의 로딩 작업을 수행하게 되므로 최근 프로그램을 신뢰성 있게 로딩할 수 있도록 해 준다.As described above, by investigating the version of a program to be loaded by the present invention first, in the case of a program of the same version, by eliminating the task of downloading from the host during the loading operation, it is possible to prevent waste of resources and time due to unnecessary work. In case of different version, loading from the host is performed by comparing the exact version, so that the latest program can be loaded reliably.

Claims (8)

통신 시스템에서 호스트에 존재하는프로그램을상기 시스템 내의 대상 프로세서가로딩하기 전에상기 프로그램의 파일 헤더에 존재하는 컴파일 시점에 대한정보를호스트로부터수신받아대상 프로세서의다운로드 디렉토리에이미저장되어 있는프로그램의파일 헤더에 존재하는 컴파일 시점에 대한 정보와비교하는 과정과; File header of a program that is already stored in the download directory of the target processor by receiving information about a compile time existing in the file header of the program before the target processor in the system loads a program existing on the host in the communication system Comparing the information with respect to the time of compilation present in the ; 상기컴파일 시점에 대한 정보비교 결과에 따라상기 대상 프로세서가자체 로딩 기능 또는 호스트 로딩 기능을 수행하는 과정을 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.And performing the self loading function or the host loading function by the target processor according to the result of comparing the information on the compilation time . 제1항에 있어서,The method of claim 1, 상기파일 헤더에 존재하는 컴파일 시점에 대한 정보비교 과정은 호스트와 대상 프로세서간의 접속을 설정하고 초기화 로드 상태로 설정하는 단계와;Comparing information on a compilation time present in the file header may include establishing a connection between a host and a target processor and setting the connection to an initialization load state; 파일 리스트를 요청하여 파일 리스트 테이블을 수신하는 단계와;Requesting a file list to receive a file list table; 상기 수신한 파일의 이름과파일 헤더에 존재하는 컴파일 시점에 대한 정보로 파일 리스트를 재생성시켜 로딩할 파일을 찾는 단계와;Searching for a file to be loaded by regenerating a file list by using the name of the received file and information on a compile time present in a file header ; 상기 로딩할 파일이 있는 경우에 첫 번째 로딩 플래그를 확인하여 프로그램 파일인지를 확인하는 단계와;Checking whether a file is a program file by checking a first loading flag when the file to be loaded is present; 상기 프로그램 파일의 로딩인 경우에 상기 첫 번째 로딩 플래그를 거짓으로 설정하고파일 헤더에 존재하는 컴파일 시점에 대한정보를 요청하는 단계와;Setting the first loading flag to false in the case of loading the program file and requesting information about a compile time present in the file header ; 상기컴파일 시점에 대한정보를호스트로부터수신받아대상 프로세서의다운로드 디렉토리에 있는 이전 파일의파일 헤더에 존재하는 컴파일 시점에 대한 정보와비교하는 단계를 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.Receiving the information on the compilation time from the host and comparing the information on the compilation time existing in the file header of the previous file in the download directory of the target processor. . 제2항에 있어서,The method of claim 2, 상기파일 헤더에 존재하는 컴파일 시점에 대한 정보비교 과정은 상기 첫 번째 로딩 플래그를 확인하여 데이터 파일의 로딩인 경우에 해당 데이터 파일을 요청하여 수신하는 단계와;Comparing the information on the compilation time present in the file header, the method comprising: checking and receiving the first loading flag and requesting and receiving a corresponding data file when the data file is loaded; 데이터 로딩 플래그를 확인하여 상기 데이터 파일의 로딩이 완료되었는지를 확인하는 단계와;Checking a data loading flag to determine whether loading of the data file is completed; 상기 데이터 파일의 로딩이 완료되지 않은 경우에 상기 데이터 로딩 플래그를 거짓으로 설정한 후에 다음 로딩할 파일을 찾는 단계를 더 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.And if the loading of the data file is not completed, setting the data loading flag to false and finding the next file to be loaded. 제3항에 있어서,The method of claim 3, 상기파일 헤더의 컴파일 시점에 대한 정보비교 과정은 상기 로딩할 파일이 없는 경우 또는 상기 데이터 파일의 로딩이 완료된 경우에 로딩의 종료 작업을 수행하는 단계를 더 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법. Compiling the information on the compilation time of the file header further comprises the step of performing the end of the loading operation when there is no file to be loaded or the loading of the data file is completed, the program in the communication system, characterized in that Self loading method. 제1항에 있어서,The method of claim 1, 상기 로딩 기능 수행 과정은 상기 비교한컴파일 시점에 대한 정보가동일한 경우에 자체 로딩 수행 상태로 설정하여대상 프로세서의다운로드 디렉토리에 저장되어 있는 프로그램 파일을 사용하도록 하는 단계를 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.The performing of the loading function may include setting a self-loading state to use a program file stored in a download directory of a target processor when the information about the compiling time point is the same. How to load the program itself in the system. 제1항에 있어서,The method of claim 1, 상기 로딩 기능 수행 과정은 상기 비교한컴파일 시점에 대한 정보가 서로다른 경우에 로딩할 프로그램 파일을 요청하여새로 컴파일된 프로그램을 로딩하는 단계를 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.The performing of the loading function may include loading a newly compiled program by requesting a program file to be loaded when information on the compared compilation time points is different from each other. 제5항 또는 제6항에 있어서,The method according to claim 5 or 6, 상기 로딩 기능 수행 과정은 자체 로딩 플래그를 확인하여 자체 로딩 수행 상태인지를 확인하는 단계와;The performing of the loading function may include: checking whether a loading state is performed by checking a loading flag; 상기 자체 로딩 수행 상태인 경우 또는 로딩할 파일을 로딩한 후에 데이터 로딩 플래그를 확인하여 해당 파일의 로딩이 완료되었는지를 확인하는 단계와;Checking whether the loading of the corresponding file is completed by checking a data loading flag in the self loading state or after loading a file to be loaded; 상기 파일의 로딩이 완료된 경우에 로딩의 종료 작업을 수행하는 단계를 더 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.When the loading of the file is completed, the method of loading the program itself in the communication system, characterized in that further comprising the step of performing the end of the loading operation. 제7항에 있어서,The method of claim 7, wherein 상기 로딩 기능 수행 과정은 상기 자체 로딩 수행 상태가 아닌 경우 또는 상기 파일의 로딩이 완료되지 않은 경우에 상기 데이터 로딩 플래그를 거짓으로 설정한 후에 다음 로딩할 파일을 찾는 단계를 더 포함하여 이루어진 것을 특징으로 하는 통신 시스템에서 프로그램 자체 로딩 방법.The performing of the loading function may further include finding the next file to be loaded after setting the data loading flag to false when the file is not in the self loading state or when the loading of the file is not completed. How to load the program itself in the communication system.
KR1019990053997A 1999-11-30 1999-11-30 Method of Self-loading Programs in the Communication System KR100350319B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990053997A KR100350319B1 (en) 1999-11-30 1999-11-30 Method of Self-loading Programs in the Communication System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990053997A KR100350319B1 (en) 1999-11-30 1999-11-30 Method of Self-loading Programs in the Communication System

Publications (2)

Publication Number Publication Date
KR20010049072A KR20010049072A (en) 2001-06-15
KR100350319B1 true KR100350319B1 (en) 2002-08-28

Family

ID=19622826

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990053997A KR100350319B1 (en) 1999-11-30 1999-11-30 Method of Self-loading Programs in the Communication System

Country Status (1)

Country Link
KR (1) KR100350319B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030023934A (en) * 2001-09-14 2003-03-26 한빛전자통신 주식회사 Method for Maintaining Program's Version In the WCDMA Asynchronous Mobile Communication System

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1227667A1 (en) * 2001-01-18 2002-07-31 Sony Service Centre (Europe) N.V. Method and device for providing downloaded objects to an application
KR100829289B1 (en) * 2001-12-26 2008-05-13 엘지노텔 주식회사 System and Method for Loading in the Switching System

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5654901A (en) * 1995-01-30 1997-08-05 Telefonaktiebolaget Lm Ericsson Loading software into field test equipment
KR19980034077A (en) * 1996-11-05 1998-08-05 양승택 Structure of Code Division Multiple Access Mobile System Loading File Format (CLOFF) and Loading Method Using the Same
KR19990015617A (en) * 1997-08-08 1999-03-05 윤종용 Program Patching Method of Job Scheduler Software
KR19990026641A (en) * 1997-09-25 1999-04-15 서평원 PDL's own programming method by data received from the upper controller
KR19990056133A (en) * 1997-12-29 1999-07-15 윤종용 How to Upgrade Wireless Software on Citi-to-Terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5654901A (en) * 1995-01-30 1997-08-05 Telefonaktiebolaget Lm Ericsson Loading software into field test equipment
KR19980034077A (en) * 1996-11-05 1998-08-05 양승택 Structure of Code Division Multiple Access Mobile System Loading File Format (CLOFF) and Loading Method Using the Same
KR19990015617A (en) * 1997-08-08 1999-03-05 윤종용 Program Patching Method of Job Scheduler Software
KR19990026641A (en) * 1997-09-25 1999-04-15 서평원 PDL's own programming method by data received from the upper controller
KR19990056133A (en) * 1997-12-29 1999-07-15 윤종용 How to Upgrade Wireless Software on Citi-to-Terminals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030023934A (en) * 2001-09-14 2003-03-26 한빛전자통신 주식회사 Method for Maintaining Program's Version In the WCDMA Asynchronous Mobile Communication System

Also Published As

Publication number Publication date
KR20010049072A (en) 2001-06-15

Similar Documents

Publication Publication Date Title
US7735057B2 (en) Method and apparatus for packaging and streaming installation software
US8171118B2 (en) Application streaming over HTTP
US6493871B1 (en) Method and system for downloading updates for software installation
US6742025B2 (en) System and method for server managed modification of operating system data stored within a network device
US7017155B2 (en) Installing software on a mobile computing device using the rollback and security features of a configuration manager
EP0870235B1 (en) Apparatus and method for preprocessing computer programs prior to transmission across a network
US8296758B2 (en) Deployment and versioning of applications
US20020099726A1 (en) Method and system for distribution of file updates
CN111381858B (en) Application program upgrading method, server and terminal equipment
KR100835269B1 (en) Downroad server and method for setting and updating application program by using partition of public library
JPWO2002075525A1 (en) Software update system, software update method, and software update program
EP1570340A4 (en) Device memory management during electronic file updating
CN111258587A (en) Method, device, equipment and storage medium for realizing android application plug-in
CN102571860A (en) Method, device and system for managing plug-in module
CN104699511A (en) Plug-in upgrading method and plug-in upgrading device
KR20060085698A (en) Dynamic addressing (da) using a centralized da manager
CN110162964A (en) A kind of inspection method that file is distorted, apparatus and system
CN113064685A (en) H5 page loading method and device
CN106325896B (en) Shared function library file processing method and device for installation package
KR100350319B1 (en) Method of Self-loading Programs in the Communication System
US7213245B2 (en) Software on demand system
CN111414339B (en) File processing method, system, device, equipment and medium
CN112328284A (en) Application program upgrading method, system, equipment and storage medium
CN113535254A (en) Micro-service processing method, micro-service deployment method and related device
US6694393B1 (en) Method and apparatus for compressing information for use in embedded systems

Legal Events

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

Payment date: 20080730

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee