CN102831930B - Consumable chip, consumable container and data writing method for the consumable chip - Google Patents
Consumable chip, consumable container and data writing method for the consumable chip Download PDFInfo
- Publication number
- CN102831930B CN102831930B CN201210297889.5A CN201210297889A CN102831930B CN 102831930 B CN102831930 B CN 102831930B CN 201210297889 A CN201210297889 A CN 201210297889A CN 102831930 B CN102831930 B CN 102831930B
- Authority
- CN
- China
- Prior art keywords
- data
- store
- write
- byte
- store byte
- 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
Links
Landscapes
- Ink Jet (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The invention provides a consumable chip, a consumable container and a data writing method for the consumable chip. A base plate of the consumable chip is provided with an electronic module. A control unit and a memory allowing control unit accessing are arranged in the electronic module. A read-write data storage zone of the memory comprises at least one data storage block. The data storage block comprises more than two memory bytes and status flag bits corresponding to all the memory bytes, also comprises an address decoding circuit for searching the memory bytes according to the status flag bits, and also comprises an address modification circuit for modifying the status flag bits. The data writing method for the consumable chip comprises the following steps of receiving data by the electronic module, wherein the data needs to be written in the at least one data storage block, according to data stored in the status flag bits, searching a memory byte next to a memory byte in which data is written at last, and writing the received data in the searched memory byte. The data writing method for the consumable chip saves data writing time and realizes rapid communication between the consumable chip and a printer.
Description
Technical field
The present invention relates to printing consumables field, especially relate to a kind of consumable chip, have the consumable container of this chip and the method for writing data of this consumable chip.
Background technology
Printer as common office equipment, for modern office provides great convenience.Existing printer is divided into ink-jet printer and laser printer, and ink-jet printer uses the print cartridge accommodating ink to spray ink as consumable container to paper, to form the word or pattern that need to print on paper; Laser printer then uses the cartridge accommodating carbon dust on medium, form the word or pattern that need to print as consumable container.
See Fig. 1, existing a kind of color inkjet printer has the supporting plate that the ink-jet printer shown in casing 11, Fig. 1 eliminates casing 11.Be provided with the movement 12 of ink-jet printer in casing 11, and be provided with a slide bar, print word car 14 under the drive of motor (invisible in Fig. 1) along slide bar to-and-fro movement.Print in word car 14 and be provided with card extender (invisible in Fig. 1), card extender is electrically connected with movement 12 by winding displacement 13.
Print on word car 14 and be removably provided with multiple print cartridge 15, accommodate the ink of different colours in different print cartridge 15, the structure of print cartridge 15 as shown in Figure 2.Print cartridge 15 has housing 16, and housing 16 surrounds the cavity holding ink, and the lower end of cavity is provided with ink outlet port 17, and the ink in cavity is flowed out by ink outlet port 17, and to printing the confession tattooing needle ink supply of word car 14.
The outer wall of print cartridge 15 housing 16 is provided with chip piece 18, and chip 18 has substrate, and the side of substrate is provided with multiple electric contact 19, for being electrically connected with card extender.The opposite side of substrate is provided with the electronic module (invisible in Fig. 2) be electrically connected with electric contact 19.
See Fig. 3, existing cartridge has housing 21, and housing 21 surrounds the cavity holding carbon dust, and the outer wall of housing is provided with a chip installation position 22, and chip 23 is installed on chip installation position 22.Similar with the chip of print cartridge, the chip 23 of cartridge also has substrate, and substrate is provided with the electric contact 24 as communication module, for carrying out exchanges data with laser printer.Further, the opposite side of substrate is provided with the electronic module (invisible in Fig. 3) be electrically connected with electric contact 24.
See Fig. 4, electronic module on ink box chip 18 or carbon powder box chip 22 all has interface unit 31, control module 32 and storer 33, interface unit 31 is for receiving the data of ink-jet printer or laser printer transmission, and the data of reception are transferred to control module 32, also the data that control module 32 returns are sent to ink-jet printer or laser printer simultaneously.
Control module 32, for the work of control chip, comprises response ink-jet printer or the order that sends of laser printer, as write data to storer 33 or read the data of specifying from storer 33.
Storer 33 is electrically erasable read-only memory (EEPROM) or flash memory (Flash) etc., and for storing the data identical with print cartridge 15 or cartridge, it comprises read-only data memory block 34 and read-write data storage area 35.Read-only data memory block 34 is for storing persistent data, as the production time etc. of the color of the ink of print cartridge 15 or the model of cartridge, applicable printer model, accommodation or carbon dust, print cartridge 15 or cartridge, these data can't be carried out with what print and revise, therefore, can't revise these data when ink-jet printer or working of laser printer, namely ink-jet printer or laser printer only can read these data.Visible, the data being stored in read-only data memory block 34 only can be read, and can not be modified.
Read-write data storage area 35 can by the data read and write for storing, as the surplus of ink or carbon dust, print cartridge 15 or cartridge for print time span, printing number of pages etc., these data are carried out with what print and are changed, therefore, after ink-jet printer or laser printer print at every turn, above-mentioned data will be upgraded.
In order to ensure the normal operation printed, before ink-jet printer or each printing of laser printer, reading is stored in the ink surplus of storer 33 or the data of carbon dust surplus, and judge ink surplus or carbon dust surplus whether sufficient, as inadequate, then send alerting signal, prompting user changes print cartridge or cartridge.And after each printing, ink-jet printer or laser printer print calculating this time the quantity of ink or carbon dust amount that consume, and calculate remaining quantity of ink or carbon dust amount thus, by the ink surplus after renewal or carbon dust surplus write storer 33.Data in order to ensure ink surplus or carbon dust surplus correctly write, and after ink-jet printer or laser printer write data at every turn, will read the data write at once, judge whether the data of ink surplus or the data of carbon dust surplus correctly write.
Fixing memory address can be had by the data read and write in read-write data storage area 35 due to each, when ink-jet printer or laser printer send read write command, the address of read-write data is sent to chip, control module 32 searches corresponding store byte according to the memory address of read-write data, and in the data reading that this store byte is stored or the store byte writing data into designated store address.
In addition, the data of the data stored due to read-write memory block 35 normally monotone increasing or monotone decreasing, the data as ink surplus or carbon dust surplus are exactly the data of monotone decreasing, and print duration, number of print pages is exactly monotonically increasing data.Therefore, after control module 32 receives the data needing write, needing the data of write whether to meet the requirement of monotone increasing or monotone decreasing by judging, if do not met above-mentioned requirements, can not write data in read-write memory block 35.
During to electrically erasable read-only memory or flash memory write data, first need the data erase in respective stored byte, and then write new data.For flash memory, each data of the store byte after being wiped free of are binary number " 1 ", and the process writing data is that binary number " 1 " is revised as binary number " 0 ".Because the Flash data erasing time is longer, the normally time of Millisecond, and Data writing time is shorter, usually between 4 microsecond to 20 microseconds.
But, along with ink-jet printer or the communication speed between laser printer and chip more and more faster, Data writing time requires shorter and shorter, if after chip receives data at every turn, data are write again after first the data of store byte being wiped, Data writing time can be caused long, affect the communication speed between chip and printer, print job requirement cannot be met, the phenomenon that the data that printer even can be caused to send cannot be written to read-write memory block 35 occurs, and judgement print cartridge or cartridge mistake are stopped printing by printer.
In order to solve the problem, more existing chip use read or write speed faster ferroelectric memory come alternative electrically erasable read-only memory or flash memory, but due to the production cost of ferroelectric memory higher, cause the production cost of chip too high.
Summary of the invention
The first object of the present invention is to provide a kind of consumable chip that can write data fast to read-write memory block.
The second object of the present invention is to provide a kind ofly guarantees that consumable chip carries out fast the consumable container communicated with printer.
The third object of the present invention is to provide the method for writing data of a kind of writing speed consumable chip faster.
For realizing the first above-mentioned object, consumable chip provided by the invention has substrate, the electronic module that substrate is provided with communication module and is electrically connected with communication module, be provided with in electronic module control module and can controlled unit access storer, storer has read-only data memory block and read-write data storage area, wherein, read-write data storage area has at least one DSB data store block, each DSB data store block has the store byte of more than two and the state flag bit corresponding with each store byte, and DSB data store block is also provided with the address decoding circuitry of searching store byte according to state flag bit, DSB data store block is also provided with the address modification circuit of modifying to state flag bit, first store byte is set as storing initial data when initialization by each DSB data store block, the data that other store byte stores all are erased to 1.
From such scheme, read-write data storage area arranges multiple DSB data store block to store the data of write, each DSB data store block comprises multiple store byte, and pass through the state of each store byte of Status Flag bit-identify, like this, the data at every turn received can be written in different store bytes by consumable chip, and the state flag bit of current store byte is set, namely without the need to first wiping the operation of rear write to the data of store byte, the operation of write data can realize at short notice, also just can rapidly to read-write data storage area write data.
A preferred scheme is that DSB data store block also comprises multidiameter option switch, the data of its accepting state zone bit or the data of address modification circuit, and exports data to address decoding circuitry.
As can be seen here, rapidly the data of state flag bit or the data of address modification circuit can be outputted to address decoding circuitry by multidiameter option switch, thus find corresponding store byte rapidly.
Further scheme is that DSB data store block also comprises data comparison circuit, and whether the data for outside write are identical with the data that the store byte found according to address decoding circuitry stores.
Visible, compared by the data of comparator circuit to the data and store byte that need write, data are not write when the data judging to need to write are identical with the data of store byte, that can avoid data like this repeats write, save the use of store byte, also reduce the time of data write.
For realizing the second above-mentioned object, consumable container provided by the invention has housing, housing surrounds the cavity holding consumptive material, cavity lower end is provided with consumptive material outlet, and housing is provided with consumable chip, consumable chip has substrate, the electronic module that substrate is provided with communication module and is electrically connected with communication module, be provided with in electronic module control module and can controlled unit access storer, storer has read-only data memory block and read-write data storage area, wherein, read-write data storage area has at least one DSB data store block, each DSB data store block has the store byte of more than two and the state flag bit corresponding with each store byte, and DSB data store block is also provided with the address decoding circuitry of searching store byte according to state flag bit, DSB data store block is also provided with the address modification circuit of modifying to state flag bit.
From such scheme, the read-write data storage area of consumable chip arranges multiple DSB data store block, DSB data store block stores each data received by different store bytes, when printer is to storer write data, do not need first to wipe the data being stored in store byte, but directly write data in next store byte, and mark next store byte, read-write data storage area can be write data into rapidly like this, guarantee the high-speed traffic of consumable chip and printer.
For realizing the 3rd above-mentioned object, in the method for writing data of consumable chip provided by the invention, the substrate of consumable chip is provided with electronic module, the storer of electronic module has read-write data storage area, read-write data storage area has at least one DSB data store block, each DSB data store block has the store byte of more than two and the state flag bit corresponding with each store byte, the method comprises: after electronic module receives the data needing to write DSB data store block, according to the data that state flag bit stores, search next store byte of the store byte of last write data, received data are written to this next store byte.
As can be seen here, due to consumable chip receive need write data after, do not perform erasing store byte store the operation of data, but directly write data into next store byte, the time that data erase operation consumes can be reduced like this, write data into rapidly in read-write data storage area.
The method for writing data of consumable chip provided by the invention can also be: the substrate of consumable chip is provided with electronic module, the storer of electronic module has read-write data storage area, read-write data storage area has at least one DSB data store block, each DSB data store block has the store byte of more than two and the state flag bit corresponding with each store byte, each store byte stores the data write in advance, the method comprises: after electronic module receives the data needing to write DSB data store block, read the data that current store byte stores, and compare with the data that will write, judge that whether two data are identical, if not identical, read data that next store byte stores and judge whether identical with the data of required write, until the store byte that the data finding storage are identical with the data of required write, and mark the store byte found.
From such scheme, data have been prestored in multiple store byte, after consumable chip receives data, be only relatively and find the store byte storing the data identical with writing data, and mark this store byte, like this, consumable chip is without the need to performing the operation of data erase, do not need to store byte write data yet, the time of reading a secondary data was less than for 50 nanoseconds, size of data to be written progressively increases, reading data and multilevel iudge under normal circumstances at most can not more than 20 times, writing speed the most all can reach 1 microsecond, therefore this method for writing data speed is faster.
Accompanying drawing explanation
Fig. 1 is the structural drawing of existing a kind of ink-jet printer.
Fig. 2 is the schematic enlarged-scale view of existing print cartridge.
Fig. 3 is the STRUCTURE DECOMPOSITION figure of existing a kind of cartridge.
Fig. 4 is the electric theory diagram of the electronic module of existing consumable chip.
Fig. 5 is the electric theory diagram of electronic module in consumable chip first embodiment of the present invention.
Fig. 6 is the electric theory diagram of a DSB data store block in consumable chip first embodiment of the present invention.
Fig. 7 is the corresponding relation figure of store byte and state flag bit in consumable chip first embodiment of the present invention.
Fig. 8 is the electrical schematic diagram of address decoding circuitry in consumable chip first embodiment of the present invention.
Fig. 9 is the process flow diagram of consumable chip method for writing data first embodiment of the present invention.
Figure 10 is the corresponding relation figure of store byte and state flag bit in consumable chip second embodiment of the present invention.
Figure 11 is the process flow diagram of consumable chip method for writing data second embodiment of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
Embodiment
Consumable container of the present invention both can be mounted in the print cartridge on ink-jet printer, and also can be mounted in the cartridge on laser printer, below in conjunction with embodiment, the present invention is described in detail.
Consumable chip and method for writing data first embodiment thereof:
The consumable chip of the present embodiment is arranged on the housing of print cartridge, and it has one piece of substrate, and the one side of substrate is provided with the multiple electric contacts as communication module, for being connected with the electric contact of ink-jet printer.Certainly, if between ink-jet printer and consumable chip be radio communication, then communication module is the antenna for radio communication.Be provided with the electronic module be connected with electric contact at the another side of substrate, the electric theory diagram of electronic module as shown in Figure 5.
Electronic module has interface unit 41, control module 42 and storer 43, the order that interface unit 41 sends for receiving ink-jet printer, as read the order of data or writing the order of data, and the order of reception is sent to control module 42, need the data being sent to ink-jet printer to be sent to ink-jet printer control module 42 simultaneously.
Control module 42 is for controlling the work of consumable chip, and its order sent according to ink-jet printer performs corresponding operating, as the data that read in storer 43 or write data etc. to storer 43.Control module 42 can send read signal RD, write signal WR, the data Din of write and data address A0-An etc. to storer 43, and receives the data Dout read from storer 43.
Storer 43 has read-only data memory block 44 and read-write data storage area 45, read-only data memory block 44 is for storing persistent data, as the date of manufacture etc. of cartridge model, applicable ink-jet printer type, ink color, print cartridge, read-write data storage area 45, for storing variable data, as ink surplus, prints duration and number of print pages etc.Read-write data storage area 45 has multiple DSB data store block 46,47 etc., and the quantity of DSB data store block can increase and decrease according to actual conditions.A DSB data store block is for storing a variable data, and as stored data or the data etc. of time-write interval of ink surplus, these data are all the unidirectional data that increase progressively or unidirectional data of successively decreasing.
See Fig. 6, DSB data store block have store byte group 51, address decoding circuitry 52, Status Flag hyte 53, shift register group 54, data comparison circuit 55, multidiameter option switch 56 and with door T1.
Store byte group 51 has multiple store byte, in the present embodiment, DSB data store block is for storing the data of ink surplus, it uses eight-digit binary number data to represent, because eight-digit binary number data have at most 256 different numerical value, therefore, the quantity of the store byte of store byte group 51 is 256, as shown in Figure 7.
256 store bytes of store byte group 51 are from first B0, and sequentially to lower arrangement, last store byte is B255.In the present embodiment, consumable chip needs to carry out initialization after producing, after initialization, first store byte B0 is only had to store data, as represented, ink surplus is full data, other store byte is not all written into data, is namely in the state being wiped free of data, and therefore in store byte B1 to store byte B255, each data of each store byte are binary number " 1 ".To store byte write data time, only need the data of the respective stored position of corresponding stored byte to be revised as binary number " 0 " from binary number " 1 ", the time be 20 delicate within.
Status Flag hyte 53 has multiple state flag bit, and each state flag bit is corresponding with a store byte, for storing the status indication of corresponding store byte.As shown in Figure 7, Status Flag hyte 53 has 256 state flag bits b0, b1 ... b255, each state flag bit is corresponding with a store byte.Each state flag bit is the bank bit of a binary numeral, before the store byte of correspondence is not written into data, uses binary number one token, after the store byte of correspondence is written into data, uses binary number " 0 " mark.Therefore, at consumable chip after initialization, only have the data of state flag bit b0 for " 0 ", other state flag bit b1, b2 ... the data of b255 are " 1 ".
Certainly, during practical application, read-write data may be the data of 16 or the data of 32, correspondingly, in store byte group 51, the figure place of each store byte also should correspondingly be revised, and the change that the quantity of store byte is also corresponding to the quantity of state flag bit.
Address decoding circuitry 52 receives the data that multidiameter option switch 56 exports, and the data of multidiameter option switch 56 accepting state mark hyte 53 or shift register group 54, address decoding circuitry 52 goes out the store byte of last write data according to the data search received, and namely finds out current store byte.
The electrical schematic diagram of address decoding circuitry 52 as shown in Figure 8, it has multiple XOR gate and follows and door, each XOR gate is followed and is formed set of circuits with door, for output signal, as in Fig. 8, XOR gate T2 follows corresponding with door T3, composition set of circuits, the signal of two input ends difference accepting state zone bit b0 and b1 of XOR gate T2, output terminal is connected to and door T3 input end, be connected to DSB data store block gating signal WLn with another input end of door T3, export the gating signal AL0 of store byte B0 with the output terminal of door T3.Similarly, the signal of two input ends difference accepting state zone bit b1 and b2 of XOR gate T4, output terminal is connected to and door T5 input end, be connected to DSB data store block gating signal WLn with another input end of door T5, export the gating signal AL1 of store byte B1 with the output terminal of door T5.Relative to last store byte B255, the signal of two input ends difference accepting state zone bit b255 and high level VDD of XOR gate T6, output terminal is connected to and door T7 input end, be connected to DSB data store block gating signal WLn with another input end of door T7, export the gating signal AL255 of store byte B255 with the output terminal of door T7.
When control module 42 needs to a certain DSB data store block write data or reads data, this DSB data store block is strobed, and DSB data store block gating signal WLn is high level, is low level when not being strobed.
Such as, after chip is initialised, only have store byte B0 to store data, other store bytes are not all written into data, then state flag bit b0 is " 0 ", and other state flag bits are " 1 ".Now ink-jet printer needs the data reading ink surplus, control module 42 gated data storage block, gating signal WLn is high level, now, two input ends input low level signal and high level signal respectively of XOR gate T2, therefore XOR gate T2 exports high level signal, and also export high level signal with door T3, therefore the gating signal AL0 of store byte B0 is high level.Because other state flag bits are high level signal, therefore two input ends of XOR gate T4 are high level signal, its output low level signal, and with door T5 output low level signal, namely the gating signal AL1 of store byte B1 is low level signal.Similarly, the gating signal of other store bytes is also low level signal, therefore, only has store byte B0 to be strobed.
If store byte B1 is written into data, the data of state flag bit b1 are also modified to " 0 " immediately, now, because state flag bit b0 and b1 is low level signal, therefore XOR gate T2 output low level signal, with door T3 yet output low level signal, store byte B0 is not strobed.Because state flag bit b1 is low level signal, and state flag bit b2 is high level signal, and therefore XOR gate T4 exports high level signal, and store byte B1 is strobed.In like manner, other store bytes are not strobed.
From above-mentioned logical operation, address decoding circuitry 52 is the store byte finally writing data by the store byte of logical operation gating, namely state flag bit last be the corresponding store byte of " 0 ".Therefore, by the data of state flag bit in amendment Status Flag hyte 53, the mark to store byte can be realized, finally write the store byte of data by address decoding circuitry 52 gating.
Because DSB data store block write data are sequentially to store byte write data, if therefore a certain store byte is the store byte of last write data, mean that all store bytes before this store byte have all been written into data, the data of the state flag bit of all store bytes namely before this store byte are " 0 ", and the data of the state flag bit of the later all store bytes of this store byte are " 1 ".Further, the data of state flag bit are once after being modified to " 0 ", no longer be modified to " 1 ".
Shift register group 54 is for being shifted to the data be written to wherein, the data of Status Flag hyte 53 can be written in shift register group 54, shift register group 54 is according to the order of outside, the data be written to wherein are shifted, realize one move right, and the data that shift register group 54 fills into the data after displacement are binary number " 0 ".Such as, the data of Status Flag hyte 53 be " 0111 ... ", represent that the data of state flag bit b0 are " 0 ", and other state flag bit is " 1 ".After being once shifted, data become " 0011 ... ", after these data are write meeting Status Flag hyte 53 by shift register group 54, namely the data of state flag bit b1 are modified to " 0 ".Therefore, shift register group 54 is actually one for revising the circuit of Status Flag hyte 53 data, namely forms the address modification circuit of the present embodiment.Shift register group 54 often pair of data shifts once, only carries out the displacement of, just changes the data of a state flag bit to data.
Data comparison circuit 55 receives needs the data Din being written to store byte, and receiving the data Dout being finally written to store byte group 51 read from store byte group 51, the data being finally written to store byte group 51 can read the data acquisition that this store byte stores by the store byte of last write data of address decoding circuitry 52 gating.
Data comparison circuit 55 compares with the data Dout being finally written to store byte group 51 needing the data Din of write, if data Din is identical with data Dout, then output low level signal, namely comparison signal WR_EN is low level, if not identical, then export high level signal, namely comparison signal WR_EN is high level.After comparison signal WR_EN being carried out logical and budget with write signal WR with door T1, export write signal WRn.
When control module 42 needs the data reading DSB data store block, the gating signal WLn of DSB data store block is high level, address decoding circuitry 52 can find the store byte of last write data according to the data of Status Flag hyte 53, and the data reading this store byte pass out to control module 42.
Illustrate that how control module 42 is to DSB data store block write data below in conjunction with Fig. 9.First control module 42 judges whether to receive the data needing to be written to DSB data store block, namely step S1 is performed, as not having, continue to wait for, as received, then performing step S2, searching the store byte of last write data according to state flag bit, and reading the data that this store byte stores, these data are Dout.The course of work of step S2 is identical with the datamation process reading DSB data store block.
Read after being finally written to the data Dout of DSB data store block, perform step S3, judge that whether data Dout is identical with the data Din needing to be written to DSB data store block, namely data comparison circuit 55 couples of data Dout and data Din carry out successive appraximation, as data Dout is identical with data Din, then do not perform the write operation of data, namely data Din is not written in store byte, as data Dout and data Din are not identical, then perform step S4.
In step S4, the data of Status Flag hyte 53 are read in shift register group 54 by DSB data store block, and shift register group 54 pairs of data carry out the displacement of.Such as, current store byte B0 stores data, and store byte B1 is not written into data, the data of status register group 53 be " 0111 ... ", through shift register group 54 be shifted after data be " 0011 ... "Like this, the state being actually the next store byte B1 of the store byte B0 by finally writing data changes.
Then, perform step S5, data are sent to address decoding circuitry 52 by multidiameter option switch 56 by shift register group 54, the store byte that address decoding circuitry 52 is current according to the data search of shift register group 54, and now, the store byte found is B1.Then, control module 42 exports write signal WR, write signal WR is one and continues tens delicate pulse signals, when write signal WR is high level, write signal WRn is also high level, and DSB data store block during this period of time will need the data Din of write to be written in the store byte B1 found in step S5.Finally, perform step S6, by the data of shift register group 54 write shift register group 53.Like this, the data of Status Flag hyte 54 be through shift register group 54 be shifted after data, namely the state of store byte B1 be modified after data.
Visible, after DSB data store block writes data into next store byte, the state of this store byte is changed, thus the store byte of mark last write data.Like this, when control module 42 reads the data of DSB data store block, accurately can find the store byte of last write data, and the data of this store byte are sent.
Consumable chip and method for writing data second embodiment thereof:
The consumable chip of the present embodiment has substrate, substrate is provided with communication module and electronic module, electronic module has interface unit, control module and storer, storer has read-only data memory block and read-write data storage area, read-write data storage area comprises multiple DSB data store block, each DSB data store block has store byte group, Status Flag hyte, shift register group, multidiameter option switch and data comparison circuit etc., said structure is identical with the first embodiment, repeats no more.
In the present embodiment, DSB data store block is for storing the data of number of print pages, and therefore, these data are monotonically increasing data, and these data are the data of a byte.See Figure 10, store byte group 51 has 256 store bytes, BB0, BB1 respectively ... BB255, and each store byte is written with predetermined data in advance, as store byte BB0 has been pre-written at relatively low cost data 00H, i.e. decimal number 0, store byte BB1 is pre-written at relatively low cost data 01H, the data that each store byte is pre-written at relatively low cost are all not identical, and monotone increasing, namely multiple store byte is written with all data of the change from 00H to FFH successively.
Status Flag hyte has multiple state flag bit, and each state flag bit is corresponding with a store byte, for storing the mark of corresponding store byte, as in Figure 10, state flag bit bb0 corresponds to store byte BB0, state flag bit bb1 and corresponds to store byte BB1, so analogizes.Each state flag bit all stores a bit, when a certain store byte and later store byte thereof are not all read data, the data that the state flag bit that this store byte is corresponding stores are " 1 ", when a certain store byte is read data, the data of the state flag bit that this store byte is corresponding are modified to " 0 ", and the data of state flag bit corresponding to all store bytes before this store byte are also all modified to " 0 ".Certainly, after initialization, the data of the state flag bit bb0 that first store byte BB0 is corresponding should be " 0 ", so that printer can read initial data from DSB data store block.
Such as, store byte BB3 is the store byte being finally read data, then the data of state flag bit bb0 to bb3 are " 0 ", and the later data of state flag bit bb4 are " 1 ".When control module needs to read the data of DSB data store block, the corresponding DSB data store block of gating, namely the gating signal WLn of this DSB data store block is high level, the data that address decoding circuitry is stored by Status Flag hyte, can find current store byte.In the present embodiment, the structure of address decoding circuitry is identical with the first embodiment, therefore, it is possible to find the store byte of last position of state flag bit corresponding to the state flag bit of " 0 ", and by the data reading of this store byte.Like this, when control module needs to read data, the data stored by Status Flag hyte, are promptly found the store byte being finally read data by address decoding circuitry.
The method for writing data of the present embodiment is described below in conjunction with Figure 11.First control module judges whether to receive the data needing to write read-write data storage area, namely step S11 is performed, as not having, continuing to wait for, as received data, performing step S12, current store byte is gone out according to the data search of Status Flag hyte, namely be finally read the store byte of data, the data as Status Flag hyte be " 001111 ... ", represent that current store byte is BB1.DSB data store block is by the data reading of store byte BB1.
Then, the data Din that the data Dout of reading and needs write is sent into data comparison circuit and compares by DSB data store block, data comparison circuit judges data Dout and data Din, judge that whether two data are identical, namely perform step S13, as identical, terminate write operation flow process, if not identical, then perform step S14.
In step S14, the data of Status Flag hyte are read in shift register group by DSB data store block, then step S15 is performed, data are carried out the dextroposition of one by shift register group, as by data " 001111 ... " displacement is revised as " 000111 ... ", then performing step S16, data are sent to address decoding circuitry by multidiameter option switch by shift register group, the store byte that address decoding circuitry is current according to the data search received, the store byte now found is BB2.Simultaneously, by the data reading of store byte BB2, perform step S17, again judge the data Dout that now reads and need data Din write whether identical, as identical, then execution step S18, the data of shift register group are written to Status Flag hyte, now, the data of state flag bit bb2 are modified to " 0 ", namely mark store byte BB2.Like this, when control module reads the data of DSB data store block again, read the data in store byte BB2.
In step S17, the data Din that the data Dout read as judged and needs write is not identical, then return and perform step S15, until the store byte that the data finding storage are identical with the data Din needing to write.
From above-mentioned scheme, the design of the present embodiment first in store byte group, stores predetermined data in multiple store byte, these predetermined data are all data of each numerical value that eight-digit binary number data can represent, namely all data from 00H to FFH, and these data in store byte group be monotone increasing store or monotone decreasing store.After initialization, only mark the store byte started most, i.e. store byte BB0.
When needing write data, read the data that current store byte stores, and compare with needing the data write, as identical, do not perform any operation, if not identical, then down search each store byte seriatim, and judge that the data which store byte stores are identical with the data needing to write, after the store byte that the data finding storage are identical with the data needing to write, marking this store byte, is namely " 0 " by the data modification of the state flag bit of all store bytes before this store byte and this store byte.Like this, when control module reads the data of DSB data store block, data can be read from the store byte be labeled.
From such scheme, no matter in the scheme that discloses of the first embodiment or the second embodiment, after control module receives the data needing write, DSB data store block do not need to perform erasing store byte store the operation of data, only by data write or the store byte searching coupling, so greatly reduce Data writing time, guarantee the high-speed communication between consumable chip and printer, avoid factor data cannot be written to the work affecting printer in time.
Print cartridge embodiment:
The present embodiment has a housing, and housing surrounds the cavity that is held ink, and be provided with the ink outlet port be communicated with cavity in the below of cavity, the ink in cavity flows out by ink outlet port.Further, an outer wall of housing is removably provided with one piece of consumable chip according to the above embodiment of the present invention.
Cartridge embodiment:
The present embodiment has housing, and housing surrounds the cavity holding carbon dust, and one end of cavity is provided with meal outlet.The outer wall of housing is removably installed one piece of consumable chip as above-described embodiment.
Certainly, above-described embodiment is only the present invention's preferably embodiment, more change can also be had during practical application, such as, in first embodiment, can not setting data comparator circuit, after DSB data store block receives data, data are not compared, directly the data of reception are written to next store byte; Or do not arrange multidiameter option switch, address decoding circuitry only reads the data of state flag bit group, after shift register group is shifted to data at every turn, data are write back Status Flag hyte; Or, shift register group is not set, but a data write circuit is set as address modification circuit, for carrying out write operation to the data of Status Flag hyte, the data of a state flag bit be revised as " 0 " from " 1 ", such change can realize object of the present invention equally at every turn.In addition, chip of the present invention can also be the chip being applied in other field.
In addition, in store byte group, the quantity of store byte can adjust according to actual service condition, such as some variable data, as print head cleaning number of times, its greatest measure tens times often, even if use these data of byte records, but these data are few by the number of times rewritten, and only can arrange tens store bytes and namely meet the needs used.Like this, the quantity of status register group also correspondingly reduces.
Finally it is emphasized that and the invention is not restricted to above-mentioned embodiment, as the change such as the change of address decoding circuitry, the change of data comparison circuit also should be included in the protection domain of the claims in the present invention.
Claims (6)
1. consumable chip, comprises
Substrate, the electronic module that described substrate is provided with communication module and is electrically connected with described communication module, the storer being provided with control module in described electronic module and can being accessed by described control module, described storer has read-only data memory block and read-write data storage area;
It is characterized in that:
Described read-write data storage area has at least one DSB data store block, DSB data store block described in each has the store byte of more than two and the state flag bit corresponding with store byte described in each, and described DSB data store block is also provided with the address decoding circuitry of searching described store byte according to described state flag bit, described DSB data store block is also provided with the address modification circuit of modifying to described state flag bit;
Described DSB data store block also comprises data comparison circuit, whether the data stored for data and the described store byte found according to described address decoding circuitry of outside write are identical, if not identical, received data be written to next store byte of found described store byte or read data that next store byte described stores and judge whether identical with the data of required write, until the store byte that the data finding storage are identical with the data of required write, and mark the described store byte found.
2. consumable chip according to claim 1, is characterized in that:
Described address modification circuit is shift register group.
3. consumable chip according to claim 1 and 2, is characterized in that:
Described DSB data store block also comprises multidiameter option switch, and described multidiameter option switch receives the data of described state flag bit or the data of described address modification circuit, and exports data to described address decoding circuitry.
4. consumable container, comprises
Housing, described housing surrounds the cavity holding consumptive material, described cavity lower end is provided with consumptive material outlet, and described housing is provided with consumable chip, described consumable chip is provided with substrate, the electronic module that described substrate is provided with communication module and is electrically connected with described communication module, the storer being provided with control module in described electronic module and can being accessed by described control module, described storer has read-only data memory block and read-write data storage area;
It is characterized in that:
Described read-write data storage area has at least one DSB data store block, DSB data store block described in each has the store byte of more than two and the state flag bit corresponding with store byte described in each, and described DSB data store block is also provided with the address decoding circuitry of searching described store byte according to described state flag bit, described DSB data store block is also provided with the address modification circuit of modifying to described state flag bit;
Described DSB data store block also comprises data comparison circuit, whether the data stored for data and the described store byte found according to described address decoding circuitry of outside write are identical, if not identical, received data be written to next store byte of found described store byte or read data that next store byte described stores and judge whether identical with the data of required write, until the store byte that the data finding storage are identical with the data of required write, and mark the described store byte found.
5. consumable container according to claim 4, is characterized in that:
Described DSB data store block also comprises multidiameter option switch, and described multidiameter option switch receives the data of described state flag bit or the data of described address modification circuit, and exports data to described address decoding circuitry.
6. the method for writing data of consumable chip, the substrate of this consumable chip is provided with electronic module, the storer of described electronic module has read-write data storage area, described read-write data storage area has at least one DSB data store block, DSB data store block described in each has the store byte of more than two and the state flag bit corresponding with store byte described in each, store byte described in each stores the data write in advance
The method comprises:
After described electronic module receives the data needing to write described DSB data store block, whether the data relatively needing the data of write and the described store byte of current reading to store are identical, if not identical, read data that next store byte stores and judge whether identical with the data of required write, until the store byte that the data finding storage are identical with the data of required write, and mark the described store byte found.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210297889.5A CN102831930B (en) | 2012-08-20 | 2012-08-20 | Consumable chip, consumable container and data writing method for the consumable chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210297889.5A CN102831930B (en) | 2012-08-20 | 2012-08-20 | Consumable chip, consumable container and data writing method for the consumable chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102831930A CN102831930A (en) | 2012-12-19 |
CN102831930B true CN102831930B (en) | 2015-02-25 |
Family
ID=47335023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210297889.5A Active CN102831930B (en) | 2012-08-20 | 2012-08-20 | Consumable chip, consumable container and data writing method for the consumable chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102831930B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105818541B (en) * | 2016-04-07 | 2018-10-16 | 杭州旗捷科技有限公司 | A kind of ink box chip, print cartridge and the operating method for responding print job |
CN107301744A (en) * | 2017-08-07 | 2017-10-27 | 深圳怡化电脑股份有限公司 | The information statistical device and method of a kind of finance device |
CN113222807B (en) * | 2021-05-22 | 2023-12-19 | 上海阵量智能科技有限公司 | Data memory, data storage method, data reading method, chip and computer equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5453763A (en) * | 1990-02-02 | 1995-09-26 | Nintendo Co., Ltd. | Still picture display apparatus and external memory cartridge used therefor |
CN102166886B (en) * | 2011-05-05 | 2013-04-24 | 珠海天威技术开发有限公司 | Consumable chip, data read-write method thereof and consumable container |
CN102509557B (en) * | 2011-11-04 | 2014-10-15 | 珠海天威技术开发有限公司 | Method, device and chip for data erasing and writing control on electrically erasable and programmable read-only memory, and data writing method and consumable container for such memory |
-
2012
- 2012-08-20 CN CN201210297889.5A patent/CN102831930B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102831930A (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103660583B (en) | Consumable chip data rewriting device and method of work thereof | |
CN101362401B (en) | Ink box chip and read-write method of changeable information | |
CN106956516B (en) | A kind of sequence number memory can remove consumable chip, consumptive material, system and application method | |
CN102166886B (en) | Consumable chip, data read-write method thereof and consumable container | |
CN100540316C (en) | Liquid consuming device and liquid-consumed buret reason devices and methods therefor | |
CA2578128A1 (en) | Ink cartridge and printer using the same | |
CN101138906B (en) | Universal chip and communication data updating method | |
CN102381036B (en) | Consumable chip, consumable container and data writing method for consumable chip | |
EP3415326B1 (en) | Ink cartridge chip, ink cartridge and operation method for responding to printing work | |
CN103072380A (en) | Ink box regeneration control chip and using method thereof | |
CN102529391B (en) | Storage apparatus, host apparatus, circuit board, liquid container, and system | |
EP1476309A1 (en) | An intelligent ink cartridge and method for manufacturing the same | |
CN102831930B (en) | Consumable chip, consumable container and data writing method for the consumable chip | |
CN102189807A (en) | Memory device, board, liquid container, host device, and system | |
CN103722893B (en) | Consumable chip and method of work, consumable container | |
CN104275939B (en) | Consumable chip and method for writing data, consumable container | |
CN102394111A (en) | Method for testing consumable chip | |
CN104417071B (en) | Memory group, imaging cartridge and the method for changing box chip | |
CN101204884A (en) | Chip, ink stone and manufacture method of ink stone | |
CN203438670U (en) | Ink box regeneration control chip | |
US9662897B2 (en) | Addressing for a memory device used in an image recording apparatus | |
CN108422754B (en) | Consumable chip data switching method and device and consumable chip | |
CN102509557B (en) | Method, device and chip for data erasing and writing control on electrically erasable and programmable read-only memory, and data writing method and consumable container for such memory | |
CN204820678U (en) | Consumable chip and consumable vessel | |
CN102737712A (en) | Material-consumption chip, data reading-writing method of material-consumption chip, and material consumption container |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |