DATA COMMUNICATIONS DEVICE TO SELECTIVELY OPERATE AS AN ANALOG MODEM, A DIGITAL MODEM, AND A TERMINAL ADAPTER

Abstract: An apparatus and method for a data communications device to selectively operate in a plurality of analog and digital modes, including as an analog modem (762), as a digital modem (774), and as a terminal adapter (794). The embodiments provide for a single, integrated data communications device to be configured and also subsequently reconfigured to provide for data communications over a variety of networks, including public switched telephone networks and digital networks, including T1, E1 and ISDN. The various embodiments also provide for signal simulation (370) of the various networks, such that the actual coupled network is transparent to a data terminal transferring information through the data communication device to the network.

Description: -- 1 DATA COMMUNICATIONS DEVICE TO SELECTIVELY OPERATE AS AN ANALOG MODEM, A DIGITAL MODEM, AND A TERMINAL ADAPTER. Field of the invention This application relates to data communications devices for transmission and reception of data including, but not limited to, analog modems, digital modems, terminal adapters, and other analog or digital data communications devices. Background of the Invention Transferring data and other information between two or more separate locations is an increasingly common occurrence in this "information age". In the 1970s and through much of the 1980s, a large percentage of such data transfers were made using analog modems, which modulate and demodulate digital data onto an analog carrier signal. Modems are a type of data communications device that typically use analog transmission media, such as telephone lines. Modems are classified as low-speed, medium-speed, and high¬ speed modems. The low-speed modems transfer data at rates between 300 bps (bits per second) and 1200 bps, with medium-speed modems operating at rates in the 2400- 4800 bps range, and with high-speed modems having rates greater than 4800 bps. An analog modem is a data communication device which modulates data and transmits the modulated data as an analog signal, and also receives modulated data as an analog signal and demodulates the received data. Most analog modems receive and transmit the modulated data as an analog signal over one twisted pair of wires, coupled to the Public Switched Telephone Network ("PSTN") through an analog interface circuit. Currently, the fastest high-speed analog modems operate at data transfer rates of approximately 30,000 bps, which some telecommunications engineers consider to be near a theoretical limit of transmission rates over most analog telephone lines. A variety of desirable applications, however, such as downloading data files from and transmitting documents to various networks, may require higher speeds of data transmission than is currently practicable, affordable, or available over most analog telephone lines. Accordingly, many telecommunication providers have begun to offer and to implement various digital transmission services such as, for example, switched digital services, T1 services, E1 services, and Integrated Services Digital Networks ("ISDN"). Many typical digital connections use two such "twisted pairs" of wires, one for transmission and the other for reception, coupled to a digital network through a digital interface circuit. A typical T1 connection has a data rate of 1.544 Mbps (megabits per second), which is further time division multiplexed ("TDM") into digital (not analog) transmission channels. The T1 connection comprises 24 channels, with each channel referred to as a DSO having a data rate of 64,000 bps. ISDN systems typically comprise two 64 Kbps "B" channels (for voice and data transmission) and one 16 Kbps "D" channel (for signalling information and low speed packet data). Specifications and standards for ISDN, T1, and E1 services are described in numerous CCITT Recommendations, such as Recommendation G (for T1 , E1), and Recommendation I (for ISDN). Other discussions of analog and digital telecommunications services may be found in a wide variety of references, such as R. Freeman, Reference Manual for Telecommunication Engineers. John Wiley & Sons, 1985. Digital modems and terminal adapters have typically been used to transfer data over such digital lines. Digital modems typically further encode the modulated analog signal from a modem, using digital encoding schemes such as pulse code modulation ("PCM"), to transfer the analog signal over a digital line. Such digital modems would typically be used when the other (or remote) modem receiving the data is coupled to an analog line and, therefore, cannot receive the purely digital data which could be communicated over a digital line. Terminal adapters are a type of data communication device designed to transmit and receive digitally encoded data directly from a digital network, without intervening modulation of data onto an analog carrier signal or demodulation of an analog carrier signal into digital data. Separate data communication devices such as analog modems, digital modems, and terminal adapters, are available and known in the art of modern telecommunications. Each such device, however, is typically incompatible for use in another format or mode, as data communications devices have evolved to be either digital or analog, but not both. For example, in the prior art, an analog modem cannot be used to transmit data on a digital network. Correspondingly, in the prior art, neither a digital modem nor a terminal adapter could be used to transmit data on an analog transmission line. As modern telecommunications transitions to digital formats, existing analog modems ultimately may be rendered obsolete, with a concomitant loss of investment by users in their analog equipment and other technology. In areas where digital network services have become both available and cost-effective to employ, those users that have transferred to digital services may nonetheless need to communicate with analog networks, and vice-versa. For example, many corporations may employ digital networks for internal communications, while continuing to need analog services for external communications, for example, to allow an employee to log in and enter the system from a remote location over the PSTN. In addition, many current analog system users continue to require analog transmission devices, but may want to plan for the future by investing in data communications equipment which will be compatible with both current analog and future digital transmission schemes. Current solutions to this compatibility problem have been to essentially build separate analog and digital devices, which may then be incorporated into a single housing. For example, Motorola has manufactured various hybrid devices, such as the HMTA 200, which combines a terminal adapter with digital modem functions. Other manufacturers, such as US Robotics, have simply built physically separate "cards" which separately perform these incompatible digital and analog functions and which separately connect to digital or analog interfaces. Current solutions to the analog and digital incompatibility problem have been inadequate, however, because such current solutions have simply physically combined otherwise separate sets of analog and digital hardware, into one package having both analog and digital interfaces, often with redundant hardware such as microprocessors, RAM and ROM. The need has arisen, therefore, for a single, integrated data communications device which will provide complete analog and digital data transmission services, heretofore provided by separate, independent, and incompatible devices. Brief Description of the Drawings FIG. 1 is a block diagram which illustrates a prior art use of an analog modem for data transfer. FIG. 2 is a block diagram which illustrates a prior art use of a digital modem for data transfer to an analog modem. FIG. 3 is a block diagram which illustrates a prior art use of a terminal adapter for data transfer within digital networks. FIG. 4 is a block diagram which illustrates a preferred embodiment of the present invention. FIG. 5 is a block diagram which illustrates the digital switching mechanisms of the processor of the preferred embodiment of the present invention. FIG. 6 is a block diagram which illustrates the digital multiplexing of the processor of the preferred embodiment of the present invention. FIG. 7 is a flow chart which illustrates the method of the preferred embodiment of the present invention. FIG. 8 is a block diagram which illustrates a second embodiment of the present invention. FIG. 9 is a block diagram which illustrates a third embodiment of the present invention. APPENDIX A illustrates a source code program for implementation of the switching and simulation aspects of the preferred embodiment of the present invention. Description of the Preferred Embodiment FIG. 1 is a block diagram which illustrates a prior art use of an analog modem for data transfer. As shown in FIG. 1 , a local terminal 100, such as a computer, is coupled to a local analog modem 102 via transmit line 150 and receive line 151. Such transmit and receive lines 150 and 151 , for example, may be part of an RS 232 interface (and cable) typically employed to couple a computer to a modem. The local analog modem 102 is coupled via line 110 to the PSTN 126. The line 110 may be a standard (twisted pair) telephone line which transmits an analog signal. A remote terminal 106, which may also be a computer, is coupled to a remote analog modem 104 via transmit line 161 and receive line 160. The remote analog modem 104 is coupled via line 120 to the PSTN 126. Line 120, like line 110, may also be a standard telephone line. As indicated in FIG. 1 , the local terminal 100 and local analog modem 102 are arranged to transfer data, information and other signals, between a remote terminal 106 having a remote analog modem 104, over the PSTN 126. Data, including information and command signals, are transferred between the terminals and their respective analog modems over the various respective transmit and receive lines 150, 151 , 160, and 161. Information from the terminal 100 is modulated and otherwise processed by the local analog modem 102 to form an analog modem signal transmitted to the PSTN 126 over linel 10. The analog modem signal is then transferred to the remote analog modem 106 by the PSTN as an analog signal over line 120. Within the PSTN, the analog modem signal may be converted to a digital signal for transmission within the network, and reconverted to an analog modem signal for transmission over the analog lines 110 and 120. The remote analog modem 106 demodulates the received analog modem signal and transmits the demodulated data to the remote terminal over line 160. Information from the remote analog modem 106 may also be transmitted to the local analog modem 102 using the same method operating in the opposite or reverse direction. FIG. 2 is a block diagram which illustrates a prior art use of a digital modem for data transfer. As shown in FIG. 2, a local terminal 100, such as computer, is coupled to a local digital modem 222 via transmit line 250 and receive line 251. Such transmit and receive lines 250 and 251 , for example, may be part of a digital modem interface (and cable), comparable to the analog RS 232 interface, also typically employed to couple a computer to a digital modem. The local digital modem 222 is coupled via digital transmit line 260 and digital receive line 261 to a digital network 228, which is further coupled to the PSTN 126. The digital transmit and receive lines 260 and 261 may be standard digital lines, such as T1 , E1 , or ISDN lines, which transmit a digital signal. Also as shown in FIG. 2, remote terminal 106, which may also be a computer, is coupled to a remote analog modem 104 via transmit line 161 and receive line 160. As in FIG. 1 , the remote analog modem 104 is coupled via line 120 to the PSTN 126 and line 120 may also be a standard analog telephone line. As indicated in FIG. 2, the local terminal 100 and local digital modem 222 are arranged to transfer data and other information and signals, between a remote terminal 106 having a remote modem 104, over the digital network 228 and the PSTN 126. Data, including information and command signals, are transferred between the terminals and their respective modems over the various transmit and receive lines 250, 251 , 160, and 161. Information from the local terminal 100 is first processed by the local digital modem 222 to form a modulated analog signal, which is then further encoded (for example, using a pulse code modulation (PCM) scheme having either a mu-law or an A-law compandor) to form a digital signal transmitted to the digital network 228 and further transmitted to the PSTN 126. The PSTN reconverts the digital signal to a modulated analog signal, which is then transferred to the remote modem 106 by the PSTN as an analog signal over line 120. The remote modem 106 demodulates the received modulated analog signal and transmits the demodulated data to the remote terminal over line 160. Information from the remote modem 106 may also be transmitted to the local digital modem 222 using the same method operating in the opposite or reverse direction. FIG. 3 is a block diagram which illustrates the prior art use of a terminal adapter to transmit data over local and remote digital networks. As shown in FIG. 3, a local terminal 100, such as computer, is coupled to a local terminal adapter 223 via transmit line 250 and receive line 251. Such transmit and receive lines 250 and 251 , for example, may be part of a terminal adapter interface (and cable), comparable to an analog RS 232 interface, also typically employed to couple a computer to a terminal adapter. The local terminal adapter 223 is coupled via digital transmit line 260 and digital receive line 261 to a digital network 228, which is further coupled to the PSTN 126. As in FIG. 2, the digital transmit and receive lines 260 and 261 may be standard digital lines, such as T1 , E1 , or ISDN, which transmit a digital signal. As shown in FIG. 3, remote terminal 106, which may also be a computer, is coupled to a remote terminal adapter via transmit line 261 and receive line 260. The terminal adapter 272 is coupled via transmit line 271 and receive line 270 to the remote digital network 265. The local digital network 228 is coupled to the remote digital network 265 via the PSTN 126. As indicated in FIG. 3, the local terminal 100 and local terminal adapter 223 are arranged to transfer data and other information and signals, between a remote terminal 106 having a remote terminal adapter 272, over their respective digital networks 228 and 265, through the PSTN 126. Not shown in FIG. 3, the local and remote terminal adapters may also be coupled to the same digital network, without an intervening PSTN. Data, including information and command signals, are transferred between the terminals and their respective terminal adapters over the various transmit and receive lines 250, 251 , 260, and 261. Information from the local terminal is formatted or processed to form a digital signal such as, for example, a DSO format digital signal, which is then transmitted to the digital network 228, which may be further transmitted to the PSTN 126. The remote digital network 265 receives the digital signal from the PSTN 126, and transmits the digital signal to the remote terminal adapter 272. Not shown in FIG. 3, the remote terminal adapter may also be arranged to receive the digital signal directly from the local digital network 228. The remote terminal adapter decodes the received digital signal and transmits the decoded data to the remote terminal over line 260. Information from the remote terminal 106 may also be transmitted to the local terminal 100 using the same method operating in the opposite or reverse direction. FIG. 4 is a block diagram illustrating the preferred embodiment of the present invention. As discussed in greater detail below, the data communication device of the preferred embodiment may be selectively configured by the user to operate in any one of a plurality of modes, namely, as an analog modem, as a digital modem, or as a terminal adapter. In addition, after a first operating mode is selected, the data communication device of the preferred embodiment may be reconfigured by the user to operate in a second, third or otherwise different operating mode. As shown in FIG. 4, a data communication device 300 is coupleable to a terminal 100 to transmit and receive data over the PSTN 126, when coupled to the PSTN 106 through an analog interface circuit 314 (also known as a data access arrangement or "DAA"), and to transmit and receive data over the digital network 228, when coupled to the digital network 228 through a digital interface circuit 318. As used herein, "digital network" or "digital communications network" shall also include digital connections or interfaces to the central office of the public switched network, including through T1 or E1 interfaces, in addition to digital networks such as ISDN. The user of the data communications device 300 may select the type of operating mode (as an analog modem, as a digital modem, or as a terminal adapter), through a plurality of user command signals entered via the user interface 301 coupled to the processor 370. The user may initially select a particular operating mode, and may subsequently change or revise the operating mode. For example, a user may initially couple the data communication device 300 to a first communications network such as the PSTN 126, and correspondingly select the operating mode of the device to be as an analog modem, through user command signals entered through the user interface 301. Subsequently, the user may have capability to access a second communications network, such as a T1 , ISDN or other digital networking interface or capability installed at the user facility. The user may then reconfigure the data communication device 300, through other user command signals (from the plurality of user command signals) entered through the user interface 301 , to operate in various digital operating modes, such operating as a digital modem or operating as a terminal adapter. The user interface 301 may have many types of embodiments. For example, the user interface may be a dedicated personal computer and, in that event, may be incorporated within the terminal 100. In other embodiments, the data communication device 300 may be one of many devices coupled to a network and may have an overall system controller, such as a Motorola DAS 925 with a system manager, described in detail in the pending United States Patent Application Serial No. 08/285,260, entitled "Advanced Communication System Architecture", filed August 3, 1994, and incorporated by reference herein. In that case, the user interface 301 may be incorporated within the overall system controller, which could be used to simultaneously configure all of the data communication devices 300 for the desired operating mode to appropriately match the installed PSTN or digital network. As shown in FIG. 4, the controller 304 is coupleable to the terminal 100 through transmit data line 301 and receive data line 302. The transmit and receive data lines 301 and 302 may be incorporated within any appropriate interface and cabling arrangement. The controller 304, which may be a Motorola 68302 microcontroller, is coupled via data bus 305 to a data pump 308, which may be a Motorola 56002 general digital signal processor programmed as a data pump. The data pump 308 receives data, command signals and other information from the controller 304, and the data pump 308 then generates a sampled data signal. The data pump 308 is also coupled via bus 350 to a first codec ("coder-decoder") 310. A coder-decoder is known as and referred to in the communications field as a "codec", and shall also be referred to herein as a "codec". The first codec 310 is preferably a linear codec, and receives the sampled data signal from the data pump, typically at a sampling rate of 9600 samples per second, and then generates a modulated analog signal from the sampled data signal. The first or linear codec 310 is also known and may be implemented as an analog-to- digital (A/D) converter and digital-to-analog (D/A) converter. The modulated analog signal from the linear codec 310 is transmitted via line or bus 352 to the first switch 312. In the preferred embodiment, the first switch 312 is an analog switch, and may be implemented in any number of forms, such as a solid state or mechanical relay, or as a discrete transistor or integrated circuit arrangement (e.g.. CMOS, BJT). The first switch 312 may also include a plurality of otherwise separate switching mechanisms, for example, to correspond to each separate data path of the data busses. The switch 312, in turn, in response to a control signal transmitted via line 326, may route the modulated analog signal from the linear codec 310 to a first interface circuit, shown in FIG. 4 as the analog interface circuit 314, via bus 354, or may route the modulated analog signal to the second codec 316, shown in FIG. 4 as a preferably a non¬ linear PCM (pulse code modulation) codec 316, via bus 356. Continuing to refer to FIG. 4, the processor 370 consists of a microprocessor, such as an Intel 8032, and digital switching circuits, such as a digital multiplexer ("MUX"), to form a programmable distributed switching mechanism. The processor 370 provides a control signal to the first switch 312 via line 326. In the preferred embodiment, the control signal has first and second values, such as a high voltage (a logic one (1)), and a low voltage (a logic zero (0)). The switch 312, in response to the control signal having the first value, such as a high voltage, transmits the modulated analog signal from the linear codec 310 to the first (analog) interface circuit 314 via bus 354, and in response to the control signal having the second value, such as a low voltage, transmits the modulated analog signal to the non-linear PCM codec (or "PCM codec") 316 via bus 356. Alternatively, the control signal having two values may also be considered to be two signals and, in that event, may be considered first and second control signals. From the analog interface circuit 314, the modulated analog signal may then be transmitted via line 106 through the first communications network shown in FIG. 4 as PSTN 126, and in this mode, the data communications device 300 is operating in a first mode as an analog modem. The first interface circuit such as the analog interface circuit 314 would also typically provide a variety of functions, such as power level setting, impedance matching, and may include hybrid circuitry to transfer information from two sets of twisted pair transmission lines to one pair of transmission lines. The processor 370 is further coupled to the second (PCM) codec 316 via bus 358, to the analog interface circuit 314 via bus 364, to the controller 304 via bus 366, and to the digital interface circuit 318 via bus 362. In response to the control signal from the processor 370 having the second value, such as a low voltage, the switch 312 transmits the modulated analog signal to the PCM codec 316. The PCM codec digitally encodes the modulated analog signal using a pulse code modulation scheme to provide a digital modem signal and, in this second operating mode, the data communication device is operating as a digital modem. The PCM codec 316 transmits the digital modem signal to the processor 370, which routes or transmits the the digital modem signal to the second interface circuit, shown in FIG. 4 as digital interface circuit 318, via bus 362. The second or digital interface circuit 318 is coupleable to a second communications network, shown in FIG. 4 as digital network 228, and processes the digital modem signal for transmission over the second (digital) network. For example, the digital interface circuit may act as a time division multiplexer to place the digital modem signal, having a DSO format, in the appropriate digital channel or time slot. The processor 370 also receives from and transmits to the controller 304, via bus 366, various data signals and control signals. In the event the data communication device 300 is to be operable in a third operating mode, as a terminal adapter, as determined by one of the plurality of user command signals from the user interface, the processor transmits a processor command signal to the controller via bus 366. In the third or terminal adapter mode, the controller processes digital information received from the terminal to form a digital information signal, and transmits the digital information signal to the processor 370 via bus 366. The processor 370, in turn, routes or transmits the digital information signal via bus 362 to the digital interface circuit 318 for transmission over the digital network 228. The digital interface circuit 318 also processes the digital information signal for transmission over the digital network, in a manner identical to the processing of a digital modem signal discussed above. While the preferred embodiment of the present invention illustrated in FIG. 4 has been described in detail with regard to information transmission, it will be understood by those skilled in the art that a similar analysis applies with regard to information reception. Accordingly, such data or information transmission and reception are generally referred to as data or information transfer to accomodate the bi¬ directional flow of data. In summary, FIG. 4 illustrates a data communications device selectively operable in at least one of a plurality of operating modes, including a first operating mode and a second operating mode, the data communications device coupleable to a terminal and to at least one of a plurality of communications networks for transferring data between the terminal and one of the plurality of communications networks, including a first communications network and a second communications network, the data communications device comprising: a controller; a data pump coupled to the controller; a first codec coupled to the data pump; a second codec; a first interface circuit coupleable to the first communications network; a second interface circuit coupleable to the second communications network; a first switch coupled to the first codec, to the second codec and to the first interface circuit; and a processor coupled to the controller, to the second codec, to the first interface circuit, to the second interface circuit, and to the first switch, the processor responsive to at least one of a plurality of command signals to selectively configure the data communications device for operation in the first operating mode for communications through the first communications network and for operation in the second operating mode for communications through the second communications network. The various first and second codecs may be linear or non-linear, and in the preferred embodiment, the first codec is a linear codec and the second codec is a non-linear PCM codec, having a mu-law or an A-law compandor. The first and second communications networks may be a PSTN, T1 , E1 , ISDN, or any other analog or digital communications networks. Accordingly, FIG. 4 also illustrates a data communications device wherein the first communications network is a public switched telephone network, the second communications network is a digital communications network, the first interface circuit is an analog interface circuit, the second interface circuit is a digital interface circuit; and wherein the processor is responsive to a first command signal of the plurality of command signals to produce a first control signal to the first switch to selectively couple the first codec to the analog interface circuit and to couple the first codec to the second codec, whereby the data communications device is configured in an analog modem operating mode when the first codec is coupled to the analog interface circuit , and whereby the data communications device is configured in a digital modem operating mode when the first codec is coupled to the second codec. FIG. 4 further illustrates a data communications device wherein the processor is further responsive to a second command signal of the plurality of command signals to produce a second control signal to the controller whereby the data communications device is configured in a terminal adapter mode for the processor to transfer data through the digital interface circuit to the digital communications network. Also as shown in FIG. 4, the data communications device may further comprise an input port coupled to the processor and coupleable to a user interface for entry of at least one of the plurality of command signals. FIG. 5 is a block diagram which illustrates the distributed switching mechanism of the processor 370 in the preferred embodiment of the present invention. In the preferred embodiment, the typical "analog modem aspects" of the data communication device 300, namely, the controller 304 and the data pump 308, do not require any separate information or programming concerning the type of network with which the data communication device 300 will be communicating. For example, these "analog modem aspects" do not need to be programmed to recognize or otherwise "know" if the device will be coupled to a PSTN or a digital network. In the preferred embodiment, as shown in FIG. 5, this is accomplished through the processor 370, which includes distributed switching circuits 376 and digital multiplexers 375 comprising a distributed switching mechanism, such that predetermined signalling and notification information transmitted to and from the network (via bus 362 and bus 364) are either transmitted (switched through) to and from the controller 304, or are simulated by the processor 370, and the simulated signalling information is then transmitted (switched through) to and from the controller 304. The predetermined signalling information (or plurality of information signals) would typically include, for the analog mode, the ring signal to the controller via line 380, line current to the controller via line 381 , the off hook signal from the controller via line 382, and the loop bits (or loop signal) from the controller via line 383, and for the digital mode, signalling bits such as the A and B signalling bits (and, for other formats, also C and D signalling bits) on bus 362. The off hook and the ring signals are also known as notification signals and, as used herein, are referred to collectively with the other signals as signalling information or as information signals. Lines 380, 381 , 382, and 383 may also be part of the bus 366 coupling the controller 304 and the processor 370, and are shown as separate lines in FIG. 5 (and in FIG. 6) for ease of reference purposes only. FIG. 6 is a block diagram illustrating in greater detail the digital multiplexers ("MUX") 375 of the processor 370. The multiplexers 375 are controlled by a MUX control signal on line 392 from other parts of the processor 370, as configured by the plurality of user command signals discussed above. As shown in FIG. 6, the ring signal to the controller on line 380 may be transmitted directly from the analog interface circuit 314 on line 384 or may be simulated by the processor and transmitted on line 385, in response to corresponding or equivalent digital signalling information from the digital interface circuit 318. The line current on line 381 also may be transmitted directly from the analog interface circuit 314 on line 386 or may be simulated by the processor and transmitted on line 387, also in response to corresponding digital signalling information from the digital interface circuit 318. The off hook signal from the controller (to initiate or place a call) on line 382 may be transmitted directly to the analog interface circuit 314 on line 388 or may be simulated by the processor (which generates the appropriate signalling bits), and transmitted on line 387 to the digital interface circuit 318. Similarly, the loop bits from the controller (for diagnostic or "training" purposes) on line 383 also may be transmitted directly to the analog interface circuit 314 on line 390 or may be transmitted on line 391 to other parts of the processor (which performs the appropriate software loops based upon the loop bits). The digital interface signalling bits, such as the A and B signalling bits, may vary depending upon the actual signalling scheme employed in the particular network, such as LOOP, GROUND, TRUNK, TRUNK with WINK, FEATURE GROUP B, and FEATURE GROUP D. These various modes are user selectable (or programmable) through the plurality of user command signals entered via the user interface 301. In summary, FIG. 5 and FIG. 6 further illustrate a data communications device wherein the processor, in response to digital signalling information from a digital network, provides corresponding simulated analog signalling information to the controller; and wherein the processor, in response to analog signalling information from the controller, provides corresponding simulated digital signalling information to a digital network. In addition, the analog signalling information may comprise a ring signal, line current, off hook, and loop bits, and the digital signalling information may comprise A and B bits. FIG. 7 is a software flow diagram which illustrates the multiple configuration and data transfer method of the preferred embodiment of the present invention. The method begins at start step 700, and the terminal sends data to the controller, step 710. The processor determines whether an analog modem or digital modem connection is requested, step 720. If a modem connection is not requested, the data communication device proceeds in terminal adapter mode and converts the data from the terminal 100 to a terminal adapter mode format, step 790. The data communication device 300 then establishes a connection to the digital network, step 792, and transmits data to (and from) the remote terminal adapter over the digital network, step 794. Continuing to refer to FIG. 7, if a modem connection is requested in step 720, the data from the terminal is converted to a sampled analog signal, step 730, and the sampled analog signal is converted to an analog modem signal, step 740. The processor then determines whether a PSTN connection is requested, step 750. If a PSTN connection is requested, a connection is established with a remote modem via the PSTN, step 760, and the analog modem signal is transmitted to (or received from) the remote modem, step 762. If a PSTN connection is not requested in step 750, the analog modem signal is converted to a digital modem signal, step 770. The data communications device then establishes a connection to the remote modem over the digital network (and the PSTN), step 772, and transfers data to and from the remote modem over the digital network and the PSTN, step 774. In summary, FIG. 7 illustrates a method of selectively operating a data communications device in at least one of a plurality of operating modes, including a first operating mode and a second operating mode, the data communications device coupleable to a terminal and to at least one of a plurality of communications networks for transferring data between the terminal and one of the plurality of communications networks, including a digital communications network and an analog communications network, the method comprising: (a) receiving data from the terminal; (b) selecting an operating mode, which may further include entering at least one of a plurality of user command signals; (c) converting the received data to terminal adapter format data when the terminal adapter operating mode has been selected and transferring the terminal adapter format data to or from the digital network; (d) modulating the received data to form an analog modem signal when the modem operating mode has been selected; (e) routing the analog modem signal to the analog network when a analog modem operating mode has been selected; and (f) digitally encoding the analog modem signal and routing the digitally encoded analog modem signal to the digital network when a digital modem operating mode has been selected. Steps (e) and (f) above may also further comprise: providing a control signal to selectively engage the analog communication network or the digital communication network. In addition, as illustrated in FIGS. 4-7, the method of operating a data communications device of the present invention further comprises: (g) responding to analog and digital signalling information. This step, in turn, may further include: (g1) simulating analog signalling information from received predetermined digital signalling information; and (g2) simulating digital signalling information for transmission from predetermined analog signalling information. FIG. 8 is a block diagram which illustrates a second embodiment of the present invention. As shown in FIG. 8, the terminal 100 is coupleable to the data communications device 400 via transmit line 150 and receive line 151. These transmit and receive lines 150 and 151 are coupled to an analog modem 420, which transmits and receives an analog modem signal over bus 422. Bus 422 is coupied to a switch 412. In response to a control signal via line 415, the switch 412 may route the analog modem signal to the analog interface circuit 314 via bus 414, for transmission over the PSTN 126. Also in response to a control signal via line 415, the switch 412 may route the analog modem signal via bus 416 to the PCM codec 408. The PCM codec 408 converts the analog modem signal to a digital modem signal transmitted to the digital interface circuit 318 via bus 418, for transmission over the digital network 228. In summary, FIG. 8 illustrates a data communications device selectively operable in an analog modem mode and in a digital modem mode, the data communication device coupleable to a terminal, and coupleable to a public switched telephone network or to a digital communication network, the data communication device comprising: an analog modem coupleable to the terminal; a PCM codec; an analog interface circuit coupleable to the public switched telephone network; a digital interface circuit coupled to the PCM codec and coupleable to the digital communication network; and a switch coupled to the analog modem, to the PCM codec and to the analog interface circuit, the switch responsive to a control signal to selectively couple the analog modem to the analog interface circuit and to couple the analog modem to the PCM codec, whereby the data communication device is operable in the analog modem mode when the analog modem is coupled to the analog interface circuit , and whereby the data communication device is operable in the digital modem mode when the analog modem is coupled to the PCM codec. FIG. 9 is a block diagram which illustrates a third embodiment of the present invention. The terminal 100 is coupleable to the data communications device 500, also via transmit and receive lines 150 and 151. Transmit and receive lines 150 and 151 are coupled to a controller 504. The controller 504 is coupled to data pump 508 via bus 505, and to the digital interface circuit 518 via bus 560. The data pump 508 contains a PCM codec interpolator, as described and claimed in U.S. Patent No. 5,365,545, issued November 15, 1994, entitled "Modem - Channel Bank Converter", incorporated by reference herein. Among other things, the PCM codec interpolator may convert sampled analog data, sampled at a rate of 9600 samples per second, to sampled digital data, sampled at a rate of 8000 samples per second. In response to a control signal, which may be transmitted from the terminal 100 through the controller 504, generated by the controller 504 or otherwise provided by the controller 504, the data pump 506 may generate a sampled analog data signal transmitted to the linear codec 512 via bus 510, or may generate a digital modem signal transmitted to the digital interface circuit 518 via bus 558. The linear codec 512 converts the sampled analog data signal to an analog modem signal, which is then transmitted to the analog interface circuit 514 for transmission over the PSTN. The digital interface circuit 518 processes the digital modem signal for transmission over the digital network. In summary, FIG. 9 illustrates a data communications device selectively operable as an analog modem, as a digital modem, and as a terminal adapter, coupleable to a public switched telephone network and to a digital communication network, the data communications device comprising: a data pump, the data pump having a PCM codec interpolator; a linear codec coupled to the data pump; an analog interface circuit coupled to the linear codec and coupleable to the public switched telephone network; a digital interface circuit coupleable to the digital communication network; a controller coupled to the data pump and to the digital interface circuit, the controller selectively providing a first control signal to the data pump to selectively operate the data pump in an analog mode and engage the linear codec and the analog interface circuit, the controller further selectively providing a second control signal to the data pump to selectively operate the data pump in a digital mode and to engage the digital interface circuit, whereby the data communication device is operable as an analog modem when the data pump is in the analog mode, whereby the data communication device is operable as a digital modem when the data pump is in the digital mode, and whereby the data communication device is operable as a terminal adapter when the data pump is not in either the analog mode or in the digital mode. As is evident from the various embodiments of the present invention discussed above, the data communication device disclosed herein constitutes a single, integrated device which is capable of configuring and reconfiguring for operation in a variety of modes, such as operating as an analog modem, as a digital modem, and as a terminal adapter, and is further capable of communicating data over a variety of types of otherwise incompatible analog and digital networks. As mentioned above, the prior art essentially required separate and independent devices or other hardware to provide for data communication over these various networks. The novel data communication device of the present invention is the first such device to be convertable, reconfigurable, or "upgradeable" to meet the potentially changing requirements of the user. In addition, the data communication device may be converted or reconfigured to a different mode of operation without any hardware conversion, addition, or substitution, providing yet additional advantages. First, the data communication device may be configured or reconfigured remotely, through the user interface, which may have its own network capabilities. Accordingly, an installer or other service personnel may configure and/or reconfigure the data communication device from a remote location, for example, from a manufacturing facility located across the country. Second, the data communication device hardware is convertable and upgradeable, such that a user's current investment in data communications equipment may be preserved notwithstanding network changes. For example, a user's current needs may indicate continued use of a PSTN for data networking. The data communications device of the present invention would provide for the user to currently connect its data communications equipment through the PSTN, while simultaneously providing for future connection to digital networks through the same hardware, preserving the user's current equipment investment while providing for upgradeability in the future. When this upgradable data communication device according to the present invention is used in a digital or an analog network system, it is possible to make a heretofore unavailable effortless transition between the analog network and the digital network. Third, because the data communications device disclosed herein is capable of combining three separate devices into one integrated, fully functioning device, the data communications device disclosed herein provides for power conservation, as fewer devices are required, and accordingly, fewer devices are required to be powered at any given time. In addition, because the single, integrated data communications device disclosed herein performs the functions of three heretofore separate devices, the data communications device of the present invention significantly reduces the number of devices required at a network installation and may significantly reduce the housing and other space requirements of the network facility. From the foregoing, it will be observed that numerous variations and modifications may be effected without departing from the spirit and scope of the novel concept of the invention. It is to be understood that no limitation with respect to the specific methods and apparatus illustrated herein is intended or should be inferred. It is, of course, intended to cover by the appended claims all such modifications as fall within the scope of the claims. The invention is further defined by the following claims.

Claims: CLAIMS: 1. A data communications device selectively operable in at least one of a plurality of operating modes, including a first operating mode and a second operating mode, the data communications device coupleable to a terminal and to at least one of a plurality of communications networks for transferring data between the terminal and one of the plurality of communications networks, including a first communications network and a second communications network, the data communications device comprising: a controller; a data pump coupled to the controller; a first codec coupled to the data pump; a second codec; a first interface circuit coupleable to the first communications network; a second interface circuit coupleable to the second communications network; a first switch coupled to the first codec, to the second codec and to the first interface circuit; and a processor coupled to the controller, to the second codec, to the first interface circuit, to the second interface circuit, and to the first switch, the processor responsive to at least one of a plurality of command signals to selectively configure the data communications device for operation in the first operating mode for communications through the first communications network and for operation in the second operating mode for communications through the second communications network. 2. The data communications device of claim 1 wherein the first codec further comprises a linear codec. 3. The data communications device of claim 1 wherein the second codec further comprises a non-linear codec. 4. The data communications device of claim 1 wherein the second codec further comprises a mu-law PCM codec. 5. The data communications device of claim 1 , further comprising: the first communications network is a public switched telephone network, the second communications network is a digital communications network, the first interface circuit is an analog interface circuit, the second interface circuit is a digital interface circuit; and wherein the processor is responsive to a first command signal of the plurality of command signals to produce a first control signal to the first switch to selectively couple the first codec to the analog interface circuit and to couple the first codec to the second codec, whereby the data communications device is configured in an analog modem operating mode when the first codec is coupled to the analog interface circuit , and whereby the data communications device is configured in a digital modem operating mode when the first codec is coupled to the second codec. 6. The data communications device of claim 5 further comprising: the processor is further responsive to a second command signal of the plurality of command signals to produce a second control signal to the controller whereby the data communications device is configured in a terminal adapter mode for the processor to transfer data through the digital interface circuit to the digital communications network. 7. The data communications device of claim 6 wherein the first codec further comprises a linear codec and wherein the second codec is a PCM codec. 8. A method of selectively operating a data communications device in at least one of a plurality of operating modes, comprising of a first operating mode and a second operating mode, the data communications device coupleable to a terminal and to at least one of a plurality of communications networks for transferring data between the terminal and one of the plurality of communications networks, including a digital communications network and an analog communications network, the method comprising: (a) receiving data from the terminal; (b) selecting an operating mode; (c) converting the received data to terminal adapter format data when the terminal adapter operating mode has been selected and transferring the terminal adapter format data to or from the digital network; (d) modulating the received data to form an analog modem signal when the modem operating mode has been selected; (e) routing the analog modem signal to the analog network when a analog modem operating mode has been selected; and (f) digitally encoding the analog modem signal and routing the digitally encoded analog modem signal to the digital network when a digital modem operating mode has been selected. 9. The method of operating a data communications device of claim 6 further comprising: (g) responding to analog and digital signalling information. 10. The method of operating a data communications device of claim 9 wherein step (g) further comprises: (g1) simulating analog signalling information from received predetermined digital signalling information; and (g2) simulating digital signalling information for transmission from predetermined analog signalling information.

Inventors: BLACKWELL STEVEN R, FRIDLIN CHARLES C, PEARSON JOHN TIMOTHY, BLACKWELL, STEVEN, R., FRIDLIN, CHARLES, C., PEARSON, JOHN, TIMOTHY
Applicants: MOTOROLA INC, MOTOROLA INC.
Application year: 1996
Main classification: H04B1
IPC codes: H04L12, H04L25, H04L27, H04M3, H04M11, H04Q11