CN107203359B - Communication method of consumable chip and consumable chip - Google Patents

Communication method of consumable chip and consumable chip Download PDF

Info

Publication number
CN107203359B
CN107203359B CN201710379854.9A CN201710379854A CN107203359B CN 107203359 B CN107203359 B CN 107203359B CN 201710379854 A CN201710379854 A CN 201710379854A CN 107203359 B CN107203359 B CN 107203359B
Authority
CN
China
Prior art keywords
printer
consumable
heartbeat
information
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710379854.9A
Other languages
Chinese (zh)
Other versions
CN107203359A (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.)
Hangzhou Chipjet Technology Co Ltd
Original Assignee
Hangzhou Chipjet 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 Hangzhou Chipjet Technology Co Ltd filed Critical Hangzhou Chipjet Technology Co Ltd
Priority to CN201710379854.9A priority Critical patent/CN107203359B/en
Publication of CN107203359A publication Critical patent/CN107203359A/en
Application granted granted Critical
Publication of CN107203359B publication Critical patent/CN107203359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1209Improving or facilitating administration, e.g. print management resulting in adapted or bridged legacy communication protocols, e.g. emulation, protocol extension
    • 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/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • 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/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1234Errors handling and recovery, e.g. reprinting

Landscapes

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

Abstract

The invention relates to the technical field of printer consumable materials, in particular to a communication method of a consumable chip, a printer communication method, a consumable chip and a printer. Adapted for communication between a printer and a consumable installed in the printer; the method is characterized in that: receiving a printer message, wherein the printer message comprises printer heartbeat information; and judging whether a printer message sequence sent by the printer accords with a preset sequence or not according to printer heartbeat information contained in the printer message, responding to the printer message if the printer message sequence accords with the preset sequence, and not responding to the printer message if the printer message sequence does not accord with the preset sequence.

Description

Communication method of consumable chip and consumable chip
Technical Field
The invention relates to the technical field of printer consumable materials, in particular to a communication method of a consumable chip and the consumable chip.
Background
At present, the consumable industry generally uses a chip installed on a consumable as a carrier for information exchange between the consumable and a printer. The command interaction between the consumable and the printer needs to be performed according to a strict sequence, if the command interaction sequence agreed between the printer and the consumable is not followed, the consumable cannot pass the authentication of the printer or the printer fails, and therefore the whole or partial functions of the consumable cannot be used. Once the printer firmware is updated to change the command interaction sequence at the printer end, the consumable part matched with the old version of the printer cannot recognize the command sequence of the printer, and still responds according to the original command interaction sequence, so that the printer or the consumable part makes mistakes.
Disclosure of Invention
The invention provides a communication method of consumable chip for solving the technical problem, which is suitable for communication between a printer and the consumable installed in the printer; the method is characterized in that: receiving a printer message, wherein the printer message comprises printer heartbeat information; and judging whether a printer message sequence sent by the printer accords with a preset sequence or not according to printer heartbeat information contained in the printer message, responding to the printer message if the printer message sequence accords with the preset sequence, and not responding to the printer message if the printer message sequence does not accord with the preset sequence.
Preferably, the method for determining whether the printer message sequence sent by the printer conforms to the predetermined sequence comprises: if the printer heartbeat information is matched with the consumable heartbeat verification information, the printer message sequence accords with a preset sequence, and if the printer heartbeat information is not matched with the consumable heartbeat verification information, the printer message sequence does not accord with the preset sequence.
Preferably, the printer heartbeat information and the consumable heartbeat verification information are calculated according to an analysis algorithm, if the calculation result is in line with expectation, the printer message sequence is in line with a preset sequence, and if the calculation result is not in line with the expectation, the printer message sequence is not in line with the preset sequence.
Preferably, for the first printer message from the printer, the consumable heartbeat verification initial information is used as consumable heartbeat verification information; and the first printer message comprises heartbeat serial number base information, and for the non-first printer message sent by the printer, the result of the operation of the heartbeat serial number base information according to a first incremental algorithm is used as consumable heartbeat verification information.
Preferably, the heartbeat sequence number base information includes random information.
Preferably, the printer command header includes printer command type information and the printer heartbeat information.
Preferably, a consumable message containing consumable heartbeat information is sent to the printer in response to a printer message sent by the printer.
Preferably, the consumable heartbeat information is calculated by the heartbeat serial number base information according to a second incremental algorithm.
Preferably, the consumable command word comprises consumable command type information and consumable heartbeat information, and the consumable command word is calculated by the consumable command type information and the consumable heartbeat information according to a combined algorithm; .
The invention also provides a consumable chip, which comprises a communication module, a storage module and a digital processing module, and is characterized in that: the communication module receives a printer message from a printer, the digital processing module comprising: the analysis unit extracts the printer heartbeat message contained in the printer message; the judging unit is used for judging whether a printer message sequence sent by the printer accords with a preset sequence according to the heartbeat information of the printer; if so, the consumable chip responds to the printer message, and if not, the consumable chip does not respond to the printer message.
Preferably, the storage module stores consumable heartbeat verification information; the judging unit analyzes whether the printer heartbeat information is matched with the consumable heartbeat verification information or not, if so, judges that the printer message sequence conforms to a preset sequence, and if not, judges that the printer message sequence does not conform to the preset sequence.
Preferably, the digital processing module comprises an arithmetic unit, and the arithmetic unit calculates the printer heartbeat information and the consumable heartbeat verification information according to an analysis algorithm.
Preferably, the storage module stores consumable verification initial information; for a first printer message from the printer, taking consumable heartbeat verification initial information as consumable heartbeat verification information; the first printer message comprises heartbeat serial number base information, and for a non-first printer message sent by a printer, the result of operation of the heartbeat serial number base information through the operation module according to a first incremental algorithm is used as consumable heartbeat verification information; the heartbeat sequence number base information includes random information.
Preferably, the printer command header includes printer command type information and the printer heartbeat information.
Preferably, the communication module sends a consumable message containing consumable heartbeat information to the printer in response to the printer message sent by the printer.
Preferably, the consumable heartbeat information is calculated by the operation module according to the heartbeat serial number base information and a second incremental algorithm.
Preferably, the consumable command word comprises consumable command type information and consumable heartbeat information, and the arithmetic unit calculates the consumable command word according to a combination algorithm according to the consumable command type information and the consumable heartbeat information.
The invention adds the heartbeat information for verifying the order of command interaction in the communication data of the printer command and the consumable chip, and verifies the order of command interaction according to the heartbeat information at both the printer end and the consumable chip end, thereby preventing the chip from mistakenly responding to the printer command.
Drawings
FIG. 1 is a schematic diagram of a consumable chip according to an embodiment of the present invention.
Fig. 2 illustrates a printer message frame structure according to an embodiment of the present invention.
FIG. 3 illustrates a consumable message frame structure according to an embodiment of the present invention.
FIG. 4 is a schematic diagram illustrating a command interaction process between a printer and a consumable chip according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The present embodiment is only for explaining the present invention, and it is not limited to the invention, and those skilled in the art can make modifications without inventive contribution to the present embodiment as needed after reading the present specification, but all of them are protected by patent laws within the scope of the claims of the present invention.
Example one
A printer comprises a consumable mounting part for mounting a consumable, wherein the consumable comprises a consumable container and a consumable chip mounted on the consumable container, the consumable container can contain the consumable for printing and imaging, the consumable chip comprises a communication module, a digital processing module and a storage module, an external interface of the communication module adopts an I2C protocol, the communication module is connected with a printer communication interface arranged in the consumable mounting part and is responsible for receiving and sending printer messages, the data processing module is responsible for processing messages between the consumable and the printer and reading and writing data in the storage module, the storage module comprises a NOR F L ASH storage unit and an SDRAM storage unit, the NOR F L ASH storage unit is an EEPROM or F L ASH and is responsible for storing code programs and data, and the SDRAM storage unit is responsible for storing data required by running the code programs.
The consumable chip mounted on the printer needs to be authenticated by the printer many times during the use of the printer. Each authentication requires the printer to send a printer message to the consumable, which responds with the printer message to pass the authentication of the printer. And multiple authentications between the printer and the consumable are required to be performed in a strict order.
As shown in fig. 2, the printer message is composed of a printer command header, a printer command length, printer command data, and a printer command check code. Wherein the printer command header includes a total of two bytes including printer command type information and printer heartbeat information. In this embodiment, the printer command type is a printer command type code (for example, 0x00a 9) of two bytes, the printer heartbeat information is a binary number (for example, 0x 00), and the printer command header is obtained by calculating the printer command type code and the printer heartbeat information according to a predetermined algorithm of the printer. The predetermined algorithm may be an increment operation, a decrement operation, or the like. In the present embodiment, an exclusive or operation is used. For example, the printer command header in the present embodiment is equal to 0x00a9 (i.e., a value of 0x00a9 or 0x 00). The printer command length indicates the number of bytes of the printer command data field. The printer command data includes heartbeat serial number base information, and the heartbeat serial number base field indicates the base of the heartbeat information sequence between the printer and the consumable. The heartbeat serial number base information in this embodiment is a binary number generated by the printer, and the heartbeat serial number base information may be a regular binary number obtained by the printer according to a certain algorithm, or may be a random binary number generated by printing. The printer second heartbeat signal in this embodiment is randomly generated by the printer, such as a random number of 0x 9763.
The digital processing module of the consumable chip further comprises:
and a parsing unit extracting a printer command header 0x00a9 included in the printer message, and printer heartbeat information 0x00, printer command data, and heartbeat sequence number base information 0x9763 included in the printer command header.
And the judging unit is used for judging whether the printer message sequence sent by the printer accords with a preset sequence according to the printer heartbeat information in the received printer message. If so, the consumable chip responds to the printer message, and if not, the consumable chip does not respond to the printer message. The judging unit judges whether the printer message sequence received by the consumable chip conforms to the preset sequence by analyzing whether the results of the calculation of the printer heartbeat information and the consumable heartbeat verification information in the printer message received by the consumable chip according to the analysis algorithm are in line with expectations. In the invention, a plurality of fixed data are stored in the consumable chip storage module, and the fixed data correspond to the printer command type information of the printer message of each authentication between the printer and the consumable one by one. Whether the result of the operation is consistent with the fixed data corresponding to the authentication in the storage module or not is judged. If the two are consistent, the expectation is considered to be met, and if the two are not consistent, the expectation is considered to be not met.
In this embodiment, for the first printer message sent by the printer, the operation unit performs operation on the printer heartbeat information of the printer message and the consumable heartbeat verification initial information which is preset and stored in the storage module according to an analysis algorithm. The judging unit judges whether the result of the operation according to the analysis algorithm and the consumable heartbeat verification information are in accordance with expectations or not, and if so, the result is matched, otherwise, the result is not matched. The fixed data pre-stored in the storage module is the printer command type code of the printer message in the authentication corresponding to the sequence; meanwhile, the analysis algorithm can ensure that the operation result of the printer command header and the consumable heartbeat verification information of the printer messages in the correct sequence calculated according to the analysis algorithm is exactly equal to the printer command type codes of the printer messages in the corresponding sequence authentication. And for the non-first printer message sent by the printer, the incremental operation result of the heartbeat serial number base information in the first printer message by the operation unit is used as consumable heartbeat verification information, and the operation unit further performs operation according to an analysis algorithm. And similarly, the judging unit judges whether the operation result of the analysis algorithm and the consumable heartbeat verification information are in accordance with expectations or not, if so, the operation result is matched, and if not, the operation result is not matched. In this embodiment, the first increment algorithm used in the increment operation is related to the order of the printer message in the printer message sequence.
For example, for the first printer message from the printer, the memory module of the consumable chip stores consumable heartbeat verification initial information (0 x 00), which is used as consumable heartbeat verification information at the printer side. The arithmetic unit of the consumable chip calculates a printer command word head 0x00a9 of a first printer message and consumable heartbeat verification (initial) information 0x00 according to an analytical algorithm (such as exclusive-or operation) to obtain a calculation result 0x00a9, and the judging unit compares printer command type codes corresponding to the authentication stored in the storage module with each other to determine whether the printer command type codes are equal, if so, the printer command type codes are in accordance with a preset sequence, otherwise, the printer command type codes are not in accordance with the preset sequence.
For another example, for a non-first printer message from the printer, the consumable chip calculates a result according to the first increment algorithm based on the heartbeat serial number base information in the first printer message from the printer to obtain consumable heartbeat verification information. The operation unit of the consumable chip calculates the printer command word head of the printer message and the consumable heartbeat verification information according to an analytical algorithm (such as exclusive-or operation) to obtain a calculation result, the judgment unit compares printer command type codes corresponding to the authentication and stored in the storage module with each other to determine whether the printer command type codes are equal, if so, the printer message sequence sent by the printer accords with a preset sequence, otherwise, the printer command type codes do not accord with the preset sequence. Wherein the first incrementing algorithm is related to the order of the present printer message in the sequence of printer messages. For example, the heartbeat sequence number base information + a fixed value is the authentication sequence number information related value corresponding to the present printer message.
Referring to fig. 3, the consumable message is composed of a consumable command header, a consumable command length, consumable command data, and a consumable command check code. Wherein the consumable command header has a total of two bytes including a consumable command type and consumable heartbeat information. The consumable command length indicates the number of bytes of the consumable command data field. The consumable command type is a two byte consumable command type code. The consumable chip takes the printer heartbeat information or heartbeat serial number base information extracted by the analysis unit as consumable heartbeat information through the operation unit according to the result of incremental operation through the operation unit. And the arithmetic unit is used for performing combined algorithm operation on the consumable command type codes and the consumable heartbeat information to serve as a consumable command word header. In this embodiment, the incremental operation of the heartbeat information of the printer extracted by the analysis unit is performed by a fixed addition operation of incrementing by 1, and the incremental operation of the heartbeat serial number base information extracted by the analysis unit is performed by a second incremental algorithm. Wherein the second increasing algorithm is related to the sequence of the consumable messages in the consumable message sequence. For example, the heartbeat serial number base information + a fixed value is the relevant value of the authentication serial number information corresponding to the consumable message. In the embodiment, the combining algorithm is an exclusive-or operation.
The first incremental algorithm and the second incremental algorithm in the invention only represent incremental algorithms adopted by the chip in different processing processes, and specifically how to perform incremental processing, and the first incremental algorithm and the second incremental algorithm can be the same or different according to different use environments.
As shown in fig. 4, a flow example of a communication method of the printer with the consumable chip mounted thereon according to the present embodiment. In fig. 4, the first and second authentication processes between the printer and the consumable are described as an example, and the initial information of the printer is 0x00, and the initial information of the heartbeat verification of the consumable is 0x 00:
the first authentication process:
first, a printer message is sent from the printer side to the consumable. Here, since the printer message is the first printer message, the initial information 0x00 is used as the printer heartbeat information of the printer message. Therefore, the command header of the printer message is 0x00a9 (equal to the printer command type 0x00a9 or the printer first heartbeat information 0x 00), and the heartbeat sequence number base information included in the printer command data is a random number 0x9763 generated at the printer end.
Second, the consumable chip receives a printer message from the printer. Firstly, extracting a printer command header 0x00a9 of a printer message, wherein the printer message is a first printer message, so that an exclusive or operation is performed on a consumable heartbeat verification initial value 0x00 and the printer command header 0x00a9 to obtain an operation result 0x00a9, the operation result is compared with a printer command type code 0x00a9 which is stored in a storage module and corresponds to the (printer message of) verification at this time, the comparison result is the same, the printer message sequence sent by the printer is shown to accord with a preset sequence, and a consumable chip needs to respond to the printer message. And parses the printer command data portion of the printer message to extract heartbeat sequence number base information 0x9763 and stores printer heartbeat information 0x00 and heartbeat sequence number base information 0x9763 to the storage module.
Again, the consumable chip executes the response to the printer message and packages the result of the response in the consumable command data of the consumable message. And the consumable chip adds 1 to the printer heartbeat information 0x00 in the printer message to obtain consumable heartbeat information 0x 01. And performing exclusive-or operation on the consumable type command type code 0x00aa of the consumable message and the consumable heartbeat information 0x01 to obtain an operation result 0x00ab as a consumable command header of the consumable message. And sending the packaged consumable information to a printer for feedback. Otherwise, the consumable does not respond to the printer message, and the printer end does not receive the consumable message responded by the consumable within a certain time, and then the printer end is restarted to restart the verification, so that the printer fault is avoided.
And finally, after the printer receives the consumable information responded by the consumable chip, performing first authentication on the consumable according to the consumable information, and entering second authentication if the authentication is passed.
And (3) a second authentication process:
first, a printer message is sent from the printer side to the consumable. The printer heartbeat information 0x9764=0x9763+1 (2-1), i.e., the printer heartbeat information = heartbeat serial number base information +1 (authentication serial number-1 corresponding to the present printer message), is calculated from the heartbeat serial number base information (random number 0x 9763) of the printer in the first authentication process. Thus, the command header of the printer message is 0x96FA (equal to printer command type 0x019E or printer heartbeat information 0x 9764).
Second, the consumable chip receives a printer message from the printer. First, a printer command header 0x96FA of the printer message is extracted, and the heartbeat sequence number base number 0x9763 of the printer message stored in the storage module in the first authentication is obtained according to a first increment algorithm (heartbeat sequence number base number information + fixed value + authentication sequence number information corresponding to the printer message of this time) to consumable heartbeat verification information 0x9764=0x9763+1 (2-1), that is, consumable heartbeat verification information = heartbeat sequence number base number information +1 (authentication sequence number-1 corresponding to the printer message of this time). The consumable heartbeat verification information 0x9764 and the printer command header 0x96FA are subjected to exclusive-or operation to obtain an operation result 0x019E, the operation result is compared with the printer command code 0x019E of the printer message corresponding to the verification (printer message) in the storage module, the comparison result is the same, the fact that the printer message sequence sent by the printer accords with the preset sequence is shown, and the consumable chip needs to respond to the printer message. Otherwise, the consumable does not respond to the printer message, and the printer end does not receive the consumable message responded by the consumable within a certain time, and then the printer end is restarted to restart the verification, so that the printer fault is avoided.
Again, the consumable chip executes the response to the printer message and packages the result of the response in the consumable command data of the consumable message. The consumable chip obtains consumable heartbeat information 0x9765=0x9763+2 (2-1) from the heartbeat serial number base information 0x9763 according to a second incremental algorithm (heartbeat serial number base information + fixed value authentication sequence number information corresponding to the consumable message), that is, the consumable heartbeat information = heartbeat serial number base information +2 (authentication sequence number-1 corresponding to the printer message). And performing exclusive-or operation on the consumable type command type code 0x0120 of the consumable message and the consumable heartbeat information 0x9765 to obtain an operation result 0x9645 as a consumable command header of the consumable message. And sending the packaged consumable information to a printer for feedback.
And finally, after the printer receives the consumable information responded by the consumable chip, performing first authentication on the consumable according to the consumable information, and entering second authentication if the authentication is passed.
And so on until the printer completes all authentications. In the process, the authentication sequence (namely the command interaction sequence) between the printer and the consumable is strictly checked through the printer heartbeat information and the consumable heartbeat information contained in the printer message and the consumable message, so that the problem that the printer fails or all or part of functions of the consumable cannot be used due to the wrong response of a consumable chip to the printer is avoided.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various changes or modifications within the scope of the appended claims.

Claims (15)

1. A communication method of consumable chip is suitable for communication between a printer and a consumable installed in the printer; the method is characterized in that: receiving a printer message, wherein the printer message comprises printer heartbeat information; judging whether a printer message sequence sent by the printer accords with a preset sequence or not according to printer heartbeat information contained in the printer message, responding to the printer message if the printer message sequence accords with the preset sequence, and not responding to the printer message if the printer message sequence does not accord with the preset sequence;
for a first printer message from the printer, taking consumable heartbeat verification initial information as consumable heartbeat verification information; the first printer message comprises heartbeat serial number base information, and for a non-first printer message sent by a printer, the result of the operation of the heartbeat serial number base information according to a first incremental algorithm is used as consumable heartbeat verification information;
the heartbeat sequence number base information includes random information.
2. The communication method of the consumable chip according to claim 1, wherein: the method for judging whether the printer message sequence sent by the printer conforms to the preset sequence comprises the following steps: if the printer heartbeat information is matched with the consumable heartbeat verification information, the printer message sequence accords with a preset sequence, and if the printer heartbeat information is not matched with the consumable heartbeat verification information, the printer message sequence does not accord with the preset sequence.
3. The communication method of the consumable chip according to claim 2, wherein: and calculating the printer heartbeat information and the consumable heartbeat verification information according to an analysis algorithm, wherein if the calculation result is in line with expectation, the printer message sequence is in line with a preset sequence, and if the calculation result is not in line with the expectation, the printer message sequence is not in line with the preset sequence.
4. The method for communicating a consumable chip according to claim 1, 2 or 3, wherein: the printer command header includes printer command type information and the printer heartbeat information.
5. The method for communicating a consumable chip according to claim 1, 2 or 3, wherein: and sending a consumable message containing consumable heartbeat information to the printer to respond to the printer message sent by the printer.
6. The communication method of the consumable chip according to claim 5, wherein: and the consumable heartbeat information is calculated by the heartbeat serial number base information according to a second incremental algorithm.
7. The communication method of the consumable chip according to claim 5, wherein: the consumable command word head comprises consumable command type information and consumable heartbeat information, and the consumable command word head is obtained by calculating the consumable command type information and the consumable heartbeat information according to a combined algorithm.
8. The utility model provides a consumptive material chip, includes communication module, storage module and digital processing module, its characterized in that: the communication module receives a printer message from a printer, the digital processing module comprising:
the analysis unit extracts the printer heartbeat message contained in the printer message;
the judging unit is used for judging whether a printer message sequence sent by the printer accords with a preset sequence according to the heartbeat information of the printer; if yes, the consumable chip responds to the printer message, and if not, the consumable chip does not respond to the printer message;
for a first printer message from the printer, taking consumable heartbeat verification initial information as consumable heartbeat verification information; the first printer message comprises heartbeat serial number base information, and for a non-first printer message sent by a printer, the result of the operation of the heartbeat serial number base information according to a first incremental algorithm is used as consumable heartbeat verification information; the heartbeat sequence number base information includes random information.
9. The consumable chip of claim 8, wherein: the storage module stores consumable heartbeat verification information; the judging unit analyzes whether the printer heartbeat information is matched with the consumable heartbeat verification information or not, if so, judges that the printer message sequence conforms to a preset sequence, and if not, judges that the printer message sequence does not conform to the preset sequence.
10. The consumable chip of claim 9, wherein: the digital processing module comprises an arithmetic unit, and the arithmetic unit calculates the printer heartbeat information and the consumable heartbeat verification information according to an analysis algorithm.
11. The consumable chip of claim 10, wherein: the storage module stores consumable verification initial information; for a first printer message from the printer, taking consumable heartbeat verification initial information as consumable heartbeat verification information; the first printer message comprises heartbeat serial number base information, and for a non-first printer message sent by a printer, the result of operation of the heartbeat serial number base information through the operation module according to a first incremental algorithm is used as consumable heartbeat verification information; the heartbeat sequence number base information includes random information.
12. The consumable chip of claim 11, wherein: the printer command header includes printer command type information and the printer heartbeat information.
13. A consumable chip according to claim 10 or 11, wherein: the communication module sends consumable messages containing consumable heartbeat information to the printer to respond to the printer messages sent by the printer.
14. The consumable chip of claim 13, wherein: and the consumable heartbeat information is calculated by the operation module according to the heartbeat serial number base information and a second incremental algorithm.
15. The consumable chip of claim 13, wherein: the consumable command word head comprises consumable command type information and consumable heartbeat information, and the operation unit calculates the consumable command word head according to a combination algorithm according to the consumable command type information and the consumable heartbeat information.
CN201710379854.9A 2017-05-25 2017-05-25 Communication method of consumable chip and consumable chip Active CN107203359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379854.9A CN107203359B (en) 2017-05-25 2017-05-25 Communication method of consumable chip and consumable chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379854.9A CN107203359B (en) 2017-05-25 2017-05-25 Communication method of consumable chip and consumable chip

Publications (2)

Publication Number Publication Date
CN107203359A CN107203359A (en) 2017-09-26
CN107203359B true CN107203359B (en) 2020-07-31

Family

ID=59906143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379854.9A Active CN107203359B (en) 2017-05-25 2017-05-25 Communication method of consumable chip and consumable chip

Country Status (1)

Country Link
CN (1) CN107203359B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446081B (en) * 2018-04-11 2019-06-21 杭州旗捷科技有限公司 Consumable chip, consumptive material, consumptive material communication means
CN113103765B (en) * 2021-04-02 2022-07-15 杭州旗捷科技有限公司 Printing consumable authentication method, printing consumable chip, printing consumable and printing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231054A (en) * 2011-06-08 2011-11-02 珠海天威技术开发有限公司 Chip, data communication method for chip, consumable container and imaging equipment
CN102442073A (en) * 2011-09-27 2012-05-09 珠海天威技术开发有限公司 Universal chip, communication method of universal chip, consumable container and imaging equipment
CN103465631A (en) * 2013-07-26 2013-12-25 中山铭祺电子科技有限公司 Printer-used consumable counting chip

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101766833B1 (en) * 2010-08-16 2017-08-09 에스프린팅솔루션 주식회사 Image forming apparatus and method for transformation virtual memory address to physical memory address thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231054A (en) * 2011-06-08 2011-11-02 珠海天威技术开发有限公司 Chip, data communication method for chip, consumable container and imaging equipment
CN102442073A (en) * 2011-09-27 2012-05-09 珠海天威技术开发有限公司 Universal chip, communication method of universal chip, consumable container and imaging equipment
CN103465631A (en) * 2013-07-26 2013-12-25 中山铭祺电子科技有限公司 Printer-used consumable counting chip

Also Published As

Publication number Publication date
CN107203359A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
US11113382B2 (en) Vehicle network system whose security is improved using message authentication code
CN106843942B (en) Wearable device and firmware upgrading method thereof
CN106250192B (en) Software upgrading method and system of upper computer
US11176279B2 (en) Method for identity verification, consumable box and storage medium
US11907700B2 (en) Upgrading method and system, server, and terminal device
CN110971704A (en) Data transmission method and device based on JSON configuration file
CN110351281B (en) Universal data frame analysis method, device and equipment
CN107203359B (en) Communication method of consumable chip and consumable chip
CN106656998B (en) server communication method and device
CN103763067A (en) Method and device for error correction and calibration of communication data packets
CN109981671B (en) Data processing method based on encryption machine and encryption machine
US20160056953A1 (en) Data generating device, communication device, mobile object, data generating method, and computer program product
US10204249B2 (en) Information code reading system and information code reader
EP3825889A1 (en) Vehicle communication device, method of determining communication abnormality, and storage medium storing program
CN117391099A (en) Data downloading and checking method and system for smart card and storage medium
CN110381050B (en) Multi-protocol conversion and verification method and device for data packet
CN111767231A (en) Multi-platform Bootrom verification method, device, system and computer readable medium
CN112187704A (en) Method, system and network equipment for checking valid time of license
CN115982735A (en) Method, device and storage medium for automatically processing production data
CN112865918B (en) Information decoding method, device, equipment and medium
CN112699366B (en) Cross-platform login-free secure communication method and device and electronic equipment
JP2019029921A (en) Transmitter, receiver, and communication method
US9454605B1 (en) Transferring data between devices using bar codes
US20220094540A1 (en) On-vehicle communication system, on-vehicle communication control device, on-vehicle communication device, communication control method and communication method

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