CN109532236B - Data storage method of consumable chip, consumable chip and consumable - Google Patents

Data storage method of consumable chip, consumable chip and consumable Download PDF

Info

Publication number
CN109532236B
CN109532236B CN201811531760.XA CN201811531760A CN109532236B CN 109532236 B CN109532236 B CN 109532236B CN 201811531760 A CN201811531760 A CN 201811531760A CN 109532236 B CN109532236 B CN 109532236B
Authority
CN
China
Prior art keywords
data
consumable
chip
volatile memory
printer
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
CN201811531760.XA
Other languages
Chinese (zh)
Other versions
CN109532236A (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 CN201811531760.XA priority Critical patent/CN109532236B/en
Publication of CN109532236A publication Critical patent/CN109532236A/en
Application granted granted Critical
Publication of CN109532236B publication Critical patent/CN109532236B/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
    • B41J2/17543Cartridge presence detection or type identification
    • B41J2/17546Cartridge presence detection or type identification electronically

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Ink Jet (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

The invention provides a data storage method of a consumable chip, the consumable chip and a consumable. The consumable chip is provided with a nonvolatile memory and a volatile memory, wherein initial data are stored in the nonvolatile memory, and the initial data comprise authentication data and consumable initial recording data; the volatile memory is used for storing consumable use record data, and the method comprises the following steps: receiving an operation instruction sent by a printer; judging the instruction type of the operation instruction; if the operation instruction is a write-in instruction, judging whether the written-in data is consumable use record data or not, and if so, storing the written-in data in a volatile memory; otherwise the written data is stored in the non-volatile memory. Or if the operation instruction is a write-in instruction, storing the written-in data in a volatile memory, and judging whether the written-in data is consumable use record data, if so, not changing the data storage position; otherwise, other data written into the volatile memory is moved to the nonvolatile memory.

Description

Data storage method of consumable chip, consumable chip and consumable
Technical Field
The invention relates to the technical field of printing and imaging, in particular to a data storage method of a consumable chip, the consumable chip and a consumable.
Background
With the spread of office automation, printing apparatuses have been indispensable apparatuses in office activities, and consumables such as ink cartridges are required in the printing process. At present, the consumable generally uses a chip as a medium for storing data, and the chip is provided with a nonvolatile memory; after the nonvolatile memory is powered down, the stored data cannot be lost. During use of the consumable, the printer writes unique data (e.g., printer ID, customer data, consumable usage record data, etc.) into the consumable chip, which stores the data in non-volatile memory.
After the printer is installed into to the consumptive material, if the printer breaks down, when the customer wanted to install the consumptive material on other printers use this moment, because the consumptive material has carried out communication with the printer, so this consumptive material chip can save used printer ID, and printer ID is unique for every printer, and this leads to other printers when communicating with this used consumptive material, the unmatched phenomenon of ID appears, leads to this consumptive material of unable normal use once more. And, after the printer uses when the consumptive material is installed in the printer for a period of time, if the printer breaks down, when the customer wants to install the consumptive material on other printers and use, because the consumptive material chip is write in the relevant service data of consumptive material (such as printing consumptive material consumption, consumptive material installation sign etc.), lead to the consumptive material to change other printers after, the printer detects above-mentioned relevant service data, thinks that this consumptive material has been used, can not reuse. In addition, when the consumable is used, the consumable chip stores the unique data, and after the consumable of the customer is recovered, the customer data stored on the chip can be maliciously read, so that the data leakage is caused.
The occurrence of the use fault causes that the unused consumables can not be used again, thereby causing the waste of resources; in addition, there is a risk of leakage of customer data after use of the consumable.
Disclosure of Invention
The data storage method of the consumable chip, the consumable chip and the consumable provided by the invention can ensure that when the printer fails, the unused consumable can be reused, and the waste of resources can not be caused; in addition, the data on the consumable chip can be prevented from being maliciously read after the consumable is used, and leakage of customer data is avoided.
In a first aspect, the present invention provides a data storage method for a consumable chip, the consumable chip having a nonvolatile memory and a volatile memory, the nonvolatile memory storing therein initial data, the initial data including authentication data and consumable initial record data, the volatile memory storing consumable usage record data, the method comprising:
receiving an operation instruction sent by a printer;
judging the instruction type of the received operation instruction;
if the operation instruction is judged to be an authentication instruction, transmitting authentication data in the nonvolatile memory to a printer;
if the operation instruction is judged to be a reading instruction, sending the data in the nonvolatile memory or the volatile memory to a printer;
if the operation instruction is judged to be a writing instruction, storing written data in the nonvolatile memory or the volatile memory;
the storing the written data in the non-volatile memory or the volatile memory comprises:
judging whether the written data is consumable use record data or not, and if the written data is consumable use record data, storing the written data in the volatile memory; and if the consumable use record data is not the consumable use record data, storing the written other data in the nonvolatile memory.
Optionally, the nonvolatile memory includes a read-only storage area and a read-write storage area, the read-only storage area is used for storing consumable chip authentication data, the read-write storage area is used for storing consumable initial record data and other data, and the consumable initial record data includes one or more of the following data: printer ID, consumable installation date, customer data, consumable consumption and consumable exhaustion identification, and the other data comprises chip erasing times.
Optionally, the sending data in the nonvolatile memory or the volatile memory to a printer includes: and sending the initial data in the nonvolatile memory to a printer.
Optionally, the storing the written data in the nonvolatile memory includes: and writing the other data into the read-write storage area of the nonvolatile memory.
Optionally, sending the data in the non-volatile memory or the volatile memory to a printer comprises:
judging whether the read data is consumable use record data or not;
if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer;
if the data is not consumable use record data, judging whether the read data is chip initial data;
if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer;
if the data is not the initial data of the chip, judging whether the read data is other data of the chip;
and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
In a second aspect, the present invention provides another data storage method for a consumable chip, the consumable chip having a nonvolatile memory and a volatile memory, the nonvolatile memory storing therein initial data, the initial data including authentication data and consumable initial record data, the volatile memory storing consumable usage record data, the method comprising:
receiving an operation instruction sent by a printer;
judging the instruction type of the received operation instruction;
if the operation instruction is judged to be an authentication instruction, transmitting authentication data in the nonvolatile memory to a printer;
if the operation instruction is judged to be a reading instruction, sending the data in the nonvolatile memory or the volatile memory to a printer;
if the operation instruction is judged to be a writing instruction, storing written data in the volatile memory;
the method further comprises the following steps: after the written data is stored in the volatile memory, judging whether the written data is consumable use record data or not, and if the written data is consumable use record data, not changing the data storage position; and if the consumable use record data is not the consumable use record data, carrying other data written into the volatile memory to the nonvolatile memory.
Optionally, the sending data in the nonvolatile memory or the volatile memory to a printer includes:
judging whether the read data is consumable use record data or not;
if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer;
if the data is not consumable use record data, judging whether the read data is chip initial data;
if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer;
if the data is not the initial data of the chip, judging whether the read data is other data of the chip;
and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
In a third aspect, the present invention provides a consumable chip, the consumable chip having a nonvolatile memory and a volatile memory, the nonvolatile memory storing therein initial data, the initial data including authentication data and consumable initial record data, the volatile memory storing consumable usage record data, the consumable chip comprising:
the first receiving unit is used for receiving an operation instruction sent by the printer;
the first judging unit is used for judging the instruction type of the received operation instruction;
a first sending unit, configured to send the authentication data in the nonvolatile memory to a printer when the first judging unit judges that the operation instruction is an authentication instruction;
a second sending unit, configured to send data in the nonvolatile memory or the volatile memory to a printer when the first determining unit determines that the operation instruction is a read instruction;
a first writing unit configured to store written data in the nonvolatile memory or the volatile memory when the first determination unit determines that the operation instruction is a writing instruction;
the first writing unit includes:
the first judgment module is used for judging whether the written data is consumable use record data or not;
the first writing module is used for storing the written data in the volatile memory when the first judging module judges that the written data is consumable use record data;
and the second writing module is used for storing other written data in the nonvolatile memory when the first judging module judges that the written data is not consumable use record data.
Optionally, the nonvolatile memory includes a read-only storage area and a read-write storage area, the read-only storage area is used for storing consumable chip authentication data, the read-write storage area is used for storing consumable initial record data and other data, and the consumable initial record data includes one or more of the following data: printer ID, consumable installation date, customer data, consumable consumption and consumable exhaustion identification, and the other data comprises chip erasing times.
Optionally, the second writing module is configured to write the other data into a read-write storage area of the nonvolatile memory.
Optionally, the second sending unit is configured to determine whether the read data is consumable usage record data, and if the read data is consumable usage record data, send the data stored in the volatile memory to a printer; if the data is not consumable use record data, judging whether the read data is chip initial data; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
In a fourth aspect, the present invention provides another consumable chip, the consumable chip has a nonvolatile memory and a volatile memory, the nonvolatile memory stores initial data, the initial data includes authentication data and consumable initial record data, the volatile memory stores consumable usage record data, and the consumable chip includes:
the second receiving unit is used for receiving the operation instruction sent by the printer;
the second judging unit is used for judging the instruction type of the received operation instruction;
a third transmission unit configured to transmit the authentication data in the nonvolatile memory to a printer when the second determination unit determines that the operation instruction is an authentication instruction;
a fourth sending unit configured to send data in the nonvolatile memory or the volatile memory to a printer when the second determination unit determines that the operation instruction is a read instruction;
a second writing unit configured to store the written data in the volatile memory when the second determination unit determines that the operation instruction is a write instruction;
the consumable chip further comprises:
the data handling unit is used for judging whether the written data are consumable use record data or not after the second writing unit stores the written data in the volatile memory, and if the written data are consumable use record data, the position of data storage is not changed; and if the consumable use record data is not the consumable use record data, carrying other data written into the volatile memory to the nonvolatile memory.
Optionally, the fourth sending unit is configured to determine whether the read data is consumable usage record data; if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer; if the data is not consumable use record data, judging whether the read data is chip initial data; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
In a fifth aspect, the invention provides a consumable comprising a consumable chip according to the third aspect described above.
In a sixth aspect, the invention provides a consumable comprising a consumable chip according to the fourth aspect above.
According to the data storage method of the consumable chip, the consumable chip and the consumable, initial data are stored in the nonvolatile memory on the consumable chip, the volatile memory is used for storing consumable use record data, when the consumable is installed in a printer, the consumable is successfully communicated with the printer and is normally used, when the printer needs to be powered off or the printer fails, the consumable needs to be taken out, after the chip is powered off, data stored in the volatile memory of the chip is automatically lost, and the consumable chip does not store any consumable use record data; therefore, after the consumable communicates with the printer, when the printer breaks down, the consumable can be installed on the same repaired printer or other printers for use, and resource waste is avoided. In addition, because the consumable chip does not store customer data every time of use, when the ink/carbon powder in the consumable is consumed, the consumable is discarded, the leakage of the customer data can not be caused, and the data on the consumable chip is prevented from being read maliciously; in addition, because the erasing times of one chip are limited, the data written into the volatile memory is selectively moved to the read-write storage area of the nonvolatile memory, the erasing times can be recorded into the nonvolatile memory, and the management of the service life of the chip is facilitated.
Drawings
FIG. 1 is a schematic diagram illustrating a consumable chip 10 according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the nonvolatile memory 12 of FIG. 1;
FIG. 3 is a flowchart illustrating a data storage method of a consumable chip according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a data storage method for a consumable chip according to another embodiment of the present invention;
fig. 5 is a detailed flowchart of step S07 in fig. 4;
fig. 6 is a detailed flowchart of step S09 in fig. 4;
FIG. 7 is a flowchart illustrating a data storage method for a consumable chip according to still another embodiment of the present invention;
fig. 8 is a detailed flowchart of step S07 in fig. 7;
FIG. 9 is a schematic structural diagram of a consumable chip according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a consumable chip according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Detailed description of the preferred embodiment
As shown in fig. 1, a consumable chip 10 includes a controller 11, a nonvolatile memory 12, and a volatile memory 13. The controller 11 is used for judging and controlling data written into the consumable chip 10 and storing different data in the nonvolatile memory 12 or the volatile memory 13; the volatile memory 13 is used for storing consumable use record data.
As shown in fig. 2, the nonvolatile memory 12 stores initial data, which is stored in the read-only memory area 121 and the read-write memory area 122. The read-only memory area 121 can only read data and has a storage unit 1211, and the data stored in the storage unit 1211 can be consumable chip authentication data and the like; the read-write storage area 122 can read and write data, and has a storage unit 1221, and the data stored in the storage unit 1221 may be consumable initial record data such as a printer ID, a consumable installation date, customer data, consumable consumption, a consumable exhaustion identifier, or other data such as the number of times of opening and closing a printer, the number of times of erasing and writing a chip, and the like.
As shown in fig. 3, the data storage method of the consumable chip specifically includes the following steps:
in step S01, the consumable chip receives the command sent by the printer.
After the consumable is installed to the printer, the printer sends an instruction to the consumable chip, the printer starts to communicate with the consumable chip, and the chip receives the instruction of the printer.
Step S02, after the consumable chip receives the instruction, the controller of the consumable chip judges the type of the received instruction, and the instruction comprises an authentication instruction, a reading instruction and a writing instruction.
And step S03, after the consumable chip judges what type the received command is, executing the corresponding command according to the judged command type.
If the controller of the consumable chip judges that the received command is an authentication command, the authentication data on the nonvolatile memory of the consumable chip is sent to the printer; if the controller of the consumable chip judges that the received instruction is a reading instruction, data on a volatile memory or a nonvolatile memory on the consumable chip are sent to a printer; and if the controller of the consumable chip judges that the received command is a writing command, storing the written data in a volatile memory or a nonvolatile memory. And finishing the current flow after executing the corresponding instruction.
After the consumable is installed on the printer, the consumable normally works, the consumable chip is in a normal working state, and when the consumable fails to power, the data sent by the printer, which is received and stored by the volatile memory on the consumable chip, is automatically lost, and the current flow is finished.
Detailed description of the invention
The embodiment provides a more specific data storage method of consumable chips installed on printing consumables.
As shown in fig. 4, the data storage method of the consumable chip specifically includes the following steps:
in step S01, the consumable chip receives the command sent by the printer.
After the consumable is installed to the printer, the printer sends an instruction to the consumable chip, the printer starts to communicate with the consumable chip, and the chip receives the instruction of the printer.
Step S02, after the consumable chip receives the instruction, the controller of the consumable chip judges whether the received instruction is an authentication instruction, if so, the step S03 is executed; if not, step S04 is executed.
Step S03, the controller of the consumable chip sends the authentication data in the non-volatile memory to the printer, and the current flow is ended.
Step S04, the controller of the consumable chip continuously judges whether the received command is a reading command, if so, the controller executes step S05; if not, step S06 is executed.
Step S05, the controller of the consumable chip sends the initial data in the non-volatile memory to the printer, and the current flow is ended.
Step S06, the controller of the consumable chip continuously judges whether the received command is a write command, if the command is the write command, the step S07 is executed; if not, the current flow is ended.
In step S07, the controller of the consumable chip stores the data written by the printer in the memory of the chip.
Step S08, when the consumable chip receives the command sent by the printer again, the controller of the consumable chip judges whether the command is a reading command, if the command is the reading command, the step S09 is executed; if not, the current flow is ended.
And step S09, sending the data in the consumable chip to the printer, and ending the current flow.
Further, as shown in fig. 5, the step S07 specifically includes the following steps:
step S071, the controller of the consumable chip judges whether the written data is consumable use record data, if yes, step S072 is executed; if it is not the consumable use record data, step S073 is executed.
Step S072 stores the data written by the printer in the volatile memory, and then executes step S08.
Step S073, the data written by the printer is stored in the read-write storage area of the nonvolatile memory, and then step S08 is executed.
Further, as shown in fig. 6, the step S09 specifically includes the following steps:
step S091, the controller of the consumable chip judges whether the read data is consumable use record data, and if yes, step S092 is executed; if it is not the consumable use record data, step S093 is executed.
And step S092, the controller of the consumable chip sends the data stored in the volatile memory to the printer, and the current process is ended.
Step S093, the controller of the consumable chip continuously determines whether the read data is chip initial data, and if the read data is chip initial data, step S094 is executed; if not, step S095 is performed.
And step S094, the controller of the consumable chip sends the initial data in the nonvolatile memory to the printer, and the current process is ended.
Step S095, the controller of the consumable chip continuously determines whether the read data is other data of the chip, and if the read data is other data of the chip, step S096 is executed; if the data is not other data of the chip, the current flow is ended.
And step S096, the controller of the consumable chip sends other data in the read-write storage area of the nonvolatile memory to the printer, and the current process is ended.
After the consumable is installed on the printer, the consumable normally works, the consumable chip is in a normal working state, and when the consumable fails to power, the data sent by the printer, which is received and stored by the volatile memory on the consumable chip, is automatically lost, and the current flow is finished.
Detailed description of the preferred embodiment
The embodiment provides a data storage method of a consumable chip installed on a printing consumable.
As shown in fig. 7, the data storage method of the consumable chip specifically includes the following steps:
steps S01-S06 are the same as steps S01-S06 in FIG. 4 of the second embodiment.
In step S07, the controller of the consumable chip stores the data written by the printer in the volatile memory of the chip.
Step S08, when the consumable chip receives the command sent by the printer again, the controller of the consumable chip judges whether the command is a reading command, if the command is the reading command, the step S09 is executed; if not, the current flow is ended.
Step S09 is the same as step S09 in fig. 6 of the second embodiment.
Further, as shown in fig. 8, the step S07 specifically includes the following steps:
step S071, the controller of the consumable chip judges whether the written data is consumable use record data, if yes, step S072 is executed; if it is not the consumable use record data, step S073 is executed.
Step S072, the controller of the consumable chip does not change the location of the written data, and then step S08 is performed.
Step S073, the data written by the printer is moved to the read/write storage area of the nonvolatile memory, and then step S08 is executed.
According to the data storage method of the consumable chip provided by the embodiment of the invention, initial data is stored in the nonvolatile memory on the consumable chip, the volatile memory is used for storing consumable use record data, when the consumable is installed in a printer, the consumable is successfully communicated with the printer and is normally used, when the printer power supply needs to be turned off or the printer fails, the consumable needs to be taken out, after the chip is powered off, the data stored in the volatile memory of the chip is automatically lost, and the consumable chip does not store any consumable use record data; therefore, after the consumable communicates with the printer, when the printer breaks down, the consumable can be installed on the same repaired printer or other printers for use, and resource waste is avoided. In addition, because the consumable chip does not store customer data every time of use, when the ink/carbon powder in the consumable is consumed, the consumable is discarded, the leakage of the customer data can not be caused, and the data on the consumable chip is prevented from being read maliciously; in addition, because the erasing times of one chip are limited, the data written into the volatile memory is selectively moved to the read-write storage area of the nonvolatile memory, the erasing times can be recorded into the nonvolatile memory, and the management of the service life of the chip is facilitated.
An embodiment of the present invention further provides a consumable chip, where the consumable chip has a nonvolatile memory and a volatile memory, the nonvolatile memory stores initial data, the initial data includes authentication data and consumable initial record data, the volatile memory is used to store consumable usage record data, and as shown in fig. 9, the consumable chip includes:
a first receiving unit 11, configured to receive an operation instruction sent by a printer;
a first judgment unit 12 for judging the instruction type of the received operation instruction;
a first sending unit 13 configured to send the authentication data in the nonvolatile memory to a printer when the first judging unit 12 judges that the operation instruction is an authentication instruction;
a second sending unit 14, configured to send data in the nonvolatile memory or the volatile memory to a printer when the first judging unit 12 judges that the operation instruction is a read instruction;
a first writing unit 15 configured to store the written data in the nonvolatile memory or the volatile memory when the first judging unit 12 judges that the operation instruction is a writing instruction;
the first writing unit 15 includes:
a first judging module 151, configured to judge whether the written data is consumable usage record data;
a first writing module 152, configured to store the written data in the volatile memory when the first determining module 151 determines that the written data is consumable use record data;
a second writing module 153, configured to store the written other data in the nonvolatile memory when the first determining module 151 determines that the written data is not consumable use record data.
Optionally, the nonvolatile memory includes a read-only storage area and a read-write storage area, the read-only storage area is used for storing consumable chip authentication data, the read-write storage area is used for storing consumable initial record data and other data, and the consumable initial record data includes one or more of the following data: printer ID, consumable installation date, customer data, consumable consumption amount and consumable exhaustion identification; the other data comprises one or more of the following: the cover opening and closing times of the printer and the erasing and writing times of the chip.
Optionally, the second writing module 153 is configured to write the other data into a read-write storage area of the nonvolatile memory.
Optionally, the second sending unit 14 is configured to determine whether the read data is consumable usage record data, and if the read data is consumable usage record data, send the data stored in the volatile memory to the printer; if the data is not consumable use record data, judging whether the read data is chip initial data; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
An embodiment of the present invention further provides another consumable chip, where the consumable chip has a nonvolatile memory and a volatile memory, the nonvolatile memory stores initial data, the initial data includes authentication data and consumable initial record data, the volatile memory is used to store consumable usage record data, and as shown in fig. 10, the consumable chip includes:
a second receiving unit 21 configured to receive an operation instruction sent by the printer;
a second judgment unit 22, configured to judge an instruction type of the received operation instruction;
a third transmitting unit 23 configured to transmit the authentication data in the nonvolatile memory to a printer when the second judging unit 22 judges that the operation instruction is an authentication instruction;
a fourth sending unit 24, configured to send the data in the nonvolatile memory or the volatile memory to a printer when the second judging unit 22 judges that the operation instruction is a read instruction;
a second writing unit 25 configured to store the written data in the volatile memory when the second determination unit 22 determines that the operation instruction is a write instruction;
the consumable chip further comprises:
a data transfer unit 26 configured to determine whether the written data is consumable use record data after the second writing unit 25 stores the written data in the volatile memory, and if the written data is consumable use record data, not change a data storage position; and if the consumable use record data is not the consumable use record data, carrying other data written into the volatile memory to the nonvolatile memory.
Optionally, the fourth sending unit 24 is configured to determine whether the read data is consumable usage record data; if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer; if the data is not consumable use record data, continuously judging whether the read data is chip initial data or not; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, continuously judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
According to the consumable chip provided by the embodiment of the invention, initial data is stored in the nonvolatile memory on the consumable chip, the volatile memory is used for storing consumable use record data, when the consumable is installed in a printer, the consumable is successfully communicated with the printer and is normally used, when the printer needs to be powered off or the printer fails, the consumable needs to be taken out, after the chip is powered off, the data stored in the volatile memory of the chip is automatically lost, and the consumable chip does not store any consumable use record data; therefore, after the consumable communicates with the printer, when the printer breaks down, the consumable can be installed on the same repaired printer or other printers for use, and resource waste is avoided. In addition, because the consumable chip does not store customer data every time of use, when the ink/carbon powder in the consumable is consumed, the consumable is discarded, the leakage of the customer data can not be caused, and the data on the consumable chip is prevented from being read maliciously; in addition, because the erasing times of one chip are limited, the data written into the volatile memory is selectively moved to the read-write storage area of the nonvolatile memory, the erasing times can be recorded into the nonvolatile memory, and the management of the service life of the chip is facilitated.
An embodiment of the present invention further provides a consumable, where the consumable includes the consumable chip in the embodiment corresponding to fig. 9.
An embodiment of the present invention further provides a consumable, where the consumable includes the consumable chip in the embodiment corresponding to fig. 10.
The consumable use record data in the above embodiment may be, but is not limited to, a printer ID, a consumable installation date, customer information, a consumable installed identifier, consumable color verification data, a consumable consumption amount, a consumable exhaustion identifier, and the like.
The other data of the consumable chip in the above embodiments may be all data other than the consumable use record data, such as the number of times of opening and closing the printer, the number of times of erasing and writing the chip, but is not limited thereto.
The nonvolatile Memory in the above embodiments may be a Memory such as a ROM or a Flash Memory, but is not limited thereto. After the power is lost, the stored data can not be lost.
The volatile memory in the above embodiments may be a memory such as a RAM, but is not limited thereto. After the power is lost, the stored data is automatically lost.
The printing consumables in the above embodiments may be an ink cartridge or a liquid container applied to an inkjet printer, and may also be a toner cartridge or a toner cartridge applied to a laser printer, but are not limited thereto.
Those skilled in the art will understand that all or part of the processes in the above method embodiments can be implemented by a computer program to instruct related hardware, for example:
the consumable chip comprises a memory and a processor, wherein the memory is used for storing program instruction codes, and the processor is used for executing the program instruction codes so as to realize the data storage method of the consumable chip in the embodiment; the receiving unit, the judging unit, the transmitting unit, and the writing unit may be virtual devices, and the receiving unit, the judging unit, the transmitting unit, and the writing unit may implement functions of the virtual devices by executing the program instruction codes.
The program may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A data storage method of a consumable chip is provided, wherein the consumable chip is provided with a nonvolatile memory and a volatile memory, initial data is stored in the nonvolatile memory, and the initial data comprises authentication data and consumable initial record data; the volatile memory is used for storing consumable usage record data, and the method comprises the following steps:
receiving an operation instruction sent by a printer;
judging the instruction type of the received operation instruction;
if the operation instruction is judged to be an authentication instruction, transmitting authentication data in the nonvolatile memory to a printer;
if the operation instruction is judged to be a reading instruction, sending the data in the nonvolatile memory or the volatile memory to a printer;
if the operation instruction is judged to be a writing instruction, storing written data in the nonvolatile memory or the volatile memory;
wherein storing the written data in the non-volatile memory or the volatile memory comprises:
judging whether the written data is consumable use record data or not, and if the written data is consumable use record data, storing the written data in the volatile memory; if the consumable use record data is not the consumable use record data, storing the written other data in the nonvolatile memory; the data stored in the volatile memory are automatically lost after the chip is powered off, and at the moment, the consumable chip does not store any consumable use record data.
2. The method according to claim 1, wherein the nonvolatile memory comprises a read-only storage area and a read-write storage area, the read-only storage area is used for storing consumable chip authentication data, the read-write storage area is used for storing consumable initial record data and other data, and the consumable initial record data comprises one or more of the following data: printer ID, consumable installation date, customer data, consumable consumption and consumable exhaustion identification, and the other data comprises chip erasing times.
3. The method of claim 2, wherein sending the data in the non-volatile memory or volatile memory to a printer comprises: and sending the initial data in the nonvolatile memory to a printer.
4. The method of claim 3, wherein storing the written data in the non-volatile memory comprises: and writing the other data into the read-write storage area of the nonvolatile memory.
5. The method of claim 4, wherein sending the data in the non-volatile memory or the volatile memory to a printer comprises:
judging whether the read data is consumable use record data or not;
if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer;
if the data is not consumable use record data, judging whether the read data is chip initial data;
if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer;
if the data is not the initial data of the chip, judging whether the read data is other data of the chip;
and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
6. A data storage method for a consumable chip having a non-volatile memory and a volatile memory, the non-volatile memory having initial data stored therein, the initial data including authentication data and consumable initial record data, the volatile memory being for storing consumable usage record data, the method comprising:
receiving an operation instruction sent by a printer;
judging the instruction type of the received operation instruction;
if the operation instruction is judged to be an authentication instruction, transmitting authentication data in the nonvolatile memory to a printer;
if the operation instruction is judged to be a reading instruction, sending the data in the nonvolatile memory or the volatile memory to a printer;
if the operation instruction is judged to be a writing instruction, storing written data in the volatile memory;
characterized in that the method further comprises: after the written data is stored in the volatile memory, judging whether the written data is consumable use record data or not, and if the written data is consumable use record data, not changing the data storage position; if the data is not consumable use record data, other data written into the volatile memory is moved to the nonvolatile memory; the data stored in the volatile memory are automatically lost after the chip is powered off, and at the moment, the consumable chip does not store any consumable use record data.
7. The method of claim 6, wherein sending the data in the non-volatile memory or volatile memory to a printer comprises:
judging whether the read data is consumable use record data or not;
if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer;
if the data is not consumable use record data, judging whether the read data is chip initial data;
if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer;
if the data is not the initial data of the chip, judging whether the read data is other data of the chip;
and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
8. A consumable chip having a non-volatile memory and a volatile memory, the non-volatile memory having initial data stored therein, the initial data including authentication data and consumable initial record data, the volatile memory for storing consumable usage record data, the consumable chip comprising:
the first receiving unit is used for receiving an operation instruction sent by the printer;
the first judging unit is used for judging the instruction type of the received operation instruction;
a first sending unit, configured to send the authentication data in the nonvolatile memory to a printer when the first judging unit judges that the operation instruction is an authentication instruction;
a second sending unit, configured to send data in the nonvolatile memory or the volatile memory to a printer when the first determining unit determines that the operation instruction is a read instruction;
a first writing unit configured to store written data in the nonvolatile memory or the volatile memory when the first determination unit determines that the operation instruction is a writing instruction;
wherein the first write unit includes: the first judgment module is used for judging whether the written data is consumable use record data or not;
the first writing module is used for storing the written data in the volatile memory when the first judging module judges that the written data is consumable use record data;
the second writing module is used for storing other written data in the nonvolatile memory when the first judging module judges that the written data is not consumable use record data;
the data stored in the volatile memory are automatically lost after the chip is powered off, and at the moment, the consumable chip does not store any consumable use record data.
9. The consumable chip of claim 8, wherein the non-volatile memory comprises a read-only storage area and a read-write storage area, the read-only storage area is used for storing consumable chip authentication data, the read-write storage area is used for storing consumable initial record data and other data, and the consumable initial record data comprises one or more of the following data: printer ID, consumable installation date, customer data, consumable consumption and consumable exhaustion identification, and the other data comprises chip erasing times.
10. The consumable chip of claim 9, wherein the second writing module is configured to write the other data into a read-write storage area of the nonvolatile memory.
11. The consumable chip according to claim 10, wherein the second transmitting unit is configured to determine whether the read data is consumable usage record data, and if the read data is consumable usage record data, transmit the data stored in the volatile memory to a printer; if the data is not consumable use record data, judging whether the read data is chip initial data; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
12. A consumable chip having a non-volatile memory and a volatile memory, the non-volatile memory having initial data stored therein, the initial data including authentication data and consumable initial record data, the volatile memory for storing consumable usage record data, the consumable chip comprising:
the second receiving unit is used for receiving the operation instruction sent by the printer;
the second judging unit is used for judging the instruction type of the received operation instruction;
a third transmission unit configured to transmit the authentication data in the nonvolatile memory to a printer when the second determination unit determines that the operation instruction is an authentication instruction;
a fourth sending unit configured to send data in the nonvolatile memory or the volatile memory to a printer when the second determination unit determines that the operation instruction is a read instruction;
a second writing unit configured to store the written data in the volatile memory when the second determination unit determines that the operation instruction is a write instruction;
it is characterized in that the consumable chip further comprises:
the data handling unit is used for judging whether the written data are consumable use record data or not after the second writing unit stores the written data in the volatile memory, and if the written data are consumable use record data, the position of data storage is not changed; if the data is not consumable use record data, other data written into the volatile memory is moved to the nonvolatile memory; the data stored in the volatile memory are automatically lost after the chip is powered off, and at the moment, the consumable chip does not store any consumable use record data.
13. The consumable chip of claim 12, wherein the fourth sending unit is configured to determine whether the read data is consumable usage record data; if the consumable use record data is consumable use record data, sending the data stored in the volatile memory to a printer; if the data is not consumable use record data, judging whether the read data is chip initial data; if the chip initial data is the chip initial data, the initial data in the nonvolatile memory is sent to a printer; if the data is not the initial data of the chip, judging whether the read data is other data of the chip; and if the data is other data of the chip, sending the other data in the read-write storage area of the nonvolatile memory to a printer, and if not, ending the current process.
14. A consumable, characterized in that it comprises a consumable chip according to any one of claims 8 to 11.
15. A consumable, characterized in that it comprises a consumable chip according to any one of claims 12 to 13.
CN201811531760.XA 2018-12-14 2018-12-14 Data storage method of consumable chip, consumable chip and consumable Active CN109532236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811531760.XA CN109532236B (en) 2018-12-14 2018-12-14 Data storage method of consumable chip, consumable chip and consumable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811531760.XA CN109532236B (en) 2018-12-14 2018-12-14 Data storage method of consumable chip, consumable chip and consumable

Publications (2)

Publication Number Publication Date
CN109532236A CN109532236A (en) 2019-03-29
CN109532236B true CN109532236B (en) 2020-03-03

Family

ID=65856274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811531760.XA Active CN109532236B (en) 2018-12-14 2018-12-14 Data storage method of consumable chip, consumable chip and consumable

Country Status (1)

Country Link
CN (1) CN109532236B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112824105B (en) * 2019-11-20 2021-11-26 珠海艾派克微电子有限公司 Data processing method of consumable chip, consumable and imaging equipment
CN112824977B (en) * 2019-11-20 2022-11-18 珠海艾派克微电子有限公司 Method for detecting consumable chip data and image forming apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5157423A (en) * 1991-05-08 1992-10-20 Cubital Ltd. Apparatus for pattern generation on a dielectric substrate
CN102166886B (en) * 2011-05-05 2013-04-24 珠海天威技术开发有限公司 Consumable chip, data read-write method thereof and consumable container
CN107577560B (en) * 2016-09-23 2021-04-02 珠海艾派克微电子有限公司 Storage medium, data processing method and cartridge chip using the same
JP6469067B2 (en) * 2016-11-18 2019-02-13 キヤノン株式会社 Image forming apparatus

Also Published As

Publication number Publication date
CN109532236A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US11148428B2 (en) Printing material cartridge
CN102117039B (en) Method and device for controlling data writing-in and imaging box chip
CN106956516B (en) A kind of sequence number memory can remove consumable chip, consumptive material, system and application method
CN112192961B (en) Identification data switching method, equipment, consumable chip, consumable box and medium
CN109532236B (en) Data storage method of consumable chip, consumable chip and consumable
CN102501613B (en) Storing device and consumable container
CN104339870B (en) Consumable chip group, imaging cartridge group and information storage means
US11148429B2 (en) Printing material cartridge
US20160170693A1 (en) Method for recording chip usage state information, chip of imaging cartridge and imaging cartridge
KR100635272B1 (en) image forming device, controlling method thereof
CN112824105B (en) Data processing method of consumable chip, consumable and imaging equipment
WO2018086306A1 (en) Chip version switching method, apparatus and system
US10585633B2 (en) Method for recording chip usage state information, chip of imaging cartridge and imaging cartridge
CN104134453A (en) Chip and ink box
US11241884B2 (en) Waste liquid box management method, waste liquid box, printer, and waste liquid box management system
CN111016465B (en) Chip and imaging box
CN103303008A (en) Data access method for printing consumables
JP6063082B2 (en) IC chips, replacement parts and equipment
JP2001199081A (en) System for controlling ink cartridge, printer and ink cartridge
JP2016033827A (en) Ic chip, replacement component and 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

Address after: 519060 1st floor, 3rd floor, 4th floor, 5th floor, 6th floor, 7th floor, 8th floor, building 01, 83 Guangwan street, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: Jihai Microelectronics Co.,Ltd.

Address before: 519060 1st floor, 3rd floor, 4th floor, 5th floor, 6th floor, 7th floor, 8th floor, building 01, 83 Guangwan street, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee before: APEX MICROELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder