Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for managing variable length data

A management method and management device technology, applied in the field of variable-length data management, can solve the problem of low utilization of storage space and achieve the effect of saving processor resources and saving storage resources

Inactive Publication Date: 2011-08-31
AEROSPACE INFORMATION
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the technical problem of low storage space utilization in the existing variable-length data storage technology

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
  • Method and device for managing variable length data
  • Method and device for managing variable length data
  • Method and device for managing variable length data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Such as Figure 6 Shown is a structural diagram of a variable-length data storage device according to Embodiment 1 of the present invention.

[0069] The storage body in this embodiment includes a Samsung NAND FLASH chip, the model is K9F1G08U0M and a storage chip AT24C01. Among them, K9F1G08U0M is used as a storage module to store data records; AT24C01 is used as a pointer module to store address pointers.

[0070] I / O0~I / O7, RE, WE, ALE, CLE pins of K9F1G08U0M are respectively connected with the control module. Among them, I / O0~I / O7 are 8 input and output pins, RE is a read operation control pin, WE is a write operation control pin, ALE is an address latch control pin, and CLE is a command latch control pin. The control module performs control word operation, address operation, write operation or read operation on K9F1G08U0M by controlling the levels of CLE, ALE, WE and RE pins respectively. I / O0~I / O7 are multiplexing ports for data, address and command. Writing d...

Embodiment 2

[0105] Different from the first embodiment, the storage module in the second embodiment is an Electrically Erasable Programmable Read-Only Memory (EEPROM).

[0106] The storage banks in this embodiment include AT24C1024 and AT24C01. Among them, AT24C1024 is used as a storage module to store data records; AT24C01 is used as a pointer module to store address pointers.

[0107] Such as Figure 11 Shown is a structural diagram of a variable-length data storage device according to Embodiment 2 of the present invention.

[0108] Both AT24C1024 and AT24C01 are based on the IIC bus protocol, and the control module is connected to AT24C1024 and AT24C01 through the IIC bus. Serial data pin SDA and serial clock pin SCL of AT24C1024 are respectively connected with the control module, similarly, serial data pin SDA and serial clock pin SCL of AT24C01 are respectively connected with the control module.

[0109] The access program is run in the control module, and the AT24C1024 and AT24C0...

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 relates to a method for managing variable length data, which comprises a variable length data storage process. The method comprises the following steps: dividing a storage space of a storage module into a plurality of storage units with same sizes in turn; establishing a data record which contains the record information and a data part, wherein the data part is the to-be-stored variable length data, and the record information indicates the length of the data record; storing the data record, by writing the data record into the storage units of the storage module in turn according to an address pointer supplied by a pointer module; and updating the address pointer, by pointing at a second address blank in the storage module by the address pointer after completely writing the last data block of the data record, and then writing the second address blank into the pointer module. A device for managing variable length data comprises a control module and a storage component, wherein the storage component comprises the storage module and the pointer module, and the control module is respectively connected to the storage module and the pointer module.

Description

technical field [0001] The invention relates to data management of an embedded system, in particular to a method and device for realizing variable-length data management. Background technique [0002] At present, with the development of embedded devices, the application environment is becoming more and more complex, and the resulting demand is to efficiently store and manage a large amount of stored data. Due to the limited hardware resources of the embedded terminal, its memory capacity is often relatively small. [0003] In order to store data in an embedded device, a file system is proposed in the prior art. Usually, storing data in the fields of the database is to use the embedded database to manage the data in the memory. According to the principle of the database, the data that needs to be managed is classified and subdivided into data tables, indexes and data; using the file system Create table files, index files, and data files to manage data table information, ind...

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): G06F12/06
Inventor 甘景全贺毅李利杨大勇张平
Owner AEROSPACE INFORMATION
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More