A kind of information storage and reading method

An information storage and stored technology, applied in the direction of response error generation, redundancy in operation, data error detection, input/output to record carrier, etc., can solve the problems of unstable system operation and complex management logic, etc. Achieve the effect of avoiding infinite growth, ensuring correctness, and avoiding file fragmentation

Active Publication Date: 2016-06-29
XUJI GRP +3
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide an information storage and reading method to solve the problems of complex management logic and unstable system operation in the existing information storage mode

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 kind of information storage and reading method
  • A kind of information storage and reading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0022] Embodiment of the information storage method of the present invention:

[0023] According to the specific needs of information storage, establish a data cycle storage management system, which has data verification, file backup and recovery functions, and realizes reliable storage of information. This method includes cycle storage and reading of information, such as figure 1 As shown, when the information is cyclically stored, the steps are as follows:

[0024] Step 1, pack the information data input by the user into an information record to be stored; each information record includes four items of data including information number, information content, information length, and information storage location; among them, the data type of the information number is unsigned Integer, the information records are stored in the order of increasing the informati...

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 an information storing and reading method. A method that a file carries out circulating storage to information is adopted. First, the maximum memory space of the information memory file is set, and the information to be stored is used as an information record to carry out storage. Each information record is stored and numbered in a mode of adding one to each record. When the information records stored in the information memory file reach the maximum memory space, the oldest historical information is deleted. The latest information record is stored in a storage position corresponding to the deleted oldest historical information record. If the information records stored in the information memory file do not exceed the maximum memory space, the information record can be directly stored in a corresponding position in the file. The circulating storing method avoids infinitely increasing of the memory space of the file and generation of file fragmentations, and ensures correctness of the stored information. Meanwhile, on the basis of backup of the information file, the information storing and reading method achieves effective recovery of damaged information under the condition of power down of a system and other faults.

Description

technical field [0001] The invention relates to an information storage and reading method. Background technique [0002] With the increasing degree of informatization, more and more data are transmitted through various communication media, and the requirements for the reliability, effectiveness, and readability of information storage are getting higher and higher. In some smart terminal devices, it is often necessary to store some highly time-sensitive information, which is constantly updated and needs to be saved. At the same time, the storage resources of these smart terminal devices are limited, and if the storage is not restricted, the memory will collapse. At present, the existing methods for storing and reading this type of information mainly include a database method and a file method. [0003] Based on the database method, you can directly use the database driver to manage information and realize the functions of storage, deletion and reading. However, database so...

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): G06F11/14G06F3/06
Inventor 杨帆庞浩张长江马永武王振举张涛侯高雷邢新超王文超李如坤刘磊磊许保太姜会平
Owner XUJI GRP
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