Consumable authentication method, device, system, consumable chip and printing consumable
By exchanging switch cover wear data between the printing device and the consumables, it can determine whether the consumables have passed certification and update the consumables label when they fail. This solves the problem of certification failure when multiple consumables are put into the same device, improves the certification success rate, and avoids resource waste.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU CHIPJET TECH CO LTD
- Filing Date
- 2024-02-26
- Publication Date
- 2026-07-21
AI Technical Summary
When multiple printing supplies using the same serial number are sent to the same printing device, authentication fails, making them unusable and resulting in wasted resources.
By exchanging switch cover wear data between the printing device and the consumables, it can be determined whether the consumables are certified. If they are not certified, the consumables label is updated to improve the certification success rate and avoid resource waste.
This improves the authentication success rate of printing consumables when they are used multiple times on the same device, thus avoiding resource waste.
Smart Images

Figure CN118082381B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of printer consumables application technology, and in particular to a consumables authentication method, device, system, consumables chip, and printer consumables. Background Technology
[0002] The printing device communicates with printing supplies through serial number authentication technology. The supplies can only be used for printing if the serial number is authenticated.
[0003] However, serial number resources are limited, and there are situations where multiple printing consumables use the same set of serial numbers to enter the same printing device. In this case, the printing device may determine that the printing consumables have not passed certification, resulting in the printing consumables being unable to be used normally on this printing device, thus causing a waste of resources. Summary of the Invention
[0004] The purpose of this application is to provide a consumable authentication method, apparatus, system, consumable chip, and printing consumables to solve the problem of resource waste caused by multiple consumables using the same set of serial numbers failing to function properly when printed on the same printer.
[0005] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0006] In a first aspect, embodiments of this application provide a consumable certification method, including:
[0007] In response to an authentication request sent by the printing device, authentication data is sent to the printing device, the authentication data including a consumable identifier for the printing consumable;
[0008] If the first switch cover loss data returned by the printing device is received, then based on the first switch cover loss data and the second switch cover loss data, it is determined whether the printing consumable has passed certification. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before the first switch cover loss data is received.
[0009] If the printing consumable fails certification, the consumable identifier in the next certification data sent to the printing device will be updated.
[0010] Secondly, embodiments of this application provide a consumable authentication device, comprising:
[0011] A communication module is used to send authentication data to the printing device in response to an authentication request sent by the printing device, the authentication data including the consumable identifier of the printing consumable;
[0012] The judgment module is used to determine whether the printing consumable has passed certification based on the first switch cover loss data and the second switch cover loss data if the first switch cover loss data is received from the printing device. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before the first switch cover loss data is received.
[0013] The switching module is used to update the consumable identifier in the next authentication data sent to the printing device if the printing consumable fails authentication.
[0014] Thirdly, embodiments of this application provide a consumables authentication system, including: a printing device and printing consumables;
[0015] The printing device is used to send an authentication request to the printing consumables to obtain the consumable identifier of the printing consumables;
[0016] The printing consumable is used to respond to the authentication request and send authentication data to the printing device, the authentication data including the consumable identifier;
[0017] The printing device is also used to send first switch cover loss data to the printing consumables, wherein the first switch cover loss data is switch cover loss data generated by the printing device when it receives a switch cover signal.
[0018] The printing consumable is also used to receive the first switch cover wear data, and to determine whether the printing consumable has passed certification based on the first switch cover wear data and the second switch cover wear data. The second switch cover wear data is the switch cover wear data stored by the printing consumable before receiving the first switch cover wear data.
[0019] The printing consumables are also configured to update the consumables identifier in the next authentication data sent to the printing device if the printing consumables fail authentication.
[0020] Fourthly, embodiments of this application provide a consumable chip, including a memory and a processor interconnected, wherein the memory stores authentication data and the processor is used to execute the consumable authentication method as described in the first aspect.
[0021] Fifthly, embodiments of this application provide a printing consumable, including: a printing consumable body and the consumable chip described in the fourth aspect above.
[0022] In a sixth aspect, embodiments of this application provide an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in the first aspect.
[0023] In a seventh aspect, embodiments of this application provide a computer-readable storage medium that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the method described in the first aspect.
[0024] The above-mentioned at least one technical solution adopted in this application embodiment can achieve the following beneficial effects: Since the consumable wear between two adjacent cover opening / closing failures is relatively small, and the printing device generates corresponding cover opening / closing data and sends it to the consumable for updating each time it receives a cover opening / closing signal, based on this, after responding to the authentication request sent by the printing device, authentication data is sent to the printing device. The authentication data includes the consumable identifier of the printing consumable. Each time the printing consumable receives the first cover opening / closing wear data, it performs a judgment to confirm whether the printing consumable has passed authentication, reducing false judgments. Specifically, if the first cover opening / closing wear data returned by the printing device is received, the first cover opening / closing wear data and the second cover opening / closing wear data are used as the basis for the judgment. The system uses data to determine whether printing consumables have passed certification. The first cover opening / closing loss data is generated by the printer when it receives the cover opening / closing signal. The second cover opening / closing loss data is the cover opening / closing loss data stored in the printing consumables before receiving the first data. If the printing consumables fail certification based on the cover opening / closing loss data returned by the printer, the system updates the consumable identifier in the next certification data sent to the printer. This allows the printer to use the new consumable identifier to continue certifying the printing consumables, increasing the probability of successful certification and enabling continued use of the printing consumables. Even multiple consumables with the same serial number can be successfully certified when they are installed in the same printer, avoiding resource waste. Attached Figure Description
[0025] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0026] Figure 1 A flowchart illustrating a consumable certification method provided in one embodiment of this application;
[0027] Figure 2 A flowchart illustrating another consumable authentication method provided in one embodiment of this application;
[0028] Figure 3A schematic diagram of a consumable authentication device provided in one embodiment of this application;
[0029] Figure 4 A schematic diagram of a consumable authentication system provided in one embodiment of this application;
[0030] Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] The terms "first," "second," etc., used in this specification and claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in sequences other than those illustrated or described herein. Furthermore, in this specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0033] In related technologies, printing devices communicate with printing consumables through serial number authentication technology, and printing can only be performed using consumables if the serial number is authenticated.
[0034] However, serial number resources are limited, and there are situations where multiple printing consumables use the same set of serial numbers to enter the same printing device. In this case, the printing device may determine that the printing consumables have not passed certification, resulting in the printing consumables being unable to be used normally on this printing device, thus causing a waste of resources.
[0035] Specifically, the authentication process of printing equipment will be explained in conjunction with this. Typically, the authentication of printing consumables by a printing equipment includes serial number authentication and consumable recognition. After the serial number is authenticated, the consumable is then recognized. During recognition, it is usually checked whether the serial number is stored in the printing equipment. If not, recognition is successful, and the consumable can be used for printing. If it is stored, it is necessary to further check whether the ink volume data stored by the printing equipment for this serial number matches that of the consumable. If they match, recognition is successful, and the consumable can be used for printing. If they do not match, recognition fails, and the consumable cannot be used. At this time, the printing equipment outputs a prompt message, instructing the user to open the cover to check the consumable, close the cover, and re-authenticate. However, there is a high probability that the consumable will fail authentication at this point. Even with repeated opening and closing of the cover, the probability of successful authentication is low. Even if the same consumable with the same serial number is used, there is still a certain probability of authentication failure, leading to the consumable becoming unusable, wasting resources, and requiring replacement of the consumable with a new serial number for authentication.
[0036] However, the applicant discovered during the certification process of the printing equipment that if the consumable recognition fails, the printing consumable cannot be used for printing and can only be opened for inspection and recertification. At this time, the wear of the printing consumable between the last two opening and closing of the cover will be relatively small. In addition, the printing equipment will generate corresponding opening and closing data and send it to the printing consumable for updating each time it receives the opening and closing signal. Therefore, the applicant thought of switching the serial number based on the wear of the printing consumable between the two opening and closing of the cover, so that the printing equipment can use the new serial number for certification.
[0037] Specifically, in this embodiment, after responding to the authentication request sent by the printing device, authentication data is sent to the printing device. The authentication data includes the consumable identifier of the printing consumable. Each time the printing consumable receives the first cover wear data, it performs a judgment to confirm whether the printing consumable has passed authentication, reducing false judgments. Specifically, if the first cover wear data returned by the printing device is received, the printing consumable is determined to have passed authentication based on the first cover wear data and the second cover wear data. The first cover wear data is the cover wear data generated by the printing device when it receives the cover switch signal, and the second cover wear data is the cover wear data stored by the printing consumable before receiving the first cover wear data. If the printing consumable is determined to have failed authentication based on the cover wear data returned by the printing device, the consumable identifier in the next authentication data sent to the printing device is updated, so that the printing device can use the new consumable identifier to continue authenticating the printing consumable, thereby increasing the probability of the printing consumable passing authentication and allowing it to continue to be used. Even if multiple consumables with the same serial number are entered into the same printing device, they can be successfully authenticated, avoiding resource waste.
[0038] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0039] Please see Figure 1 The following is a flowchart illustrating a consumable certification method according to an embodiment of this application, which may include the following steps:
[0040] S102, in response to the authentication request sent by the printing device, send authentication data to the printing device.
[0041] The authentication request is used to request the printing device to authenticate the printing consumables, specifically including authenticating the serial number and authenticating the printing consumables.
[0042] The authentication data includes the consumable identification of the printing consumables. The consumable identification refers to the identifier or mark of the printing consumables, used to identify and verify the legitimacy and authorization of the consumables used by the printing device during the authentication process. Examples include serial numbers and encryption keys. When the printing device sends an authentication request to the printing consumables, the consumables include their consumable identification in the authentication data and send the authentication data to the printing device for authentication.
[0043] It should be understood that the authentication request sent by the printing device carries a random number. The printing consumable generates a verification byte based on the random number and the constant, accumulated value, and initial key corresponding to the consumable identifier. As an example, the authentication data may also include a verification byte. The printing consumable carries the verification byte and the consumable identifier in the authentication data and sends the authentication data to the printing device for authentication. After receiving the authentication data, the printing device first authenticates the consumable identifier based on the verification byte. After the consumable identifier is authenticated, the printing device performs device recognition, specifically including: querying the memory of the serial number and comparing ink volume data to determine whether the printing consumable has passed device recognition.
[0044] Printing equipment refers to devices used to convert digital information into physical documents or images, such as printers and copiers. Printing consumables are used in printing equipment, such as ink cartridges, toner cartridges, and drum units.
[0045] As another optional embodiment, before the above S102, it further includes: receiving third switch cover loss data sent by the printing device, wherein the third switch cover loss data is switch cover loss data generated by the printing device when it detects the input signal of printing consumables;
[0046] Based on the third switch cover wear data, the switch cover wear data stored in the printing consumables is updated.
[0047] The cover opening / closing wear data includes the number of times the cover has been opened and closed and the cumulative consumable wear. The cumulative consumable wear includes, but is not limited to, one of the following: cumulative ink loss, toner loss, etc. When the user opens the printer cover, inserts consumables, and closes the cover, the printer detects the consumables' entry signal and generates corresponding cover opening / closing wear data, i.e., the third cover opening / closing wear data. This third cover opening / closing wear data contains the number of opening / closing cycles as 1. This data is then sent to the consumables. Upon receiving the third cover opening / closing wear data, the consumables update their stored cover opening / closing wear data, resulting in a new record of 1 opening / closing cycle.
[0048] It should be understood that after printing consumables are put into the printing device, the startup time is relatively long, which may involve initialization steps such as cleaning the printhead or print head and moving the ink. During this process, printing consumables will be damaged to some extent. Even when the printing consumables are almost used up, some ink and toner will remain on the printhead or print head and on the container holding the ink and toner. Therefore, the damage to printing consumables is not all used for printing paper. Even if the printing device has not printed any pages, there will still be some damage to the printing consumables during the startup process.
[0049] It should be understood that after the printing consumables are initially placed into the printing device, the printing device will generate corresponding cover opening and closing wear data every time it receives a cover opening and closing signal. The corresponding number of cover opening and closing times and the cumulative consumable wear amount are obtained by accumulating the data. The generated cover opening and closing wear data is then sent to the printing consumables to update the cover opening and closing wear data stored in the printing consumables.
[0050] For example: When printing consumables are first inserted into the printer, the corresponding open / close wear data shows 1 open / close count and 'a' cumulative consumable wear, and this is sent to the printing consumables for update. At this point, the open / close wear data stored in the printing consumables shows 1 open / close count and 'a' cumulative consumable wear. Next, the printer receives an open / close signal, and the corresponding open / close wear data shows 2 open / close counts and 'a+b' cumulative consumable wear, and this is sent to the printing consumables for update. At this point, the open / close wear data stored in the printing consumables shows 2 open / close counts and 'a+b' cumulative consumable wear. Then, the printer receives another open / close signal, and the corresponding open / close wear data shows 3 open / close counts and 'a+b+c' cumulative consumable wear, and this is sent to the printing consumables for update. At this point, the open / close wear data stored in the printing consumables shows 3 open / close counts and 'a+b+c' cumulative consumable wear, and so on, continuously accumulating and updating. If an incoming printing consumable signal is detected, the data is re-accumulated.
[0051] In this embodiment of the application, the switch cover loss data stored in the printing consumable is updated by receiving the third switch cover loss data sent by the printing device. The third switch cover loss data is the switch cover loss data generated by the printing device when it detects the printing consumable's input signal, so that subsequent judgment can be made based on each time the switch cover loss data of the printing device is received, in order to determine whether the printing consumable has passed certification.
[0052] S104, if the first switch cover wear data returned by the printing device is received, then based on the first switch cover wear data and the second switch cover wear data, determine whether the printing consumables have passed certification.
[0053] The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored in the printing consumables before receiving the first switch cover loss data.
[0054] In this embodiment of the application, the printing consumable responds to the authentication request sent by the device and sends authentication data to the printing device. If the user opens the cover of the printing device for detection and then closes the cover, the printing device will receive the cover opening and closing signal. At this time, the device generates corresponding cover opening and closing loss data, namely the first cover opening and closing loss data, and sends it to the printing consumable. The printing consumable receives the first cover opening and closing loss data returned by the printing device and compares the first cover opening and closing loss data with the second cover opening and closing loss data. Based on the comparison result, it determines whether the printing consumable has passed the authentication.
[0055] For example: In response to the authentication request sent by the device, after sending authentication data to the printing device, if the first cover wear data returned by the printing device is received, the number of cover opening and closing times in the first cover wear data is k. Before receiving the first cover wear data, the number of cover opening and closing times in the cover wear data stored in the printing consumables, i.e. the second cover wear data, is k-1. Based on the first cover wear data and the second cover wear data, it is determined whether the printing consumables have passed the authentication.
[0056] As an example, when printing consumables receive cover wear data from the printing device, they can determine whether it is the third or first cover wear data based on the number of times the cover is opened and closed in the data. If the number of times the cover is opened and closed in the received data is 1, it is considered the third cover wear data, and there is no need to query the cover wear data stored in the printing consumables and confirm whether the printing consumables have passed certification. If the number of times the cover is opened and closed in the received data is not 1 and is 1 more than the number of times the cover is opened and closed in the second cover wear data, it is considered the first cover wear data, and based on the first and second cover wear data, it is determined whether the printing consumables have passed certification.
[0057] Specifically, as an optional implementation, the first cover-opening loss data includes the first cumulative consumable loss of the printing device after the kth cover opening and closing, and the second cover-opening loss data includes the second cumulative consumable loss of the printing device after the (k-1)th cover opening and closing, where k is a positive integer.
[0058] In the above S104, based on the first switch cover wear data and the second switch cover wear data, it is determined whether the printing consumables have passed certification, including the following steps: based on the first cumulative consumable wear amount and the second cumulative consumable wear amount, the consumable wear amount between two adjacent switch covers is obtained.
[0059] If the amount of consumables consumed between two consecutive opening and closing of the cover is less than the preset amount, it is determined that the printing consumables have not passed certification.
[0060] If the amount of consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption amount, then the printing consumable is deemed to have passed certification.
[0061] In this embodiment, in response to the authentication request sent by the device, the printing consumable sends authentication data to the printing device. If the user opens the lid of the printing device for inspection and then closes the lid, the printing device receives the lid opening / closing signal. At this time, it generates corresponding lid opening / closing loss data, i.e., first lid opening / closing loss data, and the cumulative consumable loss amount in the first lid opening / closing loss data, i.e., first cumulative consumable loss amount, and sends it to the printing consumable. The printing consumable receives the first cumulative consumable loss amount from the first lid opening / closing loss data returned by the printing device. Based on the first cumulative consumable loss amount and the cumulative consumable loss amount in the second lid opening / closing loss data stored in the printing consumable, i.e., the second cumulative consumable loss amount, it obtains the consumable loss amount between two adjacent lid openings / closings. That is, it subtracts the first cumulative consumable loss amount from the second cumulative consumable loss amount. If the consumable loss amount between two adjacent lid openings / closings is less than a preset loss amount, it is determined that the printing consumable has not passed authentication. If the consumable loss amount between two adjacent lid openings / closings is greater than or equal to the preset loss amount, it is determined that the printing consumable has passed authentication.
[0062] For example: In response to the authentication request sent by the device, after sending authentication data to the printing device, if the first cover wear data returned by the printing device is received, the first cover wear data contains the number of cover openings k and the first cumulative consumable wear amount a. Before receiving the first cover wear data, the cover wear data stored in the printing consumable, i.e. the second cover wear data, contains the number of cover openings k-1 and the second cumulative consumable wear amount b. The consumable wear amount between two adjacent cover openings is ab. If ab is less than the preset wear amount, it is determined that the printing consumable has not passed authentication. If ab is greater than or equal to the preset wear amount, it is determined that the printing consumable has passed authentication.
[0063] The preset consumption amount can be set according to actual needs, such as preset ink volume, preset toner volume, etc. For example, if the ink volume change between two consecutive cover openings is greater than the preset ink volume of 0x3008, the printing consumable is determined to be certified; if it is less than the preset ink volume of 0x3008, the printing consumable is determined to be uncertified. This application embodiment does not limit this.
[0064] In this embodiment, after sending authentication data to the printing device in response to an authentication request, the system calculates the consumable consumption amount between two consecutive opening and closing of the printing device based on the first cumulative consumable consumption amount in the first opening and closing cover consumption data and the second cumulative consumable consumption amount in the second opening and closing cover consumption data returned by the printing device. This is the opening and closing cover consumption data stored in the printing consumable before receiving the first opening and closing cover consumption data. If the consumable consumption amount between two consecutive opening and closing of the printing device is less than a preset consumption amount, it is determined that the printing consumable has failed authentication. If the consumable consumption amount between two consecutive opening and closing of the printing device is greater than or equal to the preset consumption amount, it is determined that the printing consumable has passed authentication. This determines whether to update the consumable identifier in the next authentication data sent to the printing device, so that the printing device can use the new consumable identifier for authentication, thereby increasing the probability of the printing consumable passing authentication and avoiding resource waste.
[0065] S106 If the printing consumables fail to pass certification, update the consumables identifier in the certification data sent to the printing device next time.
[0066] Since the consumable wear between two consecutive cover opening / closing failures is relatively small in the event of a printing consumable authentication failure, and the printing device generates corresponding cover opening / closing data and sends it to the printing consumable for updating each time it receives a cover opening / closing signal, this embodiment of the application sends authentication data to the printing device after responding to the authentication request sent by the printing device. The authentication data includes the consumable identifier of the printing consumable. Each time the printing consumable receives the first cover opening / closing wear data, it performs a judgment to confirm whether the printing consumable has passed authentication, reducing false judgments. Specifically, if the first cover opening / closing wear data returned by the printing device is received, the printing consumable is determined to have passed authentication based on the first cover opening / closing wear data and the second cover opening / closing wear data. Upon successful authentication, the first cover loss data is generated by the printer upon receiving the cover switch signal, while the second cover loss data is the cover loss data stored in the printing consumables before receiving the first cover loss data. If the printing consumables fail authentication based on the cover loss data returned by the printer, the consumables update the consumable identifier in the next authentication data sent to the printer. This allows the printer to use the new consumable identifier to continue authenticating the consumables, increasing the probability of successful authentication and enabling continued use of the consumables. Even multiple consumables with the same serial number can be successfully authenticated when they are installed in the same printer, avoiding resource waste.
[0067] As an optional implementation, S106 includes: if the printing consumables have not passed certification, determining the number of pages printed by the printing device based on the first switch cover wear data, the second switch cover wear data, and the printing configuration information stored in the printing consumables;
[0068] If the number of pages printed is less than the preset number, update the consumables identifier in the authentication data sent to the printing device next time.
[0069] The printing configuration information includes the consumable consumption amount corresponding to printing one page. Based on the difference between the first cumulative consumable consumption amount in the first switch cover consumption data and the second cumulative consumable consumption amount in the second switch cover consumption data, the consumable consumption amount between two adjacent switch cover openings is obtained. Based on the consumable consumption amount between two adjacent switch cover openings and the consumable consumption amount corresponding to printing one page, the number of pages printed by the printing device between two adjacent switch cover openings is determined. If the number of pages printed is less than the preset number of pages, the consumable identifier in the authentication data sent to the printing device in the next update is updated.
[0070] For example: In the first switch cover wear data, the number of switch covers is k and the first cumulative consumable wear amount is a. Before receiving the first switch cover wear data, print the switch cover wear data stored in the consumables, that is, in the second switch cover wear data, the number of switch covers is k-1 and the second cumulative consumable wear amount is b. The consumable wear amount between two adjacent switch covers is ab. If ab is less than the preset wear amount, then based on the consumable wear amount ab between two adjacent switch covers and the consumable wear amount m corresponding to printing one page in the print configuration information, determine the number of pages already printed by the printing device, that is, (ab) / m. If the number of pages already printed is less than the preset number of pages, then update the consumable identifier in the authentication data sent to the printing device next time.
[0071] As an example, print configuration information may also include print resolution, color, paper size, and consumable consumption for different paper sizes. These settings can be customized to meet various printing needs; this application does not impose specific limitations on them.
[0072] It should be understood that the printing consumables provider is unaware of the true reason for the printer's cover opening and closing. It could be due to a failed authentication attempt requiring a check, or it could be due to user intervention, such as during routine checks. The amount of consumable wear between two consecutive cover openings and closings can further determine whether authentication has been successful. If authentication failed, the consumables were not used for printing, resulting in minimal wear. If authentication succeeded, even if printing had already begun and the cover was opened shortly afterward, wear would still be minimal. Furthermore, the number of pages already printed can be used to determine whether authentication has been successful, and thus, whether to change the consumable identifier in the authentication data the next time an authentication request is received from the printer. This reduces misjudgments of the consumables' authentication status and increases the probability of successful authentication.
[0073] This application embodiment determines whether the printing consumable has passed certification based on the consumable consumption between two adjacent opening and closing of the cover. If certification fails, it determines the number of pages already printed by the printing device based on the first and second cover consumption data and the printing configuration information stored in the printing consumable. If the number of pages already printed is less than a preset number, the consumable identifier in the next certification data sent to the printing device is updated. Even if the printing consumable has passed certification and the printing device has entered the printing process, and the user opens the cover to perform corresponding operations within a short period of time, as long as the number of pages already printed is greater than or equal to the preset number, there is no need to switch the consumable identifier. This can greatly reduce the probability of misjudging the certification status of the printing consumable, accurately identify whether the printing consumable has passed certification, and then determine whether to switch the consumable identifier, thereby increasing the probability of the printing consumable passing certification and allowing the printing consumable to continue to be used, avoiding resource waste.
[0074] As an optional implementation, when the printing consumables store N consumable identifiers and N≥2, the above S102 includes: in response to an authentication request, selecting a first consumable identifier from the N consumable identifiers;
[0075] The first consumable identifier is carried in the authentication data and the authentication data is sent to the printing device;
[0076] The above-mentioned S106 includes: selecting a second consumable identifier from N consumable identifiers as the consumable identifier in the authentication data sent to the printing device next time.
[0077] The label for the second consumable is different from that for the first consumable.
[0078] Based on the first switch cover wear data and the second switch cover wear data, this application embodiment determines whether the printing consumable has passed certification. If the printing consumable has not passed certification, the consumable identifier is switched in preparation for responding to the certification request sent by the printing device next time.
[0079] For example, the number of consumable identifiers stored in the printing consumables is 3, i.e., N=3, namely A, B, and C. The printing device sends an authentication request to the printing consumables. In response to the authentication request, the printing consumables select consumable identifier A and send it to the printing device for authentication along with the authentication data. Next, if the printing device returns the first cover wear data, and if it is determined based on the first cover wear data and the second cover wear data that the printing consumables have failed authentication, then one of the consumable identifiers, B and C, is selected as the consumable identifier in the authentication data sent to the printing device next time.
[0080] This application embodiment stores multiple consumable identifiers in the printing consumables. When it is determined that the printing consumables have failed authentication, a new consumable identifier is switched to be used as the consumable identifier in the authentication data sent to the printing device in the next time. This allows the printing device to use the new consumable identifier for authentication, thereby increasing the probability of the printing consumables passing authentication and allowing the printing consumables to continue to be used, thus avoiding resource waste.
[0081] As an alternative implementation, the number of consumable identifiers stored in the printing consumables is greater than the maximum number of consumable identifiers that the printing device can store.
[0082] For example: The printer can store a maximum of 2 consumable identifiers, and the consumable stores 4 identifiers, A, B, C, and D. The printer sends an authentication request to the consumable. The consumable responds by selecting consumable identifier A and sending it along with authentication data to the printer for authentication. The printer's authentication process includes authenticating consumable identifier A and recognizing the consumable. If consumable identifier A is successfully authenticated, but the printer has a memory of it, and the consumable's ink level and other data do not match the printer's records, recognizing the consumable fails. The printer outputs a message prompting the user to open and close the cover, and returns the first cover wear data to the consumable. If the consumable determines that it has failed authentication based on the first and second cover wear data, then consumable identifier C is selected from B, C, and D as the consumable identifier for the next authentication data sent to the printer. If the printer also has... The system stores the relevant memory of consumable identifier C. If the authentication fails again and the system returns the first switch cover wear data to the printing consumable, and the printing consumable determines that it has failed authentication based on the first and second switch cover wear data, then it selects either consumable identifier B or D as the consumable identifier in the next authentication data sent to the printing device. Since the printing device can store a maximum of two consumable identifiers, and based on the previous authentication results, the printing device stores the relevant memories of two consumable identifiers, A and C, while consumable identifiers B or D are not present in the printing device's memory. After the printing device authenticates and passes consumable identifier D or B, it directly confirms successful machine recognition of the printing consumable. The printing device will save consumable identifiers B or D in the order of successful authentication and delete the memory of the first saved consumable identifier, retaining only the memories of the two consumable identifiers.
[0083] It should be understood that, in this embodiment of the application, the printing consumables can pass authentication as long as the number of consumable identifiers stored in the printing consumables is at least one more than the maximum number of consumable identifiers that the printing device can store. As a preferred embodiment, this embodiment of the application sets the number of consumable identifiers stored in the printing consumables to N, corresponding to the maximum number of consumable identifiers that the printing device can store (N-1). This saves memory and avoids resource waste while ensuring that the printing consumables can pass authentication.
[0084] This application embodiment addresses the maximum number of consumable identifiers that a printing device can store. A certain number of consumable identifiers are stored in the printing consumables. As long as the number of consumable identifiers stored in the printing consumables exceeds the maximum number of consumable identifiers that the printing device can store by at least one, the printing consumables can be certified and can continue to be used. Even if multiple consumables use the same N consumable identifiers, they can be successfully certified when they are put into the same printing device, thereby enabling these printing consumables to be used normally and avoiding resource waste.
[0085] To speed up the authentication process, the consumable identifiers stored in the printing consumables can be sorted and sent to the printing device in sequence. For example, if the printing device can store a maximum of 2 consumable identifiers and the printing consumables store 3 consumable identifiers, switching between them in the sorted order will allow authentication to be completed in a maximum of two attempts, greatly improving the authentication speed and enhancing the user experience.
[0086] The following is a complete example illustrating the consumable authentication method provided in this application's embodiments, and should not be construed as limiting the method of this application's embodiments. Please refer to... Figure 2 This is a schematic diagram illustrating the flow structure of another consumable authentication method provided in one embodiment of this application. Assume the printing device can store two consumable identifiers, namely B and C, plus related memories; and the printing consumables store three consumable identifiers, namely A, B, and C.
[0087] like Figure 2 As shown, firstly, the user opens the cover of the printer, puts the printing consumables into the printer and closes the cover. The printer detects the input signal of the printing consumables and generates the corresponding cover opening and closing loss data. At this time, the number of times the cover is opened and closed in the cover opening and closing loss data is 1, and the cumulative consumable loss amount is a, which is the third cover opening and closing loss data. The third cover opening and closing loss data is sent to the printing consumables.
[0088] After receiving the third cover wear data, the printing consumable updates the cover wear data stored in it. At this point, the cover wear data stored in the printing consumable shows 1 cover opening / closing count and 'a' cumulative wear. Next, it receives an authentication request from the printer. The printing consumable selects B from A, B, and C and includes it in the authentication data, sending the authentication data to the printer. Upon receiving the authentication data, the printer begins authentication, first authenticating the consumable identifier B. If B is successfully authenticated, the printer recognizes the consumable. Since B is in the printer's memory, it needs to further compare the consumable's configuration information with the printer's stored configuration information, such as ink volume. If they don't match, recognition fails, and the printer outputs a prompt message, instructing the user to open the cover for inspection and close it. At this time, the printer receives the cover opening / closing signal and generates corresponding cover wear data. This cover wear data shows 2 cover opening / closing counts and 'a+b' cumulative wear, which is the first cover wear data. This first cover wear data is then sent to the printing consumable.
[0089] After receiving the first cover wear data, the printing consumable queries its stored cover wear data, i.e., the second cover wear data. It subtracts the first cumulative consumable wear amount (a+b) and the second cumulative consumable wear amount (a) to obtain the consumable wear amount (b) between two adjacent cover openings. If b is less than a preset wear amount, the printing consumable considers itself uncertified and switches to consumable identifier A. When the printing device sends an authentication request, the printed consumable identifier A is sent to the printing device. Obviously, the printing device does not have the memory of A. The printing device authenticates consumable identifier A, and if consumable identifier A is authenticated, the printing consumable is directly determined to be recognized. During subsequent printing, as long as the cover is not opened, the printing consumable can be used continuously until the printing consumable is used up. The printer will also save the authentication data of consumable identifier A and clear the memory of the earliest saved consumable identifier. Assuming it is consumable identifier C, the printing device will only have the memory of consumable identifiers B and A at this time.
[0090] It should be understood that opening the printer cover will cut off communication between the printer and the printing supplies. After the cover is closed, the printer needs to resend an authentication request to the printing supplies to obtain the supplies' identifier for authentication. When the printing supplies are first inserted, the printer sends the third cover-opening wear data to the printing supplies and then sends an authentication request to obtain the supplies' identifier for authentication. If the authentication is successful, and the printer cover remains closed until the printing supplies are used up, the printing supplies will not receive the first cover-opening wear data.
[0091] It should be understood that, in this embodiment, the authentication of printing consumables is determined by the amount of consumable wear between two consecutive opening and closing of the cover. There are many situations in which the printing device receives the cover opening and closing signal. For example, the cover may open to prompt the user to replace the consumables when they are used up; the cover may open for inspection by the user for routine maintenance even though the consumables are in normal use; or the printing device may prompt the user to open the cover for inspection if the consumable identifier sent by the device has failed authentication. In these situations, the printing consumables cannot be identified directly. Instead, the authentication is determined by the amount of consumable wear between two consecutive opening and closing of the cover. If the amount of wear between two consecutive opening and closing of the cover is less than a preset amount, the consumable identifier is actively switched. When the printing device sends an authentication request next time, the new consumable identifier is sent for authentication, increasing the probability of the printing consumables passing authentication.
[0092] It should be understood that the authentication data sent by the printing consumables also includes a verification byte. Upon receiving the authentication data, the printing device first verifies the consumable identifier. If the identifier is successfully authenticated, the device recognizes the printing consumable. Specifically, it checks if the consumable identifier carried in the authentication data is stored in the printing device. If not, recognition is successful, and the printing consumable can be used for printing. If it is stored, it needs to further check if the ink volume, configuration, and other data for this serial number stored in the printing device match those of the printing consumable. If they match, recognition is successful, and the printing consumable can be used for printing. If they do not match, recognition fails, and the printing consumable cannot be used. Printing will then be impossible. The device can only open the cover to inspect consumables. Even if the certification is successful, the opening inspection or routine maintenance may be performed by the user. Regardless of the situation, when the cover is opened, the printer will generate corresponding cover opening and closing wear data and send it to the printing consumables upon receiving the cover opening and closing signal. The printing consumables will make a judgment upon receiving the cover opening and closing wear data from the printer. Based on the amount of consumables worn between two cover openings, it will determine whether the printing consumables have passed certification. If they have not passed, the consumables identifier will be switched and the consumables identifier in the next certification data sent to the printer will be updated. If the number of cover openings and closings in the received cover opening and closing wear data is 1, no judgment is required.
[0093] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0094] With the above Figure 1Corresponding to the consumable authentication method shown, this application also proposes a consumable authentication device. Please refer to... Figure 3 This is a schematic diagram of a consumable authentication device provided in one embodiment of this application. Figure 3 As shown, the consumable authentication device 300 includes: a communication module 310, a judgment module 320, and a switching module 330.
[0095] The communication module 310 is used to send authentication data to the printing device in response to an authentication request sent by the printing device, the authentication data including the consumable identifier of the printing consumable.
[0096] The judgment module 320 is used to determine whether the printing consumable has passed certification based on the first switch cover loss data and the second switch cover loss data if it receives the first switch cover loss data returned by the printing device. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before receiving the first switch cover loss data.
[0097] The switching module 330 is used to update the consumable identifier in the authentication data sent to the printing device next time if the printing consumable fails authentication.
[0098] Optionally, when the first cover-opening wear data includes the first cumulative consumable wear amount of the printing device after opening and closing the cover for the kth time, and the second cover-opening wear data includes the second cumulative consumable wear amount of the printing device after opening and closing the cover for the (k-1)th time, and k is a positive integer, the determination module 320 performs the following steps when determining whether the printing consumable has passed certification based on the first cover-opening wear data and the second cover-opening wear data:
[0099] Based on the first cumulative consumable consumption amount and the second cumulative consumable consumption amount, the consumable consumption amount between two adjacent opening and closing of the cover is obtained;
[0100] If the amount of consumable consumption between two consecutive opening and closing of the cover is less than the preset consumption amount, then it is determined that the printing consumable has not passed certification;
[0101] If the consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption, then the printing consumable is determined to be certified.
[0102] Optionally, when the switching module 330 updates the consumable identifier in the authentication data sent to the printing device next time if the printing consumable fails authentication, it performs the following steps: if the printing consumable fails authentication, it determines the number of pages printed by the printing device based on the first switch cover wear data, the second switch cover wear data, and the printing configuration information stored in the printing consumable;
[0103] If the number of printed pages is less than the preset number of pages, the consumable identifier in the authentication data sent to the printing device next time will be updated.
[0104] Optionally, when the printing consumables store N consumable identifiers and N≥2, when the communication module 310 sends authentication data to the printing device in response to an authentication request sent by the printing device, it performs the following steps: in response to the authentication request, it selects a first consumable identifier from the N consumable identifiers;
[0105] The first consumable identifier is carried in the authentication data and the authentication data is sent to the printing device;
[0106] When the switching module 330 updates the consumable identifier in the authentication data sent to the printing device next time if the printing consumable fails authentication, it performs the following steps: selecting a second consumable identifier from the N consumable identifiers as the consumable identifier in the authentication data sent to the printing device next time, wherein the second consumable identifier is different from the first consumable identifier.
[0107] Optionally, the device 300 further includes: a storage module;
[0108] The storage module is used to store the consumable identifiers of the printing consumables, and the number of consumable identifiers of the printing consumables is greater than the maximum number of consumable identifiers that the printing device can store.
[0109] Optionally, the device 300 further includes: an update module;
[0110] The update module is configured to perform the following steps before the communication module 310 sends authentication data to the printing device in response to the authentication request sent by the printing device: receiving third switch cover loss data sent by the printing device, wherein the third switch cover loss data is switch cover loss data generated by the printing device when it detects the input signal of the printing consumable;
[0111] Based on the third switch cover wear data, the switch cover wear data stored in the printing consumables is updated.
[0112] Obviously, the consumable authentication device provided in this application embodiment can serve as... Figure 1 The entity implementing the consumable certification method shown, for example Figure 1 In the consumable certification method shown, step S102 can be performed by... Figure 3 The communication module 310 in the consumable authentication device 300 shown executes step S104, which can be performed by... Figure 3 The judgment module 320 in the consumable authentication device 300 shown executes step S106, which can be performed by... Figure 3 The switching module 330 in the consumable authentication device 300 shown is executed.
[0113] According to another embodiment of this application, Figure 3 The various units in the consumable authentication device shown can be individually or entirely combined into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the consumable authentication device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.
[0114] According to another embodiment of this application, a general-purpose computing device, such as a computer, including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), can run an application capable of performing tasks such as... Figure 1 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 3 The consumable authentication device shown herein, and the consumable authentication method for implementing embodiments of this application, are described. The computer program may be recorded on, for example, a computer-readable storage medium, and may be transferred to and executed in an electronic device via such a medium.
[0115] This application also proposes a consumable authentication system. Please refer to [link to relevant documentation]. Figure 4 This is a schematic diagram of a consumable authentication system provided in one embodiment of this application. Figure 4 As shown, the consumables authentication system 400 includes: a printing device 410 and printing consumables 420.
[0116] The printing device 410 is used to send an authentication request to the printing consumable 420 to obtain the consumable identifier of the printing consumable 420.
[0117] The printing consumable 420 is used to respond to the authentication request by sending authentication data to the printing device 410, the authentication data including the consumable identifier.
[0118] The printing device 410 is also used to send first cover loss data to the printing consumable 420. The first cover loss data is the cover loss data generated by the printing device 410 when it receives a cover switch signal.
[0119] The printing consumable 420 is also used to receive the first switch cover wear data, and to determine whether the printing consumable 420 is certified based on the first switch cover wear data and the second switch cover wear data. The second switch cover wear data is the switch cover wear data stored by the printing consumable 420 before receiving the first switch cover wear data.
[0120] The printing consumable 420 is also used to update the consumable identifier in the authentication data sent to the printing device 410 next time if the printing consumable 420 fails authentication.
[0121] Optionally, the first cover loss data includes the first cumulative consumable loss of the printing device 410 after the kth cover opening and closing, and the second cover loss data includes the second cumulative consumable loss of the printing device 410 after the (k-1)th cover opening and closing, where k is a positive integer.
[0122] When determining whether the printing consumable 420 has passed certification based on the first switch cover wear data and the second switch cover wear data, the printing consumable 420 is used to obtain the consumable wear amount between two adjacent switch covers based on the first cumulative consumable wear amount and the second cumulative consumable wear amount.
[0123] If the consumable consumption between two consecutive opening and closing of the cover is less than the preset consumption, then it is determined that the printing consumable 420 has not passed certification;
[0124] If the consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption, then the printing consumable 420 is determined to be certified.
[0125] Optionally, when updating the consumable identifier in the authentication data sent to the printing device 410 next time if the printing consumable 420 fails authentication, the printing consumable 420 is used to determine the number of pages printed by the printing device 410 based on the first switch cover wear data, the second switch cover wear data, and the printing configuration information stored in the printing consumable 420 if the printing consumable 420 fails authentication.
[0126] If the number of printed pages is less than the preset number of pages, the consumable identifier in the authentication data sent to the printing device 410 next time will be updated.
[0127] Optionally, when the printing consumable 420 stores N consumable identifiers and N is greater than 2, the printing consumable 420, when sending authentication data to the printing device 410 in response to the authentication request, is used to select a first consumable identifier from the N consumable identifiers in response to the authentication request.
[0128] The first consumable identifier is carried in the authentication data and the authentication data is sent to the printing device 410;
[0129] When updating the consumable identifier in the next authentication data sent to the printing device 410 if the printing consumable fails authentication, the printing consumable 420 selects a second consumable identifier from the N consumable identifiers as the consumable identifier in the next authentication data sent to the printing device 410. The second consumable identifier is different from the first consumable identifier.
[0130] Optionally, the number of consumable identifiers stored in the printing consumables 420 is greater than the maximum number of consumable identifiers that the printing device 410 can store.
[0131] Optionally, before sending authentication data to the printing device in response to the authentication request sent by the printing device, the printing consumable 420 is further configured to receive third switch cover wear data sent by the printing device 410, the third switch cover wear data being switch cover wear data generated by the printing device 410 when it detects the input signal of the printing consumable 420.
[0132] Based on the third switch cover wear data, the switch cover wear data stored in the printing consumable 420 is updated.
[0133] This application also proposes a consumable chip, including a memory and a processor interconnected, wherein the memory stores authentication data and the processor is used to execute the consumable authentication method described in any of the above embodiments.
[0134] This application also proposes a printing consumable, including: a printing consumable body and the consumable chip described in the above embodiments.
[0135] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 5At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.
[0136] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0137] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.
[0138] The processor reads the corresponding computer program from non-volatile memory into main memory and then runs it, forming a data processing device at the logical level. The processor executes the program stored in memory and specifically performs the following operations:
[0139] In response to an authentication request sent by the printing device, authentication data is sent to the printing device, the authentication data including a consumable identifier for the printing consumable;
[0140] If the first switch cover loss data returned by the printing device is received, then based on the first switch cover loss data and the second switch cover loss data, it is determined whether the printing consumable has passed certification. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before the first switch cover loss data is received.
[0141] If the printing consumable fails certification, the consumable identifier in the next certification data sent to the printing device will be updated.
[0142] The above is as stated in this application. Figure 3 The method executed by the consumable authentication device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0143] The electronic device can also perform Figure 1 The method, and realize the consumable authentication device in Figure 1 , Figure 3 The functions of the embodiments shown are not described in detail here.
[0144] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0145] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a portable electronic device including multiple applications, enable the portable electronic device to perform... Figure 1 The method of the illustrated embodiment is specifically used to perform the following operations:
[0146] In response to an authentication request sent by the printing device, authentication data is sent to the printing device, the authentication data including a consumable identifier for the printing consumable;
[0147] If the first switch cover loss data returned by the printing device is received, then based on the first switch cover loss data and the second switch cover loss data, it is determined whether the printing consumable has passed certification. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before the first switch cover loss data is received.
[0148] If the printing consumable fails certification, the consumable identifier in the next certification data sent to the printing device will be updated.
[0149] In summary, the above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
[0150] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0151] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0152] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0153] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
Claims
1. A method for certifying consumables, characterized in that, include: In response to an authentication request sent by the printing device, authentication data is sent to the printing device, the authentication data including a consumable identifier for the printing consumable; If the printing device returns first cover wear data, then based on the first cover wear data and the second cover wear data, it is determined whether the printing consumable has passed certification. The first cover wear data is the cover wear data generated by the printing device when it receives the cover switch signal. The second cover wear data is the cover wear data stored in the printing consumable before receiving the first cover wear data. The first cover wear data includes the first cumulative consumable wear amount after the printing device switches the cover for the kth time, and the second cover wear data includes the second cumulative consumable wear amount after the printing device switches the cover for the (k-1)th time, where k is a positive integer. Specifically, it includes: Based on the first cumulative consumable consumption amount and the second cumulative consumable consumption amount, the consumable consumption amount between two adjacent opening and closing of the cover is obtained; If the consumable consumption between two consecutive opening and closing of the cover is less than the preset consumption, it is determined that the printing consumable has not passed the certification, and the consumable identifier in the certification data sent to the printing device in the next time is updated; If the consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption, then the printing consumable is determined to be certified.
2. The method according to claim 1, characterized in that, The step of determining that the printing consumable has failed certification and updating the consumable identifier in the certification data sent to the printing device in the next transmission includes: If the printing consumables fail to pass certification, the number of pages printed by the printing device is determined based on the first switch cover wear data, the second switch cover wear data, and the printing configuration information stored in the printing consumables. If the number of printed pages is less than the preset number of pages, the consumable identifier in the authentication data sent to the printing device next time will be updated.
3. The method according to claim 1, characterized in that, The printing consumables store N consumable identifiers and N≥2; The step of sending authentication data to the printing device in response to an authentication request includes: In response to the authentication request, a first consumable identifier is selected from the N consumable identifiers; The first consumable identifier is carried in the authentication data and the authentication data is sent to the printing device; The update of the consumable identifier in the authentication data sent to the printing device next time includes: Select a second consumable identifier from the N consumable identifiers and use it as the consumable identifier in the authentication data sent to the printing device next time. The second consumable identifier is different from the first consumable identifier.
4. The method according to claim 3, characterized in that, The number of consumable identifiers stored in the printing consumables is greater than the maximum number of consumable identifiers that the printing device can store.
5. The method according to claim 1, characterized in that, Before sending authentication data to the printing device in response to an authentication request sent by the printing device, the method further includes: Receive the third switch cover loss data sent by the printing device, wherein the third switch cover loss data is the switch cover loss data generated by the printing device when it detects the input signal of the printing consumable; Based on the third switch cover wear data, the switch cover wear data stored in the printing consumables is updated.
6. A consumable authentication device, characterized in that, include: A communication module is used to send authentication data to the printing device in response to an authentication request sent by the printing device, the authentication data including the consumable identifier of the printing consumable; The judgment module is used to determine whether the printing consumable has passed certification based on the first switch cover loss data and the second switch cover loss data if the first switch cover loss data is received from the printing device. The first switch cover loss data is the switch cover loss data generated by the printing device when it receives the switch cover signal, and the second switch cover loss data is the switch cover loss data stored by the printing consumable before the first switch cover loss data is received. The switching module is used to update the consumable identifier in the next authentication data sent to the printing device if the printing consumable fails authentication. The first cover loss data includes the first cumulative consumable loss of the printing device after the kth cover opening and closing, and the second cover loss data includes the second cumulative consumable loss of the printing device after the (k-1)th cover opening and closing, where k is a positive integer; The judgment module is also used to obtain the consumable consumption amount between two adjacent opening and closing of the cover based on the first cumulative consumable consumption amount and the second cumulative consumable consumption amount; If the amount of consumable consumption between two consecutive opening and closing of the cover is less than the preset consumption amount, then it is determined that the printing consumable has not passed certification; If the consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption, then the printing consumable is determined to be certified.
7. A consumables authentication system, characterized in that, include: Printing equipment and printing consumables; The printing device is used to send an authentication request to the printing consumables to obtain the consumable identifier of the printing consumables; The printing consumable is used to respond to the authentication request and send authentication data to the printing device, the authentication data including the consumable identifier; The printing device is also used to send first switch cover loss data to the printing consumables, wherein the first switch cover loss data is switch cover loss data generated by the printing device when it receives a switch cover signal. The printing consumable is also used to receive the first switch cover wear data, and to determine whether the printing consumable has passed certification based on the first switch cover wear data and the second switch cover wear data. The second switch cover wear data is the switch cover wear data stored by the printing consumable before receiving the first switch cover wear data. The printing consumables are also used to update the consumables identifier in the next authentication data sent to the printing device if the printing consumables fail to pass authentication. The first cover loss data includes the first cumulative consumable loss of the printing device after the kth cover opening and closing, and the second cover loss data includes the second cumulative consumable loss of the printing device after the (k-1)th cover opening and closing, where k is a positive integer; The printing consumables are also used to obtain the consumables consumption between two adjacent opening and closing of the cover based on the first cumulative consumables consumption and the second cumulative consumables consumption. If the amount of consumable consumption between two consecutive opening and closing of the cover is less than the preset consumption amount, then it is determined that the printing consumable has not passed certification; If the consumable consumption between two consecutive opening and closing of the cover is greater than or equal to the preset consumption, then the printing consumable is determined to be certified.
8. A consumable chip, characterized in that, It includes an interconnected memory and a processor, the memory storing authentication data, and the processor being used to execute the consumable authentication method as described in any one of claims 1 to 5.
9. A printing consumable, characterized in that, include: The printing consumable body and the consumable chip as described in claim 8 above.