CN101138906B - Universal chip and communication data updating method - Google Patents

Universal chip and communication data updating method Download PDF

Info

Publication number
CN101138906B
CN101138906B CN2007100308332A CN200710030833A CN101138906B CN 101138906 B CN101138906 B CN 101138906B CN 2007100308332 A CN2007100308332 A CN 2007100308332A CN 200710030833 A CN200710030833 A CN 200710030833A CN 101138906 B CN101138906 B CN 101138906B
Authority
CN
China
Prior art keywords
communication
chip
communication data
color printer
updating
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.)
Expired - Fee Related
Application number
CN2007100308332A
Other languages
Chinese (zh)
Other versions
CN101138906A (en
Inventor
林东宁
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Print Rite Technology Development Co Ltd of Zhuhai
Original Assignee
Print Rite Technology Development Co Ltd of Zhuhai
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 Print Rite Technology Development Co Ltd of Zhuhai filed Critical Print Rite Technology Development Co Ltd of Zhuhai
Priority to CN2007100308332A priority Critical patent/CN101138906B/en
Publication of CN101138906A publication Critical patent/CN101138906A/en
Application granted granted Critical
Publication of CN101138906B publication Critical patent/CN101138906B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The present invention provides an updating method of a common consumable chip and communication data. The chip includes a microcontroller, and the microcontroller includes a memorizer, which includes a section of known communication data, an updating marker bit of the communication data and a section of updating communication data. The updating marker bit of the communication data is stored with a single-use updating mark. The method includes steps that a first step is judging whether the updating mark is provided or not, if the updating mark is provided, a third step is executed, otherwise next step is executed; a second step is accepting and analyzing a communication order and outputting the result according to the communication order; the third step is checking the communication order which is sent by a printer to a certain chip and judging whether the communication order is a new communication order or not, if the communication order is a new communication order, the communication order and the output result are stored, otherwise next step is executed; a fourth step is judging whether the communication is finished or not, if the communication is finished, the updating mark is eliminated and finished, otherwise returning to the third step. The updating method of a common consumable chip and communication data provided by the present invention can make the chip automatically update the communicate data with the printer to ensure the normal working of the printer.

Description

General consumable chip and communication data updating method
Technical field
The present invention relates to a kind of general consumable chip, especially a kind of general consumable chip that is installed on the printing consumables container, is used for carrying out communication, and the communication data updating method when using this general consumable chip and color printer communication with color printer.
Background technology
Color printer is common office equipment, for modern office provides great convenience.Existing color printer uses a plurality of removable consumable containers mostly, as be equipped with ink print cartridge, the cartridge of carbon dust etc. is housed, be mounted with the consumptive material of different colours in each consumable container, and, usually also be provided with a chip on each consumable container, be used for writing down information such as the model of corresponding consumable container, suitable color printer model, consumptive material color, consumable container consumable items allowance, and carry out communication, carry out information exchange with color printer.At present, what chip adopted mostly is the mode that common data bus and color printer carry out communication, as shown in Figure 1, being a plurality of consumable container chips of existing a color printer and the schematic diagram of data/address bus connected mode, also is the schematic diagram of a plurality of chip of the present invention and data/address bus connected mode.As seen from Figure 1, this color printer has four consumable containers, being provided with a chip on each consumable container, is respectively chip 1, chip 2, chip 3 and chip 4, and each chip all is connected with chip selection signal line CS with data signal line DAT, the clock cable CLK of data/address bus.When color printer and chip carry out communication, to send information to data/address bus, each chip judges according to this information whether color printer carries out communication with oneself, if, then operate accordingly, if not then do not carry out any response according to the information of color printer.
Existing chip generally has a microcontroller, and a memory is set in microcontroller, and this memory comprises a known communication data field, stores known communication command and corresponding output result in this known communication data field.Before the print job, color printer sends communication command to chip, behind the communication command that chip reception color printer sends, just analyze this communication command, and the communication command of storing in this communication command and the known communication data field contrasted one by one, and find out corresponding output result, will export the result then and be sent in the color printer, color printer just can normally print work after receiving this output result and judging that this output result is correct.
Follow the development of technology, color printer production firm often need utilize the mode of color printer firmware upgrade to upgrade communication modes, communication data between color printer and the chip, communication command when just upgrading color printer with the chip communication and/or corresponding output result are to satisfy the needs of color printer and chip communication.But compatible consumptive material production firm is only knowing just after the color printer firmware upgrade that the communication data between color printer and the chip upgrades, the chip that compatibility consumptive material production firm has produced then can't be discerned by the color printer after the firmware upgrade, just can be identified after needing to rewrite the communication data in the chip, this not only wastes the plenty of time, and, in case the chip that compatible consumable container production firm produces is put on market in a large number, also need chip recalled and handle, cause economic loss.
Summary of the invention
Main purpose of the present invention provides the general consumable chip of communication data between a kind of automatically updated and color printer;
Another object of the present invention provides the communication data updating method of the communication data between a kind of automatic renewal color printer and the general consumable chip of consumable container.
In order to realize above-mentioned main purpose, general consumable chip provided by the invention is installed on the consumable container, this consumable container is installed in the color printer with the consumable container that certain chip is installed simultaneously, this certain chip stores the communication data that has upgraded, this general consumable chip comprises a microcontroller, and this microcontroller comprises a memory block; This memory block comprises a known communication data field, and this known communication data area stores has known communication command and corresponding output result; Wherein, this memory block comprises that also a communication data updating flag bit and upgrades the communication data district; This communication data updating flag bit stores nonrecoverable updating mark.
When needing to upgrade the communication data between general consumable chip and the color printer, at least one is equipped with the certain chip consumable container is installed on the color printer simultaneously, and start color printer with the consumable container that general consumable chip is installed.When color printer and certain chip are carried out communication, the general consumable chip that is in the communication data updating state can be checked the communication data of certain chip and color printer by data/address bus, and new communication data be saved to upgrade in the communication data district, upgrade automatically and color printer between communication data.When color printer and general consumable chip carried out communication, general consumable chip can use the communication data of renewal and color printer to carry out communication, but just operate as normal of color printer.
In order to realize another above-mentioned purpose, communication data updating method provided by the invention uses in above-mentioned general consumable chip, the consumable container that this general consumable chip is installed is installed in the color printer with the mode of the consumable container that a certain chip is installed with shared bus, and this communication data updating method may further comprise the steps:
Step 1: microcontroller judges whether updating mark is arranged on the communication data updating flag bit, in this way, and execution in step three, otherwise, carry out next step;
Step 2: microcontroller receives the communication command that color printer sends, and analyzes the content of this communication command, according to the corresponding result of content output of communication command, and judges whether to receive communication command and finishes, and in this way, then finishes, otherwise returns execution in step two;
Step 3: microcontroller is checked the communication command that color printer sends to certain chip, and judge whether this communication command is new communication command, in this way, the output result that communication command that this is new and certain chip are returned is saved in the described renewal communication data district, otherwise carries out next step;
Step 4: microcontroller is judged color printer and certain chip, and whether communication finishes, and in this way, then removes updating mark and end, otherwise returns step 3.
By such scheme as seen, after the consumable container that general consumable chip is installed is installed to color printer, general consumable chip can be checked the output result that communication command that color printer sends and certain chip are returned, and judge whether these communication commands and output result are new communication command, the output result, if new communication data, then it is saved in the renewal communication data district of general consumable chip, use the communication data and the color printer that upgrade to carry out communication when treating color printer and general consumable chip communication, guarantee the operate as normal of color printer.
Description of drawings
Fig. 1 is the schematic diagram that the chip of the existing a plurality of consumable containers of color printer is connected with data/address bus;
Fig. 2 is the structural representation of the general consumable chip embodiment of the present invention;
Fig. 3 is the schematic block diagram of each functional module of microcontroller among the general consumable chip embodiment of the present invention;
Fig. 4 is the flow chart of communication data updating method embodiment of the present invention.
The invention will be further described below in conjunction with drawings and Examples.
The specific embodiment
Referring to Fig. 2, Fig. 2 is the structural representation of the general consumable chip embodiment of the present invention.The general consumable chip 10 of present embodiment comprises a substrate 20, and substrate 20 is provided with microcontroller 11 and five contacts 21 that are connected with microcontroller 11.After the consumable container that general consumable chip 10 is installed was installed on the color printer, microcontroller 11 just was connected with data/address bus by contact 21, thereby carries out communication with color printer.When needing to upgrade the communication data of general consumable chip 10 storages, simultaneously be installed in color printer with the consumable container that a certain chip is installed the consumable container that general consumable chip 10 is installed, so-called certain chip is meant the chip that stores the communication data that has upgraded.Like this, general consumable chip 10 and certain chip be common data bus just, and be just identical with the data/address bus connected mode with as shown in Figure 1 a plurality of consumable container chips.
Referring to Fig. 3, Fig. 3 is the schematic block diagram of each functional module of microcontroller among the general consumable chip embodiment of the present invention.In the present embodiment, microcontroller 11 comprises a memory block 15, and memory block 15 comprises known communication data field 12, upgrades communication data district 13 and communication data updating flag bit 14.Wherein, known communication data field 12 stores known communication command and corresponding output result, communication command that these are known and corresponding output result are that compatible consumable container production firm writes when general consumable chip is made, and are communication command and output result that compatible consumable container production firm is known.One do not store the blank memory space of any data and upgrade communication data district 13, when general consumable chip views when the communication data that has upgraded is arranged between certain chip and the color printer, just the communication data that upgrades is saved in and upgrades in the communication data district 13, just after general consumable chip is preserved communication data, upgrade just storing new communication command and corresponding output result in the communication data district 13.Communication data updating flag bit 14 stores a updating mark, and this updating mark writes in general consumable chip manufacturing process, and uses the back to be removed by microcontroller 11 for the first time at general consumable chip, so updating mark only is to use once.In the present embodiment, updating mark is binary number " 1 ", represents that general consumable chip is in the communication data updating state.After updating mark was eliminated, the data of communication data updating flag bit 14 storages became binary number " 0 ", and general consumable chip just enters normal read-write state.
A plurality of consumable container chip of the present invention and data/address bus connected mode are same as the prior art, just with shown in Figure 1 identical, wherein at least one is the certain chip that stores the communication data that has upgraded in four chips, and at least one is general consumable chip.After four consumable containers are all installed and opening color printer, color printer is just started working, and the workflow diagram of general consumable chip as shown in Figure 4.
After color printer was started working, to each chip power supply, general consumable chip obtained to start working behind the electric energy by data/address bus.At first, general consumable chip judges whether the communication data updating flag bit stores updating mark (step S1).Because updating mark writes in general consumable chip manufacturing process, when general consumable chip just during task, general consumable chip can determine the communication data updating flag bit and store updating mark, i.e. binary number " 1 ".At this moment, general consumable chip is just checked the communication command (step S6) that color printer sends to certain chip.Because certain chip stores communication command and the output result who has upgraded, therefore can allow color printer identification.Then, general consumable chip judges whether color printer is new communication command (step S7) to the communication command that certain chip sends, if new communication command, then this communication command is saved in and upgrades in the communication data district, and check the output result that certain chip is returned to color printer, should export the result simultaneously and also be saved in the renewal communication data district (step S10), and this communication command was mapped with the output result, form a new communication data.Judging color printer when general consumable chip is not new communication command to the communication command that certain chip sends, judge further then whether certain chip is new output result (step S8) to the output result that color printer sends, if new output result, then should export the result and be saved in and upgrade in the communication data district (step S9), and will this new output result be mapped with corresponding communication command.If general consumable chip judges that this output result is not new output result, the communication of then judging color printer and certain chip whether finish (step S11), if finish, then remove the updating mark (step S12) of communication data updating flag bit, just the data with the storage of communication data updating flag bit change binary number " 0 " into by binary number " 1 ".If do not finish, then return step S6, check the communication command that color printer sends to certain chip once more.
Since general consumable chip just during task communication data do not upgrade, when carrying out communication, color printer and general consumable chip can't obtain correct output result, the color printer cisco unity malfunction, but general consumable chip is preserved new communication data get off in this course.When restarting color printer, general consumable chip just can use the communication data and the color printer that have upgraded to carry out communication.
After color printer restarts, provide power supply to general consumable chip once more, after the general consumable chip work, judge once more whether the communication data updating flag bit stores updating mark (step S1).Because this moment, updating mark was eliminated, therefore general consumable chip judges that the communication data updating flag bit does not store updating mark, just receive the communication command (step S2) that color printer sends, and analyze the content (step S3) of this communication command, then in the known communication data field with upgrade in the communication data district and search the output result of this communication command correspondence, and should export the result and sent to (step S4) in the color printer.Like this, color printer just can receive correct output result, thinks that general consumable chip can carry out correct communication with color printer, but just operate as normal of color printer.At last, general consumable chip can judge whether that also the communication command that receives color printer finishes (step S5), if finish, then finishes communication work, if do not finish, then returns step S2, receives the communication command that color printer sends once more.
By above-mentioned scheme as seen, owing in general consumable chip, increase by a communication data updating flag bit and upgrade the communication data district, general consumable chip can be checked the communication data between color printer and the certain chip when first task, and new communication data is kept in the renewal communication data district.Make the communication data of automatic renewal of general consumable chip and color printer like this, when general consumable chip is worked once more, just can use the communication data and the color printer communication of renewal, guarantee the communication between general consumable chip and the color printer, make the color printer can operate as normal.
Certainly, general consumable chip provided by the invention not only can be the chip of consumable containers such as print cartridge, cartridge, the general consumable chip in other field, as the communication chip of various compatible equipments and main equipment in the telecommunications field etc., also can utilize general consumable chip of the present invention and communication data updating method with communication data updating.
It is emphasized that at last to the invention is not restricted to above-mentioned embodiment, for example updating mark can be set at " 0 ", is binary number " 1 " and will remove what store on the communication data updating flag bit after the updating mark; Or upgrade the communication data district and be not arranged in the microcontroller, and be arranged on memory device microcontroller outside or the like, conspicuous equivalence variation like that also should be included in the protection domain of claim of the present invention.

Claims (4)

1. general consumable chip, the consumable container that described general consumable chip is installed is installed in the color printer, and described general consumable chip comprises
One microcontroller, described microcontroller comprises a memory block;
Described memory block comprises a known communication data field, and described known communication data area stores has known communication command and corresponding output result;
It is characterized in that:
Described memory block comprises that also a communication data updating flag bit and upgrades the communication data district;
Described communication data updating flag bit stores nonrecoverable updating mark.
2. general consumable chip according to claim 1 is characterized in that:
Described renewal communication data district is used for communication command and the corresponding output result behind the storage update.
3. according to the communication data updating method of the described general consumable chip of claim 1, comprise
The consumable container that this general consumable chip is installed is installed in the color printer with the mode of the consumable container that a certain chip is installed with shared bus, and this communication data updating method may further comprise the steps:
Step 1: microcontroller judges whether updating mark is arranged on the communication data updating flag bit, in this way, and execution in step three, otherwise, carry out next step;
Step 2: microcontroller receives the communication command that color printer sends, and analyzes the content of this communication command, according to the corresponding result of content output of communication command, and judges whether to receive communication command and finishes, and in this way, then finishes, otherwise returns execution in step two;
Step 3: microcontroller is checked the communication command that color printer sends to certain chip, and judge whether this communication command is new communication command, in this way, the output result that communication command that this is new and certain chip are returned is saved in the described renewal communication data district, otherwise carries out next step;
Step 4: microcontroller is judged color printer and certain chip, and whether communication finishes, and in this way, then removes updating mark and end, otherwise returns step 3.
4. communication data updating method according to claim 3 is characterized in that:
Described microcontroller judges that color printer is not after the communication command that certain chip sends is new communication command, further judge whether certain chip is new output result to the output result that color printer returns, in this way, this is new output result is saved in the described renewal communication data district.
CN2007100308332A 2007-10-10 2007-10-10 Universal chip and communication data updating method Expired - Fee Related CN101138906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100308332A CN101138906B (en) 2007-10-10 2007-10-10 Universal chip and communication data updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100308332A CN101138906B (en) 2007-10-10 2007-10-10 Universal chip and communication data updating method

Publications (2)

Publication Number Publication Date
CN101138906A CN101138906A (en) 2008-03-12
CN101138906B true CN101138906B (en) 2011-11-30

Family

ID=39191090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100308332A Expired - Fee Related CN101138906B (en) 2007-10-10 2007-10-10 Universal chip and communication data updating method

Country Status (1)

Country Link
CN (1) CN101138906B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916062B (en) * 2009-10-22 2012-06-13 珠海天威技术开发有限公司 Chip, consumables container and working method of chip
CN101913292B (en) * 2009-12-16 2013-01-02 珠海天威技术开发有限公司 Chip, consumable container and working method of chip
CN101887103B (en) * 2010-04-07 2012-07-04 珠海天威技术开发有限公司 Chip tester and test method thereof
CN104097401A (en) * 2014-06-24 2014-10-15 中山铭祺电子科技有限公司 General chip for printing supplies
CN106610859A (en) * 2016-12-30 2017-05-03 珠海艾派克微电子有限公司 Program update method, device and system, and imaging box
CN107577444A (en) * 2017-10-20 2018-01-12 珠海美佳音科技有限公司 The synchronous transfer circuit and synchronous method of printer compatible chip
TWI667607B (en) * 2017-10-20 2019-08-01 珠海美佳音科技有限公司 A printer-compatible synchronous circuit and method thereof
CN110481185A (en) * 2019-08-23 2019-11-22 佛山普瑞威尔科技有限公司 A kind of Method of printing, chip and printing consumables
CN112181327B (en) * 2020-09-30 2023-07-25 极海微电子股份有限公司 Table lookup processing method, device, consumable chip, system and storage medium
CN113442595B (en) * 2021-06-18 2023-04-07 杭州旗捷科技有限公司 Method for recycling chip and consumable chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355484A (en) * 2000-11-30 2002-06-26 英业达股份有限公司 Device and method for maintaining contents of BIOS chip
CN2686851Y (en) * 2004-02-16 2005-03-23 梁胜谯 Detachable ink box structure
CN1858707A (en) * 2006-03-28 2006-11-08 华为技术有限公司 Automatic loading method for movable terminal software
CN101030867A (en) * 2006-02-28 2007-09-05 联想(北京)有限公司 System and method for refreshing and upgrading BIOS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355484A (en) * 2000-11-30 2002-06-26 英业达股份有限公司 Device and method for maintaining contents of BIOS chip
CN2686851Y (en) * 2004-02-16 2005-03-23 梁胜谯 Detachable ink box structure
CN101030867A (en) * 2006-02-28 2007-09-05 联想(北京)有限公司 System and method for refreshing and upgrading BIOS
CN1858707A (en) * 2006-03-28 2006-11-08 华为技术有限公司 Automatic loading method for movable terminal software

Also Published As

Publication number Publication date
CN101138906A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN101138906B (en) Universal chip and communication data updating method
CN106956516B (en) A kind of sequence number memory can remove consumable chip, consumptive material, system and application method
CN101913292B (en) Chip, consumable container and working method of chip
CN101362401B (en) Ink box chip and read-write method of changeable information
CN103072380B (en) Ink box regeneration control chip and using method thereof
CN103660583A (en) Data rewriting device for consumable chip and working method of data rewriting device
CN102173233B (en) Consumable verification system and method
CN103240999B (en) Storage chip and repositioning method, consumable container, imaging device
CN101794110B (en) Machine recognition method and device between imaging device and imaging box
CN104339870B (en) Consumable chip group, imaging cartridge group and information storage means
CN104097401A (en) General chip for printing supplies
CN102622190B (en) The online wiring method of product identification information and electronic product
CN101916062B (en) Chip, consumables container and working method of chip
CN203438670U (en) Ink box regeneration control chip
CN101209621A (en) Resetting method for multicolor ink box chip ink balance information
CN104417071B (en) Memory group, imaging cartridge and the method for changing box chip
CN102141939B (en) Device capable of recording restart reason of whole machine
CN103722893B (en) Consumable chip and method of work, consumable container
CN102886987B (en) General-purpose chip and data communications method thereof
CN103183261A (en) Special elevator control system and method as well as elevator controller
CN101954794A (en) Consumable chip and manufacture method and consumable container thereof
CN102323886B (en) Method for writing special information into terminal, device and system
CN106626791B (en) Chip version-switching method, switching device and switching system
CN101894024B (en) Model bank-based model element consistency ensuring method
CN103085488A (en) Chip resetting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111130

Termination date: 20181010

CF01 Termination of patent right due to non-payment of annual fee