[go: up one dir, main page]

CN101719812B - Method for reducing signal redundancy of wireless sensor network node - Google Patents

Method for reducing signal redundancy of wireless sensor network node Download PDF

Info

Publication number
CN101719812B
CN101719812B CN 200910242405 CN200910242405A CN101719812B CN 101719812 B CN101719812 B CN 101719812B CN 200910242405 CN200910242405 CN 200910242405 CN 200910242405 A CN200910242405 A CN 200910242405A CN 101719812 B CN101719812 B CN 101719812B
Authority
CN
China
Prior art keywords
order difference
difference signal
density function
probability density
signal
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.)
Expired - Fee Related
Application number
CN 200910242405
Other languages
Chinese (zh)
Other versions
CN101719812A (en
Inventor
李华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200910242405 priority Critical patent/CN101719812B/en
Publication of CN101719812A publication Critical patent/CN101719812A/en
Application granted granted Critical
Publication of CN101719812B publication Critical patent/CN101719812B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to a method that the first-order difference compression technology based on the Laplacian statistical distribution is used to ensure that the wireless sensor network node compresses the data thereof to occupy less storage resources and reduce the signal redundancy of wireless sensor network node. The method is characterized by comprising the following steps: obtaining first-order difference signal and performing digital quantization of the program; and performing first-order difference method and estimation program of probability density function of the Laplacian distribution and coding first-order difference signal by using Huffman coding.

Description

Reduce the method for signal redundancy of wireless sensor network node
Technical field
The invention belongs to wireless sensor network node signal processing method field, especially a kind of first-order difference compress technique based on Laplce's Distribution Statistics reaches the method for the minimizing signal redundancy of wireless sensor network node that takies less storage resources so that the data of wireless sensor network node by its transducer of compression.
Background technology
At present, common sensor node in wireless network signal processing method is the improvement coding method of standard huffman coding and various huffman codings, and the problem of existence is few, the large footprint of performance and to take storage resources many.
Summary of the invention
The purpose of this invention is to provide a kind of first-order difference compress technique based on Laplce's Distribution Statistics so that wireless sensor network node by compressing the data of its transducer, reaches the method for the minimizing signal redundancy of wireless sensor network node that takies less storage resources.
Technical scheme of the present invention is: reduce the method for signal redundancy of wireless sensor network node, it is characterized in that comprising the following steps:
Obtaining and the digital quantization program of A, first-order difference signal specifically comprises the following steps:
(A1) turn on sensor 24 hours or sampling in 48 hours obtain sensing data, calculate the first-order difference signal;
(A2) the dynamic range values D of calculating differential signal adopts data relatively to ask the limiting value method, obtains the maximum d of differential signal MAXWith minimum value d MIN, namely
D=d MAX-d MIN
(A3) dynamic range values D is carried out divided in equal amounts, its density of cutting apart is 2N equivalent minizone d,
d=D/2N
(A4) differential signal is carried out digital quantization, quantization method is if d I-1<first-order difference signal<d i, then:
d Q=(d i-1+d i)/2
Wherein, d i=d MIN+ i*d, i=0,1 ..., 2N, d MAX=d MIN+ 2N*d;
The estimation program of the probability density function of B, first-order difference method and its laplacian distribution specifically comprises the following steps:
(B1) calculate first-order difference d iHistogram numerical value, described first-order difference signal d (t) defers to the probability density function f (d) of laplacian distribution, namely
f(d)=A Exp(-d/τ)
(B2) from the analytic expression of histogram derivation probability density function f (d), specifically comprise the following steps;
(B2.1) regular to the probability density function of laplacian distribution;
(B2.2) numerical value with dynamic range values D is mapped on the interval of [N, N], and being about to dynamic range D, to cut apart [N, N] be the individual isometric interval of 2N, at each interval [d I-1, d i] on, functional value is f (d i), i=-N ... ,-1,0,1 ..., N;
(B2.3) reading [N, N] from step (B1) histogram is that 2N each interval data in the isometric interval are to d iAnd f (d i), carry out calculating parameter τ value by following formula:
τ = Σ i = - N N - d i ln f ( d i )
C, employing huffman coding are encoded to the first-order difference signal, specifically comprise the following steps:
(C1) set up look-up table, set up first-order difference signal and the one-to-one relationship of its probability density function in table, this table is as follows:
Index The first-order difference signal The probability density function of first-order difference signal
-N d -N f(d -N)
-N 10 d -N+1 f(d -N+1)
-N+2 d -N+2 f(d -N+2)
N-1 d N-1 f(d N-1)
N d N f(d N)
(C2) the first-order difference signal numerical value in will showing and the probability density function numerical ordering of first-order difference signal, the principle of ordering be from the numeral of maximum probability to, the minimum probability numeral forms Hofman tree to as terminal column;
(C3) with the Hofman tree based on first-order difference signal and its probability density function that forms in the step (C2), carry out the standard huffman coding.
Effect of the present invention is: the method that reduces signal redundancy of wireless sensor network node, based on transducer first-order difference signal and estimation laplacian distribution probability density function thereof, adopt the technology of huffman coding, thereby reduced sensor signal redundancy (Redundancy).For in the dt time period, first-order difference is relatively x (t) of 0 x (t+dt), and it does not contain new information.Thereby can simplify processing, the purpose of packed data is played in transmission, and the work of storage.Satisfy wireless sensor network node and have many performances, little footprint, take the requirement of less storage resources.
The present invention is described further below in conjunction with drawings and Examples.
Description of drawings
Fig. 1 is program flow chart of the present invention;
Fig. 2 is first-order difference d of the present invention iHistogram.
Embodiment
Reduce the method for signal redundancy of wireless sensor network node, comprise the following steps:
Obtaining and the digital quantization program of A, first-order difference signal specifically comprises the following steps:
(A1) turn on sensor 24 hours or sampling in 48 hours obtain sensing data x (t), and wherein t is time variable.On this basis, calculate first-order difference signal d (t), this differential signal d (t) is the poor of two time intervals sensing data x (t) that is dt and x (t+dt), namely
d(t)=x(t+dt)-x(t)...(1)
Notice that d this moment (t) is continuous function, the first-order difference method has reduced sensor signal redundancy (Redundancy).For not having Varying parameters in the dt time period, the one jump is divided into 0, and for the relative x (t) of x (t+dt), it does not contain new information.Thereby can simplify the work of processing, transmission and storage, play the purpose of packed data.
(A2) the dynamic range D of calculating d (t) adopts data relatively to ask the limiting value method, obtains maximum d MAXWith minimum value d MIN, namely
D=d MAX-d MIN...(2)
(A3) dynamic range D is carried out divided in equal amounts.Its density of cutting apart is 2N equivalent minizone d,
d=D/2N...(3)
(A4) d (t) is carried out digital quantization, quantized value is
d Q=m i if d i-1<d(t)<d i...(4)
At this d i=d MIN+ i*d, i=0,1 ..., 2N, m i=(d I-1+ d i)/2.So far finish obtaining and digital quantization of first-order difference signal, the digital quantization value represents with 16 bits.
B, set up the estimation program of the probability density function (probability density function) of first-order difference method and its laplacian distribution (Laplace Distribution), comprise the following steps:
(B1) set up first-order difference d iHistogram (histogram), this first-order difference signal d (t) defers to the probability density function f (d) (referring to Fig. 2) of laplacian distribution, namely
f(d)=A Exp(-d/τ)...(5)
(B2) derive the analytic expression of probability density function f (d) from histogram;
(B2.1) first to f (d) normalization (Normalization), even A=1;
(B2.2) with dynamic range D=d MAX-d MINBe mapped on the interval of [N, N] D=[d MIN, d MAX] to cut apart [N, N] be 2N isometric interval.At each interval [d I-1, d i] on, functional value is f (d i), fori=-N ... ,-1,0,1 ..., N.Here
f(d i)=Exp(-d i/τ)...(5*)
(B2.3) estimation f (d i) the parameter value τ of function, thereby obtain f (d i) analytic expression.On [N, N] was each interval in 2N the isometric interval, reading out data was to d in histogram iAnd f (d i).Then substitution following formula
τ = Σ i = - N N - d i ln f ( d i ) . . . ( 6 )
Find the solution parameter τ.
So far obtained the probability density function (probability density function) of first-order difference signal and its laplacian distribution (Laplace Distribution).The lower step will adopt huffman coding that the first-order difference signal is encoded.
C, employing huffman coding carry out coded program to the first-order difference signal, comprise the following steps:
(C1) set up look-up table, set up first-order difference signal and the one-to-one relationship of its probability density function in table.This table is as follows:
Index The first-order difference signal The probability density function of first-order difference signal
-N d -N f(d -N)
-N+1 d -N+1 f(d -N+1)
-N+2 d -N+2 f(d -N+2)
N-1 d N-1 f(d N-1)
N d N f(d N)
(C2) will show in the every pair of numeral and its probability (d i, f (d i)) again one by one ordering, form Hofman tree.The principle of ordering be from the numeral of maximum probability to beginning, make it as first row in showing; The numeral of inferior large probability is to secondary series in the conduct table; Once analogize, thereby the minimum probability numeral becomes the Hofman tree of standard to as terminal column.
(C3) to the Hofman tree based on first-order difference signal and its probability density function, carry out the standard huffman coding, until whole first-order difference signal d in the his-and-hers watches iFinish huffman coding.Be able to whole realizations to this laplacian distribution first-order difference compress technique that is used for wireless sensor network.

Claims (1)

1. reduce the method for signal redundancy of wireless sensor network node, it is characterized in that comprising the following steps:
Obtaining and the digital quantization program of A, first-order difference signal specifically comprises the following steps:
(A1) turn on sensor 24 hours or sampling in 48 hours obtain sensing data, calculate the first-order difference signal;
(A2) the dynamic range values D of calculating differential signal adopts data relatively to ask the limiting value method, obtains the maximum d of differential signal MAXWith minimum value d MIN, namely
D=d MAX-d MIN
(A3) dynamic range values D is carried out divided in equal amounts, its density of cutting apart is 2N equivalent minizone d,
d=D/2N
(A4) differential signal is carried out digital quantization, quantization method is if d I-1<first-order difference signal<d i, then:
d Q=(d i-1+d i)/2
Wherein, d i=d MIN+ i*d, i=0,1 ..., 2N, d MAX=d MIN+ 2N*d;
The estimation program of the probability density function of B, first-order difference method and its laplacian distribution specifically comprises the following steps:
(B1) calculate first-order difference d iHistogram numerical value, described first-order difference signal d (t) defers to the probability density function f (d) of laplacian distribution, namely
f(d)=A Exp(-d/τ)
(B2) from the analytic expression of histogram derivation probability density function f (d), specifically comprise the following steps;
(B2.1) regular to the probability density function of laplacian distribution, even A=1;
(B2.2) numerical value with dynamic range values D is mapped on the interval of [N, N], and being about to dynamic range D, to cut apart [N, N] be the individual isometric interval of 2N, at each interval [d I-1, d i] on, functional value is f (d i), i=-N ... ,-1,0,1 ..., N;
(B2.3) reading [N, N] from step (B1) histogram is that 2N each interval data in the isometric interval are to d iAnd f (d i), carry out calculating parameter τ value by following formula:
τ = Σ i = - N N - d i ln f ( d i )
C, employing huffman coding are encoded to the first-order difference signal, specifically comprise the following steps:
(C1) set up look-up table, set up first-order difference signal and the one-to-one relationship of its probability density function in table, this table is as follows:
Index The first-order difference signal The probability density function of first-order difference signal -N d -N f(d -N) -N+1 d -N+1 f(d -N+1) -N+2 d -N+2 f(d -N+2) N-1 d N-1 f(d N-1) N d N f(d N)
(C2) the first-order difference signal numerical value in will showing and the probability density function numerical ordering of first-order difference signal, the principle of ordering be from the numeral of maximum probability to, the minimum probability numeral forms Hofman tree to as terminal column;
(C3) with the Hofman tree based on first-order difference signal and its probability density function that forms in the step (C2), carry out the standard huffman coding.
CN 200910242405 2009-12-15 2009-12-15 Method for reducing signal redundancy of wireless sensor network node Expired - Fee Related CN101719812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910242405 CN101719812B (en) 2009-12-15 2009-12-15 Method for reducing signal redundancy of wireless sensor network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910242405 CN101719812B (en) 2009-12-15 2009-12-15 Method for reducing signal redundancy of wireless sensor network node

Publications (2)

Publication Number Publication Date
CN101719812A CN101719812A (en) 2010-06-02
CN101719812B true CN101719812B (en) 2013-03-20

Family

ID=42434334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910242405 Expired - Fee Related CN101719812B (en) 2009-12-15 2009-12-15 Method for reducing signal redundancy of wireless sensor network node

Country Status (1)

Country Link
CN (1) CN101719812B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818086A (en) * 2020-07-24 2020-10-23 北京星途探索科技有限公司 Frame differential compression transmission method suitable for telemetering digital quantity

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155788A (en) * 1995-12-29 1997-07-30 汤姆森广播系统公司 Method and device for compressing digital data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155788A (en) * 1995-12-29 1997-07-30 汤姆森广播系统公司 Method and device for compressing digital data

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
蔡敏 *
阙沛文 *
雷华明 *
黄作英.基于分类矢量量化器的超声检测数据压缩方法.《高技术通讯》.2008,第18卷(第6期), *

Also Published As

Publication number Publication date
CN101719812A (en) 2010-06-02

Similar Documents

Publication Publication Date Title
CN101223576B (en) Method and apparatus to extract important spectral component from audio signal and low bit-rate audio signal coding and/or decoding method and apparatus using the same
EP1715476B1 (en) Low-bitrate encoding/decoding method and system
CN101055720B (en) Method and apparatus for encoding and decoding an audio signal
TW201007699A (en) Compression of audio scale-factors by two-dimensional transformation
US20020049586A1 (en) Audio encoder, audio decoder, and broadcasting system
CN104348490A (en) Combined data compression algorithm based on effect optimization
CN1702974B (en) Method and apparatus for encoding/decoding a digital signal
EP1914724A3 (en) Dual-transform coding of audio signals
JP2009511946A (en) Signal processing method and apparatus, encoding and decoding method, and apparatus therefor
JP2009511951A5 (en)
CN104125475B (en) Multi-dimensional quantum data compressing and uncompressing method and apparatus
CA2556099A1 (en) Audio coding
CN101149926A (en) Audio signal interpolation method and device
US9031852B2 (en) Data compression apparatus, computer-readable storage medium having stored therein data compression program, data compression system, data compression method, data decompression apparatus, data compression/decompression apparatus, and data structure of compressed data
CN101719812B (en) Method for reducing signal redundancy of wireless sensor network node
CN117857648A (en) Big data-based construction engineering management cloud server communication method
CN101290774B (en) Audio encoding and decoding system
CN101193090B (en) Signal processing method and its device
WO2002101933A1 (en) Compressing device and method, decompressing device and method, compressing/decompressing system, program, record medium
CN104269173A (en) Voice frequency bandwidth extension device and method achieved in switching mode
CN111711511A (en) Lossy Compression Methods for Frequency Domain Data
CA2555639A1 (en) Method and device for quantizing a data signal
US7983346B2 (en) Method of and apparatus for encoding/decoding digital signal using linear quantization by sections
CN117294313B (en) Educational robot data intelligent acquisition and storage method and system
CN106788449A (en) A kind of real-time power quality data parametrization compression method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130320

Termination date: 20181215

CF01 Termination of patent right due to non-payment of annual fee