KR20000041146A - Method for updating software of network computer - Google Patents

Method for updating software of network computer Download PDF

Info

Publication number
KR20000041146A
KR20000041146A KR1019980056929A KR19980056929A KR20000041146A KR 20000041146 A KR20000041146 A KR 20000041146A KR 1019980056929 A KR1019980056929 A KR 1019980056929A KR 19980056929 A KR19980056929 A KR 19980056929A KR 20000041146 A KR20000041146 A KR 20000041146A
Authority
KR
South Korea
Prior art keywords
server
software
file
updated
network computer
Prior art date
Application number
KR1019980056929A
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 KR1019980056929A priority Critical patent/KR20000041146A/en
Publication of KR20000041146A publication Critical patent/KR20000041146A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Abstract

PURPOSE: A method for updating a software of a network computer is provided to executing a downloaded software, without rebooting and with downloading parts just shifted of class files, when the software is updated at a server. CONSTITUTION: A method for updating a software of a network computer comprises the steps of: stopping execution of a present application program by an updated command of a server, deciding whether the updated program is existed in the server; opening a zip file stream from the server according to a zip file stream request; downloading file which is shifted or made(S3); deciding whether the updated program is existed more; repeating the S3 if the updated program is existed more; and continuing on the stopped application program, closing the zip file stream, if not.

Description

네트워크 컴퓨터의 소프트웨어 업데이트 방법How to update software on network computers

본 발명은 네트워크 컴퓨터의 소프트웨어 업데이트 방법에 관한 것으로, 특히 서버로부터 필요한 운영체계(Operating System : 이하, "OS"라 함), 응용프로그램을 다운로드받아 동작하는 네트워크 컴퓨터에 있어서 상기 소프트웨어가 서버에 업데이트될 경우 네트워크 컴퓨터를 재부팅(rebooting)하지 않고 자동적으로 상기 소프트웨어를 다운로드하도록 한 네트워크 컴퓨터의 소프트웨어 업데이트 방법에 관한 것이다.The present invention relates to a software update method for a network computer, and in particular, an operating system (hereinafter referred to as "OS") required from a server, and a network computer which downloads and operates an application program, the software is updated to the server. The present invention relates to a method for updating a software of a networked computer in which the software is automatically downloaded without rebooting the networked computer.

최근 기존 개인용 컴퓨터의 유지 및 보수 비용이 많이 들어가는 단점을 보완하기 위해 각각의 컴퓨터가 필요로 하는 소프트웨어를 서버에 두고 클라이언트로서, 이것을 상기 서버에서 다운로드하여 동작하는 개념을 가진 네트워크 컴퓨터라는 새로운 개념의 컴퓨터가 등장하였다.In order to make up for the disadvantage that the cost of maintenance and repair of the existing personal computer is high, a new concept of a computer, a network computer having a concept of downloading and operating from the server, having the software required for each computer on a server. Appeared.

도 1은 일반적인 네트워크 컴퓨터 시스템의 구성을 보인 블록도로서, 이에 도시된 바와 같이 OS 및 응용프로그램을 공급하는 서버(10)와; 상기 서버(10)로부터 OS 및 응용프로그램을 다운로드하여 이를 실행하는 복수의 네트워크 컴퓨터(20∼2n)로 구성되며, 이와 같이 구성된 종래 기술에 따른 동작과정을 상세히 설명한다.1 is a block diagram showing a configuration of a general network computer system, which includes a server 10 for supplying an OS and an application program as shown therein; It is composed of a plurality of network computers (20 to 2n) for downloading and executing the OS and application programs from the server 10, the operation process according to the prior art thus configured will be described in detail.

우선, 복수의 네트워크 컴퓨터(20∼2n) 각각에 전원을 인가되면, 상기 네트워크 컴퓨터(20∼2n)는 동적 상위 구성 프로토콜(Dynamic Host Configuration Protocol)을 이용하여 서버(10)를 찾게 되고, 이에 상기 서버(10)로부터 OS를 다운로드받아 부팅된다.First, when power is supplied to each of the plurality of network computers 20 to 2n, the network computers 20 to 2n find the server 10 by using the dynamic host configuration protocol. The OS is downloaded from the server 10 and booted.

그 후, 상기 네트워크 컴퓨터(20∼2n)는 자바 클래스 파일(JAVA Class File)을 집파일(ZIP File)로 압축하여 구성한 응용 프로그램을 상기 서버(10)로부터 다운로드받아 이를 자신의 컴퓨터에서 실행하게 된다.Thereafter, the network computers 20 to 2n download an application program formed by compressing a JAVA class file into a ZIP file from the server 10 and execute it on their own computer. .

여기서, 상기 서버(10)에 특정 소프트웨어를 업데이트시킬 경우, 상기 복수의 네트워크 컴퓨터(20∼2n)는 상기 업데이트된 소프트웨어를 다운로드받은 후 이를 실행하기 위하여 상기 부팅동작을 반복수행하게 된다.In this case, when the specific software is updated in the server 10, the plurality of network computers 20 to 2n repeatedly perform the booting operation to download the updated software and execute it.

상기와 같이 종래 서버로부터 운영체계 및 응용 프로그램들을 다운로드(DownLoad)받아 이를 사용하는 네트워크 컴퓨터에 있어서 상기 서버로부터 업데이트된 소프트웨어를 다운로드받을 경우, 현재 사용중인 프로그램을 정지한 후, 다운로드받는 소프트웨어의 파일 크기가 크면 다운로스시 소요되는 시간이 길며, 또한, 클래스 파일중 일부분만 변경된 소프트웨어를 다운로드시 버전이 올라갈 때마다 파일 전체를 다운로드함에 따라 중복된 파일을 다운로드받고, 그에 따라 로딩 시간을 길어져 전체 시스템의 효율이 떨어지고, 또한, 상기 다운로드받은 프로그램을 실행시키기 위하여 상기 네트워크 컴퓨터를 재부팅해야 하는 문제점이 있었다.As described above, in case of downloading the updated software from the server in the network computer using the down load of the operating system and the application programs, the file size of the downloaded software is stopped after the currently used program is stopped. If the size is large, the time required for downloading is long. Also, when downloading a software whose only part of the class file is changed, the entire file is downloaded every time the version goes up. The efficiency is low, and there is a problem of rebooting the network computer in order to execute the downloaded program.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창안한 것으로, 소프트웨어가 서버에 업데이트될 경우 클래스 파일중 변경된 부분만 다운로드받음과 아울러 재부팅하지 않고 상기 다운로드받은 소프트웨어를 실행할 수 있는 네트워크 컴퓨터의 소프트웨어 업데이트 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problems. When the software is updated on the server, only the changed portion of the class file is downloaded and the network computer can execute the downloaded software without rebooting. The purpose is to provide a software update method.

도 1은 일반적인 네트워크 컴퓨터 시스템의 구성을 보인 블록도.1 is a block diagram showing the configuration of a general network computer system.

도 2는 본 발명의 동작 흐름도.2 is an operational flowchart of the present invention.

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

10 : 서버 20∼2n : 네트워크 컴퓨터10: server 20 to 2n: network computer

상기와 같은 목적을 달성하기 위한 본 발명은 서버에 업데이트된 프로그램이 있는지 판단하여 상기 서버의 업데이트 명령에 의해 네트워크 컴퓨터의 현재의 응용프로그램의 실행을 중단하는 제1 단계와; 상기 제1 단계가 완료되면, 상기 네트워크 컴퓨터의 집파일 스트림 요구에 따라 서버에서 집파일 스트림을 여는 제2 단계와; 상기 제2 단계가 완료되면 변경되거나 새로 만들어진 파일을 다운로드하는 제3 단계와; 상기 제3 단계가 완료되면, 업데이트된 프로그램이 더 있는지를 판단하여 있으면 상기 제3 단계의 동작을 반복수행하고, 없으면 상기 집파일 스트림을 닫고 중단된 응용프로그램을 계속 수행하는 제4 단계로 이루어진 것을 특징으로 한다.The present invention for achieving the above object comprises a first step of determining whether there is an updated program in the server and stopping execution of the current application of the network computer by the update command of the server; A second step of opening a zip file stream in a server according to a zip file stream request of the network computer when the first step is completed; A third step of downloading a changed or newly created file when the second step is completed; When the third step is completed, it is determined whether there are more updated programs, and if the third step is repeated, the operation of the third step is repeated. If not, the fourth step of closing the zip file stream and continuing the suspended application program is performed. It features.

상기 프로그램의 다운로드 동작은 현재 소프트웨어의 맵파일과 다운로드받을 집파일의 엔트리를 비교하는 제1 단계와; 상기 제1 단계의 비교 동작에 따라 변경되거나 새로 만들어진 파일만을 다운로드하는 제2 단계로 이루어진 것을 특징으로 한다.The downloading operation of the program may include a first step of comparing an entry of a map file of a current software and a zip file to be downloaded; And a second step of downloading only files that have been changed or newly created according to the comparison operation of the first step.

이하, 본 발명에 따른 일실시예에 대한 동작과 작용효과를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings, the operation and effect of an embodiment of the present invention will be described in detail.

본 발명을 적용한 네트워크 컴퓨터 시스템의 구성은 종래 도 1과 동일하게 구성한다. 즉, 업데이트된 프로그램의 유무판단 및 집스트림을 개폐함과 아울러 스트림핸들러를 전송하는 노티파이어를 통해 OS 및 응용프로그램을 공급하는 서버(10)와; 상기 서버(10)의 업데이트 명령에 의해 현재 수행중인 응용프로그램을 저장 및 출력하고, 맵파일과 집파일의 엔트리를 비교하여 상기 스트림핸들러를 통해 변경되거나 새로 만들어진 파일만을 다운로드하는 업데이터를 통해 상기 OS 및 응용프로그램을 다운로드하여 이를 실행하는 복수의 네트워크 컴퓨터(20∼2n)로 구성하며, 이와 같이 구성한 본 발명의 동작과정을 첨부한 도 2의 동작흐름도를 참조하여 상세히 설명한다.The network computer system to which the present invention is applied is constructed in the same manner as in FIG. That is, the server 10 for supplying the OS and the application program via the notifier for opening and closing the presence and absence of the updated program and opening and closing the zip stream and the stream handler; The OS and the OS through an updater that stores and outputs an application program currently being executed by an update command of the server 10, and compares an entry of a map file and a zip file and downloads only a file that is changed or newly created through the stream handler. A detailed description will now be made with reference to the operation flow chart of FIG. 2, which is composed of a plurality of network computers 20 to 2n which download and execute an application program, and which attach the operation process of the present invention.

우선, 서버(10)의 노티파이어에서 업데이트된 소프트웨어가 있는지를 판단하여 복수의 네트워크 컴퓨터(20∼2n)로 각각 업데이트 명령을 송출한다.First, the notifier of the server 10 determines whether there is updated software, and sends update commands to the plurality of network computers 20 to 2n, respectively.

이에, 상기 업데이트 명령을 입력받은 각각의 네트워크 컴퓨터(20∼2n)는 업데이터를 워이크-업(Wake-up)한 후, 현재 동작중인 응용프로그램의 현재상태를 저장하고 시스템을 일시정지시킨다.Accordingly, each network computer 20 to 2n receiving the update command wakes up the updater, stores the current state of the currently running application program, and pauses the system.

그리고, 상기 복수의 네트워크 컴퓨터(20∼2n) 각각의 업데이터는 상기 서버(10)의 노티파이어에 업데이트된 소프트웨어에 대한 집파일 스트림을 요청하면, 상기 노티파이어는 업데이트된 소프트웨어에 대한 집파일 스트림을 열고, 이를 스트림핸들러를 통해 상기 업데이터로 상기 업데이트된 소프트웨어의 집파일 엔트리(entry)를 전달한다.The updater of each of the plurality of network computers 20 to 2n requests the notifier of the server 10 to request a zip file stream for the updated software, and the notifier generates a zip file stream for the updated software. Open it and pass a zip file entry of the updated software to the updater via a stream handler.

따라서, 상기 복수의 네트워크 컴퓨터(20∼2n) 각각의 업데이터는 상기 노티파이어의 스트림 핸들러를 통해서 입력받은 집파일의 엔트리 정보와 현재 사용중인 응용프로그램의 맵(MAP)파일 엔트리 정보를 비교하여 변경되었거나 새로 생성된 파일을 다운로드한다.Therefore, the updater of each of the plurality of network computers 20 to 2n has been changed by comparing the entry information of the zip file received through the stream handler of the notifier with the map file entry information of the current application. Download the newly created file.

여기서, 상기 다운로드받는 파일이 새로 생성된 파일인 경우, 맵파일에 다운로드되는 파일의 엔트리를 이름과 생성시각으로 구성한 투플(tuple)로 추가 저장한다.In this case, when the downloaded file is a newly generated file, an entry of the file downloaded to the map file is additionally stored as a tuple composed of a name and a creation time.

그리고, 상기 투플에서 이름은 상기 파일의 절대 경로이고, 생성시각은 현재 네트워크 컴퓨터(20∼2n)가 기지고 있는 그 파일의 생성시각이다.In the tuple, the name is the absolute path of the file, and the creation time is the creation time of the file on which the network computers 20 to 2n are currently based.

따라서, 상기 업데이터는 파일의 변경되었는지를 집파일의 엔트리에 있는 그 파일에 대한 생성시각과 상기 맵파일의 엔트리에 있는 그 파일에 대한 생성시각을 비교하여 두 파일의 버전을 비교판단한다.Thus, the updater compares the creation time of the file in the entry of the zip file with the creation time of the file in the entry of the map file and compares the versions of the two files.

그리고, 상기 업데이터에서 새로 생성되거나 변경된 파일의 다운로드가 끝났으면, 상기 다운로드받은 파일을 기존의 파일과 교체하고, 업데이트된 파일이 더 있는 경우, 다른 업데이트된 파일의 엔트리와 맵파일의 엔트리를 비교하여 다운로드받는 동작을 반복수행한다.When the download of the newly created or changed file is finished in the updater, the downloaded file is replaced with the existing file, and if there are more updated files, the entry of the map file is compared with the entry of another updated file. Repeat the download operation.

그러나, 더 이상 추가되거나 변경된 파일이 없는 경우, 상기 업데이터는 상기 서버(10)의 노티파이어로 스트림을 닫으라는 메시지를 출력하고, 상기 저장된 응용프로그램의 현재상태를 이용하여 시스템을 업데이트 이전의 상태로 복원시키고, 상기 업데이터는 슬립(sleep)상태로 된다.However, if there are no more files added or changed, the updater outputs a message to close the stream with the notifier of the server 10, and uses the current state of the stored application to bring the system to the state before the update. Restore, and the updater goes to sleep.

여기서, 상기 서버(10)의 노티파이어는 모든 동작중인 네트워크 컴퓨터(20∼2n)로부터 스트림을 닫으라는 메시지가 받으면 집파일의 스트림을 닫고 실행 중지 상태를 유지한다.Here, the notifier of the server 10 closes the stream of the zip file and maintains an execution stop state when a message to close the stream is received from all the operating network computers 20 to 2n.

상기에서 상세히 설명한 바와 같이, 본 발명은 소프트웨어가 서버에 업데이트될 경우 클래스 파일중 변경된 부분만 다운로드받음으로써, 네트워크 트래픽을 줄여 소프트웨어의 다운로드시간을 최소화할 뿐만아니라 자동으로 상기 소프트웨어를 업데이트하여 관리자가 수동으로 조작하는 일을 최소화하여 전체적인 시스템 효율이 향상되는 효과가 있다.As described in detail above, the present invention downloads only the changed portion of the class file when the software is updated on the server, thereby minimizing the download time of the software by reducing network traffic and automatically updating the software. By minimizing the operation, the overall system efficiency is improved.

또한, 네트워크 컴퓨터를 재부팅하지 않고 상기 다운로드받은 소프트웨어를 실행함으로써, 현재 작업중인 프로그램의 중단없이 계속 작업을 하여 능률을 향상시킨 효과가 있다.In addition, by executing the downloaded software without rebooting the network computer, there is an effect of improving the efficiency by continuing to work without interruption of the currently working program.

Claims (2)

서버에 업데이트된 프로그램이 있는지 판단하여 상기 서버의 업데이트 명령에 의해 네트워크 컴퓨터의 현재의 응용프로그램의 실행을 중단하는 제1 단계와; 상기 제1 단계가 완료되면, 상기 네트워크 컴퓨터의 집파일 스트림 요구에 따라 서버에서 집파일 스트림을 여는 제2 단계와; 상기 제2 단계가 완료되면 변경되거나 새로 만들어진 파일을 다운로드하는 제3 단계와; 상기 제3 단계가 완료되면, 업데이트된 프로그램이 더 있는지를 판단하여 있으면 상기 제3 단계의 동작을 반복수행하고, 없으면 상기 집파일 스트림을 닫고 중단된 응용프로그램을 계속 수행하는 제4 단계로 이루어진 것을 특징으로 하는 네트워크 컴퓨터의 소프트웨어 업데이트 방법.Determining whether there is an updated program in the server and stopping execution of a current application of a network computer by an update command of the server; A second step of opening a zip file stream in a server according to a zip file stream request of the network computer when the first step is completed; A third step of downloading a changed or newly created file when the second step is completed; When the third step is completed, it is determined whether there are more updated programs, and if the third step is repeated, the operation of the third step is repeated. If not, the fourth step of closing the zip file stream and continuing the suspended application program is performed. The software update method of the network computer characterized in that. 제1항에 있어서, 상기 프로그램의 다운로드 동작은 현재 소프트웨어의 맵파일과 다운로드받을 집파일의 엔트리를 비교하는 제1 단계와; 상기 제1 단계의 비교 동작에 따라 변경되거나 새로 만들어진 파일만을 다운로드하는 제2 단계로 이루어진 것을 특징으로 하는 네트워크 컴퓨터의 소프트웨어 업데이트 방법.The method of claim 1, wherein the downloading operation of the program comprises: a first step of comparing an entry of a map file of a current software and a zip file to be downloaded; And a second step of downloading only files that have been changed or newly created according to the comparison operation of the first step.
KR1019980056929A 1998-12-21 1998-12-21 Method for updating software of network computer KR20000041146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980056929A KR20000041146A (en) 1998-12-21 1998-12-21 Method for updating software of network computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980056929A KR20000041146A (en) 1998-12-21 1998-12-21 Method for updating software of network computer

Publications (1)

Publication Number Publication Date
KR20000041146A true KR20000041146A (en) 2000-07-15

Family

ID=19564382

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980056929A KR20000041146A (en) 1998-12-21 1998-12-21 Method for updating software of network computer

Country Status (1)

Country Link
KR (1) KR20000041146A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010099124A (en) * 2001-09-03 2001-11-09 홍장표 Real Time Data Compare and Transfer Protocol
KR100383871B1 (en) * 2000-03-16 2003-05-14 주식회사 하이윈 Method for processing data of mud game
KR100693551B1 (en) * 2003-09-25 2007-03-14 주식회사 팬택앤큐리텔 Terminal and network system for partial updating a software, and partial updating method, and software generating device and method
KR100838247B1 (en) * 2007-02-14 2008-06-17 주식회사 드리머 Digital broadcasting system for processing data application dynamically
KR100864524B1 (en) * 2007-02-14 2008-10-21 주식회사 드리머 Method of processing digital broadcasting data application and computer-readable medium having thereon program performing function embodying the same
KR100987628B1 (en) * 2004-02-07 2010-10-13 엘지전자 주식회사 Method for updating firmware in embedded controller and medium recorded update firmware
KR101130367B1 (en) * 2003-12-15 2012-03-28 마이크로소프트 코포레이션 System and method for a software distribution service
KR101137146B1 (en) * 2003-12-16 2012-04-19 마이크로소프트 코포레이션 Determining the maximal set of dependent software updates valid for installation
KR101143027B1 (en) * 2003-12-16 2012-05-24 마이크로소프트 코포레이션 Self-describing software image update components

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100383871B1 (en) * 2000-03-16 2003-05-14 주식회사 하이윈 Method for processing data of mud game
KR20010099124A (en) * 2001-09-03 2001-11-09 홍장표 Real Time Data Compare and Transfer Protocol
KR100693551B1 (en) * 2003-09-25 2007-03-14 주식회사 팬택앤큐리텔 Terminal and network system for partial updating a software, and partial updating method, and software generating device and method
KR101130367B1 (en) * 2003-12-15 2012-03-28 마이크로소프트 코포레이션 System and method for a software distribution service
KR101137146B1 (en) * 2003-12-16 2012-04-19 마이크로소프트 코포레이션 Determining the maximal set of dependent software updates valid for installation
KR101143027B1 (en) * 2003-12-16 2012-05-24 마이크로소프트 코포레이션 Self-describing software image update components
KR100987628B1 (en) * 2004-02-07 2010-10-13 엘지전자 주식회사 Method for updating firmware in embedded controller and medium recorded update firmware
KR100838247B1 (en) * 2007-02-14 2008-06-17 주식회사 드리머 Digital broadcasting system for processing data application dynamically
KR100864524B1 (en) * 2007-02-14 2008-10-21 주식회사 드리머 Method of processing digital broadcasting data application and computer-readable medium having thereon program performing function embodying the same

Similar Documents

Publication Publication Date Title
US7703090B2 (en) Patch un-installation
US7062764B2 (en) System and method for manipulating offline software
US6397385B1 (en) Method and apparatus for in service software upgrade for expandable telecommunications system
JP2002297411A (en) Update system and its method for application software in execution using modular system
US9092286B2 (en) System to automatically process components on a device
WO2013078951A1 (en) Method and system for upgrading software
US20030101330A1 (en) System and method for dynamically patching code
CN101546269B (en) System and method capable of executing file version updating
RU2008138700A (en) CREATING DISABLED RESOURCE TEMPLATES
US20030037326A1 (en) Method and system for installing staged programs on a destination computer using a reference system image
EP1872215A1 (en) Implementing data-compatibility-based version scheme
KR20010050518A (en) Method, system and program products for operationally migrating a cluster through emulation
US8332356B2 (en) NFS agent upgrade
KR20000041146A (en) Method for updating software of network computer
US7340738B2 (en) Time optimized replacement of a software application
GB2454583A (en) Remote management of mobile devices
CN112256989A (en) Page loading method and device based on offline package, terminal equipment and storage medium
CN112748949A (en) Software package management method, device, equipment and storage medium of operating system
KR20050085837A (en) System for registry-based automatic installation and component handling on a device
CN109857380B (en) Workflow file compiling method and device
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
KR20210004758A (en) Industrial control's software firmware support and update
CN110795113A (en) Redis cluster service installation method, server and medium
JP2002189601A (en) Program installing method and program installing system
TWI416410B (en) System and method for updating version of the executable file

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination