Verification method, device and the consumable chip of printing consumables box
Technical field
The present invention relates to printing technical field of imaging more particularly to a kind of verification method, device and the consumptions of printing consumables box
Material chip.
Background technique
It is past on printing consumables box (for example, being suitable for the print cartridge of ink-jet printer and the cartridge suitable for laser printer)
Toward consumable chip is provided with, for storing information relevant to printing consumables, printing imaging device in this way can pass through reading
The information of the consumable chip identifies the printing consumables box, and the use state letter of printing consumables box can be recorded on consumable chip
Breath.
In order to distinguish different consumption material boxes, serial number (serial number, SN) can be also stored on consumable chip for beating
Print machine carries out the verifying of legitimacy to consumption material box.In order to improve the reliability of verifying, the manufacturer of imaging device is in original-pack consumptive material
The sequence number that setting is generated using algorithm on chip (refer to as manufactured by the manufacturer of imaging device or authorization manufactures), and
Existing part printer will do it the verifying of multiple sequence numbers to consumable chip, due to can be according to algorithm in original-pack consumable chip
Multiple sequence numbers are generated, during installation, can satisfy the verifying needs of multiple sequence numbers.And it is compatible with consumable chip and (refers to
Manufactured and designed by other third party manufacturers, and be suitable for imaging device) do not grasp the algorithm of sequence number generally, can only by from
Body stores the modes of multiple sequence numbers and provides to imaging device, however compatible consumable chip store multiple sequence numbers can occupy it is more
Space, and the verification time is longer.
Summary of the invention
Verification method, device and the consumable chip of printing consumables box provided by the invention, the present invention can save consumptive material core
The memory space of piece, and shorten the verification time when carrying out sequence number verifying.
In a first aspect, the present invention provides a kind of verification method of printing consumables box, the method is consumed applied to the printing
Consumable chip in material box, the printing consumables box are removably mounted on the imaging device including control unit and authentication unit
On, the consumable chip, control unit and authentication unit are communicatively couplable on the same common bus, the method packet
It includes:
It is set before the sequence number verifying instruction that the control unit for receiving imaging device is sent, or receiving the imaging
During the sequence number verifying instruction that standby control unit is sent, the authentication unit of Xiang Suoshu imaging device sends interference letter
Number, so that the authentication unit of the imaging device stops sending verification information;
After the sequence number verifying instruction that the control unit for receiving the imaging device every time is sent, to the imaging
The control unit of equipment sends the message comprising pre-stored sequence number and sequence number verification result.
Optionally, it is described receive imaging device control unit send sequence number verifying instruction before, to it is described at
Include: as the authentication unit of equipment sends interference signal
Before the sequence number verifying instruction that the control unit for receiving imaging device is sent, the verifying of Xiang Suoshu imaging device
Unit sends the pseudo-order number verifying instruction for carrying verifying ending message.
Optionally, during the sequence number sent in the control unit for receiving the imaging device verifies instruction,
Sending interference signal to the authentication unit of the imaging device includes:
During the sequence number that the control unit for receiving the imaging device is sent verifies instruction, set to the imaging
Standby authentication unit sends stop signal.
Optionally, during the sequence number sent in the control unit for receiving the imaging device verifies instruction,
Sending stop signal to the authentication unit of the imaging device includes:
During the sequence number verifying instruction that the control unit for receiving the imaging device for the first time is sent, Xiang Suoshu
The authentication unit of imaging device sends stop signal, or tests in the sequence number that the control unit for receiving imaging device every time is sent
During card instruction, the authentication unit of Xiang Suoshu imaging device sends stop signal.
Optionally, after the imaging device is again started up, interference letter is being sent to the authentication unit of the imaging device
After number, the control unit of Xiang Suoshu imaging device sends disappearing comprising pre-stored sequence number and sequence number verification result
Breath.
Optionally, after the imaging device is again started up, every time to the sequence of the control unit of imaging device transmission
Every time to the control list of the imaging device after row number and the sequence number verification result and imaging device starting for the first time
The sequence number and sequence number verification result that member is sent are identical.
Second aspect, the present invention provide a kind of verifying device of printing consumables box, and described device is located at the printing consumables
In consumable chip in box, the printing consumables box is removably mounted on the imaging device including control unit and authentication unit
On, the consumable chip, control unit and authentication unit are communicatively couplable on the same common bus, described device packet
It includes:
First transmission unit, before the sequence number verifying instruction for being sent in the control unit for receiving imaging device, or
Person during the sequence number that the control unit for receiving the imaging device is sent verifies instruction, test by Xiang Suoshu imaging device
It demonstrate,proves unit and sends interference signal, so that the authentication unit of the imaging device stops sending verification information;
Second transmission unit, the sequence number verifying for sending in the control unit for receiving the imaging device every time refer to
After order, the control unit of Xiang Suoshu imaging device sends disappearing comprising pre-stored sequence number and sequence number verification result
Breath.
Optionally, first transmission unit, the sequence number verifying for being sent in the control unit for receiving imaging device
Before instruction, the authentication unit of Xiang Suoshu imaging device sends the pseudo-order number verifying instruction for carrying verifying ending message.
Optionally, first transmission unit is also used to the sequence sent in the control unit for receiving the imaging device
During number verifying instruction, the authentication unit of Xiang Suoshu imaging device sends stop signal.
Optionally, first transmission unit is also used to send in the control unit for receiving the imaging device for the first time
Sequence number verifying instruction during, the authentication unit of Xiang Suoshu imaging device sends stop signal, or is receiving every time
During the sequence number verifying instruction that the control unit of imaging device is sent, the authentication unit transmission of Xiang Suoshu imaging device stops
Stop signal.
Optionally, described device further include:
Third transmission unit, for after the imaging device is again started up, in the authentication unit to the imaging device
After sending interference signal, the control unit of Xiang Suoshu imaging device sends disappearing comprising sequence number and sequence number verification result
Breath.
Optionally, after the imaging device is again started up, every time to the sequence of the control unit of imaging device transmission
Every time to the control list of the imaging device after row number and the sequence number verification result and imaging device starting for the first time
The sequence number and sequence number verification result that member is sent are identical.
The third aspect, the present invention provide a kind of consumable chip, and the chip includes the verifying device of above-mentioned printing consumables box.
Verification method, device and the consumable chip of printing consumables box provided in an embodiment of the present invention are receiving imaging device
The sequence number verifying instruction that sends of control unit before, or the sequence sent in the control unit for receiving the imaging device
During number verifying instruction, the authentication unit of Xiang Suoshu imaging device sends interference signal, so that the imaging device is tested
It demonstrate,proves unit to stop sending verification information, in the sequence number verifying instruction that the control unit for receiving the imaging device every time is sent
Later, the control unit of Xiang Suoshu imaging device sends the message comprising pre-stored sequence number and sequence number verification result.
Compared with prior art, the present invention can save the memory space of consumable chip, and shorten when carrying out sequence number verifying and test
Demonstrate,prove the time.
Detailed description of the invention
Fig. 1 is the flow chart of the verification method of one embodiment of the invention printing consumables box;
Fig. 2 is the schematic diagram that one embodiment of the invention generates stop signal;
Fig. 3 is the structural schematic diagram of the verifying device of one embodiment of the invention printing consumables box;
Fig. 4 is the connection of the consumable chip and imaging device of verifying device of the one embodiment of the invention comprising printing consumables box
Schematic diagram;
Fig. 5 is the structural schematic diagram of the verifying device of another embodiment of the present invention printing consumables box.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of verification method of printing consumables box, and the method is applied to the consumption in the printing consumables box
Material chip, the printing consumables box are removably mounted on the imaging device including control unit and authentication unit, the consumption
Material chip, control unit and authentication unit are communicatively couplable on the same common bus, as shown in Figure 1, the method packet
It includes:
S11, receive imaging device control unit send sequence number verifying instruction before, or receive it is described at
During the sequence number verifying instruction sent as the control unit of equipment, the authentication unit of Xiang Suoshu imaging device sends interference
Signal, so that the authentication unit of the imaging device stops sending verification information;
S12, receive the imaging device every time control unit send sequence number verifying instruction after, Xiang Suoshu
The control unit of imaging device sends the message comprising pre-stored sequence number and sequence number verification result.
The consumable chip being arranged on printing consumables box is mainly used for storage information relevant to printing consumables, plays identity knowledge
It is not printed after the consumption material box for being provided with consumable chip is installed on printer (imaging device) with the effect of recording status
Chance provides electric signal to consumable chip, and reads the information of consumable chip.In order to identify that can consumption material box work normally, print
Chance sends to consumable chip and reads instruction, to read some information relevant to identification, such as consumption material box model, manufacture
In addition to this information such as quotient and sequence number can also send verifying instruction to consumable chip, these verifying instructions are mainly used for verifying
Encryption-decryption algorithm, rule of communication of consumable chip etc..When reading instruction and verifying instruction correctly can respond printer, just
Think that consumable chip can normally be identified by printer.
Imaging device includes that control unit (the e.g. CPU of printer) and authentication unit (are e.g. arranged in printer
Encryption chip, be used to verify the data such as the sequence number of consumable chip).Consumable chip, control unit and verifying are single
Member is communicatively connected on the same common bus, in this way, among consumable chip, control unit and authentication unit any one
The information of sending, other can both be received, and therefore, consumable chip also can identify and monitor control unit and authentication unit
Between communication.
In the prior art, the process for the sequence number verifying instruction that consumable chip response imaging device is initiated are as follows:
User opens imaging device every time, and imaging device can all verify the sequence number of consumable chip, opens imaging
After equipment, imaging device starts to power to consumable chip, and successively sends sequence number verifying instruction three times.
When the control unit of imaging device to consumable chip send First ray number verifying instruction when, at this time consumable chip and
Authentication unit can receive the verifying instruction of this First ray number simultaneously, and authentication unit will be according to this instruction and some additional ginsengs
Number calculates and generates verification information, replys control unit by common bus.At this point, consumable chip receives this verification information, consumption
Material chip is just needed according to verification information, in conjunction with the First ray number of consumable chip, is calculated and is generated First ray number reply data.
After the control unit of imaging device receives First ray number reply data and the verification information of authentication unit, start to carry out other
The verifying of aspect, is verified, then can send the verifying instruction of the second sequence number.
Consumable chip and authentication unit receive the second sequence number verifying instruction after, authentication unit will according to this instruction and
Some additional parameters calculate and generate verification information, reply control unit by common bus.At this point, consumable chip receives this
Verification information, consumable chip just need, in conjunction with the second sequence number of consumable chip, to calculate according to verification information and generate the second sequence
Number reply data.After the control unit of imaging device receives the second sequence number reply data and the verification information of authentication unit,
Start to carry out otherwise verifying, be verified, then can send the verifying instruction of the second sequence number.It is verified, then can
It sends other read write commands or awaits orders, it is also possible to continue to send the verifying instruction of third sequence number, and so on.
Therefore, in the prior art, user first switches on imaging device, and consumable chip needs to reply three sequence number (examples
Such as A, B, C);When opening imaging device next time, consumable chip needs to reply the other three sequence number (such as D, E, F), with this
Analogize.If the compatibility consumable chip of compatible manufacturer's production does not know the algorithm of sequence number, it is necessary to storing multiple sets (3, every set)
Sequence number needs to occupy a large amount of memory space.
The verification method of printing consumables box provided in an embodiment of the present invention, in consumable chip and imaging device communication process
In, by the specific interference signal of transmission, authentication unit in imaging device is allowed to stop that sequence number is verified or stopped working, this
Sample consumable chip can in each verifying, send same set of sequence number (such as reply every time same set of sequence number A, B,
C), to achieve the purpose that reduce verification time and sequence number memory space.
Specifically, there are many implementations for interference signal, right below by taking interference signal is pseudo-order number verifying instruction as an example
The verification method of printing consumables box provided in an embodiment of the present invention is specifically described.
The pseudo-order number verifying instruction verifies instruction for the sequence number sent in the control unit for receiving imaging device
Before, the interference signal that consumable chip is sent to the authentication unit of the imaging device, for allowing authentication unit in imaging device to stop
Only sequence number is verified.
Pseudo-order number verifying instruction is the sequence number verifying for being different from the control unit of imaging device and issuing to consumable chip
Instruction, is voluntarily emitted to authentication unit by consumable chip, to cheat the information of authentication unit.The lattice of pseudo-order number verifying instruction
Formula and length are similar with the sequence number verifying instruction that control unit issues.
When control unit needs to send in total two sequence number verifying instructions, second verifying instruction can include verifying knot
The information of beam, authentication unit will be considered that sequence number verification process has been last time after receiving the second verifying instruction, can
To terminate.Similarly, when control unit needs to send three sequence number verifying instructions in total, third verifying instruction can be comprising testing
The information terminated is demonstrate,proved, authentication unit will be considered that sequence number verification process has been last after receiving third verifying instruction
It is secondary, it can terminate.Therefore, the pseudo-order number verifying instruction that consumable chip is voluntarily emitted to authentication unit can carry control unit hair
The information that last time sequence number verifying out instructs included expression verifying to terminate, so as to allow authentication unit receiving
When to interference signal, it is believed that have been completed the verifying to multiple sequence numbers, the sequence number that no longer response control unit is sent is tested
Card instruction.
After consumable chip sends stop signal to the authentication unit of imaging device, authentication unit stops response control unit
The sequence number of transmission verifies instruction, and consumable chip replaces the sequence number verifying of authentication unit response control unit to instruct and transmit table
Show the information of verification result.
After the sequence number verifying instruction that the control unit that consumable chip receives imaging device every time is sent, consumptive material core
Piece sends the message comprising pre-stored sequence number and sequence number verification result to the control unit of imaging device.In this way, at
After being again started up as equipment, consumable chip can reply the verifying of imaging device when verifying sequence number by imaging device every time
The result replied every time when as a result being verified with last opening imaging device is identical, so that consumable chip is not necessarily to storing multiple sets
Sequence number verifies multiple sequence numbers further, since authentication unit stopped, reduces the verification time, when making the user do not need to spend
Between wait very long verifying;Moreover, because consumable chip, which can substitute authentication unit, replys imaging device authentication information, reducing
Sequence number memory space, in the case where reducing the verification time, moreover it is possible to allow and be mounted with that such compatible consumable chip is set by imaging
Standby verifying, it is ensured that be verified.Thus, the use cost of user can be reduced, period of reservation of number is reduced, improves user's body
It tests.
It is illustrated below with application in verification process of the specific example to pseudo-order number verifying instruction.
Following data (string, character string) is the hexadecimal numeration side used to the binary signal of communication process
Formula, such as the corresponding binary number of 0x61 are " 0,110 0001 ".
Firstly, the first step, imaging device sends 00 C1 instruction to consumable chip, for encrypting, logic checking:
00 C1 40 41 of String1:D2 (control unit of imaging device sends 00 C1 instruction to consumable chip)
(consumable chip responds the instruction and replys imaging number of devices 00 06 00 03 E4 F3 E4 of string2:D3 AB
According to)
Secondly, second step, consumable chip forces hair interference signal, cheats authentication unit:
(consumable chip forces hair 00 A3 of B0 instruction and verifying single to 00 A3 of String3:B0,74 C1 7F 9C DD 65
Member communication)
Again, third step, imaging device send multiple sequence number verifying instruction 00 A1/B0 00 of B0 to consumable chip
A2/B0 00 A3:
00 A1 of String4:B0,41 01 40 E6,85 BF (control unit sends First ray number verifying instruction)
47 02 90 14 40 3F E3 EA 4F of String5:CF C4 E4,62 53 7C B3 (consumable chip response
And reply sequence number, sequence number verification result)
00 A2 of String6:B0,41 81 A3,37 F8 54 (control unit sends the second sequence number verifying instruction)
21 01 18 58 9A EC 0F B2 of String7:CF 3D, 40 77 A3 C9 FE, 36 (consumable chip response
And reply sequence number, sequence number verification result)
00 A3 of String8:B0,74 A4 C5 A3 47 98 (control unit sends third sequence number verifying instruction)
86 24 17 68 5D 9E DB of C9 B6 A5 E5 of String9:CF DB, 54 C4,51 (consumable chip response
And reply sequence number, sequence number verification result)
Wherein, 00 A3 of character string String3:B0, the 74 C1 7F 9C DD 65 in second step, is by consumable chip
Force the interference signal being dealt on common bus, character string String8 (the third sequence that instruction format and imaging device are sent
Number verifying instruction) it is similar, therefore the present invention is referred to as " pseudo-order number verifying instruction ".Authentication unit receives this interference signal
Afterwards, to think that sequence number verifying has been final step, thus stop to String4, String6 and String8 this three by
The response for the verifying instruction that the control unit of imaging device issues, no longer sends verification information to consumable chip.Therefore, character string
The data of String5, String7 and String9 are replied by consumable chip, moreover, can return when opening imaging device every time
Multiple same a set of sequence number (three sequence numbers), is not necessarily to storing multiple sets sequence number.
After control unit receives the data of character string String5, String7 and String9, it is believed that sequence number is legal,
The certification of consumable chip can pass through, and then, into armed state, user can be used imaging device and print, duplicate
Operation.
Interference signal can also be realized by stop signal, below by taking interference signal is stop signal as an example, to the present invention
The verification method for the printing consumables box that embodiment provides is specifically described.
The stop signal is the process of the sequence number verifying instruction sent in the control unit for receiving the imaging device
In, consumable chip sends the interference signal of stop signal to the authentication unit of the imaging device, tests in imaging device for allowing
Card unit stops working, and stopping verifies sequence number and stops verifying sequence number instruction response.
The stop signal uses stop signal defined in the communication protocol used between consumable chip and imaging device,
Depending on its communication protocol.For example, working as between consumable chip and imaging device using standard IIC (inter
Integrated circuit, IC bus) agreement when, stop signal be when clock signal be in high level, it is several
It is believed that number one rising edge of generation, stop signal are as shown in Figure 2.
In Fig. 2, when control unit sends " 1 " on the data line, it is low level that normal signal, which is at clock (CLK),
When, data-signal (SDA) becomes high level, and high level is maintained in clock signal high level, and isochronon signal becomes low again
When, data-signal becomes low level.And when sending stop signal (STOP), data-signal is forced to maintain to be pulled down to clock signal
It is discharged again when getting higher, allows authentication unit when clock signal is high level, detecting data-signal, there are a rising edge signals.
After consumable chip sends stop signal to the authentication unit of imaging device, authentication unit stops working, consumptive material core
Piece replaces the sequence number verifying of authentication unit response control unit to instruct and transmit the information for indicating verification result.
After the sequence number verifying instruction that the control unit that consumable chip receives imaging device every time is sent, consumptive material core
Piece sends the message comprising pre-stored sequence number and sequence number verification result to the control unit of imaging device.In this way, at
After being again started up as equipment, consumable chip can reply the verifying of imaging device when verifying sequence number by imaging device every time
The result replied every time when as a result being verified with last opening imaging device is identical, so that consumable chip is not necessarily to storing multiple sets
Sequence number verifies multiple sequence numbers further, since authentication unit stopped, reduces the verification time, when making the user do not need to spend
Between waiting process verifying;Moreover, because consumable chip, which can substitute authentication unit, replys imaging device authentication information, reducing
Sequence number memory space, in the case where reducing the verification time, moreover it is possible to allow and be mounted with that such compatible consumable chip is set by imaging
Standby verifying, it is ensured that be verified.Thus, the use cost of user can be reduced, period of reservation of number is reduced, improves user's body
It tests.
Below by taking communication protocol is IIC as an example, application of the stop signal in verification process is illustrated.
Firstly, the first step, imaging device sends 00 C1 instruction to consumable chip, for encrypting, logic checking:
00 C1 40 41 of String1:D2 (control unit of imaging device sends 00 C1 instruction to consumable chip)
(consumable chip responds the instruction and replys imaging number of devices 00 06 00 03 E4 F3 E4 of string2:D3 AB
According to)
Secondly, second step, imaging device sends multiple sequence number verifying instruction 00 A1/B0 00 of B0 to consumable chip
A2/B0 00 A3:
00 A1 of String4:B0,41 01 40 E6,85 BF (control unit sends First ray number verifying instruction,
In, in the transmission process that instructs herein, force to send stop position at certain a data " 1 " of some data, such as in 0xA1
The high level of the bit5 of this number sends out stop position, and A1 is " 1,010 0001 ", bit5 be from it is right it is several the 6th number " 1 ")
47 02 90 14 40 3F E3 EA 4F of String5:CF C4 E4,62 53 7C B3 (consumable chip response
And reply sequence number, sequence number verification result)
00 A2 of String6:B0,41 81 A3,37 F8 54 (control unit sends the verifying instruction of the second sequence number,
In, in the transmission process that instructs herein, force to send stop position at certain a data " 1 " of some data)
21 01 18 58 9A EC 0F B2 of String7:CF 3D, 40 77 A3 C9 FE, 36 (consumable chip response
And reply sequence number, sequence number verification result)
00 A3 of String8:B0,74 A4 C5 A3 47 98 (control unit sends the verifying instruction of third sequence number,
In, in the transmission process that instructs herein, force to send stop position at certain a data " 1 " of some data)
86 24 17 68 5D 9E DB of C9 B6 A5 E5 of String9:CF DB, 54 C4,51 (consumable chip response
And reply sequence number, sequence number verification result)
It is during control unit transmits Sequence Number verifying instruction, consumable chip is forced in this example application
Change the signal waveform of data transmission, to generate a stop signal.Authentication unit thinks that communication process terminates, to stop ringing
The sequence number of control unit is answered to verify instruction.Then, the data for originally belonging to authentication unit reply are replied by consumable chip, to consume
Material chip, which can be fixed, replys same set of sequence number, without change and storing multiple sets sequence number.
, can be only when control unit send First ray number verifying instruction in this example application, consumable chip is strong
System sends stop signal, does not send when second/third sequence number is verified and instructed.Can also as above-mentioned example it is each receive at
During the sequence number verifying instruction sent as the control unit of equipment, the authentication unit of Xiang Suoshu imaging device, which is sent, to be stopped
Signal.
The verification method of printing consumables box provided in an embodiment of the present invention is sent in the control unit for receiving imaging device
Before sequence number verifying instruction, or the process of the sequence number verifying instruction in the control unit transmission for receiving the imaging device
In, the authentication unit of Xiang Suoshu imaging device sends interference signal, tests so that the authentication unit of the imaging device stops sending
Information is demonstrate,proved, after the sequence number verifying instruction that the control unit for receiving the imaging device every time is sent, to the imaging
The control unit of equipment sends the message comprising pre-stored sequence number and sequence number verification result.Compared with prior art,
The present invention can save the memory space of consumable chip, and shorten the verification time when carrying out sequence number verifying.
The embodiment of the present invention also provides a kind of verifying device of printing consumables box, and described device is located at the printing consumables box
In consumable chip in, the printing consumables box is removably mounted on the imaging device including control unit and authentication unit
On, the consumable chip, control unit and authentication unit are communicatively couplable on the same common bus, as shown in figure 3, institute
Stating device includes:
First transmission unit 11, before the sequence number verifying instruction for being sent in the control unit for receiving imaging device,
Or during the sequence number that the control unit for receiving the imaging device is sent verifies instruction, Xiang Suoshu imaging device
Authentication unit sends interference signal, so that the authentication unit of the imaging device stops sending verification information;
Second transmission unit 12, the sequence number verifying for being sent in the control unit for receiving the imaging device every time
After instruction, the control unit of Xiang Suoshu imaging device sends disappearing comprising pre-stored sequence number and sequence number verification result
Breath.
As shown in figure 4, for the consumption of imaging device and the verifying device comprising printing consumables box provided in an embodiment of the present invention
The connection schematic diagram of material chip.The consumable chip of verifying device comprising printing consumables box provided in an embodiment of the present invention is detachable
Ground is mounted on printing consumables box, and printing consumables box is releasably attached to control unit (e.g. printer
CPU) and authentication unit (encryption chip being e.g. arranged in printer, be used for the data such as the sequence number of consumable chip into
Row verifying) imaging device on, also, consumable chip, control unit and authentication unit be communicatively connected to it is same public
In bus.Under such bus connection, the letter of any one sending among consumable chip, control unit and authentication unit
Breath, other can both be received, and therefore, consumable chip also can identify and monitor logical between control unit and authentication unit
Letter.
After consumable chip is installed in imaging device, starts to power to consumable chip, read data, also, can be to core
Piece carries out multiple sequence number verification.It is illustrated below with specific embodiment, as shown in figure 5, being provided for the embodiment of the present invention
Printing consumables box verifying device structural schematic diagram, the verifying device of the printing consumables box includes:
Interface module 21, for receiving signal from common bus and signaling to total bus.Specifically, work as consumable chip
When being communicated by way of electrical contact with imaging device, interface module 21 can be power end, clock end, data terminal, ground terminal
Etc. multiple electric contacts.When consumable chip and imaging device are communicated by non-contacting mode, interface module 21 can be infrared
Antenna, Bluetooth antenna, 125KHz coil, 13.56MHz coil, 2.4GHz antenna etc..
Instruction identification module 22, the instruction and data that imaging device is sent for identification judge whether it is sequence number verifying
Instruction is also used to judge to receive whether instruction is reading instruction, write command, encrypted instruction, logic checking instruction etc..
Interference signal sending module 23, for sending out interference signal to common bus.The authentication unit is receiving interference
It can stop replying verification information to common bus after signal, also, authentication unit will be considered that when receiving interference signal
The verifying to multiple sequence numbers is completed, to no longer carry out legitimate verification to the sequence number verifying instruction of consumable chip hair.
Specifically, there are many types for the interference signal that interference signal sending module 23 is sent.For example, interference signal is pseudo- sequence
Row number verifying instruction, the format and length of pseudo-order number verifying instruction are similar with the sequence number verifying instruction that control unit issues,
And the information for indicating that verifying terminates is carried, so as to allow authentication unit when receiving interference signal, it is believed that have been completed
The sequence number that verifying to multiple sequence numbers, no longer response control unit are sent verifies instruction.Or interference signal is to stop letter
Number, stop signal uses stop signal defined in the communication protocol used between consumable chip and imaging device, with specific reference to
Depending on its communication protocol, stop signal can allow authentication unit in imaging device to stop working.
Signal transmitting module 24 is replaced, for authentication unit transmission being replaced and originally belonging to authentication unit transmission to common bus
Verification information.These belong to the verification information of authentication unit transmission, and control unit transmission has been received including indicating
Information etc. of sequence number verifying instruction is used for response control unit and transmits the information for indicating verification result.
Sequence number replys module 25, is used for after interference signal sending module 23 sends out interference signal to common bus, in sound
When the sequence number verifying instruction for answering the control unit of imaging device to send, sequence number and verification result, the sequence replied every time are replied
It is replied when carrying out sequence number verifying every time after row number and verification result and last opening imaging device to imaging device identical.
Specifically, if imaging device verifies two sequence numbers, sequence number is replied module 25 and is tested in response First ray number
When card instruction and the verifying instruction of the second sequence number, sequence number identical with the reply after last imaging device starting is replied.If
Imaging device can verify three sequence numbers, then can be also continued by control unit send third sequence number verifying instruction, then at this point,
Sequence number replys module and needs to reply three sequence numbers identical with the reply after last imaging device starting.
Memory module 26, the data that consumable chip is stored are typically stored in memory module 26, such as sequence number letter
The information such as breath, date of manufacture, manufacturer, surplus, printing amount.Memory module 26 specifically can be EEPROM, Flash storage
Combination (such as the SRAM+ button of device, EPROM, ferroelectric memory, phase transition storage and volatile memory and power supply module
Battery).
General consumable chip includes electronic module and circuit substrate (PCB), and electronic module is arranged on circuit substrate,
In electronic module, it is provided with above-mentioned interface module 21, memory module 26, instruction identification module 22 etc..
The verifying device of printing consumables box provided in an embodiment of the present invention is sent in the control unit for receiving imaging device
Before sequence number verifying instruction, or the process of the sequence number verifying instruction in the control unit transmission for receiving the imaging device
In, the authentication unit of Xiang Suoshu imaging device sends interference signal, tests so that the authentication unit of the imaging device stops sending
Information is demonstrate,proved, after the sequence number verifying instruction that the control unit for receiving the imaging device every time is sent, to the imaging
The control unit of equipment sends the message comprising pre-stored sequence number and sequence number verification result.Compared with prior art,
The present invention can save the memory space of consumable chip, and shorten the verification time when carrying out sequence number verifying.
The embodiment of the present invention also provides a kind of consumable chip, and the consumable chip includes the verifying dress of above-mentioned printing consumables box
It sets.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program by control module or processor (CPU) when being executed, it may include such as the process of the embodiment of above-mentioned each method.Its
In, the storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage
Memory body (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.