Printing control method and system and storage medium

The authentication data determined by the ink cartridge characteristics controls the logical state of the ink cartridge head, solves the print quality problems caused by non-original regenerated chips, and realizes the irreplaceability and high-quality printing of the original ink cartridge chips.

CN119099210AActive Publication Date: 2024-12-10HANGZHOU CHIPJET TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310646032.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-10
Estimated Expiration
2043-06-01

AI Technical Summary

Technical Problem

In the prior art, non-original recycled chips cannot guarantee the printing quality, resulting in a decrease in print quality when reusing the ink cartridges, and the inertia of the original ink cartridge chip cannot be realized.

Method used

The logical state of the ink cartridge head is controlled by the authentication data determined based on the ink cartridge characteristics, ensuring that the authentication data of the ink cartridge is associated with the nozzle printing logic, realizing the irreplaceability of the original ink cartridge chip, and improving the printing quality.

Benefits of technology

The correlation between the ink cartridge certification data and the nozzle logic ensures the originality of the ink cartridge, improves the printing quality, and avoids the decline in print quality caused by the regeneration chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119099210A_ABST
    Figure CN119099210A_ABST
Patent Text Reader

Abstract

The invention relates to a printing control method and system and a storage medium, a nozzle of an ink box is controlled to be in a first logic state based on first authentication data, the first authentication data is sent to a printer, and the first authentication data is determined based on the characteristics of the ink box; the printer is used for encrypting an initial printing command based on the first authentication data to obtain a first printing command, and the initial printing command is associated with to-be-printed information; receiving the first printing command sent by the printer, and decrypting the first printing command based on first authentication data to obtain an initial printing command; and determining the to-be-printed information based on the initial printing command, and controlling the nozzle to print the to-be-printed information based on the first logic state of the nozzle. By adopting the method, the authentication data of the ink box can be associated with the printing information, and the authentication data is associated with the printing logic of the nozzle, so that an original ink box chip is irreplaceable, and the printing quality is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ink cartridge authentication, and in particular to a printing control method, system and storage medium. Background Art

[0002] With the development of printer technology, printers are undoubtedly an indispensable device in work and life. When using a printer, it is usually necessary to use a corresponding ink cartridge. The conventional printing method is that the printer receives the ink volume authentication data sent by the ink cartridge chip, and then sends the print command to the ink cartridge nozzle to execute printing.

[0003] When the ink volume of the ink cartridge has been used once, the ink cartridge chip can no longer be used. In order to make the ink cartridge reusable, the existing regeneration method uses the regeneration chip to replace the function of the ink cartridge chip, sends the ink volume authentication data to the printer, and after the printer receives the ink volume authentication data, it will send the print command to the ink cartridge nozzle to execute printing. Although the use of regeneration chips can reduce the replacement of ink cartridge chips and allow the ink cartridge to be reused, non-original regeneration chips cannot guarantee the quality of printing. Summary of the invention

[0004] Based on this, it is necessary to provide a printing control method, system and computer-readable storage medium that can ensure the non-replaceability of the original ink cartridge chip and achieve high-quality printing in response to the above technical problems.

[0005] In a first aspect, the present application provides a printing control method, which is applied to an ink cartridge of a printer system, wherein the system includes an ink cartridge and a printer, and the method includes:

[0006] Based on first authentication data, controlling the nozzle of the ink cartridge to be in a first logic state, and sending the first authentication data to a printer, wherein the first authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt an initial print command based on the first authentication data to obtain a first print command, wherein the initial print command is associated with information to be printed;

[0007] receiving the first print command sent by the printer, and decrypting the first print command based on the first authentication data to obtain the initial print command;

[0008] The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the first logic state of the nozzle.

[0009] In one embodiment, the controlling the nozzle of the ink cartridge to be in a first logical state based on the first authentication data and before sending the first authentication data to the printer comprises:

[0010] A first authentication command sent by the printer is received, and the first authentication data is determined based on the first authentication command and the characteristics of the ink cartridge.

[0011] In one embodiment, the characteristics of the ink cartridge include ink level status, ink cartridge model and serial number.

[0012] In one embodiment, the determining the information to be printed based on the initial print command and controlling the nozzle to print the information to be printed based on the first logic state of the nozzle comprises:

[0013] Based on second authentication data, controlling the nozzle to be in a second logic state, and sending the second authentication data to the printer, wherein the second authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt the initial print command based on the second authentication data to obtain a second print command;

[0014] receiving a second print command sent by the printer, and decrypting the second print command based on the second authentication data to obtain the initial print command;

[0015] The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the second logic state of the nozzle.

[0016] In one embodiment, the receiving a second print command sent by the printer and decrypting the second print command based on the second authentication data to obtain the initial print command comprises:

[0017] A second authentication command sent by the printer is received, and the second authentication data is determined based on the second authentication command and the characteristics of the ink cartridge.

[0018] In one embodiment, the characteristic of the ink cartridge includes an ink level status, and the method further includes:

[0019] When the ink level of the ink cartridge is less than a set threshold, a program burn instruction is sent to the nozzle of the ink cartridge to control the nozzle to end printing.

[0020] In a second aspect, the present application further provides a printing control method, which is applied to a printer of a printer system, wherein the system includes an ink cartridge and a printer, and the method includes:

[0021] Encrypting an initial print command of the information to be printed based on first authentication data to obtain a first print command, wherein the first authentication data is determined based on the characteristics of the ink cartridge;

[0022] The first print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a first logical state based on first authentication data, and the first authentication data is sent to the printer, the first print command is decrypted based on the first authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and based on the first logical state of the nozzle, the nozzle is controlled to print the information to be printed.

[0023] In one embodiment, sending the first print command to the ink cartridge includes:

[0024] Encrypting an initial print command of the information to be printed based on second authentication data to obtain a second print command, wherein the second authentication data is determined based on the characteristics of the ink cartridge;

[0025] The second print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a second logical state based on second authentication data, and the second authentication data is sent to the printer, the second print command is decrypted based on the second authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and based on the second logical state of the nozzle, the nozzle is controlled to print the information to be printed.

[0026] In a third aspect, the present application also provides a printer system, comprising an ink cartridge and a printer, wherein the ink cartridge is used to implement the steps of the method described in the first aspect when executed, and the printer is used to implement the steps of the method described in the second aspect when executed.

[0027] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the contents of the first and second aspects above are implemented.

[0028] The above-mentioned printing control method, system and storage medium control the nozzle of the ink cartridge to be in a first logical state based on the first authentication data, and send the first authentication data to the printer, the first authentication data is determined based on the characteristics of the ink cartridge, the printer is used to encrypt the initial printing command based on the first authentication data to obtain the first printing command, and the initial printing command is associated with the information to be printed; receive the first printing command sent by the printer, decrypt the first printing command based on the first authentication data to obtain the initial printing command; determine the information to be printed based on the initial printing command, and control the nozzle to print the information to be printed based on the first logical state of the nozzle. The authentication data of the ink cartridge is associated with the printing information, and the authentication data is associated with the printing logic of the nozzle, so as to realize the non-replaceability of the original ink cartridge chip and improve the printing quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a structural block diagram of a printer system in one embodiment;

[0030] Figure 2 A schematic diagram of a flow chart of a printing control method in an embodiment;

[0031] Figure 3 A schematic diagram of a flow chart of executing steps after S206 in one embodiment;

[0032] Figure 4 It is a flowchart of a printing control method in another embodiment. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0035] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0036] The printing control method provided in the embodiment of the present application can be applied to Figure 1 In the printer system shown, the system includes an ink cartridge and a printer. The ink cartridge 102 communicates with the printer 104. The ink cartridge 102 includes a data authentication module 21 and an image printing module 22, and the image printing module 22 includes a nozzle for printing. The data storage system 106 can store the print data that the printer 104 needs to process. The data storage system 106 can be integrated on the printer 104, or it can be placed on the cloud or other device servers. On the ink cartridge 102, based on the first authentication data, the nozzle of the ink cartridge 102 is controlled to be in a first logical state, and the first authentication data is sent to the printer 104, wherein the first authentication data is determined based on the characteristics of the ink cartridge, and the characteristics of the ink cartridge include ink volume status, ink cartridge model, serial number, etc. The printer 104 is used to encrypt an initial print command based on the first authentication data to obtain a first print command, wherein the initial print command is associated with the information to be printed; receive the first print command sent by the printer 104, decrypt the first print command based on the first authentication data to obtain the initial print command; determine the information to be printed based on the initial print command, and control the nozzle to print the information to be printed based on the first logical state of the nozzle.

[0037] In one embodiment, Figure 2 As shown, a printing control method is provided, which is applied to Figure 1 Taking the ink cartridge 102 in the embodiment as an example, the method includes the following steps:

[0038] S202: Based on the first authentication data, control the nozzle of the ink cartridge to be in a first logical state, and send the first authentication data to the printer.

[0039] The printer is used to encrypt an initial print command based on the first authentication data to obtain a first print command, and the initial print command is associated with the information to be printed.

[0040] Specifically, in the prior art, regardless of whether a regenerated chip is used to replace the ink cartridge chip, the printing logic of the ink cartridge nozzle is not controlled by the authentication data in the ink cartridge chip or the regenerated chip, and the authentication data will not change due to changes in the characteristics of the ink cartridge, such as changes in the amount of ink. Therefore, some manufacturers produce regenerated chips to replace the function of generating authentication data in the ink cartridge chip, which can very simply realize the recycling of ink cartridges. However, the quality, model and compatibility of the regenerated chip are often not comparable to the original ink cartridge chip, which can easily cause a decrease in printing quality. In this step, the authentication data of the ink cartridge is used to control the printing logic of the ink cartridge nozzle, ensuring that the first authentication data corresponds to the first logical state of the nozzle, so that the authentication data of the ink cartridge is associated with the ink cartridge nozzle, avoiding the use of the regenerated chip to enable the ink cartridge to be reused, ensuring the integrity of the original ink cartridge, and improving the printing quality.

[0041] S204: Receive the first print command sent by the printer, and decrypt the first print command based on the first authentication data to obtain the initial print command.

[0042] Specifically, after the first authentication data of the ink cartridge is sent to the printer in S202, the printer uses the first authentication data to encrypt the initial print command of the information to be printed, obtains the first print command, and sends the first print command to the ink cartridge. After receiving the first print command, the ink cartridge decrypts it based on the first authentication data to obtain the initial print command.

[0043] The first authentication data is determined based on the characteristics of the ink cartridge, including ink volume status, ink cartridge model, serial number, etc.

[0044] S206, determining the information to be printed based on the initial printing command, and controlling the print head to print the information to be printed based on the first logic state of the print head.

[0045] Specifically, after the ink cartridge receives the initial print command, it determines the information to be printed corresponding to the initial print command, sends the initial print command to the nozzle, and the nozzle executes the initial print command in the first logic state to print out the information to be printed.

[0046] In the above-mentioned printing control method, based on the first authentication data, the nozzle of the ink cartridge is controlled to be in a first logical state, and the first authentication data is sent to the printer. The printer is used to encrypt the initial printing command based on the first authentication data to obtain the first printing command, and the initial printing command is associated with the information to be printed; the first printing command sent by the printer is received, and the first printing command is decrypted based on the first authentication data to obtain the initial printing command; the information to be printed is determined based on the initial printing command, and based on the first logical state of the nozzle, the nozzle is controlled to print the information to be printed, the authentication data of the ink cartridge is associated with the printing information, and the authentication data is associated with the printing logic of the nozzle, so as to realize the non-renewability of the original ink cartridge and improve the printing quality.

[0047] In one embodiment, before controlling the nozzle of the ink cartridge to be in the first logical state based on the first authentication data in S202 and sending the first authentication data to the printer, the following steps are also included:

[0048] S201, receiving a first authentication command sent by the printer, and determining the first authentication data based on the first authentication command and the characteristics of the ink cartridge.

[0049] Specifically, the ink cartridge receives a first authentication command sent by the printer, and sends first authentication data of the ink cartridge to the printer, where the first authentication data includes a first ink volume state of the ink cartridge, an ink cartridge model, a serial number, and the like.

[0050] In one embodiment, Figure 3 As shown, after S206 determines the information to be printed based on the initial print command and controls the nozzle to print the information to be printed based on the first logic state of the nozzle, the following steps are also included:

[0051] S302, based on the second authentication data, controlling the nozzle to be in a second logic state, and sending the second authentication data to the printer.

[0052] The second authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt the initial print command based on the second authentication data to obtain the second print command.

[0053] Specifically, after the print head prints the image to be printed based on the first logical state and the initial print command under the first authentication data, the ink volume state in the characteristics of the ink cartridge changes from the first ink volume state corresponding to the first authentication data to the second ink volume state corresponding to the second authentication data. Based on the second authentication data, the ink cartridge chip controls the print head to be in the second logical state and sends the second authentication data to the printer.

[0054] S304, receiving a second print command sent by the printer, and decrypting the second print command based on the second authentication data to obtain the initial print command.

[0055] Specifically, after sending the second authentication data to the printer in S302, the printer encrypts the information to be printed based on the second authentication data to obtain a second print command. The ink cartridge receives the second print command sent by the printer, decrypts the second print command using the second authentication data, and obtains an initial print command.

[0056] S306, determining the information to be printed based on the initial printing command, and controlling the print head to print the information to be printed based on the second logic state of the print head.

[0057] Specifically, after the ink cartridge receives the initial print command, it determines the information to be printed corresponding to the initial print command, sends the initial print command to the nozzle, and the nozzle executes the initial print command to print the information to be printed under the control of the second logic state.

[0058] In this embodiment, the nozzle is controlled to be in a second logical state through the second authentication data of the ink cartridge, and the information to be printed is encrypted through the second authentication data to obtain a second printing command closely related to the second authentication data. When the characteristics of the ink cartridge (especially the ink volume status) change, the printing process is controlled by the characteristic changes, thereby ensuring the integrity of printing using the original ink cartridge and improving the printing quality.

[0059] In one embodiment, before S302 controls the nozzle to be in the second logic state based on the second authentication data and sends the first authentication data to the printer, the following steps are also included:

[0060] S301, receiving a second authentication command sent by the printer, and determining the second authentication data based on the first authentication command and the characteristics of the ink cartridge.

[0061] Specifically, the ink cartridge receives the second authentication command sent by the printer, and sends second authentication data of the ink cartridge to the printer, where the second authentication data includes the second ink volume status of the ink cartridge, the ink cartridge model, the serial number, and the like.

[0062] In one embodiment, the method further comprises the following steps:

[0063] When the ink level of the ink cartridge is less than a set threshold, a program burn instruction is sent to the nozzle of the ink cartridge to control the nozzle to end printing.

[0064] Specifically, in order to further ensure the consistency between the original ink cartridge and the ink cartridge chip, when the ink level of the ink cartridge is less than a set threshold, the ink cartridge chip will send a program burn command to the print head to end the printing function of the print head.

[0065] In the above embodiment, by program burning instructions, when the ink volume is less than a threshold value, the printing function of the nozzle is terminated. At this time, even if the chip of the ink cartridge is replaced, the ink cartridge can no longer perform the printing function, further ensuring the integrity of the original ink cartridge.

[0066] Based on the same inventive concept, the embodiment of the present application also provides a printing control method, which is applied to a printer of a printer system. The implementation scheme for solving the problem provided by the method is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments provided below can refer to the above limitations on the printing control method for the ink cartridge applied to the printer system, and will not be repeated here.

[0067] In one embodiment, Figure 4 As shown, a printing control method is provided, which is applied to a printer of a printer system, and the method comprises the following steps:

[0068] S402, encrypting an initial print command of information to be printed based on first authentication data to obtain a first print command, wherein the first authentication data is determined based on the characteristics of the ink cartridge.

[0069] S404: Send the first print command to the ink cartridge.

[0070] Wherein, the ink cartridge is used to control the nozzle of the ink cartridge to be in a first logical state based on first authentication data, and send the first authentication data to the printer, decrypt the first print command based on the first authentication data to obtain the initial print command, determine the information to be printed based on the initial print command, and control the nozzle to print the information to be printed based on the first logical state of the nozzle.

[0071] In one embodiment, the method further comprises the following steps:

[0072] The initial print command of the information to be printed is encrypted based on second authentication data to obtain a second print command, wherein the second authentication data is determined based on the characteristics of the ink cartridge; and the second print command is sent to the ink cartridge.

[0073] Wherein, the ink cartridge is used to control the nozzle of the ink cartridge to be in a second logical state based on second authentication data, and send the second authentication data to the printer, decrypt the second print command based on the second authentication data to obtain the initial print command, determine the information to be printed based on the initial print command, and control the nozzle to print the information to be printed based on the second logical state of the nozzle.

[0074] In an exemplary embodiment, a printing control method is provided, which is applied to Figure 1 In the application environment shown, the following steps are specifically included:

[0075] S1, based on the first authentication data Data-A0, control the nozzle of the ink cartridge to be in the first logic state Logic-0, and send the first authentication data Data-A0 to the printer, wherein the first authentication data Data-A0 is the first ink volume state of the ink cartridge.

[0076] S2, the printer receives the first authentication data Data-A0, uses the first authentication data Data-A0 to perform encryption operation on the initial print command PMA of the information to be printed, obtains the first print command PMA-0, and sends the first print command PMA-0 to the ink cartridge.

[0077] S3, the data authentication module 21 of the ink cartridge receives the first printing command PMA-0, decrypts it based on the first authentication data Data-A0, and obtains the initial printing command PMA.

[0078] S4, the data authentication module 21 of the ink cartridge sends the initial print command PMA to the nozzle controlled by the image printing module 22 in the ink cartridge, and the nozzle prints out the to-be-printed information corresponding to the initial print command PMA based on the first logic state Logic-0.

[0079] S5, after printing, due to the change in ink volume, the authentication data of the ink cartridge changes from the first authentication data Data-A0 corresponding to the first ink volume state to the second authentication data Data-A1 corresponding to the second ink volume state. Based on the second authentication data Data-A1, the nozzle of the ink cartridge is controlled to be in the second logic state Logic-1, and the second authentication data Data-A1 is sent to the printer.

[0080] S6, the printer receives the second authentication data Data-A1, uses the second authentication data Data-A1 to perform encryption operation on the initial print command PMA of the information to be printed, obtains the second print command PMA-1, and sends the second print command PMA-1 to the ink cartridge.

[0081] S7, the data authentication module 21 of the ink cartridge receives the second printing command PMA-1, decrypts it using the second authentication data Data-A1, and obtains the initial printing command PMA.

[0082] S8, the data authentication module 21 of the ink cartridge sends the initial print command PMA to the nozzle controlled by the image printing module 22 in the ink cartridge, and the nozzle prints out the to-be-printed information corresponding to the initial print command PMA based on the second logic state Logic-1.

[0083] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0084] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0085] Based on first authentication data, controlling the nozzle of the ink cartridge to be in a first logic state, and sending the first authentication data to a printer, wherein the first authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt an initial print command based on the first authentication data to obtain a first print command, wherein the initial print command is associated with information to be printed;

[0086] receiving the first print command sent by the printer, and decrypting the first print command based on the first authentication data to obtain the initial print command;

[0087] The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the first logic state of the nozzle.

[0088] In one embodiment, the characteristics of the ink cartridge include ink level status, ink cartridge model, and serial number.

[0089] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0090] A first authentication command sent by the printer is received, and the first authentication data is determined based on the first authentication command and the characteristics of the ink cartridge.

[0091] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0092] Based on second authentication data, controlling the nozzle to be in a second logic state, and sending the second authentication data to the printer, wherein the second authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt the initial print command based on the second authentication data to obtain a second print command;

[0093] receiving a second print command sent by the printer, and decrypting the second print command based on the second authentication data to obtain the initial print command;

[0094] The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the second logic state of the nozzle.

[0095] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0096] A second authentication command sent by the printer is received, and the second authentication data is determined based on the second authentication command and the characteristics of the ink cartridge.

[0097] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0098] When the ink level of the ink cartridge is less than a set threshold, a program burn instruction is sent to the nozzle of the ink cartridge to control the nozzle to end printing.

[0099] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0100] Encrypting an initial print command of the information to be printed based on first authentication data to obtain a first print command, wherein the first authentication data is determined based on the characteristics of the ink cartridge;

[0101] The first print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a first logical state based on first authentication data, and the first authentication data is sent to the printer, the first print command is decrypted based on the first authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and the nozzle is controlled to print the information to be printed based on the first logical state of the nozzle.

[0102] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0103] Encrypting an initial print command of the information to be printed based on second authentication data to obtain a second print command, wherein the second authentication data is determined based on the characteristics of the ink cartridge;

[0104] The second print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a second logical state based on second authentication data, and the second authentication data is sent to the printer, the second print command is decrypted based on the second authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and based on the second logical state of the nozzle, the nozzle is controlled to print the information to be printed.

[0105] It should be noted that the printing information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0106] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0107] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0108] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A printing control method, applied to an ink cartridge of a printer system, the system comprising an ink cartridge and a printer, characterized in that: The method comprises: Based on first authentication data, controlling the nozzle of the ink cartridge to be in a first logic state, and sending the first authentication data to a printer, wherein the first authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt an initial print command based on the first authentication data to obtain a first print command, wherein the initial print command is associated with information to be printed; receiving the first print command sent by the printer, and decrypting the first print command based on the first authentication data to obtain the initial print command; The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the first logic state of the nozzle.

2. The printing control method according to claim 1, characterized in that: The controlling the nozzle of the ink cartridge to be in a first logical state based on the first authentication data and sending the first authentication data to the printer comprises: A first authentication command sent by the printer is received, and the first authentication data is determined based on the first authentication command and the characteristics of the ink cartridge.

3. The printing control method according to claim 1, characterized in that: The characteristics of the ink cartridge include ink level status, ink cartridge model and serial number.

4. The printing control method according to claim 1, characterized in that: The method of determining the information to be printed based on the initial printing command and controlling the nozzle to print the information to be printed based on the first logic state of the nozzle comprises: Based on second authentication data, controlling the nozzle to be in a second logic state, and sending the second authentication data to the printer, wherein the second authentication data is determined based on the characteristics of the ink cartridge, and the printer is used to encrypt the initial print command based on the second authentication data to obtain a second print command; receiving a second print command sent by the printer, and decrypting the second print command based on the second authentication data to obtain the initial print command; The information to be printed is determined based on the initial printing command, and the nozzle is controlled to print the information to be printed based on the second logic state of the nozzle.

5. The printing control method according to claim 4, characterized in that: The receiving of the second print command sent by the printer and decrypting the second print command based on the second authentication data to obtain the initial print command comprises: A second authentication command sent by the printer is received, and the second authentication data is determined based on the second authentication command and the characteristics of the ink cartridge.

6. The printing control method according to any one of claims 1 to 5, characterized in that: The characteristic of the ink cartridge includes an ink level status, and the method further includes: When the ink level of the ink cartridge is less than a set threshold, a program burn instruction is sent to the nozzle of the ink cartridge to control the nozzle to end printing.

7. A printing control method, applied to a printer of a printer system, the system comprising an ink cartridge and a printer, characterized in that: The method comprises: Encrypting an initial print command of the information to be printed based on first authentication data to obtain a first print command, wherein the first authentication data is determined based on the characteristics of the ink cartridge; The first print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a first logical state based on first authentication data, and the first authentication data is sent to the printer, the first print command is decrypted based on the first authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and based on the first logical state of the nozzle, the nozzle is controlled to print the information to be printed.

8. The printing control method according to claim 7, characterized in that: The sending of the first print command to the ink cartridge comprises: Encrypting an initial print command of the information to be printed based on second authentication data to obtain a second print command, wherein the second authentication data is determined based on the characteristics of the ink cartridge; The second print command is sent to the ink cartridge, and the ink cartridge is used to control the nozzle of the ink cartridge to be in a second logical state based on second authentication data, and the second authentication data is sent to the printer, the second print command is decrypted based on the second authentication data to obtain the initial print command, the information to be printed is determined based on the initial print command, and based on the second logical state of the nozzle, the nozzle is controlled to print the information to be printed.

9. A printer system, comprising an ink cartridge and a printer, characterized in that: The ink cartridge is used to implement the steps of the method according to any one of claims 1 to 6 when executed, and the printer is used to implement the steps of the method according to any one of claims 7 to 8 when executed.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Printing device, authentication system and controlling method of the printing device

    CN102700251A

  • Supply authentication via timing challenge response

    CN105492211A