Flash Memory Data Writing Method with Temporary Buffering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The inefficiency in writing data to flash memory due to the need to erase and copy valid data before writing new data, which reduces storage device efficiency and shortens the lifespan of flash memory, especially when dealing with small quantities of data that do not fill a writing unit.

Innovation Solution

A data writing method that divides new data into sub-data units, selects a spare block as a substitute, writes sub-data sequentially into the substitute block, and stores any remaining data into a temporary area, optimizing the writing process by avoiding unnecessary erasure operations and improving data management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data is written to flash memory using conventional methods, then data can be stored, but the writing efficiency is reduced and the lifespan of the flash memory is shortened due to unnecessary erase and copy operations

Engineering Contradiction:
Improvewriting efficiencyVSAvoidtime for erase and copy operations
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent introduces a temporary area where data is pre-stored before being written to the flash memory. This preliminary action allows the system to avoid unnecessary erase and copy operations by first checking if data needs to be written and using the temporary area as a buffer, thereby improving writing efficiency and reducing time loss.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If conventional data writing methods are used, then data storage is achieved, but the lifespan of the flash memory is reduced due to frequent erase operations

Engineering Contradiction:
Improvelifespan of flash memoryVSAvoidwriting efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The temporary area is used to pre-store data before writing to the flash memory, allowing the system to minimize erase operations. This preliminary buffering action protects the flash memory from frequent erase cycles, thereby extending its lifespan while maintaining writing efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The temporary area acts as an intermediary between the data source and the flash memory. It buffers data temporarily, allowing the system to write data without immediately erasing and copying existing data, thus reducing the wear on the flash memory and extending its operational life.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If small quantities of data are written to flash memory, then data can be stored, but the writing efficiency is further reduced because the data does not fill a writing unit

Engineering Contradiction:
Improvewriting efficiency for small dataVSAvoiddata quantity per writing unit
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The temporary area serves as a buffer that can accumulate small quantities of data before a write operation occurs. This preliminary accumulation allows the system to handle small data quantities efficiently by batching them together, improving writing efficiency without requiring data to fill entire writing units.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8606987B2Data writing method for flash memory and controller using the same
Publication Date: 2013.12.10 PHISON ELECTRONICS
  • US8606987B2 patent drawing
  • US8606987B2 patent drawing
  • US8606987B2 patent drawing

AI summary

A data writing method for a flash memory is provided. The data writing method includes: dividing a new data into at lease one sub-data by the size of a writing unit; selecting one of a plurality of spare blocks from the flash memory as a substitute block for substituting a data block, wherein the new data is to be written into the data block; sequentially writing the sub-data having the size of the writing unit into the substitute block in the writing unit; and storing the sub-data not having the size of the writing unit into a temporary area. The writing efficiency of the flash memory can be improved by temporarily storing the sub-data not having the size of the writing unit into the temporary area and then writing the sub-data not having the size of the writing unit with subsequent data into the substitute block.