WO2021168792A1 - Chip communication method, chip and imaging box - Google Patents

Chip communication method, chip and imaging box Download PDF

Info

Publication number
WO2021168792A1
WO2021168792A1 PCT/CN2020/077191 CN2020077191W WO2021168792A1 WO 2021168792 A1 WO2021168792 A1 WO 2021168792A1 CN 2020077191 W CN2020077191 W CN 2020077191W WO 2021168792 A1 WO2021168792 A1 WO 2021168792A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processing unit
chip
verification
unit
Prior art date
Application number
PCT/CN2020/077191
Other languages
French (fr)
Chinese (zh)
Inventor
杨言安
王波
Original Assignee
广州众诺电子技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州众诺电子技术有限公司 filed Critical 广州众诺电子技术有限公司
Priority to CN202080000962.0A priority Critical patent/CN113677533B/en
Priority to PCT/CN2020/077191 priority patent/WO2021168792A1/en
Publication of WO2021168792A1 publication Critical patent/WO2021168792A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/17Ink jet characterised by ink handling
    • B41J2/175Ink supply systems ; Circuit parts therefor

Definitions

  • the invention relates to the field of communication technology, in particular to a chip communication method, a chip and an imaging box including the chip.
  • Chips have been widely used in all walks of life, home appliances, office supplies, transportation, education and communications, etc. almost all need chips.
  • the chip technology has been in the process of updating and iterating. Some products can be used by themselves, but they cannot be used or cannot meet the needs of users after the chip is updated or the chip is used to meet certain conditions. New products need to be replaced, which leads to unnecessary Waste.
  • imaging equipment such as copiers, printers, fax machines, and multi-function word processors have been widely used in offices and homes.
  • the imaging device is generally provided with an imaging cartridge (such as an ink cartridge, a toner cartridge, etc.), and the imaging cartridge is built with consumables such as imaging materials (ink, toner, etc.) and an imaging chip (package data memory, such as IC).
  • the imaging box, imaging material and imaging chip can all be replaced.
  • the imaging chip stores data related to the imaging cartridge, such as: the manufacturer's code of the imaging cartridge, production date, model, characteristic parameters, number of imaging pages, remaining amount of recording material information, serial number, etc.
  • the imaging material stored in the imaging box can be used by the imaging device normally, it is usually necessary for the imaging chip to be verified by the main board in the imaging device to realize the information interaction between the main board and the imaging chip. Therefore, when the imaging chip is installed, it is necessary to identify the imaging box information such as the manufacturer code, model, characteristic parameters, number of imaging pages, and remaining amount of recording material stored in the data storage device.
  • the imaging cartridge information such as the number of imaging pages in the imaging chip and the remaining amount of recording material shows the service life in the imaging cartridge. After the data representing the service life of the imaging chip shows that the service life has expired, the imaging chip can no longer be used. The imaging cartridge installed with the imaging chip cannot continue to be used and must be replaced, thereby causing unnecessary waste.
  • the present invention provides a chip communication method, an imaging chip, and an imaging box including the imaging chip.
  • the imaging chip on the imaging box can use the above The chip communication method.
  • a chip communication method includes the following steps:
  • the first processing unit and the second processing unit receive initial data
  • the first processing unit processes the initial data to form first data, and sends the first data to the second processing unit and the blocking unit;
  • the blocking unit intercepts the first data
  • the second processing unit generates verification data according to the received initial data and/or the first data, and sends the verification data.
  • the process of forming the first data after the first processing unit processes the initial data includes:
  • the first processing unit analyzes the received initial data to obtain a first analysis result
  • the first analysis result use the initial data to calculate the first data or extract the data stored in the first processing unit that matches the initial data as the first data;
  • the first data are all sent to the second processing unit and the blocking unit.
  • the verification data includes first verification data and/or second verification data.
  • the step of generating verification data by the second processing unit according to the received initial data and/or the first data includes the following sub-steps:
  • the second processing unit analyzes the received raw data
  • the process of using the second data as the second verification data includes: replacing the second data with and overwriting part or all of the first data so that the second data becomes the second verification data; or modifying part of the second data or All the first data, part or all of the first data after modification is the second verification data.
  • the step of generating verification data by the second processing unit according to the received initial data and/or the first data includes the following sub-steps:
  • the second processing unit receives the first data
  • the first verification data is obtained according to the available data.
  • the first data includes available data and/or unavailable data.
  • An imaging chip provided by the present invention includes a first processing unit, a second processing unit, and a blocking unit; the blocking unit is connected to the first processing unit, and the blocking unit is used to intercept at least the first processing unit sent by the first processing unit. Data; the second processing unit is electrically connected to the first processing unit, and the second processing unit and the first processing unit can perform data interaction.
  • the blocking unit allows initial data to be sent to the first processing unit via the blocking unit, and intercepts the first data sent by the first processing unit to the blocking unit.
  • the first processing unit includes at least a first data transmission terminal, and the blocking unit is at least connected to the output unit data transmission terminal of the first processing unit.
  • the second processing unit includes at least a second data transmission terminal; the second data transmission terminal is connected to the first data transmission terminal; the first data in the first processing unit is transmitted to the second data transmission terminal through the first data transmission terminal The end is sent to the second processing unit.
  • the blocking unit includes an input terminal and an output terminal; the output terminal and the first processing.
  • the blocking unit is a unidirectional conducting element.
  • the unidirectional conduction element includes at least one of a diode, a MOS tube or a triode.
  • An imaging cartridge provided by the present invention includes a cartridge body with a built-in developer and an imaging chip.
  • the imaging chip is the chip communication method of the imaging cartridge chip described above; or the chip is the above-mentioned chip communication method. ⁇ chip.
  • the chip of the present invention includes a first processing unit, a second processing unit, and a blocking unit; the blocking unit is connected to the first processing unit, and the blocking unit is used to intercept at least the data sent by the first processing unit.
  • First data First data
  • the second processing unit is electrically connected to the first processing unit, and the second processing unit can interact with the first processing unit. Both the first processing unit and the second processing unit can receive the original data, but the first data sent by the first processing unit can be intercepted by the blocking unit, so that the first data of the first processing unit cannot be sent through the blocking unit, but It can be sent to the second processing unit, and then the verification is completed by the second processing unit, thereby improving the efficiency of the verification.
  • the chip communication method can process the original data through the first processing unit and the second processing unit respectively.
  • the first data processed by the first processing unit cannot be sent through the blocking unit due to the existence of the blocking unit, but it can It is sent to the second processing unit, and the first processing unit can obtain the verification data based on the original data and the first data, so that the chip can be used normally after being installed in the imaging device.
  • the two processing units separately process the data, which can effectively reduce the corresponding time of the chip, thereby improving the efficiency of verification.
  • the imaging box containing the chip or the chip installed in the imaging box adopts the above chip communication method, so that the chip of the imaging box can be reused, so the imaging box can also be reused.
  • Figure 1 is a block diagram of a chip circuit in a preferred embodiment of the present invention.
  • Figure 2 is a block diagram of a chip circuit in another preferred embodiment of the present invention.
  • FIG. 3 is a block diagram of the chip circuit in the embodiment of the present invention where the blocking unit is a diode;
  • FIG. 4 is a block diagram of the chip circuit in the embodiment in which the blocking unit is a MOS tube in the present invention
  • Figure 5 is a block diagram of the chip circuit in the embodiment of the invention where the blocking unit is a triode
  • Fig. 6 is a flowchart of a chip communication method in a preferred embodiment of the present invention.
  • this embodiment relates to a chip including a first processing unit 1, a second processing unit 2 and a blocking unit 3.
  • the blocking unit 3 is connected to the first processing unit 1.
  • the blocking unit 3 can be directly connected to the first processing unit 1 or indirectly connected.
  • the direct connection can be: the electrical contact portion of the blocking unit 3 is directly connected to the electrical contact portion of the first processing unit 1, and the electrical contact portion can be made of a metal material (gold, silver, copper, iron or metal alloy, etc.)
  • the indirect connection can be achieved by setting the blocking unit 3 and the first processing unit 1 on the substrate of the chip, the substrate is printed with a circuit, the blocking unit 3 and the first processing unit 1 are both connected to the printed circuit, so that the blocking unit Data transmission can be performed between 3 and the first processing unit 1.
  • the external initial data may be sent to the first processing unit through the blocking unit.
  • the first data sent by the first processing unit 1 to the blocking unit 3 may be blocked by the blocking unit 3 to prevent the first data from being continuously transmitted to other units through the blocking unit 3.
  • the second processing unit 2 is electrically connected to the first processing unit 1, and the second processing unit 2 and the first processing unit 1 can exchange data. Therefore, the first data of the first processing unit can be sent to the second processing unit.
  • the first processing unit 1, the second processing unit 2, and the blocking unit 3 can be three separate parts, which can be combined into a whole when in use, or only the first processing unit 1, Any two or three of the second processing unit 2 and the blocking unit 3 are arranged on a substrate, and then used in combination as required.
  • the first processing unit 1 and the blocking unit 2 are arranged on a substrate, and the second processing unit 2 is used as a single part, and the second processing unit 2 is combined with the first processing unit 1 and the blocking unit 3 when in use.
  • the external device using the chip can verify the identity and service life of the chip. At this time, the chip and the external device will communicate.
  • the first processing unit 1 and the second processing unit 2 can respectively respond to external verification instructions and obtain different verification data.
  • the chip can communicate with an imaging device (external device). For example, the imaging device verifies the identity and/or life of the chip. If the chip can be verified by the imaging device, it means that the chip is legal and usable. If the verification fails, the chip is illegal or unusable.
  • the unusable chip itself may be legal, but due to reasons such as service life or version inconsistency, it is rejected by the imaging device to use the chip to complete imaging operations (for example, one of printing operations, copy operations, scanning operations, or fax operations). Kind or multiple).
  • the illegal chip may be a chip whose type or brand does not match the printer, or a chip whose other identity information verification fails.
  • the chip can be used for imaging devices of different types by replacing the first processing unit 1, and the chip can be reused by replacing or resetting the second processing unit 2.
  • both the second processing unit 2 and the first processing unit 1 can receive the original data sent by the external device.
  • the second processing unit 2 and the first processing unit 1 respectively process the original data after receiving the original data.
  • the first data processed by the first processing unit 1 is sent to the second processing unit 2 and the blocking unit 3 at the same time.
  • the second processing unit 2 can process the first data again after receiving the first data.
  • the second processing unit 2 may obtain at least part of the verification data according to the first data, and send the verification data to an external device to complete the verification.
  • the external device may be an imaging device, or a device with similar functions.
  • the specific process of the communication between the chip and the external device can refer to the chip communication method described in the following embodiments.
  • the blocking unit 3 allows initial data to be sent to the first processing unit 1 via the blocking unit 3 and blocks and intercepts the first data sent by the first processing unit 1 to the blocking unit 3.
  • the blocking unit 3 prevents the first data from being sent to the external device through the blocking unit 3 after receiving the first data obtained by the first processing unit 1.
  • the blocking unit 3 is connected to at least the first data transmission end of the first processing unit 1 to prevent the first data in the first processing unit 1 from being sent out through the blocking unit 3.
  • the first data transmission end may include a data receiving end and a data sending end.
  • the blocking unit 3 can be connected to the Both the data receiving end and the data sending end are connected.
  • the initial data received by the first processing unit 1 may be sent through the blocking unit.
  • the blocking unit 3 At least connect with the data sender in order to block the data sent by the data sender. Therefore, the initial data may also be sent to the first processing unit 1 without passing through the blocking unit 3.
  • the first data of the first processing unit 1 is sent to the second processing unit 2, and the second processing unit 2 intercepts or modifies part of the first data.
  • the second processing unit 2 After the second processing unit 2 receives the first data, it replaces the intercepted part of the first data with part or all of the second data in the second processing unit 2 to form usable verification data; or by combining part of the first data according to the first data The second data is modified into usable verification data.
  • the first data may include available data and unavailable data, and part of the first data intercepted or modified by the second processing unit may be unavailable data. In this way, all the verification data sent by the second processing unit 2 are available.
  • the unusable data may be considered by the imaging device to be legitimate, but due to some special reasons reaching a certain threshold or preset condition, the imaging device considers that it cannot be used anymore. For example, the lifespan data of the chip will change with the number of uses or duration. When the lifespan data reaches the threshold value, the imaging device will consider the life of the chip to be terminated and prohibit its use.
  • the available data is data that can be verified by the imaging device and used normally.
  • the second data transmission end of the second processing unit 2 is connected to the input end of the blocking unit 3 and the first data transmission end of the first processing unit 1 is connected.
  • the second data transmission terminal may also include a data input terminal and a data output terminal.
  • the second data transmission end of the second processing unit 2 and the blocking unit 3 can be connected to external devices respectively, so as to respectively receive initial data.
  • the second data transmission terminal is at least connected to the data output terminal of the first data transmission terminal. ⁇ End connection.
  • the data input terminal of the second data transmission terminal and the data output terminal are not the same terminal or are connected to different data lines
  • the data input terminal of the second data transmission terminal is at least connected to the data input terminal of the first data transmission terminal.
  • the data output terminal of the second data transmission terminal can be connected to an external device. Or the data input end of the second data transmission end may also be connected to an external device respectively.
  • the output terminal of the blocking unit 3 is connected to the first data transmission terminal of the first processing unit 1. Since the first data transmission end of the first processing unit 1 is connected to the blocking unit 3, the first data in the first processing unit 1 is intercepted by the blocking unit 3, but the first data can be sent to the second processing unit 2. For processing or forwarding.
  • the first processing unit may also include one or more of a first clock terminal, a first ground terminal, and a first power terminal, and the second processing unit may also include a second clock terminal and a second ground terminal. , One or more of the second power terminals.
  • the number of terminals that the first processing unit and the second processing unit may include can be set according to different protocols or requirements of external devices. Referring to FIG.
  • the first processing unit includes a first data transmission terminal and a first clock terminal
  • the second processing unit includes a second clock terminal and a second data transmission terminal.
  • the first data transmission terminal The first data transmission terminal and the first clock terminal of a processing unit are respectively connected with the blocking unit.
  • the first data transmission end is used for sending data to the first processing unit and/or sending data from the first processing unit to at least one of the intercepting unit or the second processing unit.
  • both the initial data and the first data can be It is transmitted through the first data transmission terminal.
  • the second data transmission terminal can be used to send data to the second processing unit and/or send data from the second processing unit to an external device.
  • the initial data, the first data, and the second data can all pass through the second data.
  • the transmitting end performs transmission.
  • the second processing unit 2 can be connected in parallel with the blocking unit 3.
  • the second data transmission end of the second processing unit 2 can block the connection of the input end and the output end of the unit respectively. Therefore, the second data in the second processing unit 2 will not be blocked by the blocking end 3 when it is sent out.
  • the blocking unit 3 can be connected between the first processing unit 1 and the imaging device.
  • the blocking unit 3 allows the initial data of the imaging device to be sent to the first processing unit 1 through it, but when the first processing unit 1 needs to send the first data to the imaging device, the blocking unit 3 intercepts the first data.
  • the initial data of the imaging device can be sent to both the first processing unit 1 and the second processing unit 2, but the first data of the first processing unit 1 cannot be directly sent to the imaging device.
  • the first data can be sent to the second processing unit.
  • the processing unit 2 forwards the first data through the second processing unit 2 or performs corresponding processing on the first data before sending it to the imaging device.
  • the blocking unit 3 may be a unidirectional conducting element.
  • the blocking unit 3 allows data transmission from the input terminal to the output terminal, and prohibits data transmission from the output terminal to the input terminal.
  • the blocking unit 3 may be at least one of a diode, a MOS tube (MOSFET Metal-Oxide-Semiconductor Field-Effect Transistor), a triode, or a control chip.
  • the blocking unit 3 may also be an intercepting circuit with an intercepting function.
  • the control chip or the interception circuit may only allow external data to be transmitted to the first processing unit 1 through it, and prohibit the data of the first processing unit 1 from being transmitted to the external device through it.
  • the blocking unit 3 may be a diode, and the blocking unit 3 may be two, of course, there may be other numbers.
  • the blocking unit 3 includes an output terminal and an input terminal; when the cathode (input terminal) of the diode is at low level and the anode (output terminal) is at high level, the diode is turned on and data flows through the diode.
  • the anode of the diode is at low level and the cathode is at high level, the diode is cut off, blocking data from flowing through the diode.
  • the chip and external devices can use high and low levels for signal transmission, and the data obtained by the chip and external devices can be binary data.
  • the external device is connected to the input terminal 31 of the blocking unit 3
  • the first processing unit is connected to the output terminal 32 of the blocking unit 3.
  • the communication bus is at a high level (for example, 3.3V or 5V, etc.).
  • the signal on the communication bus obtained by the high-pass oscilloscope can be 1.
  • the external device When the external device needs to send initial data to the chip, the external device will first pull the high level to a low level (for example, 0V). At this time, the first processing unit end is still high, because the diode has a low unidirectional resistance. Because of the high characteristic, the blocking unit 3 allows the low level of the external device to be transmitted to the first processing unit, so that the first processing unit is also low. When the low level of the external device is transmitted to the first processing unit, the signal on the communication bus that can be obtained through the oscilloscope can be 0. The first processing unit to which the low level of the external device is transmitted is equivalent to that the first processing unit can receive the initial data of the external device.
  • a low level for example, 0V
  • the data received by the first processing unit may also be 0101001110111101011101. It can be seen that when the external device sends initial data to the first processing unit, the blocking unit 3 is turned on.
  • the chip When the chip needs to send the first data to the external device, the chip will also pull the high level low to low level. At this time, the first processing unit end can be low level, and the blocking unit 3 will prevent the low level from being transmitted to External equipment, the level of external equipment will not be pulled down.
  • the bus signal is acquired through the oscilloscope, the signal between the first processing unit and the blocking unit 3 is 0, but the signal from the blocking unit 3 to the external device terminal is still 1.
  • the first data sent by the first processing unit is 01010101010101, but the data obtained through the oscilloscope from the blocking unit 3 to the external device is always 1111111111111111, which is similar to a sleep state, so the external device thinks it has not received or detected the first processing The first data sent by the unit. In this way, the blocking unit 3 blocks the first data sent by the first processing unit. It can be seen from this that when the first processing unit sends initial data to the external device, the blocking unit 3 is not conductive.
  • the blocking unit 3 may also be a MOS transistor.
  • the blocking unit 3 includes an input terminal, an output terminal, and a third terminal; the input terminal is connected to an external device, and the output terminal is connected to a first processing unit.
  • the third terminal can be selected to be suspended or connected to the second processing unit according to the actual layout of the circuit.
  • the third terminal may be the gate G of the MOS tube.
  • the input terminal can be the source S and the drain D of the MOS tube.
  • the output terminal can also be the source S and the drain D of the MOS tube.
  • the output terminal may be the source S of the MOS tube, and the input terminal may be the drain D of the MOS tube.
  • the output terminal may be the drain D of the MOS transistor, and the input terminal may be the source S of the MOS transistor.
  • the reason for this arrangement is due to the parasitic diode in the MOS tube.
  • the principle of the MOS tube being turned on can be referred to the above diode embodiment. In this way, the external device can transmit the initial data to the first processing unit, but the first data of the first processing unit will not be transmitted to the external device.
  • the blocking unit 3 may also be a triode.
  • the blocking unit 3 includes an input terminal, an output terminal, and a fourth terminal; the input terminal is connected to an external device, and the output terminal is connected to a first processing unit.
  • the fourth terminal can be selected to be suspended or connected to the second processing unit according to the actual layout of the circuit.
  • the fourth end may be the collector C of the triode.
  • the input terminal can be the base B or the emitter E of the triode.
  • the output terminal can also be the base B or the emitter E of the triode.
  • the input end may be the base B of the triode, and the output end may be the emitter E of the triode.
  • the output terminal may be the base B of the transistor, and the input terminal may be the emitter E of the transistor.
  • the reason for this setting is the parasitic diode in the triode.
  • the function of the triode in this embodiment can refer to a diode.
  • the working principle of the blocking unit 3 in this embodiment can be referred to a diode.
  • the present invention also provides a chip communication method including the following steps.
  • the steps S1-S5, S31-S33, S51-S53, and S51'-S53' as shown below can be in a non-fixed sequence.
  • the serial number is at the front, and it may be executed at the back.
  • both the second processing unit 2 and the first processing unit 1 can receive initial data.
  • step S2 may also be included. If the data input and data output of the first processing unit are on the same port, step S2 may be omitted.
  • the initial data may be verification data sent by an external device.
  • the imaging device is used as an external device as an example to describe the chip communication method of this embodiment.
  • the verification data of the imaging device includes the identity verification instruction of the chip, the life verification instruction of the chip, and so on.
  • the identity verification instruction can be one or more of the serial number verification instruction, the version verification instruction, the model verification instruction, the manufacturer verification instruction, etc., which are used to verify the serial number, version, model, manufacturer and other identity data in the chip Whether it is available data.
  • the life verification instruction may be a developer capacity verification instruction, printing times verification, or developer remaining amount verification, which is used to verify whether life data such as developer capacity, printing times, or remaining developer amount in the chip are usable data.
  • the standard for whether the life data is available data may be to determine whether the life data reaches the termination threshold, for example, whether the remaining amount of developer is zero or whether the number of times of printing of the chip reaches the maximum value, etc.
  • the identity data generated by the chip according to the identity verification instruction may be the first verification data.
  • the verification data generated by the chip according to other verification instructions may be the second verification data; for example, the life data generated by the chip according to the life verification instruction may be the second verification data.
  • the second verification data may change with the use of the chip. The imaging device judges whether the chip's service life has expired according to part or all of the second verification data.
  • Step S2 after receiving the initial data, the blocking unit 3 sends the initial data to the first processing unit 1.
  • the blocking unit 3 may directly send the initial data to the first processing unit 1 without modifying the initial data.
  • step S2 when step S2 is executed, the initial data received by the first processing unit can be transmitted after passing through the blocking unit.
  • the first processing unit 1 processes the initial data to form first data, and sends the first data to the second processing unit 2 and the blocking unit 3.
  • the processing of the initial data by the first processing unit 1 includes respectively analyzing the identity verification instructions or other instructions, and respectively processing the corresponding first data according to the analysis results.
  • the other instructions include life verification instructions.
  • the first data includes identity data and/or other data.
  • the other data may include life data related to the life of the chip.
  • the identity data includes one or more of serial number, version number, model number, manufacturer name, etc.; the life data includes one of developer capacity, printing times, first use time, remaining developer amount, etc. Or multiple.
  • the first data (such as identity data) related to the chip identity stored in the first processing unit can be obtained according to the identity verification instruction, or the first data related to the chip identity can be obtained after the verification instruction is decrypted or encrypted. It is also possible to analyze the life verification instruction, and then obtain the first data (for example, life data) related to the life of the chip stored in the first processing unit. It should be noted that the first data related to the life of the chip may change with the number of times or time the chip is used, so that this part of the first data is unusable data.
  • the step S3 may also include the following sub-steps:
  • step S31 the first processing unit 1 analyzes the initial data it receives to obtain a first analysis result; the first analysis result may be the analysis of the initial data to obtain the identity verification instruction for the chip or the life verification of the chip At least one of instructions or other instructions.
  • the initial data is used for calculation according to the first analysis result or the data stored in the first processing unit 1 that matches the initial data is extracted to form the first data.
  • the first analysis result is an identity verification instruction, and one of the serial number, version number and other identity data about the chip can be obtained according to the identity instruction.
  • the identity instruction also contains an encryption instruction
  • the first processing unit 1 The decrypted data can also be obtained by decrypting according to the encryption instruction in the identity instruction. Both the identity data and the decrypted data can be used as the first data.
  • the first analysis result is a life verification instruction, and the first processing unit 1 may obtain one or more of the life data of the door-closing chip according to the life instruction. The life data may also be the first data.
  • the identity data does not change with the use process or times of the chip.
  • Step S33 sending the first data to the second processing unit 2 and the blocking unit 3.
  • the first data received by the second processing unit 2 or the blocking unit 3 may include all the identity data and life data, or may include part of the identity data and all life data, or all the identity data and part of the life data, or all Life data, or part of life data, or all identity data or part of identity data.
  • the specific content of the first data may be generated according to the initial data. For example, the initial data is to verify all the identity data and part of the lifespan instruction, then the first data can be all the identity data and part of the lifespan data.
  • Step S4 the blocking unit 3 intercepts the first data.
  • the blocking unit 3 is a unit for unidirectional data transmission, allowing initial data to be transmitted to the first processing unit 1 through the blocking unit 3, but blocking the data of the first processing unit 1 to be transmitted to the external device through the blocking unit 3 again.
  • Step S5 the second processing unit 2 generates verification data according to the received initial data and the first data of the first processing unit 1.
  • the second processing unit 2 can send the verification data to an external device (for example, an imaging device) to complete the verification.
  • the first data may include available data and unavailable data.
  • the second processing unit 2 may reserve the available data of the first data as part of the verification data, and process the unavailable data so that the unavailable data can be verified by the imaging device.
  • at least part of the first data in the first processing unit 1 is usable data (for example, one or more of identity data or keys) or data that can be verified by an imaging device.
  • the first data may also have part of the first data that cannot be verified by the imaging device or data that cannot be used by the imaging device. In other words, if the first processing unit 1 is used as a chip to communicate with the imaging device, the imaging device cannot work normally. Therefore, it is necessary to use the second processing unit 2 and the blocking unit 3 to assist in completing the verification.
  • the process of the second processing unit 2 generating verification data according to the received initial data and/or the first data of the first processing unit 1 includes: the second processing unit 2 obtains the first data according to the first data. A process of verifying data; and a process of generating second verification data by the second processing unit 2 based on the original data.
  • the process for the second processing unit 2 to obtain the first verification data according to the first data includes the following sub-steps:
  • Step S51 the second processing unit 2 receives the first data.
  • Step S52 Identify available data of the first data.
  • the available data may also be referred to as legal data.
  • the available data or legal data may be the identity data of the chip, such as serial number, version number, model number, and so on.
  • Step S53 Obtain first verification data according to the available data.
  • the second processing unit may use all the available data as the first verification data; it may also obtain part of the data from the available data as the first verification data, for example, may obtain part of the data from the available data as the first verification data according to the initial data.
  • the initial data is a verification serial number instruction
  • the second processing unit 2 extracts the serial number from the first verification data, or the secret key calculated according to the serial number instruction and the encryption algorithm, the serial number or the secret key At least one of is used as the first verification data. Under normal circumstances, the serial number and secret key may be used as the first verification data at the same time.
  • the process of generating the second verification data by the second processing unit 2 according to the original data may include the following sub-steps:
  • the second processing unit 2 analyzes the received raw data.
  • the analysis result in this step includes the second analysis result and the third analysis result.
  • the second analysis result may be: some or all of the data in the original data that may not require the second processing unit to respond to it (for example, the data corresponding to the first analysis result may obtain the available data through the first processing unit 1 To carry out the corresponding instruction, for example, the instruction can be an identity verification instruction).
  • the third analysis result may be part or all of the original data that can be processed by the second output unit (for example, the data corresponding to the third analysis result can be obtained by the first processing unit 1 is unavailable) Data commands such as chip life verification commands).
  • step S52' the original data is used to calculate according to the analysis result or the second data stored in the second processing unit 2 that matches the original data is extracted.
  • the life data related to the service life of the chip can be obtained from the second processing unit according to the initial data corresponding to the third analysis result as the second data; or the service life can be calculated according to the initial data.
  • the life data is used as the second data.
  • Step S53' using the second data as the second verification data.
  • the process of step S53' may include: screening the unavailable data in the first data, replacing the unavailable data with the second data, so that the second data is used as the second verification data; or the first data is selected according to the second data.
  • Unavailable data in one data is modified into usable data, and the modified usable data is the second verification data; or the unavailable data in the first data is ignored, and the second data is directly sent as the second verification data.
  • the unavailable data in the first data is the life of the chip.
  • the data is that the remaining amount of developer is 0 (in the first processing unit or the second processing unit can be stored in binary mode), and the second data is the life of the chip
  • the data is 100% of the remaining amount of developer (binary storage can be used in the second processing unit); then 0 is ignored or discarded, and 100% is directly sent as the second verification data, or 0 is changed to 100% Just as the second verification data.
  • the data stored in the first processing unit 1 includes available data and unavailable data.
  • the first processing unit 1 may be an old chip or an original chip, such as an original chip produced by an imaging device manufacturer such as HP, Samsung, and Ricoh.
  • the old chip is a usable chip before it becomes an old chip, but it is unusable because it meets a predetermined condition, for example, the original chip or a substitute chip has expired and become an old chip.
  • the identity verification using the first processing unit 1 is always passable.
  • the second processing unit 2 may be a substitute chip, and the second processing unit 2 includes available data corresponding to the unavailable data in the first processing unit 1.
  • the second processing unit 2 may be an STM8 series or STM32 series chip, of course, it may also be another encryption chip.
  • the life data of the chip in the second processing unit 2 can be modified according to the requirements of the imaging device, so the life data can also be passed.
  • the service life data may be less than or equal to the maximum required by the imaging device and greater than the minimum required by the imaging device. Since the technical difficulty of the second processing unit 2 is simpler than that of the first processing unit 1, it is easy to produce, and the cost of the second processing unit 2 is lower.
  • the life data (first verification data) is obtained by the second processing unit 2, and the first processing unit 1 is used to generate the identity data (second verification data), and the first processing unit 1 is intercepted by the blocking unit 3.
  • the data enables the second processing unit 2 to have all the verification data at the same time, achieving the effect that the chip is verified by the imaging device, thereby reducing cost and production difficulty.
  • the first processing unit 1 and the second processing unit 2 can be reused, which reduces unnecessary waste.
  • the identity data in the first data of the first processing unit 1 is used for identity verification.
  • the process of identity verification is more complicated.
  • the second processing unit 2 alone may not be able to achieve this identity verification.
  • the life data on the service life of the chip in the first processing unit 1 has reached the limit and cannot be used by the imaging device.
  • the life data cannot be modified directly, or even if the life data is modified, the first processing unit 1 will fail and become unusable. Therefore, the life data of the second processing unit 2 can be used for life verification.
  • the processing unit 1 is simpler and lower in cost.
  • the chip mounted to the imaging device may be an imaging chip.
  • the chip and the chip communication method of the present invention will be further described.
  • the initial data includes a serial number verification instruction and a developer remaining amount verification instruction.
  • the first processing unit 1 obtains the first data (including usable data such as the serial number and/or secret key obtained according to the serial number verification instruction) according to the original data, and sends it to the second processing unit 2. Due to the existence of the blocking unit 3, the first data of the first processing unit 1 can only be sent to the second processing unit 2 for processing, and will not be sent directly to the imaging device.
  • the second processing unit 2 obtains the available data from the first data, and uses the available data as the first verification data.
  • the second processing unit 2 analyzes the initial data, and obtains the remaining amount of developer from the second processing unit 2 as the second verification data according to the remaining amount verification instruction, or the second processing unit may also obtain the first data
  • the unusable data (the developer capacity data that is already zero) is overwritten with the second data (the developer capacity data that is full), so that the second data is used as the second verification data. Therefore, the remaining capacity data (second data) in the second processing unit 2 is replaced with the remaining capacity data (unusable data) in the first data, so that the second data is used as the second verification data.
  • the second processing unit 2 can act as a component that forwards the first data to the imaging device, and the first data may not be processed; or the second processing unit 2 The first data was forwarded once.
  • the second processing unit 2 can also only be used as a forwarding element, or the above-mentioned chip communication method can be used for verification.
  • the imaging device Since the chip is installed in the imaging device (external device), during use, the imaging device will definitely verify the identity data and life data of the chip. Otherwise, the chip cannot perform imaging operations such as printing or copying.
  • the time for the imaging device to verify the chip may be performed at the same time or separately. For example, some imaging devices verify the life data of the chip before performing a printing operation; while some imaging devices perform a printing operation. Before the operation, the identity data of the chip will be verified first, and then the life data of the chip will be verified; some imaging devices will verify the identity data of the chip before performing a printing operation, and the identity will be verified during the printing process. Data or lifetime is verified. The data stored in the chip needs to be usable data to ensure that the chip can be used normally.
  • the present invention blocks the path for sending the first data to the external device through the blocking unit, but the path for sending to the second processing unit is a path.
  • the unavailable data in the first data can be processed by the second processing unit to obtain usable verification data, so that the chip can use the available data to communicate with the external device. Therefore, the chip and the chip adopting the chip communication method are all usable chips.
  • the chip of the present invention is also a chip for products in the fields of household goods, office supplies, transportation, education and communications, such as TV chips, mobile phone chips, and wearable communication products (smart glasses, smart watches, etc.) Chips, chips for unmanned vehicles, chips for drones, or monitoring chips, etc.
  • the chips in these products are old chips that can no longer meet the needs of users (the chip cannot be used or the chip response is too slow), but some data in the old chip (the second processing unit) is still available, and some data is unavailable, this It is only necessary to add a new chip (second processing unit) and a combination of the blocking unit, so that the combined product can meet the needs of the user or the combined product is the product with the latest technology or the latest service life.
  • the research and development cost and production cost of the newly added chip are lower than that of completely replacing the old chip.
  • the present invention may also provide an imaging cartridge, which includes a cartridge body and a chip, the cartridge body is built with a developer, and the chip may be the chip described in the above embodiment, which will not be repeated here.
  • the chip communication method can refer to the above chip communication method, which will not be repeated here.
  • the original data can be processed by the first processing unit 1 and the second processing unit 2 respectively.
  • the first data processed by the first processing unit 1 cannot be removed from the blocking unit 3 due to the existence of the blocking unit 3. 3 send out (for example, it cannot be sent to the imaging device through the blocking unit 3), but can be sent to the second processing unit 2.
  • the first processing unit 1 can obtain the verification data based on the original data and the first data, so that the chip is installed in the imaging device The equipment can then be used normally. In order to achieve the effect of repeatedly using the first processing unit 1.
  • the two processing units separately process the data, which can effectively reduce the corresponding time of the chip, thereby improving the efficiency of verification.

Landscapes

  • Facsimiles In General (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

A chip, a chip communication method and an imaging box comprising the chip. The chip communication method comprises: a second processing unit (2) and a blocking unit (3) simultaneously receiving initial data; sending the initial data received by the blocking unit (3) to a first processing unit (1); the first processing unit (1) processing the initial data to form first data, and sending the first data to the second processing unit (2) and the blocking unit (3); the blocking unit (3) intercepting the first data; and the second processing unit (2) generating, according to the received initial data and/or the first data of the first processing unit (1), verification data to realize verification. The chip and the chip communication method respectively use the first processing unit (1), the second processing unit (2) and the blocking unit (3). With the blocking unit (3), the first data of the first processing unit (1) can only be sent to the second processing unit (2), so that all the verification data are stored in the second processing unit (2), and the chip can be normally used.

Description

芯片通信方法、芯片及成像盒Chip communication method, chip and imaging box 技术领域Technical field
本发明涉及通信技术领域,具体涉及一种芯片通信方法、芯片及包括芯片的成像盒。The invention relates to the field of communication technology, in particular to a chip communication method, a chip and an imaging box including the chip.
背景技术Background technique
芯片目前已经广泛的应用于各行各业,居家用品、办公用品、交通运输、教育及通信等等几乎都需要芯片。然而芯片技术一直处于更新迭代的过程,有些产品本身可以用,但是会因为芯片更新或者芯片使用达到一定条件之后而不能用或者不能满足使用者的需求,而需要更换新产品,从而导致不必要的浪费。Chips have been widely used in all walks of life, home appliances, office supplies, transportation, education and communications, etc. almost all need chips. However, the chip technology has been in the process of updating and iterating. Some products can be used by themselves, but they cannot be used or cannot meet the needs of users after the chip is updated or the chip is used to meet certain conditions. New products need to be replaced, which leads to unnecessary Waste.
以成像技术为例,如复印机、打印机、传真机、多功能文字处理机等成像设备已被广泛应用于办公及家庭等场合。成像设备中一般都设置有成像盒(例如墨盒、碳粉盒等),成像盒内置有成像材料(墨水、碳粉等)及成像芯片(包数据存储器,例如IC)等耗材。所述成像盒、成像材料及成像芯片都可以更换。其中成像芯片存储有与成像盒相关的数据,如:成像盒厂家代码、生产日期、型号、特性参数、成像页数、记录材料剩余量信息、序列号等。Taking imaging technology as an example, imaging equipment such as copiers, printers, fax machines, and multi-function word processors have been widely used in offices and homes. The imaging device is generally provided with an imaging cartridge (such as an ink cartridge, a toner cartridge, etc.), and the imaging cartridge is built with consumables such as imaging materials (ink, toner, etc.) and an imaging chip (package data memory, such as IC). The imaging box, imaging material and imaging chip can all be replaced. The imaging chip stores data related to the imaging cartridge, such as: the manufacturer's code of the imaging cartridge, production date, model, characteristic parameters, number of imaging pages, remaining amount of recording material information, serial number, etc.
若成像盒中存储的成像材料能正常的被成像设备使用,通常需要成像芯片能被成像设备中的主板验证通过,实现主板与成像芯片的信息交互。因此在安装所述成像芯片时需要对数据存储装置中存储的厂家代码、型号、特性参数、成像页数以及记录材料剩余量等成像盒信息进行识别。成像芯片中成像页数以及记录材料剩余量等成像盒信息显示成像盒中的使用寿命,当成像芯片代表使用寿命的数据显示已经终止之后,成像芯片就不能再继续使用。安装有该成像芯片的成像盒也就不能继续使用,必须更换,从而造成不必要的浪费。If the imaging material stored in the imaging box can be used by the imaging device normally, it is usually necessary for the imaging chip to be verified by the main board in the imaging device to realize the information interaction between the main board and the imaging chip. Therefore, when the imaging chip is installed, it is necessary to identify the imaging box information such as the manufacturer code, model, characteristic parameters, number of imaging pages, and remaining amount of recording material stored in the data storage device. The imaging cartridge information such as the number of imaging pages in the imaging chip and the remaining amount of recording material shows the service life in the imaging cartridge. After the data representing the service life of the imaging chip shows that the service life has expired, the imaging chip can no longer be used. The imaging cartridge installed with the imaging chip cannot continue to be used and must be replaced, thereby causing unnecessary waste.
现有技术中已经出现了对成像芯片中的代表使用寿命的数据进行复位之后重新使用的技术,但是并非所有的成像芯片都能这样操作,原因为成像芯片内部预先设定了有关显影剂容量的数据改变的规则,禁止将显影剂容量的数据改成初始值或者将显影剂容量的数据改成更靠近初始值的数据,一旦违背成像芯片内部的规定,则成像芯片自动锁死或者自毁,导致无法使用。In the prior art, there has been a technology that resets the data representing the service life of the imaging chip and then reuses it. However, not all imaging chips can operate in this way. The reason is that the developer capacity is preset in the imaging chip. The data change rules prohibit changing the developer capacity data to the initial value or changing the developer capacity data to data closer to the initial value. Once the internal regulations of the imaging chip are violated, the imaging chip will automatically lock or self-destruct. Caused to be unusable.
发明内容Summary of the invention
为了使得成像芯片可以重复利用,而不受成像芯片内部设定的影响,本发明提供了一种芯片通信方法、一种成像芯片以及包括成像芯片的成像盒,成像盒上的成像芯片可以采用以上所述的芯片通信方法。In order to make the imaging chip reusable without being affected by the internal settings of the imaging chip, the present invention provides a chip communication method, an imaging chip, and an imaging box including the imaging chip. The imaging chip on the imaging box can use the above The chip communication method.
一种芯片通信方法,包括如下步骤:A chip communication method includes the following steps:
第一处理单元及第二处理单元接收初始数据;The first processing unit and the second processing unit receive initial data;
第一处理单元对初始数据进行处理之后形成第一数据,将第一数据发送至第二处理单元及阻挡单元;The first processing unit processes the initial data to form first data, and sends the first data to the second processing unit and the blocking unit;
阻挡单元拦截所述第一数据;The blocking unit intercepts the first data;
所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据,并发送该验证数据。The second processing unit generates verification data according to the received initial data and/or the first data, and sends the verification data.
优选地,第一处理单元对初始数据进行处理之后形成第一数据的过程包括:Preferably, the process of forming the first data after the first processing unit processes the initial data includes:
所述第一处理单元对其接收到的初始数据进行分析,得到第一分析结果;The first processing unit analyzes the received initial data to obtain a first analysis result;
根据第一分析结果利用初始数据进行计算得到第一数据或者提取第一处理 单元存储的与初始数据匹配的数据作为第一数据;According to the first analysis result, use the initial data to calculate the first data or extract the data stored in the first processing unit that matches the initial data as the first data;
将第一数据均发送至第二处理单元及阻挡单元。The first data are all sent to the second processing unit and the blocking unit.
优选地,所述验证数据包括第一验证数据和/或第二验证数据。Preferably, the verification data includes first verification data and/or second verification data.
优选地,所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据的步骤包括如下子步骤:Preferably, the step of generating verification data by the second processing unit according to the received initial data and/or the first data includes the following sub-steps:
所述第二处理单元对其接收到的原始数据进行分析;The second processing unit analyzes the received raw data;
根据分析结果利用原始数据进行计算得到第二数据或者提取第二处理单元存储的与原始数据匹配的数据作为第二数据;According to the analysis result, use the original data to calculate the second data or extract the data that matches the original data stored by the second processing unit as the second data;
将第二数据作为第二验证数据。Use the second data as the second verification data.
优选地,将第二数据作为第二验证数据的过程包括:将第二数据替换成与覆盖部分或者全部第一数据,使得第二数据变成第二验证数据;或者将第二数据修改部分或者全部第一数据,修改后的部分或者全部第一数据为第二验证数据。Preferably, the process of using the second data as the second verification data includes: replacing the second data with and overwriting part or all of the first data so that the second data becomes the second verification data; or modifying part of the second data or All the first data, part or all of the first data after modification is the second verification data.
优选地,所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据的步骤包括如下子步骤:Preferably, the step of generating verification data by the second processing unit according to the received initial data and/or the first data includes the following sub-steps:
第二处理单元接收所述第一数据;The second processing unit receives the first data;
识别所述第一数据的可用数据;Identifying available data of the first data;
根据所述可用数据得到第一验证数据。The first verification data is obtained according to the available data.
优选地,所述第一数据包括可用数据和/或不可用数据。Preferably, the first data includes available data and/or unavailable data.
本发明提供的一种成像芯片,包括第一处理单元、第二处理单元及阻挡单元;所述阻挡单元与第一处理单元连接,所述阻挡单元用于拦截至少第一处理单元发送的第一数据;所述第二处理单元与第一处理单元电性连接,该第二处理单元与第一处理单元能进行数据交互。An imaging chip provided by the present invention includes a first processing unit, a second processing unit, and a blocking unit; the blocking unit is connected to the first processing unit, and the blocking unit is used to intercept at least the first processing unit sent by the first processing unit. Data; the second processing unit is electrically connected to the first processing unit, and the second processing unit and the first processing unit can perform data interaction.
优选地,所述阻挡单元允许初始数据经阻挡单元发送至第一处理单元,并拦截第一处理单元发送至阻挡单元的第一数据。Preferably, the blocking unit allows initial data to be sent to the first processing unit via the blocking unit, and intercepts the first data sent by the first processing unit to the blocking unit.
优选地,所述第一处理单元至少包括第一数据传输端,所述阻挡单元至少与第一处理单元的输出单元数据传输端连接。Preferably, the first processing unit includes at least a first data transmission terminal, and the blocking unit is at least connected to the output unit data transmission terminal of the first processing unit.
优选地,所述第二处理单元至少包括第二数据传输端;第二数据传输端与第一数据传输端连接;第一处理单元中的第一数据通过第一数据传输端与第二数据传输端发送至第二处理单元。Preferably, the second processing unit includes at least a second data transmission terminal; the second data transmission terminal is connected to the first data transmission terminal; the first data in the first processing unit is transmitted to the second data transmission terminal through the first data transmission terminal The end is sent to the second processing unit.
优选地,所所述阻挡单元包括输入端及输出端;所述输出端与第一处理。Preferably, the blocking unit includes an input terminal and an output terminal; the output terminal and the first processing.
优选地,所述阻挡单元为单向导通元件。Preferably, the blocking unit is a unidirectional conducting element.
优选地,所述单向导通元件包括二极管、MOS管或三极管中的至少一种。Preferably, the unidirectional conduction element includes at least one of a diode, a MOS tube or a triode.
本发明提供的一种成像盒,包括盒体,所述盒体内置有显影剂,还包括成像芯片,所述成像芯片为以上所述成像盒芯片的芯片通信方法;或所述芯片为以上所述芯片。An imaging cartridge provided by the present invention includes a cartridge body with a built-in developer and an imaging chip. The imaging chip is the chip communication method of the imaging cartridge chip described above; or the chip is the above-mentioned chip communication method.述chip.
本发明的有益效果:The beneficial effects of the present invention:
与现有技术相比,本发明的芯片包括第一处理单元、第二处理单元及阻挡单元;所述阻挡单元与第一处理单元连接,所述阻挡单元用于拦截至少第一处理单元发送的第一数据;所述第二处理单元与第一处理单元电性连接,该第二处理单元与第一处理单元能进行数据交互。第一处理单元与第二处理单元均可以接受到原始数据,但是可以通过阻挡单元对第一处理单元发送的第一数据进行拦截,使得第一处理单元的第一数据不能经阻挡单元发出,但是可以发送至第二处理单元,然后通过第二处理单元完成验证,从而提高验证的效率。Compared with the prior art, the chip of the present invention includes a first processing unit, a second processing unit, and a blocking unit; the blocking unit is connected to the first processing unit, and the blocking unit is used to intercept at least the data sent by the first processing unit. First data; The second processing unit is electrically connected to the first processing unit, and the second processing unit can interact with the first processing unit. Both the first processing unit and the second processing unit can receive the original data, but the first data sent by the first processing unit can be intercepted by the blocking unit, so that the first data of the first processing unit cannot be sent through the blocking unit, but It can be sent to the second processing unit, and then the verification is completed by the second processing unit, thereby improving the efficiency of the verification.
所述芯片通信方法可以通过第一处理单元及第二处理单元分别对原始数据 进行处理,第一处理单元的处理完成的第一数据由于有阻挡单元的存在不能通过阻挡单元发出去,但是其可以发送至第二处理单元,第一处理单元可以根据原始数据及第一数据得到验证数据,从而使得芯片在安装至成像设备之后可以正常使用。以便达到对第一处理单元重复使用的效果。另外通过两个处理单元分别对数据进行处理,可以有效的降低芯片的相应时间,进而提高验证通过的效率。The chip communication method can process the original data through the first processing unit and the second processing unit respectively. The first data processed by the first processing unit cannot be sent through the blocking unit due to the existence of the blocking unit, but it can It is sent to the second processing unit, and the first processing unit can obtain the verification data based on the original data and the first data, so that the chip can be used normally after being installed in the imaging device. In order to achieve the effect of repeated use of the first processing unit. In addition, the two processing units separately process the data, which can effectively reduce the corresponding time of the chip, thereby improving the efficiency of verification.
此外,包含有所述芯片的成像盒,或者成像盒中安装的芯片采用以上芯片通信方法的,从而使得成像盒的芯片可以被重复利用,所以该成像盒也可以被重复利用。In addition, the imaging box containing the chip or the chip installed in the imaging box adopts the above chip communication method, so that the chip of the imaging box can be reused, so the imaging box can also be reused.
附图说明Description of the drawings
图1为本发明较佳实施例中芯片电路框图;Figure 1 is a block diagram of a chip circuit in a preferred embodiment of the present invention;
图2为本发明另一较佳实施例中芯片电路框图;Figure 2 is a block diagram of a chip circuit in another preferred embodiment of the present invention;
图3为本发明的阻挡单元为二极管的实施例中芯片电路框图;3 is a block diagram of the chip circuit in the embodiment of the present invention where the blocking unit is a diode;
图4为本发明中阻挡单元为MOS管的实施例中芯片电路框图;4 is a block diagram of the chip circuit in the embodiment in which the blocking unit is a MOS tube in the present invention;
图5为本发明中阻挡单元为三极管的实施例中芯片电路框图Figure 5 is a block diagram of the chip circuit in the embodiment of the invention where the blocking unit is a triode
图6为本发明较佳实施例中芯片通信方法的流程图。Fig. 6 is a flowchart of a chip communication method in a preferred embodiment of the present invention.
具体实施方式Detailed ways
下面,结合附图以及具体实施方式,对本发明做进一步描述:In the following, the present invention will be further described with reference to the drawings and specific implementations:
参照图1-图6,本实施例涉及一种芯片,包括第一处理单元1、第二处理单元2及阻挡单元3。所述阻挡单元3与第一处理单元1连接。所述阻挡单元3可以与第一处理单元1直接连接,也可以间接连接。例如直接连接可为:阻挡单元3的电接触部与第一处理单元1的电接触部直接连接,所述电接触部可为金属材料(金、银、铜、铁或者金属合金等)制成;间接连接可通过将阻挡单元3与第一处理单元1设置于芯片的基板上,所述基板上印刷有电路,阻挡单元3及第一处理单元1均与印刷电路连接,使得所述阻挡单元3与第一处理单元1之间可以进行数据传输。所述外部的初始数据可以经过阻挡单元发送至第一处理单元。所述第一处理单元1发送给阻挡单元3的第一数据可以被阻挡单元3阻断,防止该第一数据通过阻挡单元3继续传输至其他单元。所述第二处理单元2与第一处理单元1电性连接,该第二处理单元2与第一处理单元1能进行数据交互。因此,所述第一处理单元的第一数据可以发送至第二处理单元。1 to 6, this embodiment relates to a chip including a first processing unit 1, a second processing unit 2 and a blocking unit 3. The blocking unit 3 is connected to the first processing unit 1. The blocking unit 3 can be directly connected to the first processing unit 1 or indirectly connected. For example, the direct connection can be: the electrical contact portion of the blocking unit 3 is directly connected to the electrical contact portion of the first processing unit 1, and the electrical contact portion can be made of a metal material (gold, silver, copper, iron or metal alloy, etc.) The indirect connection can be achieved by setting the blocking unit 3 and the first processing unit 1 on the substrate of the chip, the substrate is printed with a circuit, the blocking unit 3 and the first processing unit 1 are both connected to the printed circuit, so that the blocking unit Data transmission can be performed between 3 and the first processing unit 1. The external initial data may be sent to the first processing unit through the blocking unit. The first data sent by the first processing unit 1 to the blocking unit 3 may be blocked by the blocking unit 3 to prevent the first data from being continuously transmitted to other units through the blocking unit 3. The second processing unit 2 is electrically connected to the first processing unit 1, and the second processing unit 2 and the first processing unit 1 can exchange data. Therefore, the first data of the first processing unit can be sent to the second processing unit.
需要说明的是,所述第一处理单元1、第二处理单元2及阻挡单元3可为三个单独的零部件,在使用时再组合成一个整体,也可以仅将第一处理单元1、第二处理单元2及阻挡单元3中的任意两个或者三个设置于一个基板上,然后按照需要进行组合使用。例如将第一处理单元1与阻挡单元2设置于一个基板上,第二处理单元2单独作为一个零件,在使用时才将第二处理单元2与第一处理单元1及阻挡单元3组合。芯片在使用时,使用该芯片的外部设备可以对芯片的身份及使用寿命进行验证,此时芯片与外部设备之间会进行通信。在通信的过程中所述第一处理单元1、第二处理单元2可以分别针对外部的验证指令进行响应,并得到不同的验证数据。It should be noted that the first processing unit 1, the second processing unit 2, and the blocking unit 3 can be three separate parts, which can be combined into a whole when in use, or only the first processing unit 1, Any two or three of the second processing unit 2 and the blocking unit 3 are arranged on a substrate, and then used in combination as required. For example, the first processing unit 1 and the blocking unit 2 are arranged on a substrate, and the second processing unit 2 is used as a single part, and the second processing unit 2 is combined with the first processing unit 1 and the blocking unit 3 when in use. When the chip is in use, the external device using the chip can verify the identity and service life of the chip. At this time, the chip and the external device will communicate. During the communication process, the first processing unit 1 and the second processing unit 2 can respectively respond to external verification instructions and obtain different verification data.
所述芯片可与成像设备(外部设备)通信。例如成像设备对芯片的身份和/或寿命进行验证,若芯片能被成像设备验证通过,说明该芯片为合法且可用芯片。若验证不通过,则说明芯片为不合法或者不可用芯片。所述不可用芯片为其本身可以是合法的,但是由于使用寿命或者版本不符等原因导致其被成像设备拒绝使 用该芯片完成成像操作(例如打印操作,复印操作、扫描操作或者传真操作中的一种或者多种)。所述不合法的芯片可为芯片类型或品牌与打印机不匹配,或者芯片的其他身份信息验证无法通过的芯片。可以通过更换第一处理单元1实现该芯片通用不同类型的成像设备,可以通过更换或者复位第二处理单元2使得可以重复使用该芯片。The chip can communicate with an imaging device (external device). For example, the imaging device verifies the identity and/or life of the chip. If the chip can be verified by the imaging device, it means that the chip is legal and usable. If the verification fails, the chip is illegal or unusable. The unusable chip itself may be legal, but due to reasons such as service life or version inconsistency, it is rejected by the imaging device to use the chip to complete imaging operations (for example, one of printing operations, copy operations, scanning operations, or fax operations). Kind or multiple). The illegal chip may be a chip whose type or brand does not match the printer, or a chip whose other identity information verification fails. The chip can be used for imaging devices of different types by replacing the first processing unit 1, and the chip can be reused by replacing or resetting the second processing unit 2.
将该芯片与外部设备进行通信时,所述第二处理单元2与第一处理单元1均可以接收外部设备发送的原始数据。When the chip communicates with an external device, both the second processing unit 2 and the first processing unit 1 can receive the original data sent by the external device.
第二处理单元2与第一处理单元1接收到所述原始数据之后对分别对原始数据进行处理。第一处理单元1处理后得到的第一数据同时发送至第二处理单元2及阻挡单元3。所述第二处理单元2在接收到第一数据之后可以对该第一数据再进行处理。所述第二处理单元2可以根据第一数据得到至少部分验证数据,并将验证数据发送至外部设备完成验证。所述外部设备可为成像设备,或者具有类似功能的设备。所述芯片与外部设备通信的具体过程可参照以下实施例所述的芯片通信方法。The second processing unit 2 and the first processing unit 1 respectively process the original data after receiving the original data. The first data processed by the first processing unit 1 is sent to the second processing unit 2 and the blocking unit 3 at the same time. The second processing unit 2 can process the first data again after receiving the first data. The second processing unit 2 may obtain at least part of the verification data according to the first data, and send the verification data to an external device to complete the verification. The external device may be an imaging device, or a device with similar functions. The specific process of the communication between the chip and the external device can refer to the chip communication method described in the following embodiments.
所述阻挡单元3允许初始数据经阻挡单元3发送至第一处理单元1,并阻挡拦截第一处理单元1发送至阻挡单元3的第一数据。所述阻挡单元3在接受到第一处理单元1后得到的第一数据之后,阻止第一数据通过阻挡单元3发送至外部设备。The blocking unit 3 allows initial data to be sent to the first processing unit 1 via the blocking unit 3 and blocks and intercepts the first data sent by the first processing unit 1 to the blocking unit 3. The blocking unit 3 prevents the first data from being sent to the external device through the blocking unit 3 after receiving the first data obtained by the first processing unit 1.
所述阻挡单元3至少与第一处理单元1的第一数据传输端连接,用于防止第一处理单元1中的第一数据通过阻挡单元3发送出去。所述第一数据传输端可以包括数据接收端及数据发送端。The blocking unit 3 is connected to at least the first data transmission end of the first processing unit 1 to prevent the first data in the first processing unit 1 from being sent out through the blocking unit 3. The first data transmission end may include a data receiving end and a data sending end.
作为优选实施例,若第一处理单元1的数据接收端及数据发送端为同一个时或者该数据接收端及数据发送端同时连接在同一根数据线上时,所述阻挡单元3可以与该数据接收端及数据发送端均连接。第一处理单元1接收到的初始数据可以经过阻挡单元发送过来。As a preferred embodiment, if the data receiving end and the data sending end of the first processing unit 1 are the same or the data receiving end and the data sending end are connected to the same data line at the same time, the blocking unit 3 can be connected to the Both the data receiving end and the data sending end are connected. The initial data received by the first processing unit 1 may be sent through the blocking unit.
作为另一较佳实施例,若第一处理单元1的数据接收端及数据发送端为不是同一个时或者该数据接收端及数据发送端同时连接在不同的数据线上时,所述阻挡单元3至少与该数据发送端连接,以便阻挡数据发送端发送的数据。因此所述初始数据也可以不用经过阻挡单元3就可以发送至第一处理单元1。As another preferred embodiment, if the data receiving end and the data sending end of the first processing unit 1 are not the same or the data receiving end and the data sending end are connected to different data lines at the same time, the blocking unit 3 At least connect with the data sender in order to block the data sent by the data sender. Therefore, the initial data may also be sent to the first processing unit 1 without passing through the blocking unit 3.
所述第一处理单元1的第一数据发送至第二处理单元2,第二处理单元2拦截或者修改部分第一数据。The first data of the first processing unit 1 is sent to the second processing unit 2, and the second processing unit 2 intercepts or modifies part of the first data.
第二处理单元2接收到第一数据之后,通过第二处理单元2内的部分或者全部第二数据替换拦截的部分第一数据从而组成可以使用的验证数据;或者通过将部分第一数据根据第二数据修改成可以使用的验证数据。After the second processing unit 2 receives the first data, it replaces the intercepted part of the first data with part or all of the second data in the second processing unit 2 to form usable verification data; or by combining part of the first data according to the first data The second data is modified into usable verification data.
作为优选的实施例,所述第一数据可以包括可用数据和不可用数据,被第二处理单元拦截或者修改的部分第一数据可以为不可用数据。如此可以使得通过第二处理单元2发送的均为可用的验证数据。所述不可用数据可为被成像设备认为本身是合法的,但是由于某些特殊原因达到一定阈值或者预先设定的条件而被成像设备认为不能再使用了。例如芯片的寿命数据会随着使用次数或者时长会而变化,当寿命数据到的阈值之后,就会被成像设备认为芯片的寿命终止而禁止使用。所述可用数据则是可以被成像设备验证通过并且正常使用的数据。As a preferred embodiment, the first data may include available data and unavailable data, and part of the first data intercepted or modified by the second processing unit may be unavailable data. In this way, all the verification data sent by the second processing unit 2 are available. The unusable data may be considered by the imaging device to be legitimate, but due to some special reasons reaching a certain threshold or preset condition, the imaging device considers that it cannot be used anymore. For example, the lifespan data of the chip will change with the number of uses or duration. When the lifespan data reaches the threshold value, the imaging device will consider the life of the chip to be terminated and prohibit its use. The available data is data that can be verified by the imaging device and used normally.
所述第二处理单元2的第二数据传输端与阻挡单元3的输入端连接以及第一处理单元1的第一数据传输端连接。所述第二数据传输端也可以包括数据输入端及数据输出端。所述第二处理单元2的第二数据传输端可以与阻挡单元3分别 与外部设备连接,以便分别接受初始数据。The second data transmission end of the second processing unit 2 is connected to the input end of the blocking unit 3 and the first data transmission end of the first processing unit 1 is connected. The second data transmission terminal may also include a data input terminal and a data output terminal. The second data transmission end of the second processing unit 2 and the blocking unit 3 can be connected to external devices respectively, so as to respectively receive initial data.
作为优选的实施例,当所述第二数据传输端的数据输入端与数据输出端为同一个端子或者连接在同一个数据线上时,该第二数据传输端至少与第一数据传输端的数据输出端连接。As a preferred embodiment, when the data input terminal of the second data transmission terminal and the data output terminal are the same terminal or connected to the same data line, the second data transmission terminal is at least connected to the data output terminal of the first data transmission terminal.端连接。 End connection.
作为优选的实施例,当所述第二数据传输端的数据输入端与数据输出端不是同一个端子或者连接在不同的数据线上时,第二数据传输端的数据输入端至少与第一数据传输端的数据输出端连接。第二数据传输端的数据输出端可以与外部设备连接。或者所述第二数据传输端的数据输入端也可以分别与外部设备连接。As a preferred embodiment, when the data input terminal of the second data transmission terminal and the data output terminal are not the same terminal or are connected to different data lines, the data input terminal of the second data transmission terminal is at least connected to the data input terminal of the first data transmission terminal. Data output terminal connection. The data output terminal of the second data transmission terminal can be connected to an external device. Or the data input end of the second data transmission end may also be connected to an external device respectively.
阻挡单元3的输出端与第一处理单元1的第一数据传输端连接连接。由于第一处理单元1的第一数据传输端与阻挡单元3连接,故第一处理单元1中的第一数据通过阻挡单元3被拦截了,但是该第一数据可以发送至第二处理单元2进行处理或者转发。所述第一处理单元还可以能包括第一时钟端、第一接地端、第一电源端中的一个或者多个,所述第二处理单元还可以能包括第二时钟端、第二接地端、第二电源端中的一个或者多个。第一处理单元与第二处理单元可以包括的端子的数量,可以根据不同的协议或者外部设备的需求来设定。参照图1中,所述第一处理单元包括的第一数据传输端及第一时钟端,所述第二处理单元包括第二时钟端与第二数据传输端,图1中可见,所述第一处理单元的第一数据传输端及第一时钟端分别与所述阻挡单元连接。参照图2,当然也可以只在第一数据传输端与所述阻挡单元连接。所述第一数据传输端用于将数据发送发送至第一处理单元和/将数据从第一处理单元发出至拦截单元或第二处理单元中的至少一个,例如初始数据及第一数据都可以经过第一数据传输端传输。所述第二数据传输端可以用于将数据发送至第二处理单元和/或将数据从第二处理单元发出至外部设备,例如初始数据、第一数据及第二数据都可以经过第二数据传输端进行传输。The output terminal of the blocking unit 3 is connected to the first data transmission terminal of the first processing unit 1. Since the first data transmission end of the first processing unit 1 is connected to the blocking unit 3, the first data in the first processing unit 1 is intercepted by the blocking unit 3, but the first data can be sent to the second processing unit 2. For processing or forwarding. The first processing unit may also include one or more of a first clock terminal, a first ground terminal, and a first power terminal, and the second processing unit may also include a second clock terminal and a second ground terminal. , One or more of the second power terminals. The number of terminals that the first processing unit and the second processing unit may include can be set according to different protocols or requirements of external devices. Referring to FIG. 1, the first processing unit includes a first data transmission terminal and a first clock terminal, and the second processing unit includes a second clock terminal and a second data transmission terminal. As can be seen in FIG. 1, the first data transmission terminal The first data transmission terminal and the first clock terminal of a processing unit are respectively connected with the blocking unit. Referring to FIG. 2, of course, it is also possible to connect with the blocking unit only at the first data transmission end. The first data transmission end is used for sending data to the first processing unit and/or sending data from the first processing unit to at least one of the intercepting unit or the second processing unit. For example, both the initial data and the first data can be It is transmitted through the first data transmission terminal. The second data transmission terminal can be used to send data to the second processing unit and/or send data from the second processing unit to an external device. For example, the initial data, the first data, and the second data can all pass through the second data. The transmitting end performs transmission.
作为优选实施例,所述第二处理单元2可以与阻挡单元3并联。As a preferred embodiment, the second processing unit 2 can be connected in parallel with the blocking unit 3.
作为优选实施例,所述第二处理单元2的第二数据传输端可以分别阻挡单元的输入端及输出端连接。因此第二处理单元2中的第二数据发送出去时不会被阻挡端3阻挡。当将该芯片与成像设备连接之后,所述阻挡单元3可以连接于第一处理单元1与成像设备之间。As a preferred embodiment, the second data transmission end of the second processing unit 2 can block the connection of the input end and the output end of the unit respectively. Therefore, the second data in the second processing unit 2 will not be blocked by the blocking end 3 when it is sent out. After the chip is connected to the imaging device, the blocking unit 3 can be connected between the first processing unit 1 and the imaging device.
阻挡单元3允许成像设备的初始数据通过其发送至第一处理单元1,但是当第一处理单元1需要向成像设备发送第一数据时则阻挡单元3会对第一数据进行拦截。也就说成像设备的初始数据可以都发送至第一处理单元1与第二处理单元2,但是第一处理单元1的第一数据不能直接发送至成像设备,该第一数据可以发送至第二处理单元2,通过第二处理单元2转发第一数据或者对第一数据进行相应处理之后,再发送至成像设备。The blocking unit 3 allows the initial data of the imaging device to be sent to the first processing unit 1 through it, but when the first processing unit 1 needs to send the first data to the imaging device, the blocking unit 3 intercepts the first data. In other words, the initial data of the imaging device can be sent to both the first processing unit 1 and the second processing unit 2, but the first data of the first processing unit 1 cannot be directly sent to the imaging device. The first data can be sent to the second processing unit. The processing unit 2 forwards the first data through the second processing unit 2 or performs corresponding processing on the first data before sending it to the imaging device.
作为优选的实施例,所述阻挡单元3可以为单向导通元件。例如所述阻挡单元3允许从输入端往输出端传输数据,禁止从输出端往输入端传输数据。优选地,所述阻挡单元3可为二极管、MOS管(MOSFET金属-氧化物半导体场效应晶体管,Metal-Oxide-Semiconductor Field-Effect Transistor)或三极管或者控制芯片中的至少一种。阻挡单元3还可以为具有拦截功能的拦截电路。所述控制芯片或者拦截电路可为只允许外部数据通过其传输至第一处理单元1,禁止第一处理单元1的数据经由其传输至外部设备。As a preferred embodiment, the blocking unit 3 may be a unidirectional conducting element. For example, the blocking unit 3 allows data transmission from the input terminal to the output terminal, and prohibits data transmission from the output terminal to the input terminal. Preferably, the blocking unit 3 may be at least one of a diode, a MOS tube (MOSFET Metal-Oxide-Semiconductor Field-Effect Transistor), a triode, or a control chip. The blocking unit 3 may also be an intercepting circuit with an intercepting function. The control chip or the interception circuit may only allow external data to be transmitted to the first processing unit 1 through it, and prohibit the data of the first processing unit 1 from being transmitted to the external device through it.
作为另一较佳实施例,参照图2与图3,所述阻挡单元3可为二极管,所述阻挡单元3可为两个,当然也可为其他数量。所述阻挡单元3包括输出端及输入 端;在二极管的负极(输入端)为低电平,正极(输出端)为高电平时,二极管导通,有数据流过二极管。在二极管的正极为低电平,负极为高电平,二极管截止,阻挡数据流过二极管。As another preferred embodiment, referring to FIG. 2 and FIG. 3, the blocking unit 3 may be a diode, and the blocking unit 3 may be two, of course, there may be other numbers. The blocking unit 3 includes an output terminal and an input terminal; when the cathode (input terminal) of the diode is at low level and the anode (output terminal) is at high level, the diode is turned on and data flows through the diode. The anode of the diode is at low level and the cathode is at high level, the diode is cut off, blocking data from flowing through the diode.
当芯片采用单总线协议或者I 2C协议时,芯片及外部设备可以采用高低电平的方式进行信号传输,芯片及外部设备获得的数据可以为二进制数据。以外部设备作为主机,芯片作为从机为例,所述外部设备与所述阻挡单元3的输入端31连接,第一处理单元与所述阻挡单元3的输出端32连接。当外部设备(打印机等成像设备)与芯片为空闲状态时,通信总线上为高电平(例如3.3V或者5V等),此时通高示波器获取通信总线上的信号可为1。 When the chip adopts the single bus protocol or the I 2 C protocol, the chip and external devices can use high and low levels for signal transmission, and the data obtained by the chip and external devices can be binary data. Taking an external device as a host and a chip as a slave as an example, the external device is connected to the input terminal 31 of the blocking unit 3, and the first processing unit is connected to the output terminal 32 of the blocking unit 3. When the external device (imaging equipment such as printer) and the chip are in idle state, the communication bus is at a high level (for example, 3.3V or 5V, etc.). At this time, the signal on the communication bus obtained by the high-pass oscilloscope can be 1.
当外部设备需要往芯片发初始数据时,外部设备会先将高电平拉低为低电平(例如0V),此时第一处理单元端仍为高电平,由于二极管具有单向阻低通高的特性,因此阻挡单元3允许外部设备的低电平传输至第一处理单元,使得第一处理单元也为低电平。当外部设备的低电平传输至第一处理单元的过程中,可通过示波器获取通信总线上的信号可为0。外部设备端的低电平传输到的第一处理单元,相当于第一处理单元能接收到外部设备的初始数据。例如,所述初始数据为0101001110111101011101时,所述第一处理单元接收到的数据也可为0101001110111101011101。由此可知,当外部设备向第一处理单元发送初始数据时,所述阻挡单元3是导通的。When the external device needs to send initial data to the chip, the external device will first pull the high level to a low level (for example, 0V). At this time, the first processing unit end is still high, because the diode has a low unidirectional resistance. Because of the high characteristic, the blocking unit 3 allows the low level of the external device to be transmitted to the first processing unit, so that the first processing unit is also low. When the low level of the external device is transmitted to the first processing unit, the signal on the communication bus that can be obtained through the oscilloscope can be 0. The first processing unit to which the low level of the external device is transmitted is equivalent to that the first processing unit can receive the initial data of the external device. For example, when the initial data is 0101001110111101011101, the data received by the first processing unit may also be 0101001110111101011101. It can be seen that when the external device sends initial data to the first processing unit, the blocking unit 3 is turned on.
当芯片需要往外部设备发第一数据时,该芯片也会将高电平拉低为低电平,此时第一处理单元端可为低电平,阻挡单元3会阻止低电平传输至外部设备,外部设备的电平不会被拉低。通过示波器获取总线信号时,第一处理单元与阻挡单元3之间的信号为0,但是阻挡单元3至外部设备端的信号仍然是1。当第一处理单元发送的第一数据为0101010101010101时,但是阻挡单元3至外部设备端通过示波器获取的数据始终为1111111111111111,类似休眠状态,因此外部设备认为其未收到或者为检测到第一处理单元发来的第一数据。从而实现了阻挡单元3阻挡第一处理单元发送的第一数据。由此可知,当第一处理单元向外部设备发送初始数据时,所述阻挡单元3是不导通的。When the chip needs to send the first data to the external device, the chip will also pull the high level low to low level. At this time, the first processing unit end can be low level, and the blocking unit 3 will prevent the low level from being transmitted to External equipment, the level of external equipment will not be pulled down. When the bus signal is acquired through the oscilloscope, the signal between the first processing unit and the blocking unit 3 is 0, but the signal from the blocking unit 3 to the external device terminal is still 1. When the first data sent by the first processing unit is 0101010101010101, but the data obtained through the oscilloscope from the blocking unit 3 to the external device is always 1111111111111111, which is similar to a sleep state, so the external device thinks it has not received or detected the first processing The first data sent by the unit. In this way, the blocking unit 3 blocks the first data sent by the first processing unit. It can be seen from this that when the first processing unit sends initial data to the external device, the blocking unit 3 is not conductive.
作为另一较佳实施例,参照图2与图4,所述阻挡单元3还可以为MOS管。所述阻挡单元3包括输入端、输出端及第三端;所述输入端与外部设备连接,输出端与第一处理单元连接。该第三端可以根据电路实际布图选择悬空或者与第二处理单元连接。所述第三端可为MOS管的栅极G。所述输入端可为MOS管的源极S、漏极D。所述输出端也可为MOS管的源极S、漏极D。当所述MOS管为N沟道时,所述输出端可为MOS管的源极S,所述输入端可为MOS管的漏极D。当所述MOS管为P沟道时,所述输出端可为MOS管的漏极D,所述输入端可为MOS管的源极S。如此设置的原因由于MOS管中寄生的二极管,该MOS管导通的原理可以参照以上二极管实施例。从而实现外部设备可以将初始数据传输至第一处理单元,而第一处理单元的第一数据不会传输至外部设备。As another preferred embodiment, referring to FIGS. 2 and 4, the blocking unit 3 may also be a MOS transistor. The blocking unit 3 includes an input terminal, an output terminal, and a third terminal; the input terminal is connected to an external device, and the output terminal is connected to a first processing unit. The third terminal can be selected to be suspended or connected to the second processing unit according to the actual layout of the circuit. The third terminal may be the gate G of the MOS tube. The input terminal can be the source S and the drain D of the MOS tube. The output terminal can also be the source S and the drain D of the MOS tube. When the MOS tube is an N-channel, the output terminal may be the source S of the MOS tube, and the input terminal may be the drain D of the MOS tube. When the MOS transistor is a P-channel, the output terminal may be the drain D of the MOS transistor, and the input terminal may be the source S of the MOS transistor. The reason for this arrangement is due to the parasitic diode in the MOS tube. The principle of the MOS tube being turned on can be referred to the above diode embodiment. In this way, the external device can transmit the initial data to the first processing unit, but the first data of the first processing unit will not be transmitted to the external device.
作为另一较佳实施例,参照图2与图5,所述阻挡单元3还可以为三极管。所述阻挡单元3包括输入端、输出端及第四端;所述输入端与外部设备连接,输出端与第一处理单元连接。该第四端可以根据电路实际布图选择悬空或者与第二处理单元连接。所述第四端可为三极管的集电极C。所述输入端可为三极管的基极B或发射极E。所述输出端也可为三极管的基极B或发射极E。当所述三极管为NPN型时,所述输入端可为三极管的基极B,所述输出端可为三极管的发射极E。当所述三极管为PNP型时,所述输出端可为三极管的基极B,所述输入 端可为三极管的发射极E。如此设置的原因由于三极管中寄生的二极管。当将所述第四端悬空时,本实施例中的所述三极管的作用可以参照二极管。本实施例中阻挡单元3的工作原理可以参照二极管。As another preferred embodiment, referring to FIGS. 2 and 5, the blocking unit 3 may also be a triode. The blocking unit 3 includes an input terminal, an output terminal, and a fourth terminal; the input terminal is connected to an external device, and the output terminal is connected to a first processing unit. The fourth terminal can be selected to be suspended or connected to the second processing unit according to the actual layout of the circuit. The fourth end may be the collector C of the triode. The input terminal can be the base B or the emitter E of the triode. The output terminal can also be the base B or the emitter E of the triode. When the triode is of the NPN type, the input end may be the base B of the triode, and the output end may be the emitter E of the triode. When the transistor is of the PNP type, the output terminal may be the base B of the transistor, and the input terminal may be the emitter E of the transistor. The reason for this setting is the parasitic diode in the triode. When the fourth terminal is suspended, the function of the triode in this embodiment can refer to a diode. The working principle of the blocking unit 3 in this embodiment can be referred to a diode.
参照图7,作为另一较佳实施例,本发明还提供一种芯片通信方法包括如下步骤。如下所示的步骤S1-S5、步骤S31-S33、步骤S51-S53、步骤S51’-S53’可以为非固定顺序,或者说如上所述步骤中有些步骤序号不同但是可以同时进行,有些步骤虽然序号的号码在前面,也可能在后面执行。Referring to FIG. 7, as another preferred embodiment, the present invention also provides a chip communication method including the following steps. The steps S1-S5, S31-S33, S51-S53, and S51'-S53' as shown below can be in a non-fixed sequence. The serial number is at the front, and it may be executed at the back.
步骤S1,第二处理单元2及第一处理单元1均可以接收初始数据。当第一处理单元的数据输入与数据输出为同一个端口时,还可以包括步骤S2,若第一处理单元的数据输入与数据输出为同端口时,步骤S2可以省略。所述初始数据可为外部设备发送的验证数据。以下各步骤均以成像设备作为外部设备为例对本实施例的芯片通信方法进行说明。成像设备的验证数据包括芯片的身份验证指令、芯片的寿命验证指令等。身份验证指令可以为序列号验证指令、版本验证指令、型号验证指令、生产商验证指令等中的一种或者多种,其用于验证芯片中的序列号、版本、型号、生产商等身份数据是否为可用数据。寿命验证指令可为显影剂容量验证指令、打印次数验证或者显影剂剩余量验证,其用于验证芯片中的显影剂容量、打印次数或者显影剂剩余量等寿命数据是否为可用数据。寿命数据是否为可用数据的标准可为判断寿命数据是否达到终止阈值,例如判断显影剂剩余量是否为零或者芯片的打印次数是否达到最大值等。芯片根据身份验证指令所产生的身份数据可为第一验证数据。芯片根据其他验证指令所产生的验证数据可为第二验证数据;例如芯片根据寿命验证指令产生的寿命数据可为第二验证数据。所述第二验证数据可能会随着芯片的使用过程而发生变化。成像设备会根据第二验证数据的部分或者全部来判断芯片是否使用寿命终止。In step S1, both the second processing unit 2 and the first processing unit 1 can receive initial data. When the data input and data output of the first processing unit are on the same port, step S2 may also be included. If the data input and data output of the first processing unit are on the same port, step S2 may be omitted. The initial data may be verification data sent by an external device. In the following steps, the imaging device is used as an external device as an example to describe the chip communication method of this embodiment. The verification data of the imaging device includes the identity verification instruction of the chip, the life verification instruction of the chip, and so on. The identity verification instruction can be one or more of the serial number verification instruction, the version verification instruction, the model verification instruction, the manufacturer verification instruction, etc., which are used to verify the serial number, version, model, manufacturer and other identity data in the chip Whether it is available data. The life verification instruction may be a developer capacity verification instruction, printing times verification, or developer remaining amount verification, which is used to verify whether life data such as developer capacity, printing times, or remaining developer amount in the chip are usable data. The standard for whether the life data is available data may be to determine whether the life data reaches the termination threshold, for example, whether the remaining amount of developer is zero or whether the number of times of printing of the chip reaches the maximum value, etc. The identity data generated by the chip according to the identity verification instruction may be the first verification data. The verification data generated by the chip according to other verification instructions may be the second verification data; for example, the life data generated by the chip according to the life verification instruction may be the second verification data. The second verification data may change with the use of the chip. The imaging device judges whether the chip's service life has expired according to part or all of the second verification data.
步骤S2,阻挡单元3接收到初始数据之后,将初始数据发送至第一处理单元1。所述阻挡单元3可以将初始数据直接发送至第一处理单元1,而不对初始数据进行修改。在执行该步骤S2时,第一处理单元收到的初始数据是可以经过该阻挡单元之后再传输过来。Step S2, after receiving the initial data, the blocking unit 3 sends the initial data to the first processing unit 1. The blocking unit 3 may directly send the initial data to the first processing unit 1 without modifying the initial data. When step S2 is executed, the initial data received by the first processing unit can be transmitted after passing through the blocking unit.
步骤S3,第一处理单元1对初始数据进行处理之后形成第一数据,将第一数据发送至第二处理单元2及阻挡单元3。第一处理单元1对初始数据的处理包括对身份验证指令或者其他指令等分别进行分析,并根据分析结果分别进行处理到相应的第一数据。所述其他指令包括寿命验证指令。所述第一数据包括身份数据和/或其他数据。所述其他数据可以包括与芯片寿命相关的寿命数据。所述身份数据包括序列号、版本号、型号、生产商名称等中的一种或者多种;所述寿命数据包括显影剂容量、打印次数、首次使用时间、显影剂剩余量等中的一种或者多种。例如根据身份验证指令获取第一处理单元内存储的与芯片身份相关的第一数据(例如身份数据),或者可以对验证指令进行解密或者加密算法之后得到关于芯片身份相关的第一数据。也可对寿命验证指令进行分析,然后获取第一处理单元内存储的与芯片寿命相关的第一数据(例如寿命数据)。需要说明的是,所述与芯片寿命相关的第一数据可能会随着芯片的使用次数或者时间发生变化,从而使得该部分第一数据为不可用数据。In step S3, the first processing unit 1 processes the initial data to form first data, and sends the first data to the second processing unit 2 and the blocking unit 3. The processing of the initial data by the first processing unit 1 includes respectively analyzing the identity verification instructions or other instructions, and respectively processing the corresponding first data according to the analysis results. The other instructions include life verification instructions. The first data includes identity data and/or other data. The other data may include life data related to the life of the chip. The identity data includes one or more of serial number, version number, model number, manufacturer name, etc.; the life data includes one of developer capacity, printing times, first use time, remaining developer amount, etc. Or multiple. For example, the first data (such as identity data) related to the chip identity stored in the first processing unit can be obtained according to the identity verification instruction, or the first data related to the chip identity can be obtained after the verification instruction is decrypted or encrypted. It is also possible to analyze the life verification instruction, and then obtain the first data (for example, life data) related to the life of the chip stored in the first processing unit. It should be noted that the first data related to the life of the chip may change with the number of times or time the chip is used, so that this part of the first data is unusable data.
所述步骤S3还可以包括如下子步骤:The step S3 may also include the following sub-steps:
步骤S31,所述第一处理单元1对其接收到的初始数据进行分析,得到第一分析结果;第一分析结果可为将初始数据的分析得出对芯片的身份验证指令或者芯片的寿命验证指令或者其他指令等中的至少一种。In step S31, the first processing unit 1 analyzes the initial data it receives to obtain a first analysis result; the first analysis result may be the analysis of the initial data to obtain the identity verification instruction for the chip or the life verification of the chip At least one of instructions or other instructions.
步骤S32,根据第一分析结果利用初始数据进行计算或者提取第一处理单元1存储的与初始数据匹配的数据形成第一数据。例如第一分析结果为对身份验证指令,可根据该身份指令获取序列号、版本号等关于芯片的身份数据中的一种或者中,若该身份指令中还包含的加密指令,第一处理单元1还可根据身份指令中的加密指令进行解密得到解密数据。所述身份数据及解密数据均可作为第一数据。例如第一分析结果为寿命验证指令,第一处理单元1可以根据该寿命指令获取关门芯片的寿命数据中的一种或者多种。所述寿命数据也可为第一数据。优选地,所述身份数据不会随着芯片的使用过程或者次数而发生变化。In step S32, the initial data is used for calculation according to the first analysis result or the data stored in the first processing unit 1 that matches the initial data is extracted to form the first data. For example, the first analysis result is an identity verification instruction, and one of the serial number, version number and other identity data about the chip can be obtained according to the identity instruction. If the identity instruction also contains an encryption instruction, the first processing unit 1 The decrypted data can also be obtained by decrypting according to the encryption instruction in the identity instruction. Both the identity data and the decrypted data can be used as the first data. For example, the first analysis result is a life verification instruction, and the first processing unit 1 may obtain one or more of the life data of the door-closing chip according to the life instruction. The life data may also be the first data. Preferably, the identity data does not change with the use process or times of the chip.
步骤S33,将第一数据均发送至第二处理单元2及阻挡单元3。第二处理单元2或阻挡单元3所接受的第一数据可为包括全部的身份数据及寿命数据,也可以包括部分身份数据与全部寿命数据,或者全部的身份数据及部分寿命数据,或者全部的寿命数据,或者部分的寿命数据,或者全部身份数据或者部分的身份数据。所述第一数据的具体内容可为根据初始数据来生成。例如初始数据为验证全部身份指令及部分寿命指令,那么第一数据则可为全部的身份数据及部分寿命数据。Step S33, sending the first data to the second processing unit 2 and the blocking unit 3. The first data received by the second processing unit 2 or the blocking unit 3 may include all the identity data and life data, or may include part of the identity data and all life data, or all the identity data and part of the life data, or all Life data, or part of life data, or all identity data or part of identity data. The specific content of the first data may be generated according to the initial data. For example, the initial data is to verify all the identity data and part of the lifespan instruction, then the first data can be all the identity data and part of the lifespan data.
步骤S4,所述阻挡单元3拦截所述第一数据。所述阻挡单元3为单向传输数据的单元,允许初始数据通过阻挡单元3传送至第一处理单元1,但是阻挡第一处理单元1的数据通过阻挡单元3再传输至外部设备。Step S4, the blocking unit 3 intercepts the first data. The blocking unit 3 is a unit for unidirectional data transmission, allowing initial data to be transmitted to the first processing unit 1 through the blocking unit 3, but blocking the data of the first processing unit 1 to be transmitted to the external device through the blocking unit 3 again.
步骤S5,所述第二处理单元2根据接收的初始数据及第一处理单元1的第一数据生成验证数据。该第二处理单元2可将所述验证数据发送至外部设备(例如成像设备)完成验证。所述第一数据可以包括可用数据及不可用数据。第二处理单元2可对第一数据的可用数据进行保留作为验证数据的一部分,不可用数据进行处理使得该不可用数据可以被成像设备验证通过。作为优选实施例,所述第一处理单元1中至少有部分第一数据是可用数据(例如身份数据或者密钥等中的一种或者多种)或者说是可以被成像设备验证通过的数据。第一数据还可能存在部分第一数据是不能被成像设备验证通过或者不能被成像设备使用的数据。也就说仅将第一处理单元1作为芯片与成像设备通信,成像设备是无法正常工作的。因此有必要利用第二处理单元2及阻挡单元3来协助完成验证。Step S5, the second processing unit 2 generates verification data according to the received initial data and the first data of the first processing unit 1. The second processing unit 2 can send the verification data to an external device (for example, an imaging device) to complete the verification. The first data may include available data and unavailable data. The second processing unit 2 may reserve the available data of the first data as part of the verification data, and process the unavailable data so that the unavailable data can be verified by the imaging device. As a preferred embodiment, at least part of the first data in the first processing unit 1 is usable data (for example, one or more of identity data or keys) or data that can be verified by an imaging device. The first data may also have part of the first data that cannot be verified by the imaging device or data that cannot be used by the imaging device. In other words, if the first processing unit 1 is used as a chip to communicate with the imaging device, the imaging device cannot work normally. Therefore, it is necessary to use the second processing unit 2 and the blocking unit 3 to assist in completing the verification.
所述步骤S5中的所述第二处理单元2根据接收的初始数据和/或第一处理单元1的第一数据生成验证数据的过程包括:所述第二处理单元2根据第一数据得到第一验证数据的过程;以及所述第二处理单元2根据原始数据生成第二验证数据的过程。In the step S5, the process of the second processing unit 2 generating verification data according to the received initial data and/or the first data of the first processing unit 1 includes: the second processing unit 2 obtains the first data according to the first data. A process of verifying data; and a process of generating second verification data by the second processing unit 2 based on the original data.
所述第二处理单元2根据第一数据得到第一验证数据的过程包括如下子步骤:The process for the second processing unit 2 to obtain the first verification data according to the first data includes the following sub-steps:
步骤S51,第二处理单元2接收所述第一数据。Step S51, the second processing unit 2 receives the first data.
步骤S52,识别所述第一数据的可用数据。所述可用数据也可以被称为合法数据。作为优选地,所述可用数据或者合法数据可为芯片的身份数据,例如序列号、版本号、型号等。Step S52: Identify available data of the first data. The available data may also be referred to as legal data. Preferably, the available data or legal data may be the identity data of the chip, such as serial number, version number, model number, and so on.
步骤S53,根据所述可用数据得到第一验证数据。第二处理单元可以将所述所有的可用数据作为第一验证数据;也可以从可用数据中获取部分数据作为第一验证数据,例如可以根据初始数据从可用数据中获取部分数据作为第一验证数据;例如所述初始数据为验证序列号指令,所述第二处理单元2从第一验证数据中提取序列号,或者根据序列号指令及加密算法计算得到的秘钥,将序列号或秘钥中的至少一个作为第一验证数据。通常情况下可能会将序列号及秘钥同时作为 第一验证数据。Step S53: Obtain first verification data according to the available data. The second processing unit may use all the available data as the first verification data; it may also obtain part of the data from the available data as the first verification data, for example, may obtain part of the data from the available data as the first verification data according to the initial data. For example, the initial data is a verification serial number instruction, the second processing unit 2 extracts the serial number from the first verification data, or the secret key calculated according to the serial number instruction and the encryption algorithm, the serial number or the secret key At least one of is used as the first verification data. Under normal circumstances, the serial number and secret key may be used as the first verification data at the same time.
所述第二处理单元2根据原始数据生成第二验证数据的过程,可以包括如下子步骤:The process of generating the second verification data by the second processing unit 2 according to the original data may include the following sub-steps:
步骤S51’,所述第二处理单元2对其接收到的原始数据进行分析。作为优选方案,本步骤中分析的结果包括第二分析结果及第三分析结果。所述第二分析结果可为:原始数据中的可以不需要第二处理单元对其进行响应的部分或全部数据(例如第一分析结果对应的数据可以通过第一处理单元1得出了可用数据来进行相应的指令,如该指令可为身份验证指令)。所述第三分析结果可为原始数据中的可以通过第二出来单元对其进行相应的部分或者全部数据(例如,第三分析结果对应的数据可通过第一处理单元1得出的是不可用数据的指令例如芯片的寿命验证指令)。In step S51', the second processing unit 2 analyzes the received raw data. As a preferred solution, the analysis result in this step includes the second analysis result and the third analysis result. The second analysis result may be: some or all of the data in the original data that may not require the second processing unit to respond to it (for example, the data corresponding to the first analysis result may obtain the available data through the first processing unit 1 To carry out the corresponding instruction, for example, the instruction can be an identity verification instruction). The third analysis result may be part or all of the original data that can be processed by the second output unit (for example, the data corresponding to the third analysis result can be obtained by the first processing unit 1 is unavailable) Data commands such as chip life verification commands).
步骤S52’,根据分析结果利用原始数据进行计算或者提取第二处理单元2存储的与原始数据匹配的第二数据。例如,本步骤中可以根据第三分析结果所对应的初始数据,从第二处理单元中获取关于芯片使用寿命相关的寿命数据作为第二数据;或者也可以根据初始数据计算得出关于使用寿命的寿命数据作为第二数据。In step S52', the original data is used to calculate according to the analysis result or the second data stored in the second processing unit 2 that matches the original data is extracted. For example, in this step, the life data related to the service life of the chip can be obtained from the second processing unit according to the initial data corresponding to the third analysis result as the second data; or the service life can be calculated according to the initial data. The life data is used as the second data.
步骤S53’,将第二数据作为第二验证数据。Step S53', using the second data as the second verification data.
所述步骤S53’的过程可以包括:对第一数据中的不可用数据进行筛选,将第二数据替换掉不可用数据,从而使得第二数据作为第二验证数据;或者根据第二数据将第一数据中的不可用数据修改成可用数据,修改后的可用数据为第二验证数据;或者忽略第一数据中的不可用数据,直接发送第二数据作为第二验证数据。例如:第一数据中的不可用数据为芯片的寿命数据为显影剂剩余量为0(在第一处理单元中或第二处理单元中可以采用二进制方式进行存储),第二数据为芯片的寿命数据为显影剂剩余量为100%(在第二处理单元中可以采用二进制方式进行存储);然后将0忽略或者丢弃,直接发送100%作为第二验证数据即可,或者将0改成100%作为第二验证数据即可。The process of step S53' may include: screening the unavailable data in the first data, replacing the unavailable data with the second data, so that the second data is used as the second verification data; or the first data is selected according to the second data. Unavailable data in one data is modified into usable data, and the modified usable data is the second verification data; or the unavailable data in the first data is ignored, and the second data is directly sent as the second verification data. For example: the unavailable data in the first data is the life of the chip. The data is that the remaining amount of developer is 0 (in the first processing unit or the second processing unit can be stored in binary mode), and the second data is the life of the chip The data is 100% of the remaining amount of developer (binary storage can be used in the second processing unit); then 0 is ignored or discarded, and 100% is directly sent as the second verification data, or 0 is changed to 100% Just as the second verification data.
作为优选地实施例,所述第一处理单元1中存储的数据中包括可用数据及不可用数据。所述第一处理单元1可为旧芯片或原装芯片,所述原装芯片例如惠普、三星、理光等成像设备生产厂商生产的原装芯片。所述旧芯片为在成为旧芯片之前,该芯片是可用芯片,只是因为达到了预定条件了而不可用,例如原装芯片或者代用芯片的使用寿命终止成为了旧芯片。利用第一处理单元1进行身份验证始终是可以通过的。所述第二处理单元2可为代用芯片,该第二处理单元2包括与第一处理单元1中不可用数据对应的可用数据。例如所述第二处理单元2可以为STM8系列或者STM32系列的芯片,当然还可以为其他的加密芯片。第二处理单元2中关于芯片的寿命数据是可以根据成像设备的需求进行修改,所以其寿命数据也是可以通过的。所述使用寿命数据可以小于或者等于成像设备需求的最大值,大于成像设备需求的最小值。由于第二处理单元2的技术难度较第一处理单元1简单,易于生产,并且第二处理单元2的成本较低。本发明中通过第二处理单元2得到寿命数据(第一验证数据),并且利用第一处理单元1生成身份数据(第二验证数据),还通过阻挡单元3拦截第一处理单元1的第一数据,使得第二处理单元2可以同时具有全部的验证数据,达到芯片被成像设备验证通过的效果,从而降低成本及生产难度。并且所述第一处理单元1及第二处理单元2均可重复使用,减少了不必要的浪费。As a preferred embodiment, the data stored in the first processing unit 1 includes available data and unavailable data. The first processing unit 1 may be an old chip or an original chip, such as an original chip produced by an imaging device manufacturer such as HP, Samsung, and Ricoh. The old chip is a usable chip before it becomes an old chip, but it is unusable because it meets a predetermined condition, for example, the original chip or a substitute chip has expired and become an old chip. The identity verification using the first processing unit 1 is always passable. The second processing unit 2 may be a substitute chip, and the second processing unit 2 includes available data corresponding to the unavailable data in the first processing unit 1. For example, the second processing unit 2 may be an STM8 series or STM32 series chip, of course, it may also be another encryption chip. The life data of the chip in the second processing unit 2 can be modified according to the requirements of the imaging device, so the life data can also be passed. The service life data may be less than or equal to the maximum required by the imaging device and greater than the minimum required by the imaging device. Since the technical difficulty of the second processing unit 2 is simpler than that of the first processing unit 1, it is easy to produce, and the cost of the second processing unit 2 is lower. In the present invention, the life data (first verification data) is obtained by the second processing unit 2, and the first processing unit 1 is used to generate the identity data (second verification data), and the first processing unit 1 is intercepted by the blocking unit 3. The data enables the second processing unit 2 to have all the verification data at the same time, achieving the effect that the chip is verified by the imaging device, thereby reducing cost and production difficulty. In addition, the first processing unit 1 and the second processing unit 2 can be reused, which reduces unnecessary waste.
本发明的优选实施例中,利用第一处理单元1的第一数据中的身份数据进 行身份验证。通常情况下身份验证的过程比较复杂,单纯的第二处理单元2可能无法实现该身份验证,但是第一处理单元1中关于芯片使用寿命的寿命数据已经达到极限不能被成像设备使用了,且该寿命数据又无法直接修改,或者即使修改该寿命数据第一处理单元1就会出现故障而无法使用,因此可以利用第二处理单元2的寿命数据进行寿命验证。当芯片被成像设备认为使用完毕之后,仅需替换第二处理单元2或者对第二处理单元2的寿命数据进行复位或重新烧录即可实现芯片重新被成像设备使用,相对应直接复位第一处理单元1来说更简单,成本更低。安装至成像设备的芯片可以为成像芯片。In a preferred embodiment of the present invention, the identity data in the first data of the first processing unit 1 is used for identity verification. Under normal circumstances, the process of identity verification is more complicated. The second processing unit 2 alone may not be able to achieve this identity verification. However, the life data on the service life of the chip in the first processing unit 1 has reached the limit and cannot be used by the imaging device. The life data cannot be modified directly, or even if the life data is modified, the first processing unit 1 will fail and become unusable. Therefore, the life data of the second processing unit 2 can be used for life verification. After the chip is considered to be used by the imaging device, only the second processing unit 2 needs to be replaced or the life data of the second processing unit 2 is reset or re-burned to realize the chip is used by the imaging device again, corresponding to the first reset directly The processing unit 1 is simpler and lower in cost. The chip mounted to the imaging device may be an imaging chip.
以下以第一处理单元1中的显影剂剩余量为零而导致第一处理单元1不能被成像设备使用为例,将本发明的芯片及其芯片通信方法进一步进行说明。假如所述初始数据中包含有序列号验证指令及显影剂剩余量验证指令。初始数据被第一处理单元1与第二处理单元2均接收之后,分别进行处理。所述第一处理单元1根据原始数据得到第一数据(包括根据序列号验证指令所得到的序列号和/或秘钥等可用数据),并发送至第二处理单元2。由于阻挡单元3的存在,所述第一处理单元1的第一数据只能发送至第二处理单元2进行处理,不会被直接发送至成像设备。第二处理单元2根据从第一数据中获取可用数据,并将该可用数据作为第一验证数据。Taking the remaining amount of the developer in the first processing unit 1 as zero and the first processing unit 1 cannot be used by the imaging device as an example, the chip and the chip communication method of the present invention will be further described. If the initial data includes a serial number verification instruction and a developer remaining amount verification instruction. After the initial data is received by both the first processing unit 1 and the second processing unit 2, they are processed separately. The first processing unit 1 obtains the first data (including usable data such as the serial number and/or secret key obtained according to the serial number verification instruction) according to the original data, and sends it to the second processing unit 2. Due to the existence of the blocking unit 3, the first data of the first processing unit 1 can only be sent to the second processing unit 2 for processing, and will not be sent directly to the imaging device. The second processing unit 2 obtains the available data from the first data, and uses the available data as the first verification data.
所述第二处理单元2对初始数据进行分析,并根据剩余量验证指令从第二处理单元2中获取显影剂剩余量作为第二验证数据,或者,第二处理单元还可获取第一数据中的不可用数据(已经为零的显影剂容量数据),将第二数据(为满的显影剂容量数据)覆盖不可用数据,使得第二数据作为第二验证数据。因此所述第二处理单元2中的剩余容量的数据(第二数据)替换至第一数据中的剩余容量数据(不可用数据),使得第二数据作为第二验证数据。如此可以在第二处理单元2中同时具有成像设备需要的全部验证数据(包括第一验证数据及第二验证数据),因此可以通过第二处理单元2发送成像设备需要的验证数据,从而达到实现验证通过。假如,所述初始数据只包含身份验证指令时,所述第二处理单元2可以充当成将第一数据转发至成像设备的元件,可以不用对第一数据进行处理;或者说第二处理单元2对第一数据进行了一次转发。或者说所述第一处理单元1的寿命数据仍为可用数据时,所述第二处理单元2也可只是作为转发元件,也可以采用如上所述的芯片通信方法进行验证。The second processing unit 2 analyzes the initial data, and obtains the remaining amount of developer from the second processing unit 2 as the second verification data according to the remaining amount verification instruction, or the second processing unit may also obtain the first data The unusable data (the developer capacity data that is already zero) is overwritten with the second data (the developer capacity data that is full), so that the second data is used as the second verification data. Therefore, the remaining capacity data (second data) in the second processing unit 2 is replaced with the remaining capacity data (unusable data) in the first data, so that the second data is used as the second verification data. In this way, all the verification data (including the first verification data and the second verification data) required by the imaging device can be provided in the second processing unit 2 at the same time, so the verification data required by the imaging device can be sent through the second processing unit 2 to achieve Verification passed. If, if the initial data only contains an identity verification instruction, the second processing unit 2 can act as a component that forwards the first data to the imaging device, and the first data may not be processed; or the second processing unit 2 The first data was forwarded once. In other words, when the life data of the first processing unit 1 is still usable data, the second processing unit 2 can also only be used as a forwarding element, or the above-mentioned chip communication method can be used for verification.
由于芯片安装于成像设备(外部设备)之后,在使用过程中,成像设备肯定会对芯片的身份数据及寿命数据均进行验证。否则芯片则无法执行打印或者复印等成像操作。通常成像设备对芯片验证的时间有可能是同时进行的,也有可能是分开进行的,例如有些成像设备在执行一次打印操作之前,会对芯片的寿命数据进行验证;而有些成像设备在执行一次打印操作之前,会先对芯片的身份数据进行验证,然后再对芯片的寿命数据进行验证;还有些成像设备在执行一次打印操作之前会对芯片的身份数据进行验证,在打印过程中还会对身份数据或寿命进行验证。所述芯片中存储的数据均需要是可用数据,才能保证芯片能正常使用,本发明通过阻挡单元对第一数据发送至外部设备的路径进行阻挡,但是发送至第二处理单元的路径是通路,可以通过第二处理单元对第一数据中的不可用数据进行处理得到可用的验证数据,从而实现芯片可以利用可以数据与外部设备通信。所以所述芯片及采用该芯片通信方法的芯片均为可用芯片。Since the chip is installed in the imaging device (external device), during use, the imaging device will definitely verify the identity data and life data of the chip. Otherwise, the chip cannot perform imaging operations such as printing or copying. Generally, the time for the imaging device to verify the chip may be performed at the same time or separately. For example, some imaging devices verify the life data of the chip before performing a printing operation; while some imaging devices perform a printing operation. Before the operation, the identity data of the chip will be verified first, and then the life data of the chip will be verified; some imaging devices will verify the identity data of the chip before performing a printing operation, and the identity will be verified during the printing process. Data or lifetime is verified. The data stored in the chip needs to be usable data to ensure that the chip can be used normally. The present invention blocks the path for sending the first data to the external device through the blocking unit, but the path for sending to the second processing unit is a path. The unavailable data in the first data can be processed by the second processing unit to obtain usable verification data, so that the chip can use the available data to communicate with the external device. Therefore, the chip and the chip adopting the chip communication method are all usable chips.
本发明所述的芯片还为居家用品、办公用品、交通运输、教育及通信等领域中产品的芯片,例如电视机的芯片、手机的芯片、穿戴式通信产品(智能眼镜、 智能手表等)的芯片、无人驾驶车的芯片、无人机的芯片或者监控的芯片等。当这些产品内的芯片为已经不能满足使用者需要的旧芯片(芯片不能用或者芯片反应太慢),但是旧芯片(第二处理单元)内的有些数据仍然可用,有些数据不可用了,此时仅需新增加一个芯片(第二处理单元)及阻挡单元组合使用,使得组合后的产品就能满足使用者的需要或者组合后为具有最新技术或者最新使用寿命的产品。所述新增的芯片相对于完全替换旧芯片研发成本及生产成本均较低。The chip of the present invention is also a chip for products in the fields of household goods, office supplies, transportation, education and communications, such as TV chips, mobile phone chips, and wearable communication products (smart glasses, smart watches, etc.) Chips, chips for unmanned vehicles, chips for drones, or monitoring chips, etc. When the chips in these products are old chips that can no longer meet the needs of users (the chip cannot be used or the chip response is too slow), but some data in the old chip (the second processing unit) is still available, and some data is unavailable, this It is only necessary to add a new chip (second processing unit) and a combination of the blocking unit, so that the combined product can meet the needs of the user or the combined product is the product with the latest technology or the latest service life. The research and development cost and production cost of the newly added chip are lower than that of completely replacing the old chip.
本发明还可以提供一种成像盒,其包括盒体及芯片,所述盒体内置有显影剂,所述芯片可为以上实施例所述的芯片,此处不与赘述。所述芯片通信方法可参照以上的芯片通信方法,此处不与赘述。The present invention may also provide an imaging cartridge, which includes a cartridge body and a chip, the cartridge body is built with a developer, and the chip may be the chip described in the above embodiment, which will not be repeated here. The chip communication method can refer to the above chip communication method, which will not be repeated here.
综上所示,本发明可以通过第一处理单元1及第二处理单元2分别对原始数据进行处理,第一处理单元1的处理完成的第一数据由于有阻挡单元3的存在不能从阻挡单元3发送出(例如不能通过阻挡单元3发送至成像设备),但是能发送至第二处理单元2,第一处理单元1可以根据原始数据及第一数据得到验证数据,从而使得芯片在安装至成像设备之后可以正常使用。以便达到对第一处理单元1重复使用的效果。另外通过两个处理单元分别对数据进行处理,可以有效的降低芯片的相应时间,进而提高验证通过的效率。In summary, in the present invention, the original data can be processed by the first processing unit 1 and the second processing unit 2 respectively. The first data processed by the first processing unit 1 cannot be removed from the blocking unit 3 due to the existence of the blocking unit 3. 3 send out (for example, it cannot be sent to the imaging device through the blocking unit 3), but can be sent to the second processing unit 2. The first processing unit 1 can obtain the verification data based on the original data and the first data, so that the chip is installed in the imaging device The equipment can then be used normally. In order to achieve the effect of repeatedly using the first processing unit 1. In addition, the two processing units separately process the data, which can effectively reduce the corresponding time of the chip, thereby improving the efficiency of verification.
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。For those skilled in the art, various other corresponding changes and deformations can be made based on the technical solutions and concepts described above, and all these changes and deformations should fall within the protection scope of the claims of the present invention.
需要说明的是:以上所述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。“例如”之后的内容仅为举例并非穷举。It should be noted that the above-mentioned embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The singular forms of "a", "said" and "the" used in the embodiments and appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. The content after "for example" is only an example and is not exhaustive.

Claims (14)

  1. 一种芯片通信方法,其特征在于,包括如下步骤:A chip communication method, characterized in that it comprises the following steps:
    第一处理单元及第二处理单元接收初始数据;The first processing unit and the second processing unit receive initial data;
    第一处理单元对初始数据进行处理之后形成第一数据,将第一数据发送至第二处理单元及阻挡单元;The first processing unit processes the initial data to form first data, and sends the first data to the second processing unit and the blocking unit;
    阻挡单元拦截所述第一数据;The blocking unit intercepts the first data;
    所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据,并发送该验证数据。The second processing unit generates verification data according to the received initial data and/or the first data, and sends the verification data.
  2. 根据权利要求1所述的芯片通信方法,其特征在于:第一处理单元对初始数据进行处理之后形成第一数据的过程包括:The chip communication method according to claim 1, wherein the process of forming the first data after the first processing unit processes the initial data comprises:
    所述第一处理单元对其接收到的初始数据进行分析,得到第一分析结果;The first processing unit analyzes the received initial data to obtain a first analysis result;
    根据第一分析结果利用初始数据进行计算得到第一数据或者提取第一处理单元存储的与初始数据匹配的数据作为第一数据;According to the first analysis result, use the initial data to calculate the first data or extract the data stored in the first processing unit that matches the initial data as the first data;
    将第一数据均发送至第二处理单元及阻挡单元。The first data are all sent to the second processing unit and the blocking unit.
  3. 根据权利要求1所述的芯片通信方法,其特征在于,所述验证数据包括第一验证数据和/或第二验证数据。The chip communication method according to claim 1, wherein the verification data includes first verification data and/or second verification data.
  4. 根据权利要求1、2或3任一项所述的芯片通信方法,其特征在于,所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据的步骤包括如下子步骤:The chip communication method according to any one of claims 1, 2 or 3, wherein the step of the second processing unit generating verification data according to the received initial data and/or the first data comprises the following sub-steps:
    所述第二处理单元对其接收到的原始数据进行分析;The second processing unit analyzes the received raw data;
    根据分析结果利用原始数据进行计算得到第二数据或者提取第二处理单元存储的与原始数据匹配的数据作为第二数据;According to the analysis result, use the original data to calculate the second data or extract the data that matches the original data stored by the second processing unit as the second data;
    将第二数据作为第二验证数据。Use the second data as the second verification data.
  5. 根据权利要求4所述的芯片通信方法,其特征在于:将第二数据作为第二验证数据的过程包括:将第二数据替换成与覆盖部分或者全部第一数据,使得第二数据变成第二验证数据;或者将第二数据修改部分或者全部第一数据,修改后的部分或者全部第一数据为第二验证数据。The chip communication method according to claim 4, wherein the process of using the second data as the second verification data comprises: replacing the second data with part or all of the first data, so that the second data becomes the first data. 2. Verification data; or modify part or all of the first data with the second data, and the modified part or all of the first data is the second verification data.
  6. 根据权利要求1、2或3任一项所述的芯片通信方法,其特征在于,所述第二处理单元根据接收的初始数据和/或第一数据生成验证数据的步骤包括如下子步骤:The chip communication method according to any one of claims 1, 2 or 3, wherein the step of the second processing unit generating verification data according to the received initial data and/or the first data comprises the following sub-steps:
    第二处理单元接收所述第一数据;The second processing unit receives the first data;
    识别所述第一数据的可用数据;Identifying available data of the first data;
    根据所述可用数据得到第一验证数据。The first verification data is obtained according to the available data.
  7. 根据权利要求6所述的芯片通信方法,其特征在于:所述第一数据包括可用数据和/或不可用数据。The chip communication method according to claim 6, wherein the first data includes available data and/or unavailable data.
  8. 一种芯片,其特征在于:包括第一处理单元、第二处理单元及阻挡单元;所述阻挡单元与第一处理单元连接,所述阻挡单元用于拦截至少第一处理单元发送的第一数据;所述第二处理单元与第一处理单元电性连接,该第二处理单元与第一处理单元能进行数据交互。A chip, characterized in that it includes a first processing unit, a second processing unit, and a blocking unit; the blocking unit is connected to the first processing unit, and the blocking unit is used to intercept at least first data sent by the first processing unit The second processing unit is electrically connected to the first processing unit, and the second processing unit can perform data interaction with the first processing unit.
  9. 根据权利要求8所述的芯片,其特征在于:所述阻挡单元允许初始数据经阻挡单元发送至第一处理单元,并拦截第一处理单元发送至阻挡单元的第一数据。8. The chip according to claim 8, wherein the blocking unit allows initial data to be sent to the first processing unit via the blocking unit, and intercepts the first data sent by the first processing unit to the blocking unit.
  10. 根据权利要求8所述的芯片,其特征在于:所述第一处理单元至少包括第一数据传输端,所述阻挡单元与第一处理单元的数据传输端连接。8. The chip according to claim 8, wherein the first processing unit includes at least a first data transmission terminal, and the blocking unit is connected to the data transmission terminal of the first processing unit.
  11. 根据权利要求10所述的芯片,其特征在于:所述第二处理单元至少包 括第二数据传输端;第二数据传输端与第一数据传输端连接;第一处理单元中的第一数据通过第一数据传输端与第二数据传输端发送至第二处理单元。The chip according to claim 10, wherein the second processing unit includes at least a second data transmission terminal; the second data transmission terminal is connected to the first data transmission terminal; the first data in the first processing unit passes through The first data transmission end and the second data transmission end are sent to the second processing unit.
  12. 根据权利要求8所述的芯片,其特征在于:所述阻挡单元包括输入端及输出端;所述输出端与第一处理。8. The chip according to claim 8, wherein the blocking unit includes an input terminal and an output terminal; the output terminal and a first processing.
  13. 根据权利要求8-12任一项所述的芯片,其特征在于:所述阻挡单元包括二极管、MOS管、三极管或者控制芯片中的至少一种。The chip according to any one of claims 8-12, wherein the blocking unit comprises at least one of a diode, a MOS tube, a triode, or a control chip.
  14. 一种成像盒,包括盒体,所述盒体内置有显影剂,其特征在于;还包括芯片,所述芯片通信方法为权利要求1-7任一项所述的芯片通信方法;或所述芯片为权利要求8-13任一项所述的成像盒芯片。An imaging cartridge, comprising a box body with a developer built in the box body, characterized in that it also includes a chip, and the chip communication method is the chip communication method according to any one of claims 1-7; or The chip is the imaging box chip according to any one of claims 8-13.
PCT/CN2020/077191 2020-02-28 2020-02-28 Chip communication method, chip and imaging box WO2021168792A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080000962.0A CN113677533B (en) 2020-02-28 2020-02-28 Chip communication method, chip and imaging box
PCT/CN2020/077191 WO2021168792A1 (en) 2020-02-28 2020-02-28 Chip communication method, chip and imaging box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/077191 WO2021168792A1 (en) 2020-02-28 2020-02-28 Chip communication method, chip and imaging box

Publications (1)

Publication Number Publication Date
WO2021168792A1 true WO2021168792A1 (en) 2021-09-02

Family

ID=77489700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077191 WO2021168792A1 (en) 2020-02-28 2020-02-28 Chip communication method, chip and imaging box

Country Status (2)

Country Link
CN (1) CN113677533B (en)
WO (1) WO2021168792A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103072380A (en) * 2013-01-23 2013-05-01 杭州旗捷科技有限公司 Ink box regeneration control chip and using method thereof
CN103395296A (en) * 2013-08-07 2013-11-20 珠海天威飞马打印耗材有限公司 Processing box chip, processing box and storage unit switching method of processing box chip
JP2014073689A (en) * 2014-01-30 2014-04-24 Seiko Epson Corp Method for printing ink end information and ink cartridge
CN104070824A (en) * 2014-05-16 2014-10-01 珠海艾派克微电子有限公司 Ink box provided with spray head, repairing method of ink box, and inkjet imaging device
CN104097409A (en) * 2014-07-15 2014-10-15 广州小微电子技术有限公司 Resetting method of replaceable unit
CN108068463A (en) * 2016-11-11 2018-05-25 杭州旗捷科技有限公司 Consumptive material, print system, the ink amount data reset method of consumptive material

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5504774B2 (en) * 2009-09-09 2014-05-28 セイコーエプソン株式会社 Ink end display method of ink cartridge

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103072380A (en) * 2013-01-23 2013-05-01 杭州旗捷科技有限公司 Ink box regeneration control chip and using method thereof
CN103395296A (en) * 2013-08-07 2013-11-20 珠海天威飞马打印耗材有限公司 Processing box chip, processing box and storage unit switching method of processing box chip
JP2014073689A (en) * 2014-01-30 2014-04-24 Seiko Epson Corp Method for printing ink end information and ink cartridge
CN104070824A (en) * 2014-05-16 2014-10-01 珠海艾派克微电子有限公司 Ink box provided with spray head, repairing method of ink box, and inkjet imaging device
CN104097409A (en) * 2014-07-15 2014-10-15 广州小微电子技术有限公司 Resetting method of replaceable unit
CN108068463A (en) * 2016-11-11 2018-05-25 杭州旗捷科技有限公司 Consumptive material, print system, the ink amount data reset method of consumptive material

Also Published As

Publication number Publication date
CN113677533A (en) 2021-11-19
CN113677533B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
RU2598331C2 (en) Unit using operating system and an image forming device that uses it
US9973658B2 (en) CRUM chip and image forming device for authentication and communication, and methods thereof
US9336471B2 (en) CRUM chip, image forming apparatus, and communication method of CRUM chip
RU2559745C2 (en) Data processing device
WO2023124245A1 (en) Verification method, consumable chip, consumable and image forming apparatus
CN103268060A (en) Imaging box, imaging box chip and authentication method
US20170161523A1 (en) Functional device and control apparatus
WO2021168792A1 (en) Chip communication method, chip and imaging box
US8775582B2 (en) Communication device setting apparatus, communication device setting method, and recording medium
CN212827420U (en) Chip, imaging box and imaging system
TWI703443B (en) Chip and supply item for imaging device, including communication
US8171149B2 (en) Communication system, terminal device, and method of controlling terminal devices in communication system
US20200145553A1 (en) Communication between an image forming device and a replaceable supply item
WO2023116686A1 (en) Data protection method, consumable chip, consumable, and image forming apparatus
KR101900373B1 (en) Method and system for maintaining multifunction printer
US11516009B2 (en) Data collecting system, data collecting apparatus, and non-transitory computer readable medium
CN108549526B (en) Image forming apparatus, control method thereof, and image forming system
WO2019090513A1 (en) Reset method for data storage apparatus, reset apparatus, and reset system
CN108804046B (en) Data processing method and data processing device
US8880570B2 (en) Information processing system, information processing apparatus, information processing method, and computer readable medium
CN110784863B (en) Information processing method and information processing system
CN213751071U (en) Safety certification device and system
US20240163083A1 (en) Trail collection system, trail collection method, trail provision apparatus, trail provision method, and computer-readable medium
US10659649B2 (en) Communication between an image forming device and a replaceable supply item
CN113326008A (en) Chip verification method, imaging chip and imaging box

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20921775

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/02/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20921775

Country of ref document: EP

Kind code of ref document: A1