A serial number updating method, a consumable chip and a consumable
By detecting the remaining capacity of consumable chips and updating the serial number, the problem of resource waste and low detection efficiency caused by duplicate consumable serial numbers is solved, enabling normal reuse and efficient detection of consumables.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2026-03-20
AI Technical Summary
In existing technologies, duplicate serial numbers of consumables prevent their reuse, resulting in resource waste and low testing efficiency.
The remaining capacity is continuously monitored by the consumable chip, and the corresponding serial number is selected and sent to the printer for update, ensuring that the serial number recorded in the printer matches the consumable capacity range and avoiding serial number duplication.
It enables the normal reuse of consumables, avoids resource waste, improves serial number detection efficiency, and solves the problem of non-recyclability caused by duplicate serial numbers.
Smart Images

Figure CN117360099B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of printer control, in particular to a serial number updating method, a consumable chip and a consumable. BACKGROUND
[0002] When the consumable is loaded into the printer, or when the printer is working, the printer will communicate with the consumable chip, obtain the information about the consumable stored in the consumable chip, and record the serial number in the consumable chip.
[0003] However, when the consumable marked by the printer is in a consumption state, or when the consumable is consumed, the printer will record the serial number of the consumable chip that has been used or consumed. The number of recorded serial numbers is limited. When a new consumable is replaced and loaded into the printer, the printer will detect the serial number of the replaced consumable. If the serial number is different from the recorded serial number, the printer will record the serial number of the new consumable. Since the number of serial numbers recorded by the printer is limited, the earliest recorded serial number will be pushed out of the recorded range, i.e. the printer will no longer record the earliest serial number. When the printer detects that the serial number of the replaced consumable is the same as the recorded serial number, the printer will refuse to recognize the machine, or report an error, or appear abnormal during use, etc. For example, the printer cannot truly identify the information of the consumable, or refuses to identify the information of the consumable again, or does not display the information of the consumable, or refuses to recognize the machine, so that the printer reports an error, or the capacity of the consumable suddenly decreases, and the consumable cannot be reused, resulting in resource waste, and the efficiency of the printer in detecting the consumable is low.
[0004] Therefore, there is an urgent need for a method that can allow the printer consumable to be reused, avoid resource waste caused by the consumable, and avoid the repeated use of the consumable due to the repetition of the serial number. SUMMARY
[0005] The present application provides a serial number updating method, a consumable chip and a consumable, to solve the technical problems of the prior art, such as the repeated use of the consumable due to the repetition of the serial number, the resource waste of the consumable, and the low efficiency of the serial number detection of the consumable.
[0006] To solve the above technical problems, the present application provides a serial number updating method, which is executed by a consumable chip and includes the following steps.
[0007] When the consumable is set in the printer, the current remaining capacity is continuously detected;
[0008] According to the capacity interval of the current remaining capacity of the consumable, a corresponding serial number is selected and sent to the printer, so that the recorded serial number is updated according to the received serial number.
[0009] As a preferred solution, the corresponding serial number is selected according to the current remaining capacity of the consumable and sent to the printer, and the method specifically comprises the following steps:
[0010] When the remaining amount of the consumable reaches the starting value of any capacity interval, the serial number corresponding to the capacity interval is sent to the printer.
[0011] As a preferred solution, each capacity interval corresponds to a fixed serial number.
[0012] As a preferred solution, the printer records N serial numbers, the consumable chip records M serial numbers, the capacity intervals have M in total, and each capacity interval corresponds to a serial number recorded by the consumable chip; wherein M>N.
[0013] As a preferred solution, the method further comprises the following steps:
[0014] According to a preset generation algorithm, the serial numbers not recorded in the consumable chip are sequentially selected as the serial numbers corresponding to each capacity interval; wherein each capacity interval corresponds to a serial number not recorded in the consumable chip, and the preset generation algorithm can randomly generate serial numbers.
[0015] As a preferred solution, after the corresponding serial number is selected and sent to the printer, the method further comprises the following steps:
[0016] The serial number currently selected and sent is marked, and the first N serial numbers sent are unmarked; wherein the number of serial numbers marked in the consumable chip does not exceed the number N of serial numbers that can be recorded by the printer.
[0017] As a preferred solution, the printer records N serial numbers, the consumable chip records M serial numbers, and the capacity intervals have U in total; wherein M>N, and N<U.
[0018] Correspondingly, the application also provides a serial number updating method, which is executed by a printer and comprises the following steps:
[0019] When the consumable of the printer is replaced, the consumable chip after replacement is communicated, so that each time the consumable chip selects a corresponding serial number according to the current remaining capacity of the consumable and sends the serial number to the printer;
[0020] The serial number sent by the consumable chip is received, and the serial numbers recorded by the printer are updated.
[0021] Correspondingly, the application also provides a consumable chip arranged in a consumable and used for executing the serial number updating method according to any one of the above; the consumable chip comprises a detection module and a sending module.
[0022] The detection module is configured to continuously detect the current remaining capacity when the to-be-replaced consumable is arranged in the printer.
[0023] The sending module is configured to select a corresponding serial number according to the capacity interval in which the current remaining capacity of the consumable is located, and send the corresponding serial number to the printer, so that the printer updates the recorded serial number according to the received serial number.
[0024] Correspondingly, the application also provides a consumable provided with the consumable chip.
[0025] Compared with the prior art, the application has the following beneficial effects:
[0026] The technical scheme of the application can accurately ensure the gradually decreasing capacity of the consumable as the consumable is used, so that the printer can sequentially read the serial number of the current capacity interval, and then update the recorded serial number in the printer, so that the serial number corresponding to the full capacity is not the same as any serial number stored in the printer when the consumable is replaced subsequently, thereby avoiding errors of the printer due to the serial number, and perfectly solving the problem that the consumable cannot be recycled due to the repeated serial number.
[0027] Further, the technical scheme of the application establishes communication when the printer replaces the consumable, and then acquires the serial number of the replaced consumable, so as to update the recorded serial number in the printer, and also ensures that the consumable can be used normally, avoids waste of resources of the consumable, and improves the efficiency of reading the serial number of the consumable by detecting the capacity of the consumable. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 : a step flow chart of a serial number updating method executed by the consumable according to the application;
[0029] Figure 2 : a schematic diagram of the correspondence between the capacity interval and the serial number according to the application;
[0030] Figure 3 : a step flow chart of a serial number updating method executed by the printer according to the application;
[0031] Figure 4 : a structural schematic diagram of a consumable chip according to the application. DETAILED DESCRIPTION
[0032] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
[0033] Embodiment one
[0034] Please refer to Figure 1 The sequence number updating method provided by the embodiment of the present application is executed by a consumable chip, and includes the following steps S101-S102.
[0035] Step S101: When the consumable is set in the printer, the current remaining capacity is continuously detected.
[0036] In the embodiment, when the consumable is set in the printer, the current remaining capacity is continuously detected by the consumable chip arranged in the consumable, and then the sequence number corresponding to the remaining capacity is obtained.
[0037] Step S102: According to the capacity interval in which the current remaining capacity of the consumable is located, the corresponding sequence number is selected and sent to the printer, so that the recorded sequence number is updated according to the received sequence number by the printer.
[0038] As a preferred scheme of the embodiment, according to the capacity interval in which the current remaining capacity of the consumable is located, the corresponding sequence number is selected and sent to the printer, specifically including:
[0039] When the remaining amount of the consumable reaches the starting value of any capacity interval, the sequence number corresponding to the capacity interval is sent to the printer.
[0040] As a preferred scheme of the embodiment, each capacity interval corresponds to a fixed sequence number.
[0041] As a preferred scheme of the embodiment, the printer records N sequence numbers, the consumable chip records M sequence numbers, the capacity intervals have M in total, and each capacity interval corresponds to a sequence number recorded by the consumable chip; wherein M>N.
[0042] It should be noted that the consumable chip provided in the consumable stores the serial number data information of the consumable, wherein the chip can be an NFC chip, an RFID chip, or the like. In the embodiment, the consumable chip stores M serial numbers, and the serial numbers are arranged in a fixed order from serial number 1 to serial number M. Then, according to the number of serial numbers in the consumable, the consumable capacity range from 0% to 100% is divided into M intervals, that is, interval 1 to interval M. It can be understood that the M intervals can be equal or unequal.
[0043] In the embodiment, referring to Figure 2 For example, the remaining capacity of the consumable is equally divided, each serial number corresponds to a capacity interval, serial number 1 corresponds to interval 1, serial number 2 corresponds to interval 2, and so on.
[0044] In the embodiment, during the use of the consumable on the printer, the consumable capacity gradually decreases, and the data related to the remaining capacity of the consumable is first written into the consumable chip. The consumable chip can detect and determine the current remaining capacity in which capacity interval according to the preset program, so that when the printer accesses the consumable chip, the consumable chip selects the corresponding serial number A according to the corresponding capacity interval A to communicate with the printer. For example, as the consumable capacity decreases from 100% to 0%, the capacity interval changes from interval 1 to interval M, the serial number of the consumable chip and the printer changes from serial number 1 to serial number M, and the serial number recorded by the printer changes from serial number 1 to serial number M.
[0045] In the embodiment, the printer can record up to N serial numbers, so when the capacity of the consumable chip decreases to interval M, the chip communicates with the printer using serial number N+1, and the printer records serial number N+1. However, at this time, the number of serial numbers recorded by the printer has exceeded the range, so the serial number 1 recorded by the printer is deleted by the printer. At this time, the serial numbers recorded by the printer are serial number 2 to serial number N+1. When the consumable chip X is used up and replaced with a consumable chip Y with a capacity of 100%, the chip communicates with the printer using serial number 1 because the capacity of the chip Y is in interval 100%. Since serial number 1 has been deleted by the printer, there is no problem of repetition of the serial number of the newly added consumable and the serial number recorded by the printer. After the serial number 1 is added to the printer, the printer deletes the first stored serial number M-N+1, and the recorded serial numbers become serial number 1, serial number M-N+2, serial number M-N+3, …, serial number M-1, and serial number M. Therefore, when the capacity of the consumable chip Y decreases to interval 2, the chip communicates with the printer using serial number 2, and there is no repetition of the serial number recorded by the printer. Similarly, the same applies.
[0046] It should be noted that the serial number M-N+1 is a serial number recorded by the printer when recording the serial numbers of the consumable chip in sequence. Since the printer can record a total of N serial numbers, for M serial numbers in the consumable chip, when the capacity interval is at the minimum, the serial number sent by the consumable chip is M, that is, for the printer, the serial numbers currently recorded by the printer are: M, M-1, M-2, …, M-N+2, M-N+1; that is, a total of N serial numbers (from M to M-N+1, a total of N serial numbers). Therefore, when the next brand new consumable chip is replaced, the serial number 1 is filled in again, that is, at this time, the serial numbers recorded by the printer are: 1, M, M-1, …, M-N+3, M-N+2; that is, the serial number M-N+1 is deleted.
[0047] It can be understood that the key point of the present application is that the machine records a limited number of serial numbers, and the consumable chip stores available serial numbers more than the number of serial numbers recorded by the machine, and since the chip judges which serial number to communicate with the printer according to the remaining capacity of the chip, the trigger condition of switching is the remaining capacity, and the chip switches the serial number in a fixed order, which can ensure that when the chip capacity is used up and reduced to 0%, the chip stores more than one serial number at the front, which is squeezed out of the record of the printer. At this time, the same brand new chip is used again, and the printer will not report an error due to the serial number problem, and the consumable can be used normally.
[0048] In the present embodiment, in order to further embody the principle of the embodiment of the present application, as an exemplary scheme, there are a printer A and a consumable B, the printer A can record a maximum of 3 serial numbers, and the 3 serial numbers of the chip recorded by the printer A in order are x, y, z, wherein z is the serial number used up by the current printer A, and a new consumable (for example, consumable B) needs to be replaced; the chip of the consumable B stores 4 serial numbers a, b, c, d in order, and the remaining capacity is 100%~80% for using the serial number a to communicate with the machine, the capacity is 79%~60% for using b, the capacity is 59%~40% for using c, and the capacity is 39%~0% for using d.
[0049] When the brand new consumable B is put into the printer A, the serial number used by B at this time is a, because the printer A only records 3 serial numbers, so the serial numbers recorded by the printer A change from x-y-z to y-z-a, and the first recorded x is deleted to make room for recording the latest 3 serial numbers.
[0050] When the capacity of the consumable B is reduced to the range of 79%~60%, the consumable B switches to the b serial number to communicate with the printer at this time, and the serial numbers recorded by the printer A change from y-z-a to z-a-b.
[0051] When the capacity of consumable B falls into the range of 59%~40%, at this time consumable B switches to c serial number to communicate with the printer, the serial number recorded by printer A changes from z-a-b to a-b-c.
[0052] When the capacity of consumable B falls into the range of 39%~0%, at this time consumable B switches to d serial number to communicate with the printer, the serial number recorded by printer A changes from a-b-c to b-c-d.
[0053] When the capacity of consumable B is used up, the brand new consumable C with the same a, b, c, d serial number as B is used, which can be directly used without error due to serial number problem, because at this time printer A has deleted the recorded serial number a. Therefore, printer A only records 3 serial numbers, and the consumable with at least 4 serial numbers can solve the problem of error due to repeated serial number.
[0054] As a preferred scheme of the embodiment, it further comprises:
[0055] According to a preset random algorithm, the unrecorded serial numbers in the consumable chip are sequentially and randomly selected as the serial numbers corresponding to each capacity interval; wherein each capacity interval corresponds to an unrecorded serial number in the consumable chip, and the consumable chip pre-stores a plurality of unrecorded serial numbers.
[0056] In the embodiment, each capacity interval does not correspond to a fixed serial number, but one of the unrecorded serial numbers in the consumable chip is selected according to a preset random algorithm, so that the printer cannot easily find the order of the serial numbers each time the machine is put on, increasing the authenticity of putting on the machine, reducing the probability of being judged as abnormal by the printer, and increasing the accuracy of putting on the machine. It should be noted that the unrecorded serial numbers are pre-stored in the consumable chip.
[0057] As a preferred scheme, after the corresponding serial number is selected and sent to the printer, it further comprises:
[0058] The serial number currently selected and sent is marked, and the serial number of the first N sent is unmarked; wherein the number of marked serial numbers in the consumable chip does not exceed the number N of serial numbers that can be recorded by the printer.
[0059] As a preferred scheme, the printer records N serial numbers, the consumable chip records M serial numbers, and the capacity intervals have U in total; wherein M>N, N<U.
[0060] In the embodiment, each time the consumable chip sends a serial number to the printer, the current sent serial number is marked, and the first N sent serial number of the current sent serial number is unmarked, so that the number of marked serial numbers in the consumable chip does not exceed the number N of serial numbers that the printer can remember, thereby ensuring that the serial number sent by the consumable chip has not been recorded by the printer.
[0061] Exemplarily, the serial numbers recorded by the chip include: a, b, c, d, e; the serial numbers recorded by the printer and the order thereof include A-B-C; wherein, the maximum number M of serial numbers recorded by the printer is 3. And there are four capacity intervals in total, which are: a first capacity interval, a second capacity interval, a third capacity interval, and a fourth capacity interval; wherein, the first capacity interval, the second capacity interval, the third capacity interval, and the fourth capacity interval decrease one by one, and the four capacity intervals can be equal division of the total capacity of the consumable or unequal division of the total capacity of the consumable. For example, when the four capacity intervals are equal division of the total capacity, the first capacity interval corresponds to 100%-75%, the second capacity interval corresponds to 74%-50%, the third capacity interval corresponds to 49%-25%, and the fourth capacity interval corresponds to 24%-0%.
[0062] When the current remaining capacity reaches the first capacity interval, i.e. corresponding to the first time that the consumable chip needs to send a serial number: the consumable chip randomly selects one from the unmarked serial numbers (a, b, c, d, e) according to a random algorithm and sends it to the printer, assuming that the serial number a is randomly selected, then the serial numbers recorded by the printer and the order thereof are B-C-a; and the serial number a is marked. Since it is the first time for the consumable chip to send, no serial number has been sent before, and therefore the marking does not need to be unmarked.
[0063] When the current remaining capacity reaches the second capacity interval, i.e. corresponding to the second time that the consumable chip needs to send a serial number: the consumable chip randomly selects one from the unmarked serial numbers (b, c, d, e) according to a random algorithm and sends it to the printer, assuming that the serial number c is randomly selected, then the serial numbers recorded by the printer and the order thereof are C-a-c; and the serial number c is marked, at this time the serial numbers marked in the consumable chip and the order thereof are: a, c. Since it is the second time for the consumable chip to send, there is no third sent serial number before, and therefore the marking does not need to be unmarked.
[0064] When the remaining capacity reaches the third capacity interval, corresponding to the consumable chip needing to send a serial number for the third time: the consumable chip randomly selects one of the unmarked serial numbers (b, d, e) and sends it to the printer. Assuming serial number e is randomly selected, the printer records the serial numbers and their order as ace. Simultaneously, serial number e is marked. At this point, the marked serial numbers in the consumable chip and their order are a, c, e, reaching the maximum number of serial numbers the printer can record. Since this is the third transmission for this consumable chip, and only the serial numbers sent the first and second times already exist, there is no need to remove the marking.
[0065] When the current remaining capacity reaches the fourth capacity interval, corresponding to the fourth time the consumable chip needs to send a serial number: the consumable chip randomly selects one of the unmarked serial numbers (b, d) and sends it to the printer. Assuming serial number d is randomly selected, the printer records the serial numbers and their order as ced. Simultaneously, serial number d is marked, and the mark for serial number a is deleted. At this point, the marked serial numbers and their order within the consumable chip are: ced. That is, the mark for serial number a, which was sent the first time (corresponding to the third from the beginning), has been deleted. The first serial number sent was e, and the second was c.
[0066] Since 'a' was not recorded in the fourth iteration, it ensures that the serial number sent by the consumable chip is not remembered by the printer, thereby improving the accuracy and efficiency of serial number recording for consumables.
[0067] When the consumable chip's capacity is exhausted, after replenishing the corresponding consumable capacity and resetting the capacity information in the consumable chip, the above-mentioned serial number switching method is executed for both previously marked and unmarked serial numbers, allowing continued use. This ensures that the serial number sent by the consumable chip is not remembered by the printer, thereby improving the reusability of the consumable chip.
[0068] Furthermore, in the above exemplary scheme, the printer may not record any serial number. Since the maximum number of serial numbers recorded by the printer is M=3, the printer can read the three serial numbers a, b, and c in the consumable chip in sequence. When reading the serial number e in the consumable chip, the serial number a read first is directly deleted. In this case, the serial number recorded by the printer is ecb, where the serial number a is deleted, so as not to affect the reading of the first serial number a of the new consumable chip.
[0069] Implementing the above embodiments has the following effects:
[0070] The technical scheme of the present application can accurately ensure the gradually reduced capacity of the consumable as it is used, so that the printer can sequentially read the serial number of the current capacity interval, and then update the serial number recorded in the printer, so that when the consumable is replaced subsequently, the serial number corresponding to the full capacity will not be the same as any serial number stored in the printer, avoiding errors in the printer due to serial number problems, thereby perfectly solving the problem of repeated use of consumables due to repeated serial numbers.
[0071] Embodiment two
[0072] Please refer to Figure 3 , which is a serial number updating method provided by the embodiment of the present application, executed by the printer, implemented by the consumable chip in embodiment one, comprising the following steps S201-S202:
[0073] Step S201: When the consumable of the printer is replaced, the consumable chip after replacement is communicated, so that each time the consumable chip selects the corresponding serial number according to the capacity interval of the current remaining capacity of the consumable and sends it to the printer.
[0074] It should be noted that the printer records N ordered serial numbers, the replaced consumable stores M serial numbers, and the serial number of the replaced consumable corresponds to the capacity interval divided by M in the order of consumable capacity, N<M, N and M are both natural numbers greater than 0.
[0075] It should be noted that the consumable is provided with a chip, and the chip stores serial number data information of the consumable, wherein the chip can be an NFC chip, an RFID chip, etc. In this embodiment, the consumable chip stores M serial numbers, and the serial numbers are arranged in a fixed order from serial number 1 to serial number M, and then according to the number of serial numbers in the consumable, the consumable capacity range from 0% to 100% is divided into M intervals, i.e. interval 1~interval M, which M intervals can be equal or unequal.
[0076] It can be understood that the serial number stored in the consumable is M-N more than the serial number recorded in the printer, and then when the limited number of serial numbers in the printer is updated, it can be ensured that the serial number stored in the consumable is at least one more than the number of serial numbers recorded in the machine, so that when the serial number of the subsequent consumable is updated to the printer, since the printer can only record a limited number (N serial numbers), at least one serial number in the consumable, that is, the serial number corresponding to the consumable first read and recorded (also the serial number when the consumable is full), will be deleted, thereby ensuring that when a new consumable is replaced, the serial number read after the printer will not be the same as the serial number recorded in the printer.
[0077] In this embodiment, referring to Figure 2 , taking the equal division of the remaining capacity interval of the consumable as an example, each serial number can obtain a corresponding capacity interval, serial number 1 corresponds to interval 1, serial number 2 corresponds to interval 2, and so on.
[0078] As a preferred scheme of this embodiment, before the consumable of the printer is replaced, the method further comprises:
[0079] obtaining the serial number of the current consumable in the printer; after obtaining each serial number, recording the serial number, thereby switching the original recorded serial number in the printer, so that N ordered serial numbers are recorded in the printer; wherein the N ordered serial numbers recorded in the printer form a consumable sequence.
[0080] As a preferred scheme of this embodiment, the switching of the original recorded serial number in the printer is specifically:
[0081] deleting the last serial number in the consumable sequence, and recording the obtained serial number as the first position of the consumable order in the consumable sequence.
[0082] In this embodiment, before the consumable of the printer is replaced, that is, the last consumable is not completely exhausted, in order to ensure the complete use of the consumable, the serial number of the consumable still needs to be recorded. The consumable can be a consumable provided with a chip capable of allocating serial numbers according to different capacities in the application, or a common consumable (that is, one consumable corresponds to one serial number). Therefore, the serial number of the consumable is recorded, so that the serial number is added to the original consumable sequence in the printer, and the last recorded serial number in the original consumable sequence in the printer is deleted. It can be understood that since the storage space of the printer is limited, the serial number recorded in the printer (the serial number in the consumable sequence) is also limited.
[0083] As a preferred scheme of the embodiment, when the consumable of the printer is replaced, the replaced consumable is communicated, and specifically includes:
[0084] When the consumable of the printer is replaced, the replaced consumable is communicated, so as to read the serial number sent by the replaced consumable; when the serial number sent by the replaced consumable coincides with any one of the serial numbers recorded in the printer, error information is generated, and an alarm is given according to the error information; when the serial number sent by the replaced consumable does not coincide with any one of the serial numbers recorded in the printer, consumable legal information is generated, and the replaced consumable is used for the printing work of the printer.
[0085] In the embodiment, when the consumable of the printer is replaced, the capacity of the replaced consumable is 100%, so when the consumable is at 100% capacity, it must correspond to a serial number, so the printer needs to communicate with the replaced consumable, and then read the serial number, and then verify whether the replaced consumable can be used in the printer. When the serial number of the replaced consumable coincides with any one of the serial numbers recorded in the printer, the printer will refuse to recognize the machine, or report an error, or appear abnormal during use, etc., that is, the consumable cannot be used normally, and error information is generated to alarm. When the serial number of the replaced consumable does not coincide with any one of the serial numbers recorded in the printer, it means that the consumable is a legal consumable and can be used normally, and the replaced consumable is used for the subsequent printing work of the printer.
[0086] Step S202: receiving the serial number sent by the consumable chip and updating the serial number recorded by the printer.
[0087] As a preferred scheme of the embodiment, the serial number sent by the consumable chip is received, and the serial number recorded by the printer is updated, and specifically includes:
[0088] The replaced consumable is used for the printing work of the printer, and the serial number sent by the consumable is continuously acquired; so that after acquiring a serial number corresponding to a current capacity interval sent by the consumable each time, the last serial number in the consumable sequence recorded by the printer is deleted according to the acquired serial number, and the serial number of the current remaining capacity interval is recorded as the first in the consumable sequence. The consumable sequence is the N ordered serial number sequence recorded by the printer.
[0089] In the present embodiment, during the use of the consumable on the printer, the consumable capacity gradually decreases, and the data related to the remaining capacity of the consumable is written into the consumable chip in advance. The consumable chip can detect and determine the current remaining capacity of the consumable according to a preset program, and when the printer accesses the chip, the chip selects the corresponding serial number A according to the corresponding capacity interval A and communicates with the printer. As the consumable capacity decreases from 100% to 0%, the capacity interval changes from interval 1 to interval M, and the serial number of the consumable chip communicated with the printer changes from serial number 1 to serial number M, and the serial number recorded by the printer changes from serial number 1 to serial number M.
[0090] For example, the printer can record a maximum of N serial numbers, so when the consumable chip capacity decreases to interval M, the chip uses the N+1th serial number to communicate with the printer, and the printer records the serial number N+1, but at this time, the number of serial numbers recorded by the printer has exceeded the range, so the first serial number recorded by the printer will be deleted by the printer. At this time, the serial number recorded by the printer is serial number 2~serial number N+1, when the consumable chip X is used up, and a new consumable chip Y with a capacity of 100% is replaced, because the capacity of the chip Y at this time is in interval 100%, the chip communicates with the printer using serial number 1, because serial number 1 has been deleted by the printer, so there is no problem of repetition of the serial number of the newly replaced consumable and the serial number recorded by the printer. After the serial number 1 is put on the machine, the printer will delete the first stored serial number M-N+1, and the recorded serial number becomes serial number 1, serial number M-N+2, serial number M-N+3, …, serial number M-1, serial number M. Therefore, when the capacity of the consumable chip Y decreases to interval 2, the chip uses serial number 2 to communicate with the printer, and there is no repetition with the serial number recorded by the printer, and so on.
[0091] It should be noted that the serial number M-N+1 is a serial number recorded by the printer when the consumable chip is sequentially recorded, and since the printer can record a total of N serial numbers, for the M serial numbers in the consumable chip, when the capacity interval is at the minimum, the serial number sent by the consumable chip is M, that is, for the printer, the current serial number recorded by the printer is: M, M-1, M-2, …, M-N+2, M-N+1; that is, a total of N serial numbers (from M to M-N+1, a total of N serial numbers). Therefore, when the next new consumable chip is replaced, the serial number 1 is filled in again, that is, at this time, the serial number recorded by the printer is: 1, M, M-1, …, M-N+3, M-N+2; that is, the serial number M-N+1 is deleted.
[0092] It can be understood that the key point of the present application is that the machine records a plurality of serial numbers, and the consumable chip stores more than one serial number available than the number of serial numbers recorded by the machine. At the same time, since the chip judges which serial number should be used to communicate with the printer according to the remaining capacity of the chip itself, the trigger condition of switching is the remaining capacity, and the chip switches the serial number in a fixed order, which can ensure that when the capacity of the chip is used up and reduced to 0%, the chip stores more than one serial number at the front which is squeezed out of the record of the printer. At this time, if the same new chip is put on, the printer will not report an error due to the serial number problem, and the consumable can be used normally.
[0093] The above embodiment has the following effects:
[0094] The technical scheme of the present application establishes communication when the consumable is replaced in the printer, and then acquires the serial number of the replaced consumable. At the same time, by continuously detecting the remaining capacity of the replaced consumable, the gradually decreasing capacity with the use of the consumable can be accurately ensured, so that the printer can read the serial number of the current capacity interval in turn, and then update the serial number recorded in the printer. Since the consumable stores at least one more serial number available than the number of serial numbers recorded by the printer, when the consumable is replaced subsequently, the serial number corresponding to the full capacity will not be the same as any one of the serial numbers stored in the printer, avoiding errors in the printer due to the serial number problem, and ensuring that the consumable can be used normally. At the same time, the detection of the capacity of the consumable also improves the efficiency of reading the serial number of the consumable, thereby perfectly solving the problem of repeated use of the consumable due to the repetition of the serial number.
[0095] Embodiment three
[0096] Please refer to Figure 4 which is a consumable chip provided by the embodiment of the present application, arranged in the consumable, used for executing the serial number updating method as described in embodiment one; the consumable chip comprises a detection module and a sending module.
[0097] The detection module is used for continuously detecting the current remaining capacity when the consumable is arranged in the printer.
[0098] The sending module is used for selecting the corresponding serial number according to the capacity interval in which the current remaining capacity of the consumable is located, and sending the serial number to the printer, so that the printer updates the recorded serial number according to the received serial number.
[0099] As a preferred scheme, the sending module selects the corresponding serial number according to the capacity interval in which the current remaining capacity of the consumable is located, and sends the serial number to the printer, which specifically includes:
[0100] When the remaining amount of the consumable reaches the start value of any capacity interval, the serial number corresponding to the capacity interval is sent to the printer.
[0101] As a preferred solution, each capacity interval corresponds to a fixed serial number.
[0102] As a preferred solution, N serial numbers are recorded in the printer, M serial numbers are recorded in the consumable chip, and the capacity intervals have M in common, each corresponding to a serial number recorded in the consumable chip; wherein M>N.
[0103] As a preferred solution, it further comprises:
[0104] According to a preset generation algorithm, the serial numbers not recorded in the consumable chip are selected in turn as the serial numbers corresponding to each capacity interval; wherein each capacity interval corresponds to a serial number not recorded in the consumable chip, and the preset generation algorithm can randomly generate serial numbers.
[0105] As a preferred solution, after the corresponding serial number is selected and sent to the printer, it further comprises:
[0106] The serial number currently selected and sent is marked, and the first N serial numbers previously selected and sent are unmarked; wherein the number of serial numbers marked in the consumable chip does not exceed the number N of serial numbers that can be recorded in the printer.
[0107] As a preferred solution, N serial numbers are recorded in the printer, M serial numbers are recorded in the consumable chip, and the capacity intervals have U in common; wherein M>N, and N<U.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0109] The above embodiments have the following effects:
[0110] The technical scheme of the present application can establish communication when the consumable is replaced in the printer, and then obtain the serial number of the replaced consumable, and at the same time, by continuously detecting the remaining capacity of the replaced consumable, the gradually decreasing capacity with the use of the consumable can be accurately ensured, so that the printer can read the serial number of the current capacity interval in turn, and then update the serial number recorded in the printer, and since the consumable stores available serial numbers at least more than the number of serial numbers recorded by the printer, when the consumable is replaced subsequently, the serial number corresponding to the full capacity will not be the same as any one of the serial numbers stored in the printer, avoiding errors of the printer due to the serial number problem, and also ensuring that the consumable can be used normally, avoiding waste of resources of the consumable, and at the same time, by detecting the capacity of the consumable, the efficiency of reading the serial number of the consumable is also improved, thereby perfectly solving the problem of repeated recycling of the consumable caused by repeated serial numbers.
[0111] Embodiment four
[0112] Correspondingly, the present application also provides a consumable, which is installed with the consumable chip as described in Embodiment three, wherein when the consumable chip is running, the serial number updating method as described in Embodiment one is controlled to be executed in the printer where the consumable is located.
[0113] The above specific embodiments further illustrate the purpose, technical scheme and beneficial effects of the present application, and it should be understood that the above description is only for specific embodiments of the present application and is not used to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A serial number update method, characterized in that, Performed by the consumable chip, including: While the consumables are being set in the printer, the remaining capacity is continuously monitored. Based on the current remaining capacity of the consumable, the corresponding serial number is selected and sent to the printer, so that the printer updates the recorded serial number according to the received serial number; according to a preset random algorithm, unrecorded serial numbers in the consumable chip are randomly selected in sequence as the serial numbers corresponding to each capacity range; wherein, each capacity range corresponds to one unrecorded serial number in the consumable chip, and the consumable chip has several unrecorded serial numbers pre-stored. After selecting the corresponding serial number and sending it to the printer, the process further includes: The currently selected serial number is marked, and the mark is removed from the Nth serial number sent before it; wherein, the number of marked serial numbers in the consumable chip does not exceed the number N serial numbers that the printer can record.
2. The serial number update method as described in claim 1, characterized in that, The step of selecting and sending the corresponding serial number to the printer based on the current remaining capacity range of the consumables specifically includes: When the remaining amount of consumables reaches the starting value of any capacity range, the serial number corresponding to that capacity range will be sent to the printer.
3. The serial number update method as described in claim 1, characterized in that, Each capacity range corresponds to a fixed serial number.
4. The serial number update method as described in claim 3, characterized in that, The printer records N serial numbers, the consumable chip records M serial numbers, and there are M capacity ranges in total. Each capacity range corresponds to a serial number recorded by one of the consumable chips; where M>N.
5. The serial number update method as described in claim 1, characterized in that, The printer records N serial numbers, the consumable chip records M serial numbers, and there are U capacity ranges in total; where M > N, N <U。 6. A serial number update method, characterized in that, Performed by the printer, including: When the printer's consumables are replaced, communication is established with the chip of the replaced consumables so that whenever the consumable chip selects the corresponding serial number and sends it to the printer based on the current remaining capacity range of the consumables; The printer receives the serial number sent by the consumable chip and updates the serial number recorded by the printer. According to a preset random algorithm, it randomly selects the unrecorded serial numbers in the consumable chip and uses them as the serial numbers corresponding to each capacity range. Each capacity range corresponds to one unrecorded serial number in the consumable chip, and the consumable chip has several unrecorded serial numbers pre-stored. After selecting the corresponding serial number and sending it to the printer, the process further includes: The currently selected serial number is marked, and the mark is removed from the Nth serial number sent before it; wherein, the number of marked serial numbers in the consumable chip does not exceed the number N serial numbers that the printer can record.
7. A consumable chip, characterized in that, The consumable chip is configured in the consumable and is used to perform the serial number update method as described in any one of claims 1-5; the consumable chip includes: a detection module and a transmission module; The detection module is used to continuously detect the current remaining capacity when consumables are placed in the printer. The sending module is used to select the corresponding serial number and send it to the printer according to the capacity range where the current remaining capacity of the consumable is located, so that the printer updates the recorded serial number according to the received serial number; according to a preset random algorithm, the unrecorded serial numbers in the consumable chip are randomly selected in sequence as the serial numbers corresponding to each capacity range; wherein, each capacity range corresponds to one unrecorded serial number in the consumable chip, and the consumable chip has a number of unrecorded serial numbers pre-stored. After selecting the corresponding serial number and sending it to the printer, the process further includes: The currently selected serial number is marked, and the mark is removed from the Nth serial number sent before it; wherein, the number of marked serial numbers in the consumable chip does not exceed the number N serial numbers that the printer can record.
8. A consumable, characterized in that, It is equipped with the consumable chip as described in claim 7.
Citation Information
Patent Citations
Memory chip, imaging box, serial number replacement method and method for using memory chip
CN103640339A
Printer consumable chip control method
CN110667265A