KR20130028608A - Crum chip and image forming device for communicating mutually, and method thereof - Google Patents

Crum chip and image forming device for communicating mutually, and method thereof Download PDF

Info

Publication number
KR20130028608A
KR20130028608A KR1020110114192A KR20110114192A KR20130028608A KR 20130028608 A KR20130028608 A KR 20130028608A KR 1020110114192 A KR1020110114192 A KR 1020110114192A KR 20110114192 A KR20110114192 A KR 20110114192A KR 20130028608 A KR20130028608 A KR 20130028608A
Authority
KR
South Korea
Prior art keywords
data
integrity check
signal
image forming
integrity
Prior art date
Application number
KR1020110114192A
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 KR1020110114192A priority Critical patent/KR20130028608A/en
Publication of KR20130028608A publication Critical patent/KR20130028608A/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • G03G15/5075Remote control machines, e.g. by a host
    • 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
    • G06F3/1234Errors handling and recovery, e.g. reprinting
    • G06F3/1235Errors handling and recovery, e.g. reprinting caused by end of consumables, e.g. paper, ink, toner

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE: A CRUM(Customer Replaceable Unit Monitoring) chip, an image forming device, and a communication method thereof are provided to record accurate data by generating integrity inspecting data. CONSTITUTION: When data is generated, a main controller of an image forming device or a CRUM chip of a consumables unit generates integrity inspecting data by using the generated data(S910,S920). The main controller or the CRUM chip transmits a signal including the generated integrity inspecting data and the data(S930). The main controller or the CRUM chip receives a response signal corresponding to the transmitted signal(S940). The main controller or the CRUM chip executes an integrity inspecting process by using the integrity inspecting data included in the response signal(S950). [Reference numerals] (AA) Start; (BB) End; (S910) Generating data to be transferred; (S920) Generating integrity inspecting data; (S930) Transmitting signals; (S940) Receiving response signals; (S950) Integrity inspecting using the integrity inspecting data included in the response signals

Description

CRUM 칩과 화상형성장치 및 그 통신 방법 { CRUM chip and image forming device for communicating mutually, and method thereof }CRUM chip and image forming device and communicating method {CRUM chip and image forming device for communicating mutually, and method

본 발명은 CRUM 칩과 화상형성장치 및 그 통신 방법에 대한 것으로, 보다 상세하게는 통신 과정에서 무결성 검사 데이터를 이용하여 무결성 여부를 검사하는 CRUM 칩과 화상형성장치 및 그 통신 방법에 대한 것이다. The present invention relates to a CRUM chip, an image forming apparatus, and a communication method thereof, and more particularly, to a CRUM chip, an image forming apparatus, and a communication method of checking integrity using integrity check data in a communication process.

컴퓨터 보급이 활성화됨에 따라, 컴퓨터 주변기기의 보급율도 나날이 증가하고 있다. 컴퓨터 주변기기의 대표적인 예로써, 프린터, 팩시밀리, 스캐너, 복사기, 복합기 등과 같은 화상형성장치를 들 수 있다. As computer dissemination is activated, the dissemination rate of computer peripherals is increasing day by day. Representative examples of computer peripherals include image forming apparatuses such as printers, facsimiles, scanners, copiers, multifunction devices, and the like.

화상형성장치들은 용지상에 화상을 인쇄하기 위해서 잉크나 토너를 사용한다. 잉크나 토너는 화상형성작업이 진행될 때마다 사용되어, 소정 시간 이상 사용되면 고갈된다. 이 경우, 잉크나 토너를 저장하는 유닛 자체를 새로이 교체하여 주어야 한다. 이와 같이 화상형성장치의 사용과정에서 교체할 수 있는 부품 또는 구성요소들을 소모품 유닛 또는 교체 가능 유닛이라 한다. 설명의 편의를 위하여, 본 명세서에서는 소모품 유닛이라는 명칭을 사용한다.Image forming apparatuses use ink or toner to print an image on paper. Ink or toner is used each time an image forming operation is performed, and is depleted when used for a predetermined time or more. In this case, the unit itself that stores the ink or toner must be replaced. As such, the parts or components that can be replaced in the process of using the image forming apparatus are called consumable units or replaceable units. For convenience of description, the name consumable unit is used herein.

소모품 유닛에는 상술한 바와 같이 잉크나 토너가 고갈되어 교체하여야 하는 유닛 이외에, 일정 기간 이상 사용하면 특성이 변경되어 좋은 인쇄 품질을 기대할 수 없는 이유로 교체되는 유닛들도 있다. 즉, 컬러별 현상기 이외에도 중간 전사 벨트 등과 같은 부품들도 소모품 유닛에 해당할 수 있다.In addition to the units to which the consumable unit is depleted in ink or toner as described above, there are also units that are replaced for reasons that the characteristics thereof are changed when used for a certain period of time, and thus a good print quality cannot be expected. That is, in addition to the developer for each color, components such as an intermediate transfer belt may also correspond to the consumable unit.

구체적으로는, 레이저 화상형성장치의 경우 대전유닛, 전사유닛, 정착유닛 등이 사용되는데, 각 유닛에서 사용되는 다양한 종류의 롤러, 벨트 등은 한계수명 이상 사용되면 마모되거나 변질될 수 있다. 이에 따라, 화상품질을 현저하게 저하시킬 수 있게 된다. 사용자는 깨끗한 화상으로 인쇄작업이 수행될 수 있도록, 각 구성유닛, 즉, 소모품 유닛들을 적절한 교체시기마다 교체하여 주어야 한다.Specifically, in the case of a laser image forming apparatus, a charging unit, a transfer unit, a fixing unit, and the like are used, and various kinds of rollers, belts, etc. used in each unit may be worn or deteriorated when they are used for longer than the life limit. As a result, the image quality can be significantly reduced. The user must replace each component unit, that is, the consumable units, at an appropriate replacement time so that the printing operation can be performed with a clean image.

소모품 유닛의 적절한 관리를 위하여, 최근에는 소모품 유닛 자체에 메모리를 부착하여, 화상형성장치의 본체와 정보를 주고 받을 수 있도록 구현하고 있다. Recently, in order to properly manage the consumable unit, a memory is attached to the consumable unit itself so as to exchange information with the main body of the image forming apparatus.

즉, 화상형성장치의 인쇄 매수, 출력 도트 수, 사용 기한 등과 같은 다양한 사용 정보들을 소모품 유닛 자체의 메모리에 기록하여, 소모품 유닛의 교체 시기 등을 정확하게 관리할 수 있다. That is, various usage information such as the number of prints of the image forming apparatus, the number of output dots, the expiration date, etc. are recorded in the memory of the consumable unit itself, so that the replacement time of the consumable unit can be accurately managed.

이러한 정보 관리를 위하여 화상형성장치의 본체에 구비된 메인 컨트롤러와 소모품 유닛에 구비된 메모리부는 서로 통신을 수행한다. 하지만, 통신 과정에서는 여러 변수가 있을 수 있다. 예를 들어, 화상형성장치에 구비된 전자 회로나 모터 등에 의해 발생되는 노이즈 간섭이 있을 수도 있고, 악의적인 목적으로 메인 컨트롤러 또는 메모리부를 제어하려고 하는 해커의 공격이 있을 수도 있다. In order to manage such information, the main controller provided in the main body of the image forming apparatus and the memory unit provided in the consumable unit communicate with each other. However, there can be many variables in the communication process. For example, there may be noise interference generated by an electronic circuit or a motor provided in the image forming apparatus, or a hacker may attempt to control the main controller or the memory unit for malicious purposes.

이러한 변수들로 인해, 통신 데이터가 변경될 수 있다. 예를 들어, 잡이 완료되면, 소모품 유닛에서는 인쇄 페이지수, 도트 수, 잔존 토너량 등과 같은 정보를 메인 컨트롤러로 전송하여, 메인 컨트롤러의 비휘발성 메모리로 복사한다. 이 경우, 데이터가 0xFFFFFFFF와 같은 잘못된 값으로 읽혔을 경우, 메인 컨트롤러는 해당 소모품 유닛의 수명이 다한 것으로 인식할 위험성이 있다. 이 경우, 해당 소모품 유닛은 더 이상 사용할 수 없게 된다. 반대로, 수명이 다한 소모품 유닛에 대해서도 해커가 악의적인 목적으로 소모품 사용 정보를 0으로 리셋하여, 소모품 유닛이 재생 가능하도록 만들 수 있다. 이에 따라, 수명이 다한 소모품 유닛을 사용하게 되어, 화상형성장치의 고장, 화질 열화 등의 문제가 발생할 수도 있다.Due to these variables, communication data may change. For example, when the job is completed, the consumable unit transfers information such as the number of printed pages, the number of dots, the amount of remaining toner, etc. to the main controller and copies it to the nonvolatile memory of the main controller. In this case, if the data is read with an incorrect value such as 0xFFFFFFFF, there is a risk that the main controller will recognize that the consumable unit has reached the end of its life. In this case, the consumable unit can no longer be used. Conversely, even for a consumable unit that has reached the end of its life, a hacker may reset the consumable use information to zero for malicious purposes, thereby making the consumable unit reproducible. As a result, a consumable unit that has reached the end of its life may be used, which may cause problems such as failure of the image forming apparatus and deterioration of image quality.

이에 따라, 소모품 유닛과 화상형성장치 사이의 통신 에러를 효율적으로 검사하여 데이터의 안정성을 도모할 수 있는 기술에 대한 필요성이 대두되었다. Accordingly, there is a need for a technology capable of efficiently checking the communication error between the consumable unit and the image forming apparatus to improve data stability.

본 발명은 상술한 필요성에 따른 것으로, 무결성 검사 데이터를 이용하여 통신 안전성을 도모할 수 있는 CRUM 칩과 화상형성장치 및 그 통신 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a CRUM chip, an image forming apparatus, and a communication method thereof capable of achieving communication safety using integrity check data.

이러한 목적을 달성하기 위한 본 발명의 일 실시 예에 따르면, 화상형성장치의 소모품유닛에 장착 가능한 CRUM칩은, 상기 화상형성장치의 본체로부터 제1 데이터 및 상기 제1 데이터에 대한 제1 무결성 검사 데이터를 포함하는 제1 신호를 수신하는 인터페이스부, 상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하여, 상기 제1 신호의 무결성을 검사하는 검사부, 상기 화상형성장치의 본체로 전송하여야 하는 제2 데이터를 생성하는 데이터 처리부, 상기 제2 데이터와 상기 제1 무결성 검사 데이터를 이용하여, 제2 무결성 검사 데이터를 생성하는 생성부, 상기 제2 데이터와 상기 제2 무결성 검사 데이터를 포함하는 제2 신호를 상기 화상형성장치의 본체로 전송하도록 상기 인터페이스부를 제어하는 제어부를 포함한다.According to an embodiment of the present invention for achieving the above object, the CRUM chip that can be mounted in the consumable unit of the image forming apparatus, the first data and the first integrity check data for the first data from the main body of the image forming apparatus; An interface unit for receiving a first signal comprising a, the inspection unit for separating the first integrity test data from the first signal, to check the integrity of the first signal, the second to be transmitted to the main body of the image forming apparatus A data processor for generating data, a generator for generating second integrity check data using the second data and the first integrity check data, and a second signal including the second data and the second integrity check data And a controller for controlling the interface unit to transmit the data to the main body of the image forming apparatus.

여기서, 상기 제1 신호가 무결성이라고 판단되면, 상기 제1 신호에 포함된 상기 데이터 및 상기 제1 무결성 검사 데이터를 임시 저장하는 임시 저장부 및 상기 임시 저장부에 임시 저장된 데이터를 기록하기 위한 저장부를 더 포함할 수도 있다. Here, when it is determined that the first signal is integrity, a temporary storage unit for temporarily storing the data and the first integrity check data included in the first signal, and a storage unit for recording data temporarily stored in the temporary storage unit. It may further include.

한편, 상기 검사부는, 상기 제1 신호에 포함된 나머지 데이터를 이용하여 비교 대상 데이터를 생성하고, 상기 제2 신호로부터 분리된 상기 제2 무결성 검사 데이터와 상기 비교 대상 데이터를 비교하여, 일치하면 상기 제2 신호가 무결성이라고 판단하고, 불일치하면 에러 상태라고 판단할 수 있다.On the other hand, the inspection unit generates data to be compared using the remaining data included in the first signal, compares the second integrity check data and the comparison target data separated from the second signal, and if the match It can be determined that the second signal is integrity, and if there is a mismatch, it can be determined as an error state.

한편, 상기 검사부는, 상기 제2 무결성 검사 데이터가 누적적으로 반영되어 생성된 제3 무결성 검사 데이터를 포함하는 제3 신호가 상기 인터페이스부를 통해 수신되면 상기 제3 신호에 대한 무결성 검사를 수행하고, On the other hand, when the third signal including the third integrity check data generated by cumulatively reflecting the second integrity check data is received through the interface unit, the checker performs an integrity check on the third signal,

화상 형성 잡이 완료되면, 상기 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 상기 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사할 수 있다.When the image forming job is completed, the integrity of the entire signal received in the process of performing the image forming job may be finally inspected using the final integrity check data included in the signal received last in the process of performing the image forming job.

이 경우, 상기 제어부는, 상기 최종 검사 결과, 상기 전체 신호가 무결성이라고 판단되면 상기 임시 저장부에 임시 저장되어 있던 데이터들을 상기 저장부에 저장할 수 있다.In this case, when it is determined that the entire signal is integrity, the controller may store data temporarily stored in the temporary storage unit in the storage unit.

그리고, 상기 제1 데이터 또는 상기 제2 데이터는, 코맨드, 기록 대상 정보, 상기 코맨드에 따른 작업 수행 결과 정보, 이전 수신 신호에 대한 무결성 검사 결과 정보 및 상기 무결성 검사 데이터의 위치를 알리기 위한 인디케이터 정보 중 적어도 하나를 포함하며, The first data or the second data may include a command, recording target information, operation performance result information according to the command, integrity check result information about a previous received signal, and indicator information for indicating a location of the integrity check data. At least one,

상기 무결성 검사 결과 정보는, 상기 CRUM 칩과의 사이에서 최초 송신되는 신호에서는 배제될 수 있다.The integrity check result information may be excluded from a signal initially transmitted to the CRUM chip.

그리고, 상기 무결성 검사 데이터는, 상기 데이터를 논리 연산한 결과값, 상기 데이터에 대해 기 설정된 수학식을 적용하여 생성한 결과값 또는 상기 데이터를 암호화한 암호화 결과값일 수 있다.The integrity check data may be a result of performing a logical operation on the data, a result generated by applying a preset equation to the data, or an encryption result of encrypting the data.

한편, 본 발명의 일 실시 예에 따르면, 화상형성장치의 소모품유닛에 장착 가능한 CRUM칩의 통신 방법은, 상기 화상형성장치의 본체로부터 제1 데이터 및 상기 제1 데이터에 대한 제1 무결성 검사 데이터를 포함하는 제1 신호를 수신하는 단계, 상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하여, 상기 제1 신호의 무결성을 검사하는 검사 단계, 상기 제1 신호가 무결성이라고 판단되면, 상기 제1 신호에 포함된 상기 데이터 및 상기 제1 무결성 검사 데이터를 임시 저장하는 단계, 상기 화상형성장치의 본체로 전송하여야 하는 제2 데이터가 존재하는 경우, 상기 제2 데이터를 생성하는 단계, 상기 제2 데이터와 상기 제1 무결성 검사 데이터를 이용하여, 제2 무결성 검사 데이터를 생성하는 단계 및 상기 제2 데이터와 상기 제2 무결성 검사 데이터를 포함하는 제2 신호를 상기 화상형성장치의 본체로 전송하는 단계를 포함한다.On the other hand, according to an embodiment of the present invention, the communication method of the CRUM chip that can be mounted on the consumable unit of the image forming apparatus, the first data and the first integrity check data for the first data from the main body of the image forming apparatus Receiving a first signal comprising a, Checking step of separating the first integrity check data from the first signal, to check the integrity of the first signal, If it is determined that the first signal is integrity, the first Temporarily storing the data included in the signal and the first integrity check data; generating second data when the second data to be transmitted to the main body of the image forming apparatus exists; And generating second integrity check data using the first integrity check data and including the second data and the second integrity check data. And transmitting a second signal to the main body of the image forming apparatus.

여기서, 상기 검사 단계는, 상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하는 단계, 상기 제1 신호에 포함된 나머지 데이터를 이용하여 비교 대상 데이터를 생성하는 단계, 상기 제2 신호로부터 분리된 상기 제2 무결성 검사 데이터와 상기 비교 대상 데이터를 비교하여, 일치하면 상기 제2 신호가 무결성이라고 판단하고, 불일치하면 에러 상태라고 판단하는 단계를 더 포함한다.Here, the checking may include separating the first integrity check data from the first signal, generating data to be compared using the remaining data included in the first signal, and separating the second signal from the first signal. The method may further include comparing the second integrity check data with the comparison target data and determining that the second signal is integrity if there is a match and determining an error state if there is a mismatch.

그리고, 상기 제2 무결성 검사 데이터가 누적적으로 반영되어 생성된 제3 무결성 검사 데이터를 포함하는 제3 신호가 상기 화상형성장치의 본체로부터 수신되면 상기 제3 신호에 대한 무결성 검사를 수행하는 단계를 더 포함할 수도 있다.And when the third signal including the third integrity check data generated by accumulating the second integrity check data is received from the main body of the image forming apparatus, performing the integrity check on the third signal. It may further include.

또한, 화상 형성 잡이 완료되면, 상기 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 상기 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사하는 단계, 상기 최종 검사 결과, 상기 전체 신호가 무결성이라고 판단되면 상기 임시 저장부에 임시 저장되어 있던 신호들을 저장하는 단계를 더 포함할 수도 있다.In addition, when the image forming job is completed, using the final integrity check data included in the signal received last in the process of performing the image forming job, the final inspection of the integrity of the entire signal received in the process of performing the image forming job, If it is determined that the entire signal is integrity as a result of the final test, the method may further include storing the signals temporarily stored in the temporary storage.

그리고, 상기 제1 데이터 또는 상기 제2 데이터는, 코맨드, 기록 대상 정보, 상기 코맨드에 따른 작업 수행 결과 정보, 이전 수신 신호에 대한 무결성 검사 결과 정보 및 상기 무결성 검사 데이터의 위치를 알리기 위한 인디케이터 정보 중 적어도 하나를 포함할 수 있다. The first data or the second data may include a command, recording target information, operation performance result information according to the command, integrity check result information about a previous received signal, and indicator information for indicating a location of the integrity check data. It may include at least one.

이 경우, 상기 무결성 검사 결과 정보는, 상기 CRUM 칩과의 사이에서 최초 송신되는 신호에서는 배제될 수 있다.In this case, the integrity check result information may be excluded from the signal initially transmitted with the CRUM chip.

그리고, 상기 무결성 검사 데이터는, 상기 데이터를 논리 연산한 결과 값, 상기 데이터에 대해 기 설정된 수학식을 적용하여 생성한 결과 값 또는 상기 데이터를 암호화한 암호화 결과 값일 수 있다. The integrity check data may be a result of performing a logical operation on the data, a result generated by applying a preset equation to the data, or an encryption result obtained by encrypting the data.

이상 설명한 바와 같이, 본 발명의 다양한 실시 예에 따르면, 이전 통신에 사용되었던 무결성 검사 데이터를 누적적으로 사용하여 전체 통신의 안전성을 도모할 수 있게 된다. 이에 따라, 소모품 유닛 및 화상형성장치의 정보가 안전하게 관리될 수 있게 된다. As described above, according to various embodiments of the present disclosure, it is possible to accumulate use of the integrity check data used in the previous communication to secure the safety of the entire communication. Accordingly, the information of the consumable unit and the image forming apparatus can be safely managed.

도 1은 본 발명의 일 실시 예에 따른 화상형성장치의 구성을 나타내는 블럭도,
도 2는 본 발명의 일 실시 예에 따른 화상형성장치에서의 메인 컨트롤러 및 CRUM 칩 간의 통신 과정을 설명하기 위한 타이밍도,
도 3은 무결성 검사 데이터를 이용하여 신호의 무결성을 검사하는 과정을 구체적으로 설명하기 위한 타이밍도,
도 4는 본 발명의 다른 실시 예에 따른 화상형성장치에서의 메인 컨트롤러 및 CRUM 칩 간의 통신 과정을 설명하기 위한 타이밍도,
도 5는 소모품 유닛이 장착된 화상형성장치의 구성을 나타내는 블럭도,
도 6 및 도 7은 본 발명의 다양한 실시 예에 따른 화상형성장치의 구성을 나타내는 블럭도,
도 8은 본 발명의 일 실시 예에 따른 CRUM 칩의 구성을 나타내는 블럭도, 그리고,
도 9 및 도 10은 본 발명의 다양한 실시 예에 따른 통신 방법을 설명하기 위한 흐름도이다.
1 is a block diagram showing the configuration of an image forming apparatus according to an embodiment of the present invention;
2 is a timing diagram illustrating a communication process between a main controller and a CRUM chip in an image forming apparatus according to an embodiment of the present invention;
3 is a timing diagram for explaining in detail the process of checking the integrity of a signal using the integrity check data;
4 is a timing diagram illustrating a communication process between a main controller and a CRUM chip in an image forming apparatus according to another embodiment of the present invention;
5 is a block diagram showing the configuration of an image forming apparatus equipped with a consumable unit;
6 and 7 are block diagrams illustrating a configuration of an image forming apparatus according to various embodiments of the present disclosure;
8 is a block diagram showing a configuration of a CRUM chip according to an embodiment of the present invention;
9 and 10 are flowcharts illustrating a communication method according to various embodiments of the present disclosure.

이하에서, 첨부된 도면을 이용하여 본 발명에 대하여 구체적으로 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시 예에 따른 화상형성장치의 구성을 나타내는 블럭도이다. 도 1에 따르면, 화상형성장치는 본체(100), 본체(100)에 구비된 메인 컨트롤러(110), 본체(100)에 장착 가능한 소모품 유닛(200)을 포함한다. 여기서, 화상형성장치란 프린터, 스캐너, 복합기, 팩시밀리, 복사기 등과 같이 용지나 각종 기록 매체 상에 화상을 형성할 수 있는 다양한 유형의 장치로 구현될 수 있다. 1 is a block diagram illustrating a configuration of an image forming apparatus according to an exemplary embodiment. According to FIG. 1, the image forming apparatus includes a main body 100, a main controller 110 provided in the main body 100, and a consumable unit 200 mountable to the main body 100. Here, the image forming apparatus may be implemented as various types of devices capable of forming an image on paper or various recording media such as a printer, a scanner, a multifunction printer, a facsimile machine, a copying machine, and the like.

메인 컨트롤러(110)는 화상형성장치의 본체(100)에 탑재되어, 화상형성장치의 전반적인 기능을 제어한다.The main controller 110 is mounted on the main body 100 of the image forming apparatus to control the overall functions of the image forming apparatus.

소모품 유닛(200)은 화상형성장치의 본체(100)에 탑재되어, 화상형성잡에 직접 또는 간접적으로 관여하는 다양한 종류의 유닛이 될 수 있다. 예를 들어, 레이저 화상형성장치의 경우 대전유닛, 노광 유닛, 현상 유닛, 전사유닛, 정착유닛, 각종 롤러, 벨트, OPC 드럼 등이 소모품 유닛이 될 수 있으며, 그 밖에 화상형성장치의 사용에 있어서 교체가 요구되는 다양한 유형의 유닛들이 소모품 유닛(200)으로 정의될 수 있다. The consumable unit 200 may be mounted on the main body 100 of the image forming apparatus, and may be various types of units directly or indirectly involved in the image forming job. For example, in the case of a laser image forming apparatus, a charging unit, an exposure unit, a developing unit, a transfer unit, a fixing unit, various rollers, a belt, an OPC drum, and the like may be consumable units. In addition, in the use of the image forming apparatus, Various types of units requiring replacement may be defined as the consumable unit 200.

상술한 바와 같이, 소모품 유닛(200)에는 각각의 수명이 정해져 있다. 따라서, 적절한 시기에 교체가 이루어질 수 있도록, 소모품 유닛(200)은 CRUM 칩(Customer Replaceable Unit Monitoring chip)(210)을 포함한다. As described above, each lifespan is determined in the consumable unit 200. Therefore, the consumable unit 200 includes a customer replaceable unit monitoring chip (CRUM chip) 210 so that replacement can be made at an appropriate time.

CRUM 칩(210)이란 소모품 유닛(200)에 탑재되어, 각종 정보를 기록하는 구성이다. CRUM 칩(210)은 메모리를 포함한다. 따라서, CRUM 칩(210)은 메모리부, CRUM 메모리(Customer Replaceable Unit Monitoring memory) 등과 같이 다양한 명칭으로 지칭될 수 있지만, 설명의 편의를 위하여 본 명세서에서는 CRUM 칩(210)으로 설명한다. The CRUM chip 210 is mounted on the consumable unit 200 and records various types of information. The CRUM chip 210 includes a memory. Accordingly, the CRUM chip 210 may be referred to by various names such as a memory unit, a customer replaceable unit monitoring memory (CRUM memory), etc., but for convenience of description, the CRUM chip 210 will be described as a CRUM chip 210.

CRUM 칩(210)에 마련된 메모리에는 소모품 유닛(200)이나 CRUM 칩(210) 자체, 화상형성장치 등에 대한 다양한 특성 정보와, 화상형성잡의 수행과 관련된 사용 정보 또는 프로그램이 저장될 수 있다.The memory provided in the CRUM chip 210 may store various characteristic information about the consumable unit 200, the CRUM chip 210 itself, the image forming apparatus, and the like, and use information or a program related to performing an image forming job.

구체적으로는, CRUM 칩(210)에 저장되는 각종 프로그램에는, 일반적인 어플리케이션 뿐만 아니라 O/S(Operating System) 프로그램, 암호화 프로그램 등도 포함될 수 있다. 또한, 특성 정보에는, 소모품 유닛(200) 제조사에 대한 정보, 화상형성장치의 제조사에 대한 정보, 장착 가능한 화상형성장치의 장치 명, 제조일시에 대한 정보, 일련 번호, 모델 명, 전자 서명 정보, 암호화 키, 암호화 키 인덱스 등이 포함될 수 있다. 또한, 사용 정보에는 현재까지 몇 매 인쇄하였는지, 인쇄 가능한 잔여 매수가 얼마인지, 토너 잔량이 얼마인지 등에 대한 정보가 포함될 수 있다. 특성 정보는 다르게는 고유 정보로 명명할 수도 있다.Specifically, various programs stored in the CRUM chip 210 may include not only general applications but also O / S (Operating System) programs, encryption programs, and the like. In addition, the characteristic information includes information on the manufacturer of the consumable unit 200, information on the manufacturer of the image forming apparatus, a device name of the image forming apparatus that can be mounted, information on manufacturing date, serial number, model name, electronic signature information, An encryption key, an encryption key index, and the like may be included. In addition, the usage information may include information on how many sheets have been printed so far, how many sheets can be printed, and how much toner is left. The characteristic information may alternatively be called unique information.

일 예를 들면, CRUM 칩(210)에는 다음 표와 같은 정보가 저장될 수 있다.For example, the CRUM chip 210 may store information as shown in the following table.

General InformationGeneral Information OS Version
SPL-C Version
Engine Version
USB Serial Number
Set Model
Service Start Date
OS Version
SPL-C Version
Engine Version
USB Serial Number
Set model
Service Start Date
CLP300_V1.30.12.35 02-22-2007
5.24 06-28-2006
6.01.00(55)
BH45BAIP914466B.
DOM
2007-09-29
CLP300_V1.30.12.35 02-22-2007
5.24 06-28-2006
6.01.00 (55)
BH45BAIP914466B.
DOM
2007-09-29
OptionOption RAM Size
EEPROM Size
USB Connected (High)
RAM Size
EEPROM Size
USB Connected (High)
32 Mbytes
4096 bytes
32 Mbytes
4096 bytes
Consumables LifeConsumables Life Total Page Count
Fuser Life
Transfer Roller Life
Tray1 Roller Life
Total Image Count
Imaging Unit/Deve Roller Life
Transfer Belt Life
Toner Image Count
Total Page Count
Fuser life
Transfer roller life
Tray1 Roller Life
Total Image Count
Imaging Unit / Deve Roller Life
Transfer belt life
Toner image count
774/93 Pages(Color/mono)
1636 Pages
864 Pages
867 Pages
3251 Images
61 Images/19 Pages
3251 Images
14/9/14/19 Images(C/M/Y/K)
774/93 Pages (Color / mono)
1636 Pages
864 Pages
867 Pages
3251 Images
61 Images / 19 Pages
3251 Images
14/9/14/19 Images (C / M / Y / K)
Toner InformationToner information Toner Remains Percent
Toner Average Coverage
Toner Remains Percent
Toner Average Coverage
99%/91%/92%/100% (C/M/Y/K)
5%/53%/31%/3% (C/M/Y/K)
99% / 91% / 92% / 100% (C / M / Y / K)
5% / 53% / 31% / 3% (C / M / Y / K)
Consumables InformationConsumables Information Cyan Toner
Magenta Toner
Yellow Toner
Black Toner
Imaging unit
Cyan toner
Magenta toner
Yellow toner
Black toner
Imaging unit
SAMSUNG(DOM)
SAMSUNG(DOM)
SAMSUNG(DOM)
SAMSUNG(DOM)
SAMSUNG(DOM)
SAMSUNG (DOM)
SAMSUNG (DOM)
SAMSUNG (DOM)
SAMSUNG (DOM)
SAMSUNG (DOM)
Color MenuColor Menu Custom ColorCustom color Manual Adjust(CMYK : 0,0,0,0)Manual Adjust (CMYK: 0,0,0,0) Setup MenuSetup Menu Power Save
Auto Continue
Altitude Adj.
Power save
Auto Continue
Altitude Adj.
20 Minutes
On
Plain
20 Minutes
On
Plain

상술한 표에서와 같이, CRUM칩(210)의 메모리에는 소모품 유닛(200)에 대한 개략적인 정보 뿐만 아니라, 소모품의 수명, 정보, 셋업 메뉴 등에 대한 정보까지 저장될 수 있다. 또한, 메모리에는 화상형성장치의 본체와 별개로 소모품 유닛에서 사용하기 위하여 마련된 O/S도 저장될 수 있다. As shown in the above table, the memory of the CRUM chip 210 may store not only the general information on the consumable unit 200 but also information on the life of the consumable unit, information, a setup menu, and the like. The memory may also store O / S provided for use in the consumable unit separately from the main body of the image forming apparatus.

그 밖에, CRUM 칩(210)에는 메모리를 관리하고, 메모리에 저장된 각종 프로그램을 실행하며, 화상형성장치의 본체 또는 기타 장치의 컨트롤러와 통신을 수행할 수 있는 CPU(미도시)가 더 포함될 수도 있다. In addition, the CRUM chip 210 may further include a CPU (not shown) that manages the memory, executes various programs stored in the memory, and communicates with a controller of the main body of the image forming apparatus or other devices. .

CPU는 CRUM 칩(210)의 메모리에 저장된 O/S를 구동시켜, 화상형성장치의 초기화와 별도로, 소모품 유닛(200) 자체의 초기화를 수행할 수 있다. 또한, CPU는 초기화가 완료되거나 초기화 중에 화상형성장치의 본체와의 사이에서 인증을 수행할 수도 있다. 또한, 인증이 완료되고 나면, 화상형성장치의 본체와의 사이에서 암호화 데이터 통신을 수행할 수도 있다. 이 경우, 화상형성장치 본체로부터 전송되는 각종 코맨드 및 데이터는 임의의 암호화 알고리즘에 따라 암호화되어 전송될 수 있다.The CPU may drive the O / S stored in the memory of the CRUM chip 210 to perform initialization of the consumable unit 200 itself apart from the initialization of the image forming apparatus. The CPU may also perform authentication with the main body of the image forming apparatus during initialization or during initialization. In addition, after authentication is completed, encrypted data communication may be performed with the main body of the image forming apparatus. In this case, various commands and data transmitted from the image forming apparatus main body may be encrypted and transmitted according to an arbitrary encryption algorithm.

구체적으로는, CPU는 특정한 이벤트, 예를 들어, 소모품 유닛(200)이 탑재된 화상형성장치의 파워가 온된 경우나, 소모품 유닛(200)이 탈착되었다가 화상형성장치의 본체(100)에 다시 장착된 경우 등에는, 메인 컨트롤러(110)의 초기화와 별개로 자체적으로 초기화를 수행할 수 있다. 초기화는, 소모품 유닛(200)에서 이용되는 각종 응용 프로그램 초기 구동, 초기화 이후 메인 컨트롤러(110)와의 데이터 통신에 필요한 비밀 정보 계산, 통신 채널 셋업, 메모리값 초기화, 자체 교환시기 확인, 소모품 유닛(200) 내부 레지스터 값 세팅, 내외부 클럭 신호 세팅 등의 다양한 과정을 포함한다. Specifically, the CPU is configured to return to the main body 100 of the image forming apparatus after a specific event, for example, when the power of the image forming apparatus on which the consumable unit 200 is mounted is turned on or when the consumable unit 200 is detached. In the case of installation, the initialization may be performed independently of the initialization of the main controller 110. Initialization includes initial operation of various application programs used in the consumable unit 200, calculation of secret information required for data communication with the main controller 110 after initialization, communication channel setup, memory value initialization, self-exchange time confirmation, and consumable unit 200 This includes various steps such as setting internal register values and setting internal and external clock signals.

여기서, 레지스터 값 세팅이란, 이전에 사용자가 설정하여 둔 각종 기능 상태에 대응되게 소모품 유닛(200)이 동작하도록 소모품 유닛(200) 내부의 기능 레지스터 값들을 세팅하는 작업을 의미한다. 또한, 내외부 클럭 신호 세팅이란 화상형성장치의 메인 컨트롤러(110)로부터 제공되는 외부 클럭 신호의 주파수를 소모품 유닛(200) 내부의 CPU가 사용하는 내부 클럭 신호에 맞도록 조정하여 주는 작업을 의미한다. Here, the register value setting refers to an operation of setting the function register values inside the consumable unit 200 to operate the consumable unit 200 corresponding to various functional states previously set by the user. In addition, the internal and external clock signal setting refers to an operation of adjusting the frequency of the external clock signal provided from the main controller 110 of the image forming apparatus to match the internal clock signal used by the CPU in the consumable unit 200.

그 밖에, 자체 교환 시기 확인이란 이때까지 사용되었던 토너나 잉크의 잔량을 파악하여, 최종 고갈될 시기를 예측하여 메인 컨트롤러(110) 측으로 통지하여 주기 위한 작업이 될 수 있다. 이에 따라, 초기화 과정에서 토너 잔량이 이미 고갈된 상태인 것으로 판단되면, 초기화가 완료된 이후에 소모품 유닛(200)이 메인 컨트롤러(110)로 작업 불능 상태임을 자체적으로 알리도록 구현될 수도 있다. 이외에도, 소모품 유닛(200)이 자체적으로 O/S를 구비하기 때문에, 소모품 유닛(200)의 종류, 특성에 따라 다양한 형태의 초기화가 이루어질 수 있다. In addition, the self-replacement time confirmation may be a task for identifying the remaining amount of toner or ink used up to this time, predicting when the end will be exhausted, and notifying the main controller 110 side. Accordingly, when it is determined that the remaining amount of toner is already exhausted in the initialization process, after the initialization is completed, the consumable unit 200 may be implemented to notify the main controller 110 of the inoperable state by itself. In addition, since the consumable unit 200 has its own O / S, various types of initialization may be performed according to the type and characteristic of the consumable unit 200.

이와 같이, CPU가 내장되고 자체 O/S를 가지고 있는 경우, 화상 형성 장치가 파워 온 되었을 때 메인 컨트롤러(110)가 유닛(200)과의 통신을 요청하기 이전에, 메모리부(210)에 저장된 소모품의 잔량이나 리필 횟수 등을 확인할 수 있다. 이에 따라, 소모품 부족을 알리는 시간이 종래에 비해 매우 빨라질 수 있다. 예를 들어, 토너 부족인 경우 사용자는 파워-온 시킨 후, 바로 토너 절약 모드로 전환하여 화상형성을 수행하도록 조작할 수 있다. 특정 토너만 부족한 경우에도 마찬가지이다.As such, when the CPU is built in and has its own O / S, it is stored in the memory unit 210 before the main controller 110 requests communication with the unit 200 when the image forming apparatus is powered on. You can check the remaining amount of consumables and the number of refills. Accordingly, the time for notifying the shortage of consumables can be much faster than before. For example, when the toner is low, the user can switch to the toner saving mode immediately after power-on to perform image formation. The same is true when only a specific toner is low.

CPU는 초기화가 진행되어 완료될 때까지는 메인 컨트롤러(110)의 코맨드에 응답하지 않는다. 메인 컨트롤러(110)는 응답이 있을 때까지 주기적으로 코맨드를 전송하면서 응답을 기다린다. The CPU does not respond to the command of the main controller 110 until the initialization is completed. The main controller 110 waits for a response while periodically transmitting a command until there is a response.

이에 따라, 응답, 즉, Acknowledgement가 수신되면, 메인 컨트롤러(110) 및 CPU 사이에서 인증이 수행된다. 이 경우, CRUM 칩(210)에 설치된 자체 O/S로 인해, CRUM 유닛(210)과 메인 컨트롤러(110) 사이에서 상호 작용을 통한 인증이 가능해진다. Accordingly, when a response, that is, acknowledgment is received, authentication is performed between the main controller 110 and the CPU. In this case, due to its own O / S installed in the CRUM chip 210, authentication through interaction between the CRUM unit 210 and the main controller 110 becomes possible.

구체적으로는, 메인 컨트롤러(110)는 인증을 위한 데이터 또는 코맨드를 암호화하여 CRUM 칩(210)으로 전송한다. 전송되는 데이터에는 임의의 값 R1이 포함될 수 있다. 여기서 R1은 매 인증시마다 변경되는 랜덤 값일 수도 있고, 임의로 설정된 고정 값일 수도 있다. 데이터를 수신한 CRUM 칩(210)은 임의의 값 R2와 수신된 R1을 이용하여 세션 키를 생성하고, 생성된 세션 키를 이용하여 MAC(Message Authentication Code)을 생성한다. 이에 따라 생성된 MAC과 R2를 포함하는 신호를 메인 컨트롤러(110)로 전송한다. 메인 컨트롤러(110)는 수신된 R2와 R1을 이용하여 세션키를 생성하고, 생성된 세션키를 이용하여 MAC을 생성한 후, 생성된 MAC과 수신된 신호에 포함된 MAC을 비교하여 CRUM 칩(210)을 인증한다. 한편, 다양한 실시 예에 따르면, 이러한 인증 과정에서 전자 서명 정보나 키 정보 등이 송 수신되어 인증에 사용될 수도 있다. Specifically, the main controller 110 encrypts data or commands for authentication and transmits the encrypted data or commands to the CRUM chip 210. The transmitted data may include any value R1. Here, R1 may be a random value that is changed at every authentication or may be a fixed value arbitrarily set. The CRUM chip 210 receiving the data generates a session key using a random value R2 and the received R1 and generates a message authentication code (MAC) using the generated session key. Accordingly, the signal including the generated MAC and R2 is transmitted to the main controller 110. The main controller 110 generates a session key using the received R2 and R1, generates a MAC using the generated session key, and then compares the generated MAC with the MAC included in the received signal. 210 is authenticated. Meanwhile, according to various embodiments of the present disclosure, electronic signature information or key information may be transmitted and received in the authentication process and used for authentication.

인증에 성공하면, 메인 컨트롤러(110)와 CRUM 칩(210)은 데이터 관리를 위한 암호화 데이터 통신을 수행한다. 즉, 사용자 명령이 입력되거나, 화상형성잡이 개시 또는 완료되는 경우에, 메인 컨트롤러(110)는 데이터 읽기(reading), 쓰기(writing) 등의 작업을 수행하기 위한 코맨드나 데이터 등을 암호화 알고리즘을 이용하여 암호화한 후, CRUM 칩(210)으로 전송한다. CRUM 칩(210)은 수신된 코맨드 또는 데이터 등을 디코딩하여 그 코맨드에 대응되는 데이터 읽기(reading), 쓰기(writing) 등의 작업을 수행할 수 있다. CRUM 칩(210)이나 메인 컨트롤러(110)에서 사용되는 암호화 알고리즘은 표준 암호화 알고리즘일 수 있다. 이러한 암호화 알고리즘은 암호 키가 공개되었거나, 보안을 강화할 필요가 있는 경우에 변경 가능하다. 구체적으로는, RSA 비대칭키 알고리즘, ARIA, TDES, SEED, AES 대칭키 알고리즘 등과 같은 다양한 암호화 알고리즘이 사용될 수 있다. If authentication is successful, the main controller 110 and the CRUM chip 210 perform encrypted data communication for data management. That is, when a user command is input, or an image forming job is started or completed, the main controller 110 uses an encryption algorithm for a command or data for performing data reading, writing, or the like. After encryption, the data is transmitted to the CRUM chip 210. The CRUM chip 210 may decode the received command or data and perform operations such as data reading and writing corresponding to the command. The encryption algorithm used in the CRUM chip 210 or the main controller 110 may be a standard encryption algorithm. This encryption algorithm can be changed if the encryption key is disclosed or if security needs to be enhanced. Specifically, various encryption algorithms such as RSA asymmetric key algorithm, ARIA, TDES, SEED, AES symmetric key algorithm, and the like may be used.

이와 같이, CRUM 칩(210)과 메인 컨트롤러(110) 사이에서는 인증 및 데이터 교환을 위한 여러 번의 통신이 수행될 수 있다. 매 통신 시에는 메인 컨트롤러(110)로부터 CRUM 칩(210)으로 또는 그 반대 방향으로 신호가 전송된다. 이 경우, 전송되는 신호에는 해당 신호에 포함된 데이터의 무결성을 검사하기 위한 무결성 검사 데이터(error detection data)가 포함된다. 이러한 무결성 검사 데이터는 직전 통신시에 송신 또는 수신된 신호에 포함된 무결성 검사 데이터가 누적 반영되어 생성된 것이다. As such, multiple communications for authentication and data exchange may be performed between the CRUM chip 210 and the main controller 110. In each communication, a signal is transmitted from the main controller 110 to the CRUM chip 210 or vice versa. In this case, the transmitted signal includes error detection data for checking the integrity of the data included in the signal. The integrity check data is generated by accumulating and reflecting the integrity check data included in the signal transmitted or received during the previous communication.

즉, 상술한 바와 같이 메인 컨트롤러(110) 및 CRUM 칩(210) 사이에서는 인증1, 인증 2, 인증 3, ..., 인증 n, 데이터 통신 1, 데이터 통신 2, ... 데이터 통신 m과 같이 복수의 통신이 수행될 수 있다. 매 통신 시에 전송되는 신호에는 무결성 검사 데이터가 포함된다. 이러한 무결성 검사 데이터에는 이전 통신 시에 사용된 무결성 검사 데이터가 누적적으로 반영된다. 구체적으로는, 후술하는 도면 부분에서 설명한다. That is, as described above, between the main controller 110 and the CRUM chip 210, authentication 1, authentication 2, authentication 3, ..., authentication n, data communication 1, data communication 2, ... Likewise, a plurality of communications can be performed. The signal transmitted at each communication includes integrity check data. The integrity check data cumulatively reflects the integrity check data used in the previous communication. Specifically, it demonstrates in the drawing part mentioned later.

신호를 수신한 측에서는 신호에 포함된 무결성 검사 데이터를 이용하여 해당 신호의 무결성을 검사한다. 이에 따라, 해당 신호가 무결성이라고 판단되면, 그 신호에 포함된 데이터 및 무결성 검사 데이터를 임시 저장한다. 그리고 나서, 신호를 송신한 측에 전송할 후속 데이터와, 바로 앞 통신에서 수신하여 임시 저장된 무결성 검사 데이터를 이용하여 새로운 무결성 검사 데이터를 생성한다. 이에 따라, 후속 데이터에 새로운 무결성 검사 데이터를 부가한 신호를 전송한다. 메인 컨트롤러(110) 및 CRUM 칩(210) 사이에서는 이러한 무결성 검사 데이터를 포함하는 통신이 복수 횟수 수행된다. 마지막 통신이 이루어진 경우, 수신된 마지막 신호에 포함된 무결성 검사 데이터를 이용한 최종 검사가 수행된다. 최종 검사 결과, 이상이 없으면, 그 때까지 임시 저장되어 있던 전체 데이터들을 기록한다.The receiving side checks the integrity of the signal using the integrity check data included in the signal. Accordingly, when it is determined that the signal is integrity, the data and integrity check data included in the signal are temporarily stored. Then, new integrity check data is generated using the subsequent data to be transmitted to the transmitter side and the integrity check data stored in the immediately preceding communication and temporarily stored. Accordingly, a signal in which new integrity check data is added to subsequent data is transmitted. The communication including the integrity check data is performed a plurality of times between the main controller 110 and the CRUM chip 210. If the last communication is made, a final check is performed using the integrity check data included in the last received signal. If there is no abnormality as a result of the final inspection, all the data temporarily stored until then is recorded.

도 2는 본 발명의 일 실시 예에 따른 메인 컨트롤러(110) 및 CRUM 칩(210) 간의 통신 과정을 설명하기 위한 타이밍 도이다. 도 2에 따르면, 메인 컨트롤러(110)는 데이터 1 및 무결성 검사 데이터 1을 포함하는 제1 신호(10)를 전송한다. 제1 신호(10)를 수신한 CRUM 칩(210)은 제1 신호(10)에 포함된 무결성 검사 데이터 1과 데이터 2를 이용하여 무결성 검사 데이터 2를 생성한다. 그리고 나서, 데이터 2 및 무결성 검사 데이터 2를 포함하는 제2 신호를 메인 컨트롤러(110)로 전송한다. 이와 같이, 이전 통신 시의 무결성 검사 데이터를 이용하여 생성된 무결성 검사 데이터를 포함하는 신호(30,..., N)들이 복수 횟수 수행된다.2 is a timing diagram illustrating a communication process between the main controller 110 and the CRUM chip 210 according to an embodiment of the present invention. According to FIG. 2, the main controller 110 transmits a first signal 10 including data 1 and integrity check data 1. The CRUM chip 210 receiving the first signal 10 generates the integrity check data 2 using the integrity check data 1 and the data 2 included in the first signal 10. Then, a second signal including data 2 and integrity check data 2 is transmitted to the main controller 110. As such, the signals 30,..., N including the integrity check data generated by using the integrity check data in the previous communication are performed a plurality of times.

이러한 무결성 검사 데이터로는 전송할 데이터를 논리 연산한 결과값, 데이터에 대해 기 설정된 수학식을 적용하여 생성한 결과값 또는 데이터를 암호화한 암호화 결과값, 즉, MAC 등이 사용될 수 있다. The integrity check data may be a result of performing a logical operation on the data to be transmitted, a result generated by applying a preset equation to the data, or an encryption result obtained by encrypting the data, that is, a MAC.

도 3은 무결성 검사 데이터를 이용한 검사 방법을 설명하기 위한 도면이다. 도 3에 따르면, 메인 컨트롤러(110)로부터 데이터 a, 무결성 검사 데이터 a를 포함하는 신호가 수신되면(S310), CRUM 칩(210)은 무결성 검사 데이터 a를 분리한다(S320). 3 is a view for explaining a test method using the integrity check data. According to FIG. 3, when a signal including data a and integrity check data a is received from the main controller 110 (S310), the CRUM chip 210 separates the integrity check data a (S320).

그리고 나서 나머지 데이터 및 이전 통신 시에 자신이 전송하였던 무결성 검사 데이터를 이용하여 무결성 검사 데이터 a'를 생성한다(S330). 이에 따라 생성된 무결성 검사 데이터 a'와 분리된 무결성 검사 데이터 a를 비교하여(S340), 일치하면 무결성으로 판단한다(S350). 반면 불일치하면 에러 상태로 판단하고 통신을 중단한다(S360). 설명의 편의를 위하여 이하에서는 무결성 검사 데이터 a'를 비교 대상 데이터로 명명한다. Thereafter, the integrity check data a 'is generated using the remaining data and the integrity check data transmitted during the previous communication (S330). The integrity check data a 'generated accordingly is compared with the separated integrity check data a (S340), and if it matches, it is determined as integrity (S350). On the other hand, if there is a mismatch, it is determined as an error state and the communication is stopped (S360). For convenience of explanation, hereinafter, the integrity check data a 'is referred to as data to be compared.

무결성으로 판단된 경우, 전송할 데이터 b와 무결성 검사 데이터 a를 이용하여 무결성 검사 데이터 b를 생성한다(S370). 이에 따라, 데이터 b 및 무결성 검사 데이터 b를 포함하는 신호를 메인 컨트롤러(110)로 전송한다(S380).When it is determined as integrity, the integrity check data b is generated using the data b to be transmitted and the integrity check data a (S370). Accordingly, the signal including the data b and the integrity check data b is transmitted to the main controller 110 (S380).

도 3에서는 CRUM 칩(210)에서 이루어지는 검사 과정을 설명하였으나, 동일한 과정이 메인 컨트롤러(110)에서도 이루어질 수 있다. 즉, 데이터 b 및 무결성 검사 데이터 b를 포함하는 신호를 수신하면, 메인 컨트롤러(110)는 무결성 검사 데이터 b를 분리하여, 검사를 수행한다. 그 검사 방법은 S330 내지 S370과 동일하므로, 중복 설명 및 도시는 생략한다.In FIG. 3, the inspection process performed in the CRUM chip 210 has been described, but the same process may be performed in the main controller 110. That is, when the signal including the data b and the integrity check data b is received, the main controller 110 separates the integrity check data b and performs a check. Since the inspection method is the same as that of S330 to S370, overlapping description and illustration are omitted.

한편, 메인 컨트롤러(110) 및 CRUM 칩(210) 사이에 송수신되는 신호의 구성은 다양하게 설계될 수 있다. 즉, 신호에 포함되는 데이터는 코맨드, 기록 대상 정보, 코맨드에 따른 작업 수행 결과 정보, 이전 수신 신호에 대한 무결성 검사 결과 정보 및 무결성 검사 데이터의 위치를 알리기 위한 인디케이터 정보 중 적어도 하나를 포함할 수 있다. 여기서, 무결성 검사 결과 정보는, 메인 컨트롤러(110) 및 CRUM 칩(210) 사이에서 최초 송신되는 신호에서는 배제될 수 있다.Meanwhile, the configuration of signals transmitted and received between the main controller 110 and the CRUM chip 210 may be variously designed. That is, the data included in the signal may include at least one of a command, recording target information, work performance result information according to a command, integrity check result information on a previous received signal, and indicator information for indicating a location of the integrity check data. . In this case, the integrity check result information may be excluded from a signal initially transmitted between the main controller 110 and the CRUM chip 210.

도 4는 도 2와 상이한 포맷의 신호를 이용하여 무결성을 검사하는 과정을 설명하기 위한 도면이다. 도 4에 따르면, 메인 컨트롤러(110)는 데이터 및 무결성 검사 데이터 1을 포함하는 신호를 전송한다(S410). 여기서 데이터에는 읽기 명령 데이터 1(Read Command(CMD) data 1)과 인디케이터 U1이 포함된다. 읽기 명령 데이터 1에는 코맨드 뿐만 아니라 리드 대상(read target) 또는 메모리 주소 등이 포함된다. U1은 읽기 명령 데이터 1에 이어지는 인디케이터 정보를 의미한다. 인디케이터 정보 U1은 신호 내에서 무결성 검사 데이터의 파싱(parsing) 위치를 알려주기 위한 심볼을 의미한다. 인디케이터 정보는 고정된 개수의 바이트로 표시될 수 있다. 일 예로 5 바이트가 인디케이터 정보를 위해 사용될 수 있다. 반면, 읽기 명령 데이터 1의 크기는 데이터의 내용에 따라 가변적이고, 이에 따라, 무결성 검사 데이터 1의 크기 역시 가변적이다. FIG. 4 is a diagram for describing a process of checking integrity using a signal having a different format from that of FIG. 2. According to FIG. 4, the main controller 110 transmits a signal including data and integrity check data 1 (S410). Here, the data includes read command data 1 (Read command (CMD) data 1) and the indicator U1. The read command data 1 includes not only a command but also a read target or a memory address. U1 means indicator information following the read command data 1. The indicator information U1 means a symbol for indicating a parsing position of the integrity check data in the signal. The indicator information may be represented by a fixed number of bytes. For example, 5 bytes may be used for indicator information. On the other hand, the size of the read command data 1 is variable according to the content of the data, and thus, the size of the integrity check data 1 is also variable.

CRUM 칩(210)은 신호가 수신되면, 신호에 포함된 무결성 검사 데이터 1을 이용하여 무결성 검사를 수행한다(S415). 그리고 나서, 전송할 데이터와 무결성 검사 데이터 1을 이용하여 무결성 검사 데이터 2를 생성한 후, 이들을 포함하는 신호를 전송한다(S420). 도 4에 도시된 바와 같이, 전송되는 신호에는 읽기 명령 데이터 1에 따라 소모품 유닛(100) 내에 마련된 메모리로부터 읽은 데이터인 리드 데이터(Read data) 1과, 읽기 명령 데이터 1에 따라 수행된 작업의 수행 결과를 의미하는 결과 데이터(Result data) 2, 인디케이터 U2, 무결성 검사 데이터 2가 포함된다.When the CRUM chip 210 receives a signal, the CRUM chip 210 performs an integrity check by using the integrity check data 1 included in the signal (S415). Then, after generating integrity check data 2 using the data to be transmitted and integrity check data 1, a signal including them is transmitted (S420). As shown in FIG. 4, the transmitted signal includes read data 1 which is data read from a memory provided in the consumable unit 100 according to the read command data 1, and an operation performed according to the read command data 1. Result data 2 indicating the result, indicator U2, and integrity check data 2 are included.

메인 컨트롤러(110)는 수신된 신호로부터 무결성 검사 데이터 2를 분리하여 무결성 검사를 수행한다(S425). 그리고, 후속 읽기 명령 데이터 3이 존재하는 경우, 읽기 명령 데이터 3과 무결성 검사 데이터 2를 이용하여 무결성 검사 데이터 3을 생성한 후, 읽기 명령 데이터 3, 인디케이터 U3, 무결성 검사 데이터 3을 포함하는 신호를 CRUM 칩(210)으로 전송한다(S430). 이 후에는, 도 4에 도시된 바와 같이 복수의 무결성 검사 데이터 4, 5, 6, T1, T2를 이용한 통신이 수행되고(S440, S450, S460, S470, S485), 그에 따른 무결성 검사가 수행된다(S435, S445, S455, S465). 한편, CRUM 칩(210)에서 마지막 통신 신호를 수신하는 경우(S470), CRUM 칩(210)은 마지막 통신 신호에 포함된 무결성 검사 데이터 T1을 이용하여 전체 통신 과정에서 송수신되어 임시 저장되어 있던 데이터들의 무결성을 최종 검사한다(S475). 최종 검사 결과 무결성이라고 판단되면 임시 저장되어 있던 데이터를 비휘발성 메모리(미도시)에 저장한다(S480). 마찬가지로 메인 컨트롤러(110) 역시 CRUM 칩(210)으로부터 마지막 통신 신호가 전송되면(S485), 마지막 통신 신호에 포함된 무결성 검사 데이터 T2를 이용하여 전체 무결성 검사를 수행한다(S490). 이에 따라, 무결성이라고 판단되면 임시 저장되어 있던 데이터들을 비휘발성 메모리에 저장한다(S495).The main controller 110 separates the integrity check data 2 from the received signal and performs an integrity check (S425). When the subsequent read command data 3 exists, the integrity check data 3 is generated using the read command data 3 and the integrity check data 2, and then a signal including the read command data 3, the indicator U3, and the integrity check data 3 is generated. Transmitted to the CRUM chip 210 (S430). After that, as shown in FIG. 4, communication using a plurality of integrity check data 4, 5, 6, T1, and T2 is performed (S440, S450, S460, S470, and S485), and thus integrity check is performed. (S435, S445, S455, S465). On the other hand, when the CRUM chip 210 receives the last communication signal (S470), the CRUM chip 210 transmits and receives data temporarily stored in the entire communication process using the integrity check data T1 included in the last communication signal. Final integrity check (S475). If it is determined that the integrity is the final test result, the temporarily stored data is stored in a nonvolatile memory (not shown) (S480). Similarly, when the last communication signal is also transmitted from the CRUM chip 210 (S485), the main controller 110 also performs a full integrity check using the integrity check data T2 included in the last communication signal (S490). Accordingly, if it is determined that the integrity, the temporarily stored data is stored in the nonvolatile memory (S495).

한편, 이러한 통신 과정에서 사용되는 무결성 검사 데이터들은 이전 통신에서 사용된 무결성 검사 데이터가 누적 반영되어 생성된다. Meanwhile, the integrity check data used in this communication process is generated by accumulating and reflecting the integrity check data used in the previous communication.

일 예로, 무결성 검사 데이터는 다음과 같이 처리될 수 있다.For example, the integrity check data may be processed as follows.

무결성 검사 데이터 1 = E(Read CMD Data 1 |U1)Integrity Check Data 1 = E (Read CMD Data 1 | U1)

무결성 검사 데이터 2 = E(Read CMD Data 2 |Result Data 2 |U2|무결성 검사 데이터 1)Integrity check data 2 = E (Read CMD Data 2 | Result Data 2 | U2 | Integrity check data 1)

무결성 검사 데이터 3 = E(Read CMD Data 3 |U3|무결성 검사 데이터 2)Integrity Check Data 3 = E (Read CMD Data 3 | U3 | Integrity Check Data 2)

무결성 검사 데이터 4 = E(Read CMD Data 4 |Result Data 4 |U4|무결성 검사 데이터 3)Integrity check data 4 = E (Read CMD Data 4 | Result Data 4 | U4 | Integrity check data 3)

무결성 검사 데이터 5 = E(Write CMD Data 5 |U5|무결성 검사 데이터 4)Integrity Check Data 5 = E (Write CMD Data 5 | U5 | Integrity Check Data 4)

무결성 검사 데이터 6 = E(Result Data 6 |U6|무결성 검사 데이터 5)Integrity check data 6 = E (Result Data 6 | U6 | Integrity check data 5)

무결성 검사 데이터 T1 = E(Write CMD Data L1 |U-T1|무결성 검사 데이터 T1-1)Integrity check data T1 = E (Write CMD Data L1 | U-T1 | Integrity check data T1-1)

무결성 검사 데이터 T2 = E(Result Data L2 |U-T2|무결성 검사 데이터 T1)Integrity check data T2 = E (Result Data L2 | U-T2 | Integrity check data T1)

상술한 수식들에서 E()란 기 설정된 수식을 적용하여 결과값을 구하는 함수를 의미한다. 이와 같이 무결성 검사 데이터는 이전 무결성 검사 데이터와 전송할 데이터 전체에 대하여 합산, XOR(eXclusive OR)등과 같은 다양한 논리 연산을 적용하거나, 기타 메인 컨트롤러(110) 및 CRUM 칩(210) 간에 공지된 수식에 데이터를 대입시켜 산출한 결과값, 상술한 다양한 암호화 알고리즘을 적용하여 암호화한 결과값 등으로 생성될 수 있다.In the above formulas, E () means a function of applying a preset formula to obtain a result value. As such, the integrity check data may be applied to various logical operations such as summation, XOR (eXclusive OR), etc. for the entire integrity check data and the entire data to be transmitted, or data in other formulas known between the main controller 110 and the CRUM chip 210. It can be generated as a result calculated by substituting the result, the result obtained by applying a variety of encryption algorithms described above.

도 5는 본 발명의 일 실시 예에 따라 본체(100) 내에 복수 개의 소모품 유닛(200-1, 200-2, ..., 200-n)이 장착된 화상형성장치의 구성을 나타낸다.5 illustrates a configuration of an image forming apparatus in which a plurality of consumable units 200-1, 200-2,..., 200-n are mounted in the main body 100, according to an embodiment of the present disclosure.

도 5에 따르면 화상형성장치는 메인 컨트롤러(110), 사용자 인터페이스부(120), 인터페이스부(130), 메모리부(140), 복수 개의 소모품 유닛(200-1, 200-2, ..., 200-n)을 포함한다. According to FIG. 5, the image forming apparatus includes a main controller 110, a user interface unit 120, an interface unit 130, a memory unit 140, and a plurality of consumable units 200-1, 200-2,. 200-n).

사용자 인터페이스부(120)는 사용자로부터 각종 명령을 입력받거나, 각종 정보를 디스플레이하여 알려주는 역할을 수행한다. 사용자 인터페이스부(120)는 LCD 또는 LED 디스플레이, 적어도 하나의 버튼, 스피커 등을 포함할 수 있으며, 경우에 따라서는 터치 스크린을 포함할 수도 있다. The user interface unit 120 receives various commands from the user, or displays various types of information. The user interface 120 may include an LCD or LED display, at least one button, a speaker, or the like, and in some cases, may include a touch screen.

인터페이스부(130)는 호스트 PC나 다양한 외부 장치들과 유선 또는 무선으로 연결되어 통신을 수행하는 구성을 의미한다. 인터페이스부(130)는 로컬 인터페이스, USB(Universal Serial BUS) 인터페이스, 무선 네트워크 인터페이스 등과 같이 다양한 종류의 인터페이스를 포함할 수 있다.The interface unit 130 refers to a configuration for communicating with a host PC or various external devices by wire or wirelessly. The interface unit 130 may include various types of interfaces such as a local interface, a universal serial bus (USB) interface, a wireless network interface, and the like.

메모리부(140)는 화상형성장치의 구동에 필요한 각종 프로그램이나, 데이터 등을 저장하는 역할을 한다. The memory unit 140 stores various programs, data, and the like necessary for driving the image forming apparatus.

메인 컨트롤러(110)는 화상형성장치의 전반적인 동작을 제어하는 역할을 한다. 구체적으로는, 메인 컨트롤러(110)는 인터페이스부(130)를 통해 수신되는 데이터를 처리하여, 화상 형성이 가능한 포맷으로 변환한다. The main controller 110 controls the overall operation of the image forming apparatus. Specifically, the main controller 110 processes the data received through the interface unit 130 and converts the data into a format capable of forming an image.

그리고 나서, 메인 컨트롤러(110)는 복수의 소모품 유닛(200-1, 200-2, ..., 200-n)을 이용하여 변환된 데이터에 대한 화상 형성 잡을 수행한다. 여기서 소모품 유닛은 화상형성장치의 종류에 따라 다양하게 마련될 수 있다. 상술한 바와 같이 레이저 프린터의 경우, 대전유닛, 노광 유닛, 현상 유닛, 전사유닛, 정착유닛, 각종 롤러, 벨트, OPC 드럼 등이 소모품 유닛이 될 수 있다. Then, the main controller 110 performs an image forming job on the converted data using the plurality of consumable units 200-1, 200-2, ..., 200-n. The consumable unit may be provided in various ways according to the type of the image forming apparatus. As described above, in the case of a laser printer, a charging unit, an exposure unit, a developing unit, a transfer unit, a fixing unit, various rollers, a belt, an OPC drum, or the like may be a consumable unit.

한편, 각 소모품 유닛(200-1, 200-2, ..., 200-n)에는 제1 CRUM 칩 내지 제n CRUM 칩(210-1, 210-2, ..., 210-n)이 각각 포함된다. Meanwhile, each of the consumable units 200-1, 200-2,..., 200-n includes first to n-th CRUM chips 210-1, 210-2,..., 210-n. Each is included.

각 CRUM 칩에는 메모리 및 CPU 등이 포함될 수 있다. 또는, 실시 예에 따라서는, 크립토 유닛(Crypto module), 템퍼 검출기(temper detector), 인터페이스부, 클럭신호를 출력하는 클럭부(미도시)나, 인증을 위한 랜덤값을 생성하는 랜덤값 생성부(미도시) 중 적어도 하나가 더 포함될 수도 있다. Each CRUM chip may include a memory and a CPU. Alternatively, according to an embodiment, a crypto unit, a temper detector, an interface unit, a clock unit for outputting a clock signal (not shown), or a random value generator for generating a random value for authentication may be used. At least one of (not shown) may be further included.

크립토 유닛(미도시)은 암호화 알고리즘을 지원하여, CPU(미도시)가 메인 컨트롤러(110)와의 사이에서 인증이나, 암호화된 통신을 수행할 수 있도록 한다. 구체적으로는, 크립토 유닛은 ARIA, TDES, SEED, AES 대칭키 알고리즘과 같은 4개의 암호화 알고리즘 중 설정된 알고리즘을 지원할 수 있다. 이 경우, 메인 컨트롤러(110) 측에서도 4개의 암호화 알고리즘 중 대응되는 알고리즘을 지원할 수 있다. 이에 따라, 메인 컨트롤러(110)는 소모품 유닛(200)에서 사용되는 암호화 알고리즘이 어떠한 것인지 파악하여 그 암호화 알고리즘으로 인증을 진행한 후, 암호화 통신을 수행할 수 있다. 결과적으로, 소모품 유닛(200)에 어떠한 암호화 알고리즘을 적용한 키(KEY)가 발급되더라도 화상형성장치의 본체(100)에 용이하게 장착되어 암호화 통신을 수행할 수 있게 된다. The crypto unit (not shown) supports an encryption algorithm so that the CPU (not shown) can perform authentication or encrypted communication with the main controller 110. Specifically, the crypto unit may support an algorithm set among four encryption algorithms such as ARIA, TDES, SEED, and AES symmetric key algorithm. In this case, the main controller 110 may also support a corresponding algorithm among four encryption algorithms. Accordingly, the main controller 110 may identify what encryption algorithm is used in the consumable unit 200, perform authentication with the encryption algorithm, and then perform encryption communication. As a result, even if a key to which any encryption algorithm is applied is issued to the consumable unit 200, it is easily mounted on the main body 100 of the image forming apparatus to perform encrypted communication.

템퍼 검출기(미도시)는 다양한 물리적인 해킹 시도, 즉, 템퍼링을 방어하기 위한 유닛이다. 구체적으로는, 전압, 온도, 압력, 빛, 주파수 등의 동작 환경에 대하여 모니터링을 하여, Decap과 같은 시도가 있을 경우, 데이터를 지워버리거나 물리적으로 차단한다. 이 경우, 템퍼 검출기는 별도의 전원을 구비할 수도 있다.A temper detector (not shown) is a unit for defending various physical hacking attempts, i.e., tempering. Specifically, it monitors the operating environment such as voltage, temperature, pressure, light, and frequency, and erases or physically disconnects data when there is an attempt such as Decap. In this case, the temper detector may have a separate power supply.

한편, CRUM 칩(210) 내부에 마련된 메모리는 O/S 메모리, 비휘발성 메모리, 휘발성 메모리 등을 포함할 수 있다. O/S 메모리(미도시)는 소모품 유닛(200)을 구동시키기 위한 O/S를 저장한다. 비휘발성 메모리(미도시)에는 각종 데이터들이 비휘발적으로 저장된다. 비휘발성 메모리에는 전자 서명 정보나, 각종 암호화 알고리즘 정보, 소모품 유닛(200)의 상태 정보(예를 들어, 토너 잔량 정보, 교체 시기 정보, 잔여 인쇄 매수 정보 등), 고유 정보(예를 들어, 제조사 정보, 제조일시 정보, 일련 번호, 제품 모델 명 등), A/S 정보 등의 다양한 정보가 저장될 수 있다. 특히, 메인 컨트롤러(110)와의 통신 과정에서 수신되는 데이터가 비휘발성 메모리에 저장될 수 있다. The memory provided in the CRUM chip 210 may include an O / S memory, a nonvolatile memory, a volatile memory, and the like. An O / S memory (not shown) stores an O / S for driving the consumable unit 200. In the nonvolatile memory (not shown), various data are stored nonvolatile. The nonvolatile memory includes electronic signature information, various encryption algorithm information, status information of the consumable unit 200 (for example, toner remaining amount information, replacement time information, remaining print quantity information, etc.), unique information (for example, a manufacturer). Information, manufacturing date and time information, serial number, product model name, etc.), and after-sales information may be stored. In particular, data received during the communication with the main controller 110 may be stored in the nonvolatile memory.

휘발성 메모리(미도시)는 동작에 필요한 임시 저장 공간으로 사용될 수 있다. 휘발성 메모리에는 매 통신 시마다 무결성으로 판단된 데이터 및 그 판단에 사용된 무결성 검사 데이터들이 임시로 저장될 수 있다.Volatile memory (not shown) may be used as a temporary storage space required for operation. In the volatile memory, data determined as integrity and integrity check data used for the determination may be temporarily stored in every communication.

인터페이스부(미도시)는 CPU와 메인 컨트롤러(110)를 연결시키는 역할을 한다. 구체적으로는, 시리얼 인터페이스나 무선 인터페이스로 구현될 수 있다. 특히, 시리얼 인터페이스는 패러랠 인터페이스에 비하여 적은 수의 신호를 이용하기 때문에 비용 절감의 효과가 있으며, 특히 프린터와 같은 노이즈가 많은 동작 환경에 적합하다.The interface unit (not shown) serves to connect the CPU and the main controller 110. Specifically, it may be implemented as a serial interface or a wireless interface. In particular, since the serial interface uses a smaller number of signals than the parallel interface, the serial interface can reduce costs, and is particularly suitable for a noisy operating environment such as a printer.

이상과 같이 각 소모품 유닛들에는 CRUM 칩이 마련될 수 있다. 각 CRUM 칩은 메인 컨트롤러 및 타 CRUM 칩과 통신을 수행할 수 있다. 통신 시에는 이전 통신 시에 사용된 무결성 검사 데이터가 누적 반영되어 생성된 새로운 무결성 검사 데이터가 전송된다.As described above, each consumable unit may be provided with a CRUM chip. Each CRUM chip can communicate with the main controller and other CRUM chips. In communication, new integrity check data generated by accumulating and reflecting integrity check data used in previous communication is transmitted.

도 6은 본 발명의 일 실시 예에 따른 화상형성장치의 세부 구성 예를 나타내는 블럭도이다. 도 6에 따르면, 화상형성장치는 메인 컨트롤러(110) 및 인터페이스부(130)를 포함하며, 메인 컨트롤러(110)는 데이터 처리부(111), 생성부(112), 검사부(113), 제어부(114)를 포함한다.6 is a block diagram illustrating a detailed configuration example of an image forming apparatus according to an exemplary embodiment. According to FIG. 6, the image forming apparatus includes a main controller 110 and an interface unit 130, and the main controller 110 includes a data processor 111, a generator 112, an inspector 113, and a controller 114. ).

데이터 처리부(111)는 화상형성장치에 장착 가능한 소모품유닛에 탑재된 CRUM칩으로 전송할 데이터를 생성한다. 여기서, 데이터란 코맨드 및 그 코맨드에 의해 처리될 정보 중 적어도 하나를 포함한다. 즉, 리드 코맨드인 경우에는 리드할 메모리 주소 또는 리드 대상에 대한 정보가 함께 전송될 수 있다. 또한, 쓰기 코맨드일 경우에는 기록할 정보가 함께 전송될 수 있다. 데이터 처리부(111)는 데이터를 그대로 또는 암호화하여 출력할 수 있다. 그 밖에, 인증을 위한 코맨드 등과 같은 다양한 코맨드 들과 그 코맨드와 관련된 정보들이 데이터 처리부(111)에서 생성될 수 있다. 이러한 코맨드 및 정보들은 화상형성잡의 수행 전이나 수행 중 또는 수행 후에 걸쳐서 수시로 생성될 수 있다. 예를 들어, 화상형성장치가 턴-온되거나 소모품 유닛(200)이 탈착되었다가 다시 장착되었을 때, 또는 화상형성잡에 대한 개시 명령이 입력되었을 때, 메인 컨트롤러(110)는 소모품 유닛(200)에 대한 인증을 위하여 인증 코맨드 또는 리드 코맨드를 전송할 수 있다. 이에 따라, 소모품 유닛(200) 내에서 자체적으로 관리되고 있는 다양한 정보들을 확인하여 인증을 하거나, 화상형성장치(100) 본체의 메모리부(140)에 저장할 수 있다.The data processing unit 111 generates data to be transmitted to the CRUM chip mounted in the consumable unit mountable in the image forming apparatus. Here, the data includes at least one of a command and information to be processed by the command. That is, in the case of a read command, information about a memory address to be read or a read target may be transmitted together. In the case of a write command, information to be recorded may be transmitted together. The data processor 111 may output the data as it is or encrypted. In addition, various commands such as a command for authentication and information related to the command may be generated in the data processor 111. Such commands and information may be generated from time to time before, during or after the execution of the image forming job. For example, when the image forming apparatus is turned on or when the consumable unit 200 is detached and remounted, or when a start command for the image forming job is input, the main controller 110 may execute the consumable unit 200. An authentication command or a lead command may be transmitted for authentication. Accordingly, various types of information managed in the consumable unit 200 may be checked and authenticated, or may be stored in the memory unit 140 of the main body of the image forming apparatus 100.

또한, 화상 형성 잡 수행 중 또는 수행 완료 후에는, 데이터 처리부(111)는 화상형성잡에서 소모된 소모품, 즉, 잉크나 토너에 대한 정보나 인쇄 페이지 수, 인쇄 도트 수, 인쇄를 수행한 사용자의 이력 정보 등을 소모품 유닛(200)에 기록하기 위하여 쓰기 코맨드 및 해당 정보를 생성할 수 있다. In addition, during or after the image forming job is executed, the data processing unit 111 supplies consumables consumed in the image forming job, that is, information about ink or toner, the number of printed pages, the number of printed dots, In order to record the history information and the like in the consumable unit 200, a write command and corresponding information may be generated.

생성부(112)는 데이터 처리부(111)에서 출력되는 데이터를 이용하여 무결성 검사 데이터를 생성한다. 구체적으로는, 데이터 처리부(111)에서 출력되는 데이터를 단순 합하거나, XOR과 같은 논리 연산을 수행하거나, 기 설정된 수학식에 대입하거나, 암호화 알고리즘을 이용하여 암호화하여, 그 결과값을 무결성 검사 데이터로 출력할 수 있다. 이 경우, 이전 통신 시에 사용된 무결성 검사 데이터가 존재하면, 그 기존의 무결성 검사 데이터까지 함께 누적 반영하여 무결성 검사 데이터를 생성한다. The generation unit 112 generates integrity check data using the data output from the data processing unit 111. Specifically, the data output from the data processing unit 111 is simply summed, a logical operation such as XOR is performed, substituted into a preset equation, or encrypted using an encryption algorithm, and the result value is integrity check data. You can output In this case, if the integrity check data used in the previous communication exists, the integrity check data is generated by cumulatively reflecting the existing integrity check data.

생성부(112)에서 생성한 무결성 검사 데이터는 데이터 처리부(111)에서 생성한 데이터에 부가되어 인터페이스부(130)로 전송된다. 도 6에서는 데이터 처리부(111)의 출력이 생성부(112)로만 제공되는 것처럼 도시되었으나, 데이터 처리부(111)의 출력은 인터페이스부(130)로 직접 제공되거나, 멀티플렉서(미도시)에 제공될 수 있다. 멀티플렉서가 마련된 경우, 생성부(112)의 출력 역시 멀티플렉서로 제공되어, 데이터 및 무결성 검사 데이터가 함께 포함된 신호 형태로 인터페이스부(130)로 전달될 수 있다. The integrity check data generated by the generator 112 is added to the data generated by the data processor 111 and transmitted to the interface unit 130. In FIG. 6, the output of the data processing unit 111 is illustrated as being provided only to the generation unit 112, but the output of the data processing unit 111 may be provided directly to the interface unit 130 or may be provided to a multiplexer (not shown). have. When the multiplexer is provided, the output of the generator 112 may also be provided to the multiplexer, and may be delivered to the interface unit 130 in the form of a signal including data and integrity check data.

인터페이스부(130)는 데이터 및 제1 무결성 검사 데이터를 포함하는 신호를 CRUM칩(210)으로 전송한다.The interface unit 130 transmits a signal including the data and the first integrity check data to the CRUM chip 210.

또한, 인터페이스부(130)는 CRUM 칩(210)으로부터 응답 신호를 수신할 수 있다. 설명의 편의를 위하여 인터페이스부(130)에서 전송한 신호를 제1 신호라 명명하고, CRUM 칩으로부터 수신되는 신호를 제2 신호라 명명한다. 제2 신호에 포함된 제2 무결성 검사 데이터는 제1 무결성 검사 데이터가 누적 반영되어 생성된 데이터이다.In addition, the interface unit 130 may receive a response signal from the CRUM chip 210. For convenience of description, a signal transmitted from the interface unit 130 is called a first signal, and a signal received from a CRUM chip is called a second signal. The second integrity check data included in the second signal is data generated by cumulatively reflecting the first integrity check data.

검사부(113)는 인터페이스부(130)를 통해 수신된 제2 신호에 포함된 제2 무결성 검사 데이터를 분리하여, 제2 신호에 포함된 데이터의 무결성을 검사한다. 구체적으로는, 검사부(113)는 제2 무결성 검사 데이터가 분리된 나머지 데이터 및 메인 컨트롤러(110)가 이전에 전송하였던 무결성 검사 데이터에 대해, CRUM칩(210)과의 사이에서 기지인(known) 방식을 적용하여, 무결성 검사 데이터를 생성한다. The inspection unit 113 separates the second integrity check data included in the second signal received through the interface unit 130 and checks the integrity of the data included in the second signal. Specifically, the inspection unit 113 is known between the CRUM chip 210 and the remaining data from which the second integrity inspection data is separated and the integrity inspection data previously transmitted by the main controller 110. Apply the method to generate integrity check data.

이에 따라 생성된 무결성 검사 데이터와, 제2 신호로부터 분리된 제2 무결성 검사 데이터를 비교하여 일치 여부를 확인한다. 확인 결과 일치하면 검사부(113)는 해당 데이터는 무결성이라고 판단하고, 불일치하면 해당 데이터는 에러 상태라고 판단한다.The integrity check data generated accordingly and the second integrity check data separated from the second signal are compared to confirm whether there is a match. If the result of the check matches, the inspecting unit 113 determines that the data is integrity, and if not, the check unit 113 determines that the data is in an error state.

제어부(114)는 검사부(114)의 검사 결과에 따라 후속 통신을 수행한다. 즉, 제2 신호가 에러 상태의 데이터를 포함한다고 판단되면 후속 통신을 중단하거나, 재시도를 할 수 있다. 반면, 제2 신호가 정상 상태, 즉, 무결성 상태라고 판단되면 후속 통신을 수행한다.The control unit 114 performs subsequent communication according to the inspection result of the inspection unit 114. That is, when it is determined that the second signal includes data in an error state, subsequent communication may be stopped or retried. On the other hand, if it is determined that the second signal is in a normal state, that is, an integrity state, subsequent communication is performed.

실시 예에 따라, 제어부(114)는 무결성 상태라고 판단되면, 해당 데이터를 바로 메모리부(140)에 저장할 수 있다.According to an embodiment, if it is determined that the integrity state, the controller 114 may directly store the corresponding data in the memory unit 140.

다른 실시 예에 따르면, 매 통신 시에는 획득되는 데이터 및 무결성 검사 데이터를 임시 저장시켜 두고, 최종 통신이 완료되면 임시 저장된 데이터를 메모리부(140)에 기록하여 둘 수도 있다.According to another embodiment, the data and integrity check data obtained may be temporarily stored in every communication, and the temporarily stored data may be recorded in the memory unit 140 when the final communication is completed.

도 7은 이러한 실시 예에 따른 화상형성장치의 구성을 나타낸다. 도 7에 따르면, 데이터 처리부(111), 생성부(112), 검사부(113), 제어부(114)를 포함하는 메인 컨트롤러(110), 인터페이스부(130) 이외에 메모리부(140)를 더 포함한다. 메모리부(140)에는 임시 저장부(141) 및 저장부(142)가 포함된다.7 shows a configuration of an image forming apparatus according to this embodiment. According to FIG. 7, the memory controller 140 may be further included in addition to the main controller 110 and the interface unit 130 including the data processor 111, the generator 112, the inspector 113, and the controller 114. . The memory unit 140 includes a temporary storage unit 141 and a storage unit 142.

이에 따라, 임시 저장부(141)에는 무결성으로 판단된 데이터 및 무결성 검사 데이터가 임시 저장될 수 있다. 임시 저장된 무결성 검사 데이터는 후속 통신 과정에서 데이터의 무결성 검사 시에 사용될 수 있다.Accordingly, the data determined to be integrity and integrity check data may be temporarily stored in the temporary storage unit 141. The temporarily stored integrity check data can be used during the integrity check of the data in a subsequent communication process.

즉, 상술한 바와 같이 제1 무결성 검사 데이터를 포함한 제1 신호가 CRUM 칩(210)으로 전송된 이후에 제1 신호에 대한 제2 신호가 전송된 경우, 검사부(113)는 제2 신호로부터 제2 무결성 검사 데이터를 분리하고, 나머지 데이터와 임시 저장부(141)에 저장된 무결성 검사 데이터를 이용하여, 새로운 무결성 검사 데이터, 즉, 비교 대상 데이터를 생성한다. 그리고 나서, 검사부(113)는 생성된 새로운 무결성 검사 데이터와 임시 저장부(141)에 제2 무결성 검사 데이터를 비교하여 제2 신호 또는 제2 신호에 포함된 데이터의 무결성을 판단할 수 있다.That is, when the second signal for the first signal is transmitted after the first signal including the first integrity check data is transmitted to the CRUM chip 210 as described above, the inspection unit 113 may generate a second signal from the second signal. 2 The integrity check data is separated, and new integrity check data, that is, comparison target data is generated using the remaining check data and the integrity check data stored in the temporary storage unit 141. Then, the inspection unit 113 may compare the generated new integrity check data with the second integrity check data in the temporary storage unit 141 to determine the integrity of the second signal or the data included in the second signal.

한편, 생성부(112)는, 제2 신호가 무결성인 상태에서 CRUM 칩(210)으로 전송할 후속 데이터가 존재하면, 후속 데이터 및 제2 무결성 검사 데이터를 기초로 제3 무결성 검사 데이터를 생성한다. 이에 따라, 인터페이스부(130)는 제3 무결성 검사 데이터 및 후속 데이터를 포함하는 제3 신호를 CRUM 칩(210)으로 전송한다. 즉, 도 2 내지 도 4에서 설명한 바와 같이 메인 컨트롤러(110)와 CRUM 칩(210)은 여러 번의 통신을 수행한다. Meanwhile, if there is subsequent data to be transmitted to the CRUM chip 210 while the second signal is integrity, the generation unit 112 generates third integrity check data based on the subsequent data and the second integrity check data. Accordingly, the interface unit 130 transmits a third signal including the third integrity check data and subsequent data to the CRUM chip 210. That is, as described with reference to FIGS. 2 to 4, the main controller 110 and the CRUM chip 210 communicate several times.

한편, 검사부(113)는, 하나의 화상 형성 잡이 완료되면, 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사할 수 있다. 즉, 상술한 바와 같이 매 통신 시에 송수신되는 무결성 검사 데이터는 이전 무결성 검사 데이터가 누적 반영되어 생성되는 것이므로 최종 무결성 검사 데이터에는 최초 무결성 검사 데이터부터 바로 이전 무결성 검사 데이터까지 모두 포함되어 있는 상태이다. 따라서, 이러한 최종 무결성 검사 데이터를 이용하여 데이터가 무결성이라고 판단되면, 전체 통신 내용에 대하여 신뢰성이 있다고 판단하여 임시 저장되어 있던 전체 데이터들을 메모리부(140) 내의 저장부(142)에 저장한다. On the other hand, when one image forming job is completed, the inspection unit 113 uses the final integrity check data included in the signal received last during the image forming job to perform the integrity of the entire signal received during the image forming job. Can be final tested. That is, as described above, since the integrity check data transmitted and received at each communication is generated by accumulating and reflecting the previous integrity check data, the final integrity check data includes all of the first integrity check data and the previous integrity check data. Therefore, when it is determined that the data is integrity using the final integrity check data, it is determined that the reliability of the entire communication contents is reliable and all the temporarily stored data are stored in the storage unit 142 in the memory unit 140.

한편, 메인 컨트롤러(110)와 CRUM 칩(210)은 최초 통신 시에는 최초 통신임을 알리는 표시를 신호에 포함시켜 전송하고, 최종 통신 시에는 최종 통신임을 알리는 표시를 신호에 포함시켜 전송한다. 이에 따라, 메인 컨트롤러(110)와 CRUM 칩(210)은 상대로부터 수신된 신호에 최종 통신 표시가 확인되면, 상술한 최종 검사를 수행하여 데이터들을 저장부(142)에 저장한다. On the other hand, the main controller 110 and the CRUM chip 210 includes the signal indicating that the first communication in the first communication in the first communication, and transmits the signal indicating the final communication in the signal during the final communication. Accordingly, the main controller 110 and the CRUM chip 210 store the data in the storage unit 142 by performing the above-mentioned final inspection when the final communication indication is confirmed on the signal received from the counterpart.

이러한 최종 검사는 하나의 화상형성잡이 완료되었을 때에 수행될 수도 있으며, 실시 예에 따라서는 기 설정된 시간 주기 단위로 수행될 수도 있다. 또한, 데이터 저장을 위한 사용자 명령이 입력되었을 경우나, 화상형성장치에 대한 턴-오프 명령이 입력되었을 경우 등에도 수행될 수 있다. This final inspection may be performed when one image forming job is completed, or may be performed in predetermined time periods according to an embodiment. Also, the operation may be performed when a user command for data storage is input or when a turn-off command for the image forming apparatus is input.

또한, 도 6 및 도 7에서는 데이터 처리부(111), 생성부(112), 검사부(113), 제어부(114)가 메인 컨트롤러(110)에 포함되는 구성으로 도시하였으나, 반드시 이에 한정되는 것은 아니다. 즉, 데이터 처리부(111), 생성부(112), 검사부(113), 제어부(114) 중 적어도 하나는 메인 컨트롤러(110)와 별도로 마련될 수도 있다. 이 경우, 도 1 내지 도 4에서 설명한 바와 달리, 메인 컨트롤러(110)는 원 기능만을 수행하고 CRUM 칩(210)과의 통신은 데이터 처리부(111), 생성부(112), 검사부(113), 제어부(114) 등에 의해 수행될 수도 있다.In addition, although the data processor 111, the generator 112, the inspector 113, and the controller 114 are included in the main controller 110 in FIGS. 6 and 7, the present invention is not limited thereto. That is, at least one of the data processor 111, the generator 112, the inspector 113, and the controller 114 may be provided separately from the main controller 110. In this case, unlike the description of FIGS. 1 to 4, the main controller 110 performs only the original function and communication with the CRUM chip 210 is performed by the data processor 111, the generator 112, the inspector 113, It may be performed by the control unit 114 or the like.

도 8은 본 발명의 일 실시 예에 따른 CRUM 칩(210)의 구성을 나타내는 블럭도이다. 도 8에 따르면, CRUM 칩(210)은 인터페이스부(211), 검사부(212), 생성부(213), 데이터 처리부(214), 제어부(215), 임시 저장부(216), 저장부(217)를 포함한다. 8 is a block diagram illustrating a configuration of a CRUM chip 210 according to an embodiment of the present invention. According to FIG. 8, the CRUM chip 210 includes an interface unit 211, an inspection unit 212, a generation unit 213, a data processing unit 214, a control unit 215, a temporary storage unit 216, and a storage unit 217. ).

인터페이스부(211)는 화상형성장치의 본체, 특히, 그 본체에 장착된 메인 컨트롤러(110)로부터 제1 데이터 및 제1 데이터에 대한 제1 무결성 검사 데이터를 포함하는 제1 신호를 수신한다. The interface unit 211 receives a first signal including first data and first integrity check data for the first data from a main body of the image forming apparatus, in particular, the main controller 110 mounted in the main body.

검사부(212)는 제1 신호로부터 제1 무결성 검사 데이터를 분리하여, 제1 신호의 무결성을 검사한다. 검사부(212)의 검사 방법은 상술한 부분에서 설명한 바 있으므로, 중복 설명은 생략한다. The inspection unit 212 separates the first integrity check data from the first signal and checks the integrity of the first signal. Since the inspection method of the inspection unit 212 has been described above, a redundant description thereof will be omitted.

임시 저장부(216)는 제1 신호가 무결성이라고 판단되면, 제1 데이터 및 제1 무결성 검사 데이터를 임시 저장한다.When it is determined that the first signal is integrity, the temporary storage unit 216 temporarily stores the first data and the first integrity check data.

데이터 처리부(214)는 화상형성장치의 본체로 전송하여야 하는 제2 데이터가 존재하는 경우, 제2 데이터를 생성한다. The data processor 214 generates the second data when the second data to be transmitted to the main body of the image forming apparatus exists.

생성부(213)는 생성된 제2 데이터와 제1 무결성 검사 데이터를 이용하여, 제2 무결성 검사 데이터를 생성한다.The generation unit 213 generates the second integrity check data by using the generated second data and the first integrity check data.

제어부(215)는 제2 데이터와 제2 무결성 검사 데이터를 포함하는 제2 신호를 화상형성장치의 본체로 전송하도록 인터페이스부를 제어한다. 그 밖에, 제어부(215)는 CRUM 칩(215) 전반의 동작을 제어한다. 즉, 상술한 바와 같이 CRUM 칩이 자체적으로 O/S를 구비하고 있는 경우, 제어부(215)는 O/S를 이용하여 CRUM 칩을 구동시킬 수 있다. 특히, 초기화 프로그램이 저장되어 있다면, 초기화도 화상형성장치의 본체와 별개로 수행할 수도 있다. The controller 215 controls the interface unit to transmit a second signal including the second data and the second integrity check data to the main body of the image forming apparatus. In addition, the controller 215 controls the overall operation of the CRUM chip 215. That is, when the CRUM chip has its own O / S as described above, the controller 215 may drive the CRUM chip using the O / S. In particular, if the initialization program is stored, the initialization may be performed separately from the main body of the image forming apparatus.

또한, 제어부(215)는 화상형성장치의 본체로부터 수신되는 각종 코맨드에 대응되는 작업을 수행한다. 즉, 읽기 코맨드가 수신된 경우에는, 그 코맨드에 따라 저장부(217)에 저장된 데이터를 리딩하여 인터페이스부(211)를 통해 화상형성장치로 전송한다. 이러한 과정에서 무결성 검사 데이터가 부가될 수 있다.In addition, the controller 215 may perform tasks corresponding to various commands received from the main body of the image forming apparatus. That is, when a read command is received, data stored in the storage unit 217 is read and transmitted to the image forming apparatus through the interface unit 211 according to the command. In this process, integrity check data may be added.

한편, 검사부(212)는, 제2 무결성 검사 데이터가 누적적으로 반영되어 생성된 제3 무결성 검사 데이터를 포함하는 제3 신호가 인터페이스부(211)를 통해 수신되면 제3 신호에 대한 무결성 검사를 수행한다.Meanwhile, when the third signal including the third integrity check data generated by cumulatively reflecting the second integrity check data is received through the interface unit 211, the check unit 212 performs an integrity check on the third signal. To perform.

그리고, 화상 형성 잡이 완료되면, 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사한다. When the image forming job is completed, the final integrity check of the entire signal received in the image forming job is finally inspected using the final integrity check data included in the signal received last in the image forming job.

검사 결과 통신이 무결성 상태로 완료되었다면, 임시 저장부(216)에 임시 저장되어 있던 데이터들은 저장부(217)로 저장된다. As a result of the check, if the communication is completed in an integrity state, the data temporarily stored in the temporary storage unit 216 are stored in the storage unit 217.

즉, 제어부(215)는 통신이 최종 종료되면, 마지막 무결성 검사 데이터를 이용하여 최종 검사를 수행하도록 검사부(212)를 제어한다. 이에 따라, 검사부(212)의 최종 검사 결과, 무결성이라고 판단되면, 제어부(215)는 임시 저장부(216)에 임시 저장되어 있던 데이터를 저장부(217)에 저장한다.That is, when communication is finally terminated, the controller 215 controls the inspection unit 212 to perform a final inspection using the last integrity check data. Accordingly, when the final inspection result of the inspection unit 212 is determined to be integrity, the control unit 215 stores the data temporarily stored in the temporary storage unit 216 in the storage unit 217.

도 8의 CRUM 칩(210)의 동작 역시 도 7의 화상형성장치의 동작과 유사하다. 즉, 화상형성장치의 메인 컨트롤러(110) 및 소모품 유닛(200)의 CRUM 칩(210)은 도 1 내지 도 4에서 설명한 바와 같이, 서로 대응되는 동작을 수행한다. 따라서, 양측에는 무결성 검사 데이터를 생성하고, 이를 이용하여 검사하는 알고리즘이 공통적으로 마련되어 있어야 한다. The operation of the CRUM chip 210 of FIG. 8 is also similar to that of the image forming apparatus of FIG. 7. That is, the main controller 110 of the image forming apparatus and the CRUM chip 210 of the consumable unit 200 perform operations corresponding to each other as described with reference to FIGS. 1 to 4. Therefore, both sides should be provided with an algorithm that generates integrity check data and checks the data in common.

도 9는 본 발명의 일 실시 예에 따른 통신 방법을 설명하기 위한 흐름도이다. 도 9에서 설명하는 통신 방법은, 화상형성장치의 본체에 마련된 메인 컨트롤러(110)에서 수행될 수도 있고, 소모품 유닛(200)에 마련된 CRUM 칩(210)에서 수행될 수도 있다.9 is a flowchart illustrating a communication method according to an embodiment of the present invention. The communication method illustrated in FIG. 9 may be performed by the main controller 110 provided in the main body of the image forming apparatus, or may be performed by the CRUM chip 210 provided in the consumable unit 200.

도 9에 따르면, 전송할 데이터가 생성되면(S910), 이를 이용하여 무결성 검사 데이터를 생성한다(S920). 무결성 검사 데이터의 생성에 대해서는 상술한 바와 같으므로 구체적인 설명은 생략한다.According to FIG. 9, when data to be transmitted is generated (S910), integrity check data is generated using the generated data (S920). Since the generation of the integrity check data has been described above, a detailed description thereof will be omitted.

그리고 나서, 생성된 무결성 검사 데이터와 데이터를 포함하는 신호를 전송한다(S930). Then, a signal including the generated integrity check data and data is transmitted (S930).

이에 따라 상대측으로부터, 전송된 신호에 대응되는 응답 신호를 수신한다(S940). 응답 신호에는 S930에서 전송한 무결성 검사 데이터가 누적 반영되어 생성된 새로운 무결성 검사 데이터가 포함된다. Accordingly, a response signal corresponding to the transmitted signal is received from the counterpart (S940). The response signal includes new integrity check data generated by accumulating and reflecting the integrity check data transmitted from S930.

이에 따라, 응답 신호에 포함된 무결성 검사 데이터를 이용하여, 무결성 검사를 수행한다(S950).Accordingly, the integrity check is performed using the integrity check data included in the response signal (S950).

이와 같이, 본 발명의 간단한 적용에 따르면, 이전 무결성 검사 데이터를 누적적으로 사용하여, 매 통신의 무결성을 판단할 수 있다.As such, according to the simple application of the present invention, the integrity of each communication can be determined by accumulating the previous integrity check data.

도 10은 좀 더 구체적인 실시 예에 따른 통신 방법을 설명하기 위한 흐름도이다. 도 10에 따르면, 전송할 데이터가 생성된 경우(S1010), 그 데이터에 기초하여 무결성 검사 데이터를 생성한다(S1020). 그리고 나서, 데이터 및 무결성 검사 데이터를 포함하는 신호를 전송하고(S1030), 그 신호에 대한 응답 신호를 수신한다(S1040). 이에 따라, 응답 신호로부터 무결성 검사 데이터를 분리한다(S1050).10 is a flowchart illustrating a communication method according to a more specific embodiment. According to FIG. 10, when data to be transmitted is generated (S1010), integrity check data is generated based on the data (S1020). Then, a signal including data and integrity check data is transmitted (S1030), and a response signal for the signal is received (S1040). Accordingly, the integrity check data is separated from the response signal (S1050).

그리고 나서, 무결성 검사 데이터가 분리된 나머지 데이터와, 기존 무결성 검사 데이터를 이용하여 무결성 여부를 판단한다(S1060).Then, the integrity check data is determined using the remaining data from which the integrity check data is separated and the existing integrity check data (S1060).

판단 결과 무결성이라면 임시 저장하고(S1070), 에러 상태라면 통신을 중단하거나(S1100) 재시도를 수행한다.If the determination result is integrity, it is temporarily stored (S1070), if it is an error state, the communication is stopped (S1100) or retry is performed.

한편, 임시 저장된 상태에서 후속 데이터가 존재하면(S1080), 다시 상술한 단계를 반복적으로 수행한다. 반면, 후속 데이터가 존재하지 않으면 최종 수신된 신호의 무결성 검사 결과에 따라, 임시 저장된 데이터를 저장한다(S1090). On the other hand, if there is subsequent data in the temporarily stored state (S1080), the above-described steps are repeatedly performed. On the other hand, if there is no subsequent data, according to the integrity check result of the last received signal, temporarily stored data is stored (S1090).

이상과 같은 여러 실시 예들에서 무결성 검사 데이터는, 데이터 통신을 최초 개시할 때 화상형성장치의 메인 컨트롤러에서 전송하는 무결성 검사 데이터를 제외하면, 이전 통신 시의 무결성 검사 데이터가 누적 반영되어 생성된다. 결과적으로 최종 통신 시의 무결성 검사 데이터에는 전체 통신 과정에서 사용된 무결성 검사 데이터가 모두 포함된다. 따라서, 정확한 데이터를 기록할 수 있다.In various embodiments as described above, the integrity check data is generated by accumulating and reflecting the integrity check data of the previous communication except for the integrity check data transmitted from the main controller of the image forming apparatus when the data communication is first started. As a result, the integrity check data in the final communication includes all the integrity check data used in the entire communication process. Therefore, accurate data can be recorded.

결과적으로 통신 시에 발생하는 노이즈나 접점 불량, 해킹 등과 같은 외부적 요인으로부터 메인 컨트롤러와 CRUM 칩의 정보를 안전하게 보호할 수 있게 된다.As a result, information on the main controller and the CRUM chip can be safely protected from external factors such as noise, bad contact, and hacking that occur during communication.

한편, 상술한 여러 실시 예들에서는 화상형성장치와 그 장치에서 사용되는 소모품 유닛에 탑재되는 CRUM 칩을 기준으로 설명하였으나, 상술한 통신 방법은 다른 유형의 장치에도 적용될 수 있다. 가령, 화상형성장치가 아니라 CRUM 칩과의 통신을 위하여 제작된 장치와 CRUM 칩 간의 통신의 경우, 일반 전자 장치와 그 장치에 사용되는 부품에 탑재된 메모리 간의 통신의 경우, 부품들 간의 통신의 경우 등에도 본 발명의 내용이 적용될 수 있음은 자명하다. Meanwhile, in the above-described embodiments, the CRUM chip mounted on the image forming apparatus and the consumable unit used in the apparatus has been described, but the above-described communication method may be applied to other types of apparatuses. For example, communication between a CRUM chip and a device manufactured for communication with a CRUM chip, not an image forming device, communication between a general electronic device and a memory mounted on a part used in the device, communication between parts It is apparent that the contents of the present invention can also be applied to and the like.

상술한 본 발명의 다양한 실시 예들에 따른 통신 방법을 수행하기 위한 프로그램은 다양한 유형의 기록 매체에 저장되어 사용될 수 있다. The program for performing the communication method according to various embodiments of the present disclosure described above may be stored and used in various types of recording media.

구체적으로는, 상술한 방법들을 수행하기 위한 코드는, RAM(Random Access Memory), 플레시메모리, ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electronically Erasable and Programmable ROM), 레지스터, 하드디스크, 리무버블 디스크, 메모리 카드, USB 메모리, CD-ROM 등과 같이, 단말기에서 판독 가능한 다양한 유형의 기록 매체에 저장되어 있을 수 있다. Specifically, the code for performing the above-described methods may include random access memory (RAM), flash memory, read only memory (ROM), erasable programmable ROM (EPROM), electronically erasable and programmable ROM (EEPROM), registers, hard drives. It may be stored in various types of recording media readable by the terminal, such as a disk, a removable disk, a memory card, a USB memory, a CD-ROM, and the like.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the present invention.

100 : 본체 110 : 메인 컨트롤러
200 : 소모품 유닛 210 : CRUM 칩
100: main body 110: main controller
200: consumable unit 210: CRUM chip

Claims (12)

화상형성장치의 소모품유닛에 장착 가능한 CRUM칩에 있어서,
상기 화상형성장치의 본체로부터 제1 데이터 및 상기 제1 데이터에 대한 제1 무결성 검사 데이터를 포함하는 제1 신호를 수신하는 인터페이스부;
상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하여, 상기 제1 신호의 무결성을 검사하는 검사부;
상기 화상형성장치의 본체로 전송하여야 하는 제2 데이터를 생성하는 데이터 처리부;
상기 제2 데이터와 상기 제1 무결성 검사 데이터를 이용하여, 제2 무결성 검사 데이터를 생성하는 생성부;
상기 제2 데이터와 상기 제2 무결성 검사 데이터를 포함하는 제2 신호를 상기 화상형성장치의 본체로 전송하도록 상기 인터페이스부를 제어하는 제어부;를 포함하는 CRUM 칩.
A CRUM chip mountable on a consumable unit of an image forming apparatus,
An interface unit for receiving a first signal including first data and first integrity check data for the first data from a main body of the image forming apparatus;
A checker configured to check the integrity of the first signal by separating the first integrity check data from the first signal;
A data processor for generating second data to be transmitted to the main body of the image forming apparatus;
A generation unit configured to generate second integrity check data by using the second data and the first integrity check data;
And a controller configured to control the interface unit to transmit a second signal including the second data and the second integrity check data to a main body of the image forming apparatus.
제1항에 있어서,
상기 제1 신호가 무결성이라고 판단되면, 상기 제1 신호에 포함된 상기 데이터 및 상기 제1 무결성 검사 데이터를 임시 저장하는 임시 저장부; 및
상기 임시 저장부에 임시 저장된 데이터를 기록하기 위한 저장부;를 더 포함하는 CRUM 칩.
The method of claim 1,
A temporary storage unit that temporarily stores the data and the first integrity check data included in the first signal when it is determined that the first signal is integrity; And
And a storage unit for recording data temporarily stored in the temporary storage unit.
제2항에 있어서,
상기 검사부는,
상기 제1 신호에 포함된 나머지 데이터를 이용하여 비교 대상 데이터를 생성하고, 상기 제2 신호로부터 분리된 상기 제2 무결성 검사 데이터와 상기 비교 대상 데이터를 비교하여, 일치하면 상기 제2 신호가 무결성이라고 판단하고, 불일치하면 에러 상태라고 판단하는 것을 특징으로 하는 CRUM 칩.
The method of claim 2,
Wherein,
The comparison target data is generated using the remaining data included in the first signal, and the second integrity check data separated from the second signal is compared with the comparison target data. CRUM chip, characterized in that judging, if the mismatch is determined to be an error state.
제3항에 있어서,
상기 검사부는,
상기 제2 무결성 검사 데이터가 누적적으로 반영되어 생성된 제3 무결성 검사 데이터를 포함하는 제3 신호가 상기 인터페이스부를 통해 수신되면 상기 제3 신호에 대한 무결성 검사를 수행하고,
화상 형성 잡이 완료되면, 상기 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 상기 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사하며,
상기 제어부는, ,
상기 최종 검사 결과, 상기 전체 신호가 무결성이라고 판단되면 상기 임시 저장부에 임시 저장되어 있던 데이터들을 상기 저장부에 저장하는 것을 특징으로 하는 CRUM 칩.
The method of claim 3,
Wherein,
When the third signal including the third integrity check data generated by cumulatively reflecting the second integrity check data is received through the interface unit, the integrity check is performed on the third signal.
When the image forming job is completed, the final integrity check of the entire signal received in the process of performing the image forming job is performed by using the final integrity check data included in the signal received last in the process of performing the image forming job,
The control unit,
And if it is determined that the entire signal is integrity, the CRUM chip stores data temporarily stored in the temporary storage unit in the storage unit.
제1항 내지 제4항 중 어느 한 항에 있어서,
상기 제1 데이터 또는 상기 제2 데이터는,
코맨드, 기록 대상 정보, 상기 코맨드에 따른 작업 수행 결과 정보, 이전 수신 신호에 대한 무결성 검사 결과 정보 및 상기 무결성 검사 데이터의 위치를 알리기 위한 인디케이터 정보 중 적어도 하나를 포함하며,
상기 무결성 검사 결과 정보는, 상기 CRUM 칩과의 사이에서 최초 송신되는 신호에서는 배제되는 것을 특징으로 하는 CRUM 칩.
5. The method according to any one of claims 1 to 4,
The first data or the second data,
At least one of a command, recording target information, work performance result information according to the command, integrity check result information about a previous received signal, and indicator information for indicating a location of the integrity check data,
And the integrity check result information is excluded from a signal initially transmitted to the CRUM chip.
제5항에 있어서,
상기 무결성 검사 데이터는, 상기 데이터를 논리 연산한 결과값, 상기 데이터에 대해 기 설정된 수학식을 적용하여 생성한 결과값 또는 상기 데이터를 암호화한 암호화 결과값인 것을 특징으로 하는 CRUM 칩.
The method of claim 5,
The integrity check data is a CRUM chip, characterized in that the result of the logical operation of the data, the result generated by applying a predetermined equation to the data or the encryption result of encrypting the data.
화상형성장치의 소모품유닛에 장착 가능한 CRUM칩의 통신 방법에 있어서,
상기 화상형성장치의 본체로부터 제1 데이터 및 상기 제1 데이터에 대한 제1 무결성 검사 데이터를 포함하는 제1 신호를 수신하는 단계;
상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하여, 상기 제1 신호의 무결성을 검사하는 검사 단계;
상기 제1 신호가 무결성이라고 판단되면, 상기 제1 신호에 포함된 상기 데이터 및 상기 제1 무결성 검사 데이터를 임시 저장하는 단계;
상기 화상형성장치의 본체로 전송하여야 하는 제2 데이터가 존재하는 경우, 상기 제2 데이터를 생성하는 단계;
상기 제2 데이터와 상기 제1 무결성 검사 데이터를 이용하여, 제2 무결성 검사 데이터를 생성하는 단계; 및,
상기 제2 데이터와 상기 제2 무결성 검사 데이터를 포함하는 제2 신호를 상기 화상형성장치의 본체로 전송하는 단계;를 포함하는 CRUM 칩의 통신 방법.
In the communication method of the CRUM chip attachable to the consumable unit of the image forming apparatus,
Receiving a first signal including first data and first integrity check data for the first data from a main body of the image forming apparatus;
Checking the integrity of the first signal by separating the first integrity check data from the first signal;
If it is determined that the first signal is integrity, temporarily storing the data and the first integrity check data included in the first signal;
Generating second data when there is second data to be transmitted to the main body of the image forming apparatus;
Generating second integrity check data using the second data and the first integrity check data; And
And transmitting a second signal including the second data and the second integrity check data to a main body of the image forming apparatus.
제7항에 있어서,
상기 검사 단계는,
상기 제1 신호로부터 상기 제1 무결성 검사 데이터를 분리하는 단계;
상기 제1 신호에 포함된 나머지 데이터를 이용하여 비교 대상 데이터를 생성하는 단계;
상기 제2 신호로부터 분리된 상기 제2 무결성 검사 데이터와 상기 비교 대상 데이터를 비교하여, 일치하면 상기 제2 신호가 무결성이라고 판단하고, 불일치하면 에러 상태라고 판단하는 단계;를 더 포함하는 것을 특징으로 하는 CRUM 칩의 통신 방법.
The method of claim 7, wherein
The inspection step,
Separating the first integrity check data from the first signal;
Generating data to be compared using the remaining data included in the first signal;
And comparing the second integrity check data separated from the second signal with the comparison target data, determining that the second signal is integrity if there is a match, and determining an error state if there is a mismatch. CRUM chip communication method.
제8항에 있어서,
상기 제2 무결성 검사 데이터가 누적적으로 반영되어 생성된 제3 무결성 검사 데이터를 포함하는 제3 신호가 상기 화상형성장치의 본체로부터 수신되면 상기 제3 신호에 대한 무결성 검사를 수행하는 단계;를 더 포함하는 것을 특징으로 하는 CRUM 칩의 통신 방법.
9. The method of claim 8,
Performing an integrity check on the third signal when a third signal including the third integrity check data generated by accumulating the second integrity check data is received from the main body of the image forming apparatus; Communication method of the CRUM chip comprising a.
제9항에 있어서,
화상 형성 잡이 완료되면, 상기 화상 형성 잡 수행 과정에서 마지막으로 수신된 신호에 포함된 최종 무결성 검사 데이터를 이용하여, 상기 화상 형성 잡 수행 과정에서 수신하였던 전체 신호의 무결성을 최종 검사하는 단계;
상기 최종 검사 결과, 상기 전체 신호가 무결성이라고 판단되면 상기 임시 저장부에 임시 저장되어 있던 신호들을 저장하는 단계;를 더 포함하는 것을 특징으로 하는 CRUM 칩의 통신 방법.
10. The method of claim 9,
When the image forming job is completed, using the final integrity check data included in the signal received last during the image forming job, finally checking the integrity of the entire signal received during the image forming job;
And storing the signals that have been temporarily stored in the temporary storage unit if the entire signal is determined to be integrity.
제7항 내지 제10항 중 어느 한 항에 있어서,
상기 제1 데이터 또는 상기 제2 데이터는,
코맨드, 기록 대상 정보, 상기 코맨드에 따른 작업 수행 결과 정보, 이전 수신 신호에 대한 무결성 검사 결과 정보 및 상기 무결성 검사 데이터의 위치를 알리기 위한 인디케이터 정보 중 적어도 하나를 포함하며,
상기 무결성 검사 결과 정보는, 상기 CRUM 칩과의 사이에서 최초 송신되는 신호에서는 배제되는 것을 특징으로 하는 CRUM 칩의 통신 방법.
The method according to any one of claims 7 to 10,
The first data or the second data,
At least one of a command, recording target information, work performance result information according to the command, integrity check result information about a previous received signal, and indicator information for indicating a location of the integrity check data,
The integrity check result information is excluded from the signal initially transmitted with the CRUM chip.
제11항에 있어서,
상기 무결성 검사 데이터는, 상기 데이터를 논리 연산한 결과값, 상기 데이터에 대해 기 설정된 수학식을 적용하여 생성한 결과값 또는 상기 데이터를 암호화한 암호화 결과값인 것을 특징으로 하는 CRUM 칩의 통신 방법.



The method of claim 11,
The integrity check data is a communication result of a CRUM chip, characterized in that the logical result of the data, the result generated by applying a predetermined equation to the data or the encryption result value encrypted the data.



KR1020110114192A 2011-11-03 2011-11-03 Crum chip and image forming device for communicating mutually, and method thereof KR20130028608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110114192A KR20130028608A (en) 2011-11-03 2011-11-03 Crum chip and image forming device for communicating mutually, and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110114192A KR20130028608A (en) 2011-11-03 2011-11-03 Crum chip and image forming device for communicating mutually, and method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020110092060A Division KR101780734B1 (en) 2011-09-09 2011-09-09 CRUM chip and image forming device for communicating mutually, and method thereof

Publications (1)

Publication Number Publication Date
KR20130028608A true KR20130028608A (en) 2013-03-19

Family

ID=48179076

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110114192A KR20130028608A (en) 2011-11-03 2011-11-03 Crum chip and image forming device for communicating mutually, and method thereof

Country Status (1)

Country Link
KR (1) KR20130028608A (en)

Similar Documents

Publication Publication Date Title
KR101780734B1 (en) CRUM chip and image forming device for communicating mutually, and method thereof
KR101123695B1 (en) Device for communicating with crum unit and method thereof
US9973658B2 (en) CRUM chip and image forming device for authentication and communication, and methods thereof
US9336471B2 (en) CRUM chip, image forming apparatus, and communication method of CRUM chip
US9086679B2 (en) Image forming apparatus including consumable unit and method of controlling power supply thereof
US8036548B2 (en) Customer replaceable unit monitor (CRUM) unit, replaceable unit and image forming apparatus comprising the CRUM unit, and unit driving method thereof
RU2720646C2 (en) Crum-module and image forming device for authentication and communication and methods for this
KR101866823B1 (en) CRUM chip and image forming device for communicating mutually, and method thereof
KR20130028608A (en) Crum chip and image forming device for communicating mutually, and method thereof
EP2746859A2 (en) CRUM chip and image forming device for authentication and communication, and methods thereof

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal
E601 Decision to refuse application