KR20060097329A - Computer updating method using flash memory - Google Patents
Computer updating method using flash memory Download PDFInfo
- Publication number
- KR20060097329A KR20060097329A KR1020050018847A KR20050018847A KR20060097329A KR 20060097329 A KR20060097329 A KR 20060097329A KR 1020050018847 A KR1020050018847 A KR 1020050018847A KR 20050018847 A KR20050018847 A KR 20050018847A KR 20060097329 A KR20060097329 A KR 20060097329A
- Authority
- KR
- South Korea
- Prior art keywords
- computer
- update
- compressed file
- flash memory
- stored
- Prior art date
Links
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E04—BUILDING
- E04G—SCAFFOLDING; FORMS; SHUTTERING; BUILDING IMPLEMENTS OR AIDS, OR THEIR USE; HANDLING BUILDING MATERIALS ON THE SITE; REPAIRING, BREAKING-UP OR OTHER WORK ON EXISTING BUILDINGS
- E04G21/00—Preparing, conveying, or working-up building materials or building elements in situ; Other devices or measures for constructional work
- E04G21/14—Conveying or assembling building elements
- E04G21/16—Tools or apparatus
- E04G21/167—Tools or apparatus specially adapted for working-up plates, panels or slab shaped building elements
-
- E—FIXED CONSTRUCTIONS
- E04—BUILDING
- E04G—SCAFFOLDING; FORMS; SHUTTERING; BUILDING IMPLEMENTS OR AIDS, OR THEIR USE; HANDLING BUILDING MATERIALS ON THE SITE; REPAIRING, BREAKING-UP OR OTHER WORK ON EXISTING BUILDINGS
- E04G19/00—Auxiliary treatment of forms, e.g. dismantling; Cleaning devices
- E04G19/003—Arrangements for stabilising the forms or for moving the forms from one place to another
Landscapes
- Engineering & Computer Science (AREA)
- Architecture (AREA)
- Mechanical Engineering (AREA)
- Civil Engineering (AREA)
- Structural Engineering (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 압축파일을 통한 컴퓨터 업그레이드시 컴퓨터의 전원 등이 오프되는 경우 상기 압축파일을 컴퓨터에 정상적으로 저장될 수 있도록 하여 컴퓨터 업그레이드가 원활히 이루어지도록 한 컴퓨터 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법에 관한 것으로서, 서버와 같은 외부기기로부터 압축파일을 수신하여 압축파일을 컴퓨터 내부의 램에 저장한 후, 플래쉬 메모리로 전송하고, 플래쉬 메모리는 램으로부터 전송된 압축파일을 압축해제하여 저장 및 실행함으로써 컴퓨터의 업데이트를 수행하는 방법에 있어서, 플래쉬 메모리 내부에 별도의 업데이트 기록 영역을 구비하여 컴퓨터의 플래쉬 메모리에 램으로부터 전송된 압축파일이 저장되었음을 업데이트 기록 영역에 업데이트 기록하고, 전원 오프에 따른 컴퓨터 리부팅시 플래쉬 메모리 내부의 업데이트 기록 영역에 업데이트 기록이 기록되어 있는 지 체크하여 체크 온 여부에 따라 압축파일을 저장 및 실행시키는 것을 특징으로 한다. The present invention relates to a computer update method using a computer flash memory that allows the computer to be smoothly upgraded by allowing the compressed file to be normally stored in the computer when the computer is turned off when the computer is upgraded through the compressed file. After receiving the compressed file from an external device such as a computer, the compressed file is stored in the RAM inside the computer, and then transferred to the flash memory. The flash memory decompresses, stores and executes the compressed file transmitted from the RAM to update the computer. The method may include a separate update recording area inside the flash memory to update and record the compressed file transmitted from RAM in the update memory in the flash memory of the computer, and to update the flash memory when the computer is rebooted due to power off. It is characterized in that the compressed file is stored and executed depending on whether it is checked by checking whether the update record is recorded in the internal update record area.
플래쉬 메모리, 램, 압축파일, 업데이트 Flash memory, RAM, archives, updates
Description
도 1 은 본 발명에 따른 플래쉬 메모리의 블럭 구성도.1 is a block diagram of a flash memory according to the present invention.
도 2 는 도 1 의 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법을 나타낸 순서도.2 is a flowchart illustrating a computer update method using the flash memory of FIG. 1.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
10 : 플래쉬 메모리 12 : 업데이트 기록 영역10: flash memory 12: update recording area
14 : 압축 백업 영역 16 : 실제 동작 소프트웨어 영역14: compressed backup area 16: actual operating software area
18 : 부트룸 영역18: Bootroom Area
본 발명은 에러복구 기능과 압축기법을 이용한 컴퓨터의 소프트웨어 업그레이트 방법에 관한 것으로서, 더욱 상세하게는 압축파일을 통한 컴퓨터 업그레이드 시 컴퓨터의 전원 등이 오프되는 경우 상기 압축파일을 컴퓨터에 정상적으로 저장될 수 있도록 하여 컴퓨터 업그레이드가 원활히 이루어지도록 한 컴퓨터 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법에 관한 것이다. The present invention relates to a software upgrade method of a computer using an error recovery function and a compression method, and more particularly, when the computer is turned off when the computer is upgraded through the compressed file, the compressed file can be normally stored in the computer. The present invention relates to a method of updating a computer using a computer flash memory to facilitate a computer upgrade.
컴퓨터의 종래의 소프트웨어 업그레이트는 램에 저장된 후 플래쉬 메모리 내부의 백업 저장장소에 저장하고, 이 저장된 압축파일을 압축해제하고 플래쉬 메모리 영역 내부에 저장하여 실행시키게 된다. A conventional software upgrade of a computer is stored in RAM and stored in a backup storage in flash memory, and the compressed file is decompressed and stored in the flash memory area to be executed.
여기서, 압축파일이 플래쉬 메모리 내부의 압축 백업영역에 저장되거나 압축해제된 파일이 플래쉬 메모리 내부의 실제 동작 소프트웨어 영역에 저장되는 경우, 전원이 차단되어 업데이트가 완벽하게 이루어지지 않았다면 압축 백업영역에 저장된 압축 파일을 복사하던지 그 압축파일로 부팅하게 되어 같은 압축 파일 영역이 필요하게 된다. 압축 파일 전송시에 선로의 노이즈로 인해 압축파일이 손상되었을 경우 이 압축파일을 재전송하여야 하여야 한다는 문제점이 있었다. Here, when the compressed file is stored in the compressed backup area in the flash memory or the decompressed file is stored in the real operating software area in the flash memory, the compression is stored in the compressed backup area if the power is cut off and the update is not completed. Either copy the file or boot from that archive and you will need the same compressed file area. When the compressed file is damaged due to the noise of the line during transmission of the compressed file, the compressed file must be retransmitted.
본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 압축파일을 통한 컴퓨터 업그레이드시 컴퓨터의 전원 등이 오프되는 경우 상기 압축파일을 컴퓨터에 정상적으로 저장될 수 있도록 하여 컴퓨터 업그레이드가 원활히 이루어지도록 한 컴퓨터 컴퓨터 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법을 제공하는 그 목적이 있다. The present invention has been made to solve the above-described problems, when the computer power is turned off when upgrading the computer through a compressed file to ensure that the compressed file can be normally stored in the computer to facilitate the computer upgrade Its purpose is to provide a computer update method using flash memory.
전술한 목적을 달성하기 위해 안출된 본 발명의 구성은 다음과 같다. 본 발명은 서버와 같은 외부기기로부터 압축파일을 수신하여 압축파일을 컴퓨터 내부의 램에 저장한 후, 플래쉬 메모리로 전송하고, 플래쉬 메모리는 램으로부터 전송된 압축파일을 압축해제하여 저장 및 실행함으로써 컴퓨터의 업데이트를 수행하는 방법에 있어서, 플래쉬 메모리 내부에 별도의 업데이트 기록 영역을 구비하여 컴퓨터의 플래쉬 메모리에 램으로부터 전송된 압축파일이 저장되었음을 업데이트 기록 영역에 업데이트 기록하고, 전원 오프에 따른 컴퓨터 리부팅시 플래쉬 메모리 내부의 업데이트 기록 영역에 업데이트 기록이 기록되어 있는 지 체크하여 체크 온 여부에 따라 압축파일을 저장 및 실행시키는 것을 특징으로 한다. The configuration of the present invention devised to achieve the above object is as follows. The present invention receives a compressed file from an external device such as a server and stores the compressed file in a RAM inside the computer, and then transmits the compressed file to a flash memory, and the flash memory decompresses, stores and executes the compressed file transmitted from the RAM. A method of performing an update of a memory device, comprising: a separate update recording area inside a flash memory, and updating and recording a compressed file transmitted from RAM into an update recording area in a flash memory of a computer, and upon rebooting the computer according to a power-off. It is characterized in that the compressed file is stored and executed depending on whether the update record is recorded in the update recording area inside the flash memory depending on whether it is checked in or not.
여기서, 압축파일이 압축해제되고 플래쉬 메모리에 저장된 후에 전원이 오프되면, 컴퓨터 리부팅시 업데이트 기록 영역의 업데이트 기록을 삭제하고 실행시키는 것을 특징으로 한다. Here, when the power is turned off after the compressed file is decompressed and stored in the flash memory, the update recording in the update recording area is deleted and executed when the computer is rebooted.
또한, 업데이트 기록 영역은 컴퓨터 부팅시마다 업데이트 기록 여부를 계속적으로 확인하고, 압축파일이 플래쉬 메모리 내부에 저장된 후에 전원이 오프되면, 컴퓨터 리부팅시 압축파일을 압축해제하고 저장한 후, 업데이트 기록 영역의 업데이트 기록을 삭제하고 실행시키는 것을 특징으로 한다. In addition, the update recording area continuously checks whether an update is recorded every time the computer is booted up, and if the power is turned off after the compressed file is stored in the flash memory, the compressed file is decompressed and stored when the computer is rebooted, and then the update of the update recording area is performed. Characterized in that the record is deleted and executed.
컴퓨터 리부팅시 압축파일을 CRC체크하고 압축파일이 비정상이면, 업데이트 기록 영역의 업데이트 기록을 삭제하고, 리부팅과정을 진행시키는 것을 특징으로 한다. CRC checks the compressed file during computer reboot, if the compressed file is abnormal, deletes the update record in the update record area and proceeds with the rebooting process.
이하에서는 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention will be described in detail.
도 1 은 본 발명에 따른 플래쉬 메모리의 블럭 구성도이고, 도 2 는 도 1 의 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법을 나타낸 순서도이다.1 is a block diagram of a flash memory according to the present invention, Figure 2 is a flow chart illustrating a computer update method using the flash memory of FIG.
본 발명에 따른 플래쉬 메모리(10)는 업데이트 기록 영역(12)과 압축 백업 영역(14), 실제 동작 소프트웨어 영역(16), 및 부트룸 영역(18)으로 이루어진다.The
업데이트 기록 영역(12)은 압축 파일이 램(도시되지 않음)으로부터 전송되어 압축 백업 영역(14)에 저장되는 되는 압축파일이 압축 백업 영역(14)에 저장되어 있음이 기록되고, 압축 백업영역(14)은 상기한 바와 같이, 압축 파일이 저장되는 영역이며, 실제 동작 소프트웨어 영역(16)은 압축 백업 영역(14)에 저장된 압축파일이 압축되어 저장됨으로써, 압축 파일에 따라 컴퓨터가 업그레이드되도록 실행될 수 있도록 하는 영역이며, 마지막으로 부트룸 영역(18)은 내부에 본 발명에 따른 압축 파일의 데이타를 복구할 수 있도록 하는 압축 해제 알고리즘을 구비하여 압축 파일 저장시 발생하는 각종 사고시에도 이후 압축파일이 정상적으로 복구될 수 있도록 한다.The
다음은 도 2 를 참조하여 본 발명에 따른 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법을 설명한다.Next, a computer update method using a flash memory according to the present invention will be described with reference to FIG. 2.
본 발명에 따른 플래쉬 메모리를 이용한 컴퓨터 업데이트 방법은 최초, 사용자가 외부의 서버나 컴퓨터등으로부터 압축파일 전송을 요청하면, 이 전송된 압축 파일은 램에 저장(S10)된다. In the method of updating a computer using a flash memory according to the present invention, first, when a user requests a compressed file transmission from an external server or computer, the transmitted compressed file is stored in the RAM (S10).
램에 저장된 압축파일은 RS코딩과 같은 에러복구 코드가 실행(S12)되고, 이 후 압축해제(S14)된다. The compressed file stored in the RAM is subjected to an error recovery code such as RS coding (S12), and then decompressed (S14).
이 후, 압축파일은 CRC체크하여 정상인지를 확인(S16)하는데, 정상이 아닌 경우에는 압축파일의 재전송을 요청(S17)하고, 정상인 경우엔 플래쉬 메모리(10)으로 전송된다.Thereafter, the compressed file is CRC checked to check whether it is normal (S16). If the compressed file is not normal, the compressed file is requested to be retransmitted (S17). If the compressed file is normal, the compressed file is transmitted to the
플래쉬 메모리(10)로 압축파일이 전송되면, 플래쉬 메모리(10) 내부의 업데이트 기록 영역(12)에 압축파일이 저장되었음을 기록(S18)하고, 이 압축파일을 압축 백업 영역(14)에 저장(S20)한다.When the compressed file is transferred to the
여기서, 압축파일이 압축 백업 영역(14)에 저장된 다음에 전원이 오프되는 경우와 같은 사고가 발생했을 경우, 컴퓨터의 리부팅(S24) 과정을 거치면서 압축파일을 유무를 확인하고 압축해제 및 저장과정을 거치는데, 만약에 전원이 오프되지 않으면, 정상적인 과정이 진행된다.Here, if an accident occurs such as a case where the compressed file is stored in the
정상적인 과정 즉, 전원이 오프되지 않으면, 압축 백업 영역(14)에 저장된 압축파일은 압축 해제되면서 실제 동작 소프트웨어 영역에 저장(S32)되고, 이와 같이 실제 동작 소프트웨어 영역에 압축해제된 파일이 저장된 이후에도 전원이 오프되지 않으면(S34), 앞서 업데이트 기록 영역에 기록된 업데이트 기록을 삭제(S36)하고, 실제 동작 소프트웨어 영역(16)에 저장된 파일을 실행시킨다. In a normal process, that is, if the power is not turned off, the compressed file stored in the
한편, 압축파일을 압축 백업 영역(14)에 저장(S20)한 후에 전원이 오프(S22)되면, 리부팅 과정(S24)을 거치는 데, 이때 업데이트 기록 영역(12)에 업데이트 기 록이 되어 있는 지 체크하여 압축파일이 압축 백업 영역(14)에 저장되어 있는 지를 확인한다.On the other hand, after the compressed file is stored in the compressed backup area 14 (S20) and the power is turned off (S22), a rebooting process is performed (S24). At this time, whether the
여기서, 업데이트 기록 영역이 체크 온(S26)되어 있는 지 확인하여 체크 온되어 있으면, 압축파일을 압축 해제(S28)하고, CRC체크(S30)한다. If the update recording area is checked on (S26) and checked on, the compressed file is decompressed (S28), and the CRC check (S30).
한편, 상기한 CRC체크 결과가 정상이 아니면, 업데이트 기록 영역(12)의 업데이트 기록을 삭제(S31)하고, 종료한다. 여기서, 업데이트 기록 영역(12)의 업데이트 기록을 삭제하면 곧바로 종료하여 일반적인 부팅과정을 거칠 수도 있고, 이와 더불어 압축파일의 재전송을 요청할 수도 있다.On the other hand, if the CRC check result is not normal, the update record in the
상기한 바와 같이, CRC체크가 정상이면, 압축 해제된 파일을 실제 동작 소프트웨어 영역(16)에 저장하고, 역시 전원이 오프되지 않으면(S34), 업데이트 기록 기록 영역의 업데이트 기록을 삭제(S36)하고, 실제 동작 소프트웨어 영역(16)의 파일을 실행(S38)시켜 이 후의 부팅과정을 거친다.As described above, if the CRC check is normal, the decompressed file is stored in the actual
한편, CRC체크(S30) 후 전원이 오프되면, 상기한 바와 같은 리부팅(S22) 이후의 과정을 반복하게 된다.On the other hand, if the power is turned off after the CRC check (S30), the process after the reboot (S22) as described above is repeated.
상기한 본 발명의 실시예에서, 전원 오프와 같은 사고발생은 백업파일을 수신하고 저장하는 과정에서 언제든 발생할 수 있는 것이나, 본 발명의 실시예에서는 백업파일이 압축 백업 영역(14)에 저장된 후와, 압축파일이 압축해제되어 실제 동작 소프트웨어 영역(16)에 저장된 이후 두 가지 경우를 설명하였다.In the above-described embodiment of the present invention, an accident occurrence such as a power-off may occur at any time in the process of receiving and storing the backup file, but in the embodiment of the present invention, after the backup file is stored in the
이는 업데이트 기록 영역(12)에 압축파일 저장이 기록되고 이와 더불어 압축파일이 백업 압축 영역(14)에 저장된 이후면, 차후 전원 오프와 같은 사고가 발생 하게 되더라도, 이후 과정에서 업데이트 기록 영역(12)의 기록을 체크하여 압축 파일이 저장되어 있음을 알 수 있고, 이를 통해 저장된 압축파일을 압축해제 및 저장함으로써 정상적으로 실행시킬 수 있기 때문이다.This is because, after the compressed file storage is recorded in the
또한, 압축파일이 압축해제된 후, 실제 동작 소프트웨어 영역(16)에 저장된 이후에 전원이 오프되면 역시, 업데이트 기록 영역을 체크하여 압축파일이 있음을 확인하여 압축파일의 압축해제한 후, 실제 동작 소프트웨어 영역(16)에 저장할 수 있도록 함으로써 정상적으로 실행될 수 있기 때문이다.In addition, after the compressed file is decompressed, and the power is turned off after being stored in the actual
즉, 상기한 과정에서 알 수 있는 바와 같이, 압축파일이 업데이트 기록 영역(12)에 업데이트가 기록되고, 압축파일이 백업 압축 영역(14)에 저장된 후라면, 이 후 어떠한 과정에서도 압축파일 자체의 손상이 없는 경우라면 재부팅과정에서 이 압축파일을 압축해제와 저장 및 실행할 수 있고, 이를 통해 사용자는 자신의 컴퓨터를 업데이트할 수 있다.That is, as can be seen in the above process, if the compressed file has been recorded in the
본 발명은 전술한 실시예에 국한되지 않고 본 발명의 기술사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수 있다. The present invention is not limited to the above-described embodiments and can be carried out in various modifications within the scope of the technical idea of the present invention.
이와 같이 구성되는 본 발명에 따르면, 압축파일을 통한 컴퓨터 업그레이드시 컴퓨터의 전원 등이 오프되는 경우 상기 압축파일을 컴퓨터에 정상적으로 저장될 수 있도록 함으로써 컴퓨터 데이트가 원활히 이루어지도록 할 수 있다.According to the present invention configured as described above, when the computer power is turned off when the computer is upgraded through the compressed file, the compressed file can be normally stored in the computer so that the computer data can be made smoothly.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050018847A KR100722444B1 (en) | 2005-03-07 | 2005-03-07 | Computer updating method using flash memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050018847A KR100722444B1 (en) | 2005-03-07 | 2005-03-07 | Computer updating method using flash memory |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060097329A true KR20060097329A (en) | 2006-09-14 |
KR100722444B1 KR100722444B1 (en) | 2007-05-28 |
Family
ID=37629127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050018847A KR100722444B1 (en) | 2005-03-07 | 2005-03-07 | Computer updating method using flash memory |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100722444B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023085853A1 (en) * | 2021-11-12 | 2023-05-19 | 삼성전자 주식회사 | Electronic device for recovering file and operation method of electronic device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050013743A (en) * | 2003-07-29 | 2005-02-05 | 엘지전자 주식회사 | Cpu booting method |
-
2005
- 2005-03-07 KR KR1020050018847A patent/KR100722444B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023085853A1 (en) * | 2021-11-12 | 2023-05-19 | 삼성전자 주식회사 | Electronic device for recovering file and operation method of electronic device |
Also Published As
Publication number | Publication date |
---|---|
KR100722444B1 (en) | 2007-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108027753B (en) | In-vehicle control device, program update system, and storage medium storing program update software | |
EP1770512A2 (en) | Method and system for updating software | |
US7275153B2 (en) | Booting and boot code update system using boot strapper code to select between a loader and a duplicate backup loader | |
EP1899814B1 (en) | Firmware update for consumer electronic device | |
US8683457B1 (en) | Updating firmware of an electronic device by storing a version identifier in a separate header | |
US20110004871A1 (en) | Embedded electronic device and firmware updating method thereof | |
US20070055969A1 (en) | System and method for updating firmware | |
KR100774857B1 (en) | Communication terminal software updating method, communication terminal, and software updating method | |
GB2466685A (en) | Fault tolerant updating of firmware | |
CN105260215A (en) | Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk | |
KR100515890B1 (en) | Method of efficiently recovering database | |
US20050188366A1 (en) | Firmware upgrade method | |
US9547345B2 (en) | System and method for safely updating thin client operating system over a network | |
CN101904105A (en) | Mobile handset employing efficient backup and recovery of blocks during update | |
WO2015127730A1 (en) | Method and apparatus for running version file | |
CN114840242A (en) | System upgrading method and device of electronic equipment and readable storage medium | |
CN109871334B (en) | Cable modem and method of operation | |
KR100722444B1 (en) | Computer updating method using flash memory | |
KR100832269B1 (en) | Program update method and system for wireless communication terminal | |
JP2005284902A (en) | Terminal device, control method and control program thereof, host device, control method and control program thereof, and method, system, and program for remote updating | |
CN113691845B (en) | Power-off protection method for digital set top box partition upgrade | |
TW201617861A (en) | Firmware updating method and electronic apparatus using the same | |
KR101461650B1 (en) | Apparatus and method for managing file system of a computing device | |
JP3977627B2 (en) | System program upgrade method, system program upgrade program, and system program upgrade program recording medium | |
CN115857998B (en) | Upgrade method, device and medium based on ZYNQ and FPGA architecture |
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 | ||
G170 | Publication of correction | ||
LAPS | Lapse due to unpaid annual fee |