EP0572439A4 - - Google Patents

Info

Publication number
EP0572439A4
EP0572439A4 EP19920903837 EP92903837A EP0572439A4 EP 0572439 A4 EP0572439 A4 EP 0572439A4 EP 19920903837 EP19920903837 EP 19920903837 EP 92903837 A EP92903837 A EP 92903837A EP 0572439 A4 EP0572439 A4 EP 0572439A4
Authority
EP
European Patent Office
Prior art keywords
graph
node
call
module
ccpi
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.)
Withdrawn
Application number
EP19920903837
Other languages
French (fr)
Other versions
EP0572439A1 (en
Inventor
David Leveau Babson, Iii
James Andrew Bajzath, Jr.
Thomas Chambers Ely
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.)
Iconectiv LLC
Original Assignee
Bell Communications Research Inc
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
Priority claimed from US07/629,389 external-priority patent/US5241580A/en
Priority claimed from US07/629,447 external-priority patent/US5315646A/en
Priority claimed from US07/629,371 external-priority patent/US5241588A/en
Application filed by Bell Communications Research Inc filed Critical Bell Communications Research Inc
Publication of EP0572439A1 publication Critical patent/EP0572439A1/en
Publication of EP0572439A4 publication Critical patent/EP0572439A4/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42136Administration or customisation of services
    • H04M3/42144Administration or customisation of services by service provider
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0029Provisions for intelligent networking
    • H04Q3/0033Provisions for intelligent networking customer-controlled
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/428Arrangements for placing incoming calls on hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/436Arrangements for screening incoming calls, i.e. evaluating the characteristics of a call before deciding whether to answer it
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/135Service creation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13501Feature interactions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13503Indexing scheme relating to selecting arrangements in general and for multiplex systems object-oriented systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13525GUI - graphical user interface, inc. for service creation

Definitions

  • the present invention relates generally to the field of providing customized services, and more specifically to the problem of providing customized telephone services.
  • Telephone functions are presently provided to a customer by allowing that customer to select desired functions from a limited number of available services. This approach, which has been called programming a service, may leave many customers without desired functionality. For example, a customer who wants call waiting, but in a form slightly different from what is made generally available, may be told that his simple requests cannot be met.
  • adding a new service to existing services creates significant problems due to possible interaction between the new and existing services. This creates additional obstacles to implementing new telephone services. For example, it is very possible that adding a new service, such as call waiting, may be incompatible in certain circumstances with an existing service, such as call transfer on busy. The usual solution to such interaction problems is to prevent both services from being used by the customer simultaneously. This, of course, limits the power of the new service.
  • PCT International Application Number PCT/U.S. 84/01610 teaches a method for defining an individual service for an individual customer.
  • a telephone service is / performed by a customer program which a customer defines using conventional program sequences.
  • the program may be executed on the customer's host computer external to the telephone network when a call is processed.
  • this method permits a new individual customer service to be configured without modifying the telephone network switching system software, the applicability of such a method is extremely limited. For example, this method cannot implement a new service on a network wide basis because each service is specific to the customer who designed it. This method also requires every customer who uses the service to have an individual host computer external to the telephone system.
  • designing a service requires a computer programmer to write program sequences to define the service, and a programer must make changes to the program sequences to modify the service.
  • Another desirable feature for such a system would be a mechanism for designing multi-function, single services easily and without need for knowledge of the underlying sys ⁇ tem. Yet another desirable feature would be easy transportability of the system, or of parts of the system, to other machines or devices.
  • a data processing system for designing procedure to direct a telephone network to provide requested services to a customer of the network preferably comprises display terminal for displaying a visual representation of the procedure; and a control device, coupled to the display terminal, for causing the display terminal to display the visual representation based upon multilevel data, the multilevel data including a graphical representation level containing display information for the visual representation a data structure level containing data, organized in data structures, which correspond to the display information; and a code level to implement the requested services, the code level corresponding to the data in the data structures.
  • this invention provides a method of storing a procedure in a data processin system to direct a telephone network to provide requested services to a customer of the network.
  • this method comprises the steps of: storing, in a graphical representation level, display information for the visual representation of the procedure; storing, in a data structur level, data organized in data structures, which correspond t the display information; and storing, in a code level, executable code to implement the requested services, the executable code corresponding to the data in the data structures.
  • Fig. 1 is an example of a "graph" customer interface
  • Fig. 2 is an example of a "form" customer interface
  • Fig. 3 is a functional block diagram of the advanced intelligent network
  • Fig. 4A is a functional block diagram of a service management system in accordance with one embodiment of the present invention
  • Fig. 4B is a functional block diagram of a service control point in accordance with one embodiment of the present invention.
  • Fig. 4C is a functional block diagram of a service control point in accordance with another embodiment of the present invention.
  • Fig. 4D is a functional block diagram of a personal computer in accordance with one embodiment of the present invention.
  • Fig. 5 is a schematic representation of three software levels corresponding to three representations of services in accordance with one embodiment of the present invention
  • Fig. 6A is a schematic representation of program modules corresponding to an internal data structure of services in accordance with one embodiment of the present invention
  • Fig. 6B is a schematic representation of program modules corresponding to an binary representation of services in accordance with one embodiment of the present invention.
  • Fig. 6C is a schematic representation of program modules corresponding to a displayed representation of services in "graph” form in accordance with one embodiment of the present invention.
  • Fig. 6D is a schematic representation of program modules corresponding to a displayed representation of services in "form" form in accordance with one embodiment of the present invention.
  • Fig. 7 illustrates a MAIN operator interface window in accordance with one embodiment of the present invention
  • Fig. 8 illustrates a MAIN operator interface window, as well as the options for the MAIN menu selection in accordance with one embodiment of the present invention
  • Fig. 9 illustrates a system variables dialog box in accordance with one embodiment of the present invention
  • Fig. 10 illustrates a Tcap messages dialog box in accordance with one embodiment of the present invention
  • Fig. 11 illustrates a MAIN operator interface window, as well as the options for the DATABASE menu selection in accordance with one embodiment of the present invention
  • Fig. 12 illustrates a MAIN operator interface window, as well as the options for the TEMPLATE menu selection in accordance with one embodiment of the present invention
  • Fig. 13 illustrates a MAIN operator interface window, as well as the options for the OPTIONS menu selection in accordance with one embodiment of the present invention
  • Fig. 14 illustrates a MAIN operator interface window, as well as the options for the LIBRARY menu selection in accordance with one embodiment of the present invention
  • Fig. 15 illustrates a graph edit pad interface window in accordance with one embodiment of the present invention
  • Fig. 16 illustrates a graph edit pad interface window, as well as the options corresponding to the GRAPH menu selection in accordance with one embodiment of the present invention
  • Fig. 17 illustrates an Open New graph dialog box in accordance with one embodiment of the present invention
  • Fig. 18 illustrates an Open graph dialog box in accordance with one embodiment of the present invention
  • Fig. 19 illustrates a Save As dialog box in accordance with one embodiment of the present invention
  • Fig. 20 illustrates a Warning dialog box in accordance with one embodiment of the present invention
  • Fig. 21 illustrates an Add Node dialog box in accordance with one embodiment of the present invention
  • Fig. 22 illustrates an Enter LATA dialog box in accordance with one embodiment of the present invention
  • Fig. 23 illustrates an Edit Carrier dialog box in accordance with one embodiment of the present invention
  • Fig. 24 illustrates a graph edit pad interface window, as well as the options corresponding to the EDIT menu selection in accordance with one embodiment of the present invention
  • Fig. 25 illustrates the graph edit pad interface window, as well as the options corresponding to the VARIABLE menu selection in accordance with one embodiment of the present invention
  • Fig. 26 illustrates a Call Variables dialog box in accordance with one embodiment of the present invention
  • Fig. 27 illustrates a Graph Variables dialog box in accordance with one embodiment of the present invention
  • Fig. 28 illustrates a Graph Variables dialog box in accordance with another embodiment of the present invention
  • Fig. 29 illustrates a graph edit pad interface window, as well as the options corresponding to the OPTION menu selection in accordance with one embodiment of the present invention
  • Fig. 30 illustrates a graph edit pad interface window, as well as the options corresponding to the EXECUTE menu selection in accordance with one embodiment of the present invention
  • Fig. 31 illustrates a graph edit pad interface window, as well as the options corresponding to the VALIDATE menu selection in accordance with one embodiment of the present invention
  • Fig. 32 illustrates a graph edit pad interface window, as well as the options corresponding to the INTERFACE menu selection in accordance with one embodiment of the present invention
  • Fig. 33 is a flow diagram of the operation of a service creation portion to initiate creation of a new graph in accordance with one embodiment of the present invention
  • Fig. 34 illustrates an example of a graph using a TIME node in accordance with one embodiment of the present invention
  • Fig. 35 illustrates an example of a graph using a DLN node in accordance with one embodiment of the present invention
  • Fig. 36 illustrates an example of a graph using a PERCENT node in accordance with one embodiment of the present invention
  • Fig. 37 illustrates an example of a graph using a DAY node in accordance with one embodiment of the present invention
  • Fig. 38 illustrates an example of a graph using an ANI node in accordance with one embodiment of the present invention
  • Fig. 39A illustrates an example of a graph using a NET node in accordance with one embodiment of the present invention
  • Fig. 39B illustrates an example of a graph using a NET node in accordance with another embodiment of the present invention.
  • Fig. 40 illustrates an example of a graph using a DATE node in accordance with one embodiment of the present invention
  • Fig. 41 illustrates an example of a graph using a LATA node in accordance with one embodiment of the present invention
  • Fig. 42 illustrates an example of a graph using a RESULT node in accordance with one embodiment of the present invention
  • Fig. 43 illustrates an example of a graph using a ROUTING NUMBER node in accordance with one embodiment of the present invention
  • Fig. 44 illustrates an example of a graph using a CARRIER node in accordance with one embodiment of the present invention
  • Fig. 45 illustrates an example of a graph using a GET10DIGITS node in accordance with one embodiment of the present invention
  • Fig. 46 illustrates an example of a graph using a STORE node in accordance with one embodiment of the present invention
  • Fig. 47 illustrates an example of a graph using a PROCEDURE node in accordance with one embodiment of the present invention
  • Fig. 48A illustrates a DECISION node template dialog box in accordance with one embodiment of the present invention
  • Fig. 48B illustrates a DECISION node template dialog box in accordance with another embodiment of the present invention
  • Fig. 49A illustrates an ASSIGNMENT node template dialog box in accordance with one embodiment of the present invention
  • Fig. 49B illustrates an ASSIGNMENT node template dialog box in accordance with another embodiment of the present invention
  • Fig. 50A illustrates a PROCEDURE node template dialog box in accordance with one embodiment of the present invention
  • Fig. 50B illustrates a PROCEDURE node template dialog box in accordance with another embodiment of the present invention
  • Fig. 51A illustrates a CONVERSATIONAL node template dialog box in accordance with one embodiment of the present invention
  • Fig. 51B illustrates a CONVERSATIONAL node template dialog box in accordance with another embodiment of the present invention
  • Fig. 52 is a flow diagram illustrating a general edit operating procedure performed by a service creation portion to build a graph after a graph has been initiated, in accordance with one embodiment of the present invention
  • Fig. 53 is a flow diagram illustrating an operation of a service creation portion for adding a node to a graph in accordance with one embodiment of the present invention.
  • Fig. 54 is a flow diagram illustrating an operation of a service creation portion for adding a branch to a graph in accordance with one embodiment of the present invention
  • Fig. 55 is a flow diagram illustrating an operation of a service creation portion for editing a value in a graph in accordance with one embodiment of the present invention
  • Fig. 56 is a flow diagram illustrating an operation of a service creation portion for connecting one node in a graph to another node in a graph in accordance with one embodiment of the present invention
  • Fig. 57 is a flow diagram illustrating an operation of a service creation portion to hide a portion of a displayed graph in accordance with one embodiment of the present invention
  • Fig. 58 is a flow diagram illustrating an operation of a service creation portion to delete a predetermined portion of a graph in accordance with one embodiment of the present invention
  • Fig. 59 is a flow diagram illustrating an operation of a service creation portion to delete a node from a graph in accordance with one embodiment of the present invention
  • Fig. 60 is a flow diagram illustrating an operation of a service creation portion to open an existing stored graph in accordance with one embodiment of the present invention
  • Fig. 61 is a flow diagram illustrating an operation of a service creation portion to save a graph to a database in accordance with one embodiment of the present invention
  • Fig. 62 is a functional block diagram of a call processing portion in accordance with one embodiment of the present invention
  • Figs. 63A and 63B are flow diagrams of a call processing operation of a COMMUNICATE module in accordance with one embodiment of the present invention
  • Figs. 64A and 64B are flow diagrams illustrating a call processing operation of a MESSAGE HANDLER module in accordance with one embodiment of the present invention
  • Fig. 65 is a functional block diagram of a call context in accordance with one embodiment of the present invention
  • Fig. 66 is a functional block diagram of a call state in accordance with one embodiment of the present invention
  • Fig. 67 is a flow diagram of a call processing operation performed by a CALL CONTEXT module in accordance with one embodiment of the present invention
  • Figs. 68A and 68B are flow diagrams illustrating a call processing operation to provide visual indications of an execution of a service as performed by a CALL CONTEXT module in accordance with one embodiment of the present invention
  • Fig. 69 is a flow diagram illustrating an operation for setting "global,” “step” and “trace” flags in accordance with one embodiment of the present invention.
  • Fig. 70 is a flow diagram illustrating an operation to provide a visual indication of an execution path taken during enhanced call processing at a remote call processing environment, in accordance with one embodiment of the present invention
  • Fig. 71 illustrates a dialog box for selecting services for visual indication in accordance with one embodiment of the present invention
  • Fig. 72 is a flow diagram illustrating an operation of an expert system in accordance with one embodiment of the present invention.
  • the present invention overcomes the disadvantages of conventional systems by providing to telephone services service programs customized to the desires of individual customers requesting individualized functionality.
  • customer refers to the entity for which a service is provided
  • user or “operator” refers to the person using the system to create, test or modify the service.
  • the user and customer may be the same, but they need not be.
  • the following description focuses on telephone services, the invention has broader uses and is not necessarily limited to telephone services in all instances.
  • the preferred embodiment of the present invention includes a customized services (“CS") application to create and, in certain circumstances, execute each customer's service procedure or program.
  • CS customized services
  • Each customer's service program is stored as a record or a series of records of customized call processing information (CCPI) in a database.
  • CCPI customized call processing information
  • the CS application preferably includes a programming interface which permits an operator to use the CS application to create various user interfaces to obtain information, directly or indirectly, in a manner which is relatively easy to use.
  • the information is used to generate the CCPI records automatically.
  • User interfaces can be tailored to the skill level of an operator, which can be the customer, using the CS application to create customers service programs, to the specific service to be provided, or to the specific hardware on which the service will be created, such as bit map graphics, terminal displays or DTMF telephones.
  • Fig. 1 illustrates an example of a customer interface, shown as a graph 5, providing a graphical representation of CCPI record created on a graphics workstation display.
  • the CCPI record corresponding to this graph provides a service for a customer identified via a "key” in rectangle 6.
  • the specific service provided by the CCPI record for graph 5 is the screening of calls from the telephone having the phone number (201) 699-2911. The details of how a CCPI record provides such a service to various phone numbers having a "976" extension will be explained in detail below.
  • Fig. 1 the programming interface of the CS application has been used to provide a graphic user interfac to allow construction of graph 5.
  • the present invention is not limited only to implementations requiring a graphic user interface. If, for example, the interface used to build graph 5 is too resource intensive to allow efficien preparation of similar graphs for every subscriber, an alternative interface can be selected.
  • Fig. 2 shows a form user interface 8 which can be used to provide the same "976" call screening service as graph 5 does.
  • Form interface 8 requires a customer or operator to insert only a small amount of information, and thus requires less time and skill than creating graph 5.
  • the programming interface for providing "976" form interface automatically translates the information input by the operator into a CCPI record corresponding to the desired service. Using a different user interface, an operator can display this same CCPI record or records in a different form.
  • the CCPI record or records corresponding to a service are created in a creation environment of the CS application and are executed during call processing in a call processing environment of the CS application.
  • call processing refers to the acts of responding to a message or query from a switch or switch simulator.
  • a switch is a piece of telephone equipment which receives and routes telephone calls.
  • CCPI records may be executed in either the creation environment or the call processing environment.
  • the present invention is implemented in the advanced intelligent network (AIN) .
  • Fig. 3 is a block diagram of the AIN.
  • the AIN comprises ASC AIN 15 switching capabilities switch ("ASC switch") 12, adjunct 14, service node (SN) 16, service control point (SCP) 18 and service management system (SMS) 20.
  • ASC switch switching capabilities switch
  • SN service node
  • SCP service control point
  • SMS service management system
  • the present invention can also be implemented on a personal computer (PC) 22 connected to SMS 20, SCP 18, adjunct 14, or SN 16 via modems -20 24.
  • PC personal computer
  • the CS application can be executed on SMS 20, SCP 18, adjunct 14, SN 16 or PC 22.
  • the functionality of the CS application may 25 differ depending upon which component executes the CS application.
  • the CS application provides for both the creation of a CCPI record (service creation) through an operator interface, and 30 for the execution of CCPI records during call processing.
  • the CS application can provide only the creation or the execution of CCPI records.
  • Figs. 4A-4D illustrate different network elements which can execute the CS applications.
  • 5 Fig. 4A is a functional block diagram of SMS 20.
  • SMS 20 comprises CPU 40, database 42, operator interface 44 and CS application 46.
  • Operator interface 44 preferably comprises display 48, keyboard 50 and mouse 52, each connected to CPU 40.
  • CS application 46 includes service creation portion 54 and call processing portion 56.
  • a CCPI record can be created at SMS 20 via operator interface 44 an can also be used by SMS 20 to process calls input to CPU 40 via any number of sources such as a network switch simulator or a dedicated testing switch (not shown).
  • CS application 46 could contain only service creation portion 54 for creating a CCPI record at SMS 20.
  • a CCPI record created at SMS 20 would be transferred to SCP 18 (Fig. 4B) for execution during real time call processing.
  • CS application 46 in Fig. 4A may comprise only call processing portion 56 for processing call in a simulated environment using CCPI records created elsewhere and stored in database 42.
  • SMS 20 would only be used for testing, not service creation.
  • call processing portion 56 provided in SMS 20 is preferably an enhanced version which permits a visual indication of the execution of a CCPI record on a graph displayed to an operator.
  • Fig. 4B is a preferred embodiment of a functional bloc diagram implementing CS application 46 in SCP 18.
  • SCP 18 comprises CPU 58, database 60, and CS application 46.
  • CS application 46 comprises only call processing portion 56. This is because SCP 18 typically provides no operator interface 44 (Fig. 4A), therefore, creation of a CCPI record is not usually performed at SCP 18. if, as in Fig. 4C, operator interface 44 is provided a SCP 18, CS application 46 may include service creation portion 54 to permit creation of a CCPI record at SCP 18.
  • call processing portion 56 processes messages provided by ASC switch 12 (Fig. 2) by executing the CCPI records stored in database 60.
  • call processing portion 56 would be an enhanced version of call processing portion 56 to permit a visual indication of the execution of the CCPI record at SCP 18.
  • a visual indication of the execution of the CCPI record can be transferred to another environment which provides operator interface 44 and service creation portion 54 for displaying the execution path of a CCPI record on the graph corresponding to the CCPI record.
  • Implementation of CS application 46 in either adjunct 14 or SN 16 is provided in a manner similar to implementation of CS application 46 in SCP 18.
  • CS application 46 in PC 22 preferably includes service creation portion 54 and call processing portion 56.
  • CS application 46 may include either service creation portion 54 or call processing portion 56 to perform either of the associated functions, with the functions which are not being performed being provided in an alternative environment.
  • Call processing portion 56 may be an enhanced version to permit a visual indication of the execution of a CCPI record as PC 22.
  • the displayed representation of a CCPI record is extremely useful in that it permits an operator or a customer to customize, create and understand the desired telephone service.
  • the displayed representation is merely an aid to the understanding of the design of the corresponding service; however, the displayed representation cannot be interpreted directly by the call processing environment.
  • the displayed representation of the CCPI record must therefore be translated into a binary representation which can be stored and used to process calls in a call processing environment.
  • the displayed representation of the CCPI record is first translated into an internal representation comprising data structures and pointers representing the CCPI record. and eventually into the binary representation.
  • Fig. 5 shows this schematically.
  • Software 51 has three levels corresponding to three representations of the CCPI record.
  • Display level 53 is used to provide the displayed representation of a CCPI record, such as that shown in Figs. 1 and 2.
  • Level 53 preferably contains two sublevels: sublevel 55 and level 57.
  • Sublevel 55 is used to form the actual display for the corresponding display terminal.
  • Sublevel 57 contains information on "objects" used to form the displayed representation. For example, in the display shown in Fig. 1, the objects may refer to the diamonds and rectangles used to form graph 5.
  • the division of level 53 into sublevels aids in porting software 51 to different platforms.
  • the software at level 53 is written in the IBM C-2 1.1. language, designed according to an object-oriented design methodology.
  • Data structure level 59 contains an internal representation of the service preferably stored in data structures. Details of the data structures are not necessary to the understanding of this invention, however, it should be noted that the software at level 59 is less machine dependent than that at level 53 because the software at level 59 can be used with many different types of displays, e.g., forme or graphs, and many different types of hardware.
  • the actual binary representation of the service is at binary code level 61.
  • Level 61 is the only representation stored for execution in the preferred embodiment.
  • the binary representation is the most machine independent.
  • modules corresponding to the binary representation of the CCPI record translate the internal graphical representation of the CCPI record into the binary representation of the CCPI record.
  • Each representation of a CCPI record is manipulated by a set of modules in the software.
  • a "module" consists of a set of subroutines which are used to manipulate some physical or conceptual object.
  • a set of modules is associated with each representation of a CCPI record.
  • the set of modules associated with the binary representation of a CCPI record (level 61 in Fig. 5) is responsible for storing and retrieving the CCPI record to and from the database. This set of modules also executes the instructions of the CCPI record.
  • a set of modules associated with the internal data structure representation of a CCPI record (level 59 in Fig. 5) is responsible for manipulating the instructions and structure of the CCPI record. These modules are also responsible for translating the binary representation of level 61 into the internal data structure representation of level 59.
  • a set of modules associated with the displayed representation of the CCPI record (level 53 in Fig. 5) is responsible for translating the internal data structure representation into the displayed representation and presenting and collecting information to and from an operator.
  • These modules would generally be written by an individual (such as a programmer) and use the programming interface (i.e., the interface between levels 53 and 59) of the modules corresponding to the internal data structure representation of the CCPI record to create new interfaces for customer services.
  • Level Fig. 6A shows the preferred modules for level 59.
  • GRAPH module 62 organizes and maintains a set of nodes in a graph. Important operations of this module include translating the internal data structure representation into the binary representation and visa versa, as well as adding and deleting nodes from the graph in the internal data structure representation.
  • NODE module 64 manages a single CCPI record instruction, and modifies the parameters of a node.
  • BRANCH module 66 manages each branch of a DECISION node. DECISION nodes are explained in greater detail below. Included in each BRANCH module 66 is BRANCH VALUE module 68. BRANCH VALUE module 68 manages every value in each branch of a DECISION node.
  • GRAPH AND NODE CONTROL module 70 represents a higher level abstraction of nodes and graphs, and provides mechanisms for adding, editing and deleting nodes from a graph.
  • TEMPLATE module 72 provides a template for creating new nodes. TEMPLATE module 72 evaluates a template to determine what information is needed to create a node, and to generate a node once the information is complete.
  • LABEL module 74 provides the mechanisms for parsing and generating string objects.
  • EXPERT module 76 manages an expert system, translates the internal data structure representation of a CCPI record into schemas used by an expert system (explained below), and helps evaluate responses received from the expert system.
  • Fig. 6B shows the preferred modules for level 61 shown in Fig. 5.
  • GRAPH BUFFER module 78 manages the binary representation of the CCPI records as shown in Fig. 5. GRAPH BUFFER module 78 also orchestrates the execution of the CCPI records.
  • NODE BUFFER module 80 manages the binary representation of a single instruction in a CCPI record.
  • KEY module 82 manages the data structures that stores "keys" for the CCPI records. Keys are used to access the records directly. Important operations include comparing the records to externally provided keys.
  • COMMUNICATION module 84 manages communication ports which transfer query messages and CCPI records between AIN network elements. COMMUNICATION module 84 facilitates reading from and writing to the ports.
  • MESSAGE HANDLER module 86 represents a device for passing messages into and out of call processing routines. In particular, MESSAGE HANDLER modules 86 converts messages into call contexts and converts call contexts into messages. Call contexts are the data structures for managing the calls.
  • CALL CONTEXT module 88 manages the execution of CCPI records. Included in CALL CONTEXT module 88 is CALL STATE module 90 which manages the information associated with each CCPI record being executed during call processing.
  • VARIABLE module 92 manages call variables associated with the execution of a CCPI record.
  • STACK module 94 provides conventional stack functions, such as push and pop operations.
  • LINK module 96 provides conventional linked list functions.
  • DATABASE module 98 manages a database, and provides mechanisms for reading, writing, opening, closing and updating a database.
  • MAIL module 100 sends and retrieves CCPI records between the AIN network elements identified in Fig. 3.
  • the sending and receiving of records preferably uses conventional data transfer techniques.
  • modules corresponding to the displayed representation of CCPI records will generally be written by an individual (such as a programmer) and use the programming interface of the modules corresponding to the internal representation of the CCPI records to create new services. These modules generate the displayed interface on the display screen and present information to and collect information from an operator creating a new service.
  • Fig. 6C illustrates a preferred set of modules corresponding to the displayed representation of a CCPI record for providing the flow chart styled interface ("graph interface") such as graph 5 shown in Fig. 1.
  • Fig. 6D illustrates a preferred set of modules corresponding to the displayed representation a CCPI record for providing a form interface such as the "976" call screening form interface shown in Fig. 2.
  • the modules are preferably divided to correspond to an applied displayed representation of the CCPI record and an abstract displayed representation of the CCPI record.
  • An applied displayed representation is the visual image displayed on the screen, while the abstract displayed representation defines the images to be displayed and coordinates them onto an abstract plane.
  • the modules corresponding to the applied displayed representation of a CCPI record are identical for both the graph interface and the form interface.
  • SCREEN module 102 draws the displayed interface onto the screen and clears the screen.
  • DIALOG module 104 manages the dialog boxes which can be displayed to the operator. Important operations for this module include clearing, presenting and retrieving information from the operator via dialog boxes.
  • CONTROL module 106 manages the state of the interface, including mouse clicks and menu selections made by the operator.
  • the CONTROL module also handles events generated from external communication ports.
  • WINDOW TABLE module 108 manages information about each graph editing pad window, including which windows are open or closed and which CCPI records are displayed in which windows. Important operations for this module include correlating a call context with a window and setting and storing parameters for each graph editing pad window.
  • Fig. 6C illustrates the OBJECT TABLE module 110 and OBJECT module 112.
  • OBJECT TABLE module 110 manages the collection of objects used in the abstract displayed representation of a CCPI record. Important operations of the OBJECT TABLE module 110 include translating the internal data structure representation into the abstract displayed representation, and adding an object to, as well as deleting an object from, an object table (not shown).
  • OBJECT module 112 manages information corresponding to an object or figure to be drawn on a display screen. OBJECT module 112 sets parameters, such as location, size and shape for each object or figure to be drawn on the screen.
  • Fig. 6D illustrates a preferred module corresponding to the abstract displayed representation of a CCPI record for providing a form interface, such as the "976" call screening interface shown in Fig. 2.
  • PROVISION module 114 translates the internal data structure representation of a CCPI record into an abstract representation corresponding to the form interface, and interfaces with the program interface at the modules corresponding to the internal data structure of a CCPI record to provide for the form interface.
  • module 114 may be included in with the graph interface modules of Fig. 6C .
  • CCPI records This would allow CCPI records to be displayed as either the "976" call screening form shown in Fig. 2, or the graph corresponding to this service shown in Fig. 1.
  • each display interface creates and displays a set of CCPI records. This set corresponds to a service concept which the interface is designed to support. If a CCPI record is created by one interface and falls within the set of CCPI records that can be created by a different interface, that CCPI records can be displayed by both interfaces.
  • rectangle 6 contains the "name” or "key” fo graph 5. This "key” identifies whether the graph controls calls made from the phone number identified in the rectangle 6 (identified by the ".e04" suffix) or calls being made to the phone number identified in rectangle 6 (identified by th " .e05 suffix) .
  • the remainder of graph 5 comprises a plurality of node 25, decision boxes 30, and branches (not labelled) between the nodes 25 and decision boxes 30.
  • Each node 25 represents a high level instruction in the CCPI record corresponding to the graph.
  • Decision boxes 30 correspond to decision nodes (nodes 25a and 25i) and identify alternative execution paths depending on the result provided by the corresponding decision node.
  • Graph 5 corresponds to a CCPI record used to call process a phone call being made from phone number (201) 699- 2911.
  • the CCPI record corresponding to graph 5 screens from the phone number (201) 699-2911 all calls which the customer does not wish to be completed. For example, telephone calls made to the phone number "976-1212" are routed between the hours of 7:00 p.m. to 9:00 p.m., as are any phone calls made to the number "976-1234" during the hours of 6:00 p.m. to 8:00 a.m. and any phone calls made to the number "976-1224" at any time. Calls to any other number with the "976" exchange, calls to "976-1234" between 8:00 a.m.
  • decision node 25a checks the NXX (i.e., fourth, fifth and sixth digits of the phone number)(the exchange).
  • Decision boxes 30a and 30b identify the two decision possibilities which require separate attention. If the call is not a "976" exchange (other) the call is routed by node 25b.
  • node 25c checks the last four digits (the extension) at node 25c. If the last four digits are "1212" (decision box 30c) node 251 checks the time of day. If the call is placed between the hours of 7:00 p.m. and 9:00 p.m., the call is routed (decision box 30g and node 25d) .
  • node 25i checks the time. If the call is being placed between the hours of 8:00 a.m. and 6:00 p.m. (decision box 30i), the PIN operation is again performed beginning at node 25e. This is illustrated in Fig. 1 by the circle 26a which contains a numeral 1. Note that the PIN node 25e has a "number 1:" next to it. This indicates that the graph continues execution starting with that node. If the call is being placed at any other time of day (decision box 30j), the call is routed by node 25j. If the last four digits of the phone number being called are "1224" (decision box 30e), the call is routed by node 25k.
  • Fig. 7 represents operator interface window 120.
  • Main window 120 comprises a menu bar 122 identifying seven menus: MAIN, DATABASE, TEMPLATE, DATA, OPTIONS, LIBRARY and EXIT. An operator "clicks" on any of the menu options to select a desired menu.
  • the "remote" window 121 shown inside 120 is optional and will be described in detail below.
  • Fig. 8 is a display of the main operator interface window 120 showing the options 124 for the MAIN menu. These options include: GRAPH EDIT PAD, SYSTEM VARIABLES, TCAP MESSAGES, MAIL MESSAGES and SWITCH SIMULATOR.
  • GRAPH EDIT PAD opens a GRAPH EDIT PAD window which is used to create, edit and save graphs.
  • the SYSTEM VARIABLES option opens a system variable window, as shown in Fig. 9, which displays the call variables of the operating environment, such as time, day and date. From this window, the operator can change the values of the system call variables.
  • the TCAP MESSAGE option opens the TCAP MESSAGE window as shown in Fig. 10. This window displays the query messages from a switch or switch simulator, not shown in Fig. 10.
  • the MAIL MESSAGES option opens a MAIL MESSAGE window (similar to the TCAP message window, therefore, not shown) which displays the messages associated with the exchange of CCPI records to other devices in the AIN network.
  • the SWITCH SIMULATOR option opens a SWITCH SIMULATOR window (not shown) so that the operator can generate queries into the application for testing CCPI records.
  • Figure 11 is a display of the main interface window 120 showing the options 126 for the DATABASE menu. These options include: NEW, OPEN, COPY and DELETE.
  • the NEW option displays a dialog box to prompt the operator for a database name and creates the new database.
  • the OPEN option displays a dialog box to prompt the operator for a database name to open an existing database.
  • the COPY option displays a dialog box to prompt the operator for two database names and copies the first database into the second database.
  • the DELETE option displays a dialog box to prompt the operator for a database name to delete that database.
  • Figure 12 is a display of the main interface window 120 showing the options 128 to the TEMPLATE menu. These options include: NEW DECISION, NEW ASSIGNMENT, NEW CONVERSATION, NEW PROCEDURE, EDIT and DELETE. Templates, as explained below in greater detail, are used to create graph elements, called nodes, which the system does not record as standard.
  • the NEW DECISION option displays a dialog box for the operator to create a NEW DECISION node template.
  • the NEW ASSIGNMENT option displays a dialog box for the operator to create a NEW ASSIGNMENT node template.
  • the NEW CONVERSATION option displays a dialog box for the operator to create a NEW CONVERSATION node template.
  • the NEW PROCEDURE option displays a dialog box for the operator to create a NEW PROCEDURE node template.
  • the EDIT option displays a list of node templates (not shown). The operator selects the node template to be edited, and a dialog box with the template information is presented to the operator. The operator can make desired changes to the template information.
  • the DELETE option also presents the operator with a list of node templates from which the operator can select templates to delete.
  • Fig. 13 is a display of the main interface window 120 showing the options 130 for the OPTIONS menu. These options include: EXECUTION and EDIT.
  • the EXECUTION option displays a dialog box allowing the operator to set the global "step” and "trace” flags.
  • the step flag is set to allow an operator to step through the graph during call processing.
  • the trace flag is used to highlight the execution path taken through a graph during call processing.
  • the EDIT option displays a dialog box allowing the operator to select the information to be displayed in the graph nodes.
  • the two types of information generally selecte are the node title and the node value. Examples of these dialog boxes are described below.
  • Fig. 14 is a display of the main interface window 120 showing the options 132 for the LIBRARY menu. These options include: CHECKOUT, RETURN, ADD and DELETE.
  • the CHECKOUT option displays a dialog box which the operator completes with the name of a record desired to be checked out from a remote database.
  • the RETURN option displays a dialog box prompting the operator for the name of the CCPI record to be returned to a remote database.
  • the operator can also add a record to the remote database or delete a record from the remote database using the ADD and DELETE options, respectively.
  • Fig. 15 illustrates a "graph edit pad” window 134 whic is used to create, edit and store CCPI records.
  • This window includes a menu bar 136 including eight menu options: GRAPH, EDIT, VARIABLE, OPTIONS, EXECUTE, VALIDATE, INTERFACE and EXIT.
  • Fig. 16 illustrates the "graph edit pad" window 134 with options 138 of the GRAPH menu displayed. These options include: NEW, OPEN, SAVE, SAVE AS, CLOSE, DELETE, FORWARD, BACK and ITERATE.
  • the NEW option displays a dialog box (Fig. 17) prompting the operator for a name or "key” for the recor that the operator wishes to create.
  • the OPEN option display a dialog box (see Fig. 18) prompting the operator for the name or "key” of the graph the operator wishes to open.
  • the SAVE option saves to permanent storage the binary representation of CCPI records corresponding to the graph.
  • the SAVE AS option displays a dialog box (Fig. 19) prompting the operator for the name or "key" for a CCPI records to be saved, then saves the binary representation of the CCPI records corresponding to the graph to permanent storage.
  • the CLOSE option displays a warning dialog box (see Fig. 20) requesting the operator for verification to complete this option. If the request is verified, all representations of the CCPI records corresponding to the graph that is currently being displayed are cleared.
  • the DELETE option deletes the CCPI records corresponding to the graph that is currently being displayed is deleted from the database. Again, a warning dialog box is presented to the operator.
  • the FORWARD option displays the CCPI record in the database following the CCPI record that is currently displayed.
  • the BACK option displays the CCPI record in the database that precedes the CCPI record currently being displayed.
  • the ITERATE option displays the CCPI records in the database consecutively at a predetermined interval.
  • Fig. 24 illustrates the "graph edit pad" window 134 with options 140 at the EDIT menu displayed. These options include: ADD NODE, ADD BRANCH, EDIT, HIDE, CONNECT, TEMPLATE, DELETE SUBTREE and DELETE NODE.
  • the ADD NODE option displays a dialog box with a list of the nodes the operator can add (see Fig. 21).
  • the ADD BRANCH option displays a dialog box (see Figs. 22 and 23) corresponding to the DECISION node to which the branch is being added. The operator enters the correct branch information for the selected DECISION node.
  • the EDIT option displays a dialog box (see Fig. 23) with information corresponding to the selected node which allows the operator to edit a node.
  • the CONNECT option connects one portion of a graph to another portion of the graph.
  • the TEMPLATE option displays the template for the selected node.
  • the HIDE option removes from the screen all nodes that are children of the selected node unless the child nodes also have a parent different from the selected node.
  • the DELETE SUBTREE option deletes the selected node and all its children nodes from the screen and the corresponding CCPI record, unless a child node also has a parent that is different from the selected node.
  • the DELETE node deletes a node from the graph.
  • the CALL VARIABLES option displays a window containing the variables of the call context for the graph being displayed (see Fig. 26).
  • the GRAPH VARIABLES option displays a window containing the variables of the CCPI record being displayed (see Figs. 27 and 28) .
  • Fig. 29 illustrates the graph edit pad window 134 with the options 144 for the OPTION menu being displayed. These options include EDIT and EXECUTION.
  • the EDIT option displays a dialog box (not shown) with two options: TITLE and VALUE. These options are similar to the TITLE and VALUE options in the GRAPH menu, but correspond to each node separately.
  • the EXECUTION option displays a dialog box (not shown) which allows an operator to select the "step" and "trace” flags for the CCPI record corresponding to the graph being displayed.
  • Fig. 30 illustrates the graph edit pad window with the options 146 of the EXECUTE menu being displayed. These options include: COMPLETE, STEP and CLEAR.
  • COMPLETE option completes a call processing of a CCPI record corresponding to the graph.
  • STEP option executes the next node of a CCPI record of the displayed graph.
  • CLEAR option removes a visual indication of the execution of a CCPI record corresponding to the displayed graph.
  • Fig. 31 illustrates the graph edit pad window 134 with the options 148 for the VALIDATE menu displayed. These options include VALIDATE, DISPLAY and CLEAR.
  • the VALIDATE option invokes an expert system which flags any errors in the structure of the CCPI record of the displayed graph.
  • the DISPLAY option displays a list of errors associated with the selected node.
  • the CLEAR option clears all flagged errors from the graph.
  • Fig. 32 illustrates the graph edit pad window 134 with the options 150 for the INTERFACE menu displayed. These options include GRAPH and FORM.
  • the FORM option represents CCPI record as a form for a "976" call screening service (as shown in Fig. 2).
  • the GRAPH option represents the same CCPI record as a graph (as shown in Fig. 1).
  • Fig. 33 is a flow diagram of the operation of the service creation portion 54 to initiate creation of a new a graph.
  • the operator manipulates the windows to display the main interface window shown in Fig. 7 (step 200).
  • the operator selects the "MAIN" menu (step 202) to display the "MAIN" menu options to the operator (see Fig. 8) (step 204).
  • the operator selects the "GRAPH” option, and CONTROL module 106 displays the "graph editing pad" window (see Fig. 15) (step 206).
  • the operator selects the "GRAPH” menu (step 208) to display the "GRAPH” options (see Fig. 16) (step 210).
  • the operator selects the "NEW” option (step 212), and CONTROL module 106 calls DIALOG module 104 to display the corresponding dialog box (Fig. 17) (step 214).
  • CONTROL module 106 responds by calling GRAPH module 62 to allocate memory for the internal data structure repre ⁇ sentation of the graph being created (step 218).
  • CONTROL module 106 also calls OBJECT TABLE module 110 to allocate memory for the abstract displayed representation of the graph to be created (step 220).
  • GRAPH module 62 then calls GRAPH BUFFER module 78 to allocate memory for a binary representation of the graph being created (step 222).
  • CONTROL module 106 calls GRAPH module 62 to add the "key" to the internal representation of the graph being created (step 224).
  • CONTROL module 106 then calls OBJECT TABLE module 110 to translate the internal graphical representation to an abstract displayed representation (step 226).
  • CONTROL module 106 then calls SCREEN module 102 to translate the abstract displayed representation into the applied displayed representation "key” object (step 228), which is shown as a rectangular box containing the "key” on the graph.
  • graphs are comprised of four types of nodes: DECISION nodes, ASSIGNMENT nodes, PROCEDURE nodes and CONVERSATION nodes.
  • DECISION nodes control the path of execution of a graph during call processing depending according to values of call variables.
  • ASSIGNMENT nodes assign "values” and “variables” to other "call variables.” The concepts of variables and call variables are explained below.
  • PROCEDURE nodes switch control to a different graph or to a subroutine.
  • CONVERSATION nodes provide information to a caller or derive information from a caller in the course of processing a call.
  • DECISION nodes are used to branch the execution through a graph and have several important attributes.
  • the first of these attributes is the "call variable” attribute which indicates which variable is used in determining the correct branch.
  • Another important attribute is the "type" of the call variable which determines how the branch information will be stored and displayed, for example, as an integer or as an ASCII string.
  • the preferred predefined DECISION node templates generate the following nodes:
  • the TIME node is a DECISION node which tests for time of day when traversing a graph.
  • the TIME node's decision branches may specify a single time, a range of time, multiple times or time ranges.
  • the TIME node makes its decision based upon the current time of day for the call.
  • the value of the system clock is used to determine the branch.
  • Fig. 34 illustrates a graph using the TIME node.
  • the call placed to the 800 number shown in the rectangle is made between the hours of 8:00 a.m. and 6:00 p.m., the call is routed using a first carrier. For any other time, the call is routed using a different carrier.
  • the DLN (Dialed Line Number) is a DECISION node which represents the number to which the call is placed.
  • the DLN node decisions are based upon one or more of the digits in the number dialed by THE calling party.
  • the positions 0-9 of the digits of the dialed line number can be used to indicate which portion of the dialed line number the decision should be made.
  • Fig. 35 illustrates an example of a graph using the DLN node.
  • this graph is a call being made from the number identified in the rectangle is placed to an exchange of 976, an announcement is played to the caller, and the call processing is blocked. Any call to any other exchange is routed.
  • the PERCENT node is a DECISION node which randomly chooses a path based on predetermined percentages.
  • An example of a graph using the PERCENT node is shown in Fig. 36 where, the first 25 percent of phone calls made to the 800 number identified in the rectangle are routed via a first carrier; the second 25 percent of these calls are routed via second carrier; the third 25 percent are routed via a third carrier; and the fourth 25 percent are routed via a fourth carrier.
  • the DAY node is a DECISION node which allows a graph to branch based upon day of week criteria. Branches for a DAY node indicate the path of call processing when the value for the day call variable matches the branch criteria. Each branch out of a day node may contain one or more days or ranges of days.
  • Fig. 37 illustrates a graph using a DAY node.
  • the call is forwarded to a different telephone number. If the of the week is Monday-Friday (other), the call is routed to the number in the rectangle.
  • ANI - In an ANI (Automated Number Identification) node a decision is made based upon one or more of the digits in the AN string.
  • the ANI string (a series of ASCII characters) represen the phone number of the calling party.
  • Fig. 38 shows an example of a graph utilizing an ANI node.
  • the graph in Fig. 38 tests the first three digits (the area cod of the number from which the call is made. If these three digi are 303 or 719, the call is routed. If these three digits are some other three numbers, an announcement is played to the call and the phone call is blocked.
  • NET Node The NET node is a DECISION node which determine whether a call is on a private network or off of a private network.
  • the NET nodes' decision branches have the values ON f an ON network call and other (or OFF).
  • the NET DECISION node is to determine if the call is over a private telephone network.
  • the incoming TCAP message contains the valu assigned to the NET variable.
  • Figs. 39A and 39B each illustrat graph including a NET node.
  • the DATE DECISION node allows a graph to branc based upon day and month criteria.
  • the branches for a date nod indicate the path the call processing should take when the valu for the date call variable matches the branch criteria.
  • Fig. 40 An example of a graph using the DATE decision node is show in Fig. 40.
  • the date on which the call is placed to the number identified in the rectangle is January 1, July 4 or December 25, an announcement is played to the caller, and the call processing is blocked.
  • LATA Node - The LATA (Local Access and Transport Area) nod is a DECISION node which tests the LATA of the originating numb Multiple LATA values or ranges of LATA values may be specified a single branch.
  • Fig. 41 illustrates a graph using the LATA DECISION node. the graph, if a call placed to the 800 number identified in the rectangle originates in the 252 LATA, the call is routed. Otherwise, an announcement is played, and the call processing is blocked.
  • RESULT Node - The RESULT node is as DECISION node which test the "DIGITS" call variable identifying dialed digits.
  • the call variable is assigned from the information collected by a conversational message Fig. 42 illustrates a graph using the RESULT node.
  • ASSIGNMENT nodes assign values or call variables to other call variables.
  • the preferred predefined ASSIGNMENT node nodes are as follows:
  • the RN node is an ASSIGNMENT node that assigns a final routing number.
  • the syntax is 10 digits that represent the valid telephone number.
  • Fig. 43 illustrates a graph using the RN node. In Fig. 43, the telephone number for the routing is displayed in the node. A call made to the 800 number identified in the rectangle is actually routed to the phone number identified in the RN node.
  • FINAL TREATMENT Node - This is an ASSIGNMENT node to assign a final treatment code to the final treatment variable.
  • the final treatment code tells the switch what to do with the call, for example, route, block, busy (see, for example. Fig. 42).
  • CARRIER Node - The CARRIER node is an ASSIGNMENT node which allows an operator to specify which long distance carrier will route the call.
  • ASSIGNMENT node which allows an operator to specify which long distance carrier will route the call.
  • Fig. 44 shows an example of a graph using the carrier node.
  • BILLED NUMBER - The Billed Number (BN) node is an ASSIGNMENT node which specifies a 10-digit number for the telephone number that is to be billed for the call.
  • an operator preferably specifies a 10-digit number in the NPANXXXXX format described above if the node is to contain the value.
  • Fig. 44 is an example of graph utilizing the BN node.
  • the graph in Fig. 44 assigns a carrier, BN and RN for the "800" num identified as the key.
  • CONVERSATION nodes are used to request and receive information from the calling party through the switch. They assign the call variables that represent the message to played a the switch and the number of digits to be collected from the calling party.
  • the predefined CONVERSATION node templates 0 generate the following nodes:
  • PIN Node - The PIN (Personal Identification Number) node is CONVERSATION node which requests that an announcement, "Please enter your Personal Identification Number,” be played to a calle 5 requesting that a four-digit code be entered by the caller. Aft the caller enters the PIN number, the four digits become the val for the "DIGITS" call variable in the incoming conversational TC message that is returned to the application for further processing. 0 A result decision node is used to branch the execution base on the digits received.
  • Fig. 42 illustrates a graph using the PIN node.
  • the caller is request to input a four-digit PIN. If the result is 1234, the call is 5 routed, any other PIN an announcement is played, and the call processing is blocked.
  • the GET10DIGITS node is a CONVERSATION node that requests that an announcement be played to a caller to request that the caller input a 10-digit telephone number.
  • the Q value for the GET10DIGITS node is a message number which becomes the value for the announce call variable in an outgoing conversational TCAP message.
  • the digits entered by the operator become the value for the DIGITS call variable in the incoming conversational TCAP message that is returned to the application - for further processing.
  • FIG. 45 An example of a graph including a GET10DIGITS node is shown for example, in Fig. 45.
  • This service collects a ten-digit phon number from the calling party and routes the call to that phone number.
  • the PLAYANNC node allows an operator to specify a announcement message (that requests information from an operator) to be played to the caller when the call processing software encounters this node (Fig. 38).
  • PROCEDURE nodes allow the execution to invoke a routine on behalf of the graph being evaluated. For example, if an operator wanted to log some information about the execution, he could call a routine that he has written and invoke that through the PROCEDURE node.
  • the preferred predefined PROCEDURE nodes are as follows:
  • HANDOVER Node is a procedure node which instructs the call processing software to leave the current graph and move to another graph to continue the call processing.
  • the value for a HANDOVER node is the key (up to 10 characters) for the HANDOVER graph. If an operator wishes to add a HANDOVER node to a graph, he is requested to input the key for the HANDOVER graph.
  • the contents of a HANDOVER graph may be as complex as necessary to provide the requested service.
  • the HANDOVER graph may contain any of the nodes, including one or more HANDOVER nodes.
  • Fig. 39A illustrates a graph including a HANDOVER node. This graph determines whether the call is "ON” or “OFF” the network (NET). If ON, the call is routed. If OFF, execution is transferred to the graph having key “offnet.hnd.” Although the HANDOVER node displays the syntax "HANDOVER” to the operator, through graph manipulations (as described herein), the operator can display the values of the HANDOVER node, which is "offnet.hnd" as shown in Fig. 39B.
  • the STORE node is a PROCEDURE node which allows an operator to store values to the graph variables of a different graph.
  • the value for the STORE node is the key of another vali graph in the system database.
  • STORE node is often used in conjunction with the LOAD node when exchanging or updating call variable values from one graph to another.
  • Fig. 46 illustrates a graph using the STORE node.
  • PROCEDURE Node - The PROCEDURE node is a PROCEDURE node wh allows an operator to select from a group of programming langua routines to perform certain call processing tasks.
  • the value f the PROCEDURE node is the name of the routine to be invoked.
  • T customer may want to call a special C routine to log data while executing a graph. This would be facilitated through the PROCEDURE node.
  • Fig. 47 illustrates a graph using the PROCEDURE node. In this graph, the PROCEDURE node involves a routine to log information about the call into a file. A routing number is the assigned by the RN node.
  • the LOAD node is a PROCEDURE node which allows operator to load all of the call variable values stored with a different graph. Once the variables are loaded (e.g. after the execution of the LOAD node), the call processing software can th use these variables.
  • the LOAD node value is the graph key name from which you are loading the variables.
  • To add a LOAD node to a graph an operator is requested to input a graph key name of another valid graph contained within t system database.
  • Fig. 46 illustrates a graph using the LOAD nod This graph updates a call forwarding number.
  • a template is a data structure containing some or all information needed to specify and instantiate a node in a graph.
  • a node is instantiated when it is added to the internal data structure representation.
  • the preferred templates include a DECISION node template, an ASSIGNMENT node template, a PROCEDURE node template and a CONVERSATION node template. These templates can be used to create any of the specific nodes identified above, or any other desired node.
  • a DECISION node template includes a title and a call variable.
  • an operator desires to generate a DECISION node, he selects the "NEW DECISION" option in the template menu (see Fig. 12), which prompts display of a dialog box 300, as illustrated in Fig. 48A.
  • the dialog box 300 includes a title field 302 and a call variable field 304.
  • the title field identifies the title or name of the DECISION node template to be created, and the call variable field 304 identifies either a "wil card” or a call variable used by an instantiated node to perform branch comparisons.
  • a "wild card” marks the call variable field as unspecified. This unspecified field is subsequently specified by an operator when the operator selects the template to instantiate a node in a graph.
  • Every field in any template can be a "wild card" which is determined by the operator when instantiating a node.
  • a time decision node As shown in Fig. 48B, an operator enters the title (time) into the title field 302, and th call variable name ("time") into the call variable field 304. Th title and value are then used by the TEMPLATE module to generate TIME DECISION node template.
  • TIME DECISION node templat exists, an operator can add time decision nodes to a graph.
  • an operator can build a "date,” "day,” “ANI” or any other DECISION node template and use these templates to add nodes to a graph.
  • An ASSIGNMENT node template includes a title, a first call variable (which is assigned a value), and a second call variable or value (which is assigned to the first call variable).
  • An operator desiring to generate an ASSIGNMENT node template selects the "NEW ASSIGNMENT" option in the template menu (see Fig. 12) which prompts display of a dialog box 306, as illustrated in Fig. 49A.
  • the dialog box 306 includes a title field 308, a first call variable field 310 and a second call variable or value field 312.
  • the title field 308 identifies the title or name of the ASSIGNMENT node template to be created
  • the first call variable field 310 identifies a "wild card” call variable which is assigned a value.
  • the second call variable or value field 312 identifies a "w card” or a call variable or value which is assigned to the firs call variable.
  • an operator enters the title (carrier) in th title field 308, enters the call variable (carrier) into the fi call variable field 308 and enters the "wild card" "? carrier” into the second call variable or value field 312.
  • the operator may input a three digit acronym corresponding to a long distance carrier company as the value for this "wild card.”
  • This information is used by the TEMPLATE node to generate a CARRIER assignment node template, which can be selected by an operator to add CARRIER nodes to a graph.
  • a PROCEDURE node template includes a title and the name of routine called by this node to execute an identifiable functionality.
  • This dialog box 314 includes a titl field 316 and a routine field 318.
  • the title field 316 indicates the title of the procedure node template to be created, and the routine field 318 identifies a program routine to be called whe this node is generated. For example, assume an operator has a program routine named "log data" which records information abou call processing to a file. To create a PROCEDURE node template which calls this routine, as shown in Fig. 50B, the operator inserts the title (log data) and routine (log data) into fields 316 and 318 of the dialog box 314. The operator can then use t node template to insert this node into a graph to call the routine.
  • a CONVERSATION node template includes a title, an announcement to be played to a caller and a field representing number of digits to be collected from the caller.
  • an operator desires to generate a PROCEDURE node template, he selec the "NEW CONVERSATIONAL" option in the template menu (see Fig. 1 which prompts display of a display box 320, as shown in Fig. 51
  • This dialog box 320 includes a title field 322, an announcement field 324 and a digits field 326.
  • the title field indicates the title of the CONVERSATION node to be created
  • the announcement field identifies the announcement to be played to the caller
  • the digits field 326 specifies the number of digits the caller should input in response to the announcement.
  • a CONVERSATION node template which prompts the caller to enter a four digit personal identification number (PIN), as shown in Fig. 51B, the operator enters "PIN" int the title field 322, enters an index number to a message set to b announced or displayed in announcement field 324, and enters the number of digits comprising the PIN into the digits field 326.
  • PIN personal identification number
  • This PIN node template can be inserted into a graph to prompt a caller to input a PIN during execution of the graph.
  • Fig. 52 is a flow diagram illustrating a general editing operating procedure performed by service creation portion 54 to build a graph after the graph has been initiated. This flow diagram is generic to each of the "EDIT" menu options 140 shown in Fig. 24. Specific flow diagrams for each of the "EDIT" menu options are described below.
  • CONTROL module 106 responds by calling SCREEN module 102 to highlight the selected object (step 702). In a preferred embodiment, this highlighting is done by changing the color of the selected object.
  • the operator selects the "EDIT" menu (step 704) to display the "EDIT" menu options as shown in Fig. 24 (step 706). From those options the operator selects the desired "EDIT” menu option (step 708), and CONTROL module 106 responds by calling a routine or module that controls the selected "EDIT” option (step 710). The called routine or module then edits the internal data structure representation according to the selected EDIT option (step 712).
  • CONTROL module 106 then calls OBJECT TABLE module 110 to translate the edited internal data structure representation into the abstract display representation (step 714), and finally calls the SCREEN module 102 to translate the abstract display representation into the display representation of the graph (st 716).
  • Fig. 53 is a flow diagram illustrating the operation of service creation portion 54 for adding a node to a graph. Step 700-708 of Fig. 7A are repeated, except that the operator selec the ADD NODE option in the "EDIT" menu.
  • CONTROL module 106 responds by calling GRAPH AND NODE CONTROL module 70 to orchestrate the ADD procedure (step 718).
  • GRAPH AND NODE CONTR module 70 calls OBJECT module 112 to determine which node corresponds to the selected object (step 720).
  • GRAPH AND NODE CONTROL module 70 then calls DIALOG module 104 to display a lis of available nodes (step 722).
  • TEMPLATE module 72 calls DIALOG module 104 to prompt t operator for information to complete the template corresponding the selected node (step 724).
  • CONTROL module 106 then calls NO module 64 to allocate memory for the new node (step 726).
  • GRAPH AND NODE CONTROL module 70 calls TEMPLATE modul 72 to make a node data structure from the completed template information (step 728). GRAPH AND NODE CONTROL module then call GRAPH module 62 to add the node data structure to the internal data structure representation (step 730). GRAPH AND NODE CONTRO module 70 then calls NODE module 64 to link the new node to its parent and child nodes (if any) (step 732). Steps 714 and 716 a then performed to translate the internal data structure representation into the abstract displayed representation and to display the graph.
  • Fig. 54 is a flow diagram illustrating the operation of service creation portion 54 for adding a branch to a graph. Initially, steps 700-708 and 718 are performed, except that the operator selects the "ADD BRANCH" option. GRAPH AND NODE CONTRO module 70 calls TEMPLATE module 72 to determine which template corresponds to the selected node (step 734). To do this, the fields of the node are matched to each field of each template. The template which most completely matches the node is selected the corresponding template.
  • TEMPLATE module 72 then calls DIALOG module 104 to prompt t operator for a branch value or values (step 736).
  • GRAPH A NODE CONTROL module 70 calls NODE module 64 to create a branch data structure with the associated parameters (step 738). Steps 714 and 716 are then repeated to translate the internal data structure representation into an abstract displayed representation and into the displayed graph.
  • Fig. 55 is a flow diagram illustrating the operation of service creation portion 54 for editing a value in the graph. Initially steps 700-708 and 718 are performed except that the operator selects the "EDIT" option. Then, step 734 from Fig. 54 is performed. Next, GRAPH AND NODE module 70 determines if a branch or node is being edited (step 740). If a node is being edited, TEMPLATE module 72 calls DIALOG module 104 to prompt the operator for information to modify the template for the selected node (step 742). Subsequently, steps 728-732, shown in Fig. 53, are performed, and steps 714-716 are performed to translate the internal data structure representation into an abstract displayed representation and to display the graph on the screen.
  • step 740 If in step 740 it is determined that a branch is being edited, step 736 shown i Fig. 54 is performed. GRAPH AND NODE module 70 then calls NODE module 64 to edit the branch data structure with associated parameters (step 744). Steps 714-716 are then performed.
  • Fig. 56 is a flow diagram illustrating the operation of service creation portion 54 for connecting one node of a graph to another node in the graph. This is a convenience feature which allows an operator to refer to a first portions of the completed graph to complete another portion of the graph without duplicating the first portion of the graph.
  • steps 700-704 are performed except that the operator selects the "CONNECT" option.
  • CONTROL module 106 determines whether the selected object represents a node (step 744). If the selected object does not represent a branch or non- DECISION node, processing is done (step 746). If the selected object represents a node, CONTROL module 106 sets a connect flag (not shown) for the displayed window (step 748). The operator then selects an existing node in the graph to which to connect the selected object (step 750). Step 702 is then performed. CONTROL module 106 then determines whether the connect flag is set (step 752). If the connect flag is not set, the "clicked-on" object becomes the selected object (step 754).
  • CONTROL module 106 calls GRAPH AND NODE CONTROL module 70 passes graph, first-selected object and selected-node informat to GRAPH AND NODE CONTROL module 70 (step 756).
  • GRAPH AND NOD CONTROL module 70 calls NODE module 64 to link the selected ob and the selected node together (step 758).
  • steps 714-716 are performed to display the graph.
  • Fig. 57 is a flow diagram illustrating the operation of service creation portion 54 to "hide" a portion of the display graph. To "hide" a portion of the graph means to delete it fr the displayed graph without deleting it from the other representations of the graph.
  • steps 700-708 and 718 are performed except tha the operator selects the "HIDE" option.
  • GRAPH AND NODE module then calls NODE module 64 to set the "hide” flag for the selec object in the data structure graphical representation.
  • Steps 716 are then performed to display the graph.
  • OBJECT TABLE module 110 determines the "hide” flag has been set for each node. Since, in our example, the "hide” flag has been set, OBJECT TABLE module 110 does not translate any of the children nodes of the node for w the hide flag has been set into the abstract displayed representation of the graph. This prevents its further translation onto the screen such that this portion of the grap appears hidden. This is advantageous if the CCPI records is l and has many branches.
  • Fig. 58 is a flow diagram illustrating the operation of service creation portion 54 for deleting a predetermined porti of a graph.
  • steps 700-708 and 718 are performed ex that the operator selects the "DELETE SUBTREE" option.
  • GRAPH NODE CONTROL module 70 then calls GRAPH module 62 to delete th selected node and all its children from the graph (step 762).
  • GRAPH AND NODE CONTROL 70 module calls NODE module 64 to break links between the nodes which are to be deleted and the nodes which remain in the graph in the internal data structure representation (step 764). Steps 714-716 are then repeated to display the graph.
  • Fig. 59 is a flow diagram illustrating the operation of service creation portion 54 to delete one node from a graph. Initially, steps 700-708 and 718 are repeated except that the operator selects the "DELETE NODE" option. GRAPH AND NODE module 70 determines whether or not the selected node has more than one parent or more than one child. If yes, this operation is not completed and processing is finished (step 767). If not, CONTROL module 106 calls GRAPH module 62 to remove the node from the internal data structure representation (step 768). CONTROL modul 106 then calls NODE module 64 to link the selected node's parent to its child (step 770). Steps 714 and 716 are then repeated to display the graph.
  • an operator can create a graph to provide any desired service. If instead of creating a new graph an operator desires to open an existing stored graph, the operation of service creation portion 54 is as shown by the flow diagram in Fig. 60.
  • CONTROL module 106 responds by calling DIALOG module 104 to display the corresponding dialog box shown in Fig. 18 (step 502). The operator then inputs the "key” of the graph he desires to open (step 504) and CONTROL module 106 calls GRAPH module 62 to allocate memory for the internal data structure representation of the graph to be displayed (step 506). GRAPH BUFFER module 78 then calls DATABASE module 98 to read the binary information corresponding to the graph from the database (such as database 42 in Fig. 4A) (step 510).
  • GRAPH module 62 calls GRAPH BUFFER module 78 to translate the binary representation of the graph into the internal data structure representation of the graph (step 512).
  • CONTROL module 106 calls OBJECT TABLE module 110 to translate the internal data structure representation of the graph into the abstract displayed representation (step 514), and calls SCREEN module 102 to translate the abstract displayed representation of the graph into the displayed graph format (step 516).
  • Fig. 61 is a flow diagram illustrating the operation of service creation portion 54 to save a graph to a database. Initially, the operator displays the graph menu options shown Fig. 16 (step 600), and selects the "SAVE" option (step 602). response, CONTROL module 106 calls GRAPH module 62 to "unload" internal data structure representation of the graph (step 604).
  • GRAPH module 62 calls GRAPH BUFFER module 78 to "unload” the binary representation of the graph (step 606).
  • GRAPH BUFFER module 78 calls DATABASE module 98 to write the binary represe tion of the graph to the database 42 (step 608).
  • step 602 in Fig. 61 is changed in that the operator instead selects the "SAVE AS" option and an additiona step (not shown) is added between steps 602 and 604 in which CONTROL module 106 calls DIALOG module 104 to display a dialog (not shown) prompting the operator to input the new "key" for graph.
  • the "976" call screen form 8 also includes a PIN override option 86, as well as a PIN parameter 88, and "save” "load” "new” and “exit” options 90, 92 94 and 96 , respectively.
  • PROVISION module 114 analyzes the information and calls the appropriate modules in th internal data structure representation to translate the information into the internal data structure representation. Th internal data structure representation can be translated into th binary representation just as in the case with the corresponding graphs as shown in Fig. 1. To display the "976" call screening form, PROVISION module 114 translates the internal data structure representation into the abstract displayed representation, and then SCREEN module 102 translates the abstract displayed representation into the displayed "976" call screening form 8.
  • call processing portion 56 shown in Figs. 4A-4D preferably comprises all the modules corresponding to the binary representation of a CCPI record as shown in Fig. 6B, although preferably, calls are predominately processed by COMMUNICATE module 84, MESSAGE HANDLER module 86 and CALL CONTEXT module 88.
  • Fig. 62 is a functional block diagram of call processing portion 56.
  • call processing portion 56 includes COMMUNICATE module 84, MESSAGE HANDLER module 86, CALL CONTEXT module 88, message handler input queue 906, message handler outpu queue 908, call input queue 910, call output queue 912 and conversational calls queue 914.
  • COMMUNICATE module 84 is connected to message handler input queue 906 and message handler output queue 908, and receives and outputs messages to a remote device, such as a switch or switch simulator.
  • MESSAGE HANDLER module 86 is connected to message handler input queue 906, messag handler output queue 908, call input queue 910, call output queue 912 and conversational calls queue 914.
  • CALL CONTEXT module 88 i connected to call input queue 910, call output queue 912 and database 60.
  • Figs. 63A and 63B are flow diagrams of the call processing operations of COMMUNICATE module 84.
  • COMMUNICATE module 84 con ⁇ tinuously monitors an input port (not shown) for messages from a remote device.
  • COMMUNICATE module responds .e04, .e05. and .e02 messages in accordance with AIN release 0
  • COMMUNICATE module 84 responds to other messages input from the remote device, including those message provided for in future AIN releases such as AIN releases 1 and
  • COMMUNICATE module 84 determines whether any messages are available for processing (step 1000). If not, CO NICATE module 84 continues to look for a message to be process If a message is available for processing, COMMUNICATE module 8 reads the message (step 1002) and places the message onto mess handler input queue 906 (step 1004). COMMUNICATE module 84 th continues to look for a new message to be processed.
  • COMMUNICATE module 84 looks for any messages message handler output queue 908 (step 1006). If no message exists, COMMUNICATE module 84 continues to look for messages. a message is on message handler output queue 908, COMMUNICATE module 84 gets the message (step 1008) and sends the message t the remote device (step 1010). COMMUNICATE module 84 then continues to look for messages on message handler output queue 908.
  • Fig. 64A illustrates the call processing operation of MES HANDLER module 86.
  • MESSAGE HANDLER module 86 looks for messag on message handler input queue 906 (step 1100). If no message available, MESSAGE HANDLER module 86 continues to look for messages. If a message is on message handler input queue 906, MESSAGE HANDLER module 86 gets the message (step 1102) and determines whether the message is a conversational response (s 1104). If the message is not a conversational response, MESSA HANDLER module 86 determines the appropriate CCPI record neede respond to the message (step 1108) and generates a call contex corresponding to the message (step 1110).
  • call context 160 maintains informati corresponding to the execution of a call during call processin This information includes message identification number 162, c status 164, (e.g. active, wait, new or conversational), stack index 166, number of nodes processed 168, a list of call varia 170 and call state stack 172.
  • Call stack 172 may contain one or more call states 174.
  • a call state 174 maintains information corresponding to the execution of an individual CCPI record during call processing.
  • the information maintained by call state 174 includes the "key" of the CCPI record 176, the CCPI record 178 an the execution offset 180 which corresponds to the current locationo of the execution in the CCPI record.
  • MESSAGE HANDLER module 86 places call context 160 onto call input queue 910 (step 1112) and the call processing operation of MESSAGE HANDLER 86 module shown in Fig. 64A is repeated. If in step 1104 it is determined that the message is a conversational response, MESSAGE HANDLER module 86 gets the corresponding call context from conversational calls queue 914 (step 1106) and places call contex 160 onto call input queue 910 (step 1112).
  • Fig. 64B illustrates another call processing operation per ⁇ formed by MESSAGE HANDLER module 86.
  • MESSAGE HANDLER module 86 determines whether a call context 160 is on call output queue 912 (step 1114). If not, MESSAGE HANDLER module 86 continues to look for a call context 160. If a call context 160 is on call output queue 912, MESSAGE HANDLER module 86 gets the call context 160 (step 1116) and determines whether call context 160 is conversational (step 1118).
  • call context 160 is placed on conversational calls queue 914 (step 1124) until, as described with regard to Fig. 64A, an input message corresponding to call context 160 is again processed by MESSAGE HANDLER module 86. If call context 160 is not conversational, MESSAGE HANDLER module 86 generates a message from call context 160 (step 1120) and places the message on message handler output queue 908 (step 1122). The call processing operation shown in Fig. 64B is then repeated by MESSAGE HANDLER module 86.
  • Fig. 67 illustrates a flow diagram of the call processing operation performed by CALL CONTEXT module 88. CALL CONTEXT module 88 monitors call input queue 910 for a call context 160 (step 1200).
  • CALL CONTEXT module 88 continues to look for a call context 16 If a call context 160 is on call input queue 910, CALL CONTEXT module 88 gets call context 160 (step 1202) and determines whe call context 160 has been processed previously (step 1204). I not, CALL CONTEXT module 86 calls GRAPH BUFFER module 78 (not shown in Fig. 67) to get the corresponding CCPI record from database 60 (step 1206). CALL CONTEXT module 86 then creates call state 174 to manage the execution of that CCPI record and pushes the call state 174 onto call state stack 172 of call context 160 (step 1207).
  • CALL CONTEXT module 88 determines whether execution the CCPI record is complete (step 1208). This is done by chec the execution offset 180 in call state 174.
  • CALL CONTEXT module 914 After creating and pushing a call state 174 onto call sta stack 172 in step 1207, CALL CONTEXT module 914 also determine whether execution of the CCPI record is complete (step 1208). the CCPI record has not been completely executed, call MODULE executes one node of the CCPI record (step 1210). After execu a node, CALL CONTEXT module 88 determines whether the node is CONVERSATION node (step 1212). If so, CALL CONTEXT module 88 places the call context 160 onto call output queue 912 (step 1214), which halts the execution of the CCPI record.
  • CALL CONTEXT modu 88 determines whether the node processed is a "handover node" (step 1213). As explained above, a "handover node” temporaril hands the call processing over to another graph identified as value in the "handover node.” If the executed node is a "handover” node, CALL CONTEXT module 901 repeats step 1206 to the CCPI record corresponding to the "key" value identified in "handover node,” and step 1207 to create a new call state and this new call state onto the call state stack 172.
  • CALL CONTEXT module 88 executes the CCPI record on top of the call state stack 172, if in step 1213 it is determined that the executed node is a "handover node,” when the call processing routine returns to step 1208, it is executing the new CCPI rec However, if in step 1213 it is determined that the node execut is not a "handover node, " when the call processing routine returns to step 1208, it continues executing the original CCPI record. If in step 1208, CALL CONTEXT module 88 determines that the CCPI record has been completely executed, CALL CONTEXT module 88 then determines whether there is more than one call state 174 on the call state stack 172 (step 1215). If not, CALL CONTEXT modul 88 puts the call context 160 onto call output queue 912 (step 1214), and the call processing routine returns to step 1200.
  • CALL CONTEXT module 88 "pops" the top call state from call state stack 172 (step 1216) and executes the CCPI record corresponding to that call state (step 1208). This allows one CCPI record to "hand over" to another CCPI record and then return to execution of the original CCPI record.
  • the graph shown in Fig. 42 has been created and stored as a CCPI record in database 60 at SCP 18.
  • ASC switch 12 receives a phone call from a phone having a phone number (315)123-4567, it sends a TCAP message to SCP 18.
  • COMMUNICATE module 84 reads the message and places it onto message handler input queue 906.
  • MESSAGE HANDLER module 86 gets the message from message handler input queue 906 and initially determines whether the message is a conversational response.
  • MESSAGE HANDLER module 86 identifies the CCPI record needed to respond to the message based on the key 3151234567.e05, and generates a call context corresponding to this message. MESSAGE HANDLER module 86 then places the generated call context onto input queue 910.
  • CALL CONTEXT module 88 is looking for a call context on c input queue 910. When the call context is placed onto call in queue 910, it is read by CALL CONTEXT module 88 which initiall determines whether this call context has been processed previously. Since, in this example, this call context has not been previously processed, CALL CONTEXT module 88 calls GRAPH BUFFER module 78 to get the corresponding CCPI record from database 60 and creates a call state which is pushed on to the call state stack. CALL CONTEXT module 88 then executes the fi node of the CCPI record. As shown in Fig. 42, the first node CONVERSATION node. Therefore, when CALL CONTEXT module 88 inquires whether this node is a CONVERSATION node, execution o the CCPI record is halted and the CALL CONTEXT module places t call context onto call output queue 912.
  • MESSAGE HANDLER module 86 which is looking for a call context on call output queue 912, reads the call context once i has been placed on call output queue 912. MESSAGE HANDLER mod 86 then inquires whether the call context is conversational. Since the call context is conversational in this example, MESS HANDLER module 86 places the call context onto conversational calls queue 914, and generates a message from the call context prompt the operator to input a PIN. This message is placed ont message handler output queue 908.
  • COMMUNICATE module 84 gets the message from message handle queue 908 and sends the message back to ASC switch 12. The cal processing operation then continues to process other messages f SCP 18.
  • ASC switch 1 In response to the PIN input by the operator, ASC switch 1 again sends a message to SCP 18.
  • COMMUNICATE module 84 reads t message and places it onto message handler input queue 906.
  • MESSAGE HANDLER module 86 gets this message from queue 906 and determines whether the message is a conversational response. I this example, the PIN input by the caller is a conversational response, and therefore, MESSAGE HANDLER module 86 gets the corresponding call context from conversational calls queue 914. This call context is placed onto call input queue 910 for furthe processing by CALL CONTEXT module 88.
  • CALL CONTEXT module 88 reads the call context from call inp 5 queue 910 and determines whether this call context has been previously processed. Since this call context has previously bee processed in this example, the CCPI record is not retrieved from database 60. Instead, CALL CONTEXT module 88 determines whether execution of the CCPI record is complete. Since, in this example 0 the CCPI record has not been completely executed, the next node o the CCPI record is executed. Each of the nodes of the CCPI recor is then executed.
  • CALL CONTEXT modul 5 88 determines from the execution of the CCPI record that the call from phone number (315)123-4567 should be routed, adds this information to the call context and places the call context onto call output queue 912.
  • MESSAGE HANDLER module 86 reads the call context and, determining that the call context is not o conversational, generates a message from the call context to inform ASC switch 12 to route the call.
  • MESSAGE HANDLER module 8 places this message onto message handler output queue 908.
  • COMMUNICATE module 84 then reads the message from queue 908 and sends it to ASC switch 12.
  • an operator can test the graph by processing a call generated by a switch or switch simulator prior to deploying the CCPI record into the AIN network 10. This testing can be done on SMS 20, PC 22, SCP 18, SN 16 or adjunct 14, provided these devices contain a CS application 46 comprising cal processing portion 56 and a switch or switch simulator.
  • another embodiment of the present invention provides for a visual indication of the execution path taken through a graph while processing a call.
  • This embodiment preferably uses an application comprising an enhanced call processing portion and can be implemented on the SMS 20, PC 22, SCP 18, SN 16 or adjunct 14.
  • the visual indication can be provided at any of these devic provided a CS application 46 comprises service creation portion and an operator interface 44 are provided at that device.
  • the visual indication of the execution path on the graph can be provided at the device performing the call processing (local visual indication) or at a device remote from the device performing the call processing (remote visual indication) .
  • the visual indication can be provided for call processing in a testi mode or in the AIN network 10.
  • the visual indication comprises highlighting the execution path as taken during call processing directly on the graph, preferably as a red line connecting the graph nodes executed to process the call (referred to herein as "trace").
  • any other type of highlighting can be used t identify the execution path on the graph.
  • the execution path taken through a CCPI record may be visually indicated by displaying the execution path one node at a time (referred to herein as the "step” indication).
  • the “trace” is also provided.
  • the present invention provides f the "trace” and “step” visual indications by enhancing the call processing operation performed by CALL CONTEXT module 88 as show in Figs. 68A and 68B.
  • the processing operations of COMMUNICATE module 84 and MESSAGE HANDLER module 86 remain the same as described above.
  • steps 1200-1216 are identical to those shown for the call processing of Fig. 67.
  • CALL CONTEXT module 88 determines whether any of the "global" or “record,” "step” or “trace” flags are set (step 1300).
  • Global flags refer to flags corresponding to a plurality CCPI records. If a "global” flag is set, the execution path tak through the CCPI record is stepped through or traced for every CCPI record executed depending on the flag selection.
  • "Record” flags refer to flags corresponding to each individual CCPI record If a "record” flag is set for a CCPI record, the corresponding graph is displayed and the execution path taken through the graph is stepped through or traced depending on the flag selection when a call is executed by enhanced call processing portion 56 in either a creation environment (local) or a call processing environment (which includes an application comprising only enhanced call processing portion 56 and no operator interface; remote) .
  • "Global,” "step” and “trace” flags are preferably set by the operator in accordance with the flow diagram shown in Fig. 69.
  • the operator displays the main interface window and selects the "OPTIONS" menu (step 1400).
  • CONTROL module 106 displays the "OPTIONS” menu options, as shown in Fig. 13 (step 1402).
  • the operator selects the "EXECUTION” option (step 1404), and CONTROL module 106 then calls DIALOG module 104 to display a dialog box (not shown) prompting the operator to select either the "step” or "trace” option (step 1406).
  • the operator selects the "trace” or "step” option (step 1408).
  • the corresponding "global" flags are set by CONTROL module 106 (step 1410).
  • "Record” flags are preferably set by the operator in accordance with the flow diagram illustrated in Fig. 69 except that in step 1400 the "OPTIONS" menu 144 is selected from the graph edit pad window as shown in Fig. 29.
  • the operator performs a "SAVE” operation as described above, to set the "record,” trace or step flag. If the CCPI record corresponding to the graph is to be call processed at a remote call processing environment, MAIL module 100 transfers the CCPI record from the creation environment to the remote call processing environment. Referring back to step 1300 in Fig. 68A, if none of the
  • CALL CONTEXT module 88 determines whether the CCPI record has been completely executed (step 1208). If either the "global” or “record,” “trace” - 55 -
  • CALL CONTEXT module 88 determines whethe the enhanced call processing operation is being performed in a creation environment (step 1301). This determination is made based on an environment flag.
  • a creation environment includes a dis 48 and service creation portion 54. Therefore, for viewing th graph when call processing in the creation environment, the vi indication is provided at the creation environment.
  • the call processing environment may not include a display 48, the execution results of the call proces are preferably sent to a creation environment for display. Th different actions are taken by the enhanced call processing portion 56 depending on the environment in which the enhanced processing is being performed.
  • CALL CONTEXT module 88 displays the graph edit pad window and associates the call context with the graph edit pad window (step 1302). If, in step 1301, the enha call processing is performed in a call processing environment, CALL CONTEXT module 88 opens a file for the call context (step 1304) to record execution information.
  • CALL CONTEXT module 88 determines whether the CCPI record has been completely executed (step 1208). If so, CALL CONTEXT module 88 performs steps 1215, 1214 and 1216, as discu with regard to Fig. 67. If not, the next node is executed (st 1210).
  • CALL CONTEXT module 88 After executing a node, CALL CONTEXT module 88 again determines whether the "global" "record* 1 trace or step flags a set (step 1306). If not, CALL CONTEXT module 88 repeats step 1208. If one of these flags is set, however, the determinatio step 1301 is repeated.
  • CALL CONTEXT module 88 calls NODE module 64 to se flag in the internal data structure representation of the grap indicating that node has been processed (step 1308).
  • NODE module 64 changes to the internal data structure representation a reflected up through the abstract displayed representation, an - 56 -
  • CALL CONTEXT module 88 updates .the file to indicate that the node has been executed (step 1310).
  • CALL CONTEXT module 88 determines whether the processe node is a CONVERSATION node (step 1212). If so, CALL CONTEXT module 88 outputs the call context onto the call output queue 912 (step 1214). If not, steps 1213, 1206 and 1207 shown in Fig. 67 are performed.
  • the enhanced call processing After creating a call state and pushing the call state into the call state stack, or if the processed node is not a handover node, the enhanced call processing performs step 1301. If the enhanced call processing is being performed in a call processing environment, CALL CONTEXT module 88 returns to step 1208. If the enhanced call processing is being performed in a creation environment, CALL CONTEXT module 88 determines the "global" "record” step flags set (step 1312). If not, CALL CONTEXT module 88 repeats step 1208. If so, CALL CONTEXT module 88 sets the status flag of the call context to "wait" (step 1314) and returns to step 1200.
  • Step 1314 causes execution of the CCPI record being call processed to stop.
  • the execution path taken through the CCPI record is visually indicated by displaying one node at a time and tracing the execution path between the nodes.
  • the operator can select the "STEP" option of the EXECUTE menu, shown in Fig. 30, t execute the next node.
  • the operator selects the STEP option the call context for the corresponding CCPI record is placed on the call input queue.
  • CALL CONTEXT module 88 determines whether either the "global" or "record” trac flags is set (step 1316). If not, CALL CONTEXT module 88 retur to step 1200. If so, step 1301 is repeated.
  • CALL CONTEXT module 88 returns to step 1200. If, however, it is determined that call processing is being performed in a call processing environment without a display 48 and service creation portion 54, the file sent to a creation environment (step 1318), and the processing CALL CONTEXT module 88 returns to step 1200.
  • Sending the file to a creation environment in step 1318 preferably causes a telephone window 121 to appear on the displ as shown, for example, in Fig. 7.
  • Window 121 indicates to the operator that files corresponding to CCPI records executed at a remote call processing environment have been sent to the creati environment.
  • Fig. 70 is a flow diagram illustrating an operation to provide a visual indication of the execution paths taken during enhanced call processing at a remote call processing environmen Initially, CONTROL module 106 receives the file (step 1600) and calls GRAPH module 62 to update the internal data structure representation of the graph with the information in the file (s 1602). The operator selects the telephone window 121 on the display (step 1604) and CONTROL module 106 calls DIALOG module to display a corresponding dialog box shown in Fig. 71 (step 1606). The operator then selects the "key" of the graph to be displayed (step 1608).
  • CONTROL module 106 calls OBJECT TABLE module 110 to translate the internal data structure representation of the graph into the abstract displayed representation (step 1610), CONTROL module 106 also calls SCREE module 102 to draw the graph onto the display with a "trace" visual indication of the execution path in the graph (step 1612 G.
  • Validation is considered a separate operation from testing.
  • testing a visual indication of the processing is created so that the operator can ensure that the procedure corresponding to the graph is proceeding as desired.
  • Validation is intended to determine whether the necessary connections have been allowed in creating the graph. In the preferred embodiment, validation involves use of an expert system.
  • Expert systems are available for detecting logical infractions in a processing routine and generating a list of thes infractions based on a set of rules and a knowledge base understood by the expert system.
  • the present invention employs a expert system to identify logical infractions in displayed graph 5.
  • infractions there are two types of infractions: "severe” an “warning.” Severe infractions are identified by the expert syste as problems that will produce erroneous call processing. Warning infractions are identified by the expert system as problems that may cause erroneous call processing.
  • Every cycle in the graph must have at least one DECISIO node (severe);
  • No DLN[x,y] node can precede a DLN[p,q] if x ⁇ p and y>q (warning);
  • No ANI[x,y] node can precede an ANI[p,q] if x ⁇ p and y>q (warning);
  • Fig. 72 is a flow diagram, illustrating a preferred operat of an expert system in accordance with the invention.
  • Initiall the operator selects an expert system menu (not shown in the 0 figures) (step 800).
  • CONTROL module 106 calls EXP module 76 to translate the internal data structure representati of the graph being displayed into a set of "schemas" correspond to the nodes of the graph and insert these "schemas" into a knowledge base understood by the expert system (step 802).
  • the expert system tests schemas according to a set of rules previously input to the exp system, such as the rules specified above, and generates a list errors in the graph.
  • the expert system also flags each node an branch containing an error (step 804). Flagging the nodes and
  • CONTROL module 106 then calls OBJECT TABLE module 110 to translate the internal data structure representation into the abstract displayed representation (step 806), and calls SCREEN
  • the 2 module 102 to translate the abstract displayed representation i the displayed graph (step 808).
  • the flagged nodes are highligh on the screen to identify the error nodes.
  • the operator readily identify errors in the graph and correct these errors i necessary.
  • the operator may also
  • step 810 selects the highlighted node (step 810) to display a list of err for the highlighted node (step 812).
  • Examples of known expert systems which can be used in acco dance with the present invention include the Automated Reasoning Tool (ART) produced by Inference Corporation and the g5 Laser Expert System produced by Bell Atlantic Knowledge System Corporation. Other expert systems are available and can be use in accordance with the present invention.
  • ART Automated Reasoning Tool
  • g5 Laser Expert System produced by Bell Atlantic Knowledge System Corporation.
  • Other expert systems are available and can be use in accordance with the present invention.

Abstract

A method and apparatus for creating customized call processing information (CCPI) records to permit customized telephone services for individual subscribers to a telephone network. In particular, a data processing system (20) for designing a procedure to direct a telephone network to provide requested services to a customer of the network, preferably comprising a display terminal (48) for displaying a visual representation of the procedure; and a control device (40), coupled to the display terminal (48), for causing the display terminal (48) to display the visual representation based upon multilevel data, the multilevel data including a graphical representation level containing display information for the visual representation; a data structure level containing data, organized in data structures, which correspond to the display information; and a code level to implement the requested services, the code level corresponding to the data in the data structures.

Description

Systems and Processes for Specifying Customized Telecommunication Services
Background of the Invention
The present invention relates generally to the field of providing customized services, and more specifically to the problem of providing customized telephone services.
Implementing new telephone services has long been a problem for telephone companies. In today's advanced intelligent network ("AIN") , when a new service such as call waiting is developed, the economics of developing and implementing that service require that the service be provided on a mass scale to as many customers as possible. Oftentimes, even if a service is desired by some customers,
the service may never be implemented if that service cannot be mass marketed, or otherwise economically justified. Telephone functions are presently provided to a customer by allowing that customer to select desired functions from a limited number of available services. This approach, which has been called programming a service, may leave many customers without desired functionality. For example, a customer who wants call waiting, but in a form slightly different from what is made generally available, may be told that his simple requests cannot be met.
Moreover, adding a new service to existing services creates significant problems due to possible interaction between the new and existing services. This creates additional obstacles to implementing new telephone services. For example, it is very possible that adding a new service, such as call waiting, may be incompatible in certain circumstances with an existing service, such as call transfer on busy. The usual solution to such interaction problems is to prevent both services from being used by the customer simultaneously. This, of course, limits the power of the new service.
Even when services are compatible, the conventional approach to providing customer services often forces a customer desiring a few limited features of several services to subscribe to several complete services. This is both costly and inefficient.
PCT International Application Number PCT/U.S. 84/01610 teaches a method for defining an individual service for an individual customer. In that method, a telephone service is / performed by a customer program which a customer defines using conventional program sequences. The program may be executed on the customer's host computer external to the telephone network when a call is processed. Although this method permits a new individual customer service to be configured without modifying the telephone network switching system software, the applicability of such a method is extremely limited. For example, this method cannot implement a new service on a network wide basis because each service is specific to the customer who designed it. This method also requires every customer who uses the service to have an individual host computer external to the telephone system. Furthermore, designing a service requires a computer programmer to write program sequences to define the service, and a programer must make changes to the program sequences to modify the service.
Although the attempt at customization in PCT/ϋ.S. 84/ 0160 is laudable, it highlights the problems which designers have faced in attempting to leave the conventional philosophy of programming a service. One problem is the hardware limitations. The software for developing a customized service for each user must be able to be used on different platforms so that the capability of designing services, as well as testing them, can be made available to as many users as possible.
In addition, the design of services cannot require standard programming because the cost and difficulty of providing such customization will make it too expensive to employ.
Accordingly, it is desirable to have a system capable of providing multi-function, single services that can be implemented and used economically.
Another desirable feature for such a system would be a mechanism for designing multi-function, single services easily and without need for knowledge of the underlying sys¬ tem. Yet another desirable feature would be easy transportability of the system, or of parts of the system, to other machines or devices.
Additional desires of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the appended claims. Disclosure of the Invention To achieve the foregoing desires, and in accordance with the purposes of the invention as embodied and broadly described herein, this invention provides a system which has different levels which provide different functions.
In particular, a data processing system for designing procedure to direct a telephone network to provide requested services to a customer of the network, preferably comprises display terminal for displaying a visual representation of the procedure; and a control device, coupled to the display terminal, for causing the display terminal to display the visual representation based upon multilevel data, the multilevel data including a graphical representation level containing display information for the visual representation a data structure level containing data, organized in data structures, which correspond to the display information; and a code level to implement the requested services, the code level corresponding to the data in the data structures.
Also in accordance with the purposes of the invention as embodied and broadly described herein, this invention provides a method of storing a procedure in a data processin system to direct a telephone network to provide requested services to a customer of the network. Preferably, this method comprises the steps of: storing, in a graphical representation level, display information for the visual representation of the procedure; storing, in a data structur level, data organized in data structures, which correspond t the display information; and storing, in a code level, executable code to implement the requested services, the executable code corresponding to the data in the data structures.
Brief Description of the Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred implementations of this invention and. together with the general description given above and the detailed description of the preferred implementations given below, serve to explain the principles of the invention. in the drawings:
Fig. 1 is an example of a "graph" customer interface;
Fig. 2 is an example of a "form" customer interface;
Fig. 3 is a functional block diagram of the advanced intelligent network; Fig. 4A is a functional block diagram of a service management system in accordance with one embodiment of the present invention;
Fig. 4B is a functional block diagram of a service control point in accordance with one embodiment of the present invention;
Fig. 4C is a functional block diagram of a service control point in accordance with another embodiment of the present invention;
Fig. 4D is a functional block diagram of a personal computer in accordance with one embodiment of the present invention;
Fig. 5 is a schematic representation of three software levels corresponding to three representations of services in accordance with one embodiment of the present invention; Fig. 6A is a schematic representation of program modules corresponding to an internal data structure of services in accordance with one embodiment of the present invention;
Fig. 6B is a schematic representation of program modules corresponding to an binary representation of services in accordance with one embodiment of the present invention;
Fig. 6C is a schematic representation of program modules corresponding to a displayed representation of services in "graph" form in accordance with one embodiment of the present invention;
Fig. 6D is a schematic representation of program modules corresponding to a displayed representation of services in "form" form in accordance with one embodiment of the present invention;
Fig. 7 illustrates a MAIN operator interface window in accordance with one embodiment of the present invention;
Fig. 8 illustrates a MAIN operator interface window, as well as the options for the MAIN menu selection in accordance with one embodiment of the present invention;
Fig. 9 illustrates a system variables dialog box in accordance with one embodiment of the present invention; Fig. 10 illustrates a Tcap messages dialog box in accordance with one embodiment of the present invention;
Fig. 11 illustrates a MAIN operator interface window, as well as the options for the DATABASE menu selection in accordance with one embodiment of the present invention;
Fig. 12 illustrates a MAIN operator interface window, as well as the options for the TEMPLATE menu selection in accordance with one embodiment of the present invention;
Fig. 13 illustrates a MAIN operator interface window, as well as the options for the OPTIONS menu selection in accordance with one embodiment of the present invention;
Fig. 14 illustrates a MAIN operator interface window, as well as the options for the LIBRARY menu selection in accordance with one embodiment of the present invention; Fig. 15 illustrates a graph edit pad interface window in accordance with one embodiment of the present invention;
Fig. 16 illustrates a graph edit pad interface window, as well as the options corresponding to the GRAPH menu selection in accordance with one embodiment of the present invention;
Fig. 17 illustrates an Open New graph dialog box in accordance with one embodiment of the present invention;
Fig. 18 illustrates an Open graph dialog box in accordance with one embodiment of the present invention; Fig. 19 illustrates a Save As dialog box in accordance with one embodiment of the present invention;
Fig. 20 illustrates a Warning dialog box in accordance with one embodiment of the present invention; Fig. 21 illustrates an Add Node dialog box in accordance with one embodiment of the present invention;
Fig. 22 illustrates an Enter LATA dialog box in accordance with one embodiment of the present invention;
Fig. 23 illustrates an Edit Carrier dialog box in accordance with one embodiment of the present invention;
Fig. 24 illustrates a graph edit pad interface window, as well as the options corresponding to the EDIT menu selection in accordance with one embodiment of the present invention;
Fig. 25 illustrates the graph edit pad interface window, as well as the options corresponding to the VARIABLE menu selection in accordance with one embodiment of the present invention;
Fig. 26 illustrates a Call Variables dialog box in accordance with one embodiment of the present invention;
Fig. 27 illustrates a Graph Variables dialog box in accordance with one embodiment of the present invention; Fig. 28 illustrates a Graph Variables dialog box in accordance with another embodiment of the present invention;
Fig. 29 illustrates a graph edit pad interface window, as well as the options corresponding to the OPTION menu selection in accordance with one embodiment of the present invention;
Fig. 30 illustrates a graph edit pad interface window, as well as the options corresponding to the EXECUTE menu selection in accordance with one embodiment of the present invention; Fig. 31 illustrates a graph edit pad interface window, as well as the options corresponding to the VALIDATE menu selection in accordance with one embodiment of the present invention;
Fig. 32 illustrates a graph edit pad interface window, as well as the options corresponding to the INTERFACE menu selection in accordance with one embodiment of the present invention; Fig. 33 is a flow diagram of the operation of a service creation portion to initiate creation of a new graph in accordance with one embodiment of the present invention;
Fig. 34 illustrates an example of a graph using a TIME node in accordance with one embodiment of the present invention;
Fig. 35 illustrates an example of a graph using a DLN node in accordance with one embodiment of the present invention;
Fig. 36 illustrates an example of a graph using a PERCENT node in accordance with one embodiment of the present invention;
Fig. 37 illustrates an example of a graph using a DAY node in accordance with one embodiment of the present invention;
Fig. 38 illustrates an example of a graph using an ANI node in accordance with one embodiment of the present invention;
Fig. 39A illustrates an example of a graph using a NET node in accordance with one embodiment of the present invention;
Fig. 39B illustrates an example of a graph using a NET node in accordance with another embodiment of the present invention;
Fig. 40 illustrates an example of a graph using a DATE node in accordance with one embodiment of the present invention;
Fig. 41 illustrates an example of a graph using a LATA node in accordance with one embodiment of the present invention;
Fig. 42 illustrates an example of a graph using a RESULT node in accordance with one embodiment of the present invention;
Fig. 43 illustrates an example of a graph using a ROUTING NUMBER node in accordance with one embodiment of the present invention; Fig. 44 illustrates an example of a graph using a CARRIER node in accordance with one embodiment of the present invention;
Fig. 45 illustrates an example of a graph using a GET10DIGITS node in accordance with one embodiment of the present invention;
Fig. 46 illustrates an example of a graph using a STORE node in accordance with one embodiment of the present invention;
Fig. 47 illustrates an example of a graph using a PROCEDURE node in accordance with one embodiment of the present invention;
Fig. 48A illustrates a DECISION node template dialog box in accordance with one embodiment of the present invention;
Fig. 48B illustrates a DECISION node template dialog box in accordance with another embodiment of the present invention;
Fig. 49A illustrates an ASSIGNMENT node template dialog box in accordance with one embodiment of the present invention;
Fig. 49B illustrates an ASSIGNMENT node template dialog box in accordance with another embodiment of the present invention;
Fig. 50A illustrates a PROCEDURE node template dialog box in accordance with one embodiment of the present invention;
Fig. 50B illustrates a PROCEDURE node template dialog box in accordance with another embodiment of the present invention;
Fig. 51A illustrates a CONVERSATIONAL node template dialog box in accordance with one embodiment of the present invention; Fig. 51B illustrates a CONVERSATIONAL node template dialog box in accordance with another embodiment of the present invention; Fig. 52 is a flow diagram illustrating a general edit operating procedure performed by a service creation portion to build a graph after a graph has been initiated, in accordance with one embodiment of the present invention;
Fig. 53 is a flow diagram illustrating an operation of a service creation portion for adding a node to a graph in accordance with one embodiment of the present invention.
Fig. 54 is a flow diagram illustrating an operation of a service creation portion for adding a branch to a graph in accordance with one embodiment of the present invention;
Fig. 55 is a flow diagram illustrating an operation of a service creation portion for editing a value in a graph in accordance with one embodiment of the present invention; Fig. 56 is a flow diagram illustrating an operation of a service creation portion for connecting one node in a graph to another node in a graph in accordance with one embodiment of the present invention;
Fig. 57 is a flow diagram illustrating an operation of a service creation portion to hide a portion of a displayed graph in accordance with one embodiment of the present invention;
Fig. 58 is a flow diagram illustrating an operation of a service creation portion to delete a predetermined portion of a graph in accordance with one embodiment of the present invention;
Fig. 59 is a flow diagram illustrating an operation of a service creation portion to delete a node from a graph in accordance with one embodiment of the present invention; Fig. 60 is a flow diagram illustrating an operation of a service creation portion to open an existing stored graph in accordance with one embodiment of the present invention;
Fig. 61 is a flow diagram illustrating an operation of a service creation portion to save a graph to a database in accordance with one embodiment of the present invention; Fig. 62 is a functional block diagram of a call processing portion in accordance with one embodiment of the present invention; Figs. 63A and 63B are flow diagrams of a call processing operation of a COMMUNICATE module in accordance with one embodiment of the present invention; Figs. 64A and 64B are flow diagrams illustrating a call processing operation of a MESSAGE HANDLER module in accordance with one embodiment of the present invention;
Fig. 65 is a functional block diagram of a call context in accordance with one embodiment of the present invention; Fig. 66 is a functional block diagram of a call state in accordance with one embodiment of the present invention;
Fig. 67 is a flow diagram of a call processing operation performed by a CALL CONTEXT module in accordance with one embodiment of the present invention; Figs. 68A and 68B are flow diagrams illustrating a call processing operation to provide visual indications of an execution of a service as performed by a CALL CONTEXT module in accordance with one embodiment of the present invention;
Fig. 69 is a flow diagram illustrating an operation for setting "global," "step" and "trace" flags in accordance with one embodiment of the present invention;
Fig. 70 is a flow diagram illustrating an operation to provide a visual indication of an execution path taken during enhanced call processing at a remote call processing environment, in accordance with one embodiment of the present invention;
Fig. 71 illustrates a dialog box for selecting services for visual indication in accordance with one embodiment of the present invention; and Fig. 72 is a flow diagram illustrating an operation of an expert system in accordance with one embodiment of the present invention.
Best Mode for Carrying Out the Invention Reference will now be made in detail to the construction and operation of preferred implementations of the present invention which are illustrated in the accompanying drawings. In those drawings, like elements and operations are designated with the same reference numbers. The following description of the preferred implementations of the present invention is only exemplary of the invention. The present invention is not limited to these implementations, but may be realized by other implementations.
A. OVERVIEW
The present invention overcomes the disadvantages of conventional systems by providing to telephone services service programs customized to the desires of individual customers requesting individualized functionality. As used in this application, "customer" refers to the entity for which a service is provided, and "user" or "operator" refers to the person using the system to create, test or modify the service. The user and customer may be the same, but they need not be. Although the following description focuses on telephone services, the invention has broader uses and is not necessarily limited to telephone services in all instances.
1. Software Components:
The preferred embodiment of the present invention includes a customized services ("CS") application to create and, in certain circumstances, execute each customer's service procedure or program. Each customer's service program is stored as a record or a series of records of customized call processing information (CCPI) in a database. The CS application and the CCPI are the principal software components of the preferred implementation.
The CS application preferably includes a programming interface which permits an operator to use the CS application to create various user interfaces to obtain information, directly or indirectly, in a manner which is relatively easy to use. The information is used to generate the CCPI records automatically. - 13 -
User interfaces can be tailored to the skill level of an operator, which can be the customer, using the CS application to create customers service programs, to the specific service to be provided, or to the specific hardware on which the service will be created, such as bit map graphics, terminal displays or DTMF telephones.
Fig. 1 illustrates an example of a customer interface, shown as a graph 5, providing a graphical representation of CCPI record created on a graphics workstation display. The CCPI record corresponding to this graph provides a service for a customer identified via a "key" in rectangle 6. The specific service provided by the CCPI record for graph 5 is the screening of calls from the telephone having the phone number (201) 699-2911. The details of how a CCPI record provides such a service to various phone numbers having a "976" extension will be explained in detail below.
In Fig. 1 the programming interface of the CS application has been used to provide a graphic user interfac to allow construction of graph 5. The present invention, however is not limited only to implementations requiring a graphic user interface. If, for example, the interface used to build graph 5 is too resource intensive to allow efficien preparation of similar graphs for every subscriber, an alternative interface can be selected.
Fig. 2 shows a form user interface 8 which can be used to provide the same "976" call screening service as graph 5 does. Form interface 8 requires a customer or operator to insert only a small amount of information, and thus requires less time and skill than creating graph 5. The programming interface for providing "976" form interface automatically translates the information input by the operator into a CCPI record corresponding to the desired service. Using a different user interface, an operator can display this same CCPI record or records in a different form.
In the preferred implementation of the present invention, the CCPI record or records corresponding to a service are created in a creation environment of the CS application and are executed during call processing in a call processing environment of the CS application. As used herein, "call processing" refers to the acts of responding to a message or query from a switch or switch simulator. A switch is a piece of telephone equipment which receives and routes telephone calls. As explained below, CCPI records may be executed in either the creation environment or the call processing environment.
10
2. Hardware Alternatives
In a preferred embodiment, the present invention is implemented in the advanced intelligent network (AIN) . Fig. 3 is a block diagram of the AIN. The AIN comprises ASC AIN 15 switching capabilities switch ("ASC switch") 12, adjunct 14, service node (SN) 16, service control point (SCP) 18 and service management system (SMS) 20. The present invention can also be implemented on a personal computer (PC) 22 connected to SMS 20, SCP 18, adjunct 14, or SN 16 via modems -20 24.
In a preferred embodiment, the CS application can be executed on SMS 20, SCP 18, adjunct 14, SN 16 or PC 22. As will be explained below in the discussion of the different implementations, the functionality of the CS application may 25 differ depending upon which component executes the CS application.
In the preferred embodiment of the present invention, the CS application provides for both the creation of a CCPI record (service creation) through an operator interface, and 30 for the execution of CCPI records during call processing.
However, the CS application can provide only the creation or the execution of CCPI records.
Figs. 4A-4D illustrate different network elements which can execute the CS applications. 5 Fig. 4A is a functional block diagram of SMS 20. SMS 20 comprises CPU 40, database 42, operator interface 44 and CS application 46. Operator interface 44 preferably comprises display 48, keyboard 50 and mouse 52, each connected to CPU 40. CS application 46 includes service creation portion 54 and call processing portion 56. A CCPI record can be created at SMS 20 via operator interface 44 an can also be used by SMS 20 to process calls input to CPU 40 via any number of sources such as a network switch simulator or a dedicated testing switch (not shown).
CS application 46 could contain only service creation portion 54 for creating a CCPI record at SMS 20. In such a configuration, a CCPI record created at SMS 20 would be transferred to SCP 18 (Fig. 4B) for execution during real time call processing.
Alternatively, CS application 46 in Fig. 4A may comprise only call processing portion 56 for processing call in a simulated environment using CCPI records created elsewhere and stored in database 42. In this arrangement, SMS 20 would only be used for testing, not service creation. Further, as discussed in greater detail below, call processing portion 56 provided in SMS 20 is preferably an enhanced version which permits a visual indication of the execution of a CCPI record on a graph displayed to an operator.
Fig. 4B is a preferred embodiment of a functional bloc diagram implementing CS application 46 in SCP 18. SCP 18 comprises CPU 58, database 60, and CS application 46. In Fig. 4B, CS application 46 comprises only call processing portion 56. This is because SCP 18 typically provides no operator interface 44 (Fig. 4A), therefore, creation of a CCPI record is not usually performed at SCP 18. if, as in Fig. 4C, operator interface 44 is provided a SCP 18, CS application 46 may include service creation portion 54 to permit creation of a CCPI record at SCP 18. I Figs. 4B and 4C, call processing portion 56 processes messages provided by ASC switch 12 (Fig. 2) by executing the CCPI records stored in database 60.
If operator interface 44 is provided in SCP 18, call processing portion 56 would be an enhanced version of call processing portion 56 to permit a visual indication of the execution of the CCPI record at SCP 18. As described in more detail below, if an enhanced version of call processing portion 56 is used in SCP 18 without interface 44, a visual indication of the execution of the CCPI record can be transferred to another environment which provides operator interface 44 and service creation portion 54 for displaying the execution path of a CCPI record on the graph corresponding to the CCPI record. Implementation of CS application 46 in either adjunct 14 or SN 16 is provided in a manner similar to implementation of CS application 46 in SCP 18.
As shown in Fig. 4D, implementation of CS application in PC 22 is similar to that for SMS 20 in Fig. 4A. CS application 46 in PC 22 preferably includes service creation portion 54 and call processing portion 56. Alternatively, CS application 46 may include either service creation portion 54 or call processing portion 56 to perform either of the associated functions, with the functions which are not being performed being provided in an alternative environment. Call processing portion 56 may be an enhanced version to permit a visual indication of the execution of a CCPI record as PC 22.
B. Architecture of the Software The displayed representation of a CCPI record is extremely useful in that it permits an operator or a customer to customize, create and understand the desired telephone service. The displayed representation is merely an aid to the understanding of the design of the corresponding service; however, the displayed representation cannot be interpreted directly by the call processing environment. The displayed representation of the CCPI record must therefore be translated into a binary representation which can be stored and used to process calls in a call processing environment. In the preferred implementation of the present invention, the displayed representation of the CCPI record is first translated into an internal representation comprising data structures and pointers representing the CCPI record. and eventually into the binary representation. Fig. 5 shows this schematically.
Software 51 has three levels corresponding to three representations of the CCPI record. Display level 53 is used to provide the displayed representation of a CCPI record, such as that shown in Figs. 1 and 2. Level 53 preferably contains two sublevels: sublevel 55 and level 57. Sublevel 55 is used to form the actual display for the corresponding display terminal. Sublevel 57 contains information on "objects" used to form the displayed representation. For example, in the display shown in Fig. 1, the objects may refer to the diamonds and rectangles used to form graph 5. The division of level 53 into sublevels aids in porting software 51 to different platforms. Preferably, the software at level 53 is written in the IBM C-2 1.1. language, designed according to an object-oriented design methodology. The program is also preferably written to the ANSI C standard so that it will compile under C++. Data structure level 59 contains an internal representation of the service preferably stored in data structures. Details of the data structures are not necessary to the understanding of this invention, however, it should be noted that the software at level 59 is less machine dependent than that at level 53 because the software at level 59 can be used with many different types of displays, e.g., forme or graphs, and many different types of hardware.
The actual binary representation of the service is at binary code level 61. Level 61 is the only representation stored for execution in the preferred embodiment. The binary representation is the most machine independent.
When a CCPI record is stored to a database, such as database 42 in Fig. 4A, or retrieved from a database, modules corresponding to the binary representation of the CCPI record translate the internal graphical representation of the CCPI record into the binary representation of the CCPI record. Each representation of a CCPI record is manipulated by a set of modules in the software. A "module" consists of a set of subroutines which are used to manipulate some physical or conceptual object.
The "module" concept is at the heart of the object-oriented design in the preferred implementation of this invention, although the module is not necessary to carry out the invention in all of the implementations. A set of modules is associated with each representation of a CCPI record. The set of modules associated with the binary representation of a CCPI record (level 61 in Fig. 5) is responsible for storing and retrieving the CCPI record to and from the database. This set of modules also executes the instructions of the CCPI record.
A set of modules associated with the internal data structure representation of a CCPI record (level 59 in Fig. 5) is responsible for manipulating the instructions and structure of the CCPI record. These modules are also responsible for translating the binary representation of level 61 into the internal data structure representation of level 59.
A set of modules associated with the displayed representation of the CCPI record (level 53 in Fig. 5) is responsible for translating the internal data structure representation into the displayed representation and presenting and collecting information to and from an operator. These modules would generally be written by an individual (such as a programmer) and use the programming interface (i.e., the interface between levels 53 and 59) of the modules corresponding to the internal data structure representation of the CCPI record to create new interfaces for customer services.
1. Modules Corresponding to Internal
Data Structure Representation Level Fig. 6A shows the preferred modules for level 59.
GRAPH module 62 organizes and maintains a set of nodes in a graph. Important operations of this module include translating the internal data structure representation into the binary representation and visa versa, as well as adding and deleting nodes from the graph in the internal data structure representation. NODE module 64 manages a single CCPI record instruction, and modifies the parameters of a node.
Included in NODE module 64 is BRANCH module 66. Branch module 66 manages each branch of a DECISION node. DECISION nodes are explained in greater detail below. Included in each BRANCH module 66 is BRANCH VALUE module 68. BRANCH VALUE module 68 manages every value in each branch of a DECISION node.
GRAPH AND NODE CONTROL module 70 represents a higher level abstraction of nodes and graphs, and provides mechanisms for adding, editing and deleting nodes from a graph.
TEMPLATE module 72 provides a template for creating new nodes. TEMPLATE module 72 evaluates a template to determine what information is needed to create a node, and to generate a node once the information is complete.
LABEL module 74 provides the mechanisms for parsing and generating string objects.
EXPERT module 76 manages an expert system, translates the internal data structure representation of a CCPI record into schemas used by an expert system (explained below), and helps evaluate responses received from the expert system.
2. Modules Corresponding to Binary Representation Level Fig. 6B shows the preferred modules for level 61 shown in Fig. 5.
GRAPH BUFFER module 78 manages the binary representation of the CCPI records as shown in Fig. 5. GRAPH BUFFER module 78 also orchestrates the execution of the CCPI records.
NODE BUFFER module 80 manages the binary representation of a single instruction in a CCPI record. KEY module 82 manages the data structures that stores "keys" for the CCPI records. Keys are used to access the records directly. Important operations include comparing the records to externally provided keys.
COMMUNICATION module 84 manages communication ports which transfer query messages and CCPI records between AIN network elements. COMMUNICATION module 84 facilitates reading from and writing to the ports. MESSAGE HANDLER module 86 represents a device for passing messages into and out of call processing routines. In particular, MESSAGE HANDLER modules 86 converts messages into call contexts and converts call contexts into messages. Call contexts are the data structures for managing the calls. CALL CONTEXT module 88 manages the execution of CCPI records. Included in CALL CONTEXT module 88 is CALL STATE module 90 which manages the information associated with each CCPI record being executed during call processing.
VARIABLE module 92 manages call variables associated with the execution of a CCPI record.
STACK module 94 provides conventional stack functions, such as push and pop operations.
LINK module 96 provides conventional linked list functions. DATABASE module 98 manages a database, and provides mechanisms for reading, writing, opening, closing and updating a database.
MAIL module 100 sends and retrieves CCPI records between the AIN network elements identified in Fig. 3. The sending and receiving of records preferably uses conventional data transfer techniques.
3. Modules for Displayed Representation Level As explained above, the modules corresponding to the displayed representation of CCPI records will generally be written by an individual (such as a programmer) and use the programming interface of the modules corresponding to the internal representation of the CCPI records to create new services. These modules generate the displayed interface on the display screen and present information to and collect information from an operator creating a new service. Fig. 6C illustrates a preferred set of modules corresponding to the displayed representation of a CCPI record for providing the flow chart styled interface ("graph interface") such as graph 5 shown in Fig. 1.
Fig. 6D illustrates a preferred set of modules corresponding to the displayed representation a CCPI record for providing a form interface such as the "976" call screening form interface shown in Fig. 2. In both displayed representations, the modules are preferably divided to correspond to an applied displayed representation of the CCPI record and an abstract displayed representation of the CCPI record. An applied displayed representation is the visual image displayed on the screen, while the abstract displayed representation defines the images to be displayed and coordinates them onto an abstract plane. The modules corresponding to the applied displayed representation of a CCPI record are identical for both the graph interface and the form interface.
SCREEN module 102 draws the displayed interface onto the screen and clears the screen. DIALOG module 104 manages the dialog boxes which can be displayed to the operator. Important operations for this module include clearing, presenting and retrieving information from the operator via dialog boxes.
CONTROL module 106 manages the state of the interface, including mouse clicks and menu selections made by the operator. The CONTROL module also handles events generated from external communication ports.
WINDOW TABLE module 108 manages information about each graph editing pad window, including which windows are open or closed and which CCPI records are displayed in which windows. Important operations for this module include correlating a call context with a window and setting and storing parameters for each graph editing pad window. Fig. 6C illustrates the OBJECT TABLE module 110 and OBJECT module 112. OBJECT TABLE module 110 manages the collection of objects used in the abstract displayed representation of a CCPI record. Important operations of the OBJECT TABLE module 110 include translating the internal data structure representation into the abstract displayed representation, and adding an object to, as well as deleting an object from, an object table (not shown). OBJECT module 112 manages information corresponding to an object or figure to be drawn on a display screen. OBJECT module 112 sets parameters, such as location, size and shape for each object or figure to be drawn on the screen.
Fig. 6D illustrates a preferred module corresponding to the abstract displayed representation of a CCPI record for providing a form interface, such as the "976" call screening interface shown in Fig. 2.
PROVISION module 114 translates the internal data structure representation of a CCPI record into an abstract representation corresponding to the form interface, and interfaces with the program interface at the modules corresponding to the internal data structure of a CCPI record to provide for the form interface.
In an alternative embodiment, module 114 may be included in with the graph interface modules of Fig. 6C .
This would allow CCPI records to be displayed as either the "976" call screening form shown in Fig. 2, or the graph corresponding to this service shown in Fig. 1.
As explained above, each display interface creates and displays a set of CCPI records. This set corresponds to a service concept which the interface is designed to support. If a CCPI record is created by one interface and falls within the set of CCPI records that can be created by a different interface, that CCPI records can be displayed by both interfaces. C. Service Creation Usinσ Graph Interface
Prior to discussing the creation of a service, an explanation of the operation of a service will be given as background. Reference will be made to graph 5 in Fig. 1 fo the explanation.
In Fig. 1, rectangle 6 contains the "name" or "key" fo graph 5. This "key" identifies whether the graph controls calls made from the phone number identified in the rectangle 6 (identified by the ".e04" suffix) or calls being made to the phone number identified in rectangle 6 (identified by th " .e05 suffix) .
The remainder of graph 5 comprises a plurality of node 25, decision boxes 30, and branches (not labelled) between the nodes 25 and decision boxes 30. Each node 25 represents a high level instruction in the CCPI record corresponding to the graph. Decision boxes 30 correspond to decision nodes (nodes 25a and 25i) and identify alternative execution paths depending on the result provided by the corresponding decision node.
Graph 5 corresponds to a CCPI record used to call process a phone call being made from phone number (201) 699- 2911. The CCPI record corresponding to graph 5 screens from the phone number (201) 699-2911 all calls which the customer does not wish to be completed. For example, telephone calls made to the phone number "976-1212" are routed between the hours of 7:00 p.m. to 9:00 p.m., as are any phone calls made to the number "976-1234" during the hours of 6:00 p.m. to 8:00 a.m. and any phone calls made to the number "976-1224" at any time. Calls to any other number with the "976" exchange, calls to "976-1234" between 8:00 a.m. and 6:00 p.m., and calls to "976-1212" between 9:00 p.m. and 7:00 a.m. are subject to PIN (Personal Identification Number) override. If the caller supplies the PIN of 2558, the call is routed. Otherwise, a busy signal is produced.
This service is provided.for by graph 5 as follows. Initially, decision node 25a checks the NXX (i.e., fourth, fifth and sixth digits of the phone number)(the exchange). Decision boxes 30a and 30b identify the two decision possibilities which require separate attention. If the call is not a "976" exchange (other) the call is routed by node 25b.
If the call is a "976" exchange, node 25c checks the last four digits (the extension) at node 25c. If the last four digits are "1212" (decision box 30c) node 251 checks the time of day. If the call is placed between the hours of 7:00 p.m. and 9:00 p.m., the call is routed (decision box 30g and node 25d) .
If the call is placed any other time of the day (decision box 30h), the call is to be prevented unless the proper PIN is provided. Node 25e prompts the caller to input a PIN. Node 25f checks the result. If the caller inputs PIN "2558" (decision box 30e), the call is routed by node 25g. If the caller inputs any other PIN (decision box 30k), node 25h provides the caller with a busy signal.
If the last four digits of the phone number being called are "1234" (decision box 301) node 25i checks the time. If the call is being placed between the hours of 8:00 a.m. and 6:00 p.m. (decision box 30i), the PIN operation is again performed beginning at node 25e. This is illustrated in Fig. 1 by the circle 26a which contains a numeral 1. Note that the PIN node 25e has a "number 1:" next to it. This indicates that the graph continues execution starting with that node. If the call is being placed at any other time of day (decision box 30j), the call is routed by node 25j. If the last four digits of the phone number being called are "1224" (decision box 30e), the call is routed by node 25k.
If the last four digits of the phone number being called are something other than "1212," "1234," "1224" (decision box 30f), the PIN operation is repeated, as indicated by the circle 26b.
With this explanation of graph 5, the steps of graph creation and editing can be addressed. Creation and editing of a graph, such as graph 5, preferably involves windows and menus.
l. Menus
Fig. 7 represents operator interface window 120. Main window 120 comprises a menu bar 122 identifying seven menus: MAIN, DATABASE, TEMPLATE, DATA, OPTIONS, LIBRARY and EXIT. An operator "clicks" on any of the menu options to select a desired menu. The "remote" window 121 shown inside 120 is optional and will be described in detail below.
Fig. 8 is a display of the main operator interface window 120 showing the options 124 for the MAIN menu. These options include: GRAPH EDIT PAD, SYSTEM VARIABLES, TCAP MESSAGES, MAIL MESSAGES and SWITCH SIMULATOR. The GRAPH EDIT PAD option opens a GRAPH EDIT PAD window which is used to create, edit and save graphs.
The SYSTEM VARIABLES option opens a system variable window, as shown in Fig. 9, which displays the call variables of the operating environment, such as time, day and date. From this window, the operator can change the values of the system call variables.
The TCAP MESSAGE option opens the TCAP MESSAGE window as shown in Fig. 10. This window displays the query messages from a switch or switch simulator, not shown in Fig. 10.
The MAIL MESSAGES option opens a MAIL MESSAGE window (similar to the TCAP message window, therefore, not shown) which displays the messages associated with the exchange of CCPI records to other devices in the AIN network. The SWITCH SIMULATOR option opens a SWITCH SIMULATOR window (not shown) so that the operator can generate queries into the application for testing CCPI records.
Figure 11 is a display of the main interface window 120 showing the options 126 for the DATABASE menu. These options include: NEW, OPEN, COPY and DELETE. The NEW option displays a dialog box to prompt the operator for a database name and creates the new database. The OPEN option displays a dialog box to prompt the operator for a database name to open an existing database. The COPY option displays a dialog box to prompt the operator for two database names and copies the first database into the second database. The DELETE option displays a dialog box to prompt the operator for a database name to delete that database.
Figure 12 is a display of the main interface window 120 showing the options 128 to the TEMPLATE menu. These options include: NEW DECISION, NEW ASSIGNMENT, NEW CONVERSATION, NEW PROCEDURE, EDIT and DELETE. Templates, as explained below in greater detail, are used to create graph elements, called nodes, which the system does not record as standard.
The NEW DECISION option displays a dialog box for the operator to create a NEW DECISION node template. The NEW ASSIGNMENT option displays a dialog box for the operator to create a NEW ASSIGNMENT node template. The NEW CONVERSATION option displays a dialog box for the operator to create a NEW CONVERSATION node template. The NEW PROCEDURE option displays a dialog box for the operator to create a NEW PROCEDURE node template.
The EDIT option displays a list of node templates (not shown). The operator selects the node template to be edited, and a dialog box with the template information is presented to the operator. The operator can make desired changes to the template information.
The DELETE option also presents the operator with a list of node templates from which the operator can select templates to delete.
Fig. 13 is a display of the main interface window 120 showing the options 130 for the OPTIONS menu. These options include: EXECUTION and EDIT.
The EXECUTION option displays a dialog box allowing the operator to set the global "step" and "trace" flags. As explained below in more detail, the step flag is set to allow an operator to step through the graph during call processing. The trace flag is used to highlight the execution path taken through a graph during call processing. The EDIT option displays a dialog box allowing the operator to select the information to be displayed in the graph nodes. The two types of information generally selecte are the node title and the node value. Examples of these dialog boxes are described below.
Fig. 14 is a display of the main interface window 120 showing the options 132 for the LIBRARY menu. These options include: CHECKOUT, RETURN, ADD and DELETE. The CHECKOUT option displays a dialog box which the operator completes with the name of a record desired to be checked out from a remote database. The RETURN option displays a dialog box prompting the operator for the name of the CCPI record to be returned to a remote database. The operator can also add a record to the remote database or delete a record from the remote database using the ADD and DELETE options, respectively.
Fig. 15 illustrates a "graph edit pad" window 134 whic is used to create, edit and store CCPI records. This window includes a menu bar 136 including eight menu options: GRAPH, EDIT, VARIABLE, OPTIONS, EXECUTE, VALIDATE, INTERFACE and EXIT.
Fig. 16 illustrates the "graph edit pad" window 134 with options 138 of the GRAPH menu displayed. These options include: NEW, OPEN, SAVE, SAVE AS, CLOSE, DELETE, FORWARD, BACK and ITERATE. The NEW option displays a dialog box (Fig. 17) prompting the operator for a name or "key" for the recor that the operator wishes to create. The OPEN option display a dialog box (see Fig. 18) prompting the operator for the name or "key" of the graph the operator wishes to open.
The SAVE option saves to permanent storage the binary representation of CCPI records corresponding to the graph.
The SAVE AS option displays a dialog box (Fig. 19) prompting the operator for the name or "key" for a CCPI records to be saved, then saves the binary representation of the CCPI records corresponding to the graph to permanent storage. The CLOSE option displays a warning dialog box (see Fig. 20) requesting the operator for verification to complete this option. If the request is verified, all representations of the CCPI records corresponding to the graph that is currently being displayed are cleared.
The DELETE option deletes the CCPI records corresponding to the graph that is currently being displayed is deleted from the database. Again, a warning dialog box is presented to the operator.
The FORWARD option displays the CCPI record in the database following the CCPI record that is currently displayed. The BACK option displays the CCPI record in the database that precedes the CCPI record currently being displayed. The ITERATE option displays the CCPI records in the database consecutively at a predetermined interval.
Fig. 24 illustrates the "graph edit pad" window 134 with options 140 at the EDIT menu displayed. These options include: ADD NODE, ADD BRANCH, EDIT, HIDE, CONNECT, TEMPLATE, DELETE SUBTREE and DELETE NODE. The ADD NODE option displays a dialog box with a list of the nodes the operator can add (see Fig. 21). The ADD BRANCH option displays a dialog box (see Figs. 22 and 23) corresponding to the DECISION node to which the branch is being added. The operator enters the correct branch information for the selected DECISION node.
The EDIT option displays a dialog box (see Fig. 23) with information corresponding to the selected node which allows the operator to edit a node. The CONNECT option connects one portion of a graph to another portion of the graph. The TEMPLATE option displays the template for the selected node.
The HIDE option removes from the screen all nodes that are children of the selected node unless the child nodes also have a parent different from the selected node. The DELETE SUBTREE option deletes the selected node and all its children nodes from the screen and the corresponding CCPI record, unless a child node also has a parent that is different from the selected node. The DELETE node deletes a node from the graph. These last two options change the graph's functionality. The HIDE option does not. Fig. 25 illustrates the graph edit pad window 134 with the options 142 for the VARIABLE menu being displayed. These options include CALL VARIABLES and GRAPH VARIABLES. The CALL VARIABLES option displays a window containing the variables of the call context for the graph being displayed (see Fig. 26). The GRAPH VARIABLES option displays a window containing the variables of the CCPI record being displayed (see Figs. 27 and 28) .
Fig. 29 illustrates the graph edit pad window 134 with the options 144 for the OPTION menu being displayed. These options include EDIT and EXECUTION. The EDIT option displays a dialog box (not shown) with two options: TITLE and VALUE. These options are similar to the TITLE and VALUE options in the GRAPH menu, but correspond to each node separately. The EXECUTION option displays a dialog box (not shown) which allows an operator to select the "step" and "trace" flags for the CCPI record corresponding to the graph being displayed.
Fig. 30 illustrates the graph edit pad window with the options 146 of the EXECUTE menu being displayed. These options include: COMPLETE, STEP and CLEAR. The COMPLETE option completes a call processing of a CCPI record corresponding to the graph. The STEP option executes the next node of a CCPI record of the displayed graph. The CLEAR option removes a visual indication of the execution of a CCPI record corresponding to the displayed graph.
Fig. 31 illustrates the graph edit pad window 134 with the options 148 for the VALIDATE menu displayed. These options include VALIDATE, DISPLAY and CLEAR. The VALIDATE option invokes an expert system which flags any errors in the structure of the CCPI record of the displayed graph. The DISPLAY option displays a list of errors associated with the selected node. The CLEAR option clears all flagged errors from the graph. Fig. 32 illustrates the graph edit pad window 134 with the options 150 for the INTERFACE menu displayed. These options include GRAPH and FORM. The FORM option represents CCPI record as a form for a "976" call screening service (as shown in Fig. 2). The GRAPH option represents the same CCPI record as a graph (as shown in Fig. 1).
2. Operation The creation of a service will now be described with reference to certain of the windows explained above. Fig. 33 is a flow diagram of the operation of the service creation portion 54 to initiate creation of a new a graph. Initially, the operator manipulates the windows to display the main interface window shown in Fig. 7 (step 200). The operator selects the "MAIN" menu (step 202) to display the "MAIN" menu options to the operator (see Fig. 8) (step 204). The operator selects the "GRAPH" option, and CONTROL module 106 displays the "graph editing pad" window (see Fig. 15) (step 206).
The operator then selects the "GRAPH" menu (step 208) to display the "GRAPH" options (see Fig. 16) (step 210). The operator selects the "NEW" option (step 212), and CONTROL module 106 calls DIALOG module 104 to display the corresponding dialog box (Fig. 17) (step 214).
Next, the operator inputs the "key" of the graph (step 216), and CONTROL module 106 responds by calling GRAPH module 62 to allocate memory for the internal data structure repre¬ sentation of the graph being created (step 218). CONTROL module 106 also calls OBJECT TABLE module 110 to allocate memory for the abstract displayed representation of the graph to be created (step 220). GRAPH module 62 then calls GRAPH BUFFER module 78 to allocate memory for a binary representation of the graph being created (step 222). Next, CONTROL module 106 calls GRAPH module 62 to add the "key" to the internal representation of the graph being created (step 224). CONTROL module 106 then calls OBJECT TABLE module 110 to translate the internal graphical representation to an abstract displayed representation (step 226). CONTROL module 106 then calls SCREEN module 102 to translate the abstract displayed representation into the applied displayed representation "key" object (step 228), which is shown as a rectangular box containing the "key" on the graph.
The result of the steps in Fig. 33 is the initiation of new graph. At this point, only the box with the "key" is displayed. Using the operations of the "EDIT" menu and a plurality of nodes, an operator can now build a graph to define a desired service.
a. Nodes
Preferably, graphs are comprised of four types of nodes: DECISION nodes, ASSIGNMENT nodes, PROCEDURE nodes and CONVERSATION nodes. DECISION nodes control the path of execution of a graph during call processing depending according to values of call variables. ASSIGNMENT nodes assign "values" and "variables" to other "call variables." The concepts of variables and call variables are explained below. PROCEDURE nodes switch control to a different graph or to a subroutine. CONVERSATION nodes provide information to a caller or derive information from a caller in the course of processing a call.
DECISION nodes are used to branch the execution through a graph and have several important attributes. The first of these attributes is the "call variable" attribute which indicates which variable is used in determining the correct branch. Another important attribute is the "type" of the call variable which determines how the branch information will be stored and displayed, for example, as an integer or as an ASCII string. The preferred predefined DECISION node templates generate the following nodes:
TIME DAY DATE
DLN ANI LATA
PERCENT NET RESULT TIME Node - The TIME node is a DECISION node which tests for time of day when traversing a graph. The TIME node's decision branches may specify a single time, a range of time, multiple times or time ranges. The TIME node makes its decision based upon the current time of day for the call. The value of the system clock is used to determine the branch.
Fig. 34 illustrates a graph using the TIME node. In this graph, if the call placed to the 800 number shown in the rectangle is made between the hours of 8:00 a.m. and 6:00 p.m., the call is routed using a first carrier. For any other time, the call is routed using a different carrier.
DLN Node - The DLN (Dialed Line Number) is a DECISION node which represents the number to which the call is placed. The DLN node decisions are based upon one or more of the digits in the number dialed by THE calling party. The positions 0-9 of the digits of the dialed line number can be used to indicate which portion of the dialed line number the decision should be made.
Fig. 35 illustrates an example of a graph using the DLN node. in this graph, is a call being made from the number identified in the rectangle is placed to an exchange of 976, an announcement is played to the caller, and the call processing is blocked. Any call to any other exchange is routed.
PERCENT Node - The PERCENT node is a DECISION node which randomly chooses a path based on predetermined percentages. An example of a graph using the PERCENT node is shown in Fig. 36 where, the first 25 percent of phone calls made to the 800 number identified in the rectangle are routed via a first carrier; the second 25 percent of these calls are routed via second carrier; the third 25 percent are routed via a third carrier; and the fourth 25 percent are routed via a fourth carrier.
DAY Node - The DAY node is a DECISION node which allows a graph to branch based upon day of week criteria. Branches for a DAY node indicate the path of call processing when the value for the day call variable matches the branch criteria. Each branch out of a day node may contain one or more days or ranges of days.
Fig. 37 illustrates a graph using a DAY node. In this graph, if the number in the rectangle is called on Saturday or Sunday, the call is forwarded to a different telephone number. If the of the week is Monday-Friday (other), the call is routed to the number in the rectangle. ANI - In an ANI (Automated Number Identification) node, a decision is made based upon one or more of the digits in the AN string. The ANI string (a series of ASCII characters) represen the phone number of the calling party.
Fig. 38 shows an example of a graph utilizing an ANI node. The graph in Fig. 38 tests the first three digits (the area cod of the number from which the call is made. If these three digi are 303 or 719, the call is routed. If these three digits are some other three numbers, an announcement is played to the call and the phone call is blocked. NET Node - The NET node is a DECISION node which determine whether a call is on a private network or off of a private network. The NET nodes' decision branches have the values ON f an ON network call and other (or OFF). Typically, the NET DECISION node is to determine if the call is over a private telephone network. The incoming TCAP message contains the valu assigned to the NET variable. Figs. 39A and 39B each illustrat graph including a NET node.
DATE Node - The DATE DECISION node allows a graph to branc based upon day and month criteria. The branches for a date nod indicate the path the call processing should take when the valu for the date call variable matches the branch criteria.
An example of a graph using the DATE decision node is show in Fig. 40. In this graph, if the date on which the call is placed to the number identified in the rectangle is January 1, July 4 or December 25, an announcement is played to the caller, and the call processing is blocked.
LATA Node - The LATA (Local Access and Transport Area) nod is a DECISION node which tests the LATA of the originating numb Multiple LATA values or ranges of LATA values may be specified a single branch.
Fig. 41 illustrates a graph using the LATA DECISION node. the graph, if a call placed to the 800 number identified in the rectangle originates in the 252 LATA, the call is routed. Otherwise, an announcement is played, and the call processing is blocked.
RESULT Node - The RESULT node is as DECISION node which test the "DIGITS" call variable identifying dialed digits. The call variable is assigned from the information collected by a conversational message Fig. 42 illustrates a graph using the RESULT node.
ASSIGNMENT nodes assign values or call variables to other call variables. The preferred predefined ASSIGNMENT node nodes are as follows:
ROUTING NUMBER (RN) CARRIER BILLED NUMBER FINAL TREATMENT ROUTING NUMBER CR3H) - The RN node is an ASSIGNMENT node that assigns a final routing number. When a telephone number is specified, the syntax is 10 digits that represent the valid telephone number. Fig. 43 illustrates a graph using the RN node. In Fig. 43, the telephone number for the routing is displayed in the node. A call made to the 800 number identified in the rectangle is actually routed to the phone number identified in the RN node.
FINAL TREATMENT Node - This is an ASSIGNMENT node to assign a final treatment code to the final treatment variable. The final treatment code tells the switch what to do with the call, for example, route, block, busy (see, for example. Fig. 42).
CARRIER Node - The CARRIER node is an ASSIGNMENT node which allows an operator to specify which long distance carrier will route the call. When an operator adds a CARRIER node to a graph, he is requested to enter a carrier mnemonic, for example, "MCI," ATT. "
Fig. 44 shows an example of a graph using the carrier node. BILLED NUMBER - The Billed Number (BN) node is an ASSIGNMENT node which specifies a 10-digit number for the telephone number that is to be billed for the call. To create the node, an operator preferably specifies a 10-digit number in the NPANXXXXXX format described above if the node is to contain the value. Fig. 44 is an example of graph utilizing the BN node. The graph in Fig. 44 assigns a carrier, BN and RN for the "800" num identified as the key. CONVERSATION nodes are used to request and receive information from the calling party through the switch. They assign the call variables that represent the message to played a the switch and the number of digits to be collected from the calling party. The predefined CONVERSATION node templates 0 generate the following nodes:
PIN GET10DIGITS PLAYANNC
PIN Node - The PIN (Personal Identification Number) node is CONVERSATION node which requests that an announcement, "Please enter your Personal Identification Number," be played to a calle 5 requesting that a four-digit code be entered by the caller. Aft the caller enters the PIN number, the four digits become the val for the "DIGITS" call variable in the incoming conversational TC message that is returned to the application for further processing. 0 A result decision node is used to branch the execution base on the digits received.
Fig. 42 illustrates a graph using the PIN node. In the graph, which as shown is a handover graph, the caller is request to input a four-digit PIN. If the result is 1234, the call is 5 routed, any other PIN an announcement is played, and the call processing is blocked.
GET10DIGITS Node - The GET10DIGITS node is a CONVERSATION node that requests that an announcement be played to a caller to request that the caller input a 10-digit telephone number. The Q value for the GET10DIGITS node is a message number which becomes the value for the announce call variable in an outgoing conversational TCAP message. The digits entered by the operator become the value for the DIGITS call variable in the incoming conversational TCAP message that is returned to the application - for further processing.
An example of a graph including a GET10DIGITS node is shown for example, in Fig. 45. This service collects a ten-digit phon number from the calling party and routes the call to that phone number.
PLAYANNC - The PLAYANNC node allows an operator to specify a announcement message (that requests information from an operator) to be played to the caller when the call processing software encounters this node (Fig. 38).
PROCEDURE nodes allow the execution to invoke a routine on behalf of the graph being evaluated. For example, if an operator wanted to log some information about the execution, he could call a routine that he has written and invoke that through the PROCEDURE node. The preferred predefined PROCEDURE nodes are as follows:
HANDOVER PROCEDURE LOAD STORE
HANDOVER Node - The HANDOVER node (HND) is a procedure node which instructs the call processing software to leave the current graph and move to another graph to continue the call processing. The value for a HANDOVER node is the key (up to 10 characters) for the HANDOVER graph. If an operator wishes to add a HANDOVER node to a graph, he is requested to input the key for the HANDOVER graph.
The contents of a HANDOVER graph may be as complex as necessary to provide the requested service. The HANDOVER graph may contain any of the nodes, including one or more HANDOVER nodes. When finished processing a HANDOVER graph, control is returned to the calling graph.
Fig. 39A illustrates a graph including a HANDOVER node. This graph determines whether the call is "ON" or "OFF" the network (NET). If ON, the call is routed. If OFF, execution is transferred to the graph having key "offnet.hnd." Although the HANDOVER node displays the syntax "HANDOVER" to the operator, through graph manipulations (as described herein), the operator can display the values of the HANDOVER node, which is "offnet.hnd" as shown in Fig. 39B.
STORE Node - The STORE node is a PROCEDURE node which allows an operator to store values to the graph variables of a different graph. The value for the STORE node is the key of another vali graph in the system database.
The STORE node is often used in conjunction with the LOAD node when exchanging or updating call variable values from one graph to another. Fig. 46 illustrates a graph using the STORE node.
PROCEDURE Node - The PROCEDURE node is a PROCEDURE node wh allows an operator to select from a group of programming langua routines to perform certain call processing tasks. The value f the PROCEDURE node is the name of the routine to be invoked. T customer may want to call a special C routine to log data while executing a graph. This would be facilitated through the PROCEDURE node. Fig. 47 illustrates a graph using the PROCEDURE node. In this graph, the PROCEDURE node involves a routine to log information about the call into a file. A routing number is the assigned by the RN node.
LOAD Node - The LOAD node is a PROCEDURE node which allows operator to load all of the call variable values stored with a different graph. Once the variables are loaded (e.g. after the execution of the LOAD node), the call processing software can th use these variables. The LOAD node value is the graph key name from which you are loading the variables. To add a LOAD node to a graph, an operator is requested to input a graph key name of another valid graph contained within t system database. Fig. 46 illustrates a graph using the LOAD nod This graph updates a call forwarding number.
b. Templates
A template is a data structure containing some or all information needed to specify and instantiate a node in a graph. A node is instantiated when it is added to the internal data structure representation. There are four types of templates; on for each type of node. Thus, the preferred templates include a DECISION node template, an ASSIGNMENT node template, a PROCEDURE node template and a CONVERSATION node template. These templates can be used to create any of the specific nodes identified above, or any other desired node.
A DECISION node template includes a title and a call variable. When an operator desires to generate a DECISION node, he selects the "NEW DECISION" option in the template menu (see Fig. 12), which prompts display of a dialog box 300, as illustrated in Fig. 48A. The dialog box 300 includes a title field 302 and a call variable field 304. The title field identifies the title or name of the DECISION node template to be created, and the call variable field 304 identifies either a "wil card" or a call variable used by an instantiated node to perform branch comparisons. A "wild card" marks the call variable field as unspecified. This unspecified field is subsequently specified by an operator when the operator selects the template to instantiate a node in a graph.
Every field in any template can be a "wild card" which is determined by the operator when instantiating a node. For example, to create a time decision node, as shown in Fig. 48B, an operator enters the title (time) into the title field 302, and th call variable name ("time") into the call variable field 304. Th title and value are then used by the TEMPLATE module to generate TIME DECISION node template. Once the TIME DECISION node templat exists, an operator can add time decision nodes to a graph. In a similar manner, an operator can build a "date," "day," "ANI" or any other DECISION node template and use these templates to add nodes to a graph.
An ASSIGNMENT node template includes a title, a first call variable (which is assigned a value), and a second call variable or value (which is assigned to the first call variable). An operator desiring to generate an ASSIGNMENT node template selects the "NEW ASSIGNMENT" option in the template menu (see Fig. 12) which prompts display of a dialog box 306, as illustrated in Fig. 49A. The dialog box 306 includes a title field 308, a first call variable field 310 and a second call variable or value field 312. The title field 308 identifies the title or name of the ASSIGNMENT node template to be created, the first call variable field 310 identifies a "wild card" call variable which is assigned a value. and the second call variable or value field 312 identifies a "w card" or a call variable or value which is assigned to the firs call variable.
For example, to create a CARRIER assignment node template, shown in Fig. 49B, an operator enters the title (carrier) in th title field 308, enters the call variable (carrier) into the fi call variable field 308 and enters the "wild card" "? carrier" into the second call variable or value field 312. For example, the operator may input a three digit acronym corresponding to a long distance carrier company as the value for this "wild card." This information is used by the TEMPLATE node to generate a CARRIER assignment node template, which can be selected by an operator to add CARRIER nodes to a graph. A PROCEDURE node template includes a title and the name of routine called by this node to execute an identifiable functionality. When an operator desires to generate a PROCEDUR node template, he selects the "NEW PROCEDURE" option in the template menu (see Fig. 12) which prompts display of a dialog b 314, as shown in Fig. 50A. This dialog box 314 includes a titl field 316 and a routine field 318. The title field 316 indicat the title of the procedure node template to be created, and the routine field 318 identifies a program routine to be called whe this node is generated. For example, assume an operator has a program routine named "log data" which records information abou call processing to a file. To create a PROCEDURE node template which calls this routine, as shown in Fig. 50B, the operator inserts the title (log data) and routine (log data) into fields 316 and 318 of the dialog box 314. The operator can then use t node template to insert this node into a graph to call the routine.
A CONVERSATION node template includes a title, an announcement to be played to a caller and a field representing number of digits to be collected from the caller. When an operator desires to generate a PROCEDURE node template, he selec the "NEW CONVERSATIONAL" option in the template menu (see Fig. 1 which prompts display of a display box 320, as shown in Fig. 51 This dialog box 320 includes a title field 322, an announcement field 324 and a digits field 326. The title field indicates the title of the CONVERSATION node to be created, the announcement field identifies the announcement to be played to the caller and the digits field 326 specifies the number of digits the caller should input in response to the announcement.
For example, to create a CONVERSATION node template which prompts the caller to enter a four digit personal identification number (PIN), as shown in Fig. 51B, the operator enters "PIN" int the title field 322, enters an index number to a message set to b announced or displayed in announcement field 324, and enters the number of digits comprising the PIN into the digits field 326. This PIN node template can be inserted into a graph to prompt a caller to input a PIN during execution of the graph.
c. Editing
Fig. 52 is a flow diagram illustrating a general editing operating procedure performed by service creation portion 54 to build a graph after the graph has been initiated. This flow diagram is generic to each of the "EDIT" menu options 140 shown in Fig. 24. Specific flow diagrams for each of the "EDIT" menu options are described below.
Initially, the operator selects an object on the screen to be edited (step 700). CONTROL module 106 responds by calling SCREEN module 102 to highlight the selected object (step 702). In a preferred embodiment, this highlighting is done by changing the color of the selected object. The operator then selects the "EDIT" menu (step 704) to display the "EDIT" menu options as shown in Fig. 24 (step 706). From those options the operator selects the desired "EDIT" menu option (step 708), and CONTROL module 106 responds by calling a routine or module that controls the selected "EDIT" option (step 710). The called routine or module then edits the internal data structure representation according to the selected EDIT option (step 712).
CONTROL module 106 then calls OBJECT TABLE module 110 to translate the edited internal data structure representation into the abstract display representation (step 714), and finally calls the SCREEN module 102 to translate the abstract display representation into the display representation of the graph (st 716).
Fig. 53 is a flow diagram illustrating the operation of service creation portion 54 for adding a node to a graph. Step 700-708 of Fig. 7A are repeated, except that the operator selec the ADD NODE option in the "EDIT" menu. CONTROL module 106 responds by calling GRAPH AND NODE CONTROL module 70 to orchestrate the ADD procedure (step 718). GRAPH AND NODE CONTR module 70 calls OBJECT module 112 to determine which node corresponds to the selected object (step 720). GRAPH AND NODE CONTROL module 70 then calls DIALOG module 104 to display a lis of available nodes (step 722). The operator selects the desires node, and TEMPLATE module 72 calls DIALOG module 104 to prompt t operator for information to complete the template corresponding the selected node (step 724). CONTROL module 106 then calls NO module 64 to allocate memory for the new node (step 726).
Next, GRAPH AND NODE CONTROL module 70 calls TEMPLATE modul 72 to make a node data structure from the completed template information (step 728). GRAPH AND NODE CONTROL module then call GRAPH module 62 to add the node data structure to the internal data structure representation (step 730). GRAPH AND NODE CONTRO module 70 then calls NODE module 64 to link the new node to its parent and child nodes (if any) (step 732). Steps 714 and 716 a then performed to translate the internal data structure representation into the abstract displayed representation and to display the graph.
Fig. 54 is a flow diagram illustrating the operation of service creation portion 54 for adding a branch to a graph. Initially, steps 700-708 and 718 are performed, except that the operator selects the "ADD BRANCH" option. GRAPH AND NODE CONTRO module 70 calls TEMPLATE module 72 to determine which template corresponds to the selected node (step 734). To do this, the fields of the node are matched to each field of each template. The template which most completely matches the node is selected the corresponding template.
TEMPLATE module 72 then calls DIALOG module 104 to prompt t operator for a branch value or values (step 736). Next, GRAPH A NODE CONTROL module 70 calls NODE module 64 to create a branch data structure with the associated parameters (step 738). Steps 714 and 716 are then repeated to translate the internal data structure representation into an abstract displayed representation and into the displayed graph.
Fig. 55 is a flow diagram illustrating the operation of service creation portion 54 for editing a value in the graph. Initially steps 700-708 and 718 are performed except that the operator selects the "EDIT" option. Then, step 734 from Fig. 54 is performed. Next, GRAPH AND NODE module 70 determines if a branch or node is being edited (step 740). If a node is being edited, TEMPLATE module 72 calls DIALOG module 104 to prompt the operator for information to modify the template for the selected node (step 742). Subsequently, steps 728-732, shown in Fig. 53, are performed, and steps 714-716 are performed to translate the internal data structure representation into an abstract displayed representation and to display the graph on the screen. If in step 740 it is determined that a branch is being edited, step 736 shown i Fig. 54 is performed. GRAPH AND NODE module 70 then calls NODE module 64 to edit the branch data structure with associated parameters (step 744). Steps 714-716 are then performed.
Fig. 56 is a flow diagram illustrating the operation of service creation portion 54 for connecting one node of a graph to another node in the graph. This is a convenience feature which allows an operator to refer to a first portions of the completed graph to complete another portion of the graph without duplicating the first portion of the graph.
Initially, steps 700-704 are performed except that the operator selects the "CONNECT" option. CONTROL module 106 then determines whether the selected object represents a node (step 744). If the selected object does not represent a branch or non- DECISION node, processing is done (step 746). If the selected object represents a node, CONTROL module 106 sets a connect flag (not shown) for the displayed window (step 748). The operator then selects an existing node in the graph to which to connect the selected object (step 750). Step 702 is then performed. CONTROL module 106 then determines whether the connect flag is set (step 752). If the connect flag is not set, the "clicked-on" object becomes the selected object (step 754). If the connect flag i set, CONTROL module 106 calls GRAPH AND NODE CONTROL module 70 passes graph, first-selected object and selected-node informat to GRAPH AND NODE CONTROL module 70 (step 756). GRAPH AND NOD CONTROL module 70 calls NODE module 64 to link the selected ob and the selected node together (step 758). Once this is done, steps 714-716 are performed to display the graph. Fig. 57 is a flow diagram illustrating the operation of service creation portion 54 to "hide" a portion of the display graph. To "hide" a portion of the graph means to delete it fr the displayed graph without deleting it from the other representations of the graph. Initially, steps 700-708 and 718 are performed except tha the operator selects the "HIDE" option. GRAPH AND NODE module then calls NODE module 64 to set the "hide" flag for the selec object in the data structure graphical representation. Steps 716 are then performed to display the graph. However, in this embodiment during step 714, OBJECT TABLE module 110 determines the "hide" flag has been set for each node. Since, in our example, the "hide" flag has been set, OBJECT TABLE module 110 does not translate any of the children nodes of the node for w the hide flag has been set into the abstract displayed representation of the graph. This prevents its further translation onto the screen such that this portion of the grap appears hidden. This is advantageous if the CCPI records is l and has many branches.
Fig. 58 is a flow diagram illustrating the operation of service creation portion 54 for deleting a predetermined porti of a graph. Initially, steps 700-708 and 718 are performed ex that the operator selects the "DELETE SUBTREE" option. GRAPH NODE CONTROL module 70 then calls GRAPH module 62 to delete th selected node and all its children from the graph (step 762). GRAPH AND NODE CONTROL 70 module calls NODE module 64 to break links between the nodes which are to be deleted and the nodes which remain in the graph in the internal data structure representation (step 764). Steps 714-716 are then repeated to display the graph.
Fig. 59 is a flow diagram illustrating the operation of service creation portion 54 to delete one node from a graph. Initially, steps 700-708 and 718 are repeated except that the operator selects the "DELETE NODE" option. GRAPH AND NODE module 70 determines whether or not the selected node has more than one parent or more than one child. If yes, this operation is not completed and processing is finished (step 767). If not, CONTROL module 106 calls GRAPH module 62 to remove the node from the internal data structure representation (step 768). CONTROL modul 106 then calls NODE module 64 to link the selected node's parent to its child (step 770). Steps 714 and 716 are then repeated to display the graph.
Using the foregoing operations, an operator can create a graph to provide any desired service. If instead of creating a new graph an operator desires to open an existing stored graph, the operation of service creation portion 54 is as shown by the flow diagram in Fig. 60.
Initially, the operator displays the GRAPH menu options and selects the "OPEN" option (step 500). CONTROL module 106 responds by calling DIALOG module 104 to display the corresponding dialog box shown in Fig. 18 (step 502). The operator then inputs the "key" of the graph he desires to open (step 504) and CONTROL module 106 calls GRAPH module 62 to allocate memory for the internal data structure representation of the graph to be displayed (step 506). GRAPH BUFFER module 78 then calls DATABASE module 98 to read the binary information corresponding to the graph from the database (such as database 42 in Fig. 4A) (step 510). GRAPH module 62 calls GRAPH BUFFER module 78 to translate the binary representation of the graph into the internal data structure representation of the graph (step 512). Next, CONTROL module 106 calls OBJECT TABLE module 110 to translate the internal data structure representation of the graph into the abstract displayed representation (step 514), and calls SCREEN module 102 to translate the abstract displayed representation of the graph into the displayed graph format (step 516). Fig. 61 is a flow diagram illustrating the operation of service creation portion 54 to save a graph to a database. Initially, the operator displays the graph menu options shown Fig. 16 (step 600), and selects the "SAVE" option (step 602). response, CONTROL module 106 calls GRAPH module 62 to "unload" internal data structure representation of the graph (step 604). GRAPH module 62 calls GRAPH BUFFER module 78 to "unload" the binary representation of the graph (step 606). GRAPH BUFFER module 78 calls DATABASE module 98 to write the binary represe tion of the graph to the database 42 (step 608).
If a graph is to be saved according to a new name (such a when a graph has been changed and is to be correspondingly ren (a new "key")), step 602 in Fig. 61 is changed in that the operator instead selects the "SAVE AS" option and an additiona step (not shown) is added between steps 602 and 604 in which CONTROL module 106 calls DIALOG module 104 to display a dialog (not shown) prompting the operator to input the new "key" for graph.
D. Service Creation Using "976 Call Screening" Interface Operation of service creation portion 54 for creating a "9 form interface will now be discussed with regard to Fig. 2. To create a "976" call screening service, an operator selects the form option of the INTERFACE menu as shown in Fig. 32. A blank "976" call screening form similar to that illustrated in Fig. 2 but excluding the completed information, then appears on the screen. The "976" call screening form 8 includes a customer ke 70, a general extension menu 72, comprising screen option 74, permit option 76 and time of day parameter 78, and a plurality special menus 80 including phone parameter 82, screen option 74 permit option 76 and time parameters 78. The "976" call screen form 8 also includes a PIN override option 86, as well as a PIN parameter 88, and "save" "load" "new" and "exit" options 90, 92 94 and 96 , respectively.
An operator simply inputs the appropriate information and selects the appropriate options to provide the desired "976" ca screening service. Once the operator has input the information complete the "976" call screening form, PROVISION module 114 analyzes the information and calls the appropriate modules in th internal data structure representation to translate the information into the internal data structure representation. Th internal data structure representation can be translated into th binary representation just as in the case with the corresponding graphs as shown in Fig. 1. To display the "976" call screening form, PROVISION module 114 translates the internal data structure representation into the abstract displayed representation, and then SCREEN module 102 translates the abstract displayed representation into the displayed "976" call screening form 8.
E. Call Processing Call processing portion 56 shown in Figs. 4A-4D preferably comprises all the modules corresponding to the binary representation of a CCPI record as shown in Fig. 6B, although preferably, calls are predominately processed by COMMUNICATE module 84, MESSAGE HANDLER module 86 and CALL CONTEXT module 88. Fig. 62 is a functional block diagram of call processing portion 56. Preferably, call processing portion 56 includes COMMUNICATE module 84, MESSAGE HANDLER module 86, CALL CONTEXT module 88, message handler input queue 906, message handler outpu queue 908, call input queue 910, call output queue 912 and conversational calls queue 914. COMMUNICATE module 84 is connected to message handler input queue 906 and message handler output queue 908, and receives and outputs messages to a remote device, such as a switch or switch simulator. MESSAGE HANDLER module 86 is connected to message handler input queue 906, messag handler output queue 908, call input queue 910, call output queue 912 and conversational calls queue 914. CALL CONTEXT module 88 i connected to call input queue 910, call output queue 912 and database 60. A description of the operation of the call processing application will now be provided in conjunction with Fig. 62 and the flow diagrams of Figs. 63A-67.
Figs. 63A and 63B are flow diagrams of the call processing operations of COMMUNICATE module 84. COMMUNICATE module 84 con¬ tinuously monitors an input port (not shown) for messages from a remote device. In one embodiment, COMMUNICATE module responds .e04, .e05. and .e02 messages in accordance with AIN release 0 In another embodiment, COMMUNICATE module 84 responds to other messages input from the remote device, including those message provided for in future AIN releases such as AIN releases 1 and
In Fig. 63A, COMMUNICATE module 84 determines whether any messages are available for processing (step 1000). If not, CO NICATE module 84 continues to look for a message to be process If a message is available for processing, COMMUNICATE module 8 reads the message (step 1002) and places the message onto mess handler input queue 906 (step 1004). COMMUNICATE module 84 th continues to look for a new message to be processed.
In Fig. 63B, COMMUNICATE module 84 looks for any messages message handler output queue 908 (step 1006). If no message exists, COMMUNICATE module 84 continues to look for messages. a message is on message handler output queue 908, COMMUNICATE module 84 gets the message (step 1008) and sends the message t the remote device (step 1010). COMMUNICATE module 84 then continues to look for messages on message handler output queue 908.
Fig. 64A illustrates the call processing operation of MES HANDLER module 86. MESSAGE HANDLER module 86 looks for messag on message handler input queue 906 (step 1100). If no message available, MESSAGE HANDLER module 86 continues to look for messages. If a message is on message handler input queue 906, MESSAGE HANDLER module 86 gets the message (step 1102) and determines whether the message is a conversational response (s 1104). If the message is not a conversational response, MESSA HANDLER module 86 determines the appropriate CCPI record neede respond to the message (step 1108) and generates a call contex corresponding to the message (step 1110).
As shown in Fig. 65, call context 160 maintains informati corresponding to the execution of a call during call processin This information includes message identification number 162, c status 164, (e.g. active, wait, new or conversational), stack index 166, number of nodes processed 168, a list of call varia 170 and call state stack 172. Call stack 172 may contain one or more call states 174.
A call state 174 maintains information corresponding to the execution of an individual CCPI record during call processing. A shown in Fig. 66, The information maintained by call state 174 includes the "key" of the CCPI record 176, the CCPI record 178 an the execution offset 180 which corresponds to the current locatio of the execution in the CCPI record.
Once a call context 160 has been generated, MESSAGE HANDLER module 86 places call context 160 onto call input queue 910 (step 1112) and the call processing operation of MESSAGE HANDLER 86 module shown in Fig. 64A is repeated. If in step 1104 it is determined that the message is a conversational response, MESSAGE HANDLER module 86 gets the corresponding call context from conversational calls queue 914 (step 1106) and places call contex 160 onto call input queue 910 (step 1112).
Fig. 64B illustrates another call processing operation per¬ formed by MESSAGE HANDLER module 86. MESSAGE HANDLER module 86 determines whether a call context 160 is on call output queue 912 (step 1114). If not, MESSAGE HANDLER module 86 continues to look for a call context 160. If a call context 160 is on call output queue 912, MESSAGE HANDLER module 86 gets the call context 160 (step 1116) and determines whether call context 160 is conversational (step 1118).
If call context 160 is conversational, call context 160 is placed on conversational calls queue 914 (step 1124) until, as described with regard to Fig. 64A, an input message corresponding to call context 160 is again processed by MESSAGE HANDLER module 86. If call context 160 is not conversational, MESSAGE HANDLER module 86 generates a message from call context 160 (step 1120) and places the message on message handler output queue 908 (step 1122). The call processing operation shown in Fig. 64B is then repeated by MESSAGE HANDLER module 86. Fig. 67 illustrates a flow diagram of the call processing operation performed by CALL CONTEXT module 88. CALL CONTEXT module 88 monitors call input queue 910 for a call context 160 (step 1200). If no call context 160 is on call input queue 910, CALL CONTEXT module 88 continues to look for a call context 16 If a call context 160 is on call input queue 910, CALL CONTEXT module 88 gets call context 160 (step 1202) and determines whe call context 160 has been processed previously (step 1204). I not, CALL CONTEXT module 86 calls GRAPH BUFFER module 78 (not shown in Fig. 67) to get the corresponding CCPI record from database 60 (step 1206). CALL CONTEXT module 86 then creates call state 174 to manage the execution of that CCPI record and pushes the call state 174 onto call state stack 172 of call context 160 (step 1207).
If in step 1204 call context 160 has previously been processed, CALL CONTEXT module 88 determines whether execution the CCPI record is complete (step 1208). This is done by chec the execution offset 180 in call state 174.
After creating and pushing a call state 174 onto call sta stack 172 in step 1207, CALL CONTEXT module 914 also determine whether execution of the CCPI record is complete (step 1208). the CCPI record has not been completely executed, call MODULE executes one node of the CCPI record (step 1210). After execu a node, CALL CONTEXT module 88 determines whether the node is CONVERSATION node (step 1212). If so, CALL CONTEXT module 88 places the call context 160 onto call output queue 912 (step 1214), which halts the execution of the CCPI record. If the node is not a CONVERSATION node, CALL CONTEXT modu 88 determines whether the node processed is a "handover node" (step 1213). As explained above, a "handover node" temporaril hands the call processing over to another graph identified as value in the "handover node." If the executed node is a "handover" node, CALL CONTEXT module 901 repeats step 1206 to the CCPI record corresponding to the "key" value identified in "handover node," and step 1207 to create a new call state and this new call state onto the call state stack 172. Since CALL CONTEXT module 88 executes the CCPI record on top of the call state stack 172, if in step 1213 it is determined that the executed node is a "handover node," when the call processing routine returns to step 1208, it is executing the new CCPI rec However, if in step 1213 it is determined that the node execut is not a "handover node, " when the call processing routine returns to step 1208, it continues executing the original CCPI record. If in step 1208, CALL CONTEXT module 88 determines that the CCPI record has been completely executed, CALL CONTEXT module 88 then determines whether there is more than one call state 174 on the call state stack 172 (step 1215). If not, CALL CONTEXT modul 88 puts the call context 160 onto call output queue 912 (step 1214), and the call processing routine returns to step 1200.
If, in step 1215, it is determined that more than one call state 174 is on call state stack 172, CALL CONTEXT module 88 "pops" the top call state from call state stack 172 (step 1216) and executes the CCPI record corresponding to that call state (step 1208). This allows one CCPI record to "hand over" to another CCPI record and then return to execution of the original CCPI record.
The complete call processing operation for a single call wil now be described with regard to Fig. 62. In this example, it is assumed, for sake of description, that the CCPI record contains a CONVERSATION node requesting the caller to input a personal identification number (PIN) (as shown in the graph of Fig. 42). Also, in this example, it is assumed that the graph "key" is 3151234567.e04. The remainder of the graph is as shown in Fig. 42.
The graph shown in Fig. 42, with the above change, has been created and stored as a CCPI record in database 60 at SCP 18. When ASC switch 12 receives a phone call from a phone having a phone number (315)123-4567, it sends a TCAP message to SCP 18. COMMUNICATE module 84 reads the message and places it onto message handler input queue 906. MESSAGE HANDLER module 86 gets the message from message handler input queue 906 and initially determines whether the message is a conversational response. In this example, the message is not a conversational response, so MESSAGE HANDLER module 86 identifies the CCPI record needed to respond to the message based on the key 3151234567.e05, and generates a call context corresponding to this message. MESSAGE HANDLER module 86 then places the generated call context onto input queue 910.
CALL CONTEXT module 88 is looking for a call context on c input queue 910. When the call context is placed onto call in queue 910, it is read by CALL CONTEXT module 88 which initiall determines whether this call context has been processed previously. Since, in this example, this call context has not been previously processed, CALL CONTEXT module 88 calls GRAPH BUFFER module 78 to get the corresponding CCPI record from database 60 and creates a call state which is pushed on to the call state stack. CALL CONTEXT module 88 then executes the fi node of the CCPI record. As shown in Fig. 42, the first node CONVERSATION node. Therefore, when CALL CONTEXT module 88 inquires whether this node is a CONVERSATION node, execution o the CCPI record is halted and the CALL CONTEXT module places t call context onto call output queue 912.
MESSAGE HANDLER module 86, which is looking for a call context on call output queue 912, reads the call context once i has been placed on call output queue 912. MESSAGE HANDLER mod 86 then inquires whether the call context is conversational. Since the call context is conversational in this example, MESS HANDLER module 86 places the call context onto conversational calls queue 914, and generates a message from the call context prompt the operator to input a PIN. This message is placed ont message handler output queue 908.
COMMUNICATE module 84 gets the message from message handle queue 908 and sends the message back to ASC switch 12. The cal processing operation then continues to process other messages f SCP 18.
In response to the PIN input by the operator, ASC switch 1 again sends a message to SCP 18. COMMUNICATE module 84 reads t message and places it onto message handler input queue 906. MESSAGE HANDLER module 86 gets this message from queue 906 and determines whether the message is a conversational response. I this example, the PIN input by the caller is a conversational response, and therefore, MESSAGE HANDLER module 86 gets the corresponding call context from conversational calls queue 914. This call context is placed onto call input queue 910 for furthe processing by CALL CONTEXT module 88.
CALL CONTEXT module 88 reads the call context from call inp 5 queue 910 and determines whether this call context has been previously processed. Since this call context has previously bee processed in this example, the CCPI record is not retrieved from database 60. Instead, CALL CONTEXT module 88 determines whether execution of the CCPI record is complete. Since, in this example 0 the CCPI record has not been completely executed, the next node o the CCPI record is executed. Each of the nodes of the CCPI recor is then executed.
In this example, it is assumed that the operator input PIN 1234. As illustrated by the graph of Fig. 42, CALL CONTEXT modul 5 88 determines from the execution of the CCPI record that the call from phone number (315)123-4567 should be routed, adds this information to the call context and places the call context onto call output queue 912. MESSAGE HANDLER module 86 reads the call context and, determining that the call context is not o conversational, generates a message from the call context to inform ASC switch 12 to route the call. MESSAGE HANDLER module 8 places this message onto message handler output queue 908. COMMUNICATE module 84 then reads the message from queue 908 and sends it to ASC switch 12.
F. Enhanced Call Processing For Visual
Indication of Executed Graph
Having created a graph, an operator can test the graph by processing a call generated by a switch or switch simulator prior to deploying the CCPI record into the AIN network 10. This testing can be done on SMS 20, PC 22, SCP 18, SN 16 or adjunct 14, provided these devices contain a CS application 46 comprising cal processing portion 56 and a switch or switch simulator.
Although such a test indicates which call processing was performed correctly, if the call processing was performed incorrectly, the test does not indicate the reason that the call processing failed. Accordingly, another embodiment of the present invention provides for a visual indication of the execution path taken through a graph while processing a call. This embodiment preferably uses an application comprising an enhanced call processing portion and can be implemented on the SMS 20, PC 22, SCP 18, SN 16 or adjunct 14.
The visual indication can be provided at any of these devic provided a CS application 46 comprises service creation portion and an operator interface 44 are provided at that device. Thus, the visual indication of the execution path on the graph can be provided at the device performing the call processing (local visual indication) or at a device remote from the device performing the call processing (remote visual indication) . The visual indication can be provided for call processing in a testi mode or in the AIN network 10. In a preferred embodiment, the visual indication comprises highlighting the execution path as taken during call processing directly on the graph, preferably as a red line connecting the graph nodes executed to process the call (referred to herein as "trace"). However, any other type of highlighting can be used t identify the execution path on the graph. Alternatively, the execution path taken through a CCPI record may be visually indicated by displaying the execution path one node at a time (referred to herein as the "step" indication). Preferably, when "step" indication is performed, the "trace" is also provided. In a preferred embodiment, the present invention provides f the "trace" and "step" visual indications by enhancing the call processing operation performed by CALL CONTEXT module 88 as show in Figs. 68A and 68B. However, the processing operations of COMMUNICATE module 84 and MESSAGE HANDLER module 86 remain the same as described above. For the enhanced call processing of Figs. 68A and 68B, steps 1200-1216 are identical to those shown for the call processing of Fig. 67. However, for enhanced call processing, after creating a call state for the CCPI record and pushing the call state into the call state stack, CALL CONTEXT module 88 determines whether any of the "global" or "record," "step" or "trace" flags are set (step 1300).
"Global" flags refer to flags corresponding to a plurality CCPI records. If a "global" flag is set, the execution path tak through the CCPI record is stepped through or traced for every CCPI record executed depending on the flag selection. "Record" flags refer to flags corresponding to each individual CCPI record If a "record" flag is set for a CCPI record, the corresponding graph is displayed and the execution path taken through the graph is stepped through or traced depending on the flag selection when a call is executed by enhanced call processing portion 56 in either a creation environment (local) or a call processing environment (which includes an application comprising only enhanced call processing portion 56 and no operator interface; remote) .
"Global," "step" and "trace" flags are preferably set by the operator in accordance with the flow diagram shown in Fig. 69. Initially, the operator displays the main interface window and selects the "OPTIONS" menu (step 1400). In response, CONTROL module 106 displays the "OPTIONS" menu options, as shown in Fig. 13 (step 1402). The operator then selects the "EXECUTION" option (step 1404), and CONTROL module 106 then calls DIALOG module 104 to display a dialog box (not shown) prompting the operator to select either the "step" or "trace" option (step 1406). The operator then selects the "trace" or "step" option (step 1408). The corresponding "global" flags are set by CONTROL module 106 (step 1410). "Record" flags are preferably set by the operator in accordance with the flow diagram illustrated in Fig. 69 except that in step 1400 the "OPTIONS" menu 144 is selected from the graph edit pad window as shown in Fig. 29. In addition, after the flags are set, the operator performs a "SAVE" operation as described above, to set the "record," trace or step flag. If the CCPI record corresponding to the graph is to be call processed at a remote call processing environment, MAIL module 100 transfers the CCPI record from the creation environment to the remote call processing environment. Referring back to step 1300 in Fig. 68A, if none of the
"global" or "record," "step" or "trace" flags is set, CALL CONTEXT module 88 determines whether the CCPI record has been completely executed (step 1208). If either the "global" or "record," "trace" - 55 -
or "step" flag is set CALL CONTEXT module 88 determines whethe the enhanced call processing operation is being performed in a creation environment (step 1301). This determination is made based on an environment flag.
As explained above, a creation environment includes a dis 48 and service creation portion 54. Therefore, for viewing th graph when call processing in the creation environment, the vi indication is provided at the creation environment. I , for example, the call processing environment may not include a display 48, the execution results of the call proces are preferably sent to a creation environment for display. Th different actions are taken by the enhanced call processing portion 56 depending on the environment in which the enhanced processing is being performed.
If, in step 1301, the enhanced call processing is perform in a creation environment, CALL CONTEXT module 88 displays the graph edit pad window and associates the call context with the graph edit pad window (step 1302). If, in step 1301, the enha call processing is performed in a call processing environment, CALL CONTEXT module 88 opens a file for the call context (step 1304) to record execution information.
CALL CONTEXT module 88 then determines whether the CCPI record has been completely executed (step 1208). If so, CALL CONTEXT module 88 performs steps 1215, 1214 and 1216, as discu with regard to Fig. 67. If not, the next node is executed (st 1210).
After executing a node, CALL CONTEXT module 88 again determines whether the "global" "record*1 trace or step flags a set (step 1306). If not, CALL CONTEXT module 88 repeats step 1208. If one of these flags is set, however, the determinatio step 1301 is repeated.
If the call processing is being performed in a creation environment, CALL CONTEXT module 88 calls NODE module 64 to se flag in the internal data structure representation of the grap indicating that node has been processed (step 1308). As descr above, changes to the internal data structure representation a reflected up through the abstract displayed representation, an - 56 -
displayed on the screen. Thus, when performing enhanced call processing at a creation environment, the setting of a flag in t internal data structure representation after processing a node i reflected as a highlighting between the processed nodes on the displayed graph. If the enhanced call processing is instead bei performed at a call processing environment without a display or service creation portion 54, CALL CONTEXT module 88 updates .the file to indicate that the node has been executed (step 1310). CALL CONTEXT module 88 then determines whether the processe node is a CONVERSATION node (step 1212). If so, CALL CONTEXT module 88 outputs the call context onto the call output queue 912 (step 1214). If not, steps 1213, 1206 and 1207 shown in Fig. 67 are performed. After creating a call state and pushing the call state into the call state stack, or if the processed node is not a handover node, the enhanced call processing performs step 1301. If the enhanced call processing is being performed in a call processing environment, CALL CONTEXT module 88 returns to step 1208. If the enhanced call processing is being performed in a creation environment, CALL CONTEXT module 88 determines the "global" "record" step flags set (step 1312). If not, CALL CONTEXT module 88 repeats step 1208. If so, CALL CONTEXT module 88 sets the status flag of the call context to "wait" (step 1314) and returns to step 1200.
Step 1314 causes execution of the CCPI record being call processed to stop. Thus, if the call is being processed in a creation environment, the execution path taken through the CCPI record is visually indicated by displaying one node at a time and tracing the execution path between the nodes. The operator can select the "STEP" option of the EXECUTE menu, shown in Fig. 30, t execute the next node. When the operator selects the STEP option the call context for the corresponding CCPI record is placed on the call input queue.
For enhanced call processing, after a call context has been output to the call output queue 912 (step 1214), CALL CONTEXT module 88 determines whether either the "global" or "record" trac flags is set (step 1316). If not, CALL CONTEXT module 88 retur to step 1200. If so, step 1301 is repeated.
If it is determined that enhanced call processing is being performed in a creation environment, CALL CONTEXT module 88 returns to step 1200. If, however, it is determined that call processing is being performed in a call processing environment without a display 48 and service creation portion 54, the file sent to a creation environment (step 1318), and the processing CALL CONTEXT module 88 returns to step 1200.
Sending the file to a creation environment in step 1318 preferably causes a telephone window 121 to appear on the displ as shown, for example, in Fig. 7. Window 121 indicates to the operator that files corresponding to CCPI records executed at a remote call processing environment have been sent to the creati environment.
Fig. 70 is a flow diagram illustrating an operation to provide a visual indication of the execution paths taken during enhanced call processing at a remote call processing environmen Initially, CONTROL module 106 receives the file (step 1600) and calls GRAPH module 62 to update the internal data structure representation of the graph with the information in the file (s 1602). The operator selects the telephone window 121 on the display (step 1604) and CONTROL module 106 calls DIALOG module to display a corresponding dialog box shown in Fig. 71 (step 1606). The operator then selects the "key" of the graph to be displayed (step 1608). Next, CONTROL module 106 calls OBJECT TABLE module 110 to translate the internal data structure representation of the graph into the abstract displayed representation (step 1610), CONTROL module 106 also calls SCREE module 102 to draw the graph onto the display with a "trace" visual indication of the execution path in the graph (step 1612 G. Validation
Validation is considered a separate operation from testing. In testing, a visual indication of the processing is created so that the operator can ensure that the procedure corresponding to the graph is proceeding as desired. Validation, on the other hand, is intended to determine whether the necessary connections have been allowed in creating the graph. In the preferred embodiment, validation involves use of an expert system.
Expert systems are available for detecting logical infractions in a processing routine and generating a list of thes infractions based on a set of rules and a knowledge base understood by the expert system. The present invention employs a expert system to identify logical infractions in displayed graph 5.
Preferably, there are two types of infractions: "severe" an "warning." Severe infractions are identified by the expert syste as problems that will produce erroneous call processing. Warning infractions are identified by the expert system as problems that may cause erroneous call processing.
The following is an exemplary list of rules utilized by an expert system to identify in an embodiment of the invention "severe" and "warning" infractions in a graph.
1. Must have "other" branch for TIME, DATE, LATA nodes (severe);
2. Must have all branch values for DAY node (severe);
3. DECISION nodes need more than one branch (severe);
4. Every cycle in the graph must have at least one DECISIO node (severe);
5. No DLN[x,y] node can precede a DLN[p,q] if x<p and y>q (warning);
6. No ANI[x,y] node can precede an ANI[p,q] if x<p and y>q (warning);
7. No duplication of ASSIGNMENT nodes on a single path through the graph (warning); 8. SERVICE SPECIFIC RULES 800 a. no CONVERSATIONAL nodes allowed (warning); 5 Outgoing call screening b. no ROUTING NUMBER nodes allowed
Fig. 72 is a flow diagram, illustrating a preferred operat of an expert system in accordance with the invention. Initiall the operator selects an expert system menu (not shown in the 0 figures) (step 800). In response, CONTROL module 106 calls EXP module 76 to translate the internal data structure representati of the graph being displayed into a set of "schemas" correspond to the nodes of the graph and insert these "schemas" into a knowledge base understood by the expert system (step 802).
15 Using these "schemas," and rules, the expert system tests schemas according to a set of rules previously input to the exp system, such as the rules specified above, and generates a list errors in the graph. The expert system also flags each node an branch containing an error (step 804). Flagging the nodes and
20 branches changes the data structures of the internal data structure representation of the graph.
CONTROL module 106 then calls OBJECT TABLE module 110 to translate the internal data structure representation into the abstract displayed representation (step 806), and calls SCREEN
2 module 102 to translate the abstract displayed representation i the displayed graph (step 808). The flagged nodes are highligh on the screen to identify the error nodes. Thus, the operator readily identify errors in the graph and correct these errors i necessary. In a preferred embodiment, the operator may also
3Q select the highlighted node (step 810) to display a list of err for the highlighted node (step 812).
Examples of known expert systems which can be used in acco dance with the present invention include the Automated Reasoning Tool (ART) produced by Inference Corporation and the g5 Laser Expert System produced by Bell Atlantic Knowledge System Corporation. Other expert systems are available and can be use in accordance with the present invention. H. Summary
While there has been illustrated and described what are at present considered to be preferred embodiments and methods of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made, and equiv alence may be substituted for elements thereof without departing from the true scope of the invention.
In addition, many modifications may be made to adapt a par¬ ticular element, technique or implementation to the teachings of the present invention without departing from the central scope of the invention. Therefore, it is intended that this invention not be limited to the particular embodiments and methods disclosed herein, but that the invention include all embodiments falling within the scope of the appended claims.

Claims

What is claimed is:
1. A method of designing a procedure to direct a telecommunication network to provide requested services to an individual customer of the network, the method comprising the steps, executed by a data processor, of: presenting the customer with a plurality of types of nodes, the nodes indicating the determinations and actions allowable for the procedure; receiving from the customer indications of desired nodes; receiving from the customer indications of desired relationships between the desired nodes; receiving from the customer values for parameters to be used with the desired nodes; and construction of graphical representation of the desired nodes, the customer values, and the indicated relationships among the nodes.
2. A method for providing services for individual customers of a telephone network in response to requests from the customers, the method comprising the steps, executed by a data processor, of: storing a plurality of customer service procedures, each of the customer service procedures corresponding to a different one of the customers of the network; receiving requests for custom customer services; determining the custom customer service procedures corresponding to the received requests; retrieving from a customized procedure storage means the custom customer service procedures corresponding to each of the requests; and executing the retrieved service procedures to provide services for the individual customers. 3. A method of storing a procedure in a data processing system to direct a telephone network to provide requested services to a customer of the network, the method comprising the steps, executed by a data processing system, of: storing, in a graphical representation level, display information for the visual representation of the procedure; storing, in a data structure level, data organized in data structures, which correspond to the display information; and storing, in a code level, executable code to implement the requested services, the executable code corresponding to the data in the data structures.
4. A method for testing a procedure for providing customized services to an individual customer of a telephone network, the customized services being represented on a display device as a graph containing conditions and actions to be taken according to the evaluations made for the conditions, the evaluations involving tests on values of parameters for said graph, the method comprising the steps, executed by a data processor, of: presetting values for selected ones of the parameters; generating values for other ones of the parameters; executing the procedure using the preset and the generated parameter values; and indicating on the graph the conditions evaluated according to the preset and generated parameter values and the actions to be taken based upon the evaluations of the conditions.
5. A method for validating a procedure for providing customized services to a customer of a telephone network, the procedure being embodied in a data structure having data and instructions executable by a data processor, the method comprising the steps, executed by a data processor, of: converting the procedure in the data structure into a schema for evaluation by an expert system, the step of converting including the sub step of extracting the instructions and data for the procedure from the data structure; testing the extracted procedure instructions and data against a set of rules indicating proper use of the instructions; identifying invalid ones of the instructions and data which violate the set of rules; and placing an indicator in the data structure for the invalid instructions and data.
EP92903837A 1990-12-18 1991-12-16 Systems and processes for specifying customized telecommunication services Withdrawn EP0572439A1 (en)

Applications Claiming Priority (10)

Application Number Priority Date Filing Date Title
US62939090A 1990-12-18 1990-12-18
US62937390A 1990-12-18 1990-12-18
US629373 1990-12-18
US07/629,389 US5241580A (en) 1990-12-18 1990-12-18 Method for validating customized telephone services
US629390 1990-12-18
US07/629,447 US5315646A (en) 1990-12-18 1990-12-18 Systems and processes for providing multiple interfaces for telephone services
US629371 1990-12-18
US07/629,371 US5241588A (en) 1990-12-18 1990-12-18 Systems and processes providing programmable or customized customer telephone information services
US629447 1990-12-18
US629389 2000-08-01

Publications (2)

Publication Number Publication Date
EP0572439A1 EP0572439A1 (en) 1993-12-08
EP0572439A4 true EP0572439A4 (en) 1994-01-19

Family

ID=27542016

Family Applications (1)

Application Number Title Priority Date Filing Date
EP92903837A Withdrawn EP0572439A1 (en) 1990-12-18 1991-12-16 Systems and processes for specifying customized telecommunication services

Country Status (5)

Country Link
EP (1) EP0572439A1 (en)
JP (1) JPH06502751A (en)
AU (1) AU9173391A (en)
CA (4) CA2098608C (en)
WO (1) WO1992011603A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2102868C (en) * 1992-11-11 1999-10-26 Joseph E. Bloom Device for programming script sets in a telephone system
SE501768C2 (en) * 1992-12-18 1995-05-08 Televerket Procedure and apparatus for testing services in telecommunications systems
CA2111652A1 (en) * 1992-12-28 1994-06-29 Myra Ann Hambleton Voice response script generator system and method
US5390232A (en) * 1992-12-28 1995-02-14 At&T Corp. System for control of subscriber progragmmability
US5488569A (en) * 1993-12-20 1996-01-30 At&T Corp. Application-oriented telecommunication system interface
SE503376C2 (en) * 1994-06-13 1996-06-03 Ericsson Telefon Ab L M Customer profiled telecommunications service
FI103542B (en) * 1995-04-04 1999-07-15 Nokia Telecommunications Oy Personal IN service
SE510871C2 (en) * 1997-04-09 1999-07-05 Ericsson Telefon Ab L M SCP interface
SE510870C2 (en) * 1997-04-09 1999-07-05 Ericsson Telefon Ab L M Control type or service-independent building block
US6400816B1 (en) 1997-05-08 2002-06-04 At&T Corp. Network-independent communications system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4611094A (en) * 1983-12-01 1986-09-09 At&T Bell Laboratories Method for customer definable telephone capability
WO1992011724A1 (en) * 1990-12-18 1992-07-09 Bell Communications Research, Inc. Visual programming of telephone network call processing logic

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4827404A (en) * 1986-04-14 1989-05-02 Schlumberger Technology Corporation Method and system for computer programming
US4860204A (en) * 1987-02-05 1989-08-22 Softron, Inc. Computer based workstation for development of graphic representation of computer programs
US5084813A (en) * 1988-04-20 1992-01-28 Kabushiki Kaisha Toshiba Rule based system for synthesizing a program suited for a target system in response to an input target system specification
US5019961A (en) * 1989-04-05 1991-05-28 Cadware, Inc. Computer apparatus and method for logical modelling

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4611094A (en) * 1983-12-01 1986-09-09 At&T Bell Laboratories Method for customer definable telephone capability
WO1992011724A1 (en) * 1990-12-18 1992-07-09 Bell Communications Research, Inc. Visual programming of telephone network call processing logic

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
AKIRA MIURA, KIYOMI SATO.: "EVALUATION OF HIERARCHICAL NETWORK DATA MANAGEMENT & CALL CONTROL ARCHITECTURE.", PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTELLIGENT NETWORKS. BORDEAUX, 14 - 17 MARCH, 1989., PARIS, SEE., FR, vol. CONF. 1, 14 March 1989 (1989-03-14), FR, pages 14 - 18., XP000130055 *
HOLMGREN C., MAN S. K. K.: "PLANNER, THE NETWORK SERVICES PLANNING TOOL.", COMMUNICATIONS FOR THE INFORMATION AGE. HOLLYWOOD, NOV. 28 - DEC. 1, 1988., NEW YORK, IEEE., US, vol. VOL. 3 OF 3., no. 1988., 28 November 1988 (1988-11-28), US, pages 1697 - 1701., XP000014521 *
See also references of WO9211603A1 *

Also Published As

Publication number Publication date
EP0572439A1 (en) 1993-12-08
CA2190890A1 (en) 1992-06-19
CA2190890C (en) 1999-03-30
CA2190888A1 (en) 1992-06-19
CA2190888C (en) 1999-06-15
JPH06502751A (en) 1994-03-24
CA2098608C (en) 1997-03-25
CA2190889A1 (en) 1992-06-19
CA2190889C (en) 1999-03-30
WO1992011603A1 (en) 1992-07-09
AU9173391A (en) 1992-07-22
CA2098608A1 (en) 1992-06-19

Similar Documents

Publication Publication Date Title
US5241588A (en) Systems and processes providing programmable or customized customer telephone information services
US5241580A (en) Method for validating customized telephone services
US5345380A (en) System and processes specifying customized customer telecommunication services using a graphical interface
US5323452A (en) Visual programming of telephone network call processing logic
KR940002325B1 (en) Method and apparatus for generating computer controlled interactive voice services
US5608789A (en) Method of creating user-defined call processing procedures
US5488569A (en) Application-oriented telecommunication system interface
US5455853A (en) Method of creating a telecommunication service template
US5450480A (en) Method of creating a telecommunication service specification
US5315646A (en) Systems and processes for providing multiple interfaces for telephone services
US5511116A (en) Method of creating and accessing value tables in a telecommunication service creation and execution environment
JPH09512970A (en) Communication network service creation device
EP0954932B1 (en) Graphical subscription manager intelligent network
CA2190457A1 (en) Customized telecommunication service
JP3501458B2 (en) Multilingual operation and maintenance interface for telecommunication exchanges.
US5386459A (en) Method of defining operation of switching system peripherals
AU4637000A (en) Telecommunications network resource handling arrangement and method
CA2190888C (en) Systems and processes for specifying customized telecommunication services
Morgan et al. Service creation technologies for the intelligent network
WO1994005111A1 (en) An apparatus and method for creating, testing, validating, and provisioning telecommunication services
Capellmann et al. Using high-level Petri nets in the field of intelligent networks
JPH09160847A (en) Client server-type distribution processing system
US7769147B1 (en) Voice messaging system with enhanced customizability
KR0150532B1 (en) Execution method of intelligent service logic using fsm
JPH07239816A (en) Agent system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 19930621

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): BE DE FR GB IT NL SE

A4 Supplementary search report drawn up and despatched

Effective date: 19931130

AK Designated contracting states

Kind code of ref document: A4

Designated state(s): BE DE FR GB IT NL SE

17Q First examination report despatched

Effective date: 19960827

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 19981121