Summary of the invention
The first object of the present invention is to provide a kind of chip reset method.
It is a further object of the present invention to provide a kind of chip reset device.
In order to realize above-mentioned first goal of the invention, a kind of chip reset method provided by the present invention, including:
Receive the order of printer transmission and judge order;
If the order received is the order performed by command processing module one, then by pass down the line to command processing module
One, command processing module one perform to operate accordingly;
If the order received is the order performed by command processing module two, then by pass down the line to command processing module
Two, command processing module two perform to operate accordingly.
Further, described command processing module one or command processing module two performed corresponding operation it
After, also include: information is returned printer.
Further, described command processing module one is old chip IC or by old chip IC and relevant periphery
The circuit module of electronic components composition.
Further, described command processing module two includes control unit and memory cell.
Further, the order that described command processing module two performs includes reading or storing consumptive material capacity and consumptive material
Residual capacity order.
Further, the order that described command processing module one performs includes shaking hands with printer and verification command.
In order to realize another goal of the invention above-mentioned, the invention provides a kind of chip reset device, including: order receives mould
Block, is used for receiving printer command;Order pretreatment module;The old chip dies being connected with described order pretreatment module respectively
Block and filter command processing module;Described order pretreatment module is for judging the life that described order receiver module receives
Order, if obtain is the order performed by described old chip module, then by pass down the line to described old chip module, by described
Old chip module performs this order, if obtain is the order performed by described filter command processing module, then order is passed
Up to described filter command processing module, is performed this order by described filter command processing module.
Further, described order pretreatment module is micro-control unit or integrated circuit.
Further, described old chip module is old chip IC or by old chip IC and relevant peripheral electron
The circuit module of accessory composition.
Further, described filter command processing module includes control unit and memory cell.
A kind of chip reset method that the present invention provides and chip reset device, it has the beneficial effects that:
1, the order by sending printer pre-processes, and i.e. first judges order, allows old chip module hold
Row part order, allows another command processing module perform the order that another part is different, thus realizes the repetition profit of old chip
With, this method overcomes 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, have very
The good value of environmental protection;
3, the method is simple and good stability, the problem that can solve the poor stability of the compatible consumptive material of tradition.
Detailed description of the invention
Chip reset embodiment of the method:
The present invention provides the repositioning method of a kind of chip being arranged on printer material consumption, described chip reset method bag
Including: after receiving the order that printer sends, the order sending printer judges, and sends different orders to phase
The command processing module answered, is performed order by corresponding command processing module.
Concrete, as it is shown in figure 1, step S01 is first carried out: receive the order of printer transmission and judge order;As
The order that fruit receives is the order performed by command processing module one, then by pass down the line to command processing module one;Then hold
Row step S021: command processing module one performs to operate accordingly;Finally perform step S03: information is returned printer.In step
In rapid S01, if the order received is the order performed by command processing module two, then by pass down the line to command processing module
Two;Then perform step S022, command processing module two perform to operate accordingly;Finally perform step S03, information is returned
Printer.
Described command processing module one is the IC in old chip, it is also possible to be old chip IC and relevant peripheral electron
The old chip circuit module of accessory composition, or the microcontroller in old chip, in the present embodiment, described command process mould
Block one is old chip IC.
Described command processing module two includes control unit and memory cell, is used for performing part order and preserving
Corresponding data.
Described command processing module one and command processing module two order to be performed by pre-setting,
In the present embodiment, command processing module one to perform to order and be set to shake hands, verify the order such as legitimacy of consumptive material with printer;
The order that described command processing module two is to be performed is set to read or store consumptive material capacity and consumptive material residual capacity information
Deng order.
In other embodiments, it is also possible to arrange at described command processing module one and order according to concrete needs
The order that reason module two is to be performed, is not limited to the present embodiment.
A kind of chip reset method that the present embodiment provides, it has the beneficial effects that:
1, the order by sending printer pre-processes, and i.e. first judges order, allows old chip IC perform
With printer is shaken hands, verifies the order such as legitimacy of consumptive material, perform to read or storage consumptive material appearance by another command processing module
The order such as amount and consumptive material residual capacity information, it is achieved the recycling of old chip, this method overcomes traditional chip reset
The shortcoming of technology, 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 good ring
Support value value;
3, the method is simple and good stability, the problem that can solve the poor stability of the compatible consumptive material of tradition.
Chip reset device embodiment:
The present invention also provides for a kind of chip reset device using chip reset method as above.
Described chip reset device, as in figure 2 it is shown, include an order receiver module, is used for receiving printer command;One
Order pretreatment module;The old chip module being connected with described order pretreatment module respectively and filter command processing module;
Described order pretreatment module is for judging the order that described order receiver module receives, if obtain is by described old
The order that chip module performs, then by pass down the line to described old chip module, performed this order by described old chip module, if
Obtain is the order performed by described filter command processing module, then to described filter command, pass down the line is processed mould
Block, is performed this order by described filter command processing module.
Described order receiver module can by wireless or wired by the way of receive the order that printer sends over.
Order receiver module described in the present embodiment receives, by wired mode, the order that printer comes.
Described order pretreatment module can be micro-control unit or integrated circuit.
A part of printer command is filtered out by functioning as of described order pretreatment module, and that portion that will filter
Divide pass down the line to described filter command processing module, allow described filter command processing module perform this partial order;Additionally
The part order do not filtered is reached described old chip module, and is performed this part life by described old chip module
Order.This processing mode to printer command can realize the recycling of old chip module, i.e. can effectively realize old chip
Reset.
Described old chip module is the IC of old chip, the life come for performing described order pretreatment module to pass on
Make and preserve corresponding data.In other embodiments, described old chip module can also include according to concrete needs
Relevant peripheral electron accessory, is not limited to the present embodiment.
Described filter command processing module includes control unit and memory cell, for performing described order pretreatment
Module is passed on the order come and preserves corresponding data.
The method of work of said chip resetting means is described below in conjunction with Fig. 3.
Being installed in printer by the consumptive material being provided with said chip resetting means, after energising, order receiver module performs
Step S11, it may be judged whether receive the order that printer sends over, if it does not, continue waiting for;
If receiving order, then perform step S12, the order received by order pretreatment module judges.
If the order judged be with printer shake hands, the order of the order such as checking, then perform step S131, by old core
Sheet module performs corresponding order;Finally perform step S14, information is returned printer.
If the order judged is to read or the storage order such as consumptive material capacity and consumptive material residual capacity information, then perform
Step S132, is performed corresponding order by filter command processing module;Finally perform step S14, information is returned printer.
In other embodiments, it is also possible to according to concrete needs, described filter command processing module and old is set
The order that chip module is to be performed, is not limited to the present embodiment.
The chip reset device that the present embodiment provides, can realize the recycling of old chip, has that method is simple, reset rate
The advantages such as height, environmental protection.
A kind of chip reset method above embodiments of the invention provided and the principle of chip reset device and
Embodiment is described in detail, it should be noted that the explanation of above example is only intended to help to understand the present invention's
Method and core concept thereof, simultaneously for the general technology person of this area, according to the thought of the present invention, in detailed description of the invention
The change made with range of application also should be included in the scope of the claims of the present invention.