CN104700837A - Method and device for sending and receiving audio signals - Google Patents
Method and device for sending and receiving audio signals Download PDFInfo
- Publication number
- CN104700837A CN104700837A CN201310659758.1A CN201310659758A CN104700837A CN 104700837 A CN104700837 A CN 104700837A CN 201310659758 A CN201310659758 A CN 201310659758A CN 104700837 A CN104700837 A CN 104700837A
- Authority
- CN
- China
- Prior art keywords
- packet
- carrier signal
- frequency
- data
- sample value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B11/00—Transmission systems employing sonic, ultrasonic or infrasonic waves
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0057—Block codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Transmitters (AREA)
- Telephone Function (AREA)
Abstract
The invention is suitable for the technical field of communication and provides a method and a device for sending and receiving audio signals. The method includes: dividing audio data needing to be sent into at least two data packets; dividing each two data packets into a group; adopting pre-selected carrier waves different in frequency to code the data packets in each group to acquire symbol sampling point values after coding, and overlapping the symbol sampling points to generate overlapping sampling point value data; controlling a loudspeaker to send the overlapping sampling point value data to a receiving end. The data packets in each group are modulated and coded by adopting carrier wave signals different in frequency, the carrier wave signals carry different data content, and the data packets in each group are sent to the receiving end at the same time by means of data overlapping, so that communication rate of audio data can be increased.
Description
Technical field
The invention belongs to communication technical field, particularly relate to a kind of sending, receiving method and device of sound signal.
Background technology
In today that smart mobile phone is universal, the communication interface that mobile phone is external, peripherals is also various, and wherein the versatility of audio input output interface is the strongest, substantially all mobile phones and panel computer have loudspeaker and this audio input output interface of microphone, and therefore audio communication system and application also will slowly be popularized.
But, due to little by the voltage compare of the audio input output interface input of the terminal device such as mobile phone and panel computer or the sound signal (comprising the sound signal of microphone MIC admission and the sound signal of loudspeaker broadcasting) of output, substantially be all millivolt level, very easily be disturbed, and the sample frequency major part of the sound signal of most of terminal device is all 44.1KHZ, and the number of the sampled point of each signal period can not be very little, when this will cause adopting these terminal devices to carry out voice communication, the baud rate of communication is lower, if and improve the traffic rate of wireless air, be disturbed than being easier to again.
Summary of the invention
Embodiments provide a kind of sending, receiving method and device of sound signal, be intended to solve the terminal device that provides of prior art, when carrying out voice communication, the problem that the baud rate of communication is lower.
On the one hand, provide a kind of sending method of sound signal, described method comprises:
At least two packets are divided into by needing the voice data sent;
Every two packets are divided into one group;
Adopt the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, generate superposition sample value data;
Control loudspeaker and send described superposition sample value data to receiving end.
Further, described, every two packets are divided into after one group, also comprise step:
Calculate the value after every two packet phase XORs, using three packet of this value as this group.
Further, before the voice data sent by needs is divided at least two packets, also step is comprised:
Select the carrier signal of low frequency, intermediate frequency and high frequency three different frequencies;
The carrier signal of intermediate frequency is adopted to encode to described 3rd packet.
Further, adopt the carrier signal of the different frequency of preliminary election to encode described respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, after generating superposition sample value data, also comprise:
Export described superposition sample value data to digital analog converter DAC;
Described superposition sample value data are converted to simulating signal and export loudspeaker to by control DAC.
On the other hand, provide a kind of dispensing device of sound signal, described dispensing device comprises:
Data dividing unit, for needing the voice data sent to be divided at least two packets;
Packet grouped element, for being divided into one group by every two packets;
Data packet coding unit, for adopting the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtaining the symbol sample value after encoding, carrying out overlap-add procedure to described symbol sample value, generates superposition sample value data;
Data sending controling unit, sends described simulating signal to receiving end for controlling loudspeaker.
Further, described dispensing device also comprises:
Preliminary data bag generation unit, for calculating the value after every two packet phase XORs, using three packet of this value as this group.
Further, described dispensing device also comprises:
Frequency selection unit, for selecting the carrier signal of low frequency, intermediate frequency and high frequency three different frequencies;
Described data packet coding unit adopts the carrier signal of intermediate frequency to encode to the 3rd packet that described 3rd packet generation unit generates.
Further, described dispensing device also comprises:
Data outputting unit, for exporting described superposition sample value data to digital analog converter DAC;
Described superposition sample value data are converted to simulating signal and export loudspeaker to for control DAC by Date Conversion Unit.
Again on the one hand, provide a kind of method of reseptance of sound signal, described method comprises:
Start the recording that recording module carries out sound signal, generate recording file;
According to the frequency values of the carrier signal that transmitting terminal is selected, start the decoding thread of the carrier signal of different frequency, by described decoding thread, described audio file is decoded.
Further, at the described frequency values of carrier signal selected according to transmitting terminal, start the decoding thread of the carrier signal of different frequency, after by described thread described audio file being decoded, also comprise:
Whether checking decoded result is correct;
If the packet error in intercarrier signal or loss, then parse the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal;
If the packet error on high frequency or low frequency carrier signal or loss, obtain the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
Another aspect, provides a kind of receiving trap of sound signal, and described device comprises:
Recording file generation unit, carries out the recording of sound signal for starting recording module, generate recording file;
Decoding unit, for the frequency values of carrier signal selected according to transmitting terminal, starts the decoding thread of the carrier signal of different frequency, is decoded by described decoding thread to described audio file.
Further, described receiving trap also comprises:
Authentication unit, for verifying that whether decoded result is correct;
First resolution unit, if the packet error in intercarrier signal or loss, then parses the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal;
Second resolution unit, if the packet error on high frequency or low frequency carrier signal or loss, obtains the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
In the embodiment of the present invention, because two packets in every group adopt the carrier signal of different frequencies to carry out modulating-coding, the data content that each carrier signal load is different, and two data in every group are wrapped in the same time by the mode of data investigation and send to receiving end simultaneously, the traffic rate of voice data can be promoted.Such as, for two packets of the often group in the present embodiment, when communication link symbol rate is identical, complete the half that the transmission of voice data and data re-transmitting once required time are traditional approach, traffic rate is the efficiency of the twice of traditional approach.
Accompanying drawing explanation
Fig. 1 is the realization flow figure that the embodiment of the present invention one provides the sending method of sound signal;
Fig. 2 is the realization flow figure that the embodiment of the present invention two provides the sending method of sound signal;
Fig. 3 is the beneficial effect schematic diagram that the embodiment of the present invention two provides the sending method of sound signal;
Fig. 4 is the realization flow figure that the embodiment of the present invention three provides the method for reseptance of sound signal;
Fig. 5 is the structured flowchart of the dispensing device of the sound signal that the embodiment of the present invention four provides;
Fig. 6 is the structured flowchart of the dispensing device of the sound signal that the embodiment of the present invention five provides;
Fig. 7 is the structured flowchart of the receiving trap of the sound signal that the embodiment of the present invention six provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In embodiments of the present invention, first will the voice data sent be needed to be divided into multiple packet, divide every two packets into one group again, then the carrier wave of the different frequency of preliminary election is adopted to encode respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, generates superposition sample value data, control loudspeaker and described superposition sample value data are sent to receiving end.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the method for the transmission sound signal that the embodiment of the present invention one provides, and to be sent as example to be described, details are as follows:
In step S101, be divided at least two packets by needing the voice data sent.
In the present embodiment, to needing the voice data sent to carry out subpackage process with predetermined length, at least two packets are divided into.Such as, the length needing the voice data sent is 16bit, and predetermined length is 4bit, then the packet that can will the voice data sent be needed to be divided into 4 4bit.
In step s 102, every two packets are divided into one group.
In the present embodiment, divide every two packets into a group, all packets are divided into several groups, if the number that step S201 divides the packet obtained is odd number, then the packet of last packet and a full 0 combines, and both form a group.
Wherein, one group is divided into two packets in the present embodiment, certainly, also other number packet can be divided into one group, do not limit at this, when just the number of packet is two in each group, only need two-way carrier signal, and in each group during the increased number of packet, the number of the carrier wave of needs is more.
Wherein, the working frequency points of each road carrier signal is different, but modulation system is identical, and the data content that each road carrier signal is transmitted is different, but the data that every road carrier signal is transmitted exist relevance in terms of content.Such as, in the present embodiment, the data that first via carrier signal is transmitted are first packets often in group, and the data that the second tunnel carrier signal is transmitted are second packets often in group; Certainly, the data that first via carrier signal is transmitted are second packets often in group, and the data that the second tunnel carrier signal is transmitted are first packets often in group, do not limit at this.
In step s 103, adopt the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, generate superposition sample value data.
In the present embodiment, can select the carrier signal of two frequencies in advance, as two-way carrier signal, the frequency of this two-way carrier signal is respectively low frequency 5K and high frequency 12K, during selection, avoids 2 subharmonic and 3 subharmonic of low frequency as far as possible.Then adopt low frequency 5K and high frequency 12K to carry out modulating-coding to the packet of two in each group respectively, calculate the symbol sample value after two data packet codings, then overlap-add procedure is carried out to these sample value, generate superposition sample value data.
Concrete, in the present embodiment, superposition sample value data are exported to digital analog converter (Digital toanalog converter, DAC), described superposition sample value data are converted to simulating signal and export loudspeaker to by control DAC again, finally by loudspeaker, described simulating signal are sent to receiving end.
In step S104, control loudspeaker and send described superposition sample value data to receiving end.
The present embodiment, first will the voice data sent be needed to be divided into multiple packet, divide every two packets into one group again, then the carrier wave of the different frequency of preliminary election is adopted to encode respectively to each packet in every group, obtain the symbol sample value after encoding, described symbol sample value is superposed, generate superposition sample value data, and export superposition sample value data to loudspeaker, finally by loudspeaker, described superposition sample value data are sent to receiving end.Because two packets in every group adopt the carrier signal of different frequencies to carry out modulating-coding, the data content that each carrier signal load is different, and two data are wrapped in the same time by the mode of data investigation and send to receiving end simultaneously, the traffic rate of voice data can be promoted.Such as, for two packets of the often group in the present embodiment, when communication link symbol rate is identical, complete the half that the transmission of voice data and data re-transmitting once required time are traditional approach, traffic rate is the efficiency of the twice of traditional approach.
One of ordinary skill in the art will appreciate that all or part of step realized in the various embodiments described above method is that the hardware that can carry out instruction relevant by program has come, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
Embodiment two
Fig. 2 shows the realization flow of the method for the transmission sound signal that the embodiment of the present invention two provides, and be described for transmitting terminal, details are as follows:
In step s 201, will the voice data sent be needed to be divided at least two packets.
In step S202, divide every two packets into one group.
In step S203, calculate the value after every two packet phase XORs, using three packet of this value as this group.
In embodiments of the present invention, two packets calculated in each group carry out the value after XOR process, using three packet of this value as this group.
In step S204, adopt the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, generate superposition sample value data.
In embodiments of the present invention, on the basis of embodiment one step S103, a more selected frequency, using this frequency as the frequency of the packet of the 3rd in each group being carried out to the carrier signal of modulating-coding.
In the present embodiment, this selected frequency is intermediate frequency 8K.Therefore, intermediate frequency 8K can be adopted respectively to carry out modulating-coding to the packet of the 3rd in each group.
Certainly, 3rd packet also can not be placed on intermediate frequency, but according in actual applications, during frequency response analysis to mobile terminal, the response of mobile terminal to intermediate frequency is better, so the 3rd packet obtained after the first packet and the second packet are carried out XOR is put on intermediate frequency carry out modulating-coding, XOR can better be carried out with other two paths of data bag and go out result.
In this step, the carrier signal of 3 of preliminary election different frequencies is adopted to encode respectively to 3 packets in every group, obtain the symbol sample value after encoding, again overlap-add procedure is carried out to these symbol sample value, generate superposition sample value data, last and generations is superposed sample value data export digital analog converter DAC to, by DAC, described superposition sample value data converted to simulating signal and export loudspeaker to, finally sending described simulating signal to receiving end by loudspeaker.Wherein, the frequency of this 3 tunnel carrier signal is respectively low frequency 5K, intermediate frequency 8K and high frequency 12K.
In step S205, control loudspeaker and send described superposition sample value data to receiving end.
The present embodiment, because two packets in every group adopt the carrier signal of different frequencies to carry out modulating-coding, the data content that each carrier signal load is different, and two data are wrapped in the same time by the mode of data investigation and send to receiving end simultaneously, the traffic rate of voice data can be promoted.In addition, the 3rd packet is all included in each group, 3rd packet is the value obtained after two packets often in group carry out XOR process, receiving end is after the sound signal receiving transmitting terminal transmission, even if there is a packet generation packet loss in each group, all the other two-way carrier signals also carry out the data content included by packet that proper solution separates out this packet loss by algorithm relation, improve the communication success ratio of system.
Fig. 3 can simply note the effect that can be reached by this mode of embodiment two, is described as follows:
Definition needs the voice data sent to be D, traditional approach uses carrier way to carry out the transmission of sound signal, if this year wave frequency is f0, use the carrier signal of 3 kinds of different frequencies in the present embodiment, therefore can be called multi-carrier mode, the frequency of the carrier signal that multi-carrier mode uses is respectively f0, f1, f2, data re-transmitting 1 time, as can be seen from Figure 3:
(1), when adopting traditional carrier way transmitting audio data, completing the time that a secondary data D sends is T2, and completes data, retransmits 1 needs time T3;
(2), adopt multi-carrier mode transmitting audio data time, will need send Data Placement be packet d0, d1, wherein carrier wave f0 send data content be d0, d1; The data content that carrier wave f1 sends is d0XORd1; The data content that carrier wave f2 sends is d1, d0; As shown in Figure 3, under multi-carrier mode, the time completing a voice data transmission is T1, and completing 1 the needs time of data re-transmitting is T2.
Therefore, when communication link symbol rate is identical, multi-carrier mode completes the half that the transmission of data D and data re-transmitting once required time are traditional approach, makes the traffic rate of application data under multi-carrier mode be the efficiency of the twice of traditional approach.
Embodiment three
Fig. 4 shows the realization flow of the method for reseptance of the sound signal that the embodiment of the present invention three provides, and be described for receiving end, details are as follows:
In step S401, start the recording that recording module carries out sound signal, generate recording file.
In the embodiment of the present invention, receiving end first carries out system initialization, starts the recording that recording module carries out sound signal, generates recording file.
In step S402, according to the frequency values of the carrier signal that transmitting terminal is selected, start the decoding thread of the carrier signal of different frequency, by described decoding thread, described audio file is decoded.
In the embodiment of the present invention, the frequency values of the carrier signal that receiving end can be selected according to transmitting terminal, starts the decoding thread of the carrier signal of different frequency, is decoded by thread of decoding accordingly to audio file.
Wherein, if the frequency of the carrier signal that transmitting terminal is selected is low frequency 5K and high frequency 12K, then represent that audio file is the voice data of being encoded by low frequency 5K and high frequency 12K, receiving end starts low frequency 5K and high frequency 12K decoding thread corresponding respectively, respectively the voice data that low frequency 5K and high frequency 12K encodes is decoded by these two threads, obtain the first packet in each group of transmitting terminal transmission and the second packet.
If the frequency of the carrier signal that transmitting terminal is selected is low frequency 5K, intermediate frequency 8K and high frequency 12K, then represent that audio file is the voice data of being encoded by low frequency 5K, intermediate frequency 8K and high frequency 12K, receiving end starts low frequency 5K, intermediate frequency 8K and high frequency 12K decoding thread corresponding respectively, respectively the voice data that low frequency 5K, intermediate frequency 8K, high frequency 12K encode is decoded by these two threads, obtain the first packet, the 3rd packet and the second packet in each group of transmitting terminal transmission.
Wherein, as a preferred embodiment of the present invention, after step S402, can also comprise the following steps:
In step S403, whether checking decoded result is correct, if correctly, then performs step S404; Otherwise, if the packet error in intercarrier signal or loss, then perform step S405; If the packet error on high frequency or low frequency carrier signal or loss, then perform step S406.
In step s 404, directly decoded result is exported.
In step S405, parse the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal.
In step S406, obtain the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
Embodiment four
Fig. 5 shows the concrete structure block diagram of the dispensing device of the sound signal that the embodiment of the present invention four provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The dispensing device 5 of this sound signal comprises: data dividing unit 51, packet grouped element 52, data packet coding unit 53, digital analog converter 54 and loudspeaker 55.
Wherein, data dividing unit 51, for needing the voice data sent to be divided at least two packets;
Packet grouped element 52, for being divided into one group by every two packets;
Data packet coding unit 53, for adopting the carrier wave of the different frequency of preliminary election to encode respectively to each packet in every group, obtaining the symbol sample value after encoding, carrying out overlap-add procedure to described symbol sample value, generates superposition sample value data;
Data sending controling unit 54, sends described superposition sample value data to receiving end for controlling loudspeaker.
Further, described dispensing device 5 also comprises:
Data outputting unit, for exporting described superposition sample value data to digital analog converter DAC;
Described superposition sample value data are converted to simulating signal and export loudspeaker to for control DAC by Date Conversion Unit.
The dispensing device of the sound signal that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, see the description of above-described embodiment one, do not repeat them here.
Embodiment five
Fig. 6 shows the concrete structure block diagram of the dispensing device of the sound signal that the embodiment of the present invention five provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The dispensing device 6 of this sound signal comprises data dividing unit 51, packet grouped element 52, data packet coding unit 53 and data sending controling unit 54 in embodiment four, also comprises preliminary data bag generation unit 61.
Wherein, preliminary data bag generation unit 61, for calculating the value after every two the packet phase XORs in each group of packet grouped element 52 division, using three packet of this value as this group.
Further, described dispensing device also comprises:
Frequency selection unit, for selecting the carrier signal of low frequency, intermediate frequency and high frequency three different frequencies;
Described data packet coding unit 53 adopts the carrier signal of intermediate frequency to encode to the 3rd packet that described preliminary data bag generation unit 61 generates.
The dispensing device of the sound signal that the embodiment of the present invention provides can be applied in the embodiment of the method two of aforementioned correspondence, and details, see the description of above-described embodiment two, do not repeat them here.
Embodiment six
Fig. 7 shows the concrete structure block diagram of the receiving trap of the sound signal that the embodiment of the present invention six provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The receiving trap 7 of this sound signal comprises recording file generation unit 71 and decoding unit 72.
Wherein, recording file generation unit 71, carries out the recording of sound signal for starting recording module, generates recording file;
Decoding unit 72, for the frequency values of carrier signal selected according to transmitting terminal, starts the decoding thread of the carrier signal of different frequency, is decoded by described decoding thread to described audio file.
Further, as a preferred embodiment of the present invention, described device 7 also comprises:
Authentication unit, for verifying that whether decoded result is correct;
First resolution unit, if the packet error in intercarrier signal or loss, then parses the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal;
Second resolution unit, if the packet error on high frequency or low frequency carrier signal or loss, obtains the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
The receiving trap of the sound signal that the embodiment of the present invention provides can be applied in the embodiment of the method three of aforementioned correspondence, and details, see the description of above-described embodiment three, do not repeat them here.
It should be noted that in said system embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a sending method for sound signal, is characterized in that, described method comprises:
At least two packets are divided into by needing the voice data sent;
Every two packets are divided into one group;
Adopt the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, generate superposition sample value data;
Control loudspeaker and send described superposition sample value data to receiving end.
2. the method for claim 1, is characterized in that, is divided into after one group by every two packets, also comprises step described:
Calculate the value after every two packet phase XORs, using three packet of this value as this group.
3. method as claimed in claim 2, is characterized in that, before the voice data sent by needs is divided at least two packets, also comprises step:
Select the carrier signal of low frequency, intermediate frequency and high frequency three different frequencies;
The carrier signal of intermediate frequency is adopted to encode to described 3rd packet.
4. the method for claim 1, it is characterized in that, the carrier signal of the different frequency of preliminary election is adopted to encode described respectively to each packet in every group, obtain the symbol sample value after encoding, overlap-add procedure is carried out to described symbol sample value, after generating superposition sample value data, also comprise:
Export described superposition sample value data to digital analog converter DAC;
Described superposition sample value data are converted to simulating signal and export loudspeaker to by control DAC.
5. a dispensing device for sound signal, is characterized in that, described dispensing device comprises:
Data dividing unit, for needing the voice data sent to be divided at least two packets;
Packet grouped element, for being divided into one group by every two packets;
Data packet coding unit, for adopting the carrier signal of the different frequency of preliminary election to encode respectively to each packet in every group, obtaining the symbol sample value after encoding, carrying out overlap-add procedure to described symbol sample value, generates superposition sample value data;
Data sending controling unit, sends described simulating signal to receiving end for controlling loudspeaker.
6. dispensing device as claimed in claim 5, it is characterized in that, described dispensing device also comprises:
Preliminary data bag generation unit, for calculating the value after every two packet phase XORs, using three packet of this value as this group.
7. dispensing device as claimed in claim 6, it is characterized in that, described dispensing device also comprises:
Frequency selection unit, for selecting the carrier signal of low frequency, intermediate frequency and high frequency three different frequencies;
Described data packet coding unit adopts the carrier signal of intermediate frequency to encode to the 3rd packet that described 3rd packet generation unit generates.
8. dispensing device as claimed in claim 5, it is characterized in that, described dispensing device also comprises:
Data outputting unit, for exporting described superposition sample value data to digital analog converter DAC;
Described superposition sample value data are converted to simulating signal and export loudspeaker to for control DAC by Date Conversion Unit.
9. a method of reseptance for sound signal, is characterized in that, described method comprises:
Start the recording that recording module carries out sound signal, generate recording file;
According to the frequency values of the carrier signal that transmitting terminal is selected, start the decoding thread of the carrier signal of different frequency, by described decoding thread, described audio file is decoded.
10. method as claimed in claim 9, is characterized in that, at the frequency values of the described carrier signal selected according to transmitting terminal, starts the decoding thread of the carrier signal of different frequency, after being decoded, also comprises by described thread to described audio file:
Whether checking decoded result is correct;
If the packet error in intercarrier signal or loss, then parse the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal;
If the packet error on high frequency or low frequency carrier signal or loss, obtain the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
The receiving trap of 11. 1 kinds of sound signals, is characterized in that, described device comprises:
Recording file generation unit, carries out the recording of sound signal for starting recording module, generate recording file;
Decoding unit, for the frequency values of carrier signal selected according to transmitting terminal, starts the decoding thread of the carrier signal of different frequency, is decoded by described decoding thread to described audio file.
12. receiving traps as claimed in claim 11, it is characterized in that, described receiving trap also comprises:
Authentication unit, for verifying that whether decoded result is correct;
First resolution unit, if the packet error in intercarrier signal or loss, then parses the packet on low frequency and high-frequency carrier signal by high and low frequency carrier signal;
Second resolution unit, if the packet error on high frequency or low frequency carrier signal or loss, obtains the packet in an other road carrier signal with the packet in all the other road carrier signals of the packet XOR in carrier signal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310659758.1A CN104700837B (en) | 2013-12-09 | 2013-12-09 | The sending, receiving method and device of a kind of audio signal |
PCT/CN2014/092091 WO2015085859A1 (en) | 2013-12-09 | 2014-11-24 | Audio signal sending and receiving method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310659758.1A CN104700837B (en) | 2013-12-09 | 2013-12-09 | The sending, receiving method and device of a kind of audio signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104700837A true CN104700837A (en) | 2015-06-10 |
CN104700837B CN104700837B (en) | 2018-04-24 |
Family
ID=53347892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310659758.1A Active CN104700837B (en) | 2013-12-09 | 2013-12-09 | The sending, receiving method and device of a kind of audio signal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104700837B (en) |
WO (1) | WO2015085859A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105790854A (en) * | 2016-03-01 | 2016-07-20 | 济南中维世纪科技有限公司 | Short distance data transmission method and device based on sound waves |
CN110007894A (en) * | 2019-03-29 | 2019-07-12 | 百度在线网络技术(北京)有限公司 | For sending the method and device of audio-frequency information |
CN111371466A (en) * | 2020-03-09 | 2020-07-03 | 珠海格力电器股份有限公司 | Communication method, device and system capable of improving communication rate in unit time |
CN114296758A (en) * | 2021-12-24 | 2022-04-08 | 上海物骐微电子有限公司 | Firmware sending method, firmware receiving method and firmware upgrading system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040001553A1 (en) * | 2002-07-01 | 2004-01-01 | Jack Steentra | Communication using audible tones |
CN101390315A (en) * | 2006-02-22 | 2009-03-18 | 株式会社Ntt都科摩 | Acoustic signal transmission system, modulation device, demodulation device, and acoustic signal transmission method |
CN102394724A (en) * | 2011-11-01 | 2012-03-28 | 南京音优行信息技术有限公司 | Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves |
CN102546032A (en) * | 2012-01-20 | 2012-07-04 | 北京印天网真科技有限公司 | Wireless transmitting and receiving method, wireless transmitting and receiving device, wireless communication method and wireless communication system |
CN202513951U (en) * | 2012-02-27 | 2012-10-31 | 华南理工大学 | Multi sub-band acoustic anti-Doppler modulation and demodulation device based on auxiliary pilot frequency |
CN103312419A (en) * | 2012-03-07 | 2013-09-18 | 苏州汉朗光电有限公司 | Method and system for data communication based on audio or ultrasonic |
-
2013
- 2013-12-09 CN CN201310659758.1A patent/CN104700837B/en active Active
-
2014
- 2014-11-24 WO PCT/CN2014/092091 patent/WO2015085859A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040001553A1 (en) * | 2002-07-01 | 2004-01-01 | Jack Steentra | Communication using audible tones |
CN101390315A (en) * | 2006-02-22 | 2009-03-18 | 株式会社Ntt都科摩 | Acoustic signal transmission system, modulation device, demodulation device, and acoustic signal transmission method |
CN102394724A (en) * | 2011-11-01 | 2012-03-28 | 南京音优行信息技术有限公司 | Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves |
CN102546032A (en) * | 2012-01-20 | 2012-07-04 | 北京印天网真科技有限公司 | Wireless transmitting and receiving method, wireless transmitting and receiving device, wireless communication method and wireless communication system |
CN202513951U (en) * | 2012-02-27 | 2012-10-31 | 华南理工大学 | Multi sub-band acoustic anti-Doppler modulation and demodulation device based on auxiliary pilot frequency |
CN103312419A (en) * | 2012-03-07 | 2013-09-18 | 苏州汉朗光电有限公司 | Method and system for data communication based on audio or ultrasonic |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105790854A (en) * | 2016-03-01 | 2016-07-20 | 济南中维世纪科技有限公司 | Short distance data transmission method and device based on sound waves |
CN110007894A (en) * | 2019-03-29 | 2019-07-12 | 百度在线网络技术(北京)有限公司 | For sending the method and device of audio-frequency information |
CN111371466A (en) * | 2020-03-09 | 2020-07-03 | 珠海格力电器股份有限公司 | Communication method, device and system capable of improving communication rate in unit time |
CN114296758A (en) * | 2021-12-24 | 2022-04-08 | 上海物骐微电子有限公司 | Firmware sending method, firmware receiving method and firmware upgrading system |
Also Published As
Publication number | Publication date |
---|---|
CN104700837B (en) | 2018-04-24 |
WO2015085859A1 (en) | 2015-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5379127B2 (en) | Convolutional coding with high computational efficiency by rate matching | |
CN110249539B (en) | Polar code interleaving and bit selection | |
CN102394724B (en) | Highly-reliable data transmission method and device based on dual tone multiple frequency sound waves | |
CN102035622B (en) | Device, system and method of communicating data over wireless communication symbols with check code | |
CN109194620A (en) | Multichannel communication method, intelligent gateway and readable storage medium storing program for executing | |
CN104700837A (en) | Method and device for sending and receiving audio signals | |
CN104602364A (en) | Method for connecting wireless device to wireless access point and wireless device, intelligent terminal | |
CN102460572A (en) | Encoder, decoder, encoding method, and decoding method | |
TWI765359B (en) | Joint encoding schemes with interleaver and tone mapper for multi-ru operation | |
CN104868971A (en) | Interleaving mapping method of LDPC code words, and de-interleaving de-mapping method of LDPC code words | |
CN103347229A (en) | Audio signal processing device | |
EP3456010A1 (en) | Wireless communication device, transmitter and methods therein | |
CN102832968A (en) | Method for performing communication between mobile phone and equipment by using audio interface | |
CN104243052A (en) | Sound wave communication coding and decoding method and device | |
JP2006211682A (en) | Interleaving method at transmitting end and data processing method | |
CN116318385A (en) | Signal modulation method and system of coherent light module | |
CN105636023A (en) | Smart device binding method and system | |
CN104853447B (en) | A kind of data information processing method and device | |
JP2023530724A (en) | Data modulation method, apparatus, apparatus and storage medium | |
CN115603864B (en) | Rate matching method and device, and channel interleaving method and device | |
KR20220028123A (en) | Method and equipment for sidelink rate matching and resource mapping | |
JPWO2008044306A1 (en) | Method and apparatus for creating DVB-H signal having desired bit rate | |
CN105450333A (en) | Interleaving mapping method and de-interleaving de-mapping method for LDPC code words | |
CN105657592B (en) | A kind of audio communication method and device | |
CN108964834A (en) | Data transmission method, chip, transceiver and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |