CN113665248A - Consumable chip, consumable box and method for controlling communication of consumable chip - Google Patents

Consumable chip, consumable box and method for controlling communication of consumable chip Download PDF

Info

Publication number
CN113665248A
CN113665248A CN202110837823.XA CN202110837823A CN113665248A CN 113665248 A CN113665248 A CN 113665248A CN 202110837823 A CN202110837823 A CN 202110837823A CN 113665248 A CN113665248 A CN 113665248A
Authority
CN
China
Prior art keywords
protocol
chip
communication
consumable
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110837823.XA
Other languages
Chinese (zh)
Other versions
CN113665248B (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.)
Guangzhou Zhongnuo Microelectronics Co ltd
Original Assignee
Guangzhou Zhono Electronic 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 Guangzhou Zhono Electronic Technology Co ltd filed Critical Guangzhou Zhono Electronic Technology Co ltd
Priority to CN202110837823.XA priority Critical patent/CN113665248B/en
Publication of CN113665248A publication Critical patent/CN113665248A/en
Application granted granted Critical
Publication of CN113665248B publication Critical patent/CN113665248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor
    • B41J2/17503Ink cartridges
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • 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/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/123Software or firmware update, e.g. device firmware management
    • 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/1236Connection management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • B41J2029/3937Wireless communication between the printer and the cartridge, carriage or printhead
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Abstract

The invention discloses a consumable chip, a consumable box and a method for controlling the communication of the consumable chip, wherein the consumable chip comprises: the circuit board is provided with a communication connection contact; the main control chip is arranged on the circuit board and adopts a chip communication protocol; the protocol conversion unit comprises a plurality of protocol interfaces and connecting interfaces, the protocol interfaces are all connected with the main control chip, the connecting interfaces are connected with the communication connecting contacts, the protocol conversion unit is used for conducting target protocol interfaces corresponding to chip communication protocols in the protocol interfaces, determining external communication protocols according to communication data received by the communication connecting contacts, and converting the external communication protocols and the chip communication protocols into each other. The consumable chip can solve the problem of frequently replacing the identification head, and improves user experience.

Description

Consumable chip, consumable box and method for controlling communication of consumable chip
Technical Field
The invention relates to the technical field of imaging equipment, in particular to a consumable chip, a consumable box and a method for controlling communication of the consumable chip.
Background
In the related art, when an external device, such as a chip data processing device, burns and resets a chip, the burning and resetting are usually performed according to the number of contacts and a protocol designed for the chip, for example, 4 contacts are correspondingly provided when the chip adopts an I2C protocol, and then the chip data processing device needs to correspondingly design an identification head of 4 probes, so that the identification head is correspondingly connected with the 4 contacts of the chip to realize data transmission between the data processing device and the chip. However, the number of contacts may vary from chip to chip, for example, a chip may have 3, 5 or other number of contacts, and for chips with the same number of contacts, different identification heads may be used depending on the way the contacts of the chip are arranged.
Therefore, there is a need to provide one identification head for each of different types of chips, and a plurality of identification heads are required for each device host of the external device. For example, the chip with 3 contacts adopts the identification head with 3 probes, and then the user needs to search for the identification head corresponding to the chip from a plurality of identification heads equipped in the external device, which is cumbersome to operate, and when the chip is replaced, the identification heads with the corresponding number of probes need to be replaced due to different chip types so as to match the contacts of the replaced chip, so that the replacement of the chip also needs to be performed without stopping, the steps are complicated, errors are easy to occur, and bad experience is brought to the user.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, an object of the present invention is to provide a consumable chip, which can solve the problem of frequent replacement of the identification head, and improve the user experience.
The second objective of the present invention is to provide a consumable box.
The invention also provides a method for controlling the communication of the consumable chip.
In order to solve the above problem, an embodiment of a first aspect of the present invention provides a consumable chip, including: the circuit board is provided with a communication connection contact; the main control chip is arranged on the circuit board and adopts a chip communication protocol; the protocol conversion unit comprises a plurality of protocol interfaces and a connecting interface, the protocol interfaces are all connected with the main control chip, the connecting interface is connected with the communication connecting contact, the protocol conversion unit is used for conducting a plurality of target protocol interfaces corresponding to the chip communication protocol in the protocol interfaces, determining an external communication protocol according to communication data received by the communication connecting contact, and mutually converting the external communication protocol and the chip communication protocol.
According to the consumable chip provided by the embodiment of the invention, the protocol conversion unit is provided with the plurality of protocol interfaces, so that the protocol conversion unit can be suitable for a main control chip supporting any communication protocol, the applicability of the protocol conversion unit is improved, the number of communication connection contacts matched with the number of probes of the identification head equipped on the external equipment is arranged on the circuit board, and the arranged communication connection contacts are correspondingly connected with the connection interfaces, therefore, after the consumable chip is in communication connection with the outside, the communication between the main control chip and the external equipment can be realized by utilizing the protocol conversion function of the protocol conversion unit, namely, the external communication protocol adopted by the external equipment and the chip communication protocol are mutually converted, the identification head does not need to be frequently replaced, and the user experience is improved.
In some embodiments, the protocol conversion unit further comprises: the unit body is provided with a plurality of protocol interfaces and connection interfaces; and the controller is arranged on the unit body, is connected with the protocol interface and the connecting interface and is used for conducting the target protocol interface and mutually converting the external communication protocol and the chip communication protocol.
In some embodiments, the protocol conversion unit is further configured to send a handshake feedback signal in response to a handshake signal received by the communication connection contact.
In some embodiments, the telecommunications connection contact is one.
In some embodiments, the communication data includes at least one of reset data, upgrade data, update data sent in the external communication protocol.
In some embodiments, the protocol conversion unit is configured to convert at least one of the reset data, the upgrade data, and the update data into data transmitted according to the chip communication protocol, and send the data transmitted according to the chip communication protocol to the main control chip.
In a second aspect, embodiments of the invention provide a consumable cartridge comprising: a cartridge body; the consumable chip of the above embodiment, the consumable chip is disposed on the box body.
According to the consumable box provided by the embodiment of the invention, the consumable chip provided by the embodiment is adopted, the protocol conversion unit is arranged in the consumable chip and is provided with a plurality of protocol interfaces, so that the protocol conversion unit can be suitable for a main control chip supporting any communication protocol, the applicability of the protocol conversion unit is improved, and the number of the connection interfaces matched with the number of the probes of the identification heads arranged on external equipment is set, therefore, after the protocol conversion unit is in communication connection with the outside through the connection interfaces, the protocol conversion function of the protocol conversion unit is utilized, namely, the controller is used for carrying out mutual conversion on the external communication protocol and the chip communication protocol, the communication between the consumable box and the outside can be realized, the identification heads do not need to be frequently replaced, and the user experience is improved.
An embodiment of a third aspect of the present invention provides a method for controlling communication of a consumable chip, where the consumable chip is used in the foregoing embodiment, the consumable chip includes a protocol conversion unit and a main control chip, the protocol conversion unit includes a plurality of protocol interfaces connected to the main control chip and a connection interface for receiving external communication data, and the method includes: a target protocol interface in the protocol interfaces is conducted, wherein the target protocol interface corresponds to a chip communication protocol matched with the main control chip; determining an external communication protocol according to the communication data received by the connection interface; and mutually converting the external communication protocol and the chip communication protocol to realize the communication between the consumable chip and the outside.
According to the method for controlling the communication of the consumable chip, the protocol conversion unit is provided with the plurality of protocol interfaces, so that the protocol conversion unit can be suitable for a main control chip supporting any communication protocol, the applicability of the protocol conversion unit is improved, and the number of the connection interfaces matched with the number of the probes of the identification heads equipped on the external equipment is set, so that after the protocol conversion unit is in communication connection with the outside through the connection interfaces, the communication between the consumable chip and the outside can be realized by utilizing the protocol conversion function of the protocol conversion unit, namely, the external communication protocol and the chip communication protocol are mutually converted, the identification heads do not need to be frequently replaced, and the user experience is improved.
In some embodiments, prior to determining the external communication protocol from the communication data received by the connection interface, the method further comprises: and sending a handshake feedback signal in response to the handshake signal received by the connection interface.
In some embodiments, the communication data includes at least one of reset data, upgrade data, and update data sent in the external communication protocol, and the interconversion between the external communication protocol and the chip communication protocol includes: converting at least one of the reset data, the upgrade data and the update data into data transmitted by the chip communication protocol; and sending the data transmitted by the chip communication protocol to the main control chip.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic structural diagram of a consumable chip according to one embodiment of the present invention;
fig. 2 is a schematic structural diagram of a protocol conversion unit according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a consumable cartridge according to one embodiment of the present invention.
FIG. 4 is a flowchart of a method of controlling communication of a consumable chip according to one embodiment of the present invention.
Reference numerals:
a consumable cartridge 20; a consumable chip 10;
a circuit board 1; a main control chip 2; a protocol conversion unit 3;
a communication connection contact 11; a unit body 31; a plurality of protocol interfaces 32; a connection interface 33; a controller 34;
a cartridge body 4.
Detailed Description
Embodiments of the present invention will be described in detail below, the embodiments described with reference to the drawings being illustrative, and the embodiments of the present invention will be described in detail below.
In order to solve the above problem, an embodiment of a first aspect of the present invention provides a consumable chip, which can solve the problem of frequent replacement of an identification head, and improve user experience.
Referring to fig. 1 and fig. 2, a consumable chip provided by an embodiment of the present invention is described, as shown in fig. 1, a consumable chip 10 includes a circuit board 1, a main control chip 2, and a protocol conversion unit 3.
As shown in fig. 1, a communication connection contact 11 is provided on the circuit board 1, and the communication connection contact 11 is used for connecting with a probe of an identification head equipped with an external device.
In the embodiment, the number of the communication connection contacts 11 disposed on the circuit board 1 is the same as the number of the probes of the identification head disposed on the external device, that is, the number of the probes of the identification head disposed on the circuit board 1 of the external device is the number of the communication connection contacts 11 disposed on the circuit board 1, and meanwhile, since the number of the probes of the identification head disposed on the external device is determined by the external communication protocol adopted by the external device, the external device can be disposed with only one identification head, and the number of the probes on the identification head is determined according to the external communication protocol, and when the circuit board 1 is designed, the communication connection contacts 11 are disposed according to the number of the probes of the identification head disposed on the external device, so that the external device does not need to be disposed with a plurality of identification heads, and the number of the identification heads is reduced.
For example, if the external communication protocol used by the external device is a single bus communication protocol, the external device is configured as an identification head of one probe, that is, the number of probes on the identification head is one, and therefore, one communication connection contact 11 is correspondingly arranged on the circuit board 1, for example, as shown in fig. 1; alternatively, if the external communication protocol used by the external device is the I2C communication protocol, it means that the external device is configured as an identification head with four probes, that is, the number of probes on the identification head is four, and therefore, four communication connection contacts 11 may be correspondingly provided on the circuit board 1. In this way, the number of identification heads equipped with external equipment is greatly reduced.
It is understood that, without departing from the concept of the present invention, the external device may use a communication protocol that is in accordance with actual needs, and the external device is not limited thereto, and only needs to determine that the number of the probes on the identification head is consistent with the number of the communication connection contacts 11 disposed on the circuit board 1 according to the external communication protocol.
As shown in fig. 1, a main control chip 2 is disposed on a circuit board 1, and the main control chip 2 employs a chip communication protocol. It can be understood that different types of master control chips 2 have different chip communication protocols, and when the consumable chip 10 is designed, the corresponding master control chip 2 can be used according to actual needs without limitation.
And as shown in fig. 2, the protocol conversion unit 3 includes a plurality of protocol interfaces 32 and a connection interface 33, the plurality of protocol interfaces 32 are all connected to the main control chip 2, the connection interface 33 is connected to the communication connection contact 11, and the protocol conversion unit 3 is configured to conduct a target protocol interface corresponding to a chip communication protocol in the plurality of protocol interfaces 32, determine an external communication protocol according to communication data received by the communication connection contact 11, and convert the external communication protocol and the chip communication protocol with each other.
In some embodiments, the protocol conversion unit 3 may be disposed on the circuit board 1, or may be disposed independently of the circuit board 1, which is not limited thereto.
Specifically, the protocol conversion unit 3 stores a plurality of types of communication protocols, such as I2C communication protocol, serial communication protocol, or single bus communication protocol, and a protocol interface is provided for each type of communication protocol, so that a data transmission path between the protocol conversion unit 3 and the main control chip 2 can be formed by connecting the plurality of protocol interfaces 32 to the main control chip 2 and connecting a protocol interface corresponding to the chip communication protocol adopted by the main control chip 2, i.e. a target protocol interface, among the plurality of protocol interfaces 32, to realize data communication between the protocol conversion unit 3 and the main control chip 2, and thus, in this way, any communication protocol can be converted into an external communication protocol by the protocol conversion unit 3, so that the protocol conversion unit 3 can be adapted to the main control chip 2 supporting any communication protocol, the applicability of the protocol conversion unit 3 is improved.
Thus, by the above arrangement, when the main control chip 2 in the consumable chip 10 is operated by an external device, the identification head of the external device arrangement can be directly connected to the communication connection contacts 11 of the consumable chip 10, thus, a data transmission path between the main control chip 2 and the external device is formed by the recognition head, the communication connection contact 11, the connection interface 33, and the target protocol interface, and by using the protocol conversion function of the protocol conversion unit 3, thus realizing the data communication between the external equipment and the main control chip 2 and finishing the operation of the external equipment to the main control chip 2, the user does not need to spend time searching the identification head matched with the main control chip 2, the operation is simple and convenient, and the limitation of the type of the main control chip 2 is not needed, the problem that the user frequently changes the identification head is solved, and the user experience is improved.
The following description will be made by taking the use of the consumable chip as an example with reference to fig. 1 and 2.
Assuming that the external device is a chip data processing device and the external communication protocol adopted by the external device is a single bus communication protocol, the number of probes on the identification head configured for the external device is one, so that the number of the corresponding communication connection contacts 11 in the consumable chip 10 is one, and meanwhile, the connection interface 33 of the protocol conversion unit 3 in the consumable chip 10 is used for being correspondingly connected with the communication connection contacts 11, and the number of the connection interface 33 is also one. It is assumed that the chip communication protocol adopted by the main control chip 2 is the I2C communication protocol, so after the main control chip 2 is connected to the protocol conversion unit 3, a protocol interface corresponding to the I2C communication protocol in the plurality of protocol interfaces 32 is turned on to be used as a target protocol interface, that is, the protocol conversion unit 3 performs data transmission with the main control chip 2 through the protocol interface corresponding to the I2C communication protocol.
Based on the design of the consumable chip 10, when the chip data processing device writes or resets the main control chip 2 in the consumable chip 10, the user can directly connect the identification head of the external device with the communication connection contact 11 of the consumable chip 10, so that the identification head, the communication connection contact 11, the connection interface 33 and the target protocol interface form a data transmission path. Therefore, when the external device sends communication data, the communication data is transmitted into the protocol conversion unit 3 through the identification head and the communication connection contact 11, the protocol conversion unit 3 determines that the external communication protocol is a single-bus communication protocol according to the received communication data, converts the communication data sent by the single-bus communication protocol into data transmitted by a chip communication protocol, namely, data transmitted by an I2C communication protocol, and further sends the data to the main control chip 2 through a protocol interface which is conducted and corresponds to the I2C communication protocol, and the main control chip 2 executes actions such as programming or resetting operation according to the received data; and the main control chip 2 can also send communication data to the protocol conversion unit 3 through the protocol interface corresponding to the I2C communication protocol, and the protocol conversion unit 3 converts the received communication data into data transmitted by the external communication protocol, that is, into the single bus communication protocol, and further transmits the data into the external device through the communication connection contact 11 and the identification head. Therefore, both the main control chip 2 and the external device can perform data transmission through a data transmission path formed by the identification head, the communication connection contact 11, the connection interface 33 and the target protocol interface, and perform mutual conversion on the external communication protocol adopted by the external device and the chip communication protocol through the protocol conversion unit 3, so that the single-wire communication between the external device and the consumable chip 10 is realized, namely, the reset and burning of the main control chip 2 are realized through the single-needle communication, and the probe number is simplified, and the operation is simple and convenient.
According to the consumable chip 10 of the embodiment of the invention, the protocol conversion unit 3 is provided with the plurality of protocol interfaces 32, so that the protocol conversion unit 3 can be suitable for the main control chip 2 supporting any communication protocol, the applicability of the protocol conversion unit 3 is improved, the number of the communication connection contacts 11 matched with the number of the probes of the identification heads equipped for the external equipment is arranged on the circuit board 1, and the arranged communication connection contacts 11 are correspondingly connected with the connection interfaces 33, therefore, after the consumable chip 10 is in communication connection with the outside, the protocol conversion function of the protocol conversion unit 3 is utilized, that is, the external communication protocol adopted by the external equipment and the chip communication protocol are mutually converted, the communication between the main control chip 2 and the external equipment can be realized, the identification heads do not need to be frequently replaced, and the user experience is improved.
In some embodiments, as shown in fig. 2, the protocol conversion unit 3 further includes a unit body 31 and a controller 34.
Wherein a plurality of protocol interfaces 32 and a connection interface 33 are provided on the unit body 31. The controller 34 is disposed on the unit body 31, and the controller 34 is connected to both the protocol interface 32 and the connection interface 33, and is configured to communicate with the target protocol interface, and mutually convert the external communication protocol and the chip communication protocol, that is, the controller 34 controls data transmission of different protocols between the main control chip 2 and the external device, so as to implement communication between the main control chip 2 and the external device.
In some embodiments, the protocol conversion unit 3 is further configured to send a handshake feedback signal in response to the handshake signal received by the communication connection contact 11, that is, after the consumable chip 10 is connected to the external device, the external device sends a handshake instruction to the protocol conversion unit 3, and the protocol conversion unit 3 sends a handshake feedback instruction according to the received handshake instruction, so as to inform that the external device has established normal connection communication with the consumable chip 10, so as to facilitate subsequent data transmission between the external device and the consumable chip 10.
It should be noted that, after the external device sends the handshake instruction to the protocol conversion unit 3, if the handshake feedback instruction sent by the protocol conversion unit 3 is not received, it indicates that the external device and the consumable chip 10 are not successfully connected, and the external device will report an error to remind the user.
In some embodiments, the external device connected to the consumable chip 10 may be a chip data processing device, and the chip data processing device may perform operations such as resetting of the main control chip 2, data burning, model modification, and chip upgrading on the empty chip, so that after the consumable chip 10 and the chip data processing device establish normal communication, both the main control chip 2 and the chip data processing device may perform data transmission through a data transmission path formed by the identification head, the communication connection contact 11, the connection interface 33, and the target protocol interface, the communication data transmitted by the chip data processing device includes at least one of reset data, upgrade data, and update data sent in an external communication protocol, and thus at least one of the reset data, the upgrade data, and the update data is converted into data transmitted in a chip communication protocol by the protocol conversion unit 3, and the data transmitted by the chip communication protocol is sent to the main control chip 2, and the main control chip 2 executes corresponding operation according to the received communication data, so as to realize programming or resetting of the main control chip 2.
It should be noted that, after the main control chip 2 completes the operation corresponding to the communication data transmitted by the chip data processing device, the main control chip 2 sends an operation completion instruction, such as a reset completion instruction, an upgrade completion instruction, or an update completion instruction, to the protocol conversion unit 3, and the protocol conversion unit 3 performs protocol conversion and transmits the protocol conversion to the external device, so as to notify the external device that the programming is completed.
In a second aspect of the present invention, a consumable cartridge 20 is provided, as shown in fig. 3, the consumable chip 10 provided in the above embodiment is disposed on a cartridge body 4, and the cartridge body 4 includes a cartridge body 4 and the consumable chip 10.
According to the consumable box 20 of the embodiment of the present invention, the consumable chip 10 provided by the above embodiment is adopted, based on that the protocol conversion unit 3 is arranged in the consumable chip 10, and the protocol conversion unit 3 is provided with the plurality of protocol interfaces 32, so that the protocol conversion unit 3 can be applied to the main control chip 2 supporting any communication protocol, the applicability of the protocol conversion unit 3 is improved, and by using the protocol conversion function of the protocol conversion unit 3, the number of the connection interfaces 33 matched with the number of the probes of the identification head equipped in the external device is set, and thus the controller 34 performs mutual conversion on the external communication protocol and the chip communication protocol, so that the communication between the consumable box 20 and the outside can be realized, the identification head does not need to be frequently replaced, and the user experience is improved.
In a third aspect of the present invention, a method for controlling communication of a consumable chip is provided, where the consumable chip provided in the above embodiments includes a protocol conversion unit and a main control chip, and the protocol conversion unit includes a plurality of protocol interfaces connected to the main control chip and a connection interface for receiving external communication data, as shown in fig. 4, the method includes at least steps S1-S3.
And step S1, a target protocol interface in the plurality of protocol interfaces is conducted, wherein the target protocol interface corresponds to the chip communication protocol matched with the main control chip.
In the embodiment, a plurality of types of communication protocols, such as I2C communication protocol, serial communication protocol, or single bus communication protocol, are stored in the protocol conversion unit, and a protocol interface is correspondingly provided for each type of communication protocol, therefore, by connecting a plurality of protocol interfaces with the main control chip and conducting the protocol interface corresponding to the chip communication protocol adopted by the main control chip in the plurality of protocol interfaces, namely the target protocol interface, a data transmission path between the protocol conversion unit and the main control chip can be formed to realize data communication between the protocol conversion unit and the main control chip, by this arrangement, any communication protocol can be converted into an external communication protocol by the protocol conversion unit, therefore, the protocol conversion unit can be suitable for the main control chip supporting any communication protocol, and the applicability of the protocol conversion unit is improved.
In step S2, an external communication protocol is determined according to the communication data received by the connection interface.
In an embodiment, the connection interface of the protocol conversion unit is used for receiving communication data transmitted by the external device, and the number of the connection interfaces set by the protocol conversion unit is consistent with the number of the probes of the identification heads equipped with the external device, so that when the external device operates the main control chip in the consumable chip, communication connection is established between the identification heads configured with the external device and the connection interfaces directly, a user does not need to spend time for searching the identification heads matched with the consumable chip, the operation is simple and convenient, the identification heads do not need to be frequently replaced, and the user experience is improved.
Specifically, after the protocol conversion unit establishes normal communication with the external device, the external device sends communication data, the communication data is transmitted into the protocol conversion unit through an identification head of the external device and a connection interface of the protocol conversion unit, and the protocol conversion unit determines an external communication protocol adopted by the external device according to the received communication data.
And step S3, the external communication protocol and the chip communication protocol are mutually converted to realize the communication between the consumable chip and the outside.
According to the method for controlling the communication of the consumable chip, the protocol conversion unit is provided with the plurality of protocol interfaces, so that the protocol conversion unit can be suitable for a main control chip supporting any communication protocol, the applicability of the protocol conversion unit is improved, and the number of the connection interfaces matched with the number of the probes of the identification heads equipped on the external equipment is set, so that after the protocol conversion unit is in communication connection with the outside through the connection interfaces, the communication between the consumable chip and the outside can be realized by utilizing the protocol conversion function of the protocol conversion unit, namely, the external communication protocol and the chip communication protocol are mutually converted, the identification heads do not need to be frequently replaced, and the user experience is improved.
In some embodiments, before determining the external communication protocol according to the communication data received by the connection interface, the protocol conversion unit sends a handshake feedback signal to the external device in response to the handshake signal received by the connection interface to inform the external device that the communication connection is successfully established.
In some embodiments, the communication data includes at least one of reset data, upgrade data, and update data sent by an external communication protocol, and the protocol conversion unit may convert at least one of the reset data, the upgrade data, and the update data into data transmitted by a chip communication protocol, and send the data transmitted by the chip communication protocol to the main control chip, so as to implement communication between the outside and the main control chip, and complete programming or resetting operations on the main control chip.
In the description of this specification, any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of custom logic functions or processes, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that variations, modifications, substitutions and alterations may be made in the above embodiments by those of ordinary skill in the art within the scope of the present invention.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A consumable chip, comprising:
the circuit board is provided with a communication connection contact;
the main control chip is arranged on the circuit board and adopts a chip communication protocol;
the protocol conversion unit comprises a plurality of protocol interfaces and a connecting interface, the protocol interfaces are all connected with the main control chip, the connecting interface is connected with the communication connecting contact, the protocol conversion unit is used for conducting a plurality of target protocol interfaces corresponding to the chip communication protocol in the protocol interfaces, determining an external communication protocol according to communication data received by the communication connecting contact, and mutually converting the external communication protocol and the chip communication protocol.
2. The consumable chip of claim 1, wherein the protocol conversion unit further comprises:
the unit body is provided with a plurality of protocol interfaces and connection interfaces;
and the controller is arranged on the unit body, is connected with the protocol interface and the connecting interface and is used for conducting the target protocol interface and mutually converting the external communication protocol and the chip communication protocol.
3. The consumable chip of claim 1, wherein the protocol conversion unit is further configured to send a handshake feedback signal in response to the handshake signal received by the communication connection contact.
4. The consumable chip of claim 1, wherein the communication connection contact is one.
5. The consumable chip of claim 1, wherein the communication data comprises at least one of reset data, upgrade data, and update data transmitted in the external communication protocol.
6. The consumable chip of claim 5, wherein the protocol conversion unit is configured to convert at least one of the reset data, the upgrade data, and the update data into data transmitted according to the chip communication protocol, and send the data transmitted according to the chip communication protocol to the consumable chip.
7. A consumable cartridge, comprising:
a cartridge body;
the consumable chip of any one of claims 1-6, disposed on the cartridge body.
8. A method for controlling communication of a consumable chip, the consumable chip comprising a protocol conversion unit and a main control chip, wherein the protocol conversion unit comprises a plurality of protocol interfaces connected with the main control chip and a connection interface for receiving external communication data, the method comprising:
a target protocol interface in the protocol interfaces is conducted, wherein the target protocol interface corresponds to a chip communication protocol matched with the main control chip;
determining an external communication protocol according to the communication data received by the connection interface;
and mutually converting the external communication protocol and the chip communication protocol to realize the communication between the consumable chip and the outside.
9. The method of controlling communication of a consumable chip according to claim 8, further comprising, prior to determining an external communication protocol from communication data received by the connection interface:
and sending a handshake feedback signal in response to the handshake signal received by the connection interface.
10. The method for controlling communication of a consumable chip according to claim 8, wherein the communication data comprises at least one of reset data, upgrade data, and update data transmitted in the external communication protocol, and the interconversion between the external communication protocol and the chip communication protocol comprises:
converting at least one of the reset data, the upgrade data and the update data into data transmitted by the chip communication protocol;
and sending the data transmitted by the chip communication protocol to the main control chip.
CN202110837823.XA 2021-07-23 2021-07-23 Consumable chip, consumable box and method for controlling communication of consumable chip Active CN113665248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110837823.XA CN113665248B (en) 2021-07-23 2021-07-23 Consumable chip, consumable box and method for controlling communication of consumable chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110837823.XA CN113665248B (en) 2021-07-23 2021-07-23 Consumable chip, consumable box and method for controlling communication of consumable chip

Publications (2)

Publication Number Publication Date
CN113665248A true CN113665248A (en) 2021-11-19
CN113665248B CN113665248B (en) 2022-09-27

Family

ID=78540020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110837823.XA Active CN113665248B (en) 2021-07-23 2021-07-23 Consumable chip, consumable box and method for controlling communication of consumable chip

Country Status (1)

Country Link
CN (1) CN113665248B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097415A1 (en) * 2001-01-19 2002-07-25 Chang William Ho Methods for universal data output
US20040061878A1 (en) * 2000-04-05 2004-04-01 Vives Juan Carles Inkjet printing and method
AU2005203488A1 (en) * 2001-08-06 2005-08-25 Zamtec Limited Method of Fabricating an Image Printing Control System
CN202077061U (en) * 2011-03-24 2011-12-14 华中科技大学 Multi-port and multi-network protocol converter
CN202685551U (en) * 2012-04-11 2013-01-23 珠海天威技术开发有限公司 Lead plate, adapter, and imaging system
CN104866253A (en) * 2015-04-03 2015-08-26 珠海艾派克微电子有限公司 Chip, method for chip to respond to imaging device, and imaging system
CN108390897A (en) * 2018-06-04 2018-08-10 济南泰格电子技术有限公司 Communication protocols converter
CN109150911A (en) * 2018-10-16 2019-01-04 唯思科技(北京)有限公司 A kind of screening machine communication protocol conversion device
CN112860606A (en) * 2019-11-28 2021-05-28 浙江宇视科技有限公司 Interface conversion device and equipment
CN113138728A (en) * 2020-01-20 2021-07-20 杭州旗捷科技有限公司 Printer consumable chip upgrading system and method and consumable container

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040061878A1 (en) * 2000-04-05 2004-04-01 Vives Juan Carles Inkjet printing and method
US20020097415A1 (en) * 2001-01-19 2002-07-25 Chang William Ho Methods for universal data output
AU2005203488A1 (en) * 2001-08-06 2005-08-25 Zamtec Limited Method of Fabricating an Image Printing Control System
CN202077061U (en) * 2011-03-24 2011-12-14 华中科技大学 Multi-port and multi-network protocol converter
CN202685551U (en) * 2012-04-11 2013-01-23 珠海天威技术开发有限公司 Lead plate, adapter, and imaging system
CN104866253A (en) * 2015-04-03 2015-08-26 珠海艾派克微电子有限公司 Chip, method for chip to respond to imaging device, and imaging system
CN108390897A (en) * 2018-06-04 2018-08-10 济南泰格电子技术有限公司 Communication protocols converter
CN109150911A (en) * 2018-10-16 2019-01-04 唯思科技(北京)有限公司 A kind of screening machine communication protocol conversion device
CN112860606A (en) * 2019-11-28 2021-05-28 浙江宇视科技有限公司 Interface conversion device and equipment
CN113138728A (en) * 2020-01-20 2021-07-20 杭州旗捷科技有限公司 Printer consumable chip upgrading system and method and consumable container

Also Published As

Publication number Publication date
CN113665248B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
RU2682911C2 (en) Reversible connector for accessory devices
KR100302888B1 (en) Devices and methods for automatic recognition and configuration of peripherals
US9256561B2 (en) Communication control apparatus and method of controlling the same
US11281271B2 (en) Controller, control method, and control program
CN106851041A (en) Information processor and its control method with battery saving mode
WO2018099255A1 (en) Method, device and system for configuring transfer mode and computer storage medium
CN113665248B (en) Consumable chip, consumable box and method for controlling communication of consumable chip
CN103155732A (en) Method and operating unit for operating modules in automation technology
JP2024010237A (en) Information input device, method, and program
JP4948186B2 (en) KVM system and initial setting method
CN116300780B (en) Component configuration method, device, electronic equipment and storage medium
CN112860606A (en) Interface conversion device and equipment
CN116015561A (en) Data reissue method, device, equipment and storage medium
KR101261022B1 (en) Apparatus of data processing and method of setting program data thereof
US11681647B2 (en) Electronic apparatus and hot-swappable storage device thereof
CN108513656B (en) Control method, USB system and electronic device
CN214586870U (en) Management system for multi-communication physical interface application data
KR20160043378A (en) Apparatus and method for updating vehicle device having multiple modules
CN216083677U (en) Connector, interface of peripheral hardware and interface of main controller
CN219590811U (en) Data burning device
CN113760577B (en) Dynamic connection answering device, processing method, control device and storage medium
EP2782013A2 (en) Fault-spot locating method, switching apparatus, fault-spot locating apparatus, and information processing apparatus
US20020023245A1 (en) Transmission controlling apparatus, transmission controlling method, data processing unit, and data recording medium
CN115934736A (en) Data docking method, device, equipment and storage medium
JP2023072738A (en) Information processing system and information processing apparatus

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
CP03 Change of name, title or address

Address after: Room 202, Building G10, South China New Material Innovation Park, No. 31, Kefeng Road, High-tech Industrial Development Zone, Guangzhou, Guangdong, 510700

Patentee after: Guangzhou Zhongnuo Microelectronics Co.,Ltd.

Address before: 510663 No. 202, G10 building, Southern China new material innovation park, No. 31, Ke Feng Road, Guangzhou hi tech Industrial Development Zone, Guangdong

Patentee before: GUANGZHOU ZHONO ELECTRONIC TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address