CN112583415B - Data compression storage method and system for ink cartridge chip - Google Patents

Data compression storage method and system for ink cartridge chip Download PDF

Info

Publication number
CN112583415B
CN112583415B CN202011501722.7A CN202011501722A CN112583415B CN 112583415 B CN112583415 B CN 112583415B CN 202011501722 A CN202011501722 A CN 202011501722A CN 112583415 B CN112583415 B CN 112583415B
Authority
CN
China
Prior art keywords
data
ink
ink box
compressed data
group
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
CN202011501722.7A
Other languages
Chinese (zh)
Other versions
CN112583415A (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 CN202011501722.7A priority Critical patent/CN112583415B/en
Publication of CN112583415A publication Critical patent/CN112583415A/en
Application granted granted Critical
Publication of CN112583415B publication Critical patent/CN112583415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/70Type of the data to be coded, other than image and sound
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a data compression storage method and a data compression storage system for an ink box chip, which are used for compressing at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compressed data, so that the ink box characteristic data set is used as associated operation data for recycling ink boxes, and meanwhile, switching and changing of different compressed data can be adaptively carried out according to the use progress state of the set of compressed data currently used, so that the regeneration of the ink box data can be carried out for multiple times on the same chip to achieve the aim of recycling the ink box data for multiple times, thereby improving the applicability of a reusable ink box system to different occasions and improving the ink box use switching efficiency and reliability of the reusable ink box system.

Description

Data compression storage method and system for ink cartridge chip
Technical Field
The invention relates to the technical field of printer control, in particular to a data compression storage method and system of an ink box chip.
Background
Currently, the ink cartridges of printers are usually self-contained with a chip that stores information on the amount of ink in the ink cartridge, and during use of the ink cartridge, the printer can obtain the actual remaining ink amount of the ink cartridge at the corresponding port, and prompt the user to replace the ink cartridge after the ink amount is exhausted. In practical application, the operation memory space of the chip stores a set of ink box data, the ink box data comprises chip authentication data and ink volume data, then the data are operated, and data interaction is carried out through the serial interface of the printer, so that the operations of ink box authentication, ink volume data acquisition and the like are completed. However, the printer ink cartridges in the prior art are generally disposable ink cartridges, which cannot meet the increasingly diversified demands of users, and particularly correspond to reusable ink cartridge systems, and the existing chip cannot simultaneously store multiple sets of different ink cartridge data and call appropriate ink cartridge data to interact with the printer port according to the reuse condition of the ink cartridge, so that popularization and application of the reusable ink cartridge systems are severely restricted, and the ink cartridge use switching efficiency and reliability of the reusable ink cartridge systems are reduced.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a data compression storage method and a data compression storage system of an ink box chip, which are characterized in that at least one set of ink box characteristic data is compressed, so as to obtain and store an ink box characteristic data set containing at least one set of compressed data, one set of compressed data is selected from the ink box characteristic data set to be used for executing ink box authentication and ink box record acquisition work, then the current use progress state information of the one set of compressed data is acquired, the address information corresponding to the other set of compressed data acquired from the ink box characteristic data set in the next step is determined according to the use progress state information, and finally the other set of compressed data is selected from the ink box characteristic data set to be used for executing the acquisition work on the other ink quantity data according to the address information; therefore, the data compression storage method and the data compression storage system of the ink box chip are used for compressing at least one set of ink box characteristic data to obtain and store the ink box characteristic data set containing at least one set of compressed data, the ink box characteristic data set is used as the associated operation data for recycling the ink box, meanwhile, switching and changing of different compressed data can be adaptively carried out according to the current use progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be achieved by regenerating the ink box data for multiple times on the same chip, and therefore the applicability of the recyclable ink box system to different occasions is improved, and the ink box use switching efficiency and reliability of the recyclable ink box system are improved.
The invention provides a data compression storage method of an ink cartridge chip, which is characterized by comprising the following steps:
step S1, compressing at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compressed data, and selecting one set of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
step S2, acquiring current use progress status information of one group of compressed data, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
step S3, selecting another group of compressed data from the characteristic data set of the ink cartridge according to the address information for executing the acquisition work of the other ink quantity data;
further, in the step S1, compressing at least one set of ink cartridge feature data to obtain and store an ink cartridge feature data set including at least one set of compressed data specifically includes:
step S101, compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full data, ink box empty data and ink quantity data lower than a preset threshold value;
Step S102, compressing ink volume data information of the ink box in a mode of combining a regular data storage area and a non-regular data storage area to obtain ink volume compressed data information of regular compressed data containing N1-bit storage data and non-regular compressed data containing a plurality of 1-bit storage data;
step S103, storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
step S104, the data obtained by compression processing or storage in the step S101, the step S102 and the step S103 are combined into the ink box characteristic data set;
further, in the step S1, selecting one of the compressed data from the set of ink cartridge feature data for performing ink cartridge authentication and ink cartridge record acquisition specifically includes:
step S105, selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit;
Step S106, the logic processing hardware circuit is instructed to decompress the group of compressed data, and then the decompressed group of compressed data is used for executing ink box authentication and ink box record acquisition work;
step S107, in the process of executing the ink cartridge authentication and ink cartridge record acquisition work, determining whether the decompressed group of compressed data is modified by an instruction issued by a printer end, if so, carrying out compression processing again on the modified group of compressed data and storing the modified group of compressed data in an original corresponding storage space;
further, in the step S2, obtaining current usage progress status information of the one set of compressed data, and determining, according to the usage progress status information, address information corresponding to another set of compressed data obtained from the ink cartridge feature data set in the next step specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition, if yes, modifying the start control mark bit, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
Or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether a user performs a preset type of operation action on the printer system, if yes, modifying the start control flag bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control flag bit, wherein the preset type of operation action comprises any one of a printer carriage unloading or loading action, a printer carriage inserting or extracting action and a printer power-off or power-on action;
or alternatively, the process may be performed,
determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if yes, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
further, in the step S3, selecting another group of compressed data from the set of ink cartridge characteristic data for performing an acquisition job on another ink amount data based on the address information specifically includes:
Step S301, selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit;
step S302, instructing the logic processing hardware circuit to decompress the other set of compressed data, and executing the acquiring work on the other ink amount data by using the decompressed other set of compressed data.
The invention also provides a data compression storage system of the ink cartridge chip, which is characterized by comprising a nonvolatile storage module, an operation storage module and a logic processing module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the nonvolatile storage module is used for compressing at least one set of ink box characteristic data so as to obtain and store an ink box characteristic data set containing at least one set of compressed data;
the operation storage module is used for selecting one group of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the current use progress status information of one group of compressed data and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
The operation storage module is also used for selecting another group of compressed data from the characteristic data set of the ink box according to the address information so as to execute the acquisition work of the data about another ink quantity;
further, the non-volatile storage module compresses at least one set of ink cartridge feature data, so as to obtain and store an ink cartridge feature data set containing at least one set of compressed data, and specifically includes:
compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full-load data, ink box empty-load data and ink quantity data lower than a preset threshold value;
compressing ink volume data information of the ink box in a mode of combining the regular data storage area and the non-regular data storage area to obtain ink volume compressed data information of the non-regular compressed data containing N1-bit storage data and a plurality of 1-bit storage data;
storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
The data obtained by compression processing or storage together form the characteristic data set of the ink box;
further, the operation storage module selects one group of compressed data from the ink cartridge characteristic data set to be used for executing ink cartridge authentication and ink cartridge record acquisition work specifically includes:
selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit of the logic processing module;
the logic processing module instructs the logic processing hardware circuit to decompress the set of compressed data;
the operation storage module executes ink box authentication and ink box record acquisition work by using the decompressed compressed data;
the logic processing module also determines whether the decompressed group of compressed data is modified by an instruction issued by the printer end in the process of executing the ink cartridge authentication and ink cartridge record acquisition work, if so, the modified group of compressed data is subjected to compression again and is stored in the original corresponding storage space;
Further, the logic processing module obtains the current usage progress status information of one group of compressed data, and determines, according to the usage progress status information, address information corresponding to another group of compressed data obtained from the ink cartridge feature data set in the next step specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition, if yes, modifying the start control mark bit, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether a printer corresponding to the ink cartridge currently receives a preset type of operation action, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink cartridge feature data set according to the modified start control mark bit, wherein the preset type of operation action comprises any one of a printer carriage unloading or loading action, a printer carriage inserting or extracting action and a printer power-off or power-on action;
Or alternatively, the process may be performed,
determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if yes, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
further, the operation storage module further selects another group of compressed data from the ink cartridge characteristic data set according to the address information for performing an acquisition job on another ink amount data specifically includes:
selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit of the logic processing module;
and then the logic processing hardware circuit is instructed to decompress the other group of compressed data, and the decompressed other group of compressed data is used for executing the acquisition work of the other ink quantity data.
Compared with the prior art, the data compression storage method and system of the ink box chip are characterized in that at least one set of ink box characteristic data is subjected to compression processing, so that an ink box characteristic data set containing at least one set of compression data is obtained and stored, one set of compression data is selected from the ink box characteristic data set to be used for executing ink box authentication and ink box record acquisition work, then the current use progress state information of the one set of compression data is acquired, address information corresponding to another set of compression data acquired from the ink box characteristic data set in the next step is determined according to the use progress state information, and finally another set of compression data is selected from the ink box characteristic data set to be used for executing acquisition work about another ink quantity data according to the address information; therefore, the data compression storage method and the data compression storage system of the ink box chip are used for compressing at least one set of ink box characteristic data to obtain and store the ink box characteristic data set containing at least one set of compressed data, the ink box characteristic data set is used as the associated operation data for recycling the ink box, meanwhile, switching and changing of different compressed data can be adaptively carried out according to the current use progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be achieved by regenerating the ink box data for multiple times on the same chip, and therefore the applicability of the recyclable ink box system to different occasions is improved, and the ink box use switching efficiency and reliability of the recyclable ink box system are improved.
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 thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a data compression storage method of an ink cartridge chip provided by the invention.
Fig. 2 is a schematic diagram illustrating compression of data about different states of an ink cartridge in the method for data compression and storage of an ink cartridge chip according to the present invention.
Fig. 3-4 are schematic diagrams illustrating ink volume data about an ink cartridge in the data compression storage method of the ink cartridge chip provided by the present invention.
Fig. 5 is a schematic diagram of a feature data set of an ink cartridge in the data compression storage method of the ink cartridge chip provided by the invention.
Fig. 6 is a schematic structural diagram of a data compression storage system of the ink cartridge chip provided by the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a data compression storage method of an ink cartridge chip according to an embodiment of the invention is shown. The data compression storage method of the ink box chip comprises the following steps:
step S1, compressing at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compressed data, and selecting one set of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
Step S2, acquiring the current use progress status information of one group of compressed data, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
and step S3, selecting another group of compressed data from the characteristic data set of the ink cartridge according to the address information for executing the acquisition work of the other ink quantity data.
The beneficial effects of the technical scheme are as follows: the data compression storage method of the ink box chip is used for compressing at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compressed data, the ink box characteristic data set is used as associated operation data for recycling the ink box, meanwhile, switching and changing of different compressed data can be adaptively carried out according to the current use progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be achieved by carrying out regeneration of the ink box data for multiple times on the same chip, and therefore the applicability of a recyclable ink box system to different occasions is improved, and the ink box use switching efficiency and reliability of the recyclable ink box system are improved.
Preferably, in the step S1, compressing at least one set of ink cartridge feature data to obtain and store an ink cartridge feature data set including at least one set of compressed data specifically includes:
step S101, compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full-load data, ink box no-load data and ink quantity data lower than a preset threshold value;
step S102, compressing ink volume data information of the ink box in a mode of combining a regular data storage area and a non-regular data storage area to obtain ink volume compressed data information of regular compressed data containing N1-bit storage data and non-regular compressed data containing a plurality of 1-bit storage data;
step S103, storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
Step S104, the data obtained by compression processing or storage in the steps S101, S102 and S103 are combined into the characteristic data set of the ink cartridge.
Referring to fig. 2, a schematic diagram of data compression of different state quantities of the ink cartridge in the data compression storage method of the ink cartridge chip is shown. Since the nonvolatile data storage of the ink cartridge chip is that of the storage of various state quantities of the ink cartridge, which may include, but are not limited to, at least one of ink color data, ink model data, ink cartridge full data, ink cartridge empty data, and ink quantity below a preset threshold quantity, the information corresponding to the state quantities is generally stored in different areas of the space address in a scattered manner, and there is often a lot of space between these areas where no data is stored, which may lead to waste of the corresponding storage space, as shown in the left side of fig. 2, D1, D2, D3 respectively represent the information corresponding to the state quantities, and x represents the address space where no data is stored. In order to overcome the above drawbacks, the present invention uses a combination of a spatial address and data as shown on the right side of fig. 2 to store, so as to effectively avoid the waste of address space, where A1, A2, A3 respectively represent storage space addresses, and D1, D2, D3 respectively represent state quantity data information correspondingly stored in the storage space addresses A1, A2, A3.
Referring to fig. 3-4, schematic diagrams are formed corresponding to ink volume data of the ink cartridge in the data compression storage method of the ink cartridge chip. In order to represent the ink volume data information in the ink cartridge, the expression mode of the ink volume data information is generally designed to map the actual ink volume of the ink cartridge with bit data, and as can be seen from fig. 3, the number of bits corresponding to the ink volume area in the memory is modified according to the consumption condition of the actual ink volume in the ink cartridge, so that the consumption of the ink volume is recorded, and the non-volatile memory of the printer can only write one way, namely can only write 0 into 1 or can only write 1 into 0, and the one-way writing characteristic exactly matches the one-way changing characteristic that the ink volume in the ink cartridge of the printer can only be reduced but not increased, so that the one-way changing characteristic that the ink volume can only be reduced but not increased can be thoroughly ensured on the bottom layer of the process in this way.
Referring to fig. 4, according to the above-mentioned unidirectional writing characteristic, in actual operation, continuous N1 bit data are stored, where N is a natural number to the integer power of 2, the storage area may be defined as a regular data storage area, each 1bit in the regular data storage area is mapped to N bits in the data space before compression, 1bit in the regular data storage area is 1, which indicates that all the N bits corresponding to the N bits in the data space before compression are 1, and otherwise, 1bit in the regular data storage area is 0, which indicates that all the N bits corresponding to the N bits in the data space before compression are 0. Because the ink volume data in the data space before compression is continuous, if the situation that N1 bits cannot be obtained at the end of the data is not considered, the information is lost only by means of the compression of the regular data storage area, therefore, an irregular data storage area needs to be opened up, if any situation that N bits cannot be obtained is met, the information is stored in the irregular data storage area in a mode of combining space addresses with the data, after the compression processing, the occupied space of the data is reduced, and no useful information is lost.
In addition, the preset ink cartridge start key data cannot be compressed continuously, so that the preset ink cartridge start key data can only be stored as it is, only one set of common data of the ink cartridges needs to be stored, and the start control mark bit of the ink cartridge determines which set of ink cartridge data is specifically used.
The set of cartridge characteristic data shown in fig. 5 can be obtained through the above-described series of compressed storage operations.
Preferably, in the step S1, selecting one of the compressed data from the set of ink cartridge characteristic data for performing ink cartridge authentication and ink cartridge record acquisition specifically includes:
step S105, selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit;
step S106, the logic processing hardware circuit is instructed to decompress the group of compressed data, and then the decompressed group of compressed data is used for executing ink box authentication and ink box record acquisition;
step S107, in the process of executing the ink cartridge authentication and ink cartridge record acquisition work, determining whether the decompressed group of compressed data is modified by the instruction issued by the printer end, if so, re-compressing the modified group of compressed data and storing the modified group of compressed data in the original corresponding storage space.
The beneficial effects of the technical scheme are as follows: because the data of the ink cartridge characteristic data set is stored in a compressed mode and cannot be directly used, the data of the ink cartridge characteristic data set needs to be decompressed and restored before being used, and the corresponding start control mark bit marks which ink cartridge data set should be used currently, so that the corresponding ink cartridge data can be selected for decompression in subsequent processing.
Preferably, in the step S2, obtaining the current usage progress status information of the one set of compressed data, and determining, according to the usage progress status information, address information corresponding to another set of compressed data obtained from the feature data set of the ink cartridge in the next step specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition work, if yes, modifying the start control mark bit, and determining address information corresponding to the other compressed data of the other group acquired from the ink box characteristic data set according to the modified start control mark bit;
or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether a user performs a preset type of operation action on the printer system, if yes, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set according to the modified start control mark bit, wherein the preset type of operation action comprises any one of a printer ink vehicle unloading or loading action, an ink box inserting or extracting action and a printer power-off or power-on action;
Or alternatively, the process may be performed,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if so, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the characteristic data set of the ink box in the next step according to the modified start control mark bit.
The beneficial effects of the technical scheme are as follows: the three different address information determining modes can ensure that the address information corresponding to the other group of compressed data can be determined rapidly and accurately under the corresponding printer operation condition to the greatest extent.
Preferably, in the step S3, selecting another group of compressed data from the set of ink cartridge characteristic data for performing an acquisition job on another ink amount data based on the address information specifically includes:
step S301, selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit;
in step S302, the logic processing hardware circuit is instructed to decompress the other set of compressed data, and then execute the acquiring operation on the other ink volume data by using the decompressed other set of compressed data.
The process of processing the other set of compressed data is the same as the process of processing the one set of compressed data, and is not described here.
Referring to fig. 6, a schematic structural diagram of a data compression storage system of an ink cartridge chip according to the present invention is shown. The data compression storage system of the ink cartridge chip comprises a nonvolatile storage module, an operation storage module and a logic processing module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the nonvolatile memory module is used for compressing at least one set of ink box characteristic data so as to obtain and store an ink box characteristic data set containing at least one set of compressed data;
the operation storage module is used for selecting one group of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the current use progress status information of one group of compressed data and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
the operation memory module is also used for selecting another group of compressed data from the characteristic data set of the ink cartridge according to the address information for executing the acquisition work of the data about another ink quantity.
The beneficial effects of the technical scheme are as follows: the data compression storage system of the ink box chip compresses at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compression data, the ink box characteristic data set is used as associated operation data for recycling the ink box, meanwhile, switching and changing of different compression data can be adaptively carried out according to the current use progress state of one set of compression data, so that regeneration of the ink box data can be carried out for multiple times on the same chip to achieve the aim of recycling for multiple times, and therefore applicability of the recyclable ink box system to different occasions is improved, and ink box use switching efficiency and reliability of the recyclable ink box system are improved.
Preferably, the non-volatile storage module compresses at least one set of ink cartridge characteristic data, so as to obtain and store an ink cartridge characteristic data set containing at least one set of compressed data, and specifically includes:
compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full-load data, ink box empty-load data and ink quantity data lower than a preset threshold value;
Compressing ink volume data information of the ink box in a mode of combining the regular data storage area and the non-regular data storage area to obtain ink volume compressed data information of the non-regular compressed data containing N1-bit storage data and a plurality of 1-bit storage data;
storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
the above data obtained by compression processing or storage together constitute the cartridge characteristic data set.
Preferably, the operation storage module selects one group of compressed data from the ink cartridge characteristic data set for executing ink cartridge authentication and ink cartridge record acquisition work specifically includes:
selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit of the logic processing module;
The logic processing module instructs the logic processing hardware circuit to decompress the set of compressed data;
the operation storage module executes ink box authentication and ink box record acquisition work by using the decompressed compressed data;
and the logic processing module also determines whether the decompressed group of compressed data is modified by an instruction issued by the printer end in the process of executing the ink box authentication and ink box record acquisition work, and if so, the modified group of compressed data is subjected to compression again and is stored in the original corresponding storage space.
Preferably, the logic processing module obtains the current usage progress status information of the one group of compressed data, and determines, according to the usage progress status information, address information corresponding to another group of compressed data obtained from the ink cartridge feature data set in the next step specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition work, if yes, modifying the start control mark bit, and determining address information corresponding to the other compressed data of the other group acquired from the ink box characteristic data set according to the modified start control mark bit;
Or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether the printer corresponding to the ink cartridge currently receives a preset type of operation action, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink cartridge feature data set according to the modified start control mark bit, wherein the preset type of operation action comprises any one of a printer carriage unloading or loading action, a printer carriage inserting or extracting action and a printer power-off or power-on action;
or alternatively, the process may be performed,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if so, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the characteristic data set of the ink box in the next step according to the modified start control mark bit.
Preferably, the operation storage module further selects another group of compressed data from the set of cartridge characteristic data for performing an acquisition job on another ink amount data based on the address information, specifically including:
Selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit of the logic processing module;
and then the logic processing hardware circuit is instructed to decompress the other group of compressed data, and the decompressed other group of compressed data is used for executing the acquisition work of the other ink quantity data.
As can be seen from the foregoing embodiments, the method and system for data compression storage of an ink cartridge chip obtain and store an ink cartridge feature data set including at least one set of compressed data by performing compression processing on at least one set of ink cartridge feature data, select one set of compressed data from the ink cartridge feature data set to perform ink cartridge authentication and ink cartridge record acquisition, acquire current usage progress status information of the one set of compressed data, determine address information corresponding to another set of compressed data acquired from the ink cartridge feature data set in the next step according to the usage progress status information, and select another set of compressed data from the ink cartridge feature data set according to the address information to perform acquisition on another ink volume data; therefore, the data compression storage method and the data compression storage system of the ink box chip are used for compressing at least one set of ink box characteristic data to obtain and store the ink box characteristic data set containing at least one set of compressed data, the ink box characteristic data set is used as the associated operation data for recycling the ink box, meanwhile, switching and changing of different compressed data can be adaptively carried out according to the current use progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be achieved by regenerating the ink box data for multiple times on the same chip, and therefore the applicability of the recyclable ink box system to different occasions is improved, and the ink box use switching efficiency and reliability of the recyclable ink box system are improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. The data compression storage method of the ink box chip is characterized by comprising the following steps of:
step S1, compressing at least one set of ink box characteristic data to obtain and store an ink box characteristic data set containing at least one set of compressed data, and selecting one set of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
step S2, acquiring current use progress status information of one group of compressed data, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
step S3, selecting another group of compressed data from the characteristic data set of the ink cartridge according to the address information for executing the acquisition work of the other ink quantity data;
In the step S2, obtaining current usage progress status information of the one set of compressed data, and determining address information corresponding to the other set of compressed data obtained from the ink cartridge feature data set in the next step according to the usage progress status information specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition work, if yes, modifying a start control mark bit, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether a user performs a preset type of operation action on the printer system, if yes, modifying the start control flag bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control flag bit, wherein the preset type of operation action comprises any one of a printer carriage unloading or loading action, a printer carriage inserting or extracting action and a printer power-off or power-on action;
Or alternatively, the process may be performed,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if so, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit.
2. The data compression storage method of the ink cartridge chip as claimed in claim 1, wherein:
in the step S1, compressing at least one set of ink cartridge characteristic data to obtain and store an ink cartridge characteristic data set including at least one set of compressed data specifically includes:
step S101, compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full data, ink box empty data and ink quantity data lower than a preset threshold value;
step S102, compressing ink volume data information of the ink box in a mode of combining a regular data storage area and a non-regular data storage area to obtain ink volume compressed data information of regular compressed data containing N1-bit storage data and non-regular compressed data containing a plurality of 1-bit storage data;
Step S103, storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
and step S104, the data obtained by compression processing or storage in the steps S101, S102 and S103 are combined into the ink box characteristic data set.
3. The data compression storage method of the ink cartridge chip as claimed in claim 2, wherein:
in the step S1, selecting one of the compressed data from the set of ink cartridge characteristic data for performing ink cartridge authentication and ink cartridge record acquisition specifically includes:
step S105, selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit;
step S106, the logic processing hardware circuit is instructed to decompress the group of compressed data, and then the decompressed group of compressed data is used for executing ink box authentication and ink box record acquisition work;
Step S107, in the process of executing the ink cartridge authentication and ink cartridge record acquisition work, determining whether the decompressed set of compressed data is modified by the instruction issued by the printer end, if so, re-compressing the modified set of compressed data and storing the modified set of compressed data in the original corresponding storage space.
4. The data compression storage method of the ink cartridge chip as claimed in claim 1, wherein:
in the step S3, selecting another group of compressed data from the set of ink cartridge characteristic data for performing an acquisition job on another ink amount data based on the address information specifically includes:
step S301, selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit;
step S302, instructing the logic processing hardware circuit to decompress the other set of compressed data, and executing the acquiring work on the other ink amount data by using the decompressed other set of compressed data.
5. The data compression storage system of the ink cartridge chip is characterized by comprising a nonvolatile storage module, an operation storage module and a logic processing module; wherein, the liquid crystal display device comprises a liquid crystal display device,
The nonvolatile storage module is used for compressing at least one set of ink box characteristic data so as to obtain and store an ink box characteristic data set containing at least one set of compressed data; the operation storage module is used for selecting one group of compressed data from the ink box characteristic data set to execute ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the current use progress status information of one group of compressed data and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the use progress status information;
the operation storage module is also used for selecting another group of compressed data from the characteristic data set of the ink box according to the address information so as to execute the acquisition work of the data about another ink quantity;
the logic processing module obtains the current use progress status information of one group of compressed data, and determines address information corresponding to the other group of compressed data obtained from the ink box characteristic data set in the next step according to the use progress status information specifically includes:
determining whether the current compressed data of one group is used in the process of executing the ink quantity data acquisition work, if yes, modifying a start control mark bit, and determining address information corresponding to the other group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit;
Or alternatively, the process may be performed,
when it is determined that the current compressed data of one group is used in the process of executing the ink quantity data acquisition, detecting whether a printer corresponding to the ink cartridge currently receives a preset type of operation action, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink cartridge feature data set according to the modified start control mark bit, wherein the preset type of operation action comprises any one of a printer carriage unloading or loading action, a printer carriage inserting or extracting action and a printer power-off or power-on action;
or alternatively, the process may be performed,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold value according to the ink quantity data information of the ink box, if so, modifying the start control mark bit, and determining address information corresponding to another group of compressed data acquired from the ink box characteristic data set in the next step according to the modified start control mark bit.
6. The cartridge chip data compression storage system of claim 5, wherein:
the non-volatile storage module compresses at least one set of ink box characteristic data, so as to obtain and store an ink box characteristic data set containing at least one set of compressed data, and the method specifically comprises the following steps:
Compressing data of different state quantities of the ink box by adopting a mode of combining space addresses with data, so as to compress and store the data of the different state quantities of the ink box onto different space addresses, wherein the data of the different state quantities comprise at least one of ink color data, ink model data, ink box full-load data, ink box empty-load data and ink quantity data lower than a preset threshold value;
compressing ink volume data information of the ink box in a mode of combining the regular data storage area and the non-regular data storage area to obtain ink volume compressed data information of the non-regular compressed data containing N1-bit storage data and a plurality of 1-bit storage data;
storing preset ink box starting key data, extracting and storing mutual commonality data of the ink boxes, and storing starting control marking bits of the ink boxes, wherein the starting control marking bits are address pointers pointing to compressed storage spaces of characteristic data sets of the ink boxes;
the above data obtained by compression processing or storage together form the characteristic data set of the ink cartridge.
7. The cartridge chip data compression storage system of claim 6, wherein:
The operation storage module selects one group of compressed data from the ink box characteristic data set to be used for executing ink box authentication and ink box record acquisition work specifically comprises the following steps:
selecting a group of compressed data matched with the start control mark bit from the ink box characteristic data set according to the start control mark bit in the ink box characteristic data set, and transmitting the group of compressed data to a logic processing hardware circuit of the logic processing module;
the logic processing module instructs the logic processing hardware circuit to decompress the set of compressed data;
the operation storage module executes ink box authentication and ink box record acquisition work by using the decompressed compressed data;
and the logic processing module also determines whether the decompressed group of compressed data is modified by an instruction issued by the printer end in the process of executing the ink cartridge authentication and ink cartridge record acquisition work, and if so, the modified group of compressed data is subjected to compression again and is stored in the original corresponding storage space.
8. The cartridge chip data compression storage system of claim 7, wherein:
The operation storage module further selects another group of compressed data from the ink cartridge characteristic data set according to the address information, and the operation storage module is used for executing the acquisition work of the other ink quantity data, and specifically comprises the following steps: selecting another group of compressed data from the ink box characteristic data set according to the address information, and transmitting the another group of compressed data to a logic processing hardware circuit of the logic processing module;
and then the logic processing hardware circuit is instructed to decompress the other group of compressed data, and the decompressed other group of compressed data is used for executing the acquisition work of the other ink quantity data.
CN202011501722.7A 2020-12-17 2020-12-17 Data compression storage method and system for ink cartridge chip Active CN112583415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501722.7A CN112583415B (en) 2020-12-17 2020-12-17 Data compression storage method and system for ink cartridge chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501722.7A CN112583415B (en) 2020-12-17 2020-12-17 Data compression storage method and system for ink cartridge chip

Publications (2)

Publication Number Publication Date
CN112583415A CN112583415A (en) 2021-03-30
CN112583415B true CN112583415B (en) 2023-06-23

Family

ID=75135994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501722.7A Active CN112583415B (en) 2020-12-17 2020-12-17 Data compression storage method and system for ink cartridge chip

Country Status (1)

Country Link
CN (1) CN112583415B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756230A (en) * 2019-01-03 2019-05-14 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3105047B2 (en) * 1991-11-18 2000-10-30 キヤノン株式会社 INK CONTAINER, PRINT HEAD UNIT USING THE SAME, AND PRINTING APPARATUS MOUNTING THE SAME
MY138350A (en) * 1998-11-02 2009-05-29 Seiko Epson Corp Ink cartridge and printer using the same
CN1286649C (en) * 2000-12-26 2006-11-29 精工爱普生株式会社 Ink jet recording device, and ink type information setting method and cartridge therein
AU2003901297A0 (en) * 2003-03-20 2003-04-03 Silverbrook Research Pty Ltd Systems and apparatus (fpd001)
KR101906078B1 (en) * 2015-05-15 2018-10-08 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Printer cartridges and memory devices containing compressed multi-dimensional color tables
CN105818541B (en) * 2016-04-07 2018-10-16 杭州旗捷科技有限公司 A kind of ink box chip, print cartridge and the operating method for responding print job
CN107301024B (en) * 2017-06-09 2020-07-17 珠海艾派克微电子有限公司 Imaging box chip, imaging box and data processing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756230A (en) * 2019-01-03 2019-05-14 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium

Also Published As

Publication number Publication date
CN112583415A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
EP3597438B1 (en) Storage chip, method of changing a serial number and method of using storage chip
CN103240999B (en) Storage chip and repositioning method, consumable container, imaging device
CN101770428B (en) Method for operating non-volatile memory and data storage system using the same
CN102375788B (en) Method and device for dynamic allocation of power budget for a system having non-volatile memory
CN100520734C (en) Control apparatus and method of flash memory
CN104008061A (en) Internal memory recovery method and device
US20080098192A1 (en) Methods of reusing log blocks in non-volatile memories and related non-volatile memory devices
CN104699413B (en) Data managing method, memory storage apparatus and memorizer control circuit unit
JP2003532222A (en) Method, system, and computer program for data management on a storage medium
CN102890656A (en) Method for improving service life of FLASH
CN111813343B (en) Solid state disk garbage recovery method, system and related components
CN106956516A (en) A kind of sequence number memory can remove consumable chip, consumptive material, system and application method
CN106626795B (en) A kind of sequence number transmission method, device, consumable chip and imaging cartridge
CN103481668A (en) Reset method for imaging box chip, imaging box chip and imaging box
CN101954797A (en) Consumable chip as well as data eliminating method and consumable vessel thereof
CN112583415B (en) Data compression storage method and system for ink cartridge chip
CN112596668A (en) Bad block processing method and system for memory
JP4586469B2 (en) MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, PROGRAM
CN102147587A (en) Resetting method for imaging box chip and imaging box chip
CN102377894B (en) Method and device for revising imaging box chip
JP3390482B2 (en) Facsimile machine
CN105630687B (en) Method for writing data, memorizer control circuit unit and memory storage apparatus
CN106945406B (en) Operating method, consumable chip, consumable container, the consumptive material equipment of consumable chip
JP2007035011A (en) Nonvolatile memory and electronic device with use thereof
CN113360092A (en) Data storage method, data storage device and electronic equipment

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