CN112583415A - Data compression storage method and system for ink box chip - Google Patents

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

Info

Publication number
CN112583415A
CN112583415A CN202011501722.7A CN202011501722A CN112583415A CN 112583415 A CN112583415 A CN 112583415A CN 202011501722 A CN202011501722 A CN 202011501722A CN 112583415 A CN112583415 A CN 112583415A
Authority
CN
China
Prior art keywords
data
ink
ink box
compressed data
compressed
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.)
Granted
Application number
CN202011501722.7A
Other languages
Chinese (zh)
Other versions
CN112583415B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Ink Jet (AREA)

Abstract

The invention provides a data compression storage method and a data compression storage system of 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 related operation data for recycling an ink box, and meanwhile, switching change of different compressed data can be adaptively carried out according to the use progress state of a set of compressed data currently used, so that the aim of recycling the ink box data for multiple times can be fulfilled on the same chip, the applicability of a recyclable ink box system to different occasions is improved, and the use switching efficiency and reliability of the ink box of the recyclable ink box system are improved.

Description

Data compression storage method and system for ink box 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
At present, an ink box of a printer is usually provided with a chip, the chip stores information of ink amount in the ink box, the printer can obtain actual residual ink amount of the ink box at a corresponding port in the using process of the ink box, and a user is prompted to replace the ink box after the ink amount is exhausted. In practical application, a set of ink box data is stored in the running storage space of the chip, the ink box data comprises chip authentication data and ink quantity data, then the data is calculated, and data interaction is carried out through a serial interface of the printer, so that the work of authentication of the ink box, ink quantity data acquisition and the like is completed. However, the ink cartridge of the printer in the prior art is usually a disposable ink cartridge, which cannot meet the increasingly diversified requirements of users, and particularly, the existing chip cannot simultaneously store a plurality of sets of different ink cartridge data and call appropriate ink cartridge data according to the reuse condition of the ink cartridge to interact with the printer port, thereby severely restricting the popularization and application of the reusable ink cartridge system and reducing the ink cartridge use switching efficiency and reliability of the reusable ink cartridge system.
Disclosure of Invention
The invention provides a method and a system for compressing and storing data of 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, selecting one set of compressed data from the ink box characteristic data set to be used for executing ink box authentication and ink box record acquisition work, then acquiring the current use progress state information of the one set of compressed data, determining address information corresponding to the other set of compressed data acquired from the ink box characteristic data set in the next step according to the use progress state information, and finally selecting the other set of compressed data from the ink box characteristic data set to be used for executing acquisition work related to the other ink volume data according to the address information; therefore, the data compression storage method and the data compression storage system of the ink box chip compress 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 the related operation data for recycling the ink box, meanwhile, the switching change of different compressed data can be adaptively carried out according to the current using progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be fulfilled on the same chip, the applicability of the recyclable ink box system to different occasions is improved, and the using switching efficiency and reliability of the recyclable ink box system are improved.
The invention provides a data compression storage method of an ink box 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 for executing ink box authentication and ink box record acquisition work;
step S2, obtaining the use progress status information of one group of the compressed data, and determining the address information corresponding to another group of the compressed data obtained from the ink box characteristic data set in the next step according to the use progress status information;
step S3, according to the address information, selecting another group of compressed data from the ink box characteristic data set for executing the acquisition work of another ink amount data;
further, in step S1, the compressing at least one set of cartridge feature data to obtain and store a cartridge feature data set including at least one set of compressed data specifically includes:
step S101, compressing data related to different state quantities of the ink box in a mode of combining a space address with data, and compressing and storing the data related to the different state quantities of the ink box to the different space addresses, wherein the data related to the different state quantities of the ink box comprises at least one of ink color data, ink model data, ink box full load data, ink box no-load data and data with the ink quantity lower than a preset threshold quantity;
step S102, compressing the ink amount data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area, so as to obtain ink amount 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 common 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 the ink box characteristic data sets;
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;
further, in step S1, the step of selecting one set of compressed data from the ink cartridge feature data set for performing the ink cartridge authentication and the ink cartridge record acquisition specifically includes:
step S105, according to the start control mark bit in the ink box characteristic data set, selecting a group of compressed data matched with the start control mark bit from 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 utilized to execute ink box authentication and ink box record acquisition work;
step S107, in the process of executing the ink box authentication and ink box record acquisition work, determining whether the decompressed group of compressed data is modified by an instruction issued by a printer end, if so, compressing the modified group of compressed data again and storing the compressed data in an original corresponding storage space;
further, in step S2, the obtaining of the use progress status information of the current group of compressed data, and determining, according to the use 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 group of compressed data is used up in the process of acquiring ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after determining that the current group of compressed data is used up in the process of acquiring the ink volume data, detecting whether a user performs a preset type of operation action on a printer system, if so, modifying the starting control mark position, and then 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 starting control mark position, wherein the preset type of operation action comprises any one of an ink car warehouse-out or warehouse-in action of a printer, an ink box inserting or extracting ink car action and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
determining whether the current residual ink quantity of the ink box is lower than a preset threshold quantity or not according to the ink quantity data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit;
further, in step S3, the step of selecting another set of compressed data from the set of ink cartridge characteristic data for performing another acquisition operation on the ink amount data according to the address information may specifically include:
step S301, according to the address information, selecting another group of compressed data from the ink box characteristic data set, and transmitting the another group of compressed data to a logic processing hardware circuit;
step S302, instruct the logic processing hardware circuit to decompress the other set of compressed data, and then execute another acquisition operation related to another ink amount data by using the decompressed other set of compressed data.
The invention also provides a data compression storage system of the ink box chip, which is characterized by comprising a nonvolatile storage module, an operation storage module and a logic processing module; wherein the content of the first and second substances,
the non-volatile 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 be used for executing ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the use progress state information of the current group of compressed data, 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 use progress state information;
the operation storage module is further used for selecting another group of compressed data from the ink box characteristic data set according to the address information for executing acquisition work of another ink amount data;
further, the compressing at least one set of ink cartridge feature data by the nonvolatile storage module to obtain and store an ink cartridge feature data set including at least one set of compressed data specifically includes:
compressing data related to different state quantities of the ink box in a mode of combining a space address with data, so as to compress and store the data of the different state quantities of the ink box to the 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 data of which the ink quantity is lower than a preset threshold quantity;
compressing the ink quantity data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area so as to obtain ink quantity compressed data information of regular compressed data containing N1-bit stored data and non-regular compressed data containing a plurality of 1-bit stored data;
storing preset ink box starting key data, extracting and storing mutual common 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 the ink box characteristic data sets;
the data obtained by the compression processing or the storage jointly form the ink box characteristic data set;
further, the operation storage module selects one group of compressed data from the ink cartridge feature data set for performing ink cartridge authentication and ink cartridge record acquisition work, and 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 logical processing module instructs the logical processing hardware circuitry to decompress the set of compressed data;
the operation storage module executes ink box authentication and ink box record acquisition work by utilizing the decompressed group of compressed data;
the logic processing module also determines whether the decompressed group of compressed data is modified by an instruction issued by a 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 compressed again and stored in the original corresponding storage space;
further, the logic processing module obtains the use progress status information of the current group of compressed data, and determines, according to the use 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 group of compressed data is used up in the process of acquiring ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after the current group of compressed data is determined to be used in the process of acquiring ink volume data, detecting whether a printer corresponding to the ink box receives a preset type of operation action currently, modifying the starting 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 starting control mark bit, wherein the preset type of operation action comprises any one of an ink car delivery or storage action of the printer, an ink box insertion or extraction action of the ink car and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
determining whether the current residual ink quantity of the ink box is lower than a preset threshold quantity or not according to the ink quantity data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit;
further, the operation storage module further selects another set of compressed data from the ink cartridge feature data set according to the address information for performing another acquisition operation on the ink amount data specifically includes:
according to the address information, another group of compressed data is selected from the ink box characteristic data set, and the another group of compressed data is transmitted to a logic processing hardware circuit of the logic processing module;
and instructing the logic processing hardware circuit to decompress the other set of compressed data, and executing acquisition work on the other ink amount data by using the decompressed other set of compressed data.
Compared with the prior art, the data compression storage method and system of the ink box chip have the advantages that at least one set of ink box characteristic data is compressed, so that an ink box characteristic data set containing at least one set of compressed data is obtained and stored, one set of compressed data is selected from the ink box characteristic data set and used for executing ink box authentication and ink box record acquisition work, the current use progress state information of the one set of compressed data is obtained, 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 and used for executing acquisition work related to the other ink volume data according to the address information; therefore, the data compression storage method and the data compression storage system of the ink box chip compress 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 the related operation data for recycling the ink box, meanwhile, the switching change of different compressed data can be adaptively carried out according to the current using progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be fulfilled on the same chip, the applicability of the recyclable ink box system to different occasions is improved, and the using 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 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 data compression and storage method of an ink cartridge chip provided by the invention.
Fig. 2 is a schematic diagram of data compression about different state quantities of the ink cartridge in the data compression and storage method of the ink cartridge chip provided by the invention.
Fig. 3-4 are schematic diagrams showing the formation of ink volume data about the ink cartridge in the data compression and storage method of the ink cartridge chip provided by the invention.
Fig. 5 is a schematic diagram of a characteristic data set of the ink cartridge in the data compression and 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 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.
Fig. 1 is a schematic flow chart of a data compression and storage method for an ink cartridge chip according to an embodiment of the present invention. The data compression and 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 for executing ink box authentication and ink box record acquisition work;
step S2, obtaining the use progress status information of one group of the compressed data, and determining the address information corresponding to another group of the compressed data obtained from the ink box characteristic data set in the next step according to the use progress status information;
in step S3, another set of compressed data is selected from the set of ink cartridge characteristic data for performing an acquisition job with respect to another ink amount data based on the address information.
The beneficial effects of the above technical scheme are: the data compression storage method 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 compressed data, the ink box characteristic data set is used as related operation data for recycling of the ink box, meanwhile, switching change of different compressed data can be carried out adaptively according to the current using progress state of one set of compressed data, so that the aim of recycling of the ink box data on the same chip for multiple times can be achieved, applicability of a recyclable ink box system to different occasions is improved, and using switching efficiency and reliability of the ink box of the recyclable ink box system are improved.
Preferably, in step S1, the compressing at least one set of cartridge feature data to obtain and store a cartridge feature data set including at least one set of compressed data specifically includes:
step S101, compressing data related to different state quantities of the ink box in a mode of combining a space address with data, and compressing and storing the data related to the different state quantities of the ink box to the different space addresses, wherein the data related to the different state quantities of the ink box comprises at least one of ink color data, ink model data, ink box full load data, ink box no-load data and data with the ink quantity lower than a preset threshold quantity;
step S102, compressing the ink amount data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area, so as to obtain ink amount 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 common 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 the ink box characteristic data sets;
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.
Referring to fig. 2, it corresponds to a schematic compression diagram of data related to different state quantities of the ink cartridge in the data compression and storage method of the ink cartridge chip. Since the nonvolatile data storage of the ink cartridge chip is that the storage of various state quantities of the ink cartridge, which may include but not limited to at least one of ink color data, ink model data, ink cartridge full data, ink cartridge empty data, and data with an ink quantity below a preset threshold amount, needs to be considered, information corresponding to the state quantities is generally stored in different areas of a spatial address in a scattered manner, and there are often many spaces between the areas where no data is stored, which results in a waste of corresponding storage space, as shown in the left side of fig. 2, D1, D2, D3 respectively represent information corresponding to the state quantities, and x represents an address space where no data is stored. In view of the above-mentioned drawbacks, the present invention employs the combination of space addresses and data as shown in the right side of fig. 2, 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, to store, thereby effectively avoiding waste of address space.
Referring to fig. 3-4, schematic diagrams corresponding to the ink volume data of the ink cartridge in the data compression and storage method of the ink cartridge chip are shown. In order to represent the ink amount data information in the ink cartridge, the expression of the ink amount data information is generally designed to map the actual ink amount of the ink cartridge with bit data, and as can be seen from fig. 3, according to the consumption situation of the actual ink amount in the ink cartridge, the number of bits corresponding to the ink amount area in the memory is modified to record the consumption of the ink amount, since the nonvolatile memory of the printer can only perform one-way writing, that is, only 0 can be written into 1 or only 1 can be written into 0, the characteristic of the one-way writing exactly matches the characteristic of one-way change that the ink amount in the ink cartridge of the printer can only be reduced but not increased, so that the characteristic of one-way change that the ink amount can only be reduced but not increased is thoroughly ensured on the process bottom layer by using this way.
Referring to fig. 4, according to the characteristic of the unidirectional write, in an actual operation, N consecutive 1-bit data are stored, where a value of N is a natural number that is an integer power of 2, a storage area of the N is defined as a regular data storage area, each 1bit in the regular data storage area is mapped to N bits in a data space before compression, 1bit in the regular data storage area is 1, which indicates that all N corresponding bits in the data space before compression are 1, and conversely, 1bit in the regular data storage area is 0, which indicates that all N corresponding bits in the data space before compression are 0. Because the ink amount data in the data space before compression is continuous, if the condition that the tail of the data can not make up N1 bits is not considered, the information is lost only by means of the compression of the regular data storage area, so that a non-regular data storage area needs to be opened up, if the condition that the tail of the data can not make up N bits is met, the information is stored in the non-regular data storage area in a mode of combining a space address and the data, after the compression processing, the occupied space of the data is reduced, and any useful information is not lost.
In addition, the preset ink box starting key data can not be compressed continuously generally, so that the preset ink box starting key data can only be stored as it is, only one set of common data of the ink boxes needs to be stored, and the starting control mark bit of the ink box determines which set of ink box data is used specifically.
The ink cartridge feature data set shown in fig. 5 is obtained by the above-described series of compression storage operations.
Preferably, in step S1, the step of selecting one set of compressed data from the ink cartridge feature data set for performing the ink cartridge authentication and ink cartridge record acquisition includes:
step S105, according to the start control mark bit in the ink box characteristic data set, selecting a group of compressed data matched with the start control mark bit from 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 utilized to execute ink box authentication and ink box record acquisition work;
step S107, in the process of executing the ink box authentication and ink box record acquisition work, determining whether the decompressed group of compressed data is modified by an instruction issued by the printer end, if so, compressing the modified group of compressed data again and storing the compressed data in the original corresponding storage space.
The beneficial effects of the above technical scheme are: because the data of the ink box characteristic data set is compressed and stored, the data cannot be directly used, the data needs to be decompressed and restored before being used, and the corresponding start control marking bit marks which set of ink box data should be used currently, so that the subsequent processing can select the corresponding ink box data for decompression.
Preferably, in step S2, the obtaining of the current usage progress status information of the one group of compressed data, and determining, 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 one group of compressed data is used up in the process of executing the acquisition of the ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after determining that the current group of compressed data is used up in the process of acquiring the ink volume data, detecting whether a user performs a preset type of operation action on the printer system, if so, modifying the start control mark bit, and then determining address information corresponding to another group of compressed data acquired from the ink box feature data set in the next step according to the modified start control mark bit, wherein the preset type of operation action comprises any one of an ink car warehouse-out or warehouse-in action of the printer, an ink box inserting or extracting ink car action and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
and determining whether the current residual ink amount of the ink box is lower than a preset threshold amount or not according to the ink amount data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit.
The beneficial effects of the above technical scheme are: the three different address information determining modes can ensure that the address information corresponding to another group of compressed data can be determined quickly and accurately under the condition that the corresponding printer operates to the maximum extent.
Preferably, in step S3, the step of selecting another set of compressed data from the set of ink cartridge characteristic data for performing another acquisition job with respect to another ink amount data according to the address information specifically includes:
step S301, according to the address information, selecting another group of compressed data from the ink box characteristic data set, and transmitting the another group of compressed data to a logic processing hardware circuit;
step S302, instruct the logic processing hardware circuit to decompress the other set of compressed data, and then execute acquisition work related to the other ink amount 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 will not be described in detail here.
Fig. 6 is a schematic structural diagram of a data compression storage system of the ink cartridge chip according to the present invention. The data compression storage system of the ink box chip comprises a nonvolatile storage module, an operation storage module and a logic processing module; wherein the content of the first and second substances,
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 for executing ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the use progress state information of one group of the compressed data at present, and determining address information corresponding to another group of the compressed data acquired from the ink box characteristic data set in the next step according to the use progress state information;
the operation storage module is also used for selecting another group of compressed data from the ink box characteristic data set according to the address information for executing acquisition work of another ink quantity data.
The beneficial effects of the above technical scheme are: 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 compressed data, the ink box characteristic data set is used as related operation data for recycling of the ink box, meanwhile, switching change of different compressed data can be carried out adaptively according to the current using progress state of one set of compressed data, so that the aim of recycling of the ink box data on the same chip for multiple times can be achieved, applicability of the recyclable ink box system to different occasions is improved, and using switching efficiency and reliability of the ink box of the recyclable ink box system are improved.
Preferably, the compressing at least one set of cartridge feature data by the nonvolatile storage module to obtain and store a cartridge feature data set including at least one set of compressed data specifically includes:
compressing data related to different state quantities of the ink box in a mode of combining a space address with data, so as to compress and store the data of the different state quantities of the ink box to the 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 data of which the ink quantity is lower than a preset threshold quantity;
compressing the ink quantity data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area so as to obtain ink quantity compressed data information of regular compressed data containing N1-bit stored data and non-regular compressed data containing a plurality of 1-bit stored data;
storing preset ink box starting key data, extracting and storing mutual common data of the ink boxes, and storing a starting control marking bit of the ink boxes, wherein the starting control marking bit is an address pointer pointing to a compressed storage space of the ink box characteristic data set;
the data obtained by the above compression processing or storage collectively constitute the ink cartridge characteristic data set.
Preferably, the operation storage module selects one group of compressed data from the ink cartridge feature data set for performing the ink cartridge authentication and ink cartridge record acquisition operations, and 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 utilizing the decompressed group of 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 box authentication and ink box record acquisition work, and if so, the modified group of compressed data is compressed again and stored in the original corresponding storage space.
Preferably, the logic processing module acquires the use progress status information of the current group of compressed data, and determines, according to the use progress status information, address information corresponding to another group of compressed data acquired from the ink cartridge feature data set in the next step specifically includes:
determining whether the current one group of compressed data is used up in the process of executing the acquisition of the ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after determining that the current group of compressed data is used up in the process of acquiring the ink volume data, detecting whether a printer corresponding to the ink box receives a preset type of operation action currently, 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, wherein the preset type of operation action comprises any one of an ink car delivery or storage action of the printer, an ink box insertion or extraction action of the ink car and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
and determining whether the current residual ink amount of the ink box is lower than a preset threshold amount or not according to the ink amount data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit.
Preferably, the operation storage module further selects another set of compressed data from the ink cartridge feature data set for performing another acquisition operation on the ink amount data according to the address information, and 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 instructing the logic processing hardware circuit to decompress the other set of compressed data and then to execute acquisition work for the other ink amount data using the decompressed other set of compressed data.
As can be seen from the content of the above embodiment, the data compression and storage method and system of the ink cartridge chip compress 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, select one set of compressed data from the ink cartridge feature data set for performing ink cartridge authentication and ink cartridge record acquisition work, then obtain the current use progress state 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 use progress state information, and finally select another set of compressed data from the ink cartridge feature data set for performing acquisition work related to another ink volume data according to the address information; therefore, the data compression storage method and the data compression storage system of the ink box chip compress 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 the related operation data for recycling the ink box, meanwhile, the switching change of different compressed data can be adaptively carried out according to the current using progress state of one set of compressed data, so that the aim of recycling the ink box data for multiple times can be fulfilled on the same chip, the applicability of the recyclable ink box system to different occasions is improved, and the using switching efficiency and reliability of the recyclable ink box system are improved.
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 (10)

1. The data compression and storage method of the ink box chip 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 for executing ink box authentication and ink box record acquisition work;
step S2, obtaining the use progress status information of one group of the compressed data, and determining the address information corresponding to another group of the compressed data obtained from the ink box characteristic data set in the next step according to the use progress status information;
step S3, according to the address information, another set of compressed data is selected from the ink cartridge characteristic data set for performing acquisition work regarding another ink amount data.
2. The data compression storage method of the cartridge chip according to claim 1, characterized in that:
in step S1, compressing at least one set of cartridge feature data to obtain and store a cartridge feature data set including at least one set of compressed data specifically includes:
step S101, compressing data related to different state quantities of the ink box in a mode of combining a space address with data, and compressing and storing the data related to the different state quantities of the ink box to the different space addresses, wherein the data related to the different state quantities of the ink box comprises at least one of ink color data, ink model data, ink box full load data, ink box no-load data and data with the ink quantity lower than a preset threshold quantity;
step S102, compressing the ink amount data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area, so as to obtain ink amount 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 common 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 the ink box characteristic data sets;
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 cartridge chip according to claim 2, characterized in that:
in step S1, the step of selecting one set of compressed data from the ink cartridge feature data set for performing the ink cartridge authentication and the ink cartridge record acquisition includes:
step S105, according to the start control mark bit in the ink box characteristic data set, selecting a group of compressed data matched with the start control mark bit from 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 utilized to execute ink box authentication and ink box record acquisition work;
and step S107, in the process of executing the ink box authentication and ink box record acquisition work, determining whether the decompressed group of compressed data is modified by an instruction issued by a printer end, if so, compressing the modified group of compressed data again and storing the compressed data in an original corresponding storage space.
4. A data compression storage method of a cartridge chip as claimed in claim 3, characterized in that:
in step S2, obtaining the use progress status information of the current group of compressed data, and determining, according to the use 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 group of compressed data is used up in the process of acquiring ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after determining that the current group of compressed data is used up in the process of acquiring the ink volume data, detecting whether a user performs a preset type of operation action on a printer system, if so, modifying the starting control mark position, and then 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 starting control mark position, wherein the preset type of operation action comprises any one of an ink car warehouse-out or warehouse-in action of a printer, an ink box inserting or extracting ink car action and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold quantity or not according to the ink quantity data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit.
5. The data compression storage method of the cartridge chip according to claim 4, characterized in that:
in step S3, the step of selecting another set of compressed data from the set of ink cartridge characteristic data for performing another acquisition operation on the ink amount data according to the address information may specifically include:
step S301, according to the address information, selecting another group of compressed data from the ink box characteristic data set, and transmitting the another group of compressed data to a logic processing hardware circuit;
step S302, instruct the logic processing hardware circuit to decompress the other set of compressed data, and then execute another acquisition operation related to another ink amount data by using the decompressed other set of compressed data.
6. The data compression storage system of the ink box chip is characterized by comprising a nonvolatile storage module, an operation storage module and a logic processing module; wherein the content of the first and second substances,
the non-volatile 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 be used for executing ink box authentication and ink box record acquisition work;
the logic processing module is used for acquiring the use progress state information of the current group of compressed data, 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 use progress state information;
the operation storage module is also used for selecting another group of compressed data from the ink box characteristic data set according to the address information for executing acquisition work of another ink quantity data.
7. The data compression storage system of the cartridge chip of claim 6, wherein:
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 the method specifically comprises the following steps:
compressing data related to different state quantities of the ink box in a mode of combining a space address with data, so as to compress and store the data of the different state quantities of the ink box to the 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 data of which the ink quantity is lower than a preset threshold quantity;
compressing the ink quantity data information of the ink box by adopting a mode of combining a regular data storage area and a non-regular data storage area so as to obtain ink quantity compressed data information of regular compressed data containing N1-bit stored data and non-regular compressed data containing a plurality of 1-bit stored data;
storing preset ink box starting key data, extracting and storing mutual common 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 the ink box characteristic data sets;
the data obtained by the above compression processing or storage collectively constitute the ink cartridge characteristic data set.
8. The data compression storage system of the cartridge chip of claim 7, wherein:
the operation storage module selects one group of compressed data from the ink box characteristic data set for executing ink box authentication and ink box record acquisition work, and 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 logical processing module instructs the logical processing hardware circuitry to decompress the set of compressed data;
the operation storage module executes ink box authentication and ink box record acquisition work by utilizing the decompressed group of compressed data;
and the logic processing module also determines whether the decompressed group of compressed data is modified by an instruction issued by a 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 compressed again and stored in the original corresponding storage space.
9. The data compression storage system of the cartridge chip of claim 8, wherein:
the logic processing module acquires the use progress state information of the current group of compressed data, and determines, according to the use progress state information, that address information corresponding to another group of compressed data acquired from the ink cartridge feature data set in the next step specifically includes:
determining whether the current group of compressed data is used up in the process of acquiring ink volume data, if so, modifying the start control mark bit, and then 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;
alternatively, the first and second electrodes may be,
after the current group of compressed data is determined to be used in the process of acquiring ink volume data, detecting whether a printer corresponding to the ink box receives a preset type of operation action currently, modifying the starting 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 starting control mark bit, wherein the preset type of operation action comprises any one of an ink car delivery or storage action of the printer, an ink box insertion or extraction action of the ink car and a printer power-off or power-on action;
alternatively, the first and second electrodes may be,
and determining whether the current residual ink quantity of the ink box is lower than a preset threshold quantity or not according to the ink quantity data information of the ink box, if so, modifying the starting control mark bit, and then 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 starting control mark bit.
10. The data compression storage system of the cartridge chip of claim 9, wherein:
the operation storage module further selects another set of compressed data from the ink cartridge characteristic data set according to the address information for executing acquisition work related to another ink amount data, and specifically comprises:
according to the address information, another group of compressed data is selected from the ink box characteristic data set, and the another group of compressed data is transmitted to a logic processing hardware circuit of the logic processing module;
and instructing the logic processing hardware circuit to decompress the other set of compressed data, and executing acquisition work on the other ink amount data by using the decompressed other set of compressed 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 true CN112583415A (en) 2021-03-30
CN112583415B 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5608437A (en) * 1991-11-18 1997-03-04 Canon Kabushiki Kaisha Ink container and ink jet recording apparatus using same
US20020057319A1 (en) * 1998-11-02 2002-05-16 Seiko Epson Corporation Ink cartridge and printer using the same
US20020093555A1 (en) * 2000-12-26 2002-07-18 Seiko Epson Corporation Ink jet type recording apparatus, ink type information setting method in the apparatus and ink cartridge used in the apparatus
CN1761937A (en) * 2003-03-20 2006-04-19 西尔弗布鲁克研究有限公司 A printing and display device
CN107301024A (en) * 2017-06-09 2017-10-27 珠海艾派克微电子有限公司 Imaging box chip, imaging cartridge and data processing method
US20170374235A1 (en) * 2015-05-15 2017-12-28 Hewlett-Packard Development Company, L.P. Printer cartridges and memory devices containing compressed multi-dimensional color tables
US20180215157A1 (en) * 2016-04-07 2018-08-02 Hangzhou Chipjet Technology Co.,Ltd. Ink Cartridge Chip, Ink Cartridge and Operation Method for Giving Response to Printing Work
CN109756230A (en) * 2019-01-03 2019-05-14 Oppo广东移动通信有限公司 Data compression storage method, data compression method, device, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5608437A (en) * 1991-11-18 1997-03-04 Canon Kabushiki Kaisha Ink container and ink jet recording apparatus using same
US20020057319A1 (en) * 1998-11-02 2002-05-16 Seiko Epson Corporation Ink cartridge and printer using the same
US20020093555A1 (en) * 2000-12-26 2002-07-18 Seiko Epson Corporation Ink jet type recording apparatus, ink type information setting method in the apparatus and ink cartridge used in the apparatus
CN1761937A (en) * 2003-03-20 2006-04-19 西尔弗布鲁克研究有限公司 A printing and display device
US20170374235A1 (en) * 2015-05-15 2017-12-28 Hewlett-Packard Development Company, L.P. Printer cartridges and memory devices containing compressed multi-dimensional color tables
US20180215157A1 (en) * 2016-04-07 2018-08-02 Hangzhou Chipjet Technology Co.,Ltd. Ink Cartridge Chip, Ink Cartridge and Operation Method for Giving Response to Printing Work
CN107301024A (en) * 2017-06-09 2017-10-27 珠海艾派克微电子有限公司 Imaging box chip, imaging cartridge and data processing method
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
CN112583415B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN102375788B (en) Method and device for dynamic allocation of power budget for a system having non-volatile memory
CN104615550B (en) It is a kind of to store the processing method of equipment bad block, device and storage equipment
CN101853207B (en) Storage device
EP3597438B1 (en) Storage chip, method of changing a serial number and method of using storage chip
CN101014929B (en) Systems, methods and apparatus for memory management using NVRAM
JP5336060B2 (en) Nonvolatile memory device and method of operating the same
CN111813343B (en) Solid state disk garbage recovery method, system and related components
CN102890656A (en) Method for improving service life of FLASH
CN104008061A (en) Internal memory recovery method and device
CN103678144A (en) Data storage device and flash memory control method
CN101763295A (en) Data backup method, data backup device, backup item erasing method, backup item erasing device, data recovery method and data recovery device
JP2003532222A (en) Method, system, and computer program for data management on a storage medium
CN103136105A (en) Memory management method, embedded type system and video data processing system
CN109918024B (en) Storage management method and device, single-chip microcomputer equipment and readable storage medium
CN115687174A (en) Method for recovering dynamic garbage of solid state disk and solid state disk
CN112306408A (en) Storage block processing method, device, equipment and storage medium
CN112583415A (en) Data compression storage method and system for ink box chip
CN107122308A (en) Average abrasion method, memory control circuit unit and internal storing memory
US8656091B2 (en) Data storage in nonvolatile memory
CN102375814A (en) Device and method for storing remark information
CN109388332A (en) Date storage method, memorizer control circuit unit and memory storage apparatus
CN111391512A (en) Consumable chip and consumable
CN101795312B (en) Security management method, security management system and security management mobile terminal for mail data
CN109407963A (en) A kind of method and device for realizing storage management
US7747812B2 (en) Method for manipulating state machine storage in a small memory space

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