WO2019090513A1 - 数据存储装置的复位方法、复位装置及复位系统 - Google Patents

数据存储装置的复位方法、复位装置及复位系统 Download PDF

Info

Publication number
WO2019090513A1
WO2019090513A1 PCT/CN2017/109933 CN2017109933W WO2019090513A1 WO 2019090513 A1 WO2019090513 A1 WO 2019090513A1 CN 2017109933 W CN2017109933 W CN 2017109933W WO 2019090513 A1 WO2019090513 A1 WO 2019090513A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data storage
storage device
reset
address
Prior art date
Application number
PCT/CN2017/109933
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 CN201780001502.8A priority Critical patent/CN110121423B/zh
Priority to PCT/CN2017/109933 priority patent/WO2019090513A1/zh
Publication of WO2019090513A1 publication Critical patent/WO2019090513A1/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 imaging device technologies, and in particular, to a reset method of a data storage device applicable to an imaging device, a reset device to which the method is applied, and a reset system including the reset device.
  • Imaging devices such as copiers, printers, fax machines, and multi-function word processors have been widely used in office and home applications.
  • the imaging device is generally provided with an imaging cartridge (such as an ink cartridge, a toner cartridge, etc.), an imaging material (ink, toner, etc.), and a data storage device (such as a consumable chip, etc.), and the imaging material is contained in the imaging cartridge.
  • the data storage device is mounted on the imaging cartridge.
  • the imaging cartridge, imaging material, and data storage device can all be replaced.
  • the data storage device stores data related to the imaging cartridge, such as an imaging cartridge manufacturer code, a serial number, a version, a production date, a model number, a characteristic parameter, a consumable capacity, and a consumption of the consumable.
  • the consumption of printer consumables for imaging devices continues to increase, and if the imaging material in the imaging cartridge is consumed, the data storage device will be mounted on the imaging cartridge ( If the chip including the IC (integrated circuit) and the corresponding peripheral circuit are also discarded together with the waste imaging cartridge, it will waste, pollute the environment and increase the economic pressure of the consumer.
  • the old data storage device after being discarded can be reset, the old data storage device can be discarded. Reuse.
  • some data storage devices have a high degree of encryption and are not easy to crack.
  • the existing reset method has a lower success rate for the old data storage device with a higher degree of encryption.
  • the present invention provides a data storage device reset method with a high reset success rate, a reset device and a reset system using the reset method for resetting, and the reset method can be implemented without cracking the encryption algorithm of the data storage device. Reset the data storage device.
  • a method for resetting a data storage device includes the following steps:
  • the communication between the imaging device and the data storage device is turned on, and the data storage device is reset by the imaging device.
  • the instruction is an instruction to read data of the second address in the data storage device, the following substeps are further included:
  • the imaging device receives data of the first address
  • the reset data is generated after verifying the data of the first address.
  • the step of resetting the data storage device by the imaging device is included:
  • the imaging device transmits the reset data to the data storage device according to an instruction to write data of the second address
  • the data of the second address in the data storage device is replaced with the reset data.
  • the data of the second address is data of consumable consumption.
  • the step of generating the reset data after verifying the data of the first address comprises the following substeps:
  • the imaging device verifies the data of the first address, automatically identifying the consumption data of the second address as the original data;
  • the imaging device changes the raw data into a reset data by calculation.
  • the following steps are included before the imaging device sends an instruction to the data storage device to read the data of the second address;
  • the imaging device sends an instruction to the data storage device to read the data of the first address
  • the data of the first address is zero.
  • the invention also provides a reset device for a data storage device, comprising:
  • a first acquiring module configured to acquire an instruction sent by the imaging device to the data storage device
  • a second acquiring module configured to acquire data of a first address in the data storage device
  • a monitoring module which is connected to the first obtaining module and the second acquiring module; the monitoring module is configured to monitor an instruction sent by the imaging device, and determine whether the instruction is an instruction to read data of a second address in the data storage device;
  • An interface control module which is connected to the monitoring module, and the interface control module is configured to control the communication between the imaging device and the data storage device; when the monitoring module determines that the instruction is to read the data of the second address in the data storage device And interrupting communication between the imaging device and the data storage device, and transmitting data of the first address to the imaging device through the monitoring module; and after the data of the first address is sent to the imaging device, turning on the imaging device and the data storage device Communication, resetting the data storage device by the imaging device.
  • the data of the first address is zero; the data of the second address is data of consumable consumption.
  • the present invention also provides a reset system for a data storage device, comprising an imaging device, a reset device, and a data storage device, the reset device being connected to both the imaging device and the data storage device, wherein the reset device is as described above
  • the reset device of the data storage device is connected to the imaging device, and the interface control module of the reset device is connected to the monitoring module, the imaging device and the data storage device.
  • the instruction sent by the imaging device to the data storage device is monitored by the reset device, and the communication between the imaging device and the data storage device is cut off according to an instruction to monitor the data of the second address in the data storage device Transmitting data of the first address in the data storage device to the imaging device; then turning on communication between the imaging device and the data storage device, and resetting the data storage device by the imaging device, so the present invention is through the imaging device and the data storage device
  • the self-communication law and the encryption algorithm are used to implement the reset. Since the imaging device itself knows the encryption algorithm and the secret key of the data storage device, the data storage device can be realized without resetting the encryption algorithm of the data storage device at the time of resetting. Therefore, the reset method and the reset system of the data storage device of the present invention and the reset device and the reset system to which the method is applied are both very high in reset efficiency and success rate.
  • FIG. 1 is a flow chart of a method for resetting a data storage device according to a specific embodiment of the present invention
  • FIG. 2 is a schematic diagram of a reset device of a data storage device according to a specific embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a reset system of a data storage device in accordance with an embodiment of the present invention.
  • the embodiment provides a reset method of a data storage device, including the following steps:
  • Step S1 Acquire an instruction sent by the imaging device to the data storage device.
  • the data storage device may be a consumable chip; the instructions sent by the imaging device to the data storage device may include a read command and a write command.
  • the data storage device includes a first address and a second address.
  • the data stored by the first address may be data other than the consumption amount of the consumables, such as serial number data, area version data, powder model data, manufacturer code data, production date data, model data, characteristic parameter data, and the like. One or more of them.
  • the data of the first address in this embodiment is zero.
  • the second address can be The consumption of storage consumables, such as the amount of toner consumed in the toner cartridge.
  • Step S2 Acquire data of the first address in the data storage device. It should be noted that the order of step S1 and step S2 in this embodiment may be interchanged.
  • step S3 it is determined whether the instruction is an instruction to read data of the second address in the data storage device. If yes, go to step S4, if not, go to step S1.
  • the instructions may include an instruction to read data of the first address or the second address, an instruction to write data to the first address or the second address, or a re-handshake command or the like.
  • step S4 if the result of the determination in step S3 is YES, the communication between the imaging device and the data storage device is cut off, and the data of the first address acquired in step S2 is transmitted to the imaging device.
  • Sending the data of the first address to the imaging device is for the imaging device to normally decrypt and identify the data of the first address, so that the printer determines that the data storage device is legal, and determines the data storage device according to the data of the first address. It is a brand new data storage device.
  • the communication between the imaging device and the data storage device is cut off to prevent data stored in the second address in the data storage device from being transmitted to the imaging device, thereby preventing the imaging device from recording the actual consumption of consumables in the data storage device.
  • step S3 If the result of the determination in step S3 is YES, the following sub-steps may be further included in step S4, and step S41 and step S42 may be completed by the imaging device:
  • Step S41 The imaging device receives the data of the first address, since the data storage device is a legitimate device, that is, it can be verified by the imaging device. If the image forming device is a printer, the data storage device may be a chip, and the data storage device to be reset may be an original product, so the image forming device can pass the normal verification after receiving the data of the first address.
  • Step S42 the imaging device generates a reset number after verifying the data of the first address. according to. Since the communication between the imaging device and the data storage device is cut off, the imaging device does not acquire the data of the second address of the data storage device, that is, the consumption of the actual consumable.
  • step S5 the communication between the imaging device and the data storage device is turned on, and the data storage device is reset by the imaging device. Since the data of the first address can be verified and verified by the imaging device normally, the imaging device can consider the data storage device as a brand new data storage device, thereby transmitting the initial value of the consumption of the consumables of the data storage device as the reset data.
  • the reset data is sent to the second address of the data storage device, and the data stored at the second address is overwritten, thereby completing the reset.
  • the reset device can be turned off, or the reset device can be disconnected from the imaging device, and when the data storage device is mounted to the imaging device through the consumable cartridge, the imaging device can be activated to normally communicate with the imaging device.
  • the reset device can be started when a reset is required. It should be noted that steps S1 - S5 can be implemented by a reset device other than the imaging device and the data storage device, and can of course be implemented by the data storage device.
  • step S5 comprises the following sub-steps:
  • step S51 the imaging device transmits the reset data to the data storage device according to the instruction to write the data of the second address in the data storage device.
  • the imaging device generates a written instruction after generating the reset data, and then writes the reset data to the data storage device. Since the reset data is reset for the consumption of consumables, the reset data is written to the second address.
  • step S52 the data of the second address is replaced with the reset data.
  • the step of generating the reset data after verifying the data of the first address in step S5 includes the following sub-steps:
  • Step S53 after the imaging device verifies the data of the first address, the consumption data of the second address is automatically recognized as the original data.
  • the raw data may be other natural numbers than zero or zero. Since the data of the first address contains all zero data, the image forming apparatus can record the consumption amount data stored in the second address as zero, that is, the data storage device is recognized as a brand new device by the printer.
  • step S54 the imaging device changes the original data into reset data by calculation.
  • the calculation process may be to add one or the other natural number to the original data.
  • the calculation of the raw data into reset data can be achieved, for example, by using the data storage device once by the imaging device. It should be noted that the original data and the reset data may be binary, decimal or hexadecimal data, respectively.
  • the method before the imaging device sends an instruction to the data storage device to read the data of the second address, the method includes the following steps: the imaging device sends an instruction to read the data of the first address to the data storage device; and verifies the data of the first address For legal data. Since the data storage device to be reset and the imaging device are usually original, the data of the first address is legal data.
  • the imaging device itself knows the encryption algorithm and the key of the data storage device, so that the data storage device can be reset without resetting the encryption algorithm for the data storage device at the time of resetting, thus the present invention
  • the reset method of the data storage device and the reset efficiency and the success rate of the reset device and the reset system using the reset method are very high.
  • an embodiment of the present invention further provides a reset device for a data storage device, the device comprising:
  • a first obtaining module 1 configured to acquire an instruction sent by the imaging device to the data storage device
  • a second obtaining module 2 configured to acquire data of a first address in the data storage device
  • a monitoring module 3 which is connected to both the first obtaining module and the second acquiring module; the monitoring module is configured to monitor an instruction sent by the imaging device, and determine whether the instruction is an instruction to read data of a second address in the data storage device ;
  • the interface control module 4 is connected to the monitoring module, and the interface control module is configured to control the communication between the imaging device and the data storage device; when the monitoring module determines that the instruction is to read the second address in the data storage device When the instruction of the data is, the communication between the imaging device and the data storage device is cut off, and the data of the first address is sent to the imaging device through the monitoring module; after the data of the first address is sent to the imaging device, the imaging device and the data storage device are turned on Communication, resetting the data storage device through the imaging device.
  • the data of the first address is zero; the data of the second address is data of consumable consumption.
  • the reset device is capable of monitoring and interfering with communication data on the communication channel of the imaging device and the data storage device.
  • an embodiment of the present invention further provides a reset system of a data storage device, including an imaging device (not shown), a reset device 100, and a data storage device 200, the reset device 100 and an imaging device and data.
  • the storage devices 200 are all connected.
  • the reset device may be the reset device of the data storage device described in the above embodiments.
  • the monitoring module of the reset device 100 is connected to an imaging device, and the interface control module of the reset device is connected to the monitoring module, the imaging device, and the data storage device.
  • the imaging device can be connected to the reset device 100 and the data storage device 200 via the IIC bus 300.
  • the reset method, the reset device, and the reset system described in the foregoing embodiments may be used to reset the used data storage device.
  • the consumable chip whose consumable capacity has been completed may be reset to a consumable capacity. Consumable chip.
  • the data storage device is used as a chip, and the imaging device is used as a printer.
  • the reset method, the reset device, and the reset system of the data storage device of the present invention will be separately described.
  • the printer accesses the data related to the toner cartridge stored in the chip through specific instructions. For example, the printer may first read the area stored in the chip. The version data, the data of the serial number and the data of other areas in the chip and the data part of these areas are all zero, that is, the printer will first read the data stored in the first address, and the data of zero can be acquired by the reset device. The printer then reads the toner consumption (data stored at the second address) and records it.
  • the reset device In order to prevent the printer from recording the consumption of the consumables stored in the chip, it is necessary to prevent the printer from reading the consumption of the consumables stored in the original reset chip before the reset of the chip, and then the reset device is required to monitor and record all the printers to issue instructions and The data returned by the chip. Since the printer reads the data of other addresses in the chip before reading the consumption of consumables stored in the chip and the data is zero, that is, the first address.
  • the reset device When the reset device monitors that the printer needs to read the consumption of the consumables in the chip, that is, the data of the second address, the reset device first cuts off the communication between the chip and the printer and returns the data of the first address acquired from the chip to the printer, because The chip is the original chip, so the printer knows the chip encryption algorithm and the key, and the printer can normally decrypt the data of the first address through symmetric encryption. Since the data of the first address is zero, when the printer decrypts, the original chip is recorded. The consumption of consumables is 0 or raw data, which means that the chip is a new chip or the remaining amount of consumables is 100%.
  • the printer can print a piece of paper, at which time the printer will write the consumption of the consumables into the original chip, because the printing power-on records the consumables of the chip.
  • the consumption is 0, so after printing a piece of paper, the printer will write 1 to the second address in the chip, thus rewriting the previously exhausted consumption value to 1 to achieve reset.
  • the reset method and the reset device use the communication rule of the printer and the original chip and the encryption algorithm to realize the reset of the original chip, that is, since the chip is the original chip, the printer can verify the data of the first address, that is, The chip is legal, the printer can successfully communicate with the chip and smoothly write the reset data to the chip, so the reset method can realize the reset of the original chip without cracking the encryption algorithm of the chip, thereby effectively improving the efficiency of resetting. Success rate.

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Studio Devices (AREA)

Abstract

一种数据存储装置的复位方法、复位装置及复位系统,复位方法包括如下步骤:获取成像设备向数据存储装置(200)发送的指令(步骤S1);获取数据存储装置(200)中第一地址的数据(步骤S2);判断指令是否为读取数据存储装置(200)中第二地址的数据的指令(步骤S3);若是,则切断成像设备与数据存储装置(200)的通信,并将第一地址的数据发送至成像设备(步骤S4);接通成像设备与数据存储装置(200)的通信,通过成像设备对数据存储装置(200)的进行复位(步骤S5)。通过成像设备与数据存储装置(200)的自身通信规律及加密算法来实现复位,由于成像设备本身知道数据存储装置的加密算法及秘钥,无需破解对数据存储装置(200)的加密算法,就能实现对数据存储装置复位,复位效率及成功率均非常高。

Description

数据存储装置的复位方法、复位装置及复位系统 技术领域
本发明涉及成像设备技术领域,具体涉及一种可应用于成像设备的数据存储装置的复位方法、应用了该方法的复位装置及包含了所述复位装置的复位系统。
背景技术
如复印机、打印机、传真机、多功能文字处理机等成像设备已被广泛应用于办公及家庭等场合。成像设备中一般都设置有成像盒(例如墨盒、碳粉盒等)、成像材料(墨水、碳粉等)及数据存储装置(例如耗材芯片等)等耗材,所述成像材料装在成像盒内,数据存储装置安装在成像盒上。所述成像盒、成像材料及数据存储装置都可以更换。其中数据存储装置存储有与成像盒相关的数据,如:成像盒厂家代码、序列号、版本、生产日期、型号、特性参数、耗材容量、以及耗材的消耗量等信息。
随着成像技术的发展,随着打印机的不断普及,应用于成像设备的打印机耗材的消耗量不断提高,若在成像盒中的成像材料消耗完了之后,将安装在成像盒上的数据存储装置(如包括IC(integrated circuit)的芯片以及对应的外围电路)也连同废成像盒一同丢弃,则会造成浪费,还会污染环境及提高消费者的经济压力。目前虽然可以对废弃后的旧数据存储装置进行复位,实现对废弃旧数据存储装置的 重复利用。但有些数据存储装置加密程度高,不容易破解,利用现有的复位方法对于加密程度高的旧数据存储装置复位成功率较低。
发明内容
为解决上述问题,本发明提供一种复位成功率较高的数据存储装置复位方法、应用该复位方法进行复位的复位装置及复位系统,所述复位方法无需破解数据存储装置的加密算法就能实现对数据存储装置进行复位。
一种数据存储装置的复位方法,包括如下步骤:
获取成像设备向数据存储装置发送的指令;
获取数据存储装置中第一地址的数据;
判断所述指令是否为读取数据存储装置中第二地址的数据的指令;
若是,则切断成像设备与数据存储装置的通信,并将第一地址的数据发送至成像设备;
接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。
优选地,若所述指令是读取数据存储装置中第二地址的数据的指令包括时,还包括如下子步骤:
成像设备接收第一地址的数据;
对第一地址的数据进行验证之后生成复位数据。
优选地,所述通过成像设备对数据存储装置的进行复位的步骤包 括如下子步骤:
成像设备根据写入第二地址的数据的指令将复位数据发送至数据存储装置;
将数据存储装置中第二地址的数据替换成复位数据。
优选地,所述第二地址的数据为耗材消耗量的数据。
优选地,所述对第一地址的数据进行验证之后生成复位数据的步骤包括如下子步骤:
成像设备对第一地址的数据进行验证之后,自动将第二地址的消耗量数据识别为原始数据;
成像设备将原始数据通过计算变成复位数据。
优选地,在成像设备向数据存储装置发送读取第二地址的数据的指令之前包括如下步骤;
成像设备向数据存储装置发送读取第一地址的数据的指令;
并验证第一地址的数据为合法数据。
优选地,所述第一地址的数据为零。
本发明还提供一种数据存储装置的复位装置,包括:
第一获取模块,其用于获取成像设备向数据存储装置发送的指令;
第二获取模块,其用于获取数据存储装置中第一地址的数据;
监听模块,其与第一获取模块及第二获取模块均连接;该监听模块用于监听成像设备发送的指令,并判断所述指令是否为读取数据存储装置中第二地址的数据的指令;
接口控制模块,其与监听模块连接,该接口控制模块用于控制成像设备与数据存储装置通信的通断;当监听模块判断的结果为所述指令是读取数据存储装置中第二地址的数据的指令时,切断成像设备与数据存储装置的通信,并通过监听模块将第一地址的数据发送至成像设备;当第一地址的数据发送至成像设备之后,接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。
优选地,所述第一地址的数据为零;所述第二地址的数据为耗材消耗量的数据。
本发明还提供一种数据存储装置的复位系统,包括成像设备、复位装置及数据储存装置,所述复位装置与成像设备及数据储存装置均连接,其特征在于,所述复位装置为以上所述的数据存储装置的复位装置;所述复位装置的监听模块与成像设备连接,该复位装置的接口控制模块与监听模块、成像设备及数据存储装置均连接。
本发明的有益效果:
与现有技术相比,通过复位装置监控成像设备向数据存储装置发送的指令,并根据当监控到读取数据存储装置中第二地址的数据的指令时切断成像设备与数据存储装置的通信并将数据存储装置中第一地址的数据发送至成像设备;然后再接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位,所以本发明是通过成像设备与数据存储装置的自身通信规律及加密算法来实现复位,由于成像设备本身知道数据存储装置的加密算法及秘钥,所以在复位时无需破解对数据存储装置的加密算法,就能实现对数据存储装置复 位,因此本发明的数据存储装置的复位方法及应用该方法进行复位的复位装置及复位系统的复位效率及成功率均非常高。
附图说明
图1为本发明的具体实施例中一种数据存储装置的复位方法的流程图;
图2为本发明的具体实施例中一种数据存储装置的复位装置的示意图;
图3为本发明的具体实施例中一种数据存储装置的复位系统的示意图。
具体实施方式
下面,结合附图以及具体实施方式,对本发明做进一步描述:
参照图1,本实施例提供一种数据存储装置的复位方法,包括如下步骤:
步骤S1,获取成像设备向数据存储装置发送的指令。需要说明的是所述数据存储装置可为耗材芯片;所述成像设备向数据存储装置发送的指令可以包括读指令及写指令。数据存储装置中包括第一地址及第二地址。所述第一地址存储的数据可为除储耗材的消耗量的之外数据,例如序列号数据、区域版本数据、粉盒型号数据、厂家代码数据、生产日期数据、型号数据、特性参数数据等中的一种或者多种。作为优选方案,本实施例中所述第一地址的数据为零。所第二地址可 存储耗材的消耗量,例如碳粉盒中碳粉的消耗量。
步骤S2,获取数据存储装置中第一地址的数据。需要说明的是,本实施例中步骤S1与步骤S2的顺序可以互换。
步骤S3,判断所述指令是否为读取数据存储装置中第二地址的数据的指令。若是则执行步骤S4,若否则执行步骤S1。所述指令可以包括读第一地址或第二地址的数据的指令、向第一地址或第二地址写入数据的指令、或者重新握手命令等。
步骤S4,若步骤S3的判断结果为是,则切断成像设备与数据存储装置的通信,并将步骤S2获取的第一地址的数据发送至成像设备。将第一地址的数据发送至成像设备是为了成像设备能正常的对第一地址的数据进行解密识别,使得打印机将数据存储装置判断为合法的,并根据第一地址的数据将数据存储装置判断为全新的数据存储装置。切断成像设备与数据存储装置的通信是为了防止数据存储装置中存储于第二地址的数据发送至成像设备,避免成像设备记录数据存储装置中耗材的实际消耗量。
若步骤S3的判断结果为是,在步骤S4还可以包括如下子步骤,步骤S41与步骤S42可以由成像设备端完成:
步骤S41成像设备接收第一地址的数据,由于数据存储装置为合法装置,即其可被成像设备验证通过。若成像设备为打印机时,所述数据储存装置可为芯片,通常待复位的数据存储装置可为原装产品,因此成像设备在接收第一地址的数据之后能正常的验证通过。
步骤S42,成像设备对第一地址的数据进行验证之后生成复位数 据。由于成像设备与数据存储装置的通信被切断,所以此次成像设备没有获取数据存储装置的第二地址的数据,即实际耗材的消耗量。
步骤S5,接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。由于第一地址的数据能正常被成像设备验证验证,因此成像设备可将数据存储装置认为是全新的数据存储装置,从而将数据存储装置的耗材的消耗量的初始值作为复位数据发送出去,此时将成像设备与数据存储装置接通,复位数据则会被发送至数据存储装置的第二地址,并将第二地址存储的数据覆盖,从而完成复位。完成复位之后可以关闭复位装置,或者断开复位装置与成像设备的通信,当数据存储装置通过耗材盒安装于成像设备后,启动成像设备数据存储装置可正常与成像设备通信。当需要复位时再启动复位装置即可。需要说明的是,步骤S1-S5均可由除了成像设备及数据存储装置之外的复位装置实现,当然也可由数据存储装置实现。
作为优选方案,步骤S5中所述通过成像设备对数据存储装置的进行复位的步骤包括如下子步骤:
步骤S51,成像设备根据将写入数据存储装置中第二地址的数据的指令复位数据发送至数据存储装置。成像设备在生成复位数据之后会产生写入的指令,然后将复位数据写入数据存储装置。由于复位数据是针对耗材的消耗量进行复位,所以复位数据是被写入第二地址。
步骤S52,将第二地址的数据替换成复位数据。
作为优选方案,步骤S5中所述对第一地址的数据进行验证之后生成复位数据的步骤包括如下子步骤:
步骤S53,成像设备对第一地址的数据进行验证之后,自动将第二地址的消耗量数据识别为原始数据。所述原始数据可为零或者零之外的其他自然数。由于第一地址的数据中包含有全零的数据,所以成像设备可以将第二地址存储的消耗量数据记录为零,即数据存储装置被可被打印机识别为全新的装置。
步骤S54,成像设备将原始数据通过计算变成复位数据。所述计算的过程可为将原始数据加一或者加一之外的其他自然数。例如可以通过成像设备使用一次数据存储装置来实现将原始数据计算成复位数据。需要说明的是,所述原始数据与复位数据分别可为二进制、十进制或者十六进制的数据。
作为优先方案,在成像设备向数据存储装置发送读取第二地址的数据的指令之前包括如下步骤:成像设备向数据存储装置发送读取第一地址的数据的指令;并验证第一地址的数据为合法数据。由于待复位数据存储装置与成像设备通常是原装配套的,所以第一地址的数据为合法数据。
综上所述,以上实施例中成像设备本身知道数据存储装置的加密算法及密钥,所以在复位时无需破解对数据存储装置的加密算法,就能实现对数据存储装置复位,因此本发明的数据存储装置的复位方法及应用该方法进行复位的复位装置及复位系统的复位效率及成功率均非常高。
参照图2,本发明的实施例还提供一种数据存储装置的复位装置,该装置包括:
第一获取模块1,其用于获取成像设备向数据存储装置发送的指令;
第二获取模块2,其用于获取数据存储装置中第一地址的数据;
监听模块3,其与第一获取模块及第二获取模块均连接;该监听模块用于监听成像设备发送的指令,并判断所述指令是否为读取数据存储装置中第二地址的数据的指令;
接口控制模块4,其与监听模块连接,该接口控制模块用于控制成像设备与数据存储装置通信的通断;当监听模块判断的结果为所述指令是读取数据存储装置中第二地址的数据的指令时,切断成像设备与数据存储装置的通信,并通过监听模块将第一地址的数据发送至成像设备;当第一地址的数据发送至成像设备之后,接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。所述第一地址的数据为零;所述第二地址的数据为耗材消耗量的数据。复位装置能够监听、干扰成像设备与数据存储装置通信信道上的通信数据。
参照图3,本发明的实施例还提供一种数据存储装置的复位系统,包括成像设备(图中未视出)、复位装置100及数据储存装置200,所述复位装置100与成像设备及数据储存装置200均连接.所述复位装置可以为以上实施例所述的数据存储装置的复位装置。所述复位装置100的监听模块与成像设备连接,该复位装置的接口控制模块与监听模块、成像设备及数据存储装置均连接。所述成像设备可以通过IIC总线300与复位装置100及数据存储装置200连接。
需要说明的是,以上实施例所述的复位方法、复位装置及复位系统可以用于对已经使用完毕的数据存储装置进行复位,例如可以对耗材容量已经打完的耗材芯片复位成耗材容量为满的耗材芯片。
以下以数据存储装置为芯片、成像设备为打印机为例,对本发明的数据存储装置的复位方法,复位装置及复位系统分别进行说明。
在打印机上电之后首先通过复杂的算法来验证芯片的合法性,合法性通过之后打印机通过特定的指令访问芯片内存储的与粉盒相关的数据,例如打印机可能先会读取芯片内存储的区域版本数据、序列号的数据及芯片内其他区域的数据且这些区域的数据部分全是零,即打印机会先读取到第一地址存储的数据,可以通过复位装置将是零的数据获取过去。然后打印机再读取碳粉的消耗量(第二地址存储的数据)并记录。
为了不让打印机记录芯片已存储的耗材的消耗量,需要在芯片复位之前让打印机不能读取到原装复位芯片内存储的耗材的消耗量,则需要借助复位装置监听并记录所有打印机下发指令和芯片返回的数据。由于打印机在读取芯片中存储的耗材的消耗量之前会读取芯片内其他地址的数据且该数据为零,即第一地址。当复位装置监听到打印机需要读取芯片内耗材的消耗量时,即第二地址的数据,复位装置首先切断芯片和打印机的通信并将其从芯片获取的第一地址的数据返回给打印机,由于芯片为原装芯片,所以打印机知道芯片加密算法和密钥,可以通过对称加密使得打印机正常解密第一地址的数据。由于第一地址的数据为零,当打印机解密之后则会记录原装芯片内存储的 耗材的消耗量为0或者原始数据,即表示该芯片为全新芯片或者耗材剩余量为100%。
例如当在让打印机记录原装复位芯片的耗材余量为0之后,可以让打印机打印一张纸,此时打印机会往原装芯片内写入耗材的消耗量,由于打印上电记录了芯片的耗材的消耗量为0,所以打印一张纸之后打印机会往芯片内第二地址内写1,从而将原来已经耗尽的消耗量数值改写成1实现复位。
综上所述本发明提供的复位方法、复位装置是利用打印机和原装芯片通信规律以及加密算法实现对原装芯片的复位,即,由于芯片是原装芯片,所以打印机可以验证第一地址的数据,即芯片是合法的,打印机可以与芯片顺利通信并顺利的将复位数据写入芯片,所以所述复位方法无需对芯片的加密算法进行破解就实现对原装芯片复位,进而能有效的提高复位的效率与成功率。
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。
需要说明的是:以上所述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。

Claims (10)

  1. 一种数据存储装置的复位方法,其特征在于,包括如下步骤:
    获取成像设备向数据存储装置发送的指令;
    获取数据存储装置中第一地址的数据;
    判断所述指令是否为读取数据存储装置中第二地址的数据的指令;
    若是,则切断成像设备与数据存储装置的通信,并将第一地址的数据发送至成像设备;
    接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。
  2. 根据权利要求1所述的数据存储装置的复位方法,其特征在于,若所述指令是读取数据存储装置中第二地址的数据的指令时,还包括如下子步骤:
    成像设备接收第一地址的数据;
    对第一地址的数据进行验证之后生成复位数据。
  3. 根据权利要求2所述的数据存储装置的复位方法,其特征在于,所述通过成像设备对数据存储装置的进行复位的步骤包括如下子步骤:
    成像设备根据写入第二地址的数据的指令将复位数据发送至数据存储装置;
    将数据存储装置中第二地址的数据替换成复位数据。
  4. 根据权利要求3所述的数据存储装置的复位方法,其特征在于,所述第二地址的数据为耗材消耗量的数据。
  5. 根据权利要求4所述的数据存储装置的复位方法,其特征在于,所述对第一地址的数据进行验证之后生成复位数据的步骤包括如下子步骤:
    成像设备对第一地址的数据进行验证之后,自动将第二地址的消耗量数据识别为原始数据;
    成像设备将原始数据通过计算变成复位数据。
  6. 根据权利要求1-5任一项所述的数据存储装置的复位方法,其特征在于,在成像设备向数据存储装置发送读取第二地址的数据的指令之前包括如下步骤;
    成像设备向数据存储装置发送读取第一地址的数据的指令;
    并验证第一地址的数据为合法数据。
  7. 根据权利要求1-5任一项所述的数据存储装置的复位方法,其特征在于,所述第一地址的数据为零。
  8. 一种数据存储装置的复位装置,其特征在于,包括:
    第一获取模块,其用于获取成像设备向数据存储装置发送的指令;
    第二获取模块,其用于获取数据存储装置中第一地址的数据;
    监听模块,其与第一获取模块及第二获取模块均连接;该监听模块用于监听成像设备发送的指令,并判断所述指令是否为读取数据存储装置中第二地址的数据的指令;
    接口控制模块,其与监听模块连接,该接口控制模块用于控制成像设备与数据存储装置通信的通断;当监听模块判断的结果为所述指 令是读取数据存储装置中第二地址的数据的指令时,切断成像设备与数据存储装置的通信,并通过监听模块将第一地址的数据发送至成像设备;当第一地址的数据发送至成像设备之后,接通成像设备与数据存储装置的通信,通过成像设备对数据存储装置的进行复位。
  9. 根据权利要求8所述的数据存储装置的复位装置,其特征在于:所述第一地址的数据为零;所述第二地址的数据为耗材消耗量的数据。
  10. 一种数据存储装置的复位系统,包括成像设备、复位装置及数据储存装置,所述复位装置与成像设备及数据储存装置均连接,其特征在于,所述复位装置为权利要求8或9任一项所述的数据存储装置的复位装置;所述复位装置的监听模块与成像设备连接,该复位装置的接口控制模块与监听模块、成像设备及数据存储装置均连接。
PCT/CN2017/109933 2017-11-08 2017-11-08 数据存储装置的复位方法、复位装置及复位系统 WO2019090513A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780001502.8A CN110121423B (zh) 2017-11-08 2017-11-08 数据存储装置的复位方法、复位装置及复位系统
PCT/CN2017/109933 WO2019090513A1 (zh) 2017-11-08 2017-11-08 数据存储装置的复位方法、复位装置及复位系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109933 WO2019090513A1 (zh) 2017-11-08 2017-11-08 数据存储装置的复位方法、复位装置及复位系统

Publications (1)

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

Family

ID=66438155

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109933 WO2019090513A1 (zh) 2017-11-08 2017-11-08 数据存储装置的复位方法、复位装置及复位系统

Country Status (2)

Country Link
CN (1) CN110121423B (zh)
WO (1) WO2019090513A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110920260A (zh) * 2019-12-05 2020-03-27 广州众诺电子技术有限公司 存储芯片复位方法及成像设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101209621A (zh) * 2006-12-30 2008-07-02 珠海天威技术开发有限公司 多色墨盒芯片墨水余量信息的复位方法
CN101362401A (zh) * 2007-08-09 2009-02-11 珠海天威技术开发有限公司 墨盒芯片及可变信息的读写方法
CN102147587A (zh) * 2011-03-24 2011-08-10 珠海艾派克微电子有限公司 一种成像盒芯片的复位方法及成像盒芯片
CN103240999A (zh) * 2012-02-10 2013-08-14 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0757551B2 (ja) * 1988-09-09 1995-06-21 キヤノン株式会社 インクジェット記録装置
JP3855373B2 (ja) * 1997-06-12 2006-12-06 ブラザー工業株式会社 印刷用紙計量装置およびインク補給時期警告装置
JP4210034B2 (ja) * 1998-03-04 2009-01-14 ヒューレット・パッカード・カンパニー インク容器を一新するシステム
CN101907840A (zh) * 2009-10-12 2010-12-08 珠海天威技术开发有限公司 打印系统及耗材容器的验证方法
CN102049903B (zh) * 2009-11-03 2012-10-24 无锡华润矽科微电子有限公司 一种控制墨盒墨量复位的系统及墨量复位方法
CN103640339B (zh) * 2013-09-23 2015-06-17 珠海艾派克微电子有限公司 存储芯片、成像盒、更换序列号的方法及使用该存储芯片的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101209621A (zh) * 2006-12-30 2008-07-02 珠海天威技术开发有限公司 多色墨盒芯片墨水余量信息的复位方法
CN101362401A (zh) * 2007-08-09 2009-02-11 珠海天威技术开发有限公司 墨盒芯片及可变信息的读写方法
CN102147587A (zh) * 2011-03-24 2011-08-10 珠海艾派克微电子有限公司 一种成像盒芯片的复位方法及成像盒芯片
CN103240999A (zh) * 2012-02-10 2013-08-14 珠海天威技术开发有限公司 存储芯片及其复位方法、耗材容器、成像设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110920260A (zh) * 2019-12-05 2020-03-27 广州众诺电子技术有限公司 存储芯片复位方法及成像设备

Also Published As

Publication number Publication date
CN110121423A (zh) 2019-08-13
CN110121423B (zh) 2021-03-30

Similar Documents

Publication Publication Date Title
RU2452009C1 (ru) Блок, использующий операционную систему, и устройство формирования изображений, использующее ее
US9864300B2 (en) CRUM chip, image forming device for verifying consumable unit comprising the CRUM chip, and methods thereof
US9973658B2 (en) CRUM chip and image forming device for authentication and communication, and methods thereof
KR101780734B1 (ko) Crum 칩과 화상형성장치 및 그 통신 방법
JP4505004B2 (ja) 画像形成装置
JP2008238676A (ja) 画像形成装置、設定情報管理プログラム及び記録媒体
WO2019090513A1 (zh) 数据存储装置的复位方法、复位装置及复位系统
US9405901B2 (en) Image processing system and log storage method
US20110167277A1 (en) Processing device, processing system and control method for processing device
US20170242742A1 (en) Data processing device, control method for data processing device, and storage medium
JP2017069940A (ja) 画像処理装置及び画像処理プログラム
JP2016181836A (ja) 情報処理装置、暗号装置、情報処理装置の制御方法、およびプログラム
US20170357203A1 (en) Printing Device Control Method and System with Executing Command Determined from Image
JP5067390B2 (ja) 交換部品内データ修復システム
JP2001270198A (ja) 印刷データ配布システム及び印刷装置
JP2008217773A (ja) 組み込みソフトウェア動作装置及び組み込みソフトウェアのライセンス判定方法
JP2005157000A (ja) 画像形成装置、交換ユニット、消耗データ管理方法、プログラム
KR101866823B1 (ko) Crum 칩과 화상형성장치 및 그 통신 방법
JP2008177658A (ja) 画像処理装置および画像形成装置
JP2009284129A (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: 17931175

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

Country of ref document: EP

Kind code of ref document: A1