CN102750951B - Electric device and audio data decoding method - Google Patents

Electric device and audio data decoding method Download PDF

Info

Publication number
CN102750951B
CN102750951B CN201110097701.8A CN201110097701A CN102750951B CN 102750951 B CN102750951 B CN 102750951B CN 201110097701 A CN201110097701 A CN 201110097701A CN 102750951 B CN102750951 B CN 102750951B
Authority
CN
China
Prior art keywords
audio signal
value
signal value
envelope
waveform
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.)
Active
Application number
CN201110097701.8A
Other languages
Chinese (zh)
Other versions
CN102750951A (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.)
Beijing Aiyueshi Technology Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201110097701.8A priority Critical patent/CN102750951B/en
Publication of CN102750951A publication Critical patent/CN102750951A/en
Application granted granted Critical
Publication of CN102750951B publication Critical patent/CN102750951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an audio data decoding method which can be used for an electric device. The method comprises the following steps of: intercepting a plurality of left audio signal values and a plurality of right audio signal values from a plurality of audio signal values of an audio source of the electric device; calculating a plurality of first envelope values of each left audio signal value and a plurality of second envelope values of each right audio signal value, and calculating absolute values of difference values of the envelope values; detecting the time slot of each envelope difference value greater than a threshold value, and finding time slots which are greater than a preset time value in terms of time duration; respectively multiplying the found time slots by the left audio signal values and the right audio signal values and then subtracting a left sound channel and a right sound channel; and finding one or a plurality of shapes with preset proportion from wave shapes of signal flow obtained after the subtracting, and decoding digital copyright information corresponding to the shapes with preset proportion. The electric device and the audio data decoding method can be used for achieving the copyright protection and tracking of audio data.

Description

The coding/decoding method of electronic installation and voice data
Technical field
The present invention relates to multi-media information security, relate in particular to the coding/decoding method of a kind of electronic installation and voice data.
Background technology
Applicant given 2011 the number of filing an application 201110009347.9 on January 17, " copy-right protection method of electronic installation and voice data " patented claim, wherein recorded the copy-right protection method of electronic installation and voice data.The copy-right protection method of this electronic installation and voice data passes through the otherness of the envelope value of detecting left and right acoustic channels content, and digital rights information is loaded on respectively in left and right acoustic channels audio frequency.Described method comprises the following steps: to intercept left audio signal value and right audio signal value from the sound signal of the audio-source of described electronic installation; Calculate each left audio signal value and the multiple envelope value of each right audio signal value; According to described envelope value calculating, obtain the envelope difference value of corresponding described audio signal value; According to described envelope difference value, determine at least one time slot, wherein said time slot is consisted of audio signal value corresponding to envelope difference value, and wherein each envelope difference value is greater than threshold value, and the time span of described time slot is greater than Preset Time value; Left audio signal value and right audio signal value to described audio signal value are carried out modulation; And according to modulation result, digital rights information is write to the correspondence position in described time slot.But, in this application, how disclose the sound signal after loading is decoded, the digital rights information being hidden in electronic installation left and right acoustic channels audio frequency is extracted, thereby realize copyright protection and the tracking of voice data.
Summary of the invention
In view of this, a kind of coding/decoding method and electronic installation of voice data need be provided.
The coding/decoding method of described voice data comprises step: the multiple sound signals from the audio-source of described electronic installation intercept multiple left audio signal values and multiple right audio signal value; Calculate multiple first envelope value of each left audio signal value and multiple second envelope value of each right audio signal value, and calculate the absolute value of the difference value of envelope value; Detect the time slot that each envelope difference value is greater than threshold value, and from those time slots, find out the time slot that time span is all greater than Preset Time value; After the time slot of finding out and left audio signal value and right audio signal value are multiplied each other respectively, left and right acoustic channels is subtracted each other; And in the waveform of the signal obtaining stream, find and meet one or the shape of some predetermined ratios, and decode the digital rights information corresponding to shape of this predetermined ratio from subtracting each other.
Described electronic installation comprises an interception module, for multiple sound signals of the audio-source from described electronic installation, intercepts multiple left audio signal values and multiple right audio signal value; One processing module, for calculating multiple first envelope value of each left audio signal value and multiple second envelope value of each right audio signal value, and the absolute value of the difference value of calculating envelope value; One detecting module, is greater than the time slot of threshold value for detecting each envelope difference value, and from those time slots, finds out the time slot that time span is all greater than Preset Time value; An and decoder module, after the time slot of finding out and left audio signal value and right audio signal value are multiplied each other respectively, left and right acoustic channels is subtracted each other, and in the waveform of the signal obtaining stream, find one or some shapes that meets ratio from subtracting each other, and decode the digital rights information corresponding to shape of this predetermined ratio.
The coding/decoding method of electronic installation of the present invention and voice data can be by the source of the tracking of information voice data decoding, thereby voice data is carried out to copyright protection and tracking.
Accompanying drawing explanation
Fig. 1 is the module rack composition of the electronic installation of a kind of embodiment of the present invention.
Fig. 2 is the flow chart of steps of the coding/decoding method of the voice data of a kind of embodiment of the present invention.
Fig. 3 is the lower three kinds of waveforms that meet the U-shaped shape of ratio of the preferred embodiment for the present invention.
Main element symbol description
Electronic installation 100
Interception module 110
Memory module 120
Low-pass filter 130
Processing module 140
Detecting module 150
Writing module 160
Decoder module 170
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
The application extracts the digital rights information being hidden in electronic installation left and right acoustic channels audio frequency, thereby realizes copyright protection and the tracking of voice data.Wherein, digital rights information can be the hardware serial number of described electronic installation.Described 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.
Described 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 is write to sound source signal, described interception module 110 is for the sound signal AS of the original stereo source of sound from electronic installation 100 1~nthe middle left audio signal value LAS intercepting respectively in left and right acoustic channels 1~nwith right audio signal value RAS 1~n.Described interception module 110 is respectively to left and right audio signal value LAS 1~nwith RAS 1~nthe execution computing that takes absolute value.The left audio signal value LAS that described memory module 120 obtains for storing described audio frequency interception module 110 1~n, right audio signal value RAS 1~nand digital rights information.Described 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.Described audio processing modules 140 utilizes the method for moving average (Moving Average Method) to calculate respectively each left audio signal value LAS 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)).Described detecting module 150, according to envelope difference value curve, is detected the time slot that each envelope difference value is greater than a threshold value, and from those time slots, finds out the time slot that time span is all greater than a Preset Time value.Said write module 160 is for converting the digital rights information of described memory module 120 to string of binary characters, to described audio signal value AS a1~anleft audio signal value LAS a1~ anwith right audio signal value RAS a1~ancarry out modulation; And according to modulation result, by string of binary characters write successively correspondence position in described time slot (concrete grammar please refer to 2011 the number of filing an application 201110009347.9 on January 17, " copy-right protection method of electronic installation and voice data " patented claim).
In decode procedure, interception module 110 is for there being the sound signal BQ of the stereo source of sound of hiding digital rights information from electronic installation 1~nthe middle left audio signal value LBQ intercepting respectively in left and right acoustic channels 1~nwith right audio signal value RBQ 1~n.Described interception module 110 is respectively to left and right audio signal value LBQ 1~nwith RBQ 1~nthe execution computing that takes absolute value.
The left audio signal value LBQ that described memory module 120 obtains for storing described audio frequency interception module 110 1~nand right audio signal value RBQ 1~n.
Described 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.
Described processing module 140 utilizes the method for moving average to calculate respectively each left audio signal value LBQ 1~nmultiple envelope value LE 1~n' with each right audio signal value RBQ 1~nmultiple envelope value RE 1~n', and calculating obtains each same time and puts corresponding envelope value LE n' with envelope value RE n' absolute value (for example, the ED of difference value n'=Bbs (RE n' LE n')).Described calculating is in order to obtain left and right audio signal value LBQ 1~nand RBQ 1~ntime dependent difference value.
Described 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 the time slot that time span is all greater than Preset Time value.
Described decoder module 170 is by these time slots of finding 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 is subtracted each other and obtains signal stream DM 1~n(DM 1~n=LM 1~n-RM 1~n).
When digital rights information is write to sound source signal, take a time slot as example, if the digital rights information of wanting to write is information word " 0 " (Symbol 0), the waveform that continuous 5 (describing for example with 5) the individual left audio signal value in described time slot is formed is modulated to anti-U-shaped shape, and the waveform that continuous 5 right audio signal values form is modulated to U-shaped shape.Hence one can see that, if be concealed with digitized audio message in sound source signal, left and right acoustic channels is subtracted each other and the waveform of the signal stream that obtains is that information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1) correspond to anti-U-shaped shape or U-shaped shape according to the digital rights information of wanting to write.
Described decoder module 170 is from signal stream DM 1~nwaveform in find the waveform of the U-shaped shape and the anti-U-shaped shape that meet ratio, decoding the digital rights information writing is information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1).
Described decoder module 170 decodes the string of binary characters being hidden in electronic installation left and right acoustic channels audio frequency with the method, and according to this string of binary characters, obtains the hardware serial number of this electronic installation 100, thereby realizes copyright protection and the tracking of voice data.
Fig. 2 is the steps flow chart schematic diagram of the copy-right protection method of the voice data of one embodiment of the present invention.
Utilize described interception module 110 in electronic installation 100, to have the sound signal BQ of the stereo source of sound of hiding digital rights information 1~nthe middle left audio signal value LBQ intercepting respectively in left and right acoustic channels 1~nwith right audio signal value RBQ 1~n(step S201).
Utilize described interception module 110 respectively to left and right 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~nmultiple the first envelope value LE 1~n' with each right audio signal value RBQ 1~nmultiple the second envelope value and RE 1~n' (step S204), and calculate each same time and put corresponding envelope value LE n' with envelope value RE n' absolute value (for example, the ED of difference value n'=Bbs (RE n' LE n')) (step S205).
Utilize described detecting module 150 each envelope difference value of detecting to be greater than the time slot (step S206) of threshold value, and from those time slots, find out continuous time length and be all greater than the time slot (step S207) of Preset Time value.
Utilize described decoder module 170 that these time slots of finding out are denoted as to the time slot that may hide digital rights information, and by 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 is subtracted each other and obtains signal stream DM 1~n(DM 1~n=LM 1~n-RM 1~n) (step S209).
Utilize described decoder module 170 from signal stream DM 1~nwaveform in find the waveform of the U-shaped shape and the anti-U-shaped shape that meet ratio, thereby decode the digital rights information writing, be information word " 0 " (Symbol 0) or information word " 1 " (Symbol 1) (step S210).
Utilize described decoder module 170 to decode and be hidden in the string of binary characters in 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 lower three kinds of waveforms that meet the U-shaped shape of ratio of the preferred embodiment for the present invention.
The method that judges the U-shaped shape that meets ratio in waveform can be by gathering the audio signal value of continuous 5 (take 5 as example) individual time slot on this waveform, judge whether to meet the sound signal value tag of the three types in Fig. 3 and determine, A, P1, P2, P3, P4, B represent respectively the end points of continuous 5 time slots, for the purpose of convenient, with A, P1, P2, P3, P4, B, represent the audio signal value of those some correspondences below.The sound signal value tag of the first type is as follows: 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 feature of the second type audio signal value is as follows: 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 as follows: 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 determine according to concrete waveform, and under different waveforms, value may be different.
Those skilled in the art will be appreciated that; above embodiment is only for the present invention is described; and be not used as limitation of the invention; as long as within connotation scope of the present invention, within the appropriate change that above embodiment is done and variation all drop on the scope of protection of present invention.

Claims (11)

1. a coding/decoding method for voice data, is used in electronic installation, it is characterized in that, described method comprises:
Multiple sound signals from the audio-source of described electronic installation intercept multiple left audio signal values and multiple right audio signal value;
Calculate multiple first envelope value of each left audio signal value and multiple second envelope value of each right audio signal value, and calculate the absolute value of the difference value of envelope value;
Detect the time slot that each envelope difference value is greater than threshold value, and from those time slots, find out the time slot that time span is all greater than Preset Time value;
After the time slot of finding out and left audio signal value and right audio signal value are multiplied each other respectively, left and right acoustic channels is subtracted each other; And
In the waveform of the signal stream obtaining from subtracting each other, find and meet one or the shape of some predetermined ratios, and decode the digital rights information corresponding to shape of this predetermined ratio.
2. the method for claim 1, is characterized in that, described method also comprises utilizes the method for moving average to calculate described first and second envelope value.
3. the method for claim 1, it is characterized in that, described digital rights information is the string of binary characters of a string regular length, each table of bits in described string of binary characters is shown information word, in the waveform of the described signal stream obtaining, find the shape that meets ratio from subtracting each other, thereby the step that decodes information word corresponding to this shape is specially: finding the waveform of the U-shaped shape and the anti-U-shaped shape that meet ratio, is information word " 0 " or information word " 1 " thereby decode the digital rights information writing.
4. method as claimed in claim 3, it is characterized in that, in described searching waveform, meet the method for U-shaped shape of ratio by gathering on this waveform the audio signal value of several time slots continuously, judge whether to meet the sound signal value tag of U-shaped shape type and determine.
5. method as claimed in claim 4, it is characterized in that, the audio signal value of described U-shaped shape type is characterized as: A=B, P1=(A+B)/2+I1, P2=(A+B)/2+I2, P3=P2=(A+B)/2+I2, P4=P2=(A+B)/2+I1, wherein A, P1, P2, P3, P4, B represent respectively the audio signal value of the end points correspondence of continuous 5 time slots, and I1 and I2 represent two positives.
6. method as claimed in claim 4, it is characterized in that, the audio signal value of described U-shaped shape type is characterized as: A<B, P1=(A+B)/2-I1, P2=B+I2, P3=P2=B+I2, P4=B+I1, wherein A, P1, P2, P3, P4, B represent respectively the audio signal value of the end points correspondence of continuous 5 time slots, and I1 and I2 represent two positives.
7. method as claimed in claim 4, it is characterized in that, the audio signal value of described U-shaped shape type is characterized as: A>B, P1=A+I1, P2=A+I2, P3=P2=A+I2, P4=P2=(A+B)/2+I1, wherein, A, P1, P2, P3, P4, B represent respectively the audio signal value of the end points correspondence of continuous 5 time slots, and I1 and I2 represent two positives.
8. an electronic installation, is characterized in that, this device comprises:
One interception module, intercepts multiple left audio signal values and multiple right audio signal value for multiple sound signals of the audio-source from described electronic installation;
One processing module, for calculating multiple first envelope value of each left audio signal value and multiple second envelope value of each right audio signal value, and the absolute value of the difference value of calculating envelope value;
One detecting module, is greater than the time slot of threshold value for detecting each envelope difference value, and from those time slots, finds out the time slot that time span is all greater than Preset Time value; And
One decoder module, after the time slot of finding out and left audio signal value and right audio signal value are multiplied each other respectively, left and right acoustic channels is subtracted each other, and in the waveform of the signal obtaining stream, find one or some shapes that meets predetermined ratio from subtracting each other, and decode the digital rights information corresponding to shape of this predetermined ratio.
9. electronic installation as claimed in claim 8, is characterized in that, described processing module utilizes the method for moving average to calculate described first and second envelope value.
10. electronic installation as claimed in claim 9, it is characterized in that, described digital rights information is the string of binary characters of a string regular length, each table of bits in described string of binary characters is shown information word, in the waveform of the signal stream that described decoder module obtains from subtracting each other, find the shape that meets ratio, thereby decoding information word corresponding to this shape is specially: find the waveform of the U-shaped shape and the anti-U-shaped shape that meet ratio, and to decode the digital rights information writing be information word " 0 " or information word " 1 ".
11. electronic installations as claimed in claim 10, it is characterized in that: the method that described decoder module judges the U-shaped shape that meets ratio in waveform is by gathering on this waveform the audio signal value of several time slots continuously, judge whether to meet the sound signal value tag of U-shaped shape type and determine.
CN201110097701.8A 2011-04-19 2011-04-19 Electric device and audio data decoding method Active CN102750951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110097701.8A CN102750951B (en) 2011-04-19 2011-04-19 Electric device and audio data decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110097701.8A CN102750951B (en) 2011-04-19 2011-04-19 Electric device and audio data decoding method

Publications (2)

Publication Number Publication Date
CN102750951A CN102750951A (en) 2012-10-24
CN102750951B true CN102750951B (en) 2014-04-23

Family

ID=47031073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110097701.8A Active CN102750951B (en) 2011-04-19 2011-04-19 Electric device and audio data decoding method

Country Status (1)

Country Link
CN (1) CN102750951B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7457962B2 (en) * 1996-07-02 2008-11-25 Wistaria Trading, Inc Optimization methods for the insertion, protection, and detection of digital watermarks in digitized data
US7131007B1 (en) * 2001-06-04 2006-10-31 At & T Corp. System and method of retrieving a watermark within a signal
CN1894741A (en) * 2003-12-11 2007-01-10 皇家飞利浦电子股份有限公司 Method and apparatus for detecting a watermark in a signal

Also Published As

Publication number Publication date
CN102750951A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US9373320B1 (en) Systems and methods facilitating selective removal of content from a mixed audio recording
US20180026728A1 (en) Data sending/receiving method and data transmission system over sound waves
KR102317365B1 (en) Phase shift keyed signaling tone
IL298975B2 (en) Adaptive processing with multiple media processing nodes
JP2017536749A (en) Inaudible signaling tone
KR20080102218A (en) Method and apparatus for correlating two data sections
US10535355B2 (en) Frame coding for spatial audio data
Gupta et al. DWT and LSB based Audio Steganography
Cho et al. Robust data hiding for MCLT based acoustic data transmission
WO2009120387A1 (en) Method and apparatus for scaling signals to prevent amplitude clipping
CN102750951B (en) Electric device and audio data decoding method
Huang et al. A Fast and Low-Distortion Capacity Adaptive Synchronized Acoustic-to-Acoustic Steganography Scheme
Oh et al. Transparent and robust audio watermarking with a new echo embedding technique
CN102592597B (en) Electronic device and audio data copyright protection method
TWI450266B (en) Electronic device and decoding method of audio files
US10236004B2 (en) Data encoding and decoding method and system
Wu et al. BCH Code-Based Robust Audio Watermarking Algorithm in the DWT Domain
Wei et al. Audio watermarking using time-frequency compression expansion
CN109150320B (en) Sound wave signal encoding and decoding methods and devices
Wei et al. Audio watermarking of stereo signals based on echo-hiding method
CN102903379A (en) Method and device for detecting MP3 file authenticity
KR102651318B1 (en) A transient-based sidechain audio watermark coding system
Modegi Construction of ubiquitous acoustic spaces using audio watermark technology and mobile terminals
CN108564957B (en) Code stream decoding method and device, storage medium and processor
Khalil et al. A high capacity blind watermarking for two-channel audio signals based on CDMA-ICA

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
TR01 Transfer of patent right

Effective date of registration: 20180226

Address after: The Guangxi Zhuang Autonomous Region Nanning hi tech Zone headquarters Road No. 18, China ASEAN enterprise headquarters base three 5# workshop

Patentee after: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Hongfujin Precise Industry (Shenzhen) Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191212

Address after: 100089 321, floor 3, building 1, No. 26 yard, Lianhuachi, Haidian District, Beijing

Patentee after: Beijing aiyueshi Technology Co., Ltd.

Address before: 530007 the Guangxi Zhuang Autonomous Region, China Hi tech Zone, the headquarters of the headquarters of the road No. 18, China ASEAN enterprise base, phase 5, No. three plant

Patentee before: NANNING FUGUI PRECISION INDUSTRIAL CO., LTD.

TR01 Transfer of patent right