Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, an object of the present invention is to provide a method for recording consumable capacity, which can solve the problem of unusable consumable chip caused by failure of consumable sensor or abnormal use of consumable.
The second objective of the present invention is to provide a consumable chip.
It is a further object of the present invention to provide a computer-readable storage medium.
The fourth objective of the present invention is to provide a consumable box.
In order to solve the above problem, an embodiment of a first aspect of the present invention provides a method for recording a capacity of a consumable, including: acquiring an imaging task value and a consumable use detection value; judging the rationality of the consumable use according to the imaging task value and the consumable use detection value; acquiring a consumable use actual value according to the rationality of the consumable use, the imaging task value and the consumable use detection value; and calculating the capacity of the consumable according to the actual value of the consumable usage to record.
According to the consumable capacity recording method provided by the embodiment of the invention, after the imaging task value and the consumable use detection value are obtained, the consumable chip does not directly record the consumable capacity by using the consumable use detection value any more, but judges the imaging task value and the consumable use detection value to determine the rationality of consumable use under the current imaging, so that the consumable use actual value is obtained according to the rationality of consumable use, the imaging task value and the consumable use detection value, and the consumable chip records the consumable capacity by using the consumable use actual value, so that the condition that the consumable chip cannot be normally used due to consumable sensor failure or consumable use abnormity can be prevented, and the use efficiency of the consumable chip is improved.
In some embodiments, determining the rationality of consumable use from the imaging task value and the consumable use detection value comprises: obtaining a theoretical value range of the consumption of consumables according to the imaging task value; and determining that the consumable use detection value exceeds the theoretical value range of the consumable use amount, and determining that the consumable use is unreasonable.
In some embodiments, obtaining a consumable usage actual value from the rationality of consumable usage, the imaging task value, and the consumable usage detection value includes: and if the consumable is unreasonable in use, obtaining the actual consumable use value according to the imaging task value.
In some embodiments, determining the rationality of consumable use from the imaging task value and the consumable use detection value comprises: obtaining a theoretical value range of the consumption of consumables according to the imaging task value; and determining that the consumable use detection value is in the theoretical value range of the consumable use amount, and determining that the consumable use is reasonable.
In some embodiments, obtaining a consumable usage actual value from the rationality of consumable usage, the imaging task value, and the consumable usage detection value includes: the consumable is used reasonably, and the consumable use detection value is used as the consumable use actual value.
In some embodiments, the image forming job value includes a number of sheets or pages used for image formation, and the consumable usage detection value includes a consumable down rate.
In some embodiments, the method further comprises: and if the consumable is determined to be unreasonable in use, sending prompt information to give an alarm prompt.
An embodiment of a second aspect of the present invention provides a consumable chip, including: the acquisition module is used for acquiring an imaging task value and a consumable use detection value; the judgment module is used for judging the rationality of the consumable use according to the imaging task value and the consumable use detection value; the obtaining module is used for obtaining a consumable use actual value according to the rationality of the consumable use, the imaging task value and the consumable use detection value; and the calculating module is used for calculating the capacity of the consumable according to the actual value of the consumable use so as to record.
According to the consumable chip provided by the embodiment of the invention, after the acquisition module acquires the imaging task value and the consumable use detection value, the consumable chip does not directly record the consumable capacity by using the consumable use detection value any more, but judges the imaging task value and the consumable use detection value by the judgment module so as to determine the rationality of consumable use under the imaging task, so that the acquisition module acquires the consumable use actual value according to the rationality of consumable use, the imaging task value and the consumable use detection value, and the consumable chip records the consumable capacity by using the consumable use actual value, therefore, the condition that the consumable chip cannot be normally used due to carbon powder sensor failure or consumable use abnormity can be prevented, and the use efficiency of the consumable chip is improved.
An embodiment of a third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the consumable capacity recording method of the above-described embodiment.
A fourth aspect of the present invention provides a consumable cartridge comprising: a consumable chip; a memory communicatively coupled to the consumable chip; the memory stores a computer program executable by the consumable chip, and the consumable chip implements the method for recording consumable capacity according to the above embodiments when executing the computer program.
According to the consumable box provided by the embodiment of the invention, the consumable capacity recording method provided by the embodiment is executed by the consumable chip, so that the problem that the consumable chip cannot be used due to the failure of the carbon powder sensor or the abnormal use of the consumable can be solved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Embodiments of the present invention will be described in detail below, the embodiments described with reference to the drawings being illustrative, and the embodiments of the present invention will be described in detail below.
Imaging device can write into the formation of image information to the consumptive material chip when carrying out the formation of image operation, and this formation of image information contains this formation of image task's formation of image and uses paper number and consumptive material use amount, and the consumptive material use amount is that the paper number is used through the formation of image and the consumptive material decline rate that the consumptive material sensor detected obtains. The consumable may be toner or ink for use in imaging. However, if the consumable sensor detects that the consumable sensor is abnormal, if the consumable sensor fails, the consumable sensor sends a wrong consumable drop rate, so that the problem that the consumable chip cannot be normally used due to the wrong capacity of the recorded consumable is caused, and the problems that printing cannot be performed, the consumable capacity returns to zero or the consumable capacity is reported to be low and the like occur.
In order to solve the above problems, a first embodiment of the present invention provides a method for recording consumable capacity, which can solve the problem that a consumable chip cannot be used due to a failure of a carbon powder sensor or an abnormal use of a consumable.
The consumable capacity recording method according to the embodiment of the present invention will be described with reference to fig. 1, which includes at least steps S1-S4, as shown in fig. 1.
In step S1, an imaging task value and a consumable use detection value are acquired.
The imaging task value is the task amount of an imaging device such as a printer in the imaging process, and the consumable use detection value is the consumable use value detected by a consumable sensor in the imaging process.
In an embodiment, the imaging task value at each imaging is sent to the consumable chip by the imaging device. And detecting the consumable use detection value in each imaging through the consumable sensor, and sending the consumable use detection value to the consumable chip through the imaging equipment.
In some embodiments, the image forming job value includes a number of sheets or pages used for image formation, and the consumable usage detection value includes a consumable descent rate.
In some embodiments, the consumable sensor may be an infrared sensor, and is configured to detect a descending amount of the consumable in the consumable box, so as to obtain a descending rate of the consumable after the imaging is completed, that is, a consumable usage detection value; or, the consumptive material sensor can be weight sensor for detect the weight of consumptive material in the consumptive material box, use the detected value with the decline rate that obtains this formation of image completion back consumptive material promptly consumptive material.
And step S2, judging the rationality of the consumable use according to the imaging task value and the consumable use detection value.
That is to say, after the imaging task value and the consumable use detection value are obtained, the consumable chip does not directly record the consumable capacity according to the consumable use detection value, but verifies the imaging task value and the consumable use detection value to determine whether the consumption of the consumable used for the imaging is reasonable. If the imaging task value is reasonable, the consumable sensor is not in fault, the consumable consumption is normal under the imaging task value, and the consumable chip can record the consumable capacity according to the consumable consumption detection value; if unreasonable, then explain that the consumptive material sensor has the trouble, the consumptive material use amount is unusual under this formation of image task value, and the consumptive material chip can not use the detected value record consumptive material capacity with this consumptive material. Therefore, the abnormal detection process of the consumable use detection value is added before the consumable chip rewrites the consumable capacity, so that the condition that the consumable chip cannot be normally used due to the failure of the consumable sensor or the abnormal use of the consumable can be effectively prevented, and the use efficiency of the consumable chip is improved.
And step S3, acquiring consumable use actual value according to the rationality of consumable use, the imaging task value and the consumable use detection value.
Step S4, calculating the consumable capacity according to the actual value of consumable usage to record.
Specifically, the consumable chip comprises a counting area and a capacity area, wherein an imaging task value and a consumable use detection value sent by the imaging equipment can be written into the counting area of the consumable chip, and the consumable chip judges the imaging task value and the consumable use detection value so as to determine whether to rewrite the consumable use detection value of the counting area according to the rationality of consumable use; the image forming apparatus judges whether there is a consumable of sufficient capacity in the consumable cartridge according to the data of the capacity area, the capacity area is used for recording the remaining capacity of the consumable, that is, the consumable capacity, and the data of the capacity area can be modified according to the data of the counting area, for example, before this image forming operation, the data of the capacity area is 99, that is, representing the remaining 99% of the consumable capacity of the consumable cartridge, and if the actual value of the consumable use is 1% after this image forming operation, the data of the capacity area becomes 98. Therefore, after obtaining the consumable use actual value according to the rationality of the consumable use, the imaging task value and the consumable use detection value, the data recorded in the counting area is the consumable use actual value, and the capacity area calculates the consumable capacity and records according to the consumable use actual value.
For example, in the imaging operation of this time, the number of paper sheets used for imaging is 5, the consumable should be decreased by 1% under the number of paper sheets used for imaging, that is, the imaging task value should be 05, and the consumable usage detection value should be 01, but if the consumable sensor fails, the consumable should be decreased by 99% under the condition that the number of paper sheets used for imaging is 5, that is, the imaging task value is 05, and the consumable usage detection value is 99, if the consumable chip does not judge the imaging task value and the consumable usage detection value, the consumable chip may misunderstand that the consumable is used, but the consumable in the actual consumable box is still unused, in order to avoid the problem that the consumable chip cannot be normally used due to the failure of the consumable sensor or the abnormal usage of the consumable, the consumable chip in the embodiment of the invention does not directly record the consumable capacity with the consumable usage detection value 99 after obtaining the imaging task value is 05 and the consumable usage detection value is 99, but the rationality that the consumptive material used is judged according to formation of image task value and consumptive material use the detected value, and the consumptive material chip can adopt normal detected value, for example 01 or 02 according to the rationality for the chip can obtain the consumptive material and use actual value, thereby prevents that the consumptive material chip from taking notes the problem of unusual consumptive material capacity.
According to the consumable capacity recording method provided by the embodiment of the invention, after the imaging task value and the consumable use detection value are obtained, the consumable chip does not directly record the consumable capacity by using the consumable use detection value any more, but judges the imaging task value and the consumable use detection value to determine the rationality of consumable use under the current imaging, so that the consumable use actual value is obtained according to the rationality of consumable use, the imaging task value and the consumable use detection value, and the consumable chip records the consumable capacity by using the consumable use actual value, so that the condition that the consumable chip cannot be normally used due to consumable sensor failure or consumable use abnormity can be prevented, and the use efficiency of the consumable chip is improved.
In some embodiments, the theoretical value range of the consumable usage is obtained according to the imaging task value, and the consumable usage detection value is determined to be beyond the theoretical value range of the consumable usage, so that the consumable usage is determined to be unreasonable.
The theoretical value range of the consumable consumption can be understood as the reasonable range of the consumable consumption under the imaging task value. For example, if the imaging task value is 05, the consumable chip only recognizes that the theoretical value range of the consumable usage is 1% -3%, and if the detection value of the consumable usage exceeds the theoretical value range of the consumable usage, the consumable usage is unreasonable, for example, the consumable consumption considered by the consumable chip is abnormal, and the consumable sensor has a fault.
In some embodiments, the consumable is unreasonable, and then the actual value of the consumable is obtained according to the imaging task value, that is, after the consumable chip determines that the consumable is unreasonable, the data in the counting area is rewritten according to the relationship between the imaging task value and the consumable capacity, so as to avoid writing abnormal data into the capacity area, thereby preventing the condition that the consumable chip cannot be normally used due to the failure of the consumable sensor or the abnormal use of the consumable, and improving the use efficiency of the consumable chip.
For example, if the imaging task value acquired by the consumable chip is 05 and the consumable usage detection value is 99, the consumable capacity is not directly recorded by the consumable usage detection value 99, but normal data generated according to the imaging task value is to modify the consumable usage detection value 99 into the consumable usage actual value 01, so as to prevent the consumable chip from recording abnormal consumable capacity.
In some embodiments, the consumable usage theoretical value range is obtained according to the imaging task value, and the consumable usage detection value is determined to be in the consumable usage theoretical value range, so that the consumable usage is determined to be reasonable.
In some embodiments, the consumable chip determines that the consumable is reasonably used, and then directly uses the consumable use detection value as the consumable use actual value.
In some embodiments, if the consumable is determined to be unreasonable in use, prompt information is sent to give an alarm prompt to prompt a user that the consumable sensor is faulty, so that the user can replace the consumable sensor conveniently.
The method for recording the capacity of a consumable part according to an embodiment of the present invention is described below with reference to fig. 2, and the specific steps are as follows.
In step S4, count data of the image forming apparatus is received, the count data including an image forming job value and a consumable use detection value.
Step S5, the counting data is judged to determine the rationality of the use of the consumables. If so, executing step S6; if not, step S7 is executed. If the counting data is 0599, wherein the imaging task value is 05, the consumable usage detection value is 99, and the consumable usage detection value exceeds the theoretical value range of the consumable usage, it is determined that the consumable usage is not reasonable, and step S7 is executed; if the counting data is 0501, wherein the imaging task value is 05, the consumable use detection value is 01, and the consumable use detection value does not exceed the theoretical value range of the consumable use amount, then the consumable use is determined to be reasonable, and step S6 is executed.
Step S6, modifying the data of the counting area and the data of the capacity area according to the consumable usage detection value, for example, the consumable chip modifies the data of the counting area and the data of the capacity area directly according to the count data of 0501.
And step S7, calculating the consumable use actual value according to the imaging task value, and modifying the data of the counting area and the data of the capacity area according to the consumable use actual value. For example, the consumable chip modifies the count data of 0599 to normal data 0501 or 0502, and writes the normal data in the count area and the capacity area.
In a second embodiment of the present invention, a consumable chip is provided, as shown in fig. 3, the consumable chip 10 includes an obtaining module 1, a determining module 2, an obtaining module 3, and a calculating module 4.
The acquisition module 1 is used for acquiring an imaging task value and a consumable use detection value; the judgment module 2 is used for judging the rationality of consumable use according to the imaging task value and the consumable use detection value; the acquisition module 3 is used for acquiring consumable use actual values according to the consumable use rationality, the imaging task values and the consumable use detection values; the calculation module 4 calculates the consumable capacity according to the consumable usage actual value to record.
It should be noted that the specific implementation manner of the consumable chip 10 according to the embodiment of the present invention is similar to the specific implementation manner of the consumable capacity recording method according to any of the above embodiments of the present invention, and please refer to the description of the method part specifically, and details are not repeated here in order to reduce redundancy.
According to the consumable chip 10 of the embodiment of the invention, after the acquisition module 1 acquires the imaging task value and the consumable use detection value, the consumable chip 10 does not directly record the consumable capacity by using the consumable use detection value, but judges the imaging task value and the consumable use detection value by the judgment module 2 to determine the rationality of the consumable use under the imaging task, so that the acquisition module 3 acquires the consumable use actual value according to the rationality of the consumable use, the imaging task value and the consumable use detection value, and the consumable chip 10 records the consumable capacity by using the consumable use actual value, thereby preventing the situation that the consumable chip cannot be normally used due to the failure of a carbon powder sensor or abnormal use of the consumable, and improving the use efficiency of the consumable chip 10.
An embodiment of a third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for recording the capacity of a consumable provided by the above-mentioned embodiment.
A fourth aspect of the present invention provides a consumable cartridge, as shown in FIG. 4, the consumable cartridge 20 includes a consumable chip 10 and a memory 5 communicatively connected to the consumable chip 10.
The memory 5 stores a computer program executable by the consumable chip 10, and the consumable capacity recording method provided by the above embodiment is implemented when the consumable chip 10 executes the computer program.
It should be noted that the specific implementation manner of the consumable chip 10 according to the embodiment of the present invention is similar to the specific implementation manner of the consumable capacity recording method according to any of the above embodiments of the present invention, and please refer to the description of the method part specifically, and details are not repeated here in order to reduce redundancy.
According to the consumable box 20 of the embodiment of the invention, the consumable capacity recording method provided by the embodiment is executed by the consumable chip 10, so that the problem that the consumable chip cannot be used due to the failure of the carbon powder sensor or the abnormal use of the consumable can be solved.
In the description of this specification, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of custom logic functions or processes, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.