WO2022002283A2 - 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质 - Google Patents

耗材芯片和耗材芯片的响应方法、耗材盒及存储介质 Download PDF

Info

Publication number
WO2022002283A2
WO2022002283A2 PCT/CN2021/115131 CN2021115131W WO2022002283A2 WO 2022002283 A2 WO2022002283 A2 WO 2022002283A2 CN 2021115131 W CN2021115131 W CN 2021115131W WO 2022002283 A2 WO2022002283 A2 WO 2022002283A2
Authority
WO
WIPO (PCT)
Prior art keywords
data
target data
consumable chip
printing device
chip
Prior art date
Application number
PCT/CN2021/115131
Other languages
English (en)
French (fr)
Other versions
WO2022002283A3 (zh
Inventor
刘卫臣
Original Assignee
珠海艾派克微电子有限公司
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 珠海艾派克微电子有限公司 filed Critical 珠海艾派克微电子有限公司
Priority to EP21832471.3A priority Critical patent/EP4169723A4/en
Publication of WO2022002283A2 publication Critical patent/WO2022002283A2/zh
Publication of WO2022002283A3 publication Critical patent/WO2022002283A3/zh
Priority to US18/148,179 priority patent/US20230135115A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • B41J2/17543Cartridge presence detection or type identification
    • B41J2/17546Cartridge presence detection or type identification electronically
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17566Ink level or ink residue control
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/06Apparatus for electrographic processes using a charge pattern for developing
    • G03G15/08Apparatus for electrographic processes using a charge pattern for developing using a solid developer, e.g. powder developer
    • G03G15/0822Arrangements for preparing, mixing, supplying or dispensing developer
    • G03G15/0863Arrangements for preparing, mixing, supplying or dispensing developer provided with identifying means or means for storing process- or use parameters, e.g. an electronic memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17566Ink level or ink residue control
    • B41J2002/17569Ink level or ink residue control based on the amount printed or to be printed
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G21/00Arrangements not provided for by groups G03G13/00 - G03G19/00, e.g. cleaning, elimination of residual charge
    • G03G21/16Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements
    • G03G21/18Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit
    • G03G21/1875Mechanical means for facilitating the maintenance of the apparatus, e.g. modular arrangements using a processing cartridge, whereby the process cartridge comprises at least two image processing means in a single unit provided with identifying means or means for storing process- or use parameters, e.g. lifetime of the cartridge
    • G03G21/1878Electronically readable memory
    • G03G21/1889Electronically readable memory for auto-setting of process parameters, lifetime, usage

Definitions

  • the embodiments of the present application relate to the field of office consumables, and in particular, to a consumable chip, a consumable chip response method, a consumable box, and a storage medium.
  • Printing equipment is an indispensable equipment in modern life.
  • consumables boxes such as ink cartridges and toner cartridges are needed; in order to record the usage of the consumables boxes installed in the printing equipment, there are optional cartridges installed on the ink cartridges or toner cartridges.
  • Disassembled consumable chips such as toner cartridge chips, which are used to store toner cartridge related data, such as toner color, remaining toner amount, page yield (maximum number of printable pages), number of printed pages, manufacturer, production date, etc.
  • the printing device When the consumable chip communicates with the printing device, the printing device needs to verify whether the consumable chip is authentic and trustworthy. Therefore, a digital signature is generally stored in the consumable chip. When the digital signature is verified, it can indicate that the consumable chip is. believable. In some cases, when the digital signature is not stored in the consumable chip, the printing device also needs to communicate with the consumable chip. For example, a consumable chip on an original consumable box is used, and the digital signature stored in the consumable chip is to indicate that the consumable box is produced by a preset manufacturer. If the consumable chip on the consumable box is produced by a third party, there is often no digital signature information in the consumable chip.
  • the printing device still needs to allow the use of consumable cartridges produced by third parties without digital signatures. Therefore, the printing device needs to be able to confirm whether the consumable chip has digital signature information. If there is digital signature information, the printing device will verify the digital signature to determine the authenticity of the consumable chip. If there is no digital signature information in the consumable chip, the printing device will no longer verify the digital signature information.
  • the first part stores an indication, which can tell the printing device the type of data stored in the consumable chip, such as the signed data.
  • the type is either an unsigned data type, and the other part stores the indicated signed data or unsigned data.
  • the printing device can use this instruction to determine whether there is a digital signature in the consumable chip, and then determine whether to verify the digital signature.
  • a special part needs to be set in the consumable chip to store an instruction, and this instruction can be easily obtained by other third parties. After obtaining this instruction, other third parties can easily know the signature status of the data in the consumable chip, thereby reducing the security of the chip.
  • the embodiments of the present application provide a consumable chip and a consumable chip response method, a consumable box and a storage medium, which solve the problem that other third parties in the prior art can easily know the signature status of data in the consumable chip, thereby reducing chip security. Sexual technical issues.
  • an embodiment of the present application provides a response method for a consumable chip, where the consumable chip stores target data and an indication representing the type of target data in the consumable chip, and at least a part of the target data is used for make the instruction; the target data is digitally signed or unsigned data; the method includes:
  • the at least a portion of the data is sent to the printing device in response to an access request from the printing device.
  • all of the indications are contained in the target data.
  • the indication is data of a fixed address in the target data.
  • the indication is data of multiple different addresses in the target data or common information of the data of the multiple different addresses.
  • the indication is data selected from any address whose value is a preset value in the target data.
  • At least a part of the data in the target data and the data other than the target data are used together as an indication of the type of the target data, so as to respond to the access request of the printing device.
  • the method further includes:
  • the target data is sent to a printing device in response to a request by the printing device to access the target data.
  • an embodiment of the present application provides a consumable chip, including:
  • a storage module for storing target data and an indication for representing the type of target data in the consumable chip, at least a part of the target data is used as the indication; the target data is digitally signed or unsigned data .
  • the above-mentioned consumable chip further includes:
  • the receiving module is used for receiving the access request of the printing device.
  • a selection module configured to select at least a part of the target data according to the access request.
  • a sending module configured to send the at least a part of the data to a printing device in response to an access request of the printing device.
  • the indication is data of a fixed address in the target data.
  • the indication is the data of multiple different addresses in the target data or the common information of the data of the multiple different addresses.
  • the indication is that data of different addresses is randomly selected from the target data as data corresponding to a preset value.
  • At least a part of the data in the target data and data other than the target data are used together as the indication.
  • the receiving module is further configured to receive an access request from a printing device to the target data
  • the sending module is further configured to send the target data to a printing device to respond to an access request of the printing device to the target data.
  • an embodiment of the present application provides a consumable chip, including:
  • the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of the first aspects.
  • embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method according to any one of the first aspects.
  • an embodiment of the present application provides a consumables box, the consumables box includes the consumables chip according to the second aspect, and the consumables chip is detachably mounted on the consumables box.
  • an embodiment of the present application provides a chip for running instructions, the chip includes a memory and a processor, the memory stores codes and data, the memory is coupled to the processor, and the processor runs The code in the memory enables the chip to perform the response method of the consumable chip of the first aspect.
  • an embodiment of the present application provides a program product including instructions, which, when the program product runs on a computer, causes the computer to execute the method for responding to a consumable chip in the first aspect.
  • an embodiment of the present application provides a computer program, which, when the computer program is executed by a processor, is used to execute the response method for a consumable chip described in the first aspect.
  • Embodiments of the present application provide a consumable chip and a consumable chip response method, a consumable box, and a storage medium.
  • target data and an indication representing the type of target data in the consumable chip at least a part of the target data is used as instruction; the target data is digitally signed or unsigned data; receive the access request from the printing device to the instruction; select at least a part of the target data according to the access request; send at least part of the data to the printing device in response to the printing device's request for the instruction
  • the access request because a part of the data in the digital signature or unsigned data represents the indication of the type of the target data in the chip, so there is no need to set up a separate storage part to store the indication, and there is no need to fix the location of the storage indication, so it is obtained in the printing device.
  • the type of target data is indicated, it is difficult for other third parties to know the signature status of the data in the consumable chip, which increases the security of the chip.
  • FIG. 1 is a schematic flowchart of a response method of a consumable chip according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of data stored in a consumable chip in the prior art
  • FIG. 3 is a schematic diagram of data stored in a consumable chip according to an embodiment of the application.
  • FIG. 4 is a schematic flowchart of another method for responding to a consumable chip according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of data stored in another consumable chip according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of data stored in still another consumable chip according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a consumable chip according to an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of another consumable chip according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a response method of a consumable chip according to an embodiment of the present application.
  • the execution body of the embodiment of the present application is a consumable chip, which may be, for example, a response device of the consumable chip, and the response device of the consumable chip may be Integrated in a consumable chip, the consumable chip stores target data and an indicator for representing the type of target data in the consumable chip, at least a portion of the target data is used as the indicator; the target The data is digitally signed or unsigned data; the response method of the consumable chip provided by this embodiment includes the following steps.
  • Step 101 store target data and an indication representing the type of target data in the consumable chip, at least a part of the target data is used as an indication; the target data is digitally signed or unsigned data.
  • the consumable chip may store digital signature or unsigned data in the memory.
  • a digital signature is stored in the consumable chip, in addition to the digital signature, an indication indicating that the digital signature is stored in the consumable chip, that is, an indication that the type of the target data is a digital signature, is stored in the digital signature. At least a portion of the data is used as an indication that the digital signature is stored.
  • the consumable chip stores unsigned data, in addition to storing the unsigned data, it also stores an instruction indicating that no digital signature is stored in the consumable chip, that is, an instruction indicating that the type of the target data is unsigned data. At least a portion is used as an indication that no digital signature is stored.
  • the above-mentioned instructions for indicating that the digital signature is stored in the consumable chip and the instruction indicating that the digital signature is not stored in the consumable chip are instructions for indicating the type of target data.
  • the type of target data includes digital signatures. Signature data of this type.
  • the indication used to represent the type of target data in the consumable chip may be data of one byte or multiple bytes, or may be data of one bit/bit or multiple bits.
  • the numerical values used to indicate that the digital signature is stored in the consumable chip and the value used to indicate that the digital signature is not stored, that is, the indications that indicate the types of different target data are different.
  • the type of target data is digital signature
  • the indicated value is 0x11
  • the type of target data is unsigned data
  • the indicated value is 0x22.
  • the target data as a digital signature, that is, a digital signature stored as an example
  • the indication for indicating that a digital signature is stored in the consumable chip and indicating that the target data is a digital signature is exemplified.
  • Figure 2 shows a consumable chip in the prior art that includes a digital signature and its indication.
  • the digital signature includes 8 bytes, which are represented by hexadecimal numbers in the figure, and the indication is one byte.
  • the value in the figure is " 11”, the visible digital signature and instructions are stored in different locations/addresses of the consumable chip.
  • the data used for the instruction is no longer stored separately, but when the printing device requests an access instruction, the consumable chip selects a value from the digital signature that can indicate that the consumable chip stores the digital signature" 11", such as the seventh byte of the digital signature in Figure 3, is sent to the printing device as a response to the access request.
  • Step 102 Receive an access request from the printing device to the indication.
  • the printing device communicates with the consumable chip, and the specific communication manner is not limited in this embodiment.
  • the printing device when the printing device needs to confirm whether the consumable chip has digital signature information, if there is digital signature information, the printing device will verify the digital signature to determine the authenticity of the consumable chip. If there is no digital signature information in the consumable chip, that is, unsigned data is stored in the consumable chip, the printing device will no longer verify the digital signature. Therefore, the printing device sends an access request for the indication to the consumables chip, and the consumables chip receives the access request for the indication.
  • the printing device can send an access request for a specific address (such as the address in which the indication is stored) to the consumable chip, or it can send an access request to continuously access multiple addresses, and the multiple addresses may include the indicated address, so the printing device sends an access request.
  • the access request does not necessarily directly indicate that the instruction to be accessed is the instruction, and the consumable chip can reply the value of the instruction when receiving other access requests from the printing device.
  • Step 103 Select at least a part of the target data according to the access request.
  • the consumable chip since the consumable chip pre-stores an indication representing the type of target data in the consumable chip, and at least a part of the target data is used as the indication during storage, according to the access request, it is determined that The storage mode of the indication in the target data, according to the storage mode of the indication, select at least a part of the corresponding data in the target data as the indication.
  • Step 104 sending at least a part of the data to the printing device in response to the access request of the printing device to the indication.
  • the consumable chip sends at least a part of the target data to the printing device. After the printing device obtains this part of the data, it can know the type of the target data in the consumable chip, that is, whether digital signature data is stored. Therefore, the consumable chip can select at least a part of the target data and send it to the printing device in response to the access request of the printing device.
  • a part of the data in the digital signature is used as an indication to indicate that the digital signature is stored in the consumable chip.
  • the printing device sends an access request, asking the consumable chip to send an indication of whether the consumable chip contains digital signature information
  • the consumable chip responds to the access request of the printing device and sends a part of the data in the digital signature to the printing device. After the printing device obtains this part of the data , it can be known that the digital signature data is stored in the consumable chip.
  • unsigned data is stored in the consumable chip.
  • the printing device sends an access request, requiring the consumable chip to send an indication of whether the consumable chip contains digital signature information, that is, an indication indicating the type of target data
  • the consumable chip responds to the access request from the printing device and sends at least a part of the unsigned data.
  • the printing device after acquiring this part of the data, the printing device knows that there is no digital signature data stored in the consumable chip, and the printing device no longer verifies the data signature.
  • the target data is digitally signed or unsigned data ;
  • a part of the data in the chip represents the indication of the type of target data in the chip, so that there is no need to set up a separate storage part to store the indication, and there is no need to fix the location/address of the storage indication, so when the printing device obtains the indication of the type of target data, other It is difficult for a third party to know the signature status of the data in the consumable chip, which increases the security of the chip.
  • FIG. 4 is a schematic flowchart of another response method of a consumable chip according to an embodiment of the present application.
  • the response method of the consumable chip provided by the present embodiment is the same as the response method of the consumable chip provided by the first embodiment of the present application.
  • step 101 is further refined, and further includes a step of receiving an access request from the printing device to the target data, and sending the target data to the printing device to respond to the printing device's access request to the target data.
  • the response method of the consumable chip provided by this embodiment includes the following steps:
  • Step 201 store target data and an indication representing the type of target data in the consumable chip, at least a part of the target data is used as the indication; the target data is digitally signed or unsigned data.
  • all indications used to represent the type of target data in the consumable chip are included in the target data.
  • the indication used to represent the type of target data in the consumable chip is data of a fixed address in the target data.
  • it may be the data of the first address (the first address) in the digitally signed or unsigned data.
  • the printing device when the indication for indicating the type of target data in the consumable chip is stored in a fixed address in the digital signature or unsigned data of the consumable chip, the printing device does not need to send a separate pair of data indicating the type of target data. the indicated access request.
  • the printing device can directly access these fixed addresses and read out the data in these addresses.
  • the control program of the printing device presets which of these addresses the data is used as an instruction. Therefore, the printing apparatus obtains the data in the address used as the indication, and then knows whether the digital signature is stored in the chip of the consumable.
  • the printing device does not issue an access request to read the indication of whether the consumable chip contains digital signature information, but the printing device can also find data representing the indication in the data. In this way, it is also impossible for a third party to learn the digital signature status of the consumable chip by collecting the communication process between the printing device and the consumable chip.
  • the indication used to represent the type of target data in the consumable chip may be data of multiple different addresses in the target data or data of multiple different addresses in the target data. Common information.
  • data of a plurality of different addresses in the digitally signed or unsigned data may be independently used as indications, and the data of these different addresses may have some common information. Therefore, the indication used to indicate the type of the target data in the consumable chip can be the common information of data of multiple different addresses.
  • the highest bit of the data of different addresses in the digital signature is 1, and the highest bit of the data of different addresses in the unsigned data is all the highest bit. If it is 0, assuming that when the indication is "1", it means that there is a digital signature, and when the indication is "0", it means that there is no digital signature, then the highest bit can be taken from any address and used as an indication.
  • the consumable chip When the consumable chip responds to the request of the printing device whether it contains digital signature information, it randomly selects an address from multiple addresses in the digital signature or unsigned data, and sends the data of the selected address to the printing device. After the printing device receives the data, it determines that the highest bit of the data is 1, indicating that the digital signature is stored in the consumable chip, and then further requests the digital signature data of the consumable chip. The highest bit of the judgment data is 0, indicating that no digital signature is stored in the consumable chip, and the digital signature data of the consumable chip is no longer requested, or the signed/unsigned data read from the consumable chip is no longer verified.
  • the indication used to represent the type of target data in the consumable chip is a combination of data of multiple different addresses in the target data.
  • a situation is shown where a number of different addresses in the digital signature are used together as an indication. Since the high-order four bits of the second byte of the digital signature in Figure 5 are hexadecimal number 1, and the low-order four bits of the third byte are hexadecimal number 1, the consumable chip can use the data from these two The data in different bytes are pieced together into the value "11" to respond to the access request of the printing device.
  • the indication used to represent the type of target data in the consumable chip is selected from any address in the target data whose value is a preset value. The data.
  • a preset value is first determined, for example, the preset value is "1". Then judge the value of the digital signature byte by byte, as shown in Figure 5, after judging the value of the digital signature byte by byte or randomly selecting bytes, the upper four bits of the second byte of the digital signature are the hexadecimal number 1 , which is the preset value "1". Then, when it is determined that the value is equal to "1", it is determined that the data of the address is selected as an indication. Since the address where the preset value "1" is determined is indeterminate, the indication is obtained by randomly selecting data at an arbitrary address from the target data.
  • a similar method can also be adopted to randomly select an appropriate value from the unsigned data as an indication, thereby There is no need to fix the location/address of the data used for the indication. Since the value indicating the indication can be any address in the digital signature or unsigned data (as long as the value of the address meets the requirements of the indication, that is, the above-mentioned preset value), it is difficult for a third party to determine the digital signature or unsigned data in the digital signature or the unsigned data. The indicated location, thereby further improving the security of the data.
  • At least a part of the data in the target data and the data other than the target data are taken together as an indication of the type of the target data, so as to respond to the access request of the printing device.
  • part of the data in the digital signature and other data other than the digital signature may be used together as an indication that the digital signature is stored in the consumable chip.
  • the consumable chip responds to the request of the printing device whether it contains the digital signature information, it sends the data other than the digital signature and a part of the data in the signature to the printing device together.
  • the indicated value "11" can use the low-order hexadecimal 1 of the third byte in the digital signature and the high-order hexadecimal of the data "10" outside the digital signature.
  • the number 1 is formed, and the consumable chip extracts the value from these two places and sends it to the printing device.
  • Step 202 Receive an access request from the printing device to the indication.
  • Step 203 according to the access request, select at least a part of the target data.
  • Step 204 sending at least a part of the data to the printing device in response to the access request of the printing device to the indication.
  • the implementation manners of steps 202 to 204 are the same as the implementation manners of steps 102 to 104 in the first embodiment of the present application, and details are not described herein again.
  • Step 205 Receive an access request from the printing device to the target data.
  • the printing device sends an access request for the digital signature to the consumable chip after acquiring the instruction indicating that the digital signature is stored in the consumable chip from the consumable chip.
  • the target data stored in the consumable chip is unsigned data
  • the printing device obtains the instruction indicating that no digital signature is stored in the consumable chip, it knows that there is no digital signature data stored in the consumable chip, and the printing device no longer checks the data. If the signature is verified, but the unsigned data can still be obtained from the consumable chip, an access request for the unsigned data is sent to the consumable chip.
  • Step 206 Send the target data to the printing device to respond to the printing device's access request for the target data.
  • the consumable chip receives the access request for the digital signature, it obtains the digital signature from the memory of the consumable chip, and sends the digital signature to the printing device. After the printing device receives the data signature data, the data signature is processed. Verification, after the verification is passed, it indicates that the consumable chip is authentic and credible.
  • the consumable chip receives an access request for unsigned data, it obtains the unsigned data from the memory of the consumable chip, and sends the unsigned data to the printing device.
  • the printing device can receive the unsigned data and use the unsigned data. do further processing.
  • At least a part of the data in the digital signature or the unsigned data represents the indication of the type of target data in the consumable chip, so that there is no need to set up a separate storage part to store the instruction, and the consumables are increased. Chip security. Moreover, the storage methods of the instruction are diverse, which makes it more difficult for a third party to know the digital signature status of the consumable chip, and further increases the security of the consumable chip.
  • FIG. 7 is a schematic structural diagram of a consumable chip according to an embodiment of the present application.
  • the consumable chip 70 provided in this embodiment includes: a storage module 71 .
  • the storage module 71 is used to store target data and an indication representing the type of target data in the consumable chip, at least a part of the target data is used as an indication; the target data is digitally signed or unsigned data.
  • the consumables chip 70 may further include a receiving module 72, a selection module 73 and a sending module 74, wherein the receiving module 72 is configured to receive an access request from the printing device, for example, an access request for an indication.
  • the selection module 73 is configured to select at least a part of the target data according to the access request.
  • the sending module 74 is configured to send at least a part of the data to the printing device in response to the access request of the printing device.
  • the consumable chip provided in this embodiment can implement the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and details are not repeated here.
  • the indications representing the type of target data in the consumable chip are all contained in the target data.
  • the indication used to represent the type of target data in the consumable chip is data of a fixed address in the target data.
  • the indication used to represent the type of target data in the consumable chip is data of multiple different addresses in the target data or common information of data of multiple different addresses.
  • the indication used to represent the type of target data in the consumable chip is data selected from any address in the target data whose value is a preset value.
  • At least a part of data in the target data and data other than the target data together serve as the indication.
  • the receiving module 72 is further configured to receive an access request from the printing device to the target data; the sending module 74 is further configured to send the target data to the printing device in response to the printing device accessing the target data ask.
  • the consumable chip provided in this embodiment can also implement the technical solution of the method embodiment shown in FIG. 4 , and the implementation principle and technical effect thereof are similar, and are not repeated here.
  • FIG. 8 is a schematic structural diagram of another consumable chip according to an embodiment of the present application.
  • the consumable chip 80 in the embodiment of the present application includes a memory 81 , a processor 82 and a computer program.
  • the computer program is stored in the memory 81 and is configured to be executed by the processor 82 to implement the response method of the consumable chip provided by the embodiment of the present application.
  • the memory 81 and the processor 82 are connected through a bus.
  • the memory can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable only memory Read memory (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Programmable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), Flash Memory (Flash Memory), etc.
  • RAM Random Access Memory
  • ROM read only memory
  • PROM programmable read only memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only Memory
  • EPROM Electrically Erasable Programmable Read-Only Memory
  • Flash Memory Flash Memory
  • a processor may be an integrated circuit chip with signal processing capabilities.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and the like. It may also be a digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the consumable chip of the present application includes a memory and a processor, the memory is used to store program instruction codes, and the processor is used to execute the program instruction code, so as to realize the data processing method applied to the consumable chip in the above-mentioned embodiments .
  • the embodiments of the present application may be provided as methods, apparatuses, or computer program products. Accordingly, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • the embodiment of the present application further provides a consumables box, the consumables box includes: a consumables chip, and the consumables chip is detachably installed on the consumables box.
  • the consumable chip is the consumable chip shown in FIG. 7 or FIG. 8 , and the related description can refer to the description of the consumable chip shown in FIG. 7 or FIG. 8 , which will not be repeated here.
  • the consumables box may be an ink cartridge, a toner cartridge or a toner cartridge, the ink cartridge can accommodate ink, and the toner cartridge or the toner cartridge can accommodate toner.
  • the embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method for responding to a consumable chip provided by any one of the embodiments of the present application.
  • An embodiment of the present application further provides a chip for running instructions, the chip includes a memory and a processor, where code and data are stored in the memory, the memory is coupled with the processor, and the processor runs the memory in the memory
  • the code of enables the chip to execute any one of the response methods of the consumable chip in the above-mentioned embodiments.
  • Embodiments of the present application further provide a program product including instructions, the program product includes a computer program, and the computer program is stored in a computer-readable storage medium, and at least one processor can read from the computer-readable storage medium
  • the computer program when the at least one processor executes the computer program, can implement any one of the response methods of the consumable chip in the foregoing embodiments.
  • Embodiments of the present application further provide a computer program, which, when the computer program is executed by a processor, is used to execute any one of the response methods for a consumable chip in the foregoing embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

本申请实施例提供一种耗材芯片和耗材芯片的响应方法、耗材盒及存储介质,所述耗材芯片存储有目标数据和用于表示耗材芯片中目标数据的类型的指示,所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据;该方法包括:接收打印设备的访问请求;根据所述访问请求,选择所述目标数据中的至少一部分数据;将所述至少一部分数据发送给打印设备,以响应打印设备的访问请求。在打印设备获取目标数据的类型的指示时,其他第三方很难得知耗材芯片中的数据的签名状态,增加了芯片的安全性。

Description

耗材芯片和耗材芯片的响应方法、耗材盒及存储介质
本申请要求于2020年06月30日提交中国专利局、申请号为202010615229.1、申请名称为“耗材芯片和耗材芯片的响应方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及办公耗材领域,尤其涉及一种耗材芯片和耗材芯片的响应方法、耗材盒及存储介质。
背景技术
打印设备在现代生活中,已经是不可缺少的设备,在打印过程中,需要如墨盒、硒鼓之类的耗材盒;为了记录安装到打印设备的耗材盒使用情况,在墨盒或者硒鼓上安装有可拆卸的耗材芯片,例如硒鼓芯片,该硒鼓芯片用于存储硒鼓的相关数据,例如碳粉颜色,剩余碳粉量、页产量(可打印的页数的最大值)、打印页数、制造厂商、生产日期等数据。
耗材芯片在和打印设备进行通信时,打印设备需要验证耗材芯片是否是真实的、可信任的,因此,一般会在耗材芯片中存储数字签名,当数字签名被验证通过时,能够表明耗材芯片是真实可信的。在有些情况下,当耗材芯片中没有存储数字签名时,打印设备也需要和耗材芯片进行通信。例如使用在原装的耗材盒上的耗材芯片,耗材芯片中存储的数字签名是为了表明耗材盒是预设厂商生产的。如果耗材盒上的耗材芯片是第三方生产的,那么耗材芯片中往往是没有数字签名信息。这种情况下,打印设备也依然需要允许没有数字签名的第三方生产的耗材盒使用。因此,打印设备需要能够确认耗材芯片中是否具有数字签名信息,如果有数字签名信息,打印设备就会验证数字签名,来确定耗材芯片的真实性。如果耗材芯片中没有数字签名信息,打印设备就不再验证数字签名信息。
现有的对耗材芯片数字签名和未签名数据进行存储时,一般存储两个部分,第一个部分存储一个指示,这个指示能够告诉打印设备,耗材芯片中存 储的数据类型,如为签名的数据类型或为未签名的数据类型,另一个部分存储所指示的签名数据或者未签名数据。打印设备就能够通过这个指示来判断耗材芯片中是否有数字签名,进而确定是否要对数字签名进行验证。但这种方式,需要在耗材芯片中专门设置一个部分来存储一个指示,这个指示就很容易被其他第三方获取。获取到这个指示后,其他第三方也就很容易的得知耗材芯片中的数据的签名状态,进而降低了芯片安全性。
发明内容
本申请实施例提供一种耗材芯片和耗材芯片的响应方法、耗材盒及存储介质,解决了现有技术中其他第三方很容易的得知耗材芯片中的数据的签名状态,进而降低了芯片安全性的技术问题。
第一方面,本申请实施例提供一种耗材芯片的响应方法,所述耗材芯片存储有目标数据和用于表示耗材芯片中目标数据的类型的指示,所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据;所述方法包括:
接收打印设备的访问请求;
根据所述访问请求,选择所述目标数据中的至少一部分数据;
将所述至少一部分数据发送给打印设备,以响应打印设备的访问请求。
可选地,如上所述的方法,所述指示全部被包含在目标数据中。
可选地,如上所述的方法,所述指示为所述目标数据中固定地址的数据。
可选地,如上所述的方法,所述指示为所述目标数据中的多个不同地址的数据或所述多个不同地址的数据的共性信息。
可选地,如上所述的方法,所述指示为从所述目标数据中数值为预设数值的任意地址选择的数据。
可选地,如上所述的方法,所述目标数据中的至少一部分数据和目标数据外的数据共同作为所述目标数据的类型的指示,以响应打印设备的访问请求。
可选地,如上所述的方法,所述方法还包括:
接收打印设备对所述目标数据的访问请求;
将所述目标数据发送给打印设备,以响应所述打印设备对所述目标数据 的访问请求。
第二方面,本申请实施例提供一种耗材芯片,包括:
存储模块,其用于存储目标数据和用于表示耗材芯片中目标数据的类型的指示,所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据。
可选地,如上所述的耗材芯片,还包括:
接收模块,用于接收打印设备的访问请求。
选择模块,用于根据所述访问请求,选择所述目标数据中的至少一部分数据。
发送模块,用于将所述至少一部分数据发送给打印设备,以响应打印设备访问请求。
可选地,如上所述的耗材芯片,所述指示全部被包含在目标数据中。
可选地,如上所述的耗材芯片,所述指示为所述目标数据中固定地址的数据。
可选地,如上所述的耗材芯片,所述指示为所述目标数据中的多个不同地址的数据或所述多个不同地址的数据的共性信息。
可选地,如上所述的耗材芯片,所述指示为从所述目标数据中随机选择不同地址的数据为对应预设数值的数据。
可选地,如上所述的耗材芯片,所述目标数据中的至少一部分数据和目标数据外的数据共同作为所述指示。
可选地,如上所述的耗材芯片,
所述接收模块,还用于接收打印设备对所述目标数据的访问请求;
所述发送模块,还用于将所述目标数据发送给打印设备,以响应所述打印设备对所述目标数据的访问请求。
第三方面,本申请实施例提供一种耗材芯片,包括:
存储器,处理器以及计算机程序;
其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现如第一方面中任一项所述的方法。
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现如第一方面中任一项所述的方法。
第五方面,本申请实施例提供了一种耗材盒,所述耗材盒包括如第二方面所述的耗材芯片,所述耗材芯片可拆卸地安装在所述耗材盒上。
第六方面,本申请实施例提供了一种运行指令的芯片,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行第一方面所述的耗材芯片的响应方法。
第七方面,本申请实施例提供了一种包含指令的程序产品,当所述程序产品在计算机上运行时,使得所述计算机执行第一方面所述的耗材芯片的响应方法。
第八方面,本申请实施例提供了一种计算机程序,当所述计算机程序被处理器执行时,用于执行第一方面所述的耗材芯片的响应方法。
本申请实施例提供一种耗材芯片和耗材芯片的响应方法、耗材盒及存储介质,通过存储目标数据和用于表示耗材芯片中目标数据的类型的指示,目标数据中的至少一部分数据被用作指示;目标数据为数字签名或未签名数据;接收打印设备对指示的访问请求;根据访问请求,选择目标数据中的至少一部分数据;将至少一部分数据发送给打印设备,以响应打印设备对指示的访问请求,由于将数字签名或未签名数据中的一部分数据表示芯片中目标数据的类型的指示,这样不用单独再设置一个存储部分来存储指示,也无需固定存储指示的位置,所以在打印设备获取目标数据的类型的指示时,其他第三方很难得知耗材芯片中的数据的签名状态,增加了芯片的安全性。
应当理解,上述发明内容部分中所描述的内容并非旨在限定本申请的实施例的关键或重要特征,亦非用于限制本申请的范围。本申请的其它特征将通过以下的描述变得容易理解。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例的一种耗材芯片的响应方法流程示意图;
图2为现有技术中的一种耗材芯片所存储的数据的示意图;
图3为本申请实施例的一种耗材芯片所存储的数据的示意图;
图4为本申请实施例的另一种耗材芯片的响应方法流程示意图;
图5为本申请实施例的另一种耗材芯片所存储的数据的示意图;
图6为本申请实施例的再一种耗材芯片所存储的数据的示意图;
图7为本申请实施例的一种耗材芯片的结构示意图;
图8为本申请实施例的另一种耗材芯片的结构示意图。
具体实施方式
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
下面将参照附图来具体描述本申请的实施例。
实施例一
图1为本申请实施例的耗材芯片的响应方法流程示意图,如图1所示,本申请实施例的执行主体为耗材芯片,具体可以是例如耗材芯片的响应装置,该耗材芯片的响应装置可集成在耗材芯片中,所述耗材芯片存储有目标数据和用于表示耗材芯片中目标数据的类型的指示(indicator),所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据;则本实施例提供的耗材芯片的响应方法包括以下几个步骤。
步骤101,存储目标数据和用于表示耗材芯片中目标数据的类型的指示,目标数据中的至少一部分数据被用作指示;目标数据为数字签名或未签名数据。本实施例中,耗材芯片可在存储器中存储有数字签名或未签名数据。
其中,数字签名的定义以及产生方法,在美国专利US5231668中得以公开说明,在此不再赘述。
本实施例中,若耗材芯片存储有数字签名,则除了存储有数字签名外,还存储有用于表示耗材芯片中存储有数字签名的指示,即表示目标数据的类型为数字签名的指示,数字签名中的至少一部分数据被用作存储有数字签名的指示。若耗材芯片存储有未签名数据,则除了存储有未签名数据外,还存储有表示耗材芯片中没有存储数字签名的指示,即表示目标数据的类型为未签名数据的指示,未签名数据中的至少一部分被用作没有存储数字签名的指示。可见,上述用于表示耗材芯片中存储有数字签名的指示及表示耗材芯片中没有存储数字签名的指示,是用于表示目标数据的类型的指示,目标数据的类型包括数字签名这个类型,或者未签名数据这个类型。
其中,用于表示耗材芯片中目标数据的类型的指示,可以是一个字节(byte)或多个字节的数据,也可以是一个位/比特(bit)或者多个比特的数据。
可以理解的是,耗材芯片内用于表示存储有数字签名的指示和用于表示没有存储数字签名的指示的数值,即表示不同目标数据的类型的指示是不同的。例如,存储有数字签名的耗材芯片中,即表示目标数据的类型是数字签名时,该指示的数值是0x11;没有存储数字签名的耗材芯片中,即表示目标数据的类型是未签名数据时,该指示的数值是0x22。
以目标数据为数字签名,即存储有数字签名为例,对用于表示耗材芯片中存储有数字签名、表示目标数据为数字签名的类型的指示进行示例性说明。
例如图2的是现有技术的一种包括数字签名及其指示的耗材芯片,数字签名包括8个字节,图中以16进制数表示,指示为一个字节,图中的数值为“11”,可见数字签名及指示分别存储在耗材芯片的不同位置/地址上。在本实施例中,如图3所示,不再单独存储用作指示的数据,而是当打印设备请求访问指示时,耗材芯片从数字签名中选择可以表示耗材芯片存储着数字签名的数值“11”,例如图3中数字签名的第七个字节,来发送给打印设备,作为对该访问请求的响应。
步骤102,接收打印设备对指示的访问请求。
本实施例中,打印设备与耗材芯片进行通信,具体的通信方式本实施例中不做限定。
具体地,本实施例中,在打印设备需要确认耗材芯片中是否具有数字签 名信息时,若有数字签名信息,打印设备就会验证数字签名,来确定耗材芯片的真实性。若耗材芯片中没有数字签名信息,即耗材芯片中存储的是未签名数据,打印设备就不再验证数字签名。所以打印设备向耗材芯片发送对指示的访问请求,耗材芯片接收对指示的访问请求。
打印设备可以向耗材芯片发送特定地址(例如存储了该指示的地址)的访问请求,也可以发送连续访问多个地址的访问请求,该多个地址可能包括该指示的地址,因此打印设备发出的访问请求不一定直接指出要访问的是该指示,耗材芯片可以在接收打印设备的其他访问请求时,回复该指示的数值。
步骤103,根据访问请求,选择目标数据中的至少一部分数据。
本实施例中,由于耗材芯片预先对用于表示耗材芯片中目标数据的类型的指示进行了存储,存储时将目标数据中的至少一部分数据被用作该指示,所以根据该访问请求,确定在目标数据中该指示的存储方式,依据该指示的存储方式选择目标数据中的对应的至少一部分数据作为该指示。
步骤104,将至少一部分数据发送给打印设备,以响应打印设备对指示的访问请求。
具体地,本实施例中,耗材芯片将至少一部分目标数据发送给打印设备,打印设备获取到这部分数据后,可以得知耗材芯片内目标数据的类型,即是否存储有数字签名数据。因此耗材芯片可以选择目标数据中的至少一部分数发送给打印设备,以响应打印设备的访问请求。
所以结合步骤101-步骤104,本实施例中,当耗材芯片存储有数字签名时,数字签名中的其中一部分数据被用做指示,用于指示耗材芯片中存储有数字签名。当打印设备发送访问请求,要求耗材芯片发送耗材芯片中是否含有数字签名信息指示时,耗材芯片响应打印设备的访问请求将数字签名中的一部分数据发送给打印设备,打印设备获取到这部分数据后,可以得知耗材芯片内存储有数字签名数据。
当耗材芯片内没有存储数字签名时,耗材芯片中存储有未签名数据。当打印设备发送访问请求,要求耗材芯片发送耗材芯片中是否含有数字签名信息指示、即表示目标数据的类型的指示时,耗材芯片响应打印设备的访问请求,将未签名数据中的至少一部分数据发送给打印设备,打印设备获取到这部分数据后,得知耗材芯片内存储没有数字签名数据,打印设备不再对数据签名进行验证。
本实施例提供的耗材芯片的响应方法,通过存储目标数据和用于表示耗材芯片中目标数据的类型的指示,目标数据中的至少一部分数据被用作指示;目标数据为数字签名或未签名数据;接收打印设备对指示的访问请求;根据访问请求,选择目标数据中的至少一部分数据;将至少一部分数据发送给打印设备,以响应打印设备对指示的访问请求,由于将数字签名或未签名数据中的一部分数据表示芯片中目标数据的类型的指示,这样不用单独再设置一个存储部分来存储指示,也无需固定存储指示的位置/地址,所以在打印设备获取目标数据的类型的指示时,其他第三方很难得知耗材芯片中的数据的签名状态,增加了芯片的安全性。
图4为本申请实施例的另一种耗材芯片的响应方法流程示意图,如图4所示,本实施例提供的耗材芯片的响应方法在本申请第一实施例提供的耗材芯片的响应方法的基础上,对步骤101进行了进一步的细化,并且还包括了接收打印设备对目标数据的访问请求,将目标数据发送给打印设备,以响应打印设备对目标数据的访问请求的步骤。则本实施例提供的耗材芯片的响应方法包括以下步骤:
步骤201,存储目标数据和用于表示耗材芯片中目标数据的类型的指示,目标数据中的至少一部分数据被用作指示;目标数据为数字签名或未签名数据。
可选地,本实施例中,用于表示耗材芯片中目标数据的类型的指示全部被包含在目标数据中。
其中,作为一种可选实施方式,用于表示耗材芯片中目标数据的类型的指示为目标数据中固定地址的数据。例如可以是数字签名或未签名数据中首地址(第一个地址)的数据。这样当耗材芯片响应打印设备的访问请求,即询问是否含有数字签名信息指示时,耗材芯片就可以固定的将数字签名或未签名数据的首地址数据发送给打印设备。
需要说明的是,在用于表示耗材芯片中目标数据的类型的指示存储在耗材芯片数字签名或未签名数据中的固定地址中时,打印设备也可以不用单独发送对用于表示目标数据的类型的指示的访问请求。打印设备可以直接访问这些固定地址,并将这些地址中的数据读出。打印设备读出这些地址的数据后,打印设备的控制程序中预设了这些地址中的哪些地址的数据被用做指示。因此,打印设备获取被用做指示的地址中的数据,进而知晓 耗材芯片中是否存储有数字签名。这样,打印设备并没有发出读取耗材芯片是否含有数字签名信息的指示的访问请求,但是打印设备也能够在数据中找到表示指示的数据。这样,第三方也不可能通过采集打印设备和耗材芯片的通信过程来获知耗材芯片的数字签名状态。
作为另一种可选实施方式,为了增强耗材芯片的安全性,用于表示耗材芯片中目标数据的类型的指示,可以为目标数据中的多个不同地址的数据或多个不同地址的数据的共性信息。
具体地,本实施例中,数字签名或未签名数据中的多个不同地址的数据可以分别独立的被用做指示,这些不同地址的数据可能具有某些共性的信息。所以用于表示耗材芯片中目标数据的类型的指示可以为多个不同地址的数据的共性信息,例如,数字签名不同地址数据的最高位都为1,未签名数据中不同地址数据的最高位都为0,假设当指示为“1”时表示存在数字签名,指示为“0”时表示不存在数字签名,则可以从任意一个地址中取最高位,用作指示。耗材芯片在响应打印设备请求是否含有数字签名信息时,随机从数字签名或未签名数据中多个地址中选定一个地址,将选定地址的数据发送给打印设备。打印设备接收到数据后,判断数据的最高位是1,表明耗材芯片中存储有数字签名,然后进一步的请求耗材芯片的数字签名数据。判断数据的最高位是0,表明耗材芯片中没有存储数字签名,不再请求耗材芯片的数字签名数据,或者不再验证从耗材芯片中读取的签名/未签名数据。
具体地,本实施例中,用于表示耗材芯片中目标数据的类型的指示为目标数据中的多个不同地址的数据的组合。如在图5中,展示的是数字签名中的多个不同地址一起被用做指示的情形。由于图5中的数字签名的第二个字节的高四位是16进制数1,第三个字节的低四位是16进制数1,因此,耗材芯片可以利用来自这两个不同字节中的数据,一起拼凑成数值“11”,来响应打印设备的访问请求。
作为再一种可选实施方式,本实施例中,为了进一步增强耗材芯片的安全性,用于表示耗材芯片中目标数据的类型的指示,为从目标数据中数值为预设数值的任意地址选择的数据。
在该种可选实施方式中,对于存储了数字签名以及表示存储有数字签名指示的耗材芯片,首先确定预设数值,如预设数值为“1”。然后逐个字节判断数字签名的数值,如图5所示,在逐个字节或者随机选择字节判断数字签 名的数值后,数字签名的第二个字节的高四位是16进制数1,为预设数值“1”。则当确定数值等于“1”时,即确定选择该地址的数据作为指示。由于确定预设数值“1”的地址是不确定的,所以该指示为从目标数据中随机选择任意地址的数据得到的。对于存储了未签名数据以及表示没有存储数字签名(即表示目标数据的类型为未签名数据)的指示的耗材芯片,也可以采取类似的方式随机从未签名数据中选择合适的数值作为指示,从而无需固定选取用作指示的数据的位置/地址。由于表示指示的数值可以是数字签名或者未签名数据中的任意一个地址(只要该地址的数值符合指示的需求、即上述的预设数值),因此第三方很难在数字签名或者未签名数据确定指示的位置,从而进一步提高了数据的安全性。
可选地,本实施例中,目标数据中的至少一部分数据和目标数据外的数据共同作为目标数据的类型的指示,以响应打印设备的访问请求。
具体地,本领域技术人员可以理解,在耗材芯片中,除了数字签名和用于表示耗材芯片中存储有数字签名的指示之外,还可以存储其他的数据,例如颜色,剩余量、页产量(可打印的页数的最大值)、打印页数、制造厂商、生产日期、序列号等。因此,在其他实施例中,也可以是数字签名中的一部分数据,和数字签名外的其他数据,共同被用做指示耗材芯片中存储有数字签名的指示。耗材芯片在响应打印设备请求是否含有数字签名信息时,将数字签名外的数据和签名中的一部分数据,一起发给打印设备。例如图6所示,指示的数值“11”,可以利用数字签名中的第三个字节的低四位16进制数1和数字签名之外的数据“10”的高四位16进制数1构成,耗材芯片从这两个地方提取数值来发送给打印设备。
步骤202,接收打印设备对指示的访问请求。
步骤203,根据访问请求,选择目标数据中的至少一部分数据。
步骤204,将至少一部分数据发送给打印设备,以响应打印设备对指示的访问请求。
本实施例中,步骤202-步骤204的实现方式与本申请第一实施例中的步骤102-步骤104的实现方式相同,在此不再赘述。
步骤205,接收打印设备对目标数据的访问请求。
其中,若耗材芯片存储的目标数据为数字签名,则打印设备在从耗材芯片获取到用于表示耗材芯片中存储有数字签名的指示后,向耗材芯片发送 数字签名的访问请求。
同理,若耗材芯片存储的目标数据为未签名数据,打印设备获取到用于表示耗材芯片中没有存储数字签名的指示后,得知耗材芯片内存储没有数字签名数据,打印设备不再对数据签名进行验证,但仍然可以从耗材芯片中获取未签名数据,则向耗材芯片发送未签名数据的访问请求。
步骤206,将目标数据发送给打印设备,以响应打印设备对目标数据的访问请求。
本实施例中,若耗材芯片接收到对数字签名的访问请求后,从耗材芯片的存储器中获取数字签名,并将数字签名发送给打印设备,打印设备接收到数据签名数据后,对数据签名进行验证,验证通过后,表明耗材芯片是真实可信的。
同理,若耗材芯片接收到对未签名数据的访问请求后,从耗材芯片的存储器中获取未签名数据,并将未签名数据发送给打印设备,打印设备可接收未签名数据,利用未签名数据做进一步处理。
本实施例提供的耗材芯片的响应方法,通过将数字签名或未签名数据中的至少一部分数据表示耗材芯片中目标数据的类型的指示,这样不用单独再设置一个存储部分来存储指示,增加了耗材芯片的安全性。而且该指示的存储方式具有多样性,使第三方更难获知耗材芯片的数字签名状态,进一步增加了耗材芯片的安全性。
图7为本申请实施例的一种耗材芯片的结构示意图,如图7所示,本实施例提供的耗材芯片70包括:存储模块71。
其中,存储模块71,用于存储目标数据和用于表示耗材芯片中目标数据的类型的指示,目标数据中的至少一部分数据被用作指示;目标数据为数字签名或未签名数据。
耗材芯片70还可以包括接收模块72,选择模块73和发送模块74,其中,接收模块72,用于接收打印设备的访问请求,例如对指示的访问请求。选择模块73,用于根据访问请求,选择目标数据中的至少一部分数据。发送模块74,用于将至少一部分数据发送给打印设备,以响应打印设备的访问请求。
本实施例提供的耗材芯片可以执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
可选地,用于表示耗材芯片中目标数据的类型的指示全部被包含在目标数据中。
作为一种可选实施方式,用于表示耗材芯片中目标数据的类型的指示为目标数据中固定地址的数据。
或者作为另一种实施方式,用于表示耗材芯片中目标数据的类型的指示为目标数据中的多个不同地址的数据或多个不同地址的数据的共性信息。
或者作为再一种可选实施方式,用于表示耗材芯片中目标数据的类型的指示为从目标数据中数值为预设数值的任意地址选择的数据。
可选地,目标数据中的至少一部分数据和目标数据外的数据共同作为指示。
可选地,本实施例中,接收模块72,还用于接收打印设备对目标数据的访问请求;发送模块74,还用于将目标数据发送给打印设备,以响应打印设备对目标数据的访问请求。
本实施例提供的耗材芯片还可以执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图8为本申请实施例的另一种耗材芯片的结构示意图,如图8所示,本申请实施例中的耗材芯片80包括:存储器81,处理器82以及计算机程序。
其中,计算机程序存储在存储器81中,并被配置为由处理器82执行以实现本申请实施例提供的耗材芯片的响应方法。
相关说明可以对应参见图1、图4的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。
其中,本实施例中,存储器81和处理器82通过总线连接。
存储器可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM),闪存(Flash Memory)等。其中,存储器还用于存储程序,处理器在接收到执行指令后,执行程序。
处理器可能是一种集成电路芯片,具有信号的处理能力。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处 理器(Network Processor,NP)等。还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
本领域的技术人员应明白,本申请的耗材芯片包括存储器和处理器,存储器用于存储程序指令代码,处理器用于执行该程序指令代码,以实现上述实施例中应用于耗材芯片的数据处理方法。本申请实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请实施例还提供一种耗材盒,该耗材盒包括:耗材芯片,该耗材芯片可拆卸地安装在耗材盒上。
其中,耗材芯片为图7或图8所示的耗材芯片,相关说明参见图7或图8所示的耗材芯片的说明,在此不再做过多赘述。
本实施例中,耗材盒可以是墨盒、粉筒或者硒鼓,在墨盒中可以容纳墨水,在粉筒或硒鼓中,可以容纳碳粉。
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行以实现本申请任任意一个实施例提供的耗材芯片的响应的方法。
本申请实施例还提供一种运行指令的芯片,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行上述实施例中的任意一种耗材芯片的响应方法。
本申请实施例还提供一种包含指令的程序产品,所述程序产品包括计算机程序,所述计算机程序存储在计算机可读存储介质中,至少一个处理器可以从所述计算机可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现上述实施例中的任意一种耗材芯片的响应方法。
本申请实施例还提供一种计算机程序,当所述计算机程序被处理器执行 时,用于执行上述实施例中的任意一种耗材芯片的响应方法。
本申请实施例是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (15)

  1. 一种耗材芯片的响应方法,所述耗材芯片存储有目标数据和用于表示耗材芯片中目标数据的类型的指示,所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据;
    所述方法包括:
    接收打印设备的访问请求;
    根据所述访问请求,选择所述目标数据中的至少一部分数据;
    将所述至少一部分数据发送给打印设备,以响应打印设备的访问请求。
  2. 根据权利要求1所述的方法,其特征在于,所述指示全部被包含在目标数据中。
  3. 根据权利要求2所述的方法,其特征在于,所述指示为所述目标数据中固定地址的数据。
  4. 根据权利要求2所述的方法,其特征在于,所述指示为所述目标数据中的多个不同地址的数据或所述多个不同地址的数据的共性信息。
  5. 根据权利要求2所述的方法,其特征在于,所述指示为从所述目标数据中数值为预设数值的任意地址选择的数据。
  6. 根据权利要求1所述的方法,其特征在于,所述目标数据中的至少一部分数据和目标数据外的数据共同作为所述目标数据的类型的指示,以响应打印设备的访问请求。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    接收打印设备对所述目标数据的访问请求;
    将所述目标数据发送给打印设备,以响应所述打印设备对所述目标数据的访问请求。
  8. 一种耗材芯片,其特征在于,包括:
    存储模块,其用于存储目标数据和用于表示耗材芯片中目标数据的类型的指示,所述目标数据中的至少一部分数据被用作所述指示;所述目标数据为数字签名或未签名数据。
  9. 根据权利要求8所述的耗材芯片,其特征在于,所述耗材芯片还包括:
    接收模块,用于接收打印设备的访问请求;
    选择模块,用于根据所述访问请求,选择所述目标数据中的至少一部分数据;
    发送模块,用于将所述至少一部分数据发送给打印设备,以响应打印设备的访问请求。
  10. 一种耗材芯片,其特征在于,包括:
    存储器,处理器以及计算机程序;
    其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现如权利要求1-7中任一项所述的方法。
  11. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-7中任一项所述的方法。
  12. 一种耗材盒,其特征在于,包括:如权利要求8-10中任一项所述的耗材芯片,所述耗材芯片可拆卸地安装在所述耗材盒上。
  13. 一种运行指令的芯片,其特征在于,所述芯片包括存储器、处理器,所述存储器中存储代码和数据,所述存储器与所述处理器耦合,所述处理器运行所述存储器中的代码使得所述芯片用于执行权利要求1至7中任一项所述的耗材芯片的响应方法。
  14. 一种包含指令的程序产品,其特征在于,当所述程序产品在计算机上运行时,使得所述计算机执行权利要求1至7中任一项所述的耗材芯片的响应方法。
  15. 一种计算机程序,其特征在于,当所述计算机程序被处理器执行时,用于执行权利要求1至7中任一项所述的耗材芯片的响应方法。
PCT/CN2021/115131 2019-12-31 2021-08-27 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质 WO2022002283A2 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21832471.3A EP4169723A4 (en) 2019-12-31 2021-08-27 CONSUMER CHIP AND RESPONSE METHOD FOR CONSUMABLE CHIP, CONSUMABLE CARTRIDGE AND STORAGE MEDIUM
US18/148,179 US20230135115A1 (en) 2019-12-31 2022-12-29 Consumable chip and consumable chip response method, consumable cartridge, and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201911401975 2019-12-31
CN202010615229.1 2020-06-30
CN202010615229.1A CN111703210B (zh) 2019-12-31 2020-06-30 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/148,179 Continuation US20230135115A1 (en) 2019-12-31 2022-12-29 Consumable chip and consumable chip response method, consumable cartridge, and storage medium

Publications (2)

Publication Number Publication Date
WO2022002283A2 true WO2022002283A2 (zh) 2022-01-06
WO2022002283A3 WO2022002283A3 (zh) 2022-02-24

Family

ID=72543878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/115131 WO2022002283A2 (zh) 2019-12-31 2021-08-27 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质

Country Status (4)

Country Link
US (1) US20230135115A1 (zh)
EP (1) EP4169723A4 (zh)
CN (2) CN113442597B (zh)
WO (1) WO2022002283A2 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113442597B (zh) * 2019-12-31 2022-12-23 极海微电子股份有限公司 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质
CN114083913B (zh) * 2021-11-02 2022-09-16 珠海艾派克微电子有限公司 一种芯片、耗材盒及数据传输方法

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5231668A (en) 1991-07-26 1993-07-27 The United States Of America, As Represented By The Secretary Of Commerce Digital signature algorithm

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04275156A (ja) * 1991-03-01 1992-09-30 Tokyo Electric Co Ltd インクジェットプリンタ及びこのプリンタに使用されるインクカートリッジ
JPH08310007A (ja) * 1995-05-19 1996-11-26 Oki Data:Kk シリアルプリンタ
JPH08310071A (ja) * 1995-05-22 1996-11-26 Graphtec Corp インクリボンを使用する記録装置
JPH08310070A (ja) * 1995-05-24 1996-11-26 Nec Eng Ltd 通帳伝票プリンタ
JP3420443B2 (ja) * 1996-10-17 2003-06-23 キヤノン株式会社 画像形成装置及び画像形成方法
TWI341494B (en) * 2007-02-07 2011-05-01 Mstar Semiconductor Inc Label paper with rfid function and rfid tag writing apparatus
CN102166886B (zh) * 2011-05-05 2013-04-24 珠海天威技术开发有限公司 耗材芯片及其数据读写方法、耗材容器
CN102231054B (zh) * 2011-06-08 2013-01-02 珠海天威技术开发有限公司 芯片及芯片数据通信方法、耗材容器、成像设备
CN102950899B (zh) * 2011-08-26 2015-08-05 珠海天威技术开发有限公司 芯片及其数据写入方法、耗材容器、成像设备
CN102509557B (zh) * 2011-11-04 2014-10-15 珠海天威技术开发有限公司 电可擦可编程只读存储器的数据擦写控制装置及方法、芯片及其数据写入方法、耗材容器
EP3028172B1 (en) * 2013-07-31 2021-02-24 Hewlett-Packard Development Company, L.P. Authenticating a consumable product based on a remaining life value
EP3564037A1 (en) * 2013-07-31 2019-11-06 Hewlett-Packard Development Company, L.P. Communicating a classification of a consumbable product
BR112016002054B1 (pt) * 2013-07-31 2022-09-06 Hewlett-Packard Development Company, L.P. Memória não transitória armazenando uma assinatura digital, cartucho de impressão e mídia de armazenamento não transitório legível por computador
CN105522826B (zh) * 2014-10-16 2017-06-23 珠海艾派克微电子有限公司 校验值产生方法、耗材芯片和包括该耗材芯片的耗材盒
CN104952485B (zh) * 2014-11-28 2019-07-19 珠海艾派克微电子有限公司 一种电阻投切电路、存储电路以及耗材芯片
CN104866253B (zh) * 2015-04-03 2018-03-30 珠海艾派克微电子有限公司 一种芯片及其响应成像装置的方法、成像系统
CN113064754B (zh) * 2016-09-23 2023-05-30 极海微电子股份有限公司 用于耗材盒的耗材芯片及其数据处理方法
CN107053854B (zh) * 2017-01-03 2018-10-09 珠海艾派克微电子有限公司 控制耗材芯片工作的方法、装置、耗材芯片及打印机
CN110271291B (zh) * 2018-03-16 2020-07-07 广州众诺电子技术有限公司 通用芯片、成像盒、成像系统及使用方法
CN109614060A (zh) * 2019-01-18 2019-04-12 珠海艾派克微电子有限公司 数据传输方法、装置、耗材芯片及打印耗材
CN113442597B (zh) * 2019-12-31 2022-12-23 极海微电子股份有限公司 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5231668A (en) 1991-07-26 1993-07-27 The United States Of America, As Represented By The Secretary Of Commerce Digital signature algorithm

Also Published As

Publication number Publication date
WO2022002283A3 (zh) 2022-02-24
CN111703210A (zh) 2020-09-25
US20230135115A1 (en) 2023-05-04
CN113442597A (zh) 2021-09-28
EP4169723A2 (en) 2023-04-26
CN111703210B (zh) 2021-07-06
CN113442597B (zh) 2022-12-23
EP4169723A4 (en) 2024-02-14

Similar Documents

Publication Publication Date Title
WO2022002283A2 (zh) 耗材芯片和耗材芯片的响应方法、耗材盒及存储介质
AU2017268484B2 (en) Imaging supplies
US11783023B2 (en) Digitally signed data
CN105204789B (zh) 一种api调试日志打印方法及装置
CN109657434B (zh) 应用访问方法及装置
CN111008087B (zh) 一种消息处理方法及装置
CN110920262B (zh) 一种耗材芯片及耗材合法性校验方法
CN116679986A (zh) 寄存器的访问方法、装置、服务器、系统及存储介质
US11048557B2 (en) Methods and modules relating to allocation of host machines
CN109558315B (zh) 测试范围的确定方法、装置及设备
JP6841583B2 (ja) エンジン制御ユニット構成セキュリティ
CN115454896A (zh) 基于smbus的ssd mctp控制消息验证方法、装置、计算机设备及存储介质
CN109614060A (zh) 数据传输方法、装置、耗材芯片及打印耗材
TW201543264A (zh) 用於對受保護的硬體資源的軟體啟用接入的裝置和方法
WO2020103578A1 (zh) 域名查询方法及相关产品
JP7180207B2 (ja) 提供装置、処理システム及び通信方法
CN114185834A (zh) 片上系统和电压与频率调节的方法
JP2013182359A (ja) 情報処理装置、画像形成装置、画像形成システム、情報処理プログラム及び画像処理プログラム
EP3291096B1 (en) Storage system and device scanning method
CN114500452B (zh) 桥接模式下的虚拟系统ip地址的确定方法、装置和设备
CN107229436A (zh) 打印系统
CN117811698A (zh) 设备间通信方法、设备、电气系统和存储介质
JP2012048277A (ja) 半導体集積回路、デバッグシステム、デバッグ方法、デバッグプログラム及び記録媒体
CN117785782A (zh) 基于NVMe 2.0协议的数据检测方法、装置、设备及介质
US20200026474A1 (en) Virtual one-time programmable memory management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21832471

Country of ref document: EP

Kind code of ref document: A2

ENP Entry into the national phase

Ref document number: 2021832471

Country of ref document: EP

Effective date: 20230119

NENP Non-entry into the national phase

Ref country code: DE