Method for controlling multi-channel voice data of gateway system and apparatus thereof
AssigneeLG Electronics Inc.
InventorSung Han Bae
Life of this patent
Estimating the term…
Abstract
A method and its apparatus for controlling multi-channel voice data in a gateway system between voice network such as a public switched telephone network (PSTN) and an internet network, in which a plurality of memory regions of channel buffer are statically allocated, to each of which an RTP header is allocated, and a voice packet received from the PSTN network and a voice packet received from an IP network are transferred, by which, a processing speed is remarkably reduced, and more channels can be accommodated.
Claims17
A method for controlling multi-channel voice data of a gateway system comprising:
- allocating statically a plurality of memory regions of a channel buffer;
- storing a real time protocol (RTP) header in each allocated memory region;
- copying in a predetermined order a plurality of voice packets received from a multi-channel packet controller on the allocated memory region to produce a plurality of user datagram protocol (UDP) data for a channel in the channel buffer;
- and
- transmitting in a predetermined order each of the plurality of UDP data for a first channel from the channel buffer to a UDP unit when an interrupt signal is generated, wherein each allocated memory region has a receiving buffer descriptor having address information indicating a position within the memory region of the channel buffer where a specific voice packet is stored, and wherein the copying includes renewing a state bit of the receiving buffer descriptor, and wherein the transmitting includes checking the state bit of the receiving buffer descriptor of which the state bit informs that the voice packet was stored.
A method of controlling multi-channel voice data of a gateway system comprising:
- allocating statically a plurality of first memory regions of a receiving channel buffer, wherein the number of first memory regions is about the same as the number of channels and a plurality of second memory regions of transmitting channel buffer, wherein the number of second memory regions is about the same as the number of channels;
- storing an RTP header at each of the first and the second memory regions as allocated;
- copying in a predetermined order a plurality of voice packets received from a multi-channel packet controller on the allocated plurality of first memory regions to produce a plurality of UDP data for each channel;
- copying in a predetermined order the plurality of UDP data for each channel received from a UDP unit on the plurality of second memory regions;
- and
- receiving an interrupt signal, then transmitting in a predetermined order the plurality of UDP data stored at the plurality of first memory regions to the UDP unit and transmitting in a predetermined order RTP data of UDP data stored at the second memory regions to the multi-channel packet controller,
- wherein each of the plurality of first memory regions has a receiving buffer descriptor having address information indicating a position of the memory region where a voice packet is stored, and wherein each of the second memory regions has a transmitting buffer descriptor having address information indicating a position of the memory region where a voice packet is stored, and
- wherein the copying includes renewing a state bit of the receiving buffer descriptor or a state bit of the transmitting buffer descriptor, and the transmitting includes checking the state bit of the receiving buffer descriptor or the state bit of the transmitting buffer descriptor of which the state bit is to inform that the voice packet was stored.
An apparatus for controlling multi-channel voice data of a gateway system, comprising:
- a multi-channel packet controller means for receiving and transmitting a voice network and an audio signal;
- a UDP means for receiving and transmitting digital voice data from and to a packet network;
- a channel buffer having a plurality of memory regions;
- and
- an applied program task means for storing a RTP header at individual memory regions within the plurality of memory regions, copying a plurality of voice packets received from the multi-channel packet controller means on the header included in the plurality of memory regions in the channel buffer to produce a plurality of UDP data, and transmitting in a predetermined order the plurality of UDP data to a UDP unit when an interrupt signal is generated,
- wherein each memory region has a receiving buffer descriptor having address information indicating a position of the memory region in the channel buffer where the voice packet is stored, and
- wherein the applied program task means renews a state bit of the receiving buffer descriptor in copying and checks the state bit of the receiving descriptor in transmitting, wherein the state bit indicates that the voice packet was stored.
An apparatus for controlling multi-channel voice data of a gateway system, comprising:
- a multi-channel packet controller means for receiving and transmitting a voice network and an audio signal;
- a UDP means for receiving and transmitting voice data from and to a packet network;
- a receiving channel buffer having a plurality of first memory regions;
- a transmitting channel buffer having a plurality of second memory regions;
- and
- an applied program task means for storing headers at individual memory regions of the plurality of first and second memory regions, copying in a predetermined order a plurality of voice packets received from the multi-channel packet controller means on the header included plurality of first memory regions in the receiving channel buffer to produce a plurality of UDP data, copying in a predetermined order the plurality of UDP data received from the UDP means on the plurality of second memory regions in the transmitting channel buffer, and transmitting the plurality of UDP data stored at the plurality of first memory regions to the UDP means and transmitting RTP data of the UDP data stored at each of the plurality of second memory regions in the transmitting channel buffer to the multi-channel packet controller means,
- wherein each of the plurality of first memory regions in the receiving channel buffer has a receiving buffer descriptor having address information indicating a position of the first memory region where the voice packet is stored, and
- wherein each of the second plurality of memory regions has a transmitting buffer descriptor having address information indicating a position of the second memory region where the voice packet is stored, and wherein the applied program task means renews a state bit of the receiving buffer descriptor or a state bit of the transmitting buffer descriptor in copying and checks the state bit of the receiving descriptor or the state bit of the transmitting descriptor in transmitting, wherein the state bit indicates that the voice packet was stored.
A method of transferring data, comprising:
- receiving data from a source;
- packetizing the data into packets;
- creating a channel buffer;
- labeling predetermined portions of the channel buffer with label headers;
- storing and describing the packets in the labeled predetermined portions of the channel buffer to produce a plurality of described data;
- periodically generating an interrupt signal;
- and
- transmitting in a predetermined order the produced plurality of described data when the interrupt signal is generated, wherein the periodic generation of an interrupt signal occurs every 30 ms, and wherein an interrupt service unit posts an event flag when the interrupt signal is generated, where the event flag causes an applied task unit to determine whether a voice communication channel is activated and if so, checks a state bit of a receiver buffer descriptor to check whether a packet is stored in the predetermined portions of the channel buffer.
Dependencies are inferred from the claim text.