Chip, communication method, and consumable cartridge
By introducing a first module and a second module into the consumable chip, and using clock signals and data signals to determine the communication status, the data communication problem caused by chip select signal interference is solved, achieving more efficient and accurate communication while reducing production costs.
Patent Information
- Application Number
- CN202411744990.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-15
- Filing Date
- 2024-11-29
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-11-29
AI Technical Summary
Existing consumable chips experience high-level transitions in the chip select signal during data communication due to signal interference or poor contact, affecting the accuracy and efficiency of data communication. Furthermore, designs without chip select terminals increase the time and production costs of storage components.
A chip design is adopted, which includes a first module and a second module. The first module determines the start and end of communication through clock signals and data signals. The second module determines the change of the target signal based on the clock signal and instruction information, and controls the stop of read and write operations. This avoids the use of chip select terminals and keeps the storage component structure unchanged.
It improves the accuracy and efficiency of data communication, reduces production costs, shortens the design time for storage components, and utilizes existing production equipment for manufacturing.
Smart Images

Figure CN119781700B_ABST
Abstract
Description
[0001] The present application claims priority to the Chinese patent application No. 202311851739.9, filed on December 28, 2023, entitled "A consumable chip and a consumable cartridge", and the Chinese patent application No. 202410607698.7, filed on May 15, 2024, entitled "A consumable chip and a consumable cartridge", the contents of both of which are incorporated herein by reference in their entirety. TECHNICAL FIELD
[0002] The present application relates to the field of imaging technology, in particular to a chip, a communication method and a consumable cartridge. BACKGROUND
[0003] An image forming apparatus, such as a printer, a copier, a fax machine, etc., is used to image information to be imaged onto an imaging medium, such as paper, by using an imaging material, such as ink. In the imaging process of the image forming apparatus, imaging auxiliary information needs to be obtained to complete the imaging process. The imaging auxiliary information is usually recorded in a consumable chip. The consumable chip is detachably installed in a consumable cartridge. The consumable cartridge can be an ink cartridge filled with ink or a toner cartridge filled with toner, which are recording materials. The consumable cartridge is detachably installed in the image forming apparatus.
[0004] When the consumable cartridge is installed in the image forming apparatus, the consumable chip in the consumable cartridge establishes an electrical connection with the image forming apparatus and communicates data with the image forming apparatus. For example, the consumable chip can be used to control authentication and data matching between the consumable cartridge and the image forming apparatus, and to provide imaging auxiliary information for the image forming apparatus in the subsequent imaging process of the image forming apparatus. Specifically, the consumable chip on the consumable cartridge can be electrically connected with the image forming apparatus through corresponding terminals.
[0005] The commonly used consumable chip is configured with a chip select terminal, a clock terminal and a data terminal to complete data communication with the image forming apparatus. Among them, the chip select terminal and the clock terminal of the consumable chip receive the chip select signal and the clock signal CLK sent by the image forming apparatus respectively, and the data terminal receives the instruction information sent by the image forming apparatus, or the consumable chip sends data information to the image forming apparatus through the data terminal. In general, multiple consumable cartridges can be installed in the image forming apparatus, and the image forming apparatus can select the consumable chip it needs to communicate through the chip select signal. For example, as shown in FIG. 1, the image forming apparatus 100 is provided with a plurality of consumable cartridges 110, 120 and 130. The image forming apparatus 100 can select the consumable chip it needs to communicate through the chip select signal. Figure 1As shown, when the image forming apparatus needs to communicate data with the consumable chip, the image forming apparatus can convert the chip select signal to high level and send the high level chip select signal to the chip select terminal of the consumable chip. The image forming apparatus sends the clock signal CLK and data information at the same time of sending the chip select signal. When the consumable chip receives the high level chip select signal, it can determine to start data communication with the image forming apparatus, and the consumable chip starts to execute the write operation or the read operation.
[0006] When the data communication is completed or needs to be terminated, the image forming apparatus converts the chip select signal to low level. When the chip select signal received by the consumable chip is converted to low level, the consumable chip terminates the read operation or the write operation and stops data communication with the image forming apparatus.
[0007] In the above process, the consumable chip needs to receive the chip select signal through the chip select terminal to control the process of data communication. However, during the data communication process, due to signal interference or poor contact between the consumable chip and the image forming apparatus, the high level of the chip select signal is prone to jump, which causes errors, interrupts the read or write operation of the consumable chip, and affects the accuracy and efficiency of data communication.
[0008] In some technologies, the consumable chip can determine whether the image forming apparatus communicates data with the consumable chip by monitoring the state change of the clock signal. When the image forming apparatus attempts to communicate data with the consumable chip, the image forming apparatus sends the clock signal to the consumable chip, and the clock signal received by the consumable chip has a rising edge or high level. Similarly, when the image forming apparatus terminates data communication with the consumable chip, the clock signal received by the consumable chip becomes a continuous level signal.
[0009] In the above process, the consumable chip can not need to set the chip select terminal, and can determine the start and end of data communication between the consumable chip and the image forming apparatus through the clock terminal and the data terminal. Generally, the consumable chip not only includes various terminals electrically connected with the image forming apparatus, but also is provided with a corresponding storage component. The storage component stores information such as toner amount information, manufacturer information, serial number and the like. In the above manner, when the chip select terminal is not set, the storage component needs to be redesigned, which increases the time cost, and the storage component in the consumable chip without the chip select terminal cannot use the existing photolithography mask device for manufacturing the storage component of the consumable chip containing the chip select terminal, which results in a large production cost. SUMMARY
[0010] Therefore, the present application provides a chip, a communication method and a consumable cartridge, so as to solve the problem that the time cost and the production cost are large due to the change of the structure of the storage component of the consumable chip in the prior art.
[0011] In a first aspect, an embodiment of the present application provides a chip, the chip is used for communicating with an image forming device, the communication process includes a plurality of instruction information, the chip includes a first module, a second module, a clock terminal and a data terminal, the clock terminal is used for receiving a clock signal from the image forming device, the data terminal is used for transmitting or receiving a data signal, the first module is used for transmitting response information to the image forming device in the communication process, the second module is electrically connected with the first module and outputs a target signal to the first module, and the first module controls the stop of a read operation or a write operation based on the target signal.
[0012] The chip is used for,
[0013] In the communication process, the second module acquires the clock signal.
[0014] The second module acquires first instruction information, and the first instruction information is instruction information currently executed by the first module.
[0015] When the first instruction information is first type instruction information, the second module determines that the first type instruction information ends based on the clock signal, if the clock signal is not monitored as alternating first level signal and second level signal within a first preset time length, and changes the target signal output to the first module from the first level signal to the second level signal at an ending moment of the first type instruction information.
[0016] When the first instruction information is second type instruction information, the second module determines the ending moment corresponding to the first instruction information by using a preset mode based on the content of the second type instruction information, and changes the target signal output to the first module from the first level signal to the second level signal at the ending moment.
[0017] The first module receives the target signal, and stops the read operation or the write operation when it is detected that the target signal changes from the first level signal to the second level signal.
[0018] In a possible implementation manner of the first aspect, the first module is electrically connected with the data terminal.
[0019] The chip is further used for receiving, by the first module, the first instruction information transmitted by the image forming device through the data terminal in the communication process.
[0020] The first module is used for transmitting the response information to the image forming device in the communication process, including:
[0021] The first module generates the response information based on the target signal and the first instruction information, and transmits the response information to the image forming device through the data terminal.
[0022] In a possible implementation manner of the first aspect, the first module is electrically connected with the clock terminal;
[0023] The chip is further configured to receive, in the communication process, the clock signal sent by the image forming apparatus through the clock terminal by the first module;
[0024] The second module obtaining the clock signal comprises:
[0025] The second module receives the clock signal sent by the first module.
[0026] In a possible implementation manner of the first aspect, the second module obtaining the first instruction information comprises:
[0027] The second module receives the first instruction information sent by the first module.
[0028] In a possible implementation manner of the first aspect, the second module is electrically connected with the data terminal and the clock terminal;
[0029] The second module obtaining the clock signal and the first instruction information comprises:
[0030] The second module receives the clock signal sent by the image forming apparatus through the clock terminal and receives the first instruction information sent by the image forming apparatus through the data terminal.
[0031] In a possible implementation manner of the first aspect, the second module is electrically connected with the clock terminal and the data terminal;
[0032] The second module obtaining the clock signal and the first instruction information comprises:
[0033] The second module receives the clock signal sent by the image forming apparatus through the clock terminal and receives the first instruction information sent by the image forming apparatus through the data terminal.
[0034] The chip is further configured to send, in the communication process, the clock signal and the first instruction information to the first module by the second module;
[0035] The first module is configured to send, in the communication process, response information to the image forming apparatus, comprising:
[0036] The first module receives the clock signal and the first instruction information sent by the second module, generates response information based on the target signal and the first instruction information, and sends the response information to the second module;
[0037] The second module receives the response information and sends the response information to the image forming apparatus through the data terminal.
[0038] In one possible implementation of the first aspect, the sum of the time it takes for the first module to generate the response information and the time it takes for the second module to send the response information to the image forming apparatus is not greater than a preset response waiting time of the image forming apparatus.
[0039] In one possible implementation of the first aspect, the first level signal is a high level signal and the second level signal is a low level signal.
[0040] Secondly, embodiments of this application provide a communication method applied to the chip described in any of the first aspects above. The method includes: during communication, a second module of the chip acquires a clock signal and first instruction information; the first instruction information is the instruction information currently being executed by the first module of the chip.
[0041] When the first instruction information is a first type of instruction information, the second module of the chip, based on the clock signal, if it does not detect that the clock signal is an alternating first level signal and a second level signal within a first preset time period, determines that the first type of instruction information has ended, and at the end time of the first type of instruction information, changes the target signal output to the first module from the first level signal to the second level signal.
[0042] When the first instruction information is the second type of instruction information, the second module of the chip determines the end time corresponding to the second type of instruction information based on the content of the second type of instruction information using a preset method; at the end time, the target signal output to the first module is changed from a first level signal to a second level signal;
[0043] The first module of the chip receives the target signal and stops the read or write operation when it detects that the target signal changes from a first level signal to a second level signal.
[0044] Thirdly, embodiments of this application provide a consumable box including the chip described in any of the first aspects above.
[0045] Using the solution provided in this application embodiment, the chip communicates with the image forming apparatus. The communication process includes several instruction messages. The chip includes a clock terminal and a data terminal, a first module, and a second module. The clock terminal receives a clock signal from the image forming apparatus, and the data terminal receives or sends a data signal. The first module sends response information to the image forming apparatus during communication. The second module is electrically connected to the first module and outputs target information to the first module. The first module controls the stop of read or write operations based on the target signal. During communication, the chip is used for the second module to acquire the clock signal and the first instruction message. The first instruction message is the instruction message currently being executed by the first module. When the first instruction message is a first type of instruction message, the second module, based on the clock signal, if it detects alternating first and second level signals within a first preset time period, determines that the first type of instruction message has ended. At the end of the first type of instruction message, the target signal output to the first module is changed from the first level signal to the second level signal. When the first instruction information is of the second type, the second module determines the end time corresponding to the second type of instruction information based on its content using a preset method. At this end time, the target signal output to the first module is changed from a first-level signal to a second-level signal. When the first module detects that the target signal has changed from the first-level signal to the second-level signal, it stops the read or write operation. Thus, in this embodiment, when the image forming apparatus is electrically connected to the chip, it is electrically connected to the chip's data terminals and clock terminals. Since the chip does not have a chip select terminal, the possibility of instruction information execution errors can be reduced, improving the accuracy of communication between the chip and the image forming apparatus. Furthermore, in this embodiment, the chip includes a first module and a second module. The second module can determine whether the first type of instruction information has ended based on the clock signal, and at the end time of the first type of instruction information, it changes the target signal from the first-level signal to the second-level signal and sends the target signal to the first module. The first module can then determine whether to stop the read or write operation based on the target signal. In other words, the second module can determine the chip select signal and transmit it to the first module. The first module then determines whether to stop the read or write operation based on the chip select signal. In this embodiment, only a second module needs to be set in the chip to determine the target signal, without changing the existing structure of the first module, that is, without changing the existing structure of the storage component. This eliminates the need to design the storage component and allows the use of existing photolithography mask equipment, reducing time and production costs and improving the efficiency of communication between the chip and the image forming apparatus. Attached Figure Description
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description only constitute some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0047] Figure 1 A working timing diagram of an existing consumable chip;
[0048] Figure 2a A structural diagram of a communication system provided by an embodiment of the present application;
[0049] Figure 2b A structural diagram of another communication system provided by an embodiment of the present application;
[0050] Figure 3 A structural diagram of a consumable cartridge provided by an embodiment of the present application;
[0051] Figure 4 A structural diagram of a print device stylus provided by an embodiment of the present application;
[0052] Figure 5 A structural diagram of a consumable chip provided by an embodiment of the present application;
[0053] Figure 6 A partial enlarged structural diagram of a print device stylus provided by an embodiment of the present application;
[0054] Figure 7a A structural diagram of another consumable chip provided by an embodiment of the present application;
[0055] Figure 7b A structural diagram of another consumable chip provided by an embodiment of the present application;
[0056] Figure 7c A structural diagram of a storage component in a consumable chip provided by an embodiment of the present application;
[0057] Figure 8 A scene diagram of a connection structure between a consumable chip and a print device provided by an embodiment of the present application;
[0058] Figure 9 A scene diagram of a working timing of a consumable chip provided by an embodiment of the present application;
[0059] Figure 10 A scene diagram of a working timing of another consumable chip provided by an embodiment of the present application;
[0060] Figure 11aAnother scene schematic view of the connection structure between the consumable chip and the printing device provided by the embodiment of the present application is provided.
[0061] Figure 11b Another scene schematic view of the connection structure between the consumable chip and the printing device provided by the embodiment of the present application is provided.
[0062] Figure 12 Another scene schematic view of the working timing of the consumable chip provided by the embodiment of the present application is provided.
[0063] Figure 13 Another scene schematic view of the working timing of the consumable chip provided by the embodiment of the present application is provided.
[0064] Figure 14 A flow schematic view of another communication method provided by the embodiment of the present application is provided. DETAILED DESCRIPTION
[0065] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0066] It should be clear that the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0067] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0068] It should be understood that the term "and / or" used herein is only to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent the three cases of A alone, A and B together, and B alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are a "or" relationship.
[0069] Referring to Figure 2a A structure schematic view of a communication system provided by the embodiment of the present application is provided. As shown in Figure 2aAs shown, the communication system comprises a host 100 and a chip 200, the host 100 is provided with a communication port 101, the slave is provided with an interface module 201, and a communication link is established between the communication port 101 and the interface module 201. Through the communication link, the host 100 and the chip 200 can transmit information. Specifically, the communication port 101 and the interface module 201 can be electrically connected through a stylus, a contact or a spring, so as to establish a communication link. In other embodiments, the communication link can also be a non-contact communication link, that is, a wireless communication link. At this time, the communication port 101 and the interface module 201 can include an antenna or a coil for transmitting wireless signals. The host 100 involved in the embodiments of the application is a device that can realize data processing, control or related operations, and the chip 200 is used to be installed on the host 100 to assist the host 100 to complete related functions.
[0070] In one example, the host can be a computer, and the chip can be a peripheral device / apparatus of the computer. In another example, the host can be a mobile terminal (such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), etc.), and the chip is an accessory or a peripheral device / apparatus of the mobile terminal, such as a lithium battery chip, a wearable device chip, etc. In some application scenarios, for example Figure 2b , the host 100 is a printing device 110, and the chip 200 is a consumable chip 210. The printing device 110 is provided with a communication port 111, and the consumable chip 210 is provided with an interface module 211. A communication link is established between the communication port 111 and the interface module 211, and the printing device 110 and the consumable chip 210 can transmit information through the communication link. For example, in the imaging process, the consumable chip 210 is used to provide identity recognition information and record material usage status information. In the prior art, when the printing device 110 sends a signal to the consumable chip 210, the printing device 110 is the sender and the consumable chip 210 is the receiver; and when the consumable chip 210 sends a signal to the printing device 110, the consumable chip 210 is the sender and the printing device 110 is the receiver.
[0071] For ease of description, in the following, the printing device 110 and the consumable chip 210 are taken as examples to describe the technical solutions provided by the embodiments of the application. However, it should be understood by those skilled in the art that, in addition to the printing device 110 and the consumable chip 210, the technical solutions provided by the embodiments of the application can also be applicable to other types of hosts and chips, and the embodiments of the application do not limit this.
[0072] In the imaging process, the printing device 110 needs the assistance of the imaging auxiliary information of the consumable chip 210 in the consumable box 21 to complete the imaging process. The consumable box 21 can be Figure 3The structure is shown. Imaging assistance information for the printing device 110 is recorded not only in the printing device 110 itself but also on the consumable chip 210. The consumable chip 210 primarily serves for identification and recording the material usage status. Therefore, when the consumable chip 210 is installed on the printing device 110, the printing device 110 reads the information from the consumable chip 210 and sends information about the printing job status and related data to the consumable chip 210. In this embodiment, the consumable chip 210 and the printing device 110 are connected via electrical contact. For example, the stylus pins on the printing device 110 make electrical contact with the contact portion in the consumable chip 210 to achieve a communication connection.
[0073] like Figure 4 As shown, the printing device 110 includes a stylus holder 111, which includes an upper end face 1111 in the Y-axis direction, a front end face 1112 in the X-axis direction, a first stylus 1113, a second stylus 1114, a third stylus 1115, a fourth stylus 1116, and a fifth stylus 1117. Figure 5 As shown, the consumable chip 210 includes a data terminal 2101, a chip select terminal 2102, a clock terminal 2103, a power terminal 2104, and a ground terminal 2105. Specifically, the first contact pin 1113 of the printing device 110 can contact the data terminal 2101 of the consumable chip 210, the second contact pin 1114 of the printing device 110 can contact the chip select terminal 2102 of the consumable chip 210, the third contact pin 1115 of the printing device 110 can contact the power terminal 2104 of the consumable chip 210, the fourth contact pin 1116 of the printing device 110 can contact the clock terminal 2103 of the consumable chip 210, and the fifth contact pin 1117 of the printing device 110 can contact the ground terminal 2105 of the consumable chip. In this way, the printing device 110 can send data signals to the consumable chip 210 through the contact of the first contact pin 1113 with the data terminal 2101, the printing device 110 can send chip select signals to the consumable chip 210 through the contact of the second contact pin 1114 with the chip select terminal 2102, the printing device 110 can send clock signals to the consumable chip 210 through the contact of the fourth contact pin 1116 with the clock terminal 2103, the printing device 110 can provide operating voltage to the consumable chip 210 through the contact of the third contact pin 1115 with the power terminal 2104, and the printing device 110 can provide a unified reference low level for the data received and sent between the printing device 110 and the consumable chip 210 through the contact of the fifth contact pin 1117 with the ground terminal 2105, thus ensuring the correctness and stability of the communication process.
[0074] In some embodiments, the data terminal 2101, chip select terminal 2102, clock terminal 2103, power terminal 2104, and ground terminal 2105 in the consumable chip 210 are all planar terminals. The first contact pin 1113, second contact pin 1114, third contact pin 1115, fourth contact pin 1116, and fifth contact pin 1117 in the printing device 110 each include a contact pin tip, a contact pin front end, a contact pin bevel end, and a contact pin tip, such as... Figure 6 As shown. At this time, the first contact pin 1113, the second contact pin 1114, the third contact pin 1115, the fourth contact pin 1116, and the fifth contact pin 1117 in the printing device 110 are all in contact with the data terminal 2101, the chip select terminal 2102, the clock terminal 2103, the power terminal 2104, and the ground terminal 2105 in the planar terminals of the consumable chip 210 through the contact pin tips respectively.
[0075] Typically, a printing device 110 contains multiple consumable chips 210, all communicating with the printing device 110 via the same communication bus. At any given time, the printing device 110 can only communicate with one consumable chip 210. To ensure communication between the printing device 110 and the consumable chip 210, the printing device 110 sends a chip select signal to the desired consumable chip 210. This chip select signal informs the consumable chip 210 that it has selected that chip for communication. The chip select signal (CS) is a control signal in digital circuits used to select a specific integrated circuit chip for communication. When multiple chips or devices are connected to the same communication bus, the chip select signal indicates which chip can exchange data with the processor or controller. (Reference) Figure 1 As shown, when the printing device 110 needs to communicate with a consumable chip 210, the printing device 110 can convert the chip select signal of the consumable chip 210 into a high level and send the high-level chip select signal to the chip select terminal of the consumable chip 210. Simultaneously with sending the chip select signal, the printing device 110 also sends a clock signal CLK and data information. When the consumable chip 210 receives the chip select signal converted to a high level through the chip select terminal 2102, the consumable chip 210 begins to perform a write or read operation. At this time, based on the clock signal CLK, the consumable chip 210 stores the data information received by the data terminal 2101 into its internal storage component, or sends the imaging auxiliary information stored in its storage component to the data terminal 2101, so that it can be transmitted to the printing device 110 through the data terminal 2101.
[0076] When data communication is complete or needs to be terminated, the printing device 110 switches the chip select signal to a low level. When the chip select signal received by the consumable chip 210 switches to a low level, the consumable chip 210 terminates the read or write operation and stops data communication with the printing device 110.
[0077] However, the terminals of the consumable chip 210 are relatively densely packed on the plane, and the gaps between the terminals are small. This can easily cause the printer 110's pins to come into contact with terminals that do not correspond to their functions when the user installs or removes the consumable cartridge 21, resulting in a short circuit. In addition, when the printer 110 sends multiple signals to the consumable chip 210 at the same time, it is easy for the clock signal to interfere with the chip select signal, causing the chip select signal to jump, which in turn leads to problems such as data communication interruption, errors, or data corruption.
[0078] In some technologies, the consumable chip 210 can determine whether the printing device 110 is communicating with the consumable chip 210 by monitoring changes in the state of a clock signal. When the printing device 110 attempts to communicate with the consumable chip 210, it sends a clock signal to the consumable chip 210, and the clock signal received by the consumable chip 210 shows a rising edge or a high level. Similarly, when the printing device 110 terminates data communication with the consumable chip 210, the clock signal received by the consumable chip 210 becomes a continuous level signal.
[0079] In the above process, the consumable chip 210 does not need to have a chip select terminal; data communication between the consumable chip 210 and the printing device 110 can be completed solely through the clock and data terminals. This avoids interruptions to the consumable chip's read or write operations caused by abnormalities in the chip select terminal or chip select signal. Typically, a consumable chip not only contains terminals electrically connected to the image forming apparatus but also corresponding storage components. These storage components store information such as toning dosage, manufacturer information, and serial number. In the above method, without a chip select terminal, the storage components need to be redesigned, increasing time costs. Furthermore, the storage components in a consumable chip without a chip select terminal cannot use existing photolithography mask equipment used to manufacture storage components in consumable chips containing chip select terminals, resulting in higher production costs.
[0080] To solve the above problem, see Figure 7a This is a schematic diagram of the structure of a consumable chip 210 provided in an embodiment of this application. Figure 7a As shown, the consumable chip 210 includes a first terminal 21211 and a third terminal 21213. In some embodiments, the first terminal 21211 may be a data terminal, and the third terminal 21213 may be a clock terminal. The consumable chip 210 also includes a first module 21221 and a second module 21222, as shown... Figure 7bAs shown. The second module 21222 is electrically connected to the first module 21221.
[0081] refer to Figure 7a As shown, in some embodiments, the consumable chip 210 further includes a fourth terminal 21214 and a fifth terminal 21215. The fourth terminal 21214 can be a power terminal, and the fifth terminal 21215 can be a ground terminal. In other embodiments, the consumable chip 210 includes a substrate 212, which includes a first plane 2121 and a second plane 2122. The first plane 2121 is used for electrical connection with the printing device 110. The first terminal 21211, the third terminal 21213, the fourth terminal 21214, and the fifth terminal 21215 are all located on the first plane 2121. (Refer to...) Figure 7a As shown. Reference Figure 7b As shown, the first module 21221 and the second module 21222 are located on the second plane 2122. In some embodiments, the first terminal 21211, the third terminal 21213, the fourth terminal 21214, and the fifth terminal 21215 are electrically connected to the first module 21221 and the second module 21222 via wires. In other embodiments, the first terminal 21211, the third terminal 21213, the fourth terminal 21214, and the fifth terminal 21215 are electrically connected to the first module 21221 only via wires, in which case the second module 21222 is electrically connected to the first module 21221. Alternatively, in other embodiments, the first terminal 21211 and the third terminal 21213 are electrically connected to the second module 21222 only via wires, and the fourth terminal 21214 and the fifth terminal 21215 are electrically connected to both the first module 21221 and the second module 21222 via wires. For ease of description, the following explanation will use the example of the first terminal 21211 being the data terminal, the third terminal 21213 being the clock terminal, the fourth terminal 21214 being the power terminal, and the fifth terminal 21215 being the ground terminal.
[0082] The printing device 110 sends data instructions and communication signals to the first module 21221. The data instructions include data sent by the printing device 110 to the consumable chip 210 and data received by the printing device 110 from the consumable chip 210. The communication signals include VCC (power signal), CLK (clock signal), SDA (data signal) and GND (reference ground signal).
[0083] In some embodiments, such as Figure 7cAs shown, the first module 21221 can be a storage component, which includes a storage module 212211 and a control module 21222. The storage module 212211 is configured to store information about the consumable chip, such as the manufacturing date, manufacturer, color of recording material (e.g. ink, toner), capacity of recording material, remaining or consumed amount of recording material, printable page number, printed page number, and other rewritable or read-only information of the consumable chip 210. In the embodiments of the present application, the storage module 212211 can be a common non-volatile memory, such as an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), a FLASH memory, a ferroelectric memory, a phase change memory, or a volatile memory plus a power supply, such as an SRAM (Static Random-Access Memory) + battery or capacitor, a DRAM (Dynamic Random Access Memory) + battery or capacitor.
[0084] The control module 212212, which can be a MCU (Micro Controller Unit), a microcontroller, an FPGA (Field Programmable Gate Array), a logic circuit (ASIC), or the like, is configured to control the communication between the consumable chip and the printing device, read information from the storage module 212211, and store information into the storage module 212211.
[0085] In one embodiment, the storage module 212211 and the control module 212212 can be integrally arranged in the same circuit, which can be designed as an ASIC (Application Specific Integrated Circuit) and embodied in a wafer form. In this case, the consumable chip 210 includes the wafer and a circuit board carrying the wafer.
[0086] Based on Figure 7a , Figure 7b and Figure 7cThe consumable chip 210 shown in the figure, the consumable chip 210 communicates with the printing device 110, the communication process includes several instruction information, the consumable chip 210 includes clock terminal and data terminal, first module 21221 and second module 21222, the clock terminal is used to receive the clock signal from the printing device 110, the data terminal is used to receive or send data signal, the first module 21221 is used to send response information to the printing device 110 in the communication process, the second module 21222 is electrically connected with the first module 21221, and the target signal is output to the first module 21221, and the first module 21221 controls the stop of the read operation or the write operation of the first module 21221 based on the target signal. The consumable chip 210, for in the communication process, the second module 21222 obtains the clock signal and the first instruction information; the first instruction information is the instruction information currently executed by the first module 21221; when the first instruction information is the first type of instruction information, the second module 21222 is based on the clock signal, if the clock signal is monitored within the first preset time length is the first alternating level signal and the second level signal, it is determined that the first type of instruction information ends, and the target signal output to the first module 21221 changes from the first level signal to the second level signal at the end time of the first type of instruction information. When the first instruction information is the second type of instruction information, the second module is based on the content of the second type of instruction information, and the end time corresponding to the first instruction information is determined by using a preset mode, and the target signal output to the first module 21221 changes from the first level signal to the second level signal at the end time. In this way, in the embodiment of the application, the printing device 110 is electrically connected with the data terminal and the clock terminal of the consumable chip 210, and there is no chip selection terminal in the consumable chip 210, so that the possibility of instruction information execution error can be reduced, and the accuracy of communication between the consumable chip 210 and the printing device 110 is improved. And in the embodiment of the application, the consumable chip 210 includes the first module 21221 and the second module 21222, the second module 21222 can determine whether the first type of instruction information ends according to the clock signal, and the target signal changes from the first level signal to the second level signal at the end time of the first type of instruction information, and the target signal is sent to the first module 21221, and the first module 21221 can determine whether to stop the read operation or the write operation based on the target signal. That is, the second module 21222 can determine the chip selection signal, and the chip selection signal is transmitted to the first module 21221, and the first module 21221 determines whether to stop the read operation or the write operation based on the chip selection signal.In the embodiment of the present application, only the second module 21222 needs to be arranged in the consumable chip 210 to determine the target signal, without changing the existing structure of the first module 21221, i.e., without changing the existing structure of the storage component, so that the storage component does not need to be designed, and the existing photolithography mask device can be used, thereby reducing the time cost and production cost and improving the communication efficiency between the consumable chip 210 and the printing device 110. The following will be described in detail.
[0087] In the first aspect, the embodiment of the present application provides a consumable chip 210, which communicates with a printing device 110. The communication process includes a plurality of instruction information. The consumable chip 210 includes a clock terminal, a data terminal, a first module 21221 and a second module 21222. The clock terminal is used to receive a clock signal from the printing device 110, and the data terminal is used to receive or send a data signal. The first module is used to send response information to the printing device 110 in the communication process. The second module 21222 is electrically connected to the first module 21221 and outputs a target signal to the first module 21221. The first module 21221 controls the stop of the read operation or the write operation of the first module 21221 based on the target signal.
[0088] The consumable chip 210 is used to acquire the clock signal and the first instruction information by the second module 21222 in the communication process.
[0089] The clock signal is a signal sent by the printing device 110. The first instruction information is the instruction information currently executed by the first module 21221.
[0090] When the first instruction information is the first type of instruction information, the second module 21222 determines that the first type of instruction information ends based on the clock signal, if the clock signal is not monitored as the alternating first level signal and second level signal within a first preset time length, and changes the target signal output to the first module 21221 from the first level signal to the second level signal at the end time of the first type of instruction information.
[0091] When the first instruction information is the second type of instruction information, the second module 21222 determines the end time corresponding to the first instruction information by using a preset mode based on the content of the second type of instruction information; and changes the target signal output to the first module 21221 from the first level signal to the second level signal at the end time.
[0092] The first module 21221 stops the read operation or the write operation when detecting that the target signal changes from the first level signal to the second level signal.
[0093] It should be noted that, in the embodiment of the present application, the end time of the first type of instruction information can be the time when the second module 21222 determines that the first type of instruction information ends.
[0094] In the embodiment of the present application, the consumable chip 210 includes a clock terminal and a data terminal, so that the clock terminal can receive the clock signal sent by the printing device 110, and the data terminal can receive or send the data signal to the printing device 110. The consumable chip 210 further includes a first module 21221 and a second module 21222. The first module 21221 is configured to send response information to the printing device 110 in the communication process. That is, the first module 21221 can send response information in response to the instruction information sent by the printing device 110 in the communication process with the printing device 110. The second module 21222 is electrically connected with the first module 21221. The second module 21222 can output a target signal to the first module 21221 in the communication process. The first module 21221 can determine whether to stop the currently executed read operation or write operation according to the target signal. That is, the target signal is equivalent to a chip selection signal, so that the first module 21221 can determine whether the currently executed first instruction information ends according to the target signal.
[0095] The type of instruction information can be various, and different types of instruction information have different ways of determining the end time of the instruction information. Therefore, the second module 21222 needs to determine the type of instruction information before determining the end time of the instruction information, so as to determine the end time of the instruction information according to the type of the instruction information. For example, when the instruction information is instruction information of a fixed time length, the second module 21222 can directly determine the end time corresponding to the instruction information through the instruction information. When the instruction information is not of a fixed time length, the second module 21222 needs to determine the end time of the instruction information according to the clock signal. Based on this, after obtaining the first instruction information, in order to ensure the accuracy of the determination of the end time of the first instruction information, the second module 21222 needs to determine the type of the first instruction information first. The second module 21222 can obtain the first instruction information from the first module 21221, or the second module 21222 can obtain the first instruction information from the printing device 110 through the data terminal of the consumable chip 210. After obtaining the first instruction information, the second module 21222 can analyze the first instruction information to obtain the instruction code, the identification code, the header and other information in the first instruction information, and the second module 21222 can determine the type of the first instruction information through at least one of the instruction code, the identification code, and the header in the first instruction information. When it is determined that the first instruction information is instruction information of a first type, it means that the first instruction information is instruction information of a non-fixed time length. That is, the first instruction information is not instruction information of a fixed time length. At this time, the second module 21222 can determine the end time of the instruction information of the first type according to the clock signal. Generally, the clock signal sent by the printing device 110 to the consumable chip 210 corresponds to the data signal sent by the printing device 110 to the consumable chip 210. For example, when the printing device 110 does not transmit instruction information to the consumable chip 210, the clock signal sent by the printing device 110 to the consumable chip 210 is a continuous second level signal. That is, the printing device 110 sends an invalid clock signal to the consumable chip 210. When the printing device 110 needs to transmit instruction information to the consumable chip 210, the clock signal sent by the printing device 110 to the consumable chip 210 is an alternating first level signal and second level signal. Therefore, the second module 21222 can detect whether the clock signal remains in one signal state within a first preset time length to determine whether the instruction information of the first type is ended.
[0096] That is, when it is determined that the first instruction information is the first type of instruction information, the second module 21222 can detect the clock signal, and if the clock signal is not monitored as an alternating first level signal and second level signal within a first preset time length, that is, if the clock signal is monitored as remaining in one signal state within the first preset time, it is determined that the first type of instruction information ends, and the target signal is changed from the first level signal to the second level signal at the end time of the first type of instruction information, and the target signal is output to the first module 21221.
[0097] When it is determined that the first instruction information is not the first type of instruction information, but the second type of instruction information, it is indicated that the first instruction information is instruction information of a fixed time length. In some embodiments, the second module 21222 can pre-store the end time corresponding to the second type of instruction information, so that the consumable chip 210 can determine the end time of the received first instruction information based on the pre-stored end time corresponding to the second type of instruction information after determining that the first instruction information is the second type of instruction information, and then can determine that the second type of instruction information ends according to the clock signal when the end time of the first instruction information is reached, and the target signal output to the first module 21221 can be changed from the first level signal to the second level signal at the end time of the second instruction information. For example, the second module 21222 pre-stores the end time corresponding to the second type of instruction information as the 36th clock signal of the reply message, so when the second module 21222 determines that the first instruction information is the second type of instruction information, it can be determined that the end time of the first instruction information is the 36th clock signal of the reply message, and at this time the second module 21222 can change the target signal output to the first module 21221 from the first level signal to the second level signal at the 36th clock signal of the reply message. In this way, the first module 21221 can determine that the first instruction information ends when it detects that the received target signal is changed from the first level signal to the second level signal, and stop the read operation or the write operation.
[0098] Or in some other embodiments, the printing device 110 can also specify the end time of the second type of instruction information, and the consumable chip 210 can determine the end time of the first instruction information by analyzing the end time recorded in the first instruction information after determining that the first instruction information is the second type of instruction information, so that the target signal output to the first module 21221 can be changed from the first level signal to the second level signal at the end time of the first instruction information, and the target signal can be sent to the first module 21221, so that the first module 21221 can determine that the first instruction information ends when it detects that the received target signal is changed from the first level signal to the second level signal, and stop the read operation or the write operation.
[0099] Of course, when the first instruction information is of the second type, the second module 21222 can also determine the end time of the first instruction information in other ways, which is not limited in the embodiments of the application.
[0100] In the embodiments of the application, the printing device 110 is electrically connected with the data terminal and the clock terminal of the consumable chip 210, and the chip select terminal is not included in the consumable chip 210, so the fourth contact pin 1116 of the printing device 110 does not pass through the chip select terminal by mistake, but passes through the PCB (Printed Circuit Board) material without copper on the substrate 212. The accuracy of the execution of the instruction information can be further ensured, and the accuracy of the communication between the consumable chip 210 and the printing device 110 is further improved. In the embodiments of the application, although the chip select terminal is not arranged in the consumable chip 210, the second module 21222 is arranged in the consumable chip 210, and the end time of the first instruction information can be determined according to the clock signal through the second module 21222, and the target signal output to the first module 21221 is changed from the first level signal to the second level signal at the end time of the first instruction information. The first module 21221 can determine whether the current reading operation or writing operation is stopped by receiving the target signal, and the accuracy of the execution of the instruction information can be improved, and the accuracy of the communication between the consumable chip 210 and the printing device 110 is improved. That is, in the embodiments of the application, even if the chip select terminal is not arranged in the first plane 2121 of the consumable chip 210, the first module 2121 in the second plane 2122 can also obtain the chip select signal through the second module 21222, so that the accuracy of the execution of the instruction information is ensured, and the structure of the first module 21221 is not changed, the structure of the first module does not need to be redesigned, and the existing production equipment can be used to produce the first module, which reduces the time cost and production cost, thereby improving the efficiency of the communication between the chip and the image forming device.
[0101] It should be understood that since the target signal can be a chip select signal, the chip select signal is a control signal for selecting a specific consumable chip for communication. In the process of starting to transmit the instruction information to ending to transmit the instruction information between the printing device 110 and the consumable chip 210, the chip select signal received by the consumable chip 210 should always be the first level signal. Based on this, in the process of starting to transmit the instruction information to ending to transmit the instruction information between the printing device 110 and the consumable chip 210, the second module 21222 needs to keep the target signal as the first level signal, and when the printing device 110 does not transmit the instruction information with the consumable chip 210, the second module 21222 needs to keep the target signal as the second level signal. Therefore, the first module 21221 can determine that the first instruction information ends and stop the reading operation or the writing operation when the target signal is detected to change from the first level signal to the second level signal.
[0102] As a possible implementation manner, in order to facilitate implementation, the first level signal is a high level signal, and the second level signal is a low level signal.
[0103] In some embodiments, the consumable chip 210 includes a substrate 212, and the substrate 212 includes a first plane 2121 and a second plane 2122. The first plane 2121 is used for electrical connection with the printing device 110. The data terminal, the clock terminal, the power terminal and the ground terminal are arranged on the first plane 2121. The first module 21221 and the second module 21222 are arranged on the second plane 2122. In this way, the printing device 110 is only electrically connected with the first plane 2121 of the consumable chip 210, and the chip select terminal is not arranged on the first plane 2121. Therefore, the fourth contact pin 1116 of the printing device 110 does not pass through the chip select terminal, but passes through the PCB (Printed Circuit Board) material without copper on the substrate 212. The accuracy of the execution of the instruction information can be further ensured, and the accuracy of the communication between the consumable chip 210 and the printing device 110 can be further improved.
[0104] The connection between the clock terminal and the data terminal in the consumable chip 210 and the first module 21221 is different, and the way in which the first module 21221 obtains the first instruction information and sends the response information according to different connection relationships is also different.
[0105] As a possible implementation manner, the data terminal in the consumable chip 210 can be electrically connected with the first module 21221. That is, the first module 21221 is electrically connected with the data terminal, as shown in FIG. 2B. Figure 8
[0106] The consumable chip 210 is further used for receiving, by the first module 21221, the first instruction information sent by the printing device 110 through the data terminal in the communication process.
[0107] The first module 21221 is used for sending, to the printing device 110, the response information in the communication process, including that the first module 21221 generates the response information based on the target signal and the first instruction information, and sends the response information to the printing device 110 through the data terminal.
[0108] That is, the first module 21221 needs to send response information to the printing device 110, and this response information needs to be generated based on the first instruction information. Therefore, the first module 21221 needs to obtain the first instruction information. Specifically, the first module 21221 can be electrically connected to the data terminals in the first plane 2121, and the printing device 110 can also be electrically connected to the data terminals in the first plane 2121, sending the first instruction information to the data terminals. At this time, the data terminals can transmit the first instruction information received from the printing device 110 to the first module 21221 via wires. In other words, the first module 21221 can receive the first instruction information sent by the printing device 110 through the data terminals.
[0109] The first module 21221 needs to respond to the first instruction information. After receiving the first instruction information and the target signal, the first module 21221 can generate response information based on the first instruction information and the target signal, and send the response information to the printing device 110 through the data terminal.
[0110] As one possible implementation, refer to Figure 8 As shown, the first module 21221 can be electrically connected to the clock terminal in the first plane 2121, that is, the first module 21221 can be electrically connected to the printing device 110 through the clock terminal of the first plane 2121.
[0111] The consumable chip 210 is also used in the communication process, whereby the first module 21221 receives the clock signal sent by the printing device 110 through the clock terminal.
[0112] The first module 21221 needs to respond to the first instruction information based on a clock signal. Therefore, the first module 21221 also needs to acquire a clock signal. At this time, the first module 21221 can also be electrically connected to the clock terminal in the first plane 2121. The printing device 110 is also electrically connected to the clock terminal in the first plane 2121 and can send a clock signal to the clock terminal. In this case, the clock terminal can transmit the clock signal received from the printing device 110 to the first module 21221 via a wire. That is, the first module 21221 can receive the clock signal sent by the printing device 110 through the clock terminal.
[0113] As one possible implementation, the first module 21221 described above can be electrically connected to the power supply terminal and the grounding terminal, such as... Figure 8 As shown. The consumable chip 210 is also used in the communication process, whereby the first module 21221 receives the power signal and reference ground signal sent by the printing device 110 through the power terminal and the ground terminal.
[0114] That is, the first module 21221 can be electrically connected with the data terminal, the clock terminal, the power terminal and the ground terminal. In this way, the first module 21221 can receive the first instruction information sent by the printing device 110 through the data terminal, receive the clock signal sent by the printing device 110 through the clock terminal, receive the power signal sent by the printing device 110 through the power terminal, and receive the reference ground signal sent by the printing device 110 through the ground terminal. The first module 21221 can work normally by receiving the power signal and the reference ground signal, thereby improving the communication efficiency between the printing device 110 and the consumable chip 210.
[0115] On the basis that the first module 21221 in the consumable chip 210 is electrically connected with the data terminal and the clock terminal, the second module 21222 can be electrically connected with the clock terminal and the data terminal in the consumable chip 210, or can not be electrically connected with the clock terminal and the data terminal in the consumable chip 210. The second module 21222 also has different ways of obtaining the clock signal and the first instruction information according to different connection relationships.
[0116] As a possible implementation manner, in order to improve the communication efficiency between the consumable chip 210 and the printing device 110, the second module 21222 can be electrically connected with the clock terminal in the consumable chip 210, as shown in FIG. 2B. At this time, the second module 21222 can directly obtain the clock signal sent by the printing device 110. Figure 8
[0117] The above-mentioned way in which the second module 21222 obtains the clock signal includes that the second module 21222 receives the clock signal sent by the printing device 110 through the clock terminal.
[0118] That is, the second module 21222 can be electrically connected with the clock terminal in the first plane 2121, and the printing device 110 can be electrically connected with the clock terminal in the first plane 2121 and can send the clock signal to the clock terminal. At this time, the clock terminal can transmit the clock signal received from the printing device 110 to the second module 21222 through the wire. That is, the second module 21222 can receive the clock signal sent by the printing device 110 through the clock terminal.
[0119] In this way, the second module 21222 can determine whether the first instruction information ends according to the clock signal. That is, when the first instruction information is the first type of instruction information, the second module 21222 can detect whether the clock signal is the first level signal and the second level signal alternately after receiving the clock signal. When the second module 21222 detects that the clock signal is not the first level signal and the second level signal alternately in the first preset time length, but the second level signal or the first level signal remains unchanged, the second module 21222 can determine that the first type of instruction information ends, and the signal that changes the target signal output to the first module 21221 from the first level signal to the second level signal at the end time of the first type of instruction information, and sends the target signal to the first module 21221. When the first instruction information is the second type of instruction information, the second module 21222 will change the target signal output to the first module 21221 from the first level signal to the second level signal at the end time of the second type of instruction information according to the received clock signal, and send the target signal to the first module 21221. The first module 21221 receives the target signal, and stops the read operation or the write operation when it is detected that the target signal changes from the first level signal to the second level signal.
[0120] In some embodiments, in order to more accurately execute the first instruction information, the consumable chip 210 can not only determine the end time of the first instruction information, but also determine the start time of the first instruction information. Specifically as follows:
[0121] When the printing device 110 does not transmit instruction information to the consumable chip 210, the clock signal sent by the printing device 110 to the consumable chip 210 is a continuous second level signal. That is, the printing device 110 sends an invalid clock signal to the consumable chip 210. At this time, the second module 21222 can receive the invalid clock signal through the clock terminal in the first plane 2121. After receiving the invalid clock signal, the second module 21222 can determine the target signal as the second level signal according to the invalid clock signal. That is, the target signal output to the first module 21221 is also determined as an invalid signal, and the second module 21222 sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal is the second level signal to determine that the first instruction information has not started.
[0122] When the printing device 110 needs to transmit instruction information to the consumable chip 210, the clock signal sent by the printing device 110 to the consumable chip 210 changes from the continuous second level signal to the alternating first level signal and second level signal. At this time, the second module 21222 can receive the clock signal through the clock terminal in the first plane 2121. After receiving the clock signal, the second module 21222 can detect that the clock signal changes from the continuous second level signal to the alternating first level signal and second level signal. When detecting that the clock signal changes from the continuous second level signal to the alternating first level signal and second level signal, the second module 21222 can change the target signal output to the first module 21221 from the second level signal to the first level signal. That is, to change the target signal output to the first module 21221 from the invalid signal to the valid signal, the second module 21222 sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal changes from the second level signal to the first level signal, and can determine that the first instruction information starts, that is, the first instruction information starts to execute.
[0123] In this way, in the embodiment of the present application, the start time and end time of the first instruction information can be accurately determined, so that the accurate execution of the first instruction information can be ensured, and the communication efficiency between the consumable chip 210 and the printing device 110 can be improved.
[0124] For example, Figure 9As shown, it is assumed that the first level signal is a high level signal, the second level signal is a low level signal, and the first instruction information is the first type of instruction information. Before t1, the printing device 110 does not communicate with the consumable chip 210, at this time the clock signal obtained by the consumable chip 210 is a continuous low level signal, the second module 21222 determines the target signal output to the first module 21221 as a low level signal when a continuous low level signal is obtained, sends the target signal (RST) to the first module 21221, and the first module 21221 receives the target signal and determines that the instruction information has not started when detecting that the target signal is a low level signal. At t1, the printing device 110 starts to communicate with the consumable chip 210, and the clock signal sent by the printing device 110 to the consumable chip 210 is converted from a continuous low level signal to an alternative high level signal and a low level signal. The second module 21222 can receive the clock signal sent by the printing device 110 through the clock terminal and detect that the clock signal is converted from a continuous low level signal to an alternative high level signal and a low level signal. The second module 21222 can change the target signal output to the first module 21221 from a low level signal to a high level signal and send it to the first module 21221. The first module 21221 detects the received target signal and determines that the first instruction information starts when detecting that the target signal changes from a low level signal to a high level signal. During the process of communicating with the consumable chip 210, the clock signal sent by the printing device 110 is an alternative high level signal and a low level signal. Therefore, when the second module 21222 determines that the first instruction information has not ended based on the clock signal, the target signal output to the first module 21221 is set to a continuous high level signal. The first module 21221 receives the target signal and determines that the first instruction information has not ended when detecting that the target signal is a high level signal. The printing device 110 ends the communication with the consumable chip 210 at t2, and the clock signal sent by the printing device 110 to the consumable chip 210 is converted from an alternative high level signal and a low level signal to a continuous low level signal. The second module 21222 can receive the clock signal sent by the printing device 110 through the clock terminal and detect that the clock signal is converted from an alternative high level signal and a low level signal to a continuous low level signal. It is assumed that the first preset time is the time interval between t2 and t3. The second module 21222 does not monitor the clock signal of the alternative high level signal and the low level signal in the time interval between t2 and t3, and the clock signal is a continuous low level signal. The second module 21222 can determine that the first instruction information ends at t3, change the target signal output to the first module 21221 from a high level signal to a low level signal at t3, and send the target signal to the first module 21221.The first module 21221 receives the target signal, and stops the read operation or the write operation when detecting that the target signal changes from the high-level signal to the low-level signal, i.e., stops executing the operation that is currently being executed.
[0125] In some embodiments, since the first instruction information of the first type is non-fixed duration instruction information, there can be a duration in which the clock signal remains in the state of the second level signal or the state of the first level signal in the first instruction information of the first type, instead of the first level signal and the second level signal being alternated. If the duration is greater than the first preset duration, the end time judgment may be incorrect based on the above-mentioned manner. Therefore, the second module 21222 can further determine the type of the first instruction information. Generally, the first instruction information of the first type includes two subtypes, i.e., the first sub-class instruction information and the second sub-class instruction information. The second sub-class instruction information has a duration in which the clock signal remains in the state of the second level signal or the state of the first level signal during the transmission of the data signal, instead of the first level signal and the second level signal being alternated. In some embodiments, the duration can be greater than the first preset duration. As shown in FIG. 12, it is assumed that the time corresponding to the process of sending, processing, and replying of the first instruction information is t11-t20, and the second instruction information is executed after time t21. In the process of executing the first instruction information, the clock signal remains unchanged in the state of the second level signal during t18-t19, and the first instruction information has not ended at this time. Figure 10 Figure 10 In the process of executing the first instruction information, the clock signal remains unchanged in the state of the second level signal during t18-t19, and the first instruction information has not ended at this time. It is assumed that the time interval of t18-t19 is a first time interval X, the time interval of t20-t21 is a second time interval Y, and the first preset duration is Z. When the second time interval Y is greater than Z, i.e., after t10, the second module 21222 does not monitor that the clock signal is alternated between the first level signal and the second level signal for more than the first preset duration Z, at this time, the second module 21222 can change the target signal output to the first module 21221 from the first level signal to the second level signal, and send the target signal to the first module 21221. The first module 21221 receives the target signal, can detect that the target signal changes from the first level signal to the second level signal, and the first module 21221 determines that the first instruction information ends, and stops the read operation or the write operation.
[0126] In some embodiments, the first time interval X between t18 and t19 is greater than the first preset time length Z. When the second module 21222 does not monitor the clock signal to be the first level signal and the second level signal alternately after t18 for more than the first preset time length Z, the target signal will be changed from the first level signal to the second level signal by mistake, and the target signal will be sent to the first module 21221. When the first module 21221 receives the target signal, it will detect that the target signal is changed from the first level signal to the second level signal, and the first module 21221 will mistakenly determine that the first instruction information is ended, while the actual first instruction information is not ended. In order to avoid the above-mentioned mistake of determining that the instruction information is ended, the type of instruction information cannot be determined by the above-mentioned method of whether the clock signal remains in one signal state within the first preset time length, but can be determined by other methods.
[0127] Based on this, when the second module 21222 analyzes the first instruction information to determine the type of the first instruction information, it can be determined whether the first instruction information is the first subclass instruction information of the first type or the second subclass instruction information of the first type. When the first instruction information is the first subclass instruction information of the first type, it means that the first instruction information is a non-fixed time length non-special instruction information. That is, the first instruction information is not a fixed time length instruction information, and there is no case that the time length of the clock signal remaining in one state exceeds the first preset time length during the execution of the first instruction information. At this time, the second module 21222 can determine whether the first instruction information is ended according to whether the clock signal remains in one signal state within the first preset time length. That is, when it is determined that the first instruction information is the first subclass instruction information of the first type, the second module 21222 can change the target signal output to the first module 21221 from the first level signal to the second level signal based on the clock signal, and send the target signal to the first module 21221, if the clock signal is not monitored to be the first level signal and the second level signal alternately within the first preset time length.
[0128] Alternatively, when it is determined that the first instruction information is the second subclass instruction information of the first type, the second module 21222 determines the ending time corresponding to the first instruction information based on the clock signal by using a preset method; the target signal output to the first module 21221 is changed from the first level signal to the second level signal at the ending time of the first instruction information, and the target signal is sent to the first module 21221.
[0129] That is, when the second module 21222 determines the type of the first instruction information, if it is determined that the first instruction information is the second sub-class instruction information in the first type, it indicates that the clock signal remains unchanged in the state of the first level signal or the state of the second level signal for a period of time in the process of executing the first instruction information. At this time, the second module 21222 can determine the ending moment corresponding to the first instruction information according to a preset manner. For example, the second module 21222 can take the length of every 9 clock signals as a detection length, and detect whether the clock signal is alternating first level signal and second level signal in the preset length at the ending moment of each detection length. If yes, it can be determined that the first instruction information has not ended, and if not, it can be determined that the first instruction information has ended. Alternatively, the second module 21222 can detect the power signal when detecting that the clock signal remains unchanged in the state of the first level signal or the state of the second level signal. If the power signal is the first level signal, it can be determined that the first instruction information has not ended, and if the power signal is the second level signal, it can be determined that the first instruction information has ended. When determining the ending moment corresponding to the first instruction information, the second module 21222 can change the target signal output to the first module 21221 from the first level signal to the second level signal at the ending moment corresponding to the first instruction information, and send the target signal to the first module 21221.
[0130] It should be noted that the above-mentioned preset manner can also be other manners that can determine the ending moment of the first instruction information, and the embodiments of the present application do not limit this.
[0131] As a possible implementation manner, in order to improve the communication efficiency between the printing device 110 and the consumable chip 210, as shown in FIG. 2, the second module 21222 can also be electrically connected with the data terminal in the first plane 2121, that is, the second module 21222 can be electrically connected with the printing device 110 through the data terminal of the first plane 2121. That is, the printing device 110 can be electrically connected with the second module 21222 in the consumable chip 210 through at least two signal lines (clock signal line and data signal line). Figure 8
[0132] The above-mentioned second module 21222 obtaining the first instruction information includes that the second module 21222 receives the first instruction information sent by the printing device 110 through the data terminal.
[0133] That is, the second module 21222 can be electrically connected with the data terminal in the first plane 2121, the printing device 110 is electrically connected with the data terminal in the first plane 2121, and the data terminal can send a data signal, for example, send the first instruction information. At this time, the data terminal can transmit the received first instruction information to the second module 21222 through the wire, and the second module 21222 can receive the first instruction information sent by the printing device 110 through the data terminal, and then analyze and determine the type of the first instruction information.
[0134] As a possible implementation, the second module 21222 can be electrically connected with the power terminal and the ground terminal, as shown in the following figure: Figure 8 The consumable chip 210 is also used for receiving the power signal and the reference ground signal sent by the printing device 110 through the power terminal and the ground terminal in the communication process.
[0135] That is, the second module 21222 can be electrically connected with the data terminal, the clock terminal, the power terminal and the ground terminal. In this way, the second module 21222 can receive the first instruction information sent by the printing device 110 through the data terminal, receive the clock signal sent by the printing device 110 through the clock terminal, receive the power signal sent by the printing device 110 through the power terminal, and receive the reference ground signal sent by the printing device 110 through the ground terminal. The second module 21222 can work normally by receiving the power signal and the reference ground signal, so as to improve the communication efficiency between the printing device 110 and the consumable chip 210.
[0136] That is, in the above embodiment, the first module 21221 and the second module 21222 are electrically connected with the data terminal, the clock terminal, the power terminal and the ground terminal of the first plane. In this way, the first module 21221 and the second module 21222 can respectively receive the first instruction information sent by the printing device 110 through the data terminal, respectively receive the clock signal sent by the printing device 110 through the clock terminal, respectively receive the power signal sent by the printing device 110 through the power terminal, and respectively receive the reference ground signal sent by the printing device 110 through the ground terminal.
[0137] As a possible implementation, the clock terminal in the consumable chip 210 is not electrically connected with the second module 21222, but is electrically connected with the first module 21221. That is, the first module 21221 is electrically connected with the clock terminal, and the second module 21222 is electrically connected with the first module 21221. The above consumable chip 210 is also used for receiving the clock signal sent by the printing device 110 through the clock terminal in the communication process. The second module 21222 obtains the clock signal, including: the second module 21222 receives the clock signal sent by the first module 21221, as shown in the following figure:Figure 11a As shown.
[0138] That is, the first module 21221 is electrically connected with the clock terminal in the first plane 2121. The printing device 110 can send a clock signal to the first module 21221 through the clock terminal in the first plane 2121. The second module 21222 is electrically connected with the first module 21221, and the first module 21221 can send the received clock signal to the second module 21222. The second module 21222 receives the clock signal sent by the first module 21221.
[0139] As a possible implementation manner, the data terminal in the consumable chip 210 can also not be electrically connected with the second module 21222, but be electrically connected with the first module 21221. That is, the first module 21221 is electrically connected with the clock terminal and the data terminal, and the second module 21222 is electrically connected with the first module 21221.
[0140] The above consumable chip 210 is also used for receiving, by the first module 21221, the first instruction information sent by the printing device 110 through the data terminal in the communication process.
[0141] The second module 21222 obtains the first instruction information, including that the second module 21222 receives the first instruction information sent by the first module 21221.
[0142] That is, the first module 21221 is electrically connected with the data terminal in the first plane 2121, so that the first instruction information sent by the printing device 110 through the data terminal can be sent to the first module 21221 through the data terminal. The first module 21221 can send the first instruction information to the second module 21222, and the second module 21222 receives the first instruction information sent by the first module 21221.
[0143] As a possible implementation manner, the power terminal and the ground terminal in the consumable chip 210 can also be only electrically connected with the first module 21221, and not be electrically connected with the second module 21222, for reference Figure 11aThe second module 21222 needs to obtain the power supply signal and the reference ground signal to work normally. When the second module 21222 is electrically connected with the first module 21221 and is not electrically connected with the power supply terminal and the ground terminal in the first plane 2121, the second module 21222 can also obtain the power supply signal and the reference ground signal through the first module 21221. That is, the consumable chip 210 is also used for, in the communication process, receiving, by the first module 21221, the power supply signal sent by the printing device 110 through the power supply terminal and receiving the reference ground signal sent by the printing device 110 through the ground terminal, and the first module 21221 can send the power supply signal and the reference ground signal to the second module 21222, and the second module 21222 receives the power supply signal and the reference ground signal sent by the first module 21221.
[0144] That is, since the second module 21222 is not electrically connected with the power supply terminal and the ground terminal in the first plane 2121, the second module 21222 cannot obtain the power supply signal and the reference ground signal through the power supply terminal and the ground terminal. However, the first module 21221 is electrically connected with the power supply terminal and the ground terminal in the first plane 2121, and the second module 21222 is electrically connected with the first module 21221, so when the first module 21221 receives the power supply signal sent by the printing device 110 through the power supply terminal and receives the reference ground signal sent by the printing device 110 through the ground terminal, the first module 21221 can send the power supply signal and the reference ground signal to the second module 21222, and the second module 21222 receives the power supply signal and the reference ground signal sent by the first module 21221, so that the second module 21222 can work normally.
[0145] As a possible implementation manner, the first module 21221 is not electrically connected with the data terminal and the clock terminal in the consumable chip 210, that is, the data terminal and the clock terminal in the consumable chip 210 can be electrically connected with only the second module 21222 but not electrically connected with the first module 21221, and the power supply terminal and the ground terminal in the consumable chip 210 can be electrically connected with the first module 21221 and the second module 21222, as shown in FIG. 2B. Figure 11b Since the first module 21221 is not electrically connected with the data terminal and the clock terminal, the first module 21221 cannot directly obtain the first instruction information and the clock signal sent by the printing device 110 from the data terminal and the clock terminal, but the first module 21221 is electrically connected with the second module 21222, and the first module 21221 can obtain the clock signal and the first instruction information from the second module 21222, so as to generate the response information.
[0146] That is, the second module 21222 is electrically connected with the clock terminal and the data terminal.
[0147] The second module 21222 obtaining the clock signal comprises that the second module 21222 receives the clock signal sent by the printing device 110 through the clock terminal.
[0148] The second module 21222 obtaining the first instruction information comprises that the second module 21222 receives the first instruction information sent by the printing device 110 through the data terminal.
[0149] The consumable chip 210 is also used for sending the clock signal and the first instruction information to the first module 21221 in the communication process.
[0150] The first module 21221 is used for sending response information to the printing device 110 in the communication process, comprising that the first module 21221 receives the clock signal and the first instruction information sent by the second module 21222, generates the response information based on the target signal and the first instruction information, and sends the response information to the second module 21222.
[0151] The second module 21222 receives the response information and sends the response information to the printing device 110 through the data terminal.
[0152] That is, the second module 21222 in the consumable chip 210 is electrically connected with the data terminal and the clock terminal in the first plane 2121, the printing device 110 can send the clock signal to the clock terminal in the consumable chip 210, and since the second module 21222 in the consumable chip 210 is electrically connected with the clock terminal, the second module 21222 can receive the clock signal sent by the printing device 110 through the clock terminal. The second module 21222 is electrically connected with the first module 21221, so the second module 21222 can forward the clock signal received by it to the first module 21221, and the first module 21221 can receive the clock signal. The printing device 110 can send the data signal containing the first instruction information to the data terminal in the consumable chip 210, and since the second module 21222 in the consumable chip 210 is electrically connected with the data terminal, the second module 21222 can receive the data signal sent by the printing device 110 through the data terminal. The first module 21221 is electrically connected with the second module 21222, so the second module 21222 can forward the data signal received by it to the first module 21221, and the first module 21221 can receive the data signal. In this way, after the first module 21221 receives the first instruction information and the clock signal, it can parse the first instruction information based on the target signal and perform corresponding calculation to generate the response information. The first module 21221 can send the response information to the second module 21222. After the second module 21221 receives the response information, it can send the response information to the printing device 110 through the data terminal, and complete the response to the first instruction information.
[0153] The second module 21222 can also parse the first instruction information from the data signal and determine the type of the first instruction information. When the first instruction information is of a first type, the second module 21222 determines whether the clock signal is monitored as alternating between the first level signal and the second level signal within a first preset time length. If the clock signal is monitored as alternating between the first level signal and the second level signal within the first preset time length, the target signal is maintained at the first level signal, and the target signal is sent to the first module 21221. At this time, the first module 21221 detects that the target signal is at the first level signal, and it can be determined that the first instruction information is not ended. The first module 21221 can continue to generate corresponding response information according to the received first instruction information and send the response information to the printing device 110 through the second module 21222.
[0154] If the clock signal is not monitored as alternating between the first level signal and the second level signal within the first preset time length, the target signal is changed from the first level signal to the second level signal, and the target signal is sent to the first module 21221. At this time, the first module 21221 detects that the target signal is changed from the first level signal to the second level signal, and it can be determined that the first instruction information is ended, and the generation of the response information is stopped.
[0155] Alternatively, when it is determined that the first instruction information is of a second type, the end time corresponding to the first instruction information can be determined according to the content of the first instruction information. At the end time of the first instruction information, the target signal is changed from the first level signal to the second level signal, and the target signal is sent to the first module 21221. At this time, the first module 21221 detects that the target signal is changed from the first level signal to the second level signal, and it can be determined that the first instruction information is ended, and the generation of the response information is stopped.
[0156] In order for the printing device 110 to accurately obtain the response information, the sum of the time at which the first module 21221 generates the response information and the time at which the second module 21222 sends the response information to the printing device 110 is not greater than the response waiting time length preset by the printing device 110. In this way, the printing device 110 can obtain the response information within the preset response waiting time length.
[0157] As one possible implementation, the second module 21222 in the consumable chip 210 is electrically connected with the data terminal, the clock terminal, the power terminal, and the ground terminal in the first plane 2121, the first module 21221 is electrically connected with the power terminal and the ground terminal in the first plane 2121, and the first module 21221 is electrically connected with the data terminal and the clock terminal in the second plane 2122. Figure 11bAs shown in FIG. 10, in the communication process, the printing device 110 can send a power signal to the power terminal in the consumable chip 210, and since the first module 21221 and the second module 21222 in the consumable chip 210 are electrically connected to the power terminal, the first module 21221 and the second module 21222 can receive the power signal sent by the printing device 110 through the power terminal. The printing device 110 can send a reference ground signal to the ground terminal in the consumable chip 210, and since the first module 21221 and the second module 21222 in the consumable chip 210 are electrically connected to the ground terminal, the first module 21221 and the second module 21222 can receive the reference ground signal sent by the printing device 110 through the ground terminal.
[0158] As a possible implementation, the second module 21222 can not only determine the target signal through the clock signal, but also through other signals to make the first module 21221 determine whether the first instruction information is ended. In some embodiments, the second module 21222 can determine the target signal through the power signal, that is, the second module 21222 can obtain the power signal and determine the target signal according to the power signal. The second module 21222 can obtain the power signal from the first module 21221, or the second module 21222 is electrically connected to the power terminal of the first plane 2121, and the second module 21222 receives the power signal sent by the printing device 110 through the power terminal of the first plane 2121.
[0159] When the printing device 110 does not transmit instruction information to the consumable chip 210, the printing device 110 sends a power signal of a second level signal to the consumable chip 210. At this time, the second module 21222 can obtain the power signal of the second level signal, and when receiving the power signal of the second level signal, it can be determined that the first instruction information has not started, and the target signal output to the first module 21221 is determined as the second level signal. That is, the target signal is also determined as an invalid signal, and the second module 21222 sends the target signal to the first module 21221. After the first module 21221 receives the target signal, it is determined that the target signal is the second level signal, and it is determined that the first instruction information has not started.
[0160] When the printing device 110 begins communication with the consumable chip 210, the printing device 110 sends a power signal to the consumable chip 210, changing the power signal to a first-level signal. At this time, the second module 21222 can acquire the power signal that has changed to the first-level signal. When the second module 21222 detects the power signal changing from a second-level signal to a first-level signal, it determines that the first instruction information has begun. At the moment the first instruction begins, it can change the target signal output to the first module 21221 from a second-level signal to a first-level signal. That is, it changes the target signal from an invalid signal to a valid signal. The second module 21222 sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects the change from a second-level signal to a first-level signal and determines that the first instruction information has begun, i.e., the first instruction information has begun execution. The first module 21221 then begins a read or write operation.
[0161] When the printing device 110 terminates communication with the consumable chip 210, the printing device 110 sends a power signal to the consumable chip 210, changing the power signal to a second-level signal. At this time, the second module 21222 can acquire the power signal that has changed to the second-level signal. When the second module 21222 detects that the power signal has changed from a first-level signal to a second-level signal, it can determine that the first instruction information has ended, and at the end of the first instruction information, it changes the target signal output to the first module 21221 from the first-level signal to the second-level signal. The second module 21222 sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal has changed from a first-level signal to a second-level signal, determines that the first instruction information has ended, and the first module 21221 stops the read or write operation.
[0162] For example, such as Figure 12 As shown, assuming the first level signal is a high level signal and the second level signal is a low level signal. Before time t4, the power signal sent by the printing device 110 to the consumable chip 210 is a low level signal. The second module 21222, upon receiving the low-level power signal, determines that the first instruction information has not started, identifies the target signal output to the first module 21221 as a low level signal, and sends the target signal to the first module 21221. Upon receiving the target signal, the first module 21221, upon detecting that the target signal is a low level signal, determines that the first instruction information has not started.
[0163] At the t4 moment, the printing device 110 starts to communicate with the consumable chip 210, at this time, the power signal sent by the printing device 110 to the consumable chip 210 changes to a high-level signal. The second module 21222 obtains the power signal of the high-level signal, at this time, the second module 21222 can detect that the power signal changes from a low-level signal to a high-level signal at the t4 moment, at this time, the second module 21222 can determine that the first instruction information starts, the target signal output to the first module 21221 at the t4 moment changes from a low-level signal to a high-level signal, the target signal is sent to the first module 21221, after the first module 21221 receives the target signal, it detects that the target signal changes from a low-level signal to a high-level signal, it can be determined that the first instruction information starts, and the first module 21221 starts the read operation or the write operation.
[0164] At the t5 moment, the printing device 110 needs to end the communication with the consumable chip 210, at this time, the power signal sent by the printing device 110 to the consumable chip 210 changes to a low-level signal. The second module 21222 obtains the power signal of the low-level signal, at this time, the second module 21222 can detect that the power signal changes from a high-level signal to a low-level signal at the t5 moment, the second module 21222 can determine that the first instruction information ends at the t5 moment, and changes the target signal from a high-level signal to a low-level signal at the t5 moment, the target signal is sent to the first module 21221, after the first module 21221 receives the target signal, it detects that the target signal changes from a high-level signal to a low-level signal, it can be determined that the first instruction information ends, and the first module 21221 stops the read operation or the write operation.
[0165] As another possible implementation, the second module 21222 can also determine the target signal through the data signal, so that the first module 21221 determines whether the first instruction information ends. That is, the second module 21222 can obtain the data signal, and determine the target signal according to the data signal. The second module 21222 can obtain the data signal from the first module 21221, or the second module 21222 is electrically connected with the data terminal of the first plane 2121, and the second module 21222 receives the data signal sent by the printing device 110 through the data terminal of the first plane 2121.
[0166] When the printing device 110 does not transmit instruction information to the consumable chip 210, the printing device 110 sends the data signal of the continuous second level signal to the consumable chip 210. At this time, the second module 21222 can obtain the data signal of the continuous second level signal, and when the data signal of the continuous second level signal is received, it can be determined that the first instruction information has not started, and the target signal output to the first module 21221 is determined as the second level signal. That is, the target signal is also determined as an invalid signal, and the second module 21222 sends the target signal to the first module 21221. After the first module 21221 receives the target signal, it is detected that the target is the second level signal to determine that the first instruction information has not started.
[0167] When the printing device 110 starts communication with the consumable chip 210, the printing device 110 sends the data signal of the first level signal and the second level signal alternately to the consumable chip 210. At this time, the second module 21222 can obtain the data signal of the first level signal and the second level signal alternately. When the second module 21222 detects that the data signal changes from the continuous second level signal to the first level signal and the second level signal alternately, it is determined that the first instruction information starts, and the target signal output to the first module 21221 can be changed from the second level signal to the first level signal at the moment when the first instruction starts. That is, the target signal is changed from an invalid signal to a valid signal, and the second module 21222 sends the target signal to the first module 21221. After the first module 21221 receives the target signal, it is detected that the target signal changes from the second level signal to the first level signal, and it is determined that the first instruction information starts, that is, the first instruction information starts to execute, and the first module 21221 starts the read operation or the write operation.
[0168] When the printing device 110 ends communication with the consumable chip 210, the printing device 110 sends the data signal of the first level signal and the second level signal alternately to the consumable chip 210. After the consumable chip 210 can parse the data signal and send a response message to the printing device 110, the second module 21222 can determine that the first instruction information ends when it is detected that the data signal changes from the first level signal and the second level signal alternately to the continuous second level signal after the consumable chip 210 sends the response message, and the target signal output to the first module 21221 can be changed from the first level signal to the second level signal at the end of the first instruction information. The second module 21222 sends the target signal to the first module 21221. After the first module 21221 receives the target signal, it is detected that the target signal changes from the first level signal to the second level signal, and it is determined that the first instruction information ends, and the first module 21221 stops the read operation or the write operation.
[0169] For example, such as Figure 13 As shown, assuming the first level signal is a high level signal and the second level signal is a low level signal. Before time t6, the printing device 110 does not communicate with the consumable chip 210. At this time, the data signal sent by the printing device 110 to the consumable chip 210 is a continuous low level signal. The second module 21222 obtains the continuous low level signal and can determine that the first instruction information has not started. It determines the target signal output to the first module 21221 as a low level signal and sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 can determine that the first instruction information has not started when it detects that the target signal is a low level signal.
[0170] At time t6, the printing device 110 begins communication with the consumable chip 210. At this time, the data signal sent by the printing device 110 to the consumable chip 210 changes to alternating high and low level signals. The second module 21222 acquires the alternating high and low level data signal. At time t6, the second module 21222 can detect that the data signal changes from a continuous low level signal to alternating high and low level signals. The second module 21222 can then determine that the first instruction information has started. At time t6, the target signal output to the first module 21221 is changed from a low level signal to a high level signal and sent to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal has changed from a low level signal to a high level signal, and can determine that the first instruction information has started. The first module 21221 then begins a read or write operation.
[0171] During the time interval t7 to t8, the consumable chip 210 analyzes the received data signal. During the time interval t8 to t9, the consumable chip 210 can send a response message to the printing device 110. At time t9, the printing device 110 needs to terminate communication with the consumable chip 210. At this time, the data signal sent by the printing device 110 to the consumable chip 210 changes to a continuous low-level signal. If the second module 21222 receives a continuous low-level data signal during the time interval t9 to t10, it can determine that the first instruction information has ended. At time t10, it changes the target signal from a high-level signal to a low-level signal and sends the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal has changed from a high-level signal to a low-level signal and can determine that the first instruction information has ended. The first module 21221 then stops the read or write operation.
[0172] Secondly, see Figure 14A communication flow diagram is provided for an embodiment of the present application. The method is applied to the consumable chip 210 described in the above embodiment. As shown in the figure, the method comprises the following steps. Figure 14
[0173] Step S1401, in the communication process, the second module 21222 of the consumable chip 210 acquires the clock signal and the first instruction information.
[0174] The first instruction information is the instruction information currently executed by the first module 21221 of the consumable chip 210.
[0175] The second module 21222 of the consumable chip 210 executes different steps according to the type of the first instruction information. When the first instruction information is the first type of instruction information, step S1402a is executed; when the first instruction information is the second type of instruction information, step S1402b is executed.
[0176] Step S1402a, when the first instruction information is the first type of instruction information, the second module 21222 of the consumable chip 210 determines that the first type of instruction information ends based on the clock signal, if the clock signal is not monitored as the alternating first and second level signals within the first preset time length, the target signal output to the first module at the end of the first type of instruction information is changed from the first level signal to the second level signal, and the target signal is sent to the first module 21221 of the consumable chip 210.
[0177] Step S1402b, when the first instruction information is the second type of instruction information, the second module 21222 of the consumable chip 210 determines the end time corresponding to the first instruction information by using a preset manner based on the content of the second type of instruction information; the target signal output to the first module 21221 at the end of the first instruction information is changed from the first level signal to the second level signal, and the target signal is sent to the first module 21221 of the consumable chip 210.
[0178] Step S1403, the first module 21221 of the consumable chip 210 receives the target signal, and stops the read operation or the write operation when the target signal is detected to change from the first level signal to the second level signal.
[0179] As a possible implementation manner, the first module 21221 is electrically connected with the data terminal.
[0180] The above method further comprises the following steps.
[0181] The first module 21221 of the consumable chip 210 receives the first instruction information sent by the printing device 110 through the data terminal in the communication process.
[0182] The first module 21221 of the consumable chip 210 generates response information based on the target signal and the first instruction information, and sends the response information to the printing device 110 through the data terminal.
[0183] As a possible implementation manner, the first module 21221 is electrically connected with the clock terminal.
[0184] The method further includes:
[0185] The first module 21221 of the consumable chip 210 receives the clock signal sent by the printing device 110 through the clock terminal in the communication process.
[0186] At this time, the second module 21222 of the consumable chip 210 acquires the clock signal, including:
[0187] The second module 21222 of the consumable chip 210 receives the clock signal sent by the first module 21221.
[0188] As a possible implementation manner, the second module 21222 of the consumable chip 210 acquires the first instruction information, including:
[0189] The second module 21222 of the consumable chip 210 receives the first instruction information sent by the first module 21221.
[0190] As a possible implementation manner, the second module 21222 of the consumable chip 210 is electrically connected with the data terminal and the clock terminal.
[0191] The second module 21222 of the consumable chip 210 acquires the clock signal and the first instruction information, including that the second module 21222 of the consumable chip 210 receives the clock signal sent by the printing device 110 through the clock terminal, and receives the first instruction information sent by the printing device 110 through the data terminal.
[0192] As a possible implementation manner, the second module 21222 of the consumable chip 210 is electrically connected with the clock terminal and the data terminal.
[0193] The step S1401 that the second module 21222 of the consumable chip 210 acquires the clock signal and the first instruction information includes:
[0194] The second module 21222 of the consumable chip 210 receives the clock signal sent by the printing device 110 through the clock terminal, and receives the first instruction information sent by the printing device 110 through the data terminal.
[0195] The method further includes:
[0196] The second module 21222 of the consumable chip 210 sends the clock signal and the first instruction information to the first module 21221 in the communication process.
[0197] The first module 21221 receives the clock signal and the first instruction information sent by the second module 21222, and generates response information based on the clock signal and the first instruction information, and sends the response information to the second module 21222.
[0198] The second module 21222 receives the response information and sends the response information to the printing device 110 through the data terminal.
[0199] As a possible implementation, the sum of the time when the first module 21221 generates the response information and the time when the second module 21222 sends the response information to the printing device 110 is not greater than the preset response waiting time length of the printing device 110.
[0200] As a possible implementation, the first level signal is a high level signal, and the second level signal is a low level signal.
[0201] Corresponding to the above-mentioned embodiments, the present application further provides a consumable cartridge including the consumable chip 210 described in the above-mentioned embodiments.
[0202] Corresponding to the above-mentioned embodiments, the present application further provides an image forming apparatus including the consumable chip 210 described in the above-mentioned embodiments or including the consumable cartridge described in the above-mentioned embodiments.
[0203] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be realized by means of software and necessary general hardware platforms. Based on such understanding, the technical solutions in the embodiments of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in the various embodiments or some parts of the embodiments of the present application.
[0204] The same or similar parts among the various embodiments in the specification can be referred to each other. Especially, for the device embodiments and the terminal embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
Claims
1. A chip, characterized by The chip is used for, In the communication process, the second module acquires the clock signal and the first instruction information; the first instruction information is the instruction information currently executed by the first module; When the first instruction information is first type instruction information, the second module determines that the first type instruction information ends based on the clock signal, if the clock signal is not monitored as the first alternating level signal and the second level signal within a first preset time length, the target signal output to the first module is changed from the first level signal to the second level signal at the end time of the first type instruction information; When the first instruction information is second type instruction information, the second module determines the end time corresponding to the second type instruction information by a preset mode based on the content of the second type instruction information, and changes the target signal output to the first module from the first level signal to the second level signal at the end time; The first module stops the read operation or the write operation when detecting that the target signal changes from the first level signal to the second level signal. The first module is electrically connected with the data terminal; 2. The chip according to claim 1, characterized in that, The chip is also used for, in the communication process, the first module receives the first instruction information sent by the image forming device through the data terminal; The first module is used for sending response information to the image forming device in the communication process, including: The first module generates response information based on the target signal and the first instruction information, and sends the response information to the image forming device through the data terminal. The first module is electrically connected with the clock terminal; 3. The chip of claim 2, wherein The chip is also used for, in the communication process, the first module receives the clock signal sent by the image forming device through the clock terminal; The second module acquires the clock signal, including: The second module receives the clock signal sent by the first module. The second module acquires the first instruction information, including:
4. The chip of claim 3, wherein The second module receives the first instruction information sent by the first module. The second module is electrically connected with the data terminal and the clock terminal; 5. The chip of claim 2, wherein, The second module acquires the clock signal and the first instruction information, including: The second module receives the clock signal sent by the image forming device through the clock terminal, and receives the first instruction information sent by the image forming device through the data terminal. The second module is electrically connected with the clock terminal and the data terminal; 6. The chip of claim 1, wherein The second module acquires a clock signal and first instruction information, and the second module comprises: The second module receives the clock signal sent by the image forming apparatus through the clock terminal and receives the first instruction information sent by the image forming apparatus through the data terminal; The chip further comprises a second module configured to send the clock signal and the first instruction information to the first module during communication; The first module is configured to send response information to the image forming apparatus during communication, and the first module comprises: The first module receives the clock signal and the first instruction information sent by the second module, generates response information based on the target signal and the first instruction information, and sends the response information to the second module; The second module receives the response information and sends the response information to the image forming apparatus through the data terminal.
7. The chip of claim 6, wherein The sum of the time at which the first module generates the response information and the time at which the second module sends the response information to the image forming apparatus is not greater than the response waiting time length preset by the image forming apparatus.
8. The chip according to any one of claims 1 to 7, characterized in that The first level signal is a high level signal, and the second level signal is a low level signal.
9. A communication method characterized by comprising: The chip comprises: During communication, the second module of the chip acquires a clock signal and first instruction information, and the first instruction information is instruction information currently executed by the first module of the chip; When the first instruction information is first type instruction information, the second module of the chip determines that the first type instruction information ends based on the clock signal, and if the clock signal is not monitored as alternating first level signal and second level signal within a first preset time length, the target signal output to the first module is changed from first level signal to second level signal at the end time of the first type instruction information; When the first instruction information is second type instruction information, the second module of the chip determines the end time corresponding to the second type instruction information by a preset mode based on the content of the second type instruction information, and the target signal output to the first module is changed from first level signal to second level signal at the end time; The first module of the chip receives the target signal, and stops read operation or write operation when the target signal is detected as changing from first level signal to second level signal.
10. A consumable cartridge, characterized by, The chip comprises: The chip comprises:
Citation Information
Patent Citations
Chip communication method, consumable chip and imaging box
CN111614857A
Data processing device, system, board card, method, electronic equipment and storage medium
CN113344767A