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
CN103092730BActive Publication Date: 2016-06-29XUJI GRP +3

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XUJI GRP
Publication Date
2016-06-29

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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