US 5,487,066 AGrant
Distributed Intelligence Network Using Time and Frequency Multiplexing
Issue Date:1996-01-23
•37 Claims
•45 Drawing Sheets
Abstract
A distributed intelligence network using time and frequency domain multiplexing. On power-up, each node determines its skew and requests downloading of program code and configuration data. A node claims timeslots by transmitting a packet into an apparently empty timeslot and verifying receipt of its own packet.
Metadata
Assignee
- First Pacific Networks, Inc.
Inventors
- Robert P. McNamara
- Alan Saldinger
- Robert J. Cringle
- Gigi C. Chu
- Shanubhog G. Sangameswara
- Peterpaul Vita
- Michael M. Ouye
- David R. F. Stevens
- Celeste Baranski
- Cai U. Monsson
- Timothy P. Murphy
- Kevin T. Murphy
- Gary M. Ellis
- Ranjit Ghate
Application Information
Application Number:US 1856731
Filing Date:1994-01-21
Priority Date:1988-03-21
Art Unit:263
Classifications
IPC:
H04J 326H04L 1226
Field of Search:
37037513;17;24;29;30;50;69.1;120;124;75;76;85.1;85.2;85.3;94.1;95.1;100.1;103 ;105.1;110.1356;367;373;376
Patent Drawings (45 sheets)
Description
BACKGROUND OF THE INVENTION
The invention relates to communication networks and, more particularly, to a distributed intelligence network using time and frequency multiplexing.
Many office telephone systems are based on a private branch exchange (PBX) wherein all telephones are connected to a central switching device ("switch"). The switch provides connections amongst the various on-site telephones (extensions) and connections between on-site telephones and the public switched networks. So that it may support the various features (call waiting, call forwarding, conferencing, etc.) that many users have come to expect and require, the switch has had to become a rather powerful computer with a large amount of complex software. The telephones have also become more complex, and software for certain of the features are programmed locally at each phone.
The PBX system works well for the most part. However, since every communication must go through the switch, a malfunction at that point may well have the effect of shutting down the entire system. Moreover, unless the system is configured with dual processors, modification of the switch software and configuration data may require that the whole system must be shut down.
For data communications, several different architectures are used. In a star network, all the terminals are coupled to a central point of the star, which provides centralized control of the flow of data. The central control on such a system can time-division multiplex data from different terminals by alternately holding data from one or the other transmitting terminal in a buffer until its timeslot is available. The central control unit provides the synchronization necessary to insert the data into the respective time slots. Unfortunately, the star network suffers from several disadvantages. The bandwidth available through the switch matrix is limited, as well the integrity of the data passing through the switch. Furthermore, it is difficult to lay out the wires, because a new wire from the central control to the telephone must be laid each time a new telephone is added. In addition, a failure of the centralized control system disables the entire system.
Another data system architecture, and one which is easier to lay out, is a ring network. In a ring network, a single cable passes through each and every data terminal, and thus, network bandwidth is shared. Rather than rely on assigned timeslots or the acquisition of timeslots, bandwidth multiplexing employs the token method. In this method, a token is passed from one terminal to another, with the terminal desiring to transmit holding onto the token. A terminal cannot transmit unless it has the token, and therefore only one terminal will be transmitting at a time. This type of time-division multiplexing thus transmits data in irregular bursts, rather than regular assigned timeslot lengths. This type of transmission is appropriate for data communications, which typically occur in infrequent, long bursts. Voice communications, on the other hand, require a continuous connection over an extended period of time.
An alternative architecture for preventing errors due to two users attempting to acquire the network bandwidth simultaneously is used in the Ethernet system. In this system, before a terminal may transmit it listens to see if the network bandwidth is being used. Then while transmitting, the data terminal listens to determine if the data transmitted is received in the same form. If the received data differs, then another terminal transmitted at the same time, resulting in a collision and thus scrambled data. The transmitting station then stops transmitting and retransmits a random amount of time later. Thus, central control of the network bandwidth acquisition of timeslots is not needed. Because data transmissions occur infrequently, the chances of a collision on the second transmission are low. The chance of a collision increase as the number of terminals coupled to the system increases. Such a system is ill suited for voice traffic since the number of collisions will increase for voice communications which require continuous transmissions over an extended period of time. Additionally, the delay through the network is not fixed.
One approach which combines voice and data not using the private branch exchange is disclosed in U.S. Pat. No. 4,470,140 to Coffey, entitled "Distributed Switching Network (DSN)." The DSN system is built around a multiple bus network. In the DSN system, the communication media consists of twisted pair. For the network to operate properly, at least three pairs of cabling must be laid out. This cabling acts as the backbone for the DSN system. One pair is used for transmitting information toward the Line Group Central Shelf and the other two pairs are used in a loop back arrangement for receiving transmissions from either other units or remote units through the Line Group Central Shelf. Each transmit and receive line is subdivided into frames and further subdivided into timeslots. Communication between any two units in this network requires that each unit seize a timeslot for its own transmission needs and that it receive and read the timeslot of the other to provide two way communication. One of the major assumptions of the DSN system is that the buses are synchronous, that is, no allowances are made on the bus for signalling overhead or time of flight. Each timeslot has been partitioned to accept one byte of information, and thus, there is no room for timing errors.
The DSN system itself consists of two major units, Parallel Access Communications Interface Blocks (PIBs) and the Line Group Central Shelf. The PIBs are used to interface communication equipment to the network. The PIBs are connected in parallel across the transmit lines and across the upstream portion of the looped back receive lines. The implication of the parallel access is significant in that when a PIB transmits onto the common transmit bus, the transmission is sent both upstream and downstream. The Line Group Interface Shelf (LGIS) is the terminus point for all of the cabling in the DSN System. The LGIS provides network timing, switching between transmit and receive lines, switching between in-house calls and the Public Switched Telephone Network, as well as all of the network control functions.
When a PIB wishes to transmit information, two events occur. The PIB Transmit Line first derives timing information so as to identify when to transmit on the transmit bus. This timing information is generated by the Line Group Central Shelf and sent out on the receive line. By examining the status of the receive and the transmit lines, the PIB is able to ascertain that a particular timeslot is available. This determination of whether a timeslot is available is completely dependent on the parallel connection of the PIB to both the transmit and receive lines.
SUMMARY OF THE INVENTION
General
The present invention is directed to a distributed communications network which provides numerous advantages over known communication systems. The apparatus and methods according to the present invention operate on a single communications medium yet provide a broad band network facility which can support all of the voice, data and video communications needs of a particular user. To do this, each node in the network may assign traffic type (voice, data and video) to a different portion of the network medium's RF spectrum. Each separate frequency band thus comprises a subnetwork. Subnetworks may be designed and engineered for specific services and a particular grade of service. For example, data networks can be designed and engineered for high speed transport, network availability, and/or data integrity. Partitioning the communication services in this way allows the subnetworks to be administered and run by separate entities (e.g. the telecommunications department and the data processing department) each independent of the other (provided, of course, that each does not overlap the other's frequency domain).
The apparatus according to the present invention is modular and incrementally expandable. The interconnect is designed for easy installation, and user equipment can be added or moved without trained service personnel, network reconfiguration, or software changes. Because of the distributed nature of the interconnect, any failure of a single element will not effect the operation of the remaining network. Thus, network additions, deletions, or modifications are transparent from an overall network performance and operational perspective. The independence of services between subnetworks also allows the interconnect to be expanded and modified independent of the other subnetwork services. For example, if a business' data requirements were to expand, additional network attachments may be made completely independent of the voice and video circuits already attached to the system. Older local area data networks (i.e. the network interface units, not the network medium) can be retired and replaced with newer, higher speed, more cost effective equipment, without effecting either the voice or video portions of the interconnect system.
In a preferred embodiment, the invention is implemented in a voice system that uses time domain multiplexing. A timing mark generator broadcasts periodic timing marks that define a series of frames; a leading portion of each frame defines a signalling packet interval and a later portion of the frame defines a number of timeslots. The frame rate and timeslot width are such that one direction of a voice communication can be supported on a single timeslot on alternating frames. The other direction is supported on the same timeslot on the interleaved alternating frames.
The intelligence is distributed and each node has its own operating software and configuration data, which are stored in RAM. This software and data may be updated from time to time, and may be lost in the event of power loss. Each node also has a boot ROM in which is stored a small amount of software to enable the node, at power up, to participate in the acquisition of the full operating software and data.
Boot Protocols
The present invention provides a technique for providing boot images (operating software and configuration data) to network nodes in a distributed commuting/communications environment. The protocols for providing boot images to nodes can be carried out with minimum disruption to ongoing network operation in the event that only some of the nodes require service. The boot process is both general and specific, it can boot either a specific node or the entire network concurrently.
The system includes one or more network boot units ("NBU's") whose function is to maintain the operating software and configuration data in non-volatile memory (such as hard disk), and transfer copies (referred to as boot images) to the nodes at power up or for updates. For boot operations, the timeslots, normally reserved for voice, are used for data transmission.
In order to transmit boot images to a selected group of network nodes, referred to as boot consumers, the NBU must receive a boot request from a boot consumer. The NBU then broadcasts a boot control signalling packet ("BCSP") having an image descriptor portion that describes the boot image to be transmitted and a control portion that identifies the packet as a BCSP, specifies the class of boot consumers, and designates the timeslot(s) in which the boot image is to be transmitted. During the transmission of a boot image, the NBU periodically sends out BCSP's so that boot consumers that were not in a position to receive the boot image at the beginning of the transmission can pick up in midstream.
A boot consumer requiring a boot image has executable code in boot ROM, whereupon it listens for BCSP's from the NBU, determines whether any detected BCSP's specify the desired type of boot image, and if so, causes data appearing in the appropriate timeslots to be read into local memory. Once the boot image has been read in, the node can begin executing it. If a BCSP specifying the desired type of boot image is not detected within a certain time, the boot consumer sends a boot request signalling packet ("BRSP"), and continues to listen for a BCSP specifying the desired type.
Each boot consumer is programmed to have a random wait period before sending out a BRSP. Thus, if there are many nodes requiring the same type of boot image, the earliest boot request will be responded to by the NBU, thereby obviating the need for further boot requests by other units programmed to make their requests later.
If the system contains more than one NBU, the first NBU to receive the request, assuming it has the requested boot image and is not currently downloading a boot image, services the request in the manner described above. NBU's arbitrate amongst themselves to determine which of them is to respond to a given incoming request. Each NBU sends a BCSP that identifies the sending NBU but specifies no time frames to be allocated. Each NBU then listens for BCSP's, and in the event that it first receives its own BCSP, it assumes responsibility. If it first receives a BCSP that originated from another NBU, it does not attempt to service the request.
Skew Calculation
The present invention provides a network having a wide bandwidth communications channel. This channel is organized architecturally as a time-ordered bus. All the nodes of the system are coupled to both the transmitting medium and the receiving medium. The network bandwidth is subdivided into timeslots. Timeslots are defined by a timing mark generator, with each node detecting the timing marks on only the receiving medium. The time between each timing mark defines a frame, with each frame consisting of a plurality of timeslots. In this network, each node may be a different physical distance from a central turnaround point or head-end, resulting in each node transmitting in a different time relative to the received timing mark due to the differences in transmission time to the head-end and back. Accordingly, each node transmits a test signal and measures the time after the transmission until it receives the test signal back again. This time, designated a skew time, is used for transmissions of information. In all subsequent transmissions, each node transmits at a time equal to the skew time in advance of the timeslot it is attempting to transmit into.
The network employed in this invention is medium independent. In one embodiment, the transmission medium is a broadband CATV cable with a transmitting and receiving channel defined by different frequency bands. The head-end of the system includes a frequency translator for translating the transmitted signal from the transmitting channel onto the receiving frequency band of the receiving channel. The system permits multiple channels, increasing the number of users that can be attached to the system. Information is transmitted asynchronously within a timeslot, thus eliminating the need for precise synchronization to place a transmission packet within a specified timeslot. Each channel may contain a plurality of signalling timeslots and voice transmission timeslots. Each frame preferably has a first portion assigned for signalling packets and then a plurality of timeslots for voice communications. When one node desires to call another, an identifying signal is transmitted in the signalling portion of the time-divided channel and is designated the signalling channel. When the called node receives the signal, it transmits an acknowledgment signal in the signalling portion. The calling node then signals a specified timeslot in which digitized voice or data is to follow. Either node may direct the other node to switch to another timeslot or channel for communication. This may be done, for instance, where one channel is extremely busy. Preferably, for two-way voice communication, the first node would transmit in the specified timeslot in every other frame, with the second node transmitting in the frames in between.
Data and digitized voice are both sent in the same manner, thus simplifying the circuitry required. The signalling channel employs a slotted ALOHA type collision detection system, with each node monitoring on the receiving line to determine if the signal transmitted is received in the same form. If a collision is detected, the node waits for a random amount of time and attempts to transmit again. Collisions within voice timeslots employ an ALOHA collision technique whereby a test signal is inserted into a supposedly vacant timeslot and the received signal is compared with the original. If the test signal is returned undamaged, the timeslot is considered seized. If an error is detected, the node waits, seizes another timeslot and the process continues again. Before transmitting, the node must determine that the timeslot is available for a series of frames. Once a node has acquired a timeslot by transmitting in it, it will retain that timeslot for the duration of the communication. Other nodes will detect data being transmitted in that timeslot, and will not attempt to acquire that timeslot.
Establishing Voice Telephone Link
Another aspect of the present invention is the unique method of claiming a voice timeslot by individual telephone stations in distributed intelligence network. One station generates a periodic timing mark, and the remaining stations monitor the timing mark and also monitor which timeslots following the timing mark are busy with transmissions. An individual station placing a call dynamicly chooses a free timeslot and begins transmission. In the event of a collision, another timeslot acquisition is attempted. Thus, there is no need for a central assignment of timeslots.
In particular, certain timeslots are set aside for control data, and others for voice data. A voice timeslot is first claimed, and then a signalling packet is sent in a control data timeslot. The signalling packet has destination address, and also contains data on the originator's address and the position of the claimed timeslot. The signalling packet is sent over a plurality of channels, and also specifies the correct channel (i.e., frequency channel) of the originator. The originator's channel is then monitored for a response. The receiving station will attempt to claim another timeslot having a predetermined relationship to the already claimed timeslot, for a response. Upon such a successful claiming an appropriate signalling packet is sent to the originating station, and voice communication can then commence by the placement of voice data in the appropriate timeslots.
Session Layer
The present invention provides a series of techniques for establishing, maintaining, and terminating voice communications between nodes in a network, and provides techniques for controlling communications when a user invokes features on a telephone.
In a preferred embodiment, the invention is implemented in a system that uses time domain multiplexing. A timing mark generator ("TMG") broadcasts periodic timing marks that define a series of cycles. Each cycle includes at least one interval that defines a signalling packet ("SP") interval while remaining portions of the cycle define a number of voice timeslots ("VTS"). The cycle rate and VTS width are such that one direction of a voice communication can be supported on a single VTS. Designated pairs of VTS's in a cycle define a voice circuit ("VC") capable of providing full duplex communication. Each node is interfaced to a common broadband medium, and may provide trunk interfaces or telephone interfaces. A typical telephone call entails an exchange of SP's between the nodes and a claiming process wherein vacant VTS's are claimed for the duration of the communication.
When a user takes a telephone off-hook and dials an extension, the node associated with that phone (first node) claims a first VTS of an apparently unused VC. The claiming entails having the node transmit a Claiming Voice Packet ("CVP") onto the VTS, and verifying that the node's own CVP comes back intact. Upon successfully claiming the first VTS, the first node transmits a Call Request SP addressed to the second node. The second node, upon receiving the Call Request SP, sends an ACCEPT SP, which the first node acknowledges with an ACK SP. When the designated phone at the second node goes off-hook, the second node claims the second VTS of the VC, thereby completing the voice circuit. Upon successfully claiming the second VTS, the second node sends an ANSWER SP to the first node, which the first node acknowledges with an ACK SP. Thereafter, each node transmits voice data in its claimed VTS and receives voice data from the VTS claimed by the other node. When either party goes on-hook, a disconnect SP is sent by the terminating station and the connection is terminated.
The invention contemplates an exchange of SP's to invoke various features. For example, a hold feature wherein an ongoing conversation may be suspended by the first node is invoked by having the first node send a HOLD SP to the second node while ceasing to receive, and when the second node acknowledges with an ACK SP, it stops transmitting into its claimed VTS. The first node may periodically transmit CONTINUE HOLDING SP's and the second node will respond with CONTINUE-TO-HOLD SP's. When the first node wishes to reestablish communication, it claims a new VTS, and sends an UNHOLD SP. The second node claims the remaining VTS of the VC and returns an ACK SP. The first node then transmits and receives and VP'S are exchanged.
Time-Frequency Multiplexing
Another aspect of the present invention is the unique method and apparatus for implementing time-division multiplexing. A plurality of different frequency channels are used, preferably four. Each channel has an upstream and a downstream frequency band. Transmissions from any node occur on a particular channel in a timeslot in that channel and are routed on the upstream frequency band to a head-end return unit, which translates the signals into the downstream frequency band of the channel, and transmits them on the downstream frequency band. A timing mark generator is coupled to the system so that it can simultaneously generate timing marks on all four channels, thus synchronizing the various frequency bands. Each channel circuit in the head-end unit has its own clock, which is phase locked to a master clock to synchronize all 4 channels. In addition, the head-end unit contains a fast digital phase lock loop to allow a quick phase lock on the first few bits of a data packet sent by a transmitting node. Each channel of the head-end return unit is phase locked to the same clock as the other channels, providing an additional element of synchronization. This combination of different synchronizing elements allows a practical time and frequency multiplexed system to operate.
Synchronization is maintained between timing marks through the use of a pseudo-silence pattern (alternating 1's and 0's) which is inserted at the head-end unit. This will allow a phase lock to be maintained at the individual nodes in-between timing marks by providing alternating data. The system thus allows each transmitting node to include only a single modem which can shift its frequency from one channel to another and still maintain synchronization. The only elements which need access to all channels simultaneously are the head-end return unit and the timing mark generator.
Maximum Likelihood Detector (MLD)
The digital phase lock loop is also referred to as a maximum likelihood detector (MLD). This device is necessary to quickly phase lock upon a data packet. A "pad" time where no transmissions occur is added by convention at the beginning of each packet to allow the MLD to reset. The MLD accepts the data after it has been demodulated and converted back into digital form. The data is provided into a shift register at a clock rate much higher than the data rate. A bit synchronizer then compares the various shifted outputs to determine which has an edge closest to the HRU clock. Once that determination is made, that shift register output is used for the remainder of the data packet, without further readjustment.
A further understanding of the nature and advantages of the present invention can be realized by reference to the remaining portions of this specification and the attached drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. A-1 is a block diagram illustrating a typical physical organization of a communication network according to the present invention;
FIG. A-2 is a schematic diagram of portions of the network;
FIG. A-3 is a diagram showing the time structure of signals on the network;
FIG. A-4 is a schematic block diagram of a voice interface unit;
FIG. A-5 is a schematic block diagram of a network boot unit;
FIG. A-6 is a flowchart of the boot ROM code; and
FIGS. A-7A and A-7B are flowcharts of the NBU code;
FIG. B-1 is a schematic block diagram of the RxTx circuit shown in FIG. A-4;
FIG. B-2 is a schematic block diagram of the PCTL circuit shown in FIG. A-4;
FIG. B-3 is a diagram showing the general time structure for P-RAM access;
FIG. B-4 is a diagram showing signal input and output lines for the RxTx circuit, the PCTL circuit, and the P-RAM shown in FIG. A-4;
FIG. B-5 is a diagram showing time slot marker pulses;
FIG. B-6 is a diagram showing a delimiter search window;
FIG. B-7 is a diagram showing the relationship between transmit and receive frame timing;
FIG. B-8 is a diagram showing time slot pad times;
FIG. C-1 is a schematic diagram illustrating the transmission time differences to the head-end retransmission unit;
FIG. C-2 is a block diagram of the circuitry for a connection at a node of the system of FIG. A1;
FIG. C-3 is a diagram of the different frequency channels utilized in a communication system according to the present invention;
FIG. D-1 is a flow chart showing the claiming of a voice timeslot by an originating node;
FIG. D-2 is a flow chart showing the claiming of a reverse timeslot by a called node;
FIGS. E-1 to E-13 illustrate protocols for establishing and maintaining extension and trunk calls;
FIGS. E-14 to E-35 illustrate protocols for implementing features invoked by the user;
FIGS. E-36 to E-39 illustrate protocols for terminating calls;
FIG. F-1 is a block diagram of the HRU and its connection to the trunk interface units;
FIG. F-2 is a block diagram of the phase lock synchronization of the four HRU channels;
FIG. F-3 is a block diagram of a maximum likelihood detector (MLD);
FIGS. F-4 and F-5 are block diagrams of one channel of the HRU; and
FIG. F-6 is a block diagram of the interface between the HRU and the trunk cards.
BRIEF DESCRIPTION OF THE TABLES
Table A-1 is a list of abbreviations used in the application;
Table A-2 sets forth the packet formats;
Table A-3 is a map of the packet RAM ("PRAM");
Table A-4 sets forth the boot image format;
Table A-5 sets forth the boot request signalling packet ("BRSP") format; and
Table A-6 sets forth the boot control signalling packet ("BCSP") format.
BRIEF DESCRIPTION OF THE APPENDICES
The following appendices were filed with the present application, and are available in the file, but are not part of the printed patent.
Appendix 1 is a specification for the transport layer software, setting forth the different transaction types supported.
Appendix 2 is a specification of the software in the DRAM for controlling the communications.
Appendix 3 is a specification of the firmware for "Spike."
Appendix 4 is a detailed specification of procedures for registration and de-registration of Voice and Trunk Interface Units.
DESCRIPTION OF THE PREFERRED EMBODIMENT
Network Overview
Table A-1 provides a list of abbreviations used in the application.
FIG. A-1 is a block diagram illustrating a communication network 10 based on a bus medium 12. Bus medium 12 typically has the physical topology of a tree structure with a number of branches 12' to which various network nodes are coupled. The primary function of the network as described herein is to support voice communication among users on the network and between such users and the public switched network. However, network 10 may also be used for data and video as well. The network contains no central intelligence for allocating bus resource. Rather, each node has its own intelligence providing it the capability of vying for and claiming bus resource as needed.
The network nodes include a plurality of voice interface units ("VIU's") 20, each shown with one associated telephone 22, a trunk interface unit ("TIU") 25 having a plurality of trunk lines 27 for coupling to the public switched network, an attendant interface unit/console ("AIU") 35, one or more network boot units ("NBU's") 40, each with its associated non-volatile storage such as a hard disk 42, and one or more timing mark generators ("TMG's") 45. Bus medium 12 is coupled to a head end retransmission unit ("HRU") 50. An I/O processor ("IOP") 51 couples TIU 25 to HRU 50. A network manager workstation ("NMWS") 52 with an associated hard disk 53 is coupled to the NBU and its disk. A VIU may be single-port device with one phone as shown, or may be a multiple-port device (up to 24 ports) with each port capable of supporting a phone.
In a present implementation, NBU's 40 and HRU are physically located within the same cabinet as TIU, and timing mark generator 45 is incorporated into NBU 40. Thus there are no separate enclosures for TMG 45, NBU 40, or HRU 50.
Each node has associated address information. This includes a 6-byte physical unit address ("PUA") which is a hardware embedded serial number unique to that node with respect to any other node in any network made by the same manufacturer. Uniqueness with respect to nodes made by different manufacturers can be guaranteed by agreement between the manufacturers or the establishment of a central PUA issuing authority.
Nodes can also be assigned a 2-byte local unique address ("LUA") by the network manager. The LUA is unique with respect to other nodes at a given customer site. It is possible to address all nodes at the same time with a broadcast LUA having a hexadecimal value FFFF.
Nodes can also be assigned a 2-byte system link extension ("SLE"). The same SLE may be assigned to multiple nodes, thereby permitting group addressing. Conversely, a node supporting multiple phones may have more than one SLE.
Address comparison is performed as follows. Each node contains a 64-bit hash table for each of PUA, LUA, and SLE address comparison. Since there are more than 64 possible addresses, the hash table mechanism does not provide a unique selection, but rather a first-level filtering only. Additional address selection is carried out by higher level software. For the PUA and LUA hash tables, and for the SLE hash table where the node has a single SLE, one bit is set, that bit being in the position corresponding to the numerical value of the last 6 bits of the cyclic redundancy check of the node's PUA, LUA, or SLE, as the case may be. For a node with more than one SLE, the SLE hash table has bits set for the multiple SLE's, the positions being determined as described above. Due to the lack of uniqueness, the number of bits set may be less than the number of SLE's.
Associated with each phone is a 2-byte configuration identifier ("CID"), which is stored in RAM and identifies the configuration (feature set, extension) for that phone. CID's are created by the system administrator at the NMWS. A unit's phone extension number can be used as the CID but this does not necessarily need to be true. Since each phone needs a configuration, multiple-phone VIU's will have multiple CID's. A special CID (value 0) is used to identify a configuration that if loaded into a unit, limits the unit's operation to acquiring manually entered CID's.
Bus medium 12 is preferably a broadband coaxial cable capable of supporting a number of frequency channels, each defined by a carrier frequency on which signals can be superimposed. Each user device can broadcast its transmissions on the cable toward HRU 50. HRU 50 operates to receive signals on a first set of channels and retransmit them on a second set. Thus, two-way communications may be implemented on a single cable by frequency division multiplexing the available RF cable spectrum. The channels are preferably 6 MHz wide, with the transmitting channels in the range from 5-108 MHz and the receiving channels in the range of 175-400 MHz. In the preferred embodiment, there are four channels, each with an associated transmit frequency and receive frequency band, and each node is capable of operating on any of the channels. Each node is assigned a home channel on which it normally listens when not participating in a communication. Boot transmissions typically occur on a designated boot channel.
HRU 50 transmits a pseudo-silence pattern (PSP) (e.g. alternating 1's and 0's) when there is no incoming data. This allows the VIU's in the network to always have an incoming data stream, which adds to the stability of the PLL's in all of the VIU modems and provides a less expensive and more efficient receiver and bit sync circuit. Additionally, the PSP acts as a "not" carrier detect, and the VIU's may consider the given channel as free when the PSP is received.
HRU 50 implements a data reclocking scheme to provide a constant phase data signal to the nodes. Since the upstream transmission is supplied by an unknown source with regard to phase (since the relative phase of the incoming packets varies with the physical position of the originating node), HRU 50 uses a Maximum Likelihood Detector (MLD) to reclock the downstream transmission. The MLD detects the rising edges in the first four bits of packet preamble, and then delays the data path by a time of 0 to 1 bits (in increments of 0.062 bits) to properly align the center of the data bits and the edge of the sampling clock. With this method, no frequency lock is required since the downstream transmissions of HRU 50 are the system's source of master clock.
The described functions can be implemented with a high speed digital phase-locked loop that responds to the received packet's needs within a four-bit time span during the packet preamble. The selected delay will remain locked until a loss of carrier is detected at the headend which will be interpreted as an "End of Packet". HRU 50 will then begin transmitting pseudosilence and reset the MLD for the next packet.
Thus, while network 10 is physically and topologically organized as a tree, it is logically organized as a bus. The bus is logically a dual linear bus having transmit and receive channels 55 and 57 as shown schematically in FIG. A-2. While only two VIU's and two NBU's are shown, an actual system might have a hundred or more VIU's. The representation of FIG. A-2 is schematic only, since there are not actually two physical buses, but rather a single broadband communications medium capable of supporting a number of communication channels.
Network Timing
FIG. A-3 is a diagram showing the time structure of signals on the network. TMG 45 provides a series of timing mark packets ("TM's"), transmitted simultaneously on all four channels, at 1-ms intervals, thereby defining a series of 1-ms frames. The TM's also indicate whether they are on a boot channel, and provide the channel number.
The frames are logically grouped into pairs, each containing first and second frames, designated the forward frame and the reverse frame, with each pair defining a 2-ms cycle. Each frame consists of a 10-byte timing mark, a 71-byte (60 data bytes) signalling packet ("SP"), and 28 19.5-byte (16 data bytes) voice timeslots ("VTS's"), each capable of containing a voice packet ("VP"). Each packet interval consists of a preamble of alternating 1's and 0's, a delimiter, a data field, and a pad. The delimiter is a binary code specifying whether the packet is a TM, a VP, an SP, a claiming voice packet ("CVP"), or a boot packet ("BP"), and is distinguishable from the preamble in that any 3-bit string has at least two bits in a row the same. Table A-2 provides a list of the various packet formats.
VP's are used to provide voice communication and contain binary encoded (pulse code modulation--"PCM") speech from a specific phone conversation. They are transmitted every cycle during the course of the conversation. An ongoing telephone conversation entails having VP's for one direction of the communication carried on a VTS of the forward frame and for the other direction of the communication on the corresponding VTS for the reverse frame. VP's contain no computer recognizable information. They are merely reconstructed into voice at the receiving node. A special voice packet, the CVP, is used to reserve a VP timeslot for data transmission/reception.
SP's are used for communications between nodes and contain computer recognizable information pertinent to the control of the network. While specific types of SP's will be discussed below, it is noted that an SP contains a data portion which includes a link header and a transport header as well as information specific to the type of SP. The link header contains source and destination address information, specifically: 2 bytes of destination address information (enough for an LUA or an SLE); an address control byte containing two 2-bit codes specifying the destination and source address types (PUA, LUA, or SLE); a length byte; 4 bytes for the rest of the PUA if the destination address is a PUA; and 2 or 6 bytes of source address information.
BP's are used in boot operations to communicate configuration data and operating code from an NBU to other nodes. BP's are broadcast in the VTS's normally occupied by VP's.
Each node is characterized by a skew time related to its physical position on the bus. Skew time refers to the differential propagation delays resulting from the fact that the different nodes are at different distances from HRU 50. The nodes most remote from the HRU will receive the timing marks latest in time, and would, if they merely synchronized their transmissions to the timing mark, transmit relatively late compared to nodes nearer the HRU. Accordingly, the further a node is from HRU 50, the earlier it must transmit relative to the timing marks to be in synchronization. A procedure whereupon each node determines its own skew time is described later in this application. In essence, each node, on power-up, transmits an SP immediately upon receiving a timing mark, and counts the number of bit times (1/(5.018 MHz)) until it receives the same SP (as retransmitted by the HRU). This defines twice that node's skew time, and subsequent transmissions will be advanced by the skew time.
In the event that there are more than one TMG in the network, the TMG's arbitrate amongst themselves at power up to determine which is to become the master TMG. Each TMG waits a random length of time (up to about 50 ms), and then broadcasts TM's on all channels. If a TMG receives TM's that it sent, it assumes the status of master TMG. The other TMG's assume the status of backup TMG's and monitor the four channels to ensure that the master TMG is sending valid TM's. In the event that TM's on any channel stop for some number of consecutive frames, the backup TMG's arbitrate to become the new master TMG. The arbitration process is similar to that described above.
Basic Node Organization
The hardware for a given node in the network includes certain portions that are essentially common to all nodes and certain portions that are different for the different types of nodes. The description in this section will be in terms of one of VIU's 20 and one of NBU's 40.
FIG. A-4 is a block diagram illustrating one of VIU's 20, the function of which is to interface one or more phones to the network. VIU 20, like other nodes, must be able to communicate on any channel. Access to multiple channels (only one at a time) is provided by a frequency agile modem 70. VIU 20 further includes a CPU 72 and associated memories, a codec 75 and telephone interface 77, and a control/interface circuit 80.
Other types of nodes in the network share the same basic hardware organization in the sense of having the same control/interface circuit elements, CPU and associated memories, and modem. However, other types of nodes would not include codec 75 or telephone interface logic 77, and would have different operating software and configuration data stored in their associated memories. Some types of nodes (such as an NBU or a multi-port VIU) must be able to communicate on all channels at the same time, and are provided with a separate control/interface circuit and modem for each channel. Because each node uses the same basic set of network elements for all configurations, the network is modular and incrementally expandable for both small and large telephone systems.
The memories associated with CPU 72 (preferably an 80186 microprocessor) include a packet RAM ("PRAM") 2, a DRAM 85, and a boot ROM 87. Control/interface circuit 80 contains a receiver/transmitter ("RxTx") 90, a packet controller ("PCTL") 92, a 3-port memory controller 93, and a PCM highway 95. PCM highway 95 is a 1.544-MHz, serial, full duplex highway which provides 24 8-KHz 8-bit timeslots (much like a T1 carrier). Also included in control interface circuit is a timing mark state machine 97 (shown in phantom since it isn't used in the VIU). In a preferred embodiment, control/interface circuit 80 is implemented in a 2-chip set, one chip containing RxTx 90 and timing mark state machine 97, and the other containing PCTL 92, 3-port memory controller 93, and PCM highway 95.
Table A-3 provides a memory map of PRAM 82. The PRAM contains, among other things, transmit and receive ring buffers for the PCM highway timeslots, tables specifying which network VTS's are free and which are busy, and boot buffers 100a and 100b. Three-port controller 93 allows PRAM 82 to be accessed by RxTx 90, PCTL 92, and CPU 72. The 3-port controller is responsible for arbitration and control of all PRAM accesses, including accesses to buffers in PRAM 82 that hold incoming and outgoing packets.
RxTx 90 provides a 5.018-MHz serial interface to modem 70. It is at this interface that VP's and SP's are communicated. A phase-locked loop in modem 70 recovers the system clock information (5.018 MHz in two phases) and provides it to RxTx 90. The RxTx generates transmit and receive frame boundaries and the timeslot boundaries within each of the frames. In most cases it uses its received frame as the time base and starts its transmit frame a skew time before. RxTx 90 is also responsible for skew calculation, preamble insertion and removal, and delimiter insertion, removal, and recognition. RxTx 90 also interfaces to CPU 72.
PCTL 92 operates under control of RxTx 90 and is responsible for voice and tone buffering and routing between network 10 and PCM highway 95. PCTL 92 also supports tone generation (dial tone, ring back, DTMF). To send tones towards the handset, digitized samples of the tones are read from PRAM 82 and sent out on the codec bus. It also supports the transmission of tones to the network where DTMF tones may have to be sent.
A key function of control/interface circuit 80 is to route VP's, and to that end must keep track of the active VTS's on the network and map each of these active VTS's to one of the 24 voice ring buffers in PRAM 82. The ring buffers are then mapped one-to-one to the 24 PCM bus timeslots in order to establish a connection between the network VTS and the codec. For receiving data RxTx 90 removes the preamble and delimiter, performs a serial to parallel conversion, and passes the data to PCTL 92. The PCTL stores the data in the ring buffer and sends bytes to the codec as required. The ring buffers contain only the actual voice samples for VP's or boot data for BP's. For transmission, the PCTL receives PCM data samples from the codec, and stores them in the PRAM ring buffer. The PCTL thereafter provides the appropriate address information to RXTX 90, which appends a preamble and delimiter, performs a parallel to serial conversion, and transmits the data onto the network.
FIG. A-5 is a block diagram illustrating one of NBU's 40, the function of which is to download boot images (configuration data and operating software) to other nodes, referred to as boot consumers. As mentioned above, NBU 40 shares many common circuit elements with VIU 20 (and other nodes in the network). In particular, the NBU contains those elements described in connection with FIG. A-4 except codec 75 and telephone interface logic 77. While the NBU does not support telephones, it includes and uses the PCM highway to support conference calls. Those elements that do correspond are shown with the same reference numerals. Since, in the current implementation, timing mark generation is actually carried out by the NBU hardware, the NBU has four control/interface circuits and modems so as to be able to transmit TM's on all four channels simultaneously.
The NBU's CPU 72 interfaces with the NBU's associated hard disk 42 through a small computer system interface (SCSI bus interface) 105. The boot images are developed in an off-line development system and written onto floppy disks, which are loaded into NMWS 52 and stored on the NMWS hard disk. The boot images are then transferred to the NBU hard disk(s) independently of the network. Each NBU will typically have boot images for all of the nodes in the network.
General Software Organization
The software in a given node is organized in a layered structure based on the International Standards Organization ("ISO") Open System Interconnection Reference Model ("OSI"). The OSI model contemplates an organization having some or all of the following layers:
Physical;
Link;
Network;
Transport;
Session;
Presentation; and
Application.
As will be described below, some of the layers are implemented using both hardware and software. Moreover, certain of the protocols have attributes that do not allow them to be classified in any single layer. Each of the layers will be discussed briefly, while more expanded description will be reserved for those layers pertinent to the present invention.
The physical layer is concerned with the interaction between the nodes and the network communications medium. Thus, the physical layer encompasses the modem and cable.
The link layer supports communications between nodes on the network, and is implemented using both hardware (most notably control/interface circuit 80) and software. Some of the basic functions have been described above, some others will be described below in connection with the discussion of the operation of the network.
The link layer functions are as follows: monitoring TM reception for all nodes and supporting TM generation on certain devices; best effort delivery of SP's; selective filtering and verification of incoming SP's (using the hash tables); supporting boot buffer transfers; establishing, monitoring, and disconnecting voice circuits; transferring voice (with padding) from network to the codec; and transferring voice from the codec to the network; generating tone to the codec (with padding) and/or to the network; generating silence to the codec; performing diagnostics and reporting severe errors; and presenting statistics and minor errors gathered by the hardware.
The network layer provide a (channel) bridge for establishing communication between channels on the same cable, and between different cables, and will not be discussed further.
The transport layer is responsible for the reliable end-to-end delivery of data between host entities. This includes providing both best-effort and reliable datagram transfer services, built upon the service exported by the link layer. In a "pure" datagram delivery, transport makes a best effort to deliver an information (or a response) packet to the destination(s), but will not notify the requesting session entity if the delivery is not successful. A "reliable" datagram delivery entails delivery of a user information packet to the destination(s), with notification to the requesting session entity if transport is unable to deliver the packet. Transport also supports large data deliveries wherein a large data transfer request from a user entity is delivered to the destination(s) using a combination of both pure and reliable datagrams. If transport is unable to deliver the entire data without error, it will notify the requesting session entity. Appendix 1 is a specification for the transport layer software, setting forth the different transaction types supported.
The OSI model describes the session layer as the level that provides services required to establish and maintain connections between users across the network. It provides the following services: call establishment and disconnection functions between stations connected to a local area network; initiation and monitoring the voice communication path between the station set users; call establishment and disconnection functions for establishing voice communication between station users and the public switched network users; and implementing various end user features.
Depending on the type of node on which it is executed, the session layer has to provide different types of services to the higher layers. While it is possible to provide a common base code to some extent, the differences between such units as VIU's and NBU's make it difficult or impossible to use the same session software on these different types of nodes. However, all the nodes utilize the same set of services and interfaces provided by the lower layers.
The presentation layer is in general concerned with the user interface. With respect to the network software running in the VIU's, the presentation layer is concerned with the duration and format of all the tones a user may hear from the handset, as well as controlling keyboard interaction and the format of messages displayed on liquid crystal displays for those phone models so equipped. A substantial part of these functions is actually implemented in hardware.
In the TIU, the presentation layer is limited to tone generation and detection. On the NBU, the presentation layer functions are really incorporated in the NMWS.
The application layer is in general concerned with the user application. In the current embodiment, the only application level software implemented is the Network Manager. The Network Manager performs the following functions: node configuration, downloading of configuration and code images to the network; monitoring, display and storage of network events; network diagnostics; automatic route selection table generation; and remote network diagnostics.
The software for certain nodes (e.g., an AIU interface to a microcomputerized console or a VIU interfaced to a microcomputerized feature phone named "Spike") contains additional code to control the communications across the interface. Appendix 2 is a specification of the software in the DRAM for controlling the communications. Appendix 3 is a specification of the firmware for "Spike."
Call Setip, Maintenance, and Breakdown
Consider now a typical phone call from one VIU to another. A station set is taken offhook and a local extension number is dialed. Since there is no central intelligence assigning VTS's to the various nodes, the originating device must first capture one. The control/interface circuit keeps track of the status of all the VTS's (busy or free) and attempts to claim the forward half of a free VTS by transmitting a unique Claiming VP on that VTS and checking that it comes back intact. This assures that a VTS thought to be free is indeed free. All other nodes in the network see the Claiming VP on the VTS being claimed and change their PRAM-resident busy/free tables to specify that VTS as occupied.
Once the VTS is claimed, silence VP's are transmitted to maintain the circuit, and a Call Request SP is broadcast across the network. This SP is sent on all channels, and specifies the originator's home channel and the VTS that was claimed. This SP also contains information specifying the source LUA of the call originator and the desired group address (SLE) of the destination (since an extension number can appear at many stations, it is considered to be a group address type).
All other stations on the network receive the Call Request SP and compare the contents of the destination field within the packet to the extension numbers which are supported by the receiving station. The Call Request is ignored if no match exists. If the destination extension matches one of the extensions supported by the receiving station, and the destination is not busy, the destination sets itself to operate on the originator's home channel, after which an Accept SP is sent back to the originator with the receiving station's LUA.
Since the LUA of the accepting station is included in the Accept SP, the originating station will know the specific station which has accepted the call. Therefore, an Accept Acknowledgement SP is sent directly to the accepting station using LUA addressing to begin ringing at the destination station, and a ringback tone is sent to the originator's handset. When the destination station goes offhook, the reverse timeslot is claimed, indicating an answer. If the claiming is successful, an Answer SP is returned to the originating station. Silence VP's are now replaced with actual VP's. After the conversation is over and either party goes onhook, a Disconnect SP is sent by the terminating station and the connection is terminated. If the destination is busy, a Busy SP is returned to the originator and the exchange ends with the originator receiving a busy tone.
Network Boot Unit and Protocols
Nodes require the downloading of boot images when they are powered up, which occurs after a power failure, when they are first brought on line, or when they are disconnected and moved. Boot images are also downloaded when a new software release is to be installed on some or all of the nodes. Downloading typically occurs in two stages, first program code, and then configuration data. The program code is generally much longer than the data, and can be downloaded to a number of nodes at the same time. The configuration data is different for each node, and must be downloaded on an individual basis. As will be described below, a node, having received its code image requires its CID before it can request its configuration.
Table A-4 provides the format of a boot image file. Boot images are divided into blocks, with the size of each block depending on the size of boot buffers 100a and 100b in PRAM 82 (256 bytes each in the present implementation). As can be seen, the file contains an initial block having global information as to the boot image file, and a number of data blocks, each having the actual data and associated header information about the specific block (load address, block size, block number).
BP's, which occupy VTS's, are used to transmit boot images over the network. Each BP contains 16 bytes of data, which translates to a data rate of 64 kilobits/sec if only one VTS per cycle is used. In view of the possible large size of boot images, BP transmission and reception may occur on multiple VTS's, thereby providing higher data rates.
Boot transmissions occur in response to requests from boot consumers. Such requests are typically made when a node is powered up, either at the same time as the rest of the network, or after being connected to the network while the rest of the network has been running. A node requiring a boot image transmits a boot request SP ("BRSP") to request the image it needs. The NBU responds by sending boot control SP's ("BRSP") and BP's, as will be discussed in detail below.
Table A-5 sets forth the format for a BRSP. BRSP's are'sent to an address permanently assigned to NBU's and contain image descriptor information specifying the memory image being requested.
Table A-6 sets forth the format of a BCSP. BCSP's are sent on all channels and contain boot control and image descriptor information. Boot control specifies which channel, frame, and VTS('s) are used to transmit the image. The image descriptor provides information about the memory image itself. This information is statically bound to each boot image and resides with the boot image on hard disk 42. It is generated in the development environment and included as the header of the boot image file. It is extracted by the NBU to create the BCSP.
On power up, the boot consumer executes the code stored in its boot ROM. FIG. A-6 is a flowchart of the boot ROM code. The node scans the various receiver frequencies to find a channel with timing marks. After identifying its unit type and boot channel, the node begins to receive and interpret SP's, waits for BCSP's identifying the necessary image, and transmits a BRSP if it does not receive the required BCSP within a certain random time interval (up to 50 ms). It performs its part of the boot operation according to the parameters specified in the BCSP.
FIGS. A-7A and A-7B are flowcharts of the NBU code. Before transmitting the boot image, the NBU claims one or more VTS' (in the same manner as the VIU claims a VTS in a voice call), and transmits (on all channels) boot control SP's ("BCSP's") containing boot control information and image descriptor information about the boot image being broadcast.
Multiple NBU's having the requested boot image arbitrate amongst themselves to decide which one is to respond to a BRSP. Upon receiving a BRSP, each NBU attempts to claim the service by adding the boot group address of the requested image and sending a BCSP with no VTS's allocated. If it receives its own BCSP (as determined by the source address) first, it will start the boot process by claiming one or more VTS's and sending a BCSP to the boot consumers. The downloaded image will satisfy multiple requests for the same image.
BCSP's are sent a predetermined amount of time before the actual transmission of the specified block so as to allow the boot consumers time to receive the image. They are also sent throughout the image transmission to allow other boot consumers to start receiving the image in the middle of the transmission, with a second transmission being used to fill in the missing parts. BCSP's are sent to group addresses, there being a group address assigned to each type of network unit. Boot ROM 87 in each unit, based on its unit type, can receive and filter for the corresponding BCSP.
There is also a procedure for downloading boot images to nodes that are not specifically requesting. This is initiated at NMWS 52, which causes the NBU to send an SP instructing nodes to take themselves out of service and then to come back up. On coming up, the nodes request the boot images as discussed above.
Boot packets are sent from and received into boot buffers 100a and 100b in PRAM 82. The control/interface circuit alternates between the boot buffers when retrieving or storing boot information, varying the delimiter to specify which buffer is to be used. There are two registers which control each direction of boot activity, the Tx and Rx boot buffer and boot pointer registers (referred to collectively as the boot registers). In actual practice, units will never both transmit and receive boot information, but this facility is provided for diagnostic purposes. The boot registers are typically zeroed by software before starting boot transmission or reception. PCTL 92 controls (writes to) these registers during the boot process, so software should not write to the boot registers while the boot operation is in progress.
The Tx boot buffer register specifies the boot buffer (0 or 1) from which the next BP is to be fetched. The Tx boot pointer register points to the location in that boot buffer of the next BP. The Tx boot buffer register is toggled immediately after the last byte in a given buffer is read by PCTL 92. The Rx boot buffer register points to the boot buffer (0 or 1) to which the next received BP is expected to be delivered. The buffer into which it is actually placed depends on the BP delimiter. The Rx boot buffer byte toggles after a BP is received which fills the current buffer, or immediately upon reception of a BP destined for the other boot buffer. The Rx boot pointer register always points to the next byte in the current boot buffer into which a BP is to be written.
As mentioned above, a node normally receives its code image first, followed by its configuration data. Before a node can request its configuration data it must have its CID. If the node has just been powered up, it doesn't have its CID. If the node is a TIU, it calculates the CID for each port based on its cabinet, slot, and port numbers. If the node is a VIU, it requests its CID from the NBU by sending a CID Request SP (with CID=0). A single-port VIU (needing only one CID) identifies itself by its PUA. A multiple-port VIU makes separate CID requests for each of its ports, identifying itself on each request by its cabinet and slot numbers as well as the port number. When all VIU's come up at once, they could flood the network with CID and configuration image requests. To alleviate network congestion, each device waits an amount of time based on its PUA before sending its CID request. If the requesting VIU has previously been installed on the system, the NBU has its CID in a table, and responds with a CID Response SP. The CID Response SP specifies the CID and a backoff time for the VIU to wait before sending its BRSP requesting configuration data. If the requesting VIU has come up for the first time, the NBU does not have its CID, and sends a CID Response SP (with CID=0).
The VIU then uses this zero value CID to get a special configuration that only allows CID entry from the phone; no phone calls are possible with this configuration. A user picking up the handset hears an "Enter CID" tone instead of a dial tone. The user must then invoke the feature code to enter a CID, and hears no tone until the CID is verified. The VIU software receives the CID, and sends a CID Request SP (with the non-zero CID) to register the CID with the NBU.
If the CID is unique on the network, the NBU responds with a CID Response SP that contains the CID. The VIU gives a "CID Confirmed" tone to the user. The VIU then requests the configuration image from the NBU. Once the configuration image has been received, the user gets a dial tone. If the CID is already registered by another device or is a reserved CID, the NBU sends a CID Response SP (with CID=0). This causes an error tone if the phone is still offhook. After the user hangs up, the "Enter CID" tone is produced when the phone is later taken offhook.
Once a single-port node has been registered on the network, that node, together with its phone, may be relocated to a different area and reconnected to the network. The attached phone will then automatically assume the same extension number and pre-configured features as at the previous location. The same is true if a multi-port VIU and all the attached phones are relocated, and also for any other kind of network node, regardless of whether they support phones, trunks or NBU's.
The network also supports de-registration and re-registration of nodes according to pre-configured criteria. Appendix 4 is a detailed specification of procedures for registration and de-registration of Voice and Trunk Interface Units. Varying modes of registration and re-registration are permitted. Thus, global registration and re-registration permits new phones to be added and existing phones to be re-registered at will, while the most secure mode permits nothing to be registered or re-registered.
RXTX/PCTL/PRAM Organization and Operation
FIG. B-1 is a more detailed diagram of RXTX 90. As shown therein, RXTX 90 comprises a modem interface 120, a modem receive state machine 124, a modem transmit state machine 128, a CPU interface 132, and a PCTL interface 136. RXTX 90 is synchronized to the network and therefore requests network-related data transfers.
Modem interface 120 packetizes and depacketizes all information going through control/interface circuit 80. This includes inserting/detecting delimeters and generating/checking CRC's. The low level tasks of determining skew and maintaining the receive and transmit frame timing are also done here.
CPU interface 132 consists of interupt circuitry, command and status registers, and the microprocessor interface circuitry required to access them. In this embodiment, CPU interface 132 is designed to interface with the intel 80186 bus structure. To minimize the real-time load on CPU 72, CPU 72 is interrupted only when an event in which it is interested occurs.
PCTL interface 136 takes care of any buffering or timing considerations that might be necessary for receiving and transmitting data. PCTL interface 136 also communicates the necessary information with PCTL circuit 92 for accessing P-RAM 82. In this embodiment, PCTL interface 136 is directly coupled to the P-RAM 82 data bus.
Modem RX state machine 124 and modem transmit state machine 128 control the operations between modem interface 120, CPU interface 132 and PCTL interface 136. The operation of modem receive state machine 124 and modem transmit state machine 128 is governed by the timing inputs from modem interface 120 and the commands received from CPU interface 132. Modem receive state machine 124 and modem transmit state machine 128 interact with each other when a node is monitoring its own transmission (e.g. CVP's).
FIG. B-2 is a more detailed diagram of PCTL circuit 92. PCTL circuit 92 includes a RXTX interface 142, a network receive state machine 146, a network transmit state machine 150, a P-RAM interface 154, a PCM highway interface 158, a PCM highway state machine 162, and a CPU interface 166.
RXTX interface 142 is responsible for accepting commands from RXTX 90 and passing them to the appropriate network state machine 146 or 150. RXTX interface 142 also keeps track of the current network transmit and receive timeslots via network transmit and receive framing signals from RXTX 90.
Network receive state machine 146 translates the commands received from RXTX 90 involving network receive operations into the appropriate P-RAM 82 accesses. For example, one of these commands instructs network receive state machine 146 to deliver voice data to the P-RAM resident receive ring buffers from RXTX interface 142. Network receive state machine 146 is responsible for generating the required P-RAM addresses and for controlling the data flow between P-RAM 82, PCTL interface circuit 154, and RXTX interface 142. In addition, it maintains all state information necessary to perform these tasks, such as pointers into the TM, SP, CVP, and BP receive ring buffers. Network receive state machine 146 uses its own time slot interchange table to read the mapping between the network receive time slots and the receive ring buffers.
Network transmit state machine 150 translates commands from RXTX interface 142 involving network transmit operations into appropriate P-RAM 82 accesses. For example, one of these commands instructs network transmit state machine 150 to deliver voice data from the P-RAM resident transmit ring buffers to RXTX interface 142. Network transmit state machine 105 is responsible for generating the required P-RAM addresses and controlling the data flow between P-RAM 82, PCTL interface 154, and RXTX interface 142. In addition, it maintains all the state information necessary to perform these tasks, such as pointers into the TM, SP, CVP, and BP transmit ring buffers. The network transmit state machine 150 interprets the P-RAM resident time slot interchange which maps the network transmit time slots to the appropriate transmit ring buffer (and thus PCM highway timeslot). It then controls the actual data transfers from the P-RAM resident ring buffers to RXTX interface 142.
PCM highway interface 158 is responsible for keeping the PCM highway state machine 162 in sync with the PCM highway. It also controls transmissions onto the PCM highway. Data transmitted on the PCM highway should be encoded using mu-255 as per CCITT recommendation G.711.
PCM highway state machine 162 is responsible for transferring data between the P-RAM 82 ring buffers and PCM highway interface 158. As discussed below, there is one transmit and one receive ring buffer in P-RAM 82 for each of the 24 PCM highway time slots to buffer voice data between the network and the codecs. PCM highway state machine 162 interprets the mode command register in P-RAM 82 that selects idle, voice, or tone mode, and then transfers information as required. PCM highway state machine 162 also checks both transmit and receive ring buffers in P-RAM 82 on every access for overflow conditions, and takes appropriate action.
P-RAM interface 154 controls all accesses to P-RAM 82. It uses a slotted access scheme, reserving every other P-RAM access for PCM highway state machine 162. It reserves the remaining access slots for network transmit state machine 150 and network receive state machine 146 as shown in FIG. B-3. Each state machine must request each use of its access slots from P-RAM interface 154. Any slots not used by their owner are available for use by CPU 72.
CPU interface 166 services CPU requests to read from or write to command and status registers disposed within CPU interface 132. In addition, it routes requests to read from or write to P-RAM memory space to P-RAM interface 154. P-RAM interface 154 in turn provides a "ready" signal to CPU 72 when appropriate and transfers data as required. As the CPU operates using an unknown clock phase (and possibly frequency) compared to RXTX 90 and PCTL 92, all CPU requests are synchronized to the clocks within RXTX 90 and PCTL 92 before being executed.
FIG. B-4 is a more detailed diagram of the inputs and outputs for RXTX 90, PCTL 92, and P-RAM 82. The I/O terminals of modem interface 120 (FIG. B-1) in RXTX 90 (shown at the bottom of RxTx 90 in FIG. B-4), includes an M-5 input terminal 200 for receiving 5.018 megahertz clock pulses (used e.g. for data timing); an RXD input terminal 204 for receiving serial data (5.018 MBPS) from modem 70; a TXD output terminal 208 for transmitting serial data (5.018 MBPS) to modem 70; an ME output terminal 212 for providing a modem enable signal to modem 70; a RCH bus 216 for providing a 4-bit receive channel number to modem 70; a TCH bus 220 for providing a 4-bit transmit channel number to modem 70; an MF input terminal 224 for receiving a modem fault signal from modem 70; a MFR output terminal 228 for providing a modem fault reset signal to modem 70; an OSCE output terminal 232 for providing an oscillator enable signal; and a bidirectional M/SF terminal 236 for synchronizing the transmit frame with other RXTX circuits 90 at the node. M/SF terminal 236 is an output terminal when RXTX circuit is a master timing mark generator, and it is an input terminal when RXTX circuit 92 is a slave timing mark generator. Circuit timing will be discussed in more detail below.
The I/O terminals of CPU interface 132 (FIG. B-1) in RxTx 90 (shown at the top of RxTx 90 in FIG. B-4) include a bidirectional RTCPUD 242 bus for communicating 8-bit parallel status and command data with CPU 72; a RTCPUA bus 246 for receiving 5-bit addresses from CPU 72; an RTCS input terminal 250 for receiving a chip select signal from CPU 72; an INT output terminal 254 for providing interupt signals to CPU 72; an RDY output terminal 258 for providing "ready" signals to CPU 72; a BER output terminal 262 for providing bus error signals to CPU 72; an RTCPUR input terminal 266 for receiving CPU read pulses; and an RTCPUW input terminal 270 for receiving CPU write pulses.
The I/O terminals for PCTL interface 136 (FIG. B-1) in RXTX 90, and RXTX interface circuit 142 (FIG. B-2) in PCTL 92 include a TXS terminal 274 for communicating transmit frame synch pulses to PCTL 92 for marking transmit time slot boundaries; a TXFR terminal 278 for indicating to PCTL 92 whether the transmit frame is forward or reverse; an RXS terminal 282 for communicating receive frame synch pulses to PCTL 92 for marking receive frame time slot boundaries; an RXFR terminal 286 for indicating to PCTL 92 whether the current receive frame is forward or reverse; an RFL terminal 290 for indicating to PCTL 92 whether the receive frame is locked; a PW terminal 294 for providing signals to enable RXTX 90 to communicate directly with P-RAM 82; a synch terminal 298 for providing signals to synchronize the state machines within PCTL 92 with the state machines within RXTX 90; a 5-bit CMD bus 302 for communicating RXTX 90 commands to PCTL 92; and a bidirectional PD bus 306 which is an 8-bit data bus for accessing P-RAM 82. PD bus 136 is coupled to one port of 3-port controller 93. When more than one channel is to be accommodated in a device, multiple RXTX and PCTL circuits communicate with each other using the foregoing terminals. In that case, the terminals bay be broadly described as an interchannel bus (ICB).
The I/O terminals of CPU interface 166 (FIG. B-2) in PCTL 92 (shown at the top of PCTL 92 in FIG. B-4) include a bidirectional PCPUD bus 320 which communicates with the lower 8 bits of the 80186 data bus; a PCPUA bus 324 for receiving the address bits required to access PCTL internal registers and P-RAM 82; a CRS input terminal 328 for receiving signals indicating that CPU 72 is accessing P-RAM 82; a CPS input terminal 332 for receiving signals indicating that CPU 72 is accessing the PCTL 92 internal registers; a CRD input terminal 336 for receiving the CPU read signal; a CWR input terminal 340 for receiving the CPU write signal; a CRDY output terminal 344 for indicating to CPU 72 that the PCTL 92 internal register or P-RAM 82 access requested by CPU 72 has completed and valid data is available or has been accepted; and a PBER output terminal 348 for indicating that the PCTL 92 access requested by CPU 72 has not completed in a timely manner, thus ending the CPU cycle. The signals on PBER terminal 348 can be used either to generate a "bus error" or non-maskable interupt to CPU 72.
The I/O terminals of PCM highway interface 158 (FIG. B-2) of PCTL 92 (shown on the right hand side of PCTL 92 in FIG. B-4) include an RPCM terminal 360 for transmitting data to codec 75; a TPCM terminal 364 for receiving data from codec 75; a PCLK input terminal 368 for receiving a 6.176 megahertz clock used to control the PCM highway interface; and a PCLK terminal 372 for establishing the 1.544 megahertz clock used to transmit and receive data on PCM highway 95. The signals on PCLK terminal 372 are output by PCTL 92 when a "PCM highway master" bit is set in a PCTL mode register discussed below. PCM highway interface 158 further includes a TSO terminal 376 for indicating that the PCTL 92 internal PCM highway time slot counter should be reset to time slot 0 on the next 6.176 megahertz rising clock edge. The signals on this line are output by PCTL 92 when a "PCM highway master" bit is set in the PCTL mode register. A TXEN terminal 380 provides signals to codec 75 indicating it should begin transmitting data on a current time slot; and a TOE terminal 384 provides signals to codec 75 to cause codec 75 to enable its output drivers to PCM highway 95. The signals on TOE terminal 384 typically are required when using codecs which cannot generate the required transmit PCM highway time slot timing using only the signals on TXEN terminal 380. A RXEN terminal 388 provides a signal which informs codec 75 to receive data from the PCM highway in a current time slot. A PTS bus 292 provides the current 5-bit time slot number on the PCM highway. A 4-bit PST bus 396 provide the current state of the PCM highway state machine. It is primarily used during chip test.
The I/O terminals for P-RAM interface 154 (FIG. B-2) in PCTL 92 include a 16-bit PA bus 402 for addressing P-RAM 82; a PCS terminal 406 for providing a chip select signal to P-RAM 82; a PWE terminal 410 for providing a write enable signal to P-RAM 82; and a POE terminal 414 for providing an output enable signal to P-RAM 82. These terminals are coupled to one port of 3-port controller 93.
Control/interface Circuit Commands
To understand how control/interface circuit 80 functions, and to understand the organization of P-RAM 82 and the command/status registers in RXTX 90 and PCTL 92, it is helpful to list the commands which occur within control/interface unit 80. These commands may be separated into three categories: network commands processed by RXTX 90, PCM highway commands processed by PCTL 92, and RXTX/PCTL commands for communication between RXTX circuit 90 and PCTL circuit 92.
Network Commands
The following is a list of network commands:
Transmit timing mark (TX TM);
Transmit signalling packet (TX SP);
Transmit claiming voice packet (TX CVP);
Transmit voice packet (TX VP);
Transmit boot packet (TX BP);
Transmit silence (TX Silence);
Receive timing mark (RX TM);
Receive signalling packet (RX SP);
Receive voice packet (RX VP); and
Receive boot packet (RX BP).
PCM Highway Commands
The following is a list of PCM highway commands:
Transmit idle;
Transmit voice;
Transmit tone;
Transmit receive PCM highway data;
Receive idle;
Receive voice with gain switching;
Receive tone with gain switching;
Receive long tone without gain switching;
Receive short tone--terminate this cycle;
Receive long tone--terminal this cycle.
The RXTX/PCTL commands will be discussed later.
P-RAM ORGANIZATION
To support the foregoing commands, P-RAM 82 is organized as follows. As noted in Table A-3, the addresses are listed in hexadecimal. The numbers in parenthesis following the block definition is the number of bytes in the block.
As noted above, P-RAM 82 contains not only the ring buffers used for transmitting the actual data between codec 75 and modem 70, but a number of command and status byte locations. The following tables and descriptions provide the bit assignments for the latter.
RXTX/PCTL Commands
Now that the organization of PRAM 82 and the RXTX 90/PCTL 92 internal registers have been described, the various commands between RXTX 90 and PCTL 92 may be described.
The command number and a short description is stated. The data field describes what should appear on the PRAM data bus as a result of the command. The source and destination tells where the data comes from and which devices use it.
COMMAND 0 (00000):
Description: No operation
Data Field: Don't Care
Source: PD <7 . . . 0> is tri-stated.
Destination: PD <7 . . . 0> is tri-stated.
The Commands will be NOPs (Command 0) until the Rx frame is locked (i.e. the TM threshold is reached).
The following commands are specifically for the transmit or receive direction.
Commands Issued when Transmitting Data to Modem 70
COMMAND 1 (00001):
Description: Read Tx Active Table for present time slot.
Data Field: See Table B-9
Source: P-RAM
Destination: RxTx chip and PCTL chip
COMMAND 2 (00010):
Description: Read Net Tx PCM Timeslot Map Entry. This register maps a network voice time slot to a PCM highway time slot.
Data Field: See Table B-13
Source: P-RAM
Destination: PCTL chip
COMMAND 3 (00011):
Description: Read Net Tx Read Pointer. This register holds the Xmt Ring Buffer address which points to the first byte to be transmitted in this time slot.
Data Field: See Table B-8
Source: P-RAM
Destination: PCTL chip
COMMAND 4 (00100):
Description: Read PCM Hwy Tx Write Pointer. This register holds the first Xmt Ring Buffer address which will be written into by the PCM Hwy during this time slot.
Data Field: See Table B-7
Source: P-RAM
Destination: PCTL chip
COMMAND 5 (00101):
Description: Read PCTL Transmit Status.
Data Field: See Table B-15
Source: PCTL chip
Destination: RxTx chip
COMMAND 6 (00110):
Description: Send RXTX transmit Status to PCTL. The RxTx sends status to the PCTL, stating the type of packet that will be transmitted.
Data Field: See Table B-33
Source: RxTx chip
Destination: PCTL chip
COMMAND 7 (00111):
Description: Transfer appropriate data. This command is used whenever packet data is needed from the P-RAM.
Data Field: The data byte to be transmitted in the current packet.
Source: P-RAM
Destination: RxTx chip
COMMAND 8 (01000):
Description: Write the first byte of the last time slot's CRC.
Data Field: Least significant CRC byte.
Source: RxTx chip
Destination: P-RAM (OBCO-OBFF)
COMMAND 9 (01001):
Description: Write the second byte of the last time slot's CRC.
Data Field: Most significant CRC byte.
Source: RxTx chip
Destination: P-RAM (OBCO-OBFF)
COMMAND 10 (01010):
Description: Transfer CVP time slot number from RxTx to PCTL.
Data Field: Least significant 6 bits of the octet is the frame bit (forward or reverse) and the 5-bit slot number. (Table B-28, bits <5:0>)
Source: RxTx chip
Destination: PCTL chip
COMMAND 11 (01011):
Description: Read Busy/Free table of CVP time slot. The CVP Command Byte (see Table B-25) specifies forward or reverse frame. The RxTx chip will issue this command every frame, but the data field will be used only during the designated frame (forward or reverse).
Data Field: See Table B-11
Source: P-RAM
Destination: RxTx chip
COMMAND 14 (01110):
Description: Update Network Tx Read Pointer
Data Field: See Table B-8
Source: PCTL chip
Destination: P-RAM
ICB Commands for the Rx Direction
COMMAND 16 (10000):
Description: Update Rx Active entry to report Disconnect.
Data Field: See Table B-10
Source: PCTL
Destination: P-RAM
COMMAND 17 (10001):
Description: Read Rx Active entry for current time slot.
Data Field: See Table B-10
Source: P-RAM
Destination: RxTx and PCTL chip
COMMAND 18 (10010):
Description: Read Net Rx-PCM Timeslot Map Entry. This register maps a network voice time slot to a PCM highway time slot.
Data Field: See Table B-13
Source: P-RAM
Destination: PCTL chip
COMMAND 19 (10011):
Description: Read Net Rx Write Pointer. This register holds the Rcv Ring Buffer address where the first data byte is stored. When issued during a TM or SP time slot, the TM or SP pointer is just cleared since these packets always start at the same buffer address.
Data Field: See Table B-6
Source: P-RAM
Destination: PCTL chip
COMMAND 20 (10100):
Description: Read PCM Hwy Rx Read Pointer. This register holds the first Rcv Ring Buffer address which will be read by the PCM Hwy during this time slot.
Data Field: See Table B-5
Source: P-RAM
Destination: PCTL chip
COMMAND 21 (10101):
Description: Read PCTL Receive Status
Data Field: See Table B-16
Source: PCTL chip
Destination: RxTx chip
COMMAND 22 (10110):
Description: Send Delimiter Status. The RxTx sends status to the PCTL, stating the type of packet that was received.
Data Field: See Table B-34
Source: RxTx chip
Destination: PCTL chip
COMMAND 23 (10111):
Description: Transfer appropriate data, This command is used whenever actual information is sent to the P-RAM.
Data Field: The data byte received in the current time slot.
Source: RxTx chip
Destination: P-RAM
COMMAND 24 (11000):
Description: Read the first byte of the last time slot's CRC.
Data Field: Least significant CRC octet.
Source: P-RAM (OBCO-OBFF)
Destination: RxTx chip
COMMAND 25 (11001):
Description: Read the second byte of the last time slot's CRC.
Data Field: Most significant CRC octet.
Source: P-RAM (OBCO-OBFF)
Destination: RxTx chip
COMMAND 26 (11010):
Description: Read Busy/Free Table Entry of current time slot.
Data Field: See Table B-11
Source: P-RAM
Destination: PCTL chip
COMMAND 27 (11011):
Description: Update Busy/Free Table Entry of current time slot.
Data Field: See Table B-11
Source: PCTL chip
Destination: P-RAM
COMMAND 28 (11100):
Description: Send HASH address to PCTL.
Data Field: See Table B-37
Source: RxTx chip
Destination: PCTL chip
COMMAND 29 (11101):
Description: Read HASH table entry.
Data Field: See Table B-12 Note this byte is used by the PCTL chip only.
Source: P-RAM
Destination: PCTL chip
COMMAND 30 (11110):
Description: Update Network Rx Write Pointer
Data Field: See Table B-6
Source: PCTL chip
Destination: P-RAM
COMMAND 31 (11111):
Description: Send Packet Status. The RxTx sends status to the PCTL, stating any errors detected after the entire packet has been received.
Data Field: See Table B-35
Source: RxTx chip
Destination: PCTL chip
RXTX/PCTL OPERATION
In this section it is assumed that multiple channels are supported, and the terminals coupling RXTX 90 with PCTL 92 are broadly referred to as the interchannel bus (ICB).
Timing Mark Generation
Upon initialization, it is necessary to establish system timing. To do this, CPU 72 sets the M/S bit in the TM Master/Slave Register (Table B-22) for each control/interface circuit which CPU 72 desires to be a potential TMG. Each potential TMG waits a random length of time (up to about 50 milliseconds) and then its timing mark state machine transmits TM packets on all channels.
In the tables that follow, the time period refers to the current octet on the node input (not the octet on the ICB). Also note that the commands in some delimiter time periods are labeled "early," "late," or "normal." An "X" means either a 0 command or no command at all is sent (the delimiter or pad time period was curtailed).
Tx time slots start during the pad of the previous time slot. At this point, the time slot counters in the RxTx chip and PCTL chip are incremented (using the signal on ync Terminal 298). The Tx state machine is allowed two commands for every octet. Since all pads except TM pads are 12-bits wide, there can be up to 3 commands during these times.
If a control/interface circuit 80 receives the TM packet that it sent intact, it assumes the status of master TMG. The other control/interface circuits clear the M/S bit, assume the status of slave TMGs, and monitor their respective channels to ensure that the master TMG is sending valid TM packets.
The following is performed when receiving TMs:
In the event that TM packets on any channels stop for some number of consecutive frames (as determined by the Threshold register (Table B-18) and the Consecutive Missing TM register), the backup TMGs arbitrate to become the new master TMG.
Since the TM is much smaller than the other packets, CMDs #26, 27, 16, 28, & 29 are not issued.
Receive Frame Timing
Once the master TMG is established, each control/interface circuit 80 must establish proper receive and transmit frame timing. This is done by first capturing and locking into the incoming TM packets. Both master and slave TMGs perform this function. After coming out of reset or after the TM window bit in TM Command/Lock Status register (Table B-23) is set to zero by CPU 72, RXTX 90 will begin searching continuously (i.e. the search window is "wide open") for good TM packets. During this time, no other packets are recognized. It is possible to detect several good TM packets within a millisecond, since there may be different devices arbitrating to become the master TMG. Errors will be recorded to prevent a false lock. Once a steady stream of TM packets is detected with TM packets spaced about a millisecond apart, with good CRCs and good frame numbers, RXTX 90 will lock the incoming frame by setting the TM Window bit to one. This means that RXTX 90 will search for TM packet delimiters during a small window at a predicted time (every millisecond). This leaves the rest of the frame for servicing other packets, and RXTX 90 can function normally. Furthermore, looking for TMs only when they are expected prevents occasional voice data which mimic TMs with valid CRCs from causing receiver synchronization malfunction.
CPU 72 sets the "TM lock threshhold" in the TM command register (see Table B-23) to determine how many consecutive good TM packets must be detected before the frame is locked. RXTX 90 will lock the frame automatically when this threshhold is reached. If the chosen threshhold is too long, CPU 72 can lock the frame manually by setting the TM Window bit to one. In this embodiment, RXTX 90 cannot automatically declare loss of frame and open the search window by itself to reestablish it. Even if several frames have passed without good TM packets, RXTX 90 must continue to predict frame boundaries until the device is reset or CPU 72 gives an explicit command to open the window.
After the TM lock threshhold is reached, the receive frame is established upon reception of the next good TM packet. After checking the CRC of the incoming TM packet and determining that the packet is free of errors, RXTX 90 counts the number of bits of the TM pad time and creates a bit-wide pulse during the last bit of the TM pad. See FIG. B-5. A number of bits in an SP is then counted, and the first voice time slot is marked by a pulse. This continues until the next TM time slot where the pulse is lengthened to 8 bits to mark the beginning of a new frame. Once the receive frame is locked, the receive frame time pulses are meaningful. These timing pulses are shared with PCTL 92 (via RXS terminal 282) and allows control/interface circuit 80 to receive information within distinct time slot boundaries.
In this embodiment, if the TM packet received has a CRC error, the beginning of the SP time slot is determined from the last good TM packet. That is, RXTX 90 continues predicting time slot boundaries even if the TM packet is bad. A separate signal indicates whether the present frame is forward or reverse. This is determined by the LSB of the received frame number of a good TM packet (in this embodiment, if the TM packet is bad, the signal is toggled). This signal will be valid after the TM CRC is checked for the SP time slot.
The pulses of the receive frame signals mark the predicted time of arrival of a preamble. In actuality, a packet may arrive four bits earlier or later (because of reclocking by HRU 50). Because of this, a 16-bit window is established in which the delimiter may be found. See FIG. B-6. A delimiter that lies partly or wholly outside this window must be ignored so that neighboring time slots are not affected. After the receive frame is locked, the TM and VP slots use 16-bit windows. The SP slots use 16-bit windows also unless the SSP is expected. The pulse for the next time slot does not change if a delimiter of the current time slot is early or late. This is because the source of transmission of the next time slot is independent. The shift in timing caused by an early or late delimiter is absorbed by the preamble or the pad (one or the other is shortened).
Skew Calculation
As explained in the discussion of Network Timing, the Tx frame must start a skew time before the Rx frame. Therefore, before Tx frame timing may be established, skew must be calculated. This is done by transmitting and receiving a skew signalling packet (SSP). The skew is represented by the number of bit times (of the 5.018 Mhz clock) it takes for the round trip delay. To account for skew variations during operation, skew for a particular device is recalculated every time it sends an SP.
A Signalling Packet is sent out during the SP timeslot, according to the SP Space and Tx Channel bits of the command. In addition, this transmitted packet is received and the CRCs of each are calculated and compared to detect collisions. An interrupt is given after this receive check is performed giving the results. The hardware clears the command after the packet is transmitted to ensure the same packet is not transmitted again.
All SPs transmitted are either 14 bytes long or 60 bytes long from the end of the delimiter to the start of the CRC (i.e. control/interface circuit 80 always transmits one of these lengths). The short packets are used to set the skew so that they do not interfere with the first voice timeslot if the actual skew of the control/interface circuit is great. The maximum length packets are used at all times thereafter.
A new skew calculation is performed whenever a Tx SP command is given by CPU 72. The new value is only accepted by control/interface circuit 80 if the SP was received correctly.
The command sequence is generally the same for SPs and SSPs so both will be described now. RxTx 90, however, will generate and send a CRC after the 14th byte of an SSP. The Tx modem will be disabled after the CRCs are sent, but the command sequence will continue as if a regular SP is being processed. All commands issued after the SSPs CRC are ignored.
Since different types of SPs may have different priorities, SPs are placed in eight different partitions in this embodiment. The partitions are determined by a modulo eight frame counter (modulo four cycle counter) transmitted by the master TMG. CPU 72 specifies, via the SP command register, in which one or more of the eight partitions it can be sent. RXTX 90 then transmits the SP on the next allowable frame. This partitioning scheme is simple enough to be implemented in hardware, thus freeing CPU 70 for more important tasks.
Control/interface circuit 80 will receive any SP sent on the channel to which it is listening, except when that control/interface circuit is transmitting an SP on another channel during that frame.
The receive sequence for SPs and SSPs are the same except for the length of the data byte field. The RxTx will know if it had just sent an SSP because it will have set the TX SSP bit in the SP Status Register. Since the SSP is much smaller in length than an SP, it may be received in a much larger window during the SP time slot. Because of this, there may be a long sequence of NOPs (Command 0) when waiting for the arrival of an SSP packet.
Changes in skew values will not generate interrupts to the CPU. The skew registers however, can be read by the CPU, in case variations need to be monitored.
Transmit Frame Timing
In this embodiment, the Tx frame is generated two different ways depending on whether control/interface circuit 80 is a master TMG or a slave. For a slave, the start of the Tx frame depends on when the TM was received and the length of the skew. For a master, the Tx and the Rx frames are independent.
Slave Mode
Slaves are all control/interface circuits except for the device that is a master TMG. As noted above, the Tx frame must start a skew time before the Rx frame. However, the control/interface circuit needs to know the beginning of the Rx frame to establish the beginning of the Tx frame. One way to circumvent this dilemma is to establish the beginning of the next
Tx frame
Each Rx frame is given a frame number by the master TMG. The Rx frame with frame number N will establish the beginning of the Tx frame with frame number N+1 (See FIG. B-7). The beginning of the TX frame is determined by counting down from a fixed point in the Rx frame until this counter equals the skew count register. This fixed point must be far enough from the end of the Rx frame so that the maximum possible skew that the system will tolerate can be supported. This point is thus called the maximum skew point or MSP.
The time slot boundaries of the Tx frame are slightly different from that of the Rx frame. Instead of starting during the last bit of the previous packet's pad time, the pulse occurs at the beginning of the pad time. This allows RxTx 90 to prepare for data transmission well before the upcoming preamble (See FIG. B-8).
Master Mode
If a control/interface circuit is the Master TMG or if it is contending to become the TMG (during power up or the loss of the Master TMG), the start of the Tx frame is independent of the Rx frame. The start of the Tx frame is dependent, however, to the start of the Tx frame of other TMGs in the system. The control/interface circuits can work by themselves, but in this embodiment, all TMGs are synchronized (via the C-M/S bit in the TM Command/Lock Status register (Table B-23) and SYNC terminal 298) so that transmissions of TMs occur simultaneously.
The pulses for the Tx frame during Master Mode is the same as for Slave Mode. That is, the beginning of a time slot is marked by a pulse at the beginning of a previous time slot's pad time.
Notice that the Rx timing differs from Tx timing in that Rx time slot boundaries are predicted values. Frame boundaries are aligned after receiving a good TM, but since each time slot contain information from varied sources, the first byte of the packet, the preamble, may actually appear 4 bits earlier or later than the predicted time slot boundary. (The theoretical limit for error is plus or minus 2 bits, but the RxTx chip will accept up to plus or minus 4 bits of error).
Because of this discrepancy, it cannot be guaranteed that there will be a total of four commands during the preamble/delimiter time. Worst case, a time slot can receive a packet 4 bits earlier than predicted. Since the time slot counter changes at the predicted preamble time, half of the preamble time will have already passed if a packet comes early. This, effectively, allows for only one command during the preamble time. If the preamble is late by (worst case) 4 bits, there may be up to three commands during the preamble.
Since it is not known whether a packet is early or late until the delimiter is detected, this discrepancy is taken care of during the delimiter window. Two ICB commands will be sent during the predicted preamble time, but during the delimiter time one, two or three commands are sent depending on whether the packet is early, on time or late, respectively.
The PAD is affected also. If the packet is late the pad time is shortened; hence, there may be only two commands instead of three during the 12 bit pad of voice time slots and only one command instead of two for the 8-bit pads of TM and SP time slots. If the packet is early, the pad time is lengthened; hence, there may be up to four commands during voice time slot PADs and up to three for TM and SP PADs.
Other Network Commands
After the appropriate timing parameters have been established, normal command processing may take place. A more detailed description of the other network commands and how they are processed using the RXTX/PCTL commands shall now be described.
Transmit Claiming Voice Packet (Tx CVP)
The CVP command register is used to determine if there will be CVP transmission in the present time slot. The command instructs control/interface circuit 80 to send a single VP out on the selected VP timeslot and check the transmission coming back to detect collisions. If this one shot packet is transmitted and received with no errors, this unit has successfully claimed the selected VP timeslot, and can set up a normal Tx VP command. If not, the unit can try to claim another timeslot.
The control/interface circuit checks the selected VP timeslot's busy/free table entry before sending the CVP (during SP processing) to eliminate race conditions on a claim. If it is found to be already busy, the control/interface circuit inhibits the CVP transmission, sets a status bit, and reports this condition via an interrupt. If the claim was actually sent, the busy/free entry is left free. This allows units involved in CVP collisions to arbitrate between themselves for the timeslot. Other units will not be able to claim the slot as their busy/free tables will indicate that the timeslot is busy. This feature is especially useful for multiple responders.
The results of CRC checking are not known until the following time slot since the CRC matching is done then. RxTx needs to remember the transmit time slot to send the CVP (n) and the receive time slot to check it (n+1). If the CVP is transmitted, it is received and its status reported with an interrupt. The possible conditions are successful claim (Rx'd packet matched Tx'd packet), collision detected, or nothing detected.
Transmit Voice Packet (Tx VP)
This command, given via the Tx Active Table entry for the selected voice timeslot, instructs control/interface circuit 80 to transmit 16 bytes of voice data onto the network during this timeslot each cycle. It gets this voice data from the P-RAM via PCTL 92, which has been previously set up by CPU 72 to deliver data from the correct PCM Highway timeslot or tone buffer.
This command is not used until the selected voice timeslot has been successfully claimed, hence there is no need to check for collisions. For maintenance reasons, however, a CRC will be computed on both the transmitted and received 16 byte data field. These values will be compared for each transmission, and any error will be logged in the Tx Packet Bit error register.
Receive Voice Packet (Rx VP)
This command, given in the Receive Active Table entry for the selected timeslot, instructs RxTx 90 to receive incoming packets during this timeslot and transfer them to P-RAM 82 under control of PCTL 92. PCTL 92 has been previously set up by CPU 72 (through P-RAM) to deliver data to the correct PCM Highway timeslot receive ring buffer.
Transmit Boot Packet (Tx BP)
This command, given via the Transmit Active Table entry for the selected voice timeslot (and enabled via a boot mode bit), instructs control/interface circuit 80 to send the next 16 bytes of the currently selected boot buffer (0 or 1) out during this timeslot, using the corresponding boot delimiter. If this 16 bytes completes the buffer, control/interface circuit 80 will automatically switch to the other buffer, set status bits, and interrupt the CPU.
Receive Boot Packet (Rx BP)
The following is performed for a Rx BP command by the Receive State Machines.
Transmit Silence (Tx Silence)
This command is implemented via a normal Tx VP command, combined with the active/idle bit in P-RAM's Network Transmit--PCM Timeslot Map Entry for the timeslot.
Packet Controller--PCM Highway Commands
This section briefly describes the operation of the Codec State Machine process. The Codec State Machine is responsible for the following:
Buffering Voice and/or Tone data from/to the codec bus to/from the network for each of the 24 codec bus timeslots.
Sending tones to codec bus timeslots and network timeslots from P-RAM 82. These tone patterns are written by CPU 72 before initiating the tone, and are read out continuously by the codec state machine to the desired timeslots.
Gain level switching of voice and tones toward the codec bus. Voice data from the network and tones destined for the codec bus can be attenuated or amplified as desired via a digital pad controlled by the codec state machine. CPU 72 writes the 256 byte-long PCM translation table into P-RAM 82, and when commanded, the codec state machine will use each voice or tone sample as an address into this table, and send the contents of that location to the codec bus.
Codec Bus Control. The codec state machine provides the transmit and receive enables to control a codec (or SPU) on the codec bus. The timeslot(s) at which it is enabled is programmable by CPU 72 via P-RAM 82. Additionally, the codec state machine provides the enables which allow its PCTL chip to transmit on the codec bus. These are also set by CPU 72 via P-RAM 82.
The codec state machine (hereafter called CSM for short) is a time division multiplexed state machine. It performs operations for each of 24 codec bus timeslots. All of the CSM's commands, data ring buffers, ring buffer read and write pointers, tones, tone pointers, and gain tables are stored in P-RAM 82. All software commands and associated data (such as tones and gain tables) are written into P-RAM 82 directly, as P-RAM 82 is dual-ported between PCTL 92 chip and CPU 72. All required arbitration logic is in PCTL 92. In addition, various status information can be accessed by CPU 72 via P-RAM 82.
The CSM executes a set of actions for each codec bus timeslot. The machine reads a control byte from P-RAM 82 at the beginning of each codec bus timeslot. This byte tells the CSM which actions should be performed for this timeslot in both the receive (to codec) and transmit (toward network) directions, as well as which codec enables, if any, should be given.
The following describes each of the data transfer modes the CSM will support, and gives explanations of each mode. As noted above, PCTL 92 operates on PCM data coded in the mu-255 standard. Hence, the value commonly referred to as "zero" in sign-magnitude is coded as FFh for PCTL 92. Likewise, negative full-scale is coded as 00h, while positive full-scale is coded as 80h.
Receive PCM Highway Commands (to codecs)
Idle
If Idle mode is selected for a given timeslot, the CSM performs no data transfer operations. This mode should be selected for every unused receive codec bus timeslot.
Receive Voice with Gain Switching
This mode is selected for normal voice transfer from an incoming network timeslot to a PCM Hwy Rx timeslot. The CSM performs the following operations:
1. Read Receive (from Network) ring buffer read and write pointers from P-RAM 82.
2. Read a byte from the Receive ring buffer, performing required checks for under or overflow.
3. Update Receive ring buffer read pointer information to P-RAM 82.
4. Read location of gain table for this codec timeslot from P-RAM 82.
5. Send byte read from Receive ring buffer through gain table (use it as address into the 256 byte gain table).
6. Send result of this read operation to codec bus (if enabled).
Receive Tone with Gain Switching
This mode is selected for sending a short tone (less than 256 samples per cycle) to a PCM Hwy Rx timeslot.
This mode can be used in conjuction with a Transmit PCM Hwy command to generate a tone to the network only by filling the gain table with zeros (0FFh), thus sending silence to the codec bus.
The CSM performs the following operations:
1. Read page number (256 byte block in P-RAM) of tone buffer.
2. Read current offset into tone buffer.
3. Read next tone sample to be sent out, using the previous two bytes as address into P-RAM 82.
4. If tone sample is negative full-scale value (deemed illegal), make tone sample=0FFh and write tone offset back into P-RAM as 0. Otherwise, keep tone sample as read, add 1 to offset and write this value back to P-RAM 82.
5. Read location of gain table for this codec timeslot from P-RAM.
6. Send tone sample through gain table (use it as address into the 256 byte gain table).
7. Send result of this read operation to the codec bus (if enabled).
Receive Long..Tone without Gain Switching
This mode supports tones with cycles longer than 256 bytes, but it does not perform gain switching. The CSM performs the following actions:
1. Read current tone page number from P-RAM 82.
2. Read current tone offset in page from P-RAM 82.
3. Read tone sample from P-RAM 82 using above bytes as address.
4. Read beginning tone page number from P-RAM 82.
5. If tone sample is negative full-scale value deemed illegal), make tone sample=0FFh, write current tone offset back into P-RAM as 0, and write beginning tone page number back to P-RAM as current tone page number. Otherwise, keep tone sample as read, add one to 14 bit quantity current tone page and offset, and write the resulting least significant 8 bits back as current tone offset, most significant 6 bits as current tone page number.
6. Send tone sample to codec bus (if enabled).
Receive Short Tone--Terminate this Cycle
This command is identical to the Receive Tone with Gain Switching command except that it will not start another cycle through the tone buffer. It remains at the end of the current tone buffer, constantly reading out the last (illegal) value and sending silence to the Codecs. CPU 72 uses this command to transition between normal tone generation and idle state.
After software switches from a Receive Tone with Gain Switching to this command, it should allow PCTL 92 to finish the current tone cycle before starting another tone or switching to idle. CPU 72 can deduce that the cycle is completed by reading the tone offset pointer in P-RAM 82 a few times and noticing it is at the terminal value (multiple reads are performed to guard against the case where the Terminate this Cycle command is given just after the command word is read for the last tone sample in the cycle. For a short time the terminal value is in the tone offset pointer, but since PCTL 92 is executing a previous command, it will wrap around to zero).
An alternate method is to simply wait 32 milliseconds after issuing the Terminate this Cycle command--this is the longest it could take to finish a 256 byte tone pattern.
The CSM performs the following operations:
1. Read the page number (256 byte block in P-RAM 82) of the tone buffer.
2. Read current offset into tone buffer.
3. Read next tone sample to be sent out, using the previous two bytes as address into P-RAM 82.
4. If the tone sample is negative full-scale value (deemed illegal), make tone sample=0FFh and DO NOT write the tone offset back into P-RAM 82. Otherwise, keep tone sample as read, add 1 to the offset and write this value back to P-RAM 82.
5. Read location of gain table for this codec timeslot from P-RAM 82.
6. Send tone sample through gain table (use it as an address into the 256 byte gain table).
7. Send the result of this read operation to the codec bus (if enabled).
Receive Long Tone--Terminate this Cycle
This command is identical to the Receive Long Tone without Gain Switching command except that it will not start another cycle through the tone buffer. It remains at the end of the current tone buffer, constantly reading out the last (illegal) value and sending silence to the Codecs. The CSM performs the following actions:
1. Read current tone page number from P-RAM 82.
2. Read current tone offset in page from P-RAM 82. 3. Read tone sample from P-RAM 82 using the above bytes as the address.
4. Read the beginning tone page number from P-RAM 82.
5. If the tone sample is negative full-scale value (deemed illegal), make tone sample=0FFh, but DO NOT write current tone offset back into P-RAM as 0, and DO NOT write the beginning tone page number back to P-RAM 82 as the current tone page number. Otherwise, keep the tone sample as read, add one to 14 bit quantity current tone page and offset, and write the resulting least significant 8 bits back as the current tone offset, and the most significant 6 bits as the current tone page number.
6. Send tone sample to codec bus (if enabled).
Transmit PCM Highway Commands (from Codecs)
Idle
If Idle mode is selected for a given timeslot, the CSM performs no data transfer operations. This mode should be selected for every unused transmit codec bus timeslot.
Transmit Voice
This mode is selected for normal voice transfer from a PCM Hwy Tx timeslot to an outgoing network timeslot via a transmit ring buffer. The CSM performs the following operations:
1. Read Transmit (to Network) ring buffer read and write pointers from P-RAM 82.
2. Write the byte received during this codec bus timeslot from the Tx PCM Highway (the codec transmit bus) to the transmit ring buffer, performing required checks for under or overflow.
3. Update Transmit ring buffer write pointer information to P-RAM 82.
Transmit Tone
This mode is selected to transmit the Tone (without gain switching, regardless of which receive tone mode was used) retrieved for the Receive direction to the transmit ring buffer and thus the outgoing network timeslot. If the Receive command was not one of the two Tone Commands, this command will place meaningless information in the transmit ring buffer. The CSM performs the following operations:
1. Read Transmit (to Network) ring buffer read and write pointers from P-RAM 82.
2. Write the tone sample (using non-gain switched value) to the transmit ring buffer, performing required checks for under or overflow.
3. Update Transmit ring buffer write pointer information to P-RAM 82.
Transmit Rx PCM Highway Data
This mode places the data from the corresponding Rx PCM Highway timeslot into the transmit ring buffer. If this PCTL chip is transmitting Rx data onto the Rx PCM Highway, this mode loops that data back towards the network. If another PCTL is driving the Rx PCM Highway during this timeslot, the data placed in the transmit ring buffer is from another control/interface circuit (and hence a different network channel). Thus this mode can be used to bridge VPs between network channels. The CSM performs the following operations:
1. Read Transmit (to Network) ring buffer read and write pointers from P-RAM 82.
2. Write the byte received during this codec bus timeslot from the Rx PCM Highway (the codec receive bus) to the transmit ring buffer, performing required checks for under or overflow.
3. Update Transmit ring buffer write pointer information to P-RAM 82.
Skew Calculation
In the most general case, the HRU receives signals on upstream leg of the network and rebroadcasts them on the downstream leg of the network. The HRU provides a constant phase data signal to the downstream frequency band by adding fractional bit delay to upstream packets, as their relative phase upon reaching the HRU varies with the VIU's physical position on the network, and by inserting a pseudo-silence pattern for times in which there is no upstream data. The HRU uses a digital phase-locked loop (DPLL), well known in the art, to insert this variable fractional bit delay.
A phase-locked loop (PLL) located in the VIU modem recovers the system clock from this downstream signal, and the Receiver/Transmitter circuit uses that clock for receiving downstream data as well as transmitting upstream data.
FIG. C-1 shows a pair of voice interface units (VIUs) 1002 and 1004. The upstream frequency band on the broadband cable is shown schematically as a transmission line 1006, with the downstream frequency band being shown as a receiving line 1008. Each of VIUs 1002 and 1004 transmits in the upstream band (line 1006) as shown by arrows 1010, 1012. Similarly, each of VIUs 1002 and 1004 receives signals in a downstream frequency band (line 1008) as shown by arrows 1014, 1016. A series of timing marks 1018 which appear in the downstream frequency band are shown beneath line 1008 in FIG. C-1.
As can be seen, VIU 1002 is a distance L1 from HRU 1020, while VIU 1004 is a distance L2 from HRU 1020. If VIU 1002 attempted to transmit in a timeslot defined to begin N microseconds after a timing mark 1018 by actually starting the transmission N microseconds after the timing mark is detected, the transmission would actually be received by VIU 1002 at a time t(skew) later. Time t(skew) is (2*L.sub.1 /C)+t.sub.0, where L.sub.1 is the distance to HRU 1020, C is the speed of the signal on the transmission medium and t.sub.0 is any delay incurred through the HRU. A transmission from VIU 1004, on the other hand, will be delayed by (2*L2)+t.sub.0. Accordingly, data transmitted by VIU 1002 will actually fall farther behind timing mark 1018 than data transmitted by VIU 1004.
This problem has been solved in the past by using a clock on the transmit line as in the ring network, or using the parallel transmit clock as in the Coffey patent discussed earlier. According to the present invention, each VIU upon booting up will determine its particular skew time by transmitting a test data packet and calculating the amount of time before it receives the test data packet. This time then is designated as a skew time, and each information packet transmitted thereafter will be transmitted an amount of time equal to the skew time earlier than the time that the specified timeslot will be detected on receiving line 1008 at that particular VIU. Test packets are transmitted immediately after the reception of the frame timing mark. For example, if a VIU determines a skew time of 38 microseconds, this represents a network of approximately 3 miles in radius (assuming a delay of 6.25 microseconds per mile for an electromagnetic wave in the coaxial medium).
Timing marks 1018 are preferably generated by a timing mark generator located with the HRU or in a separate timing mark generator which is coupled to some point along the transmission line. The timing mark generator can be at any location on the cable, but must broadcast within all of the frequency bands. The timing marks then will be translated into the downstream frequency band by HRU 1020.
FIG. C-2 is a block diagram of the circuitry of any node connected to the system. A media interface unit couples the node to the media and to the control logic. An application interface unit couples the particular application to the control logic and the media. This core technology makes modularity possible and drastically reduces the complexity and time required for new application product development, enabling delivery of high quality, reliable products far more quickly.
A timing mark transmitted by a Timing Mark Generator Unit, is broadcast once per millisecond, establishing the link frame structure. Each VIU's RxTx circuit, after checking the timing marks for integrity, locks its internal counters to the framing established by the timing marks.
The VIU's CPU commands the RxTx and PCTL circuits to send signalling packets in the timeslot immediately following the timing mark. RxTx measures the skew time of the first such SP and adjusts its transmit frame to start (SKEW) bits before the next timing mark is received (i.e., before its receive frame starts). Thus, any signalling or voice packets transmitted by a VIU will appear at the HRU at the correct instant referenced to the timing mark.
Establishing Voice Telephone-Link
To establish a telephone call, a user picks up a phone 22 of FIG. A-4, and dials an extension number or an outside line. If an outside line is dialed, trunk interface unit 25 of FIG. A-1 is the destination, and will act like the other voice stations as described below in establishing a connection to the originating station. The trunk interfacing then performs the necessary translation to send a call out on the outside telephone line.
FIG. D-1 shows a flow chart of the sequence of events of the originating telephone station and FIG. D-2 shows a flow chart of the sequence of events of the receiving telephone station. When microprocessor 72 detects the off-hook condition of phone 22 and the dialled number, it initiates a program stored in DRAM 85 to establish a telephone link.
When off-hook, the telephone sits on its "home" channel, which is one of the four frequency channels on the network, as assigned during a boot operation. The microprocessor, under control of its program, causes the circuitry of FIG. A-4 to monitor timing marks and identify the position of timeslots, and then monitor the timeslots for the presence of pseudo silence. Pseudo silence is a series of alternating 1's and 0's which is inserted by the HRU to maintain synchronization. If other than pseudo silence is detected, this means that a transmission is occurring in a particular timeslot by another station. A table is kept in PRAM 82 of the busy and free timeslots.
The program routine initiated by a telephone call first calls a function designated "claim-new" in order to claim a new timeslot. A random one of the free timeslots in the busy/free table in PRAM is chosen. The timeslot will be free in PRAM if no transmissions have been detected for 8 cycles or more. A dummy transmission packet (CVP--claiming voice packet), containing a unique identifier will then be transmitted in the selected free timeslot. The channel is then monitored to detect the return of the dummy packet on the receiving end of the selected channel as a result of the retransmission by the HRU. The received packet is compared to the originally sent packet, and if it is the same, no collision has occurred with another station trying to transmit.
If the CVP (claiming voice packet) is successful, subsequent occurrences of the timeslot are then filled with dummy data packets to maintain ownership by the originating station. If a collision has occurred, the process is repeated with a random selection of another free timeslot. At the same time that dummy packets are being inserted into the claim timeslot, a signalling packet is sent out on the same channel in the signalling packet position of a frame. This signalling packet specifies the originator's home channel and the position of the voice timeslot that was claimed, in addition to the originator's LUA address and the destination address. Again, the signalling packet is monitored on the return channel to ensure that no collision has occurred. If a collision has occurred, a retransmission is done after a random amount of time. After a successful transmission of the signalling packet on the home channel, modem 70 of FIG. A-4 is switched to the next channel and another signalling packet is sent in the same manner. This process is repeated until a signalling packet has been sent on all channels. The modem is then returned to the home channel to monitor the channel for a response.
At the receiving end, the address node is constantly monitoring for signalling packets addressed to it, even if it is involved in a conversation. These signalling packets (SPs) are filtered by hash tables as discussed earlier. Each node contains a 64 bit hash table for each of its PUA, LUA and SLE addresses. As SPs are detected, the last six bits of the cyclic redundancy check of the address is used to produce a number corresponding to a position in the hash table. If a bit is set in this position, the signalling packet is then examined by software to determine if the address is for this node. If the bit is not set, the SP is ignored. Thus, the hash table provides a quick, initial filtering.
If the node has been addressed, and it is busy, a signalling packet will be sent to a trunk interface unit (TIU) with instructions for it to be retransmitted on the originator's home channel to inform the originator that the called node is busy. Since the modem of the receiving phone is busy, it cannot itself switch to another channel to send the response directly.
If the called node is not busy, it will switch its modem to the caller's home channel and monitor the transmissions to fill its busy/free table. The called node will then attempt to claim the timeslot in the reverse frame of the one occupied by the calling party. The reverse frame is simply an alternate frame, with originating party only occupying every other frame. The definition of which is the forward and which is the reverse frame is accomplished simply by the timeslot being claimed by the originating party being designated the forward frame, and thus could vary.
A timer is set to provide sufficient time for the busy/free table to become valid. When the timer expires, the timeslot of the originating node is examined to see if it is still occupied. If it is not, it is assumed that the call has been terminated. If it is still occupied, the called station attempts to claim the reverse timeslot in the same manner as the originating station claims the initial timeslot. If such a claim is unsuccessful after several tries, a new timeslot is claimed and the originating station is informed in the same manner as if the called station were the originating station. The originating station will attempt to move to the reverse frame of the newly specified timeslot.
Once there is a successful claiming of the reverse timeslot, the called station transmits an indication to this effect to the originating station in a signalling packet. Thereafter, voice transmissions are sent in the voice packets.
Session Layer
As described above, the session layer provides services required to establish and maintain connections between nodes on the network.
Depending on the application and presentation supported on the different types of nodes, session has to support different interface functions. In the case of the VIU and AIU, presentation functions are performed by the codec in the AIU and hardware and software controlling the VIU. The application layer function is to support the common telephone interfaces to the end user. The codec chip provides analog to digital conversion (and vice versa). Hence the services provided by the VIU and AIU sessions also include the following:
(a) Accept and interpret the keyed-in information. Keyed-in information will be suitably decoded by the presentation layer before providing it to the session layer.
(b) Provide the appropriate digital information to the codec to generate suitable tones to the user to indicate call progression.
(c) Monitor the hook-switch changes and take appropriate actions.
(d) Control the flow of digitized voice between the codec and the network.
(e) Provide digital information for the VIU software to display the appropriate status of the calls and feature activations.
In addition to providing services as outlined above, the session layer must rely on certain services from other layers. This includes exchanging signalling information (transport layer), reserving voice circuits (link layer), and tone generation (link layer).
The nodes connected to the network exchange the signalling information using (SP's). In order to communicate with other session layers using these SP's, a session layer must be able to set certain requirements on the way in which an SP is transferred over the network. In general session must be able to specify the RF channel(s) on which a signaling packet has to be transmitted, whether it should be notified of the delivery of the SP or not, cancelling of the SP transmission request etc. In addition it must also receive the notification of any SP received for its consumption. The transport layer provides these services to the session layer.
The transport level supports the following transaction types required by the session layer.
TI(R) is a transaction information frame. It is transmitted as a "reliable" datagram, and will carry session data. An acknowledgement is expected from the receiving session. If no acknowledgement is received within the set time-out, sending session will get notification from the transport.
TI(P) is a transaction information frame. It is transmitted as a "pure" datagram and will carry session data. It requires no acknowledgement from the receiving session. Best effort will be made (by the link layer) to transmit the packet.
TI(R.sub.-- ACK) is a transaction information frame similar to TI(R). It is transmitted as a "reliable" datagram and carries session data. In addition it will acknowledge the receipt of a transaction being received by the session.
TI(P.sub.-- ACK) is a transaction information frame similar to TI(P). Transmitted as a "pure" datagram and carries session data. In addition it will acknowledge the receipt of a transaction being received by the session.
TR(S.sub.-- ACK) is a transaction response frame generated by the session. It is transmitted as "pure" datagram. It will carry no session data and acknowledges the receipt of a TI(R) or TI(R.sub.-- ACK). In addition, receipt of this frame indicates that the receiving session has accepted the service request. Receiving transport will notify the receipt of this frame to the session.
TR(S.sub.-- NACK) is a transaction response frame generated by the session. It is transmitted as a "pure" datagram. It will carry no session data and acknowledges the receipt of a TI(R) or TI(R.sub.-- ACK). In addition, receipt of this frame indicates that the receiving session has rejected the service request. Receiving transport will notify the receipt of this frame to the session.
TR(T.sub.-- ACK) is a transaction response frame generated by the transport. It is transmitted as a "pure" datagram and acknowledges the receipt of a transaction in proper sequence by the transport. This acknowledgement is for the transport layer and will not be passed to the session.
TR(T.sub.-- NACK) is similar to TR(T.sub.-- ACK). However it informs the transport that an out of sequence message was received by the transport.
The digitized voice between two communicating nodes is transmitted on dedicated VTS's. In order to establish a voice communication, a node must be able to reserve a pair of VTS's for its exclusive use. When a node initiates a call request through a SP, it will inform the other node(s) that a particular VTS has been reserved. It will also indicate to that node, which time slot of the reserved VTS pair is going to be used by the requesting node for transmission of digitized voice. If more than one node is willing to communicate, then they must able to contend for the response time slot (the remaining time slot in the reserved VTS pair). The node which is successful in contending for this time slot will get the right to complete the communication with the requesting node.
In order to provide the above function, session layer requires the following services from the link layer:
(a) The ability to reserve a VTS pair. This VTS pair is referred to as a voice circuit ("VC") and is used for full duplex voice communication between the two nodes.
(b) The ability to contend for the response time slot (one of the time slots within the reserved VTS pair).
(c) The ability to specify a delay factor while contending for a VTS. This will give the capability to prioritize the claiming between the contending nodes.
(d) The ability to specify the transmission of either silence or voice on a VTS.
(e) The ability to specify transmission (either voice or silence) without contending for the responding VTS. This will be used when the node is aware of the fact that other nodes are not competing for completing the communication path.
(f) The capability to detect the absence of data on a VC (either silence or voice) for disconnect purpose.
In order to support the standard telephone interfaces to the user, session must be able to provide the codec with the digital data required to produce the appropriate call progression tones. In order to provide this, session requires the following services from the link layer:
(a) The ability to specify the type of tone and direct it to either codec or network or both.
(b) The ability to stop the tone.
(c) The ability to interrupt an active voice path and provide a tone for a specified amount of time and then continue with the voice communication.
(d) The ability to initialize and change the tone buffers used by PCTL 92 for tone generation at run time.
There are 1000 available SP time slots per second, on which a node can transmit a SP. However this SP space is partitioned into eight spaces and a session sending a SP can specify the partition(s) on which this particular SP has to be transmitted. Since the SP space is available to all the nodes, it is possible that more than one node may transmit simultaneously, which will result in collision. These collisions will be detected and suitable actions will be taken by the lower layers. The session layer will be able to specify the transaction type for transmitting the SP. It is the responsibility of the transport layer to guarantee the reliable delivery of a SP (if desired by the session). The SP's will be transmitted by the transport as one of the transaction frames described earlier.
SP's are used by the session layer for the purpose of establishing a call between nodes. SP's are also used for the purpose of activating or cancelling some end user features and for negotiating some special services for the users. It should be noted that a VIU session will generate SP's for AIU, TIU, or NBU sessions (or vice versa). Therefore protocols are described according to the session which initiates the SP flow. Hence the responding node could be of the same or different type. The destination address field in the SP header will determine the node(s) to which a SP is intended for.
Call Processing Protocols
A user action on a VIU (either an attempt to establish a call or activate/cancel a particular feature) may result in a set of protocols (i.e. exchange of different SP's). The discussion below will describe these protocols. When a VIU user initiates a call request (by dialing digits), depending on the digits dialed it will result in one of the following set of protocols. In general when a user intends to make a call request (either to another station on the network or to a off-net number) a CALL.sub.-- REQUEST SP will be generated. As a general rule the following conventions are observed before transmitting a CALL.sub.-- REQUEST SP.
(a) Reserve a VC (a pair of VTS's).
(b) Determine the channel (or channels) on which the CALL.sub.-- REQUEST has to be sent. In general if the CALL.sub.-- REQUEST is intended for the other similar type of node which has only one modem (an AIU or another VIU), then the CALL.sub.-- REQUEST SP is sent on all the available RF channels. If the destination node has one modem per RF channel (e.g., TIU's and NBU's), then CALL.sub.-- REQUEST SP is sent only on one specified channel.
(c) Specify the RF channel on which it expects responses (usually the channel on which the VC has been reserved).
Only CALL.sub.-- REQUEST SP's will be broadcast on all available RF channels. Other SP's will be transmitted on only one of the RF channels as determined by the CALL.sub.-- REQUEST SP. There are some exceptions to these rules in some specific protocols.
FIGS. E-1 to E-3 show the SP's exchanged when the destination station is an individual extension ("IE"). FIG. E-1 shows the situation where the IE can accept the call (Note: Apply Ringing is shown as a generic indication, it could as well be a call waiting indication). When the station is initiating a call request for another station on the network it will do so by sending the CALL.sub.-- REQ.sub.-- EXT SP. If the responding station is an IE (i.e., it is the only extension with that address on the network) and is willing to accept the call, it will send an ACCEPT(IE) SP on the specified RF channel. When the calling session receives this response, it determines that there is only one station with this extension and acknowledges this station by sending an ACK SP. (It must also be noted that whenever a transport layer receives an ACK packet of any type (TR(S.sub.-- ACK), TR(S.sub.-- NACK), TI(P.sub.-- ACK), or TI(R.sub.-- ACK)) it will clear its retransmit table of the transaction which caused this particular ACK).
When the receiving station user answers the call, an ANSWER SP will be sent. When this is acknowledged by the calling station, the call will be completed. If no ACK SP is received by the called station within the set time, then the called station will receive dial tone.
FIG. E-2 shows the situation when the called extension is an IE and cannot accept the call because either the station is busy or it has DND in effect. In such a case, it will send a BUSY(IE).
FIG. E-3 shows the situation where, for some reason, no response was received within the set time-out. In such a case, the transport layer will notify the same to the session layer, at which point a REORDER tone will be given to the user.
FIGS. E-4 to E-7 show the situation where the called extension is a MAE, which means that more than one station may respond to the call request. FIG. E-4 shows the case where at least one station can accept the call. In the example there are three stations which have a line appearance for the same extension. Notice that ACCEPT(MAE) and BUSY(MAE) are transmitted as TI(R) and not as TI(R.sub.-- ACK). This is done with a purpose. If the transport does not receive an ACK, it will not clear its retransmit table for this transaction. If a station in a MAE has missed the CALL.sub.-- REQUEST SP in the first transmission, it is possible that it might receive it in subsequent retransmission. Thus, using these multiple broadcasts increases the probability of successful delivery of the CALL.sub.-- REQUEST SP to all the stations in a MAE.
It is possible that many stations belonging to the MAE groups will try to respond simultaneously. This will increase the probability of SP collisions. This can be reduced by using some arbitration scheme for sending the response SP's. In the present arbitration scheme, each MAE member will have an assigned position number for each of the stations within a MAE. When a CALL.sub.-- REQUEST.sub.-- EXT is received for a MAE extension, each station in the MAE will delay its response by an amount proportional to its position number [e.g., (n-1).times.10 msec. where `n` is its position in the group]. This will reduce the probability of SP collisions. In order to minimize the maximum response time, the total number of appearances for a MAE extension will be limited (say to 10).
When the destination extension is a MAE, if the calling station decides to disconnect the call before the call is answered, then a DISCONNECT SP has to be sent to all the ringing stations in the MAE. To facilitate this it is necessary for the calling station to maintain a list of ringing stations. It is awkward to maintain a list of responding extensions. In addition, the calling station would have to send a number of DISCONNECT SP's as "reliable" datagrams. To avoid this, a CONTINUE.sub.-- RING SP is broadcast on all the RF channels periodically (say every 1.5 sec.) as a TI(P). When a station answers the call by going off-hook, after acknowledging that station with an ACK SP, a STOP.sub.-- RING SP is broadcast on all the RF channels. If a station receives this SP and if it is still ringing, then it will stop the ringing. If a station does not receive the STOP RING SP, it will monitor for CONTINUE.sub.-- RING SP. If a ringing station does not receive at least one CONTINUE.sub.-- RING SP within a set period (say every 5.0 sec.) it will stop ringing the station. CONTINUE.sub.-- RING and STOP.sub.-- RING SP' s together provide a robust scheme in the MAE environment.
It is possible that more than one ringing MAE extension go off-hook simultaneously. In this event, only one of these stations will get the ownership of the voice circuit and will answer the call by sending an ANSWER SP. The other stations will receive a dial tone.
FIG. E-5 shows a MAE configured for the "single call" mode. In this mode, only one call is allowed on a MAE. If a station with one MAE extension is busy, it will be reflected on all the appearances of that MAE. If a MAE is configured for this mode, when a ringing MAE station receives a STOP.sub.-- RING SP it will make itself busy. It will also monitor for a CONTINUE.sub.-- BUSY SP (say with a periodicity of 2 min.). If a busy MAE (which is not involved in conversation) does not receive this SP in the set period, it will make itself idle.
FIG. E-6 shows the disconnection of a call after establishing a voice path. In such a case, it is necessary to make other stations in that MAE idle. A MAKE.sub.-- IDLE SP will be broadcast as soon as a disconnect is detected.
FIG. E-7 shows the situation where the called extension is a MAE and at least one BUSY(MAE) is received by the calling extension. If no ACCEPT(MAE) is received before the expiration of time-out, a busy tone will be given to the user.
FIGS. E-8 to E-11 deal with hunt groups. Hunt group extensions provide a mechanism to locate the first idle extension within a set of extensions. This means when a call request is made to the hunt extension each member can answer the call only if a member with the higher position has not answered the call already. In order to provide this prioritized mechanism a call request will have an integer call attempt number in the CALL.sub.-- REQUEST SP (This integer number is transmitted as part of CALL.sub.-- REQ.sub.-- EXT SP. CALL.sub.-- REQ.sub.-- EXT(n) indicates the nth call request attempt for a hunt group). Each member in a hunt group will have a position number assigned to it. When the number in the CALL.sub.-- REQUEST SP matches the position number then that station will answer the call by sending either an ANSWER or a BUSY SP. The above scheme is sufficient if it can be guaranteed that all the members in the group will always be able to respond. In the event that some members may not be able to respond, it must be possible to make a new request to the next member. The following procedure supports this capability.
If the CALL.sub.-- REQ.sub.-- EXT(1) is received by the hunt group members only the station with position 1 will send either an ACCEPT(HUNT) or BUSY(HUNT) SP. However, each other member will send the pertinent group information and its current status by sending HUNT.sub.-- GRP.sub.-- INFO (number of members in the group, terminating conditions if the last member does not answer the call, Busy/free). This SP is sent as a TI(P) and will not acknowledge the call request. Similar to MAE, hunt members will delay their response depending on their position to reduce the probability of SP collisions.
When the CALL.sub.-- REQ.sub.-- EXT(n>1) is received by a hunt group member, it will compare its position number with `n` in the call request SP. If they both match, it will send ACCEPT(HUNT) or BUSY(HUNT). These SP's will have other pertinent group information (number of members in the group, terminating conditions if the last member does not answer the call).
If it is necessary to make a call request (with n>1), then the Busy/Free information received in HUNT.sub.-- GRP.sub.-- INFO SP's in response to the first call request attempt will be used to reduce the number of requests made. The requests will not be made to the members which sent the BUSY information explicitly.
If a busy response (or no response) is received for a call request made to the last member in the group then the call is terminated according to the terminating condition received in the hunt group information.
FIG. E-8 shows a situation where the first member of the hunt group has answered the call.
FIG. E-9 shows a situation where the first two members in the group are busy. A new call request will be made to the next member soon after receiving the BUSY(HUNT). BUSY(HUNT) is transmitted as a TI(P.sub.-- ACK).
FIG. E-10 shows a situation in which the first member of the hunt group failed to respond to the CALL.sub.-- REQ.sub.-- EXT(1). Note that the HUNT.sub.-- GRP.sub.-- INFO SP's are transmitted as a TI(P). Hence the calling station has to wait till the time-out is elapsed. This gives a chance for the first member to receive retransmitted call request SP's.
FIG. E-11 shows a situation in which some hunt members are not responding. It must be noted that successive new call requests are made till all the members have been given an equal chance. Note that the calling station has to wait till the elapse of time-out to make a new call request when a hunt group member does not respond.
FIGS. E-12 and E-13 relate to trunk calls. When the user dials digits requesting another user outside the network, then the session will initiate a trunk call request by sending CALL.sub.-- REQ.sub.-- TNK SP to the trunk group address. Since more than one trunk group may be willing to answer the trunk call request, an integer number in the request SP specifies the group to which the request is made (similar to hunt group members). It is also possible to have a different extension for each trunk group. In this case there is no need for the integer data in the call request SP. In this case address filtering will be handled by the link layer. The decision to address a particular group has to be made by the session. This means some trunk addressing algorithms have to be implemented in the VIU session layer.
Within each trunk group there can be a number of trunk interface modules (TIM's). Since each TIM will know the availability of its own trunks, an arbitration scheme is required for selecting only one trunk from different TIM's within the group. More particularly, each TIM within a group will have a position number associated with it. When a CALL.sub.-- REQ.sub.-- TNK is received by a TIM (which has the trunk group specified by the request number) it will perform the following functions.
If all the trunks within the TIM are busy, then that TIM will send a TRUNK.sub.-- ACK.sub.-- INFO SP after delaying it for a time proportional to its position number (say n.times.10 msec. where n is the position number of the TIM). This SP will have information such as whether another trunk group exists or whether it is the last member within a group. This SP is transmitted as a TI(P) and will not cause the transport to clear its retransmit table. The delay factor used for transmitting the SP will reduce the probability of SP collisions when more than one TIM in a group is busy.
If a trunk is available, then the TIM will try to claim the response voice time slot after a delay period. Delay=Recv.sub.-- Cycle.sub.-- #+n1+n2.times.(n-1), where Recv.sub.-- Cycle.sub.-- #=Cycle number on which the SP request was received,
n1=a pre-determined number of cycles (to allow session/transport response time),
n2=a predetermined number of cycles (say 5),
n=position number of the TIM).
If after the elapse of the delay period, the TIM is successful in claiming the response voice time slot then it will seize a trunk and send an ANSWER.sub.-- INT SP to the caller. Note that the delay used favors the TIMs with lower position numbers and provides a method of locating an available trunk starting from the first trunk within a group. The delay used will be a cycle number and claiming is delayed till at least that cycle number before transmitting the ANSWER.sub.-- INT SP. This delay will be implemented in the link layer. Also the link layer will copy Recv.sub.-- Cycle.sub.-- #of a received SP from a register in the control/interface circuit to the SP buffer in the PRAM. The ANSWER.sub.-- INT SP indicates to the caller that a trunk has been seized and that the TIM is expecting the final call request SP CALL.sub.-- REQ.sub.-- TNK.sub.-- FNL.
Since the same trunks are shared by the network and other outside networks which are making calls to stations on the network, it is possible that a TIM may find itself with no trunk available after claiming the response VTS successfully. In this case it will release the response VTS and send a TRUNK.sub.-- GRP.sub.-- INFO SP to the caller.
When the caller receives the ANSWER.sub.-- INT SP from a TIM, a trunk is available for the user and the caller will send a CALL.sub.-- REQ.sub.-- TNK.sub.-- FNL SP to this TIM only, so that the TIM can establish communication with the outside party.
FIG. E-12 shows the case where a trunk is available in the group. Note that TIM1 is busy and sends TRUNK.sub.-- GRP.sub.-- INFO immediately as a TI(P).
FIG. E-13 shows the case where no trunk is available in the first group. Based on the information received in the TRUNK.sub.-- GRP.sub.-- INFO SP, the caller makes a second request to another trunk group. Note that some TIM's are not responding and the last TIM is busy and sending TRUNK.sub.-- GRP.sub.-- INFO as a TI(P.sub.-- ACK) and will cause the transport retransmit table to be cleared. In the second group also no trunk is available and the TRUNK.sub.-- GRP.sub.-- INFO SP indicates that no further group is available and the caller receives a REORDER tone.
Feature-Related Protocols
FIGS. E-14 to E-39 illustrate the protocols that are carried out when a user invokes a feature, either before or during a call.
FIGS. E-14 to E-16 deal with call holding. When a user invokes the "hold" feature (either implicitly or explicitly), at the station initiating "hold" the receive side of the "VC" is disabled (Drop.sub.-- Rx). When the other station receives the HOLD SP it will disable both receive and transmit (Drop.sub.-- Rx and Drop.sub.-- Tx) and enters a HELD-BY state. When the station invoking "hold" receives the ACK it will drop transmit, make the circuit available to the network and enter a HOLDING state.
If the station in HELD-BY state is a MAE configured for a "single call" mode, then the station which invoked the hold will broadcast a CONTINUE.sub.-- HOLDING SP periodically (2 min.). If the members in that MAE fail to receive this SP, then they will become idle. (Note: This SP is similar to CONTINUE.sub.-- BUSY SP in the active state).
If the station in the HOLDING state is a MAE configured for a "single call" mode, then the station in the HELD-BY state will broadcast a CONTINUE.sub.-- TO.sub.-- HOLD SP periodically (2 min).
When the station in the HOLDING state invokes "unhold", a new VC is reserved and the other station is notified. When the other station receives the UNHOLD SP it will enable its transmit and receive using this new circuit. It is not necessary for the HELD-BY station to compete for the response voice time slot as it is the only one which is in HELD-BY state. A simple one-way hold is shown in FIG. E-14. When a station in HELD-BY state invokes the "hold" feature, then both the stations will enter a TWO-WAY hold state. If either of the stations is an MAE configured for "single call" mode, other station will send CONTINUE.sub.-- TWO.sub.-- WAY SP periodically (2 min.). Two way hold is as shown in FIG. E-15.
It is possible that both stations might invoke "hold" simultaneously. In this case when the stations receive a HOLD SP, each station will enter a HELD-BY state and send an ACK. When the ACK is received, each station will enter TWO-WAY-HOLD state. When a station in the TWO-WAY-HOLD state invokes "unhold", after receiving an ACK, it will enter a HELD-BY state. The other station after receiving an UNHOLD SP will enter the HOLDING state. Then this will be the same as one-way-hold case. If a station in HOLDING state receives a HOLD SP, then it will enter the TWO-WAY-HOLDING state. If a station in the HELD-BY state invokes "hold" then it will send a HOLD SP and after receiving the ACK will enter a TWO-WAY-HOLDING state. If the stations in TWO-WAY-HOLD state invoke "unhold" simultaneously, then the station with the higher LUA will claim a new VC and acknowledge the "unhold" first by sending a TI(R.sub.-- ACK). The second station then enables this circuit (Tx.sub.-- Voice, Rx.sub.-- voice) and acknowledges the earlier UNHOLD SP. The simultaneous hold and unhold situations are shown in FIG. E-16.
FIGS. E-17 to E-19 deal with call forwarding. When a station invokes the "forward" feature to redirect incoming calls to another station in the Interconnect a FORWARD.sub.-- REQ SP is transmitted on all the RF channels. If the destination station is willing to accept the calls, it will send an ACK and the user will receive a confirmation tone. This situation is shown in FIG. E-17. If a station is not accepting the forward request, then it will send a FORWARD.sub.-- DENIED SP as a TI(P). This will allow other stations, if any (e.g. destination is MAE or hunt group) to respond. If no ACK is received before the time-out and if at least one FORWARD.sub.-- DENIED SP was received, then the user will be given a Denial Tone. This situation is depicted in FIG. E-18. When a CALL.sub.-- REQ.sub.-- EXT SP arrives at the forwarded extension, it will send back a FORWARDED.sub.-- IND SP. At this time, the calling station will make a new call request to the destination station as shown in FIG. E-19.
In order to avoid the circular forwarding effect when chain forwarding is in effect at the destinations, the number of times a station can receive a FORWARDED.sub.-- IND will be limited to 2. If the calling station receives more than this number of FORWARDED.sub.-- IND in a row (i.e after making new call requests to the destination station), it will not make any further call requests and the user will hear ring back at this stage.
FIG. E-20 shows the case when a first user has put one user on hold and is active with another user. The first user can invoke the "consult" feature and switch to the other call. The SP exchange is similar to One-Way hold.
FIGS. E-21 to E-26 deal with call transfer. A user (B) wanting to transfer a currently active call to another extension (C) puts the first call on hold and will try to establish the call with the other station. If the station trying to transfer (called the arbitrator) waits until the other station (C) answers the call and goes on-hook, the call will be transferred automatically. The SP exchange in this situation is shown in FIG. E-21.
However it is possible that the arbitrator may go on-hook before the call gets answered. Therefore, the arbitrator station has special responsibility to see that SP exchanges are handled properly. Depending on the destination extension type and the state of the call, the following things can happen. If the destination extension is an IE and the arbitrator (B) goes on-hook after hearing the ringing, then the SP exchange is as shown in FIG. E-22.
However, if the user chooses to go on-hook immediately and if the ACCEPT(IE) is received afterwards, then the ACCEPT(IE) is ignored by the arbitrator (B) and the call between the arbitrator and destination station (C) is terminated. The caller on hold (A) stays on hold to the arbitrator. If the destination extension is a MAE, then the arbitrator station will ACK the ACCEPT(MAE) SP's until the time-out. Then it will send TRANSFER.sub.-- REQ on all the RF channels. If at the end of another time-out at least one ACCEPT.sub.-- XFER is received, it will complete the transfer by sending a TRANSFERRED.sub.-- IND SP. At this time the station which requested the transfer will monitor the call (Apply ringback, send CONTINUE.sub.-- RING SP etc.). The SP exchange in this case is as shown in FIG. E-23.
If the called extension is a hunt group, and the station has sent an ACCEPT SP, then the situation will be similar to that of an IE. However, if a BUSY(hunt) is received for a call request, then the new call request to the next member is done by the station requesting the transfer. The SP exchange in this situation is as shown in FIG. E-24. If there was no response from the first member of the hunt group and at least one HUNT.sub.-- GRP.sub.-- INFO is received before the elapse of time-out, then the SP exchange will be as shown in FIG. E-25.
If a transfer request has failed for any reason (e.g. no response before the elapse of a time-out, or a BUSY.sub.-- ACK(IE) is received, or at least one BUSY.sub.-- ACK(MAE) is and no ACCEPT.sub.-- ACK(MAE) is received, or BUSY.sub.-- ACK(hunt) is received from the last member of the group), a TRANSFER.sub.-- FAIL SP is transmitted to the station requesting transfer. At this time if a station (or TIM) is configured for ringing the arbitrator again, then it will send a RING.sub.-- AGAIN SP as shown in FIG. E-26.
FIGS. E-27 and E-28 show the SP exchange for call waiting. If an extension is configured for a call waiting, it will receive a call waiting indication if a second call arrives when the extension is already busy with one call. If the user chooses to answer the new call by disconnecting the current call, then he (or she) will receive ringing after disconnection. This situation is shown in Figure E-27. On the other hand, the user can put the first call on hold by invoking the "consult" feature as shown in FIG. E-28.
FIG. E-29 shows the SP exchange for call pickup. A ringing extension (directed pickup or group pickup or night answer) can be answered by another extension with this feature.
FIG. E-30 shows the SP exchange for call park. Invoking the "call park" feature, a user can park an active call at another extension.
FIG. E-31 shows the SP exchange for call retrieve. As user may invoke the "call retrieve" feature at an extension to retrieve a call parked at another extension.
FIG. E-32 shows the SP exchange for camp on. A user after receiving busy tone, can invoke the "camp-on" feature. When the called station becomes idle it will send a CALLBACK SP to the calling station to indicate that it is free. This will initiate ringing at the calling station. When the user goes off-hook a new call request is made to the called party (with LUA as calling address) automatically. If the called station is not an IE, a CAMP.sub.-- ON.sub.-- CANCEL SP is broadcast. If the station invoking the "camp-on" feature is busy when the CALLBACK SP is received, the user will receive a call waiting indication. At this time, if user goes on-hook, he will hear ringing.
FIG. E-33 shows the protocol for establishing a conference call. A 3-way conference is established when a user with two calls (one active and other on hold) invokes the "conference" feature. A conference server (the NBU) is involved in the conference. All the parties involved will have a full duplex voice path to the server. The station establishing the conference is responsible for obtaining the server resource.
FIGS. E-34 and E-35 show the SP exchanges for an AIU operator can invoke the "override" feature to barge-in to a currently active call. The SP exchange when an attendant invokes this feature during an active call is shown in FIG. E-34. When the station has DND in effect, invoking "override" will cause ringing at the station. This is shown in FIG. E-35
FIGS. E-36 and E-37 deal with disconnecting ringing or held calls. If the calling station disconnects a ringing call, and the ringing extension is an IE, a DISCONNECT SP is sent as a TI(R). When an ACK SP is received by the calling extension, it will become idle as shown in FIG. E-36. If the ringing extension is a MAE, the calling station will broadcast a DISCONNECT SP and will become idle as shown in FIG. E-37. If for some reason, a ringing MAE extension does not receive the DISCONNECT SP, it will continue to monitor for CONTINUE.sub.-- RING SP. The station will become idle when it does not see CONTINUE.sub.-- RING SP within the expected time.
A station in the HELD-BY state can disconnect a call by going on-hook. If the station in the HOLDING state is not a MAE configured for "single call" a DISCONNECT SP is sent as a TI(R). The HELD-BY state station will become idle after receiving the ACK SP as shown in FIG. E-38. If HOLDING station is a MAE configured for a "single call" a DISCONNECT SP is broadcast and the HELD-BY station will become idle as shown in FIG. E-39. If for some reason, a HOLDING MAE extension does not receive the DISCONNECT SP, it will continue to monitor for CONTINUE.sub.-- TO.sub.-- HOLD SP. The station will become idle when it does not see a CONTINUE.sub.-- TO.sub.-- HOLD SP within the expected time.
Time-Frequency Multiplexing
FIG. F-1 is a block diagram of the HRU and its connection to the network and the outside trunks. In the embodiment shown, HRU 1020 includes 4 Network Head-end Cards (NHC) for channels 1-4. Each NHC is identical and includes a receiver 1022 and a transmitter 1024 coupled to network medium 1026. Packets received through receiver 1022 from medium 1026 are processed through the fast phase lock loop, MLD 1020, before being returned to transmitter 1024. Each NHC is coupled to the same medium and receives upstream transmissions from the voice interface units 1030 and retransmits them downstream on medium 1026 on a different frequency. This is done by first receiving the upstream data, reconstructing it, synchronizing it with MLD 1028, then remodulating it with the proper downstream carrier frequency for retransmission. A path is also provided from MLD 1028 to an Input/Output Processor (IOP) 1032. IOP 1032 essentially multiplexes the four channels onto a trunk bus 1034 for connection to one of trunk interface cards 1036. Each trunk interface card 1036 couples to an outside trunk 1038 for outside calls. These trunk interface cards could couple to a central office, or other types of trunks which are standard in a public telephone switching network.
FIG. F-2 shows the phase locking of the clocks of four NHC cards. An external clock may be provided to a clock receiver 1040, which is then phase locked to an internal clock of one of the NHCs in a primary phase lock loop 1042. This is used to produce two master clocks A and B. Enable logic 1044 will enable the A clock on one NHC and the B clock on another NHC to be applied to the A and B clock buses, and disable the connection to the A and B buses for the clocks on the other NHCs. The A and B clocks are then provided to all of the NHCs, and a select circuit 1046 examines the clocks to determine which is a better quality. Thus, if one of the NHCs has a bad oscillator, its clock will not be selected. The A clock is selected by default in the event they are similar. If no external clock is present, the oscillator of the primary phase lock loop 1042 is used as the A or B clock.
A secondary phase lock loop 1048 on each NHC phase locks to the system A or B clock and produces four different phase clocks for use in the NHC circuitry as needed. Thus, all NHCs are synchronized to the same A or B clock.
Maximum Likelihood Detector (MLD)
The NHC implements a data reclocking scheme to time align all data being passed through the NHC. Since the upstream transmission is supplied by an unknown source with regard to phase, the reclocking circuit uses a maximum likelihood detector or MLD to reclock the data. The standard solution of phase locking a clock from the incoming data edges is not workable since a PLL with such a short integration time would be far less stable than is needed for the system, and extremely difficult to build. The MLD detects the edges in 4 bits of packet preamble, and then delays the data path by a time of 0 to 1 bits, (in increments of 0.062 bits) to properly align the center of the data bits and the edge of the sampling clock.
With this method, no frequency lock is required since the NHC's downstream transmissions are the system's source of master clock. All of the system's PLLs and clocks are frequency coherent unless a given unit is in failure mode; in which case it will be supplying no broadband transmission and does not pose a problem. With this understanding, we can assume that the NHC's MLD circuit must only account for phase or time alignment differences. The described functions can be implemented with high speed digital circuitry that responds to the received packet's needs within a four-bit time span during the packet preamble. The selected delay will remain locked until a loss of carrier is detected at the head-end which will be interpreted as an "end of packet". The NHC will begin inserting a pseudo-silence pattern (PSP) and reset the MLD for the next packet. The PSP maintains synchronization between transmissions. There must be a minimum of two bit-times between packets when no carrier is present to allow the MLD circuit to reset.
Referring to Figure F3, there is shown a block diagram of one type of maximum likelihood detector (MLD) 1152 suitable for use in accordance with the invention. The MLD 1152 comprises a shift register 1130, a bit stream combiner 1132 and a two-level to three-level data converter 1134. The shift register 1130 has associated therewith a high-speed clock 1136 and a bit synchronizer 1138. The bit stream combiner 1132 uses as an input either a received transmission as provided by bit synchronizer 1138 or, if no carrier is detected, a continuous pseudo data source 1140. The function of pseudo data source 1140 is to provide a continuous string of pseudo data, for example, 1 0 1 0 1 0 format data as the pseudo-silence pattern (PSP). The continuous data stream is then provided to the data converter 1134 where two level data is converted to three level data. This conversion is done by translating the data stream into 2 parallel data streams at one-half the frequency. The 2 streams are then converted into a single, three level data stream at the same on-half frequency. This results in data with more than one bit per hertz. The output of the data converter 1134 is coupled to the transmitter of the HRU.
The purpose of the MLD 1152 is to align data for optimum reception. The various signals received in burst mode through the HRU receiver. Each exhibit different phases as a result of differences in distance along the upstream channel from the HRU, as well as differences in filter delays and differences in the phase of any local clock. The MLD 1152 adjusts for differences in the phase of the input data so that the system clock used in connection with receiving the data in a synchronous format can strobe the received data at or near the midpoint of the bit in the bit stream. To this end, the shift register 1130 is clocked by a high speed clock 1136 at, for example, eight times the input data rate whereby each input bit is shifted to eight possible positions in turn for output at a selected tap 1142, 1144, 1146, 1148, 1150, 1152, 1154 or 1156. In the specific embodiment, each tap of the shift register thus presents an output data stream differing in time delay by one eight bit from the adjacent tap. The bit synchronizer 1138 monitors each one of the taps and selects by means of appropriate optimization a bit stream from one of the taps, providing as its output a bit stream to the bit stream combiner 1132. The bit synchronizer 1138 may, for example, include a multiplexer and means for checking each of the input bit streams for errors due to sampling at a less than optimum phase. Should it be deemed unnecessary to adjust the phase automatically, the bit synchronizer may comprise a simple selector switch coupling one selected tap through to the bit stream combiner 1132.
MLD 1152 operates by having the bit synchronizer 1138 examine the data bits as they pass along the shift register 1130. The time relationship between the rising edges and the falling edges of the data bits are compared to those of the system clock. Based upon the calculations made by the bit synchronizer 1138, the appropriate shift register tap among the eight possible taps 1142-1156 is used to extract the data and send it to the bit stream combiner 1132. This calculation estimates the center of the data bit.
The center of the data bit must be known relative to the system clock. (The system clock is derived from the high speed clock 1136 which also runs the shift register 1130.) The bit synchronizer 1138 examines one of the lines 1142-1156 and notes when the edges of the data bits occur with respect to each other and with respect to the system clock. The time relationships are measured in terms of the periods of the high speed clock 1136. This examination occurs on the first portion of the incoming data stream which has a preamble especially designed to ease the task of the bit synchronizer (usually a 1 0 1 0 1 0 1 0 sequence) and also to allow the synchronization process to occur before the message bits arrive.
The data clock, consisting of two phases CLK phase 1 and CLK phase 2, at the nodes is derived from the bit rate of the continuous downstream bit rate transmitted by the head-end. Thus, the burst (packet) transmissions from the VIU nodes to the head-end are at a frequency known to the head-end but at an unknown phase. Once the MLD 1152 determines the phase, that phase is constant throughout the burst transmission. Therefore, once the MLD 1152 ascertains the phase of the preamble it does not make any further adjustments for the remainder of the burst transmission.
The center of the bit times are calculated by taking the bit period, that is, the time between the start and the end of a bit as measured in high speed clock 1136 periods, and dividing by two. This measurement can be made by a counter within bit synchronizer 1138 which is started when a bit transition occurs and is stopped when the next transition occurs. A similar counting method can be used to determine the time relationship between the bit edges and the master clock edges. The appropriate shift register 1130 output 1142-1156 to take the data from is found from the time relationships between the data edges and the master clock edge. The implementation can be done from a look-up table in a memory within the bit synchronizer 1138 or can be calculated in real time with either hard-wired logic or a fast dedicated microprocessor.
Head-End unit
FIGS. F-4 and F-5 are a block diagram of one of the network head-end cards of the head-end unit 1020 of FIG. F-1. Signals from the network broadband cable 1026 are received by receiver 1160. A carrier detect circuit 1162 provides signals to maximum likelihood detector 1164 indicating whether a carrier, and thus a transmission, is present. If no carrier is present, the pseudo-silence data source in the MLD is activated. The data itself is processed through detector 1166, low pass filter 1168, amplifier 1170 and level detector 1172. The resultant data is then provided to MLD 1164.
MLD 1164 can retransmit the data through a summation circuit 1174, buffer 1176, low pass filter 1178, phase equalizer 1180 and an attenuator circuit 1182. The data is then provided to a transmitter 1184 in which the data modulates the carrier frequency in a modulator 1186, with the output being provided through buffer 1188 and diplex filter 1190 back to broadband network cable 1026.
The connection to the trunks is provided through a modem bus multiplexer 1192 which provides the signals from MLD 1164 to a bus 1194. The signals from bus 1194 are provided to a connector 1196 as shown in FIG. F-5. Connector 1196 couples to the IOP card as shown in FIG. F-6.
A clock generator circuit 1198 contains the clocking circuit shown in FIG. F-2. A PAL decode controller 1200 has logic for selecting the best clock. FIG. F-5 shows a frequency switch multiplexer 1202 for selecting the frequency channel of the particular NHC by providing an appropriate input to a frequency synthesizer 1204. FIG. F-5 also shows a reset decode fault generator 1206 and a power supply circuit 1208.
FIG. F-6 is a block diagram of the IOP card 1032 of FIG. F-1. Each of four NHC cards as shown in FIGS. F-4 and F-5 is connected via a connector 1196 to a controller/interface circuit 1210. The construction of the controller/interface circuit is the same as that used on the voice interface units as described elsewhere in this application. A phase lock loop 212 synchronizes the IOP timing to that of the NHCs. A PCM highway 1214, identical to the PCM highway used in the VIUs, is coupled to a trunk data buffer 1216. This couples the data to a trunk bus 1034 as shown in FIG. F-1. The specific trunk card address is provided through a trunk address buffer 1218 and an address decode circuit 1220.
The IOP is controlled by a microprocessor 1222 which has access to an EPROM and EEPROM 1224 and a DRAM 1226. An interface and clocking circuit 1228 couples DRAM 1226 to address and data buses 1230 and 1232. A clocking circuit 1234 is used to provide a clock to controller/interface circuits 1210.
The I/O Processor Card (IOP), is a general purpose CPU card used to control up to 24 full-duplex voice timeslots. These voice connections can be from any of the four voice channels via the four chip sets 1210 and modem buses 1196. A 10 MHz 80186 microprocessor executes software from the 512K-bytes of dynamic RAM. The 16K-bytes of EPROM allows the IOP to self-test itself and request to be booted, and an 8K-byte EEPROM provides non-volatile storage of configuration information. An additional 8K of EEPROM is available. The EPROM will also contain card serial number, date of manufacture, revision, etc. Circuit 1228 is used to provide DRAM control, parity error interrupt control, memory write protection, memory refresh, and watch-dog timer. The Trunk Group Bus Interface connects the IOP to other cards in the trunk group.
The four chip sets 1210 each consist of two custom LSI chips and an 8K.times.8 static RAM. These chip sets communicate with each other over an internal bus. Circuits 1210 each include a Receiver/Transmitter (Rx/Tx) which interfaces to the modem serial bus on the TIU backplane. A Packet Controller (PCTL) provides the PCM Highway consisting of 24 full-duplex timeslots for connection to trunk interfaces and server circuits. PCTL also provides IOP access to P-RAM, packets, tone generation, etc. A P-RAM, Packet RAM, 8K.times.8 static RAM, is used for storing voice and signalling buffers. These buffers hold the incoming and outgoing packets as well as some commands for handshaking between the 80186 and circuit 1210. The 80186 can read and write this RAM. In addition, this RAM can be optionally stuffed with a 32K.times.8 RAM with the addition of a jumper on the IOP. It should be noted that P-RAM cannot be successfully accessed without the 5.018 MHz modem clocks from the backplane.
Circuit 1228 is a custom LSI chip which provides all of the timings for DRAM control, memory refresh, data buffering, and write protection. It also includes circuitry to handle watch-dog timer and NMI generation to the 80186. It contains an error register which captures 18-bits of the address during write protect errors, and parity errors.
The IOP Card provides up to 512K-bytes of parity checked dynamic RAM. RAM can be configured in 128K-byte blocks. Chip 1228 provides all the control timing, address multiplexing, memory refresh, and data buffering for the DRAM.
All timings originate from the modem (NMCs or NHCs); the modem provides two 5.018 MHz clocks in quadrature which are used by the CIC chips 1210 to recover data from the network and for internal state timing.
The 20.072 MHz phase-lock-loop circuit receives and locks to the selected 5.018 MHz clock from one of the four chips programmed to be the master. 20.072 MHz is provided to a chip 1228 which returns a 6.176 MHz clock to the CIC chips 1210 for the PCM Highway. Chip 1228 uses a 10.036 MHz clock (20.072 MHz/2) from the 80186 to synchronize its DRAM control logic.
The Watch-Dog Timer (WDT) function, contained in chip 228, provides a method of detecting incorrect program execution caused by software bugs or hardware malfunction. The WDT appears as an I/O port on the 80186's bus, and drives NonMaskable Interrupt and RESET to the 80186 microprocessor. Once enabled, software must tickle the WDT once every two seconds to avoid a Non-Maskable Interrupt. If not tickled within two seconds after an NMI, chip 1228 will reset the 80186 microprocessor.
Conclusion
It can thus be seen that the present invention provides a technique for rapidly and efficiently downloading code and data to nodes in a distributed intelligence network.
While the above is a complete description of the preferred embodiment of the invention, various modifications, alternative constructions, and equivalents may be employed. For example, while a coaxial cable is used in the preferred embodiment, fiber optic and other media could be used. Similarly, while the TMG function is carried out by the NBU hardware, physically separate units could be used.
Additionally, while the preferred time domain multiplexing scheme shows the SP interval at the beginning of each frame, with two frames making up a cycle, there are other possibilities. For example, there is no absolute reason to have two SP intervals in each cycle.
Therefore, the above description and illustrations should not be taken as limiting the scope of the invention which is defined by the appended claims.
Table A-1--List of Abbreviations
AIU--attendant interface unit/console
BCSP--boot control signalling packet
BP--boot packet
BRSP--boot request signalling packet
CID--configuration identifier
CVP--claiming voice packet
HRU--head end retransmission unit
IE--individual extension
IOP--I/O processor
LUA--local unique address
MAE--multiple appearance extension
MLD--maximum likelihood detector
NBU--network boot unit
NMWS--network manager workstation
PCM--pulse code modulation
PCTL--packet control circuit
PRAM--packet RAM
PUA--physical unit address
RxTx--receive/transmit circuit
SLE--system link extension
SP--signalling packet
TIM--trunk interface module
TMG--timing mark generator
TM--timing mark
VC--voice circuit
VIU--voice interface unit
VP--voice packet
VTS--voice time slot
Additional memory may be provided for extra gain level switch or tone buffers. For example, Receive Long Tone Buffers (which can be over 60K in maximum length) are made by using consecutive Gain Level Switch/Tone Buffers.
Claims
What is claimed is:
1. A method for transmitting boot images to a number of nodes in a network, comprising: the step, performed continuously, of generating a periodic timing mark to define a series of cycles wherein (i) at least one interval within each cycle is designated a signalling packet ("SP") interval, and (ii) a plurality of other intervals within each cycle are designated timeslots; the step, performed by a network boot unit ("NBU"), of transmitting a boot control signalling packet ("BCSP") in a given SP interval, wherein the BCSP (i) contains boot control information signifying that a boot image is to be transmitted, (ii) specifies at least one timeslot in which the boot image is to be transmitted in later cycles, and (iii) contains image descriptor information identifying the boot image; and the steps, performed by the NBU, of transmitting boot packets, each containing a portion of the identified boot image, within the specified timeslot or timeslots for each of a number of cycles subsequent to the frame in which the BCSP was transmitted.
2. The method of claim 1, wherein the step of transmitting a boot image is performed over successive cycles.
3. The method of claim 1, and further comprising the steps, performed by a node requiring a particular type of boot image, of: testing for a predetermined time for the presence of a BCSP specifying the particular type of boot image; and in the absence of a BCSP within the predetermined time, transmitting a boot request signalling packet ("BRSP") specifying the particular type of boot image.
4. The method of claim 1, and further comprising the step, carried out by the NBU prior to the step of transmitting boot packets, of claiming at least one timeslot.
5. The method of claim 4 wherein the claiming step includes the substeps of: determining a timeslot that is believed to be free; transmitting a claiming packet unique to the NBU on that timeslot; listening to that timeslot; and verifying the receipt of the claiming packet as sent.
6. The method of claim 1 wherein the step of transmitting a BCSP is performed simultaneously on a plurality of channels and wherein the step of transmitting boot packets is performed on a single channel.
7. The method of claim 1 wherein the step of transmitting a BCSP is repeated after at least one boot packet has been sent.
8. A method wherein a plurality of network boot units ("NBU's") in a network determine which NBU is to respond to a boot request signalling packet ("BRSP") specifying a particular boot image, comprising: the step, performed continuously, of generating a periodic timing marks to define a series of cycles wherein (i) at least one interval within each cycle is designated a signalling packet ("SP") interval, and (ii) a plurality of additional intervals within the cycle are designated timeslots; and the steps, performed by each NBU having access to the particular boot image, of transmitting a boot control signalling packet ("BCSP") during the SP interval, the BCSP for each NBU identifying that NBU as the source, testing for the reception of a BCSP, determining if the first BCSP received originated from itself, and assuming the status of master NBU if and only if the first received BCSP did originate from itself.
9. The method of claim 8, and further comprising the steps, performed by the master NBU, of transmitting a boot control signalling packet "(BCSP") in a given SP interval, wherein the BCSP (i) contains boot control information signifying that a boot image is to be transmitted, (ii) specifies at least one timeslot in which the boot image is to be transmitted in later cycles, and (iii) contains image descriptor information identifying the particular boot image; and transmitting boot packets, each containing a portion of the particular boot image, within the specified timeslot or timeslots for each of a number of cycles subsequent to the frame in which the BCSP was transmitted.
10. A method for transmitting information from a node in a specified timeslot in a time-division multiplexed communication system having a unidirectional transmitting bus terminating at a head-end and translated at said head-end onto a unidirectional receiving bus originating from said head-end, comprising the steps of: transmitting a test signal on said transmitting bus from said node; receiving said test signal from said receiving bus at said node; calculating the elapsed time between said transmitting and receiving steps; calculating a skew time from said elapsed time; transmitting an information signal an amount of time equal to said skew time prior to a time of arrival of said timeslot at said head-end; generating a periodic timing mark, with the periods between said timing marks being frames, each frame having a plurality of timeslots; transmitting information signals to a second node in said specified timeslot in first frames, said first frames occurring every other frame; and receiving information signals from said second node in said specified timeslot in second frames, said second frames occurring between said first frames.
11. The method of claim 10 further comprising the step of digitizing a voice signal to produce said information signal.
12. The method of claim 10 wherein said transmitting an information signal step includes asynchronously transmitting said information within said timeslot.
13. The method of claim 10 wherein said step of generating a periodic timing mark includes receiving a timing signal from a public switched network and using said public switched network timing signal to produce said timing marks.
14. A communication system for exchanging information between a plurality of nodes, comprising: a unidirectional transmitting medium coupling each of said nodes to a head-end of said transmitting medium; a unidirectional receiving medium extending from an originating end to each of said nodes; head-end translating means for transferring signals received at said head-end of said transmitting medium to said originating end of said receiving medium; means for generating a periodic timing mark on said receiving medium, each interval between a pair of timing marks being a frame, each frame defining a Plurality of timeslots; means for transmitting a test signal from a first node on said transmitting medium; means for receiving said test signal at said first node on said receiving medium; means for calculating an elapsed skew time between the transmitting and receiving of said test signal; means for transmitting information for a specified timeslot an amount of time equal to said skew time prior to the arrival of said specified timeslot at said head-end; and wherein said transmitting medium and said receiving medium are separate frequency channels on a single physical medium and said translating means is a frequency translator.
15. The communication system of claim 14 further comprising means, coupled to said first node, for digitizing a voice signal to produce said information.
16. The communication system of claim 14 further comprising a plurality of means for digitizing voice signals, each digitizing means being coupled to one of said nodes, each of said nodes having a separate address, and a plurality of memories, each coupled to one of said nodes for storing the addresses of said nodes.
17. The communication system of claim 16 further comprising a plurality of transmitting and receiving channels on said physical medium, each of said nodes having means for transmitting and receiving on more than one channel.
18. A method for claiming a timeslot for voice transmissions at one node in a network over a medium, comprising the steps of: (a) providing a periodic timing mark on said medium, each timing mark being followed by a plurality of timeslots; (b) monitoring, at each node, timeslots following said timing mark for the presence of messages; (c) storing in a memory at each node a list of occupied timeslots; (d) transmitting, at an originating node a dummy message in a claimed, random one of the unoccupied timeslots as determined from said memory list; (e) monitoring said medium for reception of said transmitted dummy message; (f) comparing a received dummy message to the transmitted dummy message; (g) repeating steps (a) through (f) if the transmitted and received dummy messages are not substantially similar; (h) transmitting a series of dummy messages in said claimed timeslot to keep the claimed timeslot occupied; (i) updating said memory list in other nodes to indicate said claimed timeslot as being occupied; (j) transmitting a signalling packet from said originating node having a destination address, an originating address, and the location of said claimed timeslot; (k) monitoring said medium for a response to said signalling packet; (l) receiving a responsive signalling packet designating a claimed response timeslot; and (m) transmitting voice data in said claimed timeslot and converting voice data in said response timeslot into voice signals.
19. The method of claim 18 wherein said medium includes a plurality of frequency channels and further comprising the step of sending said signalling packet over each of said channels, said monitoring for a response step being done on a home channel containing said claimed timeslot.
20. The method of claim 18 further comprising the steps of: (n) receiving, at a receiving node, said signalling packet addressed to said receiving node; (o) transmitting a second dummy message in a response timeslot having a predetermined relationship to said claimed timeslot; (p) monitoring said medium for reception of said transmitted second dummy message; (q) receiving said second dummy message; (r) comparing said received second dummy message to the transmitted second dummy message; (s) repeating steps (o) through (r) if said stored second dummy message and received dummy message are not substantially similar; (t) transmitting a signalling packet addressed to said originating node indicating that voice communication has been established; (u) transmitting a series of second dummy messages in said response timeslot to keep said response timeslot occupied; and (v) sending voice transmissions in said response timeslot.
21. The method of claim 20 further comprising the step of adding said response timeslot to said memory list of occupied timeslots at said other node.
22. The method of claim 20 further comprising the steps of: determining whether said receiving node is busy with another transmission; and sending a signalling packet to said originating node indicating that said receiving node is busy if said receiving node is busy.
23. The method of claim 22 wherein said medium has a plurality of channels and further comprising the steps of: determining whether said originating node is on the same channel as said receiving node; transmitting a signalling packet to an additional node when said receiving and originating nodes are on different channels and said receiving node is busy, said signalling packet indicating that said receiving node is busy; retransmitting, at said additional node, said signalling packet from said receiving node to said originating node on the frequency channel of said originating node.
24. A method for claiming a timeslot for voice transmissions at one node in a network over a medium, comprising the steps of: (a) providing a periodic timing mark on said medium, each timing mark being followed by a plurality of timeslots; (b) monitoring, at each node, timeslots following said timing mark for the presence of messages; (c) storing in a memory at each node a list of occupied timeslots; (d) transmitting, at an originating node a dummy message in a claimed, random one of the unoccupied timeslots as determined from said memory list; (e) monitoring said medium for reception of said transmitted dummy message; (f) comparing a received dummy message to the transmitted dummy message; (g) repeating steps (a) through (f) if the transmitted and received dummy messages are not substantially similar; (h) transmitting a series of dummy messages in said claimed timeslot to keep the claimed timeslot occupied; (i) updating said memory list in other nodes to indicate said claimed timeslot as being occupied; (j) transmitting a signalling packet from said originating node having a destination address, an originating address, and the location of said claimed timeslot; (k) monitoring said medium for a response to said signalling packet; (l) receiving a responsive signalling packet designating a claimed response timeslot; and (m) transmitting voice data in said claimed timeslot and converting voice data in said return timeslot into voice signals. (n) receiving, at a receiving node, said signalling packet addressed to said receiving node; (o) transmitting a second dummy message in a response timeslot having a predetermined relationship to said claimed timeslot; (p) monitoring said medium for reception of said transmitted second dummy message; (q) receiving said second dummy message; (r) comparing said received second dummy message to the transmitted second dummy message; (s) repeating steps (o) through (r) if said stored second dummy message and received dummy message are not substantially similar; (t) transmitting a signalling packet addressed to said originating node indicating that said response timeslot has been claimed; (u) transmitting a series of second dummy messages in said response timeslot to keep said response timeslot occupied; (v) sending voice transmissions in said response timeslot; (w) determining whether said receiving node is busy with another transmission; (x) sending a signalling packet to said originating node indicating that said receiving node is busy if said receiving node is busy; (y) determining whether said originating node is on the same channel as said receiving node; (z) transmitting a signalling packet to an additional node when said receiving and originating nodes are on different channels and said receiving node is busy, said signalling package indicating that said receiving node is busy; (aa) retransmitting, at said additional node, said signalling packet from said receiving node to said originating node on the frequency channel of said originating node.
25. A method for establishing and maintaining a voice communication between nodes in a network, each node having at least one associated telephone characterized by address information, comprising: the step, performed repetitively and continuously, of generating periodic timing marks to define a series of cycles wherein (i) at least one interval within each cycle is designated a signalling packet ("SP") interval, (ii) a plurality of other intervals within each cycle are designated voice time slots ("VTS"), and (iii) pairs of VTS's in each cycle define a voice circuit ("VC"); the step, performed by a first node receiving signals from its associated telephone, of claiming a first VTS of an unused VC;. the step, performed between the first node and a second node addressed by the first node of exchanging SP's between the first and second nodes; claiming the second VTS of the VC for the second node; and the steps, performed by each of the first and second nodes, of inserting voice data in their respective claimed VTS's, each node generating the voice data on the basis of signals received from its associated telephone for transmission to the other node and applying voice data as received from the other node to its associated phone.
26. The method of claim 25, wherein the first mentioned step of claiming a VTS comprises the substeps of: ascertaining the apparent availability of a particular VTS; transmitting a Claiming Voice Packet ("CVP") within the apparently available VTS; and verifying the receipt of the CVP intact to indicate the absence of collision.
27. The method of claim 26 wherein each node is capable of communication on any of a plurality of frequency channels, and wherein the steps of exchanging SP's includes the substep, performed by the first node of sending a Call Request SP on each of the channels, specifying a single channel for response.
28. The method of claim 26 wherein each cycle contains first and second frames, each frame including an SP interval and a plurality of VTS's, with any VC consisting of corresponding VTS's from the first and second frames.
29. A method for establishing and maintaining a voice communication between nodes in a network, each node having at least one associated telephone characterized by address information, comprising: the step, performed repetitively and continuously, of generating periodic timing marks to define a series of cycles wherein (i) at least one interval within each cycle is designated a signalling packet ("SP") interval, (ii) a plurality of other intervals within each cycle are designated voice time slots ("VTS"), and (iii) pairs of VTS's in each cycle define a voice circuit ("VC"); the step, performed by a first node in response to signals from its associated telephone indicating an off-hook condition and a combination of keystrokes indicating a call to be placed to a second node, of claiming a first VTS of an unused VC; the step, performed by the first node in response to successfully claiming the first VTS, of transmitting a Call Request SP to the second node; the step, performed by the second node in response to receiving the Call Request SP, of sending an Accept SP or a Busy SP to the first node; the steps, performed by the first node in response to receiving the Accept SP, of transmitting an ACK SP to the second node, and applying a ringback signal or a busy signal to its own associated phone; the step, performed by the second node in response to receiving the ACK SP, of causing its own associated phone to ring; the step, carried out by the second node in response to signals from its associated phone indicating an off-hook condition, of claiming the second VTS of the VC; the step, performed by the second node in response to successfully claiming the second VTS, of sending an Answer SP to the first node; the step, performed by the first node in response to receiving the Answer SP, of sending an ACK SP to the second node; and the steps, carried out by each of the first and second nodes, of inserting voice data in their respective claimed VTS's, each node generating the voice data on the basis of signals received from its associated telephone for transmission to the other node and applying voice data as received from the other node to its associated phone.
30. The method of claim 29, wherein the first mentioned step of claiming a VTS comprises the substeps of: ascertaining the apparent availability of a particular VTS; transmitting a Claiming Voice Packet ("CVP") within the apparently available VTS; and verifying the receipt of the CVP intact to indicate the absence of collision.
31. The method of claim 29 wherein each node is capable of communication on any of a plurality of frequency channels, and wherein said step of sending a Call Request SP includes the substeps of sending a Call Request SP on each of the channels, specifying a single channel for response.
32. The method of claim 29 wherein each cycle contains first and second frames, each frame including an SP interval and a plurality of VTS's, with any VC consisting of corresponding VTS's from the first and second frames.
33. A system for transmitting messages to and from nodes over a network broadband medium, comprising: a plurality of head-end means, coupled to one end of said network medium, for receiving said messages in a first frequency band and retransmitting said messages over said network medium in a second frequency band, said first and second frequency bands being a channel, each of said head-end means operating on a different channel; a timing mark generator coupled to said network medium for simultaneously producing periodic timing marks on all of said channels; a plurality of clock generators, each coupled to a different one of said head-end means, for producing the clock signals for said head-end means; a plurality of phase lock loops, each coupled to a different one of said head-end means, for phase lock synchronizing said clock signals to a master clock; a plurality of digital phase lock loop means, each coupled to a different one of said head-end means, for producing a fractional offset of the bits of a message in a timeslot following one of said timing marks to synchronize said message with said clock signals; and means, coupled to said head-end means, for examining the contents of each timeslot and inserting a bit patterns for synchronization in the absence of a message.
34. The system of claim 33 further comprising a plurality of second phase lock loops, each coupled to a different one of said head-end means, for phase synchronizing each said clock generator to an external clock; and logic means for selecting one of the outputs of said second phase lock loops as said master clock.
35. The system of claim 33 wherein a first or last portion of each said timeslot contains no data to allow said digital phase lock loop means to reset.
36. A system for transmitting messages to and from nodes over a network broadband medium, comprising: a plurality of head-end means, coupled to one end of said network medium, for receiving said messages in a first frequency band and retransmitting said messages over said network medium in a second frequency band, said first and second frequency bands being a channel, each of said head-end means operating on a different channel; a timing mark generator coupled to said network medium for simultaneously producing periodic timing marks on all of said channels; a plurality of clock generators, each coupled to a different one of said head-end means, for producing the clock signals for said head-end means; a plurality of phase lock loops, each coupled to a different one of said head-end means, for phase lock synchronizing said clock signals to a master clock; a plurality of digital phase lock loop means, each coupled to a different one of said head-end means, for producing a fractional offset of the bits of a message in a timeslot following one of said timing marks to synchronize said message with said clock signals; means, coupled to said head-end means, for examining the contents of each timeslot and inserting a bit pattern for synchronization in the absence of a massage; a plurality of second phase lock loops, each coupled to a different one of said head-end means, for phase synchronizing each said clock generator to an external clock; logic means for selecting one of the outputs of said second phase lock loops as said master clock; and wherein a first or last portion of each said timeslot contains no data to allow said digital phase lock loop means to reset.
37. The system of claim 36 wherein said digital phase lock loop means comprises: a shift register having a data input coupled to receive said received message and a clock input coupled to a head-end clock having a frequency at least four times the frequency of said received data; and means for selecting an output of said shift register corresponding to a minimum phase difference between said received data and said head-end clock.
Patent Citations (46)
| Patent | Date | Inventor | Cited By |
|---|---|---|---|
| USRe28598 | 1975-10-01 | Baer et al. | |
| US3705269 | 1972-12-01 | Audersirk et al. | |
| US3706996 | 1972-12-01 | Hafner | |
| US3893033 | 1975-07-01 | Finch | |
| US4087627 | 1978-05-01 | Sato et al. | |
| US4289930 | 1981-09-01 | Connolly et al. | |
| US4381522 | 1983-04-01 | Lambert | |
| US4393515 | 1983-07-01 | de Neuman | |
| US4402008 | 1983-08-01 | Teraslinna | |
| US4411007 | 1983-10-01 | Rodman et al. | |
| US4450554 | 1984-05-01 | Steensma et al. | |
| US4451701 | 1984-05-01 | Bendig | |
| US4470140 | 1984-09-01 | Coffey | |
| US4485400 | 1984-11-01 | Lemelson et al. | |
| US4491983 | 1985-01-01 | Pinnow | |
| US4506387 | 1985-03-01 | Walter | |
| US4516240 | 1985-05-01 | Kume et al. | |
| US4518989 | 1985-05-01 | Yabiki et al. | |
| US4531239 | 1985-07-01 | Usui | |
| US4535330 | 1985-08-01 | Carey et al. | |
| US4536874 | 1985-08-01 | Stoffel et al. | |
| US4536875 | 1985-08-01 | Kume et al. | |
| US4538261 | 1985-08-01 | Kume | |
| US4538263 | 1985-08-01 | Gabrielli et al. | |
| US4539677 | 1985-09-01 | Lo | |
| US4543654 | 1985-09-01 | Jones | |
| US4544950 | 1985-10-01 | Tu | |
| US4550402 | 1985-10-01 | Gable et al. | |
| US4562573 | 1985-12-01 | Murano et al. | |
| US4564940 | 1986-01-01 | Yahata | |
| US4644526 | 1987-02-01 | Wu | |
| US4675866 | 1987-06-01 | Takumi et al. | |
| US4694453 | 1987-09-01 | Kobayashi et al. | |
| US4750168 | 1988-06-01 | Trevitt | |
| US4757496 | 1988-07-01 | Bartholet et al. | |
| US4763319 | 1988-08-01 | Rozenglit | |
| US4763320 | 1988-08-01 | Rudolph et al. | |
| US4811338 | 1989-03-01 | Haruyama et al. | |
| EPX188117 | 1984-07-01 | ||
| EPX173364 | 1986-03-01 | ||
| EPX200704 | 1986-12-01 | ||
| EPX209383 | 1987-01-01 | ||
| EPX229684 | 1987-07-01 | ||
| EPX257901 | 1988-03-01 | ||
| EPX334569 | 1989-09-01 | ||
| EPX385695 | 1990-09-01 |