Atomic Update Logic Circuit for Printer Memory Data Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current printing systems face data corruption issues when replaceable printer components are powered off during data writing due to incomplete updates in on-board memory, necessitating a solution for ensuring data integrity.
Innovation Solution
A replaceable printer component with a non-volatile memory and logic circuit that performs atomic updates, ensuring data is either successfully written or restored to its pre-write state, using reserved memory areas for tracking write operations and employing error detection schemes to maintain data integrity even if power is lost during writing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is written to on-board memory of replaceable printer component, then information is stored, but data may be corrupted if printer is turned off during writing
Solution Approach 1:
The memory is divided into a data storage area and a reserved area for tracking write operations. The reserved area stores status information about ongoing writes, allowing the system to segment the memory function into data storage and write tracking, which prevents data corruption by knowing whether a write is in progress.
Solution Approach 2:
Before writing data to the memory, the system performs preliminary actions by setting a reserved area flag to indicate a write operation is in progress. This preliminary status setting allows the system to detect if power is lost during writing and take corrective action, preventing data corruption without requiring complex real-time monitoring.
2Reliability
If atomic update mechanism is implemented, then data integrity is maintained, but memory structure becomes more complex
Solution Approach 1:
The reserved area acts as an intermediary between the write operation and the data storage area. Instead of directly writing to the data storage area, the system uses the reserved area as a mediator to track write status, which simplifies the overall structure by providing a clear intermediate state that indicates whether data is being written.
3Loss of energy
If write operation is interrupted due to power loss, then energy consumption is reduced, but data may become corrupted
Solution Approach 1:
The system implements feedback by continuously monitoring the reserved area status during write operations. If power is lost or the printer is turned off, the feedback mechanism detects the interrupted state through the reserved area flag and triggers restoration of the previous data state, ensuring data integrity is maintained even when energy loss occurs.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A replaceable printer component includes a memory device and a communication link. The memory device includes a memory and a circuit configured to atomically update data stored in the memory. The communication link is configured to communicatively link the memory device to a printer controller when the replaceable printer component is installed in a printing system. The circuit is configured to receive a write request including data, a data length, and an address from the printer controller; copy the data length of data stored at the address to a backup area of the memory; store the data length and the address in the memory; set a write state stored in the memory to a first state; update the data length of data stored at the address with the received data; and set the write state stored in the memory to a second state.