CN101257419B - Wireless VOIP voice frame combining method as well as radio device - Google Patents

Wireless VOIP voice frame combining method as well as radio device Download PDF

Info

Publication number
CN101257419B
CN101257419B CN2007100640826A CN200710064082A CN101257419B CN 101257419 B CN101257419 B CN 101257419B CN 2007100640826 A CN2007100640826 A CN 2007100640826A CN 200710064082 A CN200710064082 A CN 200710064082A CN 101257419 B CN101257419 B CN 101257419B
Authority
CN
China
Prior art keywords
combinations
speech frame
variable
module
channel quality
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.)
Expired - Fee Related
Application number
CN2007100640826A
Other languages
Chinese (zh)
Other versions
CN101257419A (en
Inventor
周文辉
黄宇红
田乐
卢美莲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN2007100640826A priority Critical patent/CN101257419B/en
Publication of CN101257419A publication Critical patent/CN101257419A/en
Application granted granted Critical
Publication of CN101257419B publication Critical patent/CN101257419B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for combining wireless VoIP voice frames, comprising: determining the combination number of the voice frames based on wireless channel quality parameter and generating the voice frames according to the combination number of the voice frames. Further disclosed is a wireless device including a wireless network communication module, a voice coding module, a voice decoding module, a protocol processing module, a physical link monitoring module and a voice frame combining and controlling module. The physical link monitoring module is connected with the wireless network communication module for detecting the intensity of the received signal; the voice frame combining and controlling module is connected with the wireless network communication module, the voice coding module and the protocol processing module for determining the combination number of the voice frames according to the received signal intensity and combining the voice frames generated by the voice coding module. The invention can automatically regulate the combination number of the voice frames based on the present channel transmission quality to effectively increase the utilization rate of the wireless channel as well as be suitable to the change of the physical channel.

Description

Wireless VOIP speech frame combined method and wireless device
Technical field
The present invention relates to the Wireless VoIP technology, relate in particular to Wireless VoIP speech frame combined method and can realize the wireless device of voice communication based on wireless access way.
Background technology
Development along with wireless communication technology and voice communication technology, use wireless network to provide the wireless speech technology of voice service to use and give birth to, WLAN voice technology (Voice over WirelessLocal Area Network, be called for short VoWLAN) is exactly wherein a kind of.VoWLAN utilizes WLAN (Wireless Local Area Network, be called for short WLAN) wireless ip voice (the Voiceover Internet Protocol of realization, be called for short VoIP) conversation, the user can carry out voice call at any time by the VoWLAN terminal equipment in the coverage of wlan network.The wireless speech technology had both been brought into play the low characteristics of IP network cost, made the user obtain the convenience that wireless access way brings again.
In the VoWLAN technology, support portable voice terminal and the WAP (wireless access point) (AP of WLAN, AccessPoint) 802.11 protocol communications are adopted in communication, after making analog voice by terminal, the embedded VoIP voice compression technique of terminal is packaged into the IP packet, then by the WLAN Radio Link, final direct transmitting audio data on Internet.The expense of the media interviews control of WLAN (Media Access Control is called for short MAC) layer and physical layer has taken the mass efficient bandwidth, and when number of users increased, efficiency of transmission can reduce greatly.
Can reduce the quantity of speech frame in the network by the speech frame combination technique, thereby reduce the control expense of MAC layer and physical layer, improve utilization of network bandwidth, therefore the concurrent session number that the increase system supports is an effective technology.But, the unreliable channel that becomes when the wireless channel among the WLAN is one, be subjected to multipath easily, co-channel interference, the influence of various factorss such as terminal mobility, existing speech frame combination technique is not considered the particularity of the unreliable and dramatic performance and the WLAN MAC access mechanism of WLAN wireless channel, only carry out the combination of speech frame according to the factor of application layer, when channel quality descends, still adopt the speech frame combination of greater number, just might increase the probability of frame error of transmission because of the lengthening of Frame, simultaneously when data collision takes place, can cause losing of continuous a plurality of speech frames, the severe exacerbation voice quality.
Summary of the invention
The objective of the invention is to provides Wireless VoIP speech frame combined method and wireless device at the existing in prior technology defective, adjusts the number of combinations of speech frame automatically according to current channel transmission quality, improves the utilance of wireless channel.
To achieve these goals, the invention provides a kind of Wireless VoIP speech frame combined method, comprising: according to the step of number of combinations variable and received signal intensity calculating channel quality parameter; Determine the step of speech frame number of combinations according to the quality of wireless channel parameter; And the step that generates speech frame according to the speech frame number of combinations;
Wherein, described number of combinations variable is a maximum speech frame combination numerical value, describedly determines that according to the quality of wireless channel parameter step of speech frame number of combinations is specially:
Steps A 3, judge whether channel quality parameter is better than predefined channel quality parameter threshold value, if, execution in step A6, otherwise, execution in step A4;
Steps A 4, the number of combinations variable is deducted predefined step-length;
Steps A 5, judge the number of combinations variable whether greater than predefined minimum speech frame combination numerical value, if, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity, otherwise, execution in step A6;
Steps A 6, with current number of combinations variable as the speech frame number of combinations;
Perhaps, described number of combinations variable is set to current speech frame number of combinations, describedly determines that according to the quality of wireless channel parameter step of speech frame number of combinations is specially:
Step B3, adjust the number of combinations variable according to the difference of channel quality parameter and predefined channel quality parameter threshold value;
Step B4, if the number of combinations variable does not change, perhaps the number of combinations variable equals predefined maximum or minimum speech frame combination numerical value, execution in step B5, otherwise, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity;
Step B5, with current number of combinations variable as the speech frame number of combinations.
To achieve these goals, the present invention also provides a kind of wireless device, comprises wireless network communication module, speech coding module and protocol process module, also comprises: the physical link monitoring modular, be connected with described wireless network communication module, be used to detect received signal intensity; The speech frame combined control module, be connected with described physical link monitoring modular, speech coding module and protocol process module, be used for calculating channel quality parameter according to number of combinations variable and received signal intensity, determine the speech frame number of combinations according to the quality of wireless channel parameter, the speech frame that the speech coding module is generated makes up, and the speech frame that combination obtains is sent to protocol process module;
Wherein, described number of combinations variable is maximum speech frame combination numerical value, carries out when described speech frame combined control module is determined the speech frame number of combinations according to the quality of wireless channel parameter:
Steps A 3, judge whether channel quality parameter is better than predefined channel quality parameter threshold value, if, execution in step A6, otherwise, execution in step A4;
Steps A 4, the number of combinations variable is deducted predefined step-length;
Steps A 5, judge the number of combinations variable whether greater than predefined minimum speech frame combination numerical value, if, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity, otherwise, execution in step A6;
Steps A 6, with current number of combinations variable as the speech frame number of combinations;
Perhaps, described number of combinations variable is set to current speech frame number of combinations, carries out when described speech frame combined control module is determined the speech frame number of combinations according to the quality of wireless channel parameter:
Step B3, adjust the number of combinations variable according to the difference of channel quality parameter and predefined channel quality parameter threshold value;
Step B4, if the number of combinations variable does not change, perhaps the number of combinations variable equals predefined maximum or minimum speech frame combination numerical value, execution in step B5, otherwise, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity;
Step B5, with current number of combinations variable as the speech frame number of combinations.
The present invention has realized adjusting automatically according to current channel transmission quality the number of combinations of speech frame, accomplishes effectively to improve the utilance of wireless channel, can adapt to the variation of physical channel again.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the method one specific embodiment flow chart of definite speech frame number of combinations of Wireless VoIP speech frame combined method of the present invention;
Fig. 2 is another specific embodiment flow chart of method of definite speech frame number of combinations of Wireless VoIP speech frame combined method of the present invention;
Fig. 3 is Wireless VoIP speech frame combined method one an embodiment flow chart of the present invention;
Fig. 4 is wireless device one an example structure schematic diagram of the present invention;
Fig. 5 is the speech frame combined control module one example structure schematic diagram of wireless device of the present invention.
Embodiment
The present invention is applicable to various wireless access ways, comprises WLAN, WiMax, WCDMA etc., is that example illustrates speech frame combined method of the present invention and wireless device below with WLAN.
The parameter that influences quality of voice transmission comprises: packet loss, time delay, bandwidth etc.For a fixing WLAN voice system, bandwidth is certain, and in order not reduce voice quality, packet loss and time delay should limit within the specific limits.After speech coding algorithm and wireless channel parameter are determined, can determine the maximum number of the speech frame that can make up according to delay requirement, in this maximum number scope, determine the number of the actual speech frame that can make up according to the concrete condition of channel then.Speech frame for combination, calculate its corresponding packet loss, if packet loss in allowed limits, so just can adopt corresponding number of combinations to carry out the combination of speech frame or the number of combinations of increase speech frame, if packet loss is higher than the maximum packet loss of permission, so should the corresponding number of combinations that reduces speech frame.
The parameter of weighing WLAN wireless channel quality is error rate p e, the error rate is low more, and quality of channel is good more.Error rate p eBe signal to noise ratio (Signal Noise Ratio, abbreviation SNR) function, SNR and received signal intensity (Received Signal Strength Indicator is called for short RSSI) exist linear relationship, therefore, can be similar to and obtain SNR by extracting RSSI parameter in the WLAN network interface card.For example, under CCK modulation system (5.5Mbit/s or 11Mbit/s), the pass between the SNR and the PDU error rate is:
p PDU = 2 m ( 1 - 1 M ) erfc ( SNR )
Wherein, erfc is the error complementary function.When modulation system was CCK55, the m value was 4 in the formula, and the M value is 16; When modulation system was CCK11, the m value was 8, and the M value is 256.
Under the known situation of signal to noise ratio snr, number of retransmissions m, when sharing the WLAN wireless channel, a plurality of terminals are bundled into the probability that merit transmits
Figure DEST_PATH_GSB00000129769800042
And between signal to noise ratio snr, the number of retransmissions m and the relation between the number of terminals n as shown in Equation (1):
p success tr = 1 - [ 1 - p s ( 1 - p PDU ) L PDU ] m - - - ( 1 )
In the formula (1), L PDUFor the bit number of (Protocol Data Unit is called for short PDU) of the Medium Access Control (MAC) Protocol Data Unit in the physical frame, relevant with the speech frame number of received pronunciation frame length (for example, speech frame comprises the speech data of 20ms) and combination; p PDUThe error rate for MAC PDU part in the physical frame can obtain according to the value of signal to noise ratio snr; M is the maximum retransmission of WLAN voice terminal MAC layer, can be configured; p sWhen n terminal challenge channel arranged, node successfully sent the probability (only show that node correctly sends frame, but can not guarantee reliably to be transmitted) of Frame on channel, can be obtained by formula (2):
p s = nτ ( 1 - τ ) n - 1 1 - ( 1 - τ ) n - - - ( 2 )
In the formula (2), τ is the probability of terminal at a certain time slot transmit frame, and in order to obtain maximum bandwidth availability ratio, the value of τ is:
τ ≈ 1 n T c * / 2 - - - ( 3 )
In the formula (3),
Figure DEST_PATH_GSB00000129769800051
Expressing possibility causes the number of time slots of frame collision, under the situation of not using request transmission/permission transmission (Request To Send/Clear To Send is called for short RTS/CTS) message and under the situation of use RTS/CTS, Can obtain by formula (4):
Figure DEST_PATH_GSB00000129769800053
In the formula (4), T FrameFor transmitting the required time of MAC PDU of a received pronunciation frame; T DIFSBe distributed collaborative model frame interval; SlotTime is a time slot; T RTSFor transmitting the RTS required time of control frame.
N in formula (2) and the formula (3) is that the number of the conversational terminal that WLAN can support at most can obtain by formula (5) under the situation of the speech frame combination of adopting some (N):
n = 1000 N t frame T transmission - - - ( 5 )
N in the formula (5) is the number of the speech frame of current combination, t FrameBe the frame length (unit is ms) of speech coding algorithm, T TransmissionBe the total transmission time of a voice packet, can obtain by formula (6) by WLAN:
T transmission=T load+T header+T LLC+T MAC+T ACK+T RTS+T CTS+T DIFS+T controlwaitlong+T backoff+T PLCP (6)
Under the situation that number of combinations is determined, the every value in the formula (6) all can calculate according to the transmission rate of physical channel, and the 11Mbit/s speed with 802.11b is example below, and every computational methods in the formula (6) are described:
T LoadBe the required time of transferring voice payload among the WLAN, can obtain by formula (7):
T load=B load×8/11 (7)
Wherein, B LoadBe the speech payload byte number.
T HeaderBe the transmission RTP/UDP/IP required time of packet header, can obtain by formula (8):
T header=B header×8/11=40×8/11≈29μs (8)
Wherein, B HeaderBe RTP/UDP/IP packet header byte number.
T LLCIn transmission time for transmission LLC (logical link control sublayer) head, can obtain by formula (9):
T LLC=4×8/11≈3μs (9)
T MACBe transmission mac frame head and verification and required time, can obtain by formula (10):
T MAC=34×8/11≈25μs (10)
T ACKFor confirming the transmission time of bag ACK, T RTSAnd T CTSBe the transmission time of RTS and CTS controlling packet, the transmission rate of ACK, RTS, CTS all is fixed as 2Mbit/s.T ACKCan obtain by formula (11):
T ACK=14×8/2=56μs (11)
T RTSCan obtain by formula (12):
T RTS=20×8/2=80μs (12)
T CTSCan obtain by formula (13):
T CTS=14×8/2=56μs (13)
T DIFSBe distributed collaborative model frame interval, T DIFS=50 μ s.
T ControlwaitlongBe total stand-by period of controlling packet, can obtain by formula (14):
T controlwaitlong=3×T SIFS=3×10=30μs (14)
Wherein, T SIFSBe short frame period, T SIFS=10 μ s.
T BackoffBe back off time, can obtain by formula (15):
T Backoff=16×SlotTime=16×20=320μs (15)
T PLCPFor transmitting total time of physics frame head and lead code, T PLCP=384 μ s.
When the present invention is applied to other wireless access ways, T TransmissionAccount form may be different, as long as but determined just can calculate T by the wireless access way that will adopt according to the detailed process of these technical transmission data Transmission
In order to guarantee not reduce the quality of ip voice, the end-to-end time delay of voice and network packet loss rate should be in certain scopes, for example: the end-to-end time delay of ip voice should be limited within the 150ms; Network packet loss rate is not more than 5%.According to the end-to-end time delay condition, can determine to carry out speech frame when combination, the number of speech frames that can make up at most, promptly maximum speech frame number of combinations (below use N MaxExpression).
The time delay of speech coding is made up of 4 parts: algorithm time delay, calculation delay, multiplexing time delay and propagation delay time.Voice communication has higher requirement to time delay, and the One Way Delay of interactive traffic requires less than 150ms.Wherein, the algorithm time delay is frame length and prediction length sum, and its value depends on that fully algorithm and specific implementation have nothing to do; Calculation delay equals the reconstitution time that adds decoder analysis time of encoder, and its value depends on hardware speed, it has been generally acknowledged that calculation delay is equal to or slightly less than frame length, and after guaranteeing that the next frame data are here, present frame disposes; Multiplexing time delay immediate shipment timing is prolonged, and encoder sends before the data and before the decoder decode, and all bits of whole data block are assembled the required time; The value discreteness of propagation delay time is very big, depends on to adopt special line or shared channel, shared channel often to suppose propagation delay time and multiplexing time delay and an about frame length.The one-way system time delay equals algorithm time delay, calculation delay, multiplexing time delay and propagation delay time sum, and rough estimate is at least 3 frame lengths.
When adopting the speech frame combination, suppose that the number of the speech frame of combination is N, then the algorithm time delay is that N times of frame length adds prediction length; Calculation delay also be non-when combination N doubly, i.e. about N frame length; Multiplexing time delay and propagation delay time can be similar to thinks constant, promptly still is a frame length.
Therefore, when adopting the speech frame combination technique, the frame length+prediction length of one-way system time delay=(2N+1).Be not more than the limit of 150ms according to the one-way system time delay, can calculate the number of speech frames that different speech coding algorithms can make up at most.Wireless VoIP speech frame combined method of the present invention comprises the steps: at first to determine the speech frame number of combinations according to the quality of wireless channel parameter; Generate speech frame according to the speech frame number of combinations then.
When definite speech frame number of combinations, regularly detect received signal intensity RSSI, obtain SNR according to RSSI, obtain the error rate p of MAC PDU part in the physical frame according to SNR PDUFor certain wireless channel, T Frame, T DIFS, SlotTime and T RTSBe known parameters, can obtain to cause the number of time slots of frame collision according to formula (3)
Figure DEST_PATH_GSB00000129769800071
Number of terminals n can pass through formula (5) and obtain; According to formula (3), can obtain the probability τ of terminal at a certain time slot transmit frame, then, can obtain the Probability p that node successfully sends Frame according to formula (2) sIn formula (1), m is that terminal sends the confirmable parameter of situation of packet according to it, at probability τ that obtains number of terminals n, a certain time slot transmit frame and error rate p PDUAfterwards, just can calculate the number L of bits of a certain MAC PDU PDUThe corresponding merit that is bundled into transmits probability
Figure DEST_PATH_GSB00000129769800081
.
When specifically determining the speech frame number of combinations, can adopt multiple mode.For example, a number of combinations variable X is set, obtain received signal intensity RSSI at every turn after, this variable X is changed to N, from maximum speech frame combination numerical value of N MaxBegin calculating and be bundled into merit transmission probability
Figure DEST_PATH_GSB00000129769800082
If satisfy the voice quality condition, then with this number of combinations as the speech frame number of combinations, otherwise the number of combinations variable X subtracts 1, continues to calculate whether satisfy the voice quality condition.As shown in Figure 1, the method one specific embodiment flow chart for definite speech frame number of combinations of the speech frame combined method based on WLAN of the present invention comprises the steps:
Steps A 1, number of combinations variable X are set to predefined maximum speech frame number of combinations N Max
Steps A 2, calculate according to number of combinations variable X and received signal intensity RSSI and to be bundled into merit and to transmit probability
Figure DEST_PATH_GSB00000129769800083
Because the length of speech frame is certain, therefore can obtain the number L of bits of MAC PDU according to the number of combinations variable X PDU
Steps A 3, judgement are bundled into merit and transmit probability
Figure DEST_PATH_GSB00000129769800084
Whether transmit probability threshold value Th greater than the predefined merit that is bundled into p(in order to guarantee the packet loss threshold value is 5% o'clock, Th pShould be 95%), if, execution in step A6, otherwise, illustrate that the currency of number of combinations variable X can't satisfy voice quality condition, execution in step A4;
Steps A 4, the number of combinations variable X is deducted predefined step-length (generally step-length can be made as 1);
Steps A 5, judge that whether the number of combinations variable X is greater than predefined minimum speech frame number of combinations N Min(generally can be made as 1), if, execution in step A2, otherwise the number of combinations variable has been minimum value, can't reduce execution in step A6 again;
Steps A 6, with the current numerical value of number of combinations variable X as the speech frame number of combinations.
When definite speech frame number of combinations, also the initial value of number of combinations variable can be changed to current speech frame number of combinations, transmit probability according to the merit that is bundled into that calculates
Figure DEST_PATH_GSB00000129769800085
Increase or reduce number of combinations.As shown in Figure 2, another specific embodiment flow chart of method for definite speech frame number of combinations of the speech frame combined method based on WLAN of the present invention comprises the steps:
Step B1, number of combinations variable X are set to current speech frame number of combinations;
Step B2, calculate according to number of combinations variable X and received signal intensity RSSI and to be bundled into merit and to transmit probability
Figure DEST_PATH_GSB00000129769800091
Step B3, basis are bundled into merit and transmit probability
Figure DEST_PATH_GSB00000129769800092
With predefined threshold value Th pDifference S pAdjust the number of combinations variable X; For fear of concussion, can set an amplitude threshold Th A, transmit probability if be bundled into merit
Figure DEST_PATH_GSB00000129769800093
Be bundled into merit and transmit probability threshold value Th pDifference S pAt scope [Th A, Th A] in, then do not adjust the value of current number of combinations variable X, when difference does not belong to this scope, if
Figure DEST_PATH_GSB00000129769800094
Then increase the value of number of combinations variable X, but the value after increasing should be greater than N Max, if
Figure DEST_PATH_GSB00000129769800095
Then reduce the value of number of combinations variable X, but the value after reducing should not counted N less than minimum combination Min
Step B4, if the number of combinations variable does not change, perhaps the number of combinations variable equals predefined maximum or minimum speech frame combination numerical value, execution in step B5, otherwise, execution in step B2;
Step B5, with current number of combinations variable as the speech frame number of combinations.
After having determined the speech frame number of combinations, according to this speech frame language number of combinations, speech frame is made up, generate speech frame to be sent.As shown in Figure 3, for the speech frame combined method one embodiment flow chart based on WLAN of the present invention, comprise the steps:
Step 101, obtain the RSSI value one time at regular intervals;
Step 102, number of combinations variable X are set to predefined maximum speech frame number of combinations N Max
Step 103, calculate according to number of combinations variable X and received signal intensity RSSI and to be bundled into merit and to transmit probability
Figure DEST_PATH_GSB00000129769800096
Step 104, judgement are bundled into merit and transmit probability
Figure DEST_PATH_GSB00000129769800097
Whether less than 95%, if, execution in step 105, otherwise, execution in step 107;
Step 105, number of combinations variable X subtract 1;
Step 106, whether judge the number of combinations variable X greater than 1, if, execution in step 103, otherwise, execution in step 107;
Step 107, with the current numerical value of number of combinations variable X as the speech frame number of combinations;
Step 108, according to speech frame number of combinations combine voice frame.
In order to realize the speech frame combination, wireless device of the present invention has added physical link monitoring modular and speech frame combined control module on the basis of existing wireless speech terminal.The physical link monitoring modular is connected with the WALN network communication module, is used to detect received signal intensity RSSI; The speech frame combined control module is connected with physical link monitoring modular, speech coding module and protocol process module, be used for determining the speech frame number of combinations according to received signal intensity RSSI, the speech frame that the speech coding module is generated makes up, and the speech frame that combination obtains is sent to protocol process module.
As shown in Figure 4, be wireless device one example structure schematic diagram of the present invention.Voice collecting and playing module are used for the collection and the broadcast of voice signal; The silence detection module is used for the voice of definite current collection and should still handles as movable voice as quiet processing; Quiet coding module is used for mute signal is encoded; The speech coding module is used for active voice signal is encoded; The tone decoding module is used for decoding according to corresponding speech coding algorithm; Comfort noise generates (Comfortable NoiseGeneration is called for short CNG) module and is used for generating comfort noise according to quiet frame; Real-time Transport Protocol (Realtime Transport Protocol, RTP) processing modules implement RTP/RTCP (RTPControl Protocol, RTP Control Protocol) function of agreement, being used for coded data is encapsulated into the encapsulation of RTP bag and takes out coded data from the RTP bag, the type of judgment data is given tone decoding module or CNG module then respectively; IP/UDP Knockdown block is used for the interpolation and the deletion in IP/UDP packet header; Wherein, a Real-time Transport Protocol processing module and IP/UDP Knockdown block has been formed protocol process module jointly; Wireless network communication module is used for by the Radio Link transmitting and receiving data.
Wireless device of the present invention is as follows from the process that network receives data and broadcast: wireless network communication module is sent to IP/UDP Knockdown block with the data that receive; IP/UDP Knockdown block deletion IP/UDP packet header, and be sent to the Real-time Transport Protocol processing module; The Real-time Transport Protocol processing module is taken out coded data from the RTP bag, the judgment data type is if active voice frame then is sent to the tone decoding module, if quiet frame then is sent to the CNG module; After the tone decoding module receives speech frame, decode, decoded data is sent to voice collecting and playing module; After the CNG module receives quiet frame, generate comfort noise according to quiet frame, and be sent to voice collecting and playing module; Voice collecting and playing module are play voice or comfort noise.
Wireless device image data of the present invention and the process that sends by network are as follows: voice collecting and playing module acquired signal are sent to the silence detection module; The silence detection module judges whether to be mute signal, if, then be sent to quiet coding module, otherwise, be sent to the speech coding module; Quiet coding module is encoded to mute signal, generates quiet frame, is sent to the Real-time Transport Protocol processing module; The speech coding module is encoded to voice signal, generates speech frame, is sent to the speech frame combined control module; The speech frame combined control module makes up speech frame according to the speech frame number of combinations, and the data that combination obtains are sent to the Real-time Transport Protocol processing module; The Real-time Transport Protocol processing module is encapsulated into the RTP bag with coded data, is sent to IP/UDP Knockdown block; IP/UDP Knockdown block adds IP/UDP packet header, is sent to the wlan network communication module; Wireless network communication module sends data by Radio Link.
The physical link monitoring modular regularly detects, and received signal intensity RSSI is sent to the speech frame combined control module; The speech frame combined control module is determined the speech frame number of combinations according to RSSI and according to this number of combinations combine voice frame.
As shown in Figure 5, the speech frame combined control module one example structure schematic diagram for wireless device of the present invention comprises: the number of combinations computing module, be connected with the physical link monitoring modular, and be used for determining the speech frame number of combinations according to received signal intensity RSSI; Composite module is connected with number of combinations computing module, speech coding module and protocol process module, is used for according to the speech frame number of combinations speech frame that the speech coding module generates being made up, and the speech frame that combination obtains is sent to protocol process module.
The present invention has taken all factors into consideration the access of channel bit error rate, data link layer of physical layer and retransmission mechanism, the packet loss restriction of network layer and the end-to-end delay of application layer, the index and the factors such as terminal number of competitive channel, can adjust the number of combine voice frame according to the error rate of number of retransmissions, number of users and physical channel automatically, improved the voice transmission efficiency effectively, the concurrent session number of channel support is improved.When being applied to VoWLAN, G.711 the transmission efficiency of speech coding nearly can improve 150%, and G.729A iLBC and nearly G.723.1 can improve 100% then can improve more than 200%; When being applied to other wireless access ways, also can effectively improve the voice transmission efficiency.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field should be appreciated that still and can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (6)

1. Wireless VoIP speech frame combined method is characterized in that comprising:
Step according to number of combinations variable and received signal intensity calculating channel quality parameter;
Determine the step of speech frame number of combinations according to the quality of wireless channel parameter; And
Generate the step of speech frame according to the speech frame number of combinations;
Wherein, described number of combinations variable is a maximum speech frame combination numerical value, describedly determines that according to the quality of wireless channel parameter step of speech frame number of combinations is specially:
Steps A 3, judge whether channel quality parameter is better than predefined channel quality parameter threshold value, if, execution in step A6, otherwise, execution in step A4;
Steps A 4, the number of combinations variable is deducted predefined step-length;
Steps A 5, judge the number of combinations variable whether greater than predefined minimum speech frame combination numerical value, if, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity, otherwise, execution in step A6;
Steps A 6, with current number of combinations variable as the speech frame number of combinations;
Perhaps, described number of combinations variable is set to current speech frame number of combinations, describedly determines that according to the quality of wireless channel parameter step of speech frame number of combinations is specially:
Step B3, adjust the number of combinations variable according to the difference of channel quality parameter and predefined channel quality parameter threshold value;
Step B4, if the number of combinations variable does not change, perhaps the number of combinations variable equals predefined maximum or minimum speech frame combination numerical value, execution in step B5, otherwise, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity;
Step B5, with current number of combinations variable as the speech frame number of combinations.
2. Wireless VoIP speech frame combined method according to claim 1 is characterized in that described step B3 is specially: if the difference of channel quality parameter and predefined channel quality parameter threshold value is in predefined scope, and execution in step B4 then; Otherwise, judge whether channel quality parameter is better than this channel quality parameter threshold value, if, the number of combinations variable is increased predefined step-length, otherwise, the number of combinations variable is deducted predefined step-length.
3. Wireless VoIP speech frame combined method according to claim 1 and 2 is characterized in that described step according to speech frame number of combinations generation speech frame is specially: according to the speech frame number of combinations, speech frame is made up, generate speech frame to be sent.
4. Wireless VoIP speech frame combined method according to claim 1 is characterized in that, described maximum speech frame combination numerical value is predefined maximum speech frame number of combinations; Or before the step according to number of combinations variable and received signal intensity calculating channel quality parameter, the maximum speech frame number of combinations definite according to the one-way system time delay; Wherein, described one-way system time delay calculates according to following formula:
Frame length+prediction the length of one-way system time delay=(2N+1);
Wherein, N is the number of the speech frame of combination.
5. a wireless device comprises wireless network communication module, speech coding module, protocol process module, it is characterized in that also comprising:
The physical link monitoring modular is connected with described wireless network communication module, is used to detect received signal intensity;
The speech frame combined control module, be connected with described physical link monitoring modular, speech coding module and protocol process module, be used for calculating channel quality parameter according to number of combinations variable and received signal intensity, determine the speech frame number of combinations according to the quality of wireless channel parameter, the speech frame that the speech coding module is generated makes up, and the speech frame that combination obtains is sent to protocol process module;
Wherein, described number of combinations variable is maximum speech frame combination numerical value, carries out when described speech frame combined control module is determined the speech frame number of combinations according to the quality of wireless channel parameter:
Steps A 3, judge whether channel quality parameter is better than predefined channel quality parameter threshold value, if, execution in step A6, otherwise, execution in step A4;
Steps A 4, the number of combinations variable is deducted predefined step-length;
Steps A 5, judge the number of combinations variable whether greater than predefined minimum speech frame combination numerical value, if, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity, otherwise, execution in step A6;
Steps A 6, with current number of combinations variable as the speech frame number of combinations;
Perhaps, described number of combinations variable is set to current speech frame number of combinations, carries out when described speech frame combined control module is determined the speech frame number of combinations according to the quality of wireless channel parameter:
Step B3, adjust the number of combinations variable according to the difference of channel quality parameter and predefined channel quality parameter threshold value;
Step B4, if the number of combinations variable does not change, perhaps the number of combinations variable equals predefined maximum or minimum speech frame combination numerical value, execution in step B5, otherwise, carry out the step of calculating channel quality parameter according to number of combinations variable and received signal intensity;
Step B5, with current number of combinations variable as the speech frame number of combinations.
6. wireless device according to claim 5 is characterized in that described speech frame combined control module comprises:
The number of combinations computing module is connected with described physical link monitoring modular, is used for determining the speech frame number of combinations according to received signal intensity;
Combined control module, be connected with described number of combinations computing module, speech coding module and protocol process module, be used for the speech frame that the speech coding module generates being made up, and the speech frame that combination obtains is sent to protocol process module according to the speech frame number of combinations.
CN2007100640826A 2007-02-27 2007-02-27 Wireless VOIP voice frame combining method as well as radio device Expired - Fee Related CN101257419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100640826A CN101257419B (en) 2007-02-27 2007-02-27 Wireless VOIP voice frame combining method as well as radio device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100640826A CN101257419B (en) 2007-02-27 2007-02-27 Wireless VOIP voice frame combining method as well as radio device

Publications (2)

Publication Number Publication Date
CN101257419A CN101257419A (en) 2008-09-03
CN101257419B true CN101257419B (en) 2010-12-29

Family

ID=39891909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100640826A Expired - Fee Related CN101257419B (en) 2007-02-27 2007-02-27 Wireless VOIP voice frame combining method as well as radio device

Country Status (1)

Country Link
CN (1) CN101257419B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557226A (en) * 2019-09-05 2019-12-10 北京云中融信网络科技有限公司 Audio transmission method and device

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753262B (en) * 2008-12-04 2013-10-23 中国移动通信集团公司 Voice quality confirming method, downlink user pairing method and device
CN101540655B (en) * 2009-04-20 2013-02-27 中兴通讯股份有限公司 Method and system for dynamically packing speech frames
CN101925117A (en) * 2009-06-09 2010-12-22 中兴通讯股份有限公司 Frame aggregation control method and device of WLAN (Wireless Local Area Network)
JP5620518B2 (en) * 2010-04-30 2014-11-05 ノキア シーメンス ネットワークス オサケユキチュア Reduce voice traffic overhead
BR112013011977A2 (en) * 2010-12-03 2016-08-30 Ericsson Telefon Ab L M adaptive source signal frame aggregation
CN106374974B (en) * 2015-07-24 2018-08-17 国家电网公司 A kind of power line carrier communication frame length self-adapting regulation method and device
CN107027156B (en) * 2016-01-29 2020-06-26 华为技术有限公司 Method and terminal equipment for sending voice frame
CN106028401A (en) * 2016-05-09 2016-10-12 Tcl移动通信科技(宁波)有限公司 Selection method and system for voice coding rate in call
US10644928B2 (en) * 2017-05-02 2020-05-05 Hanwha Techwin Co., Ltd. Device, system, and method to perform real-time communication
EP3627879B1 (en) 2018-02-05 2022-10-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for detecting link quality and terminal device
EP3751889B1 (en) * 2018-02-07 2022-11-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wireless communication method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423889A (en) * 2000-02-22 2003-06-11 北方电讯网络有限公司 System and method for controlling a wireless packet switched voice call

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423889A (en) * 2000-02-22 2003-06-11 北方电讯网络有限公司 System and method for controlling a wireless packet switched voice call

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557226A (en) * 2019-09-05 2019-12-10 北京云中融信网络科技有限公司 Audio transmission method and device

Also Published As

Publication number Publication date
CN101257419A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
CN101257419B (en) Wireless VOIP voice frame combining method as well as radio device
Lin et al. WSN01-1: frame aggregation and optimal frame size adaptation for IEEE 802.11 n WLANs
Wang et al. IEEE 802.11 n MAC enhancement and performance evaluation
KR101930057B1 (en) Apparatus and method for transmitting/receiving data in communication system
US9036624B2 (en) Method of scheduling transmission in a communication network, corresponding communication node and computer program product
CN101997729A (en) Network control method and device
US20160269918A1 (en) Cross-layer optimization in multimedia communications
Chevillat et al. Dynamic data rate and transmit power adjustment in IEEE 802.11 wireless LANs
Poppe et al. Choosing the UMTS air interface parameters, the voice packet size and the dejittering delay for a voice-over-ip call between a umts and a pstn party
Yun et al. 100+ VoIP calls on 802.11 b: The power of combining voice frame aggregation and uplink-downlink bandwidth control in wireless LANs
CN114980144B (en) Method for evaluating probability of multi-channel unlicensed retransmission scheme under low time delay
Fitzpatrick Voice call capacity analysis of long range WiFi as a femto backhaul solution
Chakeres et al. Allowing bit errors in speech over wireless LANs
Lee et al. Cross layer optimized video streaming based on IEEE 802.11 multi-rate over multi-hop mobile ad hoc networks
Mohd et al. Performance of Voice over IP (VoIP) over a wireless LAN (WLAN) for different audio/voice codecs
Zhang et al. Adaptive rate control for VoIP in wireless ad hoc networks
Obeidat et al. Cross-layer opportunistic adaptation for voice over ad hoc networks
Chatterjee et al. VoIP over WiMAX
Wiethoelter Virtual utilization and voip capacity of wlans supporting a mix of data rates
Yeon et al. Adaptive transmission scheme using dynamic aggregation and fragmentation in WLAN MAC
Chinmay et al. Effect of Packet Retransmission on VoWiFi Cell Capacity Using IEEE 802.11 ac for VBR Traffic
Maguolo et al. Cross-Layer solutions to performance problems in VOIP over WLANS
Sfairopoulou A cross-layer mechanism for QoS improvements in VoIP over multi-rate WLAN networks
RU2426250C2 (en) Method and system for speech compensation in mobile communication system
Gnassou et al. Impact of wireless channel on VoIP QoS and admission regions in IEEE 802.11 g WLANs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101229

Termination date: 20210227

CF01 Termination of patent right due to non-payment of annual fee