CN114987058B - Consumable chip, data reading and writing method thereof and consumable container - Google Patents

Consumable chip, data reading and writing method thereof and consumable container Download PDF

Info

Publication number
CN114987058B
CN114987058B CN202210737925.9A CN202210737925A CN114987058B CN 114987058 B CN114987058 B CN 114987058B CN 202210737925 A CN202210737925 A CN 202210737925A CN 114987058 B CN114987058 B CN 114987058B
Authority
CN
China
Prior art keywords
data
memory
configuration
ferroelectric memory
integrated circuit
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
CN202210737925.9A
Other languages
Chinese (zh)
Other versions
CN114987058A (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.)
Zhuhai Tianwei Microelectronics Co ltd
Original Assignee
Print Rite Technology Development Co Ltd of Zhuhai
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 Print Rite Technology Development Co Ltd of Zhuhai filed Critical Print Rite Technology Development Co Ltd of Zhuhai
Priority to CN202210737925.9A priority Critical patent/CN114987058B/en
Publication of CN114987058A publication Critical patent/CN114987058A/en
Application granted granted Critical
Publication of CN114987058B publication Critical patent/CN114987058B/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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • B41J2/17543Cartridge presence detection or type identification
    • B41J2/17546Cartridge presence detection or type identification electronically
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17566Ink level or ink residue control
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/06Apparatus for electrographic processes using a charge pattern for developing
    • G03G15/08Apparatus for electrographic processes using a charge pattern for developing using a solid developer, e.g. powder developer
    • G03G15/0822Arrangements for preparing, mixing, supplying or dispensing developer
    • G03G15/0863Arrangements for preparing, mixing, supplying or dispensing developer provided with identifying means or means for storing process- or use parameters, e.g. an electronic memory
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/22Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using ferroelectric elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Ink Jet (AREA)

Abstract

The invention provides a consumable chip, a data read-write method thereof and a consumable container, wherein the consumable chip comprises an integrated circuit module, a controller and a random access memory; the substrate is also provided with a ferroelectric memory which is arranged outside the integrated circuit module; the integrated circuit module is also provided with a first-in first-out memory, and the controller stores the target data written into the random access memory into the first-in first-out memory and writes the target data into the ferroelectric memory through the first-in first-out memory. The method comprises the steps that an integrated circuit module of a consumable chip writes initial data in a ferroelectric memory arranged outside the integrated circuit module into a random access memory in the integrated circuit module; the method comprises the steps of obtaining target data written into a random access memory, writing the target data into a first-in first-out memory of an integrated circuit module, and writing the target data into a ferroelectric memory through the first-in first-out memory. The method and the device can improve the accuracy of target data writing.

Description

Consumable chip, data reading and writing method thereof and consumable container
Technical Field
The invention relates to the technical field of printing consumables, in particular to a consumable chip, a data reading and writing method of the consumable chip and a consumable container using the consumable chip.
Background
The electronic imaging device is used as common office equipment, great convenience is provided for modern office, the common electronic imaging device comprises a printer, a copying machine and the like, the existing printer is divided into an inkjet printer and a laser printer, and the inkjet printer uses an ink box containing ink as a consumable container to jet the ink to paper so as to form characters or patterns to be printed on the paper; the laser printer uses a toner cartridge containing toner as a consumable container to form text or patterns on the media to be printed.
Referring to fig. 1, a conventional color inkjet printer has a housing 11, and the inkjet printer shown in fig. 1 omits a pallet of the housing 11. The housing 11 is provided with a cartridge 12 for an ink jet printer and a slide along which a carriage 14 reciprocates under the drive of a motor (not visible in fig. 1). A chip main control circuit board (not visible in fig. 1) is arranged in the printing carriage 14, and the chip main control circuit board communicates with the movement 12 through a flat cable 13.
The carriage 14 is detachably provided with a plurality of ink cartridges 15, and different ink cartridges 15 contain different colors of ink. The structure of the ink cartridge 15 is shown in fig. 2. The ink cartridge 15 has a cartridge body 16, the cartridge body 16 encloses a chamber for accommodating ink, an ink outlet 17 is provided at the lower end of the chamber, and ink in the chamber flows out through the ink outlet 17 and is supplied to an ink supply needle of the carriage 14.
A chip 18 is mounted on the outer wall of the case 16 of the ink cartridge 15, the chip 18 having a substrate provided with a plurality of connection terminals 19 on one side thereof for electrical connection with contact pins on the carriage 14. The other side of the substrate is provided with a memory (not visible in fig. 2), typically a non-volatile memory, such as an EEPROM or FLASH, which stores information related to the ink cartridge, including variable information, which is information that is continuously variable with the printing operation, such as information of the ink margin, the printing duration, the number of printing sheets, etc., and invariable information, which is information that is not variable with the printing operation, such as the type of the ink cartridge, the type of the applicable inkjet printer, the color of the ink, etc.
After the ink cartridge 15 is mounted to the carriage 14 of the ink jet printer, the ink jet printer powers up the chip 18 and reads data stored in the memory of the chip 18 to determine whether the type of the ink cartridge 15 is appropriate, whether the amount of ink remaining in the ink cartridge 15 is sufficient, and the like. The ink jet printer can perform a printing job only after the ink cartridge 15 is judged to be of a proper type and sufficient ink is contained in the ink cartridge 15.
With the development of memory technology, some consumable chips now start to use embedded ferroelectric memories. Because the ferroelectric memory utilizes the ferroelectric effect of the crystal, the state inversion can be completed in extremely short time, compared with the traditional EEPROM which has longer erasing time, the read-write speed of the ferroelectric memory is very fast, and the communication speed between the consumable chip and the printer can be improved.
If the ferroelectric memory is integrated within an integrated circuit module of a consumable chip, the production process requirements for the integrated circuit module are very high, and the production costs are also high, so that some consumable chips use other memories instead of the ferroelectric memory, for example, a random access memory (SRAM) instead of the ferroelectric memory. However, since the random access memory is a volatile memory, data will be lost after power failure, therefore, an additional battery is required to be added on the consumable chip, and when the ink-jet printer does not supply power to the consumable chip, the battery is used for supplying power to the random access memory, so as to avoid the data loss of the random access memory. However, because the battery is bigger, the volume of the consumable chip is increased, and the battery is easy to leak liquid and the like, so that the use safety of the consumable chip is affected.
The existing another solution is that a random access memory and an EEPROM are arranged on a consumable chip, and the high-speed read-write frequency of the application random access memory can meet the requirement of the ink-jet printer on high-speed read-write data, so that the consumable chip uses the random access memory and the ink-jet printer to read and write data, and after the ink-jet printer finishes reading and writing, the data of the random access memory are quickly transferred to the EEPROM, and therefore, after the ink-jet printer stops supplying power to the consumable chip, the EEPROM stores the data so as to avoid data loss.
However, when the random access memory writes data into the EEPROM, it is necessary to write back data line by line into the EEPROM, but since the erasing operation of the EEPROM takes a long time, the more data is written, the more electric power is required to be consumed. In order to meet the requirement of electric energy consumption when the random access memory writes data into the EEPROM, an energy storage element such as a capacitor is often required to be arranged on the consumable chip. If the capacitance of the capacitor is too large, the normal power-on time sequence in the next communication is easily affected.
The prior consumable chip is provided with a random access memory in an integrated circuit module of the chip, a ferroelectric memory is arranged outside the integrated circuit module, the consumable chip uses the random access memory to communicate with an ink-jet printer, and after the ink-jet printer writes data into the random access memory, the consumable chip transfers the data stored in the random access memory to the ferroelectric memory. However, the communication timing and communication speed of the inkjet printer and the ferroelectric memory are different from those of the inkjet printer and the random access memory, and by adopting the method, errors of data written into the random access memory are easily caused, so that the work of the inkjet printer is affected.
Disclosure of Invention
The first object of the invention is to provide a consumable chip which has low production cost and small volume and can effectively avoid data writing errors.
The second object of the present invention is to provide a data read-write method of the consumable chip.
A second object of the present invention is to provide a consumable container to which the above consumable chip is applied.
In order to achieve the first object of the present invention, the consumable chip provided by the present invention comprises a substrate, an integrated circuit module is arranged on the substrate, and a controller and a random access memory are arranged in the integrated circuit module; the substrate is also provided with a ferroelectric memory which is arranged outside the integrated circuit module; the integrated circuit module is also provided with a first-in first-out memory, and the controller stores the target data written into the random access memory into the first-in first-out memory and writes the target data into the ferroelectric memory through the first-in first-out memory.
According to the scheme, the ferroelectric memory is arranged outside the integrated circuit module, so that the design cost of the integrated circuit module can be reduced. When the consumable chip is communicated with the ink-jet printer, the random access memory can be used as the main memory for data reading and writing, target data can be transferred to the external ferroelectric memory through the first-in first-out memory, and the ferroelectric memory is used for keeping the data, so that the problem of data loss after power failure is avoided.
In addition, due to the fact that the first-in first-out memory is arranged to coordinate data reading and writing of the ink-jet printer, even if the speed of writing data into the consumable chip by the ink-jet printer is high, the data is cached by the first-in first-out memory, and then target data is transferred to the ferroelectric memory by the first-in first-out memory, the accuracy of the data written into the ferroelectric memory can be ensured, and the influence on the work of the ink-jet printer is avoided.
In a preferred embodiment, the integrated circuit module is further provided with a serial communication interface, and the first-in first-out memory writes the target data to the ferroelectric memory through the serial communication interface.
Therefore, the target data can be ensured to be written into the ferroelectric memory according to the specified address through the serial communication interface, and the problem of data writing errors is avoided.
Further, the ferroelectric memory comprises a storage working area and a configuration area, wherein the storage working area is an encryption memory, and the configuration area is a non-encryption storage area.
In this way, the configuration area can be used for storing data such as analog configuration, digital configuration, encryption configuration and redundant data, and the controller can directly read the data without decryption to obtain the data, so that the data reading efficiency is improved. The data which needs to be kept secret aiming at the operation logic and the like are stored in the storage working area, so that the security of the storage of the kept secret data of the operation logic and the like is ensured.
In order to achieve the second object, the consumable chip data read-write method provided by the invention includes that an integrated circuit module of a consumable chip writes initial data in a ferroelectric memory arranged outside the integrated circuit module into a random access memory in the integrated circuit module; the method comprises the steps of obtaining target data written into a random access memory, writing the target data into a first-in first-out memory of an integrated circuit module, and writing the target data into a ferroelectric memory through the first-in first-out memory.
According to the scheme, the ferroelectric memory can store data such as consumable allowance when power is off, so that after the consumable chip is powered on, initial data stored in the ferroelectric memory are written into the random access memory, and the ink-jet printer can directly read the data from the random access memory. When the ink-jet printer needs to write the target data, the data can be written into the first-in first-out memory, and then written into the ferroelectric memory by the first-in first-out memory, so that the communication speed between the ink-jet printer and the consumable chip is ensured.
In a preferred embodiment, after obtaining the target data to be written into the random access memory, the method further comprises: and judging whether the data quantity stored in the first-in first-out memory exceeds a preset threshold value, if so, executing anti-overflow operation.
Therefore, once the first-in first-out memory stores more data and overflows soon, the condition that the data of the first-in first-out memory overflows to cause data loss can be avoided by executing the anti-overflow operation.
Further, the anti-overflow operation includes: the speed of writing data into the ferroelectric memory by the first-in first-out memory is increased, and preferably, the read-write frequency of the ferroelectric memory is increased.
Therefore, by increasing the read-write frequency of the ferroelectric memory, the speed of writing data into the ferroelectric memory is increased, the target data can be written into the ferroelectric memory more quickly, and the data overflow of the first-in first-out memory can be effectively avoided.
Optionally, the anti-overflow operation includes: and writing the target data into a preset buffer area, and writing the data of the buffer area into the ferroelectric memory.
Therefore, by firstly caching the target data and then writing the cached data into the ferroelectric memory, the situation that too much data is written into the first-in first-out memory in a short time can be avoided, and the data overflow of the first-in first-out memory can be effectively avoided.
Optionally, the anti-overflow operation includes: if the target data which has not been written into the ferroelectric memory is rewritten again, the first-in first-out memory directly writes the rewritten data into the ferroelectric memory.
If the data which is not written in is rewritten again, the data which is not written in and rewritten is not written in the ferroelectric memory, so that the written data quantity is reduced, the data which is required to be stored in the ferroelectric memory is reduced, and the condition of overflowing the data of the first-in first-out memory can be avoided.
In order to achieve the third object, the consumable container provided by the invention comprises a shell, wherein the shell forms a consumable accommodating cavity, and the consumable chip is arranged on the side wall of the shell.
Drawings
Fig. 1 is a schematic diagram of a conventional ink jet printer.
Fig. 2 is a schematic structural view of a conventional ink cartridge.
Fig. 3 is an electrical schematic of an embodiment of a consumable chip of the present invention.
FIG. 4 is a schematic block diagram of a controller in data interaction with a ferroelectric memory in an embodiment of a consumable chip of the present invention.
FIG. 5 is a schematic diagram of configuration area memory data of a ferroelectric memory according to an embodiment of the consumable chip of the present invention.
FIG. 6 is a flowchart of an embodiment of a consumable chip data read/write method according to the present invention.
The invention is further described below with reference to the drawings and examples.
Detailed Description
The consumable chip of the invention can be detachably arranged on the consumable container, and the consumable container of the invention can be an ink box arranged on an ink-jet printer or a carbon powder box arranged on a laser printer. The ink cartridge mounted to the ink jet printer will be described below as an example.
Consumable chip embodiment:
the consumable chip of this embodiment has a substrate, a plurality of connection terminals are disposed on the surface of the outer side of the substrate, an integrated circuit module 20 is disposed on the surface of the inner side of the substrate, referring to fig. 3, an analog circuit 21, a digital control logic module 22 and a random access memory 31 are disposed in the integrated circuit module 20, wherein the analog circuit 21 and the digital control logic module 22 form a controller for controlling reading and writing of data.
The consumable chip is further provided with a ferroelectric memory 32, in this embodiment, the ferroelectric memory 32 is disposed outside the integrated circuit module 20, but the ferroelectric memory 32 may be disposed on a substrate, and it is understood that the ferroelectric memory 32 and the integrated circuit module 20 are two different modules disposed on the same circuit board.
The integrated circuit module 20 is further provided with a communication interface 23, and the inkjet printer 40 performs data interaction with the analog circuit 21 through the communication interface 23, for example, issues an instruction to read the data of the random access memory 31, and the like. Further, the serial communication interface 24 is provided in the communication interface 23, and the integrated circuit module 20 performs data interaction with the ferroelectric memory 32 via the serial communication interface 24, so that data writing or reading to or from the ferroelectric memory 32 is performed in a serial manner.
The digital control logic module 22 is provided with a first-in first-out memory (FIFO) 25, and when data is written from the random access memory 31 to the ferroelectric memory 32, the written data is written into the ferroelectric memory 32 through the FIFO 25, i.e., the data is written into the FIFO 25 first and then written into the ferroelectric memory 32 through the FIFO 25.
Since the ferroelectric memory 32 is a nonvolatile memory, i.e. the data will not be lost after power failure, and the random access memory 31 is a volatile memory, i.e. the data will be lost after power failure, in this embodiment, the ferroelectric memory 32 is used to store data, such as the consumable residue, in the power failure state of the consumable chip. Since the data read/write frequency of the random access memory 31 is extremely high, when the inkjet printer 40 reads/writes data, the random access memory 31 is used as a main memory to perform data interaction with the inkjet printer 40.
The ferroelectric memory 32 stores configuration data, operation logic and other data, and since the operation logic and other data are data to be kept secret, if the data to be kept secret are not encrypted, data leakage is likely to occur, which affects the safety of consumable chip operation. For this reason, the ferroelectric memory 32 is divided into two storage areas, referring to fig. 4, the ferroelectric memory 32 is divided into a storage work area 35 and a configuration area 36, wherein the storage work area 35 is used for running data that needs to be encrypted, such as logic, and therefore, the digital control logic module 22 needs to decrypt the data stored in the storage work area 35 through the decryption module 37, and when the digital control logic module 22 writes the data into the storage work area 35, the data needs to be encrypted and then written through the encryption module 38. The encryption module 38 may encrypt the data written to the storage workspace 35 using known encryption algorithms and, accordingly, the decryption module 37 may need to decrypt the data of the storage workspace 35 using corresponding decryption algorithms.
The target data to be written into the ram 31 is data to be stored by encryption, and thus the target data is data to be stored in the storage area 35 by encryption by the encryption module 38. When the ferroelectric memory 32 sends data to the random access memory 31, the data needs to be output to the digital control logic module 22 after passing through the decryption module 37.
Referring to fig. 5, the configuration area 36 is used for configuration data such as analog configuration, digital configuration, encryption configuration, and redundancy data, and the configuration area 36 is a storage area that does not need encryption, so the digital control logic module 22 can directly perform read-write operation on the data in the configuration area 36, and does not need encryption or decryption operation. Specifically, the data stored in the configuration area 36 includes analog configuration (common a bits for storing analog configuration related data), digital configuration (common B bits for storing digital configuration related data), encryption configuration (common C bits for storing keys of the actual encrypted storage work area), redundant data (common D bits for storing random numbers). The data of the ferroelectric memory 32 may be written by means of writing, wherein in the data of the configuration area 36, the redundant data is actually a random number generated randomly, and the analog configuration is a configuration value obtained by adjusting according to the process, voltage and temperature deviation of the actual ferroelectric memory 32, and each ferroelectric memory may not be identical. The digital configuration is used to store the digital configuration and the encryption configuration of each ferroelectric memory 32 may be the same. As shown in fig. 5, the different configuration information is stored in different areas. Although the data of the encryption configuration of each ferroelectric memory is the same, the security of data storage can be increased by disturbing the ordering of each data after adding redundant random numbers, analog configuration and digital configuration. By increasing the number of bits of the redundancy random number D, the data set arrangement of the configuration region 36 is more unordered. The digital control logic module 22 reads the data of the configuration area 36 as a whole, recognizes the data of each area, and reorders the data to obtain the effective data of the configuration area 36. It can be seen that, in this embodiment, the data security of the configuration area 36 can be improved by adding redundant data and improving the difficulty of cracking the data in an out-of-order manner, especially improving the difficulty of cracking the key data.
The embodiment of the data reading and writing method of the consumable chip comprises the following steps:
the following describes a data reading and writing method of the consumable chip with reference to fig. 6. Before the ink box is firstly installed in the ink-jet printer, initial data of the consumable chip, such as consumable allowance and the like, are written into the ferroelectric memory in a burning mode. When the consumable chip is powered on for the first time, step S1 is executed to write the data stored in the ferroelectric memory into the random access memory. For example, data of the ferroelectric memory is read into the random access memory through the serial communication interface. When the ink jet printer reads data, the ink jet printer sends an address of the data to be read to the controller, and the controller acquires corresponding data from the random access memory according to the address of the read data and sends the acquired data to the ink jet printer.
Then, step S2 is performed to determine whether the inkjet printer issues an instruction to write target data. When the ink-jet printer needs to rewrite the data of the random access memory, the storage address of the target data to be rewritten and the specific numerical value of the target data are written into the consumable chip. If the ink jet printer does not write the target data to the consumable chip, it continues waiting. If the ink jet printer writes target data to the consumable chip, the ink jet printer 40 writes the data to the random access memory 31 through the communication interface 23, the random access memory 31 further performs step S3, and writes the received target data to the ferroelectric memory 32.
Since the speed at which the inkjet printer 40 writes the target data to the random access memory 31 is different from the speed at which the inkjet printer 40 writes the data to the ferroelectric memory 32, if the target data is directly written from the inkjet printer 40 to the ferroelectric memory 32, there is a possibility that the data writing speed directly written to the ferroelectric memory 32 is too fast or too slow, resulting in a problem of inaccurate data writing. Therefore, in the present embodiment, the consumable chip realizes writing of target data from the random access memory 31 to the ferroelectric memory 32 through the first-in first-out memory 25. Specifically, step S4 is performed, and the digital control logic module 22 acquires the storage address of the target data written from the inkjet printer 40 to the random access memory 31, and sends the address of the target data and the corresponding data to the ferroelectric memory 32 through the serial communication interface 24 via the first-in first-out memory 25. Since the FIFO memory 25 can adjust the data writing speed according to the read-write speed of the ferroelectric memory 32, the problem that the data cannot be written accurately due to the mismatch of the read-write data is avoided.
Since writing a large amount of data to the fifo 25 in a short time is likely to cause data overflow of the fifo 25, the present embodiment needs to perform anti-overflow judgment and anti-overflow operation. Specifically, step S5 is required to be performed, and it is determined whether the amount of data stored in the fifo 25 exceeds a preset threshold, for example, the preset threshold is 80% of the capacity of the fifo 25, if the preset threshold is not exceeded, step S7 is performed, and if the preset threshold is exceeded, it means that the fifo 25 will overflow, and the anti-overflow operation is required to be performed, that is, step S6 is performed.
Specifically, the anti-overflow operation may be performed in a variety of ways: the first way is to increase the speed of writing data into the ferroelectric memory by the fifo memory, for example, to increase the read/write frequency of the ferroelectric memory. Thus, the ferroelectric memory can write data at a higher speed, a large amount of data can be written into the ferroelectric memory as soon as possible, and the problem of overflow of the data in the first-in first-out memory can be effectively avoided.
The second way is to write the target data into a preset buffer area and then write the data of the buffer area into the ferroelectric memory. For example, a buffer is defined in the random access memory, and the data to be written into the fifo is stored in the buffer in advance, so that writing of a large amount of target data into the fifo in a short time is avoided.
In the third method, if target data which has not been written into the ferroelectric memory is rewritten again, the first-in first-out memory directly writes the rewritten data into the ferroelectric memory. For example, if the ink jet printer 40 needs to continuously rewrite data at a certain address in the random access memory, the fifo memory should need to write data at that address. In the anti-overflow operation, for the target data which has not been written to the ferroelectric memory, if the data of the address is rewritten again, the data before the rewriting is not written to the ferroelectric memory, but the latest data is directly written to the ferroelectric memory, that is, the last received data is directly written, thereby reducing the amount of data required to be stored in the first-in first-out memory. Furthermore, since the fifo memory also needs to include data heads each time data is written to the ferroelectric memory, these data heads actually occupy a certain memory space. The number of times of writing data into the ferroelectric memory is reduced, the number of data heads stored can be reduced, and the overflow of the first-in first-out memory can be further effectively prevented.
Finally, step S7 is executed to determine whether the target data is completely written into the ferroelectric memory, and if not, step S3 is executed again to continue writing the target data into the fifo memory 25, and the target data is written into the ferroelectric memory through the fifo memory.
Because the random access memory is arranged in the integrated circuit module, the data reading and writing speed of the random access memory is high, and the requirement of high-speed data reading and writing of the ink-jet printer can be met. In addition, the integrated circuit module is not internally provided with the integrated ferroelectric memory, so that the production process difficulty of the integrated circuit module can be reduced, and the production cost of consumable chips is reduced. In addition, in order to avoid the problem that data cannot be accurately written because the data read-write speeds of the ink-jet printer to the random access memory and the ferroelectric memory are inconsistent, the problem can be effectively solved by providing a first-in first-out memory.
And the target data is stored through the ferroelectric memory, the target data cannot be lost after the consumable chip is powered off, the last stored data can be read from the ferroelectric memory when the consumable chip is powered on next time, and high-speed communication between the consumable chip and the ink-jet printer is realized under the condition that the consumable chip is not provided with a battery or a large capacitor and the like.
Consumable container embodiment:
the present embodiment may be an ink cartridge or a toner cartridge, and the consumable container includes a housing forming a consumable accommodating chamber for accommodating printing consumables such as ink or toner. And the consumable chip is arranged on the side wall of the shell.
Finally, it should be emphasized that the invention is not limited to the above-described embodiments, for example, variations in the data stored in the ferroelectric memory configuration area, or variations in the internal structure of the consumable chip, which are also intended to be included in the scope of the claims.

Claims (9)

1. Consumable chip, comprising:
the integrated circuit comprises a substrate, wherein an integrated circuit module is arranged on the substrate, and a controller and a random access memory are arranged in the integrated circuit module;
the method is characterized in that:
the substrate is also provided with a ferroelectric memory, and the ferroelectric memory is arranged outside the integrated circuit module;
the integrated circuit module is also provided with a first-in first-out memory, and the controller stores target data written into the random access memory into the first-in first-out memory and writes the target data into the ferroelectric memory through the first-in first-out memory;
the ferroelectric memory comprises a storage working area and a configuration area, wherein the storage working area is an encryption memory, the configuration area is a non-encryption storage area, the configuration area comprises analog configuration, digital configuration, encryption configuration and redundant data, and the analog configuration, the digital configuration, the encryption configuration and the redundant data are ordered in disorder in the configuration area.
2. The consumable chip of claim 1, wherein:
the integrated circuit module is also provided with a serial communication interface through which the first-in first-out memory writes the target data to the ferroelectric memory.
3. The data reading and writing method of the consumable chip is characterized by comprising the following steps of:
the integrated circuit module of the consumable chip writes initial data in a ferroelectric memory arranged outside the integrated circuit module into a random access memory in the integrated circuit module;
acquiring target data written into the random access memory, writing the target data into a first-in first-out memory of the integrated circuit module, and writing the target data into the ferroelectric memory through the first-in first-out memory;
the ferroelectric memory comprises a storage working area and a configuration area, wherein the storage working area is an encryption memory, the configuration area is a non-encryption storage area, the configuration area comprises analog configuration, digital configuration, encryption configuration and redundant data, and the analog configuration, the digital configuration, the encryption configuration and the redundant data are ordered in disorder in the configuration area.
4. A method of reading and writing data from and to a consumable chip according to claim 3, wherein:
after obtaining the target data written into the random access memory, further executing:
and judging whether the data quantity stored in the first-in first-out memory exceeds a preset threshold value, if so, executing anti-overflow operation.
5. The method for reading and writing data of consumable chips according to claim 4, wherein:
the anti-overflow operation includes:
the speed of writing data into the ferroelectric memory by the first-in first-out memory is increased.
6. The method for reading and writing data of consumable chips according to claim 5, wherein:
the speed up of writing data from the first-in first-out memory to the ferroelectric memory includes: and improving the read-write frequency of the ferroelectric memory.
7. The method for reading and writing data of consumable chips according to claim 4, wherein:
the anti-overflow operation includes:
and writing the target data into a preset buffer area, and writing the data of the buffer area into the ferroelectric memory.
8. The method for reading and writing data of consumable chips according to claim 4, wherein:
the anti-overflow operation includes:
if the target data which has not been written into the ferroelectric memory is rewritten again, the first-in first-out memory directly writes the rewritten data into the ferroelectric memory.
9. A consumable container comprising:
a housing forming a consumable accommodation chamber;
the method is characterized in that:
the consumable chip as claimed in claim 1 or 2 is arranged on the side wall of the shell.
CN202210737925.9A 2022-06-27 2022-06-27 Consumable chip, data reading and writing method thereof and consumable container Active CN114987058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210737925.9A CN114987058B (en) 2022-06-27 2022-06-27 Consumable chip, data reading and writing method thereof and consumable container

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210737925.9A CN114987058B (en) 2022-06-27 2022-06-27 Consumable chip, data reading and writing method thereof and consumable container

Publications (2)

Publication Number Publication Date
CN114987058A CN114987058A (en) 2022-09-02
CN114987058B true CN114987058B (en) 2023-05-02

Family

ID=83036359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210737925.9A Active CN114987058B (en) 2022-06-27 2022-06-27 Consumable chip, data reading and writing method thereof and consumable container

Country Status (1)

Country Link
CN (1) CN114987058B (en)

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007299142A (en) * 2006-04-28 2007-11-15 Matsushita Electric Ind Co Ltd Memory controller, nonvolatile storage device, nonvolatile storage system, and method for writing data
JP2009163843A (en) * 2008-01-09 2009-07-23 Panasonic Corp Semiconductor memory device and its manufacturing method
CN102152641A (en) * 2010-12-03 2011-08-17 珠海天威技术开发有限公司 Consumable chip and consumable container
TWI451439B (en) * 2010-12-10 2014-09-01 Phison Electronics Corp Memory storage device, memory controller thereof, and method for programming data thereof
CN102166886B (en) * 2011-05-05 2013-04-24 珠海天威技术开发有限公司 Consumable chip, data read-write method thereof and consumable container
CN102218928A (en) * 2011-05-13 2011-10-19 珠海天威技术开发有限公司 Programmable chip and upgrading method thereof
CN102320192A (en) * 2011-08-12 2012-01-18 珠海天威技术开发有限公司 Consumable chip, consumable container and charging method for power accumulation unit of consumable chip
CN103302988B (en) * 2012-03-06 2016-04-06 珠海天威技术开发有限公司 Storage chip and method for managing power supply, consumable container, imaging device
TWI479359B (en) * 2013-08-01 2015-04-01 Phison Electronics Corp Command executing method, memory controller and memory storage apparatus
CN104461397A (en) * 2014-12-19 2015-03-25 上海新储集成电路有限公司 Solid-state drive and read-write method thereof
CN204398528U (en) * 2015-01-13 2015-06-17 珠海天威技术开发有限公司 Consumable chip, print cartridge, handle box, ink-jet printer and laser printer
CN109741777A (en) * 2018-12-28 2019-05-10 上海新储集成电路有限公司 A kind of memory for improving speed and keeping data time
CN110309015A (en) * 2019-03-25 2019-10-08 深圳市德名利电子有限公司 A kind of method for writing data and device and equipment based on Ssd apparatus
FR3107971B1 (en) * 2020-03-03 2022-02-18 St Microelectronics Rousset Method for writing data into a memory of a contactless transponder, and corresponding contactless transponder device.
CN113485647A (en) * 2021-07-13 2021-10-08 湖南国科微电子股份有限公司 Data writing method, data reading method and first-in first-out memory

Also Published As

Publication number Publication date
CN114987058A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
TWI613535B (en) Printing material cartridge
KR100521072B1 (en) Ink cartridge
US7503632B2 (en) Head substrate having data memory, printing head, printing apparatus and producing method therefor
US8205976B2 (en) Partition map
CN203557847U (en) Memory group, consumables chip, consumables chip group and imaging box
DE69936035D1 (en) Printer with assigned ink cartridge
US11148429B2 (en) Printing material cartridge
US20210354474A1 (en) Printing consumable and ink cartridge
CN102394111B (en) The method of testing of consumable chip
CN102381036B (en) Consumable chip, consumable container and data writing method for consumable chip
CN101204884A (en) Chip, ink stone and manufacture method of ink stone
CN114987058B (en) Consumable chip, data reading and writing method thereof and consumable container
JP4266460B2 (en) Head substrate, print head, printing apparatus
CN102371786B (en) Storage device, circuit board, liquid reservoir and system
CN102831930B (en) Consumable chip, consumable container and data writing method for the consumable chip
JP2002127460A (en) Cartridge for printer and printer
JP2012190229A (en) Storage device, circuit board, liquid container, and restoring method for storage device
JP2019034455A (en) Image formation apparatus, management method for consumable supply, and program
JP2005177993A (en) Printing apparatus, printing agent storing container for the apparatus, and printing system
JP2014059713A (en) Information processor and repair method therefor
JP2008001110A (en) Cartridge for printer and printer
CN114407534A (en) Ink cartridge chip electronic card
JP2021053932A (en) Printer, control method of the same and program
KR19980060841U (en) Memory management device
JP2013090067A (en) Recording device and operation method of the same when power is supplied

Legal Events

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

Address after: 519060 area 14-16, 24, 2nd floor, No.2 factory building, No.32, Pingbei 1st Road, Nanping Science and Technology Industrial Park, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Tianwei Microelectronics Co.,Ltd.

Country or region after: China

Address before: 519060 area 14-16, 24, 2nd floor, No.2 factory building, No.32, Pingbei 1st Road, Nanping Science and Technology Industrial Park, Zhuhai City, Guangdong Province

Patentee before: PRINT RITE TECHNOLOGY DEVELOPMENT Co.,Ltd. OF ZHUHAI

Country or region before: China