+

WO2018188071A1 - Method for verifying consumable chip, consumable chip and consumable container - Google Patents

Method for verifying consumable chip, consumable chip and consumable container Download PDF

Info

Publication number
WO2018188071A1
WO2018188071A1 PCT/CN2017/080570 CN2017080570W WO2018188071A1 WO 2018188071 A1 WO2018188071 A1 WO 2018188071A1 CN 2017080570 W CN2017080570 W CN 2017080570W WO 2018188071 A1 WO2018188071 A1 WO 2018188071A1
Authority
WO
WIPO (PCT)
Prior art keywords
imaging device
consumable chip
serial number
random number
verification
Prior art date
Application number
PCT/CN2017/080570
Other languages
French (fr)
Chinese (zh)
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 广州众诺电子技术有限公司
Publication of WO2018188071A1 publication Critical patent/WO2018188071A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • B41J2/17543Cartridge presence detection or type identification
    • B41J2/17546Cartridge presence detection or type identification electronically
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17566Ink level or ink residue control

Definitions

  • the present invention relates to the field of consumables applied to an image forming apparatus, and in particular to a consumable chip, a consumable chip verification method, and a consumable container mounted with the consumable chip.
  • Imaging equipment such as printers, photocopies, fax machines and all-in-one printers, are indispensable office supplies in various fields. With the development of society, imaging equipment has gradually become one of the household appliances. In order to image a device such as toner or ink in a consumable container, it is usually necessary to mount a consumable chip on the consumable container. The image forming device recognizes the consumable container by the consumable chip and the main board in the image forming apparatus, and then the image forming apparatus can normally use the toner or ink in the consumable container.
  • an image forming apparatus produced by an OEM usually verifies information such as a model number, a serial number, a consumable capacity, a consumable consumption, a number of prints, and a print quantity of a consumable container in a consumable chip.
  • the imaging device also checks the consumable capacity, the consumption of the consumables, the number of prints, and the number of prints during use of the image forming apparatus. For example, the number of times the image forming apparatus prints twice on the same serial number chip, The consumable capacity is separately verified to determine whether the verification result satisfies the preset condition respectively. Otherwise, the imaging device does not allow the chip to pass the machine, even if the chip is a new chip, the machine is not allowed to pass, thereby causing unnecessary waste.
  • the present invention provides a verification method of a consumable chip which can make a consumable chip pass smoothly and avoid waste, a consumable chip and a consumable container in which the consumable chip is mounted.
  • a consumable chip verification method includes the following steps:
  • the consumable chip generates a check value according to its own serial number
  • test value generated by the same serial number is a fixed value.
  • the method further includes The following steps:
  • the imaging device After the imaging device obtains the check value, it is determined whether the pre-check value corresponding to the serial number is stored in the imaging device;
  • the imaging device compares the pre-check value with the check value
  • the imaging device determines whether the comparison result satisfies a preset condition
  • the imaging device sends a legal verification result to the consumable chip, and the verification passes.
  • the imaging device does not store the pre-check value corresponding to the serial number and/or the serial number
  • the imaging device stores the test value received this time and marks it as a pre-verification value
  • the imaging device sends a legal verification result to the consumable chip.
  • the preset condition is: the verification value is less than or equal to the previous verification value or the verification value is greater than or equal to the previous verification value.
  • the verification result returned by the imaging device according to the serial number and/or the check value is obtained, and the verification result is determined to be an illegal verification result
  • the method further includes the following steps:
  • the consumable chip After the serial number is read, the consumable chip generates a first random number
  • the step of generating a check value according to the serial number of the consumable chip is performed.
  • the first random number and the second random number stored in advance by the chip, and the first random number, the second random number and the first target data are sent to the imaging device, Obtaining, in step, an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determining that the initial verification result is Before it is legal, it also includes the following steps:
  • the imaging device calculates a private key according to the serial number, and calculates second target data according to the private key, the first random number, and the second random number;
  • the imaging device compares the first target data with the second target data
  • the initial verification result is generated based on the comparison result.
  • the invention also provides a consumable chip, including
  • a storage module configured to store the check value
  • a first sending module configured to send the check value to an imaging device
  • a first obtaining module configured to acquire a verification result returned by the imaging device according to the serial number and/or the check value
  • a first determining module configured to determine whether the verification result is a legal verification result; if yes, the verification is passed;
  • test value generated by the same serial number is a fixed value.
  • the consumable chip further comprises
  • a random number generating module configured to generate a first random number after the serial number is read
  • a second acquiring module configured to acquire a second random number sent by the imaging device
  • a target data generating module configured to generate first target data according to a secret key pre-stored by the chip, a first random number, and a second random number;
  • a second sending module configured to send the first random number, the second random number, and the first target data to the imaging device
  • a third obtaining module configured to acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data
  • a second determining module configured to determine whether the initial verification result is legal
  • an execution module configured to perform the step of generating a check value according to the serial number of the consumable chip after the determination result of the second determining module is that the initial verification result is legal.
  • the invention also provides a consumable container, comprising a container body for storing consumables, the container body is provided with at least one mounting position, and further comprises a consumable chip, the consumable chip is mounted on the mounting position, and the consumable chip is right
  • a consumable container comprising a container body for storing consumables, the container body is provided with at least one mounting position, and further comprises a consumable chip, the consumable chip is mounted on the mounting position, and the consumable chip is right
  • the consumable chip according to claim 9 or claim 10 wherein the verification method of the consumable chip is the verification method according to any one of claims 1-8.
  • the present invention generates a check value relative to the consumable chip by the serial number of the consumable chip; then sends the check value to the imaging device, and the check value is verified by the imaging device, and returned Check the result.
  • the consumable chip judges the validity of the verification result after obtaining the verification result. If the verification result legally indicates that the consumable chip is verified, the consumable chip can be normally used by the imaging device. Since the check value in the present invention is a fixed value with respect to the same serial number, that is, no matter how many times the consumable chip corresponding to the serial number is used, the check value returned when being verified by the imaging device is fixed.
  • the verification result of the check value is legal, it means that the consumable chip corresponding to the serial number can be repeatedly verified by the imaging device and use or the plurality of chips having the same serial number can be imaged.
  • the verification passes and uses, so that the consumable chip corresponding to the serial number can be reused, so as to prevent the consumable chip from failing due to the serial number verification.
  • the waste caused by the consumable chip is not used.
  • FIG. 1 is a flow chart of a method for verifying a consumable chip according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an imaging device generating a verification result according to a check value in an embodiment of the invention
  • FIG. 3 is a flow chart showing an identification number of an imaging device in an embodiment of the invention.
  • Figure 5 is a block diagram of a consumable chip in an embodiment of the invention.
  • This embodiment provides a method for verifying a consumable chip, including the following steps:
  • a check value is generated according to the serial number of the consumable chip; wherein the check value generated by the same serial number is a fixed value.
  • the check value can be N, which can be binary data, decimal data, or hexadecimal numbers. Since the check value corresponds to the serial number, the check value is only fixed relative to the same serial number, that is, the check values generated by different serial numbers may be different, but the same The check value generated by the serial number is the same. Regardless of how many times the consumable chips of the same serial number work, the check values produced are equal.
  • Step S02 the verification value is sent to the imaging device; the verification value may be verified by the imaging device, and the corresponding verification result is generated by the imaging device according to the verification value. Since the check values generated by the same serial number are the same, if the corresponding chip is in the first time The verification result generated when the imaging device communicates is legal, so the verification result generated later is also legal.
  • Step S03 Acquire a verification result returned by the imaging device according to the serial number and/or the check value, and determine whether the verification result is a legal verification result; if yes, execute step S04; otherwise, the verification fails, and the serial number cannot be used by the imaging device. That is, the consumable chip cannot be verified, and the serial number can be replaced or a new consumable chip can be replaced.
  • a plurality of serial numbers can be stored in the chip. When one of them cannot be used by the imaging device, the process is switched to the next serial number, and then step S01 is performed. Of course, step S01 can be performed after replacing the new consumable chip.
  • Step S04 the verification result returned by the imaging device to the consumable chip is a legal verification result, and then the verification is passed, indicating that the serial number of the chip can be used by the imaging device, that is, the consumable chip can be verified to pass.
  • the following steps may be further included.
  • the following steps are mainly for the process of generating a verification result by the imaging device according to the check value, and the following steps are mainly performed in the imaging device:
  • the imaging device After the imaging device obtains the check value in step A01, it is determined whether the pre-check value corresponding to the serial number is stored in the imaging device.
  • the consumable chip communicates with the imaging device, if the EEPROM data stored by the consumable chip can be verified by the imaging device, the consumable chip sends the verification value of the communication to the imaging device and stores it in the memory installed in the imaging device. in. Imaging if the consumable chip is not recorded in communication with the imaging device The device does not store the check value of the corresponding serial number of the corresponding consumable chip, that is, the pre-check value corresponding to the serial number and/or the serial number is not stored in the imaging device.
  • the imaging device When the consumable chip communicates with the imaging device for the first time, the imaging device stores the verification value of the corresponding serial number of the receiving consumable chip, and marks it as a pre-check value, and the imaging device sends a legal verification result.
  • the consumable chip indicates that the consumable chip is verifiable.
  • Step A02 If the pre-check value corresponding to the serial number and/or the serial number is stored in the imaging device, it indicates that the consumable chip corresponding to the corresponding serial number is verified by the imaging device, and the pre-check value is stored in the imaging device. . If the consumable chip corresponding to the serial number is once again verified by the imaging device, the consumable chip sends the verification value corresponding to the serial number to the imaging device again. The imaging device compares the check value with a previous check value stored in the previous communication. Since the serial numbers of the same chip are the same, the pre-check value can usually be the same as the check value.
  • the imaging device determines whether the comparison result satisfies a preset condition. If yes, this means that the imaging device can allow the consumable chip corresponding to the serial number to be used, and mark the check value as a pre-check value; otherwise, the imaging device does not allow the consumable chip corresponding to the serial number to be used, And will also prompt an error.
  • the preset condition may be that the verification value is less than or equal to the previous verification value, or the verification value is greater than or equal to the previous verification value. This preset condition can be designed before the imaging device is shipped from the factory. Since the check value generated by the consumable chip of the same serial number in the present invention is a fixed value, the consumable chip of the same serial number can satisfy the preset condition regardless of the number of times used in the same printer.
  • the verification process of the consumable chip verification method is described by using the preset condition that the verification value is less than or equal to the pre-verification value:
  • the consumable chip When a consumable chip communicates with the imaging device for the third time, the consumable chip generates a check value N according to its own serial number, and sends the check value N to the imaging device, and the imaging device corresponds to the consumable chip. After the check value N of the serial number, and comparing the check value N with the previous check value N', when the N is less than or equal to the N', it indicates that the serial number can be used by the imaging device. And the check value N is overwritten with the pre-check value N', and then the check value N is marked as the pre-check value. At this time, the imaging device sends a legal verification result to the consumable chip.
  • the pre-check value N' may be a check value retained by the consumable chip of the same serial number when it is communicated with the imaging device A-1.
  • N When the N is greater than the N′, it indicates that the serial number cannot be used by the imaging device, and at this time, the new serial number is replaced by the consumable chip and the imaging device to perform the verification process again, or the new consumable chip is replaced with The imaging device re-executes the verification process.
  • the check value may be represented by the number of times the serial number is used by the imaging device, or the serial number corresponding to the remaining capacity of the consumable or the consumable consumption. Since the check value is a fixed value, the number of times, the remaining capacity, or the consumption amount of the corresponding serial number after the serial number is used by the printer does not change.
  • step A04 if the comparison result of the step A03 is that the preset condition is met, the imaging device sends a legal verification result to the consumable chip. If the imaging device determines that the comparison result does not satisfy the preset condition; the imaging device transmits an illegal verification result to the consumable chip.
  • the method before the step of generating a check value according to the serial number of the consumable chip, the method further includes the following steps, where the imaging device is a process of identifying the serial number:
  • step B01 after the serial number is read, the consumable chip generates a first random number.
  • the consumable chip is installed in the imaging device. After being powered on, the imaging device acquires the serial number and performs algorithm verification on the serial number.
  • Step B02 Acquire a second random number sent by the imaging device. After acquiring the serial number, the imaging device generates a second random number according to the serial number.
  • Step B03 generating first target data according to the secret key, the first random number and the second random number stored in advance by the chip, and transmitting the first random number, the second random number and the first target data to the imaging device.
  • the secret key may be pre-set.
  • the imaging device may generate an initial verification result according to the first random number, the second random number, and the first target data, and send the initial verification result to the consumable chip, and then perform step B04.
  • Step B04 Acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determine whether the initial verification result is legal.
  • Step B05 after the initial verification result is legal, the step of generating a check value according to the serial number of the consumable chip is performed.
  • the first target data is generated according to a key, a first random number, and a second random number stored in advance by the chip, and the first random number, the second random number, and the first target data are sent.
  • the step obtains an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determines whether the initial verification result is legal (ie, after step B03 and before step B04) ), also includes the following steps, the following steps are mainly for the process of initial verification result generation when identifying the serial number:
  • Step C01 the imaging device calculates a private key according to the serial number, and according to the private key, The first random number and the second random number are calculated to obtain second target data.
  • the serial number can be a serial number obtained by the imaging device from the consumable chip.
  • the serial number described in this step can be identified by the imaging device, and the serial number in this step can be different from the serial number set in the EEPROM in the corresponding consumable chip.
  • step C02 the imaging device compares the first target data with the second target data.
  • the result of comparing the first target data with the second target is preset. If the comparison result is a preset value or range, it indicates that the consumable chip can be recognized by the imaging device, otherwise the consumable chip cannot be recognized by the imaging device.
  • Step C03 generating the initial verification result according to the comparison result.
  • the structure of the comparison may be a result obtained by comparing the sizes between the two, and then the initial verification result may be obtained according to the size of the comparison result, for example, the initial verification when the comparison result is a preset value or range.
  • the result is a legal verification result, otherwise it is not a legal verification result.
  • an embodiment of the present invention further provides a consumable chip.
  • the consumable chip verification method may be the verification method described in the above embodiments, and the consumable chip includes:
  • a module 1 is generated for generating a check value based on a serial number of the consumable chip. Wherein, the test value generated by the same serial number is a fixed value.
  • the storage module 2 is configured to store the check value.
  • the storage module includes a metering area and a non-metering area.
  • the storage module in this embodiment includes a volatile memory SRAM and a non-volatile memory EEPROM.
  • the non-metering area is set in the EEPROM for storing the toner cartridge model, the manufacturer code, EEPROM data such as serial number and production date, the metering area is set in SRAM, used to store toner remaining amount, total print quantity, number of printed pages consumed, last print operation time, use status of printing process, check value, etc. .
  • the first transmitting module 3 is configured to send the check value to the imaging device.
  • the first obtaining module 4 is configured to obtain a verification result returned by the imaging device according to the check value.
  • the first determining module 5 is configured to determine whether the verification result is a legal verification result; if yes, the verification is passed; otherwise, the verification fails.
  • the consumable chip may further include
  • a random number generation module 6 is configured to generate a first random number after the serial number is read.
  • the second obtaining module 7 is configured to acquire a second random number sent by the imaging device.
  • the target data generating module 8 is configured to generate the first target data according to the secret key, the first random number and the second random number stored in advance by the chip.
  • the second sending module 9 is configured to send the first random number, the second random number, and the first target data to the imaging device.
  • the third obtaining module 10 is configured to acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data.
  • the second judging module 11 is configured to determine whether the initial verification result is legal; if it is legal, the consumable chip can be imaged by the device, otherwise it is not recognized.
  • the executing module 12 is configured to perform the step of generating a check value according to the serial number of the consumable chip after the determination result of the second determining module 11 is that the initial verification result is legal.
  • the invention also provides a consumable container, comprising a container body for storing consumables and a consumable chip, wherein the container body is provided with at least one mounting position, the consumable chip is mounted on the mounting position, and the consumable chip is implemented by the above
  • the verification method of the slice is the verification method described in the above embodiments.
  • the consumable chip verification method of the present invention is to enable the corresponding consumable chip to be used by the imaging device by verifying the serial number; since the present invention is a fixed value generated by the same serial number, the imaging device The check value corresponding to each serial number is received as a fixed value, so that the consumable chip can be verified by the imaging device all the time, no matter how many times the consumable chip is used, as long as the consumable chip is verified by the imaging device for the first time.
  • the verification method of the present invention is a verification of the serial number, which typically occurs after the EPPROM data of the consumable chip is recognized by the imaging device.
  • the present invention also includes the step of identifying the serial number prior to verifying the serial number, the step of identifying typically occurring before the EPPROM data is recognized by the imaging device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dry Development In Electrophotography (AREA)
  • Ink Jet (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

A method for verifying a consumable chip, a consumable chip and a consumable container. The method for verifying a consumable chip comprises the following steps: a consumable chip generating, according to its own serial number, a check value; sending the serial number and the check value to an imaging device; acquiring a verification result returned, according to the serial number and/or the check value, by the imaging device, and determining whether the verification result is a legitimate verification result; and if so, verification being passed, wherein a check value generated by the same serial number is a fixed value. By means of setting the check value generated by the same serial number to be a fixed value, a consumable chip corresponding to the serial number can always pass verification by an imaging device regardless of how many times the consumable chip is used, thereby avoiding unnecessary waste caused by the consumable chip not passing a check.

Description

耗材芯片验证方法、耗材芯片及耗材容器Consumable chip verification method, consumable chip and consumable container 技术领域Technical field
本发明涉及应用于成像设备的耗材技术领域,具体涉及一种耗材芯片、该耗材芯片验证方法及安装有该耗材芯片的耗材容器。The present invention relates to the field of consumables applied to an image forming apparatus, and in particular to a consumable chip, a consumable chip verification method, and a consumable container mounted with the consumable chip.
背景技术Background technique
成像设备,例如打印机、复印件、传真机及多功能一体打印机等,是各个领域都不可缺少的办公用品,随着社会的发展成像设备也逐渐成为家庭常用电器之一。为了成像设备更好的耗材容器内的墨粉或者墨水等耗材,通常需要在耗材容器上安装耗材芯片。通过耗材芯片与成像设备内的主板验证并通信实现成像设备识别耗材容器,然后成像设备才能正常使用耗材容器内的墨粉或者墨水。Imaging equipment, such as printers, photocopies, fax machines and all-in-one printers, are indispensable office supplies in various fields. With the development of society, imaging equipment has gradually become one of the household appliances. In order to image a device such as toner or ink in a consumable container, it is usually necessary to mount a consumable chip on the consumable container. The image forming device recognizes the consumable container by the consumable chip and the main board in the image forming apparatus, and then the image forming apparatus can normally use the toner or ink in the consumable container.
现有技术中,尤其OEM生产的成像设备通常会对耗材芯片中通常会存储耗材容器的型号、序列号、耗材容量、耗材的消耗量、打印次数及打印数量等信息进行验证。验证通过之后,成像设备在使用过程中,成像设备还会对耗材容量、耗材的消耗量、打印次数及打印数量进行校验,例如成像设备会对相同序列号芯片相邻两次的打印次数、耗材容量分别进行校验,判断校验的结果是否分别满足预设条件,若否则成像设备就不允许该芯片过机,即使该芯片为新芯片也不允许过机,从而造成不必要的浪费。 In the prior art, in particular, an image forming apparatus produced by an OEM usually verifies information such as a model number, a serial number, a consumable capacity, a consumable consumption, a number of prints, and a print quantity of a consumable container in a consumable chip. After the verification is passed, the imaging device also checks the consumable capacity, the consumption of the consumables, the number of prints, and the number of prints during use of the image forming apparatus. For example, the number of times the image forming apparatus prints twice on the same serial number chip, The consumable capacity is separately verified to determine whether the verification result satisfies the preset condition respectively. Otherwise, the imaging device does not allow the chip to pass the machine, even if the chip is a new chip, the machine is not allowed to pass, thereby causing unnecessary waste.
发明内容Summary of the invention
为解决上述问题,本发明提供一种可使得耗材芯片顺利过机、避免浪费的耗材芯片的验证方法、一种耗材芯片及安装有所述耗材芯片的耗材容器。In order to solve the above problems, the present invention provides a verification method of a consumable chip which can make a consumable chip pass smoothly and avoid waste, a consumable chip and a consumable container in which the consumable chip is mounted.
一种耗材芯片验证方法,包括如下步骤:A consumable chip verification method includes the following steps:
耗材芯片根据其自身的序列号生成校验值;The consumable chip generates a check value according to its own serial number;
将所述序列号及校验值发送至成像设备;Sending the serial number and the check value to the imaging device;
获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果是否为合法验证结果;Obtaining a verification result returned by the imaging device according to the serial number and/or the check value, and determining whether the verification result is a legal verification result;
若是,则验证通过;If yes, the verification is passed;
其中,相同序列号产生的检验值为固定值。Wherein, the test value generated by the same serial number is a fixed value.
优选地,在所述将所述校验值发送至成像设备的步骤之后,在获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果是否为合法的步骤之前还包括如下步骤:Preferably, after the step of transmitting the check value to the imaging device, before the step of acquiring the verification result returned by the imaging device according to the serial number and/or the check value, and determining whether the verification result is legal, the method further includes The following steps:
所述成像设备获取校验值之后,判断该成像设备内是否存储有所述序列号对应的前校验值;After the imaging device obtains the check value, it is determined whether the pre-check value corresponding to the serial number is stored in the imaging device;
若是,则所述成像设备将所述前校验值与所述校验值进行比较;If yes, the imaging device compares the pre-check value with the check value;
所述成像设备判断比较结果是否满足预设条件;The imaging device determines whether the comparison result satisfies a preset condition;
若是,则所述成像设备发送合法验证结果给耗材芯片,验证通过。If yes, the imaging device sends a legal verification result to the consumable chip, and the verification passes.
优选地,若所述成像设备内未存储有所述序列号和/或序列号对应的前校验值;Preferably, if the imaging device does not store the pre-check value corresponding to the serial number and/or the serial number;
则所述成像设备存储本次接收的检验值,并将其标记为前校验 值;Then the imaging device stores the test value received this time and marks it as a pre-verification value;
所述成像设备发送合法验证结果给耗材芯片。The imaging device sends a legal verification result to the consumable chip.
优选地,所述预设条件为:所述验证值小于或等于前验证值或者所述验证值大于或等于前验证值。Preferably, the preset condition is: the verification value is less than or equal to the previous verification value or the verification value is greater than or equal to the previous verification value.
优选地,若获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果为不合法验证结果时;Preferably, if the verification result returned by the imaging device according to the serial number and/or the check value is obtained, and the verification result is determined to be an illegal verification result;
则切换新的序列号或者更换新的耗材芯片。Then switch the new serial number or replace the new consumable chip.
优选地,在所述根据耗材芯片的序列号生成校验值步骤之前,还包括如下步骤:Preferably, before the step of generating a check value according to the serial number of the consumable chip, the method further includes the following steps:
在序列号被读取之后,耗材芯片生成第一随机数;After the serial number is read, the consumable chip generates a first random number;
获取成像设备发送的第二随机数;Obtaining a second random number sent by the imaging device;
根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备;Generating first target data according to a pre-stored secret key, a first random number, and a second random number, and transmitting the first random number, the second random number, and the first target data to the imaging device;
获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是否合法;Acquiring an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determining whether the initial verification result is legal;
若初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。After the initial verification result is legal, the step of generating a check value according to the serial number of the consumable chip is performed.
优选地,在步骤根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备之后,在步骤获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是 否合法之前,还包括如下步骤:Preferably, after the first target data is generated according to the secret key, the first random number and the second random number stored in advance by the chip, and the first random number, the second random number and the first target data are sent to the imaging device, Obtaining, in step, an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determining that the initial verification result is Before it is legal, it also includes the following steps:
所述成像设备根据序列号算出私钥,并根据该私钥、第一随机数及第二随机数计算得出第二目标数据;The imaging device calculates a private key according to the serial number, and calculates second target data according to the private key, the first random number, and the second random number;
该成像设备将第一目标数据与第二目标数据进行比较;The imaging device compares the first target data with the second target data;
根据比较结果生成所述初始验证结果。The initial verification result is generated based on the comparison result.
本发明还提供一种耗材芯片,包括The invention also provides a consumable chip, including
生成模块,其用于根据耗材芯片的序列号生成校验值;Generating a module for generating a check value according to a serial number of the consumable chip;
存储模块,其用于存储所述校验值;a storage module, configured to store the check value;
第一发送模块,其用于将所述校验值发送至成像设备;a first sending module, configured to send the check value to an imaging device;
第一获取模块,其用于获取成像设备根据序列号和/或校验值返回的验证结果;a first obtaining module, configured to acquire a verification result returned by the imaging device according to the serial number and/or the check value;
第一判断模块,其用于判断验证结果是否为合法验证结果;若是,则验证通过;a first determining module, configured to determine whether the verification result is a legal verification result; if yes, the verification is passed;
其中,相同序列号产生的所述检验值为固定值。Wherein, the test value generated by the same serial number is a fixed value.
优选地,所述耗材芯片还包括,Preferably, the consumable chip further comprises
随机数生成模块,其用于在序列号被读取之后,耗材芯片生成第一随机数;a random number generating module, configured to generate a first random number after the serial number is read;
第二获取模块,其用于获取成像设备发送的第二随机数;a second acquiring module, configured to acquire a second random number sent by the imaging device;
目标数据生成模块,其用于根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据;a target data generating module, configured to generate first target data according to a secret key pre-stored by the chip, a first random number, and a second random number;
第二发送模块,其用于将第一随机数、第二随机数及第一目标数据发送至成像设备; a second sending module, configured to send the first random number, the second random number, and the first target data to the imaging device;
第三获取模块,其用于获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果;a third obtaining module, configured to acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data;
第二判断模块,其用于判断初始验证结果是否合法;a second determining module, configured to determine whether the initial verification result is legal;
执行模块,其用于在第二判断模块的判断结果为初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。And an execution module, configured to perform the step of generating a check value according to the serial number of the consumable chip after the determination result of the second determining module is that the initial verification result is legal.
本发明还提供一种耗材容器,包括用于存储耗材的容器本体,该容器本体上至少设置有一个安装位,还包括耗材芯片,所述耗材芯片安装于所述安装位,该耗材芯片为权利要求9或权利要求10所述的耗材芯片,该耗材芯片的验证方法为权利要求1-8任一项所述的验证方法。The invention also provides a consumable container, comprising a container body for storing consumables, the container body is provided with at least one mounting position, and further comprises a consumable chip, the consumable chip is mounted on the mounting position, and the consumable chip is right The consumable chip according to claim 9 or claim 10, wherein the verification method of the consumable chip is the verification method according to any one of claims 1-8.
本发明的有益效果:The beneficial effects of the invention:
与现有技术,本发明通过耗材芯片的序列号生成与该耗材芯片相对于的校验值;然后将所述校验值发送至成像设备,通过成像设备对校验值进行校验,并返回校验结果。耗材芯片在获取所述验证结果之后对校验结果的合法性进行判断,若该校验结果合法说明耗材芯片验证通过,该耗材芯片可以正常被成像设备使用。由于本发明中所述校验值相对于相同的序列号为固定值,也就是说无论该序列号对应的耗材芯片被使用过多少次,其在被成像设备验证时返回的校验值是固定的,因此只要某一次该校验值的校验结果是合法,则说明该序列号对应的耗材芯片可以重复被成像设备验证通过并使用或者说具有相同序列号的多个芯片都能被成像设备验证通过并使用,使得所述序列号对应的耗材芯片可以重复利用,避免耗材芯片因序列号校验不通过而 致使耗材芯片不能用所导致的浪费。In the prior art, the present invention generates a check value relative to the consumable chip by the serial number of the consumable chip; then sends the check value to the imaging device, and the check value is verified by the imaging device, and returned Check the result. The consumable chip judges the validity of the verification result after obtaining the verification result. If the verification result legally indicates that the consumable chip is verified, the consumable chip can be normally used by the imaging device. Since the check value in the present invention is a fixed value with respect to the same serial number, that is, no matter how many times the consumable chip corresponding to the serial number is used, the check value returned when being verified by the imaging device is fixed. Therefore, as long as the verification result of the check value is legal, it means that the consumable chip corresponding to the serial number can be repeatedly verified by the imaging device and use or the plurality of chips having the same serial number can be imaged. The verification passes and uses, so that the consumable chip corresponding to the serial number can be reused, so as to prevent the consumable chip from failing due to the serial number verification. The waste caused by the consumable chip is not used.
附图说明DRAWINGS
图1为本发明的实施例中一种耗材芯片验证方法流程图;1 is a flow chart of a method for verifying a consumable chip according to an embodiment of the present invention;
图2为发明的实施例中成像设备根据校验值生成校验结果时的流程图;2 is a flow chart of an imaging device generating a verification result according to a check value in an embodiment of the invention;
图3为发明的实施例中成像设备识别序列号的流程图;3 is a flow chart showing an identification number of an imaging device in an embodiment of the invention;
图4为发明的实施例中初始验证结果生成的流程图;4 is a flow chart of initial verification result generation in an embodiment of the invention;
图5为发明的实施例中一种耗材芯片的模块图。Figure 5 is a block diagram of a consumable chip in an embodiment of the invention.
具体实施方式detailed description
下面,结合附图以及具体实施方式,对本发明做进一步描述:The present invention will be further described below in conjunction with the drawings and specific embodiments.
本实施例提供一种耗材芯片验证方法,包括如下步骤:This embodiment provides a method for verifying a consumable chip, including the following steps:
参照图1,步骤S01,根据耗材芯片的序列号生成校验值;其中,相同序列号产生的所述检验值为固定值。该校验值可为N,其可为二进制数据、十进制数据或者十六进制的数字。由于所述校验值是与序列号对应的,因此该校验值只是相对于相同序列号来说其是固定的,也就是说不同序列号所产生的校验值可以是不同的,但是相同序列号所产生的校验值是相同的。不管相同序列号的耗材芯片工作的多少次,其所述产生的校验值是相等的。Referring to FIG. 1, step S01, a check value is generated according to the serial number of the consumable chip; wherein the check value generated by the same serial number is a fixed value. The check value can be N, which can be binary data, decimal data, or hexadecimal numbers. Since the check value corresponds to the serial number, the check value is only fixed relative to the same serial number, that is, the check values generated by different serial numbers may be different, but the same The check value generated by the serial number is the same. Regardless of how many times the consumable chips of the same serial number work, the check values produced are equal.
步骤S02,将所述校验值发送至成像设备;可通过成像设备来校验该校验值,并通过成像设备根据所述校验值生成相应的验证结果。由于相同序列号产生的校验值是相同的,因此若相应芯片在第一次与 成像设备通信时所产生的验证结果为合法,因此之后所产生的验证结果也为合法的。Step S02, the verification value is sent to the imaging device; the verification value may be verified by the imaging device, and the corresponding verification result is generated by the imaging device according to the verification value. Since the check values generated by the same serial number are the same, if the corresponding chip is in the first time The verification result generated when the imaging device communicates is legal, so the verification result generated later is also legal.
步骤S03,获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果是否为合法验证结果;若是则执行步骤S04,否则验证不通过,该序列号不能被成像设备使用,即耗材芯片不能验证通过,此时可更换序列号或者更换新的耗材芯片。可在芯片内存储多个序列号,当其中一个不能被成像设备使用时则切换至下一个序列号,然后执行步骤S01,当然也可以通过更换新的耗材芯片之后再执行步骤S01。Step S03: Acquire a verification result returned by the imaging device according to the serial number and/or the check value, and determine whether the verification result is a legal verification result; if yes, execute step S04; otherwise, the verification fails, and the serial number cannot be used by the imaging device. That is, the consumable chip cannot be verified, and the serial number can be replaced or a new consumable chip can be replaced. A plurality of serial numbers can be stored in the chip. When one of them cannot be used by the imaging device, the process is switched to the next serial number, and then step S01 is performed. Of course, step S01 can be performed after replacing the new consumable chip.
步骤S04,所述成像设备返回给耗材芯片的验证结果为合法验证结果,则验证通过,说明该芯片的序列号可以被成像设备使用,即耗材芯片可以验证通过。Step S04, the verification result returned by the imaging device to the consumable chip is a legal verification result, and then the verification is passed, indicating that the serial number of the chip can be used by the imaging device, that is, the consumable chip can be verified to pass.
参照图2,作为优选的方案,在所述将所述校验值发送至成像设备的步骤之后,在获取成像设备根据序列号和/或校验值返回的验证结果的步骤之前(即在步骤S02之后,步骤S03之前)还可以包括如下步骤,以下步骤主要为成像设备根据校验值生成校验结果的过程,以下步骤主要在成像设备中完成:Referring to FIG. 2, as a preferred solution, after the step of transmitting the verification value to the imaging device, before the step of acquiring the verification result returned by the imaging device according to the serial number and/or the check value (ie, at the step) After S02, before step S03), the following steps may be further included. The following steps are mainly for the process of generating a verification result by the imaging device according to the check value, and the following steps are mainly performed in the imaging device:
步骤A01所述成像设备获取校验值之后,判断该成像设备内是否存储有所述序列号对应的前校验值。通常耗材芯片与成像设备通信之后,若耗材芯片存储的EEPROM数据可被成像设备验证通过,则耗材芯片会将本次通信的校验值发送给成像设备,并存储于安装在成像设备内的存储器中。若耗材芯片没有与成像设备通信记录时,成像 设备不会存储相应耗材芯片对应序列号的校验值,即:所述成像设备内未存储有所述序列号和/或序列号对应的前校验值。当所述耗材芯片第一次与成像设备通信时,则所述成像设备存储本次接收耗材芯片对应序列号的检验值,并将其标记为前校验值,所述成像设备发送合法验证结果给耗材芯片说明该耗材芯片是可以验证通过的。After the imaging device obtains the check value in step A01, it is determined whether the pre-check value corresponding to the serial number is stored in the imaging device. After the consumable chip communicates with the imaging device, if the EEPROM data stored by the consumable chip can be verified by the imaging device, the consumable chip sends the verification value of the communication to the imaging device and stores it in the memory installed in the imaging device. in. Imaging if the consumable chip is not recorded in communication with the imaging device The device does not store the check value of the corresponding serial number of the corresponding consumable chip, that is, the pre-check value corresponding to the serial number and/or the serial number is not stored in the imaging device. When the consumable chip communicates with the imaging device for the first time, the imaging device stores the verification value of the corresponding serial number of the receiving consumable chip, and marks it as a pre-check value, and the imaging device sends a legal verification result. The consumable chip indicates that the consumable chip is verifiable.
步骤A02,若成像设备内存储有所述序列号和/或序列号对应的前校验值,说明相应序列号对应的耗材芯片被成像设备验证过,并且成像设备内会存储有前校验值。若该序列号对应的耗材芯片再一次被成像设备验证时,耗材芯片则会再一次发送与序列号对应的校验值给成像设备。所述成像设备将所述校验值与前一次通信时存储的前校验值进行比较。由于相同芯片的序列号相同,因此通常情况下前校验值可与校验值相同。Step A02: If the pre-check value corresponding to the serial number and/or the serial number is stored in the imaging device, it indicates that the consumable chip corresponding to the corresponding serial number is verified by the imaging device, and the pre-check value is stored in the imaging device. . If the consumable chip corresponding to the serial number is once again verified by the imaging device, the consumable chip sends the verification value corresponding to the serial number to the imaging device again. The imaging device compares the check value with a previous check value stored in the previous communication. Since the serial numbers of the same chip are the same, the pre-check value can usually be the same as the check value.
步骤A03,所述成像设备判断比较结果是否满足预设条件。若满足,这说明该成像设备可以允许所述序列号对应的耗材芯片使用,并将该校验值标记为前校验值;否则,该成像设备不允许所述序列号对应的耗材芯片使用,并且还会提示错误。所述预设条件可为验证值小于或等于前验证值,或者所述验证值大于或等于前验证值。该预设条件可在成像设备出厂之前就设计完成的。由于本发明中相同序列号的耗材芯片所产生的校验值是固定值,所以相同序列号的耗材芯片在相同打印机内无论使用的次数如何都可以满足所述预设条件。In step A03, the imaging device determines whether the comparison result satisfies a preset condition. If yes, this means that the imaging device can allow the consumable chip corresponding to the serial number to be used, and mark the check value as a pre-check value; otherwise, the imaging device does not allow the consumable chip corresponding to the serial number to be used, And will also prompt an error. The preset condition may be that the verification value is less than or equal to the previous verification value, or the verification value is greater than or equal to the previous verification value. This preset condition can be designed before the imaging device is shipped from the factory. Since the check value generated by the consumable chip of the same serial number in the present invention is a fixed value, the consumable chip of the same serial number can satisfy the preset condition regardless of the number of times used in the same printer.
以所述预设条件为验证值小于或等于前验证值为例,对所述耗材芯片验证方法的验证过程进行说明: The verification process of the consumable chip verification method is described by using the preset condition that the verification value is less than or equal to the pre-verification value:
当某个耗材芯片第A次与成像设备通信时,该耗材芯片根据其自身的序列号产生校验值N,并将校验值N发送至成像设备,所述成像设备会在收耗材芯片对应序列号的检验值N之后,并将该校验值N与所述前校验值N’进行比较,当所述N小于或者等于所述N’时,说明该序列号可以被成像设备使用,并将校验值N覆盖所述前校验值N’,然后再将该校验值N标记为前校验值,此时所述成像设备发送的是合法验证结果给耗材芯片。所述前校验值N’可以为相同序列号的耗材芯片第A-1次与成像设备通信时所保留的校验值。当所述N大于所述N’时,说明该序列号不可以被成像设备使用,此时则可以切换新的序列号是的耗材芯片与成像设备重新执行验证过程,或者更换新的耗材芯片与成像设备重新执行验证过程。作为优选实施例,所述校验值可以通过该序列号被成像设备使用的次数、或者该序列号对应耗材剩余容量或者耗材消耗量等进行表示。由于校验值为固定值,所以在该序列号被打印机使用之后相应序列号使用的次数、剩余容量或消耗量等都是不会变化的。When a consumable chip communicates with the imaging device for the third time, the consumable chip generates a check value N according to its own serial number, and sends the check value N to the imaging device, and the imaging device corresponds to the consumable chip. After the check value N of the serial number, and comparing the check value N with the previous check value N', when the N is less than or equal to the N', it indicates that the serial number can be used by the imaging device. And the check value N is overwritten with the pre-check value N', and then the check value N is marked as the pre-check value. At this time, the imaging device sends a legal verification result to the consumable chip. The pre-check value N' may be a check value retained by the consumable chip of the same serial number when it is communicated with the imaging device A-1. When the N is greater than the N′, it indicates that the serial number cannot be used by the imaging device, and at this time, the new serial number is replaced by the consumable chip and the imaging device to perform the verification process again, or the new consumable chip is replaced with The imaging device re-executes the verification process. In a preferred embodiment, the check value may be represented by the number of times the serial number is used by the imaging device, or the serial number corresponding to the remaining capacity of the consumable or the consumable consumption. Since the check value is a fixed value, the number of times, the remaining capacity, or the consumption amount of the corresponding serial number after the serial number is used by the printer does not change.
步骤A04,若所述步骤A03的比较结果是满足预设条件的,则所述成像设备发送合法验证结果给耗材芯片。若所述成像设备判断比较结果不满足预设条件;则所述成像设备发送非法验证结果给耗材芯片。In step A04, if the comparison result of the step A03 is that the preset condition is met, the imaging device sends a legal verification result to the consumable chip. If the imaging device determines that the comparison result does not satisfy the preset condition; the imaging device transmits an illegal verification result to the consumable chip.
参照图3,作为另一较佳实施例,在所述根据耗材芯片的序列号生成校验值步骤之前,还包括如下步骤,该步骤主要为成像设备是识别序列号的过程: Referring to FIG. 3, as another preferred embodiment, before the step of generating a check value according to the serial number of the consumable chip, the method further includes the following steps, where the imaging device is a process of identifying the serial number:
步骤B01,在序列号被读取之后,耗材芯片生成第一随机数。通常耗材芯片被安装于成像设备内,在通电之后,成像设备会获取序列号,并对序列号进行算法验证。In step B01, after the serial number is read, the consumable chip generates a first random number. Usually, the consumable chip is installed in the imaging device. After being powered on, the imaging device acquires the serial number and performs algorithm verification on the serial number.
步骤B02,获取成像设备发送的第二随机数。成像设备在获取序列号之后,根据该序列号生成第二随机数。Step B02: Acquire a second random number sent by the imaging device. After acquiring the serial number, the imaging device generates a second random number according to the serial number.
步骤B03,根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备。所述秘钥可以是预先设置好的。所述成像设备可根据第一随机数、第二随机数及第一目标数据生成初始验证结果,并将该初始验证结果发送至耗材芯片,然后执行步骤B04。Step B03, generating first target data according to the secret key, the first random number and the second random number stored in advance by the chip, and transmitting the first random number, the second random number and the first target data to the imaging device. The secret key may be pre-set. The imaging device may generate an initial verification result according to the first random number, the second random number, and the first target data, and send the initial verification result to the consumable chip, and then perform step B04.
步骤B04,获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是否合法。Step B04: Acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determine whether the initial verification result is legal.
步骤B05,若初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。Step B05, after the initial verification result is legal, the step of generating a check value according to the serial number of the consumable chip is performed.
参照图4,作为优选方案,在步骤根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备之后,在步骤获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是否合法之前(即,在步骤B03之后与步骤B04之前),还包括如下步骤,以下步骤主要为识别序列号时初始验证结果生成的过程:Referring to FIG. 4, in a preferred step, the first target data is generated according to a key, a first random number, and a second random number stored in advance by the chip, and the first random number, the second random number, and the first target data are sent. After the imaging device, the step obtains an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determines whether the initial verification result is legal (ie, after step B03 and before step B04) ), also includes the following steps, the following steps are mainly for the process of initial verification result generation when identifying the serial number:
步骤C01,所述成像设备根据序列号算出私钥,并根据该私钥、 第一随机数及第二随机数计算得出第二目标数据。所述序列号可为成像设备从耗材芯片上获取的序列号。本步骤中所述的序列号可以本成像设备识别,该步骤中的序列号可以与相应耗材芯片中设置于EEPROM中的序列号不相同。Step C01, the imaging device calculates a private key according to the serial number, and according to the private key, The first random number and the second random number are calculated to obtain second target data. The serial number can be a serial number obtained by the imaging device from the consumable chip. The serial number described in this step can be identified by the imaging device, and the serial number in this step can be different from the serial number set in the EEPROM in the corresponding consumable chip.
步骤C02,该成像设备将第一目标数据与第二目标数据进行比较。通常第一目标数据与第二目标比较的结果是预先设定的,如果比较结果为预先设定的值或者范围时,说明该耗材芯片可以被成像设备识别,否则耗材芯片不能被成像设备识别。In step C02, the imaging device compares the first target data with the second target data. Generally, the result of comparing the first target data with the second target is preset. If the comparison result is a preset value or range, it indicates that the consumable chip can be recognized by the imaging device, otherwise the consumable chip cannot be recognized by the imaging device.
步骤C03,根据比较结果生成所述初始验证结果。通常所述比较的结构可为两者之间的大小比较所得出的结果,然后可根据比较结果的大小可以得出初始验证结果,例如当较结果为预先设定的值或者范围时该初始验证结果为合法验证结果,否则不是合法验证结果。Step C03, generating the initial verification result according to the comparison result. Generally, the structure of the comparison may be a result obtained by comparing the sizes between the two, and then the initial verification result may be obtained according to the size of the comparison result, for example, the initial verification when the comparison result is a preset value or range. The result is a legal verification result, otherwise it is not a legal verification result.
参照图5,本发明的实施例中还提供一种耗材芯片,该耗材芯片验证方法可为以上各实施例所述的验证方法,该耗材芯片包括:Referring to FIG. 5, an embodiment of the present invention further provides a consumable chip. The consumable chip verification method may be the verification method described in the above embodiments, and the consumable chip includes:
生成模块1,其用于根据耗材芯片的序列号生成校验值。其中,相同序列号产生的所述检验值为固定值。A module 1 is generated for generating a check value based on a serial number of the consumable chip. Wherein, the test value generated by the same serial number is a fixed value.
存储模块2,其用于存储所述校验值。存储模块包括计量区、非计量区,本实施例中的存储模块包括易失性存储器SRAM和非易失性存储器EEPROM,非计量区设置于EEPROM中,用于存储碳粉盒型号、厂家代码、序列号及生产日期等EEPROM数据,计量区设置于SRAM中,用于存储碳粉余量、总打印量、已消耗打印页数、上一打印操作时间、打印过程的使用状态及校验值等。 The storage module 2 is configured to store the check value. The storage module includes a metering area and a non-metering area. The storage module in this embodiment includes a volatile memory SRAM and a non-volatile memory EEPROM. The non-metering area is set in the EEPROM for storing the toner cartridge model, the manufacturer code, EEPROM data such as serial number and production date, the metering area is set in SRAM, used to store toner remaining amount, total print quantity, number of printed pages consumed, last print operation time, use status of printing process, check value, etc. .
第一发送模块3,其用于将所述校验值发送至成像设备。The first transmitting module 3 is configured to send the check value to the imaging device.
第一获取模块4,其用于获取成像设备根据校验值返回的验证结果。The first obtaining module 4 is configured to obtain a verification result returned by the imaging device according to the check value.
第一判断模块5,其用于判断验证结果是否为合法验证结果;若是,则验证通过;否则验证不通过。The first determining module 5 is configured to determine whether the verification result is a legal verification result; if yes, the verification is passed; otherwise, the verification fails.
作为优选的方案,该耗材芯片,还可以包括,As a preferred solution, the consumable chip may further include
随机数生成模块6,其用于在序列号被读取之后,耗材芯片生成第一随机数。A random number generation module 6 is configured to generate a first random number after the serial number is read.
第二获取模块7,其用于获取成像设备发送的第二随机数。The second obtaining module 7 is configured to acquire a second random number sent by the imaging device.
目标数据生成模块8,其用于根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据。The target data generating module 8 is configured to generate the first target data according to the secret key, the first random number and the second random number stored in advance by the chip.
第二发送模块9,其用于将第一随机数、第二随机数及第一目标数据发送至成像设备。The second sending module 9 is configured to send the first random number, the second random number, and the first target data to the imaging device.
第三获取模块10,其用于获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果。The third obtaining module 10 is configured to acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data.
第二判断模块11,其用于判断初始验证结果是否合法;若合法则说明该耗材芯片可以被成像设备设备,否则不弄被识别。The second judging module 11 is configured to determine whether the initial verification result is legal; if it is legal, the consumable chip can be imaged by the device, otherwise it is not recognized.
执行模块12,其用于在第二判断模块11的判断结果为初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。The executing module 12 is configured to perform the step of generating a check value according to the serial number of the consumable chip after the determination result of the second determining module 11 is that the initial verification result is legal.
本发明还提供一种耗材容器,包括用于存储耗材的容器本体及耗材芯片,该容器本体上至少设置有一个安装位,所述耗材芯片安装于所述安装位,该耗材芯片为以上各实施例所述的耗材芯片,该耗材芯 片的验证方法为以上各实施例所述的验证方法。The invention also provides a consumable container, comprising a container body for storing consumables and a consumable chip, wherein the container body is provided with at least one mounting position, the consumable chip is mounted on the mounting position, and the consumable chip is implemented by the above The consumable chip described in the example, the consumable core The verification method of the slice is the verification method described in the above embodiments.
本发明的耗材芯片验证方法是通过对序列号的校验,使得相应的耗材芯片能被成像设备使用;由于本发明是通过将相同序列号所产生的校验值为固定值,因此成像设备所接收到各序列号对应的校验值为固定值,因此只要该耗材芯片首次被成像设备验证通过之后,无论耗材芯片被使用过多少次,该耗材芯片就可以一直被成像设备验证通过。通常本发明的所述的验证方法是对序列号的校验,该方法通常发生在耗材芯片的EPPROM数据被成像设备识别之后。此外本发明在校验序列号之前,还包括序列号识别的步骤,该识别的步骤通常是发生在EPPROM数据被成像设备识别之前。The consumable chip verification method of the present invention is to enable the corresponding consumable chip to be used by the imaging device by verifying the serial number; since the present invention is a fixed value generated by the same serial number, the imaging device The check value corresponding to each serial number is received as a fixed value, so that the consumable chip can be verified by the imaging device all the time, no matter how many times the consumable chip is used, as long as the consumable chip is verified by the imaging device for the first time. Typically, the verification method of the present invention is a verification of the serial number, which typically occurs after the EPPROM data of the consumable chip is recognized by the imaging device. Furthermore, the present invention also includes the step of identifying the serial number prior to verifying the serial number, the step of identifying typically occurring before the EPPROM data is recognized by the imaging device.
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。 Various other changes and modifications may be made by those skilled in the art in light of the above-described technical solutions and concepts, and all such changes and modifications are intended to fall within the scope of the appended claims.

Claims (10)

  1. 一种耗材芯片验证方法,其特征在于,包括如下步骤:A consumable chip verification method, comprising the steps of:
    耗材芯片根据其自身的序列号生成校验值;The consumable chip generates a check value according to its own serial number;
    将所述序列号及校验值发送至成像设备;Sending the serial number and the check value to the imaging device;
    获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果是否为合法验证结果;Obtaining a verification result returned by the imaging device according to the serial number and/or the check value, and determining whether the verification result is a legal verification result;
    若是,则验证通过;If yes, the verification is passed;
    其中,相同序列号产生的检验值为固定值。Wherein, the test value generated by the same serial number is a fixed value.
  2. 根据权利要求1耗材芯片验证方法,其特征在于,在所述将所述校验值发送至成像设备的步骤之后,在获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果是否为合法的步骤之前还包括如下步骤:The consumable chip verification method according to claim 1, wherein after the step of transmitting the verification value to the imaging device, obtaining a verification result returned by the imaging device according to the serial number and/or the verification value, and determining The following steps are included before the verification step is legal:
    所述成像设备获取校验值之后,判断该成像设备内是否存储有所述序列号对应的前校验值;After the imaging device obtains the check value, it is determined whether the pre-check value corresponding to the serial number is stored in the imaging device;
    若是,则所述成像设备将所述前校验值与所述校验值进行比较;If yes, the imaging device compares the pre-check value with the check value;
    所述成像设备判断比较结果是否满足预设条件;The imaging device determines whether the comparison result satisfies a preset condition;
    若是,则所述成像设备发送合法验证结果给耗材芯片,验证通过。If yes, the imaging device sends a legal verification result to the consumable chip, and the verification passes.
  3. 根据权利要求2耗材芯片验证方法,其特征在于,若所述成像设备内未存储有所述序列号和/或序列号对应的前校验值;The method for verifying a consumable chip according to claim 2, wherein if the image processing device does not store the pre-check value corresponding to the serial number and/or the serial number;
    则所述成像设备存储本次接收的检验值,并将其标记为前校验值;Then the imaging device stores the received verification value and marks it as a pre-check value;
    所述成像设备发送合法验证结果给耗材芯片。The imaging device sends a legal verification result to the consumable chip.
  4. 根据权利要求3所述耗材芯片验证方法,其特征在于,所述 预设条件为:所述验证值小于或等于前验证值或者所述验证值大于或等于前验证值。A consumable chip verification method according to claim 3, wherein said said The preset condition is that the verification value is less than or equal to the previous verification value or the verification value is greater than or equal to the previous verification value.
  5. 根据权利要求1耗材芯片验证方法,其特征在于,若获取成像设备根据序列号和/或校验值返回的验证结果,并判断验证结果为不合法验证结果时;The method for verifying a consumable chip according to claim 1, wherein if the verification result returned by the imaging device according to the serial number and/or the verification value is obtained, and the verification result is determined to be an illegal verification result;
    则切换新的序列号或者更换新的耗材芯片。Then switch the new serial number or replace the new consumable chip.
  6. 根据权利要求1耗材芯片验证方法,其特征在于,在所述根据耗材芯片的序列号生成校验值步骤之前,还包括如下步骤:The method for verifying a consumable chip according to claim 1, wherein before the step of generating a check value according to the serial number of the consumable chip, the method further comprises the following steps:
    在序列号被读取之后,耗材芯片生成第一随机数;After the serial number is read, the consumable chip generates a first random number;
    获取成像设备发送的第二随机数;Obtaining a second random number sent by the imaging device;
    根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备;Generating first target data according to a pre-stored secret key, a first random number, and a second random number, and transmitting the first random number, the second random number, and the first target data to the imaging device;
    获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是否合法;Acquiring an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determining whether the initial verification result is legal;
    若初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。After the initial verification result is legal, the step of generating a check value according to the serial number of the consumable chip is performed.
  7. 根据权利要求6耗材芯片验证方法,其特征在于,在步骤根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据,并将第一随机数、第二随机数及第一目标数据发送至成像设备之后,在步骤获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果,并判断初始验证结果是否合法之前,还包括 如下步骤:The method for verifying a consumable chip according to claim 6, wherein the step of generating, according to the pre-stored secret key, the first random number and the second random number, the first target data, and the first random number, the second random number and After the first target data is sent to the imaging device, before the step of acquiring the initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data, and determining whether the initial verification result is legal, the method further includes The following steps:
    所述成像设备根据序列号算出私钥,并根据该私钥、第一随机数及第二随机数计算得出第二目标数据;The imaging device calculates a private key according to the serial number, and calculates second target data according to the private key, the first random number, and the second random number;
    该成像设备将第一目标数据与第二目标数据进行比较;The imaging device compares the first target data with the second target data;
    根据比较结果生成所述初始验证结果。The initial verification result is generated based on the comparison result.
  8. 一种耗材芯片,其特征在于:包括A consumable chip characterized by: including
    生成模块,其用于根据耗材芯片的序列号生成校验值;Generating a module for generating a check value according to a serial number of the consumable chip;
    存储模块,其用于存储所述校验值;a storage module, configured to store the check value;
    第一发送模块,其用于将所述校验值发送至成像设备;a first sending module, configured to send the check value to an imaging device;
    第一获取模块,其用于获取成像设备根据序列号和/或校验值返回的验证结果;a first obtaining module, configured to acquire a verification result returned by the imaging device according to the serial number and/or the check value;
    第一判断模块,其用于判断验证结果是否为合法验证结果;若是,则验证通过;a first determining module, configured to determine whether the verification result is a legal verification result; if yes, the verification is passed;
    其中,相同序列号产生的所述检验值为固定值。Wherein, the test value generated by the same serial number is a fixed value.
  9. 根据权要求8所述的耗材芯片,其特征在于:还包括,A consumable chip according to claim 8 further comprising:
    随机数生成模块,其用于在序列号被读取之后,耗材芯片生成第一随机数;a random number generating module, configured to generate a first random number after the serial number is read;
    第二获取模块,其用于获取成像设备发送的第二随机数;a second acquiring module, configured to acquire a second random number sent by the imaging device;
    目标数据生成模块,其用于根据芯片预先存储的秘钥、第一随机数及第二随机数生成第一目标数据;a target data generating module, configured to generate first target data according to a secret key pre-stored by the chip, a first random number, and a second random number;
    第二发送模块,其用于将第一随机数、第二随机数及第一目标数据发送至成像设备; a second sending module, configured to send the first random number, the second random number, and the first target data to the imaging device;
    第三获取模块,其用于获取成像设备根据第一随机数、第二随机数及第一目标数据生成的初始验证结果;a third obtaining module, configured to acquire an initial verification result generated by the imaging device according to the first random number, the second random number, and the first target data;
    第二判断模块,其用于判断初始验证结果是否合法;a second determining module, configured to determine whether the initial verification result is legal;
    执行模块,其用于在第二判断模块的判断结果为初始验证结果合法之后,再执行所述根据耗材芯片的序列号生成校验值步骤。And an execution module, configured to perform the step of generating a check value according to the serial number of the consumable chip after the determination result of the second determining module is that the initial verification result is legal.
  10. 一种耗材容器,包括用于存储耗材的容器本体,该容器本体上至少设置有一个安装位,其特征在于:还包括耗材芯片,所述耗材芯片安装于所述安装位,该耗材芯片为权利要求8或权利要求9所述的耗材芯片,该耗材芯片的验证方法为权利要求1-7任一项所述的验证方法。 A consumable container comprising a container body for storing consumables, the container body being provided with at least one mounting position, characterized in that: further comprising a consumable chip, the consumable chip mounted on the mounting position, the consumable chip being right The consumable chip according to claim 8 or claim 9, wherein the verification method of the consumable chip is the verification method according to any one of claims 1 to 7.
PCT/CN2017/080570 2017-04-14 2017-04-14 Method for verifying consumable chip, consumable chip and consumable container WO2018188071A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710243693.0A CN108734253B (en) 2017-04-14 2017-04-14 Consumable chip verification method, consumable chip and consumable container
CN201710243693.0 2017-04-14

Publications (1)

Publication Number Publication Date
WO2018188071A1 true WO2018188071A1 (en) 2018-10-18

Family

ID=63792150

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080570 WO2018188071A1 (en) 2017-04-14 2017-04-14 Method for verifying consumable chip, consumable chip and consumable container

Country Status (3)

Country Link
JP (1) JP6534467B2 (en)
CN (1) CN108734253B (en)
WO (1) WO2018188071A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585847A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Detection system and method
CN111629118A (en) * 2020-04-08 2020-09-04 广州众诺电子技术有限公司 Chip verification method, consumable chip and imaging box

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977656B (en) 2019-04-08 2019-12-20 广州众诺电子技术有限公司 Identity verification method, consumable cartridge and storage medium
CN110989312B (en) * 2019-07-01 2022-12-09 极海微电子股份有限公司 Consumable chip and consumable
CN110920261B (en) * 2019-12-11 2021-05-04 珠海艾派克微电子有限公司 Authentication method of consumable chip and printing consumable
CN112597450B (en) * 2020-12-22 2025-01-14 深圳市道通科技股份有限公司 Programmable chip program detection, storage method and programmable chip
CN113157225A (en) * 2021-05-25 2021-07-23 广州众诺电子技术有限公司 Method for switching serial numbers, consumable device and computer storage medium
CN113792351A (en) * 2021-08-16 2021-12-14 珠海天威技术开发有限公司 Consumable chip serial number generation method, consumable chip and consumable container
CN113687802A (en) * 2021-08-27 2021-11-23 广州众诺电子技术有限公司 Chip verification method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015018209A1 (en) * 2013-08-09 2015-02-12 珠海艾派克微电子有限公司 Consumable material chipset, imaging box set, information storage method, and consumable material chip replacement method
CN104553384A (en) * 2014-12-25 2015-04-29 珠海艾派克微电子有限公司 Consumable chip as well as identification method and device for serial number of consumable chip
CN104943397A (en) * 2015-06-25 2015-09-30 珠海艾派克微电子有限公司 Imaging box chip, imaging box and method for replacing serial numbers of imaging box chip
CN105398225A (en) * 2015-12-10 2016-03-16 杭州旗捷科技有限公司 Ink cartridge chip, ink cartridge and ink cartridge recognition system and method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4273724B2 (en) * 2002-08-29 2009-06-03 カシオ電子工業株式会社 Consumables unauthorized use prevention system
JP2004126390A (en) * 2002-10-04 2004-04-22 World Network Kk Illegality monitor system for interchangeable cartridge of electrophotographic printer and storage element for use in the same
JP2009266130A (en) * 2008-04-28 2009-11-12 Sony Corp Communication device and response method
JP2010149283A (en) * 2008-12-23 2010-07-08 Brother Ind Ltd Controller and program
CN101916062B (en) * 2009-10-22 2012-06-13 珠海天威技术开发有限公司 Chip, consumables container and working method of chip
CN101894285A (en) * 2010-01-26 2010-11-24 珠海天威技术开发有限公司 Radio frequency chip, consumable material container, data writing method and verifying method
CN102045333B (en) * 2010-06-29 2013-06-19 飞天诚信科技股份有限公司 Method for generating safety message process key
US8311419B2 (en) * 2010-11-29 2012-11-13 Xerox Corporation Consumable ID differentiation and validation system with on-board processor
JP5640058B2 (en) * 2012-10-10 2014-12-10 株式会社東芝 Image forming apparatus
KR20150033895A (en) * 2013-09-25 2015-04-02 삼성전자주식회사 crum chip mauntable in comsumable unit, image forming apparatus for authentificating the crum chip, and method thereof
CN103753963B (en) * 2013-12-26 2016-03-30 珠海艾派克微电子有限公司 A kind of imaging device carries out imaging cartridge legality identification method and imaging device
JP6670067B2 (en) * 2015-09-29 2020-03-18 理想科学工業株式会社 Authentication equipment and consumables

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015018209A1 (en) * 2013-08-09 2015-02-12 珠海艾派克微电子有限公司 Consumable material chipset, imaging box set, information storage method, and consumable material chip replacement method
CN104553384A (en) * 2014-12-25 2015-04-29 珠海艾派克微电子有限公司 Consumable chip as well as identification method and device for serial number of consumable chip
CN104943397A (en) * 2015-06-25 2015-09-30 珠海艾派克微电子有限公司 Imaging box chip, imaging box and method for replacing serial numbers of imaging box chip
CN105398225A (en) * 2015-12-10 2016-03-16 杭州旗捷科技有限公司 Ink cartridge chip, ink cartridge and ink cartridge recognition system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629118A (en) * 2020-04-08 2020-09-04 广州众诺电子技术有限公司 Chip verification method, consumable chip and imaging box
CN111629118B (en) * 2020-04-08 2024-05-10 广州众诺微电子有限公司 Chip verification method, consumable chip and imaging box
CN111585847A (en) * 2020-05-21 2020-08-25 四川虹美智能科技有限公司 Detection system and method

Also Published As

Publication number Publication date
JP6534467B2 (en) 2019-06-26
CN108734253A (en) 2018-11-02
JP2018176723A (en) 2018-11-15
CN108734253B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
WO2018188071A1 (en) Method for verifying consumable chip, consumable chip and consumable container
US7212637B2 (en) Cartridge validation with radio frequency identification
US9857727B2 (en) Imaging supply memory
CN103921574B (en) The parameter sending method of imaging box storage chip, storage chip and imaging box
US20130290360A1 (en) Consumable identifier
CN110271292B (en) Imaging box universal chip, imaging box, imaging system and using method
US20170134610A1 (en) Systems and Methods for Universal Imaging Components
JP6330299B2 (en) Printing device
CN111703210B (en) Consumable chip, response method of consumable chip, consumable box and storage medium
KR20040006406A (en) Availability certifying method of toner-cartridge for printer or duplicator and system thereof
CN114193935A (en) Printing consumable communication method, regeneration consumable chip, printing consumable and printing system
CN109976928B (en) Chip, chip resetting method and consumable container
CN111881489A (en) Chip data modification method, memory chip and consumable container
CN110121423B (en) Reset method, reset device and reset system of data storage device
US12236436B2 (en) Methods and systems for determining the authenticity of a component
CN111629118B (en) Chip verification method, consumable chip and imaging box
CN113326008A (en) Chip verification method, imaging chip and imaging box
JP6318323B2 (en) IC chips, replacement parts, equipment
CN105172395A (en) Printer authoring system and method
JP2008108139A (en) Rfid device, rfid discrimination device, and rfid control device
JP2018134864A (en) Ic chip, device component, and device
JP2018171905A (en) Device, ic chip, device replacement component, and control program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17905182

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17905182

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载