CN108062211A - The real-time side record circuit and method of printer chip - Google Patents
The real-time side record circuit and method of printer chip Download PDFInfo
- Publication number
- CN108062211A CN108062211A CN201711426964.2A CN201711426964A CN108062211A CN 108062211 A CN108062211 A CN 108062211A CN 201711426964 A CN201711426964 A CN 201711426964A CN 108062211 A CN108062211 A CN 108062211A
- Authority
- CN
- China
- Prior art keywords
- printer
- chip
- real
- authentication command
- inquiry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1222—Increasing security of the print job
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1238—Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1255—Settings incompatibility, e.g. constraints, user requirements vs. device capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The present invention provides a kind of real-time side record circuit of printer chip, including one or a plurality of genuine chip and one or a plurality of compatible chips, it is arranged in parallel on the serial data bus (SDA) of the printer side and serial frequency bus (SCL).Wherein, the compatible chip is when the authentication command that printer side inquiry is answered is received, error messages are returned to the printer side, and start one side record module record the printer side authentication command answered of inquiry and by genuine chip passback response for the printer side again answers the compatible chip inquiry when verify.
Description
Technical field
The present invention is related to the real-time side record circuit and method of a kind of printer chip, particularly relates to a kind of for printer
Toner cartridge or other record circuit and method similar to the real-time side of consumptive material.
First technology
The communications protocol of printer covers a variety of known or unknown agreements, and I2C (Inter- are included in known agreement
Integrated Circuit) communications protocol, UART (Universal Asynchronous Receiver/Transmitter)
Communications protocol, SPI communications protocol and wide-to-narrow ratio communications protocol etc., these agreements are to utilize one or more frequency lines
(CLK) and one or more data cable (SDA) transmission signals, single or a plurality of master and slave devices to be cooperateed with to complete data
Sending and receiving.
Printer corresponds to the order of chip, is broken generally into two major classes, and one of which is encrypted authentication command, another
It is the order of reading and writing internal data.At present on the market, printer production firm, mostly can be in order in order to maintain the profit of enterprise
Authentication command is mixed, its factory's chip is used to exclude user.Wherein authentication command is exactly the topic that printer is sent out, and chip will
Answer can be correctly answered, printer just may proceed to read chip.In order to crack these cryptographic calculations, it is necessary to take a lot of time and
Manpower is researched and analysed.Some authentication commands can not be performed by compatible chip or must be expended sizable resource and go brokenly
Solution causes consumptive material that cannot be reproduced use, while compatible consumptive material manufacturer cannot also produce generally applicable consumptive material so that printer factory
Business is able to corner the market, limits competing industry competition, the consumptive material for causing consumer that other can not be selected more to meet self-demand.
The content of the invention
The main object of the present invention is to solve the missing that known compatible chip can not handle and perform authentication command.
In order to achieve the above objectives, the present invention provides a kind of real-time side record circuit of printer chip, including one or plural
A genuine chip and one or a plurality of compatible chips are arranged in parallel in the serial data bus (SDA) of printer side and serial
In frequency bus (SCL), wherein, which returns mistake news when the authentication command that printer side inquiry is answered is received
Breath starts one side record module and records the printer side authentication command answered of inquiry and returned by the genuine chip to the printer side
The response of biography for the printer side again to the compatible chip inquiry answer when verify.
Further, which has one to store the storage element of the authentication command and the response.
Further, which is fabricated to look-up table (Look-up table) by the authentication command and the response value
It is stored in the storage element.
It is another object of the present invention to provide a kind of real-time side recording method of printer chip, including:Receive the printing
The authentication command that generator terminal inquiry is answered;When can not handle, return error messages to the printer side;And via serial data bus
(SDA) and the authentication command that printer side inquiry is answered and the sound returned by the genuine chip are recorded in serial frequency bus (SCL) side
It should be worth.
Further, the real-time side recording method of the printer chip includes the authentication command for answering the inquiry and by this
The response of genuine chip passback is made look-up table and is stored in a storage element.
Further, when the authentication command of the printer is received, corresponding response value is searched simultaneously according to the look-up table
It is recycled to the printer side.
Therefore the order of the compatible chip part of the present invention can not be carried out except that can penetrate compatible chip oneself response
Order then through printer side read genuine chip when side record authentication command and response and supply again verify when in response
Time required during exploitation compatible chip and human cost can be thereby greatly reduced in value.
Description of the drawings
Fig. 1 is that the block schematic diagram (one) of circuit is recorded in the real-time side of printer of the present invention.
Fig. 2 is that the block schematic diagram (two) of circuit is recorded in the real-time side of printer of the present invention.
Fig. 3 is the flow diagram of the real-time side recording method of printer of the present invention.
Embodiment
Detailed description for the present invention and technology contents, now just cooperation schema is described as follows.Furthermore the schema in the present invention,
For convenience of explanation, ratio may not shine actual ratio and draw, and such schema and its ratio are not used to limit the scope of the present invention,
It chats in advance herein bright.
One is not limited in heretofore described frequency line, data cable, such as the expansion of frequency line, data cable quantity
Or increase and belong to the scope of the invention to be protected.
A preferable embodiment aspect is lifted below for the present invention to illustrate.Also referring to " Fig. 1 " and " Fig. 2 ", the present invention
The real-time side record block schematic diagram (one) of circuit and block schematic diagram (two) of printer chip, as shown in the figure:
The present invention provides a kind of real-time side record circuit 100 of printer chip, be installed on printer side 20 toner cartridge 10 or its
On his similar consumptive material, and real-time side record electricity is formed with the bus of printer side 20 when toner cartridge 10 is installed on printer side 20
Road.Described real-time side record circuit 100 mainly includes one or a plurality of genuine chips 12 and one or a plurality of compatible chips
11, it is arranged in parallel on the serial data bus (SDA) of the printer side 20 and serial frequency bus (SCL).Wherein, it is of the invention
Though schema in discloses the quantity of genuine chip 12 as three, only such quantity and the non-invention scope to be limited.Yu Ben
Real-time side record circuit 100 in invention can be applied to IC bus (Inter-Integrated Circuit, I2C)、
It is universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter, UART), serial outer
Interface if (Serial Peripheral Interface Bus, SPI), width signal changing or other similar communications protocol
On, it is not limited in the present invention.
The compatible chip 11 is somebody's turn to do as shown in Fig. 2, mainly including microprocessor 111 (MCU) and storage element 112
Storage element 112 is loaded and performed for the microprocessor 111 to store program.In a preferable embodiment aspect, micro- place
Reason device 111 can be total to structure with the storage element 112 to be implemented for a processor, is not limited in the present invention.
The compatible chip 11 has an authentication module 11A and one side record module 11B, authentication module 11A and side record
Module 11B can be implemented or by independent chip or processor as program is directly write storage list by this embodiment aspect respectively
It in member 112, and is accessed and is performed by microprocessor 111, do not limited in the present invention.
Authentication module 11A is receiving and recognize the authentication command of printer side 20 and be rung for the authentication command
It should.When the compatible chip 11 is when the authentication command that the printer side 20 inquiry is answered is received, authentication module 11A prejudges this
Whether authentication command can respond, if the authentication command be can be responded (that is, authentication command is according to current lookup
Table or database can be processed), then authentication module 11A directly corresponds to the authentication command and returns response to printer
End 20;When authentication module 11A can not handle the authentication command, authentication module 11A returns error messages to the printer side 20.Its
In when authentication module 11A judge authentication command can not read, compatible chip 11 will start the side record module 11B record this dozen
Print generator terminal 20, which askes the authentication command answered and the response returned by the genuine chip 12, such record, can be stored in the storage list
In member 112, when the printer side 20 again answers the compatible chip 11 inquiry, authentication module 11A will be according to authentication command
Content finds appropriate response, and being sent to the printer side 20 as the response of oneself by the response is verified.
In a preferable embodiment aspect, which records side authentication command and the response acquired by module 11B
It is fabricated directly into look-up table (Look-up table) to be stored in the storage element 112, recognize when authentication module 11A is received again by
During card order, using the authentication command as the corresponding response of index search, printer side 20 is replied by the response.
It is illustrated below for the real-time side recording method of printer chip of the present invention, refers to " Fig. 3 ", beaten for the present invention
The flow diagram of the real-time side recording method of movement piece is printed, as shown in the figure.
The real-time side recording method of the present invention can be implemented on one or a plurality of compatible chip 11, the compatible chip 11 and one
Or a plurality of genuine chips 12 are parallel to the bus of the printer side 20 jointly.The real-time side recording method of the present invention is as follows:
Compatible chip 11 receives the authentication command that the printer side 20 inquiry is answered, and confirms whether the authentication command can respond and (walk
Rapid S01);
When compatible chip 11 confirms that authentication command can respond, corresponding response is returned to the printer side 20 to be tested
It demonstrate,proves (step S02);
When the compatible chip 11 confirms that the authentication command can not be handled, which returns error messages to the printer
Hold 20 (step S03);
Operational logic according to printer side 20 at this time, the meeting order of printer side 20 transmit identical authentication command to the second original
(as shown in Figure 2) such as factory's chip, the 3rd genuine chip and the 4th genuine chips (other genuine chips 12), the at this time compatibility
Chip 11 can record the certification that the printer side 20 inquiry is answered via serial data bus (SDA) and serial frequency bus (SCL) side
Order and the response that is returned by the genuine chip 12, and authentication command that the inquiry is answered and returned by the genuine chip 12
The response value be made look-up table and be stored in storage element 112 (step S04).Thereby, when printer side 20 proposes phase again
With authentication command when, compatible chip 11 is able to search corresponding response value according to the look-up table and is recycled to the printer
End 20.
Real-time side recording method provided by the present invention is stored in non-temporary computer-readable after can also being write as program
It takes in record media and implements, and method as described above is performed after loading the program for processor.This is non-temporary computer-readable
Take record media for example including:Magnetic medium seems hard disk, floppy discs, tape;Optical media seems CD-ROMs with
DVD;And magneto-optical media, seem floptical disks;Seem ROMs, RAMs with hardware unit;With being especially configured to storage and performing
The flash memory of program instruction.In addition, non-temporary computer-readable record media can be the transmission media for transmitting signal,
Program is instructed to be designed with data structure.Program instruction can include:By the machine language code of compiler editor,
And the high-level language code by the computer of translater is used to perform.
In conclusion the order of the compatible chip part of the present invention is responded except that can penetrate compatible chip oneself, it can not
The order of progress then penetrates side record authentication command and response when printer reads genuine chip and is used as and rings when supplying to verify again
It should be worth, time required during exploitation compatible chip and human cost can thereby be greatly reduced.
The present invention is described in detail above, only as described above, is only a preferred embodiment of the invention,
When cannot limit the scope implemented of the present invention with this, i.e., all equivalent changes and modifications made according to scope of the present invention patent,
In the patent covering scope that all should still belong to the present invention.
Claims (6)
1. a kind of real-time side record circuit of printer chip, including one or a plurality of genuine chips and one or a plurality of compatibilities
Chip is arranged in parallel on the serial data bus (SDA) of printer side and serial frequency bus (SCL), wherein, the compatibility core
For piece when the authentication command that printer side inquiry is answered is received, return error messages start one side record mould to the printer side
Block record the printer side authentication command answered of inquiry and by genuine chip passback response for the printer side again
It is verified when answering compatible chip inquiry.
2. circuit is recorded in the real-time side of the printer chip as described in claim the 1st, wherein, which has one
To store the storage element of the authentication command and the response.
3. circuit is recorded in the real-time side of the printer chip as described in claim the 2nd, wherein, which recognizes this
Card order and the response value are fabricated to look-up table (Look-up table) and are stored in the storage element.
4. a kind of real-time side recording method of printer chip, including:
Receive the authentication command that printer side inquiry is answered;
When can not handle, return error messages to the printer side;And
Via serial data bus (SDA) and serial frequency bus (SCL) side record the printer side authentication command answered of inquiry and
The response returned by the genuine chip.
5. the real-time side recording method of the printer chip as described in claim the 4th further includes answering the inquiry
Authentication command and made look-up table by the response that the genuine chip returns and be stored in a storage element.
6. the real-time side recording method of the printer chip as described in claim the 5th, in receiving the printer side
During authentication command, search corresponding response value according to the look-up table and be recycled to the printer side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711426964.2A CN108062211A (en) | 2017-12-26 | 2017-12-26 | The real-time side record circuit and method of printer chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711426964.2A CN108062211A (en) | 2017-12-26 | 2017-12-26 | The real-time side record circuit and method of printer chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108062211A true CN108062211A (en) | 2018-05-22 |
Family
ID=62140201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711426964.2A Pending CN108062211A (en) | 2017-12-26 | 2017-12-26 | The real-time side record circuit and method of printer chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062211A (en) |
-
2017
- 2017-12-26 CN CN201711426964.2A patent/CN108062211A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11374620B2 (en) | Application providing system, portable terminal devices, server device, application providing method and computer programs | |
CN1241142C (en) | Method of communication between smart card and host station | |
JP3993187B2 (en) | Mobile communication terminal having radio frequency identification function and radio frequency identification programming method in the mobile communication terminal | |
US6807597B2 (en) | Integrated PC Card host controller for the detection and operation of a plurality of expansion cards | |
US6718274B2 (en) | Integrated PC Card host controller for the detection and operation of a plurality of expansion cards | |
Igoe et al. | Beginning NFC: near field communication with Arduino, Android, and Phonegap | |
CN105868615B (en) | The authentication method of storage device, information processing system and storage device | |
US7044385B2 (en) | Apparatus and method for establishing data transfer mode through identification of card insertion | |
CN111756858B (en) | Remote development processing system, method and device for embedded equipment | |
CN105993156A (en) | Server access authentication method and device | |
US6641045B1 (en) | Portable electronic device with self-diagnostic function | |
CN107153852A (en) | The chip data Improvement and device of device are rewritten based on consumable chip | |
US20080140972A1 (en) | Memory card system with password confirmation and transmission | |
CN108062211A (en) | The real-time side record circuit and method of printer chip | |
US20080007773A1 (en) | Communication system, terminal device, and method of controlling terminal devices in communication system | |
CN100442813C (en) | Printing apparatus, recording apparatus, information processing apparatus, control method therefor | |
CN109409076B (en) | Verification method and device of printing consumable box and consumable chip | |
JP2009128940A (en) | Communication system, information processing method, and program | |
JP5101378B2 (en) | Reader / Writer, Communication Processing Device, Communication Processing Method, Data Management System, and Communication System | |
JP2005309481A (en) | Reader/writer, support device, reader/writer support method and reader/writer support system | |
TWI648633B (en) | A real time lateral recording circuit for a printer, method, and non-transitory computer readable storage medium | |
US20170228333A1 (en) | Reader/writer device, information processing device, and data transfer control method, and program | |
JP2007317093A (en) | Ic card issuing device, ic card issuing method, and computer program | |
JP2005343176A (en) | Image forming apparatus | |
CN110413669A (en) | A kind of data processing method based on ETL, device, terminal device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |