A method, apparatus, chip, and printing device for processing serial numbers of consumable chips.

CN118478598BActive Publication Date: 2026-09-01HANGZHOU CHIPJET TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410703824.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2026-09-01
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

[0003]在打印机中,打印耗材作为耗材容器,在打印耗材消耗完后,打印机会记录当前打印耗材中耗材芯片的序列号数据,当打印耗材消耗尽了以后,打印机就会记住该序列号对应的打印耗材已经打尽,无法再使用

Benefits of technology

[0039]根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的耗材芯片的序列号处理方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118478598B_ABST
    Figure CN118478598B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, chip, and printing device for processing serial numbers of consumable chips. The method includes: acquiring write-back data from a first memory and configuration data from a second memory; wherein the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by a printer; the configuration data includes at least one preset ink volume data, at least one preset address data, and a set threshold; determining whether the address data meets an address matching condition; if the address data meets the address matching condition, determining target data based on the ink volume data and the at least one preset ink volume data; and switching the serial number of the storage area of ​​the second memory based on the target data. This technical solution can switch the serial number in the consumable chip according to the obtained target data, realizing the reuse of printing consumables.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of printer technology, and in particular to a method, apparatus, chip, and printing equipment for processing serial numbers of consumable chips. Background Technology

[0002] Printers are an indispensable piece of equipment in modern offices.

[0003] In a printer, printing supplies serve as a consumable container. After the printing supplies are used up, the printer records the serial number data of the chip in the current printing supplies. When the printing supplies are exhausted, the printer will remember that the printing supplies corresponding to that serial number have been used up and can no longer be used. Summary of the Invention

[0004] This invention provides a method, apparatus, chip, and printing equipment for processing serial numbers of consumable chips, which can switch the serial number in the consumable chip according to the obtained target data to realize the reuse of printing consumables.

[0005] According to one aspect of the present invention, a method for processing the serial number of a consumable chip is provided, comprising:

[0006] The system acquires write-back data from the first memory and configuration data from the second memory; wherein the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by the printer; the configuration data includes at least one preset ink volume data.

[0007] Determine whether the address data meets the address matching conditions;

[0008] If the address data meets the address matching condition, then the target data is determined based on the ink volume data and the at least one preset ink volume data;

[0009] The serial number of the second memory storage area is switched according to the target data.

[0010] Optionally, before obtaining the write-back data from the first memory and the configuration data from the second memory, the method further includes:

[0011] Retrieve the stored data from the second memory;

[0012] The stored data is updated from the second memory to the first memory.

[0013] Optionally, the second memory includes a main storage area and a backup storage area;

[0014] Updating the stored data from the second memory to the first memory includes:

[0015] Determine whether the stored data in the main storage area is normal;

[0016] If the stored data in the main storage area is normal, then the stored data in the main storage area is updated to the first memory and the backup storage area;

[0017] If the stored data in the main storage area is abnormal, the stored data in the backup storage area will be updated to the first memory and the main storage area.

[0018] Optionally, the configuration data includes at least one preset address data;

[0019] Accordingly, determining whether the address data meets the address matching conditions includes:

[0020] If the address data matches at least one preset address data, then the address data satisfies the address matching condition.

[0021] Optionally, determining the target data based on the ink volume data and the at least one preset ink volume data includes:

[0022] Determine the difference between the ink volume data and at least one preset ink volume data to obtain at least one target data.

[0023] Optionally, switching the serial number of the second memory storage area according to the target data includes:

[0024] Determine whether the target data meets the serial number switching conditions;

[0025] If the target data meets the serial number switching condition, then the serial number of the second memory storage area is switched.

[0026] Optionally, the configuration data includes at least one set threshold, which corresponds one-to-one with each preset ink volume data; determining whether the target data meets the serial number switching condition includes:

[0027] Determine whether the target data is greater than the corresponding set threshold;

[0028] If at least one target data is greater than its corresponding set threshold, then the target data satisfies the sequence number switching condition.

[0029] According to another aspect of the present invention, a serial number processing apparatus for consumable chips is provided, comprising:

[0030] A data acquisition module is used to acquire write-back data from a first memory and configuration data from a second memory; wherein the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by the printer; the configuration data includes at least one preset ink volume data.

[0031] The condition judgment module is used to determine whether the address data meets the address matching conditions;

[0032] The target data determination module is used to determine target data based on the ink volume data and the at least one preset ink volume data if the address data meets the address matching condition.

[0033] The serial number switching module is used to switch the serial number of the second memory storage area according to the target data.

[0034] According to another aspect of the present invention, a consumable chip is provided, including a storage module and a control module; the storage module includes a first memory and a second memory; the control module is used to execute the serial number processing method of the consumable chip according to any embodiment of the present invention.

[0035] According to another aspect of the present invention, a printing apparatus is provided, the printing apparatus comprising:

[0036] At least one processor; and

[0037] A memory communicatively connected to the at least one processor; wherein,

[0038] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the serial number processing method for consumable chips according to any embodiment of the present invention.

[0039] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the serial number processing method for consumable chips according to any embodiment of the present invention.

[0040] The technical solution of this invention involves acquiring write-back data from a first memory and configuration data from a second memory; determining whether the address data meets address matching conditions; if the address data meets the address matching conditions, determining target data based on the ink volume data and at least one preset ink volume data; and switching the serial number of the storage area of ​​the second memory based on the target data. This technical solution enables the reuse of printing consumables by switching the serial number in the consumable chip based on the obtained target data.

[0041] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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 effort.

[0043] Figure 1 This is a flowchart of a serial number processing method for a consumable chip according to Embodiment 1 of the present invention;

[0044] Figure 2 This is a flowchart of a serial number processing method for a consumable chip according to Embodiment 2 of the present invention;

[0045] Figure 3 This is a schematic diagram of the structure of a serial number processing device for a consumable chip according to Embodiment 3 of the present invention;

[0046] Figure 4 This is a schematic diagram of the structure of a printing device provided according to Embodiment 4 of the present invention. Detailed Implementation

[0047] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0048] It should be noted that the terms "first," "second," and "target," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0049] Example 1

[0050] Figure 1This is a flowchart of a serial number processing method for consumable chips according to Embodiment 1 of the present invention. This embodiment is applicable to situations where the serial number of a consumable chip in a printer needs to be switched. This method can be executed by a consumable chip serial number processing device, which can be implemented in hardware and / or software. This consumable chip serial number processing device can be configured in a printing device with data processing capabilities. Figure 1 As shown, the method includes:

[0051] S110: Obtain the write-back data of the first memory and the configuration data of the second memory.

[0052] The write-back data includes at least address data and ink volume data; the configuration data includes at least one preset ink volume data. Address data can be understood as the address corresponding to each printer in memory. In this embodiment, the address data corresponding to each printer when writing back ink volume data is determined. Ink volume data can be the remaining ink volume data after the printer's previous operation.

[0053] In this embodiment, the first memory can be a volatile memory within the consumable chip, such as Static Random Access Memory (SRAM). The write-back data of the first memory can be data obtained by the printer performing write operations on the SRAM memory within the consumable chip. The write operation involves the printer writing enable signals, write addresses, and write data to the SRAM memory. The second memory can be a non-volatile memory (NVM) within the consumable chip, such as FLASH memory. In this embodiment, the configuration data for the FLASH memory can be pre-configured. The preset ink volume data can be understood as a set threshold ink volume data, or it can be the maximum ink volume data of the consumable chip. The set threshold can be determined based on the preset ink volume data of the consumable chip. For example, in this embodiment, four preset ink volume data can be pre-configured.

[0054] In this embodiment, the SRAM memory is used to complete real-time data interaction with other modules. After power-on, it first retrieves data from the FLASH memory to complete the initialization process. When necessary, it updates the data from the SRAM memory to the FLASH memory to ensure that the chip's function can be inherited after power failure and re-power-on. The FLASH memory is used to store the code table data and related control register information required for the printer to work normally. After the consumable chip is powered on, it completes the data initialization process from the FLASH memory to the SRAM memory to ensure that the consumable chip functions normally after power-on.

[0055] In this embodiment, the address data and ink volume data written back to the SRAM memory by the printer can be obtained, and at least one preset ink volume data can be read from the FLASH memory.

[0056] S120. Determine whether the address data meets the address matching conditions.

[0057] The address matching condition can be that the address data matches at least one preset address data. In this embodiment, when a write enable signal is received, it is determined whether the address data matches at least one preset address data, i.e., whether the address matching condition is met.

[0058] In this embodiment, optionally, the configuration data includes at least one preset address data; correspondingly, determining whether the address data meets the address matching condition includes: if the address data matches at least one preset address data, then the address data meets the address matching condition.

[0059] The preset address data can be understood as pre-configured address data in the configuration data, which can be used to match the address data obtained from the write-back. In this embodiment, multiple preset address data can be configured according to actual needs. For example, four preset address data can be configured in this embodiment. In this embodiment, at least one preset address data is configured in the consumable chip. When performing address data matching, if the address data of the current write-back ink volume is the same as at least one preset address data, the address data is considered to be successfully matched and the address matching condition is met; if the address data does not match the preset address data, the address data does not meet the address matching condition.

[0060] For example, in this embodiment, four preset address data can be configured. If the address data obtained by writing back is the same as any one of the four preset address data, the address can be considered to be successfully matched.

[0061] In this embodiment, since the address data for the write-back ink volume may be different for different printers, this embodiment can use this setting to match the write-back address data with multiple preset address data, which can be compatible with multiple different printer models and is more convenient to use.

[0062] S130. If the address data meets the address matching condition, then the target data is determined based on the ink volume data and at least one preset ink volume data.

[0063] The target data can be the absolute value obtained by subtracting the ink volume data from the preset ink volume data. In this embodiment, there can be multiple target data, and the number of target data corresponds to the number of preset ink volume data.

[0064] In this embodiment, optionally, determining target data based on ink volume data and at least one preset ink volume data includes: determining the difference between ink volume data and at least one preset ink volume data to obtain at least one target data.

[0065] In this embodiment, the ink volume data can be subtracted from at least one preset ink volume data to obtain the difference, which is at least one target data. For example, in this embodiment, four preset ink volume data are configured, so the ink volume data can be subtracted from each of the four preset ink volume data to obtain four target data.

[0066] In this embodiment, by setting up such a system, multiple target data points can be identified, corresponding to consumables of different capacities, thereby achieving compatibility with different printer models and facilitating subsequent serial number switching operations based on the target data.

[0067] S140. Switch the serial number of the second memory storage area according to the target data.

[0068] The serial number in the second memory storage area can be one of multiple pre-stored serial numbers. The number of serial numbers in this embodiment can be set according to actual needs. In this embodiment, the serial number in the second memory storage area can be switched by determining whether the target data meets the set serial number switching conditions, so that the printer consumables can be successfully installed and reused.

[0069] In this embodiment, optionally, switching the serial number of the second memory storage area according to the target data includes: determining whether the target data meets the serial number switching condition; if the target data meets the serial number switching condition, then switching the serial number of the second memory storage area.

[0070] The serial number switching condition can be a condition set based on the comparison result between the target data and a set threshold. The serial number switching condition can also be a condition that needs to be met to switch the serial number of the storage area. In this embodiment, the serial number switching condition can be a pre-set condition, which can be set according to actual needs.

[0071] In this embodiment, it can be determined whether the target data meets the preset serial number switching conditions. If the target data meets the preset serial number switching conditions, the serial number of the second memory storage area can be switched; if the target data does not meet the serial number switching conditions, the serial number of the second memory storage area cannot be switched.

[0072] In this embodiment, by setting it up in this way, the serial number can be switched by judging whether the target data meets the serial number switching conditions, which can realize the reuse of consumable chips and reduce resource waste.

[0073] In this embodiment, optionally, the configuration data includes at least one set threshold, and the set threshold corresponds one-to-one with each preset ink volume data; correspondingly, determining whether the target data meets the serial number switching condition includes: determining whether the target data is greater than the corresponding set threshold; if at least one target data is greater than its corresponding set threshold, then the target data meets the serial number switching condition.

[0074] The set threshold can be a difference threshold configured based on the target data. In this embodiment, different target data have their corresponding set threshold. For example, if there are four target data, each of the four target data can have its own corresponding set threshold. Optionally, the set threshold can be set based on preset ink volume data.

[0075] In this embodiment, the system determines whether the target data is greater than the corresponding set threshold. If one of the target data is greater than its corresponding set threshold, the target data is determined to meet the serial number switching condition, and the serial number of the storage area in the second memory needs to be switched. If all the target data are less than or equal to their corresponding set thresholds, the target data is determined not to meet the serial number switching condition, and the serial number of the storage area in the second memory does not need to be switched.

[0076] Specifically, in this embodiment, if four target data are obtained by subtracting the ink volume data from four preset ink volume data, then the four target data are compared with their corresponding preset thresholds. That is, in this embodiment, there may be a first preset ink volume data, a second preset ink volume data, a third preset ink volume data, and a fourth preset ink volume data. The ink volume data is subtracted from the first preset ink volume data, the second preset ink volume data, the third preset ink volume data, and the fourth preset ink volume data to obtain the first target data, the second target data, the third target data, and the fourth target data. The first target data is compared with the first preset threshold, the second target data is compared with the second preset threshold, the third target data is compared with the third preset threshold, and the fourth target data is compared with the fourth preset threshold. If one of the following conditions is met: the first target data is greater than the first preset threshold, or the second target data is greater than the second preset threshold, or the third target data is greater than the third preset threshold, or the fourth target data is greater than the fourth preset threshold, then the ink volume data is used up, and the serial number switching condition is met. At this time, the serial number of the second memory storage area is switched. In this embodiment, the printer will report an error after the serial number switching condition is met. At this time, the printer can be powered on again to start the next boot judgment.

[0077] For example, taking a set threshold as an example, the set threshold can be 20%. One of the preset ink volume data in the memory is 100% capacity. If the ink volume data obtained by writing back is 60%, and one of the target data is 40%, then the target data exceeds the set threshold of 20%, it can be considered that the printer is abnormal, that is, the serial number switching condition is met, and the serial number needs to be switched.

[0078] In this embodiment, by judging the serial number of the consumable chip, different serial numbers can be switched when the switching conditions are met, so as to realize the reuse of the consumable chip; multiple initial ink volume preset data and multiple preset thresholds are also set to be compatible with various printer models.

[0079] The technical solution of this invention involves acquiring write-back data from a first memory and configuration data from a second memory; determining whether the address data meets the address matching condition; if the address data meets the address matching condition, determining target data based on ink volume data and at least one preset ink volume data; and switching the serial number of the storage area of ​​the second memory based on the target data. This technical solution enables the reuse of printing consumables by switching the serial number in the consumable chip based on the obtained target data.

[0080] Example 2

[0081] Figure 2 This is a flowchart of a serial number processing method for a consumable chip according to Embodiment 2 of the present invention. This embodiment is an optimization based on the above embodiment. Specifically, the optimization includes: before obtaining the write-back data of the first memory and the configuration data of the second memory, the method further includes: obtaining the stored data of the second memory; and updating the stored data from the second memory to the first memory. Figure 2 As shown, the method includes:

[0082] S210: Obtain the stored data from the second memory.

[0083] The stored data may include code table data from the memory, which contains various data stored in the memory, such as configuration data. In this embodiment, the code table data stored in the FLASH memory can be retrieved.

[0084] S220: Update the stored data from the second memory to the first memory.

[0085] In this embodiment, after the consumable chip is powered on, the code table data stored in the FLASH memory is updated to the SRAM memory. When the printer sends a read / write command, the SRAM memory is read or written according to the read / write command. Then, relevant configuration data, such as preset address data, preset ink volume data, and set thresholds, are read from the FLASH memory.

[0086] Specifically, in this embodiment, the code table data stored in the consumable chip is brand new. The code table data includes serial number information and initial ink volume information. This code table data is stored in a second memory. Each time the consumable chip is powered on, this code table data is updated to the SRAM memory for the printer to read and write. Furthermore, while the printer's read and write operations in this embodiment are performed on the SRAM memory, the data stored in the SRAM memory is lost upon power failure. Therefore, a FLASH memory is used to store the serial number data, and then the serial number data is updated to the SRAM memory upon power-on for the printer to read and write.

[0087] In this embodiment, optionally, the second memory includes a main storage area and a backup storage area; updating the stored data from the second memory to the first memory includes: determining whether the stored data in the main storage area is normal; if the stored data in the main storage area is normal, then updating the stored data in the main storage area to the first memory and the backup storage area; if the stored data in the main storage area is abnormal, then updating the stored data in the backup storage area to the first memory and the main storage area.

[0088] The main storage area can be the primary storage area of ​​the second memory. In this embodiment, the main storage area in the FLASH memory is allowed to receive write-back data from the SRAM memory. The backup storage area can be used to back up the data in the main storage area. In this embodiment, after power-on, it is determined whether the stored data in the main storage area is normal. Specifically, this can be determined by the value of the register to determine whether the main storage area is abnormal.

[0089] For example, before writing back the data, this embodiment sets the register value to 1. If the write-back is completed normally, the register value will be changed back to 0, indicating that the entire write-back process is normal, the data written back to the main storage area is normal, and the main storage area can work normally. If the write-back is not completed normally, the register value cannot be changed, that is, the register value remains at 1, which indicates that the write-back process is abnormal, the data written back to the main storage area is incorrect, the main storage area cannot work normally, and the backup storage area needs to be started.

[0090] In this embodiment, different update processes can be performed on the stored data after determining whether the stored data in the main storage area is normal. Specifically, if the chip determines that the stored data in the main storage area is normal through registers after power-on, the stored data in the main storage area will be updated to the SRAM memory (data initialization) and the backup storage area (data backup) respectively after power-on, to ensure that the stored data in the backup storage area is automatically updated to the latest normal data in the main storage area after each power-on. If the printer loses power abnormally during the data interaction (data write-back) between the main storage area and the SRAM memory, causing the data in the main storage area of ​​the FLASH memory to be abnormal, the backup storage area will be started after the next power-on. If the chip determines that the stored data in the main storage area is abnormal through registers after power-on, after obtaining the abnormal data information of the main memory, the addressing address of the FLASH memory will be changed to complete the data update (data initialization) from the backup storage area to the SRAM memory. After initialization is completed, the stored data in the backup storage area will be updated to the main storage area (data backup). The purpose is to restore the functionality of the main storage area and ensure that the data in the main storage area is restored to normal and can be used again in the future.

[0091] In this embodiment, the data interaction (data write-back) between the SRAM and FLASH memory is still based on the relationship between the main memory area and the SRAM memory. If the data write-back is still abnormal, the chip will power on again and continue to use the data stored in the backup memory area as the initial data; if the data write-back returns to normal, the chip will power on again and resume using the main memory area as the initial data. In this embodiment, the backup memory area will not receive data written back from the SRAM memory, and the data in the backup memory area will only be written to the main memory area as a backup in the event of an anomaly in the main memory area. During other processes, the data stored in the backup memory area will not change, ensuring that the data stored in the backup memory area will not be corrupted due to abnormal power outages or other reasons during use. In this embodiment, only the main memory area in the FLASH memory is allowed to receive write-back data from the SRAM memory; the backup memory area always stores normal data, effectively ensuring that the printer will not fail to recognize the device due to chip malfunction caused by data errors in the FLASH memory after each power-on.

[0092] This embodiment, through such a setting, ensures that the memory data will not be lost or corrupted due to abnormal power loss of the consumable chip during transmission, thereby improving the reliability of the consumable chip data.

[0093] S230: Obtain the write-back data of the first memory and the configuration data of the second memory.

[0094] The write-back data includes address data and ink volume data; the configuration data includes at least one preset ink volume data, at least one preset address data, and a set threshold.

[0095] S240. Determine whether the address data meets the address matching conditions.

[0096] S250. If the address data meets the address matching condition, then the target data is determined based on the ink volume data and at least one preset ink volume data.

[0097] S260. Switch the serial number of the second memory storage area according to the target data.

[0098] The technical solution of this invention involves: acquiring stored data from a second memory; updating the stored data from the second memory to a first memory; acquiring write-back data from the first memory and configuration data from the second memory; determining whether the address data meets the address matching condition; if the address data meets the address matching condition, determining target data based on ink volume data and at least one preset ink volume data; and switching the serial number of the storage area of ​​the second memory based on the target data. This technical solution ensures that the memory data will not be lost or corrupted due to abnormal power loss of the chip during transmission, improving the reliability of the chip data, and enabling the reuse of printing consumables by switching the serial number in the consumable chip based on the obtained target data.

[0099] Example 3

[0100] Figure 3 This is a schematic diagram of the structure of a serial number processing device for a consumable chip according to Embodiment 3 of the present invention. Figure 3 As shown, the device includes:

[0101] The data acquisition module 310 is used to acquire write-back data from the first memory and configuration data from the second memory; wherein, the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by the printer; the configuration data includes at least one preset ink volume data.

[0102] The condition judgment module 320 is used to determine whether the address data meets the address matching conditions;

[0103] The target data determination module 330 is used to determine target data based on ink volume data and at least one preset ink volume data if the address data meets the address matching condition.

[0104] The serial number switching module 340 is used to switch the serial number of the second memory storage area according to the target data.

[0105] Optionally, the device also includes:

[0106] The data update module is used to obtain the stored data of the second memory before obtaining the write-back data of the first memory and the configuration data of the second memory; and to update the stored data from the second memory to the first memory.

[0107] The second memory includes a main memory area and a backup memory area;

[0108] Optionally, the data update module is specifically used to determine whether the stored data in the main storage area is normal; if the stored data in the main storage area is normal, the stored data in the main storage area is updated to the first memory and the backup storage area in sequence; if the stored data in the main storage area is abnormal, the stored data in the backup storage area is updated to the first memory and the main storage area in sequence.

[0109] Optionally, the configuration data includes at least one preset address data; the condition judgment module 320 is specifically used to determine if the address data matches at least one preset address data, then the address data satisfies the address matching condition.

[0110] Optionally, the target data determination module 330 is specifically used to determine the difference between ink volume data and at least one preset ink volume data to obtain at least one target data.

[0111] Optionally, the serial number switching module 340 includes:

[0112] The judgment unit is used to determine whether the target data meets the sequence number switching conditions.

[0113] The switching unit is used to switch the serial number of the second memory storage area if the target data meets the serial number switching conditions.

[0114] Optionally, the configuration data includes at least one set threshold, and the set threshold corresponds one-to-one with each preset ink volume data; the judgment unit is specifically used to determine whether the target data is greater than the corresponding set threshold; if at least one target data is greater than its corresponding set threshold, then the target data meets the serial number switching condition.

[0115] The serial number processing device for consumable chips provided in this embodiment of the invention can execute the serial number processing method for consumable chips provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0116] Furthermore, embodiments of the present invention also provide a consumable chip, including a storage module and a control module; the storage module includes a first memory and a second memory; the control module is used to execute a serial number processing method for a consumable chip provided in any embodiment of the present invention, and can achieve the same technical effect, which will not be described in detail here.

[0117] Example 4

[0118] Figure 4 This is a schematic diagram of a printing device according to Embodiment 4 of the present invention. The printing device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0119] like Figure 4 As shown, the printing device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from storage unit 18. The RAM 13 may also store various programs and data required for the operation of the printing device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0120] Multiple components in the printing device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, optical disk, etc.; and a communication unit 19, such as a network card, modem, wireless transceiver, etc. The communication unit 19 allows the printing device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0121] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the serial number processing method for consumable chips.

[0122] In some embodiments, the serial number processing method for consumable chips can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the printing device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the serial number processing method for consumable chips described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the serial number processing method for consumable chips by any other suitable means (e.g., by means of firmware).

[0123] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0124] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for processing the serial number of a consumable chip, characterized in that, include: The printer acquires write-back data from the first memory and configuration data from the second memory; wherein the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by the printer; the configuration data includes at least one preset ink volume data, at least one preset address data, and at least one set threshold, and the set threshold corresponds one-to-one with each preset ink volume data. If the address data matches at least one preset address data, then the address data satisfies the address matching condition; If the address data meets the address matching condition, then the difference between the ink volume data and at least one preset ink volume data is determined to obtain at least one target data; wherein, the target data is the absolute value data obtained by subtracting the preset ink volume data from the ink volume data; Determine whether the target data is greater than the corresponding set threshold; If the at least one target data is greater than its corresponding set threshold, then the target data satisfies the sequence number switching condition; If the target data meets the serial number switching condition, then the serial number of the second memory storage area is switched; If the target data does not meet the serial number switching conditions, the serial number of the second memory storage area will not be switched.

2. The method according to claim 1, characterized in that, Before acquiring the write-back data from the first memory and the configuration data from the second memory, the process also includes: Retrieve the stored data from the second memory; The stored data is updated from the second memory to the first memory.

3. The method according to claim 2, characterized in that, The second memory includes a main memory area and a backup memory area; Updating the stored data from the second memory to the first memory includes: Determine whether the stored data in the main storage area is normal; If the stored data in the main storage area is normal, then the stored data in the main storage area is updated to the first memory and the backup storage area; If the stored data in the main storage area is abnormal, the stored data in the backup storage area will be updated to the first memory and the main storage area.

4. A serial number processing device for consumable chips, characterized in that, include: The data acquisition module is used to acquire write-back data from the first memory and configuration data from the second memory; wherein, the write-back data includes at least address data and ink volume data, and the write-back data is written to the first memory by the printer; the configuration data includes at least one preset ink volume data, at least one preset address data and at least one set threshold, and the set threshold corresponds one-to-one with each preset ink volume data; The condition judgment module is used to determine if the address data satisfies the address matching condition if the address data matches at least one preset address data. The target data determination module is used to determine the difference between the ink volume data and at least one preset ink volume data if the address data meets the address matching condition, and obtain at least one target data; wherein, the target data is the absolute value data obtained by subtracting the preset ink volume data from the ink volume data; The serial number switching module includes a judgment unit and a switching unit; The judgment unit is used to determine whether the target data is greater than the corresponding set threshold; if the at least one target data is greater than its corresponding set threshold, then the target data satisfies the sequence number switching condition. The switching unit is configured to switch the serial number of the second memory storage area if the target data meets the serial number switching condition; and not switch the serial number of the second memory storage area if the target data does not meet the serial number switching condition.

5. A consumable chip, characterized in that, It includes a storage module and a control module; the storage module includes a first memory and a second memory; the control module is used to execute the serial number processing method for the consumable chip according to any one of claims 1-3.

6. A printing device, characterized in that, The printing device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the serial number processing method for the consumable chip according to any one of claims 1-3.

Citation Information

Patent Citations

  • Consumable chip, working method and consumable box

    CN117922169A

  • Consumable chip and consumable container

    CN216507473U