CN111016465B - Chip and imaging box - Google Patents

Chip and imaging box Download PDF

Info

Publication number
CN111016465B
CN111016465B CN201911348195.8A CN201911348195A CN111016465B CN 111016465 B CN111016465 B CN 111016465B CN 201911348195 A CN201911348195 A CN 201911348195A CN 111016465 B CN111016465 B CN 111016465B
Authority
CN
China
Prior art keywords
data
rewritable data
rewritable
storage
storage unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911348195.8A
Other languages
Chinese (zh)
Other versions
CN111016465A (en
Inventor
李桂萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jihai Microelectronics Co ltd
Original Assignee
Apex Microelectronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apex Microelectronics Co Ltd filed Critical Apex Microelectronics Co Ltd
Priority to CN201911348195.8A priority Critical patent/CN111016465B/en
Publication of CN111016465A publication Critical patent/CN111016465A/en
Application granted granted Critical
Publication of CN111016465B publication Critical patent/CN111016465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Abstract

The application relates to the technical field of printing and imaging, in particular to a chip and an imaging box. The chip can be disposed on an imaging cartridge, comprising: a communication module configured to receive and transmit data with a printer; the storage module is provided with at least one rewritable data storage area, each rewritable data storage area comprises at least two storage units, and each storage unit is used for storing rewritable data; and the write controller is respectively connected with the communication module and the storage module, and is configured to compare the data values of the rewritable data stored in at least two storage units in the rewritable data storage area, select a storage unit meeting the write-in condition according to the comparison result, and the selected storage unit is used for writing the rewritable data transmitted by the communication module. Therefore, the problem that correct historical ink amount data in a storage unit cannot be recovered after being covered when the number of times of continuously writing error data is larger than the number of storage areas in the prior art is solved.

Description

Chip and imaging box
Technical Field
The application relates to the technical field of printing and imaging, in particular to a chip and an imaging box.
Background
Recording apparatuses, such as printers, copiers, and facsimile machines, are configured to record information to be recorded on a recording medium such as paper with a recording material such as ink. The recording apparatus generally includes a recording apparatus main body and an ink cartridge. The ink cartridge is generally detachably mounted on a recording apparatus, and is provided with a chip configured to mark ink amount data information such as a consumption amount or a remaining amount of ink in the ink cartridge. The chip is usually mounted in a removable manner on the cartridge and a memory element is provided in the chip to store rewritable data such as the consumption or the remaining amount of ink, and other read-only data relating to the cartridge. When the ink cartridge is mounted to the recording device, the chip on the ink cartridge is electrically connected to the recording device and exchanges data with the recording device.
After the recording apparatus performs an operation of consuming ink such as printing, it is necessary to update ink amount data such as the amount of consumption or the remaining amount of ink described in the chip. Currently, existing recording devices typically perform the task of updating in a manner that overrides the original ink level history data in the memory elements of the chip when new ink level data is written to the chip. Patent CN101189682B discloses a method for writing ink margin data into a chip, which compares the margin to be written with the written margin stored in the ink volume storage address of the chip, and if the written margin is smaller than the written margin, writes the written margin into the ink volume storage address and covers the written margin, otherwise, the printer reports an error and cannot work normally, which has a certain disadvantage. Because the ink volume expansion caused by the environment changes such as ink adding, temperature, humidity and the like manually by a user causes the residual amount of the ink detected by the printer to be increased compared with the residual amount of the stored ink, the residual amount data cannot be written into the chip, and the printer cannot work normally, so that inconvenience is brought to the use of the user.
Patent CN104134453A discloses a technical solution of setting a storage area for storing ink amount data as two data storage units, which can solve the drawbacks of patent CN101189682B, and determine a storage unit written in the last write operation by storing identification information, and then write the ink amount data to be written into another storage unit different from the storage unit written in the last write operation, so that the storage module of the chip stores the ink amount data of the last two times. However, the technical scheme has the following defects: because the memory cells of the chip are set to write data in turn, if the data transmitted by the recording device are continuously wrong, and the number of times of writing wrong data is larger than the number of the memory areas, the correct historical ink amount data in the memory cells can be covered and cannot be recovered, and the data error is larger and larger.
Disclosure of Invention
The application provides a chip and an imaging box, which are used for solving the problems that when the number of times of continuously writing error data is greater than the number of storage areas in the prior art, correct historical ink amount data in a storage unit can not be recovered by covering, and data errors are larger and larger.
In a first aspect, an embodiment of the present application provides a chip, including:
a communication module configured to receive and transmit data with a printer;
the storage module is provided with at least one rewritable data storage area, each rewritable data storage area comprises at least two storage units, and each storage unit is used for storing rewritable data;
and the write controller is respectively connected with the communication module and the storage module, and is configured to compare data values of the rewritable data stored in at least two storage units in the rewritable data storage area, select a storage unit meeting a write-in condition according to a comparison result, wherein the selected storage unit is used for writing the rewritable data transmitted by the communication module.
In one possible design, the rewritable data represents a remaining amount of consumables in the imaging cartridge or represents a consumption amount of consumables in the imaging cartridge.
In one possible design, when the rewritable data is the remaining amount, the write controller compares the selected storage unit having the largest stored data value with the storage unit having the largest stored data value, the selected storage unit being used to write the remaining amount sent by the communication module;
when the rewritable data is the consumption amount, the write controller may compare the selected storage unit having the smallest stored data value with the consumption amount transmitted from the communication module.
In one possible design, further comprising:
and the reading controller is respectively connected with the communication module and the storage module, and is configured to select a storage unit meeting a reading condition from a plurality of storage units in the rewritable data storage area, so as to read and send the rewritable data in the selected storage unit to the communication module.
In one possible design, the read condition is that the read order of the memory cells is satisfied, and the read controller alternately reads data stored in the memory cells by way of at least two of the memory cells being marked.
In one possible design, the read condition is that the read memory cell is selected by the read controller comparing the size of the data value stored in the memory cell;
when the rewritable data is the residual quantity, the reading controller selects the storage unit with the minimum storage data value through comparison, and sends the residual quantity data in the storage unit to the communication module;
when the rewritable data is the consumption amount, the reading controller compares the storage unit with the maximum storage data value to send the remaining amount data in the storage unit to the communication module.
In one possible design, the writing controller selects a corresponding rewritable data storage area according to instruction information of the printer, compares data values of rewritable data stored in at least two storage units in the corresponding rewritable data storage area, selects the storage unit satisfying a writing condition, and writes received rewritable data of the printer into the selected storage unit.
In one possible design, the write controller buffers the rewritable data sent by the communication module and analyzes the type of the rewritable data, selects a corresponding rewritable data storage area according to the analysis result, compares the data values of the rewritable data stored in at least two storage units in the corresponding rewritable data storage area, selects the storage unit meeting the write condition, and writes the rewritable data sent by the printer in the buffer.
In one possible design, when data needs to be written into a plurality of the rewritable data storage areas, the write controller simultaneously compares data values of data stored in at least two of the memory cells in each of the rewritable data storage areas, selects the memory cell satisfying a write condition in each of the rewritable data storage areas, and writes rewritable data;
or, the write controller selects one of the rewritable data storage areas first, compares data values of data stored in at least two of the storage units in the rewritable data storage area, selects the storage unit satisfying a write condition and writes rewritable data, and then selects the next rewritable data storage area to perform the same operation as the previous rewritable data storage area until the operation of writing the rewritable data is completed in a plurality of the rewritable data areas.
In a second aspect, embodiments of the present application provide an imaging cartridge, which is mounted with a chip as described above.
It can be seen that in the above aspects, the present application compares the data values of the rewritable data stored in each of the at least one rewritable data storage area by the write controller, selects a storage unit satisfying the write condition according to the comparison result, and receives the rewritable data transmitted by the communication module. Therefore, even if the rewritable data sent by the communication module continuously generates errors, the rewritable data only continuously covers the error data in the same storage unit, and the correct data which is written last time and is stored in another storage unit is not influenced, so that the problems that in the prior art, when the number of times of continuously writing the error data is larger than the number of storage areas, the correct historical ink amount data in the storage units can not be recovered by covering, and the data errors are larger and larger are solved.
Drawings
FIG. 1 is a schematic view of an ink cartridge according to an embodiment of the present disclosure;
fig. 2 is a communication diagram of a chip provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a memory structure of a memory module of a chip according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a data structure in a memory cell according to an embodiment of the present application;
fig. 5 is a schematic communication diagram illustrating a communication module in a chip writing data into a memory module according to an embodiment of the present application;
fig. 6 is a schematic communication diagram illustrating that a memory module in a chip reads data out of a communication module according to a second embodiment of the present application;
fig. 7 is a schematic diagram of a memory structure of a memory module of a chip according to a third embodiment of the present application;
fig. 8 is a schematic diagram of a data structure in a memory cell according to a fourth embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not to be construed as limiting the present application.
In the description of the embodiments of the present application, unless explicitly stated or limited otherwise, the terms "first", "second", and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless specified or indicated otherwise; the terms "connected," "fixed," and the like are to be construed broadly and may, for example, be fixedly connected, detachably connected, integrally connected, or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it should be understood that the terms "upper" and "lower" used in the description of the embodiments of the present application are used in a descriptive sense only and not for purposes of limitation. In addition, in this context, it will also be understood that when an element is referred to as being "on" or "under" another element, it can be directly on "or" under "the other element or be indirectly on" or "under" the other element via an intermediate element.
In order to simplify the description process and to make the technical solution of the present invention clearly appear, the following description will be made only by taking an inkjet printer and an ink cartridge as examples, but the solution description of the embodiments is equally applicable to other types of recording apparatuses and corresponding recording material accommodating containers.
Example one
As shown in fig. 1, it is a schematic structural diagram of an ink cartridge provided in the embodiments of the present application. The ink cartridge 1 includes a cartridge main body 11 configured to store ink for printing, and an ink supply portion 12 generally formed on a bottom wall of the cartridge main body 11 and connected to an ink supply tube of an ink jet printer after the ink cartridge 1 is loaded in the ink jet printer, so as to supply the ink in the cartridge main body 11 to a print head of the ink jet printer. The ink cartridge 1 is detachably mounted in an ink-jet printer for printing, the ink cartridge 1 is provided with a chip 2, for example, the chip 2 can be mounted on an outer wall of the main body of the ink cartridge 1, and the chip 2 stores all relevant information of the ink cartridge 1. The chip 2 has a plurality of exposed connection terminals configured to make electrical contact with contact pins of a container mount of an ink jet printer to complete communication between the ink jet printer and the chip 2.
Fig. 2 is a schematic communication diagram of a chip according to an embodiment of the present disclosure. The chip 2 includes: a communication module 21, a storage module 22, a write controller 23, and a read controller 24. Each module is described in detail below.
The communication module 21 is connected to the read controller 22 and the write controller 23, respectively, and is configured to receive and transmit data with the printer. The communication module 21 may include a plurality of connection terminals for holding the chip 2 in contact with corresponding contact pins on the inkjet printer side, and a control circuit for controlling each connection terminal to exchange signals with a corresponding circuit on the inkjet printer side to transmit data, such as a signal analysis and control circuit for data transmission using a transmission protocol such as IIC, to perform a function of transmitting and receiving data of the chip. The communication module 21 may further include a wireless communication signal transceiver for holding the chip 2 in wireless communication with a corresponding circuit on the side of the inkjet printer, and a control circuit for controlling the wireless communication signal transceiver, such as a Wi-Fi wireless communication module or an NFC near field communication module, to complete data transmission and reception with the inkjet printer.
The storage module 22 is connected with the read controller 22 and the write controller 23 respectively and is configured to store data information related to the ink cartridge 1. These data information include read-only information including, for example, the date of manufacture of the ink cartridge 1, serial number information of the ink cartridge 1, ID verification information of the ink cartridge, and the like, and rewritable information; the rewritable information is classified into data that can be rewritten once, and data that can be rewritten many times, for example, data that can be rewritten once such as the date of first installation, data that can be rewritten once such as the ink shortage notification information, and data that can be rewritten many times such as the ink amount data. The memory module 22 may be a nonvolatile memory such as EEPROM, FLASH, ferroelectric memory, etc.
The storage module 22 has at least one rewritable data storage area 300, each rewritable data storage area 300 includes at least two storage units, each rewritable data storage area 300 stores rewritable data, and the storage units in each rewritable data storage area 300 are independent of each other and do not affect each other, and can complete a storage task of corresponding rewritable data individually and completely.
Fig. 3 is a schematic diagram of a memory structure of a memory module of a chip according to an embodiment of the present disclosure. In the present embodiment, the memory module 22 includes a rewritable data storage area 300 configured to store ink amount data, the rewritable data storage area 300 including two storage units: a first memory cell 310 and a second memory cell 320. In addition, the memory module 22 includes other data storage areas 400 configured to store read-only data such as the date of manufacture of the ink cartridge.
As shown in fig. 4, in some implementations, the first storage unit 310 stores the complete ink amount data 311 in a rewritable form, the second storage unit 320 stores the complete ink amount data 321 in a rewritable form, and the values of the ink amount data 311 and the ink amount data 321 are independent of each other and do not affect each other.
The write controller 23 is connected to the communication module 21 and the storage module 22, respectively, and the write controller 23 performs a write operation for writing data received by the communication module 21 into the storage module 22. The write controller 23 is configured to compare data values of the rewritable data stored in at least two memory cells in the at least one rewritable data storage area 300, and select one memory cell satisfying a write condition according to the comparison result, the selected memory cell being used for writing the rewritable data transmitted by the communication module 21. The write condition that is satisfied as described above may be: when the rewritable data is data indicating the amount of remaining ink in the ink cartridge 1, the write controller 23 compares the data values stored in the plurality of storage units, selects a storage unit in which the data value is large, and writes the remaining amount data received by the communication module 21 into the storage unit; when the rewritable data is data indicating the amount of consumed ink in the ink cartridge 1, the write controller 23 compares the sizes of the data values stored in the plurality of storage units, selects a storage unit in which the data value is small, and writes the consumption amount data received by the communication module 21 in the storage unit.
The communication process for the write controller 23 to complete the write operation is: the writing controller 23 receives instruction information of the printer via the communication module 21, the instruction information includes information of which rewritable data storage area 300 needs to be rewritten, the writing controller 23 selects the corresponding rewritable data storage area 300 according to the instruction information, compares data values of the rewritable data stored in at least two storage units of the corresponding rewritable data storage area 300, and selects a storage unit satisfying a writing condition, the printer sends the rewritable data to the writing controller 23 via the communication module 21, and the writing controller 23 writes the received rewritable data into the selected storage unit; alternatively, the communication module 21 receives a write command and rewritable data from the printer, the write controller 23 buffers the rewritable data sent from the communication module 21 and analyzes the type of the rewritable data, selects a rewritable data storage area storing the corresponding data type from among the plurality of rewritable data storage areas according to the analysis result, compares the data values of the rewritable data stored in at least two storage units of the corresponding rewritable data storage area 300, selects a storage unit satisfying the write condition, and writes the buffered rewritable data.
When data needs to be written into a plurality of rewritable data storage areas, the write controller 23 may compare data values of the rewritable data stored in at least two storage units in each rewritable data storage area at the same time, select a storage unit as a written unit in each rewritable data storage area, and write data into the selected storage unit in each rewritable data storage area at the same time; alternatively, one rewritable data storage area may be selected first, the data values of the rewritable data stored in at least two storage units in the rewritable data storage area are compared, a storage unit satisfying the write condition is selected to receive the rewritable data, and then the next rewritable data storage area is selected to perform the same operation as the previous rewritable data storage area until the operation of writing the rewritable data is completed in all of the rewritable data storage areas.
Fig. 5 is a schematic diagram of communication performed by a communication module in a chip to write data into a memory module according to an embodiment of the present application. In the present embodiment, the write controller 23 includes a first value comparison circuit configured to compare the data value size of the rewritable data stored in each of the storage units in one of the rewritable data storage areas 300, and a first judgment circuit connected to the first value comparison circuit, the first judgment circuit being configured to receive the comparison result from the first value comparison circuit and send a first feedback selection signal to the first value comparison circuit according to the comparison result.
In some implementations, any one of the storage units of the storage module 22 may be set as a default unit. Inputting the rewritable data stored in the first storage unit 310 and the second storage unit 320 into a first numerical comparison circuit, sending a comparison result to a first judgment circuit according to different set writing conditions to be met, and sending a first feedback selection signal to the first numerical comparison circuit by the first judgment circuit to enable the first numerical comparison circuit to select a required storage unit; if the data values stored in each storage unit are not equal, selecting the storage unit with larger or smaller stored data value as a writing storage unit; if the data values stored in each memory cell are equal, the memory cell set as the default cell may be selected as the write memory cell.
And the reading controller 24 is connected with the communication module 21 and the storage module 22 respectively, and the reading controller 24 executes reading operation and is responsible for reading and sending the rewritable data stored in the storage module 22 to the communication module 21.
To better explain the present embodiment, please refer to the following example:
the rewritable data is data indicating the amount of consumed ink in the ink cartridge 1, the first storage unit 310 stores a consumption amount a1, the second storage unit 320 stores a consumption amount a2 in which a2> a1, the write controller 23 compares the consumption amounts a1 and a2, and selects the first storage unit 310 storing a smaller consumption amount a1 as a storage unit to be written. When the printer is in normal communication, the consumption transmitted to the chip 2 is gradually increased, if the printer communication is disturbed to cause the transmitted consumption a3 to become small, namely a3< a2, the error consumption a3 is written into the first storage unit 310 and covers the original consumption a1, and at the moment, the correct consumption a2 stored in the second storage unit 320 is not influenced, so that the correct historical ink quantity data is stored in the chip 1; if the consumption of continuous transmission becomes smaller due to the interference of the communication of the subsequent printer, since the error consumption stored in the first storage unit 310 is smaller than the correct consumption a2 stored in the second storage unit 320, the write controller 23 always selects the first storage unit 310 as the storage unit to be written, that is, the error consumption is always stored in the first storage unit 310, and the correct consumption a2 stored in the second storage unit 320 is not affected, so that the chip 1 always stores the correct historical ink amount data.
In the present embodiment, the rewritable data storage area 300 includes two storage units, the write controller 23 selects a write storage unit by comparing the data value sizes in the two storage units, and the write controller 23 writes the received rewritable data in the selected storage unit. In this way, even if the data sent by the communication module 21 continuously has errors, the error data in the same storage unit is only continuously overwritten, the correct data written last time stored in another storage unit is not affected, and the correct data written last time can be normally read. Therefore, the technical problem that when the number of times of continuously writing error data by the printer due to communication interference is larger than the number of the storage areas, correct historical ink amount data in the storage unit cannot be recovered by being covered, and data errors are larger and larger can be solved.
Example two
The present embodiment specifically describes the working principle of the read controller 24 mainly based on the first embodiment. The read controller 24 is connected to the communication module 21 and the storage module 22, respectively, and the read controller 24 performs a read operation to read and transmit rewritable data stored in the storage module 22 to the communication module 21. The read controller 24 is configured to read rewritable data in a memory cell satisfying a read condition among the plurality of memory cells of the rewritable data memory area 300, and transmit the rewritable data to the communication module 21.
In one embodiment, the readout condition may be a specific condition that satisfies a readout order. The way of implementing the reading order may be: the read controller 23 is provided with a register and a memory cell identification bit, and may indicate, for example, "0" to read data of the first memory cell 310 when the read operation is performed last time and "1" to read data of the second memory cell 320 when the read operation is performed last time. When the reading operation is executed, firstly, the identification bit of the memory cell is read, the memory cell selected when the reading operation is executed last time is determined, then, another memory cell different from the memory cell selected when the reading operation is executed last time is selected, the data in the another memory cell is read, and the reading operation of this time is completed. In this embodiment, the data stored in the first memory cell 310 and the second memory cell 320 are read out alternately by means of the marks.
In another embodiment, the readout condition may be a specific condition that satisfies the size of the data value. The read controller 24 is configured to compare the data values of the rewritable data of each memory cell in the rewritable data storage area 300 written by the write controller 23, read out the rewritable data in the memory cell satisfying the read-out condition according to the comparison result, and transmit to the communication module 21. The read conditions to be satisfied may be: when the rewritable data is data indicating the amount of remaining ink in the ink cartridge 1, the read controller 24 compares the data values stored in the plurality of storage units, selects a storage unit in which a smaller remaining amount is stored among the plurality of storage units, and reads the remaining amount data; when the rewritable data is data indicating the amount of consumed ink in the ink cartridge 1, the read controller 24 compares the data values stored in the plurality of storage units, selects a storage unit in which a large amount of consumption is stored among the plurality of storage units, and reads the consumption data.
Fig. 6 is a schematic view of communication performed by a memory module in a chip to read data out of a communication module according to a second embodiment of the present application. In the present embodiment, the read controller 24 includes a second value comparison circuit configured to compare the data value size of the rewritable data stored in each memory cell in the rewritable data storage area 300, and a second judgment circuit connected to the second value comparison circuit, the second judgment circuit being configured to receive the comparison result by the second value comparison circuit and send a second feedback selection signal to the second value comparison circuit according to the comparison result.
When the read controller 24 reads data from the memory module 22, the rewritable data stored in the first memory cell 310 and the rewritable data stored in the second memory cell 320 are input to a second numerical value comparison circuit for comparison, the second numerical value comparison circuit sends the comparison result to a second judgment circuit, the second judgment circuit marks the rewritable data with a larger or smaller data value in the second numerical value comparison circuit according to the difference of the set read conditions to be met, and the read controller 24 reads the data marked in the second numerical value comparison circuit and sends the data to the communication module 21; and if the data values of the rewritable data are equal, selecting the memory cell set as the default cell and reading the data to finish the reading operation.
To better explain the embodiment described in fig. 6, please refer to the following example:
still taking the example that the rewritable data is data indicating the amount of consumed ink in the ink cartridge 1, the first storage unit 310 stores a correct consumption amount a1, the second storage unit 320 stores a correct consumption amount a2 in which a2> a1, and the read controller 23 compares the consumption amounts a1 and a2 and reads out the correct consumption amount a 2. When the printer is in normal communication, the consumption transmitted to the chip 2 is gradually increased, if the printer communication is disturbed, the transmitted consumption a3 becomes smaller, namely a3< a2, according to the writing condition of satisfying the consumption, the error consumption a3 is written into the first storage unit 310 and covers the original consumption a1, and the reading controller 23 compares the consumption a2 with the consumption a3 and reads out the correct consumption a 2; if the consumption amount of the continuous transmission becomes smaller due to the communication interference of the subsequent printer, since the error consumption amount stored in the first storage unit 310 is smaller than the correct consumption amount a2 stored in the second storage unit 320, the read controller 23 always reads out the correct consumption amount a2, so that the chip 1 can transmit the latest correct history ink amount data to the printer each time.
In both of the above-described reading methods, when the printer operates normally and the transmitted data is correct, both methods can read the latest correct historical ink amount data, but when the data transmitted after the communication interference of the printer is continuously erroneous, there is a possibility that erroneous data will be read by reading the data in the storage unit alternately using the flag method, and when the reading operation is performed after comparing the data values, the latest correct historical ink amount data can be read. Therefore, in practical use, the effect of comparing data values and then performing a read operation is better than the alternative read using a tag.
EXAMPLE III
Fig. 7 is a schematic diagram of a memory structure of a memory module of a chip according to a third embodiment of the present application. In the present embodiment, the memory module 22 includes one rewritable data storage area 300 for storing ink amount data, and the rewritable data storage area 300 includes two or more memory cells. For convenience, only three memory cells are shown in FIG. 7: a first memory cell 310, a second memory cell 320, and a third memory cell 330. In addition, the memory module 22 also includes other data storage areas 400 configured to store read-only data such as the date of manufacture of the ink cartridge. As in the first embodiment, each storage cell in the rewritable data storage area 300 is used to store ink amount data, and each storage cell can independently and completely complete the storage of ink amount data once, and the write controller 23 and the read controller 24 are also respectively provided with a value comparison circuit and a judgment circuit (i.e. a first value comparison circuit and a first judgment circuit, and a second value comparison circuit and a second judgment circuit).
The writing controller 23 inputs the ink amount data stored in the first storage unit 310, the second storage unit 320, and the third storage unit 330 to the first numerical value comparison circuit for comparison, and according to the difference of the writing conditions to be satisfied, the first numerical value comparison circuit sends the comparison result to the first judgment circuit, and the first judgment circuit sends the first feedback selection signal to the first numerical value comparison circuit, so that the first numerical value comparison circuit selects the required storage unit, and if the data values stored in each storage unit are not equal, the storage unit with the largest or the smallest stored rewritable data is selected as the writing storage unit. If there are at least two memory cells in which the stored rewritable data is the largest or the smallest, the memory addresses corresponding to the memory cells having the same data value are acquired, and the memory cell having the most preceding memory address is selected as the write memory cell. When the write controller 23 receives the rewritable data of the memory module 22, the rewritable data is directly written into the selected memory cell, and this write operation is completed.
When the read controller 24 reads data from the storage module 22, the read controller 24 may sequentially mark the first storage unit 310, the second storage unit 320, and the third storage unit 330, and read data stored in each storage unit in turn according to the marked sequence; alternatively, the read controller 24 inputs the rewritable data stored in the first storage unit 310, the second storage unit 320, and the third storage unit 330 to the second numerical value comparison circuit for comparison, and the second numerical value comparison circuit sends the comparison result to the second judgment circuit according to the difference in the set read conditions, and the second judgment circuit marks the rewritable data having the maximum or minimum data value in the second numerical value comparison circuit according to the difference in the read conditions, and the read controller 24 reads the marked rewritable data and sends the rewritable data to the communication module 21, thereby completing the read operation.
The rewritable data storage area 300 in this embodiment includes more than two storage units, and if the data sent by the communication module 21 is erroneous, the storage units can store at least the correct data written last two times, and more correct data can be stored than the storage units divided in the first embodiment.
Example four
The storage structure of the rewritable data storage area 300 of the present embodiment is similar to that of the first embodiment, and the storage module 22 includes a rewritable data storage area 300 for storing ink amount data, and the rewritable data storage area 300 includes two storage units, each of which stores at least two different types of data information.
Fig. 8 is a schematic diagram of a data structure in a memory cell according to a fourth embodiment of the present application. The first storage unit 310 and the second storage unit 320 store therein not only the rewritable ink amount data 311 and the rewritable ink amount data 321, but also ink exhaustion data 312 and ink exhaustion data 322 for indicating exhaustion of the ink amount. In the memory unit, the ink amount data and the ink end data are stored in different addresses, independently of each other and without influence, the ink amount data is set in a rewritable state, and the ink end data is set in a non-rewritable state, so that when the write controller 23 and the read controller 24 operate the memory unit, only the ink amount data is rewritten and read, and the ink end data is not rewritten and read.
Before the write controller 23 receives the ink amount data written in the memory module 22, because the ink amount data in each memory cell is set to be rewritable and the ink-out data is set to be non-rewritable, only the ink amount data stored in the first memory cell 310 and the second memory cell 320 can be input into the first numerical comparison circuit, the first numerical comparison circuit sends the comparison result to the first judgment circuit, the first judgment circuit sends a first feedback selection signal to the first numerical comparison circuit, so that the first numerical comparison circuit selects a required memory cell, and selects the ink amount data address of the memory cell with a larger or smaller stored data value as a write address according to different set write conditions. If the data values stored in each memory cell are equal, the ink amount data address of the memory cell set as the default cell is selected as the write address. When the write controller 23 receives the ink amount data of the memory module 22, the ink amount data is directly written to the ink amount data address of the selected memory cell, completing the write operation. When the reading controller 24 reads data from the memory module 22, the ink amount data stored in the first memory unit 310 and the second memory unit 320 are input to the second numerical value comparison circuit for comparison, the second numerical value comparison circuit sends the comparison result to the second judgment circuit, the second judgment circuit marks the ink amount data with a larger or smaller data value in the second numerical value comparison circuit according to different reading conditions, and the reading controller 24 reads the data marked in the second numerical value comparison circuit and sends the data to the communication module 21, thereby completing the reading operation.
Then, after a plurality of printing operations, when the printer detects that the ink in the ink cartridge 1 is exhausted, the printer sends the ink amount data and the data for rewriting the state of the ink-end data to the communication module 21 at the same time, the communication module 21 sends the data to the writing controller 23, the writing controller 23 writes the ink amount data and the data for rewriting the state of the ink-end data to the selected storage unit at the same time, and at this time, the ink-end data is modified to be in a readable state, and the writing operation is completed. When the reading controller 24 reads data from the memory module 22, the ink amount data stored in the first memory unit 310 and the second memory unit 320 are input to the second numerical comparison circuit for comparison, since the data input in one of the memory units has ink-out data, the second judgment circuit detects that one of the data has ink-out data according to the comparison result input by the second numerical comparison circuit, and then the data with ink-out data in the second numerical comparison circuit is marked, and the reading controller 24 reads the marked data in the second numerical comparison circuit and transmits the data to the communication module 21, thereby completing the reading operation. When the printer receives the ink-out data from the communication module 21, it indicates that the ink cartridge needs to be replaced to continue the use.
The embodiment improves the reminding function of the ink consumption by modifying the ink end data into a readable state when the ink consumption is exhausted on the basis of solving the problem that the correct historical ink amount data in the storage unit cannot be recovered due to the fact that the number of times of continuously writing error data in the printer due to communication interference is larger than the number of the storage areas. On one hand, because the printer generally detects the ink amount of the ink box after executing printing operation, if the user does not have to replace the ink box, the printer can directly read out the ink-out data to remind the user to replace the ink box when the printer is started again, the ink amount is detected again without idle printing, the damage to the printing head caused by the idle printing of the printing head due to the absence of ink in the ink box is avoided, and meanwhile, the time is saved; on the other hand, if the ink amount data of the chip 2 is not matched with the actual ink amount of the ink cartridge, the chip 2 may not be used, but if ink remains in the ink cartridge, due to the existence of the ink exhaustion information in the chip 2, the user is prevented from detaching the chip 2 and installing the chip 2 on other ink cartridges for recycling, so that the use is inconvenient.
It should be noted that the ink amount data in the above-described embodiment may be consumption amount information indicating an amount of consumed ink or remaining amount information indicating an amount of remaining ink, and not only the ink amount data information but also actual data and mirror image data, actual data and error detection code data, odd parity data and even parity data, and the like are stored in the storage unit, that is, the same type of data is stored in different storage units in one rewritable storage area 300, or data associated with each other. Further, the storage module 22 may also be provided with a plurality of rewritable storage areas 300 for storing different types of data, and each rewritable storage area 300 is provided with at least two storage units, so as to meet the requirement that the printer can write different types of data to the chip at the same time.
In addition, the present application also provides an ink cartridge 1 on which the chip 2 of any of the above embodiments is mounted.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A chip disposed on an imaging cartridge, comprising:
a communication module configured to receive and transmit data with a printer;
the storage module is provided with at least one rewritable data storage area, each rewritable data storage area comprises at least two storage units, and each storage unit is used for storing rewritable data;
and the write controller is respectively connected with the communication module and the storage module, and is configured to compare data values of the rewritable data stored in at least two storage units in the rewritable data storage area, select a storage unit meeting a write-in condition according to a comparison result, wherein the selected storage unit is used for writing the rewritable data transmitted by the communication module.
2. The chip of claim 1, wherein the rewritable data represents a remaining amount of consumables in the imaging cartridge or represents a consumption amount of consumables in the imaging cartridge.
3. The chip according to claim 2, wherein when the rewritable data is the remaining amount, the write controller is configured to write the remaining amount transmitted from the communication module by comparing the selected memory cell having the largest stored data value;
when the rewritable data is the consumption amount, the write controller may compare the selected storage unit having the smallest stored data value with the consumption amount transmitted from the communication module.
4. The chip of any of claims 2-3, further comprising:
and the reading controller is respectively connected with the communication module and the storage module, and is configured to select a storage unit meeting a reading condition from a plurality of storage units in the rewritable data storage area, so as to read and send the rewritable data in the selected storage unit to the communication module.
5. The chip of claim 4, wherein the read condition is that the read order of the memory cells is satisfied, and the read controller alternately reads data stored in the memory cells by way of at least two of the memory cells being marked.
6. The chip of claim 4, wherein the read condition is that the read memory cell is selected by the read controller comparing the size of the data value stored in the memory cell;
when the rewritable data is the residual quantity, the reading controller selects the storage unit with the minimum storage data value through comparison, and sends the residual quantity data in the storage unit to the communication module;
when the rewritable data is the consumption amount, the read controller compares the storage unit selected to have the largest stored data value to transmit the consumption amount data in the storage unit to the communication module.
7. The chip according to claim 1, wherein the write controller selects a corresponding rewritable data storage area according to instruction information of the printer, compares data values of rewritable data stored in at least two of the storage units in the corresponding rewritable data storage area, selects the storage unit satisfying a write condition, and writes received rewritable data of the printer into the selected storage unit.
8. The chip according to claim 1, wherein the write controller buffers rewritable data transmitted from the communication module and analyzes a type of the rewritable data, selects a corresponding rewritable data storage area according to an analysis result, compares data values of rewritable data stored in at least two of the storage units in the corresponding rewritable data storage area, selects the storage unit satisfying a write condition, and writes the rewritable data transmitted from the printer in the buffer.
9. The chip according to any one of claims 7 to 8, wherein when data needs to be written into a plurality of the rewritable data storage areas, the write controller simultaneously compares data values of data stored in at least two of the memory cells in each of the rewritable data storage areas, selects the memory cell satisfying a write condition in each of the rewritable data storage areas, and writes rewritable data;
or, the write controller selects one of the rewritable data storage areas first, compares data values of data stored in at least two of the storage units in the rewritable data storage area, selects the storage unit satisfying a write condition and writes rewritable data, and then selects the next rewritable data storage area to perform the same operation as the previous rewritable data storage area until the operation of writing the rewritable data is completed in a plurality of the rewritable data areas.
10. An imaging cartridge, characterized in that it is equipped with a chip according to any one of claims 1 to 9.
CN201911348195.8A 2019-12-24 2019-12-24 Chip and imaging box Active CN111016465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911348195.8A CN111016465B (en) 2019-12-24 2019-12-24 Chip and imaging box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911348195.8A CN111016465B (en) 2019-12-24 2019-12-24 Chip and imaging box

Publications (2)

Publication Number Publication Date
CN111016465A CN111016465A (en) 2020-04-17
CN111016465B true CN111016465B (en) 2021-09-07

Family

ID=70212935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911348195.8A Active CN111016465B (en) 2019-12-24 2019-12-24 Chip and imaging box

Country Status (1)

Country Link
CN (1) CN111016465B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988429A2 (en) * 2007-05-04 2008-11-05 Samsung Electronics Co., Ltd. A unit for a consumable product
CN105538917A (en) * 2016-03-07 2016-05-04 杭州旗捷科技有限公司 Anti-error consumable chip and control method thereof
CN205498352U (en) * 2016-04-15 2016-08-24 珠海美佳音科技有限公司 Consumptive material chip, processing box and imaging device
CN108068463A (en) * 2016-11-11 2018-05-25 杭州旗捷科技有限公司 Consumptive material, print system, the ink amount data reset method of consumptive material

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090086269A1 (en) * 2007-09-28 2009-04-02 Kyocera Mita Corporation Image Forming Apparatus and Image Forming System
CN103818121B (en) * 2013-12-19 2017-01-25 珠海艾派克微电子有限公司 Ink box, ink box chip and light-emitting control method and device of ink box chip
JP2015223762A (en) * 2014-05-28 2015-12-14 セイコーエプソン株式会社 Liquid injection device, control method of liquid injection head and control method of liquid injection device
CN104134453B (en) * 2014-06-11 2017-10-10 珠海艾派克微电子有限公司 A kind of chip and print cartridge
CN104952485B (en) * 2014-11-28 2019-07-19 珠海艾派克微电子有限公司 A kind of resistance switching circuit, storage circuit and consumable chip
DE202015102534U1 (en) * 2015-05-18 2015-06-12 Apex Microelectronics Co., Ltd Short circuit protection device for chip, and chip, ink cartridge and recording device
JP2017027458A (en) * 2015-07-24 2017-02-02 京セラドキュメントソリューションズ株式会社 Memory control device and image forming apparatus having the same
CN205405485U (en) * 2016-02-19 2016-07-27 珠海艾派克微电子有限公司 Chip and ink cartridge
CN205871503U (en) * 2016-07-05 2017-01-11 杭州旗捷科技有限公司 Realize ink horn and exempt from to pull out device and print system who inserts function
CN106335288A (en) * 2016-08-29 2017-01-18 安徽奥斯博医疗仪器设备有限公司 General chip of printing consumables
JP2018160150A (en) * 2017-03-23 2018-10-11 富士ゼロックス株式会社 Consumables management system, consumables management device, mobile device, and consumables management program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1988429A2 (en) * 2007-05-04 2008-11-05 Samsung Electronics Co., Ltd. A unit for a consumable product
CN105538917A (en) * 2016-03-07 2016-05-04 杭州旗捷科技有限公司 Anti-error consumable chip and control method thereof
CN205498352U (en) * 2016-04-15 2016-08-24 珠海美佳音科技有限公司 Consumptive material chip, processing box and imaging device
CN108068463A (en) * 2016-11-11 2018-05-25 杭州旗捷科技有限公司 Consumptive material, print system, the ink amount data reset method of consumptive material

Also Published As

Publication number Publication date
CN111016465A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN100507733C (en) Image formation device and cartridge
WO2020224491A1 (en) Printing consumable and ink cartridge
CN102501613B (en) Storing device and consumable container
US20150212957A1 (en) Supply Assembly Of Imaging Device, Chip Thereon, And Method For Updating Slave Address
US9283791B2 (en) Replaceable printer component including a memory updated atomically
US10162582B2 (en) Method for recording chip usage state information, chip of imaging cartridge and imaging cartridge
WO2015188644A1 (en) Chip and ink cartridge
CN205405485U (en) Chip and ink cartridge
JP2005288878A (en) System for managing consumables
CN111016465B (en) Chip and imaging box
US10585633B2 (en) Method for recording chip usage state information, chip of imaging cartridge and imaging cartridge
CN112824105B (en) Data processing method of consumable chip, consumable and imaging equipment
WO2018086306A1 (en) Chip version switching method, apparatus and system
KR101239767B1 (en) Image forming apparatus and method the same
CN204130178U (en) A kind of chip and print cartridge
JP5515303B2 (en) Image forming apparatus, program, and storage medium
US20110157647A1 (en) Replaceable Printer Component Including Memory Storing Data Defined by Tags and Sub-Tags
JP2004358719A (en) Electronic apparatus capable of loading cartridge of consumables
CN104637543A (en) Chip and ink box using same
JP2006220920A (en) Image forming apparatus and information management system
JP2005177993A (en) Printing apparatus, printing agent storing container for the apparatus, and printing system
CN114826491A (en) Chip, replaceable article, image forming apparatus, and data transmission method
JP2006159788A (en) Inkjet recorder and method for controlling the same
JP2012123733A (en) Information processor, and data management method in information processor
JP2013198986A (en) Printing apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 519060 building 01, 83 Guangwan street, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: Jihai Microelectronics Co.,Ltd.

Address before: 519060 building 01, 83 Guangwan street, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee before: APEX MICROELECTRONICS Co.,Ltd.