CN109150320B - Sound wave signal encoding and decoding methods and devices - Google Patents

Sound wave signal encoding and decoding methods and devices Download PDF

Info

Publication number
CN109150320B
CN109150320B CN201810833304.4A CN201810833304A CN109150320B CN 109150320 B CN109150320 B CN 109150320B CN 201810833304 A CN201810833304 A CN 201810833304A CN 109150320 B CN109150320 B CN 109150320B
Authority
CN
China
Prior art keywords
sequence
frequency
preset
sound wave
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.)
Active
Application number
CN201810833304.4A
Other languages
Chinese (zh)
Other versions
CN109150320A (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.)
Xiamen Shenglian Network Information Technology Co ltd
Original Assignee
Xiamen Shenglian Network Information Technology 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 Xiamen Shenglian Network Information Technology Co ltd filed Critical Xiamen Shenglian Network Information Technology Co ltd
Priority to CN201810833304.4A priority Critical patent/CN109150320B/en
Publication of CN109150320A publication Critical patent/CN109150320A/en
Priority to PCT/CN2019/090056 priority patent/WO2020019879A1/en
Application granted granted Critical
Publication of CN109150320B publication Critical patent/CN109150320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0033Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0036Systems modifying transmission characteristics according to link quality, e.g. power backoff arrangements specific to the receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a method and a device for coding and decoding sound wave signals, wherein the coding method comprises the following steps: according to a preset frequency set { r1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab‑1) (ii) a Carrying out digital system conversion on the acoustic signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b‑2(ii) a According to the reference set sequence (a)0,a1,…,ab‑1) B-2 system data (d) obtained by conversionn…d1d0)b‑2The conversion generates a first sequence
Figure DDA0001743954750000011
According to a first sequence
Figure DDA0001743954750000012
Each set of the first and second sets includes a frequency corresponding to each frequency to generate a sinusoidal superposition signal, and a second sequence is formed in sequence
Figure DDA0001743954750000013
The second sequence is
Figure DDA0001743954750000014
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal. By utilizing the method and the device, the frequency spectrum efficiency, the signal identification rate and the identification accuracy rate of the sound wave coding signal can be obviously improved.

Description

Sound wave signal encoding and decoding methods and devices
Technical Field
The present invention relates to the field of communication coding technologies, and in particular, to a method and an apparatus for coding and decoding an acoustic signal.
Background
The acoustic wave is a vibrating mechanical wave, has the basic characteristics of a wave like an electromagnetic wave, can carry a digital modulation signal, and transmits information in space. In acoustic wave communication, a signal source sends signals through a loudspeaker, and a signal sink receives signals through a microphone. At present, terminal intelligent electronic equipment with built-in loudspeakers and microphones has reached very wide popularization rate, and the application prospect of sound wave communication is very wide.
The doppler effect, channel fading characteristics and wide existence of mechanical waves, and the frequency response difference of the acoustic energy conversion device all affect the recognition rate and the correct recognition rate of signals. Meanwhile, the frequency shift keying modulation technology widely adopted by modern communication highlights the problems of spectral efficiency and bit error rate when being applied to mechanical waves.
The sound wave one-way communication has the advantages of simple technology, simple implementation, obvious effect and the like in application scenes of information push, broadcast push, multicast push and the like. However, for the one-way concurrent communication of adjacent multiple information sources, as well as the two-way interactive communication and the multi-party interactive communication, a sound wave communication technology and a technical solution with high reliability, high efficiency, economy and practicality need to be further researched.
Disclosure of Invention
The invention mainly solves the technical problem of providing a sound wave signal coding and decoding method and device, which can obviously improve the frequency spectrum efficiency and the signal identification rate of sound wave coding and decoding.
In order to solve the technical problems, the invention adopts a technical scheme that: there is provided a method of encoding an acoustic signal, the method comprising: according to a preset frequency set { r1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000021
And is
Figure GDA0002618576530000022
k. b and l are both natural numbers;
Figure GDA0002618576530000023
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree; carrying out digital system conversion on the acoustic signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2(ii) a Wherein n is a natural number; according to the reference set sequence (a)0,a1,…,ab-1) B-2 system data (d) obtained by conversionn…d1d0)b-2Converting to generate a first sequenceColumn(s) of
Figure GDA0002618576530000024
According to the first sequence
Figure GDA0002618576530000025
Each set of the first and second sets includes a frequency corresponding to each frequency to generate a sinusoidal superposition signal, and a second sequence is formed in sequence
Figure GDA0002618576530000026
The second sequence is added
Figure GDA0002618576530000027
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
Wherein the preset frequency set { r }1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
For the coding of any two sound wave signals, the preset frequency sets can be the same or different; when the preset frequency sets are the same, the reference set sequences formed correspondingly may be the same or different.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided an acoustic wave signal encoding apparatus, the apparatus comprising: a setting unit for setting the frequency according to a preset frequency set { r1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000028
And is
Figure GDA0002618576530000029
k. b and l are both natural numbers;
Figure GDA00026185765300000210
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree; a digital system conversion unit for performing digital system conversion on the acoustic wave signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2(ii) a Wherein n is a natural number; a sequence conversion unit for converting the sequence (a) from the reference set0,a1,…,ab-1) B-2 system data (d) obtained by conversionn…d1d0)b-2Generating a first sequence
Figure GDA00026185765300000211
An encoding unit for encoding the first sequence
Figure GDA00026185765300000212
Each set of the first and second sets includes a frequency corresponding to each frequency to generate a sinusoidal superposition signal, and a second sequence is formed in sequence
Figure GDA00026185765300000213
And combining the second sequence
Figure GDA0002618576530000031
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
Wherein the preset frequency set { r }1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided an acoustic wave signal decoding method, the method comprising: analyzing the received acoustic signals and according to a preselected set of predetermined frequencies { r }1,r2,…,rkAndreference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000032
And is
Figure GDA0002618576530000033
k. b, l and n are natural numbers;
Figure GDA0002618576530000034
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree; according to the sample set sequence (e)0,e1,…,en+2) Each sample set e in (1)iThe included sound wave signal frequency successively inquires the reference set sequence (a)0,a1,…,ab-1) Each reference set a in (a)jIncluded sound wave signal frequency to determine with the sample set eiReference set a containing sound wave signals of the same frequencyjAnd arranging the reference set obtained by screening according to the sequence of the sample set contained in the sample set sequence to form a first sequence
Figure GDA0002618576530000035
Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0; and from the first sequence
Figure GDA0002618576530000036
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2And for the b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
Wherein the preset frequency set { r }1,r2,…,rkIs the same as a preset set of frequencies preset for encoding the acoustic signal, said reference set sequence (a)0,a1,…,ab-1) The preset frequency set { r } is the same as a reference set sequence formed by the coded sound wave signals1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
For decoding any sound wave signal, a plurality of different preset frequency sets or a plurality of different reference set sequences can be selected.
Wherein the received acoustic signals are analyzed and a pre-selected set of pre-set frequencies { r } is selected in advance1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps: analyzing the received acoustic signal, at tnThe preset frequency set { r) of the acoustic signals in the data segment of the time duration t detected at the time point1,r2,…,rkE, and collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set eiTo generate the sample set sequence (e)0,e1,…,en+2)。
Wherein the received acoustic signals are analyzed and a pre-selected set of pre-set frequencies { r } is selected in advance1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps: pre-calculating the preset frequency set { r }1,r2,…,rkFrequency symmetry intervals of each frequency within a preset range; analyzing the received acoustic signal, at tnDetecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval; and selecting | a with the largest frequency amplitude0The interval median of | frequency symmetric intervals form the sample set eiTo generate the sample set sequence (e)0,e1,…,en+2) (ii) a Wherein, | a0I represents the set a0The number of elements involved.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided an acoustic wave signal decoding apparatus, the apparatus including: an analysis unit for analyzing the received acoustic signals and according to a pre-selected preset frequency set { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000041
And is
Figure GDA0002618576530000042
k. b, l and n are natural numbers;
Figure GDA0002618576530000043
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree; a query unit for querying the sample setConsensus sequence (e)0,e1,…,en+2) Each sample set e in (1)iThe included sound wave signal frequency successively inquires the reference set sequence (a)0,a1,…,ab-1) Each reference set a in (a)jIncluded sound wave signal frequency to determine with the sample set eiReference set a containing sound wave signals of the same frequencyjAnd arranging the reference set obtained by screening according to the sequence of the sample set contained in the sample set sequence to form a first sequence
Figure GDA0002618576530000051
Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0; a decoding unit for decoding the first sequence
Figure GDA0002618576530000052
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2(ii) a And a digital system conversion unit for converting the b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
Wherein the preset frequency set { r }1,r2,…,rkIs the same as a preset set of frequencies preset for encoding the acoustic signal, said reference set sequence (a)0,a1,…,ab-1) The predetermined set of frequencies { r } is the same as a reference set sequence formed by the encoded acoustic signals1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
For decoding any sound wave signal, a plurality of different preset frequency sets or a plurality of different reference set sequences can be selected.
Wherein the parsing unit is specifically configured to: analyzing the received acoustic signal, at tnTime of dayThe preset frequency set { r of acoustic signals in the data segment of the point detection time duration t1,r2,…,rkE, and collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set eiTo generate the sample set sequence (e)0,e1,…,en+2)。
Wherein the parsing unit is specifically configured to: pre-calculating the preset frequency set { r }1,r2,…,rkFrequency symmetry intervals of each frequency within a preset range; analyzing the received acoustic signal, at tnDetecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval; and selecting | a with the largest frequency amplitude0The interval median of | frequency symmetric intervals form the sample set eiTo generate the sample set sequence (e)0,e1,…,en+2) (ii) a Wherein, | a0I represents the set a0The number of elements involved.
The sound wave signal coding and decoding method and device provided by the embodiment of the invention select the preset frequency set and the reference set sequence, screen and splice the preset frequency set and the reference set sequence according to the sound wave signal to be coded after numerical value conversion to obtain the coded sound wave signal, obtain the coded sound wave data by comparing with the pre-selected reference frequency set, select different reference frequencies aiming at different coded sound wave signals, can obviously improve the frequency spectrum efficiency of the sound wave coded signal, and decode the sound wave signal according to the corresponding reference frequency to obtain the transmitted data, thereby improving the recognition rate and the recognition accuracy of the sound wave signal and realizing the frequency division duplex communication of sound wave coding and decoding.
Drawings
FIG. 1 is a schematic flow chart of a method for encoding an acoustic signal according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a method for decoding an acoustic signal in accordance with an embodiment of the present invention;
FIG. 3 is a flow diagram illustrating a method for generating a sequence of sample sets in one embodiment shown in FIG. 2;
FIG. 4 is a schematic structural diagram of an acoustic signal encoding apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an acoustic wave signal decoding apparatus according to an embodiment of the present invention.
Detailed Description
In order to explain technical contents, structural features, and objects and effects of the present invention in detail, the present invention will be explained in detail with reference to the accompanying drawings and examples.
Fig. 1 is a schematic flow chart of an acoustic wave signal encoding method according to an embodiment of the present invention, the method including:
step S10, according to the preset frequency set { r }1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1)。
Wherein, from a preset frequency set { r }1,r2,…,rkChoosing b different l-element subsets to form a reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000061
And is
Figure GDA0002618576530000062
k. b and l are both natural numbers.
Figure GDA0002618576530000063
Representing the number of times that one element is selected among k elements, i.e., the predetermined set of frequencies { r }1,r2,…,rkTotal number of l-ary subsets in the { C }.
Suppose, a set of predetermined frequencies { r }1,r2,…,rkIs {18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }, then k is 5, according to the formula
Figure GDA0002618576530000064
Calculating the value of l to be 2, using the relation
Figure GDA0002618576530000065
The value of b is determined to be 4 or 5, and in the present embodiment, the value of b, 5, is taken for illustration. It follows that, from the preset frequency set {18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }, mutually different 5-element subsets are selected to form a reference set sequence (a)0,a1,…,ab-1) The following are:
a0={18.5kHz,18.1kHz};
a1={18.2kHz,18.3kHz};
a2={18.4kHz,18.5kHz};
a3={18.1kHz,18.2kHz};
a4={18.3kHz,18.4kHz};
specifically, the preset frequency set { r }1,r2,…,rkThe preset frequency set { r } is selected according to a channel frequency required for transmitting the acoustic signal, for example, the channel frequency for transmitting the acoustic signal is 17.8 kHz-18.6 kHz1,r2,…,rkIt may be set to {18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }. Thus, based on the preset frequency set { r1,r2,…,rkDue to the arrangement of the acoustic wave transmission device, the technical effect that acoustic wave signal transmission is simultaneously carried out on a plurality of different channel frequencies without influencing each other can be achieved in the system.
Further, for the encoding of any two sound wave signals, the same preset frequency set can be selected, and at the moment, the sound wave signals are encoded in sequence; different preset frequency sets can also be selected, and at the moment, a plurality of sound wave signals are coded simultaneously. When the preset frequency sets are the same, the sequences forming the corresponding reference sets may be the same or different.
Further, the value of k is calculated according to the number of channel frequency points of the sound wave signal required to be transmitted. For example, if the channel frequency of the acoustic signal to be transmitted is 17.8kHz to 18.6kHz and the preset frequency interval is 0.1kHz, the final calculated k value is 7, and accordingly the preset frequency set is {17.9kHz, 18.0kHz, 18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }.
Step S11, carrying out digital system conversion on the sound wave signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2. Wherein n is a natural number.
As described above, for example, b is 5, the acoustic signal data to be encoded is converted from the original number system to ternary data. For example, if the data of the acoustic wave signal to be encoded is 15, which is decimal data, and the data is converted into ternary data of 120, then the following results are obtained accordingly: n is 2, d2=1,d1=2,d00. The data of the acoustic wave signal to be encoded is converted into the prior art by a digital system, which is not described herein again.
Step S12, according to the reference set sequence (a)0,a1,…,ab-1) B-2 system data (d) obtained by conversionn…d1d0)b-2The conversion generates a first sequence
Figure GDA0002618576530000071
As mentioned above by way of example, n-2, d2=1,d1=2,d0When the sequence is 0, the first sequence is (a)3,a0,a2,a1,a4). Screening the reference set sequence by using the first sequence to specifically obtain the frequency contained in each set, wherein the frequency comprises the following steps:
a3={18.1kHz,18.2kHz};
a0={18.5kHz,18.1kHz};
a2={18.4kHz,18.5kHz};
a1={18.2kHz,18.3kHz};
a4={18.3kHz,18.4kHz};
step S13, according to the first sequence
Figure GDA0002618576530000081
Each frequency included in each set of (a) generates a sinusoidal superposition signal correspondingly, and forms a second sequence in sequence
Figure GDA0002618576530000082
Specifically, for the first sequence
Figure GDA0002618576530000083
Generates a sinusoidal superposition signal of duration t at the respective frequencies contained in each set, and forms a second sequence in sequence
Figure GDA0002618576530000084
As described in the example above, the first sequence
Figure GDA0002618576530000085
The frequencies contained in each set of (a) are known, and each frequency is accordingly generated into a sinusoidal superposition signal of duration t.
Step S14, converting the second sequence into a second sequence
Figure GDA0002618576530000086
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
Specifically, the second sequence is added
Figure GDA0002618576530000087
Sequentially performing signal connection on each signal on a time axis to obtain an acoustic code coding signal.
Correspondingly, as described above, for any two or more sound wave signal encoding processes, the same preset frequency set may be selected, and at this time, the sound wave signals are encoded in sequence; different preset frequency sets can also be selected, and at the moment, a plurality of sound wave signals are coded simultaneously. Further, for any two or more sound wave signal encoding processes, the same first sequence may be selected, at this time, different second sequences may also be selected for sequentially encoding the sound wave signals, and at this time, a plurality of sound wave signals are encoded at the same time.
Fig. 2 is a schematic flow chart of an acoustic wave signal decoding method according to an embodiment of the present invention, the decoding method is used for decoding an acoustic wave signal generated by the acoustic wave signal encoding method described above to obtain original acoustic wave data. Specifically, the acoustic wave signal decoding method includes:
step S20, analyzing the received sound wave signal, and according to the pre-selected preset frequency set { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of continuous time length t of the sound wave signal to form a sample set sequence (e)0,e1,…,en+2)。
Wherein n is a natural number, and the value of n is based on the reference set sequence (a)0,a1,…,ab-1) The number of sets contained in (1) is set.
Specifically, the preset frequency set { r } pre-selected in step S201,r2,…,rkAnd preset frequency set (r) selected during coding of sound wave signals1,r2,…,rkSame from the predetermined set of frequencies { r }1,r2,…,rkB different subsets of l-elements are selected to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000091
And is
Figure GDA0002618576530000092
Thus, based on a preset set of frequencies { r) selected at the time of encoding of the acoustic signal1,r2,…,rkThe technical effect that sound wave signal transmission is simultaneously carried out on a plurality of different channel frequencies without influencing each other can be achieved in the systemCorrespondingly, for any more than two sound wave signal decoding processes, the same preset frequency set can be correspondingly selected, and at the moment, the sound wave signals are decoded in sequence; different preset frequency sets can also be selected, and at the moment, a plurality of sound wave signals are decoded simultaneously.
Further, the received acoustic signals are analyzed and based on a preselected set of predetermined frequencies { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of continuous time length t of the sound wave signal to generate a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps:
analyzing the received acoustic signal, at tnPresetting frequency set { r) of sound wave signals in data segment for detecting time length t at time point1,r2,…,rkE, and collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set enFurther, the sequence of sample sets is generated (e)0,e1,…,en+2)。
For example, the preset frequency set { r }1,r2,…,rkThe {18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz } is taken as a reference set sequence (a)0,a1,…,ab-1) The following are:
a0={18.5kHz,18.1kHz};
a1={18.2kHz,18.3kHz};
a2={18.4kHz,18.5kHz};
a3={18.1kHz,18.2kHz};
a4={18.3kHz,18.4kHz};
correspondingly, the received acoustic signals are analyzed, respectively at t0、t1、t2、t3、t4Presetting frequency set { r) of sound wave signals in data segment for detecting time length t at time point1,r2,…,rkAmplitude of the respective frequencies, e.g. at t4Presetting frequency set { r) of sound wave signals in data segment for detecting time length t at time point1,r2,…,rkDetecting 5 frequency amplitudes, namely 0, 1, 2, 3, 4 and 5 respectively, and acquiring 2 sound wave signals with the maximum frequency amplitude from the detected 5 frequency amplitudes, wherein the corresponding frequencies of the 2 sound wave signals are 18.4kHz and 18.5kHz, so as to generate a sample set e4={18.4kHz,18.5kHz}。
Referring to fig. 3, further, in another embodiment, the received acoustic signals are analyzed according to a pre-selected predetermined set of frequencies { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of continuous time length t of the sound wave signal to form a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps:
step S201, pre-calculating a preset frequency set { r }1,r2,…,rkFrequency symmetry interval of each frequency in a preset range.
Specifically, the preset frequency set { r is pre-calculated1,r2,…,rkAnd (4) symmetrical intervals of positive and negative s frequency values of each frequency.
Step S202, analyzing the received sound wave signal, at tnAnd detecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval.
Step S203, selecting | a with the largest frequency amplitude0The interval median of | frequency symmetric intervals form the sample set eiTo generate a sequence of sample sets (e)0,e1,…,en+2). Wherein, | a0I represents the set a0The number of elements involved.
For example, the preset frequency set { r }1,r2,…,rkThe symbols are {18.0kHz, 18.5kHz, 19.0kHz, 19.5kHz, 20.0kHz }, s is 0.2kHz, | a |0For a preset frequency, | 2Set of rates { r1,r2,…,rkEach frequency value in the frequency is calculated for its frequency symmetry interval of ± 0.2kHz, as follows:
r1the symmetric frequency interval of (A) is 17.8 kHz-18.2 kHz;
r2the symmetric frequency interval of the (A) is 18.3 kHz-18.7 kHz;
r3the symmetric frequency interval of the (A) is 18.8 kHz-19.2 kHz;
r4the symmetric frequency interval of the (A) is 19.3 kHz-19.7 kHz;
r5the symmetric frequency interval of the (A) is 19.8 kHz-20.2 kHz;
the received acoustic signal is then analyzed and at t0、t1、t2、t3、t4Detecting the frequency of the acoustic signal in the data segment of time duration t, e.g. at time t4In the data segment of the time length of t detected by the time point, the maximum frequency amplitude values in each frequency symmetric interval are respectively 1, 2, 5, 4 and 3, and then the interval median of 2 frequency symmetric intervals with the maximum frequency amplitude values is selected, namely, the 2 frequency symmetric intervals with the maximum amplitude values are respectively r3Frequency symmetric interval of (1) and r4Then determining the median values of the intervals of the 2 frequency symmetry intervals as 19.0kHz and 19.5kHz respectively to form the sample set e4
The transmission of the acoustic wave signal is easily affected by the environment, or due to the existence of factors such as doppler effect and channel fading, the frequency of the acoustic wave signal drifts, and an effective signal cannot be detected or an identification error cannot be detected when the acoustic wave signal is identified and decoded. Through the sample set screening mode, the frequency symmetry interval of each frequency in the preset frequency set is pre-calculated, so that frequency drift in a certain range including signal whole period drift and partial interval drift can be allowed when the acoustic wave signal is identified, and the | a with the maximum amplitude is selected0The interval median of | frequency symmetric intervals constitutes a sample set, so that the influence of frequency drift on the collected samples is reduced, and the technical effect of accurate sound wave signal identification is finally achieved.
Step S21, according to the sample set sequence (e)0,e1,…,en+2) For reference set sequence (a)0,a1,…,ab-1) The included frequency sets are screened to determine the first sequence
Figure GDA0002618576530000111
In particular, a sequence of sample sets (e) is utilized0,e1,…,en+2) In each sample set eiThe included sound wave signal frequency inquires parameter set sequence (a) in sequence0,a1,…,ab-1) Each reference set a in (a)jTo determine the sample set eiReference set a containing sound wave signals with identical frequenciesj. Further, the sequence is added to the reference set obtained by screening to form a first sequence according to the order of the sample set contained in the sample set sequence. Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0.
For example, the sequence of collected sample sets (e)0,e1,…,en+2) The method specifically comprises the following steps:
e0={18.1kHz,18.2kHz};
e1={18.5kHz,18.1kHz};
e2={18.4kHz,18.5kHz};
e3={18.2kHz,18.3kHz};
e4={18.3kHz,18.4kHz};
from the reference set of sequences (a) as described above0,a1,…,ab-1) Screening with the sample set sequence (e)0,e1,…,en+2) Consistent set to determine the first sequence, i.e., (a)3,a0,a2,a1,a4)。
Step S22, from the first sequence
Figure GDA0002618576530000121
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2And for b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
In particular, when
Figure GDA0002618576530000122
When and (d)n…d1d0)b-2When the data is established, the binary data (d) of b-2 is addedn…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
For example, the first sequence as described above is (a)3,a0,a2,a1,a4) Then n is 2, d2=1,d1=2,d00, so for the first sequence (a) generated3,a0,a2,a1,a4) Processing is performed to generate the ternary data 120, and it is true that 120 is ternary data. Further, the ternary data 120 is converted into decimal data to obtain 15. It follows that the original sound wave data after decoding is 15.
Fig. 4 is a schematic structural diagram of an acoustic signal encoding apparatus according to an embodiment of the present invention. The apparatus 30 includes a setting unit 31, a number system conversion unit 32, a filtering unit sequence conversion unit 33, and an encoding unit 34.
The setting unit 31 is used for setting the frequency according to a preset frequency set { r }1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1)。
Wherein, from a preset frequency set { r }1,r2,…,rkChoosing b different l-element subsets to form a reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000123
And is
Figure GDA0002618576530000124
k. b and l are both natural numbers.
Figure GDA0002618576530000125
Representing the number of times that one element is selected among k elements, i.e., the predetermined set of frequencies { r }1,r2,…,rkTotal number of l-ary subsets in the { C }.
Specifically, the preset frequency set { r }1,r2,…,rkThe preset frequency set { r } is selected according to a channel frequency required for transmitting the acoustic signal, for example, the channel frequency for transmitting the acoustic signal is 17.8 kHz-18.6 kHz1,r2,…,rkIt may be set to {18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }. Thus, based on the preset frequency set { r1,r2,…,rkDue to the arrangement of the acoustic wave transmission device, the technical effect that acoustic wave signal transmission is simultaneously carried out on a plurality of different channel frequencies without influencing each other can be achieved in the system.
Further, for any more than two sound wave signal encoding processes, the same preset frequency set can be selected, and at the moment, the sound wave signals are encoded in sequence; different preset frequency sets can also be selected, and at the moment, a plurality of sound wave signals are coded simultaneously.
Further, the value of k is calculated according to the number of channel frequency points of the sound wave signal required to be transmitted. For example, if the channel frequency of the acoustic signal to be transmitted is 17.8kHz to 18.6kHz and the preset frequency interval is 0.1kHz, the final calculated k value is 7, and accordingly the preset frequency set is {17.9kHz, 18.0kHz, 18.1kHz, 18.2kHz, 18.3kHz, 18.4kHz, 18.5kHz }.
The digital conversion unit 32 is used for performing digital conversion on the acoustic wave signal data to be encoded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2
The sequence conversion unit 33 is used to refer to the set sequence (a)0,a1,…,ab-1) Will be converted intoB-2 system data (d)n…d1d0)b-2The conversion generates a first sequence
Figure GDA0002618576530000131
The encoding unit 34 is configured to encode the first sequence according to a first sequence
Figure GDA0002618576530000132
Each frequency included in each set of (a) generates a sinusoidal superposition signal correspondingly, and forms a second sequence in sequence
Figure GDA0002618576530000133
And combining the second sequence
Figure GDA0002618576530000134
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
Specifically, the encoding unit 34 encodes the first sequence
Figure GDA0002618576530000135
Generates a sinusoidal superposition signal of duration t at the respective frequencies contained in each set, and forms a second sequence in sequence
Figure GDA0002618576530000136
The second sequence is
Figure GDA0002618576530000137
Sequentially performing signal connection on each signal on a time axis to obtain an acoustic code coding signal.
Fig. 5 is a schematic structural diagram of an acoustic wave signal decoding apparatus according to an embodiment of the present invention. The apparatus 40 includes a parsing unit 41, a querying unit 42, a decoding unit 43, and a numerical system conversion unit 44.
The analyzing unit 41 is configured to analyze the received acoustic wave signal and to set a pre-selected preset frequency { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of continuous time length t of the sound wave signal to form a sample set sequence (e)0,e1,…,en+2)。
Wherein n is a natural number, and the value of n is based on the reference set sequence (a)0,a1,…,ab-1) The number of sets contained in (1) is set.
In particular, a pre-selected set of predetermined frequencies { r }1,r2,…,rkAnd preset frequency set (r) selected during coding of sound wave signals1,r2,…,rkSame from the predetermined set of frequencies { r }1,r2,…,rkB different subsets of l-elements are selected to form the reference set sequence (a)0,a1,…,ab-1),
Figure GDA0002618576530000141
And is
Figure GDA0002618576530000142
Thus, based on a preset set of frequencies { r) selected at the time of encoding of the acoustic signal1,r2,…,rkCorrespondingly, for any more than two sound wave signal decoding processes, the same preset frequency set can be correspondingly selected, and at the moment, the sound wave signals are decoded in sequence; different preset frequency sets can also be selected, and at the moment, a plurality of sound wave signals are decoded simultaneously.
Further, the parsing unit 41 is specifically configured to: analyzing the received acoustic signal, at tnThe preset frequency set { r) of the acoustic signals in the data segment of the time duration t detected at the time point1,r2,…,rkAnd collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set eiFurther, furtherGenerating the sequence of sample sets (e)0,e1,…,en+2)。
Further, in this embodiment, the analyzing unit 41 is further specifically configured to:
pre-calculating the preset frequency set { r }1,r2,…,rkFrequency symmetry intervals of each frequency within a preset range;
analyzing the received acoustic signal, at tnDetecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval; and
selecting the maximum frequency amplitude | a0The interval median of | frequency symmetric intervals form the sample set enTo generate the sample set sequence (e)0,e1,…,en+2) (ii) a Wherein, | a0I represents the set a0The number of elements involved.
The transmission of the acoustic wave signal is easily affected by the environment, or due to the existence of factors such as doppler effect and channel fading, the frequency of the acoustic wave signal drifts, and an effective signal cannot be detected or an identification error cannot be detected when the acoustic wave signal is identified and decoded. By the sample set screening method, the frequency symmetry interval of each frequency in the preset frequency set is pre-calculated, so that frequency drift in a certain range can be allowed when the sound wave signal is identified, and the | a with the maximum amplitude is selected0The interval median of | frequency symmetric intervals constitutes a sample set, so that the influence of frequency drift on the collected samples is reduced, and the technical effect of accurate sound wave signal identification is finally achieved.
The query unit 42 is configured to query the sequence of sample sets (e)0,e1,…,en+2) For reference set sequence (a)0,a1,…,ab-1) The included frequency sets are screened to determine the first sequence
Figure GDA0002618576530000151
In particular, the query unit 42 utilizes a sequence of sample sets (e)0,e1,…,en+2) In each sample set eiThe included sound wave signal frequency inquires parameter set sequence (a) in sequence0,a1,…,ab-1) Each reference set a in (a)jTo determine the sample set eiReference set a containing sound wave signals with identical frequenciesj. Further, the sequence is added to the reference set obtained by screening to form a first sequence according to the order of the sample set contained in the sample set sequence. Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0.
The decoding unit 43 is arranged to decode the first sequence from the first sequence
Figure GDA0002618576530000152
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2
The digital system conversion unit 44 is used for converting b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
In particular, when
Figure GDA0002618576530000153
When and (d)n…d1d0)b-2When the system-of-numbers conversion unit 44 is established, the system-of-numbers conversion unit applies the system-of-numbers b-2 (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
The sound wave signal coding and decoding method and device provided by the embodiment of the invention select the preset frequency set and the reference set sequence, screen and splice the preset frequency set and the reference set sequence according to the sound wave signal to be coded after numerical value conversion to obtain the coded sound wave signal, obtain the coded sound wave data by comparing with the pre-selected reference frequency set, select different reference frequencies aiming at different coded sound wave signals, can obviously improve the frequency spectrum efficiency of the sound wave coded signal, and decode the sound wave signal according to the corresponding reference frequency to obtain the transmitted data, thereby improving the recognition rate and the recognition accuracy of the sound wave signal and realizing the frequency division duplex communication of sound wave coding and decoding.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a management server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (15)

1. A method of encoding an acoustic signal, the method comprising:
according to a preset frequency set { r1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure FDA0002618576520000011
And is
Figure FDA0002618576520000012
k. b and l are both natural numbers;
Figure FDA0002618576520000013
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree;
carrying out digital system conversion on the acoustic signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2(ii) a Wherein n is a natural number;
according to the reference set sequence (a)0,a1,…,ab-1) B-2 system data (d) obtained by conversionn…d1d0)b-2The conversion generates a first sequence
Figure FDA0002618576520000014
According to the first sequence
Figure FDA0002618576520000015
Each set of the first and second sets includes a frequency corresponding to each frequency to generate a sinusoidal superposition signal, and a second sequence is formed in sequence
Figure FDA0002618576520000016
And
the second sequence is added
Figure FDA0002618576520000017
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
2. The acoustic signal encoding method of claim 1, wherein the preset set of frequencies { r }1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
3. The acoustic signal encoding method according to claim 1, wherein the preset frequency sets may be the same or different for encoding any two acoustic signals; when the preset frequency sets are the same, the reference set sequences formed correspondingly may be the same or different.
4. An acoustic signal encoding apparatus, the apparatus comprising:
a setting unit for setting the frequency according to a preset frequency set{r1,r2,…,rkForm a reference set sequence (a)0,a1,…,ab-1) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure FDA0002618576520000018
And is
Figure FDA0002618576520000021
k. b and l are both natural numbers;
Figure FDA0002618576520000022
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree;
a digital system conversion unit for performing digital system conversion on the acoustic wave signal data to be coded to obtain n +1 bit b-2 system data (d)n…d1d0)b-2(ii) a Wherein n is a natural number;
a sequence conversion unit for converting the sequence (a) from the reference set0,a1,…,ab-1) B-2 system data (d) obtained by conversionn…d1d0)b-2The conversion generates a first sequence
Figure FDA0002618576520000023
An encoding unit for encoding the first sequence
Figure FDA0002618576520000024
Each set of the first and second sets includes a frequency corresponding to each frequency to generate a sinusoidal superposition signal, and a second sequence is formed in sequence
Figure FDA0002618576520000025
And the second orderColumn(s) of
Figure FDA0002618576520000026
Each signal in the array is spliced in sequence to form an encoded acoustic wave signal.
5. The acoustic signal encoding apparatus of claim 4, wherein the preset set of frequencies { r }1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
6. A method of decoding an acoustic signal, the method comprising:
analyzing the received acoustic signals and according to a preselected set of predetermined frequencies { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure FDA0002618576520000027
And is
Figure FDA0002618576520000028
k. b, l and n are natural numbers;
Figure FDA0002618576520000029
representing the set of preset frequencies r1,r2,…,rkThe total number of the subsets with different l elements;
according to the sample set sequence (e)0,e1,…,en+2) Each sample set e in (1)iThe included sound wave signal frequency successively inquires the reference set sequence (a)0,a1,…,ab-1) Each reference set a in (a)jIncluded sound wave signal frequency to determine with the sample set eiReference set a containing sound wave signals of the same frequencyjAnd arranging the reference set obtained by screening according to the sequence of the sample set contained in the sample set sequence to form a first sequence
Figure FDA0002618576520000031
Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0; and
from the first sequence
Figure FDA0002618576520000032
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2And for the b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
7. The acoustic signal decoding method of claim 6, wherein the preset set of frequencies { r }1,r2,…,rkIs the same as a preset set of frequencies preset for encoding the acoustic signal, said reference set sequence (a)0,a1,…,ab-1) The preset frequency set { r } is the same as a reference set sequence formed by the coded sound wave signals1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
8. A method for decoding an acoustic signal according to claim 7, wherein for decoding any acoustic signal, a plurality of different predetermined sets of frequencies or a plurality of different sequences of reference sets are selected.
9. Method for decoding an acoustic signal according to claim 6, characterized in that the received acoustic signal is analyzed and is grouped according to a preselected preset set of frequencies { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps:
analyzing the received acoustic signal, at tnThe preset frequency set { r) of the acoustic signals in the data segment of the time duration t detected at the time point1,r2,…,rkE, and collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set eiTo generate the sample set sequence (e)0,e1,…,en+2)。
10. Method for decoding an acoustic signal according to claim 6, characterized in that the received acoustic signal is analyzed and is grouped according to a preselected preset set of frequencies { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) The method specifically comprises the following steps:
pre-calculating the preset frequency set { r }1,r2,…,rkFrequency symmetry intervals of each frequency within a preset range;
analyzing the received acoustic signal, at tnDetecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval; and
selecting the frequency with the highest amplitudeLarge | a0The interval median of | frequency symmetric intervals form the sample set eiTo generate the sample set sequence (e)0,e1,…,en+2) (ii) a Wherein, | a0I represents the set a0The number of elements involved.
11. An acoustic signal decoding apparatus, characterized in that the apparatus comprises:
an analysis unit for analyzing the received acoustic signals and according to a pre-selected preset frequency set { r }1,r2,…,rkAnd reference set sequence (a)0,a1,…,ab-1) Acquiring the sound wave signal frequency in each data segment of the sound wave signal with continuous time length of t to generate a sample set sequence (e)0,e1,…,en+2) (ii) a Wherein from the preset set of frequencies { r }1,r2,…,rkChoosing b different subsets of l-elements to form the reference set sequence (a)0,a1,…,ab-1),
Figure FDA0002618576520000041
And is
Figure FDA0002618576520000042
k. b, l and n are natural numbers;
Figure FDA0002618576520000043
representing the set of preset frequencies r1,r2,…,rkThe total number of the l-element mutually-different subsets in the tree;
a query unit for querying from the sequence of sets of samples (e)0,e1,…,en+2) Each sample set e in (1)iThe included sound wave signal frequency successively inquires the reference set sequence (a)0,a1,…,ab-1) Each reference set a in (a)jIncluded sound signal frequency to determine the sampleSet eiReference set a containing sound wave signals of the same frequencyjAnd arranging the reference set obtained by screening according to the sequence of the sample set contained in the sample set sequence to form a first sequence
Figure FDA0002618576520000044
Wherein i and j are natural numbers, n +2 is more than or equal to i and more than or equal to 0, and b-1 is more than or equal to j and more than or equal to 0;
a decoding unit for decoding the first sequence
Figure FDA0002618576520000045
Selecting d in medium sequencen,……d1,d0Form b-2 system data (d)n…d1d0)b-2(ii) a And
a digital system conversion unit for converting the b-2 system data (d)n…d1d0)b-2And performing numerical conversion to obtain original sound wave data.
12. The acoustic signal decoding apparatus of claim 11, wherein the preset set of frequencies { r } is1,r2,…,rkIs the same as a preset set of frequencies preset for encoding the acoustic signal, said reference set sequence (a)0,a1,…,ab-1) The predetermined set of frequencies { r } is the same as a reference set sequence formed by the encoded acoustic signals1,r2,…,rkPresetting channel frequency required by transmitting the acoustic wave signals, and calculating the value of k according to the channel frequency point quantity of the acoustic wave signals required to be transmitted.
13. The acoustic signal decoding device of claim 12, wherein for decoding any acoustic signal, a plurality of different predetermined sets of frequencies or a plurality of different sequences of reference sets can be selected.
14. The method of claim 11The acoustic wave signal decoding device is characterized in that the analysis unit is specifically configured to: analyzing the received acoustic signal, at tnThe preset frequency set { r) of the acoustic signals in the data segment of the time duration t detected at the time point1,r2,…,rkE, and collecting the detected sound wave signal frequency with the maximum frequency amplitude to generate a sample set eiTo generate the sample set sequence (e)0,e1,…,en+2)。
15. The acoustic signal decoding apparatus according to claim 11, wherein the parsing unit is specifically configured to:
pre-calculating the preset frequency set { r }1,r2,…,rkFrequency symmetry intervals of each frequency within a preset range;
analyzing the received acoustic signal, at tnDetecting the sound wave signal frequency in the data segment of the time length t at the time point to determine the maximum frequency amplitude in each frequency symmetric interval; and
selecting the maximum frequency amplitude | a0The interval median of | frequency symmetric intervals form the sample set eiTo generate the sample set sequence (e)0,e1,…,en+2) (ii) a Wherein, | a0I represents the set a0The number of elements involved.
CN201810833304.4A 2018-07-26 2018-07-26 Sound wave signal encoding and decoding methods and devices Active CN109150320B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810833304.4A CN109150320B (en) 2018-07-26 2018-07-26 Sound wave signal encoding and decoding methods and devices
PCT/CN2019/090056 WO2020019879A1 (en) 2018-07-26 2019-06-05 Acoustic wave signal encoding and decoding methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810833304.4A CN109150320B (en) 2018-07-26 2018-07-26 Sound wave signal encoding and decoding methods and devices

Publications (2)

Publication Number Publication Date
CN109150320A CN109150320A (en) 2019-01-04
CN109150320B true CN109150320B (en) 2020-10-30

Family

ID=64799036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810833304.4A Active CN109150320B (en) 2018-07-26 2018-07-26 Sound wave signal encoding and decoding methods and devices

Country Status (2)

Country Link
CN (1) CN109150320B (en)
WO (1) WO2020019879A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150320B (en) * 2018-07-26 2020-10-30 厦门声连网信息科技有限公司 Sound wave signal encoding and decoding methods and devices

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101163748B1 (en) * 2009-12-29 2012-07-09 경희대학교 산학협력단 Wireless audio system based binary-code division multiple access
CN103312419B (en) * 2012-03-07 2015-05-20 苏州汉朗光电有限公司 Method and system for data communication based on audio or ultrasonic
JP5997592B2 (en) * 2012-04-27 2016-09-28 株式会社Nttドコモ Speech decoder
CA2918281C (en) * 2013-07-19 2022-07-19 Verasonics, Inc. Method and system for arbitrary waveform generation using a tri-state transmit pulser
CN104243052B (en) * 2014-07-24 2017-01-18 福建星网锐捷通讯股份有限公司 Sound wave communication coding and decoding method and device
CN105281842B (en) * 2014-07-24 2018-10-16 福建星网视易信息系统有限公司 The encoding of a kind of acoustic communication, decoded method and apparatus
CN108075837B (en) * 2016-11-14 2021-04-27 佛山市顺德区美的电热电器制造有限公司 Hexadecimal coding and decoding method and device for ultrasonic communication
CN107547142B (en) * 2017-08-31 2022-01-14 努比亚技术有限公司 Ultrasonic wave-based communication method, device and computer-readable storage medium
CN109150320B (en) * 2018-07-26 2020-10-30 厦门声连网信息科技有限公司 Sound wave signal encoding and decoding methods and devices

Also Published As

Publication number Publication date
CN109150320A (en) 2019-01-04
WO2020019879A1 (en) 2020-01-30

Similar Documents

Publication Publication Date Title
KR102362368B1 (en) Data transmission/reception method and data transmission system through sound wave
IL271502A (en) Adaptive processing with multiple media processing nodes
CA3168921A1 (en) Method and apparatus for compressing and decompressing a higher order ambisonics representation
CN101421780B (en) Method and device for encoding and decoding time-varying signal
KR102614021B1 (en) Audio content recognition method and device
CN101918999A (en) Methods and apparatus to perform audio watermarking and watermark detection and extraction
EP2137726A1 (en) A method and an apparatus for processing an audio signal
CN111316353B (en) Determining spatial audio parameter coding and associated decoding
RU2008105556A (en) AUDIO CODING AND DECODING
CN111758228A (en) Phase shift keying signaling tones
CN105281842A (en) Coding and decoding methods and devices of sound wave communicaiton
CN102870155A (en) Method and apparatus for processing an audio signal
CN103620674A (en) Transform audio codec and methods for encoding and decoding a time segment of an audio signal
CN103650037A (en) Sample rate scalable lossless audio coding
US11869523B2 (en) Method and apparatus for decoding a bitstream including encoded higher order ambisonics representations
CN104243052A (en) Sound wave communication coding and decoding method and device
JP2016540241A (en) Audio encoder and decoder
CN109150320B (en) Sound wave signal encoding and decoding methods and devices
KR20060131781A (en) Transconding between the indices of multipulse dictionaries used for coding in digital signal compression
Ren et al. Spec-resnet: a general audio steganalysis scheme based on deep residual network of spectrogram
CN103033705A (en) Test method and test system of electronic equipment
CN102119413B (en) Acoustic signal processing system, acoustic signal decoding device, and processing method therein
EP2242047B1 (en) Method and apparatus for identifying frame type
CN108964786B (en) Method and device for coding and decoding sound wave signal
CN1227812C (en) Generating coefficients for prediction filter in encoder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant