Data processing device and method for consumable chip

By designing data processing devices in the consumable chip, including storage modules and communication modules, the problem of data loss of consumable chips when the printer is powered off or the door opening operation is solved, and the data is securely backed up and restored, improving the user experience.

CN119861883APending Publication Date: 2025-04-22ZHONGSHAN YUANSHI MICRO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311374065.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-21
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

When the printer is powered off or the door is opened during the printing process, the data of the original consumable chip is easily lost, resulting in the printer being unable to recognize the consumable chip, affecting the customer's experience.

Method used

A data processing device for consumable chips is designed, including a storage module and a communication module, and the storage module includes a storage circuit, a backup area, a sector and a data transfer area. The storage circuit backs up and restores the data of the sector according to the triggering instructions to ensure that the data is not lost in abnormal situations.

Benefits of technology

Through this device and method, the data loss problem caused by misoperation is solved, the data security and reliability of the consumable chip are ensured, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861883A_ABST
    Figure CN119861883A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing device of a consumable chip. The data processing device comprises a storage module, a processing module and a communication module communicating with imaging equipment, the storage module comprises a backup area, a sector and a data transfer area, and data to be written into the sector and received by the communication module through the imaging equipment is stored in the data transfer area; original data are stored in the sectors, and the original data can be erased and replaced; the processing module is electrically connected with the storage module and the communication module, the storage module is further provided with a storage circuit, and the storage circuit carries out data backup and restoration on the sectors; the backup area is used for storing backup data of the original data. According to the method and the device, the problems of data loss and incapability of using the consumable chip caused by misoperation can be solved, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printer consumables, and in particular to a data processing device and method for a consumable chip. Background Art

[0002] Currently, consumables generally use chips as a medium for consumable information and usage. After the compatible consumables manufacturer analyzes the original consumables chip, the printer reads and writes data on the original consumables chip during the printing process. During this process, the printer power failure or door opening operation will cause the original consumables chip data to be lost, causing the printer to be unable to recognize the original consumables chip, affecting the customer experience.

[0003] Therefore, in order to solve the above problems, a data processing device and method for consumable chips are needed. Summary of the invention

[0004] The present invention discloses a data processing device for a consumable chip, the device comprising a storage module and a communication module for communicating with an imaging device, wherein:

[0005] The storage module includes a storage circuit, a backup area, a sector and a data transfer area. The data transfer area stores the data to be written into the sector received by the communication module via the imaging device; the sector stores the original data, which can be erased and replaced; the storage circuit backs up and restores the data of the sector; the backup area is used to store the backup data of the original data.

[0006] Furthermore, the storage circuit backs up data of the sector according to a trigger instruction, and the trigger instruction is an instruction for the consumable chip to read the data in the data transfer area. The storage circuit restores data of the sector according to a feedback signal, and the feedback signal is a status indication signal formed by the consumable chip after self-checking and finding an abnormality.

[0007] Preferably, the storage circuit includes a first NMOS tube and a first PMOS tube, the first NMOS tube and the first PMOS tube are connected in parallel, the sources of the first NMOS tube and the first PMOS tube are connected to form an instruction input node, the instruction input node is electrically connected to the consumable chip to receive the trigger instruction; the drains of the first NMOS tube and the first PMOS tube are connected to form a control node, and the control node is electrically connected to the storage array of the storage module.

[0008] Furthermore, the control node is electrically connected to a main bit line of a storage array of the storage module.

[0009] Preferably, the main bit line includes a first sub-bit line, a second sub-bit line and a third sub-bit line; the first sub-bit line is electrically connected to the backup area; the second sub-bit line is electrically connected to the sector; and the third sub-bit line is electrically connected to the data transfer area.

[0010] Specifically, when the storage circuit receives the trigger instruction, data flows to the first sub-bit line through the second sub-bit line.

[0011] Specifically, when the storage circuit receives the feedback signal, data flows to the second sub-bit line through the first sub-bit line.

[0012] On the other hand, another technical solution adopted by the present invention is: to provide a data processing method for a consumable chip, the method comprising:

[0013] S1: The consumable chip determines whether there is an abnormal state. If there is no abnormal state, the data in the data transfer area is read;

[0014] S2: writing the original sector data and the address information of the original sector data into the backup area;

[0015] S3: replacing the original data of the sector with the data in the data transfer area;

[0016] S4: Determine whether the replacement is successful. If successful, erase the data in the backup area; if unsuccessful, return to step S3.

[0017] Furthermore, if there is an abnormal state, the following sub-method is used:

[0018] S10: If there is an abnormal state, the consumable chip checks whether there is a backup mark in the backup area;

[0019] S11: If there is a backup flag, a feedback signal is sent to the storage circuit, and the backup area data is written to cover the data in the sector;

[0020] S12: Determine whether the write overwrite is successful. If the write overwrite is successful, execute the next step of the consumable chip program; if the write overwrite fails, return to step S11.

[0021] It can be seen from the above technical solution that compared with the prior art, the present invention has at least the following advantages and positive effects: by setting up the data processing device and method provided by the technical solution, the problem of data loss caused by misoperation and the unusable consumable chip is solved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0023] Figure 1 It is a structural schematic diagram of a data processing device for a consumable chip provided by an embodiment of the present invention;

[0024] Figure 2 It is a structural schematic diagram of a storage circuit of a data processing device of a consumable chip provided by another embodiment of the present invention;

[0025] Figure 3 and Figure 4 It is a flow chart of a data processing method of a consumable chip provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0027] Embodiment 1

[0028] Figure 1 The present invention provides a schematic diagram of a data processing device for a consumable chip according to an embodiment of the present invention. The data processing device includes a storage module 100 and a communication module 300 for communicating with an imaging device, wherein the storage module 100 includes a backup area 104, a sector 101, and a data transfer area 103, wherein the data transfer area 103 stores data to be written to the sector received by the communication module 300 via the imaging device; the sector 101 stores original data, which can be erased and replaced; the storage module 100 is also provided with a storage circuit 102, and the storage circuit 102 performs data backup and restoration on the sector 101.

[0029] Furthermore, the sector 101 includes a sector information table, which records the number of each sector, the offset address of the data in the sector and the total length of the data in the sector.

[0030] As a preferred embodiment of the present invention, the number of the sectors is greater than or equal to 10, and the storage medium of the sectors is in the form of ROM.

[0031] Furthermore, the medium form of the data transfer area 103 is RAM. The data transfer area 103 receives and stores the data sent by the communication module 300. The data sent by the communication module 300 can be in the following format: storage address plus fixed byte plus data type identifier plus write address plus write data value. Among them, the fixed byte includes a data status prompt symbol bit, and the initial binary value of the data status prompt symbol bit is 00. When data is written from the data transfer area 103 to the sector 101, the binary value of the data status prompt symbol bit is replaced by 01. When data is written from the sector 101 to the backup area 104, the binary value of the data status prompt symbol bit is replaced by 11. At this time, the binary value of 11 is regarded as a backup flag.

[0032] As a preferred embodiment of the present invention, the fixed byte also includes an error feedback prompt bit, which can be an error prompt field composed of several binary bits, and the error prompt field can be composed of three parts, which respectively prompt three situations: data verification error, data out of range, and data format error. The error prompt field is generated by the communication module. After the communication module 300 receives the data sent by the imaging device, it performs integrity verification on the data through a verification algorithm. The verification algorithm can be a CRC cyclic verification. The data integrity verification result is written by the communication module 300 into the prompt symbol bit related to the data verification error of the error prompt field; if the data integrity verification is qualified, the prompt symbol bit related to the data verification error can be set to 0011; if the data integrity verification is unqualified, the prompt symbol bit related to the data verification error can be set to 0010.

[0033] The communication module 300 can also determine whether the data sent by the imaging device is out of range. If so, the field related to the data range error prompt can be set to 1100; if not, the field related to the data range error prompt can be set to 1110.

[0034] The communication module 300 can also simultaneously determine whether the format of the data sent by the imaging device is incorrect. If the format of the data sent is incorrect, the field related to the data format error prompt can be set to 1010; if the format of the data sent is correct, the field related to the data format error prompt can be set to 1011.

[0035] Furthermore, when at least one of 0010, 1100 and 1010 appears in the three types of field values ​​related to the error prompt, the data in the data transfer area 103 will no longer be written into the sector 101.

[0036] Embodiment 2

[0037] Figure 2 A schematic structural diagram of a storage circuit 102 of a data processing device of a consumable chip provided in another embodiment of the present invention, wherein the storage circuit 102 comprises a first NMOS tube 1020 and a first PMOS tube 1021, wherein the first NMOS tube 1020 and the first PMOS tube 1021 are connected in parallel, and the sources of the first NMOS tube 1020 and the first PMOS tube 1021 are connected to form an instruction input node 1022, and the instruction input node 1022 is electrically connected to the consumable chip to receive the trigger instruction; the drains of the first NMOS tube 1020 and the first PMOS tube 1021 are connected to form a control node 1023, and the control node 1023 is electrically connected to the storage array of the storage module 100.

[0038] Furthermore, an interlocking unit is provided between the first NMOS tube 1020 and the first PMOS tube 1021. The interlocking unit is used to interrupt the current instruction input and output when the instruction input node 1022 and the control node 1023 transmit instructions at the same time, close the instruction input node 1022 and the control node 1023, and return the abnormal signal level to the storage module 100. After receiving the abnormal signal level, the storage module 100 feeds back the abnormal data to the imaging device via the communication module 300, and waits for the imaging device to make adjustments.

[0039] Furthermore, the control node is electrically connected to the main bit line of the storage array of the storage module 100. The main bit line includes a first sub-bit line, a second sub-bit line and a third sub-bit line; the first sub-bit line is electrically connected to the backup area 104; the second sub-bit line is electrically connected to the sector 101; and the third sub-bit line is electrically connected to the data transfer area 103.

[0040] When the storage circuit 100 receives a trigger instruction, data flows to the first sub-bit line through the second sub-bit line; the trigger instruction is generated after the consumable chip reads the data in the data transfer area 103, and the trigger instruction is sent to the storage circuit 102 by the consumable chip through the instruction input node 1022. After receiving the trigger instruction, the storage circuit 102 guides the data to flow from the sector 101 to the backup area 104.

[0041] Specifically, the storage circuit 102 outputs instructions to the control node 1023, and the control node 1023 transmits the instructions to the main bit line of the storage array of the storage module 100. After receiving the instructions, the main bit line guides the data to flow from the sector 101 to the first sub-bit line through the second sub-bit line, and then stored in the backup area 104.

[0042] On the other hand, when the storage circuit 102 receives the feedback signal, data flows from the first sub-bit line to the second sub-bit line; the feedback signal is a status indication signal formed when the consumable chip finds an abnormality after self-checking. The feedback signal is sent from the consumable chip to the storage circuit 102 through the instruction input node 1022, and the storage circuit 102 guides the data to flow from the backup area 104 to the sector 101 after receiving the feedback signal.

[0043] Specifically, the storage circuit 102 outputs instructions to the control node 1023, and the control node 1023 transmits the instructions to the main bit line of the storage array of the storage module 100. After receiving the instructions, the main bit line guides the data to flow from the backup area 104 through the first sub-bit line to the second sub-bit line, and then stored in the sector 101.

[0044] Embodiment 3

[0045] Figure 3 A flowchart of a backup method of a consumable chip data processing method provided by another embodiment of the present invention includes the following steps:

[0046] S1: The consumable chip determines whether there is an abnormal state. If there is no abnormal state, the data in the data transfer area is read;

[0047] S2: writing the original sector data and the address information of the original sector data into the backup area;

[0048] S3: replacing the original data of the sector with the data in the data transfer area;

[0049] S4: Determine whether the replacement is successful. If successful, erase the data in the backup area; if unsuccessful, return to step S3.

[0050] If there is an abnormal state, the processing steps of the restoration method in the data processing method of the consumable chip are executed, and the steps of the restoration method are as follows: Figure 4 As shown, including:

[0051] S10: If there is an abnormal state, the consumable chip checks whether there is a backup mark in the backup area;

[0052] S11: If there is a backup mark, a feedback signal is sent to the storage circuit, and the backup area data is written to cover the data in the sector; if there is no backup mark, the next step of the consumable chip is executed;

[0053] S12: Determine whether the write overwrite is successful. If the write overwrite is successful, execute the next step of the consumable chip program; if the write overwrite fails, return to step S11.

[0054] Specifically, after the consumable chip is powered on, it is checked whether there is a backup mark in the backup area; the backup mark is judged by the value of the data status prompt symbol bit in the fixed byte of the data content. If and only if the value is 11, the data is deemed to contain a backup mark, that is, there is a backup mark in the backup area where the data is located.

[0055] If there is a backup mark in the backup area, it proves that there was an erroneous operation before the consumable chip was powered on, and the erroneous operation may be a power outage or a door opening operation. At this time, the data in the original sector is very likely to have been lost due to the erroneous operation, so it is necessary to restore the data in the backup area to the sector so that the consumable chip can perform the original processing procedure on the sector data and execute related operations. When the data is restored successfully, the consumable chip proceeds to the next step of the procedure to interact with the imaging device. If the data restoration fails, the consumable chip will continue to read the data in the backup area and re-perform the restoration operation until the backup area data is successfully written to the sector. On the other hand, if the consumable chip cannot detect the backup mark, it means that there was no erroneous operation before power-on, and it can directly enter the next step of the procedure.

[0056] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A data processing device for a consumable chip, comprising a storage module and a communication module for communicating with an imaging device, characterized in that: The storage module includes a storage circuit, a backup area, a sector and a data transfer area. The data transfer area stores the data to be written into the sector received by the communication module via the imaging device; the sector stores the original data, which can be erased and replaced; the storage circuit backs up and restores the data of the sector; the backup area is used to store the backup data of the original data.

2. The device according to claim 1, characterized in that The storage circuit backs up data on the sector in response to a trigger instruction, and the trigger instruction is an instruction for the consumable chip to read data in the data transfer area.

3. The device according to claim 1, characterized in that The storage circuit restores data of the sector according to a feedback signal, and the feedback signal is a status indication signal formed after the consumable chip self-checks and finds an abnormality.

4. The device according to claim 2, characterized in that The storage circuit includes a first NMOS tube and a first PMOS tube, the first NMOS tube and the first PMOS tube are connected in parallel, the sources of the first NMOS tube and the first PMOS tube are connected to form an instruction input node, the instruction input node is electrically connected to the consumable chip to receive the trigger instruction; the drains of the first NMOS tube and the first PMOS tube are connected to form a control node, and the control node is electrically connected to the storage array of the storage module.

5. The device according to claim 4, characterized in that The control node is electrically connected to a main bit line of a storage array of the storage module.

6. The device according to claim 5, characterized in that The main bit line includes a first sub-bit line, a second sub-bit line and a third sub-bit line; the first sub-bit line is electrically connected to the backup area; the second sub-bit line is electrically connected to the sector; and the third sub-bit line is electrically connected to the data transfer area.

7. The device according to claim 6, characterized in that When the storage circuit receives the trigger instruction, data flows to the first sub-bit line through the second sub-bit line.

8. The device according to claim 6, characterized in that When the storage circuit receives the feedback signal, data flows to the second sub-bit line through the first sub-bit line.

9. A data processing method for a consumable chip according to any one of claims 1 to 8, characterized in that: The steps include: S1: The consumable chip determines whether there is an abnormal state. If there is no abnormal state, the data in the data transfer area is read; S2: writing the original sector data and the address information of the original sector data into the backup area; S3: replacing the original data of the sector with the data in the data transfer area; S4: Determine whether the replacement is successful. If successful, erase the data in the backup area; if unsuccessful, return to step S3.

10. The data processing method according to claim 9, characterized in that: The steps include: S10: If there is an abnormal state, the consumable chip checks whether there is a backup mark in the backup area; S11: If there is a backup flag, a feedback signal is sent to the storage circuit, and the backup area data is written to cover the data in the sector; S12: Determine whether the write overwrite is successful. If the write overwrite is successful, execute the next step of the consumable chip program; if the write overwrite fails, return to step S11.