The present application claims priority of Korean Patent Application Nos. 10-2011-0106060 and 10-2012-0114719, filed on Oct. 17, 2011, and Oct. 16, 2012, respectively, which are incorporated herein by reference in their entirety.
1. Field of the Invention
Exemplary embodiments of the present invention relate to an apparatus and a method for transmitting data so as to maximally recover lost data packets by a forward error correction (hereinafter, referred to as ‘FEC’) scheme in a wireless communication based internet protocol (hereinafter, referred to as ‘IP’) network.
2. Description of Related Art
In a current communication system, researches for providing services having various qualities of services (hereinafter, referred to as QoSs) to users at a high transmission rate have been actively conducted. The communication system has proposed methods for rapidly transmitting data having various types of QoSs through limited resources and has recently proposed methods for providing various multimedia services, such as voice, image, and the like, through a packet network with the development of a network and the increase in a user demand for a high-quality service.
Meanwhile, in the current communication system, at the time of transmitting and receiving a voice over IP (VoIP) packet through an IP packet network, voice information of the VoIP packet is transmitted and received through a user datagram protocol (UDP) layer. In this case, there is a limitation in stably transmitting and receiving the VoIP packet according to the characteristics of the UDP. In particular, in the current communication system, when transmitting and receiving data packets corresponding to various multimedia services from and to user equipment through a wireless communication based wireless local area network (hereinafter, referred to as ‘WLAN’) and a mobile communication network, that is, a wireless channel, the data packets transmitted and received from and to the user equipment are lost due to an increase in a variable bandwidth of a wireless channel and a bit error rate of the wireless channel, a transmission delay of data packets due to a movement of user equipment, and the like.
Further, in the current communication system, there have been proposed methods for recovering data packets lost as described above. For example, in order for an apparatus for receiving data packets to recover lost data packets by the FEC scheme, an apparatus for transmitting the data packets generates redundant data packets based on the data packets to be transmitted and transmits the data packets and the redundant data packets and the receiving apparatus recovers the lost data packets based on the FEC scheme using the received redundant data packets and data packets to normally receive the data packets transmitted from the transmitting apparatus.
However, in the current communication system, when recovering the lost data packets by the FEC scheme, the receiving apparatus requests the transmission of the redundant data packets to the transmitting apparatus in consideration of the loss of the data packets and recovers the lost data packets by the FEC scheme using the received redundant data packets in correspondence with the request of the redundant data packets, such that there are limitations in recovering performance, recovering rate, and the like, of the lost data packets.
In particular, in the current communication system, as the receiving apparatus requests the transmission of the redundant data packets for recovering the data packets lost in the wireless channel in correspondence with the generation of the lost data packets to the transmission apparatus when the loss of the data packets occur in the wireless channel, a large amount of data packets may be lost in advance until the lost data packets are recovered using the redundant data packets and the service quality may be remarkably degraded when the data packets are continuously lost in the wireless channel.
Therefore, in the communication system, when the data packets are transmitted and received through, for example, the wireless communication based IP network, that is, the wireless channel, a need exists for a data transmitting method for stably transmitting and receiving large-capacity data while improving the quality of service so that the receiving apparatus recovers the lost data packets fast and maximally by the FEC scheme.
An embodiment of the present invention is directed to provide an apparatus and a method for transmitting data in a communication system.
Another embodiment of the present invention is directed to provide an apparatus and a method for transmitting data so as to maximally recover lost data packets by a forward error correction (FEC) scheme, at the time of transmitting and receiving data packets using a wireless communication based internet protocol (IP) network in a communication system.
A still another embodiment of the present invention is directed to provide an apparatus and a method for transmitting data so as to maximally recover lost data packets by a forward error correction scheme, by confirming a loss of data packets occurring at the time of transmitting and receiving the data packets through a wireless channel in a communication system based on an analysis of data patterns of the data packets to be transmitted.
The foregoing and other objects, features, aspects and advantages of the present invention will be understood and become more apparent from the following detailed description of the present invention. Also, it can be easily understood that the objects and advantages of the present invention can be realized by the units and combinations thereof recited in the claims.
An apparatus for transmitting data in a communication system includes: a detection unit configured to confirm a state of data samples according to data patterns of data packets to be transmitted through a wireless channel; a selection unit configured to calculate a state probability of the data samples according to the state of the data samples and determine a generation of redundant data packets of the data packets based on the state probability of the data samples; a forward error correction (FEC) module configured to use the data packets according to the determination of the generation of the redundant data packets to generate the redundant data packets; and an interface module configured to transmit the data packets and the redundant data packets through the wireless channel.
A method for transmitting data in a communication system, includes: confirming a state of data samples according to data patterns of data packets to be transmitted through a wireless channel; calculating state probabilities of the data samples according to the state of the data samples and determining a generation of redundant data packets of the data packets based on the state probability of the data samples; generating the redundant data packets using the data packets according to the determination of the generation of the redundant data packets; and transmitting the data packets and the redundant data packets through the wireless channel.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It is to be noted that only components required to understand an operation in accordance with the present invention is described below and the description of other components will be omitted not to unnecessarily obscure the subject matters of the present invention.
The present invention proposes an apparatus and a method for transmitting data that transmit data packets through a communication system, for example, a wireless communication based Internet protocol (hereinafter, referred to as ‘IP’) network, a wireless channel, and the like. Here, although the embodiment of the present invention describes, by way of example, a communication system including a wireless communication based IP network, for example, a wireless local area network (hereinafter, referred to as ‘WLAN’) system, a method for transmitting data proposed in the present invention may also be applied to other communication systems. Further, although the embodiment of the present invention describes, by way of example data packets corresponding to various multimedia services, such as voice, image, and the like, in particular, voice data packets corresponding to voice services, for convenience of explanation, the present invention may also be applied to transmission and reception of data corresponding to other service types, that is, services having various qualities of services (hereinafter, referred to as ‘QoSs’).
Further, in the embodiment of the present invention, the data packets are transmitted so as to maximally recover lost data packets by a forward error correction (hereinafter, referred to as ‘FEC’), by confirming a loss of the data packets occurring at the time of transmitting and receiving the data packets through a wireless channel in a communication system based on an analysis of patterns of the data packets. Here, the communication system in accordance with the embodiment of the present invention confirms the loss of the data packets occurring at the time of transmitting and receiving the data packets using the wireless communication based IP, that is, the wireless channel based on an analysis of the patterns of the data packets to be transmitted to generate the redundant data packets and transmits the data packets and the redundant data packets to allow the receiving apparatus of the data packets to recover the lost data packets fast and maximally by the FEC scheme, thereby stably transmitting and receiving large-capacity data while improving a quality of service.
In this case, in the communication system in accordance with the embodiment of the present invention, the transmitting apparatus analyzes the data patterns of the data packets to be transmitted, for example, the data patterns of the voice data packets to confirm the redundant data packets corresponding to the loss of the data packets and generates the redundant data packets corresponding to the loss of the redundant data packets and then transmits the data packets and the redundant data packets to the receiving apparatus and the receiving apparatus recovers the lost data packets fast and maximally using the data packets and the redundant data by the FEC scheme, thereby stably transmitting and receiving the large-capacity data.
Here, in the communication system in accordance with the embodiment of the present invention, the receiving apparatus analyzes the loss of the data packets not to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme and the transmitting apparatus for transmitting the data packets analyzes the data packets for the data packets, for example, the voice patterns of the voice data packets to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme. That is, in the communication system in accordance with the embodiment of the present invention; as described above, the transmitting apparatus analyzes the data patterns of the data packets to determine the generation of the redundant data packets and generates the determined redundant data packets and transmits the generated redundant data packets along with the data packets to the receiving apparatus and the receiving apparatus recovers the lost data packets using the received redundant data packets and data packets by the FEC scheme.
In other words, in the existing communication system, the receiving apparatus requests the transmission of the redundant data packets to the transmitting apparatus by analyzing a loss rate of the data packets in the wireless channel or the wireless link so as to recover the lost data packets by the FEC scheme and then recovers the lost data packets by the FEC scheme using the transmitted data packets and redundant data packets transmitted from the transmitting apparatus according to the request, but in the communication system in accordance with the embodiment of the present invention, the transmitting apparatus analyzes the data patterns of the data packets to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme and transmits the generated redundant data packets along with the data packets to the receiving apparatus and the receiving apparatus recovers the lost data packets fast and maximally using the received redundant data packets and data packets by the FEC scheme. Therefore, the communication system in accordance with the embodiment of the present invention minimizes the loss of the data packets occurring at the time of transmitting and receiving the data packets through the wireless channel or the wireless link and recovers the lost data packets fast, thereby improving the quality of service and stably transmitting and receiving the large-capacity data. Hereinafter, the analysis of the data patterns of data packets in the communication system in accordance with the embodiment of the present invention will be described in detail with reference to
Referring to
Here, when the probability of the case 130 shifted from the first state 110 to the second state 120 is α, the probability α becomes Pr[Xn+1=T/Xn=S], when the probability of the case 140 shifted from the second state 120 to the first state is β, the probability β becomes Pr [Xn+1=S/Xn=T], and when the probability of the case 150 shifted from the first state 110 to the first state 110 becomes (1−α), and the probability of the case 160 shifted from the second state 120 to the second state 120 becomes (1−β).
Further, the probability of the case in which the voice packet for the voice data packet is the first state 110 becomes Pr [Xn=T]=β/(α+β) and the probability of the case in which the voice pattern of the voice data packet is the second state 120 becomes Pr [Xn=S]=α/(α+β). Hereinafter, the voice state probability calculation according to the data patterns of the voice data packets in the communication system in accordance with the embodiment of the present invention will be described in detail with reference to
Referring to
In the voice samples from N-th to (N+10)-th as illustrated in
Therefore, in the communication system, the probability α of the voice sample, the probability β, the probability Pr [Xn=T]=β/(α+β), and the probability Pr [Xn=S]=α/(α+β) are calculated based on the number A of cases about the probability α, the number A′ of cases about the probability 1−α, the number B of cases about the probability β, the number B′ of cases about the probability 1−β. That is, in the communication system, the probability α of the case in which the voice sample is shifted from the first state T to the second state S, the probability β of the case in which the voice sample is shifted from the second state S to the first state T, the probability Pr [Xn=T]=β/(α+β) of the case in which the voice sample is the first state T, and the probability Pr [Xn=S]=α/(α+β) of the case in which the voice sample is the second state S are each calculated. For example, the probability α of the case in which the voice sample is shifted from the first state T to the second state S becomes A/(A+A′)=0.5, the probability β of the case in which the voice sample is shifted from the second state S to the first state T becomes B/(B+B′)=0.75, the probability Pr [Xn=T]=β/(α+β) of the case in which the voice sample is the first state T becomes 0.6, and the probability Pr [Xn=S]=α/(α+β) of the case in which the voice sample is the second state S becomes 0.4.
That is, in the communication system, as described above, the state probabilities of the data samples according to the data patterns of the data packets are calculated. In other words, in the communication system, the transmitting apparatus calculates the state probabilities of the data samples according to the data patterns of the data packets to analyze the data patterns of the data packets, analyzes the data patterns to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme in the receiving apparatus and the transmitting apparatus transmits the redundant data packets and the data packets through the wireless channel or the wireless link and the receiving apparatus recovers the lost data packets using the received redundant data packets and data packets by the FEC scheme. Herein, the apparatus for transmitting data in the communication system in accordance with the embodiment of the present invention will be described in detail with reference to
Referring to
Here, the detection unit 306 confirms the voice samples of the voice data input through the audio interface module 304, in particular, the state of the voice samples according to the voice patterns of the voice data, in other words, detects whether the voice sample is the first state T indicating the state in which the speaker speaks or the second state S indicating the state in which the speaker does not speak, as described in
Further, the selection unit 314 calculates the state probability of the voice sample according to the voice patterns of the voice data as illustrated in
Here, the selection unit 314 determines the generation of the redundant data packets in consideration of the loss rate of the data packets based on the state probabilities of the voice samples, for example, determines whether a small number of redundant data packets are generated according to the low loss rate of the data packets, a larger number of redundant data packets are generated according to the high loss rate of the data packets, or the redundant data packets are not generated. That is, the selection unit 314 determines the number of redundant data packets in consideration of the loss rate of the data packets in the wireless channel based on the state probabilities of the voice samples. Here, the data packets, for example, the state probability calculation of the voice samples according to the voice patterns of the voice data packets will be described above in detail, and therefore the detailed description thereof will be omitted.
The FEC module 316 generates the redundant data packets by using the voice data encoded by the codec encoder 308 according to the determination of the generation of the redundant data packets by the selection unit 314.
In addition, the network interface module 312 transmits the voice data packets and the redundant data packets to the receiving apparatus through the wireless communication based IP network 320, that is, the wireless channel or the wireless link and the receiving apparatus recovers the lost data packets using the received redundant data packets and data packets by the FEC scheme. Here, the operation of generating the redundant data packets for recovering the lost data packets by the FEC scheme in the communication system in accordance with the embodiment of the present invention will be described in more detail with reference to
Referring to
Next, in S430, it is confirmed whether the state of the voice sample is the first state T indicating the state in which a speaker speaks and the second state S indicating the state in which a speaker does not speak. That is, as described above, it is confirmed whether the voice sample is a voice sample of the case shifted from the first state T to the second state S, the voice sample is a voice sample of the case shifted from the second state S to the first state T, and the voice sample is a voice sample of the case shifted from the first state T to the first state T or a voice sample of the case shifted from the second state S to the second state S, respectively.
Here, in a data structure for the state probability calculation of the data packets illustrated in
Further, in S440, the state probabilities of the voice samples according to the voice patterns of the voice data are calculated. In other words, as described above, the probability α of the case in which the voice sample is shifted from the first state T to the second state S, the probability β of the case in which the voice sample is shifted from the second state S to the first state T, the probability Pr [Xn=T]=β/(α+β) of the case in which the voice sample is the first state T, and the probability Pr [Xn=S]=α/(α+β) of the case in which the voice sample is the second state S are each calculated.
In this case, the number A of cases about the probability α, that is, the number A of cases about the probability α of the case shifted from the first state T to the second state S, the number A′ of cases about the probability 1−α, that is, the number A′ of cases about the probability 1−α of the case in which the first state T is maintained, the number B of cases about the probability β, that is, the number B of cases about the probability β of the case shifted from the second state S to the first state T, the number B′ of cases about the probability 1−β, that is, the number B′ of cases about the probability 1−β of the case in which the second state S is maintained, and then in the data structure for the state probability calculation of the data packets illustrated in
The probability α, the probability β, and the probability Pr [Xn=T]=β/(α+β), and the probability Pr [Xn=S]=α/(α+β) of the voice samples according to the voice packets of the voice data packets are calculated based on the number A of cases about the probability α, the number A′ of cases about the probability 1−α, the number B of cases about the probability β, and the number B′ of cases about the probability 1−β. That is, in the communication system, the probability α of the case in which the voice sample is shifted from the first state T to the second state S, the probability β of the case in which the voice sample is shifted from the second state S to the first state T, the probability Pr [Xn=T]=β/(α+β) of the case in which the voice sample is the first state T, and the probability Pr [Xn=S]=α/(α+β) of the case in which the voice sample is the second state S are each calculated. Here, in the data structure for the state probability calculation of the data packets illustrated in
Next, in S450, the FEC scheme in the receiving apparatus is determined in consideration of the loss rate of the data packets in the wireless channel based on the state probability of the voice samples. In other words, the voice patterns of the voice data packets are analyzed based on the state probabilities of the voice samples to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme in the receiving apparatus in consideration of the voice patterns, that is, the loss rate of the data packets in the wireless channel or the wireless link based on the state probabilities of the voice samples. Here, it is determined whether a small number of redundant data packets are generated according to the low loss rate of the data packets, a large number of redundant data packets are generated according to the high loss rate of the data packets, or the redundant data packets are not generated.
In the communication system in accordance with the embodiment of the present invention, the transmitting apparatus calculates the state probabilities of the data samples according to the data patterns of the data packets to analyze the data patterns of the data packets and analyzes the data patterns to determine the generation of the redundant data packets for recovering the lost data packets by the FEC scheme in the receiving apparatus and the transmitting apparatus transmits the redundant data packets and the data packets through the wireless channel or the wireless link and the receiving apparatus recovers the lost data packets using the received redundant data packets and data packets by the FEC scheme.
The present invention confirms the loss of the data packets occurring at the time of transmitting and receiving the data packets using the wireless communication based internet protocol (IP) network, in other words, the wireless channel in the communication system by analyzing the data patterns of the data packets to be transmitted and generates the redundant data packets so as to be transmitted along with the data packets, such that the receiving apparatus of the data packets recovers the lost data packets fast and maximally by the forward error correction (FEC) scheme, thereby improving the quality of service and stably transmitting and receiving the large-capacity data.
Meanwhile, the embodiments is described in detail in the detailed description of the present invention, but may be variously modified without departing from the scope of the present invention. Accordingly, the scope of the present invention is not construed as being limited to the described embodiments but is defined by the appended claims as well as equivalents thereto.
Number | Date | Country | Kind |
---|---|---|---|
10-2011-0106060 | Oct 2011 | KR | national |
10-2012-0114719 | Oct 2012 | KR | national |