A kind of chip and print cartridgeTechnical field
The present invention relates to printing technical field of imaging, more particularly to a kind of chip and print cartridge for reading and writing rewritable data.
Background technology
Tape deck, such as printer, duplicator and facsimile machine, for the information for needing to record to be remembered by ink etc.Record material recorded in the recording mediums such as paper.Tape deck generally includes tape deck main body and print cartridge.Print cartridge is generally with canReleasably mode is arranged on tape deck, and is configured with the ink amount number such as consumption or surplus for marking print cartridge ink insideIt is believed that the chip of breath.The chip generally with removably mode be arranged on print cartridge on, and in be equipped with memory element, to storeThe rewritable data such as the consumption or surplus of ink, and other read-only datas related to print cartridge.When print cartridge is installed to recordWhen on device, the chip on print cartridge can be set up with tape deck to be electrically connected, and carries out data exchange with tape deck.
, it is necessary to the ink described in chip after tape deck performs the operation of consumption ink such as printingThe ink amount data such as consumption or surplus are updated.At present, new ink amount data are generally being write core by existing tape deckDuring piece, more new task is completed in the way of original ink amount historical data to cover in chip-stored element.This data updateThe drawbacks of mode has certain.If during tape deck and chip enter row data communication, because transmission signal is dryDisturb or chip and tape deck loose contact and cause the new ink amount data of transmission mistake occur, cause chip to be receivedInk amount data deviate from transmitted by tape deck ink amount data, then complete more new task after, in chip-stored elementThe ink amount data of mistake will be stored, and correct ink amount historical data can not be reverted to.
The content of the invention
In order to solve to cause correct ink amount historical data can not be extensive after the ink amount data of write error in the prior artMultiple technical problem, the present invention proposes a kind of new chip and print cartridge.
A kind of chip, it is characterised in that including:
Communication module, receives and sends data for the chip;
Memory module, it includes rewritable data storage area, and each rewritable data storage area includes at least twoMemory cell, and each rewritable data storage area stores a kind of rewritable data;
Writing controller, it is connected between the communication module and memory module, for when the communication module is received canDuring rewrite data, the rewritable data are write to the storage list in the rewritable data storage area with the last time write-inIn a different memory cell of member;
Read Controller, it is connected between the memory module and communication module, for by the rewritable data storageThe rewritable data read-out of specified conditions is met in area, so that the communication module is sent.
Embodiments in accordance with the present invention, the storage list that above-mentioned writing controller can be into rewritable data storage area described in oneMember writes rewritable data in turn.
According to another embodiment of the present invention, above-mentioned writing controller can from rewritable data storage area described in one with mostA memory cell is randomly selected in the different memory cell of the memory cell of nearly write-once, rewritable data are written to.
Embodiments in accordance with the present invention, it is single that above-mentioned Read Controller reads all storages in rewritable data storage area described in oneRewritable data in member, are compared, and the rewritable data that its intermediate value is maximum or value is minimum are sent into the communication module.
Embodiments in accordance with the present invention, above-mentioned rewritable data include the body of data to be write and corresponding writeNumber of times identification information, the number of times identification information of writing is used to identify the priority time that the body of data writes the memory cellSequence.
Embodiments in accordance with the present invention, it is single that above-mentioned writing controller compares all storages in rewritable data storage area described in oneRewritable data write number of times identification information in member, and described thereto to write the minimum memory cell write-in of number of times identification information value newRewritable data.
Embodiments in accordance with the present invention, it is single that above-mentioned Read Controller compares all storages in rewritable data storage area described in oneRewritable data write number of times identification information in member, and the rewritable data for the memory cell that will wherein meet given sequence conditions are readGo out, be sent to the communication module.
Wherein, the memory cell for meeting given sequence conditions can include:
The memory cell of the rewritable data of the last time write-in, or write the storage list of rewritable data for second from the bottom timeMember.
A kind of embodiments in accordance with the present invention, above-mentioned rewritable data can include:
An a type of rewritable data, or same type of two or more rewritable data, orThe a type of rewritable data of person and its associated auxiliary information.
In addition, the present invention also provides a kind of print cartridge, it is characterised in that be provided with said chip, the chip-stored thereonIt is stored with module and characterizes the rewritable data of this print cartridge exhausted amount of ink or surplus.
Compared with prior art, one or more embodiments of the invention has the following advantages that:
The technical scheme that the embodiment of the present invention is provided can be in rewritable data such as chip write-in ink amount data, by writingRewritable data are written in another memory cell different from the memory cell of the last time write-in by controller control, fromAnd it is able to ensure that the rewritable data preserved in the memory module of chip twice recently.On the other hand, read by Read ControllerAnd the rewritable data in relatively more all memory cell, the rewritable data of printer specified conditions will be met, changed Ru allThe maximum rewritable data of data intermediate value, or the second from the bottom rewritable data write are write, is sent to and beaten by communication modulePrint machine.Therefore, after the ink amount data of mistake are write into a certain memory cell of chip, other memory cell of chip are still protectedThere is the correct black amount historical data of the last write-in, and correct ink can be read by Read Controller and measure data,Printer is sent to, so that printer is correctly assessed the ink amount of chip, and then recovers the normal work of chip.
Other features and advantages of the present invention will be illustrated in the following description, and partly becomes from specificationIt is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by wanting in specification, rightStructure specifically noted in book and accompanying drawing is asked to realize and obtain.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present inventionApply example to be provided commonly for explaining the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the structural representation for the print cartridge that the embodiment of the present invention is provided;
Fig. 2 is the structural representation for the chip that the embodiment of the present invention is provided;
Fig. 3 is the storage organization schematic diagram of the memory module for the chip that the embodiment of the present invention one is provided;
Fig. 4 is the data structure schematic diagram in the memory cell that the embodiment of the present invention one is provided;
Fig. 5 is the storage organization schematic diagram of the memory module for the chip that the embodiment of the present invention two is provided;
Fig. 6 is another data structure schematic diagram in the memory cell that the embodiment of the present invention one is provided.
Embodiment
Technical scheme is described in detail with reference to the accompanying drawings and examples.Those skilled in the artIt should be appreciated that in order to simplify description process and technical scheme is clearly presented, below only with ink-jet printerAnd illustrated exemplified by print cartridge, but the description of the scheme of embodiment is equally applicable to other types of tape deck and correspondingRecording materials accommodate container.
Embodiment one
The structural representation for the print cartridge that Fig. 1 is provided by the embodiment of the present invention.As shown in figure 1, print cartridge 1 includes:Print cartridge masterBody 11, the ink for storage print;On ink supply 12, the bottom wall for being generally formed in toner cartridge main body 11, and when print cartridge 1It is connected after loading ink-jet printer with the ink tube of ink-jet printer, so that the ink in toner cartridge main body 11 is delivered into ink-jetThe printhead of printer;On chip 2, the outer wall for being removably disposed in toner cartridge main body 11, it loads ink-jet printer in print cartridge 1The corresponding contact mechanism with inkjet printing pusher side sets up electrical connection afterwards, and row data communication is entered with ink-jet printer.
The structural representation for the chip that Fig. 2 is provided by the embodiment of the present invention.As shown in Fig. 2 chip 2 includes:Communicate mouldBlock 210, memory module 220, writing controller 230 and Read Controller 240.Each module is described in detail respectively below.
Communication module 210 connects writing controller 230 and Read Controller 240 respectively, is responsible for the number of chip and ink-jet printerAccording to communication.It is many that communication module 210 can be in contact comprising the contact mechanism for keeping chip corresponding with inkjet printing pusher sideIndividual terminal, and each terminal of control circuit corresponding with inkjet printing pusher side carry out signal exchange to transmit the control electricity of dataRoad, the signal analysis such as carried out data transmission using IIC host-host protocols and control circuit, with the transmission for the data for completing chipAnd receive capabilities.
Communication module 210 can also carry out radio communication comprising holding chip circuit corresponding with inkjet printing pusher sideWireless communication signals R-T unit, and the control circuit that control wireless communication signals are received and dispatched, such as utilize Wi-Fi radio communication moldsBlock or NFC near-field communication modules, to complete sending and receiving for data with ink-jet printer.
Memory module 220 connects writing controller 230 and Read Controller 240 respectively, is responsible for the storage data related to print cartridgeInformation.These data messages include the rewritable data such as ink amount data, and the read-only data such as the print cartridge date of manufacture.Memory module 220 can use common nonvolatile memory, such as EEPROM, FLASH, ferroelectric memory.
It should be noted that above-mentioned rewritable data are the write-in data that ink-jet printer is sent to chip, one can be enteredIt is divided into different types to step:The data of Write-once, only rewrite data once and the data that can repeatedly rewrite.For example it is firstSecondary installed date etc. belongs to the data of Write-once, lacks ink prompt message etc. and belongs to the data only rewritten once, and ink amount numberAccording to etc. belong to the data that can repeatedly rewrite.
In addition, in the present invention, rewritable data storage area is included in memory module 220, each rewritable data is depositedStorage area includes at least two memory cell.Each rewritable data storage area stores a kind of rewritable data, and eachMemory cell in rewritable data storage area independently of one another, is independent of each other, can individually, intactly complete once correspondingThe store tasks of rewritable data.
A rewritable data storage area in the memory module for the chip that Fig. 3 is provided by the embodiment of the present invention one is depositedStorage structure schematic diagram.In this embodiment, memory module 220 contains the rewritable data for being used to deposit ink reservoir volume data and depositedStorage area 300, it includes two memory cell:First memory cell 310 and the second memory cell 320.In addition, memory module 220Other data storage areas 400 are further comprises, for storing the read-only data such as the print cartridge date of manufacture.Specifically, such as Fig. 4 institutesShow, be stored with complete ink amount data 311 in rewritable form in the first memory cell 310, in the second memory cell 320 withThe ink amount data 321 that rewritable form is stored with complete.And the value of ink amount data 311 and ink amount data 321 is each otherIt is independent, it will not influence each other.
Writing controller 230 is connected between communication module 210 and memory module 220, for performing write operation, and being responsible for willThe write-in data that communication module 210 is received are written in memory module 220.Wherein, when communication module 210 receive it is rewritableDuring data, writing controller 230 writes rewritable data in a memory cell in one rewritable data storage area.In this realityApply in example, writing controller 230 is when performing ink amount data write operation, first into rewritable data storage area 300 in turnThe memory cell 320 of memory cell 310 and second writes ink amount data.Specifically, writing controller 230 can set register andMemory cell identification position, for example, can be represented to write the first memory cell 310 during last execution write operation, with " 1 " with " 0 "Represent to write the second memory cell 320 during last execution write operation.When performing write operation, the ink that will be write firstMeasure in data Cun Chudao registers, read memory cell identification position, it is determined that last perform the storage list write during write operationMember, different another of the memory cell that is write when the ink amount data write-in that then will be write again is with last execution write operationIn individual memory cell, this write operation is completed.
Read Controller 240 is connected between memory module 220 and communication module 210, for performing read operation, and being responsible for willThe data read-out that is stored in memory module 220 is simultaneously sent to communication module 210.Wherein, Read Controller 240 is performing rewritable numberDuring according to read operation, the rewritable data read-out in all memory cell in a rewritable data storage area is compared, andThe rewritable data for meeting specified conditions are sent to communication module 210.Specifically, Read Controller 240 can set multiple postStorage and a comparator, the rewritable data of specified conditions are met for screening.In the present embodiment, Read Controller 240 existsWhen performing ink amount data read-out operation, by the ink amount data in the first memory cell 310 in rewritable data storage area 300311 and the second ink amount data 321 in memory cell 320 take out be put into the first register and the second register respectively, then borrowHelp comparator to compare in the two registers the size of ink amount data, using wherein larger ink amount data as the condition that meets canRewrite data, is sent to communication module 210, completes this read operation.Certainly, the specified conditions according to setting, can also be byWherein less ink amount data are sent to communication module 210 as the rewritable data for the condition that meets.
In the present embodiment, rewritable data storage area contains two memory cell.When communication module receives recordDuring the new rewritable data that device is transmitted, writing controller by this rewritable data be written in rewritable data storage area with mostIn the different memory cell of the memory cell of nearly write-once, namely to two memory cell rewritable data are write in turn, fromAnd ensure to preserve rewritable data twice recently in the memory module of chip.When needs read rewritable data from chipWhen, Read Controller reads the rewritable data in all memory cell in rewritable data storage area, and is compared, and will meetThe rewritable data of ink-jet printer specified conditions are sent to ink-jet printer by communication module.When rewritable data are measured for inkDuring data, ink amount data twice recently are preserved in the memory module of chip, so it is possible to prevente effectively from the prior art willThe ink amount data write-in chip of mistake, covers the skill for leading to not recover correct ink amount historical data after ink amount historical dataArt problem.
Certainly, embodiment one only discloses one embodiment of the present invention.On the basis of the embodiment, can also haveMany versions below.
Embodiment two
A rewritable data storage area in the memory module for the chip that Fig. 5 is provided by the embodiment of the present invention two is depositedStorage structure schematic diagram.In the present embodiment, memory module 220 contains the rewritable data for being used to deposit ink reservoir volume data and depositedStorage area 500, it comprises more than two memory cell.For convenience, three memory cell are only shown in figure:First storageUnit 510, the second memory cell 520 and the 3rd memory cell 530.In addition, memory module 220 further comprises other data storagesArea 400, for storing the read-only data such as the print cartridge date of manufacture.It is identical with embodiment one, in rewritable data storage area 500Each memory cell be used for depositing ink reservoir volume data, and each memory cell can individually, intactly complete once blackMeasure the storage of data.
In the present embodiment, when writing controller 230 performs ink amount data write operation, similar embodiment one can be usedMode, mark storages all in rewritable data storage area 500 by the memory cell identification position of such as " 00 " formUnit, ink amount data are write to these memory cell in turn.Or use another way, i.e. from different from the last timeA memory cell is randomly selected in other memory cell of the memory cell of write-in ink amount data, newest ink amount is written toData., only need to be by a last storage for writing ink amount data of memory cell identification position mark for latter approachUnit, then randomly selects a memory cell from other memory cell, for example, choose adjacent with labeled memory cellNext memory cell, be written to ink amount data.
, can when Read Controller 240 performs ink amount data read-out operation, it would however also be possible to employ the mode of similar embodiment oneInk amount data in rewrite data memory block 500 in all memory cell read in register, by comparator in registerThe value of all ink amount data is compared, and will be met the rewritable data of ink-jet printer specified conditions, for example, is worth the ink of maximumData are measured, communication module 210 is sent to.Certainly, according to ink-jet printer specified conditions, minimum ink amount data will can also be worthAs the rewritable data for meeting ink-jet printer specified conditions, communication module 210 is sent to.
Certainly, rewritable data storage area described in the present embodiment or the other species of storage or type changeWrite the rewritable data storage area of data.
Embodiment three
Another data structure schematic diagram in the memory cell that Fig. 6 is provided by the embodiment of the present invention one.In this implementationIn example, store complete ink amount data in rewritable form in each memory cell and write number of times identification information.Wherein,Write number of times identification information corresponding with ink amount data, precedence when being write for recording ink amount data.Herein still with firstIllustrated exemplified by the memory cell 320 of memory cell 310 and second.Wherein, the first memory cell 310 stores the last time and writeThe ink amount data 311 entered, number of times identification information 312 of writing corresponding with ink amount data 311 is 50, when to the second memory cell 320After the new ink amount data 321 of write-in, number of times identification information 322 of writing corresponding with ink amount data 321 is updated to 51.Namely twoWhat memory cell was stored writes the precedence that number of times identification information show respectively two ink amount data write-ins.
In summary, when being stored with rewritable data in memory cell simultaneously and writing number of times identification information, writing controller230 perform write operation, can be identified by the number of times of writing in each memory cell in relatively more rewritable data storage area 300Information, it is determined that the memory cell of the last rewritable data of write-in, and the rewritable data that will be write are written to and are different fromIn other memory cell of the memory cell of the rewritable data of the last time write-in, for example, write the value minimum of number of times identification informationIn memory cell.
Similarly, when being stored with rewritable data in memory cell simultaneously and writing number of times identification information, Read Controller 240 is heldDuring row read operation, it can read in rewritable data storage area 300 and write number of times identification information in all memory cell, therefromIt is determined that meet given sequence conditions, such as the memory cell of the last or second from the bottom rewritable data of write-in, by itIn rewritable data be sent to communication module 210.
What three above embodiment was mainly introduced is that ink-jet printer writes or read a kind of rewritable data to chipSituation, remote not limited to this in real work, ink-jet printer can to chip simultaneously write or simultaneously read two kinds or twoRewritable data more than kind.
Example IV
For needing to chip while writing the situation of two or more rewritable data, for example write-in ink is measured simultaneouslyMultiple rewritable data storage areas can be included in data and the situation for lacking black prompt message, the memory module of chip.EachRewritable data storage area is used to store a kind of rewritable data.Each rewritable data storage area can be such as Fig. 3 or Fig. 5Shown storage organization.
A kind of rewritable data described in the present embodiment, can be a rewritable data of a certain type, such as ink amount numberAccording to or belong to same type of two or more rewritable data, such as ink amount data code data storage andInk amount data radix-minus-one complement data storage, or or a certain type rewritable data and its associated auxiliary information, shouldAuxiliary information can also be written over, such as ink amount data and with the ink amount data it is corresponding write number of times identification information.
Exemplified by writing ink amount data simultaneously to chip and lack black prompt message.Wherein, ink amount data belong to and can repeatedly changedThe data write, lack ink prompt message only can just be written over when ink amount exhausts, and belong to the data only rewritten once.Correspondingly,Memory module 220 is needed comprising two rewritable data storage areas:
First rewritable data storage area is used for depositing ink reservoir volume data, and can be as shown in Fig. 3 or Fig. 5 include twoIndividual or more than two memory cell;
Second rewritable data storage area, which is used for storing, lacks black prompt message, and can as shown in Figure 3 include twoIndividual memory cell.
For first group of rewritable data storage area, writing controller 230 and Read Controller 240 are in the method described in embodimentPerform write operation and read operation;
For second rewritable data storage area, writing controller 230 writes scarce black prompt message when performing write operationEnter does not have in the memory cell of storage information in two memory cell, and Read Controller 240 compares the value in two memory cell, willThe value for meeting specified conditions is sent to communication module 210.
It will be recognized by one of ordinary skill in the art that the chip in the embodiment of the present invention is not limited to aforementioned four comprising modules,It, which can also include others, can equally realize communication, the functional module of write-in and reading and storage.For example with read-write controlUnit processed replaces writing controller and Read Controller, as long as can realize that a rewritable memory block stores a kind of rewritable data,Same memory cell discontinuously writes rewritable data twice, and by comparing the rewritable data in memory cellCompared with output meets the technical thought that the rewritable data of specified conditions this technical thoughts belongs to the present invention.
It will be recognized by one of ordinary skill in the art that the memory module in the embodiment of the present invention can be a memory elementA part, can also be combined by multiple memory elements and formed, and each memory cell storage size both can with identical orCan be different, it can realize the purpose of the present invention.
It will be recognized by one of ordinary skill in the art that the writing controller, Read Controller in the embodiment of the present invention are not limited to the aboveDescribed composition structure, as long as by feasible circuit structure, realizing that writing controller controls same memory cell discontinuous twiceGround writes rewritable data, and Read Controller control is compared to the rewritable data in memory cell, and output meets specialThe rewritable data of fixed condition, can realize the purpose of the present invention.
It will be recognized by one of ordinary skill in the art that the rewritable data in the embodiment of the present invention are not limited to a type, can, can be by of the present invention to be the data of Write-once, only rewrite data once and the data that can repeatedly rewriteStorage organization and corresponding write-in and playback mode solve to cause after the data of write error correct historical data withoutThe technical problem that method is recovered.
In addition, present invention also offers a kind of print cartridge, being provided with said chip, the chip-stored module and storing thereonThere are the rewritable data for characterizing this print cartridge exhausted amount of ink or surplus.
The embodiment of the present invention additionally provides a kind of tape deck, and it can be printed as picture with above-mentioned print cartridge cooperating.
Obviously, the technical scheme provided using the embodiment of the present invention, can be when writing rewritable data, by writing controlDevice controls the rewritable data to be written in the other memory cell differed with the memory cell of the last write-in, so that reallyRewritable data twice recently are preserved in the memory module for having protected chip, Read Controller is by reading and comparing all storagesIn rewritable data in unit, and the rewritable data that ink-jet printer specified conditions will be met, such as all rewritable dataIt is worth maximum rewritable data, or the second from the bottom rewritable data write, ink-jet printer is sent to by communication module.When rewritable data is ink amount data, ink amount data twice recently are preserved in the memory module of chip, can effectively be kept awayExempt from the ink amount data write-in chip of mistake in the prior art, lead to not recover correct ink after covering ink amount historical dataMeasure the technical problem of historical data.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extentThe present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according toThe technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are enteredRow equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technologyThe scope of scheme.