Embodiment
The application extracts for the digital rights information that will be hidden in the electronic installation left and right acoustic channels audio frequency, thereby realizes the copyright protection and the tracking of voice data.Wherein, digital rights information can be the hardware serial number of said electronic installation.Said digital rights information, for example hardware serial number is the string of binary characters of a string regular length.
Fig. 1 is the module rack composition of the electronic installation of one embodiment of the present invention.
Said electronic installation 100 comprises an interception module 110, a memory module 120, a low-pass filter 130, a processing module 140, a detecting module 150, a writing module 160 and a decoder module 170.
When digital rights information was write sound source signal, said interception module 110 was used for the sound signal AS from the original stereo source of sound of electronic installation 100
1~nLeft audio signal value LAS in the middle intercepting left and right acoustic channels respectively
1~nWith right audio signal value RAS
1~nSaid interception module 110 is respectively to left and right sides audio signal value LAS
1~nWith RAS
1~nThe execution computing that takes absolute value.Said memory module 120 is used to store the left audio signal value LAS that said audio frequency interception module 110 is obtained
1~n, right audio signal value RAS
1~nAnd digital rights information.Said low-pass filter 130 is respectively to left audio signal value LAS
1~nWith right audio signal value RAS
1~nCarry out Filtering Processing, to remove noise signal.Said audio processing modules 140 utilizes the method for moving average (Moving Average Method) to calculate each left audio signal value LAS respectively
nWith each right audio signal value RAS
nEnvelope value LE
1~nWith RE
1~n, and calculate the envelope value LE of each left audio signal
nEnvelope value RE with each right audio signal
nThe absolute value ED of difference value
n(for example, ED
n=Abs (RE
n-LE
n)).Said detecting module 150 is detected the time slot of each envelope difference value greater than a threshold value according to envelope difference value curve, and from those time slots, finds out time span all greater than the time slot of a Preset Time value.Said write module 160 is used for converting the digital rights information of said memory module 120 to string of binary characters, to said audio signal value AS
A1~anLeft audio signal value LAS
A1~ AnWith right audio signal value RAS
A1~anCarry out modulation; And according to the modulation result, with string of binary characters write successively correspondence position in the said time slot (concrete grammar please refer to the number of filing an application 201110009347.9 on January 17,2011 " copy-right protection method of electronic installation and voice data " patented claim).
In decode procedure, interception module 110 is used for having from electronic installation the sound signal BQ of the stereo source of sound of hiding digital rights information
1~nLeft audio signal value LBQ in the middle intercepting left and right acoustic channels respectively
1~nWith right audio signal value RBQ
1~nSaid interception module 110 is respectively to left and right sides audio signal value LBQ
1~nWith RBQ
1~nThe execution computing that takes absolute value.
Said memory module 120 is used to store the left audio signal value LBQ that said audio frequency interception module 110 is obtained
1~nAnd right audio signal value RBQ
1~n
Said low-pass filter 130 is respectively to left audio signal value LBQ
1~nWith right audio signal value RBQ
1~nCarry out Filtering Processing, to remove noise signal.
Said processing module 140 utilizes the method for moving average to calculate each left audio signal value LBQ respectively
1~nA plurality of envelope value LE
1~n' with each right audio signal value RBQ
1~nA plurality of envelope value RE
1~n', and calculating obtains the corresponding envelope value LE of each identical time point
n' with envelope value RE
n' absolute value (for example, the ED of difference value
n'=Bbs (RE
n' LE
n')).Said calculating is in order to obtain left and right sides audio signal value LBQ
1~nAnd RBQ
1~nTime dependent difference value.
Said detecting module 150 each envelope difference value of detecting are greater than the time slot of threshold value, and from those time slots, find out time span all greater than the time slot of Preset Time value.
These time slots that said decoder module 170 will be found out and left audio signal value LBQ
1~nWith right audio signal value RBQ
1~nMultiply each other and produce LM
1~nAnd RM
1~n, after left and right acoustic channels subtracted each other obtain signal flow DM
1~n(DM
1~n=LM
1~n-RM
1~n).
When digital rights information is write sound source signal; With a time slot is example; If the digital rights information of desiring to write is information word " 0 " (Symbol 0); The waveform that the individual left audio signal value of continuous 5 (are that example describes with 5) in the then said time slot is constituted is modulated to the shape of anti-U type, and the waveform that continuous 5 right audio signal values are constituted is modulated to the shape of U type.Hence one can see that; If be concealed with digitized audio message in the sound source signal, then left and right acoustic channels is subtracted each other and the waveform of the signal flow that obtains is that information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1) correspond to the shape of anti-U type or the shape of U type according to the digital rights information of desiring to write.
Said decoder module 170 is from signal flow DM
1~nWaveform in seek the waveform of shape of shape and the anti-U type of the U type meet ratio, decoding the digital rights information that writes is information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1).
Said decoder module 170 decodes the string of binary characters that is hidden in the electronic installation left and right acoustic channels audio frequency with the method, and obtains the hardware serial number of this electronic installation 100 according to this string of binary characters, thereby realizes the copyright protection and the tracking of voice data.
Fig. 2 is the steps flow chart synoptic diagram of copy-right protection method of the voice data of one embodiment of the present invention.
Utilize said interception module 110 that the sound signal BQ of the stereo source of sound of hiding digital rights information is arranged in electronic installation 100
1~nLeft audio signal value LBQ in the middle intercepting left and right acoustic channels respectively
1~nWith right audio signal value RBQ
1~n(step S201).
Utilize said interception module 110 respectively to left and right sides audio signal value LBQ
1~nWith RBQ
1~nThe execution computing (step S202) that takes absolute value.
Utilize low-pass filter respectively to left audio signal value LBQ
1~nWith right audio signal value RBQ
1~nCarry out Filtering Processing, to remove noise signal (step S203).
Utilize the method for moving average to calculate respectively and each right audio signal value LBQ
1~nA plurality of first envelope value LE
1~n' with each right audio signal value RBQ
1~nA plurality of second envelope value and RE
1~n' (step S204), and calculate the corresponding envelope value LE of each identical time point
n' with envelope value RE
n' absolute value (for example, the ED of difference value
n'=Bbs (RE
n' LE
n')) (step S205).
Utilize the time slot (step S206) of said detecting module 150 each envelope difference value of detecting, and from those time slots, find out continuous time length all greater than the time slot (step S207) of Preset Time value greater than threshold value.
These time slots that utilize said decoder module 170 to find out are denoted as the time slot that possibly hide digital rights information, and with these time slots and left audio signal value LBQ
1~nWith right audio signal value RBQ
1~nMultiply each other and produce LM
1~nAnd RM
1~n(step S208), after left and right acoustic channels subtracted each other obtain signal flow DM
1~n(DM
1~n=LM
1~n-RM
1~n) (step S209).
Utilize said decoder module 170 from signal flow DM
1~nWaveform in seek the waveform of shape of shape and the anti-U type of the U type meet ratio, be information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1) (step S210) thereby decode the digital rights information that writes.
Utilize said decoder module 170 to decode and be hidden in the string of binary characters in the electronic installation 100 left and right acoustic channels audio frequency, and obtain numerical digit copyright information (step S211) according to this string of binary characters.
Fig. 3 is the waveform of the shape of the following three kinds of U types that meet ratio of the preferred embodiment for the present invention.
The method of judging the shape of the U type that meets ratio in the waveform can be through gathering the audio signal value of the individual time slot of continuous 5 (are example with 5) on this waveform; Judge whether to meet three types sound signal value tag among Fig. 3 and confirm; A, P1, P2, P3, P4, B represent the end points of continuous 5 time slots respectively; For the purpose of convenient, represent the audio signal value of those some correspondences below with A, P1, P2, P3, P4, B.First type sound signal value tag is following: A=B, P1=(A+B)/2+I1, P2=(A+B)/2+I2, P3=P2=(A+B)/2+I2, P4=P2=(A+B)/2+I1; The characteristic of second type of audio signal value is following: A<B, P1=(A+B)/2-I1, P2=B+I2, P3=P2=B+I2, P4=B+I1; The sound signal value tag of the third type is following: A>B, P1=A+I1, P2=A+I2, P3=P2=A+I2, P4=P2=(A+B)/2+I1.Wherein, I1 and I2 represent two positives, can decide according to concrete waveform, and value maybe be different under different waveforms.
Those skilled in the art will be appreciated that; Above embodiment only is to be used for explaining the present invention; And be not to be used as qualification of the present invention; As long as within connotation scope of the present invention, appropriate change that above embodiment did is all dropped within the scope that the present invention requires to protect with changing.