Imaging Cartridge, Imaging Cartridge Chip
By using the communication record table and multiple authentication data in the imaging box chip, the processing module decides whether to switch the authentication data, solving the problem of the imaging box switching the authentication data incorrectly when other imaging boxes are not installed, and achieving the effect of reducing the waste of authentication data and improving the authentication efficiency.
Patent Information
- Application Number
- CN202310264773.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2043-03-16
AI Technical Summary
Existing imaging cartridges mistakenly switch authentication data when other imaging cartridges are not installed, resulting in wasting of authentication data.
An imaging cartridge chip is provided, by storing a communication record table and at least two authentication data, and the processing module decides whether to switch the authentication data based on the waiting time of the communication record table and the authentication data.
It avoids invalid switching of authentication data by the imaging box chip, reduces waste of authentication data, and improves authentication efficiency.
Smart Images

Figure CN116160776B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of imaging cartridges, and particularly to an imaging cartridge and an imaging cartridge chip. Background Art
[0002] An imaging device is a device capable of forming images or texts on an imaging medium, including: printers, copiers, fax machines, scanners, and multifunctional all-in-one machines integrating functions such as printing, copying, faxing, and scanning. An imaging device can be connected to at least one imaging cartridge, and each imaging cartridge can be used to provide materials required for forming an image to the imaging device.
[0003] In the prior art, in order to manage the imaging cartridges connected thereto, after an imaging cartridge is installed in an imaging device, the imaging device will first perform a shallow authentication process on the imaging cartridge, and the imaging device and the imaging cartridge will send each other data corresponding to the shallow authentication process. Subsequently, when the imaging cartridge passes the shallow authentication, the imaging device will continue to perform a deep authentication process on the imaging cartridge, and the imaging device and the imaging cartridge will send each other data corresponding to the deep authentication process. For some imaging cartridges, if the deep authentication process has not been performed after a preset time of passing the shallow authentication process, the imaging cartridge can switch the authentication data to enable the imaging device to authenticate the imaging cartridge again to ensure the smooth use of the imaging cartridge.
[0004] However, when other imaging cartridges installed in the imaging device are not installed and ready, the current imaging cartridge will still switch the authentication data, resulting in waste of the authentication data. Summary of the Invention
[0005] This application provides an imaging cartridge and an imaging cartridge chip, which are used to overcome the technical problem that in the prior art, the imaging cartridge incorrectly switches the authentication data when other imaging cartridges are not installed and ready, resulting in waste of the authentication data.
[0006] In the first aspect of this application, an imaging cartridge chip is provided. The imaging cartridge chip is connected to an imaging device chip through a serial bus of the imaging device. The imaging cartridge chip includes a processing module and a storage module. The storage module is used to store a communication record table and at least two authentication data of the imaging cartridge where the imaging cartridge chip is located. The processing module is used to perform a first authentication process on the imaging cartridge with the imaging device chip and determine whether to switch the authentication data of the imaging cartridge at least according to the communication record table.
[0007] In an embodiment of the first aspect of this application, the communication record table is used to record the communication data between each imaging cartridge chip and the imaging device chip among all the imaging cartridge chips connected to the serial bus.
[0008] In an embodiment of the first aspect of the present application, the communication data includes: a response instruction, an encryption seed instruction, an encrypted data instruction, and a specified instruction.
[0009] In an embodiment of the first aspect of the present application, the processing module is specifically configured to determine whether to switch the authentication data of the imaging cartridge according to the waiting time for the second authentication process after the imaging cartridge passes the first authentication process through the first authentication process and the communication record table.
[0010] In an embodiment of the first aspect of the present application, the processing module is specifically configured to: when the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, determine whether to switch the authentication data used in the authentication process of the imaging cartridge according to the communication record table.
[0011] In an embodiment of the first aspect of the present application, the processing module is specifically configured to: determine whether the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus passes the first authentication process according to the communication record table; when the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, and the imaging cartridges corresponding to other imaging cartridge chips connected to the serial bus all pass the first authentication process, determine to switch the authentication data used in the authentication process of the imaging cartridge.
[0012] In an embodiment of the first aspect of the present application, the processing module is further configured to: when the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, and the imaging cartridges corresponding to other imaging cartridge chips connected to the serial bus do not all pass the first authentication process, determine not to switch the authentication data used in the authentication process of the imaging cartridge.
[0013] In an embodiment of the first aspect of the present application, the processing module is specifically configured to: determine whether to send communication data when the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus performs the first authentication process according to the communication record table; determine that the imaging cartridge that sends communication data passes the first authentication process when the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus performs the first authentication process.
[0014] In an embodiment of the first aspect of the present application, the processing module is further configured to: after switching the authentication data used in the authentication process of the imaging cartridge, re-perform the first authentication process on the imaging cartridge with the imaging device chip.
[0015] In an embodiment of the first aspect of the present application, the processing module is further configured to: when the imaging cartridge passes the first authentication process, perform the second authentication process on the imaging cartridge with the imaging device chip.
[0016] The second aspect of the present application provides an imaging cartridge, including an imaging cartridge chip according to any one of the first aspect of the present application.
[0017] In summary, in the imaging cartridge and the imaging cartridge chip provided by the present application, the processing module of the imaging cartridge chip can determine whether to switch the authentication data used in the authentication process of the imaging cartridge according to the communication record table stored in the storage module and the waiting time after the imaging cartridge passes the first authentication process, thereby avoiding invalid switching of the authentication data of the imaging cartridge and reducing waste of the authenticated data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0019] Figure 1 Schematic diagram of the application scenario of the present application;
[0020] Figure 2 Schematic diagram of the imaging device chip and the imaging cartridge chip;
[0021] Figure 3 Schematic diagram of the authentication process between an imaging device and an imaging cartridge;
[0022] Figure 4 Schematic diagram of another authentication process between an imaging device and an imaging cartridge;
[0023] Figure 5 Schematic diagram of the control method executed by an imaging cartridge chip provided by the present application;
[0024] Figure 6 Schematic diagram of another control method executed by an imaging cartridge chip provided by the present application;
[0025] Figure 7 Schematic diagram of the structure of an imaging cartridge chip provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0027] In the description and claims of this application and the above-mentioned drawings, terms such as "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily limit to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0028] The numbers in the flowchart of this application have no size or order, and are only used to distinguish the steps to be described, facilitating a simple and clear description of the technical solution of this application. The technical solution of this application will be described in detail with specific embodiments below. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0029] Figure 1 It is a schematic diagram of the application scenario of this application. As Figure 1 shown, the imaging device 10 is a device capable of forming images or texts on an imaging medium. For example, the imaging device 10 can be a printer, a copier, a fax machine, a scanner, or a multifunctional all-in-one machine integrating functions such as printing, copying, faxing, and scanning. The imaging device 10 can specifically form images by means of laser printing or inkjet printing, etc. The specific implementation and printing method of the imaging device 10 in the embodiments of this application are not limited.
[0030] The imaging device 10 can be connected with at least one imaging cartridge, and each imaging cartridge can be used to provide the materials required for the imaging device 10 to form an image. For example, in Figure 1 the example shown, the imaging device 10 is connected with a total of 4 imaging cartridges, namely imaging cartridge 21, imaging cartridge 22, imaging cartridge 23, and imaging cartridge 24. Specifically, as Figure 1 shown, the 4 imaging cartridges can be imaging cartridges of four colors, namely K / C / M / Y (Black / Cyan / Magenta / Yellow).
[0031] Figure 2 It is a schematic diagram of the imaging device chip and the imaging cartridge chip. As Figure 2As shown in the figure, the imaging device 10 includes an imaging device chip 101 and a serial bus 100. Among them, the imaging device chip 101 can be used to control other circuits in the imaging device 10 and manage the imaging cartridge connected to the imaging device 10, etc. For example, the imaging device chip 101 can be any one of a controller of the imaging device 10, a central processing unit (CPU), other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate and transistor logic devices, etc. The imaging device chip 101 is connected to the serial bus 100.
[0032] Each imaging cartridge includes an imaging cartridge chip. Among them, the imaging cartridge chip can be used to record initial information of the corresponding imaging cartridge, such as model, color, recording material capacity, production date, and manufacturer code, and imaging auxiliary information such as data representing the remaining / consumed amount of the recording material, and can play a role in identifying the imaging cartridge and providing the usage status of the recording material. For example, the imaging cartridge chip can be any one of a controller, a central processing unit (CPU), other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate and transistor logic devices, etc.
[0033] In Figure 1 In the example shown, imaging cartridge 21 includes imaging cartridge chip 211, imaging cartridge 22 includes imaging cartridge chip 221, imaging cartridge 23 includes imaging cartridge chip 231, and imaging cartridge 24 includes imaging cartridge chip 241. The imaging cartridge chip of each imaging cartridge is connected to the serial bus 100 of the imaging device 10, so that the imaging device chip 101 can transmit data with the imaging cartridge chip 211 of each imaging cartridge through the serial bus 100. The imaging device 10 can perform processing such as control and authentication of the imaging cartridge through the transmitted data.
[0034] When the materials such as ink and toner filled in the imaging cartridge connected to the imaging device 10 are used up, the user can remove the imaging cartridge from the imaging device 10, and then install a new imaging cartridge and connect it to the imaging device 10, so that the imaging device 10 can continue to form an image according to the materials provided by the new imaging cartridge.
[0035] Accordingly, the imaging device 10 needs to authenticate the newly installed imaging cartridge by the user, so as to manage the imaging cartridge. For example, Figure 3 FIG. is a schematic flowchart of the authentication between an imaging device and an imaging cartridge. As Figure 3 shown, the method can be applied to the scenario shown in Figure 1 and is executed by the imaging device 10 and any imaging cartridge. As Figure 3 shown in the example, taking the imaging device 10 authenticating the connected imaging cartridge 21 as an example for illustration, it can be understood that the imaging cartridge 21 can also be other imaging cartridges connected to the imaging device 10.
[0036] As Figure 3 shown, when the imaging cartridge 21 is installed in the imaging device 10 and the imaging cartridge chip 211 is connected to the imaging device chip 101, in S101, the imaging cartridge chip 211 will first perform a first authentication process on the imaging cartridge 21 with the imaging device chip 101. Among them, the first authentication process can also be called a shallow authentication process. After detecting that the first imaging cartridge 20 is installed in the imaging device 10, the imaging device chip 101 can send the indication information of the first authentication process to the imaging cartridge chip 211, so that the imaging device chip 101 and the imaging cartridge chip 211 send the data corresponding to the first authentication process to each other, etc., so as to realize the first authentication process of the imaging device 10 for the imaging cartridge 21.
[0037] In one embodiment, the first authentication process includes confirming the existence of the imaging cartridge, reading the imaging cartridge information, reading the serial number seed (verification data associated with the serial number), verifying the serial number seed, and reading the digital signature data, etc.
[0038] Subsequently, when the imaging cartridge 21 passes the first authentication process, in S102, the imaging cartridge chip 211 and the imaging device chip 101 continue to perform a second authentication process on the imaging cartridge 21. Among them, the second authentication process can also be called a deep authentication process. The imaging device chip 101 can send the indication information of the second authentication process to the imaging cartridge chip 211, so that the imaging device chip 101 and the imaging cartridge chip 211 send the data corresponding to the second authentication process to each other, etc., so as to realize the second authentication process of the imaging device 10 for the imaging cartridge 21.
[0039] In one embodiment, the second authentication process includes performing deep encryption communication between the imaging cartridge chip 211 and the imaging device chip 101, etc.
[0040] Finally, when the imaging cartridge 21 passes the second authentication process, in S103, the imaging device chip 101 can use the materials provided by the imaging cartridge 21 to control the relevant circuits in the imaging device 10 to perform the imaging process.
[0041] In some cases, some imaging devices 10 are configured to be able to authenticate only imaging cartridges with unique serial numbers to ensure the uniqueness of the imaging cartridges. Therefore, after the user installs a new compatible imaging cartridge into the imaging device 10, if the serial number of the compatible imaging cartridge is the same as the serial number of the previously installed imaging cartridge, the imaging device 10 will not continue to authenticate the imaging cartridge, resulting in the inability to use the installed compatible imaging cartridge, thus increasing the printing cost of the imaging device 10.
[0042] Therefore, if the imaging cartridge chip 211 of some imaging cartridges determines that the second authentication process has not been performed after a preset time when the imaging cartridge has passed the first authentication process, the imaging cartridge chip 211 can ensure the smooth use of the imaging cartridge by switching the authentication data.
[0043] For example, Figure 4 is a schematic diagram of the authentication process between another imaging device and an imaging cartridge. As Figure 4 shown in the embodiment, when the imaging cartridge chip 211 of the imaging cartridge 21 determines that the imaging cartridge 21 has passed the first authentication process in S101 and the waiting time for the second authentication process exceeds the preset value T and the second authentication process has still not been performed, it means that the serial number of the imaging cartridge 21 is unavailable, resulting in the inability of the imaging device 10 to perform the second authentication process on the imaging cartridge 21 based on the current authentication data of the imaging cartridge 21. Therefore, the imaging cartridge chip 211 switches the authentication data of the imaging cartridge 21 through S1010. In this embodiment, the authentication data may specifically include the serial number of the imaging cartridge 21. Multiple serial numbers can be stored in the imaging cartridge chip 211 for switching. Subsequently, in S1020, the imaging device 10 re-performs the first authentication process on the imaging cartridge 21 after switching the authentication data, and in S102, the imaging device 10 performs the second authentication process on the imaging cartridge 21. When the imaging cartridge 21 passes the second process, the imaging device chip 101 can use the materials provided by the imaging cartridge 21 to control the relevant circuits in the imaging device 10 to perform the imaging process.
[0044] In one embodiment, when multiple imaging cartridges are installed in the imaging device 10, the imaging device 10 first performs the first authentication process on all imaging cartridges respectively, and after all imaging cartridges have passed the first authentication process, then performs the second authentication process on all imaging cartridges respectively. Specifically, for Figure 4In the imaging cartridge 21 in the illustrated embodiment, when the imaging cartridge chip 211 determines that the imaging cartridge 21 has passed the first authentication process in S101, if the imaging device 10 fails to perform the second authentication process on the imaging cartridge 21 after a preset time due to other imaging cartridges, the imaging cartridge chip 211 will still execute the step of switching authentication data in S1010 after the waiting time exceeds the preset value T, resulting in a waste of authentication data and affecting the authentication efficiency of the imaging cartridge 21.
[0045] Based on the above technical problem of wasting authentication data when authenticating an imaging cartridge, the present application provides an imaging cartridge and an imaging cartridge chip, enabling the imaging cartridge chip of the imaging cartridge to determine whether to switch the authentication data of the imaging cartridge at least according to a communication record table, thereby avoiding the ineffective switching of the authentication data by the imaging cartridge chip and reducing the waste of authentication data. The technical solution of the present application will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0046] Figure 5 It is a schematic flowchart of a control method executed by an imaging cartridge chip provided by the present application, as Figure 5 The method executed by the illustrated imaging cartridge chip can be applied to a scenario as Figure 2 shown, and is executed by the imaging device chip 101 of the imaging device 10 and the imaging cartridge chip 211 of the imaging cartridge 21. As Figure 5 shown in the example, the authentication of the connected imaging cartridge 21 by the imaging device 10 is taken as an example for illustration. It can be understood that this method can also be applied to other imaging cartridges connected to the imaging device 10. Specifically, as Figure 5 shown, the control method executed by the imaging cartridge chip includes:
[0047] S100: The imaging cartridge 21 is loaded into the imaging device 10.
[0048] Specifically, a user of the imaging device 10 can load the imaging cartridge 21 into the imaging device 10, enabling the imaging cartridge chip 211 of the imaging cartridge 21 to be connected to the imaging device chip 101 through the serial bus 100 of the imaging device 10, and the imaging device chip 101 can detect and determine that the imaging cartridge 21 is loaded into the imaging device 10 through the serial bus 100.
[0049] S101: The imaging device 10 performs a first authentication process on the imaging cartridge 21.
[0050] Specifically, after the imaging cartridge 21 is installed in the imaging device 10, the imaging device chip 101 can send indication information of the first authentication process to the imaging cartridge chip 211, so that the imaging device chip 101 and the imaging cartridge chip 211 send data corresponding to the first authentication process to each other, thereby implementing the first authentication process of the imaging device 10 for the imaging cartridge 21.
[0051] In one embodiment, when the imaging device 10 performs the first authentication process on the imaging cartridge 21, it includes the imaging cartridge chip 211 sending authentication data to the imaging device chip 101. Among them, the authentication data is used to determine whether to perform a second authentication process on the imaging cartridge 21. In a specific implementation manner, the authentication data may include the serial number of the imaging cartridge 21.
[0052] S1001. The imaging cartridge chip determines whether to switch the authentication data at least according to the communication record table.
[0053] Specifically, Figure 7 is a schematic structural diagram of an imaging cartridge chip provided by this application. As Figure 7 shown, the imaging cartridge chip 211 includes a processing module 2110 and a storage module 2111. Among them, the storage module 2111 is used to store the communication record table.
[0054] In one embodiment, the communication record table is used to record the communication data between each imaging cartridge chip and the imaging device chip 101 among all the imaging cartridge chips connected to the serial bus 100. Through the communication data recorded in the communication record table, it can be determined whether each imaging cartridge chip performs the first authentication process with the imaging device chip 101, and whether it passes the first authentication process. Therefore, the imaging cartridge chip 211 of the imaging cartridge 21 can not only determine whether the imaging cartridge 21 passes the first authentication process through the communication record table, but also determine whether the imaging cartridges 22, 23, and 24 pass the first authentication process.
[0055] In one embodiment, the communication record table may be in the form of Table 1 below. The communication record table includes multiple indication information, and each indication information is used to record whether each imaging cartridge chip transmits communication data for the first authentication process with the imaging device chip 101.
[0056] Table 1
[0057] Imaging Cartridge 21 Imaging Cartridge 22 Imaging Cartridge 23 Imaging Cartridge 24 Whether to Transmit Communication Data Yes / No Yes / No Yes / No Yes / No
[0058] For example, as shown in Table 1, after the imaging cartridge 21 transmits the communication data corresponding to the first authentication process, the imaging cartridge chip 211 of the imaging cartridge 21 can mark the indication information corresponding to the imaging cartridge 21 in Table 1 as "Yes". Similarly, when the imaging cartridge chip 211 of the imaging cartridge 21 determines that the imaging cartridge chips of other imaging cartridges 22, 23, and 24 and the imaging device chip 101 transmit the communication data for the first authentication process, the indication information corresponding to the imaging cartridges 22, 23, and 24 can be marked as "Yes".
[0059] In one embodiment, since the imaging cartridge chips of each imaging cartridge transmit the communication data for the first authentication process to the imaging device chip 101 through the serial bus 100. Therefore, the imaging cartridge chip 211 of the imaging cartridge 21 can obtain the communication data of other imaging cartridges during the first authentication process through the serial bus 100 and record it in the communication record table shown in Table 1, so as to determine whether each imaging cartridge passes the first authentication process according to the indication information corresponding to each imaging cartridge in the communication record table.
[0060] In one embodiment, the communication data shown in Table 1 can specifically be low-level data with a duration of N milliseconds, and N can be 80. Taking the imaging cartridge 21 as an example, after the imaging cartridge 21 passes the first authentication process, the imaging cartridge chip 211 sends low-level data to the serial bus 100. Similarly, the imaging cartridge chip 211 can receive the low-level data sent by the imaging cartridge chips of other imaging cartridges. Then, when receiving the low-level data sent by other imaging cartridge chips on the serial bus 100, it can be determined that the imaging cartridge that sent the low-level data passes the first authentication process.
[0061] In one embodiment, the communication data for the first authentication process transmitted by each imaging cartridge to the imaging device chip 101 through the serial bus 100 includes the identification information of the imaging cartridge, and the identification information can be an ID, etc. After the imaging cartridge chip 211 of the imaging cartridge 21 obtains the communication data during the first authentication process through the serial bus 100, it can determine which imaging cartridge the communication data specifically belongs to according to the identification information in the communication data.
[0062] In one embodiment, the imaging cartridge chip 211 can mark each imaging cartridge through the identification information (ID), etc. of the imaging cartridge chips of the imaging cartridges 21, 22, 23, and 24 on the serial bus. For example, the identification information of the imaging cartridges 21, 22, 23, and 24 is 0x60, 0x62, 0x64, and 0x66 respectively.
[0063] In one embodiment, the communication record table specifically includes a response instruction, an encryption seed instruction, an encryption data instruction, and a specified instruction.
[0064] Table 2
[0065] Imaging Cartridge 21 Imaging Cartridge 22 Imaging Cartridge 23 Imaging Cartridge 24 Whether There is a Response Instruction Yes / No Yes / No Yes / No Yes / No Whether There is an Encryption Seed Instruction Yes / No Yes / No Yes / No Yes / No Whether There is an Encryption Data Instruction Yes / No Yes / No Yes / No Yes / No Whether There is a Specified Instruction Yes / No Yes / No Yes / No Yes / No
[0066] Among them, the response instruction is sent by the imaging cartridge chip to the imaging device chip 101 after the imaging cartridge is loaded into the imaging device 10. The encrypted seed record information is sent by the imaging device chip 101 and is used to indicate the seed used for encryption between the imaging cartridge chip and the imaging device chip 101. The encrypted data record information is the encrypted data transmitted between the imaging cartridge chip and the imaging device chip 101 after receiving the encrypted seed record information. The specified instruction information is sent by the imaging cartridge chip after the imaging cartridge passes the first authentication process. The specified instruction information can be a pull-down instruction with a duration of N ms or an instruction with a relatively long length in the send instruction, etc.
[0067] Therefore, when the indication information corresponding to each imaging cartridge in the communication record table is "yes", it indicates that all the communication data required for the first authentication process has been transmitted between the imaging cartridge chip and the imaging device chip 101, which also indicates that the imaging cartridge corresponding to the imaging cartridge chip has passed the first authentication process. For example, if the indication information of the four instructions corresponding to the imaging cartridge 21 is "yes, yes, yes, yes" respectively, it can be determined according to the communication record table that the imaging cartridge 21 has passed the first authentication process. If the indication information of the four instructions corresponding to the imaging cartridge 22 is "yes, yes, yes, no" respectively, it can be determined according to the communication record table that the imaging cartridge 22 has not passed the first authentication process.
[0068] The storage module 2111 of the imaging cartridge chip 211 provided by the embodiment of the present application is further used to store at least two authentication data of the imaging cartridge 21. Among them, the authentication data may specifically include the serial number corresponding to the imaging cartridge 211. Figure 7 In the example shown, taking the storage module 2111 storing N authentication data as an example, it is denoted as authentication data 1, authentication data 2... authentication data N.
[0069] The processing module 2110 of the imaging cartridge chip 211 can read the authentication data stored in the storage module 2111 and use one of the authentication data to perform the first authentication process and / or the second authentication process on the imaging cartridge 21 with the imaging device chip.
[0070] Such as Figure 5 shown, when the imaging cartridge chip 211 performs the first authentication process on the imaging cartridge 21 with the imaging device chip 101 in S101 and passes the authentication, the imaging cartridge chip 211 starts to wait for the second authentication process on the imaging cartridge 21 with the imaging device chip 101.
[0071] Combined with Figure 7As shown, the processing module 2110 of the imaging cartridge chip 211 can use an authentication data stored in the storage module 2111 to perform a first authentication process on the imaging cartridge 21 with the imaging device chip. After the imaging cartridge 21 passes the first authentication process, the processing module 2110 waits to use the authentication data to perform a second authentication process on the imaging cartridge 21 with the imaging device chip.
[0072] In one embodiment, in S1001 as shown in Figure 5 when the imaging cartridge 21 passes the first authentication process, the processing module 2110 of the imaging cartridge chip 211 does not directly switch the authentication data, but determines whether to switch the authentication data used in the authentication process of the imaging cartridge 21 at least according to the communication record table stored in the storage module 2111.
[0073] In another embodiment, the processing module 2110 also records the waiting time after the imaging cartridge 21 passes the first authentication process. Then in S1001 as shown in Figure 5 when the imaging cartridge 21 passes the first authentication process, it determines whether to switch the authentication data used in the authentication process of the imaging cartridge 21 according to the communication record table and the waiting time stored in the storage module 2111. Specifically, when the waiting time after the imaging cartridge 21 passes the first authentication process is greater than the preset value T, the processing module 2110 of the imaging cartridge chip 211 does not directly switch the authentication data, but determines whether to switch the authentication data used in the authentication process of the imaging cartridge 21 according to the communication record table stored in the storage module 2111.
[0074] In one embodiment, when the waiting time after the imaging cartridge 21 passes the first authentication process is greater than the preset value T, the processing module 2110 of the imaging cartridge chip 211 first obtains the communication record table from the storage module 2111, and then determines whether the imaging cartridges corresponding to the other imaging cartridge chips connected to the serial bus 100 of the imaging device 10 pass the first authentication process according to the communication record table.
[0075] In one embodiment, referring to Figure 5 when the waiting time after the imaging cartridge 21 passes the first authentication process is greater than the preset value T and the imaging cartridges corresponding to the other imaging cartridge chips do not all pass the first authentication process, the processing module 2110 of the imaging cartridge chip 211 determines not to switch the authentication data used in the authentication process of the imaging cartridge 21 in S1002.
[0076] Figure 6 It is a schematic flowchart of a control method executed by another imaging cartridge chip provided by the present application. In another embodiment, referring to Figure 6When the waiting time after the imaging cartridge 21 passes the first authentication process is greater than the preset value T and all the imaging cartridges corresponding to other imaging cartridge chips have passed the first authentication process, the processing module 2110 of the imaging cartridge chip 211 determines the authentication data used when switching the imaging cartridge 21 for the authentication process in S1003.
[0077] Reference Figure 6 Suppose the processing module 2110 of the imaging cartridge chip 211 uses the authentication data 1 stored in the storage module 2111 to perform the first authentication process on the imaging cartridge 21 with the imaging device chip 101, and the imaging cartridge 21 passes the first authentication process. Subsequently, when the waiting time after the imaging cartridge 21 passes the first authentication process is greater than the preset value T, assume that the processing module 2110 of the imaging cartridge chip 211 determines that all the imaging cartridges (imaging cartridge 22, imaging cartridge 23, and imaging cartridge 24) corresponding to other imaging cartridge chips have passed the first authentication process according to the communication record table stored in the storage module 2111. Then, the processing module 2110 of the imaging cartridge chip 211 determines the authentication data used when switching the imaging cartridge 21 for the authentication process. For example, the processing module 2110 can obtain the authentication data 2 from the storage module 2111 and switch the authentication data used when performing the authentication process on the imaging cartridge 21 from the authentication data 1 to the authentication data 2.
[0078] In summary, in the imaging cartridge chip 211 provided in this application, the processing module 2111 can determine whether to switch the authentication data used when performing the authentication process on the imaging cartridge 21 according to the communication record table stored in the storage module 2110 and the waiting time after the imaging cartridge 21 passes the first authentication process. Compared with Figure 4 directly switching the authentication data according to the waiting time after the imaging cartridge 21 passes the first authentication process as shown, when the imaging device 10 does not perform the second authentication process on the imaging cartridge 21 after the preset time due to other imaging cartridges, it can avoid invalid switching of the authentication data of the imaging cartridge 21 and reduce the waste of authentication data.
[0079] It can be understood that when the waiting time after the imaging box 21 passes the first authentication process is greater than the preset value T, and the other imaging boxes have passed the first authentication process, the reason why the imaging device 10 has not yet performed the second authentication process on the imaging box is that the authentication data of the current imaging box 21 is not available. Therefore, the imaging box chip 211 can switch the authentication data used when performing the authentication process on the imaging box 21, so that the imaging device 10 performs the first authentication process and the second process on the imaging box 21 according to the switched authentication data. When the waiting time after the imaging box 21 passes the first authentication process is greater than the preset value T, and the other imaging boxes have not all passed the first authentication process, the reason why the imaging device 10 has not yet performed the second authentication process on the imaging box is that the other imaging boxes have not passed the first authentication process. Therefore, the imaging box chip 211 does not switch the authentication data used when performing the authentication process on the imaging box 21, but continues to wait for the other imaging box chips 211 to pass the first authentication process by switching the authentication data, and then the imaging device 10 performs the second authentication process on all the imaging boxes after all the imaging boxes pass the first authentication process.
[0080] In summary, the imaging box chip provided by this embodiment can more effectively determine that the second authentication process has not been performed due to the current imaging box 21, thereby switching the authentication data of the imaging box 21 based on more accurate conditions, thereby ensuring the validity of the switched authentication data, and ensuring as much as possible that the imaging box chip 211 can pass the first authentication process and the second authentication process according to the switched authentication data, so as to improve the authentication efficiency of the imaging box 21.
[0081] In one embodiment, Figure 6 In the illustrated embodiment, after the processing module 2111 of the imaging box chip 211 switches the authentication data in S1003, in S1020, the processing module 2111 of the imaging box chip 211 also uses the switched authentication data to re-perform the first authentication process on the imaging box 21 with the imaging device chip 101.
[0082] It can be understood that if the imaging box 21 passes the first authentication process in S1020, and since the other imaging boxes have also passed the first authentication process, in S102 after S1020, the processing module 2111 of the imaging box chip 211 can use the switched authentication data to perform a second authentication process on the imaging box 21 with the imaging device chip 101.
[0083] If the imaging cartridge 21 fails the first authentication process in S102, the processing module 2111 of the imaging cartridge chip 211 can continue to execute the steps of switching authentication data in S1001 - S1003, and loop through S1001 - S1020 until the processing module 2111 of the imaging cartridge chip 211 passes the first authentication process for the imaging cartridge 21 using the switched authentication data. Subsequently, in S102, the imaging cartridge chip 211 and the imaging device chip 101 perform a second authentication process on the imaging cartridge 21. Subsequently, in S102, the imaging device chip 101 can use the materials provided by the imaging cartridge 21 to control the relevant circuits in the imaging device 10 to perform an imaging process.
[0084] In the foregoing embodiments, the steps performed when authenticating the imaging cartridge and the imaging cartridge chip provided in the embodiments of the present application are introduced. To implement the method provided in the embodiments of the present application, the imaging cartridge chip as the execution subject may include a hardware structure and / or a software module, and implement the above various functions in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module. For example, the imaging cartridge chip includes a processing module, a storage module, etc. Whether a certain function among the above various functions is executed in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module depends on the specific application and design constraints of the technical solution.
[0085] It should be noted that it should be understood that the division of each module of the above device is only a logical function division. In actual implementation, it can be fully or partially integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. It can be a separately established processing element, or integrated in a certain chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a certain processing element of the above device to perform the functions of the above determined modules. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together or independently implemented. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the processor element in hardware or in the form of instructions in software.
[0086] For example, the above-mentioned modules can be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), etc. Again, when a certain module above is implemented in the form of a processing element calling program code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. Again, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0087] In the above embodiments, the steps executed by the imaging cartridge chip can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
[0088] The present application also provides an electronic device, including a processor and a memory. The processor and the memory are communicatively connected. Among them, a computer program is stored in the memory. When the processor executes the computer program, the processor can execute any of the steps executed by the imaging cartridge chip in the foregoing embodiments of the present application.
[0089] The present application also provides a computer-readable storage medium storing computer instructions, which can be used to execute the steps performed by the imaging cartridge chip in any of the foregoing embodiments of the present application when the computer instructions are executed.
[0090] An embodiment of the present application also provides a chip for running instructions, and the chip is used to execute the steps performed by the imaging cartridge chip in any of the foregoing embodiments of the present application.
[0091] An embodiment of the present application also provides a computer program product, the program product includes a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and when the at least one processor executes the computer program, it can implement the steps performed by the imaging cartridge chip in any of the foregoing embodiments of the present application.
[0092] Those of ordinary skill in the art can understand that all or part of the steps of implementing the foregoing embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the foregoing method embodiments; and the foregoing storage medium includes various media such as ROM, magnetic disk, or optical disc that can store program codes.
[0093] Those of ordinary skill in the art can understand that for the convenience of describing the technical solutions of the present application, the embodiments of the present application are described separately through functional modules, and there may be partial or complete overlap of the circuit devices in each module, which is not a limitation on the protection scope of the present application.
[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An imaging cartridge chip, which is connected to an imaging device chip through a serial bus of the imaging device. The imaging cartridge chip includes a processing module and a storage module; the storage module is used to store a communication record table and at least two authentication data of the imaging cartridge where the imaging cartridge chip is located. Characterized in that, The processing module is used to perform a first authentication process on the imaging cartridge with the imaging device chip, and determine whether to switch the authentication data of the imaging cartridge at least according to the communication record table; after the imaging cartridge passes the first authentication process, the imaging device chip performs a second authentication process on the imaging cartridge. Specifically, the processing module is used for: Determine whether to switch the authentication data of the imaging cartridge according to the waiting time for the imaging cartridge to wait for the second authentication process after passing the first authentication process and the communication record table; when the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, determine whether to switch the authentication data used in the authentication process of the imaging cartridge according to the communication record table.
2. The imaging cartridge chip according to claim 1, Characterized in that, The communication record table is used to record the communication data between each imaging cartridge chip and the imaging device chip among all the imaging cartridge chips connected to the serial bus.
3. The imaging cartridge chip according to claim 2, Characterized in that, The communication data includes: response instruction, encryption seed instruction, encrypted data instruction and specified instruction.
4. The imaging cartridge chip according to any one of claims 1-3, Characterized in that, Specifically, the processing module is used for: Determine whether the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus passes the first authentication process according to the communication record table; When the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, and the imaging cartridges corresponding to other imaging cartridge chips connected to the serial bus all pass the first authentication process, determine to switch the authentication data used in the authentication process of the imaging cartridge.
5. The imaging cartridge chip according to claim 4, Characterized in that, The processing module is further used for: When the waiting time after the imaging cartridge passes the first authentication process is greater than a preset value, and the imaging cartridges corresponding to other imaging cartridge chips connected to the serial bus do not all pass the first authentication process, determine not to switch the authentication data used in the authentication process of the imaging cartridge.
6. The imaging cartridge chip according to claim 2 or 3, Characterized in that, Specifically, the processing module is used for: Determine whether to send the communication data when the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus performs the first authentication process according to the communication record table; Determine that the imaging cartridge that sends the communication data passes the first authentication process when the imaging cartridge corresponding to other imaging cartridge chips connected to the serial bus performs the first authentication process.
7. The imaging cartridge chip according to claim 5, Characterized in that, The processing module is further used for: After switching the authentication data used in the authentication process of the imaging cartridge, re-perform the first authentication process on the imaging cartridge with the imaging device chip; When the imaging cartridge passes the first authentication process, perform the second authentication process on the imaging cartridge with the imaging device chip.
8. An imaging cartridge characterized in that it includes an imaging cartridge chip according to any one of claims 1-7.
Citation Information
Patent Citations
Imaging box chip, imaging box and method for replacing serial numbers of imaging box chip
CN104943397A
Printing consumable box verification method, device, and consumable chip
CN109409076A
Consumable chip and consumable box
CN115742573A