CN116922966A - Data processing method and consumable chip - Google Patents
Data processing method and consumable chip Download PDFInfo
- Publication number
- CN116922966A CN116922966A CN202310832086.3A CN202310832086A CN116922966A CN 116922966 A CN116922966 A CN 116922966A CN 202310832086 A CN202310832086 A CN 202310832086A CN 116922966 A CN116922966 A CN 116922966A
- Authority
- CN
- China
- Prior art keywords
- nonvolatile memory
- memory unit
- main program
- unit
- consumable chip
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 238000001514 detection method Methods 0.000 claims abstract description 14
- 230000002618 waking effect Effects 0.000 claims abstract description 5
- 238000012546 transfer Methods 0.000 claims description 7
- 230000003068 static effect Effects 0.000 claims description 3
- 230000002035 prolonged effect Effects 0.000 abstract description 4
- 238000000034 method Methods 0.000 description 10
- 238000003384 imaging method Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 239000000463 material Substances 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3275—Power saving in memory, e.g. RAM, cache
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The application belongs to the technical field of detection, and provides a data processing method which is applied to consumable chips, and comprises the following steps: copying an original main program in a nonvolatile memory unit into a copy main program according to a power-on signal, and transferring the copy main program to a volatile memory unit; running the copy main program in the volatile storage unit, and detecting whether a write signal is received; if yes, waking up the nonvolatile memory unit, and writing the write data corresponding to the write signal into the nonvolatile memory unit; and if not, maintaining the dormant state of the nonvolatile memory unit. The consumable chip can keep low-power-consumption operation, so that the power consumption of the consumable chip is greatly reduced, and the service life of the consumable chip is prolonged.
Description
Technical Field
The application belongs to the technical field of printing equipment, and particularly relates to a data processing method and a consumable chip.
Background
An existing image forming apparatus such as a printing apparatus forms an image on a sheet using an image forming cartridge detachably mounted to a main body side of the image forming apparatus, and a chip is generally provided on the image forming cartridge. The chip includes a read-write interface and memory circuit that stores data related to the imaging cartridge, such as date of manufacture, serial number, color of recording material, remaining amount of recording material, etc. Wherein for an inkjet printer the recording material is ink and for a laser printer the recording material is carbon powder.
The imaging device and the box chip adopt a host-client mode for communication, the imaging device is a host, the box chip is a client, the communication rule and the time sequence between the imaging device and the box chip are controlled by the imaging device, the box chip comprises a volatile memory and a nonvolatile memory, related data of the imaging box are generally stored in the nonvolatile memory, main program data communicated with the imaging device are included in the nonvolatile memory, cooperative processing between the volatile memory and the nonvolatile memory is needed when the instructions of the imaging device are responded, but the nonvolatile memory has long read-write time, and the power consumption in working and the power consumption in standby are high. In the case of a very high power consumption of the cartridge chip, if the power consumption of the nonvolatile memory cannot be reduced, the development of the cartridge chip becomes very difficult, and the use of the user is also affected.
Disclosure of Invention
The application aims to provide a signal acquisition circuit, which aims to solve the problems that the power consumption of a nonvolatile memory cannot be reduced in the traditional technical scheme, the development of a box chip becomes very difficult and the use of a user is influenced.
A data processing method applied to a consumable chip, the data processing method comprising:
copying and saving the original main program in the nonvolatile memory unit to the volatile memory unit according to the power-on signal;
operating the original main program in the volatile storage unit, and detecting whether a write signal is received or not;
if yes, waking up the nonvolatile memory unit, and writing the write data corresponding to the write signal into the nonvolatile memory unit;
and if not, maintaining the dormant state of the nonvolatile memory unit.
In addition, still provide a consumable chip, be applied to the consumable box, the consumable chip includes:
a nonvolatile storage unit configured to store an original main program;
the transfer unit is connected with the nonvolatile storage unit and is configured to copy the original main program into a copy main program according to a power-on signal;
a volatile storage unit connected to the transfer unit and configured to store the copy main program;
a first detection unit connected to the nonvolatile memory unit and configured to detect a write signal;
and the control unit is connected with the nonvolatile memory unit, the volatile memory unit and the first detection unit and is configured to run the copy main program in the volatile memory unit, generate a wake-up signal according to the write signal, wake up the nonvolatile memory unit and write data corresponding to the write signal into the nonvolatile memory unit.
According to the data processing method, when the consumable chip is electrified, the original main program in the nonvolatile memory unit is copied to generate the copy main program, the copy main program is transferred to the volatile memory unit, the copy main program is operated in the volatile memory unit, the dormant state of the nonvolatile memory unit is kept, the nonvolatile memory unit is awakened only when a write signal is detected, data is written into the nonvolatile memory unit, and the consumable chip can keep low-power-consumption operation, so that the power consumption of the consumable chip is greatly reduced, and the service life of the consumable chip is prolonged.
Drawings
FIG. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of a data processing method according to another embodiment of the present application;
FIG. 3 is a flowchart illustrating a data processing method according to another embodiment of the present application;
fig. 4 is a circuit configuration diagram of an exemplary consumable chip of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
As shown in fig. 1, the present application provides a data processing method applied to a consumable chip, including the following steps:
copying an original main program in a nonvolatile memory unit into a copy main program according to a power-on signal, and transferring the copy main program to a volatile memory unit;
running the copy main program in the volatile storage unit, and detecting whether a write signal is received;
if yes, waking up the nonvolatile memory unit, and writing the write data corresponding to the write signal into the nonvolatile memory unit;
and if not, maintaining the dormant state of the nonvolatile memory unit.
In step S100, according to the power-on signal, the original main program in the nonvolatile memory unit is copied as a copy main program and transferred to the volatile memory unit;
the consumable chip may store an original program and original data, and may perform communication interaction with the image forming apparatus, specifically, information interaction actions including identity authentication of a printing consumable, printing state update of the printing consumable, remaining amount detection update of the printing consumable, and the like. The consumable chip carrying the original program and the original data comprises a nonvolatile memory and a volatile memory, so that the original main program and the original data of the consumable chip can be stored in the nonvolatile memory in order to ensure that the functions and important data of the consumable chip are not lost, and meanwhile, the data in the nonvolatile memory can be written or rewritten. In the present application, the nonvolatile memory unit is preferably configured as a Flash memory (Flash), and the volatile memory unit is preferably configured as a Static Random access memory (Static Random-AccessMemory, SRAM).
When the printing consumable is installed in the image forming device, the consumable chip arranged on the printing consumable can be electrically connected with the electrical contact in the image forming device, and after the door cover of the image forming device is closed, the image forming device is powered on, and the consumable chip starts to be powered on. After the consumable chip is powered on, the original main program in the nonvolatile memory is copied and stored in the volatile memory, wherein the original main program comprises an interaction main program of the consumable chip and the image forming device, an internal operation algorithm of the consumable chip and the like. In the process of copying and transferring the original main program, the nonvolatile memory and the volatile memory are in an upper working state, whether the original main program is completely transferred to the volatile memory or not is detected in real time, and after the copying and transferring of the original main program are detected, the power supply of the nonvolatile memory is disconnected, so that the nonvolatile memory is in a dormant state, and the power consumption of a chip is reduced. It can be understood that after or during the power-up process of the chip, the original main program in the nonvolatile memory is preferentially carried into the volatile memory, and the following program actions are executed, that is, the consumable chip is in a non-working state at this time. In order to ensure that the copy main program can normally run in the volatile memory, the data in the copy main program is required to be identical to the data in the original main program, so that the data sent to the volatile memory also comprises data such as a data length value, verification data and the like, when the copy main program is transported to the volatile memory, the data length value and the verification data of the copy main program are verified, and if the data length value and the verification data of the copy main program are verified to be correct, the transportation of the copy main program is confirmed to be completed; if the verification data length value and the verification data are wrong, the copy main program is considered to be failed to be conveyed, the original main program is copied again and conveyed until the copy main program is confirmed to be conveyed, and after the copy main program is confirmed to be conveyed, the power supply of the nonvolatile memory is disconnected, so that the nonvolatile memory is in a dormant state.
In step S200, the copy main program is run in the volatile storage unit, and whether a write signal is received is detected; if yes, waking up the nonvolatile memory unit, and writing the write data corresponding to the write signal into the nonvolatile memory unit; and if not, maintaining the dormant state of the nonvolatile memory unit.
After the main program is carried, the nonvolatile memory is in a dormant state, and the original main program in the nonvolatile memory cannot be operated after being electrified, so that the consumable chip can directly operate the copy main program in the volatile memory to communicate with the image forming device in order to ensure the normal communication between the consumable chip and the image forming device. However, data in the volatile memory is lost after power failure, so that when data writing or rewriting of the consumable chip is required, the data cannot be written into the volatile memory. In general, when data writing or rewriting is needed, a consumable chip will receive a write signal first and then write pre-written data into a predetermined address storage area, where the consumable chip detects whether the write signal is received and determines whether the data writing is needed to be performed on the consumable chip, and if the write signal is received, wakes up the nonvolatile memory unit and writes the write data into the nonvolatile memory unit; if the write signal is not received, the nonvolatile memory is kept in a dormant state, and the original main program in the nonvolatile memory does not run. In the operation process of the copying main program, the nonvolatile memory is kept in a dormant state, and only when data writing is needed to be carried out on the consumable chip, the consumable chip wakes up the nonvolatile memory to write corresponding writing data into the nonvolatile memory, so that the consumable chip can always keep low-power-consumption operation when the copying main program is operated, the power consumption of the consumable chip is greatly reduced, and the service life of the consumable chip is prolonged.
As shown in fig. 2, step S200 further includes:
in step S300, it is detected whether the writing of the write data is completed; if yes, the nonvolatile memory unit enters a dormant state.
After receiving the write signal, the consumable chip writes the write data into the nonvolatile memory according to the write signal, at this time, the nonvolatile memory is powered on, the overall power consumption of the consumable chip increases, multiple data writing actions may exist during the operation of the copy main program in the volatile memory, and the operation time of each writing action cannot be determined, so that after each data writing is completed, the nonvolatile memory needs to be put into a sleep state again. Specifically, in the process of writing data into the nonvolatile memory, whether the writing of the data is completed is detected in real time, if not, the data writing action is continued, and if the writing is completed, the nonvolatile memory unit is enabled to enter the dormant state again, so that the nonvolatile memory is enabled to be electrified only when the data is written into the nonvolatile memory, the overall power consumption of the consumable chip can be greatly reduced, and the service life of the chip is prolonged.
As shown in fig. 3, before step S200, the method further includes:
in step S400, the address of the volatile memory unit is set as a program start address.
When the consumable chip is operated, the initial address of the main program is used as the initial address of the operation of the chip, in the prior art, the main program is operated in the nonvolatile memory, so the initial address of the original main program is the program initial address of the chip.
As shown in fig. 4, on the basis of the data processing method applied to the consumable chip, the application further provides a consumable chip applied to a consumable box, wherein the consumable chip comprises: the device comprises a nonvolatile storage unit, a transfer unit, a volatile storage unit, a first detection unit and a control unit. Wherein the nonvolatile storage unit is configured to store the original main program; the transfer unit is connected with the nonvolatile storage unit and is configured to copy the original main program into a copy main program according to a power-on signal; the volatile storage unit is connected with the transfer unit and is configured to store the copy main program; a first detection unit connected to the nonvolatile memory unit and configured to detect a write signal; the control unit is connected with the nonvolatile storage unit, the volatile storage unit and the first detection unit, and is configured to run the copy main program in the volatile storage unit, generate a wake-up signal according to the write signal and wake up the nonvolatile storage unit.
The consumable chip further includes a setting unit configured to set an address of the volatile memory unit as a program start address.
The consumable chip further comprises a second detection unit, wherein the second detection unit is configured to detect whether the writing of the write data is completed or not; the control unit is further configured to put the nonvolatile memory unit into a sleep state when the write data writing is completed.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the application.
Claims (8)
1. A data processing method applied to a consumable chip, the data processing method comprising:
copying an original main program in a nonvolatile memory unit into a copy main program according to a power-on signal, and transferring the copy main program to a volatile memory unit;
running the copy main program in the volatile storage unit, and detecting whether a write signal is received;
if yes, waking up the nonvolatile memory unit, and writing the write data corresponding to the write signal into the nonvolatile memory unit;
and if not, maintaining the dormant state of the nonvolatile memory unit.
2. The data processing method according to claim 1, wherein before the volatile storage unit runs the copy main program, further comprising:
and setting the address of the volatile memory unit as a program starting address.
3. The data processing method according to claim 1, wherein the step of writing the write data corresponding to the write signal to the nonvolatile memory cell further comprises:
detecting whether the writing of the writing data is completed or not;
if yes, the nonvolatile memory unit enters a dormant state.
4. The data processing method of claim 1, wherein the nonvolatile memory unit is configured as a flash memory.
5. The data processing method of claim 1, wherein the volatile memory unit is configured as static RAM.
6. A consumable chip applied to a consumable cartridge, the consumable chip comprising:
a nonvolatile storage unit configured to store an original main program;
the transfer unit is connected with the nonvolatile storage unit and is configured to copy the original main program into a copy main program according to a power-on signal;
a volatile storage unit connected to the transfer unit and configured to store the copy main program;
a first detection unit connected to the nonvolatile memory unit and configured to detect a write signal;
and the control unit is connected with the nonvolatile memory unit, the volatile memory unit and the first detection unit and is configured to run the copy main program in the volatile memory unit, generate a wake-up signal according to the write signal, wake up the nonvolatile memory unit and write data corresponding to the write signal into the nonvolatile memory unit.
7. The consumable chip of claim 6, further comprising:
and a setting unit configured to set an address of the volatile memory unit as a program start address.
8. The consumable chip of claim 6, further comprising:
a second detection unit configured to detect whether the write data is written;
the control unit is further configured to put the nonvolatile memory unit into a sleep state when the write data writing is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310832086.3A CN116922966A (en) | 2023-07-07 | 2023-07-07 | Data processing method and consumable chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310832086.3A CN116922966A (en) | 2023-07-07 | 2023-07-07 | Data processing method and consumable chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116922966A true CN116922966A (en) | 2023-10-24 |
Family
ID=88376658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310832086.3A Pending CN116922966A (en) | 2023-07-07 | 2023-07-07 | Data processing method and consumable chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116922966A (en) |
-
2023
- 2023-07-07 CN CN202310832086.3A patent/CN116922966A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI511032B (en) | Replaceable printer component including a memory updated atomically | |
CN101639637B (en) | Image forming apparatus to control a power supply, and method thereof | |
AU2015392082B2 (en) | Printing material cartridge | |
JP4516537B2 (en) | Image forming apparatus capable of changing settings even in power saving mode, and image forming system including the image forming apparatus and an external terminal device | |
CN112192961B (en) | Identification data switching method, equipment, consumable chip, consumable box and medium | |
US9283791B2 (en) | Replaceable printer component including a memory updated atomically | |
WO2014086137A1 (en) | Imaging cartridge chip, data processing method and imaging cartridge | |
JP2017058438A (en) | Image forming apparatus, method of managing consumables, and computer program | |
WO2015027646A1 (en) | Memory group, consumables chip, consumables chipset, and imaging box | |
US11148429B2 (en) | Printing material cartridge | |
JP2002023570A (en) | Image forming device and its device unit | |
WO2015018209A1 (en) | Consumable material chipset, imaging box set, information storage method, and consumable material chip replacement method | |
JP2000293369A (en) | Device with machine type identifying function, machine type identifying method and storage medium | |
CN201707552U (en) | Storage chip on imaging box for imaging device | |
WO2015032205A1 (en) | Memory group and imaging box | |
CN104115116B (en) | Systems and methods for managing data in a device for hibernation states | |
WO2016115985A1 (en) | Imaging box chip, and reading and writing method for ink volume information about chip response imaging apparatus | |
CN116922966A (en) | Data processing method and consumable chip | |
CN112824105B (en) | Data processing method of consumable chip, consumable and imaging equipment | |
WO2022257431A1 (en) | Consumable chip, consumable box, and consumable chip authentication method and use method | |
JP2007108862A (en) | Sleep mode shift control method for network connecting peripheral equipment | |
WO2018145456A1 (en) | Thermal printer print method, printer, and computer-readable storage medium | |
EP3872606B1 (en) | Processor system | |
CN116414210A (en) | Application system and method of low-power-consumption storage device | |
JP2020166335A (en) | Card issuance device |
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 |