CN1723623A - Methods for Manipulating Numeric Data Values - Google Patents
Methods for Manipulating Numeric Data Values Download PDFInfo
- Publication number
- CN1723623A CN1723623A CNA2003801054776A CN200380105477A CN1723623A CN 1723623 A CN1723623 A CN 1723623A CN A2003801054776 A CNA2003801054776 A CN A2003801054776A CN 200380105477 A CN200380105477 A CN 200380105477A CN 1723623 A CN1723623 A CN 1723623A
- Authority
- CN
- China
- Prior art keywords
- value
- digital data
- difference
- rice
- values
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 88
- 235000007164 Oryza sativa Nutrition 0.000 claims abstract description 49
- 235000009566 rice Nutrition 0.000 claims abstract description 49
- 241000209094 Oryza Species 0.000 claims description 48
- 238000005259 measurement Methods 0.000 claims description 29
- 238000005516 engineering process Methods 0.000 claims description 9
- 230000000737 periodic effect Effects 0.000 claims description 4
- 230000002441 reversible effect Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 10
- 230000002123 temporal effect Effects 0.000 abstract description 3
- 240000007594 Oryza sativa Species 0.000 abstract 1
- 238000007906 compression Methods 0.000 description 11
- 230000006835 compression Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 7
- 238000009434 installation Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006837 decompression Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 238000012152 algorithmic method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L19/00—Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
- G10L19/0017—Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D9/00—Recording measured values
- G01D9/005—Solid-state data loggers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种用于处理数字数据值的方法,其中,借助于一种预测器方法从各个当前数字数据值以及从各个预测值中建立差值,并且在该预测器方法之后的RICE方法中从这些差值中产生压缩值。The invention relates to a method for processing digital data values, wherein difference values are established from respective current digital data values and from respective predicted values by means of a predictor method, and in a RICE method following the predictor method Compression values are generated from these differences.
背景技术Background technique
对于专业人员来说,这样一种方法例如由在可按http://www.monkeysaudio.com/theory.html(于2002年11月13日调用)调用的因特网网址公开。在该网址中解释了如何为了压缩目的而可以借助于预测器方法以及随后的RICE方法对数字音频数据进行压缩。为了计算在预测器方法中所需的预测值,分别采用紧靠在当前音频数据值之前的音频数据值。For professionals, such a method is disclosed, for example, at the Internet address which can be called at http://www.monkeysaudio.com/theory.html (called on November 13, 2002). There it is explained how digital audio data can be compressed for compression purposes by means of the predictor method and subsequently the RICE method. To calculate the prediction values required in the predictor method, the audio data value immediately preceding the current audio data value is used in each case.
此外,在对工业设备的调节和控制中,通常将运行过程(例如制造和转换过程)的测量值按照数字形式进行采集,并且作为输出信息提供给后续的处理。后续的处理例如可以是过程参数的再调节。在此,经常必须将所采集的测量值按照数字数据值或者数字测量值的形式在不同的技术设备之间进行传送,或者为了随后的处理进行存储。为了减小用于数字测量数据传送所需的数据量,与由文献WO 01/91081公开的液位调节相结合,将数字测量数据在传送之前借助于数字数据压缩进行压缩。按照这种方式可以减小在数据传送中所需的带宽。Furthermore, in the regulation and control of industrial plants, measured values of operating processes, such as manufacturing and conversion processes, are usually acquired in digital form and made available as output information for subsequent processing. Subsequent processing can be, for example, a readjustment of process parameters. In this case, the acquired measured values often have to be transferred between different technical devices in the form of digital data values or digital measured values or stored for subsequent processing. In order to reduce the amount of data required for the transmission of the digital measurement data, the digital measurement data are compressed by means of digital data compression before transmission in conjunction with the filling level regulation disclosed in document WO 01/91081. In this way the bandwidth required for data transfer can be reduced.
发明内容Contents of the invention
本发明要解决的技术问题是,提供一种用于压缩数字数据值的相对迅速的方法。The technical problem to be solved by the present invention is to provide a relatively rapid method for compressing digital data values.
按照本发明,上述技术问题是通过本文开始部分提到类型的方法这样来解决,即,借助于一种描述数字数据值预期的时间变化的信号模型而获得相应的预测值。According to the invention, the above-mentioned technical problem is solved by a method of the type mentioned at the outset in that the corresponding predicted values are obtained by means of a signal model which describes the expected temporal variation of the digital data values.
利用本发明相对于现有技术所实现的主要优点在于,借助于所提出的方法以较高的速度显著减小了对于从数字数据值中所确定的压缩值的存储空间需求。因此,可以按照该方式将数字数据值没有损失地实时、即紧接在其采集之后进行压缩。尽可能迅速而可靠地确定用于预测器方法的预测值是如下实现的,即,在进行预测器方法时在适合于描述数字数据值的时间变化的信号模型的基础上确定该预测值。通过使用这种信号模型,预测值可用于建立差值,而不需根据先前的数据值进行相应计算并且因此没有时间上的延迟。The main advantage achieved with the present invention over the prior art is that the storage space required for the compression values determined from the digital data values is significantly reduced with the aid of the proposed method at a relatively high speed. In this way, digital data values can thus be compressed without loss in real time, ie immediately after their acquisition. Determining the prediction value for the predictor method as quickly and reliably as possible is achieved by determining the prediction value during execution of the predictor method on the basis of a signal model suitable for describing the temporal variation of the digital data values. By using such a signal model, the predicted value can be used to establish the difference without corresponding calculations based on previous data values and thus without a time delay.
相对于未压缩的数据值可以减小存储器中的空间需求。存储空间需求的减小在所提出的方法中是利用对数字数据值的处理中最小的计算能力来实现的,因为仅仅需要简单的计算操作,例如加、减以及位操作。这点使得所给出的方法也可以在借助于适当的处理器仅仅以有限规模提供计算能力的技术设备中用于处理数字数据值。不提供给其它功能的、对压缩的计算能力的需求被最小化了。Space requirements in memory may be reduced relative to uncompressed data values. The reduction in memory space requirements is achieved in the proposed method with minimal computing power in the processing of digital data values, since only simple computing operations such as addition, subtraction and bit manipulation are required. This makes it possible for the presented method to be used also for processing digital data values in technical devices which provide computing power only on a limited scale by means of suitable processors. The need for compression computing power not available to other functions is minimized.
按照本发明的方法的压缩使得在此仅仅消除不包含信息的数据。因此,可以在解压缩时再次完全地、即没有损失地产生数字测量数据。The compression according to the method according to the invention has the effect here that only data which do not contain information are eliminated. The digital measurement data can thus be completely generated again during decompression, ie without loss.
按照本发明的方法一种实施方式,在带有恒定周期及其相应谐波的正弦函数或余弦函数、衰减e函数或者带有衰减e函数作为包络的正弦函数的基础上,确定所述信号模型。按照这种方式可以按照有利方式特别迅速地确定相应的预测值,因为不必进行其它计算。According to one embodiment of the method according to the invention, the signal is determined on the basis of a sine or cosine function with a constant period and its corresponding harmonics, a decaying e function or a sine function with a decaying e function as an envelope Model. In this way, the corresponding predicted value can advantageously be determined particularly quickly, since no further calculations have to be carried out.
从本文开始部分提到类型的方法出发,上述技术问题的另一种解决方案在于,按照本发明,从周期信号中获得数字数据值,并且作为相应当前数字数据值所属的相应预测值至少使用在当前数字数据值的前一个周期所采集的数字数据值。通过将分别在当前数据值前一个周期中采集的数据值用于预测值,可以有利地将所需的计算能力保持为很小。不必进行附加的计算操作,从而可以快速实施该方法。Starting from a method of the type mentioned at the outset, another solution to the technical problem described above is that, according to the invention, digital data values are obtained from periodic signals and used as corresponding predictive values to which the respective current digital data values belong at least in The digital data value collected in the previous cycle of the current digital data value. The required computing power can advantageously be kept low by using data values acquired in each case one period before the current data value for the predicted value. No additional calculation operations are necessary, so that the method can be carried out quickly.
为了改善相应预测值的精度,除了恰好在相应当前数字数据值的前一个周期所采集的数字数据值之外,还可以将其它在相应当前数字数据值之前的整数倍周期中采集的数字数据值用于形成相应的预测值。这些数据值可以通过简单的数学函数、例如求平均和/或加权而相互结合,从而可以将为此所需的计算能力保持为很小。In order to improve the accuracy of the corresponding predicted value, in addition to the digital data value collected exactly one cycle before the corresponding current digital data value, other digital data values collected in integer multiple cycles before the corresponding current digital data value used to form the corresponding predicted values. These data values can be combined with one another by simple mathematical functions, such as averaging and/or weighting, so that the computing power required for this can be kept to a minimum.
在按照本发明方法的一种优选的扩展中,在所述RICE方法中,将一个通过将借助于RICE预测值预测的当前差值的数据宽度减去该差值的实际数据宽度而确定的溢出,与一个可以预定的边界值进行比较,并且,如果该溢出超过了该边界值则将该差值按照预定的最大数据宽度作为压缩值输出。这种扩展的显著优点在于,对于就其数据宽度强烈波动的连续差值来说,仅仅在可以有效使用RICE方法、即在很小溢出的条件下才使用该方法。在高溢出的情况下,将相应的压缩值按照最大的预定数据宽度输出。In a preferred development of the method according to the invention, in the RICE method, an overflow determined by subtracting the actual data width of the difference from the data width of the current difference predicted by means of the RICE prediction value , is compared with a predeterminable boundary value, and if the overflow exceeds the boundary value, the difference is output as a compressed value according to the predetermined maximum data width. A significant advantage of this extension is that, for continuous difference values which fluctuate strongly with respect to their data width, the RICE method is only used to the extent that the RICE method can be used effectively, ie with little overflow. In the case of high overflow, the corresponding compressed value is output according to the maximum predetermined data width.
此外,在本发明方法的一种优选的扩展中,将所述压缩值通过数据传送段传送,并随后利用RICE解码方法从压缩值中再次得到该差值,并且从该差值和相应的预测值中通过按照反向的预测器方法相加而确定数字数据值。在此,通过数据传输段传送压缩的测量值既包括有线的传送方法,又包括无线的传送方法、例如无线电传送。按照该扩展,可以优选地在远离压缩位置的地方对被压缩的值进行解压缩。例如,可以将压缩值从工业设施的现场设备通过数据总线传送到中央计算机,该中央计算机在对压缩值解压缩之后对数字数据值进行分析。Furthermore, in a preferred development of the method according to the invention, the compressed value is transmitted via the data transmission section, and the difference value is subsequently obtained again from the compressed value using the RICE decoding method, and from the difference value and the corresponding prediction The value of the numeric data is determined by adding according to the reverse predictor method. In this case, the transmission of the compressed measured values via the data transmission section includes both wired and wireless transmission methods, for example radio transmission. According to this extension, compressed values can preferably be decompressed remotely from the compression location. For example, compressed values can be transmitted from field devices of an industrial facility via a data bus to a central computer which analyzes the digital data values after decompressing the compressed values.
为了简化压缩值的随后处理或者为了传送附加信息,本发明的一个优选的实施方式可以为所述压缩值设置头数据。In order to simplify the subsequent processing of the compressed value or to transmit additional information, a preferred embodiment of the invention can provide header data for the compressed value.
按照本发明的方法的另一个优选的实施方式,数字数据值由现场设备的输入测量参数构成。在此,现场设备可以例如理解为通常在工业(例如能量技术、化学或石油)设施中使用的保护和/或控制技术设备。与其中为了压缩数字数据值有近乎于任意长时间可供使用的音频技术相比,在现场设备中由于有限的计算和存储能力必须特别迅速地进行压缩。因此,按照本发明的方法可以在此特别有利地得到使用。According to a further preferred embodiment of the method according to the invention, the digital data value is formed from an input measurement variable of the field device. A field device can be understood here, for example, to be a protection and/or control technology device which is usually used in industrial (eg energy technology, chemical or petroleum) installations. In contrast to audio technology, in which almost arbitrarily long periods of time are available for compressing digital data values, in field devices the compression has to be carried out particularly quickly due to the limited computing and storage capacity. The method according to the invention can therefore be used particularly advantageously here.
此外,也可以优选地将能量技术设施中的保护和/或控制技术设备作为现场设备。Furthermore, protection and/or control technology devices in energy technology installations can also preferably be used as field devices.
附图说明Description of drawings
下面根据实施方式对本发明作进一步的说明。图中:The present invention will be further described below according to the embodiments. In the picture:
图1表示用于解释对数字数据值进行压缩的方法的示意图,Figure 1 represents a schematic diagram for explaining the method of compressing digital data values,
图2表示用于解释对压缩的数字数据值进行解压缩的方法的示意图。Fig. 2 shows a schematic diagram for explaining the method of decompressing compressed digital data values.
具体实施方式Detailed ways
图1示出了一个用于解释对利用没有示出的现场设备所采集的数字数据值进行压缩的方法示意图。FIG. 1 shows a schematic diagram for explaining a method for compressing digital data values acquired with a field device not shown.
因为在示出的实施方式中数字数据值应该根据现场设备的(模拟)输入测量参数构成,下面将其称为数字测量数据。Since in the embodiment shown the digital data values are to be formed from (analog) input measurement variables of the field device, they will be referred to below as digital measurement data.
借助于测量装置1对按照通常的方式转换成数字测量数据的测量值进行采集。为了对该数字测量数据进行处理,首先执行一种预测器方法。该预测器方法是用于对数字测量数据进行压缩的处理过程的一部分。在此,借助于预测器装置2确定用于该数字测量数据的预测值。Measurement values converted into digital measurement data in the usual manner are acquired by means of the measuring device 1 . To process the digital measurement data, a predictor method is first implemented. The predictor method is part of a process for compressing digital measurement data. In this case, prediction values for the digital measurement data are determined by means of the predictor device 2 .
借助于预测器方法,通过从数字测量数据和适当的预测值中经过相减形成差值,首先降低了表示数字测量数据所需的数据宽度(比特数目)。在此,所使用的预测值应该尽可能地接近实际的数字测量数据,使得在建立差值时形成尽可能小的差值来作为结果。然后,利用就所需的数据宽度而言比数字测量数据明显更小的差值进行继续处理。By means of the predictor method, the data width (number of bits) required to represent the digital measurement data is firstly reduced by subtracting the difference from the digital measurement data and the appropriate predicted value. In this case, the predicted value used should be as close as possible to the actual digital measurement data, so that the smallest possible difference results when establishing the difference. Further processing is then carried out with significantly smaller difference values than the digital measurement data in terms of the required data width.
为了形成用于预测器方法的预测值,可以使用一种信号模型,该信号模型例如以正弦函数或余弦函数及其相应谐波、衰减e函数或者带有衰减e函数作为包络的正弦函数为基础。它们分别是计算技术上可以利用很小花费表示和处理的以及部分周期性的函数。在建立用于确定预测值的信号模型时,考察在当前待压缩数字测量数据之前采集的在前数字测量数据。为了形成该信号模型,合适的是使用该在前数字测量数据的特有的特性,如幅度、周期长度和衰减特性。这些特性可以利用简单的计算操作进行计算,尽管如此还可以相对可靠地确定预测值。In order to form the predicted values for the predictor method, a signal model can be used, for example with a sine or cosine function and its corresponding harmonics, a decaying e function or a sine function with a decaying e function as an envelope Base. These are in each case functions which can be represented and processed computationally with little effort and which are partly periodic. Previous digital measurement data acquired before the current digital measurement data to be compressed are considered when establishing the signal model for determining the predicted value. To form the signal model, it is expedient to use specific properties of the preceding digital measurement data, such as amplitude, period length and decay properties. These properties can be calculated with simple calculation operations, but the predicted values can nevertheless be determined relatively reliably.
在最简单的情况下,也可以将恰好一个此前采集周期的在前数字测量数据不加改变地作为预测值。如果所采集的测量值具有周期特性以及因此数字测量数据也具有周期特性,例如在能量技术设备中经常出现的情况,则尤其可以采取最后描述的、其中参考一个在前采集周期的措施。在首次利用预测器方法对数字测量数据进行处理时,必须为第一预测值提供一个起始值。In the simplest case, the preceding digital measurement data of exactly one preceding acquisition period can also be used unchanged as the predicted value. The measures described last, in which reference is made to a preceding acquisition period, can be used in particular if the acquired measured values and thus also the digital measurement data have a periodic nature, as is often the case in energy technology installations. When the numerical measurement data are processed for the first time using the predictor method, a starting value must be provided for the first predicted value.
按照图1,将测量装置1的数字测量数据和由预测器装置2相应确定的预测值传送(10)以及(20)到减法装置3上,在其上将预测值从各个所属的数字测量数据中减掉。作为相减的结果形成差值,该差值然后被送至用于执行RICE方法的装置4。According to FIG. 1 , the digital measurement data of the measuring device 1 and the predicted values determined accordingly by the predictor device 2 are transferred ( 10 ) and ( 20 ) to the subtraction device 3 , where the predicted values are converted from the respective associated digital measurement data subtracted from. As a result of the subtraction a difference is formed which is then sent to the means 4 for carrying out the RICE method.
通过这种公知的RICE方法,专业人员可以从文献中获得其细节(例如参考http://www.monkeysaudio.com/theory.html,于2002年11月13日调用),减小了作为预测器方法的结果所形成的差值的数据宽度,从而最后产生并输出(40)被压缩的值。Through this well-known RICE method, the practitioner can obtain its details from the literature (see for example http://www.monkeysaudio.com/theory.html, invoked on November 13, 2002), reducing the value as a predictor The data width of the difference formed by the result of the method, so as to finally generate and output (40) the compressed value.
为了传送和存储该差值,可以分别使用同一数据宽度。该数据宽度必须至少对应于差值的最大可能数据宽度。不过,因为通常在前后差值中所需的数据宽度不是常数,而可能从一个差值波动至下一个差值,因此在以最大的数据宽度传送以及存储差值时浪费了一个不能忽视的存储空间。这点在下面的例子中得到进一步的解释:要按照数字表示传送三个差值,即11010110、1101和10110。在使用恒定的数据宽度进行传送时,必须使用所出现的差值的最大数据宽度,在此即为8(第一个差值的数据宽度)。因此,三个差值按照110101100000110100010110的形式传送。为了传送较小的差值(1101,10110)而在最大数据宽度中添加的零不必要地浪费了存储空间,因为没有传送附加的信息。In order to transmit and store this difference, the same data width can be used respectively. This data width must at least correspond to the maximum possible data width of the difference. However, since the required data width is usually not constant in the preceding and following differences, but may fluctuate from one difference to the next, a non-negligible memory is wasted in transmitting and storing the difference at the maximum data width space. This is further explained in the following example: Three difference values are transmitted in numerical representation, namely 11010110, 1101 and 10110. When transferring with a constant data width, the maximum data width of the occurring difference must be used, here 8 (data width of the first difference). Therefore, the three differences are transmitted in the form 110101100000110100010110. The addition of zeros in the maximum data width to convey the smaller difference (1101, 10110) unnecessarily wastes storage space because no additional information is conveyed.
借助于RICE方法提供了一种算法上的方法,该方法将由预测器方法产生的差值,按照适当的方式、即按照优化存储空间的方式编码为压缩值。RICE方法的基本思路是,按照分别与差值匹配的数据宽度对差值进行压缩。为了分离由依次从差值中获得的压缩值以及编码可能在过小的数据宽度中不能表示的信息,引入了所谓的RICE码。这点将在下面进行解释。An algorithmic method is provided by means of the RICE method, which encodes the difference values produced by the predictor method into compressed values in a suitable manner, ie in a way that optimizes storage space. The basic idea of the RICE method is to compress the difference according to the data width matching the difference respectively. In order to separate the compressed values obtained successively from the difference values and to encode information which might not be representable in too small a data width, so-called RICE codes are introduced. This will be explained below.
对于RICE方法,对后面的各个差值的预期数据宽度需要RICE预测值。然后,将借助于RICE方法产生的压缩值一般按照利用RICE预测值预测的数据宽度进行存储。如果按照先前的预测器方法所产生的差值的数据宽度大于利用RICE预测值所预测的数据宽度,则在RICE码中编码了溢出(不能再在所预测的数据宽度中表示的最高值比特)。RICE码包括多个直接由该溢出产生的二进制值0和最后一个二进制值1。在获得一个压缩值的条件下,直接将RICE码和一个在考虑预测数据宽度的条件下从相应差值中产生的结果值相互结合。For the RICE method, the expected data width for each subsequent difference requires a RICE prediction. The compression values generated by means of the RICE method are then generally stored according to the data width predicted using the RICE prediction value. If the data width of the resulting difference according to the previous predictor method is greater than the data width predicted using the RICE predictor, overflow (highest value bit that can no longer be represented in the predicted data width) is encoded in the RICE code . A RICE code consists of a number of binary 0s and a final binary 1 directly resulting from this overflow. To obtain a compressed value, the RICE code is directly combined with one another, taking into account the predicted data width, from the corresponding difference values.
对于数据宽度的RICE预测值由确定数目的在前数字测量数据的数据宽度值产生,其中,必要时根据至当前估计的RICE预测值的时间距离对该在前数字测量数据进行不同的加权。The RICE prediction value for the data width is generated from the data width values of a defined number of preceding digital measurement data, wherein the preceding digital measurement data are weighted differently depending on the time distance to the currently estimated RICE prediction value.
在相应差值的实际数据宽度过大地偏离利用RICE预测值预测的数据宽度时,RICE方法无效。出于这个原因,RICE方法仅仅在预测的和实际的数据宽度之间到达一个确定的差别之前使用。如果在该方法中超过了该边界值,则使用最大的数据宽度来代替RICE预测值。利用RICE码的一个在正常情况下(没有超过边界值)不出现的特殊值来标记超过了边界值。The RICE method is ineffective if the actual data width of the corresponding difference deviates too much from the data width predicted using the RICE prediction value. For this reason, the RICE method is only used until a certain difference is reached between the predicted and actual data width. If this limit value is exceeded in this method, the largest data width is used instead of the RICE predicted value. The exceeding of the limit value is marked by a special value of the RICE code which does not occur under normal conditions (without exceeding the limit value).
为了进一步解释压缩方法,下面参考三个依次跟随的差值,它们例如可以表示为第一二进制值(11001110110)、第二二进制值(10110)以及第三二进制值(1101111)的数字顺序。对于数据宽度的RICE预测值由对应二进制值的各个在前差值的数据宽度给出。相应二进制值的实际数据宽度与预测的RICE预测值之间的边界值或者最大允许的差值是4,其中最大可传送的数据宽度为16。在这些假设的条件下,如果将第一二进制值按其实际的数据宽度传送的话,则产生在表1中表示的关系。To further explain the compression method, reference is made below to three sequentially following difference values, which may be represented, for example, as a first binary value (11001110110), a second binary value (10110) and a third binary value (1101111) numerical order. The RICE predictor for the data width is given by the data width of each previous difference of the corresponding binary value. The boundary value or the maximum permissible difference between the actual data width of the corresponding binary value and the predicted RICE predicted value is 4, of which the maximum transmittable data width is 16. Under these assumed conditions, the relationship shown in Table 1 results if the first binary value is transmitted in its actual data width.
表1Table 1
为第二二进制值(10110)确定压缩值
对于第三二进制值(1101111)的代码
即,作为第二和第三二进制值的位序列产生10000001011000101111。为了比较可以提及,在不使用RICE方法的条件下利用出现的最大数据宽度(11,第一二进制值的数据宽度)对于第二和第三二进制值产生0000001011000001101111作为位序列,即22位而不是通过使用RICE方法所产生的20位。That is, the bit sequence as the second and third binary values yields 10000001011000101111. For comparison it may be mentioned that without using the RICE method with the largest data width occurring (11, the data width of the first binary value) 0000001011000001101111 is generated as a bit sequence for the second and third binary value, i.e. 22 bits instead of the 20 bits produced by using the RICE method.
图2示出了用于解释解压缩的示意图。在此,结合图2解释的方法按照相反的方式运行。将压缩值送至RICE装置20(100)。作为借助于RICE装置20实施的RICE解码方法的结果重新得到差值,该差值在加法装置21中与用于预测器方法的、借助预测器装置22产生的预测值进行合并(200)以及(300),使得最后又输出数字测量数据(400)。在解压缩时(参考图2)预测值的起始值必须要么与用于压缩的预测值(参考图1)固定地一致,要么随同压缩值一同传送。Fig. 2 shows a schematic diagram for explaining decompression. Here, the method explained in conjunction with FIG. 2 works in reverse. The compressed value is sent to the RICE unit 20 (100). As a result of the RICE decoding method implemented by means of the RICE means 20 a difference value is obtained again which is combined (200) in the addition means 21 with the predicted value generated by means of the predictor means 22 for the predictor method and ( 300), so that finally the digital measurement data is output again (400). When decompressing (cf. Fig. 2 ) the start value of the predictor must either be fixedly identical to the predictor used for compression (cf. Fig. 1 ), or be transmitted along with the compressed value.
为了在工业设备、特别是能量技术设备中为实际应用优化对于压缩值的处理,可以为压缩值设置头数据。该头数据例如可以包括关于差值的数据宽度、差值的数量、用于预测器方法的相应预测值的类型和参数以及用于数据宽度(RICE编码方法)的相应RICE预测值的类型和参数的信息。此外,还可以包含关于用于预测器方法的预测值和/或RICE预测值的起始值的信息。In order to optimize the processing of compressed values for practical use in industrial installations, in particular energy technology installations, header data can be provided for the compressed values. This header data may include, for example, the data width for the difference, the number of the difference, the type and parameters of the corresponding predictor for the predictor method and the type and parameters of the corresponding RICE predictor for the data width (RICE encoding method) Information. Furthermore, information about the starting values for the predicted values of the predictor method and/or the RICE predicted values can also be contained.
借助于结合图1描述的方法进行的压缩,可以实时地直接在采集数字测量值之后进行。对于所压缩的值的解压缩则可以优选地对于其它应用就在该应用之前进行,其中(解压缩的)数字测量数据可以例如用在为了显示或者仿真的应用中。Compression by means of the method described in connection with FIG. 1 can be performed in real time directly after the acquisition of the digital measured values. The decompression of the compressed values can then preferably take place immediately prior to this application for other applications, wherein the (decompressed) digital measurement data can be used, for example, in applications for display or simulation.
Claims (8)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10258472A DE10258472B3 (en) | 2002-12-09 | 2002-12-09 | Processing method for digital data values e.g. for industrial process control and regulation, employing prediction method in combination with RICE method |
DE10258472.9 | 2002-12-09 | ||
PCT/DE2003/003862 WO2004053619A2 (en) | 2002-12-09 | 2003-11-19 | Method for processing digital data values |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1723623A true CN1723623A (en) | 2006-01-18 |
CN1723623B CN1723623B (en) | 2011-11-16 |
Family
ID=32103462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2003801054776A Expired - Fee Related CN1723623B (en) | 2002-12-09 | 2003-11-19 | Method for processing digital data values |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN1723623B (en) |
DE (1) | DE10258472B3 (en) |
HK (1) | HK1083654A1 (en) |
WO (1) | WO2004053619A2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110398383A (en) * | 2018-04-25 | 2019-11-01 | 欧姆龙株式会社 | Communication device, external equipment, its control method and control system |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102005026521A1 (en) * | 2005-06-08 | 2006-12-14 | Endress + Hauser Process Solutions Ag | Method for reducing the data transfer between a field device of automation technology and a control unit |
US20100017196A1 (en) * | 2008-07-18 | 2010-01-21 | Qualcomm Incorporated | Method, system, and apparatus for compression or decompression of digital signals |
DE102015120130A1 (en) * | 2015-11-20 | 2017-05-24 | Valeo Schalter Und Sensoren Gmbh | Method for transmitting data from at least one control network of a control network, transmitter, receiver, measuring device and control network |
EP3285126A1 (en) * | 2016-08-15 | 2018-02-21 | Siemens Aktiengesellschaft | Process measuring device |
DE102018130242B3 (en) * | 2018-11-29 | 2020-04-30 | Qundis Gmbh | Method for storing and transmitting measurement data, a processing unit for carrying out the method and a consumption value acquisition unit with such a processing unit |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4781096A (en) * | 1984-10-09 | 1988-11-01 | Nippon Gakki Seizo Kabushiki Kaisha | Musical tone generating apparatus |
JPH10336682A (en) * | 1997-04-02 | 1998-12-18 | Canon Inc | Coder, its method and storage medium storing the method |
US6125348A (en) * | 1998-03-12 | 2000-09-26 | Liquid Audio Inc. | Lossless data compression with low complexity |
US6215907B1 (en) * | 1998-06-26 | 2001-04-10 | Fisher-Rosemont Systems, Inc. | Recursive on-line wavelet data compression technique for use in data storage and communications |
DE10024959B4 (en) * | 2000-05-22 | 2014-08-21 | Endress + Hauser Gmbh + Co. Kg | Device for unidirectional or bidirectional exchange of data |
WO2002071622A2 (en) * | 2001-03-05 | 2002-09-12 | Koninklijke Philips Electronics N.V. | Device and method for compressing a signal |
-
2002
- 2002-12-09 DE DE10258472A patent/DE10258472B3/en not_active Expired - Fee Related
-
2003
- 2003-11-19 CN CN2003801054776A patent/CN1723623B/en not_active Expired - Fee Related
- 2003-11-19 WO PCT/DE2003/003862 patent/WO2004053619A2/en active Application Filing
-
2006
- 2006-03-24 HK HK06103688.5A patent/HK1083654A1/en not_active IP Right Cessation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110398383A (en) * | 2018-04-25 | 2019-11-01 | 欧姆龙株式会社 | Communication device, external equipment, its control method and control system |
US11144028B2 (en) | 2018-04-25 | 2021-10-12 | Omron Corporation | Communication device, control method of communication device, external device, control method of external device, and control system |
Also Published As
Publication number | Publication date |
---|---|
WO2004053619A2 (en) | 2004-06-24 |
WO2004053619A3 (en) | 2004-09-30 |
DE10258472B3 (en) | 2004-05-13 |
HK1083654A1 (en) | 2006-07-07 |
CN1723623B (en) | 2011-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6654419B1 (en) | Block-based, adaptive, lossless video coder | |
US9047118B2 (en) | Computationally efficient compression of floating-point data | |
US7321697B2 (en) | Block-based, adaptive, lossless image coder | |
US8902090B2 (en) | Compressing and decompressing signal data | |
US8588540B2 (en) | Arithmetic encoding apparatus executing normalization and control method | |
CN1081807A (en) | The coding/decoding method and the device thereof that suppress the piecemeal vestige | |
JPH0793586B2 (en) | Data compression model selection method and system | |
WO2009009602A1 (en) | Data coding/decoding for electrical computers and digital data processing systems | |
KR20110043684A (en) | Methods, systems, and apparatus for compressing or decompressing digital signals | |
CN1723623B (en) | Method for processing digital data values | |
Adedeji | Performance evaluation of data compression algorithms for IoT-based smart water network management applications | |
CN106537914B (en) | The method and apparatus of arithmetic compiling is executed by the carry operations of limitation | |
EP2962396A1 (en) | Entropy modifier and method | |
CN114640354A (en) | Data compression method and device, electronic equipment and computer readable storage medium | |
US8638243B2 (en) | Data compression device, data compression method, and medium | |
US10340946B2 (en) | Encoders, decoders, and methods | |
Taurone et al. | Change a bit to save bytes: Compression for floating point time-series data | |
CN108282662B (en) | Optimization method and device for continuous tone static image compression | |
CN110233627B (en) | Hardware compression system and method based on running water | |
Agrawal et al. | Near lossless time series data compression methods using statistics and deviation | |
Tariq et al. | Hybrid Lossless Compression Techniques for English Text | |
CN1914670A (en) | Predictive coding method | |
Lorandel et al. | Efficient compression technique for noc-based deep neural network accelerators | |
CN118399976B (en) | Remote monitoring method and system for equipment operation data | |
TWI583181B (en) | Video encoding method, system and non-transitory computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1083654 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1083654 Country of ref document: HK |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111116 Termination date: 20161119 |
|
CF01 | Termination of patent right due to non-payment of annual fee |