Consumable allowance updating method and device for consumable chip, chip and equipment

By acquiring consumable data and querying consumable adjustment coefficients based on identification information, calculating and calibrating consumable consumption, the problem of consumable margin update deviation in the prior art is solved, and the accuracy of consumable consumption estimation and accurate update of consumable margin is achieved.

CN120191132APending Publication Date: 2025-06-24GUANGZHOU ZHONO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510584208.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the prior art, the printing device directly feedbacks the consumables consumption estimated by the printing operation to the consumables chip, resulting in a large deviation in the consumables margin for the consumables chip being updated, and it is impossible to accurately feedback the actual margin of the printing consumables.

Method used

By acquiring consumable data, including identification information, the corresponding consumable adjustment coefficient is queried based on the identification information, and the printing operation is performed. The consumable consumption theoretical value is calculated based on the printing coverage corresponding to each print page in the printing operation, and the consumable consumption theoretical value is calibrated based on the consumable adjustment coefficient to obtain the consumable consumption correction value. Finally, the consumable consumption correction value is sent to the consumable chip to update the consumable margin of the current record.

Benefits of technology

It improves the accuracy of consumable consumption estimation, ensures consistency between actual consumption and theoretical consumption, provides reliable reference data for consumable chips to accurately update consumable margins, and achieves accurate feedback on the actual margins of printing consumables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120191132A_ABST
    Figure CN120191132A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a consumable allowance updating method and device for a consumable chip, the chip and equipment, and the method comprises the steps: obtaining consumable data which comprises identification information; a corresponding consumable adjustment coefficient is inquired based on the identification information, and printing operation is executed; calculating a consumable consumption theoretical value based on the printing coverage rate corresponding to each printing page in the printing operation, and calibrating the consumable consumption theoretical value based on the consumable adjustment coefficient to obtain a consumable consumption correction value; and sending the consumable consumption correction value to the consumable chip, so that the consumable chip updates the currently recorded consumable margin based on the consumable consumption correction value. According to the scheme, the accuracy of consumable consumption estimation is improved, the consistency of the actual consumption and the theoretical consumption is ensured, reliable reference data is provided for the consumable chip to accurately update the consumable allowance, and the actual allowance of the printing consumable can be accurately fed back.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, chip, and equipment for updating the remaining amount of consumables of a consumable chip. Background Art

[0002] With the in-depth development of digital technology, image forming devices related to printing have begun to be widely used in business fields such as office automation, industrial production, commercial services, and educational services. Among them, the image forming device includes a printing device, and various printing consumables adapted to the printing device have also begun to be widely used. For example, consumable parts such as ink cartridges, toner cartridges, and ribbons. A consumable chip is provided in the printing consumable, and the consumable chip can communicate with the printing device, so that the printing device can identify the remaining amount status of the printing consumable and update the remaining amount of the consumable recorded in the consumable chip.

[0003] In the related art, the printing device directly feeds back the estimated consumable consumption of the printing operation to the consumable chip, and the consumable chip can update the remaining amount of the consumable based on the consumable consumption. However, in the actual application process, there is a problem that the actual consumption of the printing consumable is different from the theoretical consumption. Using the foregoing method will cause a large deviation in the remaining amount of the consumable updated by the consumable chip, and the actual remaining amount of the printing consumable cannot be accurately fed back, which needs to be improved. Summary of the Invention

[0004] The embodiments of the present application provide a method, device, chip, and equipment for updating the remaining amount of consumables of a consumable chip, which solves the problem that the related technology will cause a large deviation in the remaining amount of the consumable updated by the consumable chip and cannot accurately feed back the actual remaining amount of the printing consumable, realizes improving the accuracy of consumable consumption estimation, ensures the consistency between the actual consumption and the theoretical consumption, provides reliable reference data for the consumable chip to accurately update the remaining amount of the consumable, and is beneficial to accurately feeding back the actual remaining amount of the printing consumable.

[0005] In a first aspect, the embodiments of the present application provide a method for updating the remaining amount of consumables of a consumable chip, and the method includes:

[0006] Obtain consumable data, where the consumable data includes identification information;

[0007] Query a corresponding consumable adjustment coefficient based on the identification information, and perform a printing operation;

[0008] Calculate a theoretical value of consumable consumption based on the print coverage corresponding to each print page in the printing operation, and calibrate the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain a corrected value of consumable consumption;

[0009] Send the corrected value of consumable consumption to the consumable chip, so that the consumable chip updates the currently recorded remaining amount of the consumable based on the corrected value of consumable consumption.

[0010] In a second aspect, an apparatus for updating the remaining amount of consumables of a consumable chip according to an embodiment of the present application includes:

[0011] A consumable data acquisition module configured to acquire consumable data, where the consumable data includes identification information;

[0012] An adjustment coefficient determination module configured to query a corresponding consumable adjustment coefficient based on the identification information and perform a printing operation;

[0013] A correction value determination module configured to calculate a theoretical consumable consumption value based on the printing coverage rates corresponding to the respective print pages in the printing operation, and calibrate the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value;

[0014] A first remaining amount update module configured to send the corrected consumable consumption value to the consumable chip, so that the consumable chip updates the currently recorded remaining amount of consumables based on the corrected consumable consumption value.

[0015] In a third aspect, an electronic device according to an embodiment of the present application includes:

[0016] One or more processors;

[0017] A storage device configured to store one or more programs,

[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for updating the remaining amount of consumables of the consumable chip according to the embodiment of the present application.

[0019] In a fourth aspect, a non-volatile storage medium storing computer-executable instructions is provided according to an embodiment of the present application. The computer-executable instructions are configured to execute the method for updating the remaining amount of consumables of the consumable chip according to the embodiment of the present application when executed by a computer processor.

[0020] In the embodiments of the present application, by obtaining consumable data, where the consumable data includes identification information; querying a corresponding consumable adjustment coefficient based on the identification information and performing a printing operation; calculating a theoretical consumable consumption value based on the printing coverage rate corresponding to each printing page in the printing operation, and calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value; sending the corrected consumable consumption value to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected consumable consumption value. In the above solution, by querying a corresponding consumable adjustment coefficient based on the identification information, a pre-set consumable adjustment coefficient corresponding to the current consumable chip can be matched; by calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value, the accuracy of consumable consumption estimation can be improved, ensuring the consistency between the actual consumption and the theoretical consumption; by sending the corrected consumable consumption value to the consumable chip, reliable reference data can be provided for the consumable chip to accurately update the consumable remaining amount, which is beneficial to accurately reflecting the actual remaining amount of the printing consumables. Description of the Drawings

[0021] Figure 1 It is a flowchart of a method for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application;

[0022] Figure 2 It is a flowchart of a method for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application, including the process of calibrating to obtain a corrected consumable consumption value;

[0023] Figure 3 It is a flowchart of a method for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application, including the process of calculating a theoretical consumable consumption value;

[0024] Figure 4 It is a flowchart of a method for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application, including the process of determining a consumable adjustment coefficient;

[0025] Figure 5 It is a flowchart of a method for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application, including the process of updating the consumable remaining amount based on the rounded value of the consumable consumption;

[0026] Figure 6 It is a structural block diagram of a device for updating the consumable remaining amount of a consumable chip provided by an embodiment of the present application;

[0027] Figure 7 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0028] The following further elaborates on the embodiments of the present application in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are merely for explaining the embodiments of the present application, rather than limiting the embodiments of the present application. Additionally, it should be noted that for ease of description, only parts related to the embodiments of the present application are shown in the drawings, rather than all structures.

[0029] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and do not limit the number of objects. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0030] Figure 1 It is a flowchart of a method for updating the remaining amount of consumables of a consumable chip provided for an embodiment of the present application. This method for updating the remaining amount of consumables is applied to a printing device and is used to update the remaining amount of consumables of the consumable chip.

[0031] As Figure 1 shown, the method for updating the remaining amount of consumables of the consumable chip specifically includes the following steps:

[0032] Step S101, obtain consumable data, where the consumable data includes identification information.

[0033] Among them, the identification information can be used to uniquely identify the identity source of the printing consumable to distinguish different printing consumables, and specifically includes model, version, and regional information, etc.

[0034] In one embodiment, before obtaining the consumable data, the identity verification of the consumable chip can be performed. The specific process is as follows:

[0035] Establish a communication connection with the consumable chip, receive the chip certificate sent by the consumable chip, and verify the chip certificate;

[0036] In the case where the chip certificate verification is successful, negotiate a session key with the consumable chip and request the consumable chip to send the consumable data.

[0037] Among them, chips sourced from the original factory or not reused can be regarded as legal chips, and their chip certificates can pass verification. While chips sourced from a third party or reset and reused can be regarded as illegal chips, and their chip certificates cannot pass verification. By negotiating a session key with the consumable chip, the security of the communication process between the printing device and the consumable chip can be ensured.

[0038] In one embodiment, before obtaining the consumable data, it further includes:

[0039] Establish a communication connection with the consumable chip, receive the chip certificate sent by the consumable chip, and verify the chip certificate; correspondingly, the specific implementation process of obtaining the consumable data is as follows: when the chip certificate verification is successful, read the consumable data from the chip certificate.

[0040] Among them, consumable data can be pre-added to the chip certificate, specifically, it can be identification information and specification information represented by bit fields, etc., and different models, versions, regional information, colors, and capacities are represented by different value combinations of data bits.

[0041] Step S102: Query the corresponding consumable adjustment coefficient based on the identification information and perform a printing operation.

[0042] Among them, in this embodiment, a coefficient correspondence relationship can be pre-constructed based on the identification information and actual usage capacity of different printing consumables. This coefficient correspondence relationship can record the consumable adjustment coefficients corresponding to different printing consumables, specifically, it can be stored in a local or external database, and this application does not make a limitation here. This consumable adjustment coefficient can be used to correct the error of the theoretical consumable value to make it closer to the actual consumption. For example, if printing consumable A can support printing 1000 pages according to the set single-page standard coverage rate, for example, the single-page standard coverage rate is 5%, corresponding to actually printing 1000 pages, its consumable adjustment coefficient is 1, corresponding to actually printing 800 pages, its consumable adjustment coefficient is 1000 / 800 = 1.25, and corresponding to actually printing 1200 pages, its consumable adjustment coefficient is 1000 / 1200 = 0.833.

[0043] In one embodiment, the consumable data further includes specification information, which can be used to describe the physical characteristic parameters of the printing consumable, specifically including color and capacity, etc. Before querying the corresponding consumable adjustment coefficient based on the identification information, an adaptability check can be performed on the identification information and the specification information. Thus, it is determined whether the printing consumable is suitable for the printing device. For example, check whether information such as model, version, region, year, factory, capacity, and color is consistent with the pre-stored standard data respectively. If they are consistent, it is regarded as normal verification, and if they are inconsistent, it is regarded as abnormal verification.

[0044] Correspondingly, querying the corresponding consumable adjustment coefficient based on the identification information includes:

[0045] When the identification information and the specification information are verified to be normal, query the corresponding consumable adjustment coefficient based on the identification information.

[0046] Thus, if the identification information and the specification information are verified to be normal, the printing operation can be allowed. If the identification information and the specification information are verified to be abnormal, the abnormal information can be selected for reporting, and the printing operation can be prohibited.

[0047] Step S103: Calculate the theoretical value of consumable consumption based on the print coverage rate corresponding to each print page in the printing operation, and calibrate the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain the corrected value of consumable consumption.

[0048] Among them, after the printing device executes the printing operation, the print coverage rate corresponding to each print page can be statistically obtained. The print coverage rate can be the percentage of the area covered by toner or ink during printing relative to the entire print page. In one embodiment, the initial capacity of the printing consumable can be the total number of pages that can be supported under a certain single-page standard coverage rate. For example, under a single-page standard coverage rate of a%, it can support printing n1 pages, n2 pages, etc. Correspondingly, the measurement unit of the theoretical value of consumable consumption can be pages. Specifically, when calculating the theoretical value of consumable consumption based on the print coverage rate corresponding to each print page in the printing operation, it can be to query the single-page standard coverage rate corresponding to the identification information, add up the print coverage rates corresponding to each print page to obtain the total print coverage rate, and divide the total print coverage rate by the single-page standard coverage rate to obtain the theoretical value of consumable consumption. In one embodiment, the initial capacity of the printing consumable can be the number of grams of toner that can be used or the number of milliliters of ink that can be used under a certain single-page standard coverage rate. For example, the available toner amount is k1 grams, or the available ink amount is k2 milliliters, etc. Correspondingly, the measurement unit of the theoretical value of consumable consumption can be grams or milliliters. Specifically, when calculating the theoretical value of consumable consumption based on the print coverage rate corresponding to each print page in the printing operation, it can be to query the single-page total consumption corresponding to the identification information. The single-page total consumption can be the consumable consumption required when the print coverage rate corresponding to a single page is 100%. By adding up the print coverage rates corresponding to each print page to obtain the total print coverage rate, and multiplying the total print coverage rate by the single-page total consumption, the theoretical value of consumable consumption can be obtained.

[0049] In addition, after calculating the theoretical value of consumable consumption, it can be calibrated based on the obtained consumable adjustment coefficient. In one embodiment, the theoretical value of consumable consumption can be multiplied by the consumable adjustment coefficient to obtain the corrected value of consumable consumption. For example, if the initial capacity of a printing consumable is to support printing 1000 sheets, but it can actually only print 800 sheets, then when cumulatively counting the consumption amount of the theoretical value of consumable consumption, it can only reach 800 sheets. Subtracting 800 sheets from the initial capacity of 1000 sheets can obtain a consumable remainder of 200 sheets. However, actually, this printing consumable can no longer support printing, and there may be a large deviation in the estimated consumable consumption. Therefore, for this printing consumable, a consumable adjustment coefficient of 1.25 can be queried. By multiplying the theoretical value of consumable consumption by this consumable adjustment coefficient each time, the corrected value of consumable consumption is obtained. Finally, when cumulatively counting the consumption amount of the corrected value of consumable consumption, it can reach 1000 sheets, that is, 800×1.25 = 1000. Thus, the consistency between the actual consumption amount and the theoretical consumption amount is ensured. Another example is that if the initial capacity of a printing consumable is to support printing 1000 sheets and it can actually print 1200 sheets, then when cumulatively counting the consumption amount of the theoretical value of consumable consumption, it can reach 1200 sheets. When the initial capacity is calculated to 0 for consumption reduction, actually, this printing consumable can still support printing 200 sheets, and there may be a large deviation in the estimated consumable consumption. Therefore, for this printing consumable, a consumable adjustment coefficient of 0.833 can be queried. By multiplying the theoretical value of consumable consumption by this consumable adjustment coefficient each time, the corrected value of consumable consumption is obtained. Finally, when cumulatively counting the consumption amount of the corrected value of consumable consumption, it can reach 1000 sheets, that is, 1200×0.833 = 1000. Thus, the consistency between the actual consumption amount and the theoretical consumption amount is ensured. In one embodiment, the theoretical value of consumable consumption can also be calibrated by combining the calibration factor and the consumable adjustment coefficient to obtain the corrected value of consumable consumption. The specific calculation formula is as follows:

[0050] Corrected value of consumable consumption = Theoretical value of consumable consumption * (Consumable adjustment coefficient * (1 + θ)),

[0051] where θ is the calibration factor, which can be used to correct the consumable adjustment coefficient. Specifically, it can be adaptively set by developers according to the specific production year, production factory, and usage environment factors of the printing consumable. Here, this application does not make any limitations.

[0052] Step S104: Send the corrected value of consumable consumption to the consumable chip so that the consumable chip updates the currently recorded consumable remainder based on the corrected value of consumable consumption.

[0053] Among them, the consumable chip can subtract the corrected value of consumable consumption from the currently recorded consumable remainder to obtain a new consumable remainder, thus completing the update of the consumable remainder.

[0054] As described above, by obtaining consumable data, where the consumable data includes identification information; querying a corresponding consumable adjustment coefficient based on the identification information and performing a printing operation; calculating a theoretical consumable consumption value based on the printing coverage corresponding to each printing page in the printing operation, and calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value; sending the corrected consumable consumption value to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected consumable consumption value. In the above solution, by querying a corresponding consumable adjustment coefficient based on the identification information, a pre-set consumable adjustment coefficient corresponding to the current consumable chip can be matched; by calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value, the accuracy of the estimated consumable consumption can be improved, ensuring the consistency between the actual consumption and the theoretical consumption; by sending the corrected consumable consumption value to the consumable chip, reliable reference data can be provided for the consumable chip to accurately update the consumable remaining amount, which is beneficial to accurately reflecting the actual remaining amount of the printing consumables.

[0055] Figure 2 The flowchart of a method for updating the consumable remaining amount including the process of calibrating to obtain the corrected consumable consumption value provided by an embodiment of the present application. As Figure 2 shown, it specifically includes the following steps:

[0056] Step S201: Obtain consumable data, where the consumable data includes identification information and production information.

[0057] Step S202: Query a corresponding consumable adjustment coefficient based on the identification information and perform a printing operation.

[0058] Step S203: Calculate the theoretical consumable consumption value based on the printing coverage corresponding to each printing page in the printing operation.

[0059] Step S204: Calculate an aging factor based on the production information and the set function mapping relationship, multiply the aging factor by the consumable adjustment coefficient to obtain a coefficient correction value, and multiply the sum of the consumable adjustment coefficient and the coefficient correction value by the theoretical consumable consumption value to obtain a corrected consumable consumption value.

[0060] Among them, the performance of printing consumables may decline over time. For example, ink may volatilize or deteriorate due to long storage time. Another example is that the toner's ability to adsorb electrons becomes weaker after long storage, which will affect the toner consumption during the printing process. Moreover, there are differences in the process technologies of different manufacturing plants, resulting in different degrees of aging. Therefore, the production information may include the production year, manufacturing plant, etc. In this embodiment, a function mapping relationship is preset for different manufacturing plants. This function mapping relationship can use the time difference between the current year and the production year as the input quantity and correspondingly output an aging factor. This function mapping relationship can be a linear growth function, a logarithmic growth function, etc. The value range of the aging factor is greater than 1. As the time difference between the current year and the production year increases, the aging factor becomes larger. The specific calculation formula for obtaining the consumable consumption correction value is as follows: consumable consumption correction value = theoretical consumable consumption value * (consumable adjustment coefficient + coefficient correction value), and coefficient correction value = consumable adjustment coefficient * θ ′ , where θ′ is the aging factor. For example, the initial capacity of a printing consumable is to support printing 1000 sheets, but it is actually measured that it can only print 800 sheets when it leaves the factory. Then the corresponding consumable adjustment coefficient is 1.25. However, over time, the printing consumable will age, and the actual number of sheets it can print currently is less than 800. Therefore, the function mapping relationship corresponding to the manufacturing plant of the printing consumable can be queried, and the time difference between the current year and the production year is input into this function mapping relationship to obtain an aging factor greater than 1. By multiplying the aging factor and the consumable adjustment coefficient, the coefficient correction value is obtained, and adding the consumable adjustment coefficient and the coefficient correction value can increase the adjustment degree of the theoretical consumable consumption value, making the theoretical consumption closer to the actual consumption.

[0061] Step S205: Send the consumable consumption correction value to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the consumable consumption correction value.

[0062] As described above, by calculating the aging factor based on the production information in the consumable data and the set function mapping relationship, the aging degree of the printing consumable can be accurately predicted, and the aging factor for correcting the consumable adjustment coefficient is calculated. By multiplying the aging factor and the consumable adjustment coefficient, the coefficient correction value is obtained. Multiplying the sum of the consumable adjustment coefficient and the coefficient correction value by the theoretical consumable consumption value to obtain the consumable consumption correction value can more accurately adjust the theoretical consumable consumption value, making the theoretical consumption closer to the actual consumption.

[0063] Figure 3 This is a flowchart of a method for updating the remaining amount of consumables including the process of calculating the theoretical consumable consumption value provided by an embodiment of the present application. As Figure 3 shown, it specifically includes the following steps:

[0064] Step S301: Obtain consumable data, where the consumable data includes identification information.

[0065] Step S302: Query the corresponding consumable adjustment coefficient based on the identification information and perform a printing operation.

[0066] Step S303: Query the single-page standard coverage rate and single-page consumable usage corresponding to the identification information, add up the print coverage rates corresponding to each printed page to obtain the total print coverage rate, divide the total print coverage rate by the single-page standard coverage rate to obtain the target number of pages, and multiply the target number of pages by the single-page consumable usage to obtain the theoretical value of consumable consumption.

[0067] Among them, the single-page standard coverage rate can be the percentage of the area covered by toner or ink during printing set by the manufacturer to calibrate the single-page consumable usage relative to the entire printed page, and the single-page consumable usage can be the specific amount of printing consumables required per page measured by the manufacturer under the single-page standard coverage rate. By adding up the print coverage rates corresponding to each printed page to obtain the total print coverage rate and dividing the total print coverage rate by the single-page standard coverage rate to obtain the target number of pages, the total number of pages printed in this printing operation can be obtained on the premise of matching the single-page standard coverage rate. Finally, by multiplying the target number of pages by the single-page consumable usage, the theoretical value of consumable consumption can be obtained.

[0068] Step S304: Calibrate the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain the corrected value of consumable consumption.

[0069] Step S305: Send the corrected value of consumable consumption to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected value of consumable consumption.

[0070] As described above, by dividing the total print coverage rate by the single-page standard coverage rate to obtain the target number of pages and multiplying the target number of pages by the single-page consumable usage to obtain the theoretical value of consumable consumption, the theoretical value of consumable consumption can be accurately calculated, providing reliable reference information for subsequent updating of the consumable remaining amount.

[0071] Figure 4 This is a flowchart of a method for updating the consumable remaining amount including the process of determining the consumable adjustment coefficient provided by an embodiment of the present application. As Figure 4 shown, it specifically includes the following steps:

[0072] Step S401: Obtain the identification information, initial capacity, and print records corresponding to multiple replaced consumables stored, calculate the consumable adjustment coefficient corresponding to each replaced consumable based on the initial capacity and print record corresponding to each replaced consumable, and construct a coefficient correspondence relationship based on the identification information and consumable adjustment coefficient corresponding to each replaced consumable.

[0073] Among them, the identification information may include model, version, regional information, etc. The initial capacity is the total number of pages that the replaced consumable can support printing according to the set single-page standard coverage rate. The printing record may include the printing coverage rate corresponding to each printed page during the execution of each printing operation of the historical printing device using the replaced consumable. By adding up the printing coverage rates corresponding to each printed page of each printing operation, the total printing coverage rate can be obtained. Dividing the total printing coverage rate by the single-page standard coverage rate can obtain the number of printed pages. Then, dividing the total number of pages by the number of printed pages can obtain the consumable adjustment coefficient corresponding to each replaced consumable. For example, if the total number of pages is 1000 and the number of printed pages is 800, then the consumable adjustment coefficient is 1.25. Another example, if the total number of pages is 1000 and the number of printed pages is 1200, then the consumable adjustment coefficient is 0.833. Finally, based on the identification information and the consumable adjustment coefficient corresponding to multiple replaced consumables respectively, a coefficient correspondence relationship can be constructed.

[0074] Step S402, obtain consumable data, where the consumable data includes identification information.

[0075] Step S403, query the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient, and perform a printing operation.

[0076] In one embodiment, the specific process of querying the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient is as follows:

[0077] Query the set coefficient correspondence relationship to determine whether there is a first adjustment coefficient that matches the identification information; if the first adjustment coefficient exists, determine the first adjustment coefficient as the consumable adjustment coefficient; if the first adjustment coefficient does not exist, determine the set default adjustment coefficient as the consumable adjustment coefficient, and request the server to send coefficient update information, and update the coefficient correspondence relationship based on the coefficient update information.

[0078] Among them, if the first adjustment coefficient does not exist, it can be regarded that the consumable adjustment coefficient corresponding to the printing consumable is not recorded, and the default adjustment coefficient can be used. The default adjustment coefficient can be statistically set by the developer as the median according to the distribution of the existing consumable adjustment coefficients corresponding to different printing consumables in the actual application scenario, which is not limited herein. And, the server can be requested to send coefficient update information to update the coefficient correspondence relationship in a timely manner, providing a more complete coefficient correspondence relationship for subsequent consumable consumption calculation.

[0079] In one embodiment, before querying the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient, the coefficient correspondence relationship can be updated, and the specific process includes the following:

[0080] When triggering a firmware upgrade update or reaching a preset time node, request the server to send coefficient update information; update the coefficient correspondence based on the coefficient update information.

[0081] Among them, developers can maintain the coefficient correspondence in the cloud on the server to ensure the timeliness of the data of the coefficient correspondence. If a firmware upgrade update is triggered or a preset time node is reached, coefficient update information can be downloaded from the server, and this coefficient update information can be used to update the coefficient correspondence to ensure the accuracy of the consumable adjustment coefficient.

[0082] Step S404: Calculate the theoretical value of consumable consumption based on the print coverage rate corresponding to each print page in the printing operation, and calibrate the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain the corrected value of consumable consumption.

[0083] Step S405: Send the corrected value of consumable consumption to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected value of consumable consumption.

[0084] As described above, by calculating the consumable adjustment coefficient corresponding to each replaced consumable based on the initial capacity and print records of the replaced consumables, the consumable adjustment coefficients corresponding to different print consumables can be reasonably estimated with reference to historical print information. By constructing a coefficient correspondence based on the identification information and consumable adjustment coefficient corresponding to each replaced consumable, a queryable coefficient correspondence can be provided for the subsequent update of the remaining amount of the print consumable, and the corresponding consumable adjustment coefficient can be quickly matched.

[0085] Figure 5 It is a flowchart of a method for updating the remaining amount of consumables including a process of updating the remaining amount of consumables based on the rounded value of consumable consumption provided by an embodiment of the present application. As Figure 5 shown, it specifically includes the following steps:

[0086] Step S501: Obtain consumable data, where the consumable data includes identification information.

[0087] Step S502: Query the corresponding consumable adjustment coefficient based on the identification information and perform a printing operation.

[0088] Step S503: Calculate the theoretical value of consumable consumption based on the print coverage rate corresponding to each print page in the printing operation, and calibrate the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain the corrected value of consumable consumption.

[0089] Step S504: When the corrected value of consumable consumption is an integer value, send the corrected value of consumable consumption to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected value of consumable consumption.

[0090] Step S505: When the consumable consumption correction value is a non-integer value, query the historical remaining consumption corresponding to the identification information, and add the historical remaining consumption to the consumable consumption correction value to obtain the consumable consumption target value.

[0091] Among them, since the calculated consumable consumption correction value may be a non-integer value, and the number of bits for data transmission between the printing device and the consumable chip is limited. Therefore, each time the consumable consumption correction value can be rounded and transmitted, and the decimal part is left to be added and rounded in the next calculation of the consumable consumption correction value. Thus, in this embodiment, if the consumable consumption correction value is a non-integer value, the historical remaining consumption corresponding to the identification information can be queried first. The historical remaining consumption is the decimal part remaining after rounding the historical consumable consumption correction value in the previous calculation of the historical consumable consumption correction value. By adding the historical remaining consumption to the current consumable consumption correction value, the consumable consumption target value can be obtained, and the historical remaining consumption is re-added for subsequent rounding calculations to avoid deviation in the subsequent update of the consumable remaining amount caused by error accumulation.

[0092] Step S506: Perform a floor calculation on the consumable consumption target value to obtain the consumable consumption rounded value, and send the consumable consumption rounded value to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the consumable consumption rounded value.

[0093] Among them, by performing a floor calculation on the consumable consumption target value, the consumable consumption rounded value can be obtained, and the consumable consumption rounded value can meet the current data transmission bit requirement.

[0094] Step S507: Subtract the consumable consumption rounded value from the consumable consumption target value to obtain the consumable consumption decimal value, and update the numerical value of the historical remaining consumption to the consumable consumption decimal value.

[0095] Among them, the consumable consumption decimal value is the decimal part of the consumable consumption target value. By updating the numerical value of the historical remaining consumption to the consumable consumption decimal value, the decimal part that has not been transmitted to the consumable chip in the current printing operation can be recorded for the next consumable consumption calculation process.

[0096] As described above, when the consumable consumption correction value is a non-integer value, by adding the historical consumption margin and the consumable consumption correction value to obtain the consumable consumption target value, the untransmitted consumable consumption decimal value can be added for subsequent rounding calculations, meeting the transmission digit requirements while avoiding error accumulation; by performing a floor calculation on the consumable consumption target value to obtain the consumable consumption rounded value, the integer part of the consumable consumption can be effectively retained for data transmission; by subtracting the consumable consumption rounded value from the consumable consumption target value to obtain the consumable consumption decimal value and updating the numerical size of the historical consumption margin to the consumable consumption decimal value, the historical consumption margin can be timely updated to the current untransmitted decimal part, ensuring the timeliness of the historical consumption margin.

[0097] Figure 6 The following is a structural block diagram of a consumable margin update device for a consumable chip provided by an embodiment of the present application. The device is configured to execute the consumable margin update method for the consumable chip provided by the above embodiment, and has corresponding functional modules and beneficial effects for executing the method. As Figure 6 shown, the device specifically includes:

[0098] A consumable data acquisition module 101, configured to acquire consumable data, where the consumable data includes identification information;

[0099] An adjustment coefficient determination module 102, configured to query the corresponding consumable adjustment coefficient based on the identification information and perform a printing operation;

[0100] A correction value determination module 103, configured to calculate the theoretical consumable consumption value based on the print coverage corresponding to each print page in the printing operation, and calibrate the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain the consumable consumption correction value;

[0101] A first margin update module 104, configured to send the consumable consumption correction value to the consumable chip, so that the consumable chip updates the currently recorded consumable margin based on the consumable consumption correction value.

[0102] As described above, by obtaining consumable data, where the consumable data includes identification information; querying a corresponding consumable adjustment coefficient based on the identification information and performing a printing operation; calculating a theoretical consumable consumption value based on the print coverage rate corresponding to each print page in the printing operation, and calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value; sending the corrected consumable consumption value to the consumable chip so that the consumable chip updates the currently recorded consumable remaining amount based on the corrected consumable consumption value. In the above solution, by querying a corresponding consumable adjustment coefficient based on the identification information, a pre-set consumable adjustment coefficient corresponding to the current consumable chip can be matched; by calibrating the theoretical consumable consumption value based on the consumable adjustment coefficient to obtain a corrected consumable consumption value, the accuracy of consumable consumption estimation can be improved, ensuring the consistency between the actual consumption and the theoretical consumption; by sending the corrected consumable consumption value to the consumable chip, reliable reference data can be provided for the consumable chip to accurately update the consumable remaining amount, which is beneficial to accurately reflecting the actual remaining amount of the printing consumables.

[0103] In a possible embodiment, the consumable data further includes production information, and the correction value determination module 103 is further configured to:

[0104] Calculate an aging factor based on the production information and the set function mapping relationship;

[0105] Multiply the aging factor by the consumable adjustment coefficient to obtain a coefficient correction value;

[0106] Multiply the sum of the consumable adjustment coefficient and the coefficient correction value by the theoretical consumable consumption value to obtain a corrected consumable consumption value.

[0107] In a possible embodiment, the correction value determination module 103 is further configured to:

[0108] Query the single-page standard coverage rate and single-page consumable usage amount corresponding to the identification information;

[0109] Add the print coverage rates corresponding to each print page to obtain a total print coverage rate, and divide the total print coverage rate by the single-page standard coverage rate to obtain the target number of pages;

[0110] Multiply the target number of pages by the single-page consumable usage amount to obtain a theoretical consumable consumption value.

[0111] In a possible embodiment, it further includes a correspondence relationship construction module, configured to:

[0112] Obtain the identification information, initial capacity, and print records corresponding to multiple replaced consumables stored;

[0113] Calculate the consumable adjustment coefficient corresponding to each replaced consumable based on the initial capacity and print record corresponding to each replaced consumable;

[0114] Construct a coefficient correspondence relationship based on the identification information corresponding to each replaced consumable and the consumable adjustment coefficient;

[0115] Correspondingly, the adjustment coefficient determination module 102 is further configured to:

[0116] Query the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient.

[0117] In a possible embodiment, it further includes a second margin update module, configured to:

[0118] When the consumable consumption correction value is a non-integer value, query the historical consumption margin corresponding to the identification information, and add the historical consumption margin to the consumable consumption correction value to obtain the consumable consumption target value;

[0119] Perform a floor calculation on the consumable consumption target value to obtain the consumable consumption rounded value, and send the consumable consumption rounded value to the consumable chip, so that the consumable chip updates the currently recorded consumable margin based on the consumable consumption rounded value;

[0120] Subtract the consumable consumption rounded value from the consumable consumption target value to obtain the consumable consumption decimal value, and update the numerical size of the historical consumption margin to the consumable consumption decimal value;

[0121] Correspondingly, the first margin update module 104 is further configured to:

[0122] When the consumable consumption correction value is an integer value, send the consumable consumption correction value to the consumable chip.

[0123] In a possible embodiment, it further includes a correspondence relationship update module, configured to:

[0124] When a firmware upgrade update is triggered or a preset time node is reached, request the server to send coefficient update information;

[0125] Update the coefficient correspondence relationship based on the coefficient update information.

[0126] In a possible embodiment, the adjustment coefficient determination module 102 is further configured to:

[0127] Query the set coefficient correspondence relationship to determine whether there is a first adjustment coefficient that matches the identification information;

[0128] When the first adjustment coefficient exists, determine the first adjustment coefficient as the consumable adjustment coefficient;

[0129] When the first adjustment coefficient does not exist, determine the set default adjustment coefficient as the consumable adjustment coefficient, and request the server to send coefficient update information, and update the coefficient correspondence relationship based on the coefficient update information.

[0130] In a possible embodiment, the consumable data further includes specification information, and further includes a verification module, configured to:

[0131] Perform an adaptability verification on the identification information and the specification information;

[0132] Correspondingly, the adjustment coefficient determination module 102 is further configured to:

[0133] When the identification information and the specification information are verified to be normal, query the corresponding consumable adjustment coefficient based on the identification information.

[0134] In a possible embodiment, it further includes a communication authentication module, configured to:

[0135] Establish a communication connection with the consumable chip, receive the chip certificate sent by the consumable chip, and verify the chip certificate;

[0136] The consumable data request module is configured to:

[0137] When the chip certificate is verified successfully, negotiate a session key with the consumable chip and request the consumable chip to send the consumable data.

[0138] In a possible embodiment, the consumable data acquisition module 101 is further configured to:

[0139] When the chip certificate is verified successfully, read the consumable data from the chip certificate.

[0140] Figure 7 The structural schematic diagram of an electronic device provided by an embodiment of the present application is shown as Figure 7 shown. The device includes a processor 201, a storage device 202, an input device 203, and an output device 204; the number of processors 201 in the device can be one or more, Figure 7 Taking one processor 201 as an example; the processor 201, the storage device 202, the input device 203, and the output device 204 in the device can be connected through a bus or other means, Figure 7 Taking the connection through a bus as an example. The storage device 202, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the consumable remaining amount update method of the consumable chip in the embodiment of the present application. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the storage device 202, that is, implements the above-mentioned consumable remaining amount update method of the consumable chip. The input device 203 can be configured to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the device. The output device 204 can include display devices such as a display screen.

[0141] The electronic device provided above can be used to execute the method for updating the remaining amount of consumables of the consumable chip provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0142] An embodiment of the present application further provides a non-volatile storage medium including computer-executable instructions. The computer-executable instructions are configured to execute a method for updating the remaining amount of consumables of a consumable chip described in one of the above embodiments when executed by a computer processor. The method includes: obtaining consumable data, where the consumable data includes identification information; querying a corresponding consumable adjustment coefficient based on the identification information and performing a printing operation; calculating a theoretical value of consumable consumption based on the printing coverage rate corresponding to each printing page in the printing operation, and calibrating the theoretical value of consumable consumption based on the consumable adjustment coefficient to obtain a corrected value of consumable consumption; and sending the corrected value of consumable consumption to the consumable chip so that the consumable chip updates the currently recorded remaining amount of consumables based on the corrected value of consumable consumption.

[0143] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory such as flash memory, magnetic media, or optical storage; registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Additionally, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system that is connected to the first computer system via a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.

[0144] Of course, the computer-executable instructions of the storage medium including computer-executable instructions provided by the embodiments of the present application are not limited to the method for updating the remaining amount of consumables of the consumable chip as described above, and may also execute related operations in the method for updating the remaining amount of consumables of the consumable chip provided in any embodiment of the present application.

[0145] It should be noted that in the embodiments of the device for updating the remaining amount of consumables of the consumable chip described above, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and are not configured to limit the protection scope of the embodiments of the present application.

[0146] It should be noted that the numbers assigned to each step in this solution are only used to describe the overall design framework of this solution, and do not represent an inevitable sequence between the steps. On the basis that the overall implementation process conforms to the overall design framework of this solution, it falls within the protection scope of this solution. The sequential order in text form during description is not an exclusive limitation on the specific implementation process of this solution. Those skilled in the art should understand that the embodiments of this application can be provided as methods, systems, or computer program products. In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory. The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.

[0147] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, commodity or device including the element.

[0148] Note that the above is only the preferred embodiment of the present invention and the applied technical principle. Those skilled in the art will understand that the present invention is not limited to the specific embodiments here, and various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, it may further include more other equivalent embodiments, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for updating the remaining amount of consumables of a consumable chip, characterized in that: The method comprises: Acquiring consumables data, wherein the consumables data includes identification information; Querying the corresponding consumable adjustment coefficient based on the identification information, and performing a printing operation; Calculating a consumables consumption theoretical value based on the print coverage rate corresponding to each printed page in the printing operation, and calibrating the consumables consumption theoretical value based on the consumables adjustment coefficient to obtain a consumables consumption correction value; The consumables consumption correction value is sent to the consumables chip, so that the consumables chip updates the currently recorded consumables remaining amount based on the consumables consumption correction value.

2. The method for updating the remaining amount of consumables of the consumable chip according to claim 1, characterized in that: The consumables data also includes production information, and the consumables consumption correction value is obtained by calibrating the consumables consumption theoretical value based on the consumables adjustment coefficient, including: Based on the production information and the set function mapping relationship, an aging factor is calculated; Multiplying the aging factor by the consumable adjustment coefficient to obtain a coefficient correction value; The consumables consumption correction value is obtained by multiplying the sum of the consumables adjustment coefficient and the coefficient correction value by the consumables consumption theoretical value.

3. The method for updating the remaining amount of consumables of the consumable chip according to claim 1, characterized in that: The calculating the theoretical value of consumables consumption based on the print coverage rate corresponding to each print page in the printing operation includes: Querying the single-page standard coverage and single-page consumables usage corresponding to the identification information; Adding the print coverages corresponding to the respective print pages to obtain a total print coverage, and dividing the total print coverage by the single-page standard coverage to obtain a target number of pages; The target number of pages is multiplied by the single-page consumables usage to obtain a theoretical value of consumables consumption.

4. The method for updating the remaining amount of consumables of a consumable chip according to claim 1, characterized in that: Before querying the corresponding consumable adjustment coefficient based on the identification information, the method further includes: Obtaining identification information, initial capacity and printing records corresponding to a plurality of stored replaced consumables; Based on the initial capacity and printing record corresponding to each of the replaced consumables, calculating the consumable adjustment coefficient corresponding to each of the replaced consumables; Constructing a coefficient correspondence relationship based on identification information corresponding to each of the replaced consumables and the consumable adjustment coefficient; Correspondingly, the querying of the corresponding consumable adjustment coefficient based on the identification information includes: The coefficient correspondence is queried based on the identification information to obtain the consumable adjustment coefficient.

5. The method for updating the remaining amount of consumables of a consumable chip according to claim 1, characterized in that: After the consumables consumption theoretical value is calibrated based on the consumables adjustment coefficient to obtain the consumables consumption correction value, the method further includes: In the case where the consumables consumption correction value is a non-integer value, querying the historical consumption margin corresponding to the identification information, and adding the historical consumption margin to the consumables consumption correction value to obtain the consumables consumption target value; The consumable consumption target value is rounded down to obtain a consumable consumption rounded value, and the consumable consumption rounded value is sent to the consumable chip, so that the consumable chip updates the currently recorded consumable remaining amount based on the consumable consumption rounded value; Subtracting the rounded value of the consumables consumption from the consumables consumption target value to obtain a consumables consumption decimal value, and updating the value of the historical consumption margin to the consumables consumption decimal value; Correspondingly, sending the consumable consumption correction value to the consumable chip includes: When the consumables consumption correction value is an integer value, the consumables consumption correction value is sent to the consumables chip.

6. The method for updating the remaining amount of consumables of the consumable chip according to claim 4, characterized in that: Before the step of querying the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient, the method further includes: When a firmware upgrade is triggered or a preset time node is reached, request the server to send coefficient update information; The coefficient correspondence is updated based on the coefficient update information.

7. The method for updating the remaining amount of consumables of a consumable chip according to claim 4, characterized in that: The querying the coefficient correspondence relationship based on the identification information to obtain the consumable adjustment coefficient includes: Querying the set coefficient correspondence relationship to determine whether there is a first adjustment coefficient that matches the identification information; In the case where the first adjustment coefficient exists, determining the first adjustment coefficient as a consumable adjustment coefficient; In the case that the first adjustment coefficient does not exist, the set default adjustment coefficient is determined as the consumable adjustment coefficient, and the server is requested to send coefficient update information, and the coefficient correspondence is updated based on the coefficient update information.

8. The method for updating the remaining amount of consumables of a consumable chip according to claim 1, characterized in that: The consumables data also includes specification information, and before querying the corresponding consumables adjustment coefficient based on the identification information, further includes: Performing compatibility check on the identification information and the specification information; Correspondingly, the querying of the corresponding consumable adjustment coefficient based on the identification information includes: When the identification information and the specification information are verified to be normal, the corresponding consumable adjustment coefficient is queried based on the identification information.

9. The method for updating the remaining amount of consumables of a consumable chip according to claim 1, characterized in that: Before obtaining the consumables data, the method further includes: Establishing a communication connection with the consumable chip, receiving a chip certificate sent by the consumable chip, and verifying the chip certificate; When the chip certificate verification is successful, key negotiation is performed with the consumable chip to determine a session key, and the consumable chip is requested to send consumable data.

10. The method for updating the remaining amount of consumables of a consumable chip according to claim 1, characterized in that: Before obtaining the consumables data, the method further includes: Establishing a communication connection with the consumable chip, receiving a chip certificate sent by the consumable chip, and verifying the chip certificate; Accordingly, the obtaining of consumables data includes: When the chip certificate is successfully verified, consumable data is read from the chip certificate.

11. A device for updating the remaining amount of consumables of a consumable chip, characterized in that: include: A consumables data acquisition module, configured to acquire consumables data, wherein the consumables data includes identification information; An adjustment coefficient determination module, configured to query a corresponding consumable adjustment coefficient based on the identification information and perform a printing operation; a correction value determination module, configured to calculate a consumables consumption theoretical value based on the print coverage rate corresponding to each printed page in the printing operation, and calibrate the consumables consumption theoretical value based on the consumables adjustment coefficient to obtain a consumables consumption correction value; The first balance updating module is configured to send the consumable consumption correction value to the consumable chip, so that the consumable chip updates the currently recorded consumable balance based on the consumable consumption correction value.

12. An electronic device, comprising: one or more processors; A storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the consumable balance updating method of the consumable chip described in any one of claims 1-10.

13. A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute the consumable balance updating method of the consumable chip according to any one of claims 1 to 10 when executed by a computer processor.