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

File access method

A file access and file technology, applied in the direction of file access structure, file system, special data processing applications, etc., can solve the problems of unproposed solutions, low update efficiency of database files, etc., and achieve the effect of ensuring update efficiency

Inactive Publication Date: 2014-11-19
CHENGDU DINGZHIHUI TECH
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, mature databases are all used in disk storage systems. Most databases use a tree index structure to reduce access to disks when updating and retrieving database files. However, NAND Flash reads and writes in units of pages. Before writing, you must to erase
If the tree index structure of the traditional disk is directly applied to NAND Flash, for a large number of fine-grained file updates of the database, the block where the index is located must be erased and then rewritten, resulting in low update efficiency of the database file
[0004] Therefore, for the above-mentioned problems existing in related technologies, effective solutions have not yet been proposed

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
  • File access method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following and accompanying appendices illustrating the principles of the invention Figure 1 A detailed description of one or more embodiments of the invention is provided together. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details.

[0029] The invention proposes an efficient indexing method, which can reduce the number of times of writing NAND Flash when the database is updated, ensure the updating efficiency of the index, and simultaneously take into account the r...

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 provides a file access method used for carrying out indexing in a Flash database. The method comprises the steps that when AVL tree indexing nodes are upgraded, cached logs are generated in a log cache; when the log cache is fully written, the cached logs are combined with the node log set as an unit and written into a log storage area; a node log lookup table is set up, and the mapping relation between the nodes and a Flash page where the logs are located is recorded; log integration is carried out on the nodes and written into a node logic area. According to the method, the number of times for writing NANA Flash is reduced in the database upgrading process, and the upgrading efficiency of the index is ensured.

Description

technical field [0001] The invention relates to a file access method, in particular to a database file indexing method for an embedded system. Background technique [0002] NAND Flash memory has been widely used in various embedded systems, and has the advantages of high read and write performance, non-volatility, low power consumption, high density and good shock resistance. In embedded devices used for online environmental analysis, NAND is generally used to store index information sensed by sensor networks. At the same time, some embedded systems such as real-time environmental monitoring systems need to sense and store a large amount of data. As an efficient data management tool, the use of databases in embedded systems will become a trend. [0003] At present, mature databases are all used in disk storage systems. Most databases use a tree index structure to reduce access to disks when updating and retrieving database files. However, NAND Flash reads and writes in unit...

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 Applications(China)
IPC IPC(8): G06F17/30G06F12/08
CPCG06F16/148G06F16/13
Inventor 毛力
Owner CHENGDU DINGZHIHUI TECH
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