Chip, device and data transmission method

By introducing an interference module into the chip, it interferes with the data bus when receiving private data sent by the host to ensure that the data is not leaked. This solves the problem that existing chips cannot prevent private data leakage and achieves safe data transmission.

CN114590041BActive Publication Date: 2024-08-30APEX MICROELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210259189.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2024-08-30
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

Existing chips cannot effectively prevent the leakage of private data when communicating with the host. Third parties can obtain private data by monitoring and collecting the communication waveforms between the host and the chip.

Method used

When receiving the second data sent by the host, the chip is in the second working state and interferes with the data bus to make the received data different from the original data, thereby avoiding data leakage.

Benefits of technology

It effectively prevents the leakage of private data, ensures data security, and prevents third parties from obtaining the private data sent by the host to the chip through detection or collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114590041B_ABST
    Figure CN114590041B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a chip, a device and a data transmission method, wherein the chip is used to: establish a communication connection with the host, and receive the first data and the second data sent by the host to the chip; wherein the chip can be in the first working state or the second working state; when the chip is in the second working state, the second data is interfered with during the second downlink period of receiving the second data. In the embodiment of the present application, the chip can interfere with the preset data sent by the host to the chip, so as to prevent others from obtaining the private data sent by the host to the chip by detecting and collecting the communication waveform between the host and the chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a chip, a device and a data transmission method. Background Art

[0002] In the field of communication, there is a communication method between a host and a slave, in which the communication sequence is initiated by the host and the slave responds passively. The start and end of the communication between the two parties are controlled by the host, so the slave is always in a state of passive access and response.

[0003] In some scenarios, the host may send private data to the slave. For example, when the host authenticates a chip as a slave, it may send private data to the chip in the authentication instruction. The private data may include information related to the communication password and communication status. However, when competitors detect the communication waveform between the host and the chip through monitoring, collection, etc., they can obtain these private data. However, when existing chips communicate with the host, as slaves, they can only passively receive these private data and cannot prevent the host from transmitting these private data. Summary of the invention

[0004] In view of this, the present application provides a chip, a device and a data transmission method, so as to solve the problem in the prior art that private data sent to the chip can be easily obtained by a third party, resulting in leakage of private data.

[0005] In a first aspect, an embodiment of the present application provides a chip for communicating with a host, wherein the chip is used to:

[0006] Establishing a communication connection with the host, and receiving first data and second data sent by the host to the chip;

[0007] The chip may be in a first working state or a second working state; when the chip is in the second working state, the second data is interfered with during a second downlink period of receiving the second data.

[0008] In a possible implementation, when the chip is in the first working state, during a first downlink period of receiving the first data, the first data is not interfered with, so that the chip receives the first data.

[0009] In a possible implementation, the chip is used to establish a communication connection with the host via a data bus. When the chip is in the second working state, during a downlink period of receiving the second data, the chip interferes with the data bus to interfere with the second data.

[0010] In a possible implementation manner, the second data is interfered with so that a part or all of the bit values ​​in the third data received by the chip are different from those of the second data.

[0011] In a possible implementation manner, the third data includes a continuous first bit stream, and all bit values ​​of the first bit stream are the same.

[0012] In a possible implementation manner, the first bit stream accounts for 100% of the third data.

[0013] In a possible implementation, the third data further includes a continuous second bit stream, all bit values ​​of the second bit stream are the same, and bit values ​​of the first bit stream and the second bit stream are different.

[0014] In a possible implementation manner, the first bit stream and the second bit stream each account for 50% of the third data.

[0015] In a possible implementation manner, bit values ​​of odd bits in the third data are all the same;

[0016] Alternatively, the bit values ​​of even-numbered bits in the third data are all the same;

[0017] Alternatively, the bit values ​​of the odd bits in the third data are all the same, and the bit values ​​of the even bits in the third data are all the same, and the bit values ​​of the odd bits in the third data are different from the bit values ​​of the even bits in the third data.

[0018] In a possible implementation, when the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the data bus includes:

[0019] When the chip is in the second working state, during a second downlink period of receiving the second data, a high level and / or a low level is output to the data bus to interfere with the second data.

[0020] In a possible implementation manner, outputting a high level and / or a low level to the data bus to interfere with the second data includes:

[0021] The second data is disturbed by outputting a continuous high level to the data bus; and / or the second data is disturbed by outputting a continuous low level to the data bus.

[0022] In a possible implementation manner, outputting a high level and / or a low level to the data bus to interfere with the second data includes:

[0023] The second data is interfered with by outputting high and low level signals corresponding to the interference data to the data bus.

[0024] In a possible implementation, when the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes:

[0025] If the chip receives the fourth data sent by the host, the chip interferes with the second data during the second downlink period of receiving the second data.

[0026] In a possible implementation, when the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes:

[0027] If the electrical signal of the chip matches the preset judgment condition, the second data is interfered with during the second downlink period of receiving the second data.

[0028] In a possible implementation, the electrical signal includes one or a combination of the following signals:

[0029] Clock signal, power signal, reset signal, set signal and data signal.

[0030] In a possible implementation, when the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes:

[0031] When the chip is in the second working state, during a second downlink period of receiving the second data, part of the second data is interfered with.

[0032] In a second aspect, an embodiment of the present application provides a device, comprising the chip described in any one of the first aspects.

[0033] In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to a chip, wherein the chip is used to connect to a host through a data bus, and the chip can be in a first working state or a second working state, and the method includes:

[0034] When the chip is in the second working state, during a second downlink period of receiving second data, the second data sent by the host to the chip through the data bus is interfered with, so that third data received by the chip is different from the second data.

[0035] In a possible implementation, when the chip is in the first working state, during a first downlink period of receiving first data, the first data sent by the host to the chip through the data bus is not interfered with, so that the chip receives the first data.

[0036] In an embodiment of the present application, the chip can interfere with preset data sent by the host to the chip to prevent others from obtaining private data (preset data) sent by the host to the chip by means of detecting and collecting communication waveforms between the host and the chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] 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.

[0038] Figure 1 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;

[0039] Figure 2 A schematic diagram of the structure of another communication system provided in an embodiment of the present application;

[0040] Figure 3 A schematic diagram of the structure of another communication system provided in an embodiment of the present application;

[0041] Figure 4 A schematic diagram of a circuit structure of a communication system provided in an embodiment of the present application;

[0042] Figure 5 A schematic diagram of second data and third data provided in an embodiment of the present application;

[0043] Figure 6 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0044] Figure 7 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0045] Figure 8 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0046] Fig. 9 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0047] Fig.10 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0048] Fig.11 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0049] Fig.12 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0050] Fig.13 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0051] Fig.14 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0052] Fig.15 Another schematic diagram of second data and third data provided in an embodiment of the present application;

[0053] Fig.16 A schematic diagram of an interference scenario provided in an embodiment of the present application;

[0054] Fig.17 A schematic diagram of an interference scenario provided in an embodiment of the present application;

[0055] Fig.18 A schematic diagram of an interference scenario provided in an embodiment of the present application;

[0056] Fig.19 A schematic diagram of an instruction format provided in an embodiment of the present application;

[0057] Fig. 20 Another instruction format diagram provided in an embodiment of the present application;

[0058] Fig.21 A communication timing diagram provided for an embodiment of the present application;

[0059] Fig. 22 A schematic diagram of the structure of a consumable chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] See also Figure 1 , is a schematic diagram of the structure of a communication system provided in an embodiment of the present application. Figure 1 As shown, the communication system includes a host 100 and a chip 200 (a slave corresponding to the host 100), a communication port 101 is provided on the host 100, and an interface module 201 is provided on the slave, a communication link 300 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 300. Among them, the communication link 300 is a contact communication link 300, that is, a wired communication link 300. Specifically, the communication port 101 and the interface module 201 can be electrically connected through a contact pin, a contact point or a spring to establish a communication link 300. In other embodiments, the communication link 300 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. In some possible implementations, the communication link 300 may also be referred to as a data bus. Generally, when the host 100 and the chip 200 communicate, a time-sharing transmission and reception method is adopted to realize two-way transmission and reception of information (i.e., duplex communication). For example, in the downlink period, the host 100 is the sender and the chip 200 is the receiver. When the host 100 sends a signal to the chip 200, the chip 200 as a slave can only passively receive the signal sent by the host 100; in the uplink period, the chip 200 is the sender and the host 100 is the receiver. When the chip 200 sends a signal to the host 100, the host 100 can only receive the signal sent by the chip 200. If such a sending and receiving rule is not followed, the signal sent by one party cannot be transmitted normally, and the other party cannot correctly receive the signal sent by the other party.

[0065] In particular, when the input and output of the chip are both through the interface module 201, the interface module 201 cannot simultaneously receive input signals and output its own signals. Therefore, in the communication protocol, it is generally strictly stipulated that during the downlink period when the host sends a signal, the chip as a slave must only be in a receiving state of receiving signals and is prohibited from changing to a sending state of sending signals.

[0066] 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. In one example, the host can be a computer, and the chip can be a peripheral device / device of the computer. In another example, the host can be a mobile terminal (such as a mobile phone, tablet computer, PDA, etc.), and the chip is an accessory or peripheral device or device of the mobile terminal, such as a lithium battery chip, a wearable device chip, etc. For example, in Figure 2 In the application scenario shown, 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 310 is established between the communication port 111 and the interface module 211. The printing device 110 and the consumable chip 210 can transmit information through the communication link 310. 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, in the downlink period, the printing device 110 is the sender and the consumable chip 210 is the receiver. When the printing device 110 sends a signal to the consumable chip 210, according to the communication rules, the consumable chip 210 as a slave can only passively receive the signal sent by the printing device 110.

[0067] 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.

[0068] During the imaging process, the printing device 110 needs the assistance of the imaging auxiliary information of the consumable box to complete the imaging process. 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 recognition 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 send the status and related information of the printing job to the consumable chip 210.

[0069] In some scenarios, the printing device 110 may send private data to the consumable chip 210. For example, when the printing device 110 authenticates the consumable chip 210, it may send private data to the consumable chip 210 in the authentication instruction. The private data may include information related to the communication password and the communication status. However, when competitors monitor and collect the communication waveform between the printing device 110 and the consumable chip 210, they can obtain these private data. However, when the existing consumable chip 210 communicates with the printing device 110, as a slave, it can only passively receive these private data during the downlink period, and cannot prevent the printing device 110 from transmitting these private data.

[0070] In view of the above problems, a consumable chip 210 provided in an embodiment of the present application further includes an interference module 212, such as Figure 3 The interference module 212 is used to interfere with the data sent by the printing device 110 to the consumable chip 210 through the data bus during the downlink period, so that the data detected on the data bus (that is, the data received by the consumable chip through the interface module 211) is different from the data sent by the printing device 110. For the convenience of explanation, the data that the printing device 110 does not need to interfere with is referred to as the first data, and the data that needs to be interfered with is referred to as the second data; the downlink period that does not need to send interference information is referred to as the first downlink period, and the downlink period that needs to send interference information is referred to as the second downlink period.

[0071] Specifically, the interference module 212 is used to interfere with the second data sent by the printing device 110 to the consumable chip 210 through the data bus during the second downlink period, so that the data detected on the data bus (that is, the consumable chip receives it through the interface module 211) is the third data, wherein the third data is different from the second data. The second data is private data, that is, data that is not expected to be detected or collected by a third party on the communication link 310. For example, various passwords, verification data, integrity data, secret keys, etc., or simply data that indicates a specific meaning, such as data indicating that the chip is working properly, or certain parameter data required by the chip. As long as it is for a certain purpose and is not expected to be obtained by others through the acquisition communication process, it can be the second data. The third data is the data detected and collected by a third party on the communication link 310. Since the consumable chip 210 receives data through the communication link 310 (data bus), the consumable chip 210 also receives the third data. Specifically, when the printing device 110 sends the second data to the consumable chip 210 through the communication link 310, the consumable chip 210 outputs an interference signal to the printing device 110 through the interface module 211, thereby interfering with and affecting the second data sent by the printing device 110 to the chip through the data bus, preventing others (third parties) from detecting and collecting the second data on the data bus between the printing device 110 and the consumable chip 210, thereby ensuring the security of the second data.

[0072] In a specific implementation, if the printing device 110 and the consumable chip 210 communicate serially, then the general data bus is a single data line. For example, in the IIC protocol, there are power lines, clock lines, data lines and ground lines between the printing device 110 and the consumable chip 210. At this time, the consumable chip 210 only needs to interfere with the data signal on the data line, so that the second data sent by the printing device 110 is different from the third data collected and detected on the data line. For a single bus protocol, the data line and other signal lines are shared. Therefore, when the signal line is used as a data line, the consumable chip 210 can interfere with the data signal on the signal line. If the consumable chip 210 and the printing device 110 transmit data in parallel, the data bus includes multiple data lines. At this time, the consumable chip 210 can choose to interfere with the data signals on all data lines in all data buses, or can only interfere with one or part of the data signals. Regardless of the form of the data bus between the printing device 110 and the consumable chip 210 , the final result is that the second data sent by the printing device 110 is different from the third data collected on the data bus.

[0073] The consumable chip 210 interferes with the second data transmitted by the printing device 110 on the data bus, which may be to change the level of the data bus to a low level or a high level independently of the printing device 110 when the printing device 110 transmits the second data. Generally speaking, when the printing device 110 transmits data to the outside in the downlink period, the level signal on the data bus is controlled by the printing device 110. If the printing device 110 wants to send data 1, the data bus is set to a high level, and if the printing device 110 wants to send data 0, the data bus is set to a low level. During the period when the printing device 110 sends the second data, the consumable chip 210 can actively control the level signal of the data bus, set the data bus to a high level or a low level, and change the data transmitted on the data bus, so that the third data on the data bus is different from the second data sent by the printing device 110. For example, during the period when the printing device 110 sends the second data, the data bus can be forced to be set to a high level or a low level, so that the third data collected from the data bus will be all 0 or all 1. At this time, the third data received by the consumable chip is also all 0 or all 1.

[0074] To explain how the interference signal prevents the printing device 110 from sending the second data, a specific circuit structure is described below.

[0075] See also Figure 4 , is a schematic diagram of a circuit structure of a communication system provided in an embodiment of the present application. Figure 4 As shown, the printing device 110 communicates with the consumable chip 210 through contact communication (i.e., wired communication). The printing device 110 includes a communication port 111. In a specific implementation, the communication port 111 may be a stylus, a contact point, or a spring that transmits electrical signals through contact. The consumable chip 210 includes an interface module 211, which may be a stylus, a contact point, or a spring corresponding to the communication port 111. When the consumable chip 210 is installed on the printing device 110, the communication port 111 of the printing device 110 is in physical contact with the interface module 211 of the consumable chip 210, thereby constructing a data bus between the two. Figure 4 In the figure, the communication link 310 (the communication link 310 takes the SDA line that only transmits data signals as an example) is used to represent that at the signal collection point K on the communication link 310, the signal waveform of the communication between the printing device 110 and the consumable chip 210 can be detected and collected, and the communication data can be obtained by analyzing and interpreting the signal waveform, that is, the aforementioned third data can be detected.

[0076] Figure 4The communication link 310 in the example is described by using the IIC (Inter-Integrated Circuit) communication protocol. The printing device 110 transmits signals to the outside through the communication port 111. The signal node M in the printing device 110 is connected to the communication port 111 and is connected to the high-level signal VCC through the pull-up resistor R1. In the downlink period, the controlled switch S1 is selectively connected to the low level according to the signal to be sent (the ground GND is used as the low level in the figure. In order to avoid excessive discharge current, a current limiting resistor R2 can generally be connected in series between the controlled switch S1 and the ground GND). Therefore, the level of the signal node M can be changed according to the signal to be transmitted. When the printing device 110 needs to output a high level to the outside, the controlled switch S1 is disconnected, and the communication port 111 connected to the signal node M outputs a high level to the outside; when the printing device 110 needs to output a low level to the outside, the controlled switch S1 is closed, and the communication port 111 connected to the signal node M outputs a low level to the outside.

[0077] Similarly, in the consumable chip 210, a signal node N is also provided, and the signal node N is connected to the interface module 211 and connected to the high level signal VCC through the pull-up resistor R3. In the uplink period, the controlled switch S2 is selectively connected to the low level (the ground GND is used as the low level in the figure, and similarly, in order to avoid excessive discharge current, a current limiting resistor R4 can generally be connected in series between the controlled switch S2 and the ground GND), so the level of the signal node N can be changed according to the signal to be transmitted. When the consumable chip 210 receives the signal of the printing device 110 as a slave, that is, in the downlink period, the controlled switch S2 is disconnected, so the signal level on the communication link 310 is determined by the printing device 110. It is known to those skilled in the art that the level of the signal acquisition point K on the communication link 310 (data bus) is the same as the level of the signal node N in the consumable chip 210, so changing the level of the signal node N can change the level of the communication link 310 (data bus). Since the consumable chip 210 receives data via the communication link 310 (data bus), the third data received by the consumable chip at the signal node N is the same as the aforementioned third data detected at the signal collection point K.

[0078] From the above circuit analysis, it can be known that when the consumable chip 210 needs to output an interference signal or send data to the communication port 111 of the printing device 110 through the interface module 211, it can no longer comply with the communication rules in the downlink period and change from the receiving state to the output state. The controlled switch S2 can be closed to output a low level to the outside. At this time, the level on the communication link 310 will be forced to be pulled down to a low level, and the signal collected at the signal collection point K on the communication link 310 will no longer be the same as the second data sent by the printing device 110. In this embodiment, the pull-up resistor R3, the controlled switch S2 and the current limiting resistor R4 constitute the above-mentioned interference module 212, or the pull-up resistor R3 and the controlled switch S2 constitute the above-mentioned interference module 212. According to different design requirements, the pull-up circuit may not be set in the consumable chip 210. At this time Figure 4 The pull-up resistor R3 and the high-level signal VCC connected thereto may be omitted, and the interference module 212 is only composed of the controlled switch S2.

[0079] It is understandable that the second data sent by the printing device to the consumable chip usually includes multiple bits. In the embodiment of the present application, the second data and the third data are different, and all bit values ​​in the third data are different from the second data; or some bit values ​​in the third data are different from the second data. In other words, the interference module can interfere with all data in the second data, or only interfere with part of the data in the second data. For ease of explanation, multiple consecutive bits in the data are referred to as bit streams in the following.

[0080] In a possible implementation, the third data includes a first bit stream, which is data collected by interfering with the second data. The first bit stream may be all the third data, that is, the first bit stream accounts for 100% of the third data, such as Figure 5 As shown; the first bit stream may also be part of the third data, that is, the first bit stream accounts for less than 100% of the third data, such as Figure 8 Specifically, the proportion of the first bit stream in the third data may be 40%, 50%, 70%, etc., which is not limited in the embodiment of the present application.

[0081] In a specific implementation, the first bit stream may be interfered into specific data through interference according to a protocol or a preset interference strategy.

[0082] In a possible implementation, the first bit stream is disturbed to have the same bit value. For example, the bit values ​​in the first bit stream are all 0, such as Figure 6 and Fig. 9 That is, no matter what the bit value of the second data is, the bit value in the first bit stream of the third data is 0. Or, all the bit values ​​in the first bit stream are 1, such as Figure 7 and Fig.10 That is, no matter what the bit value of the second data is, the bit value of the first bit stream in the third data is 1. It can be understood that Figure 6 and Figure 7 For Figure 5 The corresponding bit value; Fig. 9 and Fig.10 For Figure 8 The corresponding bit value.

[0083] In a possible implementation, the third data may include a second bit stream in addition to the first bit stream, such as Fig.11 As shown. According to the protocol or the preset interference strategy, the first bit stream can be interfered to have the same bit value and the second bit stream can be interfered to have the same bit value through interference, and the bit values ​​of the first bit stream and the second bit stream are different. Fig.12 In , the bit values ​​of the first bit stream are all 1, and the bit values ​​of the second bit stream are all 0; Fig.13 In the example, the bit values ​​of the first bit stream are all 0, and the bit values ​​of the second bit stream are all 1.

[0084] In addition, in the embodiment of the present application, the proportion of the first bit stream and the second bit stream in the third data is 50%. Of course, those skilled in the art can also set other proportions, for example, the proportion of the first bit stream in the third data is 40%, and the proportion of the second bit stream in the third data is 60%. Specifically, it can be agreed according to the protocol or interference strategy, and the sum of the proportions of the first bit stream and the second bit stream in the third data does not necessarily need to be 100%, and the sum of the proportions can be less than 100%, and the embodiment of the present application does not limit this.

[0085] In a possible implementation, the odd bits and even bits in the second data may be interfered respectively to obtain the corresponding third data. Fig.14 In, the odd bits of the second data are interfered to 1, and the even bits are interfered to 0; Fig.15 In the example, the odd bits of the second data are interfered to 0, and the even bits are interfered to 1. Of course, those skilled in the art may also interfere only with the odd bits or the even bits, and the embodiment of the present application does not limit this.

[0086] To more specifically explain how the interference signal affects the transmission of the preset data (the second data), the embodiment of the present application combines Figures 16 to 18 Describes how it works.

[0087] See also Fig.16 , is a schematic diagram of an interference scenario provided in an embodiment of the present application. Fig.16The clock signal (Clock line) and data signal (Data line) transmitted from the printing device to the consumable chip, the first interference signal "Interference 1" output by the consumable chip, and the first mixed signal "Mixed 1" (i.e., the third data) collected at the signal collection point of the communication link, which is mixed with the data signal and the first interference signal. Fig.16 In the example, the transmission of one byte, i.e., 8 bits of preset data, is used for explanation. Fig.16 The preset data (second data) in is the hexadecimal number E2, which is converted into a binary number of "11100010". A high level represents 1 and a low level represents 0. The waveform of the preset data is the graph shown by the Data line in the figure.

[0088] In the downlink period, the first interference signal that the consumable chip actively outputs to the communication port of the printing device is that the first 4 bits maintain a high level, and the last 4 bits are low. The corresponding binary number is "1111 0000", which is the hexadecimal number F0. Figure 4 From the communication characteristics in the figure, it can be seen that when the last 4 bits are pulled low, the level of the Data line will be forced to be pulled low, so the third data collected at the signal collection point of the communication link is "1110 0000", that is, the hexadecimal number E0. It can be seen that in the downlink period, the consumable chip outputs an interference signal to the printing device, so that others cannot detect the preset data E2 (second data) from the communication port, and the detected collected data is E0 (third data), thereby avoiding the leakage of the preset data (second data).

[0089] Similarly, in Fig.17 In the downlink period, the second interference signal actively output by the consumable chip to the communication port of the printing device is that the first 4 bits are pulled low, and the last 4 bits are maintained at a high level, and the corresponding binary number is "0000 1111", that is, the hexadecimal number 0F. Then the first 4 bits of the preset data E2 can be forced to be pulled low, so that the collected data / third data (the second mixed data "Mix 2") is changed to 02.

[0090] In the above example, when the preset data is one byte or multiple bytes, the interference signal output by the consumable chip causes half of the preset data to change to the same value (0, ie, low level).

[0091] In other embodiments, the preset data includes one bit or multiple bits. The interference signal output by the consumable chip of this embodiment can cause at least one bit in the preset data to change, which can also prevent the leakage of the preset data.

[0092] In order to make the collected signal (third data) after the interference signal is transmitted to the printing device have identifiable characteristics, the interference signal can be selectively output so that all bits of the third data are the same, for example, all bits are 1 or all are 0. Or half of the bits of the third data are the same, for example, the first half of the bits are all 1 or all are 0, or the second half of the bits are all 1 or all are 0. In other embodiments, when the preset data includes multiple bits, the interference signal output by the consumable chip changes the odd bits or even bits in the preset data to the same value, such as Fig.18 The third interference signal AA and the fourth interference signal 55 shown can change the even bits or odd bits in the preset data to the same value 0 (low level).

[0093] Similarly, when the preset data includes multiple bytes, the interference signal output by the consumable chip can change the odd bytes or even bytes in the preset data to the same value.

[0094] Although the interference signal is illustrated by a low level in the above embodiments, in other output signal structures, the interference signal may also be a high level signal. The high level and low level referred to in the present invention refer to the definition of high and low levels in digital circuits, for example, a high level is a voltage between 2.5-5V, and a low level is a voltage between 0-1.5V. Furthermore, the interference signal may also be a signal that makes the level of the preset data unrecognizable. For example, the level of the preset data transmission is interfered to be between a high level and a low level, so that the waveform detected by others cannot be determined whether it is a high level or a low level, and thus the preset data cannot be known.

[0095] It should be noted that the interference signal is not necessarily required to have the same length as the preset data, for example Fig.17 In the example, the second interference signal outputs a low level only in the first 4 bits, and the last 4 bits do not interfere with the preset data. Therefore, the first interference signal can be understood as only including the first 4 bits of data "0000". Similarly, Fig.16 The interference signal in the data is only the low level "0000" of the last 4 bits, and the length of the interference signal output by the consumable chip can be less than the length of the preset data.

[0096] In the present application, the second data is defined as private data. After being interfered by the consumable chip, the consumable chip cannot receive these private data. In order to ensure that the consumable chip can still work normally without receiving the second data, the consumable chip can be regarded as unnecessary redundant data for the consumable chip. For this unnecessary redundant data, the consumable chip interferes with it in the downlink period, so it will not affect the normal operation of the consumable chip; in the downlink period, the printing device, as the sender, only considers sending the second data. As long as the consumable chip can give correct feedback in the uplink period, it will not affect the normal operation of the printing device. In other words, the consumable chip of the present application interferes with the second data transmitted by the printing device while ensuring that the printing device can work normally. This is different from the situation where the second data is randomly interfered due to environmental factors such as electromagnetic interference, poor contact or abnormal power supply, which causes the printing device to fail to work normally or the printing device and the consumable chip cannot communicate. Because the interference caused by environmental factors is random, it may not only affect the downlink period of communication, but also interfere with and affect the uplink period of communication. The normal operation of the printing device means that when the consumable chip is installed on the printing device, after the printing device accesses and detects the consumable chip, the printing device does not report an error or stop the printing job.

[0097] It is understandable that the interference of the consumable chip on the data transmitted in the data bus cannot affect the normal communication between the printing device and the consumable chip. In other words, the consumable chip only needs to interfere with the second data transmitted in the data bus (that is, the privacy data described above, the unnecessary data), so it is necessary to judge the interference timing of the consumable chip.

[0098] In a possible implementation, two working states can be configured for the consumable chip, and the working state of the consumable chip is used as a basis for judging the timing of interference. For the sake of convenience, the two working states of the consumable chip are respectively referred to as the first working state and the second working state, and the consumable chip can be in the first working state or the second working state. Among them, the first working state is consistent with the consumable chip of the prior art. When the consumable chip is in the first working state, the first data is not interfered with during the first downlink period of receiving the first data, so that the consumable chip can receive the first data; when the consumable chip is in the second working state, the second data is interfered with during the second downlink period of receiving the second data. After interfering with the second data, the third data received by the consumable chip can be different from the second data, for example, some or all of the bit values ​​in the third data are different from the second data, thereby avoiding the leakage of the second data. The specific principle of interference can be found in the description of the above embodiment. For the sake of brevity, it will not be repeated here.

[0099] In a specific implementation, the consumable chip can determine the timing of entering the first working state and the second working state in a variety of ways. In the following embodiments, the timing of the consumable chip entering the second working state is mainly described. It can be understood that when the consumable chip is not in the second working state, it is usually in the first working state, that is, the consumable chip can only be in the first working state or the second working state at the same time.

[0100] In a possible implementation, before the printing device sends the second data to the consumable chip, it first sends the fourth data to the consumable chip, so that the consumable chip can judge whether the printing device is to enter the second working state based on the fourth data. Specifically, if the consumable chip receives the fourth data, it enters the second working state, and then interferes with the data sent by the printing device. The fourth data can be interactive authentication data, or conventional response data, etc. The fourth data and the second data can be data both in one instruction, or data in different instructions. When the fourth data and the second data are in one instruction, the fourth data can be the header of the instruction, and the second data can be the data contained in the instruction. When the fourth data and the second data are in different instructions, the fourth data can be data in the first instruction, and the second data can be data in the second instruction, and the first instruction is sent to the chip before the second instruction.

[0101] In a specific implementation, the consumable chip can determine whether to enter the second working state by the length of the fourth data; or, the consumable chip determines whether the printing device is to enter the second working state by the content of the fourth data. For example, the address information of the second data is given in the fourth data, and the consumable chip can know that the printing device is ready to send the second data through the address information, and the consumable chip enters the second working state at this time. It can also be that the fourth data includes some flag data, and after the consumable chip receives these flag data, it determines that the printing device is ready to send the second data according to these flag data, or the fourth data clearly indicates that the second data is to be sent, etc., and the consumable chip enters the second working state at this time. The consumable chip can also determine that the current printing device is ready to send the second data according to the communication result after the printing device sends the fourth data, and then the consumable chip enters the second working state. For example, the printing device first performs interactive verification of the fourth data with the consumable chip, and after the verification is completed, it can be determined that the printing device is ready to send the second data, and then the consumable chip enters the second working state. In short, the consumable chip can determine whether the printing device is to send the second data according to the fourth data communicated with the printing device, and then enter the second working state according to the judgment result. The specific judgment rule can be flexibly set according to the communication rule between the printing device and the consumable chip.

[0102] Of course, although the printing device sends the fourth data to the consumable chip before sending the second data, the consumable chip may not judge whether the printing device enters the second working state based on the fourth data. Instead, it is judged based on other signals or signals transmitted by other lines. For example, when the fourth data is received, the clock timing is used to judge whether the printing device is sending the second data, and then determine whether it is necessary to enter the second working state. For another example, based on the clock signal of the communication between the printing device and the consumable chip, or the changes in electrical characteristics or electrical signals such as power signals, reset signals, set signals, and data signals. As long as any signal change matches the preset judgment condition in the communication between the printing device and the consumable chip, it can be used as the basis for the consumable chip to judge whether the printing device is to send the second data, that is, whether it is necessary to enter the second working state.

[0103] In another possible implementation, if the printing device does not send the fourth data to the consumable chip before sending the second data, the consumable chip can determine whether it needs to enter the second working state by judging whether the consumable chip is powered. For example, as long as the consumable chip starts to be powered, it is assumed to interfere with the data sent by the printing device, so that when the printing device does not send the fourth data, it can also be judged whether the consumable chip needs to enter the second working state. It can also be judged by the reset end, clock end, etc. of the consumable chip. As long as there is a signal sent from these ports, it can be judged that the consumable chip needs to enter the second working state. Of course, it is also possible to monitor whether there is a signal at the data end, and if there is, it means that the consumable chip needs to enter the second working state. In addition, there are other electrical signal changes, such as continuous power on and power off (power on means that the printing device supplies power to the power port of the consumable chip, and power off means that the printing device stops supplying power to the port of the consumable chip), when a capacitor is set on the consumable chip, the voltage after the capacitor is charged is detected, etc. These methods can be used to determine whether the consumable chip needs to enter the second working state.

[0104] In one embodiment, after entering the second working state, the consumable chip can interfere with the second data immediately, or wait for a while before executing. In other words, after judging that the printing device is ready to send the second data, the consumable chip can interfere with the second data immediately, or wait for a while before executing, which depends on the processing speed of the consumable chip or the setting of the consumable chip. For example, if the processing speed of the consumable chip is fast, it can interfere immediately after judging that the printing device is ready to send the second data. However, if the consumable chip is limited by hardware conditions and has a slow processing speed, it can wait for a while before interfering with the second data after judging that the printing device is ready to send the second data. In the case where the conditions for judging whether the printing device sends the second data are relatively complex, it is preferred to interfere with the last part of the second data, so that the consumable chip has enough time to judge, even if the consumable chip judges that the printing device is sending the second data, the printing device has sent part of the second data. The consumable chip can also choose to interfere with the middle part of the second data, so that the consumable chip can end the interference with the second data in advance and does not affect the subsequent communication work. When the performance of the consumable chip is very excellent, it can choose to interfere with all the second data. In short, as long as the second data can be interfered with so that others cannot obtain the complete or accurate second data, it will be fine.

[0105] When the consumable chip enters the second working state, while the printing device is sending the second data, from the data bus, the data bus transmits the third data that is interfered by the consumable chip, which is different from the second data sent by the printing device itself. In this way, those methods that obtain the communication data between the printing device and the consumable chip by monitoring the data bus can only obtain the third data, and cannot obtain the true and accurate second data. Of course, the consumable chip can also actively send interference data to the data bus (the data corresponding to the interference signal in the aforementioned embodiment is called interference data), and the interference data and the second data sent by the printing device are superimposed on the data bus to form the third data on the data bus.

[0106] In order to ensure normal communication between the consumable chip and the printing device, the consumable chip needs to correctly respond to various requests of the printing device after interfering with the second data sent by the printing device. It cannot always interfere with all the data sent by the printing device in the downlink period. Therefore, when the consumable chip stops interfering with the second data, it is also necessary to enter the first working state to respond to the printing device according to the communication protocol requirements between the consumable chip and the printing device, indicating that the consumable chip has completed the reception of the second data. This response indicating that the consumable chip has completed the reception of the second data mainly depends on the communication protocol requirements between the consumable chip and the printing device, and different communication protocols have different requirements. It can be set according to actual conditions. For example, in the IIC communication protocol, the consumable chip needs to reply a response bit (ACK) for every 8 bits transmitted, indicating that 8 bits that meet the protocol standard have been received. Therefore, the consumable chip of the present invention stops outputting interference signals before the printing device detects the response bit (ACK) of the consumable chip, and enters the first working state to avoid the printing device from thinking that the consumable chip is abnormal. When the consumable chip replies to the response bit (ACK), the consumable chip is the sender and the printing device is the receiver. When the consumable chip replies to the response bit to the printing device, the printing device can only receive the response bit signal sent by the consumable chip. Therefore, the consumable chip is in the uplink period when it replies to the response bit. During the uplink period, the consumable chip acts as the sender, and the printing device does not transmit information to the outside, so the consumable chip does not need to output interference signals to the outside. At the same time, the consumable chip cannot actively output interference signals to the outside during the uplink period to avoid affecting the normal signals output by the consumable chip to the outside. This is also the difference between the selective interference of this application and the random interference during communication anomalies. The consumable chip provided in the embodiment of the present application can not only interfere with the second data sent by the printing device, but also respond normally to the work of the printing device to ensure normal communication between the consumable chip and the printing device. This makes it impossible for a third party to obtain the second data by monitoring the communication between the consumable chip and the printing device.

[0107] In a specific implementation, the data sent by the printing device to the consumable chip may be various instructions, such as a read instruction, a write instruction, an authentication instruction, a control instruction for a specific operation, etc. The second data may be part or all of the data in the instruction.

[0108] See also Fig.19, is a schematic diagram of an instruction format provided in an embodiment of the present application. The instruction format can be applied to instructions transmitted serially from a printing device to a consumable chip. It includes an instruction header, instruction data, an instruction check value 1, and an instruction check value 2 in sequence. In one embodiment, the instruction header indicates the type, access address, and length of the instruction; the instruction data is the data included in the instruction, indicating the information to be transmitted by the printing device to the consumable chip; the instruction check value 1 indicates that a certain algorithm is used to execute the algorithm on both the "instruction header and instruction data", and the verification result related to the two data is obtained, which is used to verify whether the data (instruction header and instruction data) is transmitted abnormally, for example, the instruction check value 1 is a cyclic redundancy check (CRC) of both the "instruction header and instruction data"; the instruction check value 2 is a further verification result that can be made on the three "instruction header, instruction data, and instruction check value 1", and its algorithm can be CRC or other verification algorithms.

[0109] After receiving this instruction, the consumable chip can identify each part of the instruction and, according to the requirements of the instruction, feedback the execution result after receiving the instruction. In the embodiment of the present application, according to the understanding and needs of the inventor, a type of data or part of the data in "instruction data, instruction check value 1 and instruction check value 2" can be regarded as private data, that is, preset data (that is, the second data mentioned above) that is not expected to be detected or collected by others, for example, instruction check value 2 is regarded as preset data. Therefore, when the consumable chip determines that the printing device has successively transmitted the instruction header, instruction data and instruction check value 1, it can output an interference signal to the printing device through the interface module, thereby interfering with and affecting the instruction check value 2 (that is, preset data / second data) output by the printing device. In this way, a third party cannot detect and collect instruction check value 2 on the communication link between the printing device and the consumable chip, and avoids the leakage of the second data in a clever way, thereby preventing the printing device from transmitting the second data to the outside in disguise.

[0110] In one embodiment, the instruction header, instruction data, and instruction check value 1 have fixed lengths, i.e., the number of bytes. For example, the instruction header is 8 bytes, the instruction data is 32 bytes, the instruction check value 1 is 2 bytes, and the instruction check value 2 is 8 bytes. When the printing device transmits the fourth data of the predetermined bit / byte quantity (8+32+2, a total of 42 bytes in this embodiment) to the consumable chip, the consumable chip outputs an interference signal to the communication port of the printing device through the interface module. Therefore, when the printing device transmits the 8-byte instruction check value 2 (i.e., the preset data / second data) to the consumable chip, the consumable chip outputs an interference signal to the communication link. The interference signal causes the 8-byte data (i.e., the third data, also referred to as the collected data) detected and collected by others from the communication link to be different from the instruction check value 2 (i.e., the preset data / second data).

[0111] It can be seen that in this embodiment, if the printing device starts to transmit the preset data after transmitting the fourth data of the predetermined number of bytes to the consumable chip, the interference signal output by the consumable chip of the present invention can make it impossible for others to detect the preset data from the communication port. If others detect and collect the preset data of the printing device at the communication port of the printing device at this time, the collected data (third data) that they can detect must be different from the preset data (second data).

[0112] The consumable chip can determine whether the printing device has transmitted a predetermined number of bits / bytes of data to the consumable chip by counting the number of received data (in bits or bytes). In other embodiments, the consumable chip can identify when the preset data (second data) will appear by judging the content of the instruction, the format of the instruction, and the sending duration of the timing instruction, thereby starting to output an interference signal. For example, in the aforementioned example, the preset data instruction check value 2 is transmitted to the consumable chip after the instruction check value 1, then the consumable chip can judge the content of the instruction, and when it is determined that the instruction check value 1 has been sent, it starts to output an interference signal; for another example, the printing device transmits the instruction header, instruction data and instruction check value 1 for 30ms, then the consumable chip can start timing when receiving the instruction, and start outputting an interference signal after timing to 30ms, thereby interfering with the preset data sent by the printing device, that is, the instruction check value 2.

[0113] In other embodiments, the instruction identifier may be used as the second data. The instruction identifier indicates the type or order of the instruction. For example, if the instruction is an authentication instruction, the instruction identifier may inform the consumable chip of which authentication instruction is transmitted, or indicate the location of the verification value.

[0114] See also Fig. 20, is another instruction format diagram provided by an embodiment of the present application. The instruction includes an instruction header, instruction data, an instruction identifier and an instruction check value in sequence. In an embodiment of the present application, the instruction identifier can be used as the second data. The instruction identifier indicates the category or order of the instruction. For example, if the instruction is an authentication instruction, the instruction identifier can inform the consumable chip that the instruction is the authentication instruction transmitted for which number, or indicate the location of the check value. For other contents of the embodiment of the present application, please refer to Fig.19 For the sake of brevity, the description of the illustrated embodiment will not be repeated here.

[0115] Through the description of the above embodiments, it can be found that the main difference between the consumable chip of the present application and the consumable chip of the prior art can be generally described as follows: the consumable chip of the present application has two working states, and the consumable chip can be in a first working state or a second working state. The first working state is consistent with the consumable chip of the prior art and does not interfere with the signal sent by the host; the second working state is to interfere with the signal sent by the host during the second downlink period when the host sends the second data, so that others can only collect third data different from the second data on the communication link between the host and the chip, thereby avoiding the leakage of the second data. To describe such a general description more specifically, the following is combined with Fig.21 The two working states of the consumable chip are explained.

[0116] See also Fig.21 , is a communication timing diagram provided in an embodiment of the present application. In the application scenario corresponding to the communication timing diagram, the host sends a clock signal to the consumable chip through the Clock line and sends a data signal to the consumable chip through the Data line. According to the communication protocol, after the host sends 8 bits (bit0 to bit7) of data in the synchronous clock signal, the consumable chip as a slave needs to reply with a response bit (acknowledge, ACK) at the 9th clock. Therefore, according to the definition of the aforementioned embodiment, when the host sends 8 bits of data, it is a downlink period; and when the consumable chip replies with a response bit, it is an uplink period. Fig.21 In the application scenario shown, it is assumed that the host sends the first data to the consumable chip in the first downlink period, and sends the second data to the consumable chip in the second downlink period. The consumable chip of the present application has two working states. In the first working state, the consumable chip does not output interference signals to the outside during the first downlink period of receiving information; in the second working state, the consumable chip outputs interference signals to the outside during the second downlink period of receiving the second data sent by the host to the chip. Fig.21 The interference signal in 5). Fig.21 In the example, a low-level signal is taken as an interference signal.

[0117] Therefore, through Fig.21As can be seen from the example in, the consumable chip of the present application changes to the second working state only in the second downlink period when the host sends the second data, thereby outputting an interference signal to the outside; when it is determined that the host does not send the second data (for example, the first downlink period when the first data is sent) or the host has sent the second data (for example, the third downlink period), the consumable chip returns to the first working state. Fig.21 In the example, the data collected by others on the communication link is Fig.21 The mixed signal 5 after the data sent by the host and the interference signal 5 are superimposed. In the first downlink period and the third downlink period, the data sent by the host is not interfered; while in the second downlink period, the second data sent by the host is interfered with as an 8-bit low level (i.e., the third data defined above), thereby achieving the effect of preventing the second data sent by the host from being leaked, and does not affect other signals sent by the host. The two working states of the consumable chip can be flexibly switched according to the time when the privacy data appears, thereby ensuring the normal communication between the host and the consumable chip while ensuring that the privacy data is not leaked. As described in the previous embodiment, in the second working state, the consumable chip can only interfere with part of the second data, and can also achieve the effect of preventing the second data from being leaked, which will not be repeated here.

[0118] Corresponding to the above embodiment, the embodiment of the present application also provides a consumable chip.

[0119] See also Fig. 22 , which is a schematic diagram of the structure of a consumable chip provided in an embodiment of the present application. The consumable chip 2200 can be detachably mounted on a consumable box, and the consumable box can be an ink cartridge containing ink, a toner cartridge containing toner, or a powder box or a powder cartridge containing toner, and the consumable box can also be detachably mounted on a printing device. The consumable chip 2200 includes: a control module 2220, an interface module 2210 and a storage module 2230, and the interface module 2210 and the storage module 2230 are both electrically connected to the control module 2220, wherein:

[0120] The interface module 2210 is used for input and output communication with external devices. When the consumable chip is installed in the printing device, it can be used to receive information / instructions sent by the printing device and send information to the printing device. The storage module 2230 is used to store information about the consumable chip, such as the manufacturing date, manufacturer, color of recording materials (such as ink, toner), capacity of recording materials, remaining number or consumption number of recording materials, number of printable pages, number of printed pages, and other rewritable or read-only information. In an embodiment of the present application, the storage module 2230 can also store data features before and after the printing device transmits preset data (second data), such as the predetermined number of bytes before the printing device transmits preset data. The storage module 2230 can use a common non-volatile memory, or a combination of a non-volatile memory and a volatile memory.

[0121] In the storage module 2230, several configuration fields can be set, which can adjust the consumable chip to determine when the preset data appears. During later maintenance, the predetermined bit / byte number or timing duration determined by the consumable chip can be adjusted by modifying the configuration fields.

[0122] The control module 2220, which may be a single chip microcomputer (MCU), a microcontroller, an FPGA, an ASIC, etc., is used to control the communication between the consumable chip and the printing device, read information from the storage module 2230, and store information in the storage module 2230. In the embodiment of the present application, the functions in the above-mentioned interference module can be implemented by the control module 2220.

[0123] The consumable chip may further include a circuit board, which carries the control module 2220, the interface module 2210 and the storage module 2230. In one embodiment, the control module 2220, the interface module 2210 and the storage module 2230 are integrated in the same circuit.

[0124] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a consumable box, on which any one of the aforementioned consumable chips is installed.

[0125] It should be pointed out that in the above embodiments, the printing device and the consumable chip are taken as examples to illustrate the technical solutions provided in the embodiments of the present application. However, it should not be used as a limitation on the scope of protection of the present application. For example, the host may be a computer, and the chip may be a peripheral device / device of the computer. Alternatively, the host may be a mobile terminal (such as a mobile phone, a tablet computer, a PDA, etc.), and the chip may be an accessory or peripheral device or device of the mobile terminal, such as a lithium battery chip, a wearable device chip, etc.

[0126] Corresponding to the above embodiments, an embodiment of the present application further provides a device, which includes any one of the aforementioned chips.

[0127] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a data transmission method, which is applied to a chip, the chip is used to connect to a host through a data bus, and the chip can be in a first working state or a second working state, and the method includes: when the chip is in the second working state, in the second downlink period of receiving the second data, interfering with the second data sent by the host to the chip through the data bus, so that the third data received by the chip is different from the second data. On the other hand, when the chip is in the first working state, in the first downlink period of receiving the first data, not interfering with the first data sent by the host to the chip through the data bus, so that the chip receives the first data.

[0128] The specific content of the method embodiment can be found in the description of the above embodiment, and for the sake of brevity, it will not be repeated here.

[0129] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided in the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0130] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above method embodiment.

[0131] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0132] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0134] In several embodiments provided by the present invention, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0135] The above is only a specific embodiment of the present invention. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A chip for communicating with a host, characterized in that: The chip is used for: Establishing a communication connection with the host, and receiving first data and second data sent by the host to the chip; The chip may be in a first working state or a second working state; when the chip is in the second working state, during a second downlink period of receiving the second data, the second data is interfered with so that part or all of the bit values ​​in the third data received by the chip are different from the second data.

2. The chip according to claim 1, characterized in that: When the chip is in the first working state, during a first downlink period of receiving the first data, the first data is not interfered with, so that the chip receives the first data.

3. The chip according to claim 1, characterized in that: The chip is used to establish a communication connection with the host via a data bus. When the chip is in a second working state, during a downlink period of receiving the second data, the chip interferes with the data bus to interfere with the second data.

4. The chip according to claim 1, characterized in that: The third data includes a continuous first bit stream, and all bit values ​​of the first bit stream are the same.

5. The chip according to claim 4, characterized in that: The first bit stream accounts for 100% of the third data.

6. The chip according to claim 4, characterized in that: The third data also includes a continuous second bit stream, all bit values ​​of the second bit stream are the same, and the bit values ​​of the first bit stream and the second bit stream are different.

7. The chip according to claim 6, characterized in that: The first bit stream and the second bit stream each account for 50% of the third data.

8. The chip according to claim 1, characterized in that: The bit values ​​of the odd bits in the third data are all the same; Alternatively, the bit values ​​of even-numbered bits in the third data are all the same; Alternatively, the bit values ​​of the odd bits in the third data are all the same, and the bit values ​​of the even bits in the third data are all the same, and the bit values ​​of the odd bits in the third data are different from the bit values ​​of the even bits in the third data.

9. The chip according to claim 3, characterized in that: When the chip is in the second working state, in the second downlink period of receiving the second data, interfering with the data bus includes: When the chip is in the second working state, during a second downlink period of receiving the second data, a high level and / or a low level is output to the data bus to interfere with the second data.

10. The chip according to claim 9, characterized in that: The interfering with the second data by outputting a high level and / or a low level to the data bus comprises: The second data is disturbed by outputting a continuous high level to the data bus; and / or the second data is disturbed by outputting a continuous low level to the data bus.

11. The chip according to claim 9, characterized in that: The interfering with the second data by outputting a high level and / or a low level to the data bus comprises: The second data is interfered with by outputting high and low level signals corresponding to the interference data to the data bus.

12. The chip according to claim 1, characterized in that: When the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes: If the chip receives the fourth data sent by the host, the second data is interfered with during the second downlink period of receiving the second data, and the chip is configured to enter the second working state when receiving the fourth data.

13. The chip according to claim 1, characterized in that: When the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes: If the electrical signal of the chip matches the preset judgment condition, the second data is interfered with during the second downlink period of receiving the second data.

14. The chip according to claim 13, characterized in that: The electrical signal includes one or a combination of the following signals: Clock signal, power signal, reset signal, set signal and data signal.

15. The chip according to claim 1, characterized in that: When the chip is in the second working state, in a second downlink period of receiving the second data, interfering with the second data includes: When the chip is in the second working state, during a second downlink period of receiving the second data, part of the second data is interfered with.

16. A device, characterized in that: A chip comprising any one of claims 1 to 15.

17. A data transmission method, characterized in that: Applied to a chip, the chip is used to connect to a host through a data bus, the chip can be in a first working state or a second working state, the method includes: When the chip is in the second working state, during a second downlink period of receiving second data, the second data sent by the host to the chip through the data bus is interfered with, so that third data received by the chip is different from the second data.

18. The data transmission method according to claim 17, characterized in that: When the chip is in the first working state, during a first downlink period of receiving first data, the first data sent by the host to the chip through the data bus is not interfered with, so that the chip receives the first data.

Citation Information

Patent Citations

  • Chip, data communication method for chip, consumable container and imaging equipment

    CN102231054A