A consumable chip authentication method and device, a consumable chip, and a storage medium
By acquiring the printer's instruction characteristic information, the target authentication algorithm and consumable data are determined, solving the problem of low flexibility in printer consumable usage and achieving more efficient printer consumable authentication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU ZHONO ELECTRONICS TECH CO LTD
- Filing Date
- 2023-12-11
- Publication Date
- 2026-06-30
AI Technical Summary
Current printer consumables can only be used with one type of printer, resulting in low flexibility in use.
By acquiring the printer's instruction characteristic information, the target authentication algorithm and target consumable data are determined based on the authentication algorithm and consumable data recorded by the consumable chip, and the authentication process is carried out to adapt to different printer types.
It improves the flexibility of printer consumables usage, accurately identifies printer types and selects appropriate authentication algorithms and consumable data, and reduces usage restrictions.
Smart Images

Figure CN117681566B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of printer consumable chips, and more particularly to a consumable chip authentication method, apparatus, consumable chip, and storage medium. Background Technology
[0002] With the development of printer technology, printers are becoming increasingly widely used. Printer consumables are essential materials for printing. To ensure the safe and correct use of printer consumables, consumable chips are usually installed on them. After the consumable chip is connected to the printer, it authenticates with the printer. Once authentication is successful, the printer can correctly use the consumable.
[0003] Currently, there are many types of printers. Because printer consumables need to be certified with the printer, printer consumables are generally developed for specific certification algorithms. Printer consumables can only be used with one type of printer, which greatly limits the use of printer consumables and reduces their flexibility. Summary of the Invention
[0004] This application provides a consumable chip authentication method, apparatus, consumable chip, and storage medium to solve the technical problem in related technologies that printer consumables can only be used with one type of printer, which greatly restricts the use of printer consumables and reduces the flexibility of printer consumables use, thereby effectively improving the flexibility of printer consumables use.
[0005] In a first aspect, embodiments of this application provide a consumable chip authentication method, comprising:
[0006] Obtain the printer's instruction characteristic information;
[0007] The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information. The consumable chip records authentication algorithms and consumable data corresponding to different printer types.
[0008] The authentication process is performed between the target authentication algorithm and the target consumable data and the printer.
[0009] In a second aspect, embodiments of this application provide a consumable chip authentication device, including an information acquisition module, an algorithm determination module, and a consumable authentication module, wherein:
[0010] The information acquisition module is used to acquire the instruction feature information of the printer;
[0011] The algorithm determination module is used to determine the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information. The consumable chip records authentication algorithms and consumable data corresponding to different printer types.
[0012] The consumable authentication module is used to perform an authentication process with the printer based on the target authentication algorithm and the target consumable data.
[0013] In a third aspect, embodiments of this application provide a consumable chip, including: a memory and one or more processors;
[0014] The memory is used to store one or more programs;
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the consumable chip authentication method as described in the first aspect.
[0016] In a fourth aspect, embodiments of this application provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the consumable chip authentication method as described in the first aspect.
[0017] This application embodiment determines the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the printer's instruction feature information, and performs an authentication process with the printer based on the target authentication algorithm and target consumable data. This accurately determines the printer type and selects the appropriate target authentication algorithm and target consumable data for the corresponding printer type, reducing the limitations on the use of printer consumable chips and effectively improving the flexibility of printer consumable chip use. Attached Figure Description
[0018] Figure 1 This is a flowchart of a consumable chip authentication method provided in an embodiment of this application;
[0019] Figure 2 This is a flowchart of another consumable chip authentication method provided in the embodiments of this application;
[0020] Figure 3 This is a schematic diagram of the structure of a consumable chip authentication device provided in an embodiment of this application;
[0021] Figure 4 This is a schematic diagram of the structure of a consumable chip provided in an embodiment of this application. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but additional steps not included in the drawings may also be present. The above processes can correspond to methods, functions, procedures, subroutines, subroutines, etc.
[0023] Figure 1 A flowchart of a consumable chip authentication method provided in this application embodiment is given. This method can be executed by a consumable chip authentication device, which can be implemented in hardware and / or software and integrated into the consumable chip of the printer consumable. The consumable chip authentication method provided in this solution can be used in universal consumable chips, which can communicate with different printer types through this authentication method.
[0024] The following description uses a consumable chip authentication device as an example to illustrate the consumable chip authentication method. (Reference) Figure 1 The chip certification method for this consumable includes:
[0025] S110: Obtain printer instruction characteristic information.
[0026] For example, after the printer consumables are connected to the printer, the instruction feature information of the information and / or instructions provided by the printer to the printer consumables is obtained.
[0027] The instruction characteristic information provided in this solution can be understood as the characteristics of the information and / or instructions provided by the printer to the printer consumables after they are installed on the printer. Different types of printers can provide different characteristics of information and / or instructions. The information and / or instructions provided by the printer to the printer consumables can be of various types, and different types of printers can provide some of the same characteristics of information and / or instructions to the printer consumables.
[0028] S120: Determine the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information. The consumable chip records authentication algorithms and consumable data corresponding to different printer types.
[0029] The consumable chip provided in this solution records authentication algorithms and consumable data corresponding to different printer types. The authentication algorithm is used to implement the verification process with the connected printer. Different types of printers require different authentication algorithms (e.g., different encryption algorithms) when authenticating the consumable chip. The consumable data is the data required for printer identification and authentication, and for the normal use of printer consumables. Optionally, the consumable data can be one or more combinations of printer consumable model data, region data, consumable capacity, consumable serial number, consumable consumption, and usage date. Optionally, different consumable data can be recorded in the consumable chip for different printer types, and the consumable data corresponding to different printer types can be a combination of different consumable data types.
[0030] For example, after determining the printer's instruction feature information, the target authentication algorithm and target consumable data are determined from the recorded authentication algorithm and consumable data based on the authentication algorithm and the correspondence between consumable data and instruction feature information recorded in the consumable chip. The target authentication algorithm and target consumable data are the authentication algorithm and consumable data required to authenticate with the currently connected printer.
[0031] In one embodiment, the instruction feature information provided by this solution can be of one or more combinations of power-on time length information, access address information, data feature information, verification information, and power supply voltage information. The power-on time length information can be understood as the time interval from when the printer supplies power to the consumable chip to when it issues an access instruction to the consumable chip; the access address information can be understood as the access address (e.g., device address) of the chip sent by the printer to the consumable chip; the data feature information can be understood as the data feature information of the communication information (e.g., information and / or instructions) sent by the printer to the consumable chip; the verification information can be understood as the verification information in the communication information sent by the printer to the consumable chip; and the power supply voltage information can be understood as the magnitude of the power supply voltage supplied by the printer to the consumable chip. Different types of printers correspond to different combinations of one or more of the following: power-on time length information, access address information, data feature information, verification information, and power supply voltage information.
[0032] Optionally, multiple information types can be used as the basis for determining the target authentication algorithm and target consumable data. The authentication algorithm and consumable data corresponding to different instruction feature information values under each information type are recorded in the consumable chip. The corresponding target authentication algorithm and target consumable data are determined based on the information type of the obtained instruction feature information. Alternatively, one of the multiple information types can be used as the basis for determining the target authentication algorithm and target consumable data. The authentication algorithm and consumable data corresponding to different instruction feature information values under the corresponding information type are recorded in the consumable chip. After the printer consumable is connected to the printer, it can wait for the printer to provide instruction feature information of the corresponding information type, or obtain instruction feature information of the corresponding information type from the printer, and determine the corresponding target authentication algorithm and target consumable data based on the value corresponding to the instruction feature information of that information type.
[0033] In one possible embodiment, when the information type of the instruction feature information provided in this solution is power-on time length information, the consumable chip authentication method provided in this solution, when acquiring the printer's instruction feature information, may involve: acquiring the power-on time length information from the printer supplying power to the consumable chip to issuing an access instruction to the consumable chip. Based on this, when the consumable chip authentication method provided in this solution determines the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the instruction feature information, it may involve: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the power-on time length information.
[0034] For example, after printer consumables are connected to the printer, the power-on time length information is determined from the time the printer supplies power to the consumable chip to the time the printer sends an access command to the consumable chip. For instance, after the consumable chip is powered on, it waits for the printer to send an access command. The time interval from the consumable chip's power-on startup to the time the consumable chip first receives the access command is the power-on time length information.
[0035] Different types of printers, after supplying power to the consumable chip, will send access commands to the printer consumables at different time intervals. Based on the different time intervals, the correspondence between different power-on time lengths and printer types can be determined. Correspondingly, the target authentication algorithm and target consumable data can be determined based on the different power-on time lengths.
[0036] After obtaining the power-on time information from the time the printer supplies power to the consumable chip to the time it issues an access command to the consumable chip, the target authentication algorithm and target consumable data corresponding to the current power-on time information can be determined from the authentication algorithm and consumable data recorded on the consumable chip, based on the correspondence between different power-on time information and authentication algorithms and consumable data. For example, the power-on time information from powering on the consumable chip to issuing an access command to the consumable chip for type A printers is 1ms, while the power-on time information from powering on the consumable chip to issuing an access command to the consumable chip for type B printers is 10ms. Based on the difference in power-on time information, type A printers and type B printers can be quickly and accurately distinguished, and the applicable target authentication algorithm and target consumable data can be accurately determined according to the corresponding printer type.
[0037] This solution obtains the power-on time information from the time the printer supplies power to the consumable chip to the time it issues an access command to the consumable chip. Based on this power-on time information, it accurately determines the target authentication algorithm and target consumable data, efficiently and accurately identifying the type of printer that has been connected and determining the corresponding target authentication algorithm and target consumable data. This allows for more accurate and efficient authentication of the consumable chip, effectively improving the flexibility of printer consumable usage.
[0038] In one possible embodiment, when the information type of the instruction feature information provided in this solution is access address information, the consumable chip authentication method provided in this solution, when obtaining the printer's instruction feature information, may involve: obtaining the access address information sent by the printer. Based on this, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the instruction feature information, the consumable chip authentication method provided in this solution may involve: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the access address information.
[0039] For example, after printer consumables are connected to the printer, they obtain access address information sent by the printer. For instance, after the consumable chip is powered on, it waits for the printer to send access address information. Different types of printers send different access address information to the consumable chip. Based on these different access address information, the correspondence between different access address information and printer types can be determined. Correspondingly, based on the different access address information, the corresponding target authentication algorithm and target consumable data can be determined.
[0040] After obtaining the access address information sent by the printer, the target authentication algorithm and target consumable data corresponding to the current access address information can be determined from the authentication algorithm and consumable data recorded in the consumable chip, based on the correspondence between different access address information, authentication algorithms, and consumable data. For example, for a printer based on IIC communication, the information sent to the consumable chip in the first frame includes the device address (i.e., access address information). For example, the access address information corresponding to the access address of type A printer is address A0, and the access address information corresponding to the access address of type B printer is address A8. Based on the different access address information, type A printers and type B printers can be quickly and accurately distinguished, and the applicable target authentication algorithm and target consumable data can be accurately determined according to the corresponding printer type.
[0041] This solution obtains the access address information sent by the printer and accurately determines the target authentication algorithm and target consumable data based on the access address information. It efficiently and accurately identifies the type of printer that has been connected and determines the corresponding target authentication algorithm and target consumable data, thus authenticating the consumable chip more accurately and efficiently and effectively improving the flexibility of printer consumable usage.
[0042] In one possible embodiment, when the information type of the instruction feature information provided in this solution is data feature information, the consumable chip authentication method provided in this solution, when acquiring the printer's instruction feature information, may acquire the data feature information of the communication information sent by the printer. Based on this, when determining the target authentication algorithm and target consumable data from the authentication algorithm recorded on the consumable chip and the consumable data according to the instruction feature information, the consumable chip authentication method provided in this solution may determine the target authentication algorithm and target consumable data from the authentication algorithm recorded on the consumable chip and the consumable data according to the data feature information.
[0043] For example, after printer consumables are connected to the printer, the data characteristic information of the communication information sent by the printer is obtained. For instance, after the consumable chip is powered on, it waits for the printer to send communication information, and upon receiving the communication information, determines the corresponding data characteristic information. Different types of printers send communication information with different data characteristic information to the consumable chip. The correspondence between different data characteristic information and printer types can be determined based on these differences. Correspondingly, the target authentication algorithm and target consumable data can be determined based on the different data characteristic information.
[0044] After acquiring the data feature information of the communication information sent by the printer, the target authentication algorithm and target consumable data corresponding to the current data feature information can be determined from the authentication algorithm and consumable data recorded in the consumable chip, based on the correspondence between different data feature information and authentication algorithms and consumable data. For example, there are multiple commands for communication between the printer and the consumable chip, and different types of printers also have different command systems. For example, the first command (i.e., communication information) sent by a type A printer is command 75, while the first command (i.e., communication information) sent by a type B printer is command 76. The command can also be certain data features of the entire frame format of the communication information. Different command types can be used as data feature information of the communication information. Based on the different data feature information, type A printers and type B printers can be quickly and accurately distinguished, and the applicable target authentication algorithm and target consumable data can be accurately determined according to the corresponding printer type.
[0045] This solution acquires the data feature information of the communication information sent by the printer, and accurately determines the target authentication algorithm and target consumable data based on the data feature information. It efficiently and accurately identifies the type of printer that has been connected and determines the corresponding target authentication algorithm and target consumable data, thus authenticating the consumable chip more accurately and efficiently and effectively improving the flexibility of printer consumable use.
[0046] In one possible embodiment, when the information type of the instruction feature information provided in this solution is verification information, the consumable chip authentication method provided in this solution, when acquiring the printer's instruction feature information, may involve: acquiring the verification information in the communication information sent by the printer. Based on this, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the instruction feature information, the consumable chip authentication method provided in this solution may involve: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the verification information.
[0047] For example, after the printer consumables are connected to the printer, the verification information in the communication information sent by the printer is obtained. For instance, after the consumable chip is powered on, it waits for the printer to send communication information, and upon receiving the communication information, determines the corresponding verification information. Specifically, the printer can add verification bytes to the communication information between the printer and the consumable chip to ensure the correctness of the communication data.
[0048] Different types of printers send communication information with different verification information to the consumable chip. The correspondence between different verification information and printer type can be determined based on the different verification information. Correspondingly, the target authentication algorithm and target consumable data can be determined based on the different verification information.
[0049] After obtaining the verification information from the communication information sent by the printer, the target authentication algorithm and target consumable data corresponding to the current verification information can be determined from the authentication algorithm and consumable data recorded in the consumable chip, based on the correspondence between different verification information and authentication algorithms and consumable data. For example, when the printer and consumable chip use the CRC (Cyclic Redundancy Check) algorithm as the check bit of the frame format, different types of printers can use different CRC initial values or CRC polynomials. The CRC initial value or CRC polynomial can be used as verification information. Based on the different verification information, type A printers and type B printers can be quickly and accurately distinguished, and the applicable target authentication algorithm and target consumable data can be accurately determined according to the corresponding printer type.
[0050] This solution obtains the verification information from the communication information sent by the printer, and accurately determines the target authentication algorithm and target consumable data based on the verification information. It efficiently and accurately identifies the type of printer that has been connected and determines the corresponding target authentication algorithm and target consumable data, thus authenticating the consumable chip more accurately and efficiently and effectively improving the flexibility of printer consumable usage.
[0051] In one possible embodiment, when the information type of the instruction feature information provided in this solution is power supply voltage information, the consumable chip authentication method provided in this solution, when acquiring the printer's instruction feature information, may involve: acquiring the power supply voltage information from which the printer supplies power to the consumable chip. Based on this, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the instruction feature information, the consumable chip authentication method provided in this solution may involve: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip according to the power supply voltage information.
[0052] For example, after printer consumables are connected to the printer, the power supply voltage information of the printer to the consumable chip is determined. Different types of printers supply different voltages to the consumable chip. Based on the different power supply voltage information, the correspondence between different power supply voltage information and printer types can be determined. Correspondingly, the corresponding target authentication algorithm and target consumable data can be determined based on the different power supply voltage information.
[0053] After determining the power supply voltage information of the printer to the consumable chip, the target authentication algorithm and target consumable data corresponding to the current power supply voltage information can be determined from the authentication algorithm and consumable data recorded on the consumable chip, based on the correspondence between different power supply voltage information and authentication algorithms and consumable data. For example, type A printers supply 3.3V to the consumable chip, while type B printers supply 5V. Based on the different power supply voltage information, type A printers and type B printers can be quickly and accurately distinguished, and the applicable target authentication algorithm and target consumable data can be accurately determined according to the corresponding printer type.
[0054] This solution obtains the power supply voltage information from the printer to the consumable chip, and accurately determines the target authentication algorithm and target consumable data based on the power supply voltage information. It efficiently and accurately identifies the type of printer connected and determines the corresponding target authentication algorithm and target consumable data, thus authenticating the consumable chip more accurately and efficiently and effectively improving the flexibility of printer consumable use.
[0055] Optionally, multiple information types can be used as the basis for determining the target authentication algorithm and target consumable data. The authentication algorithm and consumable data corresponding to different instruction feature information values under each information type are recorded in the consumable chip. Based on the information type of the acquired instruction feature information, after the printer consumable is connected to the printer, it can wait for the printer to provide instruction feature information of the corresponding information type, or obtain instruction feature information of the corresponding information type from the printer, and determine the corresponding target authentication algorithm and target consumable data based on the value corresponding to the instruction feature information of that information type. Optionally, when receiving instruction feature information of multiple information types, the target authentication algorithm and target consumable data can be determined based on the first received instruction feature information, or the target authentication algorithm and target consumable data can be determined separately based on the instruction feature information of each information type, and the authentication algorithm and consumable data determined most frequently are determined as the target authentication algorithm and target consumable data.
[0056] S130: The authentication process with the printer is performed based on the target authentication algorithm and the target consumable data.
[0057] For example, after determining the target authentication algorithm and target consumable data, an authentication process with the printer is initiated based on these two data points. For instance, the printer is authenticated using the target authentication algorithm. After successful authentication, the printer checks the completeness of the target consumable data. Once the completeness of the target consumable data is confirmed, the printer can then use the printer consumables normally.
[0058] The above describes how the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the printer's instruction feature information. The authentication process is then carried out with the printer based on the target authentication algorithm and target consumable data. This accurately determines the printer type and selects the appropriate target authentication algorithm and target consumable data for the corresponding printer type, reducing restrictions on the use of printer consumables and effectively improving the flexibility of printer consumable use.
[0059] Based on the above embodiments, Figure 2 A flowchart of another consumable chip authentication method provided in an embodiment of this application is given, which is a concretization of the above-described consumable chip authentication method. (Reference) Figure 2 The chip certification method for this consumable includes:
[0060] S210: Obtain the printer's instruction characteristic information.
[0061] S220: Determine the information type of the instruction characteristic information. The information type includes one or more combinations of power-on time length information, access address information, data characteristic information, verification information, and power supply voltage information.
[0062] S230: Determine the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and instruction characteristic information.
[0063] The consumable chip records authentication algorithms and consumable data corresponding to different printer types. Optionally, multiple information types can be used as the basis for determining the target authentication algorithm and target consumable data. The consumable chip records the authentication algorithm and consumable data corresponding to different instruction feature information values under each information type. Based on the information type of the acquired instruction feature information, after the printer consumable is connected to the printer, it can wait for the printer to provide instruction feature information of the corresponding information type, or obtain instruction feature information of the corresponding information type from the printer, and determine the corresponding target authentication algorithm and target consumable data based on the value corresponding to the instruction feature information of that information type. Optionally, when receiving instruction feature information of multiple information types, the target authentication algorithm and target consumable data can be determined based on the first received instruction feature information, or the target authentication algorithm and target consumable data can be determined separately based on the instruction feature information of each information type, and the authentication algorithm and consumable data determined most frequently are determined as the target authentication algorithm and target consumable data.
[0064] For example, after obtaining the printer's instruction characteristic information, the information type corresponding to the instruction characteristic information is determined, and the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and the instruction characteristic information. The information types provided in this solution include one or more combinations of power-on time length information, access address information, data characteristic information, verification information, and power supply voltage information.
[0065] In one embodiment, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and instruction feature information, it may be as follows: when the information type of the instruction feature information is determined to be the power-on time length information from the printer supplying power to the consumable chip to issuing an access instruction to the consumable chip, the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded by the consumable chip based on the power-on time length information.
[0066] In one embodiment, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and instruction feature information, it can be done as follows: when the information type of the instruction feature information is determined to be access address information sent by the printer, the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded by the consumable chip based on the access address information.
[0067] In one embodiment, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and instruction feature information, it may be as follows: when the information type of the instruction feature information is determined to be the data feature information of the communication information sent by the printer, the target authentication algorithm and target consumable data may be determined from the authentication algorithm and consumable data recorded by the consumable chip based on the data feature information.
[0068] In one embodiment, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and instruction feature information, it can be done as follows: when the information type of the instruction feature information is determined to be verification information in the communication information sent by the printer, the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded by the consumable chip based on the verification information.
[0069] In one embodiment, when determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and instruction feature information, it may be as follows: when the information type of the instruction feature information is determined to be the power supply voltage information of the printer supplying power to the consumable chip, the target authentication algorithm and target consumable data may be determined from the authentication algorithm and consumable data recorded in the consumable chip based on the power supply voltage information.
[0070] Specifically, when determining the target consumable data for the target authentication algorithm based on the instruction feature information corresponding to the power-on time length information, access address information, data feature information, verification information, and power supply voltage information, the relevant descriptions of the target consumable data for determining the target authentication algorithm based on the instruction feature information corresponding to the power-on time length information, access address information, data feature information, verification information, and power supply voltage information in the above embodiments can be referred to, and will not be repeated in this solution.
[0071] S240: The authentication process with the printer is performed based on the target authentication algorithm and the target consumable data.
[0072] The above describes a method that determines the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the printer's instruction characteristic information. Then, it performs an authentication process with the printer based on the target authentication algorithm and target consumable data. This accurately identifies the printer type and selects the appropriate target authentication algorithm and target consumable data for the corresponding printer type, reducing limitations on printer consumable usage and effectively improving the flexibility of printer consumable usage. Furthermore, by accurately determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the information type and instruction characteristic information, the method performs more accurate and efficient consumable chip authentication, further enhancing the flexibility of printer consumable usage.
[0073] Figure 3 A schematic diagram of a consumable chip authentication device provided in an embodiment of this application is given. (Reference) Figure 3 The consumable chip authentication device includes an information acquisition module 31, an algorithm determination module 32, and a consumable authentication module 33.
[0074] The information acquisition module 31 is used to acquire the instruction feature information of the printer; the algorithm determination module 2 is used to determine the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information. The consumable chip records authentication algorithms and consumable data corresponding to different printer types; the consumable authentication module 33 is used to perform the authentication process with the printer based on the target authentication algorithm and target consumable data.
[0075] The above describes how the target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the printer's instruction feature information. The authentication process is then carried out with the printer based on the target authentication algorithm and target consumable data. This accurately determines the printer type and selects the appropriate target authentication algorithm and target consumable data for the corresponding printer type, reducing restrictions on the use of printer consumables and effectively improving the flexibility of printer consumable use.
[0076] In one possible embodiment, when the algorithm determination module 2 determines the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information, it includes:
[0077] The information type of the instruction characteristic information is determined. The information type includes one or more combinations of power-on time length information, access address information, data characteristic information, verification information and power supply voltage information.
[0078] The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and instruction characteristics.
[0079] In one possible embodiment, when the information acquisition module 31 acquires the instruction feature information of the printer, it includes: acquiring the power-on time length information from the time the printer supplies power to the consumable chip to the time it issues an access instruction to the consumable chip;
[0080] When determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the instruction feature information, the algorithm determination module 2 includes: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the power-on time length information.
[0081] In one possible embodiment, when the information acquisition module 31 acquires the instruction feature information of the printer, it includes: acquiring the access address information sent by the printer;
[0082] When determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the instruction feature information, the algorithm determination module 2 includes: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the access address information.
[0083] In one possible embodiment, when the information acquisition module 31 acquires the instruction feature information of the printer, it includes: acquiring the data feature information of the communication information sent by the printer;
[0084] When determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the instruction feature information, the algorithm determination module 2 includes: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the data feature information.
[0085] In one possible embodiment, when the information acquisition module 31 acquires the instruction feature information of the printer, it includes: acquiring the verification information in the communication information sent by the printer;
[0086] When determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the instruction feature information, the algorithm determination module 2 includes: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the verification information.
[0087] In one possible embodiment, when the information acquisition module 31 acquires the instruction feature information of the printer, it includes: acquiring the power supply voltage information of the printer supplying power to the consumable chip;
[0088] When determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the instruction feature information, the algorithm determination module 2 includes: determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the power supply voltage information.
[0089] It is worth noting that in the embodiments of the above-mentioned consumable chip authentication device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this application.
[0090] This application also provides a consumable chip that can integrate the consumable chip authentication device provided in this application. Figure 4 This is a schematic diagram of the structure of a consumable chip provided in an embodiment of this application. (Reference) Figure 4 The consumable chip includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 is used to store one or more programs; when one or more programs are executed by one or more processors 41, the one or more processors 41 implement the consumable chip authentication method provided in the above embodiments. The input device 43, output device 44, memory 42, and processor 41 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0091] The memory 42, as a computing device readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the consumable chip authentication method provided in any embodiment of this application (e.g., the information acquisition module 31, algorithm determination module 32, and consumable authentication module 33 in the consumable chip authentication device). The memory 42 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the consumable chip, etc. Furthermore, the memory 42 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 42 may further include memory remotely located relative to the processor 41, and these remote memories can be connected to the consumable chip via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0092] Input device 43 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the consumable chip. Output device 44 may include display devices such as a display screen.
[0093] The processor 41 executes various functional applications and data processing of the consumable chip by running software programs, instructions and modules stored in the memory 42, thereby realizing the above-mentioned consumable chip authentication method.
[0094] The consumable chip authentication device, consumable chip, and computer provided above can be used to execute the consumable chip authentication method provided in any of the above embodiments, and have corresponding functions and beneficial effects.
[0095] This application embodiment also provides a storage medium for storing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute the consumable chip authentication method provided in the above embodiment. The consumable chip authentication method includes: obtaining instruction feature information of the printer; determining a target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded on the consumable chip based on the instruction feature information, wherein the consumable chip records authentication algorithms and consumable data corresponding to different printer types; and performing an authentication process with the printer based on the target authentication algorithm and target consumable data.
[0096] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. Furthermore, storage media may reside in a first computer system in which a program is executed, or may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage media may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.
[0097] Of course, the computer-executable instructions stored in the storage medium provided in the embodiments of this application are not limited to the consumable chip authentication method provided above, but can also perform related operations in the consumable chip authentication method provided in any embodiment of this application.
[0098] The consumable chip authentication device, consumable chip, and storage medium provided in the above embodiments can execute the consumable chip authentication method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the consumable chip authentication method provided in any embodiment of this application.
[0099] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments provided herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.
Claims
1. A method for authenticating consumable chips, characterized in that, include: Obtain printer instruction feature information, wherein the instruction feature information includes the characteristics of information and / or instructions provided by the printer to the printer consumables after the printer consumables are installed on the printer, and different types of printers provide different information and / or instruction characteristics; The information type of the instruction feature information is determined, and the information type includes one or more combinations of power-on time length information, access address information, instruction type of the instruction issued by the printer, verification information, and power supply voltage information; The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and the instruction feature information; wherein, the consumable chip records authentication algorithms and consumable data corresponding to different printer types; The authentication process is performed between the target authentication algorithm and the target consumable data and the printer.
2. The consumable chip authentication method according to claim 1, characterized in that, The acquisition of printer instruction feature information includes: Obtain information on the power-on time from when the printer supplies power to the consumable chip to when it issues an access command to the consumable chip; The step of determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and the instruction feature information includes: The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded by the consumable chip based on the power-on time length information.
3. The consumable chip authentication method according to claim 1, characterized in that, The acquisition of printer instruction feature information includes: Obtain the access address information sent by the printer; The step of determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded in the consumable chip based on the information type and the instruction feature information includes: The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the access address information.
4. The consumable chip authentication method according to claim 1, characterized in that, The acquisition of printer instruction feature information includes: Obtain the instruction type of the command issued by the printer; The step of determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and the instruction feature information includes: The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip according to the instruction type.
5. The consumable chip authentication method according to claim 1, characterized in that, The acquisition of printer instruction feature information includes: Retrieve the verification information from the communication messages sent by the printer; The step of determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and the instruction feature information includes: The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded in the consumable chip based on the verification information.
6. The consumable chip authentication method according to claim 1, characterized in that, The acquisition of printer instruction feature information includes: Obtain the power supply voltage information of the printer to the consumable chip; The step of determining the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip based on the information type and the instruction feature information includes: The target authentication algorithm and target consumable data are determined from the authentication algorithm and consumable data recorded by the consumable chip based on the power supply voltage information.
7. A consumable chip authentication device, characterized in that, It includes an information acquisition module, an algorithm determination module, and a consumable certification module, among which: The information acquisition module is used to acquire the instruction feature information of the printer, wherein the instruction feature information includes the characteristics of the information and / or instructions provided by the printer to the printer consumables after the printer consumables are installed on the printer, and different types of printers provide different information and / or instruction characteristics; The algorithm determination module is used to determine the information type of the instruction feature information. The information type includes one or more combinations of power-on time length information, access address information, instruction type of the instruction issued by the printer, verification information, and power supply voltage information. Based on the information type and the instruction feature information, the module determines the target authentication algorithm and target consumable data from the authentication algorithm and consumable data recorded by the consumable chip. The consumable chip records authentication algorithms and consumable data corresponding to different printer types. The consumable authentication module is used to perform an authentication process with the printer based on the target authentication algorithm and the target consumable data.
8. A consumable chip, characterized in that, include: Memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the consumable chip authentication method as described in any one of claims 1-6.
9. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the consumable chip authentication method as described in any one of claims 1-6.