Encryption printing method and system of a printing device
By installing encryption components on the printing unit and ink cartridges for encrypted verification, the problem of not being able to update printing parameters in a timely manner when ink cartridges are replaced is solved, achieving optimal printing results and preventing cross-selling, thus improving printing quality.
Patent Information
- Application Number
- CN202410618030.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2044-05-17
Smart Images

Figure CN118514447B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of inkjet printing technology, and particularly relates to an encryption printing method of a printing device, a computer readable storage medium, a computer device and an encryption printing system of a printing device. BACKGROUND
[0002] In the related art, inkjet printing is to spray ink droplets onto a printing medium through a nozzle of a print head; ink used for printing is stored in an ink cartridge, and the ink cartridge is an important consumable of the inkjet printing device because the ink is consumed during printing; the inkjet printing device needs to replace the ink cartridge frequently, and the number of ink cartridges storing ink on the market is large, and the manufacturers and models are various; in order to identify the model, brand and quality of the ink in the ink cartridge, the existing method generally identifies the ink cartridge by a label manually, and saves the printing parameters of the ink in the printing device; however, this method cannot update the printing parameters in time when the ink cartridge is replaced, and the ink cartridges of different regions often have the problem of channeling, which leads to the mixing of different brands of ink, thereby affecting the printing effect. SUMMARY
[0003] The present application aims to at least solve one of the above technical problems in the art. To this end, one object of the present application is to provide an encryption printing method of a printing device, which updates the printing parameters through encryption verification, and avoids the problem of channeling of the ink cartridge, thereby achieving the best printing effect.
[0004] A second object of the present application is to provide a computer readable storage medium.
[0005] A third object of the present application is to provide a computer device.
[0006] A fourth object of the present application is to provide an encryption printing system of a printing device.
[0007] To achieve the above object, the application provides a printing device and a printing method thereof.
[0008] According to the printing method of the printing device, the encryption information corresponding to the second encryption component is obtained first, wherein the encryption information comprises the first public key, the signature original text and the first signature; then, the first signature is verified according to the second public key stored in the first encryption component, so as to determine whether the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information; if the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, the random number is generated by using the first encryption component, and the random number is sent to the ink cartridge, so that the ink cartridge signs the random number to obtain the second signature; then, the second signature is obtained, and the second signature is verified by using the first public key, so as to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component; if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, the ink parameter stored in the second encryption component is obtained, so as to drive the ink cartridge to print according to the ink parameter; in this way, the printing parameter is updated through the encryption verification, and the problem of the ink cartridge being counterfeited is avoided, so that the best printing effect is achieved.
[0009] In addition, the printing method of the printing device according to the above-mentioned embodiments of the application can have the following additional technical features.
[0010] Optionally, the encryption information corresponding to the second encryption component is obtained, comprising: the printing device obtains the certificate of the second encryption component arranged on the ink cartridge, and parses the certificate to obtain the corresponding encryption information in the certificate.
[0011] Optionally, the second public key is a public key of a distributor, if the signature original corresponding to the first signature is consistent with the signature original in the encrypted information, it is judged that the ink cartridge belongs to the distributor; if the signature original corresponding to the first signature is not consistent with the signature original in the encrypted information, the process is terminated.
[0012] Optionally, if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is judged that the inkjet device and the ink cartridge are matched successfully; if the random number corresponding to the second signature is not consistent with the random number generated by the first encryption component, the process is terminated.
[0013] To achieve the above object, the second aspect of the present application provides a computer readable storage medium, which stores an encryption printing program of an inkjet device, and the encryption printing program of the inkjet device is executed by a processor to realize the encryption printing method of the inkjet device as described above.
[0014] The computer readable storage medium according to the embodiment of the present application stores the encryption printing program of the inkjet device, so that the processor realizes the encryption printing method of the inkjet device as described above when executing the encryption printing program of the inkjet device. Thus, the printing parameter is updated through encryption verification, and the ink cartridge is prevented from being counterfeited, thereby achieving the best printing effect.
[0015] To achieve the above object, the third aspect of the present application provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor realizes the encryption printing method of the inkjet device as described above when executing the computer program.
[0016] The computer device according to the embodiment of the present application stores the computer program executable on the processor through the memory, so that the processor realizes the encryption printing method of the inkjet device as described above when executing the computer program. Thus, the printing parameter is updated through encryption verification, and the ink cartridge is prevented from being counterfeited, thereby achieving the best printing effect.
[0017] To achieve the above object, the fourth aspect of the present application provides an encryption printing system of a printing device, comprising a printing device and an ink cartridge, wherein the printing device is provided with a first encryption component, and the ink cartridge is provided with a second encryption component; the printing device comprises: an acquisition module, configured to acquire encryption information corresponding to the second encryption component, wherein the encryption information comprises a first public key, a signature original text and a first signature; a first verification module, configured to verify the first signature according to a second public key stored in the first encryption component, so as to determine whether the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information; a generation module, configured to generate a random number by using the first encryption component if the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, and send the random number to the ink cartridge, so that the ink cartridge signs the random number to obtain a second signature; a second verification module, configured to acquire the second signature and verify the second signature by using the first public key, so as to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component; and a printing control module, configured to acquire ink parameters stored in the second encryption component if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, so as to drive the ink cartridge to print according to the ink parameters.
[0018] In addition, the encryption printing system of the printing device according to the above-mentioned embodiments of the present application can have the following additional technical features:
[0019] Optionally, the acquisition module is further configured to acquire a certificate of the second encryption component arranged on the ink cartridge, and parse the certificate to obtain the corresponding encryption information in the certificate.
[0020] Optionally, the second public key is a public key of a distributor, if the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, it is determined that the ink cartridge belongs to the distributor; if the signature original text corresponding to the first signature is not consistent with the signature original text in the encryption information, the process is terminated.
[0021] Optionally, if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is determined that the printing device and the ink cartridge are successfully matched; if the random number corresponding to the second signature is not consistent with the random number generated by the first encryption component, the process is terminated. BRIEF DESCRIPTION OF DRAWINGS
[0022] Figure 1 A flowchart of an encryption printing method of a printing device according to an embodiment of the present application;
[0023] Figure 2A flowchart of an encrypted printing method of a printing device according to an embodiment of the present application;
[0024] Figure 3 A block diagram of an encrypted printing system of a printing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] Embodiments of the present application will be described in detail below with reference to the drawings, in which like or similar components that are denoted by like reference numerals throughout the figures have the same or similar functionality. The embodiments described below are exemplary and are intended to explain the present application, and should not be understood as limiting the present application.
[0026] In order to better understand the above technical solutions, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0027] In order to better understand the above technical solutions, the above technical solutions will be described in detail below in combination with the accompanying drawings and specific embodiments.
[0028] The embodiment of the present application provides an encrypted printing method of a printing device, which is applied to the printing device, the printing device comprising a printing equipment and an ink cartridge, the printing equipment being a code printer, and the code printer being provided with a first encryption component, and the ink cartridge being provided with a second encryption component, so as to perform encrypted printing through the first encryption component and the second encryption component, as shown in the figure, the method comprising the following steps: Figure 1
[0029] S101, obtaining encryption information corresponding to the second encryption component, wherein the encryption information comprises a first public key, a signature original text and a first signature.
[0030] It should be noted that the first encryption component comprises a first encryption chip, the second encryption component comprises a second encryption chip, and the first encryption chip and the second encryption chip are both encryption chips with an I2C interface.
[0031] As an embodiment, obtaining the encryption information corresponding to the second encryption component comprises: the printing equipment obtaining a certificate of the second encryption component provided on the ink cartridge, and parsing the certificate to obtain the corresponding encryption information in the certificate.
[0032] That is, the printing device acquires the certificate of the second encryption chip on the ink cartridge, and parses the certificate to obtain the first public key, the signature original text and the first signature in the certificate.
[0033] S102, verifying the first signature according to the second public key stored by the first encryption component to determine whether the signature original corresponding to the first signature is consistent with the signature original in the encrypted information.
[0034] S103, if the signature original corresponding to the first signature is consistent with the signature original in the encrypted information, generating a random number by using the first encryption component, and sending the random number to the ink cartridge, so that the ink cartridge signs the random number to obtain a second signature.
[0035] It should be noted that the second public key is the public key of the distributor, if the signature original corresponding to the first signature is consistent with the signature original in the encrypted information, it is determined that the ink cartridge belongs to the distributor; if the signature original corresponding to the first signature is not consistent with the signature original in the encrypted information, the process is terminated.
[0036] That is, the second public key of the distributor is stored in the encryption chip of the inkjet printer, and the inkjet printer parses the first signature by using the second public key to obtain the corresponding signature original text, and compares it with the signature original text obtained in the certificate. If the two signature files are consistent, it means that the signature verification is successful, that is, the ink cartridge belongs to the distributor, and then the next step is continued, that is, a random number is generated by using the first encryption component, and the random number is sent to the ink cartridge, so that the ink cartridge signs the random number to obtain a second signature. If the two signature files are not consistent, it means that the signature verification fails, that is, the ink cartridge does not belong to the distributor, and then the printing work is not continued, and the process is terminated.
[0037] S104, acquiring the second signature, and verifying the second signature by using the first public key to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component.
[0038] S105, if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, acquiring the ink parameter stored by the second encryption component to drive the ink cartridge to print according to the ink parameter.
[0039] It should be noted that if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is determined that the printing device and the ink cartridge are matched successfully; if the random number corresponding to the second signature is not consistent with the random number generated by the first encryption component, the process is terminated.
[0040] That is, the random number is a number randomly generated in a register in the first encryption component on the inkjet printer, and has no meaning like the signature original text. After the cartridge signs the random number, if the random number obtained by analyzing the signature using the first public key is consistent with the random number originally generated and stored by the inkjet printer, it indicates that the signature verification is successful, and the next step is continued. If the two random numbers are not consistent, it indicates that the signature verification fails, that is, the inkjet printer and the cartridge are not successfully paired, and the printing work is not continued, and the process is terminated.
[0041] In addition, the cartridge updates the corresponding ink parameters in real time during the printing process, wherein the ink parameters include ink type, ink capacity, and printing parameters, and the printing parameters include printing voltage, printing pulse width, and printing time.
[0042] As a specific embodiment, as shown in Figure 2 the certificate, and obtains the public key, the signature original text, and the signature in the cartridge certificate. Then, the inkjet printer verifies the signature of the certificate using the public key of the distributor, and if the verification is successful, the next step is executed, and if the verification fails, the process is terminated. Next, the inkjet printer generates a random number and sends it to the cartridge, so that the cartridge signs the random number and sends the signature to the inkjet printer. Then, the inkjet printer verifies the signature using the public key of the distributor, and if the verification is successful, the next step is executed, and if the verification fails, the process is terminated. Finally, the inkjet printer obtains the ink parameters of the cartridge, so that the inkjet printer drives the cartridge to print using the ink parameters of the cartridge.
[0043] In summary, according to the encryption printing method of the inkjet printing device according to the embodiment of the present application, first, the encryption information corresponding to the second encryption component is obtained, wherein the encryption information includes the first public key, the signature original text, and the first signature. Then, the first signature is verified according to the second public key stored in the first encryption component to determine whether the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information. If the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, a random number is generated using the first encryption component, and the random number is sent to the cartridge, so that the cartridge signs the random number to obtain a second signature. Then, the second signature is obtained, and the second signature is verified using the first public key to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component. If the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, the ink parameters stored in the second encryption component are obtained to drive the cartridge to print according to the ink parameters. Thus, the printing parameters are updated through encryption verification, and the problem of illegal distribution of the cartridge is avoided, so that the best printing effect is achieved.
[0044] In addition, an embodiment of the present invention further proposes a computer-readable storage medium on which an encrypted printing program of a printing device is stored. When the encrypted printing program of the printing device is executed by a processor, the encrypted printing method of the printing device as described above is implemented.
[0045] According to the computer-readable storage medium of an embodiment of the present invention, an encrypted printing program of the printing device is stored so that the processor implements the encrypted printing method of the printing device as described above when executing the encrypted printing program of the printing device. Thus, the printing parameters are updated through encryption verification, and the problem of ink cartridge cross-selling is avoided, thereby achieving the best printing effect.
[0046] In addition, the third aspect of the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, it implements the encrypted printing method of the printing device as described above.
[0047] According to the computer device of an embodiment of the present invention, a computer program that can be run on a processor is stored in a memory so that when the processor executes the computer program, the encrypted printing method of the printing device as described above is implemented. Thus, the printing parameters are updated through encryption verification, and the problem of ink cartridge cross-selling is avoided, thereby achieving the best printing effect.
[0048] In addition, in order to implement the above embodiment, the embodiment of the present application also proposes an encrypted printing system of a printing device, such as Figure 3 As shown, it includes: an acquisition module 10, a first verification module 20, a generation module 30, a second verification module 40 and a printing control module 50.
[0049] Among them, the acquisition module 10 is used to obtain the encrypted information corresponding to the second encryption component, wherein the encrypted information includes the first public key, the signature original and the first signature; the first verification module 20 is used to verify the first signature according to the second public key stored in the first encryption component to determine whether the signature original corresponding to the first signature is consistent with the signature original in the encrypted information; the generation module 30 is used to use the first encryption component to generate a random number if the signature original corresponding to the first signature is consistent with the signature original in the encrypted information, and send the random number to the ink cartridge so that the ink cartridge signs the random number to obtain a second signature; the second verification module 40 is used to obtain the second signature and verify the second signature using the first public key to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component; the printing control module 50 is used to obtain the ink parameters stored in the second encryption component if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, so as to drive the ink cartridge for printing according to the ink parameters.
[0050] Optionally, the obtaining module 10 is further configured to obtain a certificate of the second encryption component arranged on the ink cartridge, and parse the certificate to obtain corresponding encryption information in the certificate.
[0051] Optionally, the second public key is a public key of a distributor, if the signature original corresponding to the first signature is consistent with the signature original in the encryption information, it is determined that the ink cartridge belongs to the distributor; if the signature original corresponding to the first signature is inconsistent with the signature original in the encryption information, the process is terminated.
[0052] Optionally, if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is determined that the inkjet device and the ink cartridge are successfully matched; if the random number corresponding to the second signature is inconsistent with the random number generated by the first encryption component, the process is terminated.
[0053] It should be noted that the above description of the encryption printing method of the printing device is also applicable to the encryption printing system of the printing device of the present embodiment, which will not be described here.
[0054] In summary, the encryption printing system of the printing device according to the present embodiment updates the printing parameters through encryption verification by the above modules, and avoids the problem of ink cartridge diversion, thereby achieving the best printing effect.
[0055] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
[0056] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The device for performing the functions specified in one or more flows and / or blocks. Figure 1 The device for performing the functions specified in one or more flows and / or blocks.
[0057] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flow Figure 1 flow or flows and / or blocks Figure 1 flow or flows and / or blocks
[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 flow or flows and / or blocks Figure 1 flow or flows and / or blocks
[0059] It is noted that any references made herein to elements or steps in a claim are not intended to be limiting of the scope of the claim unless expressly stated otherwise. The word "comprising" does not exclude other elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a programmed computer. In the unitary or integrated claims below, no component or step is implied to be essential to the working of the invention unless expressly stated in that claim. The mere fact that different features are recited in mutually different dependent claims does not indicate that these features must be mutually exclusive. Along the same lines, the mere fact that different aspects are recited in mutually different dependent claims does not indicate that these aspects must be mutually exclusive.
[0060] Although preferred embodiments of the application have been described, those skilled in the art will recognize that additional modifications and variations are possible in light of the above teachings. It is therefore intended that the appended claims cover all such modifications and changes as fall within the scope of the application.
[0061] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore intended that the present application be covered by all such modifications and changes as fall within the scope of the appended claims and their equivalents.
[0062] In the description of the present application, it is to be understood that the terms "first", "second", "third" and the like, merely identify features being described but do not imply those features are either the first, second or third in their intended sequence. Similarly, the terms "top", "bottom", "front", "back" and the like, merely identify features being described but do not imply those features are either the top, bottom, front, back or the like in their intended orientation. In the description of the present application, the meaning of "a", "an", and "the" includes plural references. The meaning of "in" includes "in" and "on." The term "program" refers to code and data that can be used by the processor to perform a task. The term "software" refers to the collective
[0063] In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "connect," "fixed," etc. should be understood broadly. For example, they may refer to fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0064] In the present invention, unless otherwise expressly specified or limited, when a first feature is "above" or "below" a second feature, it may mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediary. Furthermore, when a first feature is "above," "above," or "above" a second feature, it may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is at a higher level than the second feature. When a first feature is "below," "below," or "below" a second feature, it may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature is at a lower level than the second feature.
[0065] In the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0066] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. An encryption printing method of a printing device, characterized by, The printing device comprises a printing equipment and an ink cartridge, the printing equipment is provided with a first encryption component, the ink cartridge is provided with a second encryption component, and the encryption printing method comprises the following steps: Obtain the encryption information corresponding to the second encryption component, wherein the encryption information comprises a first public key, a signature original text and a first signature; Verify the first signature according to the second public key stored in the first encryption component to determine whether the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information; If the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, generate a random number by using the first encryption component and send the random number to the ink cartridge, so that the ink cartridge signs the random number to obtain a second signature; Obtain the second signature and verify the second signature by using the first public key to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component; If the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, obtain the ink parameter stored in the second encryption component to drive the ink cartridge to print according to the ink parameter; Wherein, the second public key is the public key of a distributor, if the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, it is judged that the ink cartridge belongs to the distributor; if the signature original text corresponding to the first signature is not consistent with the signature original text in the encryption information, the process is terminated; If the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is judged that the printing equipment and the ink cartridge are matched successfully; if the random number corresponding to the second signature is not consistent with the random number generated by the first encryption component, the process is terminated.
2. The encryption printing method of the printing apparatus according to claim 1, wherein Obtaining the encryption information corresponding to the second encryption component comprises: the printing equipment obtains the certificate of the second encryption component arranged on the ink cartridge, and parses the certificate to obtain the corresponding encryption information in the certificate.
3. A computer-readable storage medium, characterized in that, The encryption printing program of the printing device is stored thereon, and the encryption printing program of the printing device is executed by the processor to realize the encryption printing method of the printing device according to any one of claims 1-2.
4. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, the encryption printing method of the printing device according to any one of claims 1-2 is realized.
5. An encryption printing system of a printing device, characterized by, The printing device comprises a printing equipment and an ink cartridge, wherein the printing equipment is provided with a first encryption component, the ink cartridge is provided with a second encryption component, and the printing equipment comprises: An obtaining module is configured to obtain encryption information corresponding to the second encryption component, wherein the encryption information comprises a first public key, a signature original text and a first signature; A first verification module is configured to verify the first signature according to a second public key stored in the first encryption component to determine whether the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information; If the signature original text corresponding to the first signature is consistent with the signature original text in the encryption information, generate a random number by using the first encryption component and send the random number to the ink cartridge, so that the ink cartridge signs the random number to obtain a second signature; The generating module is configured to generate a random number by using the first encryption component and send the random number to the ink cartridge if the first signature corresponds to the signature element in the encryption information, and the ink cartridge signs the random number to obtain a second signature; The second verifying module is configured to obtain the second signature and verify the second signature by using the first public key to determine whether the random number corresponding to the second signature is consistent with the random number generated by the first encryption component; The inkjet control module is configured to obtain the ink parameter stored by the second encryption component if the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, and drive the ink cartridge to perform inkjet according to the ink parameter. The second public key is a public key of a distributor, and if the first signature corresponds to the signature element in the encryption information, it is determined that the ink cartridge belongs to the distributor; if the first signature does not correspond to the signature element in the encryption information, the process is terminated. If the random number corresponding to the second signature is consistent with the random number generated by the first encryption component, it is determined that the inkjet device and the ink cartridge are successfully matched; if the random number corresponding to the second signature is not consistent with the random number generated by the first encryption component, the process is terminated.
6. The encryption printing system of the inkjet printing apparatus as claimed in claim 5, wherein The obtaining module is further configured to obtain a certificate of the second encryption component arranged on the ink cartridge, and parse the certificate to obtain corresponding encryption information in the certificate.
Citation Information
Patent Citations
Printer consumable identification method and system based on double security chips
CN117021770A
Systems, methods and apparatuses for authorized use and refill of a printer cartridge
US20140270813A1