CA2211780C - Telecommunications switch having a universal applications program interface for standardized interactive call processing communications - Google Patents

Telecommunications switch having a universal applications program interface for standardized interactive call processing communications Download PDF

Info

Publication number
CA2211780C
CA2211780C CA002211780A CA2211780A CA2211780C CA 2211780 C CA2211780 C CA 2211780C CA 002211780 A CA002211780 A CA 002211780A CA 2211780 A CA2211780 A CA 2211780A CA 2211780 C CA2211780 C CA 2211780C
Authority
CA
Canada
Prior art keywords
ppl
event
message
switch
state machine
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
CA002211780A
Other languages
French (fr)
Other versions
CA2211780A1 (en
Inventor
Mark P. Hebert
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.)
Excel Switching Corp
Original Assignee
Excel Switching Corp
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 Excel Switching Corp filed Critical Excel Switching Corp
Publication of CA2211780A1 publication Critical patent/CA2211780A1/en
Application granted granted Critical
Publication of CA2211780C publication Critical patent/CA2211780C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/58Arrangements providing connection between main exchange and sub-exchange or satellite
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/12Protocol engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/04Selecting arrangements for multiplex systems for time-division multiplexing
    • H04Q11/0407Selecting arrangements for multiplex systems for time-division multiplexing using a stored programme control
    • H04Q11/0414Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/542Logic circuits or arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/545Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme
    • H04Q3/54575Software application
    • H04Q3/54583Software development, e.g. procedural, object oriented, software generation, software testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/58Arrangements providing connection between main exchange and sub-exchange or satellite
    • H04Q3/62Arrangements providing connection between main exchange and sub-exchange or satellite for connecting to private branch exchanges
    • H04Q3/625Arrangements in the private branch exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13003Constructional details of switching devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13034A/D conversion, code compression/expansion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1305Software aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13056Routines, finite state machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1309Apparatus individually associated with a subscriber line, line circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13093Personal computer, PC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13096Digital apparatus individually associated with a subscriber line, digital line circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13103Memory
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13106Microprocessor, CPU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13176Common channel signaling, CCS7
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13204Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13216Code signals, frame structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1322PBX
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13299Bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1332Logic circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1334Configuration within the switch
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13405Dual frequency signaling, DTMF

Abstract

The present invention is a standardized host-to-switch application program interface (API) for performing call control processing, capable of being customized to meet telecommunications application and network signalling protocol requirements. The universal API comprises one or more generic messages having programmable fields for transmitting commands, status, and data between the host application and the switch.
The present invention further comprises a programmable telecommunication switch that provides a user with the ability to define a desired API protocol, either "standard" or custom in nature, for performing any desired , switching functions.
The present invention includes a protocol development environment which enables a user to define a separate finite state machine for each port provided by the switch.
Each finite state machine may be independently defined by combining a series of elementary processing steps, called atomic functions, into primitives, which are in turn combined with states and events to define the desired state machine. Such state machines may include atomic functions configured to generate predetermined messages under predetermined conditions and containing predetermined information. Such state machines may further include the ability to respond to state events that include the receipt of generic API messages configured to provide the state machine with information from the host application.

Description

TELECOMMUNICATIONS SWITCH HAVING A UNIVERSAL
APPLICATIONS PROGRAM INTERFACE FOR STANDARDIZED
INTERACTIVE CALL PROCESSING COMI~CATIONS
BACKGROUND OF THE INVENTION
Field of the Invention The present invention relates generally to the field of telecommunications and, more specifically, to a universal applications program interface (API) for standardized interactive call control processing with a programmable telecommunication switch and a host computer supporting various telecommunications applications.
Description of the Related Art Programmable telecommunication switches are used in a wide variety of IS applications such as voice messaging, telemarketing services and the Like.
A computer that runs a telecommunications application program. A customer may programmable switch is usually controlled by a host device, which is typically a either purchase a commercially available application program that is compatible with the host and switch hardware or may elect to write a custom program.
In most applications, a programmable switch is connected to a public telephone network by one or more analog trunks or digital spans (e.g., a TI span) which are terminated at the switch. The switch may also terminate one or more "lines"
which are connected to devices such as telephone sets. Communication over any given trunk, span or Iine is carried out in accordance with an assigned signalling protocol.
For various switching system applications, the sequence of switching events must be controlled and the switching functions must be performed in accordance with the requisite protocols. Throughout the world, there are numerous "standard"
signalling protocols in use, including E&M wink start, loopstart, groundstart, international compelled R2 using MFR2 address signalling, and EI Channel Associated Signalling (CAS) protocols using DTMF/MFRI signalling. Typically, conventional programmable switches are configured such that a particular signalling protocol is associated with a particular trunk, span or Iine.

WO 97/20439 PCT/US9b/I89S9 To control the telecommunications switch at the various levels necessary to satisfy specialized switching functions, conventional host applications have been configured to generate digital signal commands corresponding to a plurality of switching events. Correspondingly, conventional communications switches have been configured to generate digital signal responses related to the processing of these events at the ports. These messages are constant or "hard-coded" messages, each configured to communicate specific information between the host application and the switch. The interface between the telecommunications application and the switch through which these messages are transferred is referred to as an applications program interface, or API.
Each of the signalling protocols requires predetermined host-to-switch call control processing protocols to be established, each protocol including the exchange of one or more constant messages. Thus, to control the programmable switch to perform the requisite switching events necessary to maintain communications, communications ZS switches must be capable of supporting extremely large number of these specific host-to-switch command messages and associated protocols. Accordingly, each signalling protocol has associated with it one or more different message sets stored and indexed at the host as well as at the switch. The message sets and resulting host-to-switch protocol are also dependent upon specific telecommunications applications requirements, such as the amount and type of information an application requires for it to appropriately control the switch to support a particular signalling protocol.
Furthermore, conventional programmable switches may be connected between the public telephone network and other devices such as a voice messaging system.
Because such devices rnay perform specialized functions and are not intended to connect directly to the public telephone network, they do not typically adhere to standard signalling protocols. Thus, for a user to be able to control the programmable switch in such a fashion that proper communication is maintained both, with the public telephone network and with other devices connected to the switch, complex and varied API signalling protocol requirements must be satisfied. Conventional communications switches implement numerous specific sets of API messages to support these varied requirements.
As a result of the implementation of constant messages and the various telecommunications applications and signalling protocol requirements, there has been no standardization of the interface between the host applications and the telecommunications switch. This has led to increased cost in developing the necessary hardware and software to support specif c API protocols to satisfy host applications requirements as well as signalling protocol requirements for each trunk, span, and line.
Furthermore, as a result of having separate and distinct API messages, each dedicated to a specific command or data transfer, the addition of features to the telecommunications switch necessitates the creation and implementation of one or more IO additional API messages to support the associated API protocol between the host and switch. To implement each new unique message, a costly and time-consuming software change to the switch and host must be made.
What is needed, therefore, is a standardized API message protocol supporting host-to-switch call control processing that may be used regardless of the host I5 application or signalling protocol requirements. Furthermore, such a universal API
protocol must be sufficiently flexible and versatile to be customized to support present and future requirements of telecommunications applications and signalling protocols now or later developed.
20 SITMMARY OF T$E INVENTION
The present invention is a standardized host-to-switch application program interface (API) for performing call control processing, capable of being customized to meet telecommunications application and network signalling protocol requirements.
25 The universal API comprises one or more generic messages having programmable fields for transmitting commands, status, and data between the host application and the switch. The present invention further comprises a programmable telecommunication switch that provides a user with the ability to define a desired API protocol, either "standard" or custom in nature, for performing any desired switching functions.
30 The present invention includes a protocol development environment which enables a user to define a separate finite state machine for each port provided by the switch. Each finite state machine may be independently defined by combining a series of elementary processing steps, called atomic functions, into primitives, which are in turn combined with states and events to define the desired state machine. Such state machines may include atomic functions configured to generate predetermined messages under predetermined conditions and containing predetermined information. Such state machines may further include the ability to respond to state events that include the receipt of generic API messages configured to provide the state machine with information from the host application.
In addition, the present invention may serve as a development tool for creating customized API protocols having customized standard messages supporting telecommunications applications such as personal communications services (PCS), 8001900 service, voice mail, telemarketing, among others. The present invention may also be used to control or manage a wide variety of communications services within a programmable switch through the transfer of the generic API messages, including ZS conferencing, voice recorded announcements, tone generation, tone reception, call progress analysis, voice recognition, voice compression and fax encoding/decoding.
The universal API of the present invention may be implemented to achieve communications internal to the switch as well. For example, the standardized messages of the universal API may be used to support communications between any software layer within the switch.
Advantageously, the generic message structure of the present invention enables additional call processing features to be added to the telecommunications switch that the host can initiate without implementing additional content-specific API
messages dedicated to that feature. This enables the creation of customized API message protocols that can grow beyond the limitations of specific messages for specific features and functions.
Another advantage of the generic message structure of the present invention is that it provides the commonality and flexibility necessary to be a standardized interface for application development. This significantly reduces the complexity of the host/switch communications interface and eliminates the cost of supporting an interface composed of numerous specialized messages.

Another advantage of the present invention is that it provides the user with the ' ability to transmit and receive information to all software layers of the switch using standardized messages. Significantly, this eliminates the burden of having to store 1_arge npmbere of dietwnrt-mee~g~8-far-~;ai3agii3g-diSBiz'i3ila~ fuiuctioil~
perfoltlleCl -by the 5 same or different software layers of the switch. Thus, the large message sets stored and indexed in conventional switches is eliminated by the present invention.
Another advantage of the present invention is the increased degree of interaction with the host that can be achieved simply by introducing at various processing points an atomic function that sends and receives data into numerous IO locations in the switch.
Another advantage of the present invention is that it enables a user to create multiple network signalling protocols by creating separate state machines to address each variation of a signalling protocol. The universal API may be programmed to achieve the necessary communications to support each of these protocol-specific state I5 machines. Thus, the structure of the messages comprising the host-to-switch interface may remain unchanged despite the multiple signalling protocols supported by the switch.
Further features and advantages of the present invention as well as the structure and operation of various embodiments of the present invention are described in detail 20 below with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Additionally, the left-most one or two digits of a reference number identif es the drawing in which the reference number first appears.

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 30 which:
Figure 1 is a block diagram of a programmable telecommunications switch which may be programmed by a user in accordance with a preferred embodiment of the present invention;
Figure 2 is diagram which depicts the layers of software used to control the switch of Figure 1;
Figures 3A and 3B depict some of the specific features and functions associated with each of the software layers depicted in Figure 2;
Figure 4 is a block diagram of a finite state machine development environment constructed in accordance with a preferred embodiment of the present invention;
Figure 5 is a block diagram illustrating the structure and contents of a generic PPL Event Indication and PPL Event Request message of the present invention;
Figure 6 is a block diagram of a PPL Event Indication Acknowledgement and PPL Event Request Acknowledgment message of the present invention.
Figures 7A and 7B are a state diagram of a finite state machine for providing call control processing utilizing the universal API of the present invention to support a highly interactive host telecommunications application requirement;
Figure 7C is an interface diagram of the universal API supporting the call control processing illustrated in Figures 7A and 7B;
Figures 7D and 7E are a diagram of the finite state machine of Figures 7A and 7B in which each series of atomic functions is defined as a primitive;
Figures 7F and 7G are tables showing the correspondence between the atomic functions, primitives and states of Figures 7A-7E;
Figures 8A and 8B are a state diagram of a finite state machine for providing call control processing utilizing the universal API of the present invention to support a limited interactive host telecommunications application requirement;
Figure 8C is an interface diagram of the host-to-switch API generated by the cal control processing illustrated in Figures 8A and 8B;
Figures 8D and 8E are a diagram of the finite state machine of Figures 8A and 8B in which each series of atomic functions is defined as a primitive;
Figures 8F and 8G are tables showing the correspondence between the atomic functions, primitives and states of Figures 8A-8E;
Figure 9 is a functional block diagram illustrating an exemplary process flow to a create a PPL Event Indication message;
Figure 10 is a block diagram of the message buffer created by an Layer 4 PPL
processor during the creation of the PPL Event Indication message of Figure 9;
and S Figure I I is a functional block diagram illustrating an exemplary process flow to create a PPL Event Request message.
DETAILED DESCRIPTION OF THE INVENTION
I0 Figure 1 shows a commercially available personal computer (PC) 102 which includes a PC central processing unit (CPU} I04 and a hard disk drive 106 interconnected by a PC input/output (I/O) bus 108 and a PC power bus 109. The PC
I02 is preferably a PC-AT~, sold by International Business Machines (IBM), or a compatible thereof. Other personal computers having more memory or more powerful 1S CPUs than the PC-AT may also be used. The PC 102 preferably operates under an application-oriented operating system, such as DOS~ or UIVIX~.
The PC I02 consists of a chassis or housing in which a motherboard is mounted, along with the disk drive 106 and other optional assemblies such as floppy disk drives, modems and the like. The PC CPU 104 is mounted on the motherboard, 20 which includes a series of edge connectors into which other boards (cards) may be inserted and thereby connected to the PC I/O and power busses 108 and 109.
A programmable telecommunication switch IIO resides within the PC 102. A
CPU/matrix card l I2 is inserted into one of the slots on the motherboard and thus connected to the busses 108 and 109. The CPU/matrix card 112 is interconnected with 25 a digital (Tl) line card 1I4, a digital (E1) line card 115, a digital signal processing (DSP) card I16, a packet engine card l I7, an analog (universal) line card 118 and a terminator card 119 by four busses: a high level data link control (HDLC) or interprocessor bus I20; a time division multiplex (TDM) bus 122; a line card (LC) status/control bus 124; and a timing/control bus I26. A battery/ring voltage bus I28 30 supplies battery voltage (48VDC} and ringing voltage (109VAC) to the analog line card 118. The terminator card 119 serves to physically terminate busses 120, 122, I24, 126 and 128.
The line cards 114, 115 and 118 and the DSP card 116 are all connected to and receive their basic operating power from the PC power bus 109. Although only one 5 digital (Tl) line card 114, one digital (El) line card 115 and one analog line card 118 are depicted, it should be understood that additional line cards of any type may be added subject to two physical limitations: (1) the maximum switching capacity of the CPU/matrix card 112, and (2) the physical space within the chassis of the PC
102.
An external host 130, which may comprise a separate personal computes, 10 workstation or other computer, may optionally be connected via a communication channel 132 to the CPU/matrix card l I2. The CPUlmatrix card 112 preferably includes a conventional RS-232 compatible interface for connecting. the channel 132.
The external host I30 preferably operates under an application-oriented operating system.
IS If desired, the switch 110 can reside on a passive backplane (no PC
CPU 104 or disk 106 present) from which,its receives electrical power and be controlled by the external host 130. For example, the present invention may be implemented in other processing platforms such as the expandable telecommunications switch disclosed in U.S. Patent No. 5,544,163 issued on 20 August 6, 1996, titled Expandable Telecommunications System.
An external battery/ring voltage supply I31 is connected via a path 133 to the terminator card 119. Supply 131 may comprise, for example, a commercially available power supply.
With the exception of the digital (E1) Iine card 1I5, the DSP card 116 and the 25 packet engine card I I7, details regarding the construction of the various cards shown in Figure 1 are set forth in U.S. Patent No. 5,321,744, titled Programmable Telecommunications Switch for Personal Computer. Digital (E 1 ) line card 115 is preferably constructed using similar hardware to that disclosed for T1 line card II4, except for differences in conventional circuitry which allow Line card 115 to terminate El spans as opposed to Tl spans.
Details regarding the construction of the DSP card 116 and the packet engine card I17 are set forth in U.S. Patent No. 5,349,579, titled Telecommunications Switch With Programmable Communications Services.
Figure 2 is a layer model of the software used to control the programmable switch 110 of Figure I. The lefthand column of Figure 2 shows seven layers defused in the Open Systems Interconnection (OSI) reference model. The righthand column of Figure 2 shows five layers used to control switch 2 and their general correspondence to the OSI modes.
Referring now to both Figures 1 and 2, the Application Layer 5, which corresponds generally with the Application layer of the 4SI model, represents application.software which typically runs on either the PC CPU 104 or the external host 130. Application Layer 5 software may be used to implement any of a number of desired telecommunications services such as toll free (800) service, voice mail, automatic call distribution (ACD), to name but a few. Application Layer 5 may communicate with any other layer of the programmable switch through the application program interface (API) of the present invention. When Application Layer 5 resides on external host 130, the API manages communications over communication channel 132. When Application Layer 5 resides on PC CPU 104, the API manages call control processing communications over PC I!O bus 108.
Call Management Layer 104, which corresponds generally with the Presentation, Session and Transport layers of the OSI model, represents software which runs on the CPUlmatrix card I2. Call Management Layer 4 is responsible for 25 performing centralized call processing functions and providing a common interface to Application Layer 5 regardless of the type or types of network signalling protocols which may be used within the switch 102. Typically, Call Management Layer 4 performs functions which are required following call setup.
Network Signalling Protocol Layer 3 corresponds generally with the Network layer of the OSI model. The software represented by Network Signalling Protocol Layer 3 runs either on the CPU/matrix card 112 or on line cards which include their own microprocessors, such as Iine cards 114 or 115 or packet engine card l I7, and is responsible for in and out-of band network signalling supervision as well as network protocol level control of incoming and outgoing c~lis.
5 Link Layer 2 corresponds generally with the Data Link layer of the OSI
model.
Link Layer 2 software runs on the CPUlmatrix card I12, the line cards which include their own microprocessors, the DSP card l lb or the packet engine card 117 (each of which includes its own microprocessor) and is responsible for the detection as well as physical transfer of network signalling information across a network or Iine interface.
10 Finally, the Physical Layer 1 corresponds to the Physical layer of the OSI
model. Line cards 114, I15 and 118 provide physical Tl, B1 and analog electrical interfaces, respectively, to the switch 110.
Figures 3A and 3B are a tabular listing of representative features and functions provided by each of the software Layers 2-5 of Figure 2. The present invention may 15 be used as a development tool to develop suitable software to implement any of the features and functions shown in Figures 3A and 3B. Illustrative examples of the use of the present invention in the context of each of Layers 2-5 are set forth in U.S. Patent No. 5,426,694.
Figure 4 is an overall block diagram of a finite state machine development 20 environment, constructed in accordance with a preferred embodiment of the present invention, which enables a customer or user to create and define finite state machines for performing desired telecommunications functions, controlled by one or more applications through the universal API of the present invention. Before considering this Figure in detail, the definitions of certain terms should be addressed.
25 As used herein, the term state refers to a number which represents the current "context" for a particular channel or port. In a preferred embodiment of the present invention, there are three types of states defined: normal, internal and blocking.
Nornlal states can be wait states (i.e., a SEIZE ACK state, a condition in which further action is suspended until the occurrence of a particular event) or stable states (i.e., a 30 conversation is taking place). Internal states are used to test conditions and effectively operate as decision branches. Normal and internal states may be specified by a customer or user, in accordance with present invention, to define a finite state machine for performing a desired function. Blocking states are generated automatically by the present invention and are used, on a channel-by-channel basis, in connection with the management of off board resources.
An event is a number which identifies a condition which is accepted by a particular state. Data may be associated with an event.
An atomic function is one which performs an elementary task such as setting a timer. User-specified data may be associated with an atomic function. A
primitive is a predetermined sequence of atomic functions which is invoked upon the occurrence of a particular event. Users may create or define primitives from a library of available atomic functions. In a preferred embodiment, each primitive may contain up to atomic functions.
A statelevent table defines the valid events for a particular state and the I5 primitive which is invoked upon the occurrence of each such event. In a preferred embodiment, a state/event table may contain up to I00 states and up to 20 events per state.
A primitive table defines the primitives which are used by a state/event table.
In a preferred embodiment, a primitive table may contain up to 200 primitives.
A protocol is defined as the association of various types of tables, the least of which is a state/event table and primitive table, and is identified by a protocol ID (a number).
An API protocol is defined as the host-to-switch control protocol between host applications and software layers of the switch.
A program protocol language (PPL) is a programmable environment for . managing network signalling protocols and communications services.
A data block, such as those denoted by reference numbers 40a, 40n, is assigned for each channel (port) O...n of the switch. Each data block 40a, 40n contains the following information pertaining to its respective channel: the current state of the channel; a pointer to an active state/event table; a pointer to an active primitive table; a pointer to an assigned state/event table; and a pointer to an assigned primitive table.

i2 In the case of channel 0, the active state/event table and active primitive table pointers are pointing, as indicated by the phantom lines,to tables which are associated with a resident protocol 0, denoted by reference number 442a. The assigned state/event table and assigned primitive table pointers for channel 0 are pointing to ' tables which are associated with a dynamically loaded, customer-defined protocol 1, denoted by reference number 444a.
Other protocols which are present and available for use are resident protocols I...n (442b, 442c) and downloaded, customer-defined protocols n+ l...m (444b, 444c). The resident protocols 442a-442c represent preprogrammed or "standard"
protocols, which are typically provided by a manufacturer with a switch. In contrast, the customer-defined protocols n+l...m are created by a customer or user and may be completely "custom" or "proprietary" in nature.
A layer dependent atomic function library 446 is connected to provide information to a state machine engine 448. State machine engine 448 is also connected i5 to receive the active state/event table pointer and active primitive table pointer from each of data blocks 440x-440n. Also, as denoted by reference number 450, utilities are provided for layer dependent environment support.
The function of the state machine engine 448 is to drive each channel in accordance with its assigned protocol, which is defined by the assigned state/event table and assigned primitive table. Upon the occurrence of a valid event for a normal state, a primitive is invoked in accordance with the entries in the assigned state/event table. The state machine engine 448 uses the atomic function library 446 to perform the atomic functions represented by the invoked primitive.
The state machine engine 448 will drive through any necessary internal states, 2S automatically generating appropriate blocking states, until the channel once again reaches a normal state. At that time, processing by the state machine engine 448 is complete until the occurrence of another valid event.
Each channel is initially assigned one of the customer-defined protocols or one of the preprogrammed protocols. This is accomplished by the transmission of an API
message from the Application Layer 5 to the Call Management Layer 4, which in turn issues an appropriate message to Layer 3 which may also be configured in accordance with the API of the present invention. The assigned state/event table pointer and assigned primitive table pointer point to the protocol which was last assigned. Thus, a customer may assign a desired one of the available protocols by simply specifying the appropriate pointers in each data block. In this fashion, the present invention S advantageously permits the customer to assign, on a channel-by-channel basis, a desired protocol from among multiple protocols resident within a single switch.
Alternatively, or if the customer elects not to assign protocols to some or all of the channels, default values are preferably provided so that each channel always has a valid protocol (e.g., one of the resident protocols 442a-442c) assigned to it.
The active state/event table and active primitive table pointers, which are provided to the state machine engine 448, point to the protocol which is currently controlling the channel.
The protocol assigned to a particular channel is not necessarily permanent and may be dynamically changed in real time in response to the occurrence of a specified 1S event, as described in detail in connection with Figure 7. Further, because the atomic functions provided by the library 446 represent elementary functions, customers or users are advantageously able to implement desired changes in protocols without substantial, or possibly any, changes to the underlying code. In addition, the environment support utilities are provided to simplify protocol development for the customer or user. The utilities provide ready-to-use resource management functions {e.g., timers) which greatly simplify the state machine logic required to implement desired protocols. Different utilities are preferably provided for each software layer since the resources required by each Iayer may be different.
In accordance with the present invention, call processing control 2S communications between the Application Layer S, typically residing on external host I30, and the other layers of switch 102 illustrated in Figure 2, is conducted though the transfer of generic messages of the universal API of the present invention.
Specifically, in the preferred embodiment of the universal API of the present invention, a single message type, referred to as the PPL Event Request message, is used to transfer alI Gail control processing commands and data from the host application {Layer S) to the telecommunications switch (alI other software layers).

Likewise, a single message, referred to as the PPL Event Indication message, is used to transfer all call control processing status and data from the telecommunications switch to the host applications. These generic API messages have optional f elds and are the only messages necessary to maintain call processing regardless of the application requirements, network signalling protocol requirements, or features presently existing or to be added to the telecommunications switch. The programmable switch of the present invention enables a user to define and assign a desired applications program interface protocol, either "standard" or custom in nature, for performing various switching functions to accommodate any of the above requirements.
Referring to Figure 5, a PPL Event Request message is sent from the host to the switch to initiate a host event on a PPL component with optional ICB data.
The PPL Event Request message is the only call control processing message passed from the host to the switch and, in the preferred embodiment, having the format of message 500 illustrated in Figure 5. The PPL Event Request message comprises a number of fields and subfields, each of which is described below.
PPL Event Request message includes a frame byte 502 having a constant value identifying it as the first byte of a frame.
Message length field 504 contains the length of the particular PPL Event Request message. This is necessary due to the ability of the generic API
messages of the present invention to include optional fields, changing the length of the message.
Typically the length field value does not include the frame byte 502.
A message type field 506 contains a constant value identifying the particular message as a PPL Event Request message. The message type field is constant for all PPL Event Request messages.
Sequence number field 508 is a specific numeric identifier assigned to each PPL .
Event Request message that is generated by the host application. This value is used to distinguish between different PPL Event Request messages transmitted from the host to the switch. For example, when the host acknowledges the receipt of a PPL Event Request message, it includes the sequence number in its acknowledgement to identify which of the PPL Event Request messages is associated with the status information contained within the acknowledgement.
As noted, every PPL component state machine in a switch is assigned a unique reference number. PPL component ID 510 is a one word field that identifies which 5 PPL component implemented in the switch is referenced by a particular PPL
Event Request message 500.
There may be multiple instantiations of a PPL component state machine in a switch at any given time. For example, in the preferred embodiment there is an PPL component state machine assigned to each channel. Thus, in the illustrative 10 embodiment wherein a single E1 card supports 256 channels, there may be as many as 256 instantiations of the El PPL component state machine, each associated with a distinct channel. In order to selectively provide access to every instantiation of a PPL
component, the universal API of the present invention provides the ability to perform multiple levels of addressing. Thus, once the PPL component has been identified in 15 the PPL component ID field SlO, an address element field 514 is provided to identify which instantiation(s) of that PPL component state machine is(are) being referenced.
As shown in Figure 5, the FPL Event Request message provides the ability to include any number of address element fields 514, and thus may simultaneously communicate with multiple instantiations of a single PPL component state machine. The total number of address element fields 514 included in a PPL Event Request message is provided in address element count field S I2.
To accommodate the additional levels of addressing noted above, address element field 514 contains a number of subfields for further identifying which state machine instantiation is to receive the PPL Event Request message.
Specifically, an address element type field 516 is provided to reference the hierarchial components of the switch that may contain or be associated with the desired state machine instantiation. In the above example of an E1 PPL state machine instantiation, the address element type f eld 516 indicates which span and channel the state machine instantiation is associated with. An address information subfield 520 provides specif c addresses for each of the hierarchial components indicated in the address element type field 516.

WO 97/20439 PCTlUS96/18959 Since the addressing information contained in field 520 varies in accordance with the type of device addressed, the length of the AE field 514 may vary and thus is provided in length subfield 518. It is considered to be apparent to one skilled in the relevant art to use other addressing schemes appropriate for a particular PPL
' component state machine and switch architecture. It should also be noted that, in the above example, a single state machine instantiation exists for each channel since the PPL component state machine is assigned to each channel individually. However, it is considered to be apparent to one skilled in the relevant art that a particular state machine may be configured to manage any number of channels.
The multiple levels of addressing provide the universal API PPL Event Request message with a flexible addressing scheme. This enables a host application, using a single PPL Event Request message, to address a range of state machine instantiations having a common PPL component ID to generate a particular event at all addressed state machines.
IS Each PPL event has a unique ID relative to each PPL component. The PPL
event ID field 522 provides the switch with a user-defined PPL event ID that the switch recognizes as being associated with the particular request. The recipient PPL
component maps the unique PPL event ID to a PPL event that is unique to that PPL
component.
Each PPL Event Request message may also contain one or more data fields in the form of information control blocks (ICB)s. ICBs are defined for each PPL
component based upon the software layer and the communications protocol supported by that PPL component. Thus, any signalling information may be passed between the host and switch using the generic, programmable messages of the present invention.
Also referring to Figure 5, a PPL Event Indication message is sent from the switch to the host by a PPL component to report an event at the ports to the host with .
optional ICB data. The PPL Event Indication message is the only call control processing message passed from the switch to the host and in the preferred embodiment, has the same format as the PPL Event Request message illustrated in Figure 5. Except as noted below, the fields of the PPL Event Indication message are identical to and perform the same functions as, the analogous fields of the PPL Event Request message discussed above.
As noted above, there may be multiple instantiations of a PPL component state machine. --For-the-PPL-Evenl-Indication-message; the address eleriieritMeld{s) indicate which instantiation of a particular state machine is actually invoking the atomic function that generates the PPL event indication message.
In the PPL Event Indication message, the PPL event ID field 522 is a specific value representing the occurrence of a specific event in the switch that results in the PPL Event Indication message being sent from the PPL component state machine.
As noted, this is managed with an atomic function that is programmed to send the particular PPL Event Indication message in response to the occurrence of a particular event, the PPL Event ID included in the message being programmed by the user.
It is considered to be obvious to one skilled in the relevant art to configure all transfers of information in the switch using the universal API of the present invention, including all layer-to-layer communications. For example, the exemplary communications described in the above-incorporated U.S. Patent No. 5,426,694 may be replaced with the universal API messages of the present invention.
The PPL components can be Iayer specific, function specific, interface specific, protocol specific, or channel specif c. This enables a host Layer 5 telecommunications application to be as interactive as desired or necessary, accessing each layer of the switch and managing each PPL component regardless of where the component is located. An application can therefore use the universal API interface to manage any PPL component. This provides a consistent and predictable means for managing every PPL component in the switch, regardless of what level of processing is being performed, ranging from, for example, a very detailed signalling analysis, to network signalling, to high-level call routing, to call management connection functions.
In the preferred embodiment of the present invention, the manner in which the data is identified and passed to the host includes the implementation of one or more atomic functions configured to store and retrieve data of a certain type to specific memory locations in conjunction with one or more atomic functions that generate a generic PPL Event Indication providing the host with all previously stored data.

WO 97/20439 PCT/fJS96/18959 However, as one skilled in the art would find apparent, there are numerous ways in which atomic functions may be conf gured to pass data in the PPL Event Indication message. For example, a separate atomic function may be implemented to transfer specific types of data in a PPL event indication message.
The short-hand notation for depicting the PPL Event Request and the PPL
Event Indication messages is shown in on the bottom of Figure 5.
Referring to Figure 6, the telecommunications switch responds to the PPL
Event Request with a PPL Event Request Response message having the format of message 600. Similarly, the host applications responds to the PPL Event Indication message with a PPL Event Indication Acknowledge message, also having the format illustrated in Figure 6. Generic acknowledgement message 600 includes a frame byte 602, length byte 604, message type 606, and sequence number 608, all of which perform the same function as the corresponding fields in the PPL Event Request message 500. In addition, a status field 610 provides the recipient with message-specific status information. The short-hand notation for depicting the PPL
Event Request Acknowledge and the PPL Event Indication Acknowledge messages is shown in Figure 6.
Referring to Figures 7A-8G, two examples of the utilization of the universal API of the present invention to perform interactive voice processing functions are provided below. The f rst example illustrates a universal API for managing host-to-switch communications when the telecommunications switch is controlled by a highly interactive host application Layer 5 to perform interactive voice announcements. The second example illustrates a universal API for managing host-to-switch communications when the host application Layer 5 has limited interaction with the telecommunications switch to perform the same function. These examples illustrate the ability of the universal APIto accommodate various applications requirements.
In the following Figures, a state is depicted as a circle, an atomic function is depicted as a rectangular box, and an event is represented by a word abbreviation located along a path leading out of a state. Information shown in parentheses in an atomic function represents arguments or data that are associated with that function.

Reference numbers are provided below in parentheses when necessary to avoid confusion with other numeric descriptors.
Figures 7A-7B illustrate an example of an application of the present invention in Call Processing Layer 4 with a high level of interaction required by the host application layer 5. In this example, the present invention is used to implement a protocol for providing host application decisionmaking throughout the performance of an interactive voice response to an incoming call.
The protocol begins with the associated channel (channel 1) in normal state NSO, which is the IDLE state 702. Upon the occurrence of the event of layer 3 Transmitting to layer 4 a setup message ((50)L4PPLevL3 SETUP INDICATION)), the atomic function af35 is performed. As noted in its descriptor, the Layer 4 PPL
event (L4PPLev) is received from network signalling protocol layer 3 (L3), reporting that it has detected an incoming call (SETUP INDICATION). The number 50 in the parenthetical preceding the message descriptor is the PPL event ID assigned to that event by the Layer 4 PPL. Thus, when Layer 4 is notified of an incoming call, represented by a PPL event ID of 50, the PPL component state machine in Figure leaves idle state 702 and performs atomic function af35 (704).
Atomic function af35 (704) operates to notify the host application (Layer 5) of the event, assigning to the event a PPL event ID of I. The host application interprets this PPL event ID (the number i) as a notification of an incoming call.
Referring to Figure 7C, atomic function 35 (704) generates a PPL Event Indication message 701 to notify the host of the incoming call. This PPL Event Indication message has the following format:
PPL Event Ind (L4PPL, chl, 1) wherein the PPL component ID indicates the Layer 4 PPL component (L4PPL), the instantiation of the Layer 4 PPL component state machine addressed by this message is the instantiation associated with channel 1 (chl}, and the PPL event ID (I) indicates that an incoming message has been received while the PPL component state machine has been in the idle state NSO.

As shown, the arguments associated with atomic function af35 (70~) specify a Layer 4 PPL event ID. Note that more generally, atomic function af35 is a PPL
Send Event Indication message atomic function, used whenever a PPL Event Indication message is to be sent to the host Layer 5, each message having arguments for 5 indicating the unique PPL event ID associated with the occurrence of a different event.
The host responds with a PPL Event Indication Acknowledge message 703 having the general format:
PPL Event ind Ack (sequence #, status) wherein the sequence number is the sequence number provided in the PPL Event Indication message 701, and the status indicates the status of the associated PPL event indication message. For purposes of this and the following examples, the PPL
Event Indication Acknowledge messages all indicate that the immediately previous PPL
Event Indication message was successfully received.
After the telecommunications switch provides the host with notification of an incoming call utilizing the PPL Event Indication message of the present invention, the Layer 4 PPL component state machine enters normal state NS1, which is a WAIT
state 706, during which the Layer 4 PPL component waits for the host application to respond to the notification. The host sends a Layer S PPL Event Request message 705 (see Figure 7C) with an event ID of 1, indicating that it is requesting that the switch proceed with the call received on channel 1. Message 705 has the following format:
PPL Event Req (L4PPL, chl, 1}
indicating that the switch is to respond to the incoming call received on channel 1. A
PPL Event Request message having a PPL Event ID of i is interpreted by the Layer 4 PPL component state machine as an event. As illustrated in Figure 7A, the receipt of this PPL Event Request message is assigned by the Layer 4 PPL component state machine a Layer 4 unique PPL event ID of 501, indicating that a Layer 5 PPL
Event Request (with a PPL Event ID of 1) has occurred.

In response to PPL event 501, the Layer 4 PPL component state machine performs 5 atomic functions: atomic function af60 (708), atomic function af62 (710), atomic function af140 (712), atomic function af212 (714) and atomic function af50 (716). Atomic function af60 is an atomic function that generates a generic PPL
Event Request Acknowledge message in accordance with the present invention. This atomic function af60 may be used whenever a PPL component of the switch is to acknowledge the receipt of a PPL Event Request message. The argument number 16 represents an~
acknowledgement status that the PPL Event Request message was successfully received. This atomic function af60 (708) generates the PPL Event Request IO Acknowledge message 707, having the same general format as the PPL Event Indication Acknowledge message described above. The PPL Event Request Acknowledge message 707 indicates that the above incoming message has been successfully received.
Atomic functions af62 (710) and atomic function af140 (712), serve, respectively, to send a connect message (to answer the call) to Layer 3 and to send a message to allocate a DSP resource for interactive digit string collection.
Atomic function afZl2 (714) plays an opening announcement to the caller. As shown, there are two arguments to af212: an announcement ID and an announcement control option.
af212 (714) was selected to play an opening announcement. Atomic function af50 (716) is performed to set a timer to wait for a selected period of time for receipt of incoming digits, entered in response to the announcement played by atomic function afZl2 (714). As shown, the first argument indicates that the multi-purpose timer to be used for performing this function is timerl . The second argument indicates the number of 1000 ms units the timer is to count. Here, the second argument is 10, indicating that timerl will count for 10 seconds. Thus, atomic function af50 (716) enables timerl to expire in 10 seconds, during which time the Layer 4 PPL
component enters normal state S2, which is WAIT state 718, wherein the PPL state machine waits - for a digit to be detected on channel 1.
If the next PPL event is the expiration of timerl ((191) PPLevTIMERl) indicating that no digits were received with the IO second period, atomic function af35 (720) is performed to inform the host that no digits were received. The receipt of a PPLevTIMERl message is assigned a PPL event ID of 191 by Layer 4 PPL
component. As noted, atomic function 35 generates the PPL Event Indication message of the present invention. Here, however, a PPL Event ID of 4 is included in the PPL
Event Indication message, indicating that there has been a failure to detect digits on the selected channel. The format of this PPL Event Indication message is, therefore:
PPL Event Ind (L4PPL, ch 1, 4}
indicating that no digits have been detected on the channel associated with the channel 1 instantiation of the Layer 4 PPL component while the Layer 4 PPL component was in the wait state 718.
Since the interface diagram of Figure 7C illustrates the universal API
protocol associated with the successful receipt of digits and subsequent processing of the call announcement, this message is not illustrated in Figure 7C. Processing then continues with a series of atomic functions not shown where, under host application control through the implementation of the universal API of the present invention, the telecommunications switch performs various functions in response to the failure to detect digits on channel 1.
If the next event to occur while the Layer 4 PPL component state machine is in wait state 7i8 is the receipt of a message indicating that digits have been detected on channel l, ((66)L4PPLevDSP RESULT DIGITS), atomic function af47 (722) is performed. The receipt of this message is assigned a unique PPL Event ID of 66.
Thus, when Layer 4 is notif ed that digits have been received, the Layer 4 PPL
component state machine leaves wait state S2 (718) and performs atomic function af47 (722}. Atomic function af47 disables the PPL multipurpose timer (timerl) selected by atomic function af50 (716), as indicated in the argument to the atomic function.
Atomic function af53 (724) stores the received digits in a selected general purpose register. Here, af53 (724) stores the received digit in general purpose register 1.
In accordance with the present invention, atomic function af36 (726) is an atomic function configured to send a PPL Event Indication message with the contents of a selected general purpose register (argument 2), with a PPL event iD
(argument I).

Here, atomic function af36 (726) sends the contents of the general purpose register 1 to the Layer S host application as a PPL Event Indication message 709 having an Event ID of 2. PPL Event Indication message 709 has the format PPL Event Ind (L4PPL, chl, 2, digit) wherein L4PPL is the PPL component ID, chl is the address element, 2 is the PPL
event ID, and "digit" is the received digit. This PPL Event Indication message exemplifies the capability of the universal API of the present invention to transfer data as well as commands utilizing a single generic PPL Event Indication message format.
The host responds with a PPL Event Indication Acknowledgement message 711, indicating that the PPL Event Indication message 709 was successfully received.
Atomic function af147 (728) is then performed to cancel digit reception by disconnecting the DTMF receiver from channel 1.
The Layer 4 PPL component state machine then enters state S4 which is a WAIT state 730, wherein the Layer 4 PPL component state machine will wait indefinitely for the host application Layer 5 to direct the Layer 4 PPL
component state machine now to respond to the digit that was received. As shown in Figure 7B, in the exemplary embodiment, the host application may send the Layer 4 PPL component any one of 3 different responses, having PPL Event ID 504, 505, and 506.
If a PPL Event Request message 713 having a PPL event ID of 4 is received by the Layer 4 PPL component state machine, ((504)PPLevLS EVENT REQ~4) the Layer 4 PPL component state machine assigns a Layer 4 unique PPL event ID 504 to it, indicating that Layer 5 provided a PPL Event Request message having a PPL
event 2S ID of 4. PPL Event Request message 711 directs the Layer 4 PPL component state machine to play a specific outgoing announcement. The format of PPL Event Request message 713 is:
PPL Event Req (L4PPL, chl , 4) wherein the PPL component iD indicates that the message is directed towards the Layer 4 PPL component (I~.PPL), the address element indicates that channel 1 is the channel by which the communication is occurring (chl), and the PPL event ID
(4) indicates that a specific additional outgoing announcement is to be played on the ' identified channel.
In response to PPL event 504, Layer 4 performs 4 atomic functions: atomic function af60 (732), atomic function af140 (734), atomic function af2I2 (736) and atomic function af50 {738). Atomic function af60 (732) is an atomic function that generates a generic PPL Event Request Acknowledge message in accordance with the present invention. As noted, atomic function af60 is used whenever a PPL
component is to acknowledge the receipt of a PPL Event Request message. The argument number I6 represents an acknowledgement status that the PPL Event Request message was successfully received. This atomic function generates the PPL Event Request Acknowledge message 764, having the general format described above.
Atomic function af140 {734) serves to allocate a DSP resource for interactive digit string collection to channel I. Atomic function af2I2 (736) plays an additional outgoing announcement on channel 1. An announcement ID of 3 is indicated by the first argument; no options were selected according to the second argument.
Atomic function af50 (738) is performed to set timerl to wait for a 10 seconds for receipt of incoming digits. The PPL component enters state SS (?40) to wait for the incoming digit for the selected period of time.
The performance of atomic function af212 (736) results in the playing of an announcement to the caller. As shown, there are two arguments to af2I2: the announcement ID and announcement control options. Atomic function af212 (736) was selected to play an outgoing announcement.
Atomic function af50 (738) is performed to set a timer to wait for a selected period of time for receipt of incoming digits, entered in response to the announcement played by atomic function afZl2 (736). In accordance with the arguments, atomic function af2I2 (736) sets timerl to expire in 10 seconds. During this period, the Layer 4 PPL component state machine enters state S5, which is a WAIT state 740 wherein the state machine waits for digits to be received.

In this exemplary embodiment, the host may have alternatively responded with either a PPL Event Request having a PPL event ID of 5 or 6 indicating to the Layer 4 PPL Component to perform other functions not shown. In both cases, the PPL
component state machine performs atomic function af60 (731,733, respectively), 5 indicating that the respective PPL Event Request message was successfully received.
If the next event is the expiration of timerl((191) PPLevTIMERl), the protocol again performs an atomic function af35. Atomic function af35 (742) is performed to inform the host that no digits were received within the allotted time. As noted, atomic functions af35 are configured to generate a PPL Event indication message in 10 accordance with the present invention. Here, a PPL Event ID of 4 is included in the PPL Event Indication message by atomic function af35 (742), indicating that there has been a failure to detect digits on the selected channel. The format of this PPL Event Indication message is:
15 PPL Event ind (L4PPL, chl, 4) indicating that for the channel 1 instantiation of the Layer 4 PPL Component, no digits were detected within the allotted time. Since the interface diagram of Figure illustrates the API protocol associated with the successful processing of the call 20 announcement sequence, this message is not illustrated in that Figure.
If the next PPL event is the expiration of timerl ((191) PPLevTIMERl) indicating that no digits were received within the IO second period, atomic function af35 (742) is performed to inform the host that no digits were received by generating the PPL Event Indication message of the present invention with a PPL Event ID
of 4, 25 the format of which is:
PPL Event Ind (L4PPL, chl, 4) For reasons given above, this is not shown in Figure 7C. Processing then continues with a series of atomic functions not shown where, under host ampiiation control through the implementation of the universal API of the present invention, the telecommunications switch performs various functions in response to the failure to detect digits on channel 1.
If the next event to occur while the Layer 4 PPL component state machine is in wait for digit state 740, is the receipt of a message indicating that digits have been ' detected on channel l, ((66)L4PPLevDSP RESULT DIGITS), atomic functions af47 (744), af53 (746) and af36{748) are performed to disable the PPL multipurpose timer (timerl) previously selected, storing the received digits in a selected general purpose register, and sending a PPL Event Indication Message 717, respectively.
in accordance with the present invention atomic function af36 (748) is an atomic function configured to send a PPL Event Indication message with the contents of general purpose register I with a PPL event ID of 3. Here, atomic function af36 {748) sends the contents of the general purpose register I to the Layer 5 host application as a PPL Event Indication message 717 having an Event ID of 3. PPL
Event Indication message 717 has the format:
PPL Event Ind (L4PPL, chl, 3, digit) wherein L4PPL is the PPL component ID, chl is the address element, 3 is the PPL
event ID, and "digit" is the received digit. This event ID indicates that the returned digit is in response to an af2I2 atomic function playing an outgoing announcement having at announcement ID of 3. The host responds with a PPL Event Indication Acknowledgement message 7I9, indicating that the PPL Event Indication message ?11 was successfully received.
Referring now to Figure 7D, it may be seen that the each sequence of atomic.
functions shown in Figures 7A-7B has been def ned as a primitive. In effect, each primitive provides a shorthand way to identify a desired sequence of atomic functions to invoke. The table of Figure 7D lists in tabular format the sequence of atomic functions for each primitive.
Figure 7E is a state/event table that defines the relationships between the states, events and primitives of Figure 7D. In accordance with a preferred embodiment of the present invention, a customer wishing to create the protocol depicted in Figures 7A

7B, would need only define the tables shown in Figure 76D and 7E. Those tables would then be downloaded to the switch 102 (Figure 1) through a series of messages from the host device.
Referring to Figures 8A-8G, a second example of the universal API of the present invention configured to manage host-to-switch communications is illustrated.
IN this example, the host application Layer 5 has limited interaction with the telecommunications switch while performing these functions. Specifically, the telecommunications switch is configured to automatically respond to the digits that are entered. In contrast to the previous example, the Layer 4 PPL state machine includes internal states responsive to prompts internally generated during digit collection.
These aspects of the switch replace the atomic functions generating PPL Event Indication messages to the host providing the received digit, and the subsequent wait states wherein the switch waits for the host to supply it with a PL Event Request message.
Figures 8A-8B illustrate an example of an application of the present invention in Call Processing Layer 4 with a limited level of interaction required by the host application Layer 5 to implement a protocol for providing limited host application decisionmaking in the performance of an interactive voice response to an incoming call.
The protocol begins with the associated channel (channel 1) in normal state S0, which is the IDLE state 702. Upon the occurrence of the event of layer 3 transmitting to layer 4 a setup message ((50)L4PPLevL3 SETUP INDICATION)), the PPL
component state machine in Figure 8A leaves idle state 802 and performs atomic function af35 (804).
Atomic function af35 (804) operates to notify the host application (Layer 5) of the event, assigning to the event a PPL event ID of 1. The host application interprets this PPL event ID value of 1 as a notification of an incoming call. Referring to Figure 8C, atomic function 35 (804) generates a PPL Event Indication message 801 to notify the host of the incoming call. This PPL Event Indication message has the same format as PPL Event Indication message 701, and indicates that the channel I
instantiation of the Layer 4 PPL component state machine addressed by this message received an incoming message while the Layer 4 PPL component state machine was in the idle state.
The host responds with a PPL Event Indication Acknowledge message 702 having the general format described above, indicating that the previous PL
Event Indication message was successfully received.
After the telecommunications switch provides the host with notification of an incoming call utilizing the PPL Event indication message of the present invention, the Layer 4 PPL component state machine enters normal state S1, which is the WAIT
state 706, during which the Layer 4 PPL component waits for the host application to IO respond to the notification. The host sends a Layer 5 PPL Event Request message 705 with an event ID of 1, indicating that it is requesting that the switch proceed with the call received on channel I. This message has the format described above, indicating that an incoming message has been received on channel 1 for that instantiation of the Layer 4 PPL component while the Layer 4 PPL component state machine has been in IS the idle state.
The receipt of this PPL Event Request message is identif ed by the Layer 4 PPL
component state machine as a PPL event and is assigned a Layer 4 unique PPL
event ID of 501, indicating that a Layer 5 PPL Event Request (I) has occurred.
In response to PPL event 501, the Layer 4 PPL component state machine 20 performs 5 atomic functions: atomic function af60 (808), atomic function af62 (810), atomic function afI40 (812), atomic function af2I2 {814) and atomic function af50 {816). As noted, atomic function af60 is used whenever a PPL component is to acknowledge the receipt of a PPL Event Request message. The argument number I6 represents an acknowledgement status that the PPL Event Request message was 25 successfully received. This atomic function af60 {808) generates the PPL
Event Request Acknowledge message 807, having the same general format as the PPL
Event Indication Acknowledge message described above. The PPL Event Request Acknowledge message 807 indicates that the above incoming message has been successfully received.
30 Atomic functions af62 (810), af140 {812), af2I2 (814) and af50 (8I6) perform the same function as the analogous atomic functions described above with reference to Figure 7A. Atomic function af50 (816) enables timerl to expire during which time the Layer 4 PPL component enters normal state S2, which is WAIT state 818, wherein the PPL state machine waits for a digit to be detected on channel 1.
As in the above example, if the next PPL event is the expiration of timers ((191) PPLevTIMERI) indicating that no digits were received within the selected waiting period, atomic function af35 (820) is performed.
If the next event to occur while the Layer 4 PPL component state machine is in wait state 818 is the receipt of a message indicating that digits have been detected on channel 1, ((66)L4PPLevDSP RESULT DIGITS), atomic functions af47 (822), af53 (824), and af47 (828) are performed. These atomic functions performs similar functions to the analogous atomic functions described above with reference to Figures 7A and 7B. Note that an atomic function analogous to af36 (726) is not invoked.
Thus, the received digit is not provided to the host application.
Atomic function af28 (829) is performed to test the value of the digit stored in the general purpose register used in atomic function af63 (824) to store the received digit. The Layer 4 PPL component state machine enters internal state IS3 which is a TEST state 830, wherein the Layer 4 PPL component state machine tests the value of the digit that was received and stored in general purpose register 1. As shown in Figure 7B, in the exemplary embodiment, the tested digit may have any one of 3 different values, each generating an internal event having PPL Event ID 200, 201, and 202.
If a PPL Internal Event message having a PPL event ID of 0 ((200)PPLevINT EVENT 0) is provided to the Layer 4 PPL component state machine, the Layer 4 PPL component state machine assigns a Layer 4 unique PPL
event ID 200 to it to indicate that the internal event having a PPL event ID
of 0 was received.
In response to PPL event 200, the Layer 4 PPL component state machine performs 3 atomic functions afI40 (834), af212 (836) and atomic function af50 ($38), each of which perform functions similar to the analogous atomic functions described above with reference to Figures 7A and 7B. Note that an atomic function analogous to af60 (732) is not performed since the switch tests the incoming digit itself, and does not wait for a host generated PPL Event Request message. Therefore, no acknowledgement is required to be generated.
The Layer 4 PPL component state machine then enters normal state NS4, which is a WAIT state 840 wherein the state machine again waits for digits to be received. ' 5 If no digits are received, the next event is the expiration of timerl((191) PPLevTIMERI), the protocol performs an atomic function af35 (842) to inform the host that no digits were received within the allotted time. Processing then continues with a series of atomic functions not shown where, under host ampliation control through the implementation of the universal API of the present invention, the 10 telecommunications switch performs various functions in response to the failure to detect digits on channel 1.
If the next event to occur while the Layer 4 PPL component state machine is in wait for digit state 840, is the receipt of a message indicating that digits have been detected on channel 1, ((66)L4PPLevDSP~RESULT DIGITS), atomic functions af147 IS (844), af53 (846) are performed. These atomic functions perform similar functions to the analogous atomic functions described above with reference to Figures 7A
and 7B.
Further, atomic function af28 (847) is performed to test the value of the now second received digit stored in general purpose register 1. A function analogous to atomic function af36 (748) is not performed, thereby not providing the hast with a PPL Event 20 Indication message.
Referring now to Figure SD-8E, it may be seen that the each sequence of atomic functions shown in Figures 8A-8B has been defined as a primitive. In effect, each primitive provides a shorthand way to identify a desired sequence of atomic functions to invoke. The table of Figure 8F lists in tabular format the sequence of 25 atomic functions for each primitive.
Figure 8F is a state/event table that defines the relationships between the states, events and primitives of Figure 8D. In accordance with a preferred embodiment of the present invention, a customer wishing to create the protocol depicted in Figures 8A- ' 8B, would need only define the tables shown in Figure 8D and 8E. Those tables 30 would then be downloaded to the switch 102 (Figure 1) through a series of messages from the host device.

Referring to Figures 9-11, a Layer 4 PPL component 901 is executed as part of a Layer 4 PPL processor 902. As noted above, there may be multiple instantiations of a PPL component operating simultaneously, each of which has an associated state machine and tables. All instantiations of a the Layer 4 PPL component 901 are executed on a PPL state machine engine 1104. Layer 4 PPL processor 902 also includes a Layer 4 PPL message processor 1102 for receiving and processing internal PPL Event Request messages 1106. Each PPL processor such as Layer 4 PPL
processor 902 may contain any number of PPL components. In the exemplary embodiment shown in Figures 9 and 11, the Layer 4 PPL processor 902 contains a single Layer 4 PPL component 90I.
Figure 9 illustrates the process flow related to the invocation and execution of an atomic function to create a PPL Event Indication message. For exemplary purposes, Figure 9 illustrates the functions preformed in relation to the processing of atomic function af35 (704) of primitive #1 (750) to create PPL Event Indication message 701. Atomic function af35 (704) is part of the Layer 4 PPL component 901.
Layer 4 PPL processor 902 resides on CPU/matrix card 112 in the illustrative embodiment discussed above, and invokes atomic functions in accordance with the state/event and primitive tables to perform various functions, including the functions discussed above with reference to the Call Management Layer 4 in Figure 2. As noted, Call Management Layer 4 is responsible for performing centralized call processing functions and providing a common interface to Application Layer 5.
In the preferred embodiment of the present invention, the functions performed by the Layer 4 PPL processor 902 are implemented in a publicly available, proprietary operating system referred to as PSOS, available from Integrated Systems, Inc., Santa Clara, California, USA. However, as will become apparent to one skilled in the relevant art, the present invention may be implemented in any commonly known software program and in any software language now or later developed.
Generally, the Layer 4 PPL processor 902 invokes atomic functions that generate internal representations of the PPL Event Indication message. The internal message is passed to a communications processor 906, also residing on the CPUJmatrix card 1 i2, for translation into a PPL Event Indication message of the universal API of the present invention.
When Layer 4 PPL processor 902 executes a primitive of a PPL component state machine, it invokes each of the atomic functions associated with that primitive, as indicated by the primitive table 780 discussed above. In the example discussed above with reference to Figures 7A and 7B, atomic function af35 (704) is the only atomic function included in primitive #i (750). As noted, atomic function 35 is a PPL
Send Event Indication atomic function used whenever a PPL Event Indication is to be sent to the host, each occurrence of the atomic function having a different PPL event ID to IO indicate the occurrence of a different event.
A number of functions, each of which is described below, are performed by the Layer 4 PPL atomic function af35 (704) to create the PPL Event Indication message 70I for transmission to a Layer 5 host application. Referring to Figure I0, layer 4 PPL processor 902 allocates a message buffer 1050 to "attach" to the internal IS representation of the PPL Event Indication message 904 generated by the atomic function af35 (704). The message buffer is used by the PSOS operating system to store the necessary information for creation of the PPL Event Indication message 70I.
A pointer to that message buffer is obtained through the PSOS operating system when the buffer is allocated.
20 Once the message buffer is allocated, destination and source ID fields 1052, 1054 are loaded. The contents of these two fields is determined by the relative location of the transmitting and receiving elements. in addition to enabling a PPL
component to communicate with Layer 5 applications residing on the host, the universal API of the present invention may be implemented to manage communications 25 between any two instantiations of any PPL components residing in the same or different PPL processors.
When the universal API is utilized to achieve communications between PPL
components that are located in, or "owned", by the same PPL processor, then the ' source and destination ID fields are loaded with the PPL component ID.
Otherwise, 30 the source and destination ID fields are loaded with the processor virtual ID, and the message type field 1058 is used by the destination PPL component or application to direct the message to the appropriate instantiation of the desired PPL
component residing in the destination PPL processor. The message type field 1058 contains a unique message type identif er that is associated with a specific PPL
component.
~ The Layer 4 PPL processor 902 also loads a PPL event ID into the associated field 1056 of the message buffer, the event ID identified in the PPL primitive table 780 provided to atomic function af35 (704}. In the example illustrated in Figure 7, atomic function af35 (704) indicates the detection of an incoming call during idle state S0, and is assigned a PPL event ID of 1.
An ICB count field 1062 is loaded with the number of trailing iCB data fields 1064, if any.
The Layer 4 PPL processor 902 transfers the data buffer 1050 to the PPL Event Indication message 904. This is accomplished by invoking a function that attaches the allocated buffer 1050 to the PPL Event Indication message 904 by providing the communications processor 906 with a pointer to the data buffer 1050. The IS communications processor 906 reformats the API messages of the present invention from the internal representation usable by the PPL processor 902 to the format shown in Figure 5 for transmission to the host application. Communications processor performs well known translating operations typical of message handling communications processors, and is considered to be well known in the art.
Communications processor 906 then transmits the PPL Event Indication message to an applications program located in host computer I30 via the API interface 908.
The scheme discussed above with respect to the Layer 4 PPL processor 902 is shown below by the following pseudo-code. It is envisioned that this pseudo-code can be used to generate source code for the present invention in any suitable language, such as C, C + + or PAS CAL:
1. allocate psos msg data buffer (ppl~data buff);
2. psos msg.ppl component=L4PPL;
3. psos msg.event id=event id;
4. psos msg.destination = HOST;
5. psos msg. source = IAPPL;
6. psos msg.timeslot addr = CHANNEL 1;

7. l4ppl send msg {pros msg, comm queue);
Figure 11 illustrates the process flow related to the receipt and processing of a PPL Event Request message. For exemplary purposes, Figure 11 illustrates the functions related to the processing of PPL Event Request message 705 received at wait state S 1 (706), invoking primitive 2 atomic functions as shown in primitive table 780.
The communications processor 1006 performs the inverse operation of that performed above with respect to the PPL Event Indication message. That is, the communications processor I006 receives the API version of the PPL Event Request message 705 over API 1008 and translates it into an internal PSOS PPL Event Request message 1106. Communications processor 1006 transmits the PPL Event Request message l I06 to the Layer 4 PPL processor I002. A Layer 4 PPL message processor 1102 receives and processes the internal PPL Event Request message I 106 and generates a distinct Layer 4 PPL event for the Layer 4 PPL state machine engine I I04.
The Layer 4 PPL message processor 1102 converts the PPL event ID 522 of I5 message 705 into a Layer 4 unique PPL event ID for the Layer 4 PPL state machine l I04 by adding a layer 5 event request base value of 500 to the PPL event ID.
Thus, in the exemplary embodiment, the Layer 4 PPL message processor I102 adds a base value of 500 to the PPL Event Request message PPL event ID of I to result in a Layer 4 unique PPL event ID of 501.
Once the PPL Event Request message is mapped to a Layer 4 unique PPL event ID, a pointer is derived to the selected channel's PPL data based upon the address element value in the message that contained a logical span and channel ID. In other words, the Layer 4 PPL message processor I I02 converts the logical address into a physical address, i.e.., a physical time slot in switch 102. Then the PPL
state machine engine is invoked, typically as a function call, with the channel pointer for the PPL
component instantiation data block and a pointer to the data block associated with the PPL Event Request message I I06 that was received from the communications processor 1006.
The Layer 4 PPL component state machine engine 1104 processes the Layer 4 unique PPL event ID, searching the state/event table 790 for that PPL Event ID
for the present state. If a matching event is found, the state machine engine 1104 invokes the identified primitive in the state/event table, retrieving from primitive table 780 the atomic functions associated with the primitive ID.
Thus, in the illustrative embodiment, the Layer 4 PPL component state machine engine I I04 processes PPL event 501, locating the PPL Event ID of 501 for the 5 present state S 1 {706) in the state/event table 790 and invoking the atomic functions associated with primitive #2. The PPL state machine engine 1104 enters the state indicated in the Layer 4 PPL state/event table 790 after processing aII the atomic functions associated with primitive 2.
Pseudo-code for Layer 4 PPL message processor 1102 as contemplated by 10 embodiments of the present invention is disclosed below:
ppl event=psos msg.ppl data buf~ppl event + ppl LS event req_base 2. ppl chan~tr = ppl data [psos msg.hdr.timeslot addr]
3. ppl stmch(ppl chan_ptr, ppI event, psos.msg) It should be understood that embodiments of the present invention can be implemented in hardware, software or a combination thereof. In such embodiments, the various components and steps would be implemented in hardware and/or software to perform the functions of the present invention. Any presently available or future developed computer software language and/or hardware components can be employed in such embodiments of the present invention. In particular, the pseudo-code discussed above can be especially useful for creating the software embodiments.
While the invention has been particularly shown and described with reference to preferred embodiments thereof, 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. Furthermore, the terms and expressions which have been employed are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding any equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the invention claimed.

Claims (28)

1. A telecommunications system, comprising:
a host device;
a programmable telecommunication switch, connected in communicating relationship with and responsive to said host device, for performing call processing functions related to communication paths established between various ones of a plurality of channels; and a universal application program interface (API) comprising:
a single call control processing message having a generic format and comprising an event request message and an event indication message, said event request message for transferring call control processing commands and data from said host device to said telecommunication switch, including user-definable commands and data, and said event indication message for transferring call control processing status and data from said telecommunication switch to said host device; and a single response message having a generic format and comprising an event request response message and an event indication acknowledge message, said event request response message for transferring a response by said telecommunication switch to said event request message received from said host device, and said event indication acknowledge message for transferring response by said host device to said event indication message received from said telecommunication switch.
2. The system as in claim 1, wherein said telecommunication switch further comprises one or more instantiations of one or more finite state machine which are user-definable in terms of a programmable protocol language (PPL), each of said one or more finite state machines representing one of one or more protocols and comprising:
one or more libraries each containing one or more predetermined functions;
one or more predetermined logical states;
at least one predetermined event associated with each said one or more predetermined logical states, each said at least one predetermined event uniquely identified relative to each of one or more PPL component state machines; and wherein upon an occurrence of one of said one or more predetermined events, a predetermined primitive associated with the occurring event is invoked, said predetermined primitive comprising a predetermined series of one or more said predetermined functions.
3. The system as in claim 2, wherein said switch further comprises one or more state machine engines, wherein each of said one or more state machines is configured to be interpreted by one or more state machine engines.
4. The system of claim 2, wherein said PPL event request message comprises:

a PPL component ID for identifying which of said one or more state machines is referenced by a particular PPL event request message;
one or more address elements, each identifying one of said one or more instantiations of said state machine identified in said PPL component ID
field;
and a user-defined PPL event ID representing an associated one of said at least one predetermined events associated with the particular state machine identified in said PPL component ID field.
5. The system of claim 2, wherein said PPL event indication message comprises:

a PPL component ID for identifying which of said one or more state machines is referenced by a particular PPL event indication message;
one or more address elements, each identifying one of said one or more instantiations of said state machine has invoked the function that generates said PPL event indication message; and a user-defined PPL event ID representing an occurrence of a specific one of said at least one event in said telecommunications switch that results in a particular PPL event indication message being generated by said state machine.
6. The system of claim 4, wherein said PPL event request message further comprises:
an address element type associated with said address element, for referencing components of said telecommunications switch associated with said state machine instantiation identified by said associated address element;
and a component address of each of said telecommunications switch components identified by said address element type.
7. The system of claim 4, wherein said PPL event request message further comprises:

one or more data fields associated with each of said one or more state machines, for transferring call control processing information from said host device to said telecommunications switch.
8. The system of claim 5, wherein each said PPL event indication message is generated by one of said one or more functions configured to send a PPL event indication message in response to the occurrence of a particular event, and wherein each said one or more address element fields comprises:
an address element type referencing PPL components of said telecommunications switch associated with said state machine instantiation identified by said one or more address elements; and a PPL component address of each of said PPL components identified by said address element type.
9. The system of claim 5, wherein said PPL event indication message further comprises:
one or more data fields associated with each of said one or more state machines, for transferring call control processing information from said host device to said telecommunications switch.
10. A telecommunications system, comprising:
a host device;
a programmable telecommunication switch, connected in communicating relationship with and responsive to said host device, for performing call processing functions related to communication paths established between various ones of a plurality of channels; and means for effecting communications between said switch and said host using a universal application program interface (API), wherein said API
comprises:
a single call control processing message having a generic format and comprising an event request message and an event indication message, sand event request message for transferring commands and data from said host device to said telecommunication switch, including user-definable commands and data, and said event indication message for transferring status and data from said telecommunication switch to said host device; and a single response message having a generic format and comprising an event request response message and an event indication acknowledge message, said event request response message for transferring a response by said telecommunication switch to said event request message received from said host device, and said event indication acknowledge message for transferring response by said host device to said event indication message received from said telecommunication switch.
11. The system of claim 10, wherein said API is configured to be customized to meet telecommunications application and network signaling protocol requirements.
12. The system as in claim 10, wherein said telecommunication switch further comprises:
one or more programmable protocol language (PPL) component state machines, each of which represents one of said one or more protocols for performing said call processing functions, said one or more state machines responsive to one or more predetermined events associated with said state machine.
13. The system of claim 10, wherein said call processing functions include dynamically connecting or disconnecting communication paths between various ones of a plurality of channels.
14. The system as in claim 12, wherein said switch further comprises one or more state machine engines, and wherein each said one or more finite state machines comprises one or more libraries of predetermined functions, wherein each of said one or more finite state machines is configured to be interpreted by one of said one or more state machine engines.
15. The system of claim 12, wherein said first predetermined message format is a variable length PPL event request message comprising:
a PPL component ID for identifying which of said one or more PPL
component state machines is referenced by a particular PPL event request message.
16. The system of claim 12, wherein said telecommunications switch further comprises:
one or more instantiations of each of said one or more PPL component state machines.
17. The system of claim 12, wherein said second predetermined message format is a variable length PPL event indication message comprises:
a PPL component ID for identifying which of said one or more PPL
component state machines is referenced by a particular PPL event indication message.
18. The system as in claim 14, wherein each of said one or more state machines is defined by a functional combination of a state/event table and a primitive table, wherein said state/event table defines one or more predetermined logical states and at least one of said one or more predetermined events associated with each said one or more predetermined logical states, and wherein said primitive table defines one or more primitives each of which comprises a predetermined series of one or more said predetermined functions, whereby upon an occurrence of one of said one or more predetermined events, a predetermined primitive associated with the occurring event is invoked.
19. The system of claim 16, wherein said first message format is a variable length PPL event request message comprises:
a PPL component ID identifying which of said one or more PPL
component state machines is referenced by a particular PPL event request message; and one or more address elements, each identifying one of said one or more instantiations of said PPL component state machine identified by said PPL
component ID.
20. The system as in claim 16, wherein said PPL event request message comprises a programmable variable addressing scheme to address a desired one or more of said at least one instantiation of each of said plurality of PPL component state machines.
21. The system as in claim 16, wherein said PPL event indication message comprises a programmable variable addressing scheme to address a desired one or more of said at least one instantiation of each of said plurality of PPL component state machines.
22. The system of claim 16, wherein said first message format is a variable length PPL event indication message comprises:

a PPL component ID identifying which of said one or more PPL
component state machines is referenced by a particular PPL event indication message; and one or more address elements, each identifying one of said one or more instantiations of said PPL component state machine has invoking the function that generates said PPL event indication message.
23. The system of claim 19, wherein each said one or more address elements comprises:
an address element type for referencing components of said telecommunications switch associated with said state machine instantiation identified by said one or more address elements; and PPL component address information providing specific addresses for each of said PPL components identified by said one or more address elements.
24. The system of claim 19, wherein each said one or more events is uniquely identified relative to each said one or more PPL component state machines, and further wherein said PPL event request message further comprises a PPL event ID field containing a user-defined event ID representing an associated event unique to a particular PPL component state machine identified in said PPL component ID
field.
25. The system of claim 22, wherein said PPL event indication message is generated by one of said one or more functions configured to send the particular PPL event indication message in response to the occurrence of a particular event, and wherein each said one or more address element fields comprises:

an address element type subfield for referencing components of said switch associated with said state machine instantiation identified in said one or more address element fields; and an address information subfield provides specific addresses for each of the hierarchical components indicated in said address element type field.
26. The system of claim 22, wherein each said one or more events is uniquely identified relative to each said one or more PPL component state machines, and further wherein said PPL event indication message further comprises a PPL event ID
field containing a user-defined event ID representing the occurrence of a specific event in said switch that results in a particular PPL event indication message being generated by said PPL component state machine.
27. The system of claim 24, wherein said PPL event request message further comprises:
one or more data fields associated with each of said one or more PPL
component state machines, for transferring call control processing information from said host to said switch.
28. The system of claim 27, wherein said PPL event indication message further comprises:
one or more data fields associated with each of said one or more PPL
component state machines, for transferring call control processing information from said host to said switch.
CA002211780A 1995-11-30 1996-11-27 Telecommunications switch having a universal applications program interface for standardized interactive call processing communications Expired - Fee Related CA2211780C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US08/566,414 1995-11-30
US08/566,414 US5826030A (en) 1995-11-30 1995-11-30 Telecommunication switch having a universal API with a single call processing message including user-definable data and response message each having a generic format
PCT/US1996/018959 WO1997020439A1 (en) 1995-11-30 1996-11-27 Telecommunications switch having a universal applications program interface for stantardized interactive call processing communications

Publications (2)

Publication Number Publication Date
CA2211780A1 CA2211780A1 (en) 1997-06-05
CA2211780C true CA2211780C (en) 2006-06-06

Family

ID=24262788

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002211780A Expired - Fee Related CA2211780C (en) 1995-11-30 1996-11-27 Telecommunications switch having a universal applications program interface for standardized interactive call processing communications

Country Status (11)

Country Link
US (4) US5826030A (en)
EP (1) EP0807358B1 (en)
JP (1) JPH10513633A (en)
KR (1) KR19980701797A (en)
AT (1) ATE225110T1 (en)
AU (1) AU718827B2 (en)
BR (1) BR9606820A (en)
CA (1) CA2211780C (en)
DE (1) DE69623931T2 (en)
IL (1) IL121434A (en)
WO (1) WO1997020439A1 (en)

Families Citing this family (78)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793954A (en) * 1995-12-20 1998-08-11 Nb Networks System and method for general purpose network analysis
US6493761B1 (en) * 1995-12-20 2002-12-10 Nb Networks Systems and methods for data processing using a protocol parsing engine
US6651102B2 (en) * 1995-12-20 2003-11-18 Nb Networks Systems and methods for general purpose data modification
IL119914A (en) 1996-12-25 2000-06-29 Emultek Ltd Device for implementing hierarchical state charts and methods and apparatus useful therefor
SE510162C2 (en) * 1997-01-14 1999-04-26 Ericsson Telefon Ab L M A method and communication station for controlling message transmission in a mobile communication system
US6286050B1 (en) 1997-01-27 2001-09-04 Alcatel Usa Sourcing, L.P. System and method for monitoring and management of telecommunications equipment using enhanced internet access
US6119173A (en) * 1997-01-27 2000-09-12 Alcatel Usa Sourcing, L.P. System and method for communications and process management in a distributed telecommunications switch
US6122356A (en) * 1997-11-13 2000-09-19 Northern Telecom Limited Concurrent state machine space in a telecommunications network
US6052455A (en) * 1997-11-13 2000-04-18 Northern Telecom Limited Universal data structure for use with a concurrent state machine space in a telecommunications network
US6003041A (en) * 1998-01-05 1999-12-14 Gateway 2000, Inc. Method and managing multiple channel maps from multiple input devices in a multimedia system
US6208724B1 (en) * 1998-04-09 2001-03-27 Dialogic Corporation Virtual telephone
US6424934B2 (en) 1998-05-18 2002-07-23 Solidum Systems Corp. Packet classification state machine having reduced memory storage requirements
US6526050B1 (en) * 1998-06-08 2003-02-25 Excel Switching Co. Programming call-processing application in a switching system
US7929516B2 (en) * 1998-06-12 2011-04-19 Mci Communications Corporation Intelligent services network using a switch controller
US7142650B1 (en) 1998-06-12 2006-11-28 Mci Communication Corporation System and method for resource management
US6587890B1 (en) 1998-06-12 2003-07-01 Mci Communications Corporation Switch controller application programmer interface
US6480597B1 (en) 1998-06-12 2002-11-12 Mci Communications Corporation Switch controller for a telecommunications network
US6603768B1 (en) 1998-06-27 2003-08-05 Intel Corporation Multi-protocol conversion assistance method and system for a network accelerator
US6728249B2 (en) 1998-06-27 2004-04-27 Intel Corporation System and method for performing cut-through forwarding in an ATM network supporting LAN emulation
US6724767B1 (en) 1998-06-27 2004-04-20 Intel Corporation Two-dimensional queuing/de-queuing methods and systems for implementing the same
US6657959B1 (en) 1998-06-27 2003-12-02 Intel Corporation Systems and methods for implementing ABR with guaranteed MCR
US6604136B1 (en) 1998-06-27 2003-08-05 Intel Corporation Application programming interfaces and methods enabling a host to interface with a network processor
US6735773B1 (en) 1998-06-27 2004-05-11 Intel Corporation Method and apparatus for issuing commands to a network processor configured to provide a plurality of APIs
US6356950B1 (en) * 1999-01-11 2002-03-12 Novilit, Inc. Method for encoding and decoding data according to a protocol specification
US6594685B1 (en) * 1999-04-14 2003-07-15 Excel Switching Corporation Universal application programming interface having generic message format
US6349405B1 (en) 1999-05-18 2002-02-19 Solidum Systems Corp. Packet classification state machine
AU4739500A (en) * 1999-05-18 2000-12-05 Solidum Systems Corp. Packet classification state machine
US6565443B1 (en) 1999-09-14 2003-05-20 Innovative Gaming Corporation System and method for verifying the contents of a mass storage device before granting access to computer readable data stored on the device
US7346075B1 (en) * 2000-02-25 2008-03-18 International Business Machines Corporation Portable networking interface method and apparatus for distributed switching system
SG92686A1 (en) * 2000-03-09 2002-11-19 Kent Ridge Digital Labs An atm handoff process
DE10112974B4 (en) * 2000-03-17 2005-10-20 Zarlink Semiconductor Inc Multi-frequency tone detector
US6829630B1 (en) * 2000-11-24 2004-12-07 Xerox Corporation Mechanisms for web-object event/state-driven communication between networked devices
JPWO2002056547A1 (en) * 2000-12-27 2004-05-20 富士通株式会社 Switching relay device and switching relay system
US6907046B1 (en) * 2001-03-07 2005-06-14 Sprint Communications Company L.P. Communication system and device that provides service independent communication bridging
US20020161907A1 (en) * 2001-04-25 2002-10-31 Avery Moon Adaptive multi-protocol communications system
CA2357444A1 (en) * 2001-09-13 2003-03-13 Armadillo Networks Inc. System and methods for automatic negotiation in distributed computing
US20030059015A1 (en) * 2001-09-21 2003-03-27 Mello Eber Call server allowing calls with multiple participants and multiple services independently of the number of participants
US7395343B1 (en) * 2002-02-26 2008-07-01 Cisco Technology, Inc. Network tunneling method and apparatus
EP1357763A1 (en) * 2002-04-23 2003-10-29 Hewlett-Packard Company Adaptor module
JP3607687B2 (en) * 2002-04-26 2005-01-05 株式会社東芝 Data transmission / reception system and data transmission / reception method
US7266182B2 (en) * 2002-06-14 2007-09-04 International Business Machines Corporation Method and system for implementing a telephony services feature using voice XML
US7752293B1 (en) * 2002-07-30 2010-07-06 Cisco Technology, Inc. Command processing in a telecommunications network
US7428218B2 (en) * 2002-08-01 2008-09-23 Teradyne, Inc. Flexible approach for representing different bus protocols
US6873695B2 (en) * 2002-09-09 2005-03-29 International Business Machines Corporation Generic service component for voice processing services
CN100396061C (en) * 2003-07-05 2008-06-18 华为技术有限公司 A method for controlling asynchronous operation by using state machine
US7720948B2 (en) 2003-11-12 2010-05-18 International Business Machines Corporation Method and system of generically specifying packet classification behavior
US20050114540A1 (en) * 2003-11-12 2005-05-26 International Business Machines Corporation Method and system of generically specifying congestion control and a voidance behavior
US7844639B2 (en) 2003-11-24 2010-11-30 Ebay Inc. Backward compatibility in database schemas
WO2005052759A2 (en) 2003-11-24 2005-06-09 Ebay Inc. Business language schema design framework
US7554974B2 (en) * 2004-03-09 2009-06-30 Tekelec Systems and methods of performing stateful signaling transactions in a distributed processing environment
CN100358302C (en) * 2004-12-06 2007-12-26 华为技术有限公司 Method for testing network element interface by state apparatus
US7653681B2 (en) * 2005-01-14 2010-01-26 International Business Machines Corporation Software architecture for managing a system of heterogenous network processors and for developing portable network processor applications
WO2006091043A1 (en) * 2005-02-24 2006-08-31 Lg Electronics Inc. Packet structure and packet transmission method of network control protocol
US7856094B2 (en) 2005-03-21 2010-12-21 Tekelec Methods, systems, and computer program products for providing telecommunications services between a session initiation protocol (SIP) network and a signaling system 7 (SS7) network
US20060282838A1 (en) * 2005-06-08 2006-12-14 Rinku Gupta MPI-aware networking infrastructure
US7760708B2 (en) 2005-07-08 2010-07-20 Tekelec Methods, systems, and computer program products for triggering SIP nodes to include SS7 routing information in response messages including information requested by SS7 nodes
US8050253B2 (en) * 2006-01-09 2011-11-01 Tekelec Methods, systems, and computer program products for decentralized processing of signaling messages in a multi-application processing environment
US7907619B2 (en) * 2006-12-19 2011-03-15 International Business Machines Corporation Method, system and program product for adapting to protocol changes
WO2008094648A1 (en) * 2007-01-31 2008-08-07 Tekelec Methods, systems, and computer program products for applying multiple communications services to a call
US8213440B2 (en) 2007-02-21 2012-07-03 Tekelec Global, Inc. Methods, systems, and computer program products for using a location routing number based query and response mechanism to route calls to IP multimedia subsystem (IMS) subscribers
US20080198996A1 (en) * 2007-02-21 2008-08-21 Tekelec Methods, systems, and computer program products for using a location routing number based query and response mechanism to effect advanced routing
US8073127B2 (en) * 2007-02-21 2011-12-06 Tekelec Methods, systems, and computer program products for using a location routing number based query and response mechanism to effect subscriber cutover
US8730970B2 (en) 2007-02-23 2014-05-20 Tekelec Global, Inc. Methods systems, and computer program products for providing voicemail routing information in a network that provides customized voicemail services
WO2008130709A2 (en) * 2007-04-20 2008-10-30 Tekelec Systems, methods, and computer program products for providing service interaction and mediation in a communications network
FR2929474B1 (en) * 2008-03-28 2010-07-30 Groupe Ecoles Telecomm MULTI-LAYER HIERARCHISED COMPUTING ARCHITECTURE
GB2460467A (en) * 2008-05-30 2009-12-02 Symbian Software Ltd Specifying a finite state machine by a set of instructions and a set of parameters which are stored in different files.
WO2009149133A2 (en) * 2008-06-02 2009-12-10 Tekelec Methods, systems, and computer readable media for providing next generation network (ngn)-based end user services to legacy subscribers in a communications network
WO2010060087A2 (en) 2008-11-24 2010-05-27 Tekelec Systems, methods, and computer readable media for location-sensitive called-party number translation in a telecommunications network
WO2010083509A2 (en) 2009-01-16 2010-07-22 Tekelec Methods, systems, and computer readable media for centralized routing and call instance code management for bearer independent call control (bicc) signaling messages
US9712341B2 (en) 2009-01-16 2017-07-18 Tekelec, Inc. Methods, systems, and computer readable media for providing E.164 number mapping (ENUM) translation at a bearer independent call control (BICC) and/or session intiation protocol (SIP) router
US8224337B2 (en) 2009-09-16 2012-07-17 Tekelec, Inc. Methods, systems, and computer readable media for providing foreign routing address information to a telecommunications network gateway
US8516130B2 (en) * 2011-06-30 2013-08-20 Harman International Industries, Incorporated Using non-AVB application layer interface and message to establish a connection over an AVB network
US9009354B2 (en) 2012-12-20 2015-04-14 Sap Se Services and management layer for diverse data connections
CN103441990B (en) * 2013-08-09 2016-03-30 中国人民解放军理工大学 The automatic estimating method of protocol state machine based on state fusion
CN104333540B (en) * 2014-10-22 2018-02-13 国电南瑞科技股份有限公司 A kind of substation automation system communication protocol dynamic implementation method
US10141855B2 (en) 2017-04-12 2018-11-27 Accion Systems, Inc. System and method for power conversion
US10728392B1 (en) 2019-03-20 2020-07-28 InContact Inc. Method and system for managing availability states of a user to communicate over multiple communication platforms
US11545351B2 (en) 2019-05-21 2023-01-03 Accion Systems, Inc. Apparatus for electrospray emission

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4523308A (en) * 1982-09-29 1985-06-11 Stromberg-Carlson Corporation Telephone concentrator switch arrangement
US4527012B1 (en) * 1983-01-31 1994-12-13 Redcom Laboraties Inc Communications switching system with modular switching communicatons peripheral and host computer
US5060140A (en) * 1986-01-16 1991-10-22 Jupiter Technology Inc. Universal programmable data communication connection system
US4787062A (en) * 1986-06-26 1988-11-22 Ikos Systems, Inc. Glitch detection by forcing the output of a simulated logic device to an undefined state
US4768150A (en) * 1986-09-17 1988-08-30 International Business Machines Corporation Application program interface to networking functions
JP2802088B2 (en) * 1989-02-06 1998-09-21 株式会社日立製作所 Protocol selection switching method
JPH03123244A (en) * 1989-10-06 1991-05-27 Matsushita Electric Ind Co Ltd Communication equipment
CA2010591C (en) * 1989-10-20 1999-01-26 Phillip M. Adams Kernels, description tables and device drivers
US5323452A (en) * 1990-12-18 1994-06-21 Bell Communications Research, Inc. Visual programming of telephone network call processing logic
US5265239A (en) * 1991-04-08 1993-11-23 Ardolino Anthony A Method for remotely accessing service programs of a local processing system supporting multiple protocol stacks and multiple device drivers
US5317568A (en) * 1991-04-11 1994-05-31 Galileo International Partnership Method and apparatus for managing and facilitating communications in a distributed hetergeneous network
US5572675A (en) * 1991-05-29 1996-11-05 Alcatel N.V. Application program interface
JPH0563749A (en) * 1991-09-02 1993-03-12 Hitachi Ltd Multi-protocol communication controller
US5826017A (en) * 1992-02-10 1998-10-20 Lucent Technologies Apparatus and method for communicating data between elements of a distributed system using a general protocol
US5321744A (en) * 1992-09-29 1994-06-14 Excel, Inc. Programmable telecommunication switch for personal computer
US6134304A (en) * 1992-11-10 2000-10-17 Telefonaktiebolaget Lm Ericsson General analysis system
US6044407A (en) * 1992-11-13 2000-03-28 British Telecommunications Public Limited Company Interface for translating an information message from one protocol to another
GB2274230B (en) * 1993-01-07 1996-05-15 Digital Equipment Int Communication systems
US5537417A (en) * 1993-01-29 1996-07-16 International Business Machines Corporation Kernel socket structure for concurrent multiple protocol access
US5581738A (en) * 1993-06-07 1996-12-03 Xilinx, Inc. Method and apparatus for back-annotating timing constraints into simulation models of field programmable gate arrays
US5426694A (en) * 1993-10-08 1995-06-20 Excel, Inc. Telecommunication switch having programmable network protocols and communications services
US5414833A (en) * 1993-10-27 1995-05-09 International Business Machines Corporation Network security system and method using a parallel finite state machine adaptive active monitor and responder
US5555415A (en) * 1994-01-10 1996-09-10 Metasphere, Inc. Object oriented event message dispatching subsystem and method utilizing a disposition matrix
US5455827A (en) * 1994-02-23 1995-10-03 Harris Corporation Multi-processing and direct routing of signalling protocols in voice communication channels
NL9400682A (en) * 1994-04-28 1995-12-01 Nederland Ptt Methods for exchanging a message between systems comprising at least one information element, device for exchanging a message between systems comprising at least one information element, and system comprising this device.
US5627876A (en) * 1994-06-10 1997-05-06 Uniden America Corporation Call priority override in a land mobile radio system
US5668810A (en) * 1995-04-26 1997-09-16 Scientific-Atlanta, Inc. Data transmission protocol method and apparatus
US5638371A (en) * 1995-06-27 1997-06-10 Nec Usa, Inc. Multiservices medium access control protocol for wireless ATM system
US6028924A (en) * 1996-06-13 2000-02-22 Northern Telecom Limited Apparatus and method for controlling processing of a service call
US5872919A (en) * 1997-05-07 1999-02-16 Advanced Micro Devices, Inc. Computer communication network having a packet processor with an execution unit which is variably configured from a programmable state machine and logic

Also Published As

Publication number Publication date
AU1084497A (en) 1997-06-19
DE69623931T2 (en) 2003-05-28
US5826030A (en) 1998-10-20
JPH10513633A (en) 1998-12-22
DE69623931D1 (en) 2002-10-31
IL121434A (en) 2000-11-21
EP0807358A1 (en) 1997-11-19
AU718827B2 (en) 2000-04-20
US6119187A (en) 2000-09-12
US6311238B1 (en) 2001-10-30
ATE225110T1 (en) 2002-10-15
CA2211780A1 (en) 1997-06-05
KR19980701797A (en) 1998-06-25
WO1997020439A1 (en) 1997-06-05
US6134618A (en) 2000-10-17
IL121434A0 (en) 1998-01-04
EP0807358B1 (en) 2002-09-25
BR9606820A (en) 1997-12-30

Similar Documents

Publication Publication Date Title
CA2211780C (en) Telecommunications switch having a universal applications program interface for standardized interactive call processing communications
US6088749A (en) Universal API with generic call processing message having user-defined PPL event ID and generic response message for communications between telecommunications switch and host application
EP0724804B1 (en) Telecommunication switch having programmable network protocols and communications services
JP3007907B2 (en) A communication switching mechanism that provides programmable communication services
JP3067803B2 (en) Programmable communication switching processor for personal computer.
US5291479A (en) Modular user programmable telecommunications system with distributed processing
US6338130B1 (en) Adaptive method and apparatus for allocation of DSP resources in a communication system
US6594685B1 (en) Universal application programming interface having generic message format
US6920143B1 (en) Computer telephony system using multiple hardware platforms to provide telephony services
WO1999035568A2 (en) Isolation of resources from application in a process control system

Legal Events

Date Code Title Description
EEER Examination request
MKLA Lapsed