PROGRAMMABLE TELECOMMUNICATION SWITCH FOR PERSONAL COMPUTER

Abstract: A user-programmable telephone switch which resides within a commercially available personal computer. The switch is controllable by either the personal computer's microprocessor or a separate, external host connected to an interface provided within the switch. The switch includes a CPU/matrix card that contains a time slot interchange and a CPU running under a real time operating system. The CPU/matrix card controls the overall operation of the switch in accordance with messages received from the operative host. In general, those tasks or functions which must be performed in real time are the responsability of the switch, as opposed to the internal or external host. Within the switch, certain tasks or functions may be delegated by the CPU/matrix card to intelligent line cards which contain their own microprocessors having substantial call processing capability.

Description: PROGRAMMABLE TELECOMMUNICATION SWITCH FOR PERSONAL COMPUTER BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to the field of telecommunications and, more specifically, to a programmable telecommunication switch which may reside within a personal computer. 2. Discussion of the Prior Art User-programmable telecommunication switches are used in a wide variety of applications such as voice messaging, telemarketing services and the like. A programmable switch is usually controlled by a host device, which is typically a computer that runs an application program. A customer may either purchase a commercially available application program that is compatible with the host and switch hardware or may elect to write a custom program. As the application program runs, the host issues instructions to the switch by way of a communication channel. The switch responds to these instructions by taking appropriate action, which may include issuing a response to the host to confirm receipt or execution of the instructions. Conventional programmable switches exhibit several disadvantages which unduly limit their utility in many applications. For example, a conventional switch that requires its host device to become involved with call processing tasks that must be performed in "real time" creates a significant processing burden on the host. The term "real time" is used herein to refer generally to call processing (e.g., sending or receiving digits) or other tasks which must be executed within a time period on the order of tens of milliseconds. If the host is running under an operating system, such as DOS® or UNIX®, which is user or application-oriented and not designed for real time operation, the real time demands made by the switch will tend to monopolize the host's processing resources. This may, in turn, force the customer to undesirably limit the amount of traffic through the switch so that the host can maintain control. This problem is not satisfactorily solved by simply installing a real time operating system on the host. This is because the multitude of real time call processing tasks generated by a switch having a few hundred ports would still occupy so much of the host's resources that the application program could not run properly. Moreover, most commercially available computers which could be used as hosts do not operate on any widely used real time operating system. Prospective customers express a strong preference, if not an absolute demand, for a host operating system that is widely used and represents no significant barrier to developing custom applications software. Another disadvantage of conventional programmable switches is that they can only be connected to one host at a time. This means that should the host malfunction or fail, the switch will not be controllable and service will be impaired or completely lost. SUMMARY OF THE INVENTION In brief summary, the present invention provides a user- programmable telephone switch which resides within a commercially available personal computer. The personal computer, which typically runs on a widely used, application- oriented operating system, provides a platform for customers that is both easy to program and readily integratable into existing communication networks. The switch is controllable by the personal computer's central processing unit (PC CPU), a motherboard or plug-in PC CPU, any of which may act as an "internal" host. Alternatively, the switch is controllable by a separate, external host connected to an interface provided within the switch. When an internal host is used, all real time call processing is handled by the switch independent of the internal host. None of the internal host's resources (microprocessor, memory, disk. etc.) is needed to execute time-critical, real time tasks. Thus, all of the internal host's resources are available for use by the application program. When an external host is used, none of the internal host's resources is needed to control the switch or perform real time call processing tasks. The external host's resources are available for use by the application program and the internal host may be used for a completely different application or, alternatively, held in reserve as a back-up should the external host fail. Also, when an external host is used, all that is required to make the switch operable is a passive backplane for supplying electrical power. Physically, the switch comprises a plurality of circuit boards or cards which are dimensioned to fit within the chassis of the personal computer. A CPU/matrix card contains a time slot interchange and a central call processor (microprocessor) running under a real time, multi-tasking operating system. The CPU/matrix card, which includes circuitry for selecting either the internal host or external host to control the switch, conducts all communication with the host. The CPU/matrix card performs or delegates to other intelligent cards within the switch the performance of all real time call processing tasks, thus freeing the host from involvement in any real time tasks. Four busses provide communication paths between the CPU/matrix card and other cards within the switch: a timing/control bus; a line card status/control bus; a time division multiplex (TDM) bus for carrying pulse coded modulation (PCM) voice traffic and analog line signalling; and an HDLC or interprocessor bus. A fifth bus, the battery/ring voltage bus, is connected only to line cards which terminate analog lines or trunks. These five busses are used exclusively by the programmable switch and do not interfere with communications within the internal host, such as those between the PC CPU and disk controllers, video graphics cards, serial or parallel ports or LAN controllers. Digital (Tl) line cards are provided for terminating digital lines or trunks. Each digital line card includes its own microprocessor which, under instructions from the CPU/matrix card, may be used to perform certain real time call processing tasks on board the line card. Digital line cards communicate with the CPU/matrix card over the HDLC bus. Analog line cards are provided for terminating analog lines or trunks. Each analog line card may be configured with different modules to terminate lines or trunks having different types of signalling protocols on the same card. Other optional cards, such as a digital signal processor (DSP) card, may be incorporated into the switch to provide desired services or features. In accordance with one aspect of the present invention, tasks are architecturally divided according to whether they require real time processing. Those tasks which must be performed in real time are the responsibility of the switch, as opposed to the internal or external host. Further, within the switch, certain tasks or functions may be delegated by the CPU/matrix card to, for example, digital line cards which contain their own microprocessors having substantial call processing capability. This process of delegation is carried out automatically and transparently to the host. Consequently, the host is relieved of dealing with real time tasks, which tend to reduce efficiency and processing speed, and the CPU/matrix card is relieved of dealing with tasks pertaining to digital ports that are within the capability of a digital line card's processor. Another advantage of the present invention is the high speed of host-to-switch messaging between the personal computer motherboard and the switch which resides thereon. This high messaging speed is achieved by using the standard personal computer bus as the communication channel between the internal host and the CPU/matrix card. BRIEF DESCRIPTION OF THE DRAWINGS This invention is pointed out with particularity in the appended claims. The above and further advantages of this invention may be better understood by referring to the following description taken in conjunction with the accompanying drawings, in which: Figure 1 is a block diagram of a programmable telecommunications switch which resides in a personal computer and which is constructed in accordance with a preferred embodiment of the present invention; Figure 2 is a detailed diagram of the CPU/matrix card of Figure i; Figure 3 is a detailed diagram of the digital line card of Figure 1; and Figure 4 is a detailed diagram of the analog line card of Figure 1. DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT Figure 1 shows a commercially available personal computer (PC) 2 which includes a PC central processing unit (CPU) 4 and a hard disk drive 6 interconnected by a PC input/output (I/O) bus 8 and a PC power bus 9. The PC 2 is preferably a PC-AT®, sold by International Business Machines, or a compatible thereof. Other personal computers having more memory or more powerful CPUs than the PC-AT® may also be used. The PC 2 preferably operates under an application-oriented operating system, such as DOS® or UNIX®. The PC 2 consists of a chassis or housing in which a motherboard is mounted, along with the disk drive 6 and other optional assemblies such as floppy disk drives, modems and the like. The PC CPU 4 is mounted on the motherboard, which includes a series of "slots" into which other boards (cards) may be inserted and thereby connected to the PC I/O and power busses 8 and 9. A programmable telecommunication switch 10 resides within the PC 2. A CPU/matrix card 12 is inserted into one of the slots on the motherboard and thus connected to the busses 8 and 9. The CPU/matrix card 12 is interconnected with a digital (Tl) line card 14, a digital signal processing (DSP) card 16 and an analog (universal) line card 18 and a terminator card 19 by four busses: an HDLC or interprocessor bus 20; a TDM bus 22; a line card (LC) status/control bus 24; and a timing/control bus 26. A battery/ring voltage bus 28 supplies battery voltage (48VDC) and ringing voltage (109VAC) to the analog line card 18. The terminator card 19 serves to physically terminate busses 20, 22, 24, 26 and 28. The line cards 14 and 18 and the DSP card 16 are all connected to and receive their basic operating power from the PC power bus 9. Although only one digital line card 14 and one analog line card 18 are depicted, it should be understood that additional line cards of either type may be added subject to two physical limitations: (1) the maximum switching capacity of the CPU/matrix card 12, and (2) the physical space within the chassis of the PC 2. An external host 30, which may comprise a separate personal computer, workstation or other computer, may optionally be connected via a communication channel 32 to the CPU/matrix card 12. The CPU/matrix card 12 preferably includes a conventional RS-232 compatible interface for connecting the channel 32. The external host 30 preferably operates under an application-oriented operating system. If desired, the switch 10 can reside on a passive backplane (no PC CPU 4 or disk 6 present) from which its receives electrical power and be controlled by the external host 30. An external battery/ring voltage supply 31 is connected via a path 33 to the terminator card 19. Supply 31 may comprise, for example, a commercially available power supply. Figure 2 shows the CPU/matrix card 12 in greater detail. A central call processor 34 is connected to both the HDLC bus 20 and the LC status/control bus 24. The central call processor 34 is also connected with host select circuitry 35, random access and read only memories 36, watchdog timing circuitry 38, input/output (I/O) control circuitry 40, timing and control/select circuitry 42 and a time slot interchange (TSI) 44. Timing and control/select circuitry 42 is connected to the TSI 44, the timing/control bus 26 (for loop timing) and to three sources of timing signals, which are denoted REF 1, REF 2 (which may be supplied by external sources for reference timing) and OSCILLATOR (which may be supplied by a free running oscillator located on the CPU/matrix card 12), respectively. The central call processor 34, which is preferably a Motorola 68302 microprocessor, has control over all of the other circuitry on the CPU/matrix card 12. The central call processor 34 preferably runs under a real time operating system such as pSOS®, sold by Integrated Systems, and preferably uses Q.931-like messages, a CCITT standard protocol, for communicating over the HDLC bus 20. Using the HDLC bus 20, the central call processor 34 may transmit a message simultaneously to all cards connected to that bus. The processor 34 may use the LC status/control bus 24 to select a particular card to transmit a message over the HDLC bus 20. The host select circuitry 35, which is preferably a switch, operates to inform the processor 34 whether to communicate with the internal host or the external host upon power-up. I/O control circuitry 40, which manages all communication between the central call processor 34 and the internal host, preferably appears as a COMM port or other standard PC I/O port on the PC I/O bus 8. Timing and control/select circuitry 42, as described further below, operates in response to instructions from the central call processor 34 to select one of five available signals for synchronizing the CPU/matrix card 12. Two such signals are provided by the timing/control bus 26, the other three being REF 1, REF 2 and OSCILLATOR. TSI 44, which is preferably a 512 port non-blocking matrix, receives incoming PCM voice data via the TDM bus 22 (time slots) and operates, as directed by the central call processor 34, to reorder the time slots and direct them over the bus 22 to the appropriate destinations. Figure 3 shows the digital line card 14 of Figure 1 in greater detail. The line card 14 includes a line card processor 46 which is connected with the HDLC bus 20, random access and read only memories 48, digital select circuitry 50, HDLC select circuitry 51, elastic stores 52a-52n, dual framers 54a-54n and dual Tl interfaces (IF) 56a-56n. Timing and control circuitry 54 is connected to the timing and control bus 26, identification (ID) circuitry 49, the digital select circuitry 50, the elastic stores 52a-52n, the dual framers 54a- 54n and the dual Tl interfaces 56a-56n. Line card processor 46, which is preferably a Motorola 68302 microprocessor, has control over the other circuitry on line card 14. Processor 46 communicates with the central call processor 34 on the CPU/matrix card 12 by exchanging messages over the HDLC bus 20. HDLC select circuitry 51, under the control of processor 46, is responsible for controlling the transmission of messages by the line card 14 over the HDLC bus 20. Digital select circuitry 50 is responsible for moving PCM traffic between the TDM bus 22 and the elastic stores 52a-52n. On the digital line card 14, the PCM traffic represents only voice, tone or data and does not include any line signalling information. Each dual Tl interface 56a-56n is capable of terminating two Tl spans, thus providing a maximum of 96 DS0 ports, out of the total of 512 ports available on the CPU/matrix card 12, per digital line card 14. Turning now to Figure 4, analog line card 18 includes timing and control circuitry 58, which is connected to the LC status/control bus 24, the timing/control bus 26, digital select circuitry 60 and identification (ID) circuitry 64, which is similar to ID circuitry 49 of Figure 3. Digital select circuitry 60 is connected to analog interfaces 62a-62n. LC status/control bus 24 and battery/ring voltage bus 28 are connected to each analog interface 62a-62n. Timing and control circuitry 58 communicates with the central call processor 34 on CPU/matrix card 12 via the LC status/control bus 24. Digital select circuitry 60 is responsible for moving PCM traffic between the TDM bus 22 and the analog interfaces 62a- 62n. In contrast with the digital line card 14, the PCM traffic between the analog line card 18 and the TDM bus may also contain line signalling information such as on-hook/off- hook, in addition to voice, tone signalling (in-band signalling) or data. Analog interfaces 62a-62n are preferably separate physical modules which may be individually installed on the analog line card 18. Such separate modules may support different signalling protocols, thereby advantageously allowing different types of trunks to be terminated on a single analog line card 18. With reference now to Figures 1-4, the operation of the programmable switch 10 will be described. When the switch 10 is initially powered up (i.e., the PC 2 is turned on), basic configuration information and operational system software must be downloaded from a host before initialization procedures or any call processing operations may commence. The CPU/matrix card 12 knows whether to request a download from the internal host or the external host based on the setting of the host select circuitry 35. After a successful download is completed, the selection of either the internal host or the external host may be made using messages between the host and switch 10. Following a successful download of configuration information, all such information is preferably stored in random access memory 36 on the CPU/matrix card 12. The memory 36 is preferably provided with battery-backup in order to preserve the configuration information and eliminate the need for re-downloading in the future should the switch 10 experience a power loss. The configuration information typically includes basic instructions as to how to control each type of port that the switch may have. Such instructions are stored in memory 36 on the CPU/matrix card 36 for all analog ports, but are downloaded and stored in memory 48 on the digital line card 14 for digital ports, as desribed below. Such information also preferably includes synchronization priority information which specifies an order in which the five possible synchronization signals available to the timing and control/select circuitry 42 should be used to synchronize the CPU/matrix card 12. At this point, the central call processor 34 proceeds to interrogate all other cards present within the switch 10. The processor 34 uses the LC status/control bus 24 to interrogate all line cards, both digital and analog, and to receive responses from their respective ID circuitry. These responses indicate to the processor 34 what types and the number of line cards present. Subsequently, the central call processor 34 will further interrogate the identified analog line cards 18, again using the LC status/control bus 24. In responding to this further interrogation, the analog interfaces 62a-62n identify the types of modules (signalling protocols) they represent, the number of modules, etc. This information is retained in the memory 36 on the CPU/matrix card 12. Similarly, the central call processor 34 further interrogates identified digital line cards 14 using the HDLC bus 20. The processor 34 transmits a message via the HDLC bus 20 and the digital line card 14 responds with a message indicating the line card's status, how many ports are provided on the card and other information such as whether a download of basic instructions is needed. If a download is needed (requested by the line card 14), the central call processor 34 will respond by passing the appropriate information, previously received from the host, to the line card processor 46 via the HDLC bus 20. Once all cards present have been identified and interrogated by the central call processor 34, that processor (using memory 36) constructs a map or table which includes the PCM address range, type of line card and status and type of each port within the switch 10. In addition, if a digital line card 14 is identified, the central call processor 34 will proceed to delegate appropriate call processing tasks to that line card's processor 46. In a preferred embodiment of the present invention, such delegated tasks include signalling supervision, call inpulsing and outpulsing, instruction control and management, detection of incoming calls and generation of outgoing calls. At this point, the switch 10 is ready to begin normal operation in accordance with messages received by the CPU/matrix card 12 from the host and activity at the ports. The foregoing description has been limited to a specific embodiment of this invention. It will be apparent, however, that variations and modifications may be made to the invention, with the attainment of some or all of the advantages of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.

Claims: CLAIMS 1. A programmable communications switch comprising: controllable-switching means for dynamically connecting or disconnecting communication paths between various ones of a plurality of ports in response to predetermined messages, including means for processing said messages, a time slot interchange and a real time operating system; a first host computer in which said switching means resides, said first host computer for providing electrical power to said switching means, having a first application- oriented operating system and being programmable to generate said messages; means for interfacing said switching means with a second host computer having a second application-oriented operating system and being programmable to generate said messages; and means, coupled to the message processing means, for selecting one of said first and second host computers to control said controllable-switching means. 2. The switch as in claim 1 wherein said first host computer comprises a personal computer motherboard which includes an input/out bus and a power bus, and said switching means is connected to both of said busses. 3. The switch as in claim 2 further comprising one or more line cards, connected in communicating relationship with said switching means, for terminating either digital or analog lines or trunks. 4. The switch as in claim 3 wherein each of said one or more line cards for terminating digital lines or trunks includes means for processing messages generated by said switching means. 5. The switch as in claim 4 wherein said message processing means of said switching means is operable to distinguish between said one or more line cards and may assign responsibility to said digital line card message processing means for performing one or more predetermined call processing tasks, while retaining responsibility for performing such tasks with respect to said analog line cards. 6. The switch as in claim 1 further comprising means, responsive to the message processing means, for selecting one of a plurality of synchronization signals available thereto. 7. The switch as in claim 1 wherein said second host computer is connected with said interfacing means and exclusively controlling said switching means without said first host computer. 8. A programmable communications switch comprising: controllable-switching means for dynamically connecting or disconnecting communication paths between various ones of a plurality of ports in response to predetermined messages, including means for processing said messages, a time slot interchange and a real time operating system; a first host computer in which said switching means resides, said first host computer for providing electrical power to said switching means, having a first application- oriented operating system and being programmable to generate said messages; means for connecting one or more line cards in communicating relationship with said switching means, each of said one or more line cards for terminating either analog lines or trunks or digital lines or trunks, each of said digital line cards including processing means for performing one or more predetermined call processing tasks; said message processing means being operable to distinguish between said analog and digital line cards, whereby said message processing means may assign responsibility to said digital line card processing means for performing said one or more predetermined call processing tasks, while retaining responsibility for performing such tasks with respect to said analog line cards. 9. The switch as in claim 8 wherein said messages are generated by said host in accordance with a predetermined format which is independent of the types of line cards connected to said switching means. 10. The switch as in claim 8 further comprising means for interfacing said switching means with a second host computer having a second application-oriented operating system and being programmable to generate said messages and means, coupled to the message processing means, for selecting one of said first and second host computers to control said controllable- switching means. 11. The switch as in claim 8 wherein said first host computer comprises a personal computer motherboard which includes an input/out bus and a power bus, and said switching means is connected to both of said busses. 12. The switch as in claim 11 further comprising one or more line cards, connected in communicating relationship with said switching means, for terminating either digital or analog lines or trunks. 13. The switch as in claim 12 wherein each of said one or more line cards for terminating digital lines or trunks includes means for processing messages generated by said switching means. 14. The switch as in claim 8 further comprising means, responsive to the message processing means, for selecting one of a plurality of synchronization signals available thereto. 15. The switch as in claim 8 wherein said second host computer is connected with said interfacing means and exclusively controlling said switching means without said first host computer.

Inventors: BUTTELL ROBERT J, HEBERT MARK P, MADONNA ROBERT P, BUTTELL, ROBERT, J., HEBERT, MARK, P., MADONNA, ROBERT, P.
Applicants: EXCEL IND, EXCEL, INC.
Application year: 1993
Main classification: H04Q3
IPC codes: G06F13, H04Q3, H04Q11