Reliable storage method of non-document system

A non-file, reliable technology, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve the problem of frequent file reading and writing, and achieve the effect of reducing traversal and searching, improving efficiency, and reducing efficiency

Inactive Publication Date: 2013-01-23
郑州威科姆科技股份有限公司
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The fourth feature is that files are read and written very frequentl

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
  • Reliable storage method of non-document system
  • Reliable storage method of non-document system
  • Reliable storage method of non-document system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Generally speaking, the storage process of the non-file system includes a data writing process, a data reading process, and a data deletion process.

[0016] Before performing various operations on the data, first operate on the local database: because there are a large amount of record information that needs to be stored in real time in the system. The invention adopts Berkeley DB as the prototype database to store the information in the system. Involves opening, closing, reading, writing, and retrieving the database. Because the database does not use a SQL-like database, but abandons SQL statement support for performance, thereby improving database performance. Berkeley DB is an open database, and its interface is open and public.

[0017] Secondly, open the hard disk and locate the pointer: the hard disk is only a physical device in the eyes of the operating system. Taking Linux as an example, the kernel presents it as / dev / sd**. This is the device we want to oper...

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

A reliable storage method of a non-document system comprises a writing process of data, a reading process of the data and a deleting process of the data, wherein in the writing process of the data, a local database is opened by an operator, and an offset address of a current write disk is acquired; then a hard-disk device is opened, and a file pointer is deviated to a write position; when the data is written, a write mark is established in the local database, and the data begins to write; in the reading process of the data, the record of the file in the local database is searched according to a search condition transmitted by an application file, an offset address of the file in the hard-disk record is acquired from the record, data is read from the offset address, and the data is returned to the application layer in a callback form; and in the deleting process of the data, the file in the local database is marked as deleted by the operator.

Description

technical field [0001] The invention relates to a high-efficiency and reliable data storage technology, which is applied to video surveillance industry, IPTV and other industries that require a large amount of data storage. Background technique [0002] At present, most hard disk-based data storage is based on the file system. From the FAT file system of Windows to NTFS, they are based on the hard disk management function provided by the operating system for data non-volatile storage, including ext2 / 3 of Linux. Data storage based on the file system has brought great convenience to our development, but its efficiency and reliability have always been the focus of disputes. This focus has also led to more and better file systems. However, no matter how the file system is upgraded, it is only a general product based on people's general application habits. For some special industries, such as: video surveillance, IPTV. The first characteristic of the data in these industries ...

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
IPC IPC(8): G06F17/30
Inventor 贾小波李伟高磊王鹏丽陈启航于文华
Owner 郑州威科姆科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products