Chip, communication method and consumable box
By designing a chip including the first module and the second module, using the clock terminal and the data terminal for communication, and judging the end time of the instruction information based on the clock signal, the chip selection signal jump problem caused by signal interference or poor contact during the data communication process is solved, and higher communication accuracy and efficiency are achieved.
Patent Information
- Application Number
- CN202411744990.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-15
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-11-29
AI Technical Summary
During data communication, existing consumable chips are prone to cause high-level jumps of chip select signals, resulting in interruption of read or write operations, affecting the accuracy and efficiency of data communication.
A chip is designed, including a first module and a second module, and communicates with the image forming device through a clock terminal and a data terminal. The second module determines the end time of the command information based on the clock signal, and outputs a target signal to control the read or write operation of the first module.
This solution does not require the chip selection terminal to be set, which reduces the possibility of errors in execution of instruction information, improves the accuracy and efficiency of communication between the chip and the image forming device, and reduces production costs.
Smart Images

Figure CN119781700A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on December 28, 2023, with application number 202311851739.9 and application name “A consumable chip and consumable box”, and claims the priority of the Chinese patent application filed with the State Intellectual Property Office on May 15, 2024, with application number 202410607698.7 and application name “A consumable chip and consumable box”. The entire contents of the above two Chinese patents are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of imaging technology, and in particular to a chip, a communication method and a consumable box. Background Art
[0003] Image forming devices, such as printers, copiers, fax machines, etc., are used to image the information to be imaged onto imaging media such as paper through imaging materials such as ink. During the imaging process of the image forming device, 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 can be removably installed in a consumable box. The consumable box can be an ink cartridge filled with ink or a toner cartridge filled with toner, and the ink cartridge and toner are recording materials. The consumable box can be removably installed in the image forming device.
[0004] When the consumable box is installed in the image forming device, the consumable chip in the consumable box is electrically connected to the image forming device and performs data communication with the image forming device. For example, the consumable chip can be used to control the authentication and data matching between the consumable box and the image forming device, and provide imaging auxiliary information to the image forming device during the subsequent imaging process of the image forming device. Specifically, the consumable chip on the consumable box can be electrically connected to the image forming device through corresponding terminals.
[0005] Common consumable chips are currently equipped with chip select terminals, clock terminals, and data terminals to complete data communication with the image forming device. The chip select terminal and clock terminal of the consumable chip receive the chip select signal and clock signal CLK sent by the image forming device respectively, and the data terminal receives the command information sent by the image forming device, or the consumable chip sends data information to the image forming device through the data terminal. Usually, multiple consumable boxes can be installed in the image forming device, and the image forming device can select the consumable chip it needs to communicate with through the chip select signal. For example, Figure 1As shown, when the image forming device needs to communicate data with the consumable chip, the image forming device can convert the chip select signal to a high level and send the high-level chip select signal to the chip select terminal of the consumable chip. When the image forming device sends the chip select signal, it also sends the clock signal CLK and data information. When the consumable chip receives the high-level chip select signal, it can determine to start data communication with the image forming device, and the consumable chip starts to perform a write operation or a read operation.
[0006] When data communication is completed or needs to be terminated, the image forming device converts the chip select signal to a low level. When the chip select signal received by the consumable chip is converted to a low level, the consumable chip terminates the read operation or write operation and stops data communication with the image forming device.
[0007] In the above process, the consumable chip needs to receive the chip select signal through the chip select terminal to control the data communication process. However, during the data communication process, due to signal interference or poor contact between the consumable chip and the image forming device, it is easy to cause the high level jump of the chip select signal, resulting in the interruption of the consumable chip read or write operation, thereby affecting the accuracy of data communication and data communication efficiency.
[0008] In some technologies, the consumable chip can determine whether the image forming device and the consumable chip are communicating data by monitoring the state change of the clock signal. When the image forming device attempts to communicate data with the consumable chip, the image forming device sends a clock signal to the consumable chip, and the clock signal received by the consumable chip has a rising edge or a high level. Similarly, when the image forming device 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, there is no need to set a chip select terminal in the consumable chip, and the start and end of data communication between the consumable chip and the image forming device can be determined only by the clock terminal and the data terminal. Usually, the consumable chip not only includes various terminals electrically connected to the image forming device, but also has a corresponding storage component, and the storage component stores toner quantity information, manufacturer information, serial number and other related information. In the above method, 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 equipment used to manufacture the storage component of the consumable chip containing the chip select terminal, resulting in a high production cost. Summary of the invention
[0010] In view of this, the present application provides a chip, a communication method and a consumable box, so as to solve the problem in the prior art that the consumable chip needs to change the structure of the storage component, resulting in high time cost and production cost.
[0011] In a first aspect, an embodiment of the present application provides a chip, wherein the chip communicates with an image forming device, wherein the communication process includes a plurality of instruction information, wherein the chip includes a first module, a second module, a clock terminal, and a data terminal, wherein the clock terminal is used to receive a clock signal from the image forming device, and the data terminal is used to send or receive a data signal, wherein the first module is used to send response information to the image forming device during the communication process, wherein the second module is electrically connected to the first module and outputs a target signal to the first module, and wherein the first module controls the stop of a read operation or a write operation of the first module based on the target signal;
[0012] The chip is used for
[0013] During the communication process, the second module obtains a clock signal;
[0014] The second module obtains the first instruction information; the first instruction information is the instruction information currently executed by the first module;
[0015] When the first instruction information is the instruction information of the first type, the second module determines that the instruction information of the first type ends if the clock signal is not detected to be the alternating first level signal and the second level signal within the first preset time period based on the clock signal, and changes the target signal output to the first module from the first level signal to the second level signal at the end time of the first type of instruction information;
[0016] When the first instruction information is the instruction information of the second type, the second module determines the end time corresponding to the first instruction information in a preset manner based on the content of the instruction information of the second type; at the end time, the target signal output to the first module is changed from the first level signal to the second level signal;
[0017] The first module receives a target signal, and stops a read operation or a write operation when detecting that the target signal changes from a first level signal to a second level signal.
[0018] In a possible implementation manner of the first aspect, the first module is electrically connected to the data terminal;
[0019] The chip is further used for, during the communication process, the first module receiving the first instruction information sent by the image forming device through the data terminal;
[0020] The first module is used to send response information to the image forming device during the communication process, including:
[0021] 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.
[0022] In a possible implementation manner of the first aspect, the first module is electrically connected to the clock terminal;
[0023] The chip is further used for, during the communication process, the first module receiving the clock signal sent by the image forming device through the clock terminal;
[0024] The second module acquiring the clock signal includes:
[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 acquiring the first instruction information includes:
[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 to the data terminal and the clock terminal;
[0029] The second module acquires the clock signal and the first instruction information including:
[0030] 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.
[0031] In a possible implementation manner of the first aspect, the second module is electrically connected to the clock terminal and the data terminal;
[0032] The second module acquires the clock signal and the first instruction information including:
[0033] 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;
[0034] The chip is further used for the second module to send the clock signal and the first instruction information to the first module during the communication process;
[0035] The first module is used to send response information to the image forming device during the communication process, including:
[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 device through the data terminal.
[0038] In a possible implementation manner of the first aspect, a sum of a time for the first module to generate the response information and a time for the second module to send the response information to the image forming device is not greater than a response waiting time preset by the image forming device.
[0039] In a possible implementation manner of the first aspect, the first level signal is a high level signal, and the second level signal is a low level signal.
[0040] In a second aspect, an embodiment of the present application provides a communication method, which is applied to the chip described in any one of the first aspects above, and the method includes: during the communication process, the second module of the chip obtains a clock signal and first instruction information; the first instruction information is instruction information currently executed by the first module of the chip;
[0041] When the first instruction information is the instruction information of the first type, the second module of the chip determines that the instruction information of the first type ends if the clock signal is not detected to be an alternating first level signal and a second level signal within a first preset time period based on the clock signal, and changes the target signal output to the first module from the first level signal to the second level signal at the end time of the first type of instruction information;
[0042] When the first instruction information is the instruction information of the second type, the second module of the chip determines the end time corresponding to the instruction information of the second type in a preset manner based on the content of the instruction information of the second type; at the end time, the target signal output to the first module is changed from the first level signal to the second level signal;
[0043] The first module of the chip receives the target signal, and stops the read operation or the write operation when detecting that the target signal changes from a first level signal to a second level signal.
[0044] In a third aspect, an embodiment of the present application provides a consumable box, comprising the chip described in any one of the first aspects above.
[0045] According to the scheme provided by the embodiment of the present application, the chip communicates with the image forming device, and the communication process includes several instruction information. The chip includes a clock terminal and a data terminal, a first module and a second module. The clock terminal is used to receive a clock signal from the image forming device, and the data terminal is used to receive or send a data signal. The first module is used to send a response message to the image forming device during the communication process. 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 the reading operation or writing of the first module based on the target signal. The chip is used for the second module to obtain the clock signal and the first instruction information during the communication process; the first instruction information is the instruction information currently executed by the first module; when the first instruction information is the instruction information of the first type, the second module determines that the instruction information of the first type ends based on the clock signal, if the clock signal is monitored to be an alternating first level signal and a second level signal within a first preset time length, and the target signal output to the first module is changed from the first level signal to the second level signal at the end of the first type of instruction information. When the first instruction information is the instruction information of the second type, the second module determines the end time corresponding to the instruction information of the second type in a preset manner based on the content of the instruction information of the second type, 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. In this way, in the embodiment of the present application, when the image forming device is electrically connected to the chip, it is electrically connected to the data terminal and the clock terminal of the chip, and there is no chip select terminal in the chip, so the possibility of error in the execution of the instruction information can be reduced, and the accuracy of communication between the chip and the image forming device is improved. In addition, in the embodiment of the present application, the chip includes a first module and a second module, the second module can determine whether the instruction information of the first type is ended according to the clock signal, and change the target signal from the first level signal to the second level signal at the end time of the instruction information of the first type, and send the target signal to the first module, and the first module can determine whether to stop the read operation or the write operation based on the target signal. That is, the second module can determine the chip select signal, transmit the chip select signal to the first module, and the first module determines whether to stop the read operation or the write operation based on the chip select signal. In an embodiment of the present application, only a second module needs to be set in the chip to determine the target signal, and there is no need to change the existing structure of the first module, that is, there is no need to change the existing structure of the storage component. In this way, there is no need to design the storage component, and the existing photolithography mask equipment can be used, which reduces the time cost and production cost and improves the efficiency of communication between the chip and the image forming device. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0047] Figure 1 It is a schematic diagram of the working sequence of the existing consumable chip;
[0048] Figure 2a A schematic diagram of the structure of a communication system provided in an embodiment of the present application;
[0049] Figure 2b A schematic diagram of the structure of another communication system provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of the structure of a consumable box provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of the structure of a stylus of a printing device provided in an embodiment of the present application;
[0052] Figure 5 A schematic diagram of the structure of a consumable chip provided in an embodiment of the present application;
[0053] Figure 6 A schematic diagram of a partially enlarged structure of a stylus of a printing device provided in an embodiment of the present application;
[0054] Figure 7a A schematic diagram of the structure of another consumable chip provided in an embodiment of the present application;
[0055] Figure 7b A schematic diagram of the structure of another consumable chip provided in an embodiment of the present application;
[0056] Figure 7c A schematic diagram of the structure of a storage component in a consumable chip provided in an embodiment of the present application;
[0057] Figure 8 A schematic diagram of a connection structure between a consumable chip and a printing device provided in an embodiment of the present application;
[0058] Fig. 9 A schematic diagram of a working sequence of a consumable chip provided in an embodiment of the present application;
[0059] Fig.10 A schematic diagram of another working sequence of a consumable chip provided in an embodiment of the present application;
[0060] Fig.11aA schematic diagram of another scenario of a connection structure between a consumable chip and a printing device provided in an embodiment of the present application;
[0061] Fig.11b A schematic diagram of another scenario of a connection structure between a consumable chip and a printing device provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of another working sequence of a consumable chip provided in an embodiment of the present application;
[0063] Fig.13 A schematic diagram of another working sequence of a consumable chip provided in an embodiment of the present application;
[0064] Fig.14 A flowchart of another communication method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0066] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are 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 specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0068] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0069] See also Figure 2a , is a schematic diagram of the structure of a communication system provided in an embodiment of the present application. Figure 2aAs shown, the communication system includes 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, a communication link is established between the communication port 101 and the interface module 201, and the host 100 and the chip 200 can transmit information through the communication link. Specifically, the communication port 101 and the interface module 201 can be electrically contacted and connected by means of a stylus, a contact point or a spring, so as to establish a communication link. In other embodiments, the communication link can also be a contactless communication link, that is, a wireless communication link, in which case 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 embodiment of the present 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 in completing related functions.
[0070] In one example, the host may be a computer, and the chip may be a peripheral device / apparatus of the computer. In another example, the host may be a mobile terminal (e.g., a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), etc.), and the chip may be 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, during 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, the technical solution provided by the embodiment of the present application is described below by taking the printing device 110 and the consumable chip 210 as an example. However, those skilled in the art should understand that, in addition to the printing device 110 and the consumable chip 210, the technical solution provided by the embodiment of the present application can also be applied to other types of hosts and chips, and the embodiment of the present application does not limit this.
[0072] During 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 may be Figure 3The structure shown. In addition to being recorded in the printing device 110, the imaging auxiliary information of the printing device 110 is also recorded on the consumable chip 210. The consumable chip 210 mainly plays the role of identity identification and providing the use status of the recording material. Therefore, when the consumable chip 210 is installed on the printing device 110, the printing device 110 will read the information of the consumable chip 210, and will also send the status and related information of the printing job to the consumable chip 210. In an embodiment of the present application, the consumable chip 210 is connected to the printing device 110 through electrical contact. For example, the contact pin on the printing device 110 makes electrical contact with the contact part in the consumable chip 210 to achieve communication connection.
[0073] like Figure 4 As shown, the printing device 110 includes a stylus holder 111, and the stylus holder 111 includes an upper end surface 1111 of the stylus holder 111 in the Y-axis direction, a front end surface 1112 of the stylus holder 111 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. Among them, 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 a data signal to the consumable chip 210 through the contact between the first contact pin 1113 and the data terminal 2101, the printing device 110 can send a chip select signal to the consumable chip 210 through the contact between the second contact pin 1114 and the chip select terminal 2102, the printing device 110 can send a clock signal to the consumable chip 210 through the contact between the fourth contact pin 1116 and the clock terminal 2103, the printing device 110 can provide an operating voltage to the consumable chip 210 through the contact between the third contact pin 1115 and the power terminal 2104, and the printing device 110 can provide a unified reference low level for data received and sent between the printing device 110 and the consumable chip 210 through the contact between the fifth contact pin 1117 and the ground terminal 2105, thereby ensuring the correctness and stability of the communication process.
[0074] In some embodiments, the data terminal 2101, the chip selection terminal 2102, the clock terminal 2103, the power terminal 2104 and the ground terminal 2105 in the consumable chip 210 are all planar terminals. 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 all include a contact pin top, a contact pin front end, a contact pin oblique end and a contact pin tip, such as Figure 6 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 respectively in contact with the data terminal 2101, the chip selection terminal 2102, the clock terminal 2103, the power terminal 2104, and the ground terminal 2105 in the plane terminal of the consumable chip 210 through the contact pin tips.
[0075] Typically, a plurality of consumable chips 110 are provided in the printing device 110, and the plurality of consumable chips 210 communicate with the printing device 110 through the same communication bus. At the same time, the printing device 110 can only communicate with one consumable chip 210. In order to ensure that the printing device 110 and the consumable chip 210 can communicate, the printing device 110 needs to send a chip select signal to the consumable chip 210 with which it needs to communicate, so as to inform the consumable chip 210 through the chip select signal that the printing device 110 has selected the consumable chip 210 to communicate with the printing device 110. Among them, the chip select signal (Chip Select Signal, abbreviated as CS) is a control signal used in a digital circuit to select a specific integrated circuit chip (Chip) for communication. When multiple chips or devices are mounted on the same communication bus, the chip select signal is used to indicate which chip can exchange data with the processor or controller. Reference Figure 1 As shown, when the printing device 110 needs to communicate data with a consumable chip 210, the printing device 110 can convert the chip select signal for selecting the consumable chip 210 to a high level, and send the high-level chip select signal to the chip select terminal of the consumable chip 210. While 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 starts to perform a write operation or a read operation. At this time, the consumable chip 210 stores the data information received by the data terminal 2101 to the storage component inside the consumable chip 210 according to the clock signal CLK, or sends the imaging auxiliary information stored in the storage component to the data terminal 2101, so as to be transmitted to the printing device 110 through the data terminal 2101.
[0076] When data communication is completed or needs to be terminated, the printing device 110 converts the chip select signal to a low level. When the chip select signal received by the consumable chip 210 is converted to a low level, the consumable chip 210 terminates the read operation or write operation and stops data communication with the printing device 110.
[0077] However, the terminals of the consumable chip 210 are densely located on the plane, and the gaps between the terminals are small, which may easily cause the contact pins of the printing device 110 to contact terminals that do not correspond to their functions when the user installs or plugs in the consumable box 21, thereby causing a short circuit. In addition, when the printing device 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, thereby causing problems such as data communication interruption, errors or data corruption.
[0078] Although in some technologies, the consumable chip 210 can determine whether the printing device 110 and the consumable chip 210 are communicating data by monitoring the state change of the clock signal. When the printing device 110 attempts to communicate data with the consumable chip 210, the printing device 110 sends a clock signal to the consumable chip 210, and the clock signal received by the consumable chip 210 has 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 be provided with a chip select terminal, and data communication between the consumable chip 210 and the printing device 110 can be completed only through the clock terminal and the data terminal. This can avoid interruptions in the reading or writing operation of the consumable chip caused by abnormalities in the chip select terminal or the chip select signal. Usually, the consumable chip not only includes various terminals electrically connected to the image forming device, but also has a corresponding storage component, and the storage component stores toner quantity information, manufacturer information, serial number and other related information. In the above method, when the chip select terminal is not provided, 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 equipment used to manufacture the storage component of the consumable chip containing the chip select terminal, resulting in a high production cost.
[0080] To solve the above problems, see Figure 7a , is a schematic diagram of the structure of a consumable chip 210 provided in an embodiment of the present 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. Figure 7bThe 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 may be a power terminal, and the fifth terminal 21215 may be a ground terminal. In other 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 to electrically connect to 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. Figure 7a 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 through a wire. In other embodiments, the first terminal 21211, the third terminal 21213, the fourth terminal 21214, and the fifth terminal 21215 are electrically connected to only the first module 21221 through a wire, and at this time, 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 only the second module 21222 through a wire, and the fourth terminal 21214 and the fifth terminal 21215 are electrically connected to the first module 21221 and the second module 21222 through a wire. For the convenience of description, the following explanation is given by taking the example that the first terminal 21211 is a data terminal, the third terminal 21213 is a clock terminal, the fourth terminal 21214 is a power terminal, and the fifth terminal 21215 is a 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, 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 used to store information about the consumable chip, such as the manufacturing date, manufacturer, color of the recording material (such as ink, toner), capacity of the recording material, remaining quantity or consumed quantity of the recording material, number of printable pages, number of printed pages, and other rewritable or read-only information of the consumable chip 210. In the embodiment of the present application, the storage module 212211 can adopt common non-volatile memory, such as EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), FLASH (flash memory), ferroelectric memory, phase change memory, etc., or a volatile memory plus a power supply solution can be adopted, such as SRAM (Static Random-Access Memory) + battery or capacitor, DRAM (Dynamic Random Access Memory) + battery or capacitor.
[0084] The control module 212212 may specifically be a single chip microcomputer (MCU), a microcontroller, an FPGA (Field Programmable Gate Array), an ASIC, etc., and is used to control the communication between the consumable chip and the printing device, read information from the storage module 212211, and store information in the storage module 212211.
[0085] In one embodiment, the storage module 212211 and the control module 212212 can be integrated in the same circuit. The circuit can be designed as an integrated circuit (ASIC) and embodied in the form of a wafer. The consumable chip 210 includes the wafer and a circuit board that carries the wafer.
[0086] based on Figure 7a , Figure 7b and Figure 7cThe consumable chip 210 shown communicates with the printing device 110, and the communication process includes a number of instruction information. The consumable chip 210 includes a clock terminal and 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 21221 is used to send a response message to the printing device 110 during 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 write operation of the first module 21221 based on the target signal. The consumable chip 210 is used for the second module 21222 to obtain the clock signal and the first instruction information during the communication process; the first instruction information is the instruction information currently executed by the first module 21221; when the first instruction information is the instruction information of the first type, the second module 21222 determines the end of the instruction information of the first type based on the clock signal, if the clock signal is monitored to be an alternating first level signal and a 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. When the first instruction information is the instruction information of the second type, the second module determines the end time corresponding to the first instruction information based on the content of the second type of instruction information in a preset manner, 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. Thus, in the embodiment of the present application, when the printing device 110 is electrically connected to the consumable chip 210, it is electrically connected to the data terminal and the clock terminal of the consumable chip 210, and there is no chip select terminal in the consumable chip 210, so the possibility of error in the execution of the instruction information can be reduced, and the accuracy of the communication between the consumable chip 210 and the printing device 110 is improved. In addition, in the embodiment of the present application, the consumable chip 210 includes a first module 21221 and a second module 21222, and the second module 21222 can determine whether the first type of instruction information is ended according to the clock signal, and change the target signal from the first level signal to the second level signal at the end of the first type of instruction information, and send the target signal to the first module 21221, and the first module 21221 can determine whether to stop the read operation or the write operation according to the target signal. In other words, the second module 21222 can determine the chip select signal, transmit the chip select signal 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 select signal.In the embodiment of the present application, only the second module 21222 needs to be set in the consumable chip 210 to determine the target signal, and the existing structure of the first module 21221 does not need to be changed, that is, the existing structure of the storage component does not need to be changed, so there is no need to design the storage component, and the existing photolithography mask equipment can be used, which reduces the time cost and production cost, and improves the efficiency of communication between the consumable chip 210 and the printing device 110. The following is a detailed description.
[0087] In a first aspect, an embodiment of the present application provides a consumable chip 210, which communicates with a printing device 110. The communication process includes a number of instruction information, and 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 a response message to the printing device 110 during 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, and the first module 21221 controls the stop of the read operation or write operation of the first module 21221 based on the target signal.
[0088] The consumable chip 210 is used for the second module 21222 to obtain the clock signal and the first instruction information during 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 is based on the clock signal. If the clock signal is not monitored to be an alternating first level signal and a second level signal within the first preset time period, it is determined that the first type of instruction information has ended. At the end time of the first type of instruction information, the target signal output to the first module 21221 is changed from the first level signal to the second level signal.
[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 based on the content of the second type of instruction information using a preset method; at this end time, the target signal output to the first module 21221 is changed from a first level signal to a second level signal.
[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 may 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 a clock signal sent by the printing device 110, and the data terminal can receive a data signal sent by the printing device 110 or send a data signal to the printing device 110. The consumable chip 210 also includes a first module 21221 and a second module 21222. The first module 21221 is used to send response information to the printing device 110 during the communication process. That is, the first module 21221 can send response information to the instruction information sent by the printing device 110 during the communication process with the printing device 110. The second module 21222 is electrically connected to the first module 21221. The second module 21222 can output a target signal to the first module 21221 during 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 select signal, so that the first module 21221 can determine whether the currently executed first instruction information is finished according to the target signal.
[0095] There may be multiple types of instruction information, 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 instruction information. For example, when the instruction information is an instruction information of a fixed duration, the second module 21222 can directly determine the end time corresponding to the instruction information through the instruction information. When the instruction information is of a non-fixed duration, the second module 21222 needs to determine the end time of the instruction information according to the clock signal. Based on this, after the second module 21222 obtains the first instruction information, in order to ensure the accuracy of determining the end time of the first instruction information, the second module 21222 needs to first determine the type of the first instruction information. Among them, 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 parse the first instruction information to obtain the instruction code, identification code, header and other information in the first instruction information. The second module 21222 can determine the category of the first instruction information by at least one of the instruction code, identification code and header in the first instruction information. When it is determined that the first instruction information is the instruction information of the first type, it means that the first instruction information is the instruction information of non-fixed duration. That is, the first instruction information is not the instruction information of fixed duration. At this time, the second module 21222 can determine the end time of the first type of instruction information 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 a second level signal. Therefore, the second module 21222 can detect whether the clock signal maintains a signal state within a first preset time length to determine whether the first type of instruction information is completed.
[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. If the clock signal is not detected as an alternating first level signal and a second level signal within the first preset time period, that is, if the clock signal is detected to maintain a signal state unchanged within the first preset time, it is determined that the first type of instruction information is ended, and at the end time of the first type of instruction information, the target signal is changed from the first level signal to the second level signal, and the target signal is output to the first module 21221.
[0097] When it is determined that the first instruction information is not the instruction information of the first type, but the instruction information of the second type, it is explained that the first instruction information is the instruction information of the fixed duration. In some embodiments, the end time corresponding to the instruction information of the second type can be pre-stored in the second module 21222, so that after the consumable chip 210 determines that the first instruction information is the instruction information of the second type, it can determine the end time of the received first instruction information based on the end time corresponding to the pre-stored second type of instruction information, and then can determine the end of the second type of instruction information according to the clock signal when the end time of the first instruction information is reached, and can 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 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. Then, 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. 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 when the 36th clock signal of the reply message arrives. In this way, the first module 21221 can determine that the first instruction information ends and stop the read operation or write operation when it detects that the received target signal changes from the first level signal to the second level signal.
[0098] Alternatively, in other embodiments, the printing device 110 may also specify the end time of the second type of instruction information. After determining that the first instruction information is the second type of instruction information, the consumable chip 210 determines the end time of the first instruction information by parsing the end time recorded in the first instruction information. In this way, when the end time of the first instruction information is reached, the target signal output to the first module 21221 can be changed from a first level signal to a second level signal, and the target signal can be sent to the first module 21221. In this way, the first module 21221 can determine that the first instruction information ends and stop the read operation or write operation when it detects that the received target signal changes from the first level signal to the second level signal.
[0099] Of course, when the first instruction information is the second type of instruction information, the second module 21222 can also determine the end time of the first instruction information in other ways, and the embodiment of the present application is not limited to this.
[0100] In the embodiment of the present application, the printing device 110 is electrically connected to the data terminal and the clock terminal of the consumable chip 210, and the consumable chip 210 does not include a chip select terminal, so the fourth contact pin 1116 of the printing device 110 will not pass through the chip select terminal by mistake, but pass 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 guaranteed, and the accuracy of the communication between the consumable chip 210 and the printing device 110 can be further improved. In addition, in the embodiment of the present application, although the chip select terminal is not provided in the consumable chip 210, a second module 21222 is provided in the consumable chip 210, and the end time of the first instruction information can be determined according to the clock signal by 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 read operation or write operation currently being executed stops execution through the received target signal, which can improve the accuracy of the execution of the instruction information, and further improve the accuracy of the communication between the consumable chip 210 and the printing device 110. That is to say, in the embodiment of the present application, even if the chip select terminal is not set 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. In this way, while ensuring the accuracy of the execution of the instruction information, the structure of the first module 21221 is not changed, there is no need to redesign the structure of the first module, 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 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 from when the printing device 110 and the consumable chip 210 start to transmit the instruction information to when the transmission of the instruction information ends, the chip select signal received by the consumable chip 210 should always be a first level signal. Based on this, in the process from when the printing device 110 and the consumable chip 210 start to transmit the instruction information to when the transmission of the instruction information ends, the second module 21222 needs to keep the target signal as a first level signal at all times, and when the printing device 110 does not transmit the instruction information to the consumable chip 210, the second module 21222 needs to keep the target signal as a second level signal. Therefore, the first module 21221 can determine that the first instruction information ends and stop 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.
[0102] As a possible implementation, for the convenience of 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 to be electrically connected to 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 both arranged on the second plane 2122. In this way, the printing device 110 is only electrically connected to the first plane 2121 of the consumable chip 210, and the chip selection terminal is not arranged in the first plane 2121. Therefore, the fourth contact pin 1116 of the printing device 110 will not pass through the chip selection terminal by mistake, but pass through the PCB (Printed Circuit Board) material without copper coating on the substrate 212. The accuracy of the execution of the instruction information can be further guaranteed, and the accuracy of the communication between the consumable chip 210 and the printing device 110 can be further improved.
[0104] The connections between the clock terminal and the data terminal in the consumable chip 210 and the first module 21221 are different, and the first module 21221 obtains the first instruction information and sends the response information in different ways according to different connection relationships.
[0105] As a possible implementation, the data terminal in the consumable chip 210 may be electrically connected to the first module 21221. That is, the first module 21221 is electrically connected to the data terminal, such as Figure 8 shown.
[0106] The consumable chip 210 is also used for the first module 21221 to receive the first instruction information sent by the printing device 110 through the data terminal during the communication process.
[0107] The first module 21221 is used to send response information to the printing device 110 during the communication process, including: the first module 21221 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.
[0108] That is, the first module 21221 needs to send response information to the printing device 110, and its response information needs to be generated according to the first instruction information. Therefore, the first module 21221 needs to obtain the first instruction information. That is, the first module 21221 can be electrically connected to the data terminal in the first plane 2121, and the printing device 110 is electrically connected to the data terminal in the first plane 2121, and the first instruction information can be sent to the data terminal. At this time, the data terminal can transmit the first instruction information received from the printing device 110 to the first module 21221 through a wire. In other words, the first module 21221 can receive the first instruction information sent by the printing device 110 through the data terminal.
[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 according to the first instruction information and the target signal, and send the response information to the printing device 110 through the data terminal.
[0110] As a 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 for the first module 21221 to receive the clock signal sent by the printing device 110 through the clock terminal during the communication process.
[0112] The first module 21221 needs to respond to the first instruction information based on the clock signal. Therefore, the first module 21221 also needs to obtain the clock signal. At this time, the first module 21221 can also be electrically connected to the clock terminal in the first plane 2121, and the printing device 110 is electrically connected to the clock terminal in the first plane 2121, and can send a 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 first module 21221 through a wire. In other words, the first module 21221 can receive the clock signal sent by the printing device 110 through the clock terminal.
[0113] As a possible implementation, the first module 21221 may be electrically connected to a power terminal and a ground terminal, such as 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 during the communication process.
[0114] That is, the first module 21221 can be electrically connected to 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. By receiving the power signal and the reference ground signal, the first module 21221 can work normally, 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 to the data terminal and the clock terminal, the second module 21222 may be electrically connected to the clock terminal and the data terminal in the consumable chip 210, or may not be electrically connected to the clock terminal and the data terminal in the consumable chip 210. The second module 21222 obtains the clock signal and the first instruction information in different ways according to different connection relationships.
[0116] As a possible implementation, 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 to the clock terminal in the consumable chip 210, such as Figure 8 At this time, the second module 21222 can directly obtain the clock signal sent by the printing device 110.
[0117] The second module 21222 acquires the clock signal, including: 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 to the clock terminal in the first plane 2121, and the printing device 110 is electrically connected to the clock terminal in the first plane 2121, and can send a 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 a wire. In other words, 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 is ended according to the clock signal. That is, when the first instruction information is the instruction information of the first type, the second module 21222 can detect whether the clock signal is an alternating first level signal and a second level signal after receiving the clock signal. The second module 21222 detects that the clock signal is not an alternating first level signal and a second level signal within the first preset time length, but keeps the second level signal or the first level signal unchanged. At this time, the second module 21222 can determine that the instruction information of the first type is ended, 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 type of instruction information, and the target signal is sent to the first module 21221. When the first instruction information is the instruction information of the second type, the second module 21222 changes the target signal output to the first module 21221 from the first level signal to the second level signal when the end time corresponding to the second type of instruction information arrives according to the received clock signal, and sends 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 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. The details are as follows:
[0121] Since 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 the second module 21222 receives the invalid clock signal, it can determine the target signal as a 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 the first module 21221 receives the target signal, it detects that the target signal is a second level signal and determines 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 a continuous second level signal to an alternating first level signal and a 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 a continuous second level signal to an alternating first level signal and a second level signal. When the second module 21222 detects that the clock signal changes from a continuous second level signal to an alternating first level signal and a second level signal, the target signal output to the first module 21221 can change from a second level signal to a first level signal. That is, the target signal output to the first module 21221 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 receiving the target signal, the first module 21221 detects that the target signal changes from a second level signal to a first level signal, and can determine that the first instruction information starts, that is, the first instruction information starts to be executed.
[0123] In this way, in the embodiment of the present application, the start time and the end time of the first instruction information can be accurately determined, thereby ensuring the accurate execution of the first instruction information and improving the communication efficiency between the consumable chip 210 and the printing device 110.
[0124] For example, Fig. 9As shown, assuming 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. When the second module 21222 obtains the continuous low level signal, it determines that the target signal output to the first module 21221 is a low level signal, and sends the target signal (RST) to the first module 21221. The first module 21221 receives the target signal, and detects that the target signal is a low level signal to determine that the instruction information has not started. At time 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 a replaced 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 a replaced 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 when it is detected that the target signal changes from a low-level signal to a high-level signal, the determined first instruction information starts. During the communication between the printing device 110 and the consumable chip 210, the clock signals sent by the printing device 110 are alternating high-level signals and low-level signals. Therefore, when the second module 21222 determines that the first instruction information has not ended based on the clock signal, it sets the target signal output to the first module 21221 to a continuous high-level signal. When the first module 21221 receives the target signal and detects that the target signal is a high-level signal, it determines that the first instruction information has not ended. The printing device 110 ends the communication with the consumable chip 210 at time t2, and the clock signal sent by the printing device 110 to the consumable chip 210 is converted from an alternating 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 alternating high-level signal and a low-level signal to a continuous low-level signal. Assuming that the first preset time length is the time interval between t2 and t3, the second module 21222 does not detect the clock signal of the alternating 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 time t3, and change the target signal output to the first module 21221 from a high-level signal to a low-level signal at time 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 a high level signal to a low level signal, that is, stops executing the currently executed operation.
[0125] In some embodiments, since the first instruction information of the first type is instruction information of non-fixed duration, there may be a period of time in the first type of instruction information during which the clock signal maintains the state of the second level signal or the state of the first level signal, and it is not an alternating first level signal and second level signal. If the period of time is longer than the above-mentioned first preset period of time, there may be an error in the end time judgment when judging based on the above method. Therefore, the second module 21222 can further determine the type of the first instruction information. Generally, the first type of instruction information includes two subtypes: first sub-category instruction information and second sub-category instruction information. Among them, in the second sub-category instruction information, during the transmission of the data signal, there is a period of time during which the clock signal maintains the state of the second level signal or the state of the first level signal, and it is not an alternating first level signal and second level signal. In some embodiments, the period of time may be longer than the first preset period of time. As Fig.10 As shown, it is assumed that the time corresponding to the sending, processing, and replying of the first instruction information is t11-t20, and the second instruction information is executed after time t21. Fig.10 In the process of executing the first instruction information, there is a time period from t18 to t19 where the clock signal keeps the second level signal unchanged, and the first instruction information is not finished at this time. Assume that the time interval from t18 to t19 is the first time interval X, the time interval from t20 to t21 is the second time interval Y, and the first preset duration is Z. When the second time interval Y is greater than Z, that is, after t10, the second module 21222 does not detect that the clock signal is an alternating first level signal and a 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 and can detect that the target signal changes from the first level signal to the second level signal. The first module 21221 determines that the first instruction information is finished 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 duration Z. When the second module 21222 fails to detect that the clock signal is an alternating first level signal and a second level signal after t18 for more than the first preset duration Z, it will mistakenly change the target signal from the first level signal to the second level signal and send the target signal to the first module 21221. When the first module 21221 receives the target signal, it will detect that the target signal changes from the first level signal to the second level signal. The first module 21221 mistakenly determines that the first instruction information ends, but the first instruction information does not actually end. In order to avoid mistakenly determining that the instruction information ends in the above situation, this type of instruction information cannot be determined by the above method of determining whether the clock signal maintains a signal state within the first preset duration, but is determined by other methods.
[0127] Based on this, when the second module 21222 parses the first instruction information to determine the type of the first instruction information, it can determine 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-special instruction information of non-fixed duration. That is, the first instruction information is not an instruction information of fixed duration, and there is no situation in which the duration of the clock signal maintaining a state exceeds the first preset duration during the execution of the first instruction information. At this time, the second module 21222 can determine whether the first instruction information is ended by whether the clock signal maintains a signal state within the first preset duration. 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 be based on the clock signal. If the clock signal is not detected as an alternating first level signal and second level signal within the first preset duration, the target signal output to the first module 21221 is changed from the first level signal to the second level signal, and the target signal is sent to the first module 21221.
[0128] Alternatively, when it is determined that the first instruction information is second-subcategory instruction information of the first type, the second module 21222 determines the end time corresponding to the first instruction information based on the clock signal using a preset method; at the end time of the first instruction information, the target signal output to the first module 21221 is changed from a first level signal to a second level signal, and the target signal is sent to the first module 21221.
[0129] That is to say, 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-category instruction information in the first type, it means that the clock signal maintains the state of the first level signal or the state of the second level signal unchanged during a period of time during the execution of the first instruction information. At this time, the second module 21222 can determine the end time corresponding to the first instruction information according to a preset method. For example, the second module 21222 can take the duration of every 9 clock signals as a detection duration, and use the detection duration as a unit to detect whether the clock signal is an alternating first level signal and a second level signal within the preset duration at each time the end time of the detection duration is reached. If so, 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, when the second module 21222 detects that the clock signal maintains the state of the first level signal or the state of the second level signal, it can detect the power signal. If the power signal is a first level signal, it can be determined that the first instruction information has not ended, and if the power signal is a second level signal, it can be determined that the first instruction information has ended. When determining the end time 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 end time 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 method can also be other pre-set methods that can determine the end time of the first instruction information, and the embodiment of the present application is not limited to this.
[0131] As a possible implementation, in order to improve the communication efficiency between the printing device 110 and the consumable chip 210, refer to Figure 8 As shown, the second module 21222 can also be electrically connected to the data terminal in the first plane 2121, that is, the second module 21222 can be electrically connected to the printing device 110 through the data terminal of the first plane 2121. In other words, the printing device 110 can be electrically connected to the second module 21222 in the consumable chip 210 through at least two signal lines (clock signal line and data signal line).
[0132] The second module 21222 acquiring the first instruction information includes: 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 to the data terminal in the first plane 2121, and the printing device 110 is electrically connected to the data terminal in the first plane 2121, and can send a data signal to the data terminal, such as sending the first instruction information. At this time, the data terminal can transmit the received first instruction information to the second module 21222 through a wire, and the second module 21222 can receive the first instruction information sent by the printing device 110 through the data terminal, and then parse the first instruction information to determine the type of the first instruction information.
[0134] As a possible implementation, the second module 21222 may be electrically connected to a power terminal and a ground terminal, such as Figure 8 The consumable chip 210 is also used for the second module 21222 to receive the power signal and the reference ground signal sent by the printing device 110 through the power terminal and the ground terminal during the communication process.
[0135] That is, the second module 21222 can be electrically connected to 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. By receiving the power signal and the reference ground signal, the second module 21222 can work normally, thereby improving 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 both electrically connected to 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 to the second module 21222, but is electrically connected to the first module 21221. That is, the first module 21221 is electrically connected to the clock terminal, and the second module 21222 is electrically connected to the first module 21221. The consumable chip 210 is also used for the first module to receive the clock signal sent by the printing device 110 through the clock terminal during 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, such as Fig.11a shown.
[0138] That is, the first module 21221 is electrically connected to 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 to 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, the data terminal in the consumable chip 210 may not be electrically connected to the second module 21222, but to the first module 21221. That is, the first module 21221 is electrically connected to the clock terminal and the data terminal, and the second module 21222 is electrically connected to the first module 21221.
[0140] The consumable chip 210 is also used for the first module 21221 to receive the first instruction information sent by the printing device 110 through the data terminal during the communication process.
[0141] The second module 21222 acquires the first instruction information including: 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 to the data terminal of 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, the power terminal and the ground terminal in the consumable chip 210 may also be electrically connected only to the first module 21221, and not to the second module 21222. Fig.11aAs shown. If the second module 21222 is to work normally, it needs to obtain the power signal and the reference ground signal. When the second module 21222 is electrically connected to the first module 21221 and is not electrically connected to the power terminal and the ground terminal in the first plane 2121, the second module 21222 can also obtain the power signal and the reference ground signal through the first module 21221. That is, the consumable chip 210 is also used in the communication process, the first module 21221 receives the power signal sent by the printing device 110 through the power 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 signal and the reference ground signal to the second module 21222, and the second module 21222 receives the power signal and the reference ground signal sent by the first module 21221.
[0144] That is to say, since the second module 21222 is not electrically connected to the power terminal and the ground terminal in the first plane 2121, the second module 21222 cannot obtain the power signal and the reference ground signal through the power terminal and the ground terminal. However, the first module 21221 is electrically connected to the power terminal and the ground terminal in the first plane 2121, and the second module 21222 is electrically connected to the first module 21221. Therefore, when the first module 21221 receives the power signal sent by the printing device 110 through the power terminal and receives the reference ground signal sent by the printing device 110 through the ground terminal, the power signal and the reference ground signal can be sent to the second module 21222. The second module 21222 receives the power 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, the first module 21221 is not electrically connected to 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 only to the second module 21222, but not to the first module 21221, and the power terminal and the ground terminal in the consumable chip 210 can be electrically connected to the first module 21221 and the second module 21222. Fig.11b As shown. Since the first module 21221 is not electrically connected to 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, while the first module 21221 is electrically connected to the second module 21222, and the first module 21221 can obtain the clock signal and the first instruction information from the second module 21222 to generate the response information.
[0146] That is, the second module 21222 is electrically connected to the clock terminal and the data terminal.
[0147] The second module 21222 acquires the clock signal, including: the second module 21222 receives the clock signal sent by the printing device 110 through the clock terminal.
[0148] The second module 21222 acquires the first instruction information including: 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 the second module 21222 to send the clock signal and the first instruction information to the first module 21221 during the communication process.
[0150] The first module 21221 is used to send response information to the printing device 110 during the communication process, including: 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 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 to the data terminal and the clock terminal in the first plane 2121, and the printing device 110 can send a clock signal to the clock terminal in the consumable chip 210. Since the second module 21222 in the consumable chip 210 is electrically connected to 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 to the first module 21221, so the second module 21222 can forward the clock signal it receives to the first module 21221, and the first module 21221 can receive the clock signal. The printing device 110 can send a data signal containing the first instruction information to the data terminal in the consumable chip 210. Since the second module 21222 in the consumable chip 210 is electrically connected to 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 to the second module 21222, so the second module 21222 can forward the data signal it receives 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 calculations to generate response information. The first module 21221 can send the response information to the second module 21222. After receiving the response information, the second module 21221 can send the response information to the printing device 110 through the data terminal to complete the response to the first instruction information.
[0153] The second module 21222 can also parse the first instruction information from the above data signal and determine the type of the first instruction information. When the first instruction information is of the first type, the second module 21222 determines whether the clock signal is not monitored as an alternating first level signal and a second level signal within the first preset time length. If the clock signal is monitored as an alternating first level signal and a second level signal within the first preset time length, the target signal is maintained as a 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 a first level signal, and it can be determined that the first instruction information has not ended. The first module 21221 can continue to generate corresponding response information based on the received first instruction information, and send it to the printing device 110 through the second module 21222.
[0154] If the clock signal is not detected as alternating first-level signal and second-level signal within the first preset time period, 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 changes from the first-level signal to the second-level signal, and it can be determined that the first instruction information is ended and stop generating response information.
[0155] Alternatively, when it is determined that the first instruction information is of the second type, the end time corresponding to the first instruction information can be determined based on the content of the first instruction information, and the target signal 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. At this time, the first module 21221 detects that the target signal changes from the first level signal to the second level signal, and it can be determined that the first instruction information is ended, and stop generating response information.
[0156] In order for the printing device 110 to accurately obtain the response information, the sum of the time for the first module 21221 to generate the response information and the time for the second module 21222 to send the response information to the printing device 110 is not greater than the response waiting time preset by the printing device 110. In this way, the printing device 110 can obtain the response information within the preset response waiting time.
[0157] As a possible implementation, the second module 21222 in the consumable chip 210 is electrically connected to the data terminal, clock terminal, power terminal and ground terminal in the first plane 2121, and the first module 21221 is electrically connected to the power terminal and ground terminal in the first plane 2121. Fig.11bAs shown. During the communication process, the printing device 110 can send a power signal to the power terminal in the consumable chip 210. 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. 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 determine the target signal not only through the clock signal, but also through other signals, so that the first module 21221 determines whether the first instruction information is finished. 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 to be 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 a second level signal and determines that the first instruction information has not started.
[0160] When the printing device 110 starts to communicate with the consumable chip 210, the printing device 110 changes the power signal to a first level signal and sends it to the consumable chip 210. At this time, the second module 21222 can obtain the power signal changed to the first level signal. The second module 21222 determines that the first instruction information starts when it detects that the power signal changes from the second level signal to the first level signal, and can change the target signal output to the first module 21221 from the second level signal to the first level signal at the moment of determining the start of the first instruction. 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 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 be executed, and the first module 21221 starts the read operation or write operation.
[0161] When the printing device 110 ends the communication with the consumable chip 210, the printing device 110 changes the power signal into a second level signal and sends it to the consumable chip 210. At this time, the second module 21222 can obtain the power signal changed into the second level signal. When the second module 21222 detects that the power signal changes from the first level signal to the second level signal, it can determine that the first instruction information ends, and changes the target signal output to the first module 21221 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 receiving the target signal, the first module 21221 detects that the target signal changes from the first level signal to the second level signal, and can determine that the first instruction information ends, and the first module 21221 stops the read operation or the write operation.
[0162] For example, Fig.12 As shown, it is assumed that 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 obtains the power signal of the low level signal, and can determine that the first instruction information has not started, and 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 the first module 21221 receives the target signal, it can be determined that the first instruction information has not started when it detects that the target signal is a low level signal.
[0163] At time t4, the printing device 110 starts to communicate with the consumable chip 210, and 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, and the second module 21222 can detect at time t4 that the power signal changes from a low-level signal to a high-level signal, and the second module 21222 can determine that the first instruction information starts, and at time t4, the target signal output to the first module 21221 is changed from a low-level signal to a high-level signal, and the target signal is sent to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal changes from a low-level signal to a high-level signal, and can determine that the first instruction information starts, and the first module 21221 starts a read operation or a write operation.
[0164] At time t5, the printing device 110 needs to end the communication with the consumable chip 210, and 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, and 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 time t5. The second module 21222 can determine that the first instruction information ends at time t5, and change the target signal from a high-level signal to a low-level signal at time t5, and send the target signal to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal changes from a high-level signal to a low-level signal, and can determine 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 is finished. 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 to 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 a data signal of a 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 receiving the data signal of the continuous 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 to be 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 is the second level signal and determines that the first instruction information has not started.
[0167] When the printing device 110 starts to communicate with the consumable chip 210, the printing device 110 changes the data signal into an alternating first level signal and a second level signal and sends it to the consumable chip 210. At this time, the second module 21222 can obtain the data signal of the alternating first level signal and the second level signal. When the second module 21222 detects that the data signal changes from a continuous second level signal to an alternating first level signal and a second level signal, it determines that the first instruction information starts, and can change the target signal output to the first module 21221 from the second level signal to the first level signal at the moment of determining the start of the first instruction. 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 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 be executed, and the first module 21221 starts the read operation or write operation.
[0168] When the printing device 110 ends the communication with the consumable chip 210, the printing device 110 changes the data signal from the alternating first level signal and the second level signal to the continuous second level signal and sends it to the consumable chip 210. After the consumable chip 210 has parsed the data signal and sent a response message to the printing device 110, the second module 21222 can determine that the first instruction information ends if it detects that the acquired data signal changes from the alternating first level signal and the second level signal to the continuous second level signal after the consumable chip 210 has sent the response message, and changes the target signal output to the first module 21221 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 receiving the target signal, the first module 21221 detects that the target signal changes from the first level signal to the second level signal, and can determine that the first instruction information ends, and the first module 21221 stops the read operation or the write operation.
[0169] For example, Fig.13 As shown, it is assumed that 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 data signal of the continuous low level signal, and can determine that the first instruction information has not started, and 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 the first module 21221 receives the target signal, it can be determined 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 starts to communicate with the consumable chip 210. At this time, the data signal sent by the printing device 110 to the consumable chip 210 changes to an alternating high-level signal and a low-level signal. The second module 21222 obtains the data signal of the alternating high-level signal and the low-level signal. At this time, the second module 21222 can detect at time t6 that the data signal changes from a continuous low-level signal to an alternating high-level signal and a low-level signal. At this time, the second module 21222 can determine that the first instruction information starts, and 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 the target signal is sent to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal changes from a low-level signal to a high-level signal, and can determine that the first instruction information starts, and the first module 21221 starts a read operation or a write operation.
[0171] During the time period from t7 to t8, the consumable chip 210 analyzes the received data signal. During the time period from 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 end the 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 obtains a data signal of a continuous low-level signal during the time interval from time t9 to t10, it can be determined that the first instruction information ends, and at time t10, the target signal changes from a high-level signal to a low-level signal, and the target signal is sent to the first module 21221. After receiving the target signal, the first module 21221 detects that the target signal changes from a high-level signal to a low-level signal, and can determine that the first instruction information ends, and the first module 21221 stops the read operation or the write operation.
[0172] Second, see Fig.14, is a schematic diagram of a communication process provided in an embodiment of the present application. The method is applied to the consumable chip 210 described in the above embodiment. Fig.14 As shown, the method includes:
[0173] Step S1401: During the communication process, the second module 21222 of the consumable chip 210 obtains a clock signal and 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 performs 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 performed; when the first instruction information is the second type of instruction information, step S1402b is performed.
[0176] Step S1402a, when the first instruction information is the first type of instruction information, the second module 21222 of the consumable chip 210 is based on the clock signal. If the clock signal is not detected as an alternating first level signal and a second level signal within a first preset time period, it is determined that the first type of instruction information is ended. At the end of the first type of instruction information, the target signal output to the first module 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 based on the content of the second type of instruction information using a preset method; at the end time of the first instruction information, the target signal output to the first module 21221 is changed from a first level signal to a 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 detecting that the target signal changes from the first level signal to the second level signal.
[0179] As a possible implementation manner, the first module 21221 is electrically connected to the data terminal.
[0180] The above method further includes:
[0181] During the communication process, the first module 21221 of the consumable chip 210 receives the first instruction information sent by the printing device 110 through the data terminal.
[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 to the clock terminal.
[0184] The above method further includes:
[0185] During the communication process, the first module 21221 of the consumable chip 210 receives the clock signal sent by the printing device 110 through the clock terminal.
[0186] At this time, the second module 21222 of the consumable chip 210 obtains 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 obtains 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 to 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: 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 to the clock terminal and the data terminal.
[0193] In the above step S1401, the second module 21222 of the consumable chip 210 acquires the clock signal and the first instruction information, including:
[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 above 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 during the communication process.
[0197] The first module 21221 receives the clock signal and the first instruction information sent by the second module 21222 , 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 manner, the sum of the time for the first module 21221 to generate the response information and the time for the second module 21222 to send the response information to the printing device 110 is not greater than the response waiting time preset by the printing device 110.
[0200] As a possible implementation manner, the first level signal is a high level signal, and the second level signal is a low level signal.
[0201] Corresponding to the above embodiment, the present application also provides a consumable box including the consumable chip 210 described in the above embodiment.
[0202] Corresponding to the above-mentioned embodiment, the present application further provides an image forming device, including the consumable chip 210 described in the above-mentioned embodiment or including the consumable box described in the above-mentioned embodiment.
[0203] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.
[0204] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A chip, characterized in that: The chip communicates with the image forming device, and 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 to receive a clock signal from the image forming device, and the data terminal is used to send or receive a data signal. The first module is used to send response information to the image forming device during the communication process. The second module is electrically connected to the first module and outputs a target signal to the first module. The first module controls the stop of a read operation or a write operation of the first module based on the target signal. The chip is used for During the communication process, the second module acquires a clock signal and first instruction information; the first instruction information is instruction information currently executed by the first module; When the first instruction information is the instruction information of the first type, the second module determines that the instruction information of the first type ends if the clock signal is not detected to be an alternating first level signal and a second level signal within a first preset time period based on the clock signal, and changes the target signal output to the first module 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 instruction information of the second type, the second module determines the end time corresponding to the instruction information of the second type in a preset manner based on the content of the instruction information of the second type, 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.
2. The chip according to claim 1, characterized in that: The first module is electrically connected to the data terminal; The chip is further used for, during the communication process, the first module receiving the first instruction information sent by the image forming device through the data terminal; The first module is used to send response information to the image forming device during 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.
3. The chip according to claim 2, characterized in that: The first module is electrically connected to the clock terminal; The chip is further used for, during the communication process, the first module receiving the clock signal sent by the image forming device through the clock terminal; The second module acquiring the clock signal includes: The second module receives the clock signal sent by the first module.
4. The chip according to claim 3, characterized in that: The second module acquiring the first instruction information includes: The second module receives the first instruction information sent by the first module.
5. The chip according to claim 2, characterized in that: The second module is electrically connected to the data terminal and the clock terminal; 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.
6. The chip according to claim 1, characterized in that: The second module is electrically connected to the clock terminal and the data terminal; 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 chip is further used for the second module to send the clock signal and the first instruction information to the first module during the communication process; The first module is used to send response information to the image forming device during the communication process, including: 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 device through the data terminal.
7. The chip according to claim 6, characterized in that: The sum of the time for the first module to generate the response information and the time for the second module to send the response information to the image forming device is not greater than the response waiting time preset by the image forming device.
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 in that: Applied to the chip according to any one of claims 1 to 8, the method comprising: During the communication process, the second module of the chip obtains a clock signal and first instruction information; the first instruction information is instruction information currently executed by the first module of the chip; When the first instruction information is the instruction information of the first type, the second module of the chip determines that the instruction information of the first type ends based on the clock signal if the clock signal is not detected to be an alternating first level signal and a second level signal within a first preset time period, and changes the target signal output to the first module from the first level signal to the second level signal at the end time of the instruction information of the first type; When the first instruction information is the instruction information of the second type, the second module of the chip determines the end time corresponding to the instruction information of the second type in a preset manner based on the content of the instruction information of the second type; at the end time, the target signal output to the first module is changed from the first level signal to the second level signal; The first module of the chip receives the target signal, and stops the read operation or the write operation when detecting that the target signal changes from a first level signal to a second level signal.
10. A consumables box, characterized in that: A chip comprising any one of claims 1 to 8.
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
Communication method, consumable chip and consumable
CN117261441A
Image forming system
US20160261762A1
Processors, methods, and systems to allocate load and store buffers based on instruction type
US20170286114A1
Cited By
Chip, communication method and consumable box
CN120229010A