SYSTEM AND METHOD FOR PLATFORM RESILIENT VOIP PROCESSING
A system and method for platform resilient VoIP (Voice over Internet Protocol) processing in a partitioned environment. The system comprises a plurality of soft partitions. At least one soft partition is a sequestered partition. The sequestered partition includes one or more core processors having a controlled, real-time operating system and at least one network interface card (NIC) coupled to the one or more core processors. The NIC is dedicated to the sequestered partition, and the one or more core processors are used as an offload engine solely dedicated to Voice over Internet Protocol (VoIP) processing.
This application is a continuation application of U.S. patent application Ser. No. 11/644,407, entitled “System and Method for Platform Resilient VOIP Processing,” which was filed on Dec. 22, 2006.
TECHNICAL FIELDThe present invention is generally related to partitioning in computer systems. More particularly, the present invention is related to a system and method for platform resilient VoIP (Voice over Internet Protocol) processing in a partitioned environment.
BACKGROUNDProblems exist today when trying to deploy VoIP as a ubiquitous feature in a consumer environment. Unlike traditional wired telephone service, the current state of the art for VoIP is highly susceptible to drop-outs (i.e., dropped calls) and significant system lags/delays in transmission streaming. Another problem associated with current day VoIP is spotty peer-to-peer handshake communication.
Many of the problems encountered by VoIP often times have to do with the platform configuration and the software environment in which VoIP operates; not in the underlying network service. Often times the problems that occur are associated with bad driver functionality, very poor real-time support with the operating system (OS), viruses, delays, bad timing algorithms that cause the network to slow down or the machine to hang for inexplicable periods of time, etc. An OS is very prone to driver instability which may lead to critical errors in overall component operations as well as time-critical streaming services. Problems may also be associated with poorly controlled environments where untested software combinations have been employed which may cause odd interactions with other components in the software stack.
If any of these problems occur when running active voice software in a backbone call server, gateway, a softphone or in terminal IP phone, etc., dropped calls and garbled data are sure to result. For example, a call server having a VoIP engine that resides within the host partition and operates from the same operating system as the host partition is susceptible to these problems. If the operating system crashes, so does the VoIP engine. If a device driver suddenly or unexpectedly turns its interrupts off and gets stuck in a loop for an excessive period of time, the system is delayed, which includes delays for VoIP messages.
Thus, what is needed is a system and method that separates the VoIP functionality from the normal operations of a computer. What is also needed is a system and method that provides a VoIP offload that operates independent of the host partition and its operating system. What is further needed is a system and method that provides a VoIP system capable of operating with the same reliability as a traditional POTS (Plain Old Telephone Service) system.
The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments of the present invention and, together with the description, further serve to explain the principles of the invention and to enable a person skilled in the pertinent art(s) to make and use the invention. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the corresponding reference number.
While the present invention is described herein with reference to illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those skilled in the relevant art(s) with access to the teachings provided herein will recognize additional modifications, applications, and embodiments within the scope thereof and additional fields in which embodiments of the present invention would be of significant utility.
Reference in the specification to “one embodiment”, “an embodiment” or “another embodiment” of the present invention means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase “in one embodiment” or “in an embodiment” appearing in various places throughout the specification are not necessarily all referring to the same embodiment.
Embodiments of the present invention are directed to a system and method for a VoIP (Voice over Internet Protocol) service that operates according to reliability standards of a POTS (Plain Old Telephone Service) system. This is accomplished by constructing a VoIP offload that is solely dedicated to a software-based sequestered partition and is independent of any other software as its root. By offloading the VoIP operation to a dedicated sequestered partition, errors and/or failures that occur within a host partition have no effect on VoIP operations. In other words, when the host partition fails, dies, or needs to be rebooted, the VoIP offload is not affected. By introducing a capability that is traditionally a feature that depends on a complex stack of software and making it part of a platform deployment that is agnostic to the main partition software stack, a general purpose personal computer (PC) can cooperatively and reliably support VoIP and other types of special purpose capabilities.
Embodiments of the present invention may be implemented using hardware, software, or a combination thereof and may be implemented in one or more multi-core processor platforms or other single-core processing systems. In fact, in one embodiment, the invention is directed toward one or more multi-core processor platforms capable of carrying out the functionality described herein.
Partitioning scheme 100 comprises a main partition 102 and a sequestered partition 104. In one embodiment, main partition 102 and sequestered partition 104 are unaware that they co-exist. In other words, main partition 102 may not be aware of sequestered partition 104 and vice versa. In another embodiment of the present invention, main partition 102 and sequestered partition 104 may know that they co-exist.
Each partition (102, 104) has a plurality of multi-core processors on at least one socket. For example, main partition 102 includes a plurality of multi-core processors (cores 0-3) on sockets 0, 1, and 2, and a single core processor (core 0) on socket 3. Main partition 102 may also allow multiple OSs (Operating Systems) as guests of main partition 102. For example, main partition 102 may allow a Windows OS and a Linux OS to run concurrently on different dedicated core processors of main partition 102 without either OS knowing that the other exists.
Note that in the present example, socket 3 receives data from main partition 102 and sequestered partition 104 while sockets 0, 1, and 2 receive data from main partition 102. Each core processor is a complete and functional processor designed into its corresponding socket.
Sequestered partition 104 includes multi-core processors (cores 1, 2, and 3) on socket 3. In embodiments of the present invention, sequestered partition 104 may have its own operating system, independent from any operating systems running on main partition 102. The operating system of sequestered partition 104 may be a very specific controlled, real-time operating system having VoIP software applications. The operating system of sequestered partition 104 may be very well validated with no external drivers. The use of a controlled, real-time operating system independent from the operating system(s) of main partition 102 provides VoIP functionality that is free from many of the problems associated with platform configurations in which a single operating system controls both main partition functionality and VoIP functionality.
In an embodiment, one or more core processors may be used to accomplish a specific functionality. For example, sequestered partition 104 having core processors 1, 2, and 3 on socket 3 may be used as an offload engine solely dedicated to VoIP functionality while main partition 102 having multi-core processors 0-3 on sockets 0, 1, and 2 and single core processor 0 on socket 3 may be dedicated to other user operations of the platform, separate and distinct from VoIP operations. In such an embodiment, sequestered partition 104 may include a VoIP offload engine 128 and an operating system solely dedicated to executing VoIP applications, thereby making it much more tolerant to the instabilities associated with main partition 102. In other embodiments, the functionality of multi-core processors on sockets 0, 1, and 2, and single core processor 0 on socket 3 of main partition 102 may be used for multiple functions, apart and distinct from the VoIP functionality of sequestered partition 104. For example, multi-core processors on sockets 0 and 1 may be dedicated to running applications resident in memory while multi-core processors on socket 2 and single-core processor 0 on socket 3 may be used for Internet/Intranet use or as another type of offload engine.
Each core processor (core 0, core 1, core 2, and core 3) on sockets 0, 1, 2, and 3 communicates with a memory controller hub (MCH) 106, also known as a North bridge, via a front side bus 108. MCH 106 communicates with system memory 110 via a memory bus 112. System memory 110 is partitioned into two parts, Mem 1 and Mem 2. Mem 1 is used to store data for main partition 102 and Mem 2 is used to store data for sequestered partition 104. MCH 106 recognizes the partitioning and will route memory requests from main partition 102 to Mem 1 and memory requests from sequestered partition 104 to Mem 2. MCH 106 may also communicate with an advanced graphics port (AGP) 114 via a graphics bus 116.
MCH 106 communicates with an I/O controller hub (ICH) 118, also known as a South bridge, via a peripheral component interconnect (PCI) bus 120. ICH 118 may be coupled to one or more I/O (Input/Output) component devices, such as, but not limited to, a plurality of network interface controllers (NICs) 122, 124, and 126 via a PCI bus 134. In an embodiment of the present invention, NICs 124 and 126 are I/O devices dedicated solely to main partition 102 and NIC 122 is an I/O device dedicated solely to sequestered partition 104.
Although other types of I/O component devices may be used, NICs 122, 124, and 126 were chosen as exemplary I/O component devices for enabling IP (Internet Protocol) network communications for both main partition 102 and sequestered partition 104, respectively. One skilled in the relevant art(s) would know that other I/O component devices capable of enabling IP (Internet Protocol) network communications may be used as well.
Core processors 0-3 may be IA64 (Itanium) processors manufactured by Intel® Corporation, located in Santa Clara, Calif., or any other type of processors capable of carrying out the methods disclosed herein. Although
As previously indicated memory 110 is partitioned into two parts, Mem 1 and Mem 2 for use by main partition 102 and sequestered partition 104, respectively. Memory 110 may be a hard disk, a floppy disk, random access memory (RAM), read only memory (ROM), flash memory, or any other type of medium readable by core processors 0-3. Memory 110 may store instructions for performing the execution of method embodiments of the present invention.
Nonvolatile memory, such as Flash memory 132, may be coupled to ICH 118 via a SPI (System Parallel Interface) bus 130. In embodiments of the present invention, BIOS firmware may reside in Flash memory 132 and at boot up of the platform, instructions stored on Flash memory 132 may be executed. In an embodiment, Flash memory 132 may also store instructions for performing the execution of method embodiments described herein.
VOIP offload engine 128 allows telephony usage over an IP (Internet Protocol) network through the digitization and packetization of voice transmissions. VOIP offload engine 128 converts analog voice signals to digital signals, which are then compressed and translated into digital packets for transmission over the Internet to a receiver. The receiver can then decompress and depacketize the data back into an analog signal for listening over a speaker, earpiece, or any other device that enables one to hear analog signals.
With platform topology 200, main partition 202 may have reason to use VoIP functionality. Thus, with this embodiment, components, such as, for example, VoIP offload engine 216 and NIC 220 within sequestered partition 204 are not solely dedicated to sequestered partition 204, and therefore, may be utilized by main partition 202. In this instance, an Inter-Partition Bridge (IPB) 222 is used to communicate between main partition 202 and sequestered partition 204. Prior to launching VoIP offload engine 216, Inter-Partition Bridge routing must be established for sequestered partition 204. In other words, a method for routing requests/results to and from sequestered partition 204 for use of components within sequestered partition 204 by main partition 202 must be established. Once the IPB routing has been established, VoIP offload engine 216 may be loaded into memory and launched. A routing mechanism must also be established for NIC 220 so that sequestered partition 204 may have priority status to receive the attention of NIC 220 when it is not purely dedicated to sequestered partition 204.
Embodiments of the present invention can also be implemented in a virtualized platform topology.
Virtual machine 302 may be a virtualized operating environment that may be processed using a processor, such as, but not limited to, an Intel® Xeon processor manufactured by Intel® Corporation located in Santa Clara, Calif. Virtual machine 302 includes a real-time operating system and associated VoIP application software. In an embodiment, one or more virtual machines may be used, with each virtual machine operating on the same host machine. In this instance, VMM 306 may be used to arbitrate for resources.
Platform 300 may also include a VoIP offload engine 310. As previously indicated, VoIP offload engine 310 allows telephony usage over an IP (Internet Protocol) network through the digitization and packetization of voice transmissions. VOIP engine 310 converts analog voice signals to digital signals. The digital signals are then compressed and translated into digital packets for transmission over the Internet to a receiver. The receiver can then decompress and depacketize the data back into an analog signal for listening over a speaker, earpiece, or any other device that enables one to hear analog signals. In one embodiment, VoIP offload engine 310 (shown in phantom) may reside in virtual machine 302.
In another embodiment, VoIP offload engine 310 (shown in phantom) may reside in virtual machine monitor 306. Virtual Machine Monitor (VMM) 306 may be used to access platform resources on platform hardware 308 among multiple OSs that are used by virtual machine 302 and main partition 304. In embodiments where I/O devices, such as, for example, NIC 122 in
In block 404, the platform initializes its underlying infrastructure in a manner well known to those skilled in the relevant art(s). The process then proceeds to decision block 406.
In decision block 406, it is determined whether the platform supports VoIP offload capabilities. If the platform does support VoIP offload capabilities, the process proceeds to decision block 408.
In decision block 408, it is determined whether the sequestered partition provides for shared I/O devices or dedicated I/O devices. If it is determined that the sequestered partition provides for shared I/O devices, then the process proceeds to block 410.
In the block 410, IPB routing is established for the sequestered partition to enable communications between the sequestered partition and the main partition. A routing mechanism is also established that gives priority to the sequestered partition for I/O devices that are not solely dedicated to the sequestered partition. The process then proceeds to block 412.
Returning to decision block 408, if it is determined that the sequestered partition provides for dedicated I/O devices, then the process proceeds to block 412.
In block 412, the VoIP offload engine is loaded and launched. The process then proceeds to decision block 414.
In decision block 414, it is determined whether a VoIP platform agent is receiving any VoIP activity. If the VoIP platform agent is not receiving any VoIP activity, then the process remains at decision block 414 until VoIP activity is received. If the VoIP platform agent is receiving VoIP activity, then the process proceeds to block 416.
In block 416, a high frequency polling of transactional VoIP packets is established to permit real-time disbursement of data. Thus, once VoIP activity occurs, higher priority is given to polling for VoIP transactions so that more bandwidth can be given to VoIP transactions versus other lower priority transactions. The process then proceeds to decision block 418.
In decision block 418, it is determined whether an inbound VoIP call is being initiated. If it is determined that an inbound VoIP call is not being initiated, the process proceeds to decision block 420.
In decision block 420, it is determined whether an outbound VoIP call is being initiated. If it is determined that an outbound VoIP call is not being initiated, then the process proceeds to block 422.
In block 422, VoIP packets from a current VoIP session are processed using a connection-based handshake. The process then proceeds back to decision block 414, where it is determined whether the VoIP platform agent is receiving any VoIP activity.
Returning to decision block 420, if it is determined that an outbound call is being initiated, then the process proceeds to block 424 in
In decision block 426, it is determined whether a connection is being established with a peer. If it is determined that a connection is being established with a peer, the process proceeds to block 428.
Returning to decision block 418 in
In block 428, a connection is established to transport the data through using a digitization standard, such as, but not limited to, G.711, G.729, or any other possible digitization standards. In one embodiment, the established connection is via UDP (User Datagram Protocol). G.711 is an international standard for encoding telephone audio on a 64 kbps (kilo-bits per second) channel as used in a PSTN (Public Switched Telephone Network) network or POTS (Plain Old Telephone Service). G.729 is a narrow band voice codec that has been used in some VoIP applications. G.729 samples at 8 kHz (kilo Hertz), and operates on 16 bits per sample. The process then proceeds to decision block 430.
Returning to decision block 426, if it is determined that a connection is not being established with a peer, the process proceeds to decision block 430.
In decision block 430, it is determined whether a connection is disconnecting from a peer. If it is determined that a connection is not disconnecting from a peer, the process proceeds back to decision block 414 in
Returning to decision block 430 in
Returning back to decision block 406 in
Embodiments of the present invention may be implemented using hardware, software, or a combination thereof and may be implemented in one or more computer systems, as shown in
Each program may be implemented in a high level procedural or object oriented programming language to communicate with a processing system. However, programs may be implemented in assembly or machine language, if desired. In any case, the language may be compiled or interpreted.
Program instructions may be used to cause a general-purpose or special-purpose processing system that is programmed with the instructions to perform the operations described herein. Alternatively, the operations may be performed by specific hardware components that contain hardwired logic for performing the operations, or by any combination of programmed computer components and custom hardware components. The methods described herein may be provided as a computer program product that may include a machine accessible medium having stored thereon instructions that may be used to program a processing system or other electronic device to perform the methods. The term “machine accessible medium” used herein shall include any medium that is capable of storing or encoding a sequence of instructions for execution by the machine and that cause the machine to perform any one of the methods described herein. The term “machine accessible medium” shall accordingly include, but not be limited to, solid-state memories, optical and magnetic disks, and a carrier wave that encodes a data signal. Furthermore, it is common in the art to speak of software, in one form or another (e.g., program, procedure, process, application, module, logic, and so on) as taking an action or causing a result. Such expressions are merely a shorthand way of stating the execution of the software by a processing system to cause the processor to perform an action or produce a result.
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined in accordance with the following claims and their equivalents.
Claims
1. A computer comprising:
- a first network interface card (NIC);
- a second NIC separate from the first NIC;
- a plurality of core processors;
- a memory communicatively coupled to the plurality of core processors, the memory including a plurality of instructions that in response to being executed cause the computer to: establish a main partition to perform multiple functions apart and distinct from Voice-over-Internet Protocol (VoIP) processing, the main partition being assigned a first portion of the plurality of core processors; dedicate the first NIC to the main partition; establish a sequestered partition dedicated solely to VoIP processing, the sequestered partition being assigned a second portion of the plurality of core processors; dedicate the second NIC solely to the sequestered partition to facilitate VoIP communications; and executing a controlled, real-time operating system in the sequestered partition, the controlled, real-time operating system being solely dedicated to executing VoIP applications.
2. The computer of claim 1, wherein the plurality of instructions further cause the computer to establish a VoIP offload engine in the sequestered partition.
3. The computer of claim 2, wherein to establish a VoIP offload engine comprises to establish a VoIP offload engine to perform all VoIP functions of the computer.
4. The computer of claim 1, wherein the plurality of instructions further cause the computer to establish an Inter-Partition Bridge (IPB) to enable communications between the main partition and the sequestered partition.
5. The computer platform of claim 4, wherein the plurality of instructions further cause the computer to establish IPB routing to enable use of components within the sequestered partition by the main partition.
6. The computer of claim 1, wherein the sequestered partition comprises a virtual machine coupled to a virtual machine monitor, the virtual machine to be a virtualized operating environment having the controlled, real-time operating system and the VoIP applications, wherein the virtual machine monitor to enable access to platform resources.
7. The computer of claim 6, wherein the virtual machine includes the VoIP engine.
8. The computer of claim 6, wherein the virtual machine monitor includes the VoIP engine.
9. The computer of claim 1, wherein the main partition in unaware of the existence of the sequestered partition.
10. The computer of claim 1, further comprising a third NIC separate from the first and second NICs, the third NIC being dedicated to the main partition.
11. A method for Voice over Internet Protocol (VoIP) processing on a computer, the method comprising:
- establishing a main partition to perform multiple functions apart and distinct from VoIP processing, the main partition having one or more core processors;
- establishing a sequestered partition dedicated to performing all VoIP processing of the computer, the sequestered partition having one or more core processors;
- executing a controlled, real-time operating system in the sequestered partition, the controlled, real-time operating system being solely dedicated to executing VoIP applications; and
- establishing a VoIP offload engine in the sequestered partition,
- wherein the main partition is unaware of the existence of the sequestered partition and all VoIP processing performed on the computer is performed by the VoIP offload engine.
12. The method of claim 11, further comprising:
- determining whether the VoIP offload engine is receiving VoIP activity, and
- establishing a high frequency polling of transactional VoIP packets to permit real-time disbursement of data in response to the VoIP offload engine receiving VoIP activity.
13. The method of claim 12, further comprising:
- determining whether an output VoIP call is being initiated; and
- establishing a variety of Internet Control Message Protocol (ICMP) echo messages to determine which gateway route has the fastest access to a target caller and establishing a streaming connection to the target caller using a VoIP protocol in response to the output VoIP call being initiated.
14. The method of claim 12, further comprising:
- determining whether an inbound VoIP call is being initiated; and
- transporting VoIP data using a digitization standard in response to the inbound VoIP call being initiated.
15. The method of claim 14, wherein the digitization standard comprises one of G.711 and G.729 digitization standards.
16. An article comprising: a tangible, non-transitory storage medium having a plurality of machine accessible instructions, wherein when the instructions are executed by a computer, the instructions provide for:
- establishing a main partition to perform multiple functions apart and distinct from VoIP processing, the main partition having one or more core processors;
- establishing a sequestered partition dedicated to performing all VoIP processing of the computer, the sequestered partition having one or more core processors;
- executing a controlled, real-time operating system in the sequestered partition, the controlled, real-time operating system being solely dedicated to executing VoIP applications; and
- establishing a VoIP offload engine in the sequestered partition,
- wherein the main partition is unaware of the existence of the sequestered partition and all VoIP processing performed on the computer is performed by the VoIP offload engine.
17. The article of claim of claim 16, wherein the instruction further provide for:
- determining whether the VoIP offload engine is receiving VoIP activity, and
- establishing a high frequency polling of transactional VoIP packets to permit real-time disbursement of data in response to the VoIP offload engine receiving VoIP activity.
18. The method of claim 17, wherein the instruction further provide for:
- determining whether an output VoIP call is being initiated; and
- establishing a variety of Internet Control Message Protocol (ICMP) echo messages to determine which gateway route has the fastest access to a target caller and establishing a streaming connection to the target caller using a VoIP protocol in response to the output VoIP call being initiated.
19. The method of claim 17, wherein the instruction further provide for:
- determining whether an inbound VoIP call is being initiated; and
- transporting VoIP data using a digitization standard in response to the inbound VoIP call being initiated.
20. The method of claim 19, wherein the digitization standard comprises one of G.711 and G.729 digitization standards.
Type: Application
Filed: Feb 14, 2011
Publication Date: Jun 9, 2011
Inventors: Michael A. Rothman (Puyallup, WA), Vincent J. Zimmer (Federal Way, WA)
Application Number: 13/027,184
International Classification: H04L 12/66 (20060101);