CN115480715A - Consumable chip authentication method, consumable chip and printing consumable - Google Patents
Consumable chip authentication method, consumable chip and printing consumable Download PDFInfo
- Publication number
- CN115480715A CN115480715A CN202110665350.XA CN202110665350A CN115480715A CN 115480715 A CN115480715 A CN 115480715A CN 202110665350 A CN202110665350 A CN 202110665350A CN 115480715 A CN115480715 A CN 115480715A
- Authority
- CN
- China
- Prior art keywords
- consumable chip
- printer
- authentication
- identifier
- consumable
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000007639 printing Methods 0.000 title claims abstract description 36
- 230000004044 response Effects 0.000 claims abstract description 69
- 230000006854 communication Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 7
- 238000003384 imaging method Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 206010070834 Sensitisation Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008313 sensitization Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
- G06F3/1234—Errors handling and recovery, e.g. reprinting
- G06F3/1235—Errors handling and recovery, e.g. reprinting caused by end of consumables, e.g. paper, ink, toner
-
- 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
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/005—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
- B41J2/01—Ink jet
- B41J2/17—Ink jet characterised by ink handling
- B41J2/175—Ink supply systems ; Circuit parts therefor
- B41J2/17503—Ink cartridges
- B41J2/17543—Cartridge presence detection or type identification
- B41J2/17546—Cartridge presence detection or type identification electronically
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03G—ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G03G15/00—Apparatus for electrographic processes using a charge pattern
- G03G15/06—Apparatus for electrographic processes using a charge pattern for developing
- G03G15/08—Apparatus for electrographic processes using a charge pattern for developing using a solid developer, e.g. powder developer
- G03G15/0822—Arrangements for preparing, mixing, supplying or dispensing developer
- G03G15/0863—Arrangements for preparing, mixing, supplying or dispensing developer provided with identifying means or means for storing process- or use parameters, e.g. an electronic memory
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03G—ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G03G15/00—Apparatus for electrographic processes using a charge pattern
- G03G15/50—Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03G—ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G03G21/00—Arrangements not provided for by groups G03G13/00 - G03G19/00, e.g. cleaning, elimination of residual charge
- G03G21/16—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements
- G03G21/18—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit
- G03G21/1875—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit provided with identifying means or means for storing process- or use parameters, e.g. lifetime of the cartridge
- G03G21/1878—Electronically readable memory
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03G—ELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
- G03G21/00—Arrangements not provided for by groups G03G13/00 - G03G19/00, e.g. cleaning, elimination of residual charge
- G03G21/16—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements
- G03G21/18—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit
- G03G21/1875—Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit provided with identifying means or means for storing process- or use parameters, e.g. lifetime of the cartridge
- G03G21/1878—Electronically readable memory
- G03G21/1892—Electronically readable memory for presence detection, authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/121—Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1218—Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
- G06F3/1219—Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to consumables, e.g. ink, toner, paper
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1236—Connection management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Security & Cryptography (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The application relates to a consumable chip authentication method, a consumable chip and a printing consumable, which send authentication feedback to a printer by responding to an authentication request initiated by the printer; receiving a response message returned by the printer in response to the authentication feedback, and judging whether the response message carries a first identifier indicating that the consumable chip is locked; under the condition that the response message is judged to carry the first identification indicating that the consumable chip is locked, the authentication data carried by the consumable chip when sending the next authentication feedback is updated; the data reading request of the preset zone bit is read in the instruction returned by the printer, the first identification is sent to the printer according to the data reading request, the second identification is written in the preset zone bit of the consumable chip before the consumable chip sends the next authentication feedback, the second identification is used for indicating that the consumable chip is not locked, the problem that the printing consumable cannot be used due to the fact that the consumable chip is locked is solved, and the consumable chip is prevented from being locked and enabling the printing consumable to be normally used.
Description
Technical Field
The application relates to the technical field of printing consumables, in particular to a consumable chip authentication method, a consumable chip and a printing consumable.
Background
Often dispose the consumptive material chip on the printing consumables, the consumptive material chip is used for cooperating the printer authentication printing consumables whether legal, wherein, the printing consumables includes one of following: print imaging box, ink horn, cartridge, sensitization drum.
In the communication process of the printer and the printing supplies, authentication is needed, namely the printing supplies send authentication data to the printer, if the authentication is passed, normal communication is continued, otherwise, the printer displays an illegal imaging box and writes locking information back to a consumable chip. After the consumable chip receives the locking information and writes the locking information into the preset zone bit, the printer sends a data reading request for indicating reading of the preset zone bit to the consumable chip, the consumable chip reads data of the preset zone bit according to the data reading request and sends the read data to the printer, and the printer is informed that the imaging box is locked. This results in the imaging box being replaced on any printer and failing to be authenticated, which results in the imaging box being unable to be used normally and wasting resources.
Aiming at the problem that the printing consumables cannot be normally used due to the fact that consumable chips are locked in the related art, no effective solution is provided at present.
Disclosure of Invention
The embodiment provides a consumable chip authentication method, a consumable chip and a printing consumable, so as to solve the problem that the printing consumable cannot be normally used due to the fact that the consumable chip is locked in the related technology.
In a first aspect, in this embodiment, a consumable chip authentication method is provided, including:
responding to an authentication request initiated by a printer, and sending authentication feedback to the printer, wherein the authentication feedback carries authentication data;
receiving a response message returned by the printer in response to the authentication feedback, and judging whether the response message carries a first identifier indicating that the consumable chip is locked;
under the condition that the response message is judged to carry the first identification indicating that the consumable chip is locked, updating authentication data carried by the consumable chip when sending the next authentication feedback;
receiving a data reading request which is returned by the printer and indicates to read a preset zone bit, sending the first identifier to the printer according to the data reading request, and writing a second identifier into the preset zone bit of the consumable chip before the consumable chip sends the next authentication feedback, wherein the second identifier is used for indicating that the consumable chip is not locked.
In some embodiments, when it is determined that the response message carries a first identifier indicating that the consumable chip is locked, receiving a data reading request indicating to read a preset flag bit returned by the printer, sending the first identifier to the printer according to the data reading request, and writing a second identifier in the preset flag bit of the consumable chip before the consumable chip sends a next authentication feedback, where the second identifier is used to indicate that the consumable chip is not locked includes:
writing the second identifier into a preset zone bit of the consumable chip;
and receiving a data reading request which is returned by the printer and indicates to read the preset flag bit, and sending the first identifier to the printer according to the data reading request.
In some embodiments, when it is determined that the response message carries a first identifier indicating that the consumable chip is locked, receiving a data reading request indicating that a preset flag bit is read from the printer, sending the first identifier to the printer according to the data reading request, and writing a second identifier in the preset flag bit of the consumable chip before the consumable chip sends a next authentication feedback, where the second identifier is used to indicate that the consumable chip is not locked includes:
writing the first identifier into a preset zone bit of the consumable chip;
receiving a data reading request which is returned by the printer and indicates to read the preset zone bit, and sending the data of the preset zone bit to the printer according to the data reading request;
and writing the second identifier into a preset zone bit of the consumable chip to cover the first identifier.
In some of these embodiments, sending authentication feedback to a printer, receiving a response message returned by the printer in response to the authentication feedback comprises:
sending first authentication data to the printer;
receiving a first response message returned by the printer in response to the first authentication data;
transmitting second authentication data to the printer if the first response message indicates that the first authentication data is authenticated.
In some of these embodiments, in the event that the first response message indicates that the first authentication data is authenticated, after sending second authentication data to the printer, the method further comprises: receiving a second response message returned by the printer in response to the second authentication data;
judging whether the response message carries a first identifier indicating that the consumable chip is locked comprises the following steps: and judging whether the second response message carries a first identification indicating that the consumable chip is locked or not, and updating the first authentication data carried by the consumable chip when sending the next authentication feedback under the condition that the second response message carries the first identification indicating that the consumable chip is locked.
In some embodiments, after the writing of the second identifier to the preset flag bit of the consumable chip, the method further includes:
and responding to an authentication request initiated by the printer again, and sending authentication feedback to the printer so that the printer can authenticate the consumable chip according to the current authentication feedback, wherein the current authentication feedback carries the updated authentication data.
In some of these embodiments, again in response to the printer-initiated authentication request, sending authentication feedback to the printer comprises:
and under the condition that the consumable chip and the printer are disconnected in communication and the communication connection is established again, responding to the authentication request initiated by the printer, and sending authentication feedback to the printer.
In a second aspect, in this embodiment, a consumable chip is provided, comprising a storage unit and a processing unit, which are connected to each other, wherein the storage unit stores authentication data, and the processing unit is configured to execute the consumable chip authentication method according to the first aspect.
In some of the embodiments, the storage unit stores first authentication data, and the storage unit stores a larger number of first authentication data than the number of first authentication data stored in the printer.
In some embodiments, the storage unit further stores second authentication data, and the first authentication data and the second authentication data are used for authenticating the consumable chip by cooperatively supplying the printer.
In a third aspect, there is provided in this embodiment a printing consumable comprising a consumable cartridge and a consumable chip as described in the second aspect above.
Compared with the prior art, the consumable chip authentication method, the consumable chip and the printing consumable provided in the embodiment solve the problem that the consumable chip existing in the prior art is locked to cause the printing consumable to be incapable of being used normally, realize the effect of preventing the consumable chip from being locked and enable the printing consumable to be used normally.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flowchart of a consumable chip authentication method of the present embodiment;
FIG. 2 is a flowchart of a consumable chip authentication method according to a preferred embodiment of the present application;
FIG. 3 is a schematic structural diagram of a consumable chip according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a printing consumable according to an embodiment of the present application.
Detailed Description
For a clearer understanding of the objects, technical solutions and advantages of the present application, reference is made to the following description and accompanying drawings.
Unless defined otherwise, technical or scientific terms used herein shall have the same general meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a" and "an" and "the" and similar referents in the context of describing the invention (including a reference to the context of the specification and claims) are to be construed to cover both the singular and the plural, as well as the singular and plural. The terms "comprises," "comprising," "has," "having," and any variations thereof, as referred to in this application, are intended to cover non-exclusive inclusions; for example, a process, method, and system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or modules, but may include other steps or modules (elements) not listed or inherent to such process, method, article, or apparatus. Reference throughout this application to "connected," "coupled," and the like is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference to "a plurality" in this application means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, "a and/or B" may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In general, the character "/" indicates a relationship in which the objects associated before and after are an "or". The terms "first," "second," "third," and the like in this application are used for distinguishing between similar items and not necessarily for describing a particular sequential or chronological order.
The method can be implemented by the consumable chip or the printing consumable, wherein the consumable chip can be configured in the printing consumable, and the consumable chip can be used for matching with a printer to authenticate whether the printing consumable is legal or not, store printing related information and record communication state information of the printing consumable in the printing process.
Fig. 1 is a flowchart of the consumable chip authentication method of the present embodiment, and as shown in fig. 1, the flowchart includes the following steps:
step S101, responding to an authentication request initiated by the printer, sending authentication feedback to the printer, wherein the authentication feedback carries authentication data.
After the printer initiates an authentication request to the consumable chip, the consumable chip identification sends corresponding authentication feedback to the printer according to the authentication request, and the authentication feedback is a feedback message used for instructing the printer to authenticate the consumable chip according to the authentication data. The authentication data may be a single command or a command set in which a plurality of commands are combined. The authentication data may include one or more types of authentication data, wherein the printer may authenticate the consumable chip based on the one or more types of authentication data.
And step S102, receiving a response message returned by the printer in response to the authentication feedback, and judging whether the response message carries a first identifier indicating that the consumable chip is locked.
The response message carries content indicating whether the authentication data is legal or not.
In the first case, in the case that the printer receives only one kind of authentication data, if the authentication data is legal, the response message will carry the content that the consumable chip passes the authentication, otherwise, the response message will carry the content that the consumable chip does not pass the authentication.
And in the second case, under the condition that the printer receives various authentication data, if all the authentication data are legal, the response message carries the content that the consumable chip passes the authentication, otherwise, the response message carries the content that the consumable chip does not pass the authentication.
When the response message carries the content that the consumable chip is not authenticated, in at least one of the two cases, the response message also carries the first identifier that the consumable chip is locked. The first mark is used for indicating the consumable chip to write the consumable chip into a preset zone bit so as to lock the consumable chip and make the printing consumable configured with the consumable chip unavailable.
And step S103, under the condition that the response message is judged to carry the first identifier indicating that the consumable chip is locked, updating authentication data carried by the consumable chip when sending the next authentication feedback.
The updated authentication data can be stored in a certain storage area of the consumable chip in advance, under the condition that the consumable chip receives the first identifier, the consumable chip reads new authentication data from the storage area, the new authentication data is written into the authentication feedback before sending next authentication feedback to the printer so as to replace the old authentication data, and the new authentication data is data which can enable the consumable chip to pass through the printer authentication in the next authentication feedback.
And step S104, receiving a data reading request which is returned by the printer and indicates to read the preset zone bit, sending the first identifier to the printer according to the data reading request, and writing a second identifier in the preset zone bit of the consumable chip before the consumable chip sends the next authentication feedback, wherein the second identifier is used for indicating that the consumable chip is not locked.
The preset zone bit refers to a preset byte in the consumable chip, and the second identifier can be obtained by performing negation operation on the first identifier.
After the printer sends the response message, locking detection is carried out, namely whether the consumable chip writes the first identifier into the preset zone bit according to the indication of the response message is detected, a data reading request for reading the preset zone bit is sent to the consumable chip, if the data sent by the consumable chip is the first identifier, the printer considers that the consumable chip is locked according to the indication, and the printer considers that the consumable chip is unavailable.
This step can be achieved by two embodiments:
writing a second identifier into a preset flag bit of the consumable chip; and receiving a data reading request which is returned by the printer and indicates to read the preset flag bit, and sending the first identifier to the printer according to the data reading request.
That is, after receiving the first identifier returned by the printer, the consumable chip may first store the first identifier in a certain storage area, write the second identifier in the preset flag bit, and read the first identifier from the storage area and send the first identifier to the printer when receiving a data read request indicating to read the preset flag bit returned by the printer.
Writing a first identifier into a preset zone bit of the consumable chip; receiving a data reading request which is returned by the printer and indicates to read a preset zone bit, and sending the data of the preset zone bit to the printer according to the data reading request; and writing a second mark in a preset zone bit of the consumable chip to cover the first mark.
That is, after receiving the first identifier returned by the printer, the consumable chip may write the first identifier into the preset flag bit, and when receiving a data reading request indicating reading of the preset flag bit returned by the printer, read the data (the first identifier) of the preset flag bit, send the read data (the first identifier) to the printer, and then rewrite the data of the preset flag bit into the second identifier.
Both of the above embodiments can avoid the consumable chip being locked and successfully pass the lock detection of the printer in the case where the consumable chip is identified by the printer as being illegal and is to be locked.
Through the steps S101 to S104, under the condition that the consumable chip is identified as illegal by the printer and is to be locked, the first identification is refused to be written or changed into the second identification, the first identification is returned to the printer to be locked and detected through the printer, when the consumable chip receives the authentication request initiated by the printer again, the authentication feedback can be sent to the printer again, so that the printer can authenticate the consumable chip according to the current authentication feedback (carrying the updated authentication data), the authentication can be successfully passed, the problem that the consumable chip is locked and the printing consumable cannot be normally used is solved, and the beneficial effects of preventing the consumable chip from being locked and enabling the printing consumable to be normally used are achieved.
In some of these embodiments, the authentication data comprises first authentication data and second authentication data. The consumable chip firstly sends first authentication data to the printer; generating a first response message after the printer processes the first authentication data, and receiving the first response message returned by the printer in response to the first authentication data by the consumable chip; and in the case that the first response message indicates that the first authentication data is authenticated, sending second authentication data to the printer.
In this embodiment, the consumable chip is carrying out the authentication in-process with the printer, and the consumable sends this two kinds of authentication data for the printer in proper order for this two kinds of data are handled by the printer in proper order, and under the condition that first authentication data pass through printer authentication, the consumable chip sends second authentication data for the printer.
In some embodiments, the printer may store the first authentication data sent by the consumable chip in a preset record list, and if the first authentication data sent by the consumable chip already exists in the preset record list of the printer and the second authentication data fails to pass the printer authentication, the printer will lock the consumable chip, that is, send a response message carrying the first identifier indicating that the consumable chip is locked to the consumable chip. If the first authentication data is not in the preset record list of the printer, the second authentication data has no illegal problem for the printer, namely the consumable chip passes the authentication of the printer.
Further, in the case that the first response message indicates that the first authentication data passes the authentication, after the consumable chip sends the second authentication data to the printer, the printer will generate a second response message after processing the second authentication data, and the consumable chip receives a second response message returned by the printer in response to the second authentication data; the consumable chip judges whether the second response message carries the first identification indicating that the consumable chip is locked or not, and updates first authentication data carried by the consumable chip when next authentication feedback is sent out under the condition that the second response message carries the first identification indicating that the consumable chip is locked.
According to the arrangement, when the consumable chip sends the authentication feedback to the printer again, the updated first authentication data is not in the preset record list of the printer, so that the illegal problem of the second authentication data is eliminated, and the consumable chip passes through the printer authentication.
In some of these embodiments, in the event that the consumable chip and the printer are disconnected from communication and communication is re-established, the printer will initiate an authentication request to the consumable chip, and the consumable chip may again send authentication feedback to the printer in connection with the authentication request.
For example, after the printer accomplishes the locking detection, when the affirmation consumptive material chip is unavailable, only need to cut off the power of printer or printing consumptive material, perhaps break off the communication connection between printer and the printing consumptive material, the printer will authenticate the consumptive material chip again, and the consumptive material chip sends first authentication data and second authentication data again in proper order for the printer promptly, both prevents that the consumptive material chip from being locked, can pass through the authentication of printer again successfully.
Wherein, the power accessible of cutting off printer or printing consumptive material is realized to printer operation switch machine, and the communication connection accessible that breaks between printer and the printing consumptive material is realized to printer operation switch lid.
The method for authenticating the consumable chip is described below with a preferred embodiment.
In a preferred embodiment, the authentication logic between the consumable chip and the printer is:
if the first authentication data fails to authenticate, the second authentication data authentication is not carried out; if the first authentication data is successfully authenticated and the second authentication data is failed to authenticate, the consumable chip is locked; if the first authentication data is successfully authenticated and the second authentication data is successfully authenticated, the consumable chip is successfully authenticated; by modifying the first authentication data so that the first authentication data is different from the data stored in the preset record list of the printer, both the first authentication data and the second authentication data can pass authentication.
The authentication data is illegal by two kinds, i.e., the data itself has an error, and the data itself does not have an error, but does not conform to the expectation of the printer. The invalidity of the authentication data in the present preferred embodiment belongs to the second category.
FIG. 2 is a flowchart of a consumable chip authentication method according to a preferred embodiment of the present application, and as shown in FIG. 2, the flowchart includes the following steps:
step S21, the first authentication data is sent to the printer.
And step S22, receiving a first response message returned by the printer.
And step S23, judging whether the first authentication data passes the authentication according to the first response message. If yes, go to step S24; if not, the flow is ended.
Step S24, the second authentication data is sent to the printer.
And step S25, receiving a second response message returned by the printer.
And step S26, judging whether the second authentication data passes the authentication according to the second response message. If yes, ending the process; if not, step S27 is executed.
Step S27, the first authentication data is updated, and the second identifier is written in the preset flag bit.
In combination with the consumable chip authentication method of the above embodiment, this embodiment further provides a consumable chip, fig. 3 is a schematic structural diagram of the consumable chip of the embodiment of the present application, as shown in fig. 3, the consumable chip 30 includes a storage unit 31 and a processing unit 32 that are connected to each other, the storage unit 31 stores authentication data, and the processing unit 32 is configured to operate the consumable chip authentication method of any one of the above embodiments.
In some embodiments, the storage unit 31 stores first authentication data, and the number of the first authentication data stored in the storage unit 31 is larger than the number of the first authentication data stored in the printer.
For example, N first authentication data are stored in the preset printer record table, and if N +1 first authentication data are stored in the storage unit 31, it can be ensured that one first authentication data is always absent from the preset printer record table, so that the first authentication data passes through the authentication of the printer, and the consumable chip 30 can be successfully prevented from being locked.
In some embodiments, the storage unit 31 further stores second authentication data, and the first authentication data and the second authentication data are used for authenticating the consumable chip 30 by the co-supply printer.
Fig. 4 is a schematic structural view of a printing consumable according to an embodiment of the present application, and as shown in fig. 4, the printing consumable includes a consumable cartridge 40 and the consumable chip 30 according to any of the embodiments.
In some of these embodiments, the consumable cartridge 40 may be any one of an ink cartridge and a toner cartridge.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementations, and details are not described again in this embodiment.
In addition, in combination with the consumable chip authentication method provided in the foregoing embodiment, a storage medium may also be provided in this embodiment. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any of the consumable chip authentication methods in the above embodiments.
It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to be limiting. All other embodiments, which can be derived by a person skilled in the art from the examples provided herein without inventive step, shall fall within the scope of protection of the present application.
It is obvious that the drawings are only examples or embodiments of the present application, and it is obvious to those skilled in the art that the present application can be applied to other similar cases according to the drawings without creative efforts. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference throughout this application to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly or implicitly understood by one of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the patent protection. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (11)
1. A consumable chip authentication method is characterized by comprising the following steps:
responding to an authentication request initiated by a printer, and sending authentication feedback to the printer, wherein the authentication feedback carries authentication data;
receiving a response message returned by the printer in response to the authentication feedback, and judging whether the response message carries a first identifier indicating that the consumable chip is locked;
under the condition that the response message is judged to carry the first identification indicating that the consumable chip is locked, updating authentication data carried by the consumable chip when sending the next authentication feedback;
receiving a data reading request which is returned by the printer and indicates to read a preset zone bit, sending the first identifier to the printer according to the data reading request, and writing a second identifier into the preset zone bit of the consumable chip before the consumable chip sends the next authentication feedback, wherein the second identifier is used for indicating that the consumable chip is not locked.
2. The consumable chip authentication method according to claim 1, wherein when it is determined that the response message carries a first identifier indicating that the consumable chip is locked, receiving a data reading request indicating that a preset flag bit is read, which is returned by the printer, sending the first identifier to the printer according to the data reading request, and writing a second identifier in the preset flag bit of the consumable chip before the consumable chip sends a next authentication feedback, wherein the second identifier is used for indicating that the consumable chip is not locked includes:
writing the second identifier into a preset zone bit of the consumable chip;
and receiving a data reading request which is returned by the printer and indicates to read the preset flag bit, and sending the first identifier to the printer according to the data reading request.
3. The consumable chip authentication method according to claim 1, wherein when it is determined that the response message carries a first identifier indicating that the consumable chip is locked, receiving a data reading request indicating that a preset flag bit is read from the printer, sending the first identifier to the printer according to the data reading request, and writing a second identifier in the preset flag bit of the consumable chip before the consumable chip sends a next authentication feedback, where the second identifier is used to indicate that the consumable chip is unlocked includes:
writing the first identifier into a preset zone bit of the consumable chip;
receiving a data reading request which is returned by the printer and indicates to read the preset zone bit, and sending the data of the preset zone bit to the printer according to the data reading request;
and writing the second identifier into a preset zone bit of the consumable chip to cover the first identifier.
4. The consumable chip authentication method of claim 1, wherein an authentication feedback is sent to the printer in response to a printer-initiated authentication request, and receiving a response message returned by the printer in response to the authentication feedback comprises:
sending first authentication data to the printer;
receiving a first response message returned by the printer in response to the first authentication data;
transmitting second authentication data to the printer in a case where the first response message indicates that the first authentication data is authenticated.
5. The consumable chip authentication method of claim 4,
after sending second authentication data to the printer in a case where the first response message indicates that the first authentication data is authenticated, the method further includes: receiving a second response message returned by the printer in response to the second authentication data;
judging whether the response message carries a first identifier indicating that the consumable chip is locked comprises the following steps: and judging whether the second response message carries a first identifier indicating that the consumable chip is locked or not, and updating the first authentication data carried by the consumable chip when sending the next authentication feedback under the condition that the second response message carries the first identifier indicating that the consumable chip is locked.
6. The consumable chip authentication method according to claim 1, wherein after the second identifier is written into the preset flag bit of the consumable chip, the method further comprises:
and responding to an authentication request initiated by the printer again, and sending authentication feedback to the printer so that the printer authenticates the consumable chip according to the current authentication feedback, wherein the current authentication feedback carries the updated authentication data.
7. The consumable chip authentication method of claim 6, wherein sending authentication feedback to the printer again in response to the printer-initiated authentication request comprises:
and under the condition that the consumable chip and the printer are disconnected in communication and the communication is established again, responding to the authentication request initiated by the printer, and sending authentication feedback to the printer.
8. A consumable chip comprising a memory unit and a processing unit connected to each other, the memory unit storing authentication data, the processing unit being configured to execute the consumable chip authentication method of any one of claims 1 to 7.
9. The consumable chip of claim 8, wherein the storage unit stores first authentication data, and the storage unit stores a larger number of first authentication data than the number of first authentication data stored in the printer.
10. The consumable chip of claim 9, wherein the storage unit further stores second authentication data, and the first authentication data and the second authentication data are used for authenticating the consumable chip in cooperation with supplying the printer.
11. A printing consumable comprising a consumable cartridge and a consumable chip according to any one of claims 8 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110665350.XA CN115480715A (en) | 2021-06-16 | 2021-06-16 | Consumable chip authentication method, consumable chip and printing consumable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110665350.XA CN115480715A (en) | 2021-06-16 | 2021-06-16 | Consumable chip authentication method, consumable chip and printing consumable |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115480715A true CN115480715A (en) | 2022-12-16 |
Family
ID=84419791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110665350.XA Pending CN115480715A (en) | 2021-06-16 | 2021-06-16 | Consumable chip authentication method, consumable chip and printing consumable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115480715A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116461230A (en) * | 2023-03-07 | 2023-07-21 | 珠海恒盛条码设备有限公司 | Chip reset type consumable replacement method and system |
-
2021
- 2021-06-16 CN CN202110665350.XA patent/CN115480715A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116461230A (en) * | 2023-03-07 | 2023-07-21 | 珠海恒盛条码设备有限公司 | Chip reset type consumable replacement method and system |
CN116461230B (en) * | 2023-03-07 | 2023-12-15 | 珠海恒盛条码设备有限公司 | Chip reset type consumable replacement method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8578466B2 (en) | Communication apparatus, communication system, certificate transmission method, anomaly detection method and a program therefor | |
US8290159B2 (en) | Data recovery method, image processing apparatus, controller board, and data recovery program | |
RU2452009C1 (en) | Unit using operating system and image forming apparatus using said unit | |
US8599404B2 (en) | Network image processing system, network image processing apparatus, and network image processing method | |
EP2605175A2 (en) | Method and apparatus for checking field replaceable unit, and communication device | |
US9053303B2 (en) | Apparatus, authentication system, authentication control method, authentication control program, and computer-readable recording medium having authentication control program | |
JP5164810B2 (en) | Image forming apparatus and image forming apparatus control method | |
JP5016189B2 (en) | Electronic device, electronic device control method, program, and recording medium | |
KR20150033895A (en) | crum chip mauntable in comsumable unit, image forming apparatus for authentificating the crum chip, and method thereof | |
US20100235921A1 (en) | License Scheme for Use with Stackable Devices | |
CN105378747A (en) | One-touch device personalization | |
JP2008072427A (en) | Image forming device, client/server type information processing system, and information processing method | |
KR20110025663A (en) | Providing authenticated communications to a replaceable printer component | |
EP3929780A1 (en) | Communication method for consumables chip, consumables chip, and consumable | |
JP4932324B2 (en) | Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method | |
CN115480715A (en) | Consumable chip authentication method, consumable chip and printing consumable | |
US20050108559A1 (en) | Image forming apparatus, method for controlling writing data from the same to storage device, method for controlling reading data from storage device to the same, and replacement part therefor | |
JP5342061B2 (en) | Image forming apparatus and image forming apparatus control method | |
CN113103765B (en) | Printing consumable authentication method, printing consumable chip, printing consumable and printing system | |
US11726676B2 (en) | Electronic apparatus | |
JP2020533722A (en) | Methods and equipment to protect peripherals | |
JP4380342B2 (en) | Image forming system and image forming apparatus | |
JP2005335106A (en) | Printer and control method of printer | |
JP2011209821A (en) | Image forming system, authentication method, and image forming apparatus | |
KR102340315B1 (en) | Apparatus and method for managing feeders based on block-chains |
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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 12th Floor, Huachuang Building, No. 511 Jianye Road, Binjiang District, Hangzhou City, Zhejiang Province, 310051 Applicant after: Hangzhou Qijie Technology Co.,Ltd. Address before: Room 421, floor 4, building 1, No. 1180 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: HANGZHOU CHIPJET TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |