Consumable chip and consumable cartridge

CN117644723BActive Publication Date: 2026-10-09HANGZHOU CHIPJET TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311827845.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2026-10-09
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

[0004]本申请实施例的目的是提供一种耗材芯片及耗材盒,用以解决耗材芯片在在首次上电阶段产生较大功耗导致打印机无法正常启动的问题

Benefits of technology

[0018] In this embodiment, the consumable chip includes a power-on detection unit for detecting the power-on status of the printer during a first power-on phase, which is initiated after the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer. The power-on status includes a true power-on status and a false power-on status. An authentication unit is used during a second power-on phase to authenticate the target consumable serial number with the printer based on the power-on status, the authentication status of the target consumable serial number of the chip before the consumable cartridge is installed in the mounting position, and one or more of the authentication commands sent by the printer. The authentication status includes a status of not yet authenticated by the printer, a status of passed authentication by the printer, and a status of failed authentication by the printer. The second power-on phase is initiated while the consumable cartridge remains installed in the mounting position and the power-on status of the first power-on phase is detected. This allows for the elimination of consumable serial number authentication during the initial power-on phase when the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer, avoiding significant power consumption by the chip during the initial power-on phase. Consequently, the chip can detect the power consumption of the printer during this power-on phase, enabling the printer to start normally. Specifically, when the consumables box is installed in the corresponding mounting position on the printer, consumables serial number authentication can be skipped when the printer is in a dummy power-on state. This avoids the consumables chip generating significant power consumption during the dummy power-on state, allowing the consumables chip to detect the printer's power consumption during this power-on phase and enable the printer to start normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117644723B_ABST
    Figure CN117644723B_ABST
Patent Text Reader

Abstract

The application discloses a consumable chip and a consumable box. The consumable chip comprises a power-on detection unit, which is configured to detect a power-on state of a printer in a first power-on stage. The first power-on stage is started after a consumable box in which the consumable chip is installed is installed into a corresponding installation position of the printer. The power-on state comprises a true power-on state and a false power-on state. The consumable chip further comprises an authentication unit, which is configured to perform authentication of a target consumable serial number of the consumable chip with the printer in a second power-on stage based on a combination of one or more of the power-on state, an authentication state of the target consumable serial number of the consumable chip before the consumable box is installed into the installation position, and an authentication command sent by the printer. The authentication state comprises a state of not being authenticated by the printer, a state of passing the authentication of the printer and a state of failing the authentication of the printer. The second power-on stage is started in the case that the consumable box remains installed in the installation position and the power-on state detection in the first power-on stage is passed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of chip technology, and in particular to a consumable chip and a consumable box. Background Technology

[0002] Printers are indispensable devices in modern offices. They perform printing tasks by installing consumable cartridges that contain printing supplies. The printer records the serial number of the consumable cartridge currently in use. When the printing supplies in a cartridge are depleted, if the user wants to add more supplies, the printer will remember that the cartridge corresponding to that serial number is empty and can no longer be used.

[0003] To solve the above problem, multiple consumable serial number authentication data can be stored in the storage area of ​​the consumable chip in the consumable cartridge. When the existing consumable serial number in the cartridge fails printer authentication, the backup consumable serial number authentication data in the storage area is switched until authentication is successful. However, authentication of the backup consumable serial number typically begins after the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer and powered on for the first time. During the authentication process, the consumable chip reads the backup consumable serial number authentication data from the storage area and interacts with the printer for authentication. This results in significant power consumption for the consumable chip during the initial power-on phase. Significant power consumption can cause the consumable chip to fail the printer's power consumption detection, preventing the printer from starting normally. Summary of the Invention

[0004] The purpose of this application is to provide a consumable chip and a consumable box to solve the problem that the printer cannot start normally due to the large power consumption generated by the consumable chip during the first power-on phase.

[0005] To solve the above-mentioned technical problems, this specification is implemented as follows: In a first aspect, a consumable chip is provided, comprising: The power-on detection unit is used to detect the power-on status of the printer in the first power-on phase. The first power-on phase is started after the consumable chip is installed in the consumable box in the corresponding mounting position of the printer. The power-on status includes a true power-on status and a false power-on status. An authentication unit is configured to, during the second power-on phase, perform authentication of the target consumable serial number with the printer based on one or more of the power-on state, the authentication state of the target consumable serial number of the consumable chip before the consumable cartridge is installed in the mounting position, and the authentication command sent by the printer. The authentication state includes a state where the consumable cartridge has not yet been authenticated by the printer, a state where the consumable cartridge has been authenticated by the printer, and a state where the consumable cartridge has not been authenticated by the printer. The second power-on phase is initiated when the consumable cartridge remains installed in the mounting position and passes the power-on state detection of the first power-on phase.

[0006] Optionally, the power-on detection unit is specifically used for: Detect the signal output by the printer during the first power-on phase; If the printer is not outputting a signal, or if the printer is outputting a glitch signal, then the power-on state of the printer is determined to be a false power-on state. Based on the detected false power-on status, update the power-on status of the printer stored in the consumable chip before the consumable cartridge is installed in the mounting position.

[0007] Optionally, the power-on detection unit includes: a trigger, a counter, a comparator, and a detection module. The trigger detects the falling edge or rising edge of the signal output by the printer; The counter counts the number of falling or rising edges of the signal output by the printer. Based on the counting result output by the counter, if the comparator determines that the printer has not output a signal or the signal output by the printer is a glitch signal, it sends a second indication signal to the detection module to indicate that the signal output by the printer is a glitch signal, or sends a third indication signal to indicate that the printer has not output a signal. The detection module updates the power-on status of the printer before the consumable box is installed in the mounting position, which is stored in the consumable chip, based on the second indication signal or the third indication signal.

[0008] Optionally, the detection module is specifically used for: If the printer's power-on state is read as a false power-on state from the target storage address sector of the consumable chip, then upon receiving the second indication signal or the third indication signal, the false power-on state stored in the target storage address sector is maintained; or If the power-on state of the printer is read as a true power-on state from the target storage address sector of the consumable chip, then a false power-on state is written into the target storage address sector; subsequently, when the second indication signal or the third indication signal is received, the false power-on state stored in the target storage address sector is maintained.

[0009] Optionally, the power-on detection unit is further configured to detect the power-on status of the printer during the second power-on phase, specifically including: Detect the signal output by the printer during the second power-on phase; If the signal output by the printer is detected as an authentication command, then the power-on state of the printer is determined to be a true power-on state. Based on the detected true power-on status, the power-on status of the printer stored in the consumable chip is updated.

[0010] Optionally, the comparator is further configured to: based on the counting result output by the counter, if it is determined that the signal output by the printer is an authentication command, send a first indication signal to the detection module to indicate that the signal output by the printer is a command signal sent by the printer; The detection module is further configured to: update the power-on status of the printer stored in the consumable chip based on the first indication signal.

[0011] Optionally, the detection module is specifically used for: If the printer's power-on status is read as a false power-on status from the target storage address sector of the consumable chip, then upon receiving the first indication signal, a true power-on status is written into the target storage address sector; or If the power-on state of the printer is read as a true power-on state from the target storage address sector of the consumable chip, then a false power-on state is written into the target storage address sector; subsequently, upon receiving the first indication signal, a true power-on state is written into the target storage address sector.

[0012] Optionally, the authentication unit is specifically used for: In response to the first authentication command sent by the printer during the first true power-on period of the second power-on phase, the printer sends first authentication data to the printer, and the printer determines whether the identity of the consumable chip has been authenticated based on the first authentication data.

[0013] Optionally, the authentication unit is specifically used for: In response to the second authentication command sent by the printer during the second true power-on period of the second power-on phase, the printer sends second authentication data to the printer. The printer determines whether the target consumable serial number of the consumable chip has passed authentication based on the second authentication data. The second true power-on is later than the first true power-on. If the printer returns a successful authentication result for the target consumable serial number, then update the authentication status of the target consumable serial number stored in the consumable chip to the status of being authenticated by the printer. If the printer returns an authentication failure result for the target consumable serial number, the authentication status of the target consumable serial number stored in the consumable chip is updated to "not authenticated by the printer".

[0014] Optionally, the authentication unit is specifically used for: If the authentication status of the target consumable serial number stored in the consumable chip is not yet authenticated by the printer, then if the power-on detection unit detects that the power-on status of the printer is a true power-on status, it determines whether the authentication result of the target consumable serial number returned by the printer is successful or unsuccessful. If the authentication is successful, the device will directly enter the working state and update the authentication status of the target consumable serial number stored in the consumable chip to the authentication status of the printer. If authentication fails, the authentication status of the target consumable serial number stored in the consumable chip is updated to "authentication failed by the printer".

[0015] Optionally, the authentication unit is specifically used for: If the authentication status of the target consumable serial number stored in the consumable chip is "authenticated by the printer," then the printer directly enters the working state when the power-on detection unit detects that the printer is truly powered on; or If the power-on state stored in the consumable chip is a false power-on state and the authentication state of the target consumable serial number is a failed authentication state of the printer, then when the power-on detection unit detects that the power-on state of the printer is a true power-on state, the first consumable serial number is switched to authenticate with the printer. The first consumable serial number is one of a plurality of consumable serial numbers that has not yet been authenticated by the printer.

[0016] Optionally, it also includes a capacitor unit connected in parallel between the power supply terminal of the printer and the consumable chip.

[0017] Secondly, a consumable box is provided, comprising: Consumable body; and consumable chip as described in the first aspect.

[0018] In this embodiment, the consumable chip includes a power-on detection unit for detecting the power-on status of the printer during a first power-on phase, which is initiated after the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer. The power-on status includes a true power-on status and a false power-on status. An authentication unit is used during a second power-on phase to authenticate the target consumable serial number with the printer based on the power-on status, the authentication status of the target consumable serial number of the chip before the consumable cartridge is installed in the mounting position, and one or more of the authentication commands sent by the printer. The authentication status includes a status of not yet authenticated by the printer, a status of passed authentication by the printer, and a status of failed authentication by the printer. The second power-on phase is initiated while the consumable cartridge remains installed in the mounting position and the power-on status of the first power-on phase is detected. This allows for the elimination of consumable serial number authentication during the initial power-on phase when the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer, avoiding significant power consumption by the chip during the initial power-on phase. Consequently, the chip can detect the power consumption of the printer during this power-on phase, enabling the printer to start normally. Specifically, when the consumables box is installed in the corresponding mounting position on the printer, consumables serial number authentication can be skipped when the printer is in a dummy power-on state. This avoids the consumables chip generating significant power consumption during the dummy power-on state, allowing the consumables chip to detect the printer's power consumption during this power-on phase and enable the printer to start normally. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a structural block diagram of the consumable chip according to an embodiment of this application.

[0020] Figure 2 This is a schematic diagram of the power-on stages of the consumable chip in an embodiment of this application.

[0021] Figure 3 This is a structural block diagram of the power-on detection unit according to an embodiment of this application.

[0022] Figure 4 This is a signal timing diagram for consumable serial number authentication in an embodiment of this application.

[0023] Figures 5 to 7 This is a schematic diagram of the overall process of consumable serial number authentication in an embodiment of this application. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. The drawing numbers in this application are only used to distinguish the various steps in the solution and are not used to limit the execution order of the various steps. The specific execution order is subject to the description in the specification.

[0025] To address the problems existing in the prior art, this application provides a consumable chip and a consumable box.

[0026] Figure 1 This is a structural block diagram of the consumable chip according to an embodiment of this application, as shown below. Figure 1 As shown, the consumable chip 1000 in this embodiment of the application includes a power-on detection unit 1200 and an authentication unit 1600.

[0027] The power-on detection unit 1200 is used to detect the power-on status of the printer in the first power-on stage. The first power-on stage is started after the consumable chip is installed in the consumable box at the corresponding installation position of the printer. The power-on status includes a true power-on status and a false power-on status. The authentication unit 1600 is configured to, during the second power-on phase, perform authentication of the target consumable serial number with the printer based on one or more of the power-on state, the authentication state of the target consumable serial number of the consumable chip before the consumable cartridge is installed in the mounting position, and the authentication command sent by the printer. The authentication state includes a state that has not been authenticated by the printer, a state that has been authenticated by the printer, and a state that has not been authenticated by the printer. The second power-on phase is initiated when the consumable cartridge remains installed in the mounting position and passes the power-on state detection of the first power-on phase.

[0028] The first power-on phase and the second power-on phase are the stages when the printer 2000 powers on the consumable chip after the consumable box containing the consumable chip is installed in the corresponding mounting position on the printer 2000.

[0029] Below, in conjunction with Figure 2 The power-on stages of the consumable chip in the embodiments of this application will be described.

[0030] The printer 2000 powers the consumable chip in the consumable cartridge via the power supply Vdd, and powers the chip only after the consumable cartridge is installed in the corresponding mounting position on the printer 2000. For example... Figure 2As shown, when the consumable cartridge is installed in the corresponding mounting position of the printer 2000 at time t0, the printer 2000 powers on the consumable chip in the consumable cartridge. The power-on duration of this stage is Δt1. After the power-on duration Δt1, the printer 2000 powers off the consumable chip, that is, the power-on duration Δt1 corresponds to the first power-on stage 100 of the consumable chip. The power-on detection unit 1200 detects the power-on status of the printer 2000 in the first power-on stage 100, that is, whether the power-on status of the printer 2000 is a true power-on state or a false power-on state.

[0031] In one type of printer, the first power-on stage 100 is a false power-on state. During the false power-on state, the printer 2000 will perform power consumption detection on the consumable chip to determine whether the power consumption generated by the power chip in this power-on stage exceeds a preset threshold. If the consumable chip passes the power consumption detection of the printer 2000, the printer 6000 will start normally, first powering off the consumable chip and then powering it on, that is, starting the second power-on stage 200.

[0032] In the first power-on phase 100, the consumable chip only performs power-on status detection operations, resulting in low power consumption. Therefore, it can pass the power consumption detection of printer 2000, and printer 6000 can start normally and enter the subsequent second power-on phase 200.

[0033] In the second power-on phase 200, the printer 2000 powers on the consumable chip, which is installed in the corresponding mounting position of the consumable cartridge, via power supply Vdd. In the second power-on phase 200, the authentication unit 1600 performs authentication of the target consumable serial number with the printer 2000 based on one or more of the following: the power-on status detected by the power-on detection unit 1200 in the first power-on phase 100; the authentication status of the target consumable serial number of the consumable chip before the consumable cartridge was installed in the mounting position of the printer 2000; and the authentication command sent by the printer.

[0034] Before the consumable cartridge is installed in the mounting position of the printer 2000, the authentication status of the target consumable serial number on the consumable chip can be maintained in the corresponding storage area of ​​the consumable chip, for example... Figure 1 The storage unit 1400 of the consumable chip is shown. The storage unit 1400 is electrically connected to the power-on detection unit 1200 and the authentication unit 1600, respectively, and is used to store multiple consumable serial number authentication data of the consumable chip.

[0035] The storage unit 1400 can store multiple code table data, each containing consumable serial number authentication data for the consumable chip. Specifically, the consumable serial number authentication data may include consumable serial number data, date data, remaining consumable quantity data, consumable box model data, and other serial number authentication-related authentication data (such as consumable manufacturer data, production date data, etc., which are not limited in this application). In one embodiment, depending on different authentication stages, the consumable serial number data may include first authentication data and second authentication data, where the first authentication data corresponds to the first authentication command, and the second authentication data corresponds to the second authentication command. Depending on the mechanism of different printers, the first authentication command may primarily be used for identity authentication, and the second authentication command may primarily be used for the remaining serial number authentication. When the consumable cartridge runs out of ink, the user may refill it. However, at this time, the printer has already recorded that the ink level for the current serial number is depleted, causing the consumable cartridge's serial number to fail printer authentication. Therefore, it is possible to pre-store multiple sets of consumable serial number authentication data in the storage unit 1400 of the consumable chip and switch to other consumable serial number authentication data stored in the storage unit 1400 until printer authentication is successful.

[0036] Storage unit 1400 also stores the authentication status corresponding to each consumable serial number. The authentication status includes: not yet certified by the printer, certified by the printer, and not certified by the printer. Not yet certified by the printer means that the target consumable serial number is a brand new serial number and has not yet been certified by the printer 2000. Certified by the printer means that the target consumable serial number has been certified by the printer 2000 and has passed the certification, that is, the printer 2000 can perform normal printing based on the target consumable serial number. Not certified by the printer means that the target consumable serial number has been certified by the printer 2000 but has failed the certification, that is, the target consumable serial number cannot pass the certification of the printer 2000 and cannot perform normal printing. In this case, authentication unit 1600 needs to switch the consumable serial number authentication data in storage unit 1400, usually to the authentication data of a brand new serial number that has not yet been certified by the printer 2000, so that it can be sent to the printer for authentication next time.

[0037] The authentication status of the consumable serial number is detected by the authentication unit 1600. When the consumable chip 1000 is electrically connected to the printer 2000, the authentication unit 1600 detects the authentication status of the target consumable serial number based on the authentication result of the currently used target consumable serial number fed back by the printer, and updates the authentication status of the target consumable serial number stored in the storage unit 1400 based on the authentication status. When the consumable cartridge is plugged in and out and reconnected to the printer 2000, the authentication status of the target consumable serial number stored in the storage unit 1400 can provide a basis for the authentication unit 1600 to determine whether to switch the consumable serial number. In other embodiments, the reconnection of the consumable cartridge to the printer 2000 can also be achieved through a printer cover switch or similar method.

[0038] The storage unit 1400 also stores the power-on status of the printer 2000 detected by the power-on detection unit 1200, including the true power-on status and the false power-on status.

[0039] The power-on detection unit is specifically used to: detect the signal output by the printer 2000 during the first power-on phase 100; if the printer 2000 does not output a signal, or if the signal output by the printer 2000 is a glitch signal, then determine that the power-on state of the printer 2000 is a false power-on state; based on the detected false power-on state, update the power-on state of the printer 2000 stored in the consumable chip before the consumable box is installed in the installation position.

[0040] Strictly speaking, since the signal output by printer 2000 must be a continuous data signal, during the first power-on stage 100 after the consumable cartridge is installed into the corresponding mounting position on printer 2000 using a plug-and-play method, printer 2000 may not send command data after power-on, or may send only a single or very few data signals, i.e., glitch signals. The aforementioned situation of only sending glitch signals or not sending command data is a false power-on situation for printer 2000. A continuous data signal sent by printer 2000 is a genuine printer command signal, representing a true power-on situation for printer 2000. In this embodiment, printer 2000 does not send a genuine printer command signal during the first power-on stage 100, i.e., the first power-on stage 100 is a false power-on stage. For the consumable chip, whether the power-on status of printer 2000 during the first power-on phase is a true power-on or a false power-on needs to be detected by the power-on detection unit 1200. When the consumable cartridge is installed into the corresponding mounting position to connect the consumable chip 1000 to printer 2000, the power-on detection unit 1200 detects the power-on status of printer 2000 based on the signal output by printer 2000 and updates the printer's power-on status stored in storage unit 1400 accordingly. The next time the consumable cartridge is plugged in or unplugged to connect consumable chip 1000 to printer 2000, the power-on status stored in storage unit 1400 can provide a basis for authentication unit 1600 to determine whether to switch the consumable serial number.

[0041] Here, the electrical connection between the consumable chip and the printer refers to reinstalling the consumable cartridge with the consumable chip into the printer's mounting position by plugging and unplugging the consumable cartridge, including both cases where the printer is truly powered on and cases where it is only temporarily powered on.

[0042] The following is combined with Figure 3 The working principle of the power-on detection unit in the embodiments of this application is described.

[0043] like Figure 3As shown, the power-on detection unit 1200 includes: a trigger 1220, a counter 1240, a comparator 1260, and a detection module 1280. The trigger 1220 detects the falling or rising edge of the signal output by the printer 2000; the counter 1240 counts the number of falling or rising edges of the signal output by the printer 2000; the comparator 1260, based on the counting result output by the counter, if it determines that the printer is not outputting a signal or that the printer outputs a glitch signal, sends a second indication signal to the detection module to indicate that the printer outputs a glitch signal, or sends a third indication signal to indicate that the printer is not outputting a signal; the detection module 1280, based on the second or third indication signal, updates the power-on state of the printer stored in the consumable chip before the consumable cartridge is installed in the mounting position.

[0044] In one embodiment, specifically, after receiving the signal data_in output by the printer 2000 during the corresponding power-on phase, the trigger 1220 detects the falling edge of the signal data_in. The counter 1240 counts the falling edges of the signal data_in output by the printer 2000, incrementing the counter by 1 each time the trigger 1220 detects a falling edge of the signal data_in. The count result of the counter 1240 is output to the comparator 1260, which compares the count result with a set value m and outputs the corresponding result. When the counter 1240 counts to m, it indicates that the signal output by the printer 2000 in this (i.e., the corresponding power-on phase) is a command signal sent by the printer. If the counter 1240 does not count to m and no further signal data_in is received, it indicates that the signal output by the printer 2000 in this phase is a glitch signal, which will not generate m consecutive falling edges.

[0045] During the first power-on phase 100, printer 2000 does not send a genuine printer command signal. Therefore, comparator 1260, based on the counting result of counter 1240, can determine whether printer 2000 has not output a signal or whether the signal output by printer 2000 is a glitch signal. When comparator 1260 determines that printer 2000 has not sent a command signal, it sends an indication signal to detection module 1280 to indicate that printer 2000 has not sent a command signal this time. When comparator 1260 determines that it is a glitch signal, it sends an indication signal to detection module 1280 to indicate that this is a glitch signal.

[0046] In other embodiments, the trigger 1220 may also detect the rising edge of the signal output by the printer 2000. Accordingly, the counter 1240 counts the number of rising edges and outputs the count to the comparator 1260, which is used by the comparator 1260 to compare and determine whether the signal output by the printer 2000 is a command signal sent by the printer 2000 or a glitch signal.

[0047] In other embodiments, the duration of the high-level signal can also be used to determine whether the signal is a glitch signal. For example, comparator 1260 compares the duration of the high-level signal with a set value x and outputs the corresponding result. When counter 1240 counts to x, it indicates that the signal output by printer 2000 is a command signal sent by the printer. If counter 1240 has not counted to x and no subsequent data_in signal is received, it indicates that the signal output by printer 2000 is a glitch signal. A glitch signal will not continuously generate a high-level signal with a preset duration of x.

[0048] The aforementioned trigger, counter, and comparator constitute a filtering module, used to determine whether the printer sends a command signal, or whether the sent command signal is a glitch signal. Alternatively, in other embodiments, the filtering module may also include other detection devices used to determine the printer's signal transmission status by detecting the duration of the high-level signal output by the printer 2000. Alternatively, in other embodiments, a filter can be used to achieve a similar function.

[0049] Based on the received second or third indication signal, the detection module 1280 can determine whether the current power-on is a false power-on and update the power-on status of the printer stored in the storage unit 1400 accordingly. That is, update the power-on status of the printer stored in the storage unit 1400 before the consumable box is installed in the installation position of the printer 2000.

[0050] The detection module 1280 updates the printer's power-on state stored in the storage unit 1400 before the first power-on stage 100 based on the printer's power-on state detected during the first power-on stage 100. Specifically, after disconnecting the consumable chip 1000 from the printer 2000 through a consumable cartridge removal operation or printer-initiated operation, the consumable chip 1000 is powered down, and all signals are reset to their initial state. In other words, all signals at the consumable chip end are pulled low to 0V. In the initial state, when the consumable chip 1000 is powered on again, the detection module 1280 can read the printer's power-on state stored in the storage unit 1400 from the corresponding address in the storage unit 1400.

[0051] For example, the power-on flag `fake_flag` stored in storage unit 1400 indicates the power-on state of the corresponding printer. For instance, if the detection module 1280 reads `fake_flag` = 0 from storage unit 1400, it indicates that the previous power-on state was a fake power-on; if the detection module 1280 reads `fake_flag` = 1 from storage unit 1400, it indicates that the previous power-on state was a true power-on. Therefore, each time the printer powers on, the detection module 1280 only needs to read the value of `fake_flag` from storage unit 1400 to know the previous power-on situation. Combined with the signal output by the printer 2000, it determines whether the power-on state is true or false, providing a basis for the authentication unit 1600 to switch consumable serial numbers.

[0052] Specifically, the detection module is configured to: if the power-on state of the printer is read as a false power-on state from the target storage address sector of the consumable chip, then, upon receiving the second indication signal or the third indication signal, maintain the false power-on state stored in the target storage address sector; or If the power-on state of the printer is read as a true power-on state from the target storage address sector of the consumable chip, then a false power-on state is written into the target storage address sector; subsequently, when the second indication signal or the third indication signal is received, the false power-on state stored in the target storage address sector is maintained.

[0053] The detection module 1280 updates the printer's power-on status stored in the storage unit 1400 based on the printer's power-on status detected in the first power-on phase 100, which falls into two categories: Case 1: If the read power-on flag fake_flag=0, it means that the previous power-on was a fake power-on. If the signal from comparator 1260 is detected as the second indicator signal or the third indicator signal, the power-on flag fake_flag will remain at 0 in the memory address, indicating that this power-on is a fake power-on.

[0054] Case 2: If the read power-on flag fake_flag=1, it means that the previous power-on was a real power-on. First, write 0 to the memory address where the power-on flag fake_flag is located, and then wait. If the signal from comparator 1260 is detected as the second indicator signal or the third indicator signal, then keep the memory address where the power-on flag fake_flag is located at 0, indicating that this power-on is a fake power-on.

[0055] That is, maintain the dummy power-on state of the corresponding memory address sector.

[0056] Optionally, the power-on detection unit 1200 is further configured to detect the power-on state of the printer 2000 during the second power-on phase 200, specifically including: detecting the signal output by the printer 2000 during the second power-on phase 200; if the signal output by the printer 2000 is detected to be an authentication command, then determining that the power-on state of the printer 2000 is a true power-on state; and updating the power-on state of the printer stored in the consumable chip based on the detected true power-on state.

[0057] As described above, the second power-on stage 200 is the stage where the printer 2000 powers on the consumable chip after the printer 2000 detects the power consumption and maintains it in the corresponding mounting position. Furthermore, in the second power-on stage 200, the consumable chip and printer 2000 perform authentication of the target consumable serial number in the consumable chip. In this embodiment, the printer 2000 sends a genuine printer command signal in the second power-on stage 200, i.e., the second power-on stage 200 is a true power-on stage. Whether the power-on state of the printer 2000 in the second power-on stage 200 is a true power-on or a false power-on for the consumable chip needs to be detected by the power-on detection unit 1200. In the second power-on stage 200, when the printer powers on the consumable chip 1000, the power-on detection unit 1200 detects the power-on state of the printer 2000 based on the signal output by the printer 2000, and updates the printer's power-on state stored in the storage unit 1400 based on the power-on state.

[0058] In one embodiment, the power-on detection unit 1200 detects the power-on status of the printer corresponding to the second power-on stage 200, which can still be achieved by detecting the printer's power-on status in the first power-on stage 100 as described above.

[0059] In an embodiment where the power-on detection unit 1200 includes a trigger 1220, a counter 1240, a comparator 1260, and a detection module 1280, specifically, the comparator 1260 is further configured to: based on the counting result output by the counter 1240, if it is determined that the signal output by the printer 2000 is an authentication command, send a first indication signal to the detection module 1280 to indicate that the signal output by the printer 2000 is a command signal sent by the printer; the detection module 1280 is further configured to: update the power-on status of the printer stored in the consumable chip based on the first indication signal.

[0060] During the second power-on phase 200, printer 2000 sends the actual printer command signal. Therefore, comparator 1260, based on the counting result of counter 1240, can determine that the signal output by printer 2000 is an authentication command. When comparator 1260 determines that printer 2000 has sent an authentication command, it sends an indication signal to detection module 1280 to prompt detection module 1280 that printer 2000 has sent an authentication command this time.

[0061] Based on the received first indication signal, the detection module 1280 can determine whether the power-on is a genuine power-on and update the power-on status of the printer stored in the storage unit 1400 accordingly.

[0062] like Figure 2 The second power-on phase 200 includes two true power-ons: a first true power-on with a power-on duration Δt2 and a second true power-on with a power-on duration Δt3. During the first true power-on, the identity of the consumable chip used for printer 2000 authentication is verified. During the second true power-on, the target consumable serial number used for printer 2000 authentication is verified.

[0063] Correspondingly, the detection module is specifically used to: if the power-on state of the printer read from the target storage address sector of the consumable chip is a false power-on state, then upon receiving the first indication signal, write the true power-on state into the target storage address sector; or if the power-on state of the printer read from the target storage address sector of the consumable chip is a true power-on state, then write the false power-on state into the target storage address sector; and then upon receiving the first indication signal, write the true power-on state into the target storage address sector.

[0064] The detection module 1280 updates the printer's power-on status stored in the storage unit 1400 based on the printer's power-on status detected during the second power-on phase 200, which falls into two categories: Case 1: The read power-on flag fake_flag=0 indicates that the previous power-on (i.e., the first power-on stage 100) was a fake power-on. If the signal from comparator 1260 is detected as the first indication signal, the memory sector where the power-on flag fake_flag is located will be erased (erasing means rewriting the 0 in the corresponding memory address to 1), indicating that this power-on (i.e. the first real power-on) is a real power-on.

[0065] This situation corresponds to the first true power-on period of the second power-on stage 200. The power-on flag fake_flag=0 stored in the current storage unit 1400 represents a fake power-on, which corresponds to the power-on status of the printer detected in the first power-on stage 100 before the first true power-on.

[0066] Case 2: If the read power-on flag fake_flag=1, it means that the previous power-on (i.e. the first real power-on) was a real power-on. First, write 0 to the memory address where the power-on flag fake_flag is located, and then wait. If the signal from comparator 1260 is detected as the first indication signal, then erase the sector where the power-on flag fake_flag is located (erasing means rewriting the 0 in the corresponding memory address to 1), indicating that this power-on (i.e. the second real power-on) is a real power-on.

[0067] This situation corresponds to the second true power-on period of the second power-on stage 200. The power-on flag fake_flag=1 stored in the current storage unit 1400 represents the true power-on, which corresponds to the power-on state of the printer detected in the first true power-on detection before the second true power-on.

[0068] The authentication unit is specifically used to: respond to the first authentication command sent by the printer during the first true power-on period of the second power-on phase, send first authentication data to the printer, and the printer determines whether the identity of the consumable chip has been authenticated based on the first authentication data.

[0069] In other words, during the first true power-on period of the second power-on phase 200, the consumable chip receives an authentication command from the printer 2000 to determine whether the consumable chip's identity has been authenticated. If the authentication is successful, the second true power-on phase begins.

[0070] like Figure 2 The printer 2000 performs a first true power-on on the consumable chip for a corresponding power-on duration Δt2, then powers off the consumable chip, and after a predetermined time, performs a second true power-on on the consumable chip for a corresponding power-on duration Δt3. The authentication ends at time t1, completing one round of authentication for the target consumable serial number.

[0071] Figure 2 The display shows the power-on and power-off process of a consumable serial number authentication. The printer actively powers on and off the consumable chip three times: the first power-on (corresponding to the first power-on phase 100), the second power-on (corresponding to the first true power-on), and the third power-on (corresponding to the second true power-on). Power-on corresponds to a high level of Vdd, and power-off corresponds to a low level of Vdd. The first power-on is a dummy power-on. During the second power-on, the printer sends an authentication request to complete the handshake operation with the consumable chip. If the handshake is successful, the consumable serial number authentication begins. During the third power-on, the printer sends an authentication command to authenticate the consumable serial number.

[0072] Figure 2 During the three power-ups, the printer operates the consumable chip; if authentication fails, the consumable cartridge is manually unplugged and replugged to power up the chip again, and then the process is repeated. Figure 2 The diagram illustrates the three power-on and power-off processes of the printer supplying the consumable chip. The consumable serial number can be switched during the second power-on, and authentication is performed during the third power-on. The serial number switching and authentication operations are not performed during the first power-on. This reduces the power consumption of the consumable chip during the first power-on.

[0073] The authentication unit is specifically used to: respond to the second authentication command sent by the printer during the second true power-on period of the second power-on phase, send second authentication data to the printer, and the printer determines whether the target consumable serial number of the consumable chip has passed authentication based on the second authentication data, wherein the second true power-on is later than the first true power-on; if the authentication result of the target consumable serial number returned by the printer is successful, then the authentication status of the target consumable serial number stored in the consumable chip is updated to the authentication status of the printer passed; if the authentication result of the target consumable serial number returned by the printer is failed, then the authentication status of the target consumable serial number stored in the consumable chip is updated to the authentication status of the printer failed.

[0074] That is, during the second true power-on period of the second power-on phase 200, the consumable chip receives the authentication command from the printer 2000 to determine whether the target consumable serial number of the consumable chip has passed authentication, and updates the authentication status of the target consumable serial number stored in the storage unit 140 according to the authentication result of the printer.

[0075] If the printer reports a successful authentication result for the target consumable serial number, the authentication status of the target consumable serial number stored in the storage unit is updated to "authenticated by the printer." If the printer reports a failed authentication result for the target consumable serial number, the authentication status of the target consumable serial number stored in the storage unit is updated to "not authenticated by the printer." If no authentication command is received from the printer, or if the consumable chip has received the authentication command but has not yet responded, the authentication status of the target consumable serial number stored in the storage unit remains "not authenticated by the printer."

[0076] If the consumable chip fails authentication, the printer 2000 will not function properly with that chip. If the chip passes authentication, the printer will further authenticate the target consumable serial number, and the printer 2000 will report the authentication result as either authentication failure or authentication success.

[0077] If the target consumable serial number passes authentication, the printer 2000 sends a write signal to the authentication unit 1600, indicating that the consumable cartridge and printer have successfully completed the handshake, and the target consumable serial number authentication is successful. In other words, the printer 2000 reports a successful authentication result for the target consumable serial number. If the target consumable serial number fails authentication, the consumable chip is powered down before the printer authentication fails, indicating that the consumable cartridge and printer have not successfully completed the handshake, or that the target consumable serial number authentication has failed. The printer 2000's authentication result for the target consumable serial number can be specifically reflected in the printer 2000's display screen showing whether the corresponding consumable cartridge has passed authentication.

[0078] Therefore, after completing the authentication of the target consumable serial number corresponding to the second true power-on, the consumable chip is powered down by removing the consumable cartridge containing the chip from the corresponding mounting position on the printer. Then, the consumable cartridge is reinstalled into the corresponding mounting position on the printer to perform a new round of power-on for the consumable chip, including the first power-on stage 100 and the second power-on stage 200. This allows the chip to function normally when the target consumable serial number of the chip passes authentication; or, if the target consumable serial number fails authentication, other consumable serial numbers are switched for authentication until one of the consumable serial numbers of the chip passes the authentication of the printer 2000.

[0079] Specifically, in one embodiment, the authentication unit 1600 is specifically used to: if the authentication status of the target consumable serial number stored in the consumable chip is that it has not yet been authenticated by the printer, then when the power-on detection unit detects that the printer is in a true power-on state, the consumable chip sends the currently selected target consumable serial number to the printer side for verification, determining whether the authentication result of the target consumable serial number is successful or unsuccessful; if the authentication is successful, it directly enters the working state and updates the authentication status of the target consumable serial number stored in the consumable chip to "authenticated by the printer"; if the authentication fails, it updates the authentication status of the target consumable serial number stored in the consumable chip to "unauthenticated by the printer". Successful authentication means the target consumable serial number has passed the printer's authentication, and unsuccessful authentication means the target consumable serial number has not passed the printer's authentication.

[0080] In this embodiment, the status indicator signal Snmode can represent various authentication statuses corresponding to the consumable serial number. For example, setting the value of the status indicator signal Snmode to 3'b111 indicates that the consumable serial number has not yet been authenticated by the printer; setting the value of the status indicator signal Snmode to 3'b000 indicates that the consumable serial number has undergone one round of printer authentication and has passed the printer's authentication; setting the value of the status indicator signal Snmode to 3'b110 indicates that the consumable serial number has undergone one round of printer authentication but has not passed the printer's authentication.

[0081] In the above embodiment, for a brand new target consumable serial number that has not been certified by the printer, if the authentication unit 1600 reads the status indication signal Snmode=3'b111 stored in the storage unit 1400, it can be known that the authentication status of the target consumable serial number is that it has not been certified by the printer.

[0082] In this scenario, if the power-on detection unit 1200 detects that the printer 2000 is truly powered on, it can further determine whether the authentication result of the target consumable serial number is successful or unsuccessful. That is, whether the new target consumable serial number has passed the printer 2000's authentication.

[0083] If authentication is successful, the authentication unit 1600 directly enters the working state and updates the authentication status of the target consumable serial number stored in the storage unit 1400 to "authenticated by printer," that is, it modifies the status indication signal in the storage unit 1400 to Snmode=3'b000. Furthermore, the value of the status indication signal Snmode can be locked, so that after the second true power-on in the next round, the consumable chip 1000 can directly enter the working state based on the target consumable serial number.

[0084] If authentication fails, the authentication unit 1600 updates the authentication status of the target consumable serial number stored in the storage unit 1400 to "printer authentication failed," that is, it modifies the status indication signal in the storage unit 1400 to Snmode=3'b110. Furthermore, the value of the status indication signal Snmode can be locked, so that upon the next power-on, the authentication unit 1600 can switch to another consumable serial number based on the target consumable serial number.

[0085] Specifically, in one embodiment, the authentication unit 1600 is specifically used to: if the authentication status of the target consumable serial number stored in the consumable chip is the authentication status of the printer, then directly enter the working state when the power-on detection unit detects that the power-on status of the printer is a true power-on status.

[0086] In the above embodiment, for a target consumable serial number that has passed one round of printer authentication testing, if the authentication unit 1600 reads the status indication signal Snmode=3'b000 stored in the storage unit 1400, it can be known that the authentication status of the target consumable serial number is that it has passed printer authentication.

[0087] In this case, if the power-on detection unit 1200 detects that the printer 2000 is in a true power-on state during the second true power-on period, it can directly enter the working state.

[0088] Specifically, in one embodiment, the authentication unit 1600 is specifically used to: if the power-on state stored in the consumable chip is a false power-on state and the authentication state of the target consumable serial number is a failed authentication state of the printer, then when the power-on detection unit detects that the power-on state of the printer is a true power-on state, switch the first consumable serial number to authenticate with the printer, wherein the first consumable serial number is one of the plurality of consumable serial numbers that has not yet been authenticated by the printer.

[0089] In the above embodiment, for a target consumable serial number that has passed one round of printer authentication testing and has not passed authentication, if the authentication unit 1600 reads the status indication signal Snmode=3'b110 stored in the storage unit 1400, it can be known that the authentication status of the target consumable serial number is that it has not passed printer authentication.

[0090] In this case, if the power-on detection unit 1200 detects that the printer 2000 is in a true power-on state during the first true power-on, it can further switch to another consumable serial number stored in the storage unit 1400 that has not yet been certified by the printer, and perform the certification of the switched consumable serial number and the printer during the second true power-on.

[0091] The authentication unit 1600 can randomly select another consumable serial number in the storage unit 1400 that has not yet been certified by the printer, or it can switch sequentially according to the storage address of the consumable serial number.

[0092] Optionally, the multiple consumable serial number authentication data are stored in a storage unit in the form of a code table and a code table pointer. One consumable serial number authentication data is stored in one code table, and the storage unit can store multiple different code tables. The authentication unit switches to the first consumable serial number and authenticates with the printer, including: incrementing the code table pointer by 1 to point to the next code table corresponding to the target consumable serial number, where the next code table stores the first consumable serial number authentication data; writing the incremented code table pointer into the storage unit; and when the printer is powered on again, authenticating the first consumable serial number with the printer based on the first consumable serial number authentication data in the code table pointed to by the code table pointer stored in the storage unit. In this embodiment, the serial number switching is achieved by switching code table data. That is, at least the data / information related to printer 2000 authentication, including the serial number, needs to be switched.

[0093] In this embodiment, if the target consumable serial number fails a round of printer authentication, the authentication unit 1600 switches to the consumable serial number stored in the next code table during the next round of printer authentication, based on the code table storing the target consumable serial number.

[0094] Below, in conjunction with Figure 4 The signal timing diagram describes the process of consumable serial number authentication.

[0095] exist Figure 4 In this code, rst represents the reset signal. Power-on indicates that the reset signal rst is pulled high, and power-off indicates that the reset signal rst is pulled low. After power-on, Boot begins, which reads data stored in memory unit 1400, such as data in Flash memory. This mainly includes consumable serial number authentication data, the authentication status corresponding to the consumable serial number, and the printer's power-on status. Boot_done indicates the end of Boot, Snmode is the status indicator signal, snsel is the code table pointer signal, Move_start indicates the start of data transfer, A is the Flash address, dou is the Flash output data, ADDR is the SRAM address, DIN is the SRAM input data, Erase_pulse is the enable signal for erasing memory unit 1400, and write_pulse is the enable signal for writing to memory unit 1400.

[0096] When the consumable cartridge is initially installed in the corresponding mounting position on the printer, the initial value of Snmode (snmode=3'b111) is stored in the Flash memory at address 1300, and the initial value of snel (snsel=4'b0000) is stored in the Flash memory at address 1301. During the first power-on phase, after the 100 pairs of consumable chips are powered on, the reset signal changes from low to high, and Snmode and snel are started to be booted from the Flash memory. At this time, snmode=3'b111 and snel=4'b0000.

[0097] After Boot is complete, the Boot_done signal is pulled from low to high, and the value of Snmode is checked. At this time, Snmode = 3'b111, so data transfer begins directly. During the first true power-on in the second power-on phase 200, the Move_start signal is pulled from low to high, and snsel = 4'b0000. If a consumable serial number authentication data group contains 256 data items, then the 256 data items with addresses 0-255 in Flash are transferred to SRAM for storage.

[0098] After the relocation is completed, during the second power-on phase 200, printer 2000 sends an authentication command. Authentication fails at this point, and consumable chip 1000 sends an authentication failure signal, indicating that the consumable serial number authentication data stored in Flash memory at addresses 0-255 failed printer 2000 authentication. The authentication failure signal changes from low to high, and the erasure of data in Flash memory address areas 1300 and 1301 begins. After erasure, Snmode=3'b110 is written to Flash memory address 1300, and snsel=4'b0000 is written to Flash memory address 1300. After authentication fails, unplug and plug the consumable box. The consumable chip 1000 will power down, completing one round of authentication.

[0099] Reinstall the consumable cartridge into the corresponding mounting position on the printer. The consumable chip 1000 is powered on again. This time, the reset level changes from low to high. In the first power-on phase 100, the power-on detection unit performs power-on detection and begins reading Snmode and snsel from the Flash memory. At this time, Snmode = 3'b110 and snsel = 4'b0000. After reading is completed, the Boot_done signal changes from low to high. It is determined that Snmode = 3'b110 at this time, and that the previous power-on was a false one. Therefore, it begins erasing the data in the Flash address area of ​​1300 and 1301, writing Snmode = 3'b111 to Flash address 1300, and writing snsel = 4'b0001 to Flash address 1300.

[0100] Then, during the first true power-on period of the second power-on phase 200, data transfer begins. The Move_start signal changes from low to high, at which point snsel=4'b0001. Therefore, 256 data points with addresses 256-511 in Flash are transferred to SRAM for storage.

[0101] After the transfer is complete, during the second true power-on phase 200, printer 2000 sends an authentication command. Authentication is successful, and consumable chip 1000 sends a successful authentication signal, indicating that the consumable serial number authentication data stored in Flash addresses 256-511 can be authenticated by printer 2000. Therefore, the data in the Flash address areas 1300 and 1301 is erased, and Snmode=3'b000 and snsel=4'b0001 are written to Flash address 1300. Thus, when a true power-on signal is received from printer 2000, the boot process ends, Snmode=3'b000 is detected, and the consumable chip can directly communicate with printer 2000. snsel can remain at snsel=4'b0001, ensuring that each transfer only moves data from the storage area corresponding to the Flash address pointed to by snsel=4'b0001.

[0102] To explain in detail the working method of the consumable chip provided in the embodiments of the present invention, the following will be combined with Figures 5 to 7 The overall authentication process for consumable serial numbers in embodiments of this application is described.

[0103] like Figure 5 As shown, after the consumable cartridge is initially installed in the mounting position of the printer 2000, the consumable chip in the consumable cartridge is electrically connected to the printer. The printer then powers on the consumable chip, which performs the following steps: Step 304: After the consumable chip is powered on, it starts booting and reads the data stored in the storage unit; Step 306: Determine if Boot has ended. If yes, proceed to step 308; otherwise, return to step 304. Step 308: Move the data stored in the storage unit to SARM; Step 310: Determine if the transfer is complete. If yes, proceed to step 312; otherwise, return to step 308. Step 312: Perform authentication status judgment. Based on the status indication signal Snmode=3'b111 stored in the storage unit, it is determined that the consumable serial number has not been authenticated by the printer. Then proceed to step 314. Step 314, the consumable chip is in a waiting state; Step 316: Determine whether the printer authentication command has arrived within the preset time period. If yes, proceed to step 317; otherwise, proceed to step 324. Step 317: Determine whether the target consumable certification data has passed certification. If yes, proceed to step 318; otherwise, proceed to step 322. Step 318: The consumable serial number is successfully authenticated by the printer, and the printer sends a write signal; Step 320: The printer enters working mode; Step 322: The consumable serial number fails to be authenticated by the printer, and the status indication signal Snmode=3'b110 in the storage unit of the consumable chip is rewritten. Step 324: The printer powers down the consumable chip.

[0104] Following step 324 above, after the consumable chip is powered off, remove the consumable cartridge from the printer's mounting position, then reinstall it back into the printer's mounting position. The consumable chip in the consumable cartridge is electrically connected to the printer, and the printer powers on the consumable chip. Figure 6 As shown, the consumable chip performs the following steps: Step 404: After the consumable chip is powered on, it starts booting and reads the data stored in the storage unit; Step 406: Determine if Boot has ended. If yes, proceed to step 408; otherwise, return to step 304. Step 408: Move the data stored in the storage unit to SARM; Step 410: Determine if the transfer is complete. If yes, proceed to step 412; otherwise, return to step 408. Step 412: Perform authentication status judgment. If the status indication signal Snmode=3'b110 stored in the storage unit is used to determine that the consumable serial number has not passed printer authentication, then proceed to step 414. Step 414, the consumable chip is in a waiting state; Step 416: If a command signal from the printer is received, and the power-on flag fake_flag=0 and the status indicator signal Snmode=3'b110 stored in the storage unit, then proceed to step 418. Step 418: Increment snsel by 1 and rewrite Snmode=3'b111, that is, switch to the code table data containing a brand new serial number of another consumable that has not yet been certified by the printer; Step 420: Read the corresponding consumable serial number authentication data from the code table corresponding to snsel+1 to perform consumable serial number switching; Step 422: The printer powers down the consumable chip.

[0105] Following step 422 above, with the consumable cartridge still installed in the printer's mounting position, the printer powers down the consumable chip, and then powers it back on after a certain period of time, such as... Figure 7 As shown, the consumable chip performs the following steps: Step 504: After the consumable chip is powered on, it starts booting and reads the data stored in the storage unit; Step 506: Determine if Boot has ended. If yes, proceed to step 308; otherwise, return to step 304. Step 508: Move the data stored in the storage unit to SARM; Step 510: Determine if the transfer is complete. If yes, proceed to step 512; otherwise, return to step 508. Step 512: Perform authentication status judgment. Based on the status indication signal Snmode=3'b111 stored in the storage unit, it is determined that the consumable serial number has not been authenticated by the printer. Then proceed to step 514. Step 514, the consumable chip is in a waiting state; Step 516: Determine whether the printer authentication command has arrived within the preset time period. If yes, proceed to step 517; otherwise, proceed to step 524. Step 517: Determine whether the target consumable certification data has passed certification. If yes, proceed to step 518; otherwise, proceed to step 522. Step 518: The consumable serial number is successfully authenticated by the printer, and the printer sends a write signal. Step 520: The printer enters working mode; Step 522: The consumable serial number fails to be authenticated by the printer, and the status indication signal Snmode=3'b110 in the storage unit of the consumable chip is rewritten. Step 524: The printer powers down the consumable chip.

[0106] Figure 5 In step 324, the power-down is achieved by actively powering down the chip of the consumable cartridge while it remains installed in the printer's mounting position. Figure 6 The power-on process is initiated by plugging and unplugging the corresponding consumable box; Figure 6 Power-off and subsequent steps in step 422 Figure 7 The printer starts powering on by actively powering down and then powering on the consumable cartridge chip while it remains in its mounting position on the printer.

[0107] In this embodiment, the consumable chip includes a power-on detection unit for detecting the power-on status of the printer during a first power-on phase, which is initiated after the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer. The power-on status includes a true power-on status and a false power-on status. An authentication unit is used during a second power-on phase to authenticate the target consumable serial number with the printer based on the power-on status, the authentication status of the target consumable serial number of the chip before the consumable cartridge is installed in the mounting position, and one or more of the authentication commands sent by the printer. The authentication status includes a status of not yet authenticated by the printer, a status of passed authentication by the printer, and a status of failed authentication by the printer. The second power-on phase is initiated while the consumable cartridge remains installed in the mounting position and the power-on status of the first power-on phase is detected. This allows for the elimination of consumable serial number authentication during the initial power-on phase when the consumable cartridge containing the chip is installed in the corresponding mounting position of the printer, avoiding significant power consumption by the chip during the initial power-on phase. Consequently, the chip can detect the power consumption of the printer during this power-on phase, enabling the printer to start normally.

[0108] Optionally, embodiments of this application also provide a consumable box, including: a consumable body; and according to the above... Figures 1 to 7 The consumable chip described in any one of the embodiments.

[0109] Specifically, the consumable box can be at least one of the common consumable boxes such as ink cartridges, toner cartridges, and ink bag boxes.

[0110] It should be noted that, in this document, 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. Unless otherwise specified, 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 that element.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0112] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A consumable chip, characterized in that, include: The power-on detection unit is used to detect whether the power-on state of the printer is a false power-on state based on the signal output by the printer in the first power-on stage. In the first power-on stage, after the consumable chip is installed in the consumable box at the corresponding mounting position of the printer, the printer powers on the consumable chip. The power-on state includes a true power-on state and a false power-on state. The false power-on state means that the printer does not send a real printer command signal in the first power-on stage. The printer performs power consumption detection in the first power-on stage. The consumable chip only performs a power-on state detection operation and generates a small amount of power consumption in the first power-on stage to pass the power consumption detection of the printer. An authentication unit is configured to, during the second power-on phase, perform authentication of the target consumable serial number with the printer based on one or more of the power-on state, the authentication state of the target consumable serial number of the consumable chip before the consumable cartridge is installed in the mounting position, and the authentication command sent by the printer. The authentication state includes a state where the consumable cartridge has not yet been authenticated by the printer, a state where the consumable cartridge has been authenticated by the printer, and a state where the consumable cartridge has not been authenticated by the printer. During the second power-on phase, after the consumable cartridge is still installed in the mounting position and the power consumption of the consumable chip is detected by the printer during the first power-on phase, the printer powers down and then powers on the consumable chip.

2. The consumable chip according to claim 1, characterized in that, The power-on detection unit is specifically used for: Detect the signal output by the printer during the first power-on phase; If the printer is not outputting a signal, or if the printer is outputting a glitch signal, then the power-on state of the printer is determined to be a false power-on state. Based on the detected false power-on status, update the power-on status of the printer stored in the consumable chip before the consumable cartridge is installed in the mounting position.

3. The consumable chip according to claim 2, characterized in that, The power-on detection unit includes: a trigger, a counter, a comparator, and a detection module. The trigger detects the falling edge or rising edge of the signal output by the printer; The counter counts the number of falling or rising edges of the signal output by the printer. Based on the counting result output by the counter, if the comparator determines that the printer has not output a signal or the signal output by the printer is a glitch signal, it sends a second indication signal to the detection module to indicate that the signal output by the printer is a glitch signal, or sends a third indication signal to indicate that the printer has not output a signal. The detection module updates the power-on status of the printer before the consumable box is installed in the mounting position, which is stored in the consumable chip, based on the second indication signal or the third indication signal.

4. The consumable chip according to claim 3, characterized in that, The detection module is specifically used for: If the power-on state of the printer is read as a false power-on state from the target storage address sector of the consumable chip, then the false power-on state stored in the target storage address sector is maintained when the second indication signal or the third indication signal is received. or If the power-on state of the printer is read as a true power-on state from the target storage address sector of the consumable chip, then a false power-on state is written into the target storage address sector; subsequently, when the second indication signal or the third indication signal is received, the false power-on state stored in the target storage address sector is maintained.

5. The consumable chip according to claim 3, characterized in that, The power-on detection unit is further configured to detect the power-on status of the printer during the second power-on phase, specifically including: Detect the signal output by the printer during the second power-on phase; If the signal output by the printer is detected as an authentication command, then the power-on state of the printer is determined to be a true power-on state. Based on the detected true power-on status, the power-on status of the printer stored in the consumable chip is updated.

6. The consumable chip according to claim 5, characterized in that, The comparator is further configured to: based on the counting result output by the counter, if it is determined that the signal output by the printer is an authentication command, send a first indication signal to the detection module to indicate that the signal output by the printer is a command signal sent by the printer; The detection module is further configured to: update the power-on status of the printer stored in the consumable chip based on the first indication signal.

7. The consumable chip according to claim 6, characterized in that, The detection module is specifically used for: If the power-on state of the printer is read as a false power-on state from the target storage address sector of the consumable chip, then upon receiving the first indication signal, the true power-on state is written into the target storage address sector. or If the power-on state of the printer is read as a true power-on state from the target storage address sector of the consumable chip, then a false power-on state is written into the target storage address sector; subsequently, upon receiving the first indication signal, a true power-on state is written into the target storage address sector.

8. The consumable chip according to claim 5, characterized in that, The authentication unit is specifically used for: In response to the first authentication command sent by the printer during the first true power-on period of the second power-on phase, the printer sends first authentication data to the printer, and the printer determines whether the identity of the consumable chip has been authenticated based on the first authentication data.

9. The consumable chip according to claim 8, characterized in that, The authentication unit is specifically used for: In response to the second authentication command sent by the printer during the second true power-on period of the second power-on phase, the printer sends second authentication data to the printer. The printer determines whether the target consumable serial number of the consumable chip has passed authentication based on the second authentication data. The second true power-on is later than the first true power-on. If the printer returns a successful authentication result for the target consumable serial number, then update the authentication status of the target consumable serial number stored in the consumable chip to the status of being authenticated by the printer. If the printer returns an authentication failure result for the target consumable serial number, the authentication status of the target consumable serial number stored in the consumable chip is updated to "not authenticated by the printer".

10. The consumable chip according to claim 1, characterized in that, The authentication unit is specifically used for: If the authentication status of the target consumable serial number stored in the consumable chip is not yet authenticated by the printer, then if the power-on detection unit detects that the power-on status of the printer is a true power-on status, it determines whether the authentication result of the target consumable serial number returned by the printer is successful or unsuccessful. If the authentication is successful, the device will directly enter the working state and update the authentication status of the target consumable serial number stored in the consumable chip to the authentication status of the printer. If authentication fails, the authentication status of the target consumable serial number stored in the consumable chip is updated to "authentication failed by the printer".

11. The consumable chip according to claim 1, characterized in that, The authentication unit is specifically used for: If the authentication status of the target consumable serial number stored in the consumable chip is that the printer has been authenticated, then the printer will directly enter the working state when the power-on detection unit detects that the power-on status of the printer is a true power-on status. or If the power-on state stored in the consumable chip is a false power-on state and the authentication state of the target consumable serial number is a failed authentication state of the printer, then when the power-on detection unit detects that the power-on state of the printer is a true power-on state, the first consumable serial number is switched to authenticate with the printer. The first consumable serial number is one of a plurality of consumable serial numbers that has not yet been authenticated by the printer.

12. The consumable chip according to claim 1, characterized in that, It also includes a capacitor unit, which is connected in parallel between the power supply terminal of the printer and the consumable chip.

13. A consumable box, characterized in that, include: Consumable body; as well as The consumable chip according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Consumable chip, communication method of consumable chip, communication system and method of consumable chip and imaging equipment

    CN109334259A

  • Consumable chip and method for adjusting dynamic power consumption of consumable chip

    CN110134046A

  • Consumable chip, consumable box and consumable chip authentication method and use method

    CN114261211A

  • Power supply control circuit of printer, circuit board and printer

    CN116100967A