PACKET SWITCHING COMMUNICATIONS SYSTEM

Abstract: A multi-channel telephonic communications system, (PBXA-PBXD), where voice, data, facsimile information is packetized and switched to the desired destination based upon a call number embedded in each packet which is based upon the digits dialed at the source. Aswitching architecture (44) is used to minimize the trunk line resource needed and to simplify system configuration and maintenance. Connection between the source and the desired destination are allowed if there is sufficient bandwidth to support the connection. Flow control is also provided, which dynamically varies the bandwidth provided. Flow control is also provided, which dynamically varies the bandwidth used by voice packets to adjust to changing traffic levels. Voice bandwidth is reduced when needed by the traffic volume, and voice bandwidth is increased when possible to improve voice quality.

Description: PACKET SWITCHING COMMUNICATIONS SYSTEM TECHNICAL FIELD The present invention pertains generally to the field of multi¬ channel telephonic communications. In particular, it pertains to a communications system which switches packetized information from a source node to a desired destination node based upon the digits dialed, which have been embedded in each of the packets in the form of a unique call number. BACKGROUND ART Telephonic communication between remotely located offices of a single organization is traditionally accomplished through use of public phone lines or by leasing private lines. For occasional communication traffic, public telephone lines are quite adequate. As the volume of traffic increases, it may become economically advantageous to lease private lines. While reducing the cost compared to the public lines, the leasing of private lines remains quite expensive. In an attempt to further reduce the cost, techniques have been developed for multiplexing multiple channels of communication across a reduced number of communication lines. These techniques are well known in the art, and include synchronous time-division multiplexing (TDM) as well as information packetizing. Multiplexers performing these techniques are placed at opposite ends of a communication path, increasing the amount of communication SUBSTITUTE SHEET traffic a particular line can handle, thus reducing the cost per communication event. A large organization may have several offices scattered nationally or even globally. A private communication system meeting the needs of such an organization would typically provide one or more multiplexers at each location, leased trunk lines to interconnect the locations to each other, and a local PBX system at each location to interface intern d telephones to the public phone system and the leased trunk lines. The difficulty with this approach is that multiplexers are point to point devices, in that they are intended to be connected at the two nodes (or end points) of a single communication path. Interconnection of more than two nodes requires trunk lines to interconnect every pair of nodes, and that the multiplexers at each node be capable of handling multiple trunk lines. As the complexity of this type of system increases through the addition of nodes, the number of trunk lines required for interconnection of all pairs of nodes increases exponentially, with a corresponding exponential increase in cost. At some point, the complexity of the system carries with it a cost which is prohibitive, and in an attempt to reduce cost, some of the contemplated trunk lines are eliminated. Communications between a pair of nodes not directly connected by a trunk line are accomplished by routing through an alternate node which is connected to both nodes in the pair between which communication is to take place. The PBX at the alternate node receives the traffic from the originating node, and routes it back through its multiplexer to another trunk line and on to the destination node. While routing in this manner reduces the number of interconnecting trunk lines required and the associated cost, other problems and limitations are introduced. For example, if the multiplexers use a digital packetizing scheme including speech compression, then routing through multiple PBX systems would likely involve tandem encoding. Tandem encoding occurs when an analog signal is packetized and compressed to digital at the source node, decompressed and restored to analog at the intermediate node's PBX, re-packetized and re-compressed to digital, and decompressed and restored again to analog at the destination PBX. Each generation of compression and decompression introduces distortion into the resulting analog signal, and more than two generations is likely to result in distortion sufficient to render the communication unintelligible. This means that the system must provide a number of trunk lines sufficient to allow every node to communicate with every other node with no more than one intermediate routing through a PBX. This requirement limits the ability of the organization to reduce cost through the elimination of trunk lines. In addition, traffic routing requires that each node have sufficient trunk resource not only for its own communication, but also for that of the traffic it must pass on to other nodes. Determining the amount of trunk line resource necessary for any given node thus becomes rather complex process, in that it depends upon traffic that the node will have no direct involvement with. Further complicating the problem is the fact that each node has multiple trunk lines, each corresponding to a given remote node, and that the multiplexer to trunk line connections are "nailed up", meaning that the PBX and multiplexer use the trunk line corresponding to the desired destination node. The result of this architecture is that the traffic on each trunk line depends upon the node to node routing paths, as well as the volume of traffic being handled by that node. The previous discussion presumes the use of multiplexers with "nailed up" PBX connections and no direct connections for passing through- traffic. However, even if the multiplexers being used support networking (i.e., pass the through-traffic without PBX tandem encoding), the connections through which the through-traffic is routed are static and at best can be altered based upon the tine of day or other statistical parameters. This tends to mitigate the problems associated with "nailed up" connections, but does not eliminate them. The amount of trunk line resource needed at a node still depends upon traffic the node is not involved in and upon the routing paths being used. These problems associated with communication routing systems of the prior art are exacerbated as the complexity of the system increases. The addition of more nodes either increases the number of trunk lines required or makes routing more complicated, or both. The more complex the routing patterns, the more dependant a node is on other node's resources, and the more difficult it is to determine the amount of resource needed for any given trunk line at each node. Increased complexity also increases the administrative burden involved in managing the line resources and the equipment involved. It is dear that there is a need for a communication system which makes optimum use of trunk line resource, while having an architecture that minimizes trunk line expense and that allows for expansion without undue complexity or expense. DISCLOSURE OF THE INVENTION The present invention is directed toward a packet switching communications system capable of conveying voice, facsimile (FAX) and data between nodes. The system operates by packetizing and compressing the information (voice, FAX, or data) and embedding a header within each packet containing a unique call number based upon the digits dialed at the source location. By including this routing information (the call number) with the voice, FAX or computer data being sent, a packetizing and compressing system can use a switching architecture rather than a routing architecture, thus making optimal use of the digital circuits required to interconnect the various nodes. This architecture eliminates the " nailed up" and static connection problem, in effect being able to alter the connections on a call-by- call basis. Operation begins when a telephone number is dialed at a source node, and the RLX at the source node sends a request to the packet switching unit for a connection. The packet switching unit reads the digits dialed at the source node and determines whether there is sufficient bandwidth for communication over the requested connection to occur. If there is sufficient bandwidth, then the packet switching unit requests a connection to the desired destination node. If accepted, then the connection is complete and communication between the nodes can begin. The packet switching unit consists of a master board and one or more slave boards, connected together over a common internal bus. Each slave board connects to as many as four RLX devices, each located at one of the various nodes of the system. Packetized data arrives from one RLX to a slave board, the header is read to determine its destination, and the packet is switched to the desired destination RLX as indicated by the call number. The packet is then switched onto a trunk line associated with the desired destination node. Accordingly, it is an object of the present invention to provide a communication system which makes optimal use of digital trunk lines which interconnect the various communication nodes of the system. Another object of the present invention is to provide a communication system which uses packetized information, and switches packets from the source node to the desired destination node. These and other objectives of the present invention will become apparent with reference to the drawings, the detailed description of the preferred embodiment, and the appended claims. BRIEF DESCRIPTION OF DRAWINGS Figure 1 shows a multiple node communications system architecture according to the prior art. Figure 2 shows a multiple node packet switching communications system architecture according to the present invention. Figure 3 shows a block diagram of the packet switching unit of Figure 2 and its connections to multiple nodes. Figure 4 shows a block diagram of the Master module of the packet switching unit of Figure 3. Figure 5 shows a block diagram of a Slave module of the packet switching unit of Figure 3. Figure 6 shows a flow chart of the packet switch communications connection protocol of the present invention. Figure 7 shows a flow chart of packet flow control of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION The assignee of the present invention is also the assignee of U.S. Patent No. 4,782,485, which is addressed to digital packetizing techniques, and the disclosure of which is hereby incorporated by reference. Referring to Figure 1, a block diagram of a prior art telecommunication system 10 is shown. Each location or node within the system has a PBX 12 and a Tl multiplexer 14 for interfacing to Tl trunk lines, and which connects to a set of trunk lines 16 interconnecting the various locations. For example, trunk line 16a connects multiplexers 14a and 14c, trunk line 16b connects multiplexers 14a and 14d, etc. To fully interconnect all four locations, six trunk lines 16a-16f are required. In the shown example, fully interconnecting four locations requires six trunk lines. As the number of locations to be interconnected increases, the required number of trunk lines increases exponentially. __n order to fully interconnect all locations, the required number of trunk lines is: (n2 - n)/2 where 'n' is the number of locations to be interconnected. Each multiplexer 14 may be a single device capable of handling all the trunk lines 16 connected to the node in question, or may be multiple devices, each handling one or more of the trunk lines 16. Either way, there must be sufficient multiplexing equipment 14 at each location to interface to each of the trunk lines 16 connected to that location. The same holds true for the PBX equipment at each location. Since the multiplexer connections are "nailed up", the PBX must be capable of connecting to as many trunks as are connected to the location. The costs associated with the PBX and multiplexing equipment at each location, and the corresponding maintenance costs are function of the number of trunk lines. If the communications system to be installed includes many locations or as the size of an existing system grows, the cost of the trunk lines and the associated equipment costs increase exponentially as the number of trunk lines increases. One way of limiting the costs associated with system size, is to reduce the number of trunk lines. For example, if it is determined that the amount of traffic between PBX A 12a and PBX B 12b is small, the trunk line connecting the two locations 16e may be eliminated. This would also allow for reduced multiplexing resource 14a, 14b and PBX resource 12a, 12b at both locations. Communication between PBX A 12a and PBX B 12b would need to be routed through an alternate node connected to both. For example, a call from PBX A 12a would be sent through multiplexer 14a on the channel connected to trunk line 16a, and received by PBX C 12c. PBX C 12c would detect that the call was intended for PBX B 12b, and route the communication back out through multiplexer 14c through a PBX connection 18. The multiplexer channel chosen is one connected to trunk line 16d, which connects to the multiplexer 14b and PBX 12b at location B. This requires tandem encoding if the multiplexers 14 do not directly pass through-traffic, and in any event would cause the resource problems previously described due to the connections being static. Referring now to Figure 2, a communication system 40 according to the preferred embodiment of the present invention is shown. Each location has a standard PBX 12 for managing the internal communication system. Interface to external trunk lines is accomplished by a multiplexed digital packetizing unit (RLX) 42 located at each location. Each RLX is connected to a trunk line 16g-16j to a packet switch system 44. In operation, communication originating at PBX A 12a, for example, is packetized by RLX 42a in a manner known in the art (see U.S. Patent No. 4,782,485). Briefly, digital packetization of a voice signal involves digital sampling of the analog signal, compressing the data through use of speech compression algorithms, and organizing the data into a series of groups or packets. Facsimile ^ AX) and computer data can also be packetized, and compressed using known data compression algorithms. Since all types of communication is packetized, the system can easily mix voice, FAX, and computer data. Within each packet is a header which contains information identifying the type of data contained within the packet. Of importance to the present invention is that each RLX 42 embeds within each packet a call number, uniquely derived as a function of the digits dialed by the originator of the communication. After a group of data is packetized, the packet is sent to the packet switch 44 over a trunk line 16. The packet switch 44 reads from each packet the call number, and switches the packet onto a trunk line 16 according to the desired destination as indicated by the call number. The first advantage provided by this system is the fact that no more than one trunk line is required per location, since each location need only connect to a single switch 44. Thus, increases in system complexity do not result in exponential increases in trunk line and equipment costs, as is true of prior art systems. There are other significant advantages to the system of Figure 2 over the prior art. In addition to limiting the impact of additional nodes on the number of additional trunk lines, the number of trunk lines needed for any given number of nodes is also reduced. There is also a corresponding reduction in the number of circuits needed in the PBX and multiplexers present at each node. These advantages also lead to a reduced system administration burden, and make planning easier since the amount of trunk line resource needed depends upon the amount of communication traffic for each node, and is no longer dependant upon the traffic patterns between nodes. Those skilled in the art will recognize that many modifications may be made to system shown on Figure 2 without departing from the scope of the present invention. For example, the packet switch 44 would preferably be located at one of the system nodes, allowing the packet switch 44 and the RLX 20 at that location to be connected with local lines, obviating the need for the leased trunk line. In the example of Figure 2, if the packet switch 44 was located at location A, then the connection between RLX A 20a and the packet switch 44 represented by 16g, could be inexpensive local wiring rather than a more expensive leased line. In addition, those skilled in the art will recognize that the trunk lines are contemplated to be leased Tl lines, but could be any other communication medium such as El lines, a satellite link, modems connected to analog lines, leased or switched digital lines, or Integrated Services Digital Network (ISDN) lines. Further, these trunk lines can be leased in whole or in part, depending upon the amount of usage desired. Thus, references to a trunk line in the present disclosure refer equally to a portion of a trunk line or multiple trunk lines, as required by the specific application and the expected amount of traffic. Referring now to Figure 3, a block diagram of a packet switch 44 is shown according to the preferred embodiment of the present invention. One or more slave boards 60 are connected to RLX packetizing multiplexers 20 over trunk lines 16. The slave boards 60 are connected to a master board 62 over a system bus 64 which in the preferred embodiment is an industry- standard Multi-Bus, but which may be any other appropriate bus or interface. The master board 62 controls the operation of the slave boards 60, manages connection protocol between the slave boards 60 and the multiplexers 20, and can monitor and log system operations. The entire system can be controlled and monitored from either the console 66 or from a PC 68. The console 66 is used to directly control the system, such as for installation, maintenance, or in the event that the PC 68 is inoperative or inaccessible The PC 68 is preferably an industry standard personal computer using an Intel 80386 microprocessor and running the UNIX operating system, although a variety of computers or workstations .running various operating systems could be used. The PC 68 executes a Network Control System (NCS) program which handles a variety of activities, including downloading the packet switch's operating firmware to the master 62 and slaves 60 on power up, providing a user interface to a system administrator, logging of errors, and logging of call activity parameters such as calls made, begin time, end time, source node, destination node, digits dialed, etc. In addition, network configuration parameters are stored in the PC 68 such as routing tables, RLX parameters, and any actions to be taken based upon time of day. In operation, communication is initiated by a telephone, FAX machine, or computer at one system node dialing a number corresponding to a party located at another system node. To establish communication, the RLX 20 at tiie source node first requests a connection to the packet switch 44, which begins a connection protocol exchange which will be further described in reference to Figure 6. Once connection is established between the source RLX and the desired destination RLX, packetized information can be sent from the source RLX to the destination RLX under the direction of the slave board 60 involved, without the need for intervention by the master board 62. If the source and destination RLXs are connected to different slave boards, packets are moved from one slave to the other by the master board 62, although those skilled in the art will recognize that it would be possible to have the slave boards 60 control packet movement directly over the system bus 64. Referring now to Figure 4, a block diagram of a master board 62 is shown. A buffer 72 isolates the system bus from the master processor bus 74. A microprocessor 76 such as an Intel 80C186 is connected over the master processor bus 74 to a variety of standard processor peripherals, including a Programmable Read Only Memory (PROM) 78, Random Access Memory (RAM) 80, a Time of Day Clock 82, and an Interrupt Controller 84. In addition, parallel ports 86 are provided for connection to parallel busses or devices as desired in any given implementation. A Serial Channel Controller 88 providers four serial ports 90 through which the master board connects to the console 66, the PC 68, and any other desired serial devices. Finally, a Watchdog Timer 92 is provided to issue a reset to the processor 76 in the event that the software malfunctions. In the preferred embodiment, the PROM 78 contains bootstrap code which serves to download the operating firmware from the PC 68. This facilitates easier maintenance of operating firmware, in that new firmware can be installed using a floppy disk or a file transferred via modem, rather than having to replace an internal device. Those skilled in the art will recognize that many modifications can be made to the master board 62 without departing from the scope of the present invention. For example, firmware for the master board 62 could reside in EPROM, EEPROM, or any other conventionally used non-volatile storage media. In addition, one of the serial ports 90 could be connected to a data multiplexer (not shown) which, under firmware control, could split the available bandwidth of trunk lines 16 between packetized data and bit interleaved multiplex data. Referring now to Figure 5, a block diagram of a slave board 60 is shown. A slave processor 96 is connected to its peripherals via a slave processor bus 98. The interface to the master board 62 (not shown) is through a shared Dual-Port RAM 100 to the system bus 64. Commands from the master board 62 to the slave boards 60 are written in the shared RAM 100 by the master board 62, and retrieved for execution by the slave processor 96, which in the preferred embodiment is also an Intel 80C186. Firmware for the slave board processor 96 resides in the slave's local RAM 102, where it is downloaded to during the power up sequence by the master board 62, after receiving the slave firmware from the PC 68. The slave processor bus also connects to a Direct Memory Access (DMA) controller 104, which controls eight DMA channels 106, which support serial communications controllers so as to minimize microprocessor involvement in data transfer. Board control logic 108 is also provided to control typical operational aspects of the slave board 60, such as power on reset. Referring now to Figure 6, a flowchart of the connection protocol between the source RLX and the packet switch is shown. In order to ensure that all connections remain reliable and intelligible, there must be adequate trunk line bandwidth. If there is insufficient bandwidth, packets will be lost, resulting in reduced intelligibility of the communication. In step 120, the destination node of the attempted connection is determined from the digits dialed at the source node. Current activity is then monitored in step 122 to determine if there is sufficient bandwidth to support the connection. If there is sufficient bandwidth, a request for connection is sent to the destination node at step 124. If the request is granted at step 126, the source node is informed that the connection request has been granted at step 128. If there is insufficient bandwidth at step 122 or if the connection request is denied by the destination node at step 126, the source node will be informed that the connection request was rejected at step 130. Referring now to Figure 7, a flowchart of the packet flow control according to the preferred embodiment of the present invention is shown. How control allows the bandwidth being used by the communications traffic to be dynamically adjusted, sacrificing voice quality when necessary and increasing voice quality when possible. The result is that the voice quality remains at or near the optimal quality possible given the available bandwidth and the current traffic. If at any point in time, there is insufficient bandwidth to handle current traffic at a given node, outgoing voice packets will be discarded to ease the congestion. When a packet is receive by the destination node at step 140, the RLX checks the sequence number embedded in the packet to see if the current packet sequentially follows the previous packet. Any gap in the sequence numbers of successive packets indicates that one or more packets were discarded as a result of an overflow condition on one of the links in the communication path. If the packet is in sequence (step 142), the destination RLX signals the source RLX to decrease the compression slightly at step 144 which increases the bandwidth being used while improving voice quality. The packet is processed in the usual manner in step 146. However, in the event that a packet is received out of sequence, (step 142), it is presumed that the bandwidth needed by the current traffic exceeds the available bandwidth. The destination RLX then signals the source RLX to increase the compression factor at step 148 which results is a reduced bandwidth requirement. Again, the packet is processed in the usual manner in step 146. The amounts by which the compression factor of voice packets is altered depends upon many factors. What is important is that detection of an overflow must increase compression immediately and by a relatively large amount so as to eliminate the loss of packets. The decrease in compression can occur more gradually, and need not occur on every correctly sequenced packet. Although the description of the preferred embodiment has been presented, it is contemplated that various dianges could be made without deviating from the spirit of the present invention. Accordingly, it is intended that the scope of the present invention be dictated by the appended daims, rather than by the description of the preferred embodiment.

Claims: CLAIMS What is daimed is: 1. A communication system comprising: a plurality of nodes induding a source node and a desired destination node, said source node comprising means for packetizing information and said desired destination node comprising means for restoring packetized information; and switching means operably connected to said plurality of nodes for receiving packets from said source node and switching said packets to said desired destination node. 2. A method of switching packetized information, comprising the steps of: embedding destination information within a header portion of an information packet; selecting a destination node for the information packet based upon the destination information contained in the packet header; and switching the information packet to the selected destination node. 3. A method of controlling packet flow in a packetized communication system having a source and a destination, wherein packets contain compressed voice information, the method comprising the steps of: embedding a unique sequence number within each of a plurality of packets being sent from the source and received at the destination; at the source, discarding a packet if there is insu fident bandwidth to send it; at the destination, determining from the sequence numbers contained * in the packets received to determine if any packets have been discarded; and increasing compression at the source if a packet has been discarded so as to reduce bandwidth. 4. A method according to claim 3, wherein compression is increased by an amount suffident to prevent the discarding of packets. 5. A method according to daim 3, further comprising the step of decreasing compression by an incremental amount at the source if packets are being received in correct sequence.

Inventors: CERNA PAVEL, HAY ROBERT F, CERNA, PAVEL, HAY, ROBERT F.
Applicants: REPUBLIC TELCOM SYSTEMS CORP, REPUBLIC TELCOM SYSTEMS CORPORATION
Application year: 1992
Main classification: H04L12
IPC codes: H04L12, H04Q3