CN110667265B - Control method for consumable chip of printer - Google Patents
Control method for consumable chip of printer Download PDFInfo
- Publication number
- CN110667265B CN110667265B CN201910939491.9A CN201910939491A CN110667265B CN 110667265 B CN110667265 B CN 110667265B CN 201910939491 A CN201910939491 A CN 201910939491A CN 110667265 B CN110667265 B CN 110667265B
- Authority
- CN
- China
- Prior art keywords
- printer
- serial number
- consumable
- feedback result
- confirmed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention provides a control method of a printer consumable chip, which does not need extra storage space, does not cause the problem of serial number marking error caused by accidental power failure of a printer, has a simple scheme, is convenient to realize and is easy to popularize. In the technical scheme of the invention, a mode of marking bits is not adopted, but the serial number of the chip is used as a judgment reference; in the self-checking process of the consumable chip, all serial numbers are checked from the first serial number, and the checked serial numbers are sent to the printer for validity judgment; the serial number judged as illegal by the printer is modified into an illegal serial number, cannot pass the verification in the next power-on self-test process, and cannot be transmitted to the printer again.
Description
Technical Field
The invention relates to the field of printing and imaging, in particular to a control method of a consumable chip of a printer.
Background
In modern intelligent printing imaging equipment, in order to realize intelligent control, a chip is often set on consumable boxes such as ink cartridges and toner cartridges, and each chip is assigned with a serial number as the ID of a unique mark. The printing and imaging device can verify the validity of the consumable box through the serial number, such as: once a certain serial number is marked as a consumable box with exhausted consumables or the serial number is judged as a consumable box which is not in accordance with the applicable consumable model of the printer, the printer judges the consumable box as illegal and then refuses to use the consumable box.
Manufacturers need to solve the problem that only one serial number can be assigned to a consumable cartridge in order to manufacture a consumable cartridge that can be recycled. As shown in fig. 1, a manufacturer usually assigns a plurality of serial numbers to a consumable box, and each serial number is configured with an ink volume zone corresponding to the serial number, so as to record the degree of consumable usage in the consumable box in the usage round corresponding to the serial number, so as to realize recycling of the same consumable box. In order to enable the printer to identify the consumable cartridge currently in use, a flag bit is usually set to flag the serial number currently in use. However, the method of controlling the consumable box by adopting the mode of identifying the currently used serial number by the flag bit has the following problems:
(1) extra storage space needs to be increased or decreased to distribute the zone bits, and the zone bits with corresponding amount of space need to be matched and increased when each set of serial number is increased in the chip;
(2) the flag bit storage must use nonvolatile memory such as EEPROM or FLASH, and the update of the flag bit must require erasing memory; the time for rewriting the existing EEPROM or FLASH memory once is usually 1.5 ms-20 ms, and when the printer finds that the serial number is used incorrectly in the communication process, the printer can perform power-down processing, so that the risk of error modification of the flag bit exists.
Disclosure of Invention
In order to solve the problem that the current serial number is marked by a zone bit in the prior art, so that extra chip storage space is used, and a read-write memory is easy to make mistakes, the invention provides a printer consumable chip control method, which does not need extra storage space, does not cause the problem of serial number marking errors due to accidental power failure of a printer, has a simple scheme, is convenient to implement and is easy to popularize.
The technical scheme of the invention is as follows: a printer consumable chip control method comprises the following steps:
s1: confirming whether the printer executes a power-on process on the consumable chip;
if the power-on process is executed, executing a power-on self-test flow of the consumable chip;
otherwise, continuing to wait;
the method is characterized in that:
in step S1, the power-on self-test procedure includes:
a 1: acquiring the total number N of serial numbers in the consumable chip, wherein N is a positive integer greater than or equal to 2;
a 2: sequentially taking out each serial number;
a 3: setting the serial number to be confirmed as the extracted serial number;
a 4: verifying the serial number to be confirmed through a preset verification rule;
a 5: confirming whether the serial number to be confirmed passes the check;
if the verification is passed, step a7 is performed;
if the serial number does not pass through the serial number verification method, the serial number to be verified is modified, and the serial number to be verified is not sent to a printer;
a 6: repeating a 3-a 6 until all N serial numbers are verified;
all the serial numbers do not pass the verification, which indicates that the cycle life of the consumable box is finished, and then a warning message is used for prompting a user;
the control operation for this consumable cartridge is ended;
a 7: sending the serial number to be confirmed to a printer, and carrying out validity confirmation on the consumable part represented by the serial number to be confirmed; receiving a printer feedback result sent back by the printer;
the printer feedback result indicates: whether the serial number to be confirmed is legal or not in the legality judgment of the printer; the printer feeds back a result including: legal and illegal;
a8, confirming the printer feedback result;
if the feedback result is: if it is legal, go to step a 9;
if the feedback result is: if not, executing step a 10;
a 9: finishing the power-on self-test of the consumable chip;
the consumable chip enters a normal data communication flow with the printer;
a 10: modifying the serial number to be confirmed to ensure that the serial number cannot meet the check rule;
a 11: finishing the power-on self-test of the consumable chip;
waiting for a power-up notification to be sent by the printer.
It is further characterized in that:
the printer feedback result in step a7 is represented by consumable usage:
when the feedback result is legal, the printer immediately carries out subsequent initialization operation, and the returned consumable material consumption is the consumable material consumption used by the printer for initialization operation;
when the feedback result is illegal, the printer sets the consumption of the consumable material as a warning value and transmits the warning value back to the consumable chip to express that the serial number to be confirmed represents the illegal serial number;
in step a8, the step of confirming the printer feedback result in the consumable chip comprises:
b 1: reading the consumption of the consumable materials returned by the printer;
b 2: judging the relation between the consumption of the consumable materials and the warning value;
when the consumption of consumables is less than the warning value, the printer feedback result is judged as: legality;
otherwise, the printer feedback result is judged as: illegal;
in step a8, after the printer feedback result is confirmed in the consumable chip, before steps a9 and a10 are executed, the following steps are also executed:
subtracting the consumption of the consumable materials returned by the printer from the residual ink value in the ink amount area corresponding to the existing serial number to be confirmed;
the warning value is set to a number greater than 20% of the capacity of one consumable cartridge;
in step a4, the verification rule uses existing algorithms, including but not limited to: parity-check rules, differential symmetry algorithms.
According to the control method of the printer consumable chip, provided by the invention, the use flow of the consumable chip is completely controlled by using the existing printer parameters and consumable box parameters without increasing any storage space; in the technical scheme of the invention, in the self-checking flow of the consumable chip, all serial numbers are checked from the first serial number, and the serial numbers passing the check are sent to the printer for legality judgment; the serial number judged as illegal by the printer is modified into an illegal serial number, cannot pass the verification in the next power-on self-test process, and cannot be transmitted to the printer again; in the process, even if power failure occurs accidentally, the serial number is not modified successfully or is partially modified, the two conditions can be covered by the flow in the next power-on self-test flow, and the problem that the serial number is mistaken due to accidental power failure and judgment is mistaken after power-on again can not occur. The result of judging the validity of the serial number by the printer is transmitted through the consumption of the consumable materials transmitted by the printer, no new parameter is used, the storage space occupied by the program is further saved, the structure of the whole method is simpler, the understanding is facilitated, and the method is suitable for practical application.
Drawings
FIG. 1 is a schematic structural diagram of a consumable chip storage module;
FIG. 2 is a schematic diagram of a consumable chip structure;
FIG. 3 is a flowchart illustrating a method for controlling a printer consumable chip according to the present invention.
Detailed Description
As shown in fig. 1, a schematic diagram of a consumable chip structure, and fig. 2 is a schematic diagram of a consumable chip storage module structure. The consumable chip structurally comprises a logic module and a storage module, wherein the logic module controls the work flow and the realizable functions of the chip, the storage module stores data necessary for the chip, such as date, ink amount, serial number and the like, and the serial number in the technical scheme of the invention is stored in the storage module of the chip so as to correspond to the record serial number of the printer. In the prior art, consumable boxes with unmatched models cannot be installed in a printer due to different structures; even if the structures are the same, but the sales areas are different, the consumable box installed in the printer can be detected in the self-checking process of the printer, and power cannot be supplied to the consumable box; therefore, the control after power-on can be considered for the consumable chip.
As shown in fig. 3, a method for controlling a consumable chip of a printer includes the following steps:
s1: confirming whether the printer executes a power-on process on the consumable chip;
if the power-on process is executed, executing a power-on self-test flow of the consumable chip;
otherwise, the waiting is continued.
In step S1, the power-on self-test procedure includes:
a 1: acquiring the total number N of serial numbers in the consumable chip, wherein N is a positive integer greater than or equal to 2;
a 2: sequentially taking out each serial number;
a 3: setting the extracted serial number as a serial number to be confirmed;
a 4: verifying the serial number to be confirmed through a preset verification rule;
a 5: confirming whether the serial number to be confirmed passes the verification;
if the verification is passed, step a7 is performed;
if the serial number does not pass through the verification result, the serial number to be verified is modified, and the serial number to be verified cannot be sent to the printer;
a 6: repeating a 3-a 6 until all N serial numbers are verified; in specific implementation, as shown in fig. 3, a temporary variable m may be used to control the serial number participating in checking each time of power-on self-test; in the power-on self-test process, when one serial number is checked, m is added with 1, and the end of the cycle is controlled through the relation between m and N;
all serial numbers do not pass the verification, which indicates that the cycle life of the consumable box is finished, and then the user is prompted through warning information;
the control operation for this consumable cartridge is ended;
a 7: sending the serial number to be confirmed to a printer, and carrying out validity confirmation on the consumable part represented by the serial number to be confirmed; receiving a printer feedback result sent back by the printer;
the printer feedback result indicates: whether the serial number to be confirmed is legal or not in the legality judgment of the printer; the printer feeds back the result including: legal and illegal;
the printer feedback result is expressed by the consumable usage: when the feedback result is legal, the printer immediately carries out subsequent initialization operation, and the returned consumable material consumption is the consumable material consumption used by the printer for initialization operation;
when the feedback result is illegal, the printer sets the consumption of the consumable material as a warning value and transmits the warning value back to the consumable chip to express that the serial number to be confirmed represents the illegal serial number;
a8, confirming the feedback result of the printer;
if the feedback result is: if the ink quantity area is legal, subtracting the consumption of consumable materials returned by the printer from the residual ink quantity value in the ink quantity area corresponding to the existing serial number to be confirmed; performing step a 9;
if the feedback result is: if the ink quantity is illegal, subtracting the consumption of consumable materials returned by the printer from the residual ink quantity value in the ink quantity area corresponding to the existing serial number to be confirmed; performing step a 10;
a 9: finishing the power-on self-test of the consumable chip;
the consumable chip enters a normal data communication flow with the printer;
a 10: modifying the serial number to be confirmed to ensure that the serial number cannot meet the check rule;
a 11: finishing the power-on self-test of the consumable chip;
waiting for a power-up notification to be sent by the printer.
In step a8, the step of confirming the printer feedback result in the consumable chip comprises:
b 1: reading the consumption of the consumable materials returned by the printer;
b 2: judging the relation between the consumption of the consumable and the warning value;
when the consumption of the consumable materials is less than the warning value, the printer feeds back a result and judges that: legality;
otherwise, when the consumption of the consumable materials is more than or equal to the warning value, judging the feedback result of the printer as follows: illegal;
the warning value may be set to a number greater than 20% of the capacity of one consumable cartridge, such as 30%, 40%, 50%, etc., and the specific warning value is set according to the specific printer type; when the consumable usage returned by the printer exceeds or equals to a preset warning value, the printer detects some illegal conditions, such as the used serial number, the unmatched serial number and the like; i.e., the printer side would not be legal with respect to the serial number of the consumable chip.
In the technical scheme of the invention, a mode of marking bits is not adopted, but the serial number of the chip is used as a judgment reference; each time of power-on self-test of the chip, the chip is verified from the first serial number, the serial numbers which do not pass the verification cannot be sent to the printer, the first serial number which passes the verification is found and then sent to the printer, and the subsequent serial numbers are not verified; in the last self-checking process, a certain serial number is judged to be illegal by the printer, even if the modification fails due to sudden power failure in the process of modifying the serial number by the chip, the illegal serial number can be found again through the verification of the sequence after the chip is powered on again, and the problem of wrong judgment of the legality of the serial number due to sudden power failure can be avoided; in the technical scheme of the invention, the serial number is solidified by utilizing the characteristic that the printer modifies the consumable quantity when confirming the serial number, and no new variable is required to be added, so that the technical scheme of the invention has simpler structure and is easy to realize.
In step a4, the verification rule uses existing algorithms including but not limited to: parity-check rules, differential symmetry algorithms.
When the check is carried out through the parity check rule, for example, each BYTE =8bits and one check bit is checked even, the number of '1' is ensured to be even when the check of each BYTE and the correct check bit is carried out in the serial number check process; when the step a10 is executed, and when the step a10 is executed, the internal logic circuit controls the memory to erase according to a Page erasing mode, and the eeprom and flash memories are characterized in that the erasing time is half of that of erasing data into 1, so that the influence caused by sudden power failure of the printer can be better reduced, the numerical values in the sequence number area are all written into '1', and the number of the sequence number re-checking '1' after the operation is finished is 9, which does not accord with the even checking rule.
When the verification is performed through the differential symmetry algorithm, data is stored by using differential symmetry, and when the data is stored, the data structure is differential data, such as a serial number: 112233445566, EE DD CC BB AA 99 is stored in the corresponding storage area during data storage, and the two-to-two phase comparison is carried out during verification to obtain all 0. When the step a10 is executed, when the step a10 is executed, and when the step a10 is executed, the internal logic circuit controls the memory to write all the values in the serial number area into "1" according to the Page erasing mode, and the two-two phase of the serial number and the data in the corresponding area after the operation is completed cannot obtain all 0.
Claims (5)
1. A printer consumable chip control method comprises the following steps:
s1: confirming whether the printer executes a power-on process on the consumable chip;
if the power-on process is executed, executing a power-on self-test flow of the consumable chip;
otherwise, continuing to wait;
the method is characterized in that:
in step S1, the power-on self-test procedure includes:
a 1: acquiring the total number N of serial numbers in the consumable chip, wherein N is a positive integer greater than or equal to 2;
a 2: sequentially taking out each serial number;
a 3: setting the serial number to be confirmed as the extracted serial number;
a 4: verifying the serial number to be confirmed through a preset verification rule;
a 5: confirming whether the serial number to be confirmed passes the check;
if the verification is passed, step a7 is performed;
if the serial number does not pass through the serial number verification method, the serial number to be verified is modified, and the serial number to be verified is not sent to a printer;
a 6: repeating a 3-a 6 until all N serial numbers are verified;
all the serial numbers do not pass the verification, which indicates that the cycle life of the consumable box is finished, and then a warning message is used for prompting a user;
the control operation for this consumable cartridge is ended;
a 7: sending the serial number to be confirmed to a printer, and carrying out validity confirmation on the consumable part represented by the serial number to be confirmed; receiving a printer feedback result sent back by the printer;
the printer feedback result indicates: whether the serial number to be confirmed is legal or not in the legality judgment of the printer; the printer feeds back a result including: legal and illegal;
a8, confirming the printer feedback result;
if the feedback result is: if it is legal, go to step a 9;
if the feedback result is: if not, executing step a 10;
a 9: finishing the power-on self-test of the consumable chip;
the consumable chip enters a normal data communication flow with the printer;
a 10: modifying the serial number to be confirmed to ensure that the serial number cannot meet the check rule;
a 11: finishing the power-on self-test of the consumable chip;
waiting for a power-on notification sent by the printer again;
the printer feedback result in step a7 is represented by consumable usage:
when the feedback result is legal, the printer immediately carries out subsequent initialization operation, and the returned consumable material consumption is the consumable material consumption used by the printer for initialization operation;
and when the feedback result is illegal, the printer sets the consumption of the consumable material as a warning value and transmits the warning value back to the consumable chip to express that the serial number to be confirmed represents the illegal serial number.
2. The printer consumable chip control method according to claim 1, wherein: in step a8, the step of confirming the printer feedback result in the consumable chip comprises:
b 1: reading the consumption of the consumable materials returned by the printer;
b 2: judging the relation between the consumption of the consumable materials and the warning value;
when the consumption of consumables is less than the warning value, the printer feedback result is judged as: legality;
otherwise, the printer feedback result is judged as: is illegal.
3. The printer consumable chip control method according to claim 2, wherein: in step a8, after the printer feedback result is confirmed in the consumable chip, before steps a9 and a10 are executed, the following steps are also executed:
and subtracting the consumption of the consumable materials returned by the printer from the residual ink amount in the ink amount area corresponding to the existing serial number to be confirmed.
4. The printer consumable chip control method according to claim 1, wherein: the warning value is set to a number greater than 20% of the capacity of one consumable cartridge.
5. The printer consumable chip control method according to claim 1, wherein: in step a4, the verification rule uses existing algorithms, including but not limited to: parity-check rules, differential symmetry algorithms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910939491.9A CN110667265B (en) | 2019-09-30 | 2019-09-30 | Control method for consumable chip of printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910939491.9A CN110667265B (en) | 2019-09-30 | 2019-09-30 | Control method for consumable chip of printer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110667265A CN110667265A (en) | 2020-01-10 |
CN110667265B true CN110667265B (en) | 2021-07-06 |
Family
ID=69080489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910939491.9A Active CN110667265B (en) | 2019-09-30 | 2019-09-30 | Control method for consumable chip of printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110667265B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103660583A (en) * | 2012-09-11 | 2014-03-26 | 珠海天威技术开发有限公司 | Data rewriting device for consumable chip and working method of data rewriting device |
CN106626795A (en) * | 2017-01-03 | 2017-05-10 | 珠海艾派克微电子有限公司 | Serial number transmission method, device, consumable chip and imaging box |
CN106671609A (en) * | 2017-01-03 | 2017-05-17 | 珠海艾派克微电子有限公司 | Serial number adjustment method and device |
CN109334259A (en) * | 2018-09-07 | 2019-02-15 | 杭州旗捷科技有限公司 | Consumable chip and its communication means, consumable chip and imaging device communication system, method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8239269B2 (en) * | 2009-09-11 | 2012-08-07 | Nintendo Of America Inc. | System and/or method for handling returns involving products tied to post-paid subscriptions/services |
CN103514470A (en) * | 2012-06-18 | 2014-01-15 | 深圳市博思得科技发展有限公司 | Anti-fake consumable item and application method thereof |
CN105398225B (en) * | 2015-12-10 | 2017-07-07 | 杭州旗捷科技有限公司 | Ink box chip, print cartridge, print cartridge identifying system and print cartridge recognition methods |
CN106671610B (en) * | 2017-01-03 | 2018-07-24 | 珠海艾派克微电子有限公司 | Sequence number method of adjustment, device, consumable chip and imaging cartridge |
JP6950199B2 (en) * | 2017-02-28 | 2021-10-13 | ブラザー工業株式会社 | Liquid discharge device |
-
2019
- 2019-09-30 CN CN201910939491.9A patent/CN110667265B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103660583A (en) * | 2012-09-11 | 2014-03-26 | 珠海天威技术开发有限公司 | Data rewriting device for consumable chip and working method of data rewriting device |
CN106626795A (en) * | 2017-01-03 | 2017-05-10 | 珠海艾派克微电子有限公司 | Serial number transmission method, device, consumable chip and imaging box |
CN106671609A (en) * | 2017-01-03 | 2017-05-17 | 珠海艾派克微电子有限公司 | Serial number adjustment method and device |
CN109334259A (en) * | 2018-09-07 | 2019-02-15 | 杭州旗捷科技有限公司 | Consumable chip and its communication means, consumable chip and imaging device communication system, method |
Also Published As
Publication number | Publication date |
---|---|
CN110667265A (en) | 2020-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2974804C (en) | Printing material cartridge | |
US20140173179A1 (en) | Virtual boundary codes in a data image of a read-write memory device | |
CN108116053A (en) | A kind of consumable chip authentication method, consumable chip and imaging cartridge | |
CN108664012A (en) | A kind of detection method of electric booster steering system controller, device and equipment | |
CN108068463A (en) | Consumptive material, print system, the ink amount data reset method of consumptive material | |
CN102237143B (en) | Reconstruction method, system and reconstruction device for block information provided in flash memory | |
CN110271292B (en) | Imaging box universal chip, imaging box, imaging system and using method | |
TWI585605B (en) | Printing material cartridge | |
CN110667265B (en) | Control method for consumable chip of printer | |
US20140173187A1 (en) | Virtual boundary codes in a data image of a read-write memory device | |
CN114193935B (en) | Printing consumable communication method, regeneration consumable chip, printing consumable and printing system | |
JP2018520907A (en) | Imaging cartridge and storage chip used for imaging cartridge | |
CN203561835U (en) | Imaging box chip and imaging box | |
CN112824105B (en) | Data processing method of consumable chip, consumable and imaging equipment | |
EP3260299A1 (en) | Imaging cartridge and storage chip applied in imaging cartridge | |
CN112965351A (en) | Image forming cartridge and toner remaining amount detecting method | |
EP2423803A2 (en) | Storage device, circuit board, liquid reservoir and system | |
CN113103765B (en) | Printing consumable authentication method, printing consumable chip, printing consumable and printing system | |
CN111391512B (en) | Consumable chip and consumable | |
US20120327451A1 (en) | Method of Transforming an Imaging Machine | |
CN112123942B (en) | Consumable chip communication method, consumable chip and ink box | |
CN219392472U (en) | Memory chip, consumable box and image forming device | |
JP2002258690A (en) | Image forming apparatus | |
CN111629118B (en) | Chip verification method, consumable chip and imaging box | |
JP2005172934A (en) | Exchangeable storage element for cartridge |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |