Summary of the invention
The first object of the present invention is to provide a kind of chip reset method.
Another object of the present invention is to provide a kind of chip reset device.
In order to realize above-mentioned the first goal of the invention, a kind of chip reset method provided by the present invention, comprising:
Receive order judgement order that printer sends;
If the order receiving is the order of being carried out by command processing module one, by pass down the line to command processing module one, by command processing module one, carry out corresponding operation;
If the order receiving is the order of being carried out by command processing module two, by pass down the line to command processing module two, by command processing module two, carry out corresponding operation.
Further, after described command processing module one or command processing module two execute corresponding operation, also comprise: information is returned to printer.
Further, described command processing module one is old chip IC or the circuit module that is comprised of old chip IC and relevant peripheral electron accessory.
Further, described command processing module two comprises control module and memory cell.
Further, the order that described command processing module two is carried out comprises reads or stores consumptive material capacity and the order of consumptive material residual capacity.
Further, the order that described command processing module one is carried out comprises with printer shakes hands and verification command.
In order to realize above-mentioned another goal of the invention, the invention provides a kind of chip reset device, comprising: order receiver module, for receiving printer command; Order pre-processing module; The old chip module and the filter command processing module that are connected with described order pre-processing module respectively; Described order pre-processing module is for judging the order that described order receiver module receives, if what obtain is the order of being carried out by described old chip module, by pass down the line to described old chip module, by described old chip module, carry out this order, if what obtain is the order of being carried out by described filter command processing module, by pass down the line to described filter command processing module, by described filter command processing module, carry out this order.
Further, described order pre-processing module is micro-control unit or integrated circuit.
Further, described old chip module is old chip IC or the circuit module that is comprised of old chip IC and relevant peripheral electron accessory.
Further, described filter command processing module comprises control module and memory cell.
A kind of chip reset method provided by the invention and chip reset device, its beneficial effect is:
1, by the order that printer is sent, carry out pretreatment, order is first judged, allow old chip module carry out part order, allow another command processing module carry out the different order of another part, thereby realize the recycling of old chip, this method has overcome the shortcoming of traditional chip resetting technique, has that method is simple, reset rate advantages of higher.
2, by realizing the recycling of the old chip of printer, greatly reduce the cost of the compatible consumptive material of exploitation, there is the good value of environmental protection;
3, the simple and good stability of the method, can solve the problem of the poor stability of traditional compatible consumptive material.
The specific embodiment
chip reset embodiment of the method:
The invention provides a kind of repositioning method that is arranged on the chip on printer material consumption, described chip reset method comprises: after receiving the order of printer transmission, the order that printer is sent judges, and different orders is sent to corresponding command processing module, by corresponding command processing module fill order.
Concrete, as shown in Figure 1, first perform step S01: receive order and judgement order that printer sends; If the order receiving is the order of being carried out by command processing module one, by pass down the line to command processing module one; Then perform step S021: command processing module one is carried out corresponding operation; Finally perform step S03: information is returned to printer.In step S01, if the order receiving is the order of being carried out by command processing module two, by pass down the line to command processing module two; Then perform step S022, by command processing module two, carry out corresponding operation; Finally perform step S03, information is returned to printer.
Described command processing module one is the IC in old chip, also can be the old chip circuit module that old chip IC and relevant peripheral electron accessory form, or the microcontroller in old chip, in the present embodiment, described command processing module one is old chip IC.
Described command processing module two comprises control module and memory cell, for carrying out part order and preserving corresponding data.
The order that described command processing module one and command processing module two will be carried out is by pre-setting, and in the present embodiment, command processing module one wants fill order to be set to shake hands, verify with printer the orders such as legitimacy of consumptive material; The command set that described command processing module two will be carried out is for reading or store the orders such as consumptive material capacity and consumptive material residual capacity information.
In other embodiments, the order that described command processing module one and command processing module two will be carried out can also be set according to concrete needs, be not limited to the present embodiment.
A kind of chip reset method that the present embodiment provides, its beneficial effect is:
1, by the order that printer is sent, carry out pretreatment, order is first judged, allow old chip IC carry out the orders such as legitimacy of shaking hands, verify consumptive material with printer, by another command processing module, carry out and read or store the orders such as consumptive material capacity and consumptive material residual capacity information, realize the recycling of old chip, this method has overcome the shortcoming of traditional chip resetting technique, has that method is simple, reset rate advantages of higher.
2, by realizing the recycling of old chip, greatly reduce the cost of the compatible consumptive material of exploitation, there is the good value of environmental protection;
3, the simple and good stability of the method, can solve the problem of the poor stability of traditional compatible consumptive material.
chip reset device embodiment:
The present invention also provides a kind of chip reset device that adopts chip reset method as above.
Described chip reset device, as shown in Figure 2, comprises an order receiver module, for receiving printer command; One order pre-processing module; The old chip module and the filter command processing module that are connected with described order pre-processing module respectively; Described order pre-processing module is for judging the order that described order receiver module receives, if what obtain is the order of being carried out by described old chip module, by pass down the line to described old chip module, by described old chip module, carry out this order, if what obtain is the order of being carried out by described filter command processing module, by pass down the line to described filter command processing module, by described filter command processing module, carry out this order.
Described order receiver module can receive by wireless or wired mode the order that printer sends over.Order receiver module described in the present embodiment receives by wired mode the order that printer is come.
Described order pre-processing module can be micro-control unit or integrated circuit.
The effect of described order pre-processing module is equivalent to a part of printer command to filter out, and by the part pass down the line of filtering to described filter command processing module, allow described filter command processing module carry out this part order; In addition the part order not being filtered is reached to described old chip module, and carry out this part order by described old chip module.Thisly to the processing mode of printer command, can realize the recycling of old chip module, can effectively realize the reset of old chip.
Described old chip module is the IC of old chip, for carrying out described order pre-processing module, passes on the order of coming and preserves corresponding data.In other embodiments, described old chip module can also comprise relevant peripheral electron accessory according to concrete needs, is not limited to the present embodiment.
Described filter command processing module comprises control module and memory cell, for carrying out described order pre-processing module, passes on the order of coming and preserves corresponding data.
The method of work of said chip resetting means is described below in conjunction with Fig. 3.
The consumptive material that said chip resetting means is installed is installed in printer, and after energising, order receiver module execution step S11, judges whether to receive the order that printer sends over, and if not, continues to wait for;
If receive order, perform step S12, by order pre-processing module, judge received order.
If the order judging is the order of following the orders such as printer is shaken hands, checking, perform step S131, by old chip module, carry out corresponding order; Finally perform step S14, information is returned to printer.
If the order judging is to read or store the orders such as consumptive material capacity and consumptive material residual capacity information, perform step S132, by filter command processing module, carry out corresponding order; Finally perform step S14, information is returned to printer.
In other embodiments, the order that described filter command processing module and old chip module will be carried out can also be set according to concrete needs, be not limited to the present embodiment.
The chip reset device that the present embodiment provides, can realize the recycling of old chip, has the advantages such as method is simple, reset rate is high, environmental protection.
A kind of chip reset method above embodiments of the invention being provided and principle and the embodiment of chip reset device are described in detail; should be noted that; the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; simultaneously; general technology person for this area; according to thought of the present invention, the change of making in the specific embodiment and range of application also should be included in the protection domain of claim of the present invention.