CN108819486B - Consumable chip and its communication means, consumable chip and imaging device communication system, method - Google Patents

Consumable chip and its communication means, consumable chip and imaging device communication system, method Download PDF

Info

Publication number
CN108819486B
CN108819486B CN201810446747.8A CN201810446747A CN108819486B CN 108819486 B CN108819486 B CN 108819486B CN 201810446747 A CN201810446747 A CN 201810446747A CN 108819486 B CN108819486 B CN 108819486B
Authority
CN
China
Prior art keywords
order
data
imaging device
encryption
consumable chip
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810446747.8A
Other languages
Chinese (zh)
Other versions
CN108819486A (en
Inventor
王敏
郭伟欣
孙云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Chipjet Technology Co Ltd
Original Assignee
Hangzhou Chipjet Technology Co Ltd
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 Hangzhou Chipjet Technology Co Ltd filed Critical Hangzhou Chipjet Technology Co Ltd
Priority to CN201810446747.8A priority Critical patent/CN108819486B/en
Publication of CN108819486A publication Critical patent/CN108819486A/en
Application granted granted Critical
Publication of CN108819486B publication Critical patent/CN108819486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/17503Ink cartridges
    • B41J2/17543Cartridge presence detection or type identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Mathematical Physics (AREA)
  • Power Engineering (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

Consumable chip and its communication means, consumable chip and imaging device communication system, method, belong to printer material consumption technical field.Consumable chip communication means includes that the order encryption data decryption sent to imaging device is reduced to order data;According to order data command process and generate order feedback data;To the encryption of order feedback data to generate order feedback encryption data, order feedback encryption data is sent to imaging device;Wherein, order feedback encryption data is decrypted in an imaging device to restore order feedback data.Consumable chip includes decryption unit, is reduced to order data to the order encryption data decryption that imaging device is sent;Execution unit carries out command process according to order data and generates order feedback data;Encryption unit to the encryption of order feedback data and generates order feedback encryption data, sends order feedback encryption data to imaging device.Coded communication of the present invention is simple and avoids conversed analysis communication waveforms and cracks the generation of communication data.

Description

Consumable chip and its communication means, consumable chip and imaging device communication system, method
Technical field
The present invention relates to printer material consumption technical field more particularly to a kind of consumable chip and its communication means, consumptive material cores Piece and imaging device communication system, method.
Background technique
Consumptive material is commonly used consumable chip as the information of consumptive material and the medium of usage amount at present.Consumable chip and imaging It is connected between equipment by interfaces such as I2C, single lines, in the imaging device course of work, is deposited between consumable chip and imaging device In communication.In consumptive material use process, consumable chip and imaging device need to interact communication and certification.Existing verification process The data of encryption and the algorithm of encryption are used, a kind of pair of external data storage as disclosed in patent of invention CN200710027429.X Device encryption, decryption and the method rewritten.The address and data that the encryption method, which includes microcontroller, is written needs encode, And the address after the data write-in coding after coding.It compiles the address that the decryption method, which includes microcontroller, reads needs Code, the data of the address is read according to address after coding, and the data of reading are decoded.This method only passes through consumable chip Microcontroller implementation encryption, the decryption of side, the unrecognized data conversion of printer at the identifiable data of printer.Herein Period, printer and consumable chip do not interact the data encrypting and deciphering process of formula, only provide printer by consumable chip With the enciphering/deciphering means of consumable chip secure communication, i.e. coding means.By under this coded communication mode, compatible manufacturer is by grabbing It takes the communication waveforms between consumable chip and imaging device and is subject to conversed analysis, consumable chip can be cracked to reach business mesh 's.Therefore, the communications protection dynamics between existing consumable chip and imaging device is inadequate, and there is divulge a secret.
For another example patent of invention CN201510909979.9 is disclosed using serial number data, carries out print cartridge and printer is two-way Know method for distinguishing.Respectively according to sequence number and cipher key calculation check code, Inspection code unanimously comes true for printer and ink box chip Recognize equipped with identifiable regular print cartridge on printer, and then carries out printing.Wherein key includes corresponding with sequence number Main initial key calculates the master/chip primary key obtained according to sequence number and master/chip initial key and according to master/chip The interim round key of master/chip that primary key, sequence number, random number, chip counter calculate.The certification is by printer and consumption Both sides' interaction of material chip is realized, although solving the problems, such as that verification process is complicated, operation by communication waveforms conversed analysis Timeliness is long.
Summary of the invention
In view of the problems of the existing technology the present invention, proposes a kind of consumptive material core that communication process is simple, reliable, safe Piece and its communication means, consumable chip and imaging device communication system, method.
The technical scheme is that:
A kind of consumable chip communication means of the present invention, comprising:
Order data is reduced to the order encryption data decryption that imaging device is sent;
Command process is carried out according to order data and generates order feedback data;
To the encryption of order feedback data with generate order feedback encryption data, send order feedback encryption data at As equipment;
Wherein, the order feedback encryption data is decrypted in an imaging device to restore order feedback data.
Consumable chip of the present invention encrypts the communication interacted with progress both sides between imaging device, i.e., on the one hand exists to order data Imaging device end encryption and consumable chip end decrypt, on the other hand to order feedback data consumable chip end encrypt and at As equipment end encrypts.In this way, coded communication is simple and avoids compatible manufacturer and passes through the communication between consumable chip and imaging device Waveform carries out conversed analysis and cracks the problem of divulging a secret of communication data.
Preferably, before the order encryption data decryption processing sent to imaging device, method further include:
When receiving the reading sequence number order of imaging device transmission, round key is calculated;
The order encryption data, order feedback encryption data are encrypted all in accordance with round key.
Round key is the key of encryption and decryption.Can be matched with imaging device carry out print job consumable chip, have at As the sequence number information that equipment can identify, and sequence number is to identify consumable chip.
Preferably, steps are as follows for the calculating of the round key:
The primary key of storage corresponding with sequence number is read,
Round key is calculated according to primary key, sequence number, chip counter.
Preferably, consumable chip is also sent before the order encryption data decryption processing sent to imaging device Sequence number and chip counter are to imaging device;
The order encryption data is that imaging device encrypts order data and give birth to according to sequence number, chip counter, round key At;
The order feedback encryption data is consumable chip foundation sequence number, chip counter, round key to order feedback coefficient It is generated according to encryption.
Preferably, the consumable chip specifically includes the decryption processes of order encryption data:
The order encryption data received from imaging device is stored in volatile memory cell,
Round key, order encryption data are read from volatile memory cell, and are written into algorithm unit and are decrypted Operation;
It reads the order data after decrypting and is stored in volatile memory cell.
Preferably, the consumable chip specifically includes the encryption process of order feedback data:
Round key, order feedback data are read from volatile memory cell, and are written into algorithm unit and are encrypted Operation;
It reads encrypted order feedback encryption data and is stored in volatile memory cell;
The order feedback encryption data in volatile memory cell is sent to imaging device.
A kind of consumable chip, comprising:
Decryption unit is reduced to order data to the order encryption data decryption that imaging device is sent;
Execution unit carries out command process according to order data and generates order feedback data;
Encryption unit to the encryption of order feedback data and generates order feedback encryption data, sends order feedback and add Ciphertext data is to imaging device;
Wherein, the order feedback encryption data is decrypted in an imaging device to restore order feedback data.
Preferably, consumable chip further includes round key computing unit, when the reading sequence number for receiving imaging device transmission When order, round key is calculated;
Wherein, the order encryption data, order feedback encryption data are encrypted all in accordance with round key.
Preferably, the round key computing unit includes:
Primary key obtains subelement, reads the primary key of storage corresponding with sequence number;
Round key obtains subelement, calculates round key according to primary key, sequence number, chip counter.
Preferably, consumable chip further include:
Volatile memory cell, for store command encryption data, round key, order data, order feedback data, order Feed back encryption data;
Non-volatile memory cells, for storing consumable chip configuration data.
Preferably, the consumable chip configuration data includes sequence number, chip counter, primary key.
A kind of communication means of consumable chip and imaging device, comprising:
Imaging device is to order data encrypting and transmitting order encryption data to consumable chip;
Consumable chip decrypts the order encryption data to restore order data;
Consumable chip carries out command process according to order data and generates order feedback data;
Consumable chip generates order feedback encryption data to the encryption of order feedback data, and sends order feedback and add Ciphertext data is sent to imaging device;
Imaging device decrypts the order feedback encryption data to restore order feedback data.
Preferably, before the imaging device sends order encryption data to consumable chip, method further include:
Imaging device transmits Sequence Number reading order to consumable chip;
Consumable chip calculates round key;
The order encryption data, order feedback encryption data are encrypted all in accordance with round key.
Preferably, steps are as follows for the calculating of the round key:
The primary key of storage corresponding with sequence number is read,
Round key is calculated according to primary key, sequence number, chip counter.
Preferably, consumable chip is also sent before the order encryption data decryption processing sent to imaging device Sequence number and chip counter are to imaging device;
The order encryption data is that imaging device encrypts order data and give birth to according to sequence number, chip counter, round key At;
The order feedback encryption data is consumable chip foundation sequence number, chip counter, round key to order feedback coefficient It is generated according to encryption.
Preferably, the consumable chip specifically includes the decryption processes of order encryption data:
The order encryption data received from imaging device is stored in volatile memory cell,
Round key, order encryption data are read from volatile memory cell, and are written into algorithm unit and are decrypted Operation;
It reads the order data after decrypting and is stored in volatile memory cell.
Preferably, the consumable chip specifically includes the encryption process of order feedback data:
Round key, order feedback data are read from volatile memory cell, and are written into algorithm unit and are encrypted Operation;
It reads encrypted order feedback encryption data and is stored in volatile memory cell;
The order feedback encryption data in volatile memory cell is sent to imaging device.
Preferably, the imaging device encrypts order data, order encryption data is decrypted with the consumable chip Process be all made of identical algorithms realization.
Preferably, the imaging device feeds back order feedback encryption data decryption with the consumable chip to order The process of data encryption is all made of identical algorithms realization.
Preferably, the imaging device encrypts order data, the imaging device feeds back encryption data solution to order The process that close, the described consumable chip decrypts order encryption data, the consumable chip encrypts order feedback data is all made of Identical algorithms are realized.
A kind of communication system of consumable chip and imaging device, including consumable chip, imaging device;
Consumable chip includes:
Decryption unit is reduced to order data to the order encryption data decryption that imaging device is sent;
Execution unit carries out command process according to order data and generates order feedback data;
Encryption unit to the encryption of order feedback data and generates order feedback encryption data, sends order feedback and add Ciphertext data is to imaging device;
Imaging device includes:
Order encryption unit encrypts to order data and generates order encryption data, sends order encryption data to consumptive material Chip;
Order feedback decryption unit, to order feedback encryption data decryption to restore order feedback data.
Preferably, consumable chip further includes round key computing unit, when the reading sequence number for receiving imaging device transmission When order, round key is calculated;
Wherein, the order encryption data, order feedback encryption data are encrypted all in accordance with round key.
Preferably, the round key computing unit includes:
Primary key obtains subelement, reads the primary key of storage corresponding with sequence number;
Round key obtains subelement, calculates round key according to primary key, sequence number, chip counter.
Preferably, volatile memory cell, for store command encryption data, round key, order data, order feedback Data, order feedback encryption data;
Non-volatile memory cells, for storing consumable chip configuration data.
Preferably, the consumable chip configuration data includes sequence number, chip counter, primary key.
The invention has the following advantages:
A kind of consumable chip of the present invention and its communication means, consumable chip and imaging device communication system, method, in consumptive material Both sides are carried out between chip and imaging device and encrypt the communication interacted, avoid only carrying out unidirectional encryption and decryption to order data and making simultaneous Hold manufacturer and be subject to the generation that conversed analysis cracks by the communication waveforms between crawl consumable chip and imaging device, improves consumption The security reliability communicated between material chip and imaging device;Also, coded communication is simple, without at consumable chip end and imaging Equipment end calculates check code and carries out check code judgement, and communication efficiency is high while ensuring communication security.
Detailed description of the invention
Fig. 1 is the flow diagram under an a kind of embodiment of the communication means of consumable chip of the present invention;
Fig. 2 is the flow diagram under a kind of another embodiment of the communication means of consumable chip of the present invention;
Fig. 3 is the sub-process that consumable chip decrypts order encryption data in a kind of communication means of consumable chip of the present invention Block diagram;
Fig. 4 is the sub-process that consumable chip encrypts order feedback data in a kind of communication means of consumable chip of the present invention Block diagram;
Fig. 5 is a kind of structural block diagram of consumable chip of the present invention;
Fig. 6 is the flow chart under an embodiment of the communication means of a kind of consumable chip of the present invention and imaging device;
Fig. 7 is the flow chart under another embodiment of the communication means of a kind of consumable chip of the present invention and imaging device;
Fig. 8 is the structural block diagram of the communication system of a kind of consumable chip of the present invention and imaging device.
Specific embodiment
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described, However, the present invention is not limited to these examples.
Existing imaging system includes imaging device and can install consumptive material in an imaging device.Consumptive material is that can install Image forming material is provided for imaging device in an imaging device, and replaceable after image forming material exhausts.For example, Inkjet Cartridge or Person has ink-jet and Inkjet Cartridge, toner cartridge, the supplying ink box of print head assembly etc..Consumptive material includes consumable container, is mounted on consumptive material appearance Consumable chip on device.The communication interaction of consumptive material and imaging device is realized by consumable chip and imaging device.
After detecting the installation of consumptive material, imaging device encrypts to consumable chip and sends command number general imaging device According to consumable chip restores laggard line command to the order data decryption of encryption and handles.The communication mode be only to order data into The unidirectional encryption and decryption of row, does not carry out secrecy processing to order feedback data.For wanting to crack the matched consumption of imaging device Communication between material chip, compatible manufacturer is easy to through the communication waveforms between crawl consumable chip and imaging device, and adds With conversed analysis, to crack the communication mode between imaging device and consumable chip, communication data is caused to divulge a secret.
For this purpose, the present invention needs a kind of to prevent conversed analysis waveform from can crack the skill that consumable chip is communicated with imaging device Art scheme.
Fig. 5 shows a kind of structural block diagram of consumable chip of the present invention.Consumable chip includes control unit, volatile storage Unit, non-volatile memory cells, communication unit, algorithm unit.Described control unit respectively with the volatile memory cell, The non-volatile memory cells, the communication unit, algorithm unit connection.
The non-volatile memory cells can be ROM, can be FLASH, be also possible to EEPROM, for storing consumptive material Chip software and configuration data, the configuration data include sequence number, primary key, chip counter etc..
The volatile memory cell can be SRAM, the data that generate when for storing communication unit communication, algorithm list The data generated when data and consumptive material the software operation generated when n ary operation.
Described control unit is the core of consumable chip, is MCU kernel, for controlling other units inside consumable chip Operation.
The algorithm unit can be hardware algorithm module or software algorithm module, is mainly used for data in communication process and adds Decryption processing.
The communication unit is used for and imaging device communication, when imaging device sends data to consumable chip, is responsible for connecing It receives the data that imaging device is sent and is stored in volatile memory cell.When consumable chip is to imaging device feedback data, bear The data of volatile memory cell are sent to imaging device by duty.
Fig. 1 shows an a kind of embodiment of the communication means of consumable chip of the present invention.
A kind of communication means of consumable chip includes:
S11 is reduced to order data to the order encryption data decryption that imaging device is sent;
S12 carries out command process according to order data and generates order feedback data;
S13 sends order feedback encryption data to the encryption of order feedback data to generate order feedback encryption data To imaging device;
Wherein, the order feedback encryption data is decrypted in an imaging device to restore order feedback data.
After consumable chip power-up initializing, imaging device, such as printer command are waited.Imaging device sends order encryption Data are to consumable chip.The order encryption data is to generate after order data is encrypted in imaging device.Order Data include read command, write order etc..Encryption Algorithm used in the imaging device encryption can be calculated for AES encryption Method, des encryption algorithm, 3DES encryption algorithm etc..The imaging device encryption can also be realized by shell adding mode.Consumptive material core Piece is decrypted order encryption data and is reduced to order data, i.e., is reduced to ciphertext in plain text, consumable chip can obtain at this time Know the order that imaging device is assigned.The consumable chip can be used algorithm same as described above to the decryption of order encryption data and solve It is close, such as AES decipherment algorithm, DES decipherment algorithm, 3DES decipherment algorithm, it can also be realized by shelling mode.
If the order data after reduction is read command, as read the consumable information in consumable chip, consumable information includes Consumable chip sequence number, consumable items allowance etc., consumable chip execute read command, read consumable information from storage unit to generate life Enable feedback data.Communication mechanism is cracked to avoid conversed analysis communication waveforms, order feedback data of the consumable chip to generation It is encrypted, and generates order feedback encryption data.Encryption Algorithm used in the consumable chip encryption can be with For AES encryption algorithm, des encryption algorithm, 3DES encryption algorithm etc..The consumable chip encryption can also pass through shell adding mode It realizes.The order feedback encryption data is sent to imaging device.Imaging device is again to order feedback encryption data decryption reduction For order feedback data, i.e., ciphertext is reduced in plain text, imaging device can know whether encryption consumable chip executes at this time As equipment order and know required communication data.Order feedback encryption data decryption can be used in the imaging device Identical algorithms decryption, such as AES decipherment algorithm, DES decipherment algorithm, 3DES decipherment algorithm are stated, can also be realized by shelling mode. If the order feedback data after reduction is the consumable information or read command feedback command that need to be read, consumable chip is executed into As the read command of equipment.
Specifically, the algorithm unit of the consumable chip (referring to Fig. 5) includes decryption unit, execution unit, encryption unit. The decryption unit, the order encryption data decryption for sending to imaging device are reduced to order data.The execution unit, Command process is carried out according to order data and generates order feedback data.The encryption unit, at order feedback data encryption Order feedback encryption data is managed and generated, sends order feedback encryption data to imaging device.
Fig. 2 shows a kind of another embodiments of the communication means of consumable chip of the invention.Embodiment shown in Fig. 1 Under the premise of, Fig. 2 illustrated embodiment is before S11 " the order encryption data decryption processing that imaging device is sent ", a more step Rapid S10.It is specific as follows:
A kind of communication means of consumable chip includes:
S10 calculates round key when receiving the reading sequence number order of imaging device transmission;
S11 is reduced to order data to the order encryption data decryption that imaging device is sent;
S12 carries out command process according to order data and generates order feedback data;
S13 sends order feedback encryption data to the encryption of order feedback data to generate order feedback encryption data To imaging device;
The order encryption data, order feedback encryption data are encrypted all in accordance with round key.
Specifically, when receiving imaging device, when such as printing machine-readable sequence number order, consumable chip is non-easily according to chip interior The sequence number and chip counter stored in the property lost storage unit calculates round key.Steps are as follows for the calculating of the round key:
Firstly, reading the primary key of storage corresponding with sequence number;Secondly, according to primary key, sequence number, chip counter Calculate round key.
Before the order encryption data decryption processing sent to imaging device, consumable chip transmits Sequence Number and chip It counts to imaging device.After imaging device receives sequence number, chip counter, encryption generates order encryption data accordingly.Consumptive material core Piece carries out command process to the order data after decryption and generates order feedback data, and consumable chip is to order feedback data foundation Sequence number, chip counter, round key are encrypted, and order feedback encryption data to generate.
For this purpose, the algorithm unit of consumable chip further includes round key computing unit under the premise of embodiment one, it is used for When receiving the reading sequence number order of imaging device transmission, round key is calculated.Further, the round key computing unit packet Include: primary key obtains subelement, reads the primary key of storage corresponding with sequence number;And round key obtains subelement, root Round key is calculated according to primary key, sequence number, chip counter.
More specifically, the control unit of consumable chip receives imaging device order data by communication unit and is stored in volatile Property storage unit.Control unit reads sequence number from non-volatile memory cells and current chip counting is stored in volatibility and deposits Storage unit.Chip counter in volatile memory cell is added 1 and is written into non-volatile memory cells by control unit Current chip counting region.Control unit reads primary key corresponding with sequence number first from non-volatile memory cells, Acquisition is such as read out by the cipher key look-up of sequence number storage corresponding with primary key.Then, by primary key, sequence Number, chip counter be written to algorithm unit input register and starting algorithm unit and carry out operation, later again from algorithm unit Output register reads round key and is stored in volatile memory cell.Control unit is by sequence number, core in volatile memory cell Piece, which is counted, is sent to imaging device by communication unit.
The consumable chip specifically includes the decryption processes of order encryption data: S21, and control unit passes through communication Unit receives the order encryption data of imaging device, and order encryption data is stored in volatile memory cell.S22, control Unit reads round key write-in algorithm unit input register from volatile memory cell and starting algorithm unit carries out operation. Control unit read from volatile memory cell receive imaging device order encryption data write-in algorithm unit input post Simultaneously operation is decrypted in starting algorithm unit to storage.S23, control unit is after the reading decryption of the output register of algorithm unit Order data is simultaneously stored in volatile memory cell.
Consumable chip carries out command process to the order data of decryption, is ordered in the execution unit in its arithmetic element Treatment process is enabled, and then generates order feedback data.It, need to be to order feedback coefficient before to imaging device feedback command feedback data According to being encrypted, encryption process is specifically included: S31, and it is close that control unit reads wheel from volatile memory cell Algorithm unit input register is written in key and starting algorithm unit carries out operation.Control unit is read from volatile memory cell Algorithm unit input register is written in order feedback data and starting algorithm unit carries out cryptographic calculation.S32, control unit is from calculation The output register of method unit reads encrypted ciphertext data, i.e. order feeds back encryption data and is stored in volatile storage list Member.Ciphertext data in volatile memory cell are sent to imaging device by communication unit by S33, control unit.
Fig. 6 shows an embodiment of the communication means of a kind of consumable chip of the present invention and imaging device.This method base It is realized in above-described consumable chip, consumable chip communication means.Specifically, the communication of a kind of consumable chip and imaging device Method, comprising:
S11 ', imaging device is to order data encrypting and transmitting order encryption data to consumable chip;
S12 ', consumable chip decrypt the order encryption data to restore order data;
S13 ', consumable chip carry out command process according to order data and generate order feedback data;
S14 ', consumable chip generates order feedback encryption data to the encryption of order feedback data, and sends order Feedback encryption data is sent to imaging device;
S15 ', imaging device decrypt the order feedback encryption data to restore order feedback data.
Imaging device includes mainboard chip, imaging device algorithm unit, imaging device communication unit.The mainboard chip point The imaging device algorithm unit and imaging device communication unit are not connected.The mainboard chip is for controlling inside imaging device Other units operation.The imaging device communication unit with consumable chip for communicating.The imaging device algorithm unit can Think a hardware algorithm module identical with the algorithm unit in consumable chip or software algorithm module, is mainly used for according to consumption Material chip sends sequence number, chip counter carries out encrypting and decrypting operation.
Before sending order to consumable chip, first round key and order data (plaintext) are written imaging device for imaging device Operation is carried out to imaging device algorithm unit.The sequence number and chip that round key in imaging device is sent according to consumable chip It counts to calculate and obtain.Specifically, the imaging device algorithm unit includes order encryption unit, encrypts and generates to order data Order encryption data sends order encryption data to consumable chip.
Order encryption data is decrypted in consumable chip later, and consumable chip carries out order according to the order data of decryption It handles and generates order feedback data, order feedback data is encrypted as order feedback encryption data to imaging device later.? The communication process for the consumable chip that process reference during this is described above.Imaging device receives order feedback encryption data Afterwards, it is decrypted.Imaging device obtains order feedback data after decryption reduction.The imaging device algorithm of the imaging device Unit further includes order feedback decryption unit, for decrypting order feedback encryption data to restore order feedback data.
Under the premise of embodiment shown in Fig. 6, Fig. 7 shows a kind of communication of consumable chip and imaging device of the present invention One embodiment of method, and which compared to Fig. 6 the imaging device send order encryption data to consumable chip before, Further include the steps that imaging device is sent and reads sequence number order, consumable chip calculating round key.
Specifically, the communication means of a kind of consumable chip of the present invention and imaging device includes:
S20 ', imaging device transmit Sequence Number reading order to consumable chip;
S21 ', consumable chip calculate round key;
S22 ', imaging device is to order data encrypting and transmitting order encryption data to consumable chip;
S23 ', consumable chip decrypt the order encryption data to restore order data;
S24 ', consumable chip carry out command process according to order data and generate order feedback data;
S25 ', consumable chip generates order feedback encryption data to the encryption of order feedback data, and sends order Feedback encryption data is sent to imaging device;
S26 ', imaging device decrypt the order feedback encryption data to restore order feedback data.
Fig. 8 shows the structural block diagram of the communication system of a kind of consumable chip of the present invention and imaging device.The communication system Including consumable chip, the imaging device communicated each other with consumable chip.The communication system is communicated according to above-mentioned communication means, Solve the problems, such as that consumable chip is easy to be cracked caused by divulging a secret because of communication.
It should be understood by those skilled in the art that foregoing description and the embodiment of the present invention shown in the drawings are only used as illustrating And it is not intended to limit the present invention.The purpose of the present invention completely effectively realizes.Function and structural principle of the invention is in reality It applies and shows and illustrate in example, under without departing from the principle, embodiments of the present invention can have any deformation or modification.

Claims (25)

1. a kind of consumable chip communication means characterized by comprising
Order data is reduced to the order encryption data decryption that imaging device is sent;
Command process is carried out according to order data and generates order feedback data;
To the encryption of order feedback data to generate order feedback encryption data, sends order feedback encryption data and set to imaging It is standby;
Wherein, the order feedback encryption data is decrypted in an imaging device to restore order feedback data.
2. a kind of consumable chip communication means according to claim 1, which is characterized in that sent described to imaging device Order encryption data decryption processing before, method further include:
When receiving the reading sequence number order of imaging device transmission, round key is calculated;
The order encryption data, order feedback encryption data are encrypted all in accordance with round key.
3. a kind of consumable chip communication means according to claim 2, which is characterized in that
Steps are as follows for the calculating of the round key:
The primary key of storage corresponding with sequence number is read,
Round key is calculated according to primary key, sequence number, chip counter.
4. a kind of consumable chip communication means according to claim 2, which is characterized in that
Before the order encryption data decryption processing sent to imaging device, consumable chip also transmits Sequence Number and chip meter Number is to imaging device;
The order encryption data is that imaging device generates order data encryption according to sequence number, chip counter, round key;
The order feedback encryption data is that consumable chip adds order feedback data according to sequence number, chip counter, round key It is dense at.
5. a kind of consumable chip communication means according to claim 2, which is characterized in that the consumable chip adds order The decryption processes of ciphertext data specifically include:
The order encryption data received from imaging device is stored in volatile memory cell,
Round key, order encryption data are read from volatile memory cell, and are written into algorithm unit and operation is decrypted;
It reads the order data after decrypting and is stored in volatile memory cell.
6. a kind of consumable chip communication means according to claim 2, which is characterized in that the consumable chip is anti-to ordering The encryption process of feedback data specifically includes:
Round key, order feedback data are read from volatile memory cell, and are written into algorithm unit and are carried out cryptographic calculation;
It reads encrypted order feedback encryption data and is stored in volatile memory cell;
The order feedback encryption data in volatile memory cell is sent to imaging device.
7. a kind of consumable chip characterized by comprising
Decryption unit is reduced to order data to the order encryption data decryption that imaging device is sent;
Execution unit carries out command process according to order data and generates order feedback data;
Encryption unit to the encryption of order feedback data and generates order feedback encryption data, sends order feedback encryption number According to imaging device;
Wherein, the order feedback encryption data is decrypted in an imaging device to restore order feedback data.
8. a kind of consumable chip according to claim 7, which is characterized in that further include round key computing unit, work as reception To imaging device send reading sequence number order when, calculate round key;
Wherein, the order encryption data, order feedback encryption data are encrypted all in accordance with round key.
9. a kind of consumable chip according to claim 8, which is characterized in that the round key computing unit includes:
Primary key obtains subelement, reads the primary key of storage corresponding with sequence number;
Round key obtains subelement, calculates round key according to primary key, sequence number, chip counter.
10. a kind of consumable chip according to claim 8, which is characterized in that further include:
Volatile memory cell, for store command encryption data, round key, order data, order feedback data, order feedback Encryption data;
Non-volatile memory cells, for storing consumable chip configuration data.
11. a kind of consumable chip according to claim 10, which is characterized in that the consumable chip configuration data includes sequence Row number, chip counter, primary key.
12. the communication means of a kind of consumable chip and imaging device characterized by comprising
Imaging device is to order data encrypting and transmitting order encryption data to consumable chip;
Consumable chip decrypts the order encryption data to restore order data;
Consumable chip carries out command process according to order data and generates order feedback data;
Consumable chip generates order feedback encryption data to the encryption of order feedback data, and sends order feedback encryption number According to being sent to imaging device;
Imaging device decrypts the order feedback encryption data to restore order feedback data.
13. the communication means of a kind of consumable chip and imaging device according to claim 12, which is characterized in that described Before imaging device sends order encryption data to consumable chip, method further include:
Imaging device transmits Sequence Number reading order to consumable chip;
Consumable chip calculates round key;
The order encryption data, order feedback encryption data are encrypted all in accordance with round key.
14. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that
Steps are as follows for the calculating of the round key:
The primary key of storage corresponding with sequence number is read,
Round key is calculated according to primary key, sequence number, chip counter.
15. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that
Before the order encryption data decryption processing sent to imaging device, consumable chip also transmit Sequence Number with chip counter to Imaging device;
The order encryption data is that imaging device generates order data encryption according to sequence number, chip counter, round key;
The order feedback encryption data is that consumable chip adds order feedback data according to sequence number, chip counter, round key It is dense at.
16. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that
The consumable chip specifically includes the decryption processes of order encryption data:
The order encryption data received from imaging device is stored in volatile memory cell,
Round key, order encryption data are read from volatile memory cell, and are written into algorithm unit and operation is decrypted;
It reads the order data after decrypting and is stored in volatile memory cell.
17. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that the consumption Material chip specifically includes the encryption process of order feedback data:
Round key, order feedback data are read from volatile memory cell, and are written into algorithm unit and are carried out cryptographic calculation;
It reads encrypted order feedback encryption data and is stored in volatile memory cell;
The order feedback encryption data in volatile memory cell is sent to imaging device.
18. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that it is described at Picture equipment encrypts order data, and the process decrypted with the consumable chip to order encryption data is all made of identical algorithms reality It is existing.
19. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that it is described at Encryption data is fed back to order as equipment to decrypt, and is all made of with the process that the consumable chip encrypts order feedback data identical Algorithm is realized.
20. the communication means of a kind of consumable chip and imaging device according to claim 13, which is characterized in that it is described at As equipment encrypts order data, the imaging device adds the decryption of order feedback encryption data, the consumable chip to order The process that ciphertext data decryption, the consumable chip encrypt order feedback data is all made of identical algorithms realization.
21. the communication system of a kind of consumable chip and imaging device, which is characterized in that including consumable chip, imaging device;
Consumable chip includes:
Decryption unit is reduced to order data to the order encryption data decryption that imaging device is sent;
Execution unit carries out command process according to order data and generates order feedback data;
Encryption unit to the encryption of order feedback data and generates order feedback encryption data, sends order feedback encryption number According to imaging device;
Imaging device includes:
Order encryption unit encrypts to order data and generates order encryption data, sends order encryption data to consumable chip;
Order feedback decryption unit, to order feedback encryption data decryption to restore order feedback data.
22. the communication system of a kind of consumable chip and imaging device according to claim 21, which is characterized in that consumptive material core Piece further includes round key computing unit, when receiving the reading sequence number order of imaging device transmission, calculates round key;
Wherein, the order encryption data, order feedback encryption data are encrypted all in accordance with round key.
23. the communication system of a kind of consumable chip and imaging device according to claim 22, which is characterized in that the wheel Key calculation unit includes:
Primary key obtains subelement, reads the primary key of storage corresponding with sequence number;
Round key obtains subelement, calculates round key according to primary key, sequence number, chip counter.
24. the communication system of a kind of consumable chip and imaging device according to claim 22, which is characterized in that also wrap It includes:
Volatile memory cell, for store command encryption data, round key, order data, order feedback data, order feedback Encryption data;
Non-volatile memory cells, for storing consumable chip configuration data.
25. the communication system of a kind of consumable chip and imaging device according to claim 24, which is characterized in that the consumption Material chip configuration data includes sequence number, chip counter, primary key.
CN201810446747.8A 2018-05-11 2018-05-11 Consumable chip and its communication means, consumable chip and imaging device communication system, method Active CN108819486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810446747.8A CN108819486B (en) 2018-05-11 2018-05-11 Consumable chip and its communication means, consumable chip and imaging device communication system, method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810446747.8A CN108819486B (en) 2018-05-11 2018-05-11 Consumable chip and its communication means, consumable chip and imaging device communication system, method

Publications (2)

Publication Number Publication Date
CN108819486A CN108819486A (en) 2018-11-16
CN108819486B true CN108819486B (en) 2019-06-21

Family

ID=64147964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810446747.8A Active CN108819486B (en) 2018-05-11 2018-05-11 Consumable chip and its communication means, consumable chip and imaging device communication system, method

Country Status (1)

Country Link
CN (1) CN108819486B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10375273B1 (en) * 2018-04-13 2019-08-06 Lexmark International, Inc. Chip and supply item for imaging device, including communication
MX2021005993A (en) 2018-12-03 2021-07-06 Hewlett Packard Development Co Logic circuitry.
WO2020117393A1 (en) * 2018-12-03 2020-06-11 Hewlett-Packard Development Company, L.P. Logic circuitry package
MX2021006473A (en) 2018-12-03 2021-09-28 Hewlett Packard Development Co Logic circuitry.
EP3687820B1 (en) 2018-12-03 2022-03-23 Hewlett-Packard Development Company, L.P. Logic circuitry
MX2021006229A (en) 2018-12-03 2021-08-11 Hewlett Packard Development Co Logic circuitry.
US11338586B2 (en) 2018-12-03 2022-05-24 Hewlett-Packard Development Company, L.P. Logic circuitry
CN113165394A (en) 2018-12-03 2021-07-23 惠普发展公司,有限责任合伙企业 Logic circuitry packaging
WO2021080607A1 (en) 2019-10-25 2021-04-29 Hewlett-Packard Development Company, L.P. Logic circuitry package
BR112021010672A2 (en) 2018-12-03 2021-08-24 Hewlett-Packard Development Company, L.P. logic circuits
US10894423B2 (en) 2018-12-03 2021-01-19 Hewlett-Packard Development Company, L.P. Logic circuitry
BR112021010044A2 (en) 2018-12-03 2021-08-17 Hewlett-Packard Development Company, L.P. logic circuits
KR20210087499A (en) 2018-12-03 2021-07-12 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. logic circuit
CN109977656B (en) * 2019-04-08 2019-12-20 广州众诺电子技术有限公司 Identity verification method, consumable cartridge and storage medium
CN112231716A (en) * 2019-07-15 2021-01-15 珠海艾派克微电子有限公司 Data anti-theft device and anti-theft method
CN111284139B (en) * 2020-01-16 2021-06-22 珠海艾派克微电子有限公司 Consumable chip repairing method and consumable chip
CN111959139B (en) * 2020-08-31 2022-05-13 湖南鼎一致远科技发展有限公司 Encryption system of thermal transfer printer
CN112099324A (en) * 2020-09-28 2020-12-18 珠海奔图电子有限公司 Consumable chip, consumable, image forming apparatus, and image formation control method
CN112180699B (en) * 2020-09-29 2022-08-30 珠海奔图电子有限公司 Consumable chip, image forming apparatus, image forming control method, and consumable
CN114236999A (en) * 2021-12-22 2022-03-25 珠海奔图电子有限公司 Data protection method, consumable chip, consumable and image forming device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231054A (en) * 2011-06-08 2011-11-02 珠海天威技术开发有限公司 Chip, data communication method for chip, consumable container and imaging equipment
CN104339870A (en) * 2013-08-09 2015-02-11 珠海艾派克微电子有限公司 Consumable chip set, imaging box set and information storage method
CN104780475A (en) * 2014-01-10 2015-07-15 鸿富锦精密工业(武汉)有限公司 Encryption system and encryption/decryption method
CN205498352U (en) * 2016-04-15 2016-08-24 珠海美佳音科技有限公司 Consumptive material chip, processing box and imaging device
CN106911476A (en) * 2015-12-22 2017-06-30 北京握奇智能科技有限公司 A kind of ciphering and deciphering device and method
CN106956516A (en) * 2017-04-25 2017-07-18 杭州旗捷科技有限公司 A kind of sequence number memory can remove consumable chip, consumptive material, system and application method
CN107053854A (en) * 2017-01-03 2017-08-18 珠海艾派克微电子有限公司 Control method, device, consumable chip and the printer of consumable chip work
CN107577951A (en) * 2017-09-12 2018-01-12 郑州云海信息技术有限公司 A kind of encryption and decryption server and the method and device for realizing data encrypting and deciphering
CN107885998A (en) * 2017-11-03 2018-04-06 山东超越数控电子股份有限公司 A kind of server master board encryption system
CN107967414A (en) * 2017-11-03 2018-04-27 成都蓉芯微科技有限公司 Microcontroller chip instruction encryption method, decryption method and enciphering/deciphering system
CN107979574A (en) * 2016-10-25 2018-05-01 华为技术有限公司 A kind of method and apparatus and chip for preventing attack for crypto-engine
CN107994989A (en) * 2017-12-11 2018-05-04 建荣集成电路科技(珠海)有限公司 A kind of data encryption system, encryption method, encryption chip and storage device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003063093A (en) * 2001-08-24 2003-03-05 Canon Inc Printing system and printing method
US9614666B2 (en) * 2014-12-23 2017-04-04 Intel Corporation Encryption interface

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231054A (en) * 2011-06-08 2011-11-02 珠海天威技术开发有限公司 Chip, data communication method for chip, consumable container and imaging equipment
CN104339870A (en) * 2013-08-09 2015-02-11 珠海艾派克微电子有限公司 Consumable chip set, imaging box set and information storage method
CN104780475A (en) * 2014-01-10 2015-07-15 鸿富锦精密工业(武汉)有限公司 Encryption system and encryption/decryption method
CN106911476A (en) * 2015-12-22 2017-06-30 北京握奇智能科技有限公司 A kind of ciphering and deciphering device and method
CN205498352U (en) * 2016-04-15 2016-08-24 珠海美佳音科技有限公司 Consumptive material chip, processing box and imaging device
CN107979574A (en) * 2016-10-25 2018-05-01 华为技术有限公司 A kind of method and apparatus and chip for preventing attack for crypto-engine
CN107053854A (en) * 2017-01-03 2017-08-18 珠海艾派克微电子有限公司 Control method, device, consumable chip and the printer of consumable chip work
CN106956516A (en) * 2017-04-25 2017-07-18 杭州旗捷科技有限公司 A kind of sequence number memory can remove consumable chip, consumptive material, system and application method
CN107577951A (en) * 2017-09-12 2018-01-12 郑州云海信息技术有限公司 A kind of encryption and decryption server and the method and device for realizing data encrypting and deciphering
CN107885998A (en) * 2017-11-03 2018-04-06 山东超越数控电子股份有限公司 A kind of server master board encryption system
CN107967414A (en) * 2017-11-03 2018-04-27 成都蓉芯微科技有限公司 Microcontroller chip instruction encryption method, decryption method and enciphering/deciphering system
CN107994989A (en) * 2017-12-11 2018-05-04 建荣集成电路科技(珠海)有限公司 A kind of data encryption system, encryption method, encryption chip and storage device

Also Published As

Publication number Publication date
CN108819486A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108819486B (en) Consumable chip and its communication means, consumable chip and imaging device communication system, method
CN108804953B (en) Consumable chip and communication method thereof, and communication system and method of consumable chip and imaging device
CN102112960B (en) Authenticating replaceable printer component
DK2754062T3 (en) : MURGITROYD & COMPANY, Scotland House, 165-169 Scotland Street, Glasgow G5 8PL, United Kingdom
EP2817916B1 (en) Cryptographic transmission system using key encryption key
CN102112977A (en) Providing authenticated communications to replaceable printer component
US20040230799A1 (en) Circuit and method for providing secure communications between devices
CN106688027A (en) PUF and address dependent data encryption
RU2010136825A (en) A UNIT USING THE OPERATING SYSTEM AND AN IMAGE USING THIS UNIT
JP2009526321A5 (en)
US9276913B2 (en) Transmission/reception system, transmission device, reception device, authentication device, user equipment, method executed using these, and program
CN205140035U (en) Mobile terminal and intelligent communication system who locks
CN103081396A (en) Communication terminal, communication system, communication method and communication program
CN101385274A (en) Constrained cryptographic keys
CN102377566A (en) Security processing device and system for electric meter data
CN104902138B (en) Encryption/deciphering system and its control method
CN101176329A (en) Communication protocol and electronic communication system, in particular authentication control system, as well as corresponding method
RU182704U1 (en) CASH CONTROL UNIT
CN105930115B (en) A kind of critical data reduction consumable chip and storing data guard method
CN107534558A (en) For the method and data highway system of the information security for protecting the data via data bus transmission
CN107124277A (en) A kind of hard copy control system based on national commercial cipher algorithm
CN103414564A (en) Secrete key card, secrete key device and method for protecting private key
CN101789863A (en) Safe data information transmission method
CN101859360A (en) File security processing method, corresponding software and decryption reading device
KR101281103B1 (en) A printer security device and the method based on ticket authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 12th Floor, Huachuang Building, No. 511 Jianye Road, Binjiang District, Hangzhou City, Zhejiang Province, 310052

Patentee after: Hangzhou Qijie Technology Co.,Ltd.

Country or region after: China

Address before: Room 421, floor 4, building 1, No. 1180 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province 310000

Patentee before: HANGZHOU CHIPJET TECHNOLOGY Co.,Ltd.

Country or region before: China