WO2019090514A1 - 存储芯片复位方法、复位装置及复位系统 - Google Patents

存储芯片复位方法、复位装置及复位系统 Download PDF

Info

Publication number
WO2019090514A1
WO2019090514A1 PCT/CN2017/109934 CN2017109934W WO2019090514A1 WO 2019090514 A1 WO2019090514 A1 WO 2019090514A1 CN 2017109934 W CN2017109934 W CN 2017109934W WO 2019090514 A1 WO2019090514 A1 WO 2019090514A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
reset
imaging device
instruction
function
Prior art date
Application number
PCT/CN2017/109934
Other languages
English (en)
French (fr)
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 PCT/CN2017/109934 priority Critical patent/WO2019090514A1/zh
Priority to CN201780001508.5A priority patent/CN110177696B/zh
Publication of WO2019090514A1 publication Critical patent/WO2019090514A1/zh

Links

Images

Classifications

    • 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

Definitions

  • the present invention relates to the field of memory chips, and in particular to a memory chip reset method applicable to an image forming apparatus (for example, a copying machine, a printer, a facsimile machine, a multi-function word processor, etc.) and a reset device and a reset system to which the reset method is applied .
  • an image forming apparatus for example, a copying machine, a printer, a facsimile machine, a multi-function word processor, etc.
  • a reset device and a reset system to which the reset method is applied .
  • the consumption of toner cartridges or ink cartridges applied to image forming apparatuses and memory chips mounted on toner cartridges or ink cartridges has been increasing. If the toner or ink in the toner cartridge or ink cartridge is exhausted, the memory chip (the chip including the IC (integrated circuit) and the corresponding peripheral circuit) that is mounted on the toner cartridge or the ink cartridge is also used together with the waste toner cartridge or the ink cartridge. Discarding together and not being reused can cause a lot of waste.
  • the chip recycler usually uses the old memory chip to crack, and then resets the discarded old chip to realize the reuse of the discarded old chip.
  • the legitimacy of the memory chip and the security of the communication data are based on the encryption algorithm.
  • encryption algorithms commonly used in the field of printer consumables are group encryption, public key encryption, and the like.
  • Common packet encryption includes DES, 3DES, AES, etc.
  • Common public key encryption includes RSA, ElGamal, ECC, and the like.
  • the data communicated between the printer and the memory chip is encrypted and the encrypted key is dynamic, ie the key for each communication is different.
  • the key is not transmitted directly to the printer but transmits some parameters of the generated key and the parameter is passed Encrypted.
  • the encryption algorithm of the prior art can realize the reuse of the memory chip. If the encryption degree of the memory chip is high and the encryption algorithm of the memory chip is difficult, the memory chip cannot be realized. Reset will still cause waste of the old chip.
  • the present invention provides a memory chip reset method, a reset device and a reset system using the memory chip reset method, and the reset method can reset the memory chip without breaking the memory chip encryption algorithm. Therefore, the memory chip can be reset regardless of whether the encryption level is high or low.
  • a memory chip reset method includes the following steps:
  • the imaging device and the chip to be reset are turned on; the chip to be reset is reset by the imaging device.
  • the process of resetting the chip to be reset by the imaging device comprises the following steps:
  • the imaging device receives an instruction to write a failure
  • the instruction to be reset by the chip to be reset is successfully reset to the imaging device.
  • the step of turning on the imaging device and the chip to be reset is before the instruction to resend the data of the writing consumable consumption according to the instruction that the writing fails, and the disconnecting imaging device After the step of communicating with the function chip.
  • the step of resetting the chip to be successfully written to the imaging device to implement resetting comprises the following substeps:
  • the chip to be reset receives the data of the consumable consumption, it determines whether the writing is successful
  • an instruction to write a failure is generated and sent to the imaging device, and the imaging device continues to send an instruction to write data for consumable consumption.
  • the instructions comprise a write instruction and a read instruction.
  • the consumable consumption of the chip to be reset has reached a maximum threshold; the consumable consumption of the functional chip is greater than or equal to zero and less than a maximum threshold.
  • the following steps are also included:
  • the imaging device verifies the legality of the functional chip
  • the function chip is a legal chip, the function chip can be verified by the imaging device;
  • the imaging device uses the function chip
  • the imaging device transmits an instruction to the function chip according to the operation using the function chip.
  • the invention also provides a memory chip reset device, comprising: a monitoring module and a controller connected to the monitoring module;
  • the monitoring module includes an obtaining unit, a determining unit, and a sending unit;
  • the acquiring unit is configured to acquire an instruction sent by the imaging device
  • the determining unit is configured to determine whether the instruction is an instruction to write data of a consumable consumption amount
  • the transmitting unit is configured to send an instruction of writing failure to the imaging device after disconnecting communication between the imaging device and the function chip;
  • a controller for controlling the switching between the function chip and the chip to be reset and the imaging device respectively; disconnecting the imaging device from the chip to be reset when the reset is started, turning on the imaging device and the function chip, so that the function chip and the imaging device Communicating; if the judgment result of the judging unit is YES, disconnect the communication between the imaging device and the function chip; and turn on the imaging device and the chip to be reset before transmitting the instruction to write failure to the imaging device.
  • the invention also provides a memory chip reset system, comprising an imaging device, a reset device, a function chip and a reset chip;
  • the reset device is the memory chip reset device described above, and the reset device is monitored
  • the listening module and the controller are both connected to the imaging device; the functional chip and the reset chip are respectively connected to the controller.
  • the reset device, the function chip and the reset chip are respectively connected to the imaging device through the IIC bus.
  • the present invention first disconnects the communication device from the chip to be reset, turns on the imaging device and the function chip, so that the function chip can communicate with the imaging device; and then according to the writing consumable consumption sent by the imaging device
  • the instruction of the data disconnects the communication between the imaging device and the function chip; and sends an instruction to write the failure to the imaging device; turns on the imaging device and the chip to be reset; and resets the chip to be reset by the imaging device.
  • the imaging device first writes the consumable consumption data to the function chip, and after the cutting, the function chip can communicate with the imaging device, so that the consumable consumption data cannot be successfully written into the function chip, and the reset device will go to the imaging device.
  • the imaging device After the imaging device receives the instruction to write the failure, the imaging device will re-shake the chip and send the unwritten data to the chip again. At this time, the communication device is in communication to be reset.
  • the chip so the data of the consumable capacity sent by the imaging device again is written to the chip to be reset. Therefore, the chip to be reset can be reset without cracking the encryption algorithm of the reset chip, and the memory chip reset method, reset device and reset system of the present invention can be used regardless of how high or low the degree of encryption of the chip to be reset is. The reset operation is performed and the efficiency of the reset is high.
  • FIG. 1 is a flowchart of a memory chip reset method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a memory chip reset device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a memory chip reset system according to an embodiment of the present invention.
  • the embodiment provides a reset method of a memory chip, including the following steps:
  • step S1 the communication between the imaging device and the chip to be reset is disconnected, and the imaging device and the function chip are turned on, so that the function chip can communicate with the imaging device.
  • the chip to be reset and the function chip can be connected to the imaging device through the IIC bus. Whether the chip to be reset and the function chip communicate with the imaging device can be controlled by a reset device. For example, before the reset chip is reset, the imaging device needs to communicate with the function chip to generate reset data and cannot communicate with the reset chip, thereby preventing the imaging device from generating erroneous reset data.
  • the consumable consumption of the chip to be reset has reached a maximum threshold; the consumable consumption of the functional chip is greater than or equal to zero and less than the maximum threshold.
  • the function chip can be a brand new chip, and it can be verified by the imaging device; the chip to be reset is a used chip, for example, the chip to be reset represents zero data of the consumable capacity, and the chip to be reset is also Can be verified by the imaging device.
  • step S2 an instruction sent by the imaging device is acquired.
  • the imaging device generates a read command or a write command during communication with the function chip and sends it to the function chip.
  • the instruction sent by the imaging device can be acquired by the reset device before the instruction is sent to the function chip, and step S3 is performed.
  • step S3 it is determined whether the instruction is an instruction to write data of the consumable consumption. If yes, step S4 is performed; otherwise, the instruction is allowed to be written into the function chip, because the imaging device verifies one of the legality of the function chip and the serial number of the read chip before writing the data of the consumable consumption to the function chip. Or a variety of operations.
  • Step S4 if yes, disconnect the communication device from the function chip before the data of the consumable consumption is written to the function chip.
  • This step prevents data on consumable consumption from being written to the function chip, thereby providing reset data for resetting the chip to be reset. Since the image forming apparatus does not successfully write the consumable consumption amount to the function chip, the data of the writing consumable consumption amount is transmitted to the function chip again.
  • step S5 an instruction to write failure is sent to the imaging device.
  • Step S5 may be performed before the data of the consumable consumption is written into the function chip, or step S5 may be performed before the communication of the imaging device and the function chip is disconnected after the data of the consumable consumption is written into the function chip. .
  • Step S5 may also be performed after disconnecting the communication between the imaging device and the function chip.
  • the instruction to write failure may be generated by the reset device or generated by the function chip. For example, the address of the data written by the imaging device to the function chip may be exceeded by the reset device, and the function chip may generate an instruction for writing failure.
  • step S6 the imaging device and the chip to be reset are turned on, so that the imaging device communicates with the chip to be reset; the chip to be reset is reset by the imaging device. Since the imaging device has generated data of consumable consumption according to the function chip before communicating with the chip to be reset, and the data is not successfully written to any one of the chips, the consumable is turned on after the imaging device and the chip to be reset are turned on. The consumption data is successfully written to the chip to be reset, thus completing the reset.
  • the process of resetting the chip to be reset by the imaging device in step S6 includes the following steps:
  • step S61 the imaging device receives an instruction to write a failure.
  • Step S62 according to the instruction that the writing fails, the imaging device transmits the instruction of the data of the writing consumable consumption again.
  • Step S63 writing data of the consumable consumption amount not written into the function chip is written into the chip to be reset; since the communication between the function chip and the imaging device has been disconnected before step S63, and the chip to be reset communicates with the imaging device, imaging is performed The instruction of the data of the write consumable consumption sent by the device again is written to the chip to be reset.
  • Step S64 after the data of the consumable consumption is written into the chip to be reset, the chip to be reset generates an instruction for successful writing, and the instruction for successfully sending the write is sent to the imaging device for resetting.
  • the data of the consumable consumption received by the chip to be reset actually comes from the function chip. If the function chip is a brand new chip, the function chip prints a page after communicating with the imaging device, and the consumable consumption is one. At this time, the data of the consumable consumption of the chip to be reset is 1, which is equivalent to one page of the consumables of the chip to be reset. If a brand new chip can print 10,000 pages, the consumables of the chip to be reset after resetting remain. 9999 pages.
  • the step of turning on the imaging device and the chip to be reset is before the instruction to resend the data of the writing consumable consumption according to the instruction that the writing fails, and in the disconnection After the step of communicating the imaging device with the functional chip.
  • the data of the consumable consumption is written into the chip to be reset.
  • the step of resetting includes the following substeps:
  • the chip to be reset receives the data of the consumable consumption, it determines whether the writing is successful
  • an instruction to write a failure is generated and sent to the imaging device, and the imaging device continues to send an instruction to write data for consumable consumption.
  • the chip to be reset may also perform the following steps after failing to write the data of the consumable consumption: the imaging device determines the chip as an illegal chip, and prohibits the reset chip from communicating with the imaging device.
  • the method further includes the following steps:
  • the imaging device verifies the legality of the functional chip
  • the function chip is a legal chip, the function chip can be verified by the imaging device;
  • the imaging device uses the function chip
  • the image forming apparatus may use a function chip in such a manner that the image forming apparatus performs an image forming operation through the function chip, at which time the consumables are consumed, and the consumables consumption amount is recorded, for example, the printer can perform one page printing using the function chip, and record the consumable consumption.
  • the amount is 1.
  • the present invention records the communication state of the imaging device and the function chip and the transmitted data, and writes the data of the consumable consumption of the function chip into the chip to be reset, so that The consumable consumption of the reset chip is the function chip, and the reset is completed, and it is not necessary to know the encryption algorithm of the chip to be reset during the reset process.
  • the present invention further provides a memory chip reset apparatus 100, including: a monitor module 1 and a controller 2 connected to the monitor module 1.
  • the monitoring module 1 includes an obtaining unit 11, a determining unit 12 and a sending unit 13; the obtaining unit 11, the determining unit 12 and the sending unit 13 can be respectively connected to the controller 2.
  • the acquisition unit 11 can also be connected to an imaging device, and the acquisition unit 11 is configured to acquire an instruction sent by the imaging device.
  • the determining unit 12 is configured to determine whether the instruction is an instruction to write data of a consumable consumption amount.
  • the transmitting unit 13 can also be connected to an imaging device for transmitting an instruction to write failure to the imaging device after disconnecting the communication device from the function chip 200.
  • the controller 2 can be connected to both the function chip 200 and the chip to be reset 300.
  • the controller 2 is used to control the switching between the function chip 200 and the chip to be reset 300 and the imaging device respectively; the imaging device is disconnected and reset when the reset is started.
  • the communication of the chip 300 turns on the imaging device and the function chip 200, so that the function chip 200 can communicate with the imaging device; if the determination result of the determination unit 12 is YES, the communication between the imaging device and the function chip 200 is disconnected;
  • the imaging device and the chip to be reset 300 are turned on before the imaging device transmits an instruction to write a failure.
  • the present invention further provides a memory chip reset system, including an imaging device, a reset device 100, a function chip 200, and a reset chip;
  • the reset device is the memory chip reset device 100 described in the above embodiment, and the monitor module 1 and the controller 2 of the reset device are both connected to the imaging device; the function chip 200 and the reset chip are respectively connected to the controller 2 .
  • the reset device 100, function The chip 200 and the reset chip are respectively connected to the imaging device through the IIC bus 400.
  • the controller (A/B) 2 is disposed on a line connecting the function chip 200 and the imaging device; the controller (C/D) 2 is disposed on a line connecting the chip 300 to be reset and the imaging device, so as to be controlled
  • the device 2 better controls the on/off of the function chip 200, the chip to be reset 300 and the imaging device.
  • both the memory chip reset device and the memory chip reset system of the present invention can reset the reset chip 300 by using the memory chip reset method described in the above embodiments.
  • the following printer is used as an imaging device to reset the reset chip as an example.
  • the working principle of the memory chip reset method, the reset device and the reset system of the present invention is described.
  • the chip to be reset is a printed chip:
  • the function chip is a brand-new chip, that is, the function chip is not over-machined or has no printer, so the value of the counting area for recording consumable consumption is zero. At this time, if the printer prints a piece of paper, the printer will count to the function chip. The zone writes 1, that is, the consumption of consumables is 1. At this time, the communication between the function chip and the imaging device is cut off, and the chip to be reset is communicated with the imaging device, and then the reset device transmits an instruction to the imaging device that the function chip fails to successfully write the data 1 of the consumable consumption amount into the counting area.
  • the printer After receiving the instruction that the data 1 that received the consumable consumption is not successfully written into the counting area, the printer re-engages with the function chip, that is, re-handshake, and the printer will continue to fail to write the functional chip consumable last time.
  • the data of the consumption amount is sent again. Since the imaging device has already communicated with the chip to be reset, the data of the consumable consumption sent by the printer is actually sent to the chip to be reset to complete the reset.
  • the reset device sends a write failure instruction to the imaging device, and after the imaging device receives the instruction to write the failure, the imaging device The chip will be re-sent and the unwritten data will be sent to the chip again.
  • the data of the unsuccessfully written consumable capacity sent by the receiving imaging device is the chip to be reset.
  • the chip to be reset can be an original old chip.
  • the invention realizes the reset operation by switching the function chip connected to the imaging device to the chip to be reset before the printer re-sends the chip handshake and sends the unwritten data to the chip again.
  • the chip to be reset can be reset without cracking the encryption algorithm of the reset chip, and the memory chip reset method, reset device and reset system of the present invention can be used regardless of how high or low the degree of encryption of the chip to be reset is.
  • the reset operation is performed and the efficiency of the reset is high.

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Storage Device Security (AREA)

Abstract

一种存储芯片复位方法、复位装置(100)及复位系统,所述复位方法包括如下步骤:断开成像设备与待复位芯片(300)的通信,接通成像设备与功能芯片(200),使得功能芯片(200)能与成像设备进行通信(步骤S1);获取成像设备发送的指令(步骤S2);判断所述指令是否为写耗材消耗量的数据的指令(步骤S3);若是则在耗材消耗量的数据被写入功能芯片(200)之前断开成像设备与功能芯片(200)的通信(步骤S4);向成像设备发送写入失败的指令(步骤S5);接通成像设备与待复位芯片(300),通过成像设备对待复位芯片(300)进行复位(步骤S6)。所述方法在复位的过程中无需知道待复位芯片的加密算法情况下即可对待复位芯片进行复位,且复位的效率高。

Description

存储芯片复位方法、复位装置及复位系统 技术领域
本发明涉及存储芯片技术领域,具体涉及一种能应用于成像设备(例如复印机、打印机、传真机、多功能文字处理机等)的存储芯片复位方法及应用了该复位方法的复位装置及复位系统。
背景技术
随着打印机等成像设备的不断普及,应用于成像设备的碳粉盒或者墨盒及安装于碳粉盒或者墨盒的存储芯片的消耗量不断提高。若碳粉盒或者墨盒中的碳粉或者墨水消耗完了之后,将安装在碳粉盒或者墨盒上的存储芯片(芯片包括IC(integrated circuit)以及对应的外围电路)也连同废碳粉盒或者墨盒一同丢弃,不能被重复利用,则会造成很大的浪费。
目前芯片回收者通常采用对旧的存储芯片进行破解之后,才能对废弃后的旧芯片进行复位,实现对废弃旧芯片的重复利用。存储芯片的合法性以及通信数据的安全性都是建立在加密算法之上。目前应用在打印机耗材领域的加密算法比较常见的有分组加密、公钥加密等。常见的分组加密有DES、3DES、AES等,常见的公钥加密有RSA、ElGamal、ECC等。打印机与存储芯片通信的数据都是经过加密的且加密的密钥是动态的,即每一次通信的密钥都不一样。此外,密钥并不直接传输给打印机而是传输生成密钥的一些参数且该参数是经过 加密的。现有技术若对应加密程度低的存储芯片,其加密算法容易破解则可以实现对存储芯片的重复利用,若存储芯片的加密程度高,破解存储芯片的加密算法难度大,则不能实现对存储芯片复位,仍然会造成旧芯片的浪费。
发明内容
为解决上述问题,本发明提供一种存储芯片复位方法、应用该存储芯片复位方法的复位装置及复位系统,所述复位方法可以在不需要破解存储芯片加密算法的情况下对存储芯片进行复位,因此不论存储芯片的加密程度高还是低均能被复位。
一种存储芯片复位方法,包括如下步骤:
断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信;
获取成像设备发送的指令;
判断所述指令是否为写耗材消耗量的数据的指令;
若是,则在耗材消耗量的数据被写入功能芯片之前断开成像设备与功能芯片的通信;
向成像设备发送写入失败的指令;
接通成像设备与待复位芯片;通过成像设备对待复位芯片进行复位。
优选地,所述通过成像设备对待复位芯片进行复位的过程包括如下步骤:
成像设备接收到写入失败的指令;
根据所述写入失败的指令成像设备再次发送所述写耗材消耗量的数据的指令;
将未写入功能芯片的耗材消耗量的数据写入待复位芯片;
在将耗材消耗量的数据写入待复位芯片之后,待复位芯片发送写入成功的指令给成像设备实现复位。
优选地,所述接通成像设备与待复位芯片的步骤在所述根据所述写入失败的指令成像设备再次发送所述写耗材消耗量的数据的指令之前,且在所述断开成像设备与功能芯片的通信的步骤之后。
优选地,所述在将耗材消耗量的数据写入待复位芯片之后,待复位芯片发送写入成功的指令给成像设备实现复位的步骤包括如下子步骤:
待复位芯片在接收到耗材消耗量的数据之后,判断是否写入成功;
若是,则生成写入成功的指令,并将该指令发送至成像设备,完成复位;
否则,生成写入失败的指令,并将该指令发送至成像设备,成像设备则继续发送写入耗材消耗量的数据的指令。
优选地,所述指令包括写指令与读指令。
优选地,所述待复位芯片的耗材消耗量已经达到最大阈值;所述功能芯片的耗材消耗量大于或等于零,且小于最大阈值。
优选地,在所述接通成像设备与功能芯片的步骤之后,在所述获 取成像设备发送的指令步骤之前,还包括如下步骤:
成像设备验证所述功能芯片的合法性;
若功能芯片为合法芯片时,所述功能芯片能通过成像设备的验证;
在所述功能芯片验证通过之后,成像设备使用功能芯片;
成像设备根据使用功能芯片的操作向功能芯片发送的指令。
本发明还提供了一种存储芯片复位装置,包括:监听模块及与监听模块连接的控制器;
所述监听模块包括获取单元、判断单元及发送单元;
所述获取单元用于获取成像设备发送的指令;
所述判断单元用于判断所述指令是否为写耗材消耗量的数据的指令;
所述发送单元用于在断开成像设备与功能芯片的通信之后向成像设备发送写入失败的指令;
控制器,用于控制功能芯片及待复位芯片分别与成像设备的通断;在复位启动时断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信;若所述判断单元的判断结果为是时断开成像设备与功能芯片的通信;在向成像设备发送写入失败的指令之前接通成像设备与待复位芯片。
本发明还提供一种存储芯片复位系统,包括成像设备、复位装置、功能芯片及复位芯片;
所述复位装置为以上所述的存储芯片复位装置,该复位装置的监 听模块及控制器均与成像设备连接;所述功能芯片及复位芯片分别与所述控制器连接。
优选地,所述复位装置、功能芯片及复位芯片分别通过IIC总线与成像设备连接。
本发明的有益效果:
与现有技术相比,本发明先断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信;然后根据成像设备发送的写耗材消耗量的数据的指令断开成像设备与功能芯片的通信;并向成像设备发送写入失败的指令;接通成像设备与待复位芯片;通过成像设备对待复位芯片进行复位。在复位过程中成像设备先往功能芯片写入耗材消耗量数据,并且切断后功能芯片能与成像设备的通信,使得耗材消耗量数据不能被成功写入功能芯片,此时复位装置会向成像设备发送写入失败的指令,成像设备在接收到写入失败的指令后,则成像设备会重新和芯片握手并再次把未写入的数据再次发送给芯片,此时与成像设备通信的是待复位芯片,所以成像设备再次发送的耗材容量的数据被写入待复位芯片。如此可以无需对待复位芯片的加密算法进行破解即可实现对待复位芯片进行复位,无论该待复位芯片的加密程度有多高或多低均可采用本发明的存储芯片复位方法、复位装置及复位系统进行复位操作,且复位的效率较高。
附图说明
图1为本发明的实施例中一种存储芯片复位方法流程图;
图2为本发明的实施例中一种存储芯片复位装置示意图;
图3为本发明的实施例中一种存储芯片复位系统示意图。
具体实施方式
下面,结合附图以及具体实施方式,对本发明做进一步描述:
结合图1,本实施例提供一种存储芯片的复位方法,包括如下步骤:
步骤S1,断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信。待复位芯片及功能芯片均可通过IIC总线与成像设备连接。可通过一复位装置控制待复位芯片及功能芯片是否与成像设备通信。例如在对待复位芯片进行复位之前,成像设备需要与功能芯片通信生成复位数据并不能与复位芯片通信,避免成像设备生成错误的复位数据。
需要说明的是,所述待复位芯片的耗材消耗量已经达到最大阈值;所述功能芯片的耗材消耗量大于或等于零,且小于最大阈值。例如:所述功能芯片可为全新的芯片,且其能被成像设备验证通过;所述待复位芯片为使用过的芯片,如该待复位芯片代表耗材容量的数据为零,且待复位芯片也能被成像设备验证通过。
步骤S2,获取成像设备发送的指令。成像设备在与功能芯片通信过程中会生成读指令或者写指令,并往功能芯片发送。此时在所述指令被发送至功能芯片之前可通过复位装置来获取成像设备发送的指令,并执行步骤S3。
步骤S3,判断所述指令是否为写耗材消耗量的数据的指令。若是则执行步骤S4;否则允许将指令写入功能芯片,因为成像设备在往功能芯片写入耗材消耗量的数据之前先会验证功能芯片的合法性以及读取芯片的序列号等中的一种或者多种操作。
步骤S4,若是则在所述耗材消耗量的数据被写入功能芯片之前断开成像设备与功能芯片的通信。此步骤可以防止将耗材消耗量的数据写入功能芯片,从而为待复位芯片进行复位提供复位数据。因为成像设备在没有成功将耗材消耗量写入功能芯片时,会再次向功能芯片发送写入耗材消耗量的数据。
步骤S5,向成像设备发送写入失败的指令。可以在所述耗材消耗量的数据被写入功能芯片之前执行步骤S5,也可以在所述耗材消耗量的数据被写入功能芯片之后,在断开成像设备与功能芯片的通信之前执行步骤S5。也可以在在断开成像设备与功能芯片的通信之后执行步骤S5。写入失败的指令可由复位装置生成,或者由功能芯片生成,例如可通过复位装置使得成像设备写入功能芯片的数据的地址超过范围,功能芯片则会生成写入失败的指令。
步骤S6,接通成像设备与待复位芯片,使得成像设备与待复位芯片通信;通过成像设备对待复位芯片进行复位。由于成像设备在与待复位芯片通信之前,已经根据功能芯片生成了耗材消耗量的数据,且该数据没有被成功的写入任何一个芯片,因此在接通成像设备与待复位芯片之后,该耗材消耗量的数据会被成功写入待复位芯片,从而完成复位。
作为优选方案,在步骤S6中所述通过成像设备对待复位芯片进行复位的过程包括如下步骤:
步骤S61,成像设备接收到写入失败的指令。
步骤S62,根据所述写入失败的指令成像设备再次发送所述写耗材消耗量的数据的指令。
步骤S63,将未写入功能芯片的耗材消耗量的数据写入待复位芯片;由于在步骤S63之前,功能芯片与成像设备的通信已经断开,并且待复位芯片与成像设备进行通信,故成像设备再次发送的写耗材消耗量的数据的指令会被写入待复位芯片。
步骤S64,在将耗材消耗量的数据写入待复位芯片之后,待复位芯片会生成写入成功的指令,并将发送写入成功的指令给成像设备实现复位。此时待复位芯片接收到的耗材消耗量的数据实际是来自于功能芯片,假如功能芯片为全新的芯片,该功能芯片在与成像设备通信后打印了一页纸,那么耗材消耗量为一,此时写入待复位芯片的耗材消耗量的数据为1,相当于待复位芯片的耗材只使用了一页,假如一个全新的芯片能打印10000页,该待复位芯片在复位之后的耗材还剩余9999页。
作为优选的方案,所述接通成像设备与待复位芯片的步骤在所述根据所述写入失败的指令成像设备再次发送所述写耗材消耗量的数据的指令之前,且在所述断开成像设备与功能芯片的通信的步骤之后。
作为优选的方案,所述在将耗材消耗量的数据写入待复位芯片之 后,待复位芯片发送写入成功的指令给成像设备实现复位的步骤包括如下子步骤:
待复位芯片在接收到耗材消耗量的数据之后,判断是否写入成功;
若是,则生成写入成功的指令,并将该指令发送至成像设备,完成复位;
否则,生成写入失败的指令,并将该指令发送至成像设备,成像设备则继续发送写入耗材消耗量的数据的指令。待复位芯片在写入耗材消耗量的数据失败之后还可能执行如下步骤:成像设备将该芯片判定为非法芯片,并禁止该复位芯片与成像设备通信。
作为优选方案,在所述接通成像设备与功能芯片的步骤之后,在所述获取成像设备发送的指令步骤之前,还包括如下步骤:
成像设备验证所述功能芯片的合法性;
若功能芯片为合法芯片时,所述功能芯片能通过成像设备的验证;
在所述功能芯片验证通过之后,成像设备使用功能芯片;
根据使用功能芯片的操作成像设备向功能芯片发送的指令。所述成像设备使用功能芯片的方式可为,成像设备通过功能芯片执行成像操作,此时会消耗耗材,并记录耗材消耗量,例如可为打印机利用功能芯片执行打印一页纸,并记录耗材消耗量为1。
综上,本发明是通过监控成像设备与功能芯片通信状态及发送的数据,将功能芯片的耗材消耗量的数据写入到待复位芯片内,使得待 复位芯片的耗材消耗量为功能芯片的,完成复位,在复位的过程中无需知道待复位芯片的加密算法。
作为另一较佳实施例,参照图2,本发明还提供一种存储芯片复位装置100,包括:监听模块1及与监听模块1连接的控制器2。所述监听模块1包括获取单元11、判断单元12及发送单元13;所述获取单元11、判断单元12及发送单元13分别可以与控制器2连接。所述获取单元11还可与成像设备连接,该获取单元11用于获取成像设备发送的指令。所述判断单元12用于判断所述指令是否为写耗材消耗量的数据的指令。所述发送单元13还可与成像设备连接,该发送单元13用于在则断开成像设备与功能芯片200的通信之后向成像设备发送写入失败的指令。控制器2可与功能芯片200及待复位芯片300均连接,该控制器2用于控制功能芯片200及待复位芯片300分别与成像设备的通断;在复位启动时断开成像设备与待复位芯片300的通信,接通成像设备与功能芯片200,使得功能芯片200能与成像设备进行通信;若所述判断单元12的判断结果为是时断开成像设备与功能芯片200的通信;在向成像设备发送写入失败的指令之前接通成像设备与待复位芯片300。
作为另一较佳实施例,参照图3,本发明还提供一种存储芯片复位系统,包括成像设备、复位装置100、功能芯片200及复位芯片;
所述复位装置为以上实施例所述的存储芯片复位装置100,该复位装置的监听模块1及控制器2均与成像设备连接;所述功能芯片200及复位芯片分别与所述控制器2连接。所述复位装置100、功能 芯片200及复位芯片分别通过IIC总线400与成像设备连接。连接功能芯片200及成像设备的线路上设置有所述控制器(A/B)2;连接待复位芯片300及成像设备的线路上设置有所述控制器(C/D)2,如此以便控制器2更好的控制功能芯片200、待复位芯片300与成像设备通信的通断。
需要说明的是,本发明的存储芯片复位装置及存储芯片复位系统均可采用以上各实施例所述的存储芯片复位方法对待复位芯片300进行复位。
以下打印机作为成像设备对待复位芯片进行复位为例对本发明的存储芯片复位方法、复位装置及复位系统的工作原理进行说明,待复位芯片为打印完毕的芯片:
所述功能芯片为全新芯片,即该功能芯片没有上过机或者没有打印机过,因此记录耗材消耗量的计数区的数值为零,此时若让打印机打印一张纸则打印机会往功能芯片计数区写1,即耗材消耗量为1。此时将功能芯片与成像设备的通信切断,并将待复位芯片与成像设备通信,然后通过复位装置向成像装置发送功能芯片未能成功将接收到耗材消耗量的数据1写入计数区的指令,打印机在接收到未能成功将接收到耗材消耗量的数据1写入计数区的指令之后重新和功能芯片通信,也即重新握手,此时打印机会继续将上一次未能写进功能芯片耗材消耗量的数据再次发送处理,由于成像设备已经与待复位芯片通信了,所以本次打印机发送的耗材消耗量的数据实际是发送给了待复位芯片完成复位。
综上所述,在复位过程中成像设备往功能芯片写入耗材消耗量数据后,复位装置会向成像设备发送写入失败的指令,成像设备在接收到写入失败的指令后,则成像设备会重新和芯片握手并再次把未写入的数据再次发送给芯片,此时接收成像设备再次发送的未成功写入的耗材容量的数据为待复位芯片。需要说明的是待复位芯片可为原装的旧芯片。所述本发明是通过打印机会重新和芯片握手并把未写入的数据再次发送给芯片之前将与成像设备连接功能芯片切换成待复位芯片,实现复位操作。如此可以无需对待复位芯片的加密算法进行破解即可实现对待复位芯片进行复位,无论该待复位芯片的加密程度有多高或多低均可采用本发明的存储芯片复位方法、复位装置及复位系统进行复位操作,且复位的效率较高。
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。
需要说明的是:以上所述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。

Claims (10)

  1. 一种存储芯片复位方法,其特征在于,包括如下步骤:
    断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信;
    获取成像设备发送的指令;
    判断所述指令是否为写耗材消耗量的数据的指令;
    若是,则在耗材消耗量的数据被写入功能芯片之前断开成像设备与功能芯片的通信;
    向成像设备发送写入失败的指令;
    接通成像设备与待复位芯片;通过成像设备对待复位芯片进行复位。
  2. 根据权利要求1所述的存储芯片复位方法,其特征在于,所述通过成像设备对待复位芯片进行复位的过程包括如下步骤:
    成像设备接收到写入失败的指令;
    成像设备根据所述写入失败的指令再次发送写耗材消耗量的数据的指令;
    将未写入功能芯片的耗材消耗量的数据写入待复位芯片;
    在将耗材消耗量的数据写入待复位芯片之后,待复位芯片发送写入成功的指令给成像设备实现复位。
  3. 根据权利要求2所述的存储芯片复位方法,其特征在于,所述接通成像设备与待复位芯片的步骤在所述根据所述成像设备写入失败的指令再次发送所述写耗材消耗量的数据的指令之前,且在所述断开成像设备与功能芯片的通信的步骤之后。
  4. 根据权利要求2所述的存储芯片复位方法,其特征在于,所述在将耗材消耗量的数据写入待复位芯片之后,待复位芯片发送写入成功的指令给成像设备实现复位的步骤包括如下子步骤:
    待复位芯片在接收到耗材消耗量的数据之后,判断是否写入成功;
    若是,则生成写入成功的指令,并将该指令发送至成像设备,完成复位;
    否则,生成写入失败的指令,并将该指令发送至成像设备,成像设备则继续发送写入耗材消耗量的数据的指令。
  5. 根据权利要求1所述的存储芯片复位方法,其特征在于,所述指令包括写指令与读指令。
  6. 根据权利要求1-5任一项所述的的存储芯片复位方法,其特征在于,所述待复位芯片的耗材消耗量已经达到最大阈值;所述功能芯片的耗材消耗量大于或等于零,且小于最大阈值。
  7. 根据权利要求1-5任一项所述的的存储芯片复位方法,其特征在于,在所述接通成像设备与功能芯片的步骤之后,在所述获取成像设备发送的指令的步骤之前,还包括如下步骤:
    成像设备验证功能芯片的合法性;
    若功能芯片为合法芯片时,所述功能芯片能通过成像设备的验证;
    在所述功能芯片验证通过之后,成像设备使用功能芯片;
    成像设备根据使用功能芯片的操作向功能芯片发送的指令。
  8. 一种存储芯片复位装置,其特征在于,包括:监听模块及与监听模块连接的控制器;
    所述监听模块包括获取单元、判断单元及发送单元;
    所述获取单元用于获取成像设备发送的指令;
    所述判断单元用于判断所述指令是否为写耗材消耗量的数据的指令;
    所述发送单元用于在断开成像设备与功能芯片的通信之后向成像设备发送写入失败的指令;
    控制器,用于控制功能芯片及待复位芯片分别与成像设备的通断;在复位启动时断开成像设备与待复位芯片的通信,接通成像设备与功能芯片,使得功能芯片能与成像设备进行通信;若所述判断单元的判断结果为是时断开成像设备与功能芯片的通信;在向成像设备发送写入失败的指令之前接通成像设备与待复位芯片。
  9. 一种存储芯片复位系统,其特征在于,包括成像设备、复位装置、功能芯片及复位芯片;
    所述复位装置为权利要求8所述的存储芯片复位装置,该复位装置的监听模块及控制器均与成像设备连接;所述功能芯片及复位芯片分别与所述控制器连接。
  10. 根据权利要求9所述的存储芯片复位系统,其特征在于,所述复位装置、功能芯片及复位芯片分别通过IIC总线与成像设备连接。
PCT/CN2017/109934 2017-11-08 2017-11-08 存储芯片复位方法、复位装置及复位系统 WO2019090514A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/109934 WO2019090514A1 (zh) 2017-11-08 2017-11-08 存储芯片复位方法、复位装置及复位系统
CN201780001508.5A CN110177696B (zh) 2017-11-08 2017-11-08 存储芯片复位方法、复位装置及复位系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109934 WO2019090514A1 (zh) 2017-11-08 2017-11-08 存储芯片复位方法、复位装置及复位系统

Publications (1)

Publication Number Publication Date
WO2019090514A1 true WO2019090514A1 (zh) 2019-05-16

Family

ID=66438161

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109934 WO2019090514A1 (zh) 2017-11-08 2017-11-08 存储芯片复位方法、复位装置及复位系统

Country Status (2)

Country Link
CN (1) CN110177696B (zh)
WO (1) WO2019090514A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102627033A (zh) * 2012-04-06 2012-08-08 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备
CN103240999A (zh) * 2012-02-10 2013-08-14 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备
CN103963472A (zh) * 2014-05-06 2014-08-06 广州小微电子技术有限公司 一种芯片复位方法及其复位装置
CN104097409A (zh) * 2014-07-15 2014-10-15 广州小微电子技术有限公司 一种可替换单元的复位方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5206506B2 (ja) * 2008-03-13 2013-06-12 セイコーエプソン株式会社 装着装置、基板、液体情報を変更する方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103240999A (zh) * 2012-02-10 2013-08-14 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备
CN102627033A (zh) * 2012-04-06 2012-08-08 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备
CN103963472A (zh) * 2014-05-06 2014-08-06 广州小微电子技术有限公司 一种芯片复位方法及其复位装置
CN104097409A (zh) * 2014-07-15 2014-10-15 广州小微电子技术有限公司 一种可替换单元的复位方法

Also Published As

Publication number Publication date
CN110177696A (zh) 2019-08-27
CN110177696B (zh) 2021-09-03

Similar Documents

Publication Publication Date Title
KR101018387B1 (ko) 메모리부와 cpu를 구비한 교체가능유닛과 이를 이용하는 화상형성장치
KR101780734B1 (ko) Crum 칩과 화상형성장치 및 그 통신 방법
US8510574B2 (en) Network apparatus and communication controlling method
CN110928157B (zh) 耗材芯片、耗材盒、获取耗材芯片耗材信息的方法和介质
WO2019090514A1 (zh) 存储芯片复位方法、复位装置及复位系统
CN110121423B (zh) 数据存储装置的复位方法、复位装置及复位系统
JP2013078938A (ja) 画像形成装置、印刷ジョブの管理方法、プログラム及び記録媒体
CN109976928B (zh) 芯片、芯片复位方法及耗材容器
JP2007328574A (ja) 印刷システム及び印刷プログラム
JP7145752B2 (ja) 印刷システム、ホスト装置、印刷制御方法、およびプログラム
KR101866823B1 (ko) Crum 칩과 화상형성장치 및 그 통신 방법
CN114500762A (zh) 图像形成装置用数据传输控制装置、方法和系统
WO2018196332A1 (zh) 数据处理装置
JP2011118597A (ja) 印刷制御装置および印刷制御方法およびコンピュータが読み取り可能なプログラムを格納した記憶媒体およびプログラム
CN112104791A (zh) 图像形成控制方法、图像形成装置及电子设备
JP2011077904A (ja) 画像形成装置
JP2002192816A (ja) 記録装置のエラー監視システムおよびエラー監視制御方法

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: 17931811

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: 17931811

Country of ref document: EP

Kind code of ref document: A1