KR100920779B1 - Program download system and method - Google Patents
Program download system and method Download PDFInfo
- Publication number
- KR100920779B1 KR100920779B1 KR1020080015416A KR20080015416A KR100920779B1 KR 100920779 B1 KR100920779 B1 KR 100920779B1 KR 1020080015416 A KR1020080015416 A KR 1020080015416A KR 20080015416 A KR20080015416 A KR 20080015416A KR 100920779 B1 KR100920779 B1 KR 100920779B1
- Authority
- KR
- South Korea
- Prior art keywords
- program
- text data
- communication module
- communication
- data
- Prior art date
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
본 발명은 다운로드 시킬 프로그램을 통신 모듈을 통해 전송받아 실시간으로 다운로드 하는 프로그램 다운로드 시스템 및 그 방법에 관한 것이다.The present invention relates to a program download system and a method for downloading a program to be downloaded through a communication module to download in real time.
본 발명에 따른 프로그램 다운로드 시스템은, 무선 통신을 통해 프로그램을 전송하기 위한 서버; 상기 서버로부터 프로그램을 전송받아 텍스트 데이터로 변환시키는 다수의 통신 모듈; 상기 텍스트 데이터를 전달받아 프로그램으로 재변환시키고, 재변환된 프로그램을 적어도 하나의 통신 모듈에 전달하여 다운로드 시키는 호스트;를 포함한다. 이에 따라, 프로그램을 실시간으로 다운로드 할 수 있게 됨에 따라, 다운로드 공정을 단축시키며, 다운로드 시간을 절약할 수 있는 효과가 있다.The program download system according to the present invention comprises: a server for transmitting a program via wireless communication; A plurality of communication modules for receiving a program from the server and converting the program into text data; And receiving and reconverting the text data into a program and transferring the reconverted program to at least one communication module for downloading. Accordingly, as the program can be downloaded in real time, the download process can be shortened and the download time can be saved.
다운로드(download), 아스키 파일(ASCII file), 통신 모듈, Download, ASCII file, communication module,
Description
본 발명은 프로그램 다운로드 시스템 및 그 방법에 관한 것으로, 보다 자세하게는 무선으로 서버에서 통신 모듈로 프로그램을 전송하고, 통신 모듈에서 호스트로 프로그램을 실시간으로 전달함으로써, 호스트에서 직접 통신 모듈에 프로그램을 다운로드 시킬 수 있는 프로그램 다운로드 시스템 및 그 방법에 관한 것이다.The present invention relates to a program download system and a method thereof, and more particularly, by wirelessly transmitting a program from a server to a communication module and transferring the program from the communication module to the host in real time, thereby downloading the program directly from the host to the communication module. A program download system and a method thereof are provided.
휴대폰, PDA(Personal Digital Assistants) 등의 개인 통신 수단으로 이용되는 이동 통신 단말기는 멀티미디어 지원 기능의 발달로 인해 통신 수단뿐만 아니라 게임기, 문서 편집기 등의 다양한 기능을 수행하도록 발전하고 있으며, 이러한 다양한 기능을 지원하기 위한 이동통신 단말기의 응용 프로그램, 구동 프로그램 등이 개발되고 있다.Mobile communication terminals used as personal communication means such as mobile phones and PDAs (Personal Digital Assistants) are being developed to perform various functions such as game consoles and text editors as well as communication means due to the development of multimedia support functions. Application programs, driving programs, and the like for supporting mobile communication terminals have been developed.
상술한 프로그램은 개발되는 과정에서, 이동통신 단말기 등과 같은 통신 모듈에 프로그램을 다운로드하여 동작을 확인하며, 특히 양산시에도 마찬가지로 통신 모듈의 조립 전에 상술한 프로그램을 다운로드 한다.In the process of developing the above-described program, the program is downloaded to a communication module such as a mobile communication terminal to confirm its operation. In particular, during mass production, the above-mentioned program is downloaded before assembling the communication module.
이하, 관련도면을 참조하여 종래의 통신 모듈용 프로그램 다운로드 시스템 및 그 방법에 관하여 설명하면 다음과 같다.Hereinafter, a conventional program download system for a communication module and a method thereof will be described with reference to related drawings.
도 1은 종래 기술에 의한 통신 모듈용 프로그램 다운로드 시스템의 블럭도이고, 도 2는 종래 기술에 의한 다수의 통신 모듈용 프로그램 다운로드 시스템의 블럭도이다.1 is a block diagram of a program download system for a communication module according to the prior art, and FIG. 2 is a block diagram of a program download system for a plurality of communication modules according to the prior art.
먼저, 도 1에 도시한 바와 같이, 종래 프로그램 다운로드 시스템은, 제어부(11), 전원공급부(12), 지그(13) 및 통신 모듈(14)을 포함한다.First, as shown in FIG. 1, the conventional program download system includes a
제어부(11)는 일반적으로 PC(Personal Computer)로 이루어질 수 있으며, 사용자의 선택에 따라 통신 모듈용 프로그램을 통신 모듈(14)에 다운로드 시킨다.The
전원공급부(12)는 통신 모듈(14)에 프로그램 다운로드시 필요한 전원을 공급한다.The
또한, 지그(jig: 13)는 일종의 고정장치로 통신 모듈(14)에 통신 모듈용 프로그램을 전달하기 위한 케이블과 전원 공급에 필요한 케이블의 연결이 용이하게 하고, 통신 모듈용 프로그램의 다운로드 시에 통신 모듈(14)이 이동하지 않도록 고정시킨다.In addition, the
통신 모듈(14)은 지그(13)에 고정되어 제어부(11)로부터 통신 모듈용 프로그램을 다운로드 받고, 프로그램 다운로드시 필요한 전원을 상기 전원공급부(12)로부터 공급받는다.The
도 2에 도시한 바와 같이, 종래 다수의 통신 모듈용 프로그램 다운로드 시스템은, 제어부(21), 전원공급부(22), 분배부(23), 지그(24) 및 다수의 통신 모듈(25a~25n)을 포함한다.As shown in Fig. 2, the conventional program download system for many communication modules includes a
제어부(21)는 입력수단(미도시)을 통해 입력받은 사용자의 선택에 따라 제어되어 사전에 저장된 통신 모듈용 프로그램을 분배부(23)에 전달한다.The
전원공급부(22)는 분배부(23)와 연결되어 다수의 통신 모듈(25a~25n)에 프로그램 다운로드시 필요한 전원을 공급한다.The
특히, 분배부(23)는 상기 제어부(21) 및 전원공급부(22)로부터 전달되는 프로그램 및 전원을 분배시켜 상기 다수의 통신 모듈(25a~25n) 각각에 공급함으로써, 동시에 다수의 통신 모듈(25a~25n)에 프로그램을 다운로드 시킬 수 있다.In particular, the
이러한 구성으로 이루어진 종래 프로그램 다운로드 시스템은, 제어부(21)를 통하여 사용자의 선택을 입력받아 통신 모듈용 프로그램의 다운로드 하기 위한 도스 명령창을 실행하고, 분배부(23)를 통하여 제어부(21)로부터 전달되는 프로그램과 전원을 다수의 통신 모듈(25a~25n)에 공급함으로써, 동시에 다수의 통신 모듈(25a~25n)에 프로그램을 다운로드 시킬 수 있다.The conventional program download system having such a configuration receives a user's selection through the
그러나, 상술한 바와 같은 구성으로 이루어진 종래 통신 모듈용 프로그램 다운로드 시스템은, 통신 모듈(25a~25n) 중 적어도 하나의 통신 모듈에 프로그램을 다운로드 시키기 위해서, 사용자가 직접 상기 제어부(21) 내의 저장공간에 다운로드 시키기 위한 프로그램을 미리 저장시켜야 하기 때문에 다운로드 과정이 복잡해지는 문제점이 있었다.However, in the program download system for the conventional communication module having the above-described configuration, in order to download the program to at least one communication module of the
또한, 통신 모듈(25a~25n)에 프로그램을 다운로드 시키기 위하여 작업자가 도스 명령창을 실행시킨 후 프로그램을 다운로드 시켜야 하기 때문에 사용자가 지속적으로 다운로드 상태를 체크해야 하며, 다운로드에 이상이 있을 경우 사용자가 직접 다운로드를 해야 함에 따라 프로그램 다운로드 시간이 길어지는 문제점이 있었다.In addition, in order to download the program to the
본 발명은 종래 통신 모듈용 프로그램 다운로드 시스템에서 제기되고 있는 상기 문제점을 해결하기 위한 것으로, 무선으로 서버에서 통신 모듈로 프로그램을 전송하고, 통신 모듈에서 호스트로 프로그램을 실시간으로 전달함으로써, 호스트에서 직접 통신 모듈에 프로그램을 다운로드 시킬 수 있는 프로그램 다운로드 시스템 및 그 방법을 제공하는 데 그 목적이 있다.The present invention is to solve the above problems raised in the program download system for a conventional communication module, by transmitting a program from the server to the communication module wirelessly, and in real-time transfer the program from the communication module to the host, direct communication from the host An object of the present invention is to provide a program download system and a method for downloading a program in a module.
상기 목적을 달성하기 위한 본 발명에 따른 프로그램 다운로드 시스템은, 무선 통신을 통해 프로그램을 전송하기 위한 서버; 상기 서버로부터 프로그램을 전송 받아 텍스트 데이터로 변환시키는 다수의 통신 모듈; 상기 텍스트 데이터를 전달받아 프로그램으로 재변환시키고, 재변환된 프로그램을 적어도 하나의 통신 모듈에 전달하여 다운로드 시키는 호스트;를 포함한다. 이에 따라, 프로그램을 실시간으로 다운로드 할 수 있게 됨에 따라, 다운로드 공정을 단축시키며, 다운로드 시간을 절약할 수 있는 효과가 있다.Program download system according to the present invention for achieving the above object, the server for transmitting a program via wireless communication; A plurality of communication modules for receiving a program from the server and converting the program into text data; And receiving and reconverting the text data into a program and transferring the reconverted program to at least one communication module for downloading. Accordingly, as the program can be downloaded in real time, the download process can be shortened and the download time can be saved.
이때, 상기 다수의 통신 모듈과 호스트는 RS232 통신을 통해 텍스트 데이터 또는 프로그램을 전달하는 것을 특징으로 한다.In this case, the plurality of communication modules and the host is characterized in that for transmitting the text data or program through RS232 communication.
또한, 상기 프로그램은 이진 데이터(binary data)로 이루어지며, 상기 텍스트 데이터는 아스키 파일(ASCII file)인 것을 특징으로 한다.In addition, the program is composed of binary data, characterized in that the text data is an ASCII file.
상기 호스트는 상기 다수의 통신 모듈 중 어느 하나의 통신 모듈로부터 텍스트 데이터를 전달받아 프로그램으로 재변환시키고, 동시에 다수의 통신 모듈에 다운로드 시키는 것을 특징으로 한다.The host may receive text data from any one of the plurality of communication modules, convert the text data into a program, and simultaneously download the text data to the plurality of communication modules.
아울러, 상기 목적을 달성하기 위한 본 발명에 따른 프로그램 다운로드 방법은, a) 서버에서 무선 통신을 통해 통신 모듈로 프로그램을 전송하는 단계; b) 상기 전송된 프로그램을 텍스트 데이터로 변환시킨 후, 호스트에 전달하는 단계; c) 상기 텍스트 데이터를 프로그램으로 재변환시키는 단계; 및 d) 상기 프로그램을 통신 모듈에 전달하여 다운로드 시키는 단계;를 포함한다.In addition, the program download method according to the present invention for achieving the above object, a) transmitting a program from the server to the communication module via wireless communication; b) converting the transmitted program into text data and then delivering it to a host; c) reconverting the text data into a program; And d) transferring the program to a communication module for downloading.
이때, 상기 b) 및 d) 단계에서, 상기 통신 모듈과 호스트는 RS232 통신을 통해 텍스트 데이터 또는 프로그램을 전달하는 것을 특징으로 한다.In this case, in steps b) and d), the communication module and the host may transmit text data or a program through RS232 communication.
또한, 상기 프로그램은 이진 데이터(binary data)로 이루어지며, 상기 텍스 트 데이터는 아스키 파일(ASCII file)인 것을 특징으로 한다.In addition, the program is composed of binary data, characterized in that the text data is an ASCII file.
그리고, 상기 목적을 달성하기 위한 본 발명의 또 다른 프로그램 다운로드 방법은, a) 서버에서 무선 통신을 통해 적어도 하나의 통신 모듈에 프로그램을 전송하는 단계; b) 상기 전송된 프로그램을 텍스트 데이터로 변환시킨 후, 호스트에 전달하는 단계; c) 상기 텍스트 데이터를 프로그램으로 재변환시키는 단계; 및 d) 상기 재변환된 프로그램을 적어도 어느 하나의 통신 모듈에 전달하여 다운로드 시키는 단계;를 포함한다.In addition, another program download method of the present invention for achieving the above object comprises the steps of: a) transmitting a program to at least one communication module via wireless communication at the server; b) converting the transmitted program into text data and then delivering it to a host; c) reconverting the text data into a program; And d) transferring the retransformed program to at least one communication module for downloading.
본 발명에 따른 프로그램 다운로드 시스템 및 그 방법은, 무선으로 서버에서 통신 모듈로 프로그램을 전송하고, 통신 모듈에서 호스트로 프로그램을 실시간으로 전달함으로써, 호스트에서 직접 통신 모듈에 프로그램을 다운로드 시킬 수 있게 됨에 따라 다운로드 시간을 단축시킬 수 있는 효과가 있다.Program download system and method according to the present invention, by wirelessly transmitting a program from the server to the communication module, and transfers the program in real time from the communication module to the host, it is possible to download the program directly from the host to the communication module This can shorten the download time.
또한, 본 발명은 호스트에서 프로그램을 별도로 저장시키지 않고 실시간으로 통신 모듈을 통해 전달받아 다운로드 함으로써 다운로드 공정을 단순화시킬 수 있는 효과가 있다.In addition, the present invention has the effect of simplifying the download process by receiving and downloading through a communication module in real time without storing the program separately from the host.
본 발명에 따른 프로그램 다운로드 시스템의 구성과 방법 및 그 효과에 관한 사항은 본 발명의 바람직한 실시예가 도시된 도면을 참조한 아래의 상세한 설명에 의해서 명확하게 이해될 것이다.Details of the configuration, method and effects of the program download system according to the present invention will be clearly understood by the following detailed description with reference to the drawings showing preferred embodiments of the present invention.
이하, 관련도면을 참조하여 본 발명에 따른 프로그램 다운로드 시스템에 대하여 보다 상세히 설명하면 다음과 같다.Hereinafter, the program download system according to the present invention will be described in more detail with reference to the accompanying drawings.
도 3은 본 발명에 따른 프로그램 다운로드 시스템의 블럭도이고, 도 4는 본 발명에 따른 데이터 변환을 나타낸 설명도이며, 도 5는 본 발명에 따른 프로그램 다운로드 시스템의 변형예를 나타낸 블럭도이다.3 is a block diagram of a program download system according to the present invention, FIG. 4 is an explanatory diagram showing data conversion according to the present invention, and FIG. 5 is a block diagram showing a modification of the program download system according to the present invention.
우선, 도 3에 도시한 바와 같이, 본 발명에 따른 프로그램 다운로드 시스템(100)은, 호스트(host: 110), 통신 모듈(120) 및 서버(server: 140)로 이루어진다.First, as shown in FIG. 3, the
호스트(110)는 일반적으로 개인용 PC(Personal Computer)로 이루어질 수 있고, 통신 케이블(130)을 통해 상기 통신 모듈(120)과 접속되며, 프로그램을 전달한다.The
통신 모듈(120)은 이동통신 단말기 또는 단거리 무선 통신 단말기 등과 같은 통신용 단말기에 장착되어 외부장치와의 무선 통신을 수행한다. 또한, 상기 통신 모듈(120)은 호스트(110)와 통신 케이블(130)을 통해 연결되며, RS232 통신 방식을 통해 프로그램을 전달하거나 전달받는다.The
서버(140)는 상기 통신 모듈(120)과 무선으로 통신을 수행하여 통신 모듈(120)에 다운로드 시키기 위한 프로그램을 무선을 통해 통신 모듈(120)에 전송한 다. 이때, 상기 서버(140)와 통신 모듈(120)은 TCP/IP 통신 망, 이동통신 네트워크 망 또는 근거리 무선 통신망을 통해 서로 소정의 데이터를 송수신하는 것이 바람직하다.The
특히, 통신 모듈(120)은 상기 서버(140)로부터 전송된 프로그램을 자체적으로 다운로드 받을 수 없기 때문에 텍스트 데이터(text data)로 변환시킨 후, 상기 호스트(110)에 전달한다. 이때, 상기 프로그램은 이진 데이터(binary data)로 이루어진 것이 바람직하다.In particular, since the
한편, 상기 통신 모듈(120)에서 서버(140)로부터 전송받은 이진 데이터를 직접 다운로드 받을 수 없는 이유는, 통신 모듈(120)은 저용량의 저장공간을 가짐으로써, 상기 이진 데이터의 프로그램을 전송받아 직접 다운로드 할 수 있는 여유 저장공간이 없기 때문에, 프로그램의 전송과 동시에 이진 데이터의 프로그램을 텍스트 데이터로 변환시킨 후 상기 호스트(110)에 전송한다.Meanwhile, the reason why the
예를 들면, 통신 모듈(120)의 저장공간은 주로 4Mbyte 내지 5Mbyte 범위이며 주 사용공간은 약 3Mbyte 정도로 저용량의 저장공간을 갖는다. 이때, 상기 서버(140)로부터 전송되는 프로그램은 통신 모듈(120)에 다운로드 될 프로그램으로써 약 3Mbyte의 용량을 갖게 된다. 이에 따라, 상기 통신 모듈(120)은 저장공간의 부족으로 인해 프로그램을 직접 다운로드 할 수 없고, 상기 프로그램을 전송과 동시에 텍스트 데이터로 변환시킨 후 상기 호스트(110)에 전송한다.For example, the storage space of the
상기 통신 모듈(120)에서 프로그램인 이진 데이터를 텍스트 데이터로 변환시키는 방법에 대하여 도 4를 참조하여 설명하면 다음과 같다. 이때, 상기 이진 데이 터는 8비트이며, 텍스트 데이터는 16비트를 갖는 데이터로 가정한다.A method of converting binary data, which is a program, into text data in the
상기 8비트의 이진 데이터를 각각 4비트씩의 상위 데이터(H)와 하위 데이터(L)로 분리시킨다. 그런 다음 상위 데이터(H)를 레프트 쉬프트(left shift) 시켜, 이웃하는 8비트의 버퍼에 저장한다.The 8-bit binary data is separated into four bits of upper data H and lower data L, respectively. Then, the upper data H is left shifted and stored in a neighboring 8-bit buffer.
그 다음, 상위 데이터(H)와 하위 데이터(L)를 10과 비교하여, 10 이상의 데이터에는 55를 덧셈 연산하고, 10 미만의 데이터에는 48을 덧셈 연산한다. 이렇게 55와 48을 각각 덧셈 연산함으로써 10 이상의 값을 갖는 데이터는 '65~90'에 해당하는 아스키 코드값인 'A~Z'의 표현이 가능하게 되며, 10 미만의 값을 갖는 데이터는 '48~57'에 해당하는 아스키 코드값인 '0~9'의 표현이 가능하다.Next, the upper data H and the lower data L are compared with 10, and 55 is added to 10 or more data, and 48 is added to data less than 10. By adding 55 and 48 respectively, data having a value greater than or equal to 10 can be represented by ASCII code values' A to Z 'corresponding to '65 to 90', and data having a value less than 10 is represented by '48'. ASCII code value '0 ~ 9' corresponding to '57' can be expressed.
상기 이진 데이터의 분리된 상위 및 하위 데이터(H, L)를 각각 아스키 코드값을 갖도록 변환시킨 후, 8비트의 상위 버퍼(H')에 저장된 상위 데이터(H)와 8비트의 하위 버퍼(L')에 저장된 하위 데이터(L)를 하나의 데이터로 블럭화시킴으로써, 하나의 텍스트 데이터로 변환시킨다. 이에 따라, 상기 텍스트 데이터는 아스키 코드값을 갖는 아스키 파일인 것이 바람직하다.After converting the separated upper and lower data (H, L) of the binary data to have an ASCII code value, respectively, the upper data (H) stored in an 8-bit upper buffer (H ') and an 8-bit lower buffer (L). By converting the lower data L stored in ') into one data, it is converted into one text data. Accordingly, the text data is preferably an ASCII file having an ASCII code value.
이러한 변환 방법은 상기 이진 데이터의 프로그램이 전송되는 동안 실시간으로 진행되고, 하나의 데이터로 블럭화되어 변환된 텍스트 데이터는 변환됨과 동시에 상기 호스트(110)에 전달된다.This conversion method is performed in real time while the program of the binary data is transmitted, and the text data, which is blocked and converted into one data, is converted and transferred to the
한편, 상기 통신 모듈(120)에서 프로그램을 텍스트 데이터로 변환시키는 이유는, 통신 모듈(120)과 호스트(110)가 서로 통신 케이블(130)을 통해 연결되어 있는데, 상기 통신 케이블(130)은 RS232 통신 방식으로 데이터를 전송하므로 상기 프 로그램을 AT 명령어 형태를 갖는 텍스트 데이터로 변환시킨다.The reason why the
특히, 상기 호스트(110)는 상기 통신 모듈(120)을 통해 전달된 텍스트 데이터를 모두 전달받아 이진 데이터의 프로그램으로 재변환시킨 후, 상기 통신 모듈(120)에 전달하여 프로그램을 다운로드 시킨다.In particular, the
이때, 상기 호스트(110)에서의 텍스트 데이터를 이진 데이터로 재변환시키는 방법은, 상술한 이진 데이터를 텍스트 데이터로 변환시킨 방법의 역순으로 진행된다.At this time, the method of reconverting the text data in the
상기 호스트(110)에서는 저장공간이 여유롭기 때문에 통신 모듈(120)로부터 전달되는 텍스트 데이터를 전달됨과 동시에 이진 데이터로 변환시키지 않고, 하나의 프로그램에 해당하는 텍스트 데이터가 모두 전달될 때까지 변환시키지 않고 저장한다.Since the storage space is sufficient in the
그런 다음, 호스트(110)는 통신 모듈(120)로부터 텍스트 데이터가 모두 전달될 경우 이를 이진 데이터로 재변환시키고, 복원된 프로그램을 통신 모듈(120)에 전달함으로써 프로그램을 다운로드 시킨다.Then, the
상술한 바와 같이, 본 발명에 따른 프로그램 다운로드 시스템(100)은, 통신 모듈(120)에서 무선 통신을 통해 서버(140)로부터 프로그램을 전송받으며, 전송된 프로그램을 호스트(110)에 전달한 후 이를 다운로드 받는다. 이에 따라, 본 발명의 무선 다운로드 시스템(100)은 종래와 같이 제어부(11)를 통해 사전에 다운로드 시킬 프로그램을 미리 저장시키지 않아도 됨에 따라 다운로드 공정을 단순화시킬 수 있다.As described above, the
또한, 본 발명의 무선 다운로드 시스템(100)은 통신 모듈(120)을 통해 전달된 프로그램을 호스트(110)에서 직접 통신 모듈(120)에 다운로드 시킴으로써, 다운로드 시간을 단축시킬 수 있다.In addition, the
한편, 본 발명에 따른 프로그램 다운로드 시스템의 변형예를 나타낸 도 5에 도시한 바와 같이, 다운로드 시스템(200)은 호스트(210), 다수의 통신 모듈(220a~220n)과 서버(240)로 구성된다.On the other hand, as shown in Figure 5 showing a modification of the program download system according to the present invention, the
호스트(210)는 제1 내지 제n 통신 모듈(220a~220n)과 제1 내지 제n 통신 케이블(230a~230n)을 통해 연결된다. 이에 따라, 상기 제1 내지 제n 통신 모듈(220a~220n) 중 적어도 어느 하나의 통신 모듈을 통해 프로그램을 텍스트 데이터로 전달받고, 이를 이진 데이터로 재변환 시킨 후 해당 통신 모듈 또는 제1 내지 제n 통신 모듈(220a~220n)에 전달함으로써, 동시에 제1 내지 제n 통신 모듈(220a~220n)에 프로그램을 다운로드 시킬 수 있다.The
이하, 상술한 도 3 내지 도 5와, 도 6을 참조하여 본 발명에 따른 프로그램 다운로드 방법에 대하여 보다 상세히 설명하면 다음과 같다.Hereinafter, the program download method according to the present invention will be described in detail with reference to FIGS. 3 to 5 and FIG. 6 as follows.
도 6은 본 발명에 다른 프로그램 다운로드 방법을 순차적으로 나타낸 순서도이다.6 is a flowchart sequentially showing a program download method according to the present invention.
먼저, 도 6에 도시한 바와 같이, 본 발명에 따른 프로그램 다운로드 방법은, 서버(110)에서 무선 통신을 통하여 상기 통신 모듈(120)로 프로그램을 전송한다(S310).First, as shown in FIG. 6, the program download method according to the present invention transmits a program from the
그런 다음, 통신 모듈(120)에서 상기 S310 단계에서 전송된 프로그램을 텍스트 데이터로 변환시킨다(S320). 이때, 상기 프로그램은 이진 데이터(binary data)이며, 텍스트 데이터는 아스키 파일(ASCII file)이다.Then, the
특히, 상기 통신 모듈(120)의 저장 공간이 부족하기 때문에 상기 이진 데이터의 프로그램을 직접 다운로드 하지 못하고 텍스트 데이터로 변환시켜 실시간으로 호스트에 전달한다(S330).In particular, since the storage space of the
상기 S320 단계에서의 이진 데이터의 프로그램을 텍스트 데이터로 변환시키는 방법에 대하여 설명하면 다음과 같다. 이때, 상기 이진 데이터의 프로그램은 8비트이며, 텍스트 데이터는 16비트를 갖는 데이터로 가정한다.A method of converting a program of binary data into text data in step S320 will now be described. In this case, it is assumed that the program of binary data is 8 bits, and the text data is data having 16 bits.
상기 8비트의 프로그램을 각각 4비트씩의 상위 데이터와 하위 데이터로 분리시킨다. 그런 다음 상위 데이터를 레프트 쉬프트(left shift) 시켜, 이웃하는 8비트의 버퍼에 저장한다.The 8-bit program is divided into upper data and lower data of 4 bits each. The upper data is then left shifted and stored in a neighboring 8-bit buffer.
그 다음, 상위 데이터(H)와 하위 데이터(L)를 10과 비교하여, 10 이상의 데이터에는 55를 덧셈 연산하고, 10 미만의 데이터에는 48을 덧셈 연산한다. 이렇게 55와 48을 각각 덧셈 연산함으로써 10 이상의 값을 갖는 데이터는 '65~90'에 해당하는 아스키 코드값인 'A~Z'의 표현이 가능하게 되며, 10 미만의 값을 갖는 데이터는 '48~57'에 해당하는 아스키 코드값인 '0~9'의 표현이 가능하다.Next, the upper data H and the lower data L are compared with 10, and 55 is added to 10 or more data, and 48 is added to data less than 10. By adding 55 and 48 respectively, data having a value greater than or equal to 10 can be represented by ASCII code values' A to Z 'corresponding to '65 to 90', and data having a value less than 10 is represented by '48'. ASCII code value '0 ~ 9' corresponding to '57' can be expressed.
상기 이진 데이터의 분리된 상위 및 하위 데이터(H, L)를 각각 아스키 코드 값을 갖도록 변환시킨 후, 8비트의 상위 버퍼(H')에 저장된 상위 데이터(H)와 8비트의 하위 버퍼(L')에 저장된 하위 데이터(L)를 하나의 데이터로 블럭화시킴으로써, 하나의 텍스트 데이터로 변환시킨다.After converting the separated upper and lower data (H, L) of the binary data to have an ASCII code value, respectively, the upper data (H) stored in an 8-bit upper buffer (H ') and an 8-bit lower buffer (L). By converting the lower data L stored in ') into one data, it is converted into one text data.
이러한 변환 방법은 상기 이진 데이터의 프로그램이 전송되는 동안 실시간으로 진행되고, 변환된 텍스트 데이터는 변환됨과 동시에 상기 호스트(110)에 전달된다. 이때, 상기 통신 모듈(120)과 호스트(110)는 RS232 통신을 통하여 텍스트 데이터를 전달하는 것이 바람직하다.This conversion method is performed in real time while the program of the binary data is transmitted, and the converted text data is transferred to the
상기 텍스트 데이터를 호스트(110)에 전달한 후, 호스트(110)에서는 상기 텍스트 데이터를 이진 데이터로 재변환시켜 프로그램을 복원시킨다(S340). 상기 텍스트 데이터를 이진 데이터로 재변환시키는 방법은, 이진 데이터를 텍스트 데이터로 변환시킨 방법의 역순으로 진행된다.After transferring the text data to the
이때, 상기 호스트(110)에서 텍스트 데이터를 이진 데이터로 재변환시키는 이유는, 통신 모듈(120)에 다운로드 시키기 위한 프로그램으로 변환시키기 위함이다.In this case, the reason why the
상기 S340 단계에서 텍스트 데이터를 이진 데이터로 모두 변환시킨 후, 상기 변환된 이진 데이터를 통신 모듈(120)에 전달함으로써 프로그램을 다운로드 시킨다.(S350).After converting all the text data into binary data in step S340, the program is downloaded by transferring the converted binary data to the communication module 120 (S350).
한편, 상기 도 5에 도시한 다수의 통신 모듈(220a~220n)에 프로그램을 다운로드 시키기 위한 방법은, 서버(210)에서 무선 통신을 통해 제1 내지 제n 통신 모 듈(220a~220n) 중 적어도 하나의 통신 모듈에 프로그램을 전송하며, 상기 통신 모듈은 전송받은 프로그램을 텍스트 데이터로 변환시켜 상기 호스트(210)에 전달한다.Meanwhile, the method for downloading a program to the plurality of
상기 호스트(210)에서는 전달받은 텍스트 데이터를 이진 데이터로 재변환시켜 프로그램으로 복원시키며, 복원된 프로그램을 제1 내지 제n 통신 모듈(220a~220n) 중 적어도 어느 하나의 통신 모듈에 전달함으로써 프로그램을 다운로드 시킬 수 있다.The
상술한 방법에 의해 프로그램을 다운로드 시키는 프로그램 다운로드 방법은, 다운로드 시킬 이진 데이터의 프로그램을 사전에 호스트(110)에 저장시키기 않고 통신 모듈(120)을 통해 전달받음으로써 다운로드 공정을 단순화시킬 수 있으며, 다운로드 시간을 단축시킬 수 있다.The program download method for downloading a program by the above-described method may simplify the download process by receiving the program of binary data to be downloaded through the
이상에서 설명한 본 발명의 바람직한 실시예들은 예시의 목적을 위해 개시된 것이며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환, 변형 및 변경이 가능할 것이나, 이러한 치환, 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for the purpose of illustration, and various substitutions, modifications, and changes within the scope without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains. It will be possible, but such substitutions, changes and the like should be regarded as belonging to the following claims.
도 1은 종래 기술에 의한 통신 모듈용 프로그램 다운로드 시스템의 블럭도.1 is a block diagram of a program download system for a communication module according to the prior art.
도 2는 종래 기술에 의한 다수의 통신 모듈용 프로그램 다운로드 시스템의 블럭도.2 is a block diagram of a program download system for multiple communication modules according to the prior art;
도 3은 본 발명에 따른 프로그램 다운로드 시스템의 블럭도.3 is a block diagram of a program download system according to the present invention.
도 4는 본 발명에 따른 데이터 변환을 나타낸 설명도.4 is an explanatory diagram showing data conversion according to the present invention;
도 5는 본 발명에 따른 프로그램 다운로드 시스템의 변형예를 나타낸 블럭도.5 is a block diagram showing a modification of the program download system according to the present invention.
도 6은 본 발명에 다른 프로그램 다운로드 방법을 순차적으로 나타낸 순서도.6 is a flow chart sequentially showing another program download method according to the present invention.
< 도면의 주요부분에 대한 부호의 설명 ><Description of Symbols for Major Parts of Drawings>
110 : 호스트 120 : 통신 모듈110: host 120: communication module
130 : 통신 케이블 140 : 서버130: communication cable 140: server
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080015416A KR100920779B1 (en) | 2008-02-20 | 2008-02-20 | Program download system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080015416A KR100920779B1 (en) | 2008-02-20 | 2008-02-20 | Program download system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090090127A KR20090090127A (en) | 2009-08-25 |
KR100920779B1 true KR100920779B1 (en) | 2009-10-08 |
Family
ID=41208074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080015416A KR100920779B1 (en) | 2008-02-20 | 2008-02-20 | Program download system and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100920779B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102380263B1 (en) * | 2019-07-08 | 2022-03-30 | 주식회사 쏠리드 | Apparatus and method for remote program downloading |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005071324A (en) | 2003-08-01 | 2005-03-17 | Nec Corp | Radio communication terminal testing method, radio communication terminal test system, and radio communication terminal |
KR20060096737A (en) * | 2005-03-02 | 2006-09-13 | 엘지전자 주식회사 | Apparatus and method for checking and downloading terminal using multi interface |
JP2007068079A (en) | 2005-09-02 | 2007-03-15 | Sharp Corp | Electronic equipment, apparatus inspection device, apparatus inspection method, program, and recording medium |
KR100790701B1 (en) | 2006-07-14 | 2008-01-02 | 삼성전기주식회사 | Wirelee module and communication system using at-command, and mothod for binary data |
-
2008
- 2008-02-20 KR KR1020080015416A patent/KR100920779B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005071324A (en) | 2003-08-01 | 2005-03-17 | Nec Corp | Radio communication terminal testing method, radio communication terminal test system, and radio communication terminal |
KR20060096737A (en) * | 2005-03-02 | 2006-09-13 | 엘지전자 주식회사 | Apparatus and method for checking and downloading terminal using multi interface |
JP2007068079A (en) | 2005-09-02 | 2007-03-15 | Sharp Corp | Electronic equipment, apparatus inspection device, apparatus inspection method, program, and recording medium |
KR100790701B1 (en) | 2006-07-14 | 2008-01-02 | 삼성전기주식회사 | Wirelee module and communication system using at-command, and mothod for binary data |
Also Published As
Publication number | Publication date |
---|---|
KR20090090127A (en) | 2009-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101836188B (en) | Server-based code compilation | |
CN102137123A (en) | Device and method for realizing process-to-process communication of different application programs on mobile terminal | |
CN103685554A (en) | Upgrading method, device and system | |
CN1838666B (en) | Byte sequence switching method for crossing operating system platform | |
CN113805929A (en) | Real-time system FOTA upgrading method based on Bluetooth transmission and related equipment | |
KR100920779B1 (en) | Program download system and method | |
CN1236637C (en) | Radio communication system with function of data changing and renewing | |
US20070149255A1 (en) | System for backing up information of a handheld electronic device and method thereof | |
CN102306130A (en) | System and method for controlling mobile equipment by using computer and mobile equipment test system | |
CN112017422A (en) | Method for transmitting signal of mesh network and remote control system thereof | |
CN213518650U (en) | Infrared remote control testing device and system thereof | |
CN112905464B (en) | Application running environment data processing method and device | |
CN101154206B (en) | Coupling device, processer device, data process device and data transmission method | |
KR100593549B1 (en) | Data transmission device between computer and mobile communication terminal using UBS | |
CN102368856A (en) | SIM card controlling apparatus of mobile equipment and system for controlling mobile equipment by computer | |
CN218122728U (en) | Remote updating system for charging pile | |
US20120266172A1 (en) | Apparatus and method for controlling a virtual machine | |
US20080080283A1 (en) | Coupling device for transmitting data | |
KR100780221B1 (en) | Program download system for communication module and method | |
US20100287230A1 (en) | Internet-enabled Data Transceiver | |
CN113973096B (en) | Data processing method and transmitting terminal | |
CN202615386U (en) | Single board and data processing system | |
CN202205155U (en) | Mobile equipment power supply control device and system for controlling mobile equipment by computer | |
CN202210824U (en) | Mobile device SIM card control apparatus and system for computer control mobile device | |
JP2010287920A (en) | Mobile terminal apparatus, communication system, server, method of controlling the same, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |