CN101138906A - Universal chip and communication data updating method - Google Patents
Universal chip and communication data updating method Download PDFInfo
- Publication number
- CN101138906A CN101138906A CNA2007100308332A CN200710030833A CN101138906A CN 101138906 A CN101138906 A CN 101138906A CN A2007100308332 A CNA2007100308332 A CN A2007100308332A CN 200710030833 A CN200710030833 A CN 200710030833A CN 101138906 A CN101138906 A CN 101138906A
- Authority
- CN
- China
- Prior art keywords
- communication
- communication data
- chip
- color printer
- general
- 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.)
- Granted
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The present invention provides an updating method of a common chip and communication data. The common 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 present invention can make the chip automatically update the communicate data with the printer to ensure the normal working of the printer.
Description
Technical field
The present invention relates to a kind of general-purpose chip, especially a kind ofly be installed on the printing consumables container, be used for carrying out the general-purpose chip of communication with color printer, and the communication data updating method when using this general-purpose chip and color printer communication.
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-purpose 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 consumable container general-purpose chip.
In order to realize above-mentioned main purpose, general-purpose chip provided by the invention 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.
A specific embodiment is, this general-purpose chip is installed on the consumable container, this consumable container is installed in the color printer simultaneously with the consumable container that certain chip is installed, and this certain chip stores the communication data that has upgraded.
When needing to upgrade the communication data between general-purpose 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-purpose chip is installed.When color printer and certain chip are carried out communication, the general-purpose 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-purpose chip carried out communication, general-purpose 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-purpose chip, the consumable container that this general-purpose 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-purpose chip is installed is installed to color printer, general-purpose 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, output result, if new communication data, then it is saved in the renewal communication data district of general-purpose chip, use the communication data and the color printer that upgrade to carry out communication when treating color printer and general-purpose 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 general-purpose chip embodiment of the present invention;
Fig. 3 is the schematic block diagram of each functional module of microcontroller among the general-purpose 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 general-purpose chip embodiment of the present invention.The general-purpose 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-purpose 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-purpose chip 10 storages, simultaneously be installed in color printer with the consumable container that a certain chip is installed the consumable container that general-purpose chip 10 is installed, so-called certain chip is meant the chip that stores the communication data that has upgraded.Like this, general-purpose 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-purpose 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-purpose chip is made, and are the communication commands known of compatible consumable container production firm and export the result.One do not store the blank memory space of any data and upgrade communication data district 13, when general-purpose 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-purpose 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-purpose chip manufacturing process, and uses the back to be removed by microcontroller 11 for the first time at general-purpose chip, so updating mark only is to use once.In the present embodiment, updating mark is binary number " 1 ", and the expression general-purpose 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-purpose 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 a general-purpose chip.After four consumable containers are all installed and opening color printer, color printer is just started working, and the workflow diagram of general-purpose chip as shown in Figure 4.
After color printer was started working, to each chip power supply, general-purpose chip obtained to start working behind the electric energy by data/address bus.At first, general-purpose chip judges whether the communication data updating flag bit stores updating mark (step S1).Because updating mark writes in general-purpose chip manufacturing process, when general-purpose chip just during task, general-purpose chip can determine the communication data updating flag bit and store updating mark, i.e. binary number " 1 ".At this moment, general-purpose 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-purpose 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-purpose 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-purpose 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-purpose chip just during task communication data do not upgrade, when carrying out communication, color printer and general-purpose chip can't obtain correct output result, the color printer cisco unity malfunction, but general-purpose chip is preserved new communication data get off in this course.When restarting color printer, general-purpose 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-purpose chip once more, after the general-purpose 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-purpose 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-purpose chip can carry out correct communication with color printer, but just operate as normal of color printer.At last, general-purpose 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-purpose chip, increase by a communication data updating flag bit and upgrade the communication data district, general-purpose 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-purpose chip and color printer like this, when general-purpose chip is worked once more, just can use the communication data and the color printer communication of renewal, guarantee the communication between general-purpose chip and the color printer, make the color printer can operate as normal.
Certainly, general-purpose chip provided by the invention not only can be the chip of consumable containers such as print cartridge, cartridge, the general-purpose chip in other field, as the communication chip of various compatible equipments and main equipment in the telecommunications field etc., also can utilize general-purpose 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-purpose 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-purpose 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-purpose chip of claim 1, comprise
The consumable container that this general-purpose 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.
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 true CN101138906A (en) | 2008-03-12 |
CN101138906B 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) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887103A (en) * | 2010-04-07 | 2010-11-17 | 珠海天威技术开发有限公司 | Chip tester and test method thereof |
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 |
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 |
CN112181327A (en) * | 2020-09-30 | 2021-01-05 | 珠海艾派克微电子有限公司 | Table lookup processing method and device, consumable chip, system and storage medium |
CN113442595A (en) * | 2021-06-18 | 2021-09-28 | 杭州旗捷科技有限公司 | Method for recycling chip and consumable chip |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1178136C (en) * | 2000-11-30 | 2004-12-01 | 英业达股份有限公司 | Device and method for maintaining contents of BIOS chip |
CN2686851Y (en) * | 2004-02-16 | 2005-03-23 | 梁胜谯 | Detachable ink box structure |
CN100561923C (en) * | 2006-02-28 | 2009-11-18 | 联想(北京)有限公司 | A kind of system and method for BIOS refreshing and upgrading |
CN100371898C (en) * | 2006-03-28 | 2008-02-27 | 华为技术有限公司 | Automatic loading method for movable terminal software |
-
2007
- 2007-10-10 CN CN2007100308332A patent/CN101138906B/en not_active Expired - Fee Related
Cited By (12)
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 |
CN101887103A (en) * | 2010-04-07 | 2010-11-17 | 珠海天威技术开发有限公司 | 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 |
CN107577444B (en) * | 2017-10-20 | 2024-07-09 | 珠海美佳音科技有限公司 | Synchronous transmission circuit and synchronous method of compatible chips of printer |
CN110481185A (en) * | 2019-08-23 | 2019-11-22 | 佛山普瑞威尔科技有限公司 | A kind of Method of printing, chip and printing consumables |
CN112181327A (en) * | 2020-09-30 | 2021-01-05 | 珠海艾派克微电子有限公司 | Table lookup processing method and device, consumable chip, system and storage medium |
CN112181327B (en) * | 2020-09-30 | 2023-07-25 | 极海微电子股份有限公司 | Table lookup processing method, device, consumable chip, system and storage medium |
CN113442595A (en) * | 2021-06-18 | 2021-09-28 | 杭州旗捷科技有限公司 | Method for recycling chip and consumable chip |
Also Published As
Publication number | Publication date |
---|---|
CN101138906B (en) | 2011-11-30 |
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 | |
CN103660583B (en) | Consumable chip data rewriting device and method of work thereof | |
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 | |
CN102173233B (en) | Consumable verification system and method | |
CN203557847U (en) | Memory group, consumables chip, consumables chip group and imaging box | |
CN104339870B (en) | Consumable chip group, imaging cartridge group and information storage means | |
CN104097401A (en) | General chip for printing supplies | |
CN102141939B (en) | Device capable of recording restart reason of whole machine | |
CN102658724A (en) | Imaging box chip matching method and imaging box chip | |
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 | |
CN101794110A (en) | Machine recognition method and device between imaging device and imaging box | |
CN102205725A (en) | Method and system for managing consumable information | |
CN107153852A (en) | The chip data Improvement and device of device are rewritten based on consumable chip | |
CN107284056B (en) | Consumable chip monitors circuit and its monitoring method, monitoring circuit board and printer | |
CN103722893A (en) | Consumable chip, working method of consumable chip and 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 |
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 |