Print control method, system and storage medium
By controlling the logic state of the printhead through authentication data interaction between the ink cartridge and the printer, the problem of print quality degradation caused by recycled chips is solved, achieving the irreplaceability of original ink cartridges and high-quality printing.
Patent Information
- Application Number
- CN202310646032.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-01
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2043-06-01
AI Technical Summary
In existing technologies, replacing ink cartridge chips with recycled chips leads to a decline in print quality, and the irreplaceability of original ink cartridges and high-quality printing cannot be guaranteed.
By controlling the logical state of the ink cartridge printhead through authentication data based on ink cartridge characteristics and interacting with the printer to ensure that the printhead prints in a specific logical state, the authentication data association between the ink cartridge and the printer is realized, preventing the use of recycled chips.
This ensures the original ink cartridges are irreplaceable, improves print quality, and guarantees the integrity of the cartridges and the print results.
Smart Images

Figure CN119099210B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of ink cartridge authentication, in particular to a printing control method, system and storage medium. BACKGROUND
[0002] With the development of printer technology, the printer is undoubtedly an indispensable device in work and life. When using the printer, a corresponding ink cartridge usually needs to be used. The conventional printing method is that the printer receives the ink amount authentication data sent by the ink cartridge chip, and then sends a printing command to the ink cartridge nozzle to execute printing.
[0003] When the ink amount of the ink cartridge is used up once, the ink cartridge chip cannot be used again. In order to allow the ink cartridge to be reused, the existing regeneration method uses a regeneration chip to replace the function of the ink cartridge chip, and sends ink amount authentication data to the printer. After receiving the ink amount authentication data, the printer will send a printing command to the ink cartridge nozzle to execute printing. Although the use of the regeneration chip can reduce the replacement of the ink cartridge chip and allow the ink cartridge to be reused, the non-original regeneration chip cannot guarantee the printing quality. SUMMARY
[0004] Therefore, it is necessary to provide a printing control method, system and computer readable storage medium capable of guaranteeing the non-replaceability of the original ink cartridge chip and realizing high-quality printing in view of the above technical problems.
[0005] In a first aspect, the present application provides a printing control method applied to an ink cartridge of a printer system, wherein the system comprises an ink cartridge and a printer, and the method comprises:
[0006] controlling a nozzle of the ink cartridge to be in a first logic state based on first authentication data, and sending the first authentication data to the printer, wherein the first authentication data is determined based on characteristics of the ink cartridge, and the printer is configured to encrypt 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;
[0007] receiving the first printing command sent by the printer, and decrypting the first printing command based on the first authentication data to obtain the initial printing command;
[0008] 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.
[0009] In one embodiment, before the step of controlling the nozzle of the ink cartridge to be in the first logic state based on the first authentication data and sending the first authentication data to the printer, the method further comprises:
[0010] receiving the first authentication command sent by the printer, and determining the first authentication data based on the characteristics of the ink cartridge according to the first authentication command.
[0011] In one of the embodiments, the characteristics of the ink cartridge include ink amount status, ink cartridge model, and serial number.
[0012] In one of the embodiments, the method further includes, after determining the information to be printed based on the initial printing command and controlling the printhead to print the information to be printed based on the first logic state of the printhead:
[0013] controlling the printhead to be in a second logic state based on second authentication data, and sending the second authentication data to the printer, the second authentication data being determined based on the characteristics of the ink cartridge, the printer being configured to encrypt an initial printing command based on the second authentication data to obtain a second printing command;
[0014] receiving the second printing command sent by the printer, and decrypting the second printing command based on the second authentication data to obtain the initial printing command;
[0015] determining the information to be printed based on the initial printing command, and controlling the printhead to print the information to be printed based on the second logic state of the printhead.
[0016] In one of the embodiments, the method further includes, before receiving the second printing command sent by the printer and decrypting the second printing command based on the second authentication data to obtain the initial printing command:
[0017] receiving the second authentication command sent by the printer, and determining the second authentication data based on the characteristics of the ink cartridge according to the second authentication command.
[0018] In one of the embodiments, the characteristics of the ink cartridge include ink amount status, and the method further includes:
[0019] when the ink amount status of the ink cartridge is less than a set threshold, sending a program burnout instruction to the printhead of the ink cartridge to control the printhead to end printing.
[0020] In a second aspect, the application further provides a printing control method applied to a printer of a printer system, the system including an ink cartridge and a printer, and the method including:
[0021] encrypting an initial printing command of information to be printed based on first authentication data to obtain a first printing command, the first authentication data being determined based on characteristics of the ink cartridge;
[0022] sending the first print command to the ink cartridge, the ink cartridge being configured to control a print head of the ink cartridge to be in a first logic state based on first authentication data, and send the first authentication data to the printer, the printer being configured to decrypt the first print command based on the first authentication data to obtain an initial print command, determine the information to be printed based on the initial print command, and control the print head to print the information to be printed based on the first logic state of the print head.
[0023] In one of the embodiments, the sending the first print command to the ink cartridge comprises:
[0024] encrypting the initial print command of the information to be printed based on second authentication data to obtain a second print command, the second authentication data being determined based on a feature of the ink cartridge;
[0025] sending the second print command to the ink cartridge, the ink cartridge being configured to control a print head of the ink cartridge to be in a second logic state based on second authentication data, and send the second authentication data to the printer, the printer being configured to 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 print head to print the information to be printed based on the second logic state of the print head.
[0026] In a third aspect, the present application further provides a printer system, comprising an ink cartridge and a printer, the ink cartridge being configured to perform the steps of the method of the first aspect, and the printer being configured to perform the steps of the method of the second aspect.
[0027] In a fourth aspect, the present application further provides a computer readable storage medium, having a computer program stored thereon, the computer program being configured to perform the content of the first aspect and the second aspect when executed by a processor.
[0028] The above printing control method, system and storage medium, by controlling a print head of the ink cartridge to be in a first logic state based on first authentication data, and sending the first authentication data to the printer, the first authentication data being determined based on a feature of the ink cartridge, the printer being configured to encrypt an initial print command based on the first authentication data to obtain a first print command, the initial print command being associated with information to be printed; receiving the first print command sent by the printer, decrypting the first print command based on the first authentication data to obtain the initial print command; determining the information to be printed based on the initial print command, and controlling the print head to print the information to be printed based on the first logic state of the print head. The authentication data of the ink cartridge is associated with the print information, and the authentication data is associated with the print logic of the print head, which realizes the non-replacement of the original ink cartridge chip and improves the print quality. Attached Figure Description
[0029] Figure 1 This is a block diagram of a printer system in one embodiment;
[0030] Figure 2 This is a flowchart illustrating a printing control method in one embodiment;
[0031] Figure 3 This is a flowchart illustrating the steps following S206 in one embodiment;
[0032] Figure 4 This is a flowchart illustrating the printing control method in another embodiment. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0034] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0035] Unless otherwise defined, technical terms and scientific terms used in the present application shall have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. Unless otherwise defined, the terms "one" and "a" or "an" used in the present application do not denote a singular noun or singular quantity exclusively, but can also denote a plural noun or plural quantity. The terms "comprise", "comprising", "include", "including", "contain", "containing", "have" and "having" and any variations thereof used in the present application are intended to cover a non-exclusive inclusion; for example, a process, method, system, product or device that comprises a list of steps or modules (units) is not limited to the listed steps or units, but can also include additional steps or units not listed, or can also include other steps or units inherent to such process, method, product or device. The terms "connect", "connected", "couple", "coupled", and similar terms used in the present application are not limited to physical or mechanical connections, but can also include electrical connections, whether direct or indirect. The term "plurality" in the present application means two or more. The term "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects. The terms "first", "second", "third", and the like in the present application are only to distinguish similar objects, and do not represent a specific order for the objects.
[0036] The printing control method provided by the embodiments of the present application can be applied to a printer system as shown in Figure 1 The system includes a cartridge and a printer. The cartridge 102 communicates with the printer 104. The cartridge 102 includes a data authentication module 21 and an image printing module 22, and the image printing module 22 includes a print head for printing. A data storage system 106 can store printing data required by the printer 104 to process. The data storage system 106 can be integrated on the printer 104, or placed on the cloud or other device server. On the cartridge 102, based on first authentication data, the print head of the 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 cartridge, including ink amount state, cartridge model, serial number, etc. The printer 104 is used to encrypt an initial printing command based on the first authentication data to obtain a first printing command, the initial printing command is associated with to-be-printed information; receive the first printing command sent by the printer 104, decrypt the first printing command based on the first authentication data to obtain the initial printing command; determine the to-be-printed information based on the initial printing command, and control the print head to print the to-be-printed information based on the first logical state of the print head.
[0037] In one embodiment, asFigure 2 As shown, a printing control method is provided, and the method is applied to Figure 1 The cartridge 102 in the printer 100 is taken as an example for illustration, and the method comprises the following steps:
[0038] S202, based on the first authentication data, control the print head of the cartridge to be in a first logic state, and send the first authentication data to the printer.
[0039] The printer is configured to encrypt 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.
[0040] Specifically, in the prior art, whether a regenerated chip is used to replace the cartridge chip, the printing logic of the cartridge print head is not controlled by the authentication data in the cartridge chip or the regenerated chip, and the authentication data will not change due to the change of the characteristics of the cartridge, such as the change of ink amount. Therefore, some manufacturers produce regenerated chips to replace the cartridge chips to generate authentication data, which can very simply realize the regenerated use of the cartridge. However, the quality, model and compatibility of the regenerated chip cannot be comparable to the original cartridge chip, which is easy to cause the decline of printing quality. In this step, the authentication data of the cartridge is used to control the printing logic of the cartridge print head, the first authentication data is ensured to correspond to the first logic state of the print head, the authentication data of the cartridge is associated with the print head, the regenerated use of the cartridge by using the regenerated chip is avoided, the integrity of the original cartridge is ensured, and the printing quality is improved.
[0041] S204, receiving the first printing command sent by the printer, decrypting the first printing command based on the first authentication data to obtain the initial printing command.
[0042] Specifically, after the first authentication data of the cartridge is sent to the printer in S202, the printer encrypts the initial printing command of the to-be-printed information by using the first authentication data to obtain the first printing command, and sends the first printing command to the cartridge. After receiving the first printing command, the cartridge decrypts the first printing command based on the first authentication data to obtain the initial printing command.
[0043] The first authentication data is determined based on the characteristics of the cartridge, and the characteristics of the cartridge include ink amount state, cartridge model, serial number, etc.
[0044] S206, determining the to-be-printed information based on the initial printing command, and controlling the print head to print the to-be-printed information based on the first logic state of the print head.
[0045] Specifically, after receiving the initial printing command, the ink cartridge determines the to-be-printed information corresponding to the initial printing command, and sends the initial printing command to the nozzle. The nozzle, in the first logic state, prints the to-be-printed information according to the initial printing command.
[0046] In the printing control method, the first authentication data is determined based on the characteristics of the ink cartridge, the nozzle of the ink cartridge is controlled to be in the first logic state based on the first authentication data, and the first authentication data is sent to the printer. The printer is configured to encrypt the initial printing command based on the first authentication data to obtain a first printing command, the initial printing command being associated with to-be-printed information. The first printing command sent by the printer is received, the first printing command is decrypted based on the first authentication data to obtain the initial printing command. The to-be-printed information is determined based on the initial printing command, and the nozzle is controlled to print the to-be-printed information based on the first logic 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. The non-reproducibility of the original ink cartridge is achieved, and the printing quality is improved.
[0047] In one of the embodiments, before S202, based on the first authentication data, the nozzle of the ink cartridge is controlled to be in the first logic state, and the first authentication data is sent to the printer, the following steps are further included:
[0048] S201, receiving the first authentication command sent by the printer, and determining the first authentication data based on the characteristics of the ink cartridge according to the first authentication command.
[0049] Specifically, the ink cartridge receives the first authentication command sent by the printer, and sends the first authentication data of the ink cartridge to the printer. The first authentication data includes the first ink amount state, the ink cartridge model, the serial number, and the like of the ink cartridge at this time.
[0050] In one embodiment, as shown in Figure 3 S206, based on the initial printing command, the to-be-printed information is determined, and the nozzle is controlled to print the to-be-printed information based on the first logic state of the nozzle. After the step, the following steps are further included:
[0051] S302, based on the second authentication data, the nozzle is controlled to be in the second logic state, and the second authentication data is sent to the printer.
[0052] The second authentication data is determined based on the characteristics of the ink cartridge, and the printer is configured to encrypt the initial printing command based on the second authentication data to obtain a second printing command.
[0053] Specifically, the printhead prints the to-be-printed image based on the first logic state and the initial print command under the first authentication data, and after the printing is completed, the ink amount state in the feature of the ink cartridge changes from the first ink amount state corresponding to the first authentication data to the second ink amount state corresponding to the second authentication data. Based on the second authentication data, the ink cartridge chip controls the printhead to be in the second logic state and sends the second authentication data to the printer.
[0054] S304, receiving the second print command sent by the printer, decrypting the second print command based on the second authentication data to obtain the initial print command.
[0055] Specifically, after the second authentication data is sent to the printer at S302, the printer encrypts the to-be-printed information based on the second authentication data to obtain the second print command. The ink cartridge receives the second print command sent by the printer and decrypts the second print command by using the second authentication data to obtain the initial print command.
[0056] S306, determining the to-be-printed information based on the initial print command, and controlling the printhead to print the to-be-printed information based on the second logic state of the printhead.
[0057] Specifically, after the ink cartridge obtains the initial print command, the to-be-printed information corresponding to the initial print command is determined, and the initial print command is sent to the printhead. The printhead prints the to-be-printed information under the control of the second logic state.
[0058] In this embodiment, the printhead is controlled to be in the second logic state by the second authentication data of the ink cartridge, and the to-be-printed information is encrypted by the second authentication data to obtain the second print command closely related to the second authentication data. When the feature of the ink cartridge (especially the ink amount state) changes, the printing process is controlled by the feature change, which ensures the integrity of the printing performed by the original ink cartridge and improves the printing quality.
[0059] In one of the embodiments, before S302, the method further comprises the following steps:
[0060] S301, receiving the second authentication command sent by the printer, and determining the second authentication data based on the feature of the ink cartridge according to the first authentication command.
[0061] Specifically, the ink cartridge receives the second authentication command sent by the printer, and sends the second authentication data of the ink cartridge to the printer. The second authentication data includes the second ink amount state of the ink cartridge, the model number of the ink cartridge, the serial number, and the like.
[0062] In one embodiment, the method further comprises the following steps:
[0063] When the ink amount status 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, to further ensure the consistency of the original ink cartridge and the ink cartridge chip, when the ink amount status of the ink cartridge is less than a set threshold, the ink cartridge chip will send a program burn instruction to the nozzle to end the printing function of the nozzle.
[0065] In the above embodiment, through the program burn instruction, when the ink amount is less than the threshold, the printing function of the nozzle is ended, at this time, even if the chip of the ink cartridge is replaced, the ink cartridge cannot execute the printing function again, further ensuring the integrity of the original ink cartridge.
[0066] Based on the same inventive concept, the embodiments of the present application also provide a printing control method 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 described in the above method, and therefore the specific limitations in one or more embodiments provided below can refer to the limitations of the printing control method applied to the ink cartridge of the printer system described above, which will not be described here.
[0067] In one embodiment, as shown in Figure 4 a printing control method applied to a printer of a printer system is provided, and the method comprises the following steps:
[0068] S402, encrypting an initial printing command of the to-be-printed information based on first authentication data to obtain a first printing command, the first authentication data being determined based on the characteristics of the ink cartridge.
[0069] S404, sending the first printing command to the ink cartridge.
[0070] The ink cartridge is configured to control the nozzle of the ink cartridge to be in a first logic state based on first authentication data, and send the first authentication data to the printer, decrypt the first printing command based on the first authentication data to obtain the initial printing command, determine the to-be-printed information based on the initial printing command, and control the nozzle to print the to-be-printed information based on the first logic state of the nozzle.
[0071] In one of the embodiments, the method further comprises the following steps:
[0072] encrypting an initial printing command of the to-be-printed information based on second authentication data to obtain a second printing command, the second authentication data being determined based on the characteristics of the ink cartridge; and sending the second printing command to the ink cartridge.
[0073] The ink cartridge is configured to control the ink ejection head to be in a second logic state based on second authentication data, 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 ink ejection head to print the information to be printed based on the second logic state of the ink ejection head.
[0074] In one example embodiment, a print control method is provided, which is applied to an application environment as shown in Figure 1 The method comprises the following steps:
[0075] S1, control the ink ejection head of the ink cartridge to be in a first logic state based on first authentication data Data-A0, and send the first authentication data Data-A0 to the printer. The first authentication data Data-A0 is the first ink level state of the ink cartridge.
[0076] S2, the printer receives the first authentication data Data-A0, performs an encryption operation on the initial print command PMA of the information to be printed using the first authentication data Data-A0 to obtain a 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 print command PMA-0, decrypts it based on the first authentication data Data-A0 to obtain the initial print command PMA.
[0078] S4, the data authentication module 21 of the ink cartridge sends the initial print command PMA to the ink ejection head controlled by the image printing module 22 of the ink cartridge, and the ink ejection head prints the information to be printed corresponding to the initial print command PMA based on the first logic state Logic-0.
[0079] S5, after printing, due to the change of ink level, the authentication data of the ink cartridge changes from the first authentication data Data-A0 corresponding to the first ink level state to the second authentication data Data-A1 corresponding to the second ink level state. The ink ejection head of the ink cartridge is controlled to be in a second logic state based on the second authentication data Data-A1, and the second authentication data Data-A1 is sent to the printer.
[0080] S6, the printer receives the second authentication data Data-A1, performs an encryption operation on the initial print command PMA of the information to be printed using the second authentication data Data-A1 to obtain a 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 print command PMA-1, decrypts it using the second authentication data Data-A1, and obtains the initial print command PMA.
[0082] S8, the data authentication module 21 of the ink cartridge sends the initial print command PMA to the ink head controlled by the image printing module 22 of the ink cartridge, and the ink head prints the information to be printed corresponding to the initial print command PMA based on the second logic state Logic-1.
[0083] It should be understood that although each step in the flowchart involved in each embodiment as described above is shown in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which 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 sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0084] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0085] Based on the first authentication data, control the ink head of the ink cartridge to be in a first logic state, and send the first authentication data to a printer, the first authentication data being determined based on the characteristics of the ink cartridge, the printer being configured to encrypt an initial print command based on the first authentication data to obtain a first print command, the initial print command being associated with information to be printed;
[0086] 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;
[0087] Determine the information to be printed based on the initial print command, and control the ink head to print the information to be printed based on the first logic state of the ink head.
[0088] In one embodiment, the characteristics of the ink cartridge include ink amount state, ink cartridge model and serial number.
[0089] In one embodiment, the computer program is executed by the processor to further implement the following steps:
[0090] receive the first authentication command sent by the printer, and determine the first authentication data based on the characteristics of the ink cartridge according to the first authentication command.
[0091] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0092] based on the second authentication data, control the printhead to be in a second logic state, and send the second authentication data to the printer, which 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] receive the second print command sent by the printer, and decrypt the second print command based on the second authentication data to obtain the initial print command;
[0094] determine the to-be-printed information based on the initial print command, and control the printhead to print the to-be-printed information based on the second logic state of the printhead.
[0095] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0096] receive the second authentication command sent by the printer, and determine the second authentication data based on the characteristics of the ink cartridge according to the second authentication command.
[0097] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0098] When the ink amount state of the ink cartridge is less than a set threshold, send a program burnout instruction to the printhead of the ink cartridge to control the printhead to end printing.
[0099] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0100] encrypt the initial print command of the to-be-printed information based on the first authentication data to obtain a first print command, and the first authentication data is determined based on the characteristics of the ink cartridge;
[0101] send the first print command to the ink cartridge, and the ink cartridge is used to control the printhead of the ink cartridge to be in a first logic state based on the first authentication data, and send the first authentication data to the printer, and the printer is used to decrypt the first print command based on the first authentication data to obtain the initial print command, determine the to-be-printed information based on the initial print command, and control the printhead to print the to-be-printed information based on the first logic state of the printhead.
[0102] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0103] encrypt the initial print command of the to-be-printed information based on second authentication data, to obtain a second print command, wherein the second authentication data is determined based on the feature of the ink cartridge;
[0104] send the second print command to the ink cartridge, and the ink cartridge is configured to control the nozzle to be in a second logic state based on the 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 to-be-printed information based on the initial print command, and control the nozzle to print the to-be-printed information based on the second logic state of the nozzle.
[0105] It should be noted that the printing information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to 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. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to 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 (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0107] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0108] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A print control method applied to a cartridge of a printer system, the system including a cartridge and a printer, characterized by, The method comprises: controlling the ink cartridge to be in a first logic state based on first authentication data, and sending the first authentication data to a printer, the first authentication data being determined based on characteristics of the ink cartridge, the printer being configured to encrypt an initial print command based on the first authentication data to obtain a first print command, the initial print command being associated with to-be-printed information; 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; determining the to-be-printed information based on the initial print command, and controlling the ink cartridge to print the to-be-printed information based on the first logic state of the ink cartridge; controlling the ink cartridge to be in a second logic state based on second authentication data, and sending the second authentication data to a printer, the second authentication data being determined based on characteristics of the ink cartridge, the printer being configured to encrypt an initial print command based on the second authentication data to obtain a second print command; receiving 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; determining the to-be-printed information based on the initial print command, and controlling the ink cartridge to print the to-be-printed information based on the second logic state of the ink cartridge.
2. The print control method according to claim 1, characterized by, Before the step of controlling the ink cartridge to be in a first logic state based on first authentication data, and sending the first authentication data to a printer, the method further comprises: receiving a first authentication command sent by the printer, and determining the first authentication data based on the characteristics of the ink cartridge according to the first authentication command.
3. The print control method according to claim 1, characterized by, The characteristics of the ink cartridge include ink amount state, ink cartridge model, and serial number.
4. The print control method according to claim 1, characterized by, Before the step of receiving 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, the method further comprises: receiving a second authentication command sent by the printer, and determining the second authentication data based on the characteristics of the ink cartridge according to the second authentication command.
5. The print control method according to any one of claims 1 to 4, characterized by, The characteristics of the ink cartridge include ink amount state, and the method further comprises: when the ink amount state of the ink cartridge is less than a set threshold, sending a program burnout instruction to the ink cartridge to control the ink cartridge to end printing.
6. A print control method applied to a printer of a printer system including a cartridge and a printer, characterized by, The method comprises: encrypting an initial print command of to-be-printed information based on first authentication data to obtain a first print command, the first authentication data being determined based on characteristics of the ink cartridge; sending the first print command to the ink cartridge, the ink cartridge being configured to control the ink cartridge to be in a first logic state based on first authentication data, and send the first authentication data to a printer, decrypt the first print command based on the first authentication data to obtain the initial print command, determine the to-be-printed information based on the initial print command, and control the ink cartridge to print the to-be-printed information based on the first logic state of the ink cartridge; encrypting an initial print command of to-be-printed information based on second authentication data to obtain a second print command, the second authentication data being determined based on characteristics of the ink cartridge; sending the second print command to the ink cartridge, the ink cartridge being configured to control a 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.
7. A printer system comprising a cartridge and a printer, characterized in that, The ink cartridge is configured to implement the steps of the method of any one of claims 1 to 5 when executed, and the printer is configured to implement the steps of the method of claim 6 when executed.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is configured to implement the steps of the method of any one of claims 1 to 6 when executed by a processor.
Citation Information
Patent Citations
Printing device, authentication system and controlling method of the printing device
CN102700251A
Supply authentication via timing challenge response
CN105492211A