The invention relates to a wave recording
data processing method and a
system. The method comprises a data zipping step which includes the following aspects in details: calculating data difference; extracting from the data difference value the sign bits and combining them into symbol characters for storage; dividing the absolute value of the data difference value into fragments in an equal length; gathering how many times the fragments appear and taking their appearing times as weights to generate a fragment
Huffman coding tree; gathering how many times measuring ranges appear and taking their appearing times as weights for to generate a measuring range
Huffman coding tree; and according to the
Huffman coding trees, coding and storing the data difference fragments and the measuring ranges; In the invention, a
wave shape data zipping file storing structure comprises a
recording head and a recording medium. The
recording head comprises recording basic information, coding tree information and coding zone information. The recording medium comprises a coding tree zone, a symbol coding zone, a measuring range coding zone and a data difference coding zone. The
system consists of a CPU processor, a sampling
system, an external storing device and a wave recording triggering system. The sampling system, the external storing device and the wave recording triggering system are all connected to the CPU processor respectively. According to the invention, the
compression ratio is influenced by
waveform distortion to a small extent. The method and system are suitable for mixed zipping of state quantity and analog quantity. As they consume less
processing memory and time, so they are cost-effective in implementation.