[go: up one dir, main page]

CN108551386A - A kind of method and device by voice channel transmitting digital signals - Google Patents

A kind of method and device by voice channel transmitting digital signals Download PDF

Info

Publication number
CN108551386A
CN108551386A CN201810359539.4A CN201810359539A CN108551386A CN 108551386 A CN108551386 A CN 108551386A CN 201810359539 A CN201810359539 A CN 201810359539A CN 108551386 A CN108551386 A CN 108551386A
Authority
CN
China
Prior art keywords
voice channel
digital signals
amr
data
transmitting digital
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.)
Pending
Application number
CN201810359539.4A
Other languages
Chinese (zh)
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.)
Tianjin Photoelectric Fengtai Science And Technology Co Ltd
Original Assignee
Tianjin Photoelectric Fengtai Science And 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 Tianjin Photoelectric Fengtai Science And Technology Co Ltd filed Critical Tianjin Photoelectric Fengtai Science And Technology Co Ltd
Priority to CN201810359539.4A priority Critical patent/CN108551386A/en
Publication of CN108551386A publication Critical patent/CN108551386A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • 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)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The present invention provides a kind of method by voice channel transmitting digital signals and uses device of this method by voice channel transmitting digital signals, it is transmitted by voice channel including former data are carried out coding, the process being decoded after the completion is transmitted, and can realize the device of this process.The beneficial effects of the invention are as follows may be implemented to transmit digital signal under voice channel, implementation method is relatively simple, avoids a large amount of complex mathematical operation, and selected chip is cost-effective, reduces cost, improves resource utilization.

Description

A kind of method and device by voice channel transmitting digital signals
Technical field
The invention belongs to field of communication technology, more particularly, to a kind of method by voice channel transmitting digital signals with And use device of this method by voice channel transmitting digital signals.
Background technology
In recent years, the safety problem of voice communication is concerned, the mobile voice between related call-information leakage and country Communication intercept is commonplace, and safety band of the technology and equipment to voice communication of voice transfer is stolen, monitored in the base station that disguises oneself as Carrying out serious threat, this not only causes loss to personal interests, but also has jeopardized nation's security and interests, so Demand to the safe and secret technology of voice communication is emphasis research topic instantly.Most communication systems have special biography at present The link of defeated digital signal, but the link can not ensure the reliability and short-time characteristic of data transmission, and mutual with international network When logical, it is possible to will appear intercommunication problem, thus need to transmit digital signal by voice channel to ensure the short of its transmission Shi Xingyu reliabilities.The existing technology for transmitting digital signal under voice channel has voice coding, audio hiding, voice encryption With voice watermark etc., these technologies have their own advantages, but simultaneously there is also deficiency, be not well positioned to meet voice channel transmission number Word signal safety and reliability requirement, or by digital signal carry out class voice modulation when design certain redundancy.
The Chinese patent of patent No. CN201410211275.X, disclose one kind in GSM voice channels safely and reliably The method of transmitting digital information, mainly solution digital information transmission rate in GSM voice channels is low, and anti-interference ability is weak, peace The low problem of full property.Implementation step is:1) terminal A is sent using SM2 Encryption Algorithm to wanting the digital information of safe transmission to add It is close, and carry out (255,179) BCH channel codings;2) OFDM modulation is carried out to the result after coding and FFT interpolation rises sampling; 3) it receives terminal B and carries out that data pick-up is down-sampled and OFDM demodulation to the signal that receives;4) to after demodulation result carry out (255, 179) BCH channel decodings, and be decrypted using SM2 decipherment algorithms, obtain key plain.The present invention can be improved digital information and exist Transmission rate in GSM voice channels reduces its transmission error code, and can prevent information leakage, can be used in GSM voice channels Digital information transmission.
The United States Patent (USP) of patent No. US5784422A discloses a kind of voice channel transmission number by digital communications network The system of digital data, including:Receive the input terminal of numerical data;The numerical data is converted into the processor of audio tones; It is exported to the output end of Digital Transmission circuit with by the audio tones, wherein the Digital Transmission circuit is according to voice signal The same way of coding encodes the audio tones, and by the digital communications network and for transmitting voice signal Identical voice channel transmits the audio tones after the coding.
Invention content
The problem to be solved in the present invention is to provide a kind of method and device by voice channel transmitting digital signals, especially It is suitble to safe and reliable transmit digital signal by voice channel.
In order to solve the above technical problems, the technical solution adopted by the present invention is:One kind transmitting number letter by voice channel Number method, including:
S1. pcm encoder is carried out to source data;
Pcm encoder step includes sampling, is quantified, coding;Pcm encoder is sampled using 8KHz, 16bit quantizations, and output 8 is right Former data are converted to 16 bit line PCM signals by several PCM signals, including 12 bits of coded, 1 bit sign position and 3 benefits Zero-bit is stored with .wav formats.
By above step, former data encoding is sampled at 8kHZ, the linear PCM coding of 16bit quantizations is exported.
S2. AMR codings are carried out to the data after pcm encoder;
AMR coding steps are divided into pretreatment, and lpc analysis is opened and changes genetic search, adaptive codebook search, and fixed codebook is searched Rope, six step of filter memory refreshing;
When carrying out AMR codings, select the cosine wave of 2KHz as carrier wave, every 4 sampling points carry 1bit source datas,
With the above arrangement, the bit error rate can be made to be protected while ensureing 2K propagation rates;
Meanwhile the setting protection frame before and after target data,
With the above arrangement, can avoid target data amplitude of front and back part point after AMR encoding and decoding generates variation.
S3. it is transmitted through data encoded AMR by voice channel;
Institute's voice channel can support the frequency ranges such as GSM FR AMR, GSM HR AMR, WCDMA AMR.
S4. the data received are subjected to AMR decodings;
When AMR is decoded, threshold value parsing is carried out, 1 is determined as higher than threshold value, is determined as 0 less than threshold value, discrimination threshold is set as 0.55。
With the above arrangement, the bit error rate can be reduced.
S5. to being decoded through the decoded data of AMR;
S6. the data after being parsed.
And a kind of passing through the device of voice channel transmitting digital signals using this method:Including transmitting terminal FPGA, send PC is held, transmitting terminal mobile module and receiving terminal FPGA, receiving terminal PC, receiving terminal mobile module, the FPGA pass through the ends GPIO Mouth is connect with the mobile module, and the PC is connect by RS232 serial ports with the mobile module, the transmitting terminal mobile module And the receiving terminal mobile module is arranged for the method based on any one of claim 1 to 5 and is passed by voice channel Pass digital signal.
The present invention has the advantage that good effect is:Due to the adoption of the above technical scheme, meet voice channel transmission number The safety and reliability of signal requires implementation method relatively simple, avoids a large amount of complex mathematical operation, selected chip Valence reduces cost than high, improves resource utilization.
Description of the drawings
Fig. 1 is the principle schematic of one embodiment of the invention
Fig. 2 is the communication link schematic diagram of one embodiment of the invention
Fig. 3 is the receiver terminal flow chart of one embodiment of the invention
Fig. 4 is the ports the PCM sequence diagram of one embodiment of the invention mobile module
Fig. 5 is the transmitting terminal data frame structure figure of one embodiment of the invention
Fig. 6 is the sender terminal flow chart of one embodiment of the invention
Specific implementation mode
As Fig. 1, one embodiment of the invention principle schematic shown in, the present invention provides one kind to be transmitted by voice channel The method of digital signal, including:
S1. pcm encoder is carried out to source data;
Pcm encoder step includes sampling, is quantified, coding;Pcm encoder is sampled using 8KHz, 16bit quantizations, and output 8 is right Former data are converted to 16 bit line PCM signals by several PCM signals, including 12 bits of coded, 1 bit sign position and 3 benefits Zero-bit is stored with .wav formats.
By above step, former data encoding is sampled at 8kHZ, the linear PCM coding of 16bit quantizations is exported.
S2. AMR codings are carried out to the data after pcm encoder;
AMR coding steps are divided into pretreatment, and lpc analysis is opened and changes genetic search, adaptive codebook search, and fixed codebook is searched Rope, six step of filter memory refreshing;
When carrying out AMR codings, select the cosine wave of 2KHz as carrier wave, every 4 sampling points carry 1bit source datas,
With the above arrangement, the bit error rate can be made to be protected while ensureing 2K propagation rates;
Meanwhile the setting protection frame before and after target data,
With the above arrangement, can avoid target data amplitude of front and back part point after AMR encoding and decoding generates variation.
S3. it is transmitted through data encoded AMR by voice channel;
Voice channel can support the frequency ranges such as GSM FR AMR, GSM HR AMR, WCDMA AMR.
S4. the data received are subjected to AMR decodings;
When AMR is decoded, threshold value parsing is carried out, 1 is determined as higher than threshold value, is determined as 0 less than threshold value, discrimination threshold is set as 0.55。
With the above arrangement, the bit error rate can be reduced to 6 × 10-3
S5. to being decoded through the decoded data of AMR;
S6. the data after being parsed.
As Fig. 2, one embodiment of the invention communication link schematic diagram shown in, the present invention also provides it is a kind of use above-mentioned side Method by the devices of voice channel transmitting digital signals, including:Transmitting terminal and receiving terminal, transmitting terminal and receiving terminal are respectively provided with FPGA, PC and mobile module, FPGA are connect by GPIO port with mobile module, and PC is connected by RS232 serial ports and mobile module It connects.
Illustrate above method below by the course of work of one embodiment of the invention:Such as Fig. 2, one embodiment of the invention Shown in communication link schematic diagram, transmitting terminal mobile module is controlled by transmitting terminal PC first and completes initialization and dialing, it is to be received After end mobile module is answered, sent from transmitting terminal FPGA to transmitting terminal mobile module from the digital signal generated, through transmitting terminal hand After machine module carries out AMR codings, receiving terminal mobile module is sent to by voice channel, receiving terminal mobile module carries out AMR and translates After code, data are parsed by receiving terminal FPGA.
The program circuit of one embodiment of the invention transmitting terminal is specifically described below, first such as Fig. 3, one embodiment of the invention Shown in receiver terminal flow chart:Transmitting terminal PC carries out transmitting terminal collection module, with postponing, often to press one-touch, sends out a packet number According to program has carried out button and disappear to tremble first, carries out class PCM signal processing to digital signal later, and 1 corresponds to 0x7FFF, and 0 corresponds to 0x0000, -1 corresponds to 0x8000, and data are finally stored in RAM reads for transmitting terminal mobile module.
Later as Fig. 4, one embodiment of the invention mobile module the ports PCM sequence diagram shown in, transmitting terminal mobile module PCM_SYNC frequencies are 8K, and PCM_CLK frequencies are 2.048M, and failing edge adopts data, and above-mentioned two signal is when module is dialled words and connected FPGA is emitted to by module, FPGA is by PCM_DIN and PCM_DOUT transmission datas or receives data.
As Fig. 5, one embodiment of the invention transmitting terminal data frame structure figure shown in, 4 points represent 1bit, frame head and postamble It is used for presynchronization for protecting intermediate data, synchronous 1, synchronous 2 to be followed by business datum.
The program circuit of one embodiment of the invention receiving terminal is specifically described below, such as Fig. 6, the reception of one embodiment of the invention End program flow diagram represents 1bit due to every 4 points, it is necessary first to be calibrated with synchronous code 0xAAAA, then pass through synchronous code 0xA0A0A0A0 is synchronized, and threshold value differentiation and parsing are carried out to the data of reception.The threshold value selected in the present embodiment is 32768 (215) × 0.55=18022, to ensure the bit error rate, the mapping relations of selection are 1 → 0xAAAAAAAA, 0 → 0xA0A0A0A0, solution The 3rd byte is only taken when analysis, when value is AA, AB, BA, when BB, XA, is determined as 1, other to be determined as 0, the bit error rate can drop to 10-1 with Under, rate 0.5K/8=0.0625K.
One embodiment of the present invention has been described in detail above, but content is only presently preferred embodiments of the present invention, It should not be construed as limiting the practical range of the present invention.Any changes and modifications in accordance with the scope of the present application, It should all still fall within the scope of the patent of the present invention.

Claims (7)

1. a kind of method by voice channel transmitting digital signals, including:
S1. pcm encoder is carried out to source data;
S2. AMR codings are carried out to the data after pcm encoder;
S3. it is transmitted through data encoded AMR by voice channel;
S4. the data received are subjected to AMR decodings;
S5. to being decoded through the decoded data of AMR;
S6. the data after being parsed.
2. the method according to claim 1 by voice channel transmitting digital signals, it is characterised in that:Pcm encoder walks Rapid includes sampling, is quantified, coding;Pcm encoder is sampled using 8KHz, and 16bit quantizations export the PCM signal of 8 logarithms, will be former Data are converted to 16 bit line PCM signals, including 12 bits of coded, 1 bit sign position and 3 zero padding positions, with .wav formats Storage.
3. the method according to claim 1 by voice channel transmitting digital signals, it is characterised in that:Carrying out AMR When coding, the setting protection frame before and after target data.
4. the method according to claim 1 by voice channel transmitting digital signals, it is characterised in that:Carrying out AMR When coding, select the cosine wave of 2KHz as carrier wave, every 4 sampling points carry 1bit source datas.
5. the method according to claim 1 by voice channel transmitting digital signals, it is characterised in that:Carrying out AMR When decoding, threshold value parsing is carried out, 1 is determined as higher than threshold value, is determined as 0 less than threshold value, discrimination threshold is set as 0.55.
6. the method as claimed in any of claims 1 to 5 by voice channel transmitting digital signals, the voice Channel includes 3G voice channels.
7. a kind of device by voice channel transmitting digital signals, it is characterised in that:Including transmitting terminal FPGA, transmitting terminal PC, Transmitting terminal mobile module and receiving terminal FPGA, receiving terminal PC, receiving terminal mobile module, the FPGA pass through GPIO port and hand Machine module connects, and the PC is connect by RS232 serial ports with the mobile module;The transmitting terminal mobile module and the reception End mobile module is arranged for the method based on any one of claim 1 to 5 and passes through voice channel transmitting digital signals.
CN201810359539.4A 2018-04-20 2018-04-20 A kind of method and device by voice channel transmitting digital signals Pending CN108551386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810359539.4A CN108551386A (en) 2018-04-20 2018-04-20 A kind of method and device by voice channel transmitting digital signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810359539.4A CN108551386A (en) 2018-04-20 2018-04-20 A kind of method and device by voice channel transmitting digital signals

Publications (1)

Publication Number Publication Date
CN108551386A true CN108551386A (en) 2018-09-18

Family

ID=63511886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810359539.4A Pending CN108551386A (en) 2018-04-20 2018-04-20 A kind of method and device by voice channel transmitting digital signals

Country Status (1)

Country Link
CN (1) CN108551386A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912646A (en) * 2019-12-02 2020-03-24 深圳震有科技股份有限公司 Method for automatically adapting PCM link rate, intelligent terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398126A (en) * 2001-07-18 2003-02-19 华为技术有限公司 Method for implementing multi-language coding-decoding in universal mobile communication system
US20040100955A1 (en) * 2002-11-11 2004-05-27 Byung-Sik Yoon Vocoder and communication method using the same
CN101577605A (en) * 2008-05-08 2009-11-11 吴志军 Speech LPC hiding and extraction algorithm based on filter similarity
CN102185678A (en) * 2011-05-04 2011-09-14 李剑 Method and device for transmitting non-voice data in voice form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398126A (en) * 2001-07-18 2003-02-19 华为技术有限公司 Method for implementing multi-language coding-decoding in universal mobile communication system
US20040100955A1 (en) * 2002-11-11 2004-05-27 Byung-Sik Yoon Vocoder and communication method using the same
CN101577605A (en) * 2008-05-08 2009-11-11 吴志军 Speech LPC hiding and extraction algorithm based on filter similarity
CN102185678A (en) * 2011-05-04 2011-09-14 李剑 Method and device for transmitting non-voice data in voice form

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐旭: "数字信号在语音信道中的传输算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912646A (en) * 2019-12-02 2020-03-24 深圳震有科技股份有限公司 Method for automatically adapting PCM link rate, intelligent terminal and storage medium
CN110912646B (en) * 2019-12-02 2022-06-10 深圳震有科技股份有限公司 Method for automatically adapting PCM link rate, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN100431292C (en) Encrypting, decoding, and wireless communication device
US7623894B2 (en) Cellular modem processing
US8387129B2 (en) Method and apparatus for verifying data packet integrity in a streaming data channel
CN104602364B (en) The method and wireless device, intelligent terminal of wireless device connection wireless access point
CN105790854B (en) A kind of short range data transmission method and device based on sound wave
CN1136738A (en) Changeable encryption for secret grade
CN207234973U (en) Video conferencing system based on quantum cryptography
CN107396211A (en) Wireless speech transmitting terminal, receiving terminal and system
CN105471899A (en) End-to-end voice encryption communication method and device for mobile terminals
CN111934714A (en) Anti-interference communication method and device
CN103002406B (en) A kind of voice encryption method being applied to arrowband radio digital communication system
CN108551386A (en) A kind of method and device by voice channel transmitting digital signals
CN110535634B (en) Audio and video transmission system based on quantum encryption
CN102035925B (en) Novel secure telephone and secure communication method thereof
CN110278068B (en) LoRa communication encryption system based on chaotic sequence
US7774677B2 (en) Method and device for transmitting information with verification of unintentional and intentional transmission errors
US20170164271A1 (en) Systems and methods for communicating half-rate encoded voice frames
CN105376003A (en) Audio communication control code encryption method and encryption system
CN202602900U (en) Encryption and decryption device and satellite communication terminal and satellite communication system
CN101964693A (en) Method for data transmission by using wireless channel interference
CN202178874U (en) Wireless secret communication terminal based on coding waveform encryption transmission
US10715274B2 (en) Channel width agile communication method
KR102695371B1 (en) Module and method for transmitting information using a wireless hidden signal
CN214154860U (en) Encryption device for wireless microphone channel
CN119728207A (en) A method for transmitting encrypted voice data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180918