KR20020006165A - Program upgrade method in mobile station - Google Patents
Program upgrade method in mobile station Download PDFInfo
- Publication number
- KR20020006165A KR20020006165A KR1020000039655A KR20000039655A KR20020006165A KR 20020006165 A KR20020006165 A KR 20020006165A KR 1020000039655 A KR1020000039655 A KR 1020000039655A KR 20000039655 A KR20000039655 A KR 20000039655A KR 20020006165 A KR20020006165 A KR 20020006165A
- Authority
- KR
- South Korea
- Prior art keywords
- program
- data rate
- upgrade
- mobile phone
- download
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
본 발명은 휴대폰, PDA(Personal Digital Assistant) 등 embedded system을 갖는 장치의 프로그램 업그레이드(upgrade)에 관한 것으로, 특히 프로그램 업그레이드(upgrade)시 업그레이드를 위한 데이터레이트(data rate)로 초기 설정한 후 업그레이드를 실행하고, 업그레이드 완료 후 normal start를 위한 데이터 레이트로 설정하여 normal start를 수행하며, 업그레이드 시 메모리에 기저장된 프로그램과 업그레이드 프로그램을 비교하여 바뀌는 부분만을 선별적으로 다운로드함으로써, 휴대폰, PDA 등의 소프트웨어 업그레이드 시 소요되는 시간을 절감하고 메모리 불량 발생 확률을 감소시키도록 한 휴대폰의 프로그램 업그레이드 방법에 관한 것이다.The present invention relates to a program upgrade (upgrade) of the device having an embedded system, such as a mobile phone, PDA (Personal Digital Assistant), in particular, the initial upgrade to the data rate (data rate) for the upgrade during the program upgrade (upgrade) After the upgrade is completed, normal start is performed by setting the data rate for normal start.Upgrading software of mobile phones, PDAs, etc. by selectively downloading only the changed part by comparing the program stored in the memory with the upgrade program when upgrading The present invention relates to a method of upgrading a program of a mobile phone to reduce the time required and reduce the probability of a bad memory.
기존의 휴대폰의 소프트웨어 업그레이드는, 초기 데이터 레이트(data rate)를 38.4 kbps로 설정하고 업그레이드 실행 도중에 데이터레이트를 변경하도록 하는 메시지(CMD_UART)를 PC(Personal Computer)로부터 받아 115.2 kbps로 바꾸어 실행한다. 이와 같이 업그레이드 도중에 데이터 레이트를 바꿈으로 인해 에러가 발생할 수 있는 가능성을 내재하게 된다.The software upgrade of the existing mobile phone is performed by changing the initial data rate to 38.4 kbps and receiving a message (CMD_UART) from the personal computer (PC) to change the data rate during the upgrade to 115.2 kbps. As such, there is a possibility that an error may occur due to changing the data rate during the upgrade.
또한 기존의 소프트웨어 업그레이드는 기존의 프로그램 메모리 영역을 모두 지운 후 새로운 프로그램을 전부 다시 덮어 씌우는 방식으로 이루어진다.Existing software upgrades are also done by erasing all existing program memory and overwriting all new programs.
소프트웨어 개발 단계에서 프로그램이 바뀌는 부분은 일부분으로 메모리의 모든 부분을 지우고 다시 저장하는 작업은, 시간적으로나 에러 발생 비율을 보았을 때 비효율적이다.In the software development stage, the program changes to a part, and deleting and restoring all parts of the memory is inefficient in terms of time and error rate.
구체적으로 기존 소프트웨어 업그레이드 방식에는 쓰기는 먼저 해당 블럭(64kbyte)을 지우고, 블럭의 시작 번지에서부터 메모리의 세그먼트(segment; 1kbyte) 단위로 직렬 통신에 의해 단말기로 보내져 단말기가 이를 메모리에 저장하는 절차로 이루어진다.Specifically, in the existing software upgrade method, writing is first performed by erasing the corresponding block (64kbyte), and then sent to the terminal by serial communication in units of 1kbyte of memory from the start address of the block, and the terminal stores the memory in the memory. .
플래쉬 메모리(flash memory)에의 지우기 및 쓰기는 읽기에 비해 상당한 시간이 소요된다. 한 예로 플래쉬 메모리의 읽기 속도는 대개 100ns정도지만, 지우기 및 쓰기 속도는 수십 ㎲ 단위로 1Mbyte의 메모리를 업그레이드한다고 가정할 때 걸리는 시간은 약 3분 정도이며, 프로그램 크기가 대용량화하는 현재의 경향에 의해플래쉬 메모리 업그레이드에 걸리는 시간은 상대적으로 증가할 수 밖에 없다. 이런 경우 대량 생산된 제품의 프로그램 메모리 업그레이드에 들어가는 시간 및 비용은 문제점이 된다.Erasing and writing to flash memory takes considerable time compared to reading. For example, the flash memory read speed is usually about 100ns, but the erase and write speeds are about 3 minutes assuming 1Mbyte memory upgrade in tens of microseconds. The time required for flash memory upgrades is relatively high. In this case, the time and cost of upgrading the program memory of mass-produced products becomes a problem.
이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은Therefore, the present invention has been proposed to solve the conventional problems as described above, the object of the present invention is
프로그램 업그레이드(upgrade)시 업그레이드를 위한 데이터레이트(data rate)로 초기 설정한 후 업그레이드를 실행하고, 업그레이드 완료 후 normal start를 위한 데이터 레이트로 설정하여 normal start를 수행하며, 업그레이드 시 메모리에 기저장된 프로그램과 업그레이드 프로그램을 비교하여 바뀌는 부분만을 선별적으로 다운로드함으로써, 휴대폰, PDA 등의 소프트웨어 업그레이드 시 소요되는 시간을 절감하고 메모리 불량 발생 확률을 감소시키도록 한 휴대폰의 프로그램 업그레이드 방법을 제공하는 데 있다.When upgrading the program, perform the upgrade after initial setting with the data rate for upgrading, and after the upgrade is completed, set the data rate for normal start to perform normal start, and the program stored in memory when upgrading By selectively downloading only the changed parts by comparing the upgrade program with the upgrade program, it provides a program upgrade method of the mobile phone to reduce the time required for upgrading the software of the mobile phone, PDA, etc. and reduce the probability of memory failure.
상기와 같은 목적을 달성하기 위하여 본 발명에 의한 휴대폰의 프로그램 업그레이드 방법은,Program upgrade method of the mobile phone according to the present invention in order to achieve the above object,
초기 데이터레이트(data rate)를 프로그램 업그레이드(upgrade)를 위한 데이터레이트로 설정하는 제1단계와;A first step of setting an initial data rate as a data rate for program upgrade;
프로그램 업그레이드를 위한 다운 로드 실행 여부를 검사하여 다운 로드를 실행해야 하면, 초기 설정된 상기 프로그램 업그레이드를 위한 데이터레이트에 따라 다운 로드를 실행하고, 다운 로드가 완료되면 재부팅하는 제2단계와;A second step of performing a download according to the data rate for the program upgrade which is initially set and checking the execution of the download for the program upgrade and rebooting when the download is completed;
상기 제2단계의 다운 로드 실행 여부 검사 결과, 다운 로드 실행이 아니고 normal start를 실행해야 하면 데이터레이트를 normal start 실행을 위한 데이터레이트로 재설정하는 제3단계와;A third step of resetting the data rate to the data rate for normal start execution if it is necessary to execute normal start instead of download execution as a result of the download execution check in the second step;
상기 재설정된 데이터레이트에 따라 normal start를 실행하는 제4단계로 이루어짐을 그 방법적 구성상의 특징으로 한다.The method is characterized in that it comprises a fourth step of executing a normal start according to the reset data rate.
도1은 본 발명에 의한 휴대폰의 프로그램 업그레이드 방법을 보인 흐름도,1 is a flow chart showing a program upgrade method of a mobile phone according to the present invention;
도2는 본 발명에 의한 단말기 프로그램 메모리의 일부분에 대한 쓰기를 이용한 프로그램 업그레이드 방법을 보인 흐름도,2 is a flowchart illustrating a program upgrade method using writing to a part of a terminal program memory according to the present invention;
도3은 PC와 단말기 간 송수신되는 메시지를 보인 도면.3 is a view showing a message transmitted and received between a PC and a terminal.
이하, 상기와 같은 본 발명에 의한 휴대폰의 프로그램 업그레이드 방법을 첨부된 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings, the program upgrade method of the mobile phone according to the present invention as follows.
본 발명은 휴대폰의 소프트웨어를 업그레이드할 때 데이터 레이트(data rate)의 초기 설정값을 기존의 38.4kbps에서 115.2kbps로 바꾸고, 휴대폰의 소프트웨어를 업그레이드할 때 무조건 모든 내용을 지우고 다시 쓰는 대신 이미 저장된 프로그램과 차이가 있는 부분만을 선별적으로 저장하도록 한다.The present invention changes the initial setting of the data rate from the existing 38.4kbps to 115.2kbps when upgrading the software of the mobile phone. Selectively store only the differences.
도1은 본 발명에 의한 휴대폰의 프로그램 업그레이드 방법을 보인 흐름도이다.1 is a flowchart illustrating a program upgrade method of a mobile phone according to the present invention.
도시된 바와 같이, 초기 데이터레이트(data rate)를 프로그램 업그레이드(upgrade)를 위한 데이터레이트로 설정하는 제1단계(ST11)와; 프로그램 업그레이드를 위한 다운 로드 실행 여부를 검사하여 다운 로드를 실행해야 하면, 초기 설정된 상기 프로그램 업그레이드를 위한 데이터레이트에 따라 다운 로드를실행하고, 다운 로드가 완료되면 재부팅하는 제2단계(ST12,ST13)와; 상기 제2단계(ST12,ST13)의 다운 로드 실행 여부 검사 결과, 다운 로드 실행이 아니고 normal start를 실행해야 하면 데이터레이트를 normal start 실행을 위한 데이터레이트로 재설정하는 제3단계(ST14)와; 상기 재설정된 데이터레이트에 따라 normal start를 실행하는 제4단계(ST15)를 수행한다.As shown, a first step ST11 of setting an initial data rate as a data rate for program upgrade; If it is necessary to execute the download by checking whether the download for the program upgrade is executed, the second step (ST12, ST13) to execute the download according to the initial data rate for the program upgrade and reboot when the download is completed. Wow; A third step (ST14) of resetting the data rate to the data rate for the normal start if a normal start is to be executed instead of the download execution as a result of the download execution check in the second steps ST12 and ST13; According to the reset data rate, a fourth step ST15 of executing normal start is performed.
상기 제2단계(ST12,ST13)는, PC에서 보내진 데이터를 휴대폰의 메모리에 저장된 프로그램과 비교하여, 서로 다른 부분의 블럭을 기록하고 상기 PC로 전송하는 단계(ST21,ST22)와; 상기 PC는 서로 다른 부분의 어드레스와 데이터를 상기 휴대폰으로 전송하고, 상기 휴대폰은 수신된 데이터를 프로그램 메모리에 저장하는 단계(ST23,ST24)를 수행한다.The second step (ST12, ST13), comparing the data sent from the PC with the program stored in the memory of the mobile phone, recording the different parts of the block and transmitting to the PC (ST21, ST22); The PC transmits addresses and data of different parts to the mobile phone, and the mobile phone performs the steps of storing the received data in the program memory (ST23, ST24).
상기와 같은 본 발명에 의한 휴대폰의 프로그램 업그레이드 방법을 설명하면 다음과 같다.The program upgrade method of the mobile phone according to the present invention as described above is as follows.
초기 데이터레이트(data rate)를 프로그램 업그레이드(upgrade)를 위한 데이터레이트인 115.2kbps로 설정한다(ST11). 그런 다음 프로그램 업그레이드를 위한 다운 로드 실행 여부를 검사하여 다운 로드를 실행해야 하면, 초기 설정된 115.2kbps에 따라 PC로부터 휴대폰으로의 다운 로드를 실행한다.The initial data rate is set to 115.2kbps, which is a data rate for program upgrade (ST11). Then, if the download needs to be executed by checking whether the download for the program upgrade is executed, the download from the PC to the mobile phone is executed according to the initial setting of 115.2kbps.
여기서 다운 로드에 대해 상세히 설명한다.Here, the download will be described in detail.
도3에 도시된 바와 같이, 휴대폰(단말기)에서 PC로 다운 로드 요청 메시지(REQUEST_KEY_MSG)를 전송하면 PC는 이 메시지를 다시 휴대폰으로 되돌려 보내고(FW_KEY_MSG), 휴대폰은 이에 응답한다(ACK).As shown in Fig. 3, when a download request message (REQUEST_KEY_MSG) is transmitted from the mobile phone (terminal) to the PC, the PC sends this message back to the mobile phone (FW_KEY_MSG), and the mobile phone responds (ACK).
그래서 PC에서 데이터를 보내면(packet 전송), 휴대폰은 자신의 플래시 메모리에 저장된 프로그램과 비교한다(ST21). 그래서 기 저장된 프로그램과 업그레이드된 프로그램과의 서로 다른 부분의 블럭을 기록하고, PC로 전송해 준다(ACK(device id))(ST22).So when data is sent from the PC (packet transfer), the phone compares with the program stored in its flash memory (ST21). Thus, blocks of different parts between the pre-stored program and the upgraded program are recorded and transmitted to the PC (ACK (device id)) (ST22).
그러면 PC는 서로 다른 부분의 어드레스와 데이터(packet 전송(비교 위치, 내용))를 휴대폰으로 전송해준다(ST23).The PC then transmits the address and data (packet transmission (comparison location, contents)) of different parts to the mobile phone (ST23).
이에 휴대폰은 수신된 데이터를 프로그램 메모리에 저장한다(ST24). 그래서 기 저장된 프로그램의 내용과 새로 저장할 프로그램의 내용 중 차이가 나는 부분만을 저장하게 되는 것이다.The mobile phone stores the received data in the program memory (ST24). Therefore, only the part where there is a difference between the contents of the previously stored program and the contents of the newly stored program is stored.
이렇게 하여, 휴대폰 프로그램 메모리의 일부분에 대한 쓰기를 이용하여 내용의 차이가 있는 부분만을 업그레이드 하는 동작이 완료되면 재부팅한다(ST12,ST13).In this way, when the operation of upgrading only the part having a difference in contents by using writing to a part of the mobile phone program memory is completed, the computer reboots (ST12 and ST13).
한편, ST12에서 다운 로드 실행 여부 검사 결과, 다운 로드 실행이 아니고 normal start를 실행해야 하면, 데이터레이트를 normal start 실행을 위한 데이터레이트인 38.4kbps로 재설정한다(ST14). 그래서 재설정된 데이터레이트 38.4kbps에 따라 normal start를 하여 main() 프로그램을 수행하게 된다(ST15).On the other hand, if the result of the download execution check in ST12 indicates that normal start should be executed instead of the download execution, the data rate is reset to 38.4 kbps, which is a data rate for normal start execution (ST14). Thus, the main () program is executed by performing normal start according to the reset data rate 38.4kbps (ST15).
이상에서 살펴본 바와 같이, 본 발명 휴대폰의 프로그램 업그레이드 방법은,프로그램 업그레이드(upgrade)시 업그레이드를 위한 데이터레이트(data rate)(115.2kbps)로 초기 설정한 후 업그레이드를 실행하고, 업그레이드 완료 후 normal start를 위한 데이터 레이트(38.4kbps)로 설정하여 normal start를 수행하며, 업그레이드 시 메모리에 기저장된 프로그램과 업그레이드 프로그램을 비교하여 바뀌는 부분만을 선별적으로 다운로드함으로써, 기 저장된 프로그램의 내용과 새로 저장할 프로그램의 내용 중 차이가 있는 부분만을 저장하게 하여 업그레이드에 요구되는 시간을 최소화할 수 있고, 메모리 불량 발생 확률을 감소시키도록 한 효과가 있다. 그리고 소프트웨어의 업그레이드 실행시 데이터 레이트의 변화로 인한 에러 발생 가능성을 제거하고 프로그램을 보다 간결하게 구현할 수 있는 효과가 있다.As described above, the program upgrade method of the mobile phone of the present invention, when the program upgrade (upgrade) when the initial setting to the data rate (data rate) (115.2kbps) for the upgrade, the upgrade is executed, the normal start after the upgrade is completed Normal start is performed by setting the data rate (38.4kbps) for the upgrade, and by selectively downloading only the changed part by comparing the program stored in the memory with the upgraded program during the upgrade, the contents of the previously stored program and the contents of the newly stored program By storing only the differences, the time required for upgrading can be minimized and the probability of memory failure can be reduced. In addition, it is possible to remove the possibility of error due to the change of data rate when upgrading the software and to implement the program more concisely.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000039655A KR20020006165A (en) | 2000-07-11 | 2000-07-11 | Program upgrade method in mobile station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000039655A KR20020006165A (en) | 2000-07-11 | 2000-07-11 | Program upgrade method in mobile station |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20020006165A true KR20020006165A (en) | 2002-01-19 |
Family
ID=19677428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020000039655A KR20020006165A (en) | 2000-07-11 | 2000-07-11 | Program upgrade method in mobile station |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20020006165A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020035077A (en) * | 2002-04-18 | 2002-05-09 | 김창영 | Business model of Internet based service using both wire and wireless direct communication between local comuputer and mobile communication device/mobile computing device |
KR100585753B1 (en) * | 2003-12-12 | 2006-06-07 | 엘지전자 주식회사 | Apparatus and method for upgrading executable code |
KR100653280B1 (en) * | 2004-06-18 | 2006-12-04 | 이처닷컴 주식회사 | Mobile phone capable of updating application and method for updating application of mobile phone |
KR100678656B1 (en) * | 2005-01-25 | 2007-02-05 | 에스케이 텔레콤주식회사 | Method for Updating Database of Mobile Communication Terminal by Using Temporary Area of Memory and Mobile Communication Terminal Therefor |
KR100680296B1 (en) * | 2005-04-15 | 2007-02-07 | 주식회사 케이티프리텔 | Method for providing continuous downloading service of large size contents through wireless network and record media recored program for realizing the same |
WO2009126484A3 (en) * | 2008-04-10 | 2009-12-17 | Palm, Inc. | Computer program updates for mobile computing device |
-
2000
- 2000-07-11 KR KR1020000039655A patent/KR20020006165A/en not_active Application Discontinuation
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020035077A (en) * | 2002-04-18 | 2002-05-09 | 김창영 | Business model of Internet based service using both wire and wireless direct communication between local comuputer and mobile communication device/mobile computing device |
KR100585753B1 (en) * | 2003-12-12 | 2006-06-07 | 엘지전자 주식회사 | Apparatus and method for upgrading executable code |
KR100653280B1 (en) * | 2004-06-18 | 2006-12-04 | 이처닷컴 주식회사 | Mobile phone capable of updating application and method for updating application of mobile phone |
KR100678656B1 (en) * | 2005-01-25 | 2007-02-05 | 에스케이 텔레콤주식회사 | Method for Updating Database of Mobile Communication Terminal by Using Temporary Area of Memory and Mobile Communication Terminal Therefor |
KR100680296B1 (en) * | 2005-04-15 | 2007-02-07 | 주식회사 케이티프리텔 | Method for providing continuous downloading service of large size contents through wireless network and record media recored program for realizing the same |
WO2009126484A3 (en) * | 2008-04-10 | 2009-12-17 | Palm, Inc. | Computer program updates for mobile computing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8539471B2 (en) | Updating firmware of an electronic device | |
KR100393619B1 (en) | Memory apparatus and therefor controling method for mobile station | |
CN101026848B (en) | Mobile terminal and software update method | |
US6684324B2 (en) | Method for installing two or more operating systems/user interfaces into an electronic device and an electronic device | |
CN110825563B (en) | System recovery method and device and electronic equipment | |
KR20040093745A (en) | Communication terminal software updating method, communication terminal, and software updating method | |
TWI396076B (en) | Wireless handset, nonvolatile memory for wireless handset, and method for failsafe preservation of diagnostic information | |
KR101555210B1 (en) | Apparatus and method for downloadin contents using movinand in portable terminal | |
JP2007503654A (en) | Apparatus and method for generating upgraded software from initial software and software upgrade packages | |
KR100247951B1 (en) | Program modification method of PDA | |
CN101183337A (en) | Space management techniques based on NAND FLASH mobile terminal storage medium | |
JP2004530201A (en) | Methods for loading and running applications in embedded environments | |
KR20120109800A (en) | Data update method based on a firmware on the air and portable device supporting the same | |
JP2002099441A (en) | Communication terminal apparatus and its operating method | |
WO2006057861A1 (en) | System and method for over-the-air update of wireless communication devices | |
US5940627A (en) | User selectable feature set for a flash ROM based peripheral | |
JP2002207599A (en) | Communication terminal and software update system thereof | |
KR20020006165A (en) | Program upgrade method in mobile station | |
US20050010914A1 (en) | Method for upgrading firmware | |
KR20030073824A (en) | A method and apparatus for upgrading a system firmware by using an universal serial bus | |
KR20070006831A (en) | Automatic backup store in firmware upgrades | |
KR100732965B1 (en) | Upgrade apparatus of the mobile communication terminal and the method thereof | |
KR20010011952A (en) | Apparatus of Update for Classifying Module and Method Thereof | |
KR100622816B1 (en) | System software update method and system in mobile terminal | |
KR100586357B1 (en) | System and Method for Operating Internet Protocol Phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |