Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method for Retrieval and Storage of Flash Data Based on Binary Search of Unknown Length

A flash memory storage and binary search technology, applied in the field of flash memory storage, can solve the problems of slow storage speed, inefficient data movement, and incompatibility between storage efficiency and retrieval efficiency, and achieve optimal erasing performance, less resource occupation, and improved performance. Effect

Inactive Publication Date: 2016-01-20
SHANDONG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Aiming at the deficiencies of the prior art, the present invention proposes a method for retrieving and storing flash memory data based on binary search of unknown length, which is an efficient method for storing and retrieving variable data in flash media based on bitmap and binary search of unknown length. To solve the problem that storage efficiency and retrieval efficiency cannot be balanced when existing flash media stores and retrieves volatile data
The present invention uses a bitmap to mark the validity of data, and then realizes efficient deletion operations; uses a load factor to determine the load percentage of each sector, and then solves the problem of slow storage speed caused by storing data in a sorted manner; uses unknown length binary Find, solve the efficient data retrieval in the ordered sequence of unknown length; use the erasing distance to solve the problem of extremely inefficient data movement caused by a full sector when storing data across sectors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Method for Retrieval and Storage of Flash Data Based on Binary Search of Unknown Length

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0070] A method for retrieving and storing flash memory data based on unknown length binary search is realized by using a single-chip microcomputer control system. The system includes a single-chip microcomputer, a flash storage chip, a query generator, an alarm, and a host computer. The host computer is connected to the single-chip microcomputer through RS-485 , the microcontroller is connected to the flash storage chip through SPI, the microcontroller is connected to the query generator through SPI or RS-232, and the microcontroller is connected to the alarm through a triode amplifier and a relay; the query generator is used to input the data to be queried to the microcontroller, when the data to be queried is stored in the flash memory When the chip does not exist, the alarm will alarm, and the host computer will send the changed data to the single-chip microcomputer, and the single-chip microcomputer is responsible for reflecting the data change to the flash memory chip; thi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for retrieving and storing flash memory data on the basis of unknown length binary search, and belongs to the technical field of flash memory. By combining algorithms and ideas about the unknown length binary search, bitmap, load factor, erasing distance and the like, full address space (full address of a sector) binary search is replaced by the unknown length binary search, actual deletion is replaced by the bitmap, and full address space memory is replaced by the load factor and the erasing distance. The method for retrieving and storing the flash memory data improves performances of basis operation like inquiring, deleting and erasing of flash memory medium, simultaneously has the advantages of strong expandability and low occupancy of resources, and is easy to realize in a single chip machine of an embedded system or a non-operation system.

Description

technical field [0001] The invention relates to a method for retrieving and storing flash memory data based on binary search of unknown length, and belongs to the technical field of flash memory storage. Background technique [0002] Flash memory (FlashMemory) is a long-life non-volatile (it can still maintain the stored data information in the case of power failure) memory, data deletion is not in the unit of a single byte but in a fixed block The block size is generally 256KB to 20MB. Flash memory is a variant of electronically erasable read-only memory (EEPROM). The difference between flash memory and EEPROM is that it can be deleted and rewritten at the byte level instead of erasing the entire chip, so that flash memory can be updated faster than EEPROM . Because it can still save data when it is powered off, flash memory is usually used to save setting information, such as saving data in the BIOS (basic input and output program) of a computer, PDA (personal digital as...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30G06F12/02
Inventor 王洪君李绍林曹敏王琰王惠王光雷
Owner SHANDONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products