Data file updating storage method

A data file and file technology, applied in the information field, can solve the problem of no actual change in file content, and achieve the effect of reducing data storage time, reducing data preservation, and improving storage efficiency

Active Publication Date: 2008-10-22
ZTE CORP
View PDF0 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) There is no actual change in the content of

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
  • Data file updating storage method
  • Data file updating storage method
  • Data file updating storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solutions of the present invention will be described in detail below in combination with embodiments and drawings.

[0024] The core idea of ​​the present invention is: divide the data file into several data blocks, calculate the check code of each data block (for example: use the CRC algorithm to calculate the CRC code of the data block), and the check code of all data blocks The code is attached to the fixed area of ​​the data file. When storing data, it is judged whether the storage needs to be updated according to the check code of each data block of the data file. For the sake of simplicity, data files can be divided into blocks according to a fixed size.

[0025] Such as figure 1 The update storage process shown:

[0026] Step 1: Divide the object file (new file) into several data blocks according to a fixed size. For example, divide a file with a size of M into N data blocks, where the first N-1 data blocks have the same size, and the last one Th...

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 discloses a method for updating and storing a data file. The method comprises the following processing steps that: (1) a to-be-stored data file is divided into a plurality of data blocks, and a check code of each data block is respectively calculated and is attached to a fixed region of the data file; (2) the check code corresponding to each data block in an updated and stored new data file is respectively compared with the check code of a corresponding data block in an original data file; (3) the data blocks with different check codes are updated and stored, and the check codes of the data file are updated and stored. The method can reduce unnecessary data storage to increase storage efficiency and reduce data storage time, and be suitable to be used in the technical fields such as the data storage and the backup of communication equipment.

Description

technical field [0001] The invention relates to the field of information technology, in particular to data storage technology in the communication field. Background technique [0002] With the development of information technology, the application of multimedia has expanded to every field, which makes the amount of communication data more and more large, the data transmission caused by communication is more and more frequent, and more and more data needs to be stored. Data storage includes two aspects, one is to save a large amount of new data, and the other is that existing data needs to be updated frequently. [0003] At present, for data update, the time stamp of the file is usually used to judge whether the data has changed. This method is simple, but it may cause the following problems: [0004] (1) There is no actual change in the content of the file, and it still needs to be updated and saved; [0005] (2) Only part of the content of the file has been modified, and ...

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 ZTE CORP
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