[go: up one dir, main page]

CN112622448B - Method and system for designing ink box chip supporting circular ink adding - Google Patents

Method and system for designing ink box chip supporting circular ink adding Download PDF

Info

Publication number
CN112622448B
CN112622448B CN202011496734.5A CN202011496734A CN112622448B CN 112622448 B CN112622448 B CN 112622448B CN 202011496734 A CN202011496734 A CN 202011496734A CN 112622448 B CN112622448 B CN 112622448B
Authority
CN
China
Prior art keywords
ink
printer
ink box
chip
command sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011496734.5A
Other languages
Chinese (zh)
Other versions
CN112622448A (en
Inventor
许程凯
厉祥春
洪享
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Kingchip Electronics Technology Co ltd
Original Assignee
Shanghai Kingchip Electronics Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Kingchip Electronics Technology Co ltd filed Critical Shanghai Kingchip Electronics Technology Co ltd
Priority to CN202011496734.5A priority Critical patent/CN112622448B/en
Publication of CN112622448A publication Critical patent/CN112622448A/en
Application granted granted Critical
Publication of CN112622448B publication Critical patent/CN112622448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • B41J2/17543Cartridge presence detection or type identification
    • B41J2/17546Cartridge presence detection or type identification electronically
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17566Ink level or ink residue control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism

Landscapes

  • Ink Jet (AREA)

Abstract

The invention provides a method and a system for designing an ink box chip supporting circular ink adding, which mainly comprises three main processes of obtaining authentication process information of a printer to the ink box chip, obtaining record and control process information of the printer to the ink box ink quantity, and obtaining a detection prohibition command sequence corresponding to the printer to realize the detection operation of the ink quantity prohibition, wherein the printer only carries out the authentication of the ink box chip and does not carry out judgment and detection on the residual ink quantity by utilizing an ink quantity detection prohibition mode existing in the printer, and the printer carries out setting operation according to a corresponding mode, so that the response capability of the printer for executing a printing task can be enhanced at the cost of reducing the accuracy of the display of the residual ink quantity information of the printer according to the requirements of a user, the printer can only complete the chip authentication according to the characteristic data of the ink box chip, and the residual ink quantity information is not used as the basis of whether the printing task is executed or not, thus, the ink box can be circularly filled with ink and recycled.

Description

Method and system for designing ink box chip supporting circular ink adding
Technical Field
The invention relates to the technical field of printer control, in particular to a method and a system for designing an ink box chip supporting cyclic ink filling.
Background
The ink box of the printer is usually provided with an ink box chip, the ink box chip stores the actual residual ink amount information in the ink box, and in the using process of the ink box, along with the continuous reduction of the actual residual ink amount, the printer can obtain corresponding information from the ink box chip and prompt a user to replace the ink box after the ink amount is exhausted. However, in some cases, the printer performs printing control according to the remaining ink amount information of the cartridge chip, which does not meet the printing requirements of the user, for example, when there is still ink in the cartridge, but the remaining ink amount information indicates that the ink is exhausted, the printer cannot perform the printing task, and the ink cannot be fully utilized. In addition, in order to achieve the purpose of recycling the ink cartridge and achieving environmental protection, the ink cartridge is often required to be refilled with ink to achieve recycling of the ink cartridge, which needs to primarily solve the problem that the printer prohibits the printing task according to the remaining ink amount information contained in the ink cartridge chip.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method and a system for designing an ink box chip supporting cyclic ink filling, the method comprises the steps of obtaining the information of the authentication process of a printer on an ink box chip, determining the information of the authentication command sequence of the printer according to the information of the authentication process, acquiring the recording and control process information of the printer on the ink amount of the ink box, determining the recording mode of the printer on the ink amount of the ink box according to the recording and control process information, acquiring a detection prohibition command sequence corresponding to the printer for realizing the detection operation of the ink amount prohibition, according to the detection prohibition command sequence, the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip, and finally, according to the ink quantity detection prohibition mode, the printer stops a recording mode of the ink quantity of the ink box; it can be seen that the method and system for designing ink box chip supporting circular ink adding mainly includes three main processes of obtaining authentication process information of printer to ink box chip, obtaining record and control process information of printer to ink box ink quantity and obtaining forbidden detection command sequence corresponding to printer self-body implementing forbidden ink quantity detection operation, and utilizes the ink quantity detection forbidden mode existed in printer itself to make printer only implement ink box chip authentication and do not make judgment and detection for residual ink quantity, and make printer implement setting operation according to correspondent mode, and can raise response capability of printer to execute printing task according to user's requirement and at the cost of reducing accuracy of printer residual ink quantity information display so as to make printer only implement chip authentication according to the characteristic data of ink box chip, and do not use residual ink quantity information as basis for executing printing task, thus, the ink box can be circularly filled with ink and recycled.
The invention provides a method for designing an ink box chip supporting cyclic ink filling, which is characterized by comprising the following steps of:
step S1, obtaining the authentication process information of the printer to the ink box chip, and determining the authentication command sequence information of the printer according to the authentication process information;
step S2, acquiring the information of the recording and control process of the ink amount of the ink box by the printer, and determining the recording mode of the ink amount of the ink box by the printer according to the information of the recording and control process;
step S3, acquiring a detection prohibition command sequence corresponding to the printer to realize the ink quantity detection prohibition operation, and instructing the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip according to the detection prohibition command sequence;
a step S4 of stopping a recording mode of the ink amount of the ink cartridge by the printer according to the ink amount detection disabling mode;
further, in step S1, acquiring authentication process information of the printer on the ink cartridge chip, and determining the authentication command sequence information of the printer according to the authentication process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information is obtained when the printer authenticates the ink box chip;
further, in step S2, the acquiring information of recording and controlling process of the amount of ink in the ink cartridge by the printer, and determining the recording mode of the amount of ink in the ink cartridge by the printer according to the information of recording and controlling process specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, correspondingly storing the original ink quantity of the ink box as a series of 1 bits, and in the process of recording the ink quantity of the ink box, sequentially and unidirectionally rewriting the series of 1 bits into 0 bits so as to determine the residual value of the ink quantity of the ink box;
further, in step S3, acquiring a detection prohibition command sequence corresponding to the printer itself realizing the ink amount detection prohibition operation, and according to the detection prohibition command sequence, instructing, by the printer, the ink cartridge chip to directly enter the ink amount detection prohibition mode when authenticating the ink cartridge chip specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the cyclic redundancy check, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, and rewriting an ink quantity detection prohibition code address in the ink box chip according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
further, in the step S4, the stopping of the recording mode of the printer for the ink amount of the ink cartridge according to the ink amount detection disabling mode specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
and when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop rewriting the series of 1 bits into 0 bits in a one-way mode according to the ink quantity detection disable mode.
The invention also provides a system for designing the ink box chip supporting the circular ink adding, which is characterized by comprising an authentication command sequence information determining module, an ink box ink quantity recording mode determining module, an ink quantity detection forbidding module determining module and an ink box ink quantity stop recording executing module; wherein,
the authentication command sequence information determining module is used for acquiring authentication process information of the printer on the ink box chip and determining the authentication command sequence information of the printer according to the authentication process information;
the ink box ink quantity recording mode determining module is used for acquiring recording and control process information of the ink quantity of the ink box by the printer and determining a recording mode of the ink quantity of the ink box by the printer according to the recording and control process information;
the ink quantity detection forbidding module determining module is used for acquiring a forbidding detection command sequence corresponding to the printer to realize the forbidding ink quantity detection operation, and according to the forbidding detection command sequence, the printer instructs the ink box chip to directly enter an ink quantity detection forbidding mode when authenticating the ink box chip;
the ink cartridge ink amount stop recording execution module is used for stopping a recording mode of the printer on the ink amount of the ink cartridge according to the ink amount detection forbidding mode;
further, the step of obtaining the authentication process information of the ink cartridge chip by the printer by the authentication command sequence information determining module, and determining the authentication command sequence information of the printer according to the authentication process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information is obtained when the printer authenticates the ink box chip;
further, the ink cartridge ink amount recording mode determining module acquires recording and control process information of the ink amount of the ink cartridge by the printer, and determines the recording mode of the ink amount of the ink cartridge by the printer according to the recording and control process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, correspondingly storing the original ink quantity of the ink box as a series of 1 bits, and in the process of recording the ink quantity of the ink box, sequentially and unidirectionally rewriting the series of 1 bits into 0 bits so as to determine the residual value of the ink quantity of the ink box;
further, the step of acquiring, by the ink amount detection disabling module determining module, a detection prohibition command sequence corresponding to the printer itself realizing the ink amount detection prohibition operation, and instructing, according to the detection prohibition command sequence, the ink cartridge chip to directly enter the ink amount detection disabling mode when the printer authenticates the ink cartridge chip specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the cyclic redundancy check, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, and rewriting an ink quantity detection prohibition code address in the ink box chip according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
further, the ink cartridge ink amount stop recording execution module, according to the ink amount detection disable mode, specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
and when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop rewriting the series of 1 bits into 0 bits in a one-way mode according to the ink quantity detection disable mode.
Compared with the prior art, the method and the system for detecting the disabled mode of the ink quantity of the printer determine the authentication command sequence information of the printer for the ink box chip by acquiring the authentication process information of the printer for the ink box chip, acquire the recording and control process information of the printer for the ink quantity of the ink box, determine the recording mode of the printer for the ink quantity of the ink box according to the recording and control process information, acquire the detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, enable the printer to instruct the ink box chip to directly enter the ink quantity detection disabled mode when authenticating the ink box chip according to the detection prohibition command sequence, and finally stop the recording mode of the printer for the ink quantity of the ink box according to the ink quantity detection disabled mode; it can be seen that the method and system for designing ink box chip supporting circular ink adding mainly includes three main processes of obtaining authentication process information of printer to ink box chip, obtaining record and control process information of printer to ink box ink quantity and obtaining forbidden detection command sequence corresponding to printer self-body implementing forbidden ink quantity detection operation, and utilizes the ink quantity detection forbidden mode existed in printer itself to make printer only implement ink box chip authentication and do not make judgment and detection for residual ink quantity, and make printer implement setting operation according to correspondent mode, and can raise response capability of printer to execute printing task according to user's requirement and at the cost of reducing accuracy of printer residual ink quantity information display so as to make printer only implement chip authentication according to the characteristic data of ink box chip, and do not use residual ink quantity information as basis for executing printing task, thus, the ink box can be circularly filled with ink and recycled.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for designing an ink cartridge chip supporting circular ink filling according to the present invention.
FIG. 2 is a schematic structural diagram of a system for designing a cartridge chip supporting cyclic ink filling according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flow chart of a method for designing an ink cartridge chip supporting cyclic ink filling according to an embodiment of the present invention is shown. The method for designing the ink box chip supporting the circular ink adding comprises the following steps:
step S1, obtaining the authentication process information of the printer to the ink box chip, and determining the authentication command sequence information of the printer according to the authentication process information;
step S2, acquiring the information of the recording and control process of the ink amount of the ink box by the printer, and determining the recording mode of the ink amount of the ink box by the printer according to the information of the recording and control process;
step S3, acquiring a detection prohibition command sequence corresponding to the printer to realize the ink quantity detection prohibition operation, and instructing the ink cartridge chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink cartridge chip according to the detection prohibition command sequence;
in step S4, the recording mode of the printer for the ink amount of the ink cartridge is stopped according to the ink amount detection disable mode.
The beneficial effects of the above technical scheme are: the beneficial effects of the above technical scheme are: the method for designing the ink box chip supporting the circular ink adding mainly comprises three main processes of obtaining authentication process information of a printer to the ink box chip, obtaining record and control process information of the printer to the ink box and obtaining a detection prohibition command sequence corresponding to the printer to realize the detection operation of the ink quantity prohibition, wherein the printer only carries out the authentication of the ink box chip and does not carry out judgment and detection on the residual ink quantity by utilizing an ink quantity detection prohibition mode existing in the printer, and carries out setting operation according to a corresponding mode, so that the response capability of the printer for executing a printing task is enhanced at the cost of reducing the accuracy of the display of the residual ink quantity information of the printer according to the requirements of a user, the printer only completes the chip authentication according to the characteristic data of the ink box chip, and the residual ink quantity information is not used as the basis of whether the printing task is executed or not, thus, the ink box can be circularly filled with ink and recycled.
Preferably, in step S1, the obtaining of the authentication process information of the printer on the ink cartridge chip, and determining the authentication command sequence information of the printer according to the authentication process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information when the printer authenticates the ink box chip is obtained; wherein the encryption algorithm may be, but is not limited to, DES variant encryption algorithm or block round robin encryption algorithm.
The beneficial effects of the above technical scheme are: because the prior printer mainly utilizes the DES variant encryption algorithm or the grouping circulation encryption algorithm to authenticate the ink box chip, the two encryption algorithms have different information processing processes on the ink box chip, the corresponding authentication command sequence information generated when the ink box chip is authenticated is also correspondingly different, and the authentication command sequence information can influence the accuracy and the reliability of the subsequent acquisition of the detection prohibition command sequence, therefore, the corresponding authentication command sequence information is obtained on the occasions of utilizing the DES variant encryption algorithm and the grouping circulation encryption algorithm, which is beneficial to improving the convenience and the controllability of the acquisition of the detection prohibition command sequence of the printer.
Preferably, in the step S2, the acquiring information of recording and controlling process of ink amount of the ink cartridge by the printer, and the determining the recording mode of ink amount of the ink cartridge by the printer according to the information of recording and controlling process specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, the original ink quantity of the ink box is correspondingly stored as a series of 1 bits, and in the process of recording the ink quantity of the ink box, the series of 1 bits are sequentially and unidirectionally rewritten into 0 bits, so that the ink quantity residual value of the ink box is determined.
The beneficial effects of the above technical scheme are: the ink quantity residual information in the ink box is calculated and determined according to two different encryption algorithms, namely a DES variant encryption algorithm and a grouping circulation encryption algorithm, so that the calculation accuracy of the ink quantity residual information can be guaranteed to the maximum extent, and the error of the ink quantity residual information can be avoided to the maximum extent.
Preferably, in step S3, acquiring a prohibition detection command sequence corresponding to the printer itself realizing the prohibition of the ink quantity detection operation, and according to the prohibition detection command sequence, instructing the ink cartridge chip to directly enter the ink quantity detection prohibition mode when the printer authenticates the ink cartridge chip specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the Cyclic Redundancy Check (CRC), so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, a detection prohibition command sequence corresponding to the fact that the printer realizes the ink quantity detection prohibition operation is obtained, and the ink quantity detection prohibition code address in the ink box chip is rewritten according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip.
The beneficial effects of the above technical scheme are: the printer generates a corresponding Cyclic Redundancy Check (CRC) value under the scene that the DES variant encryption algorithm is used for authenticating the ink box chip, can quickly indicate the ink box chip to directly enter an ink quantity detection forbidding mode when the printer authenticates the ink box chip, and obtains the forbidding detection command sequence under the scene that the printer authenticates the ink box chip by using the grouping cyclic encryption algorithm, thereby simplifying the process of indicating the ink box chip to directly enter the ink quantity detection forbidding mode.
Preferably, in the step S4, the stopping of the recording mode of the printer for the ink amount of the ink cartridge according to the ink amount detection disabling mode specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
when the printer uses an encryption algorithm to authenticate the ink box chip, indicating to stop rewriting the series of 1 bits into 0 bits in a single direction according to the ink quantity detection disable mode.
The beneficial effects of the above technical scheme are: when the printer uses a DES variant encryption algorithm or a packet cycle encryption algorithm to authenticate the ink box chip, the printer instructs to stop accumulating the first count value and performing decrement processing on the second count value or to stop rewriting the series of 1 bits into 0 bits in a one-way mode, so that the printer can be quickly instructed to directly enter an ink amount detection forbidding mode, and the use convenience of a user on the printer is greatly improved.
Fig. 2 is a schematic structural diagram of a system for designing a cartridge chip supporting cyclic ink filling according to an embodiment of the present invention. The system for designing the ink box chip supporting the circular ink adding comprises an authentication command sequence information determining module, an ink box ink quantity recording mode determining module, an ink quantity detection disabling module determining module and an ink box ink quantity stop recording executing module; wherein,
the authentication command sequence information determining module is used for acquiring authentication process information of the printer on the ink box chip and determining the authentication command sequence information of the printer according to the authentication process information;
the ink box ink quantity recording mode determining module is used for acquiring recording and control process information of the ink quantity of the ink box by the printer and determining a recording mode of the ink quantity of the ink box by the printer according to the recording and control process information;
the ink quantity detection forbidding module determining module is used for acquiring a forbidding detection command sequence corresponding to the printer to realize the forbidding ink quantity detection operation, and according to the forbidding detection command sequence, the printer instructs the ink box chip to directly enter an ink quantity detection forbidding mode when authenticating the ink box chip;
the ink cartridge ink amount stop recording execution module is used for stopping the recording mode of the printer for the ink amount of the ink cartridge according to the ink amount detection disable mode.
The beneficial effects of the above technical scheme are: the method for designing the ink box chip supporting the circular ink adding mainly comprises three main processes of obtaining authentication process information of a printer to the ink box chip, obtaining record and control process information of the printer to the ink box and obtaining a detection prohibition command sequence corresponding to the printer to realize the detection operation of the ink quantity prohibition, wherein the printer only carries out the authentication of the ink box chip and does not carry out judgment and detection on the residual ink quantity by utilizing an ink quantity detection prohibition mode existing in the printer, and carries out setting operation according to a corresponding mode, so that the response capability of the printer for executing a printing task is enhanced at the cost of reducing the accuracy of the display of the residual ink quantity information of the printer according to the requirements of a user, the printer only completes the chip authentication according to the characteristic data of the ink box chip, and the residual ink quantity information is not used as the basis of whether the printing task is executed or not, thus, the ink box can be circularly filled with ink and recycled.
Preferably, the authentication command sequence information determining module obtains authentication process information of the printer on the ink cartridge chip, and determines the authentication command sequence information of the printer according to the authentication process information, specifically including:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information when the printer authenticates the ink box chip is obtained; wherein the encryption algorithm may be, but is not limited to, DES variant encryption algorithm or block round robin encryption algorithm.
The beneficial effects of the above technical scheme are: because the prior printer mainly utilizes the DES variant encryption algorithm or the grouping circulation encryption algorithm to authenticate the ink box chip, the two encryption algorithms have different information processing processes on the ink box chip, the corresponding authentication command sequence information generated when the ink box chip is authenticated is also correspondingly different, and the authentication command sequence information can influence the accuracy and the reliability of the subsequent acquisition of the detection prohibition command sequence, therefore, the corresponding authentication command sequence information is obtained on the occasions of utilizing the DES variant encryption algorithm and the grouping circulation encryption algorithm, which is beneficial to improving the convenience and the controllability of the acquisition of the detection prohibition command sequence of the printer.
Preferably, the ink cartridge ink amount recording mode determining module acquires recording and control process information of the ink amount of the ink cartridge by the printer, and determines the recording mode of the ink amount of the ink cartridge by the printer according to the recording and control process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, the original ink quantity of the ink box is correspondingly stored as a series of 1 bits, and in the process of recording the ink quantity of the ink box, the series of 1 bits are sequentially and unidirectionally rewritten into 0 bits, so that the ink quantity residual value of the ink box is determined.
The beneficial effects of the above technical scheme are: the ink quantity residual information in the ink box is calculated and determined according to two different encryption algorithms, namely a DES variant encryption algorithm and a grouping circulation encryption algorithm, so that the calculation accuracy of the ink quantity residual information can be guaranteed to the maximum extent, and the error of the ink quantity residual information can be avoided to the maximum extent.
Preferably, the step of acquiring, by the ink amount detection disabling module determining module, a detection prohibition command sequence corresponding to the fact that the printer itself realizes the ink amount detection prohibition operation, and according to the detection prohibition command sequence, the step of instructing, by the printer, the ink cartridge chip to directly enter the ink amount detection disabling mode when authenticating the ink cartridge chip specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the Cyclic Redundancy Check (CRC), so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, a detection prohibition command sequence corresponding to the fact that the printer realizes the ink quantity detection prohibition operation is obtained, and the ink quantity detection prohibition code address in the ink box chip is rewritten according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip.
The beneficial effects of the above technical scheme are: the printer generates a corresponding Cyclic Redundancy Check (CRC) value under the scene that the DES variant encryption algorithm is used for authenticating the ink box chip, can quickly indicate the ink box chip to directly enter an ink quantity detection forbidding mode when the printer authenticates the ink box chip, and obtains the forbidding detection command sequence under the scene that the printer authenticates the ink box chip by using the grouping cyclic encryption algorithm, thereby simplifying the process of indicating the ink box chip to directly enter the ink quantity detection forbidding mode.
Preferably, the ink cartridge ink amount stop recording execution module stops the recording mode of the ink amount of the ink cartridge by the printer according to the ink amount detection disable mode, and specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
when the printer uses an encryption algorithm to authenticate the ink box chip, indicating to stop rewriting the series of 1 bits into 0 bits in a single direction according to the ink quantity detection disable mode.
The beneficial effects of the above technical scheme are: when the printer uses a DES variant encryption algorithm or a packet cycle encryption algorithm to authenticate the ink box chip, the printer instructs to stop accumulating the first count value and performing decrement processing on the second count value or to stop rewriting the series of 1 bits into 0 bits in a one-way mode, so that the printer can be quickly instructed to directly enter an ink amount detection forbidding mode, and the use convenience of a user on the printer is greatly improved.
As can be seen from the content of the above embodiment, the method and system for designing an ink cartridge chip supporting cyclic ink filling determine the authentication command sequence information of a printer according to the authentication process information, and obtain the recording and control process information of the ink amount of the ink cartridge according to the printer, and determine the recording mode of the ink amount of the ink cartridge according to the recording and control process information, and then obtain the detection prohibition command sequence corresponding to the printer itself implementing the ink amount detection prohibition operation, and according to the detection prohibition command sequence, make the printer instruct the ink cartridge chip to directly enter the ink amount detection prohibition mode when authenticating the ink cartridge chip, and finally stop the recording mode of the ink cartridge according to the ink amount detection prohibition mode; it can be seen that the method and system for designing ink box chip supporting circular ink adding mainly includes three main processes of obtaining authentication process information of printer to ink box chip, obtaining record and control process information of printer to ink box ink quantity and obtaining forbidden detection command sequence corresponding to printer self-body implementing forbidden ink quantity detection operation, and utilizes the ink quantity detection forbidden mode existed in printer itself to make printer only implement ink box chip authentication and do not make judgment and detection for residual ink quantity, and make printer implement setting operation according to correspondent mode, and can raise response capability of printer to execute printing task according to user's requirement and at the cost of reducing accuracy of printer residual ink quantity information display so as to make printer only implement chip authentication according to the characteristic data of ink box chip, and do not use residual ink quantity information as basis for executing printing task, thus, the ink box can be circularly filled with ink and recycled.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. The method for designing the ink box chip supporting the circular ink adding is characterized by comprising the following steps:
step S1, obtaining the authentication process information of the printer to the ink box chip, and determining the authentication command sequence information of the printer according to the authentication process information;
step S2, acquiring the information of the recording and control process of the ink amount of the ink box by the printer, and determining the recording mode of the ink amount of the ink box by the printer according to the information of the recording and control process;
step S3, acquiring a detection prohibition command sequence corresponding to the printer to realize the ink quantity detection prohibition operation, and instructing the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip according to the detection prohibition command sequence;
a step S4 of stopping a recording mode of the ink amount of the ink cartridge by the printer according to the ink amount detection disabling mode;
in step S1, the obtaining of the authentication process information of the printer on the ink cartridge chip, and determining the authentication command sequence information of the printer according to the authentication process information specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information is obtained when the printer authenticates the ink box chip;
in step S2, the acquiring information of recording and controlling processes of the ink amount of the ink cartridge by the printer, and determining the recording mode of the ink amount of the ink cartridge by the printer according to the information of the recording and controlling processes specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, the original ink quantity of the ink box is correspondingly stored as a series of 1 bits, and in the process of recording the ink quantity of the ink box, the series of 1 bits are sequentially and unidirectionally rewritten into 0 bits, so that the residual value of the ink quantity of the ink box is determined.
2. The method of claim 1 for ink cartridge chip design supporting cyclical inking, wherein: in step S3, acquiring a detection prohibition command sequence corresponding to the printer itself realizing the ink amount detection prohibition operation, and according to the detection prohibition command sequence, instructing, by the printer, the ink cartridge chip to directly enter the ink amount detection prohibition mode when authenticating the ink cartridge chip specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the cyclic redundancy check, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation is obtained, and the ink quantity detection prohibition code address in the ink box chip is rewritten according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip.
3. The method of claim 2 for ink cartridge chip design supporting cyclical inking, wherein: in the step S4, the stopping of the recording mode of the ink amount of the ink cartridge by the printer according to the ink amount detection disabling mode specifically includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
and when the printer authenticates the ink box chip by using an encryption algorithm, instructing to stop sequentially and unidirectionally rewriting the series of 1 bits into 0 bits according to the ink amount detection disabling mode.
4. The system for supporting the design of the ink box chip of the circular ink adding is characterized by comprising an authentication command sequence information determining module, an ink box ink quantity recording mode determining module, an ink quantity detection disabling module determining module and an ink box ink quantity stop recording executing module; wherein,
the authentication command sequence information determining module is used for acquiring authentication process information of the printer on the ink box chip and determining the authentication command sequence information of the printer according to the authentication process information;
the ink box ink quantity recording mode determining module is used for acquiring recording and control process information of the ink quantity of the ink box by the printer and determining a recording mode of the ink quantity of the ink box by the printer according to the recording and control process information;
the ink quantity detection forbidding module determining module is used for acquiring a forbidding detection command sequence corresponding to the printer to realize the forbidding ink quantity detection operation, and according to the forbidding detection command sequence, the printer instructs the ink box chip to directly enter an ink quantity detection forbidding mode when authenticating the ink box chip;
the ink cartridge ink amount stop recording execution module is used for stopping a recording mode of the printer on the ink amount of the ink cartridge according to the ink amount detection forbidding mode;
the authentication command sequence information determining module obtains authentication process information of the printer on the ink box chip, and determines the authentication command sequence information of the printer according to the authentication process information, wherein the authentication command sequence information determining module specifically comprises:
when the printer authenticates the ink box chip by using an encryption algorithm, the printer is instructed to read corresponding ink box characteristic information from an ink box end after being electrified, and the encryption algorithm is utilized to carry out operation processing on the ink box characteristic information, so that corresponding authentication command sequence information is obtained when the printer authenticates the ink box chip;
the method for determining the ink quantity recording mode of the ink box comprises the following steps of:
when the printer authenticates the ink box chip by using an encryption algorithm, determining a first count value and a second count value which are mutually independent when the printer records the ink quantity of the ink box, performing accumulation processing on the first count value and decrementing the second count value in the recording process, and determining the ink quantity residual value of the ink box when the accumulated first count value is less than or equal to the decremented second count value;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, the original ink quantity of the ink box is correspondingly stored as a series of 1 bits, and in the process of recording the ink quantity of the ink box, the series of 1 bits are sequentially and unidirectionally rewritten into 0 bits, so that the residual value of the ink quantity of the ink box is determined.
5. The system of claim 4 for a cartridge chip design that supports recirculating inkages, wherein: the step of enabling the printer to instruct the ink cartridge chip to directly enter the ink amount detection disabling mode when authenticating the ink cartridge chip according to the detection prohibiting command sequence includes:
when the printer authenticates the ink box chip by using an encryption algorithm, acquiring a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation, generating a corresponding Cyclic Redundancy Check (CRC) value according to the detection prohibition command sequence, and then checking the CRC value according to the cyclic redundancy check, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when authenticating the ink box chip;
or,
when the printer authenticates the ink box chip by using an encryption algorithm, a detection prohibition command sequence corresponding to the printer for realizing the ink quantity detection prohibition operation is obtained, and the ink quantity detection prohibition code address in the ink box chip is rewritten according to the detection prohibition command sequence, so that the printer instructs the ink box chip to directly enter an ink quantity detection prohibition mode when the printer authenticates the ink box chip.
6. The system of claim 5 for a cartridge chip design that supports recirculating inkages, wherein: the ink cartridge ink amount stop recording execution module, according to the ink amount detection disable mode, specifically stopping the recording mode of the printer for the ink amount of the ink cartridge includes:
when the printer authenticates the ink box chip by using an encryption algorithm, indicating to stop accumulating the first count value and decrementing the second count value according to the ink quantity detection disabled mode;
or,
and when the printer authenticates the ink box chip by using an encryption algorithm, instructing to stop sequentially and unidirectionally rewriting the series of 1 bits into 0 bits according to the ink amount detection disabling mode.
CN202011496734.5A 2020-12-17 2020-12-17 Method and system for designing ink box chip supporting circular ink adding Active CN112622448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011496734.5A CN112622448B (en) 2020-12-17 2020-12-17 Method and system for designing ink box chip supporting circular ink adding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011496734.5A CN112622448B (en) 2020-12-17 2020-12-17 Method and system for designing ink box chip supporting circular ink adding

Publications (2)

Publication Number Publication Date
CN112622448A CN112622448A (en) 2021-04-09
CN112622448B true CN112622448B (en) 2021-08-13

Family

ID=75316788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011496734.5A Active CN112622448B (en) 2020-12-17 2020-12-17 Method and system for designing ink box chip supporting circular ink adding

Country Status (1)

Country Link
CN (1) CN112622448B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116262391B (en) * 2023-04-23 2024-11-05 苏州众行汇创科技有限公司 Ink quantity updating method, system, printing head and printing device

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6547364B2 (en) * 1997-07-12 2003-04-15 Silverbrook Research Pty Ltd Printing cartridge with an integrated circuit device
US6594185B1 (en) * 1999-10-04 2003-07-15 Seiko Epson Corporation Write-inhibit circuit, semiconductor integrated circuit using the same, ink cartridge including the semiconductor integrated circuit, and ink-jet recording apparatus
CN100424998C (en) * 2006-01-20 2008-10-08 北京华环电子股份有限公司 Single-bit error correction and form-checking method based on CRC and its circuit
CN101209621B (en) * 2006-12-30 2010-08-25 珠海天威技术开发有限公司 Resetting method for multicolor ink box chip ink balance information
CN101254700B (en) * 2007-02-27 2010-11-10 研能科技股份有限公司 Identification code circuit for reusing ink cartridge
JP5782959B2 (en) * 2011-09-26 2015-09-24 ブラザー工業株式会社 Inkjet recording device
CN102442073B (en) * 2011-09-27 2013-11-27 珠海天威技术开发有限公司 Universal chip, communication method of universal chip, consumable container and imaging equipment
CN103722893B (en) * 2013-12-23 2016-06-15 珠海天威技术开发有限公司 Consumable chip and method of work, consumable container
CN105398224B (en) * 2015-11-25 2017-03-22 杭州旗捷科技有限公司 Ink cartridge chip, ink cartridge, printer and ink cartridge authentication method
CN105398225B (en) * 2015-12-10 2017-07-07 杭州旗捷科技有限公司 Ink box chip, print cartridge, print cartridge identifying system and print cartridge recognition methods
CN108068463A (en) * 2016-11-11 2018-05-25 杭州旗捷科技有限公司 Consumptive material, print system, the ink amount data reset method of consumptive material
CN108520176A (en) * 2018-01-30 2018-09-11 杭州旗捷科技有限公司 Communications security method of calibration, chip and the printer system of chip and printer
CN109334259B (en) * 2018-09-07 2019-09-24 杭州旗捷科技有限公司 Consumable chip and its communication means, consumable chip and imaging device communication system, method
CN110202940A (en) * 2019-05-06 2019-09-06 珠海艾派克微电子有限公司 Printing consumables, print cartridge and control method
CN110210208A (en) * 2019-05-31 2019-09-06 珠海揉博电子科技有限公司 Sequence number operation method, sequence number running gear, consumable chip and imaging cartridge
CN110103591B (en) * 2019-06-13 2020-03-27 杭州旗捷科技有限公司 Automatic resetting method of consumable chip and consumable chip
CN111890811B (en) * 2020-08-25 2023-03-14 广州市小篆科技有限公司 Printer consumable management system and printer

Also Published As

Publication number Publication date
CN112622448A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US7774615B2 (en) Integrity control of a memory external to a processor
US8250288B2 (en) Flash memory storage system and controller and data protection method thereof
CN112622448B (en) Method and system for designing ink box chip supporting circular ink adding
JP2003271254A (en) Authentication system, firmware device, electric equipment and authentication method
CN103077095B (en) Error correction method and device for stored data and computer system
EP3522049B1 (en) Data protection method for chip rewriting equipment, electronic equipment and storage medium
CN1091911C (en) Data transfer system with terminal and portable data carrier and process for reloading the portable data carrier by means of the terminal
WO2017016032A1 (en) Fingerprint verification method, fingerprint verification device and terminal
US11112725B2 (en) Consumable chip, consumable and consumable communication method
CN109407807A (en) A kind of chip reset circuit, repositioning method and MCU chip
WO2022083046A1 (en) Smart electricity meter checking method and apparatus, smart electricity meter, and computer storage medium
US8738919B2 (en) Control of the integrity of a memory external to a microprocessor
CN110069360A (en) A kind of storage, read method and the device of electric machine controller data
US20100223434A1 (en) Dummy Write Operations
CN111275836A (en) Bus taking charging method, device and system based on two-dimensional code and terminal
CN108647119A (en) The startup method, apparatus and equipment of linux system
CN103885437A (en) Data security protection method and device and electronic control unit
CN102377894B (en) Method and device for revising imaging box chip
CN108520176A (en) Communications security method of calibration, chip and the printer system of chip and printer
CN106945406B (en) Operating method, consumable chip, consumable container, the consumptive material equipment of consumable chip
CN112306410B (en) Data processing method and device for electric energy meter, storage medium and electric energy meter
US8484484B2 (en) Method of sending an executable code to a reception device and method of executing this code
CN107886327A (en) A kind of method of mobile payment, device and mobile terminal
CN111881435B (en) Method and system for realizing safe memory
KR100562090B1 (en) How to insecure multiple non-volatile memory locations in microcircuit cards, especially contactless cards

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant