Call distribution arrangement

Abstract: In a telecommunication switching system, incoming calls of various call types directed to a group of associated sub­ scriber terminals (109). A separate queue (210, 215) is created for each call type and a table (410) is provided which defines a number of priority levels and the call types to be served in each priority level. A priority frequency array (510) is used for each of the terminals to assure that each terminal serves calls at the various priority levels with a prescribed frequency. When calls of different types but having the same priority level are waiting to be served, the oldest call will be selected on the basis of a time-of-day stamp recorded with each call on queue.

Description: Technical Field The invention relates to telecommunication switching systems and particularly, to the distribution of incoming calls to subscriber terminals. Background of the Invention It is not uncommon for large business subscribers to have several directory numbers and to have a large number of attendants answering incoming telephone calls. These calls may be of different types differentiated, for example, by origination (e.g. from a private network trunk) as well as by the directory number dialed by the calling party. In modem telecommunication switches adapted for use in the so-called Integrated Services Digital Network (ISDN), the switching system accumulates data including data delining the call type for each call in progress. A subscriber may wish to have certain of the different call types served before others, in accordance with a prioritized ranking. In ISDN systems where several different call types are processed, not all serves are necessarily equipped to handle all of the call types. Thus, incoming calls must be selectively distributed to those terminals which are available to serve the particular type of incoming call. Call distribution systems are described in Ericsson Review , Vol. 60, No. 2, 1983, pages 66-72, Morell: "Operator Position Subsystem In AXE-10", and in Ericsson Review , Vol. 56, No. 1, 1979, pages 7-13, Garcia et al.: "Stoned Program Controlled Electronic Call Distribution System, ASDP 162". The number of incoming calls for a particular customer frequently exceed the capability of the available servers to handle the calls. In such a case, the calls may be queued and distributed as server terminals become available. A recognized problem is the need for equitable distribution of waiting calls to servers, particularly the distribution of calls of different types on a priority basis. According to the present invention there is provided a method as defined in claim 1 or a system as defined in claim 6. The foregoing problem is solved and an advance in the art is made in one particular embodiment of this invention by storing different types of calls directed to a group of server terminals in different queues in the memory of a communications control processor, thereby creating a separate queue for each call type, detecting when a terminal becomes available, and in a departure from the prior art distributing waiting calls from the different queues to the servers in accordance with defined priority values wherein the selected priority level is changed as calls assigned to the different call types are processed. A priority table in the processor memory defines a number of priority levels and call types to be served in each priority level. All incoming calls directed to a server terminal or group of terminals are examined for call type and data defining different types of incoming calls is entered in the different queues thereby creating a separate queue for each type of call directed to that terminal or group of terminals. After a terminal becomes available, call type data corresponding to a predetermined priority level is obtained from the priority table and a incoming call registered in queue and corresponding to the call type defined by the table, is connected to the available terminal. A priority array stored in the processor memory defines a sequence of priority values. The priority value obtained from the array defines the priority level to be served and is used to obtain corresponding call type data from the priority table. In one specific embodiment, the priority array is a sequential array having a number of positions each defining a priority level. Certain priority levels are defined in the array with greater frequency than others to assure that higher priority calls are served more frequently than others. Advantageously, this arrangement provides a nonblocking call handling system in which all priority levels are served with a predetermined frequency. A pointer address table stored in the processor memory defines a location in the priority array for each of the terminals of an associated group of terminals. The pointer is used to read a location of the priority array defining a priority level to be handled by the terminal when it becomes available. The pointer is incremented each time after the array has been read. Advantageously, this makes it possible for each terminal to handle a different level priority call as defined by the priority array, each time it becomes available. More than one call type may be assigned to the same priority level. When two or more calls of the same priority level which are stored in different queues are ready to be served, the call which has been waiting longer will be selected. A time stamp indicative of the time of arrival is recorded for each call as it is entered in a queue, and the associated time of day values are compared when a priority level is selected for service. Advantageously, this allows a large number of types to be handled in a limited number of different priority levels. Brief Description of the Drawing FIG. 1 is a block diagram representation of a telecommunication switching system including a communications processor; FIG. 2 is a representation of a portion of the memory of the processor of FIG. 1 showing a plurality of queues; FIGS. 3 and 4 are representations of bit maps in the memory of the processor of FIG. 1; FIG. 5 is a representation of a priority array stored in the memory of the processor of FIG. 1; FIG. 6 is a representation of an address table stored in the memory of the processor of FIG. 1; FIG. 7 is a sequence flow diagram of a method of distributing incoming calls to servers; and FIG. 8 is a representation of a bit map in the memory of the processor of FIG. 1. Detailed Description To illustrate the principles of the invention, a central office telecommunications switching system, as outlined in FIG. 1 is employed. The system, for example, may be the AT&T company 5ESS Switch which is commercially available and is described in AT & T Technical Journal , July-August 1985, Vol. 64, No. 6, Part 2. Shown in FIG. 1 is the basic switch architecture which includes an administrative module 101 which performs the system level functions such as common resource allocation and maintenance control and some call processing functions, in addition to collecting billing data. The administrative module 101 is connected to a communications module 103, which in turn is connected to a plurality of switching modules 105. The basic function of the communications module is to provide a communication path between the various switching modules and between the administrative module and the switching modules, and to provide appropriate synchronization signals to the switching modules. Hardware and software for carrying out the functions of these modules are well known. The detailed operations of the these functions are not essential to an understanding of the invention and are not described in detail herein. Each of the switching modules 105 shown in FIG. 1 is identical and connects to input/output lines 107 which may be subscriber lines and interconnecting trunks to other switching systems. The subscriber lines may be connected to subscriber terminals 109 which may be ISDN subscriber terminals capable of handling both voice and data. For the purposes of this description, the terminals may be conventional telephone sets. Each of the switching modules 105 may have several hundred connected lines and trunks and several of these lines may be used by a single commercial customer such as an airline company which has a number of server terminals. Each of the lines 107 terminates in the switching module 105 in one of a plurality of interface units 115, which may be trunk interface units or digital line interface units. Each of the interface circuits 115 is connected to a time slot interchange unit 117 which provides a switching stage for voice communications between the various interface units 115 and between interface units and the communications module 103. FIG. 1 depicts a switch configuration adapted for ISDN in which the input/output lines 107 comprise B channels for conveying digitized voice and data and D channels for conveying packetized data. In such a system, the interface units 115 separate the B channels from the D channels, directing B channel information to the time-slot interchange unit 117 and directing D channel packets to the packet switch interface unit 119. This unit includes a number of protocol handlers for establishing and maintaining proper protocol with the subscriber units 109. Certain of the received packets are identified as containing call signaling information. These are passed to the switching module processor 120. In conventional systems, not adapted for ISDN, the packet switch interface unit is not employed. For the purposes of illustrating this invention, either system may be considered. The invention has particular application where a number of different types of calls are directed to a server station. Such may be true in conventional systems but is particularly true for ISDN where a large number of call types will be available. A more detailed description of a switching system adapted for ISDN may be found in the U. S. patent applications of M. J. Beckner et al., entitled "Integrated Packet Switching and Circuit Switching System", U. S. patent application serial number 606,937 and "Distributed Packet Switching Arrangement" U. S. patent application serial number 606,751. The switching module processor 120 is a well-known microprocessor and may be, for example, the Motorola 68000 microprocessor. This processor is programmed to control the elements of the switching module to perform call processing functions in the switching module. These include such basic call processing functions as detecting an origination from a subscriber, providing dial tone, receiving digits, detecting busy/idle state of a subscriber set and establishing connections through a network. The processor 120 includes the memory for storing tables and data arrays as depicted in FIGs. 2 through 6 and 8. It also includes standard memory access. Circuitry for reading and writing the memory as well as the hardware and software for executing the various specific functions depicted in FIG. 7 and such functions as examining incoming calls for call type, detecting an idle server, and connecting calls on a designated queue to an identified server. Stored program control systems for performing such functions have been in commercial use for over 20 years and hence details of the operation of the switching module processor are not described herein. When a commercial subscriber such as an airline has a number of attendants for serving incoming calls, it is common to distribute the incoming calls among the several servers by means of the switching system. Typically, the server terminals are divided into groups and the distribution is made on a group basis. In the event that all the servers of a group are busy when a call comes in, a queuing arrangement is provided in which the identity of a waiting call is recorded. The servers' terminals are monitored periodically and when a server in the group becomes available, the appropriate connections are established to connect one of the waiting calls to the available server's terminal. In this illustrative embodiment, it is anticipated that incoming calls will be of a variety of different types such as might be encountered in the Integrated Services Digital Network (ISDN). The different call types may be differentiated on the basis of the facilities used to transmit the call or on the basis of dialed directory numbers. For example, recognized call types may be calls that were forwarded from another directory number, calls that were originated by dialing an 800 number, or calls received from other designated facilities such as a corporate network or the public network. Furthermore, a subscriber may direct the public to use different directory numbers or 800 numbers for different types of inquiries. Modern switching systems are well equipped to distinguish between such different call types. In ISDN, call data accompanying each call includes an ISDN Call Identifier (ICI) which defines the call type. For ISDN, up to 64 different call types may be specified. In this illustrative embodiment, however, up to 16 different call types may be selected by a subscriber for a server group and each type is provided with a separate queue in the memory of processor 120 as shown in FIG. 2. Queuing may be done in any number of well known ways. In the present system, all incoming calls directed to a group of servers are inspected for call type. A new queue or subqueue is established under a queue header each time a call type of the allowed set is found for which a subqueue does not already exist. The subqueue is relinquished when there is no longer any call waiting on that subqueue. When call data identifying a call is entered on queue, it is accompanied by a time-of-day stamp, which is used to determine how long a call has been on queue. FIG. 2 shows that there may be as many as 16 queues, one for each of 16 call types, for each group of servers. This number is independent of the size of the server group and is the same even if there is only one server in the group. Associated with each queue is a counter which indicates the number of calls in the queue. A count map 810, depicted in FIG. 8, records which of the 16 call types has any calls on queue. The principles of this invention apply equally to a subscriber employing a small number of servers, even if there is only one server, and those employing a large number. In one particular application, as many as 40 server terminals are grouped in a single group. Certain of the stations may be assigned to handle only certain types of calls. A server ICI table is provided in the memory of processor 120 for each terminal in the group defining the call types which the server can handle. As shown in FIG. 3, in this illustrative system there are 40 individual bit maps 310, one for each server, each defining up to 16 different call types. By way of illustration, as depicted in FIG. 3, the first server terminal is assigned to handle call types 1, 2, 3, 4, and 15. A subscriber may alter the assignment for each server as business conditions warrant. Furthermore, the subscriber may assign a priority to each selected call type, to assure that certain types of calls are handled before others. In this illustrative system, eight different priority levels are provided, ranging from 1 through 8 with 1 being the highest order priority and 8 being the lowest order priority. FIG. 4 represents a table having eight separate priority bit maps 410 in the memory of the module processor 120, one for each priority level. Each of the priority maps has 16 entries, one for each call type. Thus, several of the 16 selected call types may be assigned to the various priority levels. To assure that calls of all priorities are served with a prescribed frequency, a priority frequency arrangement is used. This is depicted in FIG. 5 as a sequential array 510 stored in the memory of the switch module processor 120. In this illustrative system, the priority array consists of 49 entries in which the highest priority, priority 1 occurs 15 times, priority 2 occurs 10 times, priority 3 occurs 7 times, priority 4 occurs 6 times, priority 5 occurs 4 times, priority 6 occurs 3 times, priority 7 occurs 2 times, and the lowest priority, priority 8, occurs once. The priority entries in the array are distributed essentially on an arbitrary basis and any number of different configurations of priority values may be used. This priority array is used for all of the servers of a group and assures that each server can serve all priority levels. Each server will proceed through the priority array 510 independent of the other servers, progressing to a next position in the array each time a new call is to be served. A pointer table stored in the memory of processor 120, is depicted in FIG. 6. The table has a pointer address 610 for each server terminal and is used to record a position in the priority array of FIG. 5. Each time a new call is to be served by a server terminal, the corresponding entry of the pointer is read and its contents is used to read the location of the priority array 510 defined by the pointer. The pointer is incremented each time after it is used. The illustrative array of FIG. 5 has 49 locations. Accordingly, the pointer is incremented to value 48 and thereafter returned to zero causing a repeated and regular progression through the priority array 510. FIG. 7 is a sequence diagram showing the sequence of steps executed when server terminal becomes available to handle a call and at least one call is waiting in the queues depicted in FIG. 2. The initiation of the sequence is depicted in block 700. As indicated earlier, the server terminals for one customer are divided into groups of no more than 40 each. A preliminary step in the sequence of FIG. 7 is to obtain the data pertaining to the group of which the available server terminal is a member. This data is depicted in FIG. 2 through 6. The action of obtaining this data is depicted in block 701. Next, in block 702 a test is made to determine whether there are any calls on queue which can be handled by the available server. In this process, the server ICI table shown in FIG. 3 is consulted and the bit map corresponding to the available server is read. This map is ANDed with the count map 810 of FIG. 8 to determine whether there are any calls on queue which this server can handle. If not, a return is made in block 712, avoiding a fruitless execution of the sequence. Otherwise, the next step is to obtain a priority value from the priority array 510 in block 704. The priority array 510 of FIG. 5 has an address associated with it which is indexed by the server's pointer address 610, depicted in FIG. 6. The resultant address reaches the specific position in the priority array which defines the priority of the next call to be handled by this server. For example, if this is server 1, the pointer value shown in FIG. 6 is 7. In the selected position of the priority array 510 a specific priority level, a number from 1 through 8, is defined as shown in FIG. 5. Position 7, for example, defines priority level 1. Corresponding to this priority level there is an entry in the priority ICI map 410 as depicted in FIG. 4. This shows that call types 2, 3, and 4 are to be served at this level. A logical AND of the bit positions of ICI maps 310, the priority map 410, and the count map 810 is computed in block 705. The first map indicates the call types which may be served by the server, the second defines which call types are to be served in the current priority level, and the third indicates what call types are waiting to be served. For example, referring to FIG. 3, 4, and 8, if the server is server 1 and the selected priority is priority 1 then, as indicated in FIG. 3, the server can handle call types 1, 2, 3, 4, and 15. As is depicted in FIG. 4, call types 2, 3, and 4 have the priority 1 assigned to them. According to the count map 810 only calls of the call types 0, 3 and 4 are waiting. Thus, in this example, the result of the combination of these maps is a positive indication for call types 3 and 4. Referring back to FIG. 7, a test is made in decision block 706 to determine whether the logical AND operation provided a non-zero result. If the result is zero, indicating that there are no calls to be served by this server at this priority level, a transfer is made to block 708 where the server's priority array pointer is incremented. Thereafter, the sequence of steps of block 704 through 706 are repeated to determine if calls of the priority level defined by the next pointer position can be handled. If the test in decision block 706 is non-zero, at least one call type was found on queue which this server can serve and an advance is made to block 716. A further test is made in block 716 to determine whether there is more than one call type to be served. If so, the oldest call is selected in block 720. This selection is done on the basis of a time stamp derived from a time of day clock provided by the system, and which is entered in the queue at the time that the call is placed on queue. It may be easily determined which is the oldest call by comparison of the time stamps. After a call selection has been made in block 720 or if the test of block 716 shows that there is only one call type to be served, an advance is made to block 722. In block 722 the priority array pointer is incremented and written in the appropriate location of the pointer table of FIG. 6 in anticipation of the subsequent operation by this particular server. Thereafter an advance is made to block 730 where the appropriate queue counter is decremented by 1, indicating that a call is being served. After the decrement, a test is made in block 732 to determine whether the count is now zero. If so, the position in the count map of FIG. 8 which corresponds to the call type being served is set to zero in block 734 and an advance is made to block 724. Otherwise, an advance to block 724 is made directly from block 732. In block 724, a message is provided to the system's call handling program to connect the selected call to the identified server in a well known manner. A return is made in block 740. The switching system referred to in the detailed description is just one of several systems to which the invention has application. The invention is equally applicable to switching systems in the public switching network and private switching systems. The invention has application to small groups of servers, even if there is only one server in a group as well as large groups, where different types of calls are to be served on a priority basis.

Claims: A method of distributing incoming calls to server terminals (109) in a telecommunication switching system (101, 103, 105) connectable to a group of server terminals, the method including detecting incoming calls and storing call data for incoming calls of different call types in corresponding different queues (210,...,215), detecting an available terminal and controlling the connection of a call stored in the queue to an available terminal, CHARACTERIZED BY upon detection of an available terminal (710), obtaining (705) from a priority table (410), for storing data defining call type data for each of a plurality of call types, call type data for each call type corresponding to one of the plurality of priority levels, changing (708,722) the selection of one of the plurality of priority levels, for use in the call type data, as successive queued calls are processed, and connecting (724) to the available terminal an incoming call from a queue corresponding to an obtained call type, whereby lower priority calls are sometimes served before all queued higher priority calls have been served. The method in accordance with claim 1 wherein a priority array (510) defines a sequence of priority values CHARACTERIZED IN THAT the step of obtaining (705) call type data from the priority table includes the step of reading (704) a varying position (708, 722) of the priority array defining a priority level and the step of reading (705) from the priority table call type data corresponding to the defined priority level. The method in accordance with claim 2 CHARACTERIZED IN THAT the priority array (510) comprises a sequential array having a number of positions each defining a priority level and in which certain priority levels are defined with greater frequency than other priority levels and further comprising a pointer table (610) storing a pointer address defining a position in the array for each terminal of a group of terminals, and wherein the step of reading (704) a designated position of the array includes the step of reading (704) the entry of the pointer table for the available terminal and reading (704) a position of the priority array defined by the pointer address read from the pointer table. The method in accordance with claim 3 CHARACTERIZED IN THAT the method includes the step of incrementing (708, 722) a terminal pointer address in the pointer table to a new value each time after the step of reading the corresponding entry of the pointer table. The method in accordance with claim 1 CHARACTERIZED IN THAT the priority table includes more than one call type for a single priority level and the step of storing call data includes entering a time stamp in the queue indicative of the time of arrival of an incoming call and the step of connecting (724) an incoming call to an available terminal includes the steps of determining (720) which of the queues corresponding to a selected priority level has the oldest call and connecting the oldest call to the available terminal. A telephone switching system (101, 103, 105) for use in combination with a group of subscriber terminals including a processor (120) operative under program control for storing incoming call data representing different call types in corresponding different queues (210,...,215), identifying incoming calls and for controlling the connection of incoming calls in queue to available terminals (109) CHARACTERIZED IN THAT the processor includes a priority table (410) containing data defining a priority level for each of a plurality of different call types, and the processor is further operative under program control to read (704) one of a plurality of entries of the priority table, to change (708,722) the selection of the one of the plurality of entries as successive queued calls are processed, and to connect (103, 105) an incoming call, corresponding to the call type data obtained from the selected entry of the priority table, to an available terminal, whereby lower priority calls are sometimes served before all queued higher priority calls have been served. The system in accordance with claim 6 CHARACTERIZED IN THAT the processor further includes a priority array (510) for defining a sequence of priority values and a pointer table (610) for defining for each terminal a location in the array and the processor reads the pointer table and a location in the priority array defined in table for the available terminal to obtain from the priority array a priority value defining the priority level to be read in table.

Inventors: GLAPA MARTIN JOEL, HARRIS DOROTHY ELLEN, LENARD ANTHONY EDWARD, MCMAHON BRIAN PATRICK, GLAPA, MARTIN JOEL, HARRIS, DOROTHY ELLEN, LENARD, ANTHONY EDWARD, MCMAHON, BRIAN PATRICK
Applicants: AMERICAN TELEPHONE & TELEGRAPH, AMERICAN TELEPHONE AND TELEGRAPH COMPANY
Application year: 1987
Main classification: H04M3
IPC codes: H04M3, H04Q11