KR100568250B1 - Printing apparatus - Google Patents

Printing apparatus Download PDF

Info

Publication number
KR100568250B1
KR100568250B1 KR1020040104089A KR20040104089A KR100568250B1 KR 100568250 B1 KR100568250 B1 KR 100568250B1 KR 1020040104089 A KR1020040104089 A KR 1020040104089A KR 20040104089 A KR20040104089 A KR 20040104089A KR 100568250 B1 KR100568250 B1 KR 100568250B1
Authority
KR
South Korea
Prior art keywords
backup data
memory
exchange unit
flash memory
backup
Prior art date
Application number
KR1020040104089A
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 KR1020040104089A priority Critical patent/KR100568250B1/en
Application granted granted Critical
Publication of KR100568250B1 publication Critical patent/KR100568250B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Abstract

본 발명은 적어도 1이상의 착탈 가능한 교환유닛 및 백업데이터의 저장 영역을 가지는 플래시 메모리를 구비하는 프린팅 장치에 관한 것으로서, 상기 교환유닛에 내장되는 비휘발성의 교환유닛 메모리; 및 백업데이터의 변경이 있는 경우, 상기 백업데이터를 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장하며, 전원 차단 후 재공급시, 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장된 상기 백업데이터의 유효성을 판단하여 유효한 백업데이터를 상기 플래시 메모리 및/또는 상기 교환유닛 메모리에 저장하는 백업 제어부를 포함한다. 상기 구성에 의하여, 플래시 메모리에 백업데이터를 저장하는 프린팅 장치에서, 전원이 차단된 후 재공급되더라도 신뢰성 있게 백업데이터를 관리할 수 있게 된다.The present invention relates to a printing apparatus having a flash memory having at least one removable exchange unit and a storage area for backup data, the printing apparatus comprising: a nonvolatile exchange unit memory embedded in the exchange unit; And when the backup data is changed, store the backup data in the flash memory and the exchange unit memory, respectively, and when resupplying after power off, validity of the backup data stored in the flash memory and the exchange unit memory, respectively. And a backup control unit for determining and storing valid backup data in the flash memory and / or the exchange unit memory. According to the above configuration, in the printing apparatus for storing the backup data in the flash memory, the backup data can be reliably managed even if the power is cut off and then supplied again.

백업데이터, 이중, 플래시 메모리, CRUMBackup Data, Dual, Flash Memory, CRUM

Description

프린팅 장치{Printing apparatus}Printing apparatus

도 1은 종래 기술에 의한 백업데이터의 관리를 설명하기 위한 도면,1 is a view for explaining the management of backup data according to the prior art;

도 2는 본 발명의 바람직한 실시예에 의한 프린팅 장치의 구성을 개략적으로 도시한 블록도,2 is a block diagram schematically showing a configuration of a printing apparatus according to a preferred embodiment of the present invention;

도 3은 본 발명의 바람직한 실시예에 의한 백업데이터 이중 관리를 설명하기 위한 도면,3 is a view for explaining dual management of backup data according to a preferred embodiment of the present invention;

도 4는 플래시 메모리에 백업데이터를 저장하는 과정을 도시한 흐름도,4 is a flowchart illustrating a process of storing backup data in a flash memory;

도 5는 교환유닛 메모리에 백업데이터를 저장하는 과정을 도시한 흐름도, 및5 is a flowchart showing a process of storing backup data in an exchange unit memory; and

도 6은 전원 차단 후 재공급된 경우 백업데이터의 갱신 과정을 도시한 흐름도이다.FIG. 6 is a flowchart illustrating a process of updating backup data when resupplyed after power off.

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

10: 프린팅 장치 12: 제어부10: printing device 12: control unit

14: 주메모리 16: 플래시 메모리14: Main memory 16: Flash memory

18: 교환유닛 메모리 20: 센서부18: replacement unit memory 20: sensor

22: 스캐너부 24: 프린터부22: scanner part 24: printer part

26: 모뎀 28: 키조작부26: modem 28: key control panel

30: 디스플레이 32: 교환유닛30: display 32: exchange unit

본 발명은 프린팅 장치에 관한 것으로, 더욱 상세하게는, 플래시 메모리를 사용하여 백업데이터를 저장하는 프린팅 장치에서, 전원 차단 후 재공급되더라도 신뢰성 있게 백업데이터를 관리할 수 있는 프린팅 장치에 관한 것이다.The present invention relates to a printing apparatus, and more particularly, to a printing apparatus that stores backup data using a flash memory, and more particularly, to a printing apparatus that can reliably manage backup data even after a power supply is resupplyed.

프린팅 장치는 호스트 PC로부터 프린팅 데이터를 입력하여 상기 프린팅 데이터에 기초하여 소정의 기록매체에 화상을 프린트하며, 장치의 구동을 위한 프로그램으로서 부트 코드 및 다양한 애플리케이션 코드 등의 실행 코드가 저장되는 플래시 메모리 및 상기 실행 코드가 실행되는 때 복사되는 영역을 가지며 다양한 작업 데이터가 저장되는 주메모리(예컨대, DRAM)를 구비한다.The printing apparatus inputs printing data from a host PC to print an image on a predetermined recording medium based on the printing data, and as a program for driving the apparatus, a flash memory in which boot codes and execution codes such as various application codes are stored; It has a main memory (e.g. DRAM) having an area to be copied when the executable code is executed and in which various job data are stored.

그런데, 상기 플래시 메모리에는, 상기 부트 코드 및 다양한 애플리케이션 코드뿐만 아니라, 상기 주메모리에 저장되어 있는 시스템의 작업에 관한 정보(이하, 간략히 "시스템 정보"라고도 함.)의 백업데이터도 저장된다. 여기에서, 백업데이터라 함은 프린팅 장치의 동작 중에 전원이 차단되었다가 다시 공급된 경우 반드시 유지되어야 할 정보를 의미한다. 예컨대, 각종 옵션값, 시스템 ID 등 사용자가 새로이 설정한 값들 중에서 항상 설정된 값으로 유지되어야 하는 정보 등을 들 수 있으며, 송수신 결과 리스트 같은 것들이 대표적이다.By the way, the flash memory stores not only the boot code and various application codes but also backup data of information (hereinafter, simply referred to as "system information") relating to the operation of the system stored in the main memory. Here, the backup data means information that must be maintained when the power is cut off and then supplied again during the operation of the printing apparatus. For example, various option values, system IDs, and the like, such as information newly maintained by the user, must be kept at a set value at all times.

도 1에는, 종래 기술에 의하여 백업데이터가 저장되는 영역을 도시하였는데, 부호 2는 주메모리를 나타내며, 부호 4는 플래시 메모리를 나타낸다. 상기 백업데 이터는 프린팅 장치의 업데이트가 필요한 경우마다 플래시 메모리(4)의 특정 섹터에 할당된 백업데이터 영역에 저장된다.In Fig. 1, an area in which backup data is stored according to the prior art is shown, where 2 denotes a main memory and 4 denotes a flash memory. The backup data is stored in a backup data area allocated to a specific sector of the flash memory 4 whenever an update of the printing apparatus is required.

그러나, 플래시 메모리(4)에 데이터를 저장하기 위해서는, 그 특성상, 시스템의 모든 인터럽트를 디스에이블한 후 기록하여야 정상적인 값을 저장할 수 있다. 따라서, 상기 제약 조건 때문에 플래시 메모리(4)에 데이터를 쓰는 시간은 작업이 수행되지 않는 휴지(Idle) 상태에서만 가능하다. 예컨대, 송신 작업 중인 때에는 플래시 메모리(4)에 송신 관련 정보를 저장할 수 없고, 송신 작업 종료 후, 다른 작업이 수행되지 않는 경우에 한하여 상기 송신 관련 정보를 업데이트할 수 있다.However, in order to store data in the flash memory 4, in order to store a normal value, all interrupts of the system must be disabled and then written. Therefore, due to the constraint, the time for writing data to the flash memory 4 is possible only in an idle state in which no work is performed. For example, the transmission related information can not be stored in the flash memory 4 during the transmission operation, and the transmission related information can be updated only when no other operation is performed after the transmission operation is finished.

나아가, 플래시 메모리(4)에 데이터를 기록할 때에는, 기록할 섹터를 모두 소거한 후 기록하여야한다는 제약도 있다.Further, when data is written to the flash memory 4, there is a restriction that all sectors to be recorded must be erased before writing.

따라서, 작업이 수행 중일 때에는 플래시 메모리(4)에 정보를 기록할 수 없기 때문에, 만일 작업 수행 중에 시스템에 전원이 차단되었다면, 작업 수행 중에 발생된 정보들은 플래시 메모리(4)에 업데이트되지 않아 가장 최근의 시스템 정보를 잃게 된다.Therefore, since information cannot be written to the flash memory 4 while the operation is being performed, if the system is cut off while the operation is being performed, the information generated during the operation is not updated in the flash memory 4 and thus the most recent. System information will be lost.

또한, 플래시 메모리(4)에 데이터를 기록하기 위해서는 기록할 섹터를 반드시 소거한 후 기록해야 하는 제약 조건 때문에, 섹터를 소거하는 동안 전원이 차단되면 복구할 수 있는 정보가 없기 때문에, 시스템은 초기설정 상태가 되는 문제가 발생한다. 즉, 사용자가 설정하였던 모든 옵션들을 잃게 되며, 또한 사용 기록이 모두 삭제되는 문제가 발생한다.In addition, in order to write data to the flash memory 4, because of the constraint that the sector to be written must be erased before writing, there is no information that can be recovered if the power is cut off while the sector is erased. The problem of becoming a state occurs. That is, all the options set by the user are lost, and a problem arises in that all the usage records are deleted.

예컨대, 정보의 수신 중에 전원이 차단된 후 재공급되면, 플래시 메모리(4) 에는 백업데이터로서 수신 중이었다는 정보가 없기 때문에, 전원이 차단되었다는 결과 보고(Power Fail Report)를 출력하지 않는다. 따라서, 사용자는 수신 중에 전원 차단된 상태를 인식할 수 없으므로, 정보의 재전송을 요청하지 못하게 되는 문제가 발생하여, 수신 받아야 하는 정보를 제때 받을 수 없는 문제가 야기된다.For example, if the power is cut off during the reception of the information and then resupplyed, the flash memory 4 does not output the power failure report because there is no information indicating that it was being received as backup data. Therefore, since the user cannot recognize the power-off state during reception, a problem arises that a request for retransmission of information occurs, which causes a problem in that the information to be received cannot be received in a timely manner.

상기 문제점을 해결하기 위하여, 본 발명은, 백업데이터를 플래시 메모리에 저장하면서도, 전원이 차단된 후 재공급되더라도 신뢰성 있게 백업데이터를 관리할 수 있는 프린팅 장치를 제공하는 것을 목적으로 한다.In order to solve the above problems, an object of the present invention is to provide a printing apparatus capable of reliably managing backup data even when the backup data is stored in the flash memory and resupplyed after the power is cut off.

상기 목적을 달성하기 위하여, 본 발명은 적어도 1이상의 착탈 가능한 교환유닛 및 백업데이터의 저장 영역을 가지는 플래시 메모리를 구비하는 프린팅 장치에 있어서, 상기 교환유닛에 내장되는 비휘발성의 교환유닛 메모리; 및 백업데이터의 변경이 있는 경우, 상기 백업데이터를 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장하며, 전원 차단 후 재공급시, 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장된 상기 백업데이터의 유효성을 판단하여 유효한 백업데이터를 상기 플래시 메모리 및/또는 상기 교환유닛 메모리에 저장하는 백업 제어부를 포함하는 것을 특징으로 하는 프린팅 장치를 제공한다.In order to achieve the above object, the present invention provides a printing apparatus having a flash memory having at least one removable exchange unit and a storage area for backup data, comprising: a nonvolatile exchange unit memory built in the exchange unit; And when the backup data is changed, store the backup data in the flash memory and the exchange unit memory, respectively, and when resupplying after power off, validity of the backup data stored in the flash memory and the exchange unit memory, respectively. And a backup control unit for determining and storing valid backup data in the flash memory and / or the exchange unit memory.

상기 백업 제어부는 상기 백업데이터에 관한 첵크섬 정보에 기초하여 상기 백업데이터의 유효성을 판단할 수 있다. 상기 백업 제어부는, 상기 플래시 메모리에 저장된 백업데이터가 유효하며 상기 교환유닛 메모리에 저장된 백업데이터가 유 효하지 않은 것으로 판단된 경우, 상기 플래시 메모리에 저장된 백업데이터를 상기 교환유닛 메모리에 저장하며, 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장된 백업데이터가 모두 유효한 것으로 판단된 경우, 상기 교환유닛 메모리에 저장된 백업데이터를 상기 플래시 메모리에 저장하는 것이 바람직하다.The backup control unit may determine the validity of the backup data based on the checksum information about the backup data. The backup control unit stores the backup data stored in the flash memory in the exchange unit memory when the backup data stored in the flash memory is determined to be valid and the backup data stored in the exchange unit memory is invalid. When it is determined that both the flash memory and the backup data stored in the exchange unit memory are valid, it is preferable to store the backup data stored in the exchange unit memory in the flash memory.

상기 백업 제어부는, 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장된 백업데이터가 모두 유효하지 않은 것으로 판단된 경우, 소정의 메모리에 저장되어 있는 초기 설정된 백업데이터를 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장하여도 좋다. 상기 백업 제어부는 상기 교환유닛 메모리의 식별정보를 상기 교환유닛 메모리에 저장하며, 상기 백업 제어부가 저장한 상기 교환유닛 메모리의 식별정보와 상기 교환유닛 메모리에 고유하게 저장되어 있는 식별정보를 비교하여 상기 교환유닛 메모리의 동일성을 판단할 수 있다.If it is determined that the backup data stored in the flash memory and the exchange unit memory are not all valid, the backup control unit stores the initially set backup data stored in a predetermined memory in the flash memory and the exchange unit memory. Also good. The backup control unit stores the identification information of the exchange unit memory in the exchange unit memory, and compares the identification information of the exchange unit memory stored by the backup control unit with the identification information uniquely stored in the exchange unit memory. The identity of the exchange unit memory can be determined.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 관하여 상세히 설명한다. 도 2는 본 발명의 바람직한 실시예에 의한 프린팅 장치(10)의 구성을 개략적으로 도시한 블록도이다. 도 2에 도시된 바와 같이, 본 발명의 프린팅 장치(10)는 제어부(12), 주메모리(14), 플래시 메모리(Flash memory)(16) 및 교환유닛(32)을 포함한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. 2 is a block diagram schematically showing the configuration of a printing apparatus 10 according to a preferred embodiment of the present invention. As shown in FIG. 2, the printing apparatus 10 of the present invention includes a control unit 12, a main memory 14, a flash memory 16, and an exchange unit 32.

또한, 본 발명의 프린팅 장치(10)는 통상의 프린팅 장치가 구비하는 요소로서, 기록매체의 위치를 감지하거나 기록매체의 존재여부를 판단하는 센서부(20), 호스트 PC(50)의 스캐너 드라이버(52)와 연동하여 화상을 스캐닝하거나, 복사 기능 시 화상을 스캐닝하는 스캐너부(22), 주메모리(14)의 데이터를 인쇄하거나 호스트 PC(50)의 프린터 드라이버(54)로 전달된 데이터를 인쇄하는 프린터부(24), 통화 라인과 통화로를 형성하는 모뎀(26), 다수의 키로부터 소정의 키가 눌러진 때의 키 데이터를 제공하는 키조작부(28), 및 표시 데이터에 의해 시스템의 동작 상태를 표시하는 디스플레이(30)를 더욱 포함할 수 있다.In addition, the printing apparatus 10 of the present invention is an element included in a conventional printing apparatus, the sensor unit 20 for detecting the position of the recording medium or determining the presence of the recording medium, the scanner driver of the host PC 50 The scanner unit 22 for scanning an image in conjunction with the 52, or for scanning an image during a copy function, prints data of the main memory 14, or transfers the data transferred to the printer driver 54 of the host PC 50. The system includes a printer unit 24 for printing, a modem 26 for forming a call line and a call path, a key operating unit 28 for providing key data when a predetermined key is pressed from a plurality of keys, and display data. It may further include a display 30 for displaying the operation state of the.

주메모리(14)는 제어부(12)의 동작 프로그램 및 일반적인 제어 프로그램을 저장하고 있으며, 제어부(12)의 작업 수행에 의한 정보, 즉 시스템 정보를 저장한다. 본 실시예에서의 주메모리(14)는 DRAM으로 구현된다.The main memory 14 stores the operation program of the control unit 12 and the general control program, and stores information by performing the operation of the control unit 12, that is, system information. The main memory 14 in this embodiment is implemented with DRAM.

플래시 메모리(16)는 부트 코드 및 애플리케이션 코드를 저장하는 한편, 주메모리(14)에 저장된 시스템 정보의 백업데이터를 저장한다.The flash memory 16 stores boot code and application code, and stores backup data of system information stored in the main memory 14.

교환유닛(32)은 고객이 직접 교환 가능한 부품으로서, 토너 카트리지나 정착 카트리지 등과 같이 그 수명이 다하는 경우 새로운 것으로 교체될 수 있는 특성을 가진다. 교환유닛(32)은 이른바 고객 교환 유닛(CRU, Customer Replacement Unit)으로 일컬어진다.The exchange unit 32 is a part directly replaceable by the customer, and has a characteristic that it can be replaced with a new one when its life span expires, such as a toner cartridge or a fixing cartridge. The exchange unit 32 is called a customer replacement unit (CRU).

본 발명의 교환유닛(32)은 교환유닛 메모리(18)를 포함한다. 교환유닛 메모리(18)는 이른바 크럼(CRUM: Customer Replacement Unit Memory)으로 일컬어지며, 교환유닛 대한 정보를 저장하는 한편, 주메모리(12)에 저장된 시스템 정보의 백업데이터의 저장 영역을 가진다. 교환유닛 메모리(18)는 비휘발성 메모리로서 플래시 메모리(16)와 비교하여 데이터의 기록에 제한이 완화되는 성질을 가진다. 즉, 교환유닛 메모리(18)는, 플래시 메모리(16)와는 달리, 시스템(더욱 상세하게는 시스템 의 CPU, 도시 안됨)의 인터럽트의 영향을 받지 않고 기록이 가능하며, 기록될 섹터를 미리 소거할 필요도 없다. 본 실시예의 교환유닛 메모리(18)는 EEPROM(Electrically Erasable Programmable Read Only Memory)으로 구현된다.The exchange unit 32 of the present invention includes an exchange unit memory 18. The exchange unit memory 18 is referred to as a so-called CRUM (Customer Replacement Unit Memory), and stores information on the exchange unit, and has a storage area for backup data of system information stored in the main memory 12. The exchange unit memory 18 is a nonvolatile memory and has a property that the restriction on data writing is relaxed compared with the flash memory 16. That is, the exchange unit memory 18, unlike the flash memory 16, can be written without being affected by the interruption of the system (more specifically, the CPU of the system, not shown), and in advance erases the sector to be written. There is no need. The exchange unit memory 18 of this embodiment is implemented with an EEPROM (Electrically Erasable Programmable Read Only Memory).

제어부(12)는 설정된 프로그램에 따라 프린팅 장치(10)를 전반적으로 제어한다. 또한, 본 실시예의 제어부(12)는 본 발명의 백업 제어부의 일례이다. 도 3을 참조하여 본 실시예의 제어부(12)에 관하여 상세히 설명한다.The controller 12 generally controls the printing apparatus 10 according to the set program. In addition, the control part 12 of this embodiment is an example of the backup control part of this invention. Referring to Figure 3 will be described in detail with respect to the control unit 12 of the present embodiment.

도 3은 본 실시예에 의하여 백업데이터가 저장되는 영역을 설명하기 위한 도면이다. 도 3에 도시된 바와 같이, 제어부(12)는 주메모리(14)에 저장되어 있는 시스템 정보를 플래시 메모리(16)의 백업데이터 영역에 저장할 뿐 아니라, 교환유닛 메모리(18)의 백업데이터 영역에도 저장한다.3 is a view for explaining an area in which backup data is stored according to the present embodiment. As shown in FIG. 3, the controller 12 not only stores system information stored in the main memory 14 in the backup data area of the flash memory 16, but also stores the system information in the backup data area of the exchange unit memory 18. Save it.

따라서, 프린팅 장치(10)는 백업데이터를 2개의 백업메모리에 이중으로 관리함으로써, 전원이 차단된 후 재공급된 경우, 플래시 메모리(16)에 백업데이터가 유효하게 저장되어 있지 않더라도, 교환유닛 메모리(18)에 최신의 백업데이터가 저장되어 있기 때문에, 신뢰성 있는 백업데이터의 관리가 가능하다.Therefore, the printing apparatus 10 manages the backup data in two backup memories in duplicate, so that when the power is cut off and resupplyed, even if the backup data is not effectively stored in the flash memory 16, the exchange unit memory Since the latest backup data is stored in (18), reliable backup data can be managed.

즉, 제어부(12)는, 시스템 정보가 변경된 경우, 다시 말하면, 시스템 정보의 업데이트가 필요한 경우, 주메모리(14)에 저장되어 있는 시스템 정보를 플래시 메모리(16) 및 교환유닛 메모리(18) 각각의 백업데이터에 저장한다.That is, when the system information is changed, that is, when the system information is required to be updated, the control unit 12 stores the system information stored in the main memory 14 in the flash memory 16 and the exchange unit memory 18, respectively. The data in the backup data.

또한, 제어부(12)는, 전원이 차단된 후 재공급된 경우, 플래시 메모리(16) 및 교환유닛 메모리(18)에 저장된 백업데이터를 독출하여, 독출된 백업데이터의 유효성을 판단한다. 제어부(12)는, 백업데이터에 대한 체크섬을 통하여 백업데이터의 유효성을 판단한다. 즉, 제어부(12)는, 백업데이터의 저장시 그 체크섬값을 해당 메모리에 미리 저장해 두고, 백업데이터의 유효성 판단시 각 백업데이터에 대한 체크섬을 계산하여 저장된 체크섬값과 비교한다.In addition, the controller 12 reads the backup data stored in the flash memory 16 and the exchange unit memory 18 when the power is again supplied after the power is cut off, and determines the validity of the read backup data. The control unit 12 determines the validity of the backup data through the checksum for the backup data. That is, the control unit 12 stores the checksum value in advance when the backup data is stored in the corresponding memory, calculates a checksum for each backup data when comparing the backup data with the stored checksum value.

또한, 제어부(12)는, 백업데이터의 유효성 판단 결과에 따라, 플래시 메모리(16) 및 교환유닛 메모리(18)에 각각 저장된 백업데이터 중 어느 하나를 유효한 백업데이터로 선택하여, 선택된 백업데이터를 이용하여 주메모리(14), 플래시 메모리(16) 및 교환유닛 메모리(18)에 저장된 기존의 정보를 갱신한다.In addition, the control unit 12 selects any one of the backup data stored in the flash memory 16 and the exchange unit memory 18 as valid backup data according to a result of determining the validity of the backup data, and uses the selected backup data. The existing information stored in the main memory 14, the flash memory 16, and the exchange unit memory 18 is updated.

나아가. 제어부(12)는, 교환유닛(32)이 교체되었는지 여부를 확인하기 위하여, 교환유닛 메모리(18)의 동일성을 판단한다. 즉, 제어부(12)는 교환유닛 메모리(18)의 식별정보(예컨대, 교환유닛 메모리(18)의 일련번호)를 당해 백업데이터에 대응시켜 교환유닛 메모리(18)에 저장하며, 제어부(12)가 저장한 교환유닛 메모리(18)의 식별정보와 교환유닛 메모리(18)에 고유하게 저장된 식별정보를 비교하여 교환유닛 메모리(18)의 동일성을 판단한다. 따라서, 전원이 차단된 후 고객 교환 유닛(32)이 교체되고 전원이 재공급된 경우, 교환유닛 메모리(18)의 동일성 판단을 통하여, 현재의 백업데이터가 전원 차단 전의 진정한 백업데이터인지 여부를 확인할 수 있다.Furthermore. The control unit 12 determines the identity of the exchange unit memory 18 in order to confirm whether the exchange unit 32 has been replaced. That is, the control unit 12 stores the identification information of the exchange unit memory 18 (for example, the serial number of the exchange unit memory 18) in the exchange unit memory 18 in correspondence with the backup data, and the control unit 12 The identity of the exchange unit memory 18 is judged by comparing the identification information of the exchange unit memory 18 stored by the user with the identification information uniquely stored in the exchange unit memory 18. Therefore, when the customer exchange unit 32 is replaced after the power is cut off and the power is supplied again, the same determination of the exchange unit memory 18 determines whether the current backup data is the true backup data before the power is cut off. Can be.

다음으로, 본 실시예에 의하여 백업데이터가 저장되는 과정에 대하여 상세히 설명한다. 도 4는 플래시 메모리(16)에 백업데이터를 저장하는 과정을 도시한 흐름도이다.Next, a process of storing backup data according to the present embodiment will be described in detail. 4 is a flowchart illustrating a process of storing backup data in the flash memory 16.

먼저, 제어부(12)는 수행 중이던 작업을 종료하고(S10), 모든 작업이 종료되 었는지 여부를 확인한다(S12). 확인 결과, 모든 작업이 종료된 경우, 프린팅 장치(10)는 휴지 상태로 된다(S14).First, the control unit 12 ends the job being performed (S10), and checks whether all the jobs are finished (S12). As a result of the check, when all the work is finished, the printing apparatus 10 is in a resting state (S14).

다음으로, 제어부(12)는 모든 인터럽트를 디스에이블시키고(S16), 플래시 메모리(16)의 백업데이터 영역을 소거한 후 (S18), 주메모리(14)의 시스템 정보를 플래시 메모리(16)의 백업데이터 영역에 저장한다(S20).Next, the control unit 12 disables all interrupts (S16), erases the backup data area of the flash memory 16 (S18), and stores system information of the main memory 14 in the flash memory 16. The data is stored in the backup data area (S20).

다음으로, 제어부(12)는 모든 인터럽트를 다시 인에이블시킴으로써(S22) 플래시 메모리(16)에의 백업데이터 저장 과정이 종료된다.Next, the controller 12 enables all interrupts again (S22) to end the process of storing the backup data in the flash memory 16.

도 5는 교환유닛 메모리(18)에 백업데이터를 저장하는 과정을 도시한 흐름도이다. 먼저, 제어부(12)는 시스템 정보가 변경되어 시스템 정보의 업데이트가 필요한 경우인지를 확인한다(S32). 확인 결과, 시스템 정보의 업데이트가 필요한 경우, 제어부(12)는 주메모리(14)에 저장되어 있는 시스템 정보를 교환유닛 메모리(18)의 백업데이터 영역에 저장함(S34)으로써, 교환유닛 메모리(18)에의 백업데이터 저장 과정을 종료한다.5 is a flowchart illustrating a process of storing backup data in the exchange unit memory 18. As shown in FIG. First, the control unit 12 checks whether the system information is changed to update the system information (S32). As a result of the check, if the system information needs to be updated, the control unit 12 stores the system information stored in the main memory 14 in the backup data area of the exchange unit memory 18 (S34), whereby the exchange unit memory 18 Ends the process of saving the backup data to).

도 6은 전원 차단 후 재공급된 경우 백업데이터의 갱신 과정을 도시한 흐름도이다. 먼저, 프린팅 장치(10)에 전원이 차단된 후 공급이 재개되면(S42), 제어부(12)는 플래시 메모리(16)로부터 백업데이터를 독출한다(S44).FIG. 6 is a flowchart illustrating a process of updating backup data when resupplyed after power off. First, when supply is resumed after the power supply to the printing apparatus 10 is cut off (S42), the control unit 12 reads backup data from the flash memory 16 (S44).

다음으로, 제어부(12)는 플래시 메모리(16)로부터 독출된 백업데이터가 유효한지 그 유효성을 판단한다 (S46). 상기한 바와 같이, 백업데이터의 유효성 판단에 있어서는 체크섬값을 비교한다.Next, the control unit 12 determines whether the backup data read out from the flash memory 16 is valid (S46). As described above, checksum values are compared in determining the validity of the backup data.

판단 결과, 플래시 메모리(16)의 백업데이터가 유효한 경우, 제어부(12)는 교환유닛 메모리(18)가 동일한지 그 동일성을 판단한다(S48). 상기한 바와 같이. 동일성 판단에 있어서는 교환유닛 메모리(18)의 일련 번호를 비교한다.As a result of the determination, when the backup data of the flash memory 16 is valid, the control unit 12 determines whether the exchange unit memory 18 is the same (S48). As mentioned above. In determining the identity, the serial numbers of the exchange unit memory 18 are compared.

판단 결과, 교환유닛 메모리(18)가 동일한 경우, 제어부(12)는 교환유닛 메모리(18)로부터 백업데이터를 독출하여, 독출된 백업데이터의 유효성을 판단한다(S50).As a result of the determination, when the exchange unit memory 18 is the same, the control unit 12 reads backup data from the exchange unit memory 18, and determines the validity of the read backup data (S50).

판단 결과, 교환유닛 메모리(18)의 백업데이터가 유효한 경우, 제어부(12)는 교환유닛 메모리(18)의 백업데이터를 주메모리(14) 및 플래시 메모리(16)에 저장함으로써 시스템 정보 및 백업데이터를 갱신한다(S52).As a result of the determination, when the backup data of the exchange unit memory 18 is valid, the control unit 12 stores the backup data of the exchange unit memory 18 in the main memory 14 and the flash memory 16 to thereby store the system information and the backup data. Update (S52).

한편, 교환유닛 메모리(18)의 동일성을 판단(S48)한 결과, 교환유닛 메모리(18)가 동일하지 않은 경우 및 교환유닛 메모리(18)의 백업데이터의 유효성을 판단(S50)한 결과, 교환유닛 메모리(18)의 백업데이터가 유효하지 않은 경우, 제어부(12)는 플래시 메모리(16)의 백업데이터를 주메모리(14) 및 교환유닛 메모리(18)에 저장함으로써 시스템 정보 및 백업데이터를 갱신한다(S54).On the other hand, as a result of determining the identity of the exchange unit memory 18 (S48), when the exchange unit memory 18 is not the same and determining the validity of the backup data of the exchange unit memory 18 (S50), the exchange If the backup data of the unit memory 18 is not valid, the controller 12 updates the system information and the backup data by storing the backup data of the flash memory 16 in the main memory 14 and the exchange unit memory 18. (S54).

한편, 플래시 메모리(16)의 백업데이터의 유효성을 판단(S46)한 결과, 플래시 메모리(16)의 백업데이터가 유효하지 않은 경우, 제어부(12)는 교환유닛 메모리(18)가 동일한지 그 동일성을 판단한다(S56).On the other hand, if the backup data of the flash memory 16 is not valid as a result of determining the validity of the backup data of the flash memory 16 (S46), the control unit 12 determines whether or not the exchange unit memory 18 is the same. Determine (S56).

판단 결과, 교환유닛 메모리(18)가 동일한 경우, 제어부(12)는 교환유닛 메모리(18)의 백업데이터를 독출하여, 독출된 백업데이터의 유효성을 판단한다(S58).As a result of the determination, when the exchange unit memory 18 is the same, the control unit 12 reads backup data of the exchange unit memory 18, and determines the validity of the read backup data (S58).

판단 결과, 교환유닛 메모리(18)의 백업데이터가 유효한 경우, 제어부(12)는 교환유닛 메모리(18)의 백업데이터를 주메모리(14) 및 플래시 메모리(16)에 저장함 으로써 시스템 정보 및 백업데이터를 갱신한다(S52).As a result of the determination, when the backup data of the exchange unit memory 18 is valid, the control unit 12 stores the backup data of the exchange unit memory 18 in the main memory 14 and the flash memory 16, thereby providing system information and backup data. Update (S52).

한편, 교환유닛 메모리(18)의 동일성을 판단(S56)한 결과, 교환유닛 메모리(18)가 동일하지 않은 경우 및 교환유닛 메모리(18)의 백업데이터의 유효성을 판단(S58)한 결과, 교환유닛 메모리(18)의 백업데이터가 유효하지 않은 경우, 제어부(12)는 소정의 메모리에 저장되어 있는 초기 설정 백업데이터를 주메모리(14), 플래시 메모리(16) 및 교환유닛 메모리(18)에 각각 저장함으로써 시스템 정보 및 백업데이터를 갱신한다(S60).On the other hand, as a result of determining the identity of the exchange unit memory 18 (S56), when the exchange unit memory 18 is not the same and determining the validity of the backup data of the exchange unit memory 18 (S58), the exchange If the backup data of the unit memory 18 is not valid, the control unit 12 sends the initial setting backup data stored in the predetermined memory to the main memory 14, the flash memory 16, and the exchange unit memory 18. By storing the data, the system information and the backup data are updated (S60).

이상, 본 발명의 바람직한 실시예를 통하여 본 발명에 관하여 설명하였으나, 본 발명은 특허청구범위 내에서 다양하게 실시될 수 있다. 예컨대, 상기 실시예에서는, 제어부(12)가 저장한 교환유닛 메모리(18)의 식별정보와 교환유닛 메모리(18)에 고유하게 저장되어 있는 식별정보를 비교하여 교환유닛 메모리(18)의 동일성을 판단하였으나, 제어부(12)는 교환유닛 메모리(18)에 소정 영역에 식별 표지로서의 정보를 기록해 두고, 차후 상기 영역에 식별 표지로서의 정보가 존재하는지 여부를 판단함으로써 동일성 판단을 수행할 수도 있다.As mentioned above, the present invention has been described through the preferred embodiments of the present invention, but the present invention may be variously implemented within the claims. For example, in the above embodiment, the identification information of the exchange unit memory 18 stored by the control unit 12 and the identification information uniquely stored in the exchange unit memory 18 are compared to identify the identity of the exchange unit memory 18. Although the determination is made, the control unit 12 may perform the sameness determination by recording the information as the identification mark in the predetermined area in the exchange unit memory 18, and later determining whether the information as the identification mark exists in the area.

본 발명에 의하면, 백업데이터를 플래시 메모리에 저장하면서도, 전원이 차단된 후 재공급되더라도 신뢰성 있게 백업데이터를 관리할 수 있는 프린팅 장치를 제공할 수 있다.According to the present invention, it is possible to provide a printing apparatus capable of reliably managing backup data even when the backup data is stored in the flash memory and resupplyed after the power is cut off.

Claims (5)

적어도 1이상의 착탈 가능한 교환유닛 및 백업데이터의 저장 영역을 가지는 플래시 메모리를 구비하는 프린팅 장치에 있어서,A printing apparatus comprising at least one removable exchange unit and a flash memory having a storage area for backup data, the printing apparatus comprising: 상기 교환유닛에 내장되는 비휘발성의 교환유닛 메모리; 및A nonvolatile exchange unit memory built in the exchange unit; And 백업데이터의 변경이 있는 경우, 상기 백업데이터를 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장하며, 전원 차단 후 재공급시, 상기 플래시 메모리 및 상기 교환유닛 메모리에 각각 저장된 상기 백업데이터의 유효성을 판단하여 유효한 백업데이터를 상기 플래시 메모리 및/또는 상기 교환유닛 메모리에 저장하는 백업 제어부를 포함하는 것을 특징으로 하는 프린팅 장치.When there is a change of backup data, the backup data is stored in the flash memory and the exchange unit memory, respectively, and upon re-supply after the power is cut off, the validity of the backup data stored in the flash memory and the exchange unit memory is determined. And a backup controller which stores valid backup data in the flash memory and / or the exchange unit memory. 제1항에 있어서,The method of claim 1, 상기 백업 제어부는 상기 백업데이터에 관한 첵크섬 정보에 기초하여 상기 백업데이터의 유효성을 판단하는 것을 특징으로 하는 프린팅 장치.And the backup controller determines the validity of the backup data based on the checksum information related to the backup data. 제1항에 있어서,The method of claim 1, 상기 백업 제어부는,The backup control unit, 상기 플래시 메모리에 저장된 백업데이터가 유효하며 상기 교환유닛 메모리 에 저장된 백업데이터가 유효하지 않은 것으로 판단된 경우, 상기 플래시 메모리에 저장된 백업데이터를 상기 교환유닛 메모리에 저장하며,If it is determined that the backup data stored in the flash memory is valid and the backup data stored in the exchange unit memory is invalid, the backup data stored in the flash memory is stored in the exchange unit memory, 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장된 백업데이터가 모두 유효한 것으로 판단된 경우, 상기 교환유닛 메모리에 저장된 백업데이터를 상기 플래시 메모리에 저장하는 것을 특징으로 하는 프린팅 장치.And when the backup data stored in the flash memory and the exchange unit memory are both determined to be valid, storing the backup data stored in the exchange unit memory in the flash memory. 제1항에 있어서,The method of claim 1, 상기 백업 제어부는, 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장된 백업데이터가 모두 유효하지 않은 것으로 판단된 경우, 소정의 메모리에 저장되어 있는 초기 설정된 백업데이터를 상기 플래시 메모리 및 상기 교환유닛 메모리에 저장하는 것을 특징으로 하는 프린팅 장치.If it is determined that both backup data stored in the flash memory and the exchange unit memory are invalid, the backup control unit stores the initially set backup data stored in a predetermined memory in the flash memory and the exchange unit memory. Printing apparatus, characterized in that. 제1항 내지 제4항 중 어느 하나에 있어서,The method according to any one of claims 1 to 4, 상기 백업 제어부는 상기 교환유닛 메모리의 식별정보를 상기 교환유닛 메모리에 저장하며,The backup control unit stores the identification information of the exchange unit memory in the exchange unit memory, 상기 백업 제어부가 저장한 상기 교환유닛 메모리의 식별정보와 상기 교환유닛 메모리에 고유하게 저장되어 있는 식별정보를 비교하여 상기 교환유닛 메모리의 동일성을 판단하는 것을 특징으로 하는 프린팅 장치.And the identification information of the exchange unit memory stored by the backup control unit and the identification information uniquely stored in the exchange unit memory to determine the identity of the exchange unit memory.
KR1020040104089A 2004-12-10 2004-12-10 Printing apparatus KR100568250B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040104089A KR100568250B1 (en) 2004-12-10 2004-12-10 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040104089A KR100568250B1 (en) 2004-12-10 2004-12-10 Printing apparatus

Publications (1)

Publication Number Publication Date
KR100568250B1 true KR100568250B1 (en) 2006-04-05

Family

ID=37180264

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040104089A KR100568250B1 (en) 2004-12-10 2004-12-10 Printing apparatus

Country Status (1)

Country Link
KR (1) KR100568250B1 (en)

Similar Documents

Publication Publication Date Title
JP2563160B2 (en) Surveillance system with dual memory for electrophotographic printers using replaceable cartridges
TWI511032B (en) Replaceable printer component including a memory updated atomically
CN101299142B (en) Consume unit and imaging equipment for controlling the same
JP3178909B2 (en) Semiconductor memory device
KR100507884B1 (en) System for controlling rewrite in memory, method for controlling rewrite in memory, and information recording media for storing programs which excute each steps in method for controlling rewrite in memory
US7904637B2 (en) Information processing apparatus, lifetime monitoring method and program for monitoring lifetime of storage device including flash memory
EP1120709A2 (en) Method of rewriting a boot program in a flash micro-computer
BR102012022504A2 (en) REPLACABLE CUSTOMER UNIT (CRUM) MONITORING CHIP AND IMAGE FORMING DEVICE FOR MUTUAL COMMUNICATION, AND METHOD OF THE SAME
JP2017058438A (en) Image forming apparatus, method of managing consumables, and computer program
US20150202906A1 (en) Replaceable printer component including a memory updated atomically
JP2008200943A (en) Image forming apparatus
JP2010170197A (en) Firmware management program, storage device, and firmware management method
JP2000019891A (en) Image forming device and its control method, and storage medium
KR100568250B1 (en) Printing apparatus
JP2012053255A (en) Image forming apparatus
JP5354714B2 (en) Image forming apparatus, image forming apparatus control method, computer-readable recording medium, and consumables
CN114420183A (en) Data storage control method, electronic device and storage medium
JP4665683B2 (en) Printer system
JP4558393B2 (en) Information processing device
JP2004341783A (en) Data storage method and data storage device
JP2007041798A (en) Information processor and memory rewriting method for information processor
JPH11327367A (en) Image forming device and control method for the same
JP7251081B2 (en) Information processing device and program
JP4041052B2 (en) Image forming apparatus
JP2006092374A (en) Information processor

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee