CN104135340A - Processing method of transmission of voice data in data chain channel - Google Patents

Processing method of transmission of voice data in data chain channel Download PDF

Info

Publication number
CN104135340A
CN104135340A CN201410366246.0A CN201410366246A CN104135340A CN 104135340 A CN104135340 A CN 104135340A CN 201410366246 A CN201410366246 A CN 201410366246A CN 104135340 A CN104135340 A CN 104135340A
Authority
CN
China
Prior art keywords
data
frame
vop
bag
voice data
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
CN201410366246.0A
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.)
CETC 20 Research Institute
Original Assignee
CETC 20 Research Institute
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 CETC 20 Research Institute filed Critical CETC 20 Research Institute
Priority to CN201410366246.0A priority Critical patent/CN104135340A/en
Publication of CN104135340A publication Critical patent/CN104135340A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a processing method of transmission of voice data in a data chain channel. The processing method comprises the following steps of: adding data type identifying information in a voice data packet to be transmitted on a channel transmitting end, reading the data type information on a receiving end, comparing with a data type of a voice data packet defined by the receiving end, identifying whether the received voice data packet is a packet in the right order, if the received voice data packet is in the right order, restoring a true value of the voice data; and if the disordered voice data packet is received, forming a packet of new voice data through data reconstitution, and restoring the voice data packet. According to the processing method provided by the invention, transmission of the voice data is completed under a low signal to noise ratio environment, an output with harsh noise formed by a data recovery error due to disorder or loss of the voice data packet is avoided, reducing property of a voice signal is increased, and transmission efficiency under the low signal to noise ratio environment is effectively improved.

Description

The processing method of voice data transmission in Data-Link channel
Technical field
The present invention relates to speech data in engineering field and, in the processing method of Data-Link channel, relate in particular to distribution and the treatment technology of VoP.
Background technology
In voice signal wireless transmission process, transmitting terminal guarantees the true value data of collection to make accurate output, and receiving terminal guarantees the speech data receiving from channel to make true value reduction.It is the key of carrying out voice data transmission that the speech data of receiving terminal is made to true value reduction.Because speech data transmission in channel can be subject to space electromagnetic interference, error code, bottom pour ladle, the impact of leakage group, therefore at receiving terminal, exist the complex logic processing procedure to the reduction of packet true value, to guarantee the minimize impact of channel on speech data reduction.
At present, conventionally adopt following methods to process the reduction of speech data: the 900bit VoP receiving is buffered in memory assigned address, adopt establishment specified handler, a whole packet voice data unit of being divided into, be the data flow of 1bit size, then according to the format of phonetic codec chip, the receiver address of sending into codec chip after data packing processed.
Above-mentioned data processing method has the pluses and minuses of himself: when advantage is to program, realizes simply, do not need the division rule of specified data bag, and only need be in order by data flow packing output; Shortcoming is to be vulnerable to the interference of transmission channel, and it can only carry out data processing under noiseless condition, if add after interference, the speech data of receiving terminal there will be entanglement output, causes restoring true value data, causes the invalid output of voice signal.
Summary of the invention
In order to overcome the deficiencies in the prior art, the invention provides a kind of by speech data according to the method for carrying out transmission after allocation rule classification, both guaranteed the integrality of VoP, improved again speech data true value percent reduction, can export effective voice signal, when channel error code is higher, can effectively stop the voice that cause of substitute to adjust disorderly.
The technical solution adopted for the present invention to solve the technical problems comprises the following steps:
1) at transmitting terminal, phonetic codec chip be take 48bit and is carried out data under voice as unit, often collect 900bit as a VoP, successively each VoP is designated to start frame, continues frame 1, continues frame 2 and four kinds of data types of end frame; Described sign identifies four kinds of data types by binary data 00,01,10,11 data type information as packet header respectively;
2) transmitting terminal by the VoP being collected according to start frame, continue frame 1, the order that continues frame 2 and end frame circulates transmission successively;
3) receiving terminal receives VoP, data type information to VoP packet header judges, if the VoP data type of receiving meets start frame, continues the order of frame 1, continuation frame 2 and end frame, illustrate that this VoP is effective, carry out the true value reduction of speech data, otherwise abandon this VoP, process by the following method:
If receiving terminal is only lost a VoP, the datacycle of a upper last 48bit of VoP is filled to this VoP, and carries out true value reduction;
If receiving terminal is lost two or more VoPs, or receiving terminal receives the VoP of order entanglement, the mute frame datacycle being collected in advance inserted and lost or the VoP place of order entanglement, then carries out true value reduction; Described mute frame data are to obtain by gathering the 48bit valid data of phonetic codec chip AMBE1000 output port;
4) repeating step 1) to 3), the speech data collecting until all finishes.
Described step 1) in, phonetic codec chip single treatment 48bit data, the data format requiring according to phonetic codec chip, the 900bit transmitting in channel is that the speech data of a bag can not be divided evenly, for the first bag " start frame " data, process the speech data of last remaining 36bit, receiving terminal is after receiving the second bag " continuation frame 1 " data, " start frame " untreated 36bit data are added to this VoP packet header, and process together with the second bag data; After the second bag data processing is complete, can be left the untreated speech data of 24bit, after receiving terminal receives three guarantees " continuation frame 2 " data, untreated 24bit data add this VoP packet header, and process together with three guarantees data will " to continue frame 1 "; After three guarantees data processing is complete, can be left the untreated speech data of 12bit, finally, receiving terminal receives after the 4th bag " end frame " data, untreated 12bit data add this packet packet header will " to continue frame 2 ", and process, thereby completed transmitting without losing of speech data together with the 4th bag data.
Described step 3) in, receiving terminal completes after the reception of a circulation according to start frame, continuation frame 1, continuation frame 2 and end frame, need to after the time delay of a VoP, could continue to receive the VoP of next start frame, the object of doing is like this without any other invalid data, to exist in order to guarantee to receive " start frame " data.
The invention has the beneficial effects as follows: by add the method for data type identifying information in transmitting terminal VoP, speech data waiting for transmission is divided into the bag of Four types, and cycle index transmission successively.Effectively shield the packet of the order entanglement causing due to channel disturbance, improved the percent reduction of voice data transmission, make receiving terminal avoid occurring ear-piercing noise when carrying out voice signal reduction, strengthened practicality and the adaptability of system; Meanwhile, adopt this kind of method deal with data to guarantee the fail safe of data, improved the robustness of system; Finally, for whole voice-transmission system, at system development initial stage of development, reduced exploitation, difficulty of test, during system operation and maintenance, the system of being convenient to is expanded and is safeguarded.
During with speech data in conventional method processing channel; owing to being subject to, the impact of space environment there will be error code, bottom pour ladle, the phenomenon such as substitute; in the situation that signal to noise ratio is low; the sound effect restoring is fatal; conventionally there will be ear-piercing noise; when serious, there will be voice to resolve unclear, the calling party's that can not hear clearly completely instruction, this is not allow to occur in the application of system.According to the inventive method, by to receiving the processing of order entanglement VoP, shield wrong VoP, again add in order to mild ear-piercing noise or voice and resolve unclear output data, as " the last 48bit data of the correct VoP of a upper bag " or " mute frame " etc., the function of voice transfer in completion system, this has improved voice transfer efficiency greatly, has strengthened the compatibility with environment.
The present invention has realized the transmission that completes speech data under low signal-to-noise ratio environment, avoids causing data reduction to make mistakes due to entanglement or the loss of VoP.In the method for conventional voice data transmission, channel receiving terminal does not have repair ability to the garbled voice packet receiving, common processing method is exactly the speech data that abandons this whole bag, if in the channel of high bit-error, low serious forgiveness, just there will be the situation of makeing mistakes continuously, more than the VoP of makeing mistakes continuously reaches 3 bags, will cause receiving terminal can not reduce correct voice signal, very easily occur that combat system order assigns the phenomenon of inefficacy.Utilization increases VoP data type identifying information at transmitting terminal, in transmission process, the identification by receiving terminal to VoP, by correct VoP full backup, to after wrong VoP reparation, reduce, finally guarantee the integrality of voice signal reduction.
The present invention has constructed " the last 48bit data of the correct VoP of a upper bag " and " mute frame " data that are used for filling up garbled voice packet.In the method for conventional voice data transmission; do not construct " the last 48bit data of the correct VoP of a upper bag " and " mute frame " data and fill up garbled voice packet; the whole bag of misdata can only be abandoned; so often there will be ear-piercing noise, hiatus, fall the phenomenons such as sentence; when serious, basic parsing does not go out voice signal, causes recipient cannot not hear the instruction that the other side sends.The present invention is owing to adopting " the last 48bit data of the correct VoP of a upper bag " and " mute frame " data filling technology, even if receiving terminal has received the VoP of order entanglement, it is by replacing in order by " the last 48bit data of the correct VoP of a upper bag " and " mute frame " data of having constructed the garbled voice data that receive, avoided the output of ear-piercing noise, increase the reproducibility of voice signal, effectively improved the efficiency of transmission under low signal-to-noise ratio environment.
Accompanying drawing explanation
Fig. 1 be of the present invention in Data-Link channel the processing method schematic diagram of voice data transmission process;
Fig. 2 be of the present invention in Data-Link channel the process flow figure of voice data transmission process.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described, the present invention includes but be not limited only to following embodiment.
The processing method of voice data transmission process in Data-Link channel of the designed realization of the present invention, by add data type identifying information in transmitting terminal VoP, whether the VoP receiving in receiving terminal identification is the bag that order is correct, and carry out deal with data by receiving the correctness of packet.In processing procedure, by the correct VoP step-by-step full backup receiving, by the garbled voice packet data receiving by " the last 48bit data of the correct VoP of a upper bag " or " mute frame " data stuffing, and step-by-step full backup.Method schematic diagram as shown in Figure 1.The processing method that the invention provides voice data transmission process in Data-Link channel, comprises the following steps:
Transmitting terminal at channel defines in order to identify four kinds of data types of VoP to be transmitted, and four kinds of data types are sequentially start frame, continue frame 1, continue frame 2 and end frame, represent respectively with binary data 00,01,10,11.By the data format of phonetic codec chip requirement, the 48bit of take carries out data acquisition as unit, it is 900bit that system channel requires the data length of transmission, and the 18 bag 48bit data that " start frame " packet is gathered by phonetic codec chip and the front 36bit data of next bag form 900bit data; The packet that " continues frame 1 " forms 900bit data by the upper one rear 12bit data of wrapping, the new 18 bag 48bit data that gather of phonetic codec chip and the front 24bit data of next bag; The packet that " continues frame 2 " forms 900bit data by the upper one rear 24bit data of wrapping, the new 18 bag 48bit data that gather of phonetic codec chip and the front 12bit data of next bag; " end frame " packet forms 900bit data by the upper one rear 36bit data of wrapping and the new 18 bag 48bit data that gather of phonetic codec chip;
00,01,10,11 information are added in respectively to " start frame " packet, " continuing frame 1 " packet, " continuing frame 2 " packet and " end frame " packet Bao Touchu, after the voice switch of transmitting terminal is opened, then by packed whole packet voice data by the channel transmission that circulates successively;
Receiving terminal receives after the above-mentioned VoP sending over, start counter, counter is since 1 counting, counting down to 4 is a circulation, and numeral 1,2,3,4 is corresponding with " start frame " packet, " continuing frame 1 " packet, " continuing frame 2 " packet and " end frame " packet respectively.Read the data type information in VoP packet header, if the data type information receiving is corresponding one by one with counter values, the VoP order that explanation receives is correct, by this bag full backup; If the data type information receiving is not corresponding with counter values, explanation receives the VoP of order entanglement.If the VoP data type of order entanglement is " start frame ", and being the first bag data of whole transfer of data, is " mute frame " data by this bag data stuffing, then by this bag true value reduction; In other situation, if only have the bag of a sequence error, use the packet of " the last 48bit data of the correct VoP of a upper bag " fill-error, then reduce, if the bag of two or more sequence errors, use " mute frame " data stuffing, then carry out true value reduction.
As shown in Figure 2, its step is as follows for embodiment:
Step 1: the transmitting terminal at channel defines in order to identify four kinds of data types of VoP to be transmitted, four kinds of data types are sequentially start frame, continue frame 1, continue frame 2 and end frame, and its data type information form is as shown in table 1.
Table 1 data type information form
Sequence number Data type title Data type identifier Linear module
1 Start frame 00 Bit
2 Continue frame 1 01 Bit
3 Continue frame 2 10 Bit
4 End frame 11 Bit
Step 2: in transmitting terminal data acquisition module, from phonetic codec chip output address, collect speech data to be sent, through format conversion and at Bao Touchu, add that data type information forms bag VoP 101 to be sent, sends from channel.
Step 3: according to step 2, described VoP 101 is passed through to receiving terminal data playback module, receive to buffering area from channel.Sense data type information, if the VoP receiving order is correct, the data format 102 requiring according to phonetic codec chip carries out the true value reduction of speech data; If the VoP receiving order is incorrect, will gives up this bag initial data, and judge data type.If the bag data type of order entanglement is " start frame ", and be the first bag data of whole transfer of data, by this bag data stuffing, be " mute frame " data, form a new VoP 103, the data format 102 then requiring according to phonetic codec chip is by this bag true value reduction; In other situation, judge it be receive which order entanglement bag, if first erroneous packets, use the packet of " the last 48bit data of the correct VoP of a upper bag " fill-error, form a new VoP 104, then the data format 102 requiring according to phonetic codec chip is by this bag true value reduction, if two or more erroneous packets, use " mute frame " data stuffing, form a new VoP 105, the data format 102 then requiring according to phonetic codec chip is by this bag true value reduction.
Step 4: repeating step 1 is to step 3, until voice switch is closed, and finishes all speech datas that collect.

Claims (3)

1. a processing method for voice data transmission in Data-Link channel, is characterized in that comprising the steps:
1) at transmitting terminal, phonetic codec chip be take 48bit and is carried out data under voice as unit, often collect 900bit as a VoP, successively each VoP is designated to start frame, continues frame 1, continues frame 2 and four kinds of data types of end frame; Described sign identifies four kinds of data types by binary data 00,01,10,11 data type information as packet header respectively;
2) transmitting terminal by the VoP being collected according to start frame, continue frame 1, the order that continues frame 2 and end frame circulates transmission successively;
3) receiving terminal receives VoP, data type information to VoP packet header judges, if the VoP data type of receiving meets start frame, continues the order of frame 1, continuation frame 2 and end frame, illustrate that this VoP is effective, carry out the true value reduction of speech data, otherwise abandon this VoP, process by the following method:
If receiving terminal is only lost a VoP, the datacycle of a upper last 48bit of VoP is filled to this VoP, and carries out true value reduction;
If receiving terminal is lost two or more VoPs, or receiving terminal receives the VoP of order entanglement, the mute frame datacycle being collected in advance inserted and lost or the VoP place of order entanglement, then carries out true value reduction; Described mute frame data are to obtain by gathering the 48bit valid data of phonetic codec chip AMBE1000 output port;
4) repeating step 1) to 3), the speech data collecting until all finishes.
According to claim 1 in Data-Link channel the processing method of voice data transmission, it is characterized in that:
Described step 1) in, phonetic codec chip single treatment 48bit data, the data format requiring according to phonetic codec chip, the 900bit transmitting in channel is that the speech data of a bag can not be divided evenly, for the first bag " start frame " data, process the speech data of last remaining 36bit, receiving terminal is after receiving the second bag " continuation frame 1 " data, " start frame " untreated 36bit data are added to this VoP packet header, and process together with the second bag data; After the second bag data processing is complete, can be left the untreated speech data of 24bit, after receiving terminal receives three guarantees " continuation frame 2 " data, untreated 24bit data add this VoP packet header, and process together with three guarantees data will " to continue frame 1 "; After three guarantees data processing is complete, can be left the untreated speech data of 12bit, finally, receiving terminal receives after the 4th bag " end frame " data, untreated 12bit data add this packet packet header will " to continue frame 2 ", and process, thereby completed transmitting without losing of speech data together with the 4th bag data.
According to claim 1 in Data-Link channel the processing method of voice data transmission, it is characterized in that:
Described step 3), in, receiving terminal completes after the reception of a circulation according to start frame, continuation frame 1, continuation frame 2 and end frame, need to after the time delay of a VoP, could continue to receive the VoP of next start frame.
CN201410366246.0A 2014-07-29 2014-07-29 Processing method of transmission of voice data in data chain channel Pending CN104135340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410366246.0A CN104135340A (en) 2014-07-29 2014-07-29 Processing method of transmission of voice data in data chain channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410366246.0A CN104135340A (en) 2014-07-29 2014-07-29 Processing method of transmission of voice data in data chain channel

Publications (1)

Publication Number Publication Date
CN104135340A true CN104135340A (en) 2014-11-05

Family

ID=51807880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410366246.0A Pending CN104135340A (en) 2014-07-29 2014-07-29 Processing method of transmission of voice data in data chain channel

Country Status (1)

Country Link
CN (1) CN104135340A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789218A (en) * 2016-12-13 2017-05-31 中国电子科技集团公司第二十研究所 A kind of link conflict real-time emulation method based on event
CN106856093A (en) * 2017-02-23 2017-06-16 海信集团有限公司 Audio-frequency information processing method, intelligent terminal and Voice command terminal
CN109239504A (en) * 2018-08-03 2019-01-18 同济大学 A kind of test method of uniselector contact on-off angle timing waveform
CN112653503A (en) * 2020-12-17 2021-04-13 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Space satellite voice channel multiplexing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325631A (en) * 2007-06-14 2008-12-17 华为技术有限公司 Method and apparatus for implementing bag-losing hide
CN101502142B (en) * 2006-08-24 2011-11-16 中兴通讯股份有限公司 Voice message format in trunked communication and transmission method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101502142B (en) * 2006-08-24 2011-11-16 中兴通讯股份有限公司 Voice message format in trunked communication and transmission method therefor
CN101325631A (en) * 2007-06-14 2008-12-17 华为技术有限公司 Method and apparatus for implementing bag-losing hide

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杜勇等: "因特网中分组语音传输的丢包恢复技术浅述", 《天津通信技术》 *
陈羿江: "G.729语音编码抗丢包算法研究及其ARM平台实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789218A (en) * 2016-12-13 2017-05-31 中国电子科技集团公司第二十研究所 A kind of link conflict real-time emulation method based on event
CN106789218B (en) * 2016-12-13 2019-12-31 中国电子科技集团公司第二十研究所 Event-based link conflict real-time simulation method
CN106856093A (en) * 2017-02-23 2017-06-16 海信集团有限公司 Audio-frequency information processing method, intelligent terminal and Voice command terminal
CN109239504A (en) * 2018-08-03 2019-01-18 同济大学 A kind of test method of uniselector contact on-off angle timing waveform
CN112653503A (en) * 2020-12-17 2021-04-13 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Space satellite voice channel multiplexing method
CN112653503B (en) * 2020-12-17 2022-04-26 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Space satellite voice channel multiplexing method

Similar Documents

Publication Publication Date Title
CN104135340A (en) Processing method of transmission of voice data in data chain channel
CN101267293B (en) Stream media hidden communication method based on hierarchical model
CN101800757B (en) No-feedback one-way data transmission method based on single fiber structure
CN106452688A (en) Beidou data lost message retransmission method and system
CN101510819B (en) Method and apparatus for matching velocity
CN101146102A (en) HDLC data uplink and downlink method and communication device in RRU network
CN105791252A (en) UDP (User Datagram Protocol) IP (Intellectual Property) core based on FPGA (Field Programmable Gate Array)
CN107395565A (en) Serial ports receives preprocess method under a kind of fixed length single byte form message protocol
CN103685224A (en) A network invasion detection method
CN104765573A (en) Serial communication data processing analysis method
CN103685060A (en) Data packet sending method and data packet sending device
CN104780019A (en) Method for storing optical fiber communication data
CN102299784A (en) Data transmission method and equipment
CN104639294A (en) Improved CRC (Cyclic Redundancy Check) realization method
CN103746868B (en) A kind of method, device and test equipment for sending and receiving test packet
CN109728853B (en) Data processing method, device and storage medium
CN103873317B (en) Method and system for detecting CCSDS (consultative committee for space data system) space link protocol
CN104009982B (en) File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set
CN104471888B (en) Processing method, equipment and the system of free block IDLE in block of burst data
US9337959B2 (en) Defect propagation of multiple signals of various rates when mapped into a combined signal
CN108833436B (en) Communication control method for realizing equipment communication interconnection
CN108242977B (en) Data processing method, data processing device and electronic equipment
CN205015660U (en) Stage self -adaptation matching unit
CN104486208B (en) Towards the message boundaries localization method and device of plate level multi-channel parallel bus
CN103347023A (en) HDLC communication controller under industrial field environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141105