SYSTEM AND METHOD FOR PROVIDING CALL PROCESSING SERVICES USING CALL INDEPENDENT BUILDING BLOCKS

Abstract: A call logic program (30) is provided that is composed of individual call independent building blocks (10) and grouped call independent building blocks (20). Call independent building blocks (10) provide base functionality in a program and can be grouped and combined to form call logic program (30). Call logic program (30) is parsed upon initialization into a plurality of tokens (42) which are stored in a token collector (44). When needed, an interpreter (46) processes the token collector (44) to execute the call logic program (30).

Description: SYSTEM AND METHOD FOR PROVIDING CALL PROCESSING SERVICES USING CALL INDEPENDENT BUILDING BLOCKS TECHNICAL FIELD OF THE INVENTION The present invention relates to the field of telecommunication services and more particularly to a system and method for providing call processing services using call independent building blocks. BACKGROUND OF THE INVENTION In the modern telecommunication network a myriad of services and functions are offered both as conveniences to the end users and as necessities for running the network. These services require complex programming, representing thousands upon thousands lines of code. When a new service is required, programmers typically must start from scratch, writing many more lines of code. In traditional interpreted computer languages, a program is interpreted one line at a time upon execution. Depending on the length of the program, the complexity of the programming language and the ability of the interpreter, execution can be a time consuming process. What is needed is an architecture that provides a programmable software environment that allows fast implementation of new call processing services that are executed as fast and efficiently as possible. SUMMARY OF THE INVENTION From the foregoing, it may be appreciated that a need has arisen for a method and system for providing call processing services using call independent building blocks. In accordance with the present invention, call independent building blocks for service creation are provided which substantially eliminates or reduces disadvantages and problems associated with programming methods. In accordance with one embodiment of the present invention, a system for providing call processing services includes a call logic program having a plurality of call independent building blocks. Each of the call independent building blocks perform a specific function and are joined together to form the call logic program. A parser is also included. The parser parses the call independent building blocks in the call logic program into a plurality of tokens upon initiation of the call logic program. A token collector is provided to collect the tokens. An interpreter interprets the tokens in the token collector upon execution of the program. In accordance with another embodiment of the present invention, a call logic program for providing telephony services running on a computer with a processor and memory is provided which includes a plurality of call independent building blocks. Each call independent building block perform a specific task and are linked together to form the call logic program. An important technical advantage of the present invention includes the ability to reuse call independent building blocks in different programs, thus eliminating the need to rewrite programming code when a new service _is required. Another technical advantage of the present invention includes the ability to parse the call logic program ahead of time, before execution. This increases the performance of the call logic program. Other technical advantages are readily apparent to one skilled in the art from the following figures, descriptions and claims. BRIEF DESCRIPTION OF THE DRAWINGS For a more complete understanding of the present invention and for further features and advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which: FIGURE 1 is a block diagram representative of a call independent building block (CIBB) ; FIGURE 2 is a block diagram of grouped CIBBs; FIGURE 3 is a graphical representation of individual CIBBs which are chained together and chained to a group CIBB; FIGURE 4 is a graphical representation of a call logic program; FIGURE 5 is a diagram showing the execution of a call logic program; and FIGURE 6 is a flowchart of the execution of a call logic program. DETAILED DESCRIPTION OF THE INVENTION The preferred embodiment of the present invention and its advantages are best understood by referring to Figures 1-6 of the drawings, like numerals used for like and corresponding parts of the various drawings. FIGURE 1 is a block diagram representative of a call independent building block (CIBB) 10. CIBB 10 is a reusable software entity that is designed to create service features. CIBBs 10 are designed to provide the basic function from which higher level call processing functions can be built. CIBBs 10 can be thought of as building blocks. While an individual block may have a limited function, multiple blocks can be combined together to create a complete substructure or structure. CIBBs 10 are designed to be linked together in order to provide new services. Each CIBB 10 contains a basic function, with the entire collection of CIBBs 10 representing all the basic functions ever needed to develop call processing software. CIBBs 10 can also be grouped together to form new functions or even a complete call processing service. Additionally, CIBBs 10 are independent from any service they may be used to formulate, therefore, each CIBB 10 can be used multiple times within a particular call service or used in a new call service. In a particular embodiment, CIBBs 10 are objects in an object oriented programming language, such as C++. In FIGURE 1, CIBB 10 has a logic start 12. All CIBBs 10 have one logical starting point and one or more logical end points. Logic start 12 is the initialization or starting point for each CIBB 10. It sets the initialization conditions for each CIBB such as what specific information to receive and what response to generate. A service support data 14 is provided as an input. Service support data 14 is the input data required for a particular service. It can be information such as calling line identity, the called party, or any other input required for a specific service. Also provided as an input is a call instance data input 16. Call instance data input 16 is data inputs which are specific to a particular call, such as routing lists, the trunk group a call came in on or other inputs relating to a specific call. A call instance data output 18 is data outputs which are specific to a particular call, such as a route list. The call instance data output 18 from one CIBB 10 can be a call instance data input 16 for another CIBB 10. In this way, CIBBs 10 can be combined as a chain or group. The call instance data output 18 can also be the end result of a call processing service. FIGURE 2 is a block diagram of a grouped CIBBs 20. CIBBs 10 can be grouped together to form complete call logic programs or parts of call logic programs. For example, if a call logic program for billing a phone call is needed, individual CIBBs 10 may exist for metering the call, for writing the results to a file, or for any of the other parts a billing program needs. These individual CIBBs 10 can be grouped together to form group CIBB 20 for phone billing. Grouped CIBBs 20 can be reused in other applications, just like individual CIBBs 10. FIGURE 3 is a graphical representation of individual CIBBs 10 which are linked together and linked to a group CIBB 20 in order to form a new program or a new telephony service. Assuming that FIGURE 3 represents an 800 billing service, a first CIBB, CIBB1 22 receives a call. A second CIBB, CIBB2 24 screens the call to see if it is a valid 800 number. If not, CIBB3 26 returns an error message. If it is a valid 800 number, a grouped CIBB1 meters the call and determines the billing. A CIBB4 29 then writes the billing record to a specific location. The CIBB functionality discussed in this example is by way of example only and an actual CIBB 10 may not have the functionality described in this example. FIGURE 4 is a graphical representation of a call logic program (CLP) 30. Call logic program 30 is a complete call processing service or some part of a call processing service. In a given call processing service, one or more CLPs 30 may exist. A CLP 30 is a computer program with a list of computer instructions that, when carried out, executes the service. Each instruction or group of instruction can be represented as a CIBB 10. A CLP 30 may also include grouped CIBBs 20. FIGURE 5 is a diagram showing the execution of a call logic program 30. CLP 30 can be a complete program or call processing service. CLP 30 is passed through a parser 40. Parser 40 parses the code of CIBB 10 into one or more tokens 42. Tokens 42 are the minimal amount of information that can be processed by an interpreter. They are logical representations of the commands found in the CIBB 10 code. In C++, a keyword such as "virtual" might be considered as a token since it is the smallest element the compiler processes. In this case, the commands, keywords and variables used in each CIBB 10 are broken down into the smallest logical representation that can be processed by the interpreter. Tokens 42 are then collected in a token collector 44. Token collector 44 stores tokens 42 in any logical fashion, whether it is first in/last out, last in/first/out or some other way of storing tokens. These steps are completed when the program initiates and token collectors 44 are stored for later use during call logic program execution. When token collector 44 is accessed, tokens 42 are interpreted and executed by an interpreter 46. FIGURE 6 is a flowchart of the execution of a call logic program 30. In step 50, the call logic program is initiated. The program can consist of one CLP 30 or several CLPs 30 operating together. Additional CLP 30 can be comprised of one or more CIBBs 10 or grouped CIBBs 20, or CLP 30 itself may be a grouped CIBB 20. After initiation, CLP 30 is parsed into a plurality of tokens 42 in step 52. Tokens 42 are then stored in a token collector 44 in step 54. Tokens 42 represent the minimal amount of information that can be processed. In step 56, token collector 44 awaits interpretation. The process of parsing prior to use is known as advanced parsing. It is faster than simply interpreting CLP 30 when needed. Step 58 determines if the token collector 44 needs to be accessed. If so, tokens 42 are interpreted in step 60. The program executes its function in step 62. Thus, it is apparent that there has been provided, in accordance with the present invention, call independent building blocks for service creation that satisfies the advantages set forth above. Although the preferred embodiment has been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims .

Claims: WHAT IS CLAIMED IS: 1. A call logic program for providing telephony services running on a computer with a processor and memory, comprising: a plurality of call independent building blocks wherein each call independent building block are operable to perform a specific task and are linked together to form the call logic program. 2. The call logic program of Claim 1, wherein the call independent building blocks can be joined to form grouped call independent building blocks, the grouped call independent building blocks operable to perform a new function. 3. The call logic program of Claim 1, wherein the call independent building blocks and the grouped call independent building blocks are combined to form a specific service. 4. The call logic program of Claim 1, wherein the call logic program is parsed into a plurality of tokens upon initialization. 5. The call logic program of Claim 4, wherein the plurality of tokens are stored in a token collector, awaiting execution. 6. The call logic program of Claim 5, wherein the token collector is executed by an interpreter. 7. A method for providing telephony service comprising: providing a plurality of call independent building blocks, each call independent building blocks operable to perform a specific task; linking the plurality of call independent building blocks together to provide a call logic program; parsing the call logic program into a plurality of tokens upon initialization; and storing the plurality of tokens in a token collector awaiting execution. 8. The method of Claim 7, wherein the step of providing a plurality of call independent building blocks further comprises the step of forming grouped call independent building blocks from the plurality of call independent building blocks. 9. The method of Claim 7, further comprising the step of interpreting the tokens in the token collector upon execution. 10. The method of Claim 7, wherein the call independent building blocks are reusable in other applications. 11. A system for providing call processing services comprising: a call logic program having a plurality of call independent building blocks, each of the call independent building blocks operable to perform a specific function; a parser operable to parse the call independent building blocks into a plurality of tokens upon initiation of the call logic program; a token collector operable to collect the tokens; and an interpreter operable to interpret the token collector when required. 12. The system of Claim 10, wherein the call independent building blocks include: a logic start; a service input, operable to provide inputs related to providing a service; a call instance data input, operable to provide call specific inputs; and a call instance data output, operable to output call specific data. 13. The system of Claim 10, wherein the call independent building blocks are operable to be combined to form a grouped call independent building block, the grouped call independent building having a specific functionality. 14. The system of Claim 10, wherein the token collector is operable to hold the plurality of tokens until needed.

Inventors: KASRAI SHAHROOZ S, PULLEN STEVE M, SINGH NAVDEEP G, KASRAI, SHAHROOZ, S., PULLEN, STEVE, M., SINGH, NAVDEEP, G.
Applicants: ALCATEL USA SOURCING LP, ALCATEL USA SOURCING, L.P.
Application year: 1998
Main classification: H04L12
IPC codes: H04Q3